@openui5/ts-types-esm 1.97.1 → 1.99.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/package.json +1 -1
- package/types/sap.f.d.ts +265 -641
- package/types/sap.m.d.ts +20334 -16914
- package/types/sap.tnt.d.ts +31 -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 +1394 -417
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +14 -6
- package/types/sap.ui.integration.d.ts +29 -11
- package/types/sap.ui.layout.d.ts +7 -4
- package/types/sap.ui.mdc.d.ts +16 -22
- 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 +6 -6
- package/types/sap.ui.table.d.ts +35 -2
- 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 +2640 -749
- package/types/sap.ui.webc.main.d.ts +2269 -440
- package/types/sap.uxap.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.99.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/webc/main/library" {
|
|
4
4
|
/**
|
|
@@ -248,6 +248,34 @@ declare module "sap/ui/webc/main/library" {
|
|
|
248
248
|
*/
|
|
249
249
|
Scroll = "Scroll",
|
|
250
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* @SINCE 1.99.0
|
|
253
|
+
* @EXPERIMENTAL (since 1.99.0)
|
|
254
|
+
*
|
|
255
|
+
* Different types of HasPopup.
|
|
256
|
+
*/
|
|
257
|
+
export enum HasPopup {
|
|
258
|
+
/**
|
|
259
|
+
* Dialog popup type.
|
|
260
|
+
*/
|
|
261
|
+
Dialog = "Dialog",
|
|
262
|
+
/**
|
|
263
|
+
* Grid popup type.
|
|
264
|
+
*/
|
|
265
|
+
Grid = "Grid",
|
|
266
|
+
/**
|
|
267
|
+
* ListBox popup type.
|
|
268
|
+
*/
|
|
269
|
+
ListBox = "ListBox",
|
|
270
|
+
/**
|
|
271
|
+
* Menu popup type.
|
|
272
|
+
*/
|
|
273
|
+
Menu = "Menu",
|
|
274
|
+
/**
|
|
275
|
+
* Tree popup type.
|
|
276
|
+
*/
|
|
277
|
+
Tree = "Tree",
|
|
278
|
+
}
|
|
251
279
|
/**
|
|
252
280
|
* @SINCE 1.92.0
|
|
253
281
|
* @EXPERIMENTAL (since 1.92.0)
|
|
@@ -819,6 +847,22 @@ declare module "sap/ui/webc/main/library" {
|
|
|
819
847
|
*/
|
|
820
848
|
Inactive = "Inactive",
|
|
821
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* @SINCE 1.99.0
|
|
852
|
+
* @EXPERIMENTAL (since 1.99.0)
|
|
853
|
+
*
|
|
854
|
+
* Different types of overflow modes.
|
|
855
|
+
*/
|
|
856
|
+
export enum TabsOverflowMode {
|
|
857
|
+
/**
|
|
858
|
+
* End type is used if there should be only one overflow with hidden the tabs at the end of the tab container.
|
|
859
|
+
*/
|
|
860
|
+
End = "End",
|
|
861
|
+
/**
|
|
862
|
+
* StartAndEnd type is used if there should be two overflows on both ends of the tab container.
|
|
863
|
+
*/
|
|
864
|
+
StartAndEnd = "StartAndEnd",
|
|
865
|
+
}
|
|
822
866
|
/**
|
|
823
867
|
* @SINCE 1.92.0
|
|
824
868
|
* @EXPERIMENTAL (since 1.92.0)
|
|
@@ -2094,7 +2138,8 @@ declare module "sap/ui/webc/main/Breadcrumbs" {
|
|
|
2094
2138
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2095
2139
|
* otherwise it will be bound to this `sap.ui.webc.main.Breadcrumbs` itself.
|
|
2096
2140
|
*
|
|
2097
|
-
* Fires when a `BreadcrumbsItem` is clicked.
|
|
2141
|
+
* Fires when a `BreadcrumbsItem` is clicked. **Note:** You can prevent browser location change by calling
|
|
2142
|
+
* `event.preventDefault()`.
|
|
2098
2143
|
*/
|
|
2099
2144
|
attachItemClick(
|
|
2100
2145
|
/**
|
|
@@ -2117,7 +2162,8 @@ declare module "sap/ui/webc/main/Breadcrumbs" {
|
|
|
2117
2162
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2118
2163
|
* otherwise it will be bound to this `sap.ui.webc.main.Breadcrumbs` itself.
|
|
2119
2164
|
*
|
|
2120
|
-
* Fires when a `BreadcrumbsItem` is clicked.
|
|
2165
|
+
* Fires when a `BreadcrumbsItem` is clicked. **Note:** You can prevent browser location change by calling
|
|
2166
|
+
* `event.preventDefault()`.
|
|
2121
2167
|
*/
|
|
2122
2168
|
attachItemClick(
|
|
2123
2169
|
/**
|
|
@@ -2150,6 +2196,9 @@ declare module "sap/ui/webc/main/Breadcrumbs" {
|
|
|
2150
2196
|
): this;
|
|
2151
2197
|
/**
|
|
2152
2198
|
* Fires event {@link #event:itemClick itemClick} to attached listeners.
|
|
2199
|
+
*
|
|
2200
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
2201
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
2153
2202
|
*/
|
|
2154
2203
|
fireItemClick(
|
|
2155
2204
|
/**
|
|
@@ -2161,7 +2210,7 @@ declare module "sap/ui/webc/main/Breadcrumbs" {
|
|
|
2161
2210
|
*/
|
|
2162
2211
|
item?: HTMLElement;
|
|
2163
2212
|
}
|
|
2164
|
-
):
|
|
2213
|
+
): boolean;
|
|
2165
2214
|
/**
|
|
2166
2215
|
* Gets current value of property {@link #getDesign design}.
|
|
2167
2216
|
*
|
|
@@ -2331,7 +2380,8 @@ declare module "sap/ui/webc/main/Breadcrumbs" {
|
|
|
2331
2380
|
items?: IBreadcrumbsItem[] | IBreadcrumbsItem | AggregationBindingInfo;
|
|
2332
2381
|
|
|
2333
2382
|
/**
|
|
2334
|
-
* Fires when a `BreadcrumbsItem` is clicked.
|
|
2383
|
+
* Fires when a `BreadcrumbsItem` is clicked. **Note:** You can prevent browser location change by calling
|
|
2384
|
+
* `event.preventDefault()`.
|
|
2335
2385
|
*/
|
|
2336
2386
|
itemClick?: (oEvent: Event) => void;
|
|
2337
2387
|
}
|
|
@@ -2937,12 +2987,14 @@ declare module "sap/ui/webc/main/Button" {
|
|
|
2937
2987
|
|
|
2938
2988
|
import { IButton, ButtonDesign } from "sap/ui/webc/main/library";
|
|
2939
2989
|
|
|
2990
|
+
import { ID, TextDirection, CSSSize } from "sap/ui/core/library";
|
|
2991
|
+
|
|
2992
|
+
import Control from "sap/ui/core/Control";
|
|
2993
|
+
|
|
2940
2994
|
import Event from "sap/ui/base/Event";
|
|
2941
2995
|
|
|
2942
2996
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
2943
2997
|
|
|
2944
|
-
import { TextDirection, CSSSize } from "sap/ui/core/library";
|
|
2945
|
-
|
|
2946
2998
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
2947
2999
|
|
|
2948
3000
|
/**
|
|
@@ -3033,6 +3085,15 @@ declare module "sap/ui/webc/main/Button" {
|
|
|
3033
3085
|
* Returns a metadata object for class sap.ui.webc.main.Button.
|
|
3034
3086
|
*/
|
|
3035
3087
|
static getMetadata(): WebComponentMetadata;
|
|
3088
|
+
/**
|
|
3089
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
3090
|
+
*/
|
|
3091
|
+
addAriaLabelledBy(
|
|
3092
|
+
/**
|
|
3093
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
3094
|
+
*/
|
|
3095
|
+
vAriaLabelledBy: ID | Control
|
|
3096
|
+
): this;
|
|
3036
3097
|
/**
|
|
3037
3098
|
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.webc.main.Button`.
|
|
3038
3099
|
*
|
|
@@ -3102,12 +3163,43 @@ declare module "sap/ui/webc/main/Button" {
|
|
|
3102
3163
|
*/
|
|
3103
3164
|
mParameters?: object
|
|
3104
3165
|
): this;
|
|
3166
|
+
/**
|
|
3167
|
+
* Gets current value of property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
3168
|
+
*
|
|
3169
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
3170
|
+
* depending on the use case.
|
|
3171
|
+
*
|
|
3172
|
+
* It supports the following fields:
|
|
3173
|
+
*
|
|
3174
|
+
*
|
|
3175
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
3176
|
+
* or collapsed. Accepts the following string values:
|
|
3177
|
+
* `true`
|
|
3178
|
+
* - `false`
|
|
3179
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
3180
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
3181
|
+
* `Dialog`
|
|
3182
|
+
* - `Grid`
|
|
3183
|
+
* - `ListBox`
|
|
3184
|
+
* - `Menu`
|
|
3185
|
+
* - `Tree`
|
|
3186
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
3187
|
+
* button element. Accepts a string value.
|
|
3188
|
+
*
|
|
3189
|
+
* Default value is `{}`.
|
|
3190
|
+
*/
|
|
3191
|
+
getAccessibilityAttributes(): object;
|
|
3105
3192
|
/**
|
|
3106
3193
|
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
3107
3194
|
*
|
|
3108
3195
|
* Sets the accessible aria name of the component.
|
|
3109
3196
|
*/
|
|
3110
3197
|
getAccessibleName(): string;
|
|
3198
|
+
/**
|
|
3199
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
3200
|
+
* ariaLabelledBy}.
|
|
3201
|
+
*/
|
|
3202
|
+
getAriaLabelledBy(): ID[];
|
|
3111
3203
|
/**
|
|
3112
3204
|
* Gets current value of property {@link #getDesign design}.
|
|
3113
3205
|
*
|
|
@@ -3187,6 +3279,52 @@ declare module "sap/ui/webc/main/Button" {
|
|
|
3187
3279
|
* Defines the width of the control
|
|
3188
3280
|
*/
|
|
3189
3281
|
getWidth(): CSSSize;
|
|
3282
|
+
/**
|
|
3283
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
3284
|
+
*/
|
|
3285
|
+
removeAllAriaLabelledBy(): ID[];
|
|
3286
|
+
/**
|
|
3287
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
3288
|
+
*/
|
|
3289
|
+
removeAriaLabelledBy(
|
|
3290
|
+
/**
|
|
3291
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
3292
|
+
*/
|
|
3293
|
+
vAriaLabelledBy: int | ID | Control
|
|
3294
|
+
): ID;
|
|
3295
|
+
/**
|
|
3296
|
+
* Sets a new value for property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
3297
|
+
*
|
|
3298
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
3299
|
+
* depending on the use case.
|
|
3300
|
+
*
|
|
3301
|
+
* It supports the following fields:
|
|
3302
|
+
*
|
|
3303
|
+
*
|
|
3304
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
3305
|
+
* or collapsed. Accepts the following string values:
|
|
3306
|
+
* `true`
|
|
3307
|
+
* - `false`
|
|
3308
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
3309
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
3310
|
+
* `Dialog`
|
|
3311
|
+
* - `Grid`
|
|
3312
|
+
* - `ListBox`
|
|
3313
|
+
* - `Menu`
|
|
3314
|
+
* - `Tree`
|
|
3315
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
3316
|
+
* button element. Accepts a string value.
|
|
3317
|
+
*
|
|
3318
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3319
|
+
*
|
|
3320
|
+
* Default value is `{}`.
|
|
3321
|
+
*/
|
|
3322
|
+
setAccessibilityAttributes(
|
|
3323
|
+
/**
|
|
3324
|
+
* New value for property `accessibilityAttributes`
|
|
3325
|
+
*/
|
|
3326
|
+
oAccessibilityAttributes?: object
|
|
3327
|
+
): this;
|
|
3190
3328
|
/**
|
|
3191
3329
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
3192
3330
|
*
|
|
@@ -3338,6 +3476,29 @@ declare module "sap/ui/webc/main/Button" {
|
|
|
3338
3476
|
}
|
|
3339
3477
|
|
|
3340
3478
|
export interface $ButtonSettings extends $WebComponentSettings {
|
|
3479
|
+
/**
|
|
3480
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
3481
|
+
* depending on the use case.
|
|
3482
|
+
*
|
|
3483
|
+
* It supports the following fields:
|
|
3484
|
+
*
|
|
3485
|
+
*
|
|
3486
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
3487
|
+
* or collapsed. Accepts the following string values:
|
|
3488
|
+
* `true`
|
|
3489
|
+
* - `false`
|
|
3490
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
3491
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
3492
|
+
* `Dialog`
|
|
3493
|
+
* - `Grid`
|
|
3494
|
+
* - `ListBox`
|
|
3495
|
+
* - `Menu`
|
|
3496
|
+
* - `Tree`
|
|
3497
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
3498
|
+
* button element. Accepts a string value.
|
|
3499
|
+
*/
|
|
3500
|
+
accessibilityAttributes?: object | PropertyBindingInfo;
|
|
3501
|
+
|
|
3341
3502
|
/**
|
|
3342
3503
|
* Sets the accessible aria name of the component.
|
|
3343
3504
|
*/
|
|
@@ -3401,6 +3562,11 @@ declare module "sap/ui/webc/main/Button" {
|
|
|
3401
3562
|
*/
|
|
3402
3563
|
width?: CSSSize | PropertyBindingInfo;
|
|
3403
3564
|
|
|
3565
|
+
/**
|
|
3566
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
3567
|
+
*/
|
|
3568
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
3569
|
+
|
|
3404
3570
|
/**
|
|
3405
3571
|
* Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
|
|
3406
3572
|
*
|
|
@@ -4086,9 +4252,9 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4086
4252
|
$WebComponentSettings,
|
|
4087
4253
|
} from "sap/ui/webc/common/WebComponent";
|
|
4088
4254
|
|
|
4089
|
-
import
|
|
4255
|
+
import { ID, CSSSize } from "sap/ui/core/library";
|
|
4090
4256
|
|
|
4091
|
-
import
|
|
4257
|
+
import Control from "sap/ui/core/Control";
|
|
4092
4258
|
|
|
4093
4259
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
4094
4260
|
|
|
@@ -4173,6 +4339,15 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4173
4339
|
* Returns a metadata object for class sap.ui.webc.main.Card.
|
|
4174
4340
|
*/
|
|
4175
4341
|
static getMetadata(): WebComponentMetadata;
|
|
4342
|
+
/**
|
|
4343
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
4344
|
+
*/
|
|
4345
|
+
addAriaLabelledBy(
|
|
4346
|
+
/**
|
|
4347
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
4348
|
+
*/
|
|
4349
|
+
vAriaLabelledBy: ID | Control
|
|
4350
|
+
): this;
|
|
4176
4351
|
/**
|
|
4177
4352
|
* Adds some content to the aggregation {@link #getContent content}.
|
|
4178
4353
|
*/
|
|
@@ -4203,19 +4378,16 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4203
4378
|
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
4204
4379
|
*
|
|
4205
4380
|
* Defines the accessible name of the component, which is used as the name of the card region and should
|
|
4206
|
-
* be unique per card. **Note:** `accessibleName` should be always set, unless `
|
|
4381
|
+
* be unique per card. **Note:** `accessibleName` should be always set, unless `ariaLabelledBy` is set.
|
|
4207
4382
|
*
|
|
4208
4383
|
* Default value is `empty string`.
|
|
4209
4384
|
*/
|
|
4210
4385
|
getAccessibleName(): string;
|
|
4211
4386
|
/**
|
|
4212
|
-
*
|
|
4213
|
-
*
|
|
4214
|
-
* Defines the IDs of the elements that label the component.
|
|
4215
|
-
*
|
|
4216
|
-
* Default value is `empty string`.
|
|
4387
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
4388
|
+
* ariaLabelledBy}.
|
|
4217
4389
|
*/
|
|
4218
|
-
|
|
4390
|
+
getAriaLabelledBy(): ID[];
|
|
4219
4391
|
/**
|
|
4220
4392
|
* Gets content of aggregation {@link #getContent content}.
|
|
4221
4393
|
*
|
|
@@ -4292,6 +4464,10 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4292
4464
|
*/
|
|
4293
4465
|
iIndex: int
|
|
4294
4466
|
): this;
|
|
4467
|
+
/**
|
|
4468
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
4469
|
+
*/
|
|
4470
|
+
removeAllAriaLabelledBy(): ID[];
|
|
4295
4471
|
/**
|
|
4296
4472
|
* Removes all the controls from the aggregation {@link #getContent content}.
|
|
4297
4473
|
*
|
|
@@ -4304,6 +4480,15 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4304
4480
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
4305
4481
|
*/
|
|
4306
4482
|
removeAllHeader(): Control[];
|
|
4483
|
+
/**
|
|
4484
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
4485
|
+
*/
|
|
4486
|
+
removeAriaLabelledBy(
|
|
4487
|
+
/**
|
|
4488
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
4489
|
+
*/
|
|
4490
|
+
vAriaLabelledBy: int | ID | Control
|
|
4491
|
+
): ID;
|
|
4307
4492
|
/**
|
|
4308
4493
|
* Removes a content from the aggregation {@link #getContent content}.
|
|
4309
4494
|
*/
|
|
@@ -4326,7 +4511,7 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4326
4511
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
4327
4512
|
*
|
|
4328
4513
|
* Defines the accessible name of the component, which is used as the name of the card region and should
|
|
4329
|
-
* be unique per card. **Note:** `accessibleName` should be always set, unless `
|
|
4514
|
+
* be unique per card. **Note:** `accessibleName` should be always set, unless `ariaLabelledBy` is set.
|
|
4330
4515
|
*
|
|
4331
4516
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4332
4517
|
*
|
|
@@ -4338,21 +4523,6 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4338
4523
|
*/
|
|
4339
4524
|
sAccessibleName?: string
|
|
4340
4525
|
): this;
|
|
4341
|
-
/**
|
|
4342
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
4343
|
-
*
|
|
4344
|
-
* Defines the IDs of the elements that label the component.
|
|
4345
|
-
*
|
|
4346
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4347
|
-
*
|
|
4348
|
-
* Default value is `empty string`.
|
|
4349
|
-
*/
|
|
4350
|
-
setAccessibleNameRef(
|
|
4351
|
-
/**
|
|
4352
|
-
* New value for property `accessibleNameRef`
|
|
4353
|
-
*/
|
|
4354
|
-
sAccessibleNameRef?: string
|
|
4355
|
-
): this;
|
|
4356
4526
|
/**
|
|
4357
4527
|
* Sets a new value for property {@link #getHeight height}.
|
|
4358
4528
|
*
|
|
@@ -4384,15 +4554,10 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4384
4554
|
export interface $CardSettings extends $WebComponentSettings {
|
|
4385
4555
|
/**
|
|
4386
4556
|
* Defines the accessible name of the component, which is used as the name of the card region and should
|
|
4387
|
-
* be unique per card. **Note:** `accessibleName` should be always set, unless `
|
|
4557
|
+
* be unique per card. **Note:** `accessibleName` should be always set, unless `ariaLabelledBy` is set.
|
|
4388
4558
|
*/
|
|
4389
4559
|
accessibleName?: string | PropertyBindingInfo;
|
|
4390
4560
|
|
|
4391
|
-
/**
|
|
4392
|
-
* Defines the IDs of the elements that label the component.
|
|
4393
|
-
*/
|
|
4394
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
4395
|
-
|
|
4396
4561
|
/**
|
|
4397
4562
|
* Defines the height of the control
|
|
4398
4563
|
*/
|
|
@@ -4414,6 +4579,11 @@ declare module "sap/ui/webc/main/Card" {
|
|
|
4414
4579
|
* **Note:** Use `sap.ui.webc.main.CardHeader` for the intended design.
|
|
4415
4580
|
*/
|
|
4416
4581
|
header?: Control[] | Control | AggregationBindingInfo;
|
|
4582
|
+
|
|
4583
|
+
/**
|
|
4584
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
4585
|
+
*/
|
|
4586
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
4417
4587
|
}
|
|
4418
4588
|
}
|
|
4419
4589
|
|
|
@@ -4893,8 +5063,10 @@ declare module "sap/ui/webc/main/Carousel" {
|
|
|
4893
5063
|
* - The items you want to display need to be visible at the same time.
|
|
4894
5064
|
* - The items you want to display are uniform and very similar.
|
|
4895
5065
|
*
|
|
4896
|
-
* Keyboard Handling:
|
|
4897
|
-
*
|
|
5066
|
+
* Keyboard Handling:
|
|
5067
|
+
*
|
|
5068
|
+
* Basic Navigation: When the `sap.ui.webc.main.Carousel` is focused the user can navigate between the items
|
|
5069
|
+
* with the following keyboard shortcuts:
|
|
4898
5070
|
*
|
|
4899
5071
|
*
|
|
4900
5072
|
*
|
|
@@ -5358,12 +5530,14 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5358
5530
|
$WebComponentSettings,
|
|
5359
5531
|
} from "sap/ui/webc/common/WebComponent";
|
|
5360
5532
|
|
|
5533
|
+
import { IFormContent, ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
5534
|
+
|
|
5535
|
+
import Control from "sap/ui/core/Control";
|
|
5536
|
+
|
|
5361
5537
|
import Event from "sap/ui/base/Event";
|
|
5362
5538
|
|
|
5363
5539
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
5364
5540
|
|
|
5365
|
-
import { ValueState } from "sap/ui/core/library";
|
|
5366
|
-
|
|
5367
5541
|
import { WrappingType } from "sap/ui/webc/main/library";
|
|
5368
5542
|
|
|
5369
5543
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -5400,7 +5574,8 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5400
5574
|
*
|
|
5401
5575
|
* - [SPACE, ENTER] - Toggles between different states: checked, not checked.
|
|
5402
5576
|
*/
|
|
5403
|
-
export default class CheckBox extends WebComponent {
|
|
5577
|
+
export default class CheckBox extends WebComponent implements IFormContent {
|
|
5578
|
+
__implements__sap_ui_core_IFormContent: boolean;
|
|
5404
5579
|
/**
|
|
5405
5580
|
* Constructor for a new `CheckBox`.
|
|
5406
5581
|
*
|
|
@@ -5457,6 +5632,15 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5457
5632
|
* Returns a metadata object for class sap.ui.webc.main.CheckBox.
|
|
5458
5633
|
*/
|
|
5459
5634
|
static getMetadata(): WebComponentMetadata;
|
|
5635
|
+
/**
|
|
5636
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
5637
|
+
*/
|
|
5638
|
+
addAriaLabelledBy(
|
|
5639
|
+
/**
|
|
5640
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
5641
|
+
*/
|
|
5642
|
+
vAriaLabelledBy: ID | Control
|
|
5643
|
+
): this;
|
|
5460
5644
|
/**
|
|
5461
5645
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.CheckBox`.
|
|
5462
5646
|
*
|
|
@@ -5522,6 +5706,19 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5522
5706
|
*/
|
|
5523
5707
|
mParameters?: object
|
|
5524
5708
|
): this;
|
|
5709
|
+
/**
|
|
5710
|
+
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
5711
|
+
*
|
|
5712
|
+
* Sets the accessible aria name of the component.
|
|
5713
|
+
*
|
|
5714
|
+
* Default value is `empty string`.
|
|
5715
|
+
*/
|
|
5716
|
+
getAccessibleName(): string;
|
|
5717
|
+
/**
|
|
5718
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
5719
|
+
* ariaLabelledBy}.
|
|
5720
|
+
*/
|
|
5721
|
+
getAriaLabelledBy(): ID[];
|
|
5525
5722
|
/**
|
|
5526
5723
|
* Gets current value of property {@link #getChecked checked}.
|
|
5527
5724
|
*
|
|
@@ -5608,6 +5805,12 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5608
5805
|
* Default value is `None`.
|
|
5609
5806
|
*/
|
|
5610
5807
|
getValueState(): ValueState | keyof typeof ValueState;
|
|
5808
|
+
/**
|
|
5809
|
+
* Gets current value of property {@link #getWidth width}.
|
|
5810
|
+
*
|
|
5811
|
+
* Defines the width of the control
|
|
5812
|
+
*/
|
|
5813
|
+
getWidth(): CSSSize;
|
|
5611
5814
|
/**
|
|
5612
5815
|
* Gets current value of property {@link #getWrappingType wrappingType}.
|
|
5613
5816
|
*
|
|
@@ -5620,6 +5823,34 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5620
5823
|
* Default value is `None`.
|
|
5621
5824
|
*/
|
|
5622
5825
|
getWrappingType(): WrappingType | keyof typeof WrappingType;
|
|
5826
|
+
/**
|
|
5827
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
5828
|
+
*/
|
|
5829
|
+
removeAllAriaLabelledBy(): ID[];
|
|
5830
|
+
/**
|
|
5831
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
5832
|
+
*/
|
|
5833
|
+
removeAriaLabelledBy(
|
|
5834
|
+
/**
|
|
5835
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
5836
|
+
*/
|
|
5837
|
+
vAriaLabelledBy: int | ID | Control
|
|
5838
|
+
): ID;
|
|
5839
|
+
/**
|
|
5840
|
+
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
5841
|
+
*
|
|
5842
|
+
* Sets the accessible aria name of the component.
|
|
5843
|
+
*
|
|
5844
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
5845
|
+
*
|
|
5846
|
+
* Default value is `empty string`.
|
|
5847
|
+
*/
|
|
5848
|
+
setAccessibleName(
|
|
5849
|
+
/**
|
|
5850
|
+
* New value for property `accessibleName`
|
|
5851
|
+
*/
|
|
5852
|
+
sAccessibleName?: string
|
|
5853
|
+
): this;
|
|
5623
5854
|
/**
|
|
5624
5855
|
* Sets a new value for property {@link #getChecked checked}.
|
|
5625
5856
|
*
|
|
@@ -5755,6 +5986,19 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5755
5986
|
*/
|
|
5756
5987
|
sValueState?: ValueState | keyof typeof ValueState
|
|
5757
5988
|
): this;
|
|
5989
|
+
/**
|
|
5990
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
5991
|
+
*
|
|
5992
|
+
* Defines the width of the control
|
|
5993
|
+
*
|
|
5994
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
5995
|
+
*/
|
|
5996
|
+
setWidth(
|
|
5997
|
+
/**
|
|
5998
|
+
* New value for property `width`
|
|
5999
|
+
*/
|
|
6000
|
+
sWidth?: CSSSize
|
|
6001
|
+
): this;
|
|
5758
6002
|
/**
|
|
5759
6003
|
* Sets a new value for property {@link #getWrappingType wrappingType}.
|
|
5760
6004
|
*
|
|
@@ -5777,6 +6021,11 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5777
6021
|
}
|
|
5778
6022
|
|
|
5779
6023
|
export interface $CheckBoxSettings extends $WebComponentSettings {
|
|
6024
|
+
/**
|
|
6025
|
+
* Sets the accessible aria name of the component.
|
|
6026
|
+
*/
|
|
6027
|
+
accessibleName?: string | PropertyBindingInfo;
|
|
6028
|
+
|
|
5780
6029
|
/**
|
|
5781
6030
|
* Defines if the component is checked.
|
|
5782
6031
|
*
|
|
@@ -5842,6 +6091,11 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5842
6091
|
*/
|
|
5843
6092
|
valueState?: (ValueState | keyof typeof ValueState) | PropertyBindingInfo;
|
|
5844
6093
|
|
|
6094
|
+
/**
|
|
6095
|
+
* Defines the width of the control
|
|
6096
|
+
*/
|
|
6097
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
6098
|
+
|
|
5845
6099
|
/**
|
|
5846
6100
|
* Defines whether the component text wraps when there is not enough space.
|
|
5847
6101
|
*
|
|
@@ -5853,6 +6107,11 @@ declare module "sap/ui/webc/main/CheckBox" {
|
|
|
5853
6107
|
| (WrappingType | keyof typeof WrappingType)
|
|
5854
6108
|
| PropertyBindingInfo;
|
|
5855
6109
|
|
|
6110
|
+
/**
|
|
6111
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
6112
|
+
*/
|
|
6113
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
6114
|
+
|
|
5856
6115
|
/**
|
|
5857
6116
|
* Fired when the component checked state changes.
|
|
5858
6117
|
*/
|
|
@@ -6447,6 +6706,16 @@ declare module "sap/ui/webc/main/ColorPalettePopover" {
|
|
|
6447
6706
|
*/
|
|
6448
6707
|
iIndex: int
|
|
6449
6708
|
): this;
|
|
6709
|
+
/**
|
|
6710
|
+
* Shows the ColorPalettePopover. **Note:** The method is deprecated and will be removed in future, use
|
|
6711
|
+
* `showAt` instead.
|
|
6712
|
+
*/
|
|
6713
|
+
openPopover(
|
|
6714
|
+
/**
|
|
6715
|
+
* the element that the popover is shown at
|
|
6716
|
+
*/
|
|
6717
|
+
opener: HTMLElement
|
|
6718
|
+
): void;
|
|
6450
6719
|
/**
|
|
6451
6720
|
* Removes all the controls from the aggregation {@link #getContent content}.
|
|
6452
6721
|
*
|
|
@@ -6522,6 +6791,15 @@ declare module "sap/ui/webc/main/ColorPalettePopover" {
|
|
|
6522
6791
|
*/
|
|
6523
6792
|
bShowRecentColors?: boolean
|
|
6524
6793
|
): this;
|
|
6794
|
+
/**
|
|
6795
|
+
* Shows the ColorPalettePopover.
|
|
6796
|
+
*/
|
|
6797
|
+
showAt(
|
|
6798
|
+
/**
|
|
6799
|
+
* the element that the popover is shown at
|
|
6800
|
+
*/
|
|
6801
|
+
opener: HTMLElement
|
|
6802
|
+
): void;
|
|
6525
6803
|
}
|
|
6526
6804
|
|
|
6527
6805
|
export interface $ColorPalettePopoverSettings extends $WebComponentSettings {
|
|
@@ -6756,14 +7034,16 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
6756
7034
|
$WebComponentSettings,
|
|
6757
7035
|
} from "sap/ui/webc/common/WebComponent";
|
|
6758
7036
|
|
|
7037
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
7038
|
+
|
|
7039
|
+
import Control from "sap/ui/core/Control";
|
|
7040
|
+
|
|
6759
7041
|
import { IComboBoxItem, IIcon } from "sap/ui/webc/main/library";
|
|
6760
7042
|
|
|
6761
7043
|
import Event from "sap/ui/base/Event";
|
|
6762
7044
|
|
|
6763
7045
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
6764
7046
|
|
|
6765
|
-
import { ValueState, CSSSize } from "sap/ui/core/library";
|
|
6766
|
-
|
|
6767
7047
|
import {
|
|
6768
7048
|
PropertyBindingInfo,
|
|
6769
7049
|
AggregationBindingInfo,
|
|
@@ -6778,16 +7058,30 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
6778
7058
|
* The `sap.ui.webc.main.ComboBox` component represents a drop-down menu with a list of the available options
|
|
6779
7059
|
* and a text input field to narrow down the options.
|
|
6780
7060
|
*
|
|
6781
|
-
* It is commonly used to enable users to select an option from a predefined list.
|
|
6782
|
-
*
|
|
7061
|
+
* It is commonly used to enable users to select an option from a predefined list.
|
|
7062
|
+
*
|
|
7063
|
+
* Structure: The `sap.ui.webc.main.ComboBox` consists of the following elements:
|
|
6783
7064
|
* - Input field - displays the selected option or a custom user entry. Users can type to narrow down
|
|
6784
7065
|
* the list or enter their own value. Drop-down arrow - expands\collapses the option list.
|
|
6785
|
-
* - Option list - the list of available options.
|
|
7066
|
+
* - Option list - the list of available options.
|
|
7067
|
+
*
|
|
7068
|
+
* Keyboard Handling:
|
|
6786
7069
|
*
|
|
6787
7070
|
* The `sap.ui.webc.main.ComboBox` provides advanced keyboard handling.
|
|
6788
7071
|
*
|
|
6789
|
-
*
|
|
6790
|
-
*
|
|
7072
|
+
*
|
|
7073
|
+
*
|
|
7074
|
+
* - [F4], [ALT]+[UP], or [ALT]+[DOWN] - Toggles the picker.
|
|
7075
|
+
* - [ESC] - Closes the picker, if open. If closed, cancels changes and reverts the typed in value.
|
|
7076
|
+
* - [ENTER] or [RETURN] - If picker is open, takes over the currently selected item and closes it.
|
|
7077
|
+
* - [DOWN] - Selects the next matching item in the picker.
|
|
7078
|
+
* - [UP] - Selects the previous matching item in the picker.
|
|
7079
|
+
* - [PAGEDOWN] - Moves selection down by page size (10 items by default).
|
|
7080
|
+
* - [PAGEUP] - Moves selection up by page size (10 items by default).
|
|
7081
|
+
* - [HOME] - If focus is in the ComboBox, moves cursor at the beginning of text. If focus is in the picker,
|
|
7082
|
+
* selects the first item.
|
|
7083
|
+
* - [END] - If focus is in the ComboBox, moves cursor at the end of text. If focus is in the picker,
|
|
7084
|
+
* selects the last item.
|
|
6791
7085
|
*/
|
|
6792
7086
|
export default class ComboBox extends WebComponent {
|
|
6793
7087
|
/**
|
|
@@ -6846,6 +7140,15 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
6846
7140
|
* Returns a metadata object for class sap.ui.webc.main.ComboBox.
|
|
6847
7141
|
*/
|
|
6848
7142
|
static getMetadata(): WebComponentMetadata;
|
|
7143
|
+
/**
|
|
7144
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7145
|
+
*/
|
|
7146
|
+
addAriaLabelledBy(
|
|
7147
|
+
/**
|
|
7148
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
7149
|
+
*/
|
|
7150
|
+
vAriaLabelledBy: ID | Control
|
|
7151
|
+
): this;
|
|
6849
7152
|
/**
|
|
6850
7153
|
* Adds some item to the aggregation {@link #getItems items}.
|
|
6851
7154
|
*/
|
|
@@ -7077,13 +7380,10 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
7077
7380
|
*/
|
|
7078
7381
|
getAccessibleName(): string;
|
|
7079
7382
|
/**
|
|
7080
|
-
*
|
|
7081
|
-
*
|
|
7082
|
-
* Receives id(or many ids) of the elements that label the combo box
|
|
7083
|
-
*
|
|
7084
|
-
* Default value is `empty string`.
|
|
7383
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
7384
|
+
* ariaLabelledBy}.
|
|
7085
7385
|
*/
|
|
7086
|
-
|
|
7386
|
+
getAriaLabelledBy(): ID[];
|
|
7087
7387
|
/**
|
|
7088
7388
|
* Gets current value of property {@link #getDisabled disabled}.
|
|
7089
7389
|
*
|
|
@@ -7215,12 +7515,25 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
7215
7515
|
*/
|
|
7216
7516
|
iIndex: int
|
|
7217
7517
|
): this;
|
|
7518
|
+
/**
|
|
7519
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7520
|
+
*/
|
|
7521
|
+
removeAllAriaLabelledBy(): ID[];
|
|
7218
7522
|
/**
|
|
7219
7523
|
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
7220
7524
|
*
|
|
7221
7525
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
7222
7526
|
*/
|
|
7223
7527
|
removeAllItems(): IComboBoxItem[];
|
|
7528
|
+
/**
|
|
7529
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7530
|
+
*/
|
|
7531
|
+
removeAriaLabelledBy(
|
|
7532
|
+
/**
|
|
7533
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
7534
|
+
*/
|
|
7535
|
+
vAriaLabelledBy: int | ID | Control
|
|
7536
|
+
): ID;
|
|
7224
7537
|
/**
|
|
7225
7538
|
* Removes a item from the aggregation {@link #getItems items}.
|
|
7226
7539
|
*/
|
|
@@ -7243,21 +7556,6 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
7243
7556
|
*/
|
|
7244
7557
|
sAccessibleName: string
|
|
7245
7558
|
): this;
|
|
7246
|
-
/**
|
|
7247
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
7248
|
-
*
|
|
7249
|
-
* Receives id(or many ids) of the elements that label the combo box
|
|
7250
|
-
*
|
|
7251
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7252
|
-
*
|
|
7253
|
-
* Default value is `empty string`.
|
|
7254
|
-
*/
|
|
7255
|
-
setAccessibleNameRef(
|
|
7256
|
-
/**
|
|
7257
|
-
* New value for property `accessibleNameRef`
|
|
7258
|
-
*/
|
|
7259
|
-
sAccessibleNameRef?: string
|
|
7260
|
-
): this;
|
|
7261
7559
|
/**
|
|
7262
7560
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
7263
7561
|
*
|
|
@@ -7439,11 +7737,6 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
7439
7737
|
*/
|
|
7440
7738
|
accessibleName?: string | PropertyBindingInfo;
|
|
7441
7739
|
|
|
7442
|
-
/**
|
|
7443
|
-
* Receives id(or many ids) of the elements that label the combo box
|
|
7444
|
-
*/
|
|
7445
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
7446
|
-
|
|
7447
7740
|
/**
|
|
7448
7741
|
* Defines whether the component is in disabled state.
|
|
7449
7742
|
*
|
|
@@ -7520,6 +7813,11 @@ declare module "sap/ui/webc/main/ComboBox" {
|
|
|
7520
7813
|
*/
|
|
7521
7814
|
items?: IComboBoxItem[] | IComboBoxItem | AggregationBindingInfo;
|
|
7522
7815
|
|
|
7816
|
+
/**
|
|
7817
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
7818
|
+
*/
|
|
7819
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
7820
|
+
|
|
7523
7821
|
/**
|
|
7524
7822
|
* Fired when the input operation has finished by pressing Enter, focusout or an item is selected.
|
|
7525
7823
|
*/
|
|
@@ -8122,14 +8420,16 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
8122
8420
|
$WebComponentSettings,
|
|
8123
8421
|
} from "sap/ui/webc/common/WebComponent";
|
|
8124
8422
|
|
|
8423
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
8424
|
+
|
|
8425
|
+
import Control from "sap/ui/core/Control";
|
|
8426
|
+
|
|
8125
8427
|
import Event from "sap/ui/base/Event";
|
|
8126
8428
|
|
|
8127
8429
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
8128
8430
|
|
|
8129
8431
|
import CalendarType from "sap/ui/core/CalendarType";
|
|
8130
8432
|
|
|
8131
|
-
import { ValueState, CSSSize } from "sap/ui/core/library";
|
|
8132
|
-
|
|
8133
8433
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
8134
8434
|
|
|
8135
8435
|
/**
|
|
@@ -8169,9 +8469,9 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
8169
8469
|
* for changing month and year.
|
|
8170
8470
|
*
|
|
8171
8471
|
*
|
|
8172
|
-
* If the `sap.ui.webc.main.DatePicker` is focused and
|
|
8173
|
-
*
|
|
8174
|
-
*
|
|
8472
|
+
* If the `sap.ui.webc.main.DatePicker` input field is focused and its corresponding picker dialog is not
|
|
8473
|
+
* opened, then users can increment or decrement the date referenced by `dateValue` property by using the
|
|
8474
|
+
* following shortcuts:
|
|
8175
8475
|
*
|
|
8176
8476
|
*
|
|
8177
8477
|
*
|
|
@@ -8255,6 +8555,15 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
8255
8555
|
* Returns a metadata object for class sap.ui.webc.main.DatePicker.
|
|
8256
8556
|
*/
|
|
8257
8557
|
static getMetadata(): WebComponentMetadata;
|
|
8558
|
+
/**
|
|
8559
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
8560
|
+
*/
|
|
8561
|
+
addAriaLabelledBy(
|
|
8562
|
+
/**
|
|
8563
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
8564
|
+
*/
|
|
8565
|
+
vAriaLabelledBy: ID | Control
|
|
8566
|
+
): this;
|
|
8258
8567
|
/**
|
|
8259
8568
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.DatePicker`.
|
|
8260
8569
|
*
|
|
@@ -8430,13 +8739,10 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
8430
8739
|
*/
|
|
8431
8740
|
getAccessibleName(): string;
|
|
8432
8741
|
/**
|
|
8433
|
-
*
|
|
8434
|
-
*
|
|
8435
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
8436
|
-
*
|
|
8437
|
-
* Default value is `empty string`.
|
|
8742
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
8743
|
+
* ariaLabelledBy}.
|
|
8438
8744
|
*/
|
|
8439
|
-
|
|
8745
|
+
getAriaLabelledBy(): ID[];
|
|
8440
8746
|
/**
|
|
8441
8747
|
* Returns the currently selected date represented as a Local JavaScript Date instance.
|
|
8442
8748
|
*/
|
|
@@ -8610,6 +8916,19 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
8610
8916
|
* Opens the picker.
|
|
8611
8917
|
*/
|
|
8612
8918
|
openPicker(): void;
|
|
8919
|
+
/**
|
|
8920
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
8921
|
+
*/
|
|
8922
|
+
removeAllAriaLabelledBy(): ID[];
|
|
8923
|
+
/**
|
|
8924
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
8925
|
+
*/
|
|
8926
|
+
removeAriaLabelledBy(
|
|
8927
|
+
/**
|
|
8928
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
8929
|
+
*/
|
|
8930
|
+
vAriaLabelledBy: int | ID | Control
|
|
8931
|
+
): ID;
|
|
8613
8932
|
/**
|
|
8614
8933
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
8615
8934
|
*
|
|
@@ -8623,21 +8942,6 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
8623
8942
|
*/
|
|
8624
8943
|
sAccessibleName: string
|
|
8625
8944
|
): this;
|
|
8626
|
-
/**
|
|
8627
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
8628
|
-
*
|
|
8629
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
8630
|
-
*
|
|
8631
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
8632
|
-
*
|
|
8633
|
-
* Default value is `empty string`.
|
|
8634
|
-
*/
|
|
8635
|
-
setAccessibleNameRef(
|
|
8636
|
-
/**
|
|
8637
|
-
* New value for property `accessibleNameRef`
|
|
8638
|
-
*/
|
|
8639
|
-
sAccessibleNameRef?: string
|
|
8640
|
-
): this;
|
|
8641
8945
|
/**
|
|
8642
8946
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
8643
8947
|
*
|
|
@@ -8894,11 +9198,6 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
8894
9198
|
*/
|
|
8895
9199
|
accessibleName?: string | PropertyBindingInfo;
|
|
8896
9200
|
|
|
8897
|
-
/**
|
|
8898
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
8899
|
-
*/
|
|
8900
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
8901
|
-
|
|
8902
9201
|
/**
|
|
8903
9202
|
* Determines whether the component is displayed as disabled.
|
|
8904
9203
|
*/
|
|
@@ -9005,6 +9304,11 @@ declare module "sap/ui/webc/main/DatePicker" {
|
|
|
9005
9304
|
*/
|
|
9006
9305
|
width?: CSSSize | PropertyBindingInfo;
|
|
9007
9306
|
|
|
9307
|
+
/**
|
|
9308
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
9309
|
+
*/
|
|
9310
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
9311
|
+
|
|
9008
9312
|
/**
|
|
9009
9313
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
|
9010
9314
|
*/
|
|
@@ -9023,14 +9327,16 @@ declare module "sap/ui/webc/main/DateRangePicker" {
|
|
|
9023
9327
|
$WebComponentSettings,
|
|
9024
9328
|
} from "sap/ui/webc/common/WebComponent";
|
|
9025
9329
|
|
|
9330
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
9331
|
+
|
|
9332
|
+
import Control from "sap/ui/core/Control";
|
|
9333
|
+
|
|
9026
9334
|
import Event from "sap/ui/base/Event";
|
|
9027
9335
|
|
|
9028
9336
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
9029
9337
|
|
|
9030
9338
|
import CalendarType from "sap/ui/core/CalendarType";
|
|
9031
9339
|
|
|
9032
|
-
import { ValueState, CSSSize } from "sap/ui/core/library";
|
|
9033
|
-
|
|
9034
9340
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
9035
9341
|
|
|
9036
9342
|
/**
|
|
@@ -9113,6 +9419,15 @@ declare module "sap/ui/webc/main/DateRangePicker" {
|
|
|
9113
9419
|
* Returns a metadata object for class sap.ui.webc.main.DateRangePicker.
|
|
9114
9420
|
*/
|
|
9115
9421
|
static getMetadata(): WebComponentMetadata;
|
|
9422
|
+
/**
|
|
9423
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
9424
|
+
*/
|
|
9425
|
+
addAriaLabelledBy(
|
|
9426
|
+
/**
|
|
9427
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
9428
|
+
*/
|
|
9429
|
+
vAriaLabelledBy: ID | Control
|
|
9430
|
+
): this;
|
|
9116
9431
|
/**
|
|
9117
9432
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.DateRangePicker`.
|
|
9118
9433
|
*
|
|
@@ -9288,17 +9603,20 @@ declare module "sap/ui/webc/main/DateRangePicker" {
|
|
|
9288
9603
|
*/
|
|
9289
9604
|
getAccessibleName(): string;
|
|
9290
9605
|
/**
|
|
9291
|
-
*
|
|
9292
|
-
*
|
|
9293
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
9294
|
-
*
|
|
9295
|
-
* Default value is `empty string`.
|
|
9606
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
9607
|
+
* ariaLabelledBy}.
|
|
9296
9608
|
*/
|
|
9297
|
-
|
|
9609
|
+
getAriaLabelledBy(): ID[];
|
|
9298
9610
|
/**
|
|
9299
|
-
* Returns the
|
|
9611
|
+
* Returns the **Note:** The getter method is inherited and not supported. If called it will return an empty
|
|
9612
|
+
* value.
|
|
9300
9613
|
*/
|
|
9301
9614
|
getDateValue(): void;
|
|
9615
|
+
/**
|
|
9616
|
+
* Returns the **Note:** The getter method is inherited and not supported. If called it will return an empty
|
|
9617
|
+
* value.
|
|
9618
|
+
*/
|
|
9619
|
+
getDateValueUTC(): void;
|
|
9302
9620
|
/**
|
|
9303
9621
|
* Gets current value of property {@link #getDelimiter delimiter}.
|
|
9304
9622
|
*
|
|
@@ -9483,6 +9801,19 @@ declare module "sap/ui/webc/main/DateRangePicker" {
|
|
|
9483
9801
|
* Opens the picker.
|
|
9484
9802
|
*/
|
|
9485
9803
|
openPicker(): void;
|
|
9804
|
+
/**
|
|
9805
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
9806
|
+
*/
|
|
9807
|
+
removeAllAriaLabelledBy(): ID[];
|
|
9808
|
+
/**
|
|
9809
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
9810
|
+
*/
|
|
9811
|
+
removeAriaLabelledBy(
|
|
9812
|
+
/**
|
|
9813
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
9814
|
+
*/
|
|
9815
|
+
vAriaLabelledBy: int | ID | Control
|
|
9816
|
+
): ID;
|
|
9486
9817
|
/**
|
|
9487
9818
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
9488
9819
|
*
|
|
@@ -9496,21 +9827,6 @@ declare module "sap/ui/webc/main/DateRangePicker" {
|
|
|
9496
9827
|
*/
|
|
9497
9828
|
sAccessibleName: string
|
|
9498
9829
|
): this;
|
|
9499
|
-
/**
|
|
9500
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
9501
|
-
*
|
|
9502
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
9503
|
-
*
|
|
9504
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9505
|
-
*
|
|
9506
|
-
* Default value is `empty string`.
|
|
9507
|
-
*/
|
|
9508
|
-
setAccessibleNameRef(
|
|
9509
|
-
/**
|
|
9510
|
-
* New value for property `accessibleNameRef`
|
|
9511
|
-
*/
|
|
9512
|
-
sAccessibleNameRef?: string
|
|
9513
|
-
): this;
|
|
9514
9830
|
/**
|
|
9515
9831
|
* Sets a new value for property {@link #getDelimiter delimiter}.
|
|
9516
9832
|
*
|
|
@@ -9781,11 +10097,6 @@ declare module "sap/ui/webc/main/DateRangePicker" {
|
|
|
9781
10097
|
*/
|
|
9782
10098
|
accessibleName?: string | PropertyBindingInfo;
|
|
9783
10099
|
|
|
9784
|
-
/**
|
|
9785
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
9786
|
-
*/
|
|
9787
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
9788
|
-
|
|
9789
10100
|
/**
|
|
9790
10101
|
* Determines the symbol which separates the dates. If not supplied, the default time interval delimiter
|
|
9791
10102
|
* for the current locale will be used.
|
|
@@ -9898,6 +10209,11 @@ declare module "sap/ui/webc/main/DateRangePicker" {
|
|
|
9898
10209
|
*/
|
|
9899
10210
|
width?: CSSSize | PropertyBindingInfo;
|
|
9900
10211
|
|
|
10212
|
+
/**
|
|
10213
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
10214
|
+
*/
|
|
10215
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
10216
|
+
|
|
9901
10217
|
/**
|
|
9902
10218
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
|
9903
10219
|
*/
|
|
@@ -9916,14 +10232,16 @@ declare module "sap/ui/webc/main/DateTimePicker" {
|
|
|
9916
10232
|
$WebComponentSettings,
|
|
9917
10233
|
} from "sap/ui/webc/common/WebComponent";
|
|
9918
10234
|
|
|
10235
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
10236
|
+
|
|
10237
|
+
import Control from "sap/ui/core/Control";
|
|
10238
|
+
|
|
9919
10239
|
import Event from "sap/ui/base/Event";
|
|
9920
10240
|
|
|
9921
10241
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
9922
10242
|
|
|
9923
10243
|
import CalendarType from "sap/ui/core/CalendarType";
|
|
9924
10244
|
|
|
9925
|
-
import { ValueState, CSSSize } from "sap/ui/core/library";
|
|
9926
|
-
|
|
9927
10245
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
9928
10246
|
|
|
9929
10247
|
/**
|
|
@@ -10040,6 +10358,15 @@ declare module "sap/ui/webc/main/DateTimePicker" {
|
|
|
10040
10358
|
* Returns a metadata object for class sap.ui.webc.main.DateTimePicker.
|
|
10041
10359
|
*/
|
|
10042
10360
|
static getMetadata(): WebComponentMetadata;
|
|
10361
|
+
/**
|
|
10362
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
10363
|
+
*/
|
|
10364
|
+
addAriaLabelledBy(
|
|
10365
|
+
/**
|
|
10366
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
10367
|
+
*/
|
|
10368
|
+
vAriaLabelledBy: ID | Control
|
|
10369
|
+
): this;
|
|
10043
10370
|
/**
|
|
10044
10371
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.DateTimePicker`.
|
|
10045
10372
|
*
|
|
@@ -10215,13 +10542,10 @@ declare module "sap/ui/webc/main/DateTimePicker" {
|
|
|
10215
10542
|
*/
|
|
10216
10543
|
getAccessibleName(): string;
|
|
10217
10544
|
/**
|
|
10218
|
-
*
|
|
10219
|
-
*
|
|
10220
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
10221
|
-
*
|
|
10222
|
-
* Default value is `empty string`.
|
|
10545
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
10546
|
+
* ariaLabelledBy}.
|
|
10223
10547
|
*/
|
|
10224
|
-
|
|
10548
|
+
getAriaLabelledBy(): ID[];
|
|
10225
10549
|
/**
|
|
10226
10550
|
* Returns the currently selected date represented as a Local JavaScript Date instance.
|
|
10227
10551
|
*/
|
|
@@ -10395,6 +10719,19 @@ declare module "sap/ui/webc/main/DateTimePicker" {
|
|
|
10395
10719
|
* Opens the picker.
|
|
10396
10720
|
*/
|
|
10397
10721
|
openPicker(): void;
|
|
10722
|
+
/**
|
|
10723
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
10724
|
+
*/
|
|
10725
|
+
removeAllAriaLabelledBy(): ID[];
|
|
10726
|
+
/**
|
|
10727
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
10728
|
+
*/
|
|
10729
|
+
removeAriaLabelledBy(
|
|
10730
|
+
/**
|
|
10731
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
10732
|
+
*/
|
|
10733
|
+
vAriaLabelledBy: int | ID | Control
|
|
10734
|
+
): ID;
|
|
10398
10735
|
/**
|
|
10399
10736
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
10400
10737
|
*
|
|
@@ -10408,21 +10745,6 @@ declare module "sap/ui/webc/main/DateTimePicker" {
|
|
|
10408
10745
|
*/
|
|
10409
10746
|
sAccessibleName: string
|
|
10410
10747
|
): this;
|
|
10411
|
-
/**
|
|
10412
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
10413
|
-
*
|
|
10414
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
10415
|
-
*
|
|
10416
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
10417
|
-
*
|
|
10418
|
-
* Default value is `empty string`.
|
|
10419
|
-
*/
|
|
10420
|
-
setAccessibleNameRef(
|
|
10421
|
-
/**
|
|
10422
|
-
* New value for property `accessibleNameRef`
|
|
10423
|
-
*/
|
|
10424
|
-
sAccessibleNameRef?: string
|
|
10425
|
-
): this;
|
|
10426
10748
|
/**
|
|
10427
10749
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
10428
10750
|
*
|
|
@@ -10679,11 +11001,6 @@ declare module "sap/ui/webc/main/DateTimePicker" {
|
|
|
10679
11001
|
*/
|
|
10680
11002
|
accessibleName?: string | PropertyBindingInfo;
|
|
10681
11003
|
|
|
10682
|
-
/**
|
|
10683
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
10684
|
-
*/
|
|
10685
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
10686
|
-
|
|
10687
11004
|
/**
|
|
10688
11005
|
* Determines whether the component is displayed as disabled.
|
|
10689
11006
|
*/
|
|
@@ -10790,6 +11107,11 @@ declare module "sap/ui/webc/main/DateTimePicker" {
|
|
|
10790
11107
|
*/
|
|
10791
11108
|
width?: CSSSize | PropertyBindingInfo;
|
|
10792
11109
|
|
|
11110
|
+
/**
|
|
11111
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
11112
|
+
*/
|
|
11113
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
11114
|
+
|
|
10793
11115
|
/**
|
|
10794
11116
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
|
10795
11117
|
*/
|
|
@@ -10808,12 +11130,12 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
10808
11130
|
$WebComponentSettings,
|
|
10809
11131
|
} from "sap/ui/webc/common/WebComponent";
|
|
10810
11132
|
|
|
11133
|
+
import { ID, CSSSize } from "sap/ui/core/library";
|
|
11134
|
+
|
|
10811
11135
|
import Control from "sap/ui/core/Control";
|
|
10812
11136
|
|
|
10813
11137
|
import Event from "sap/ui/base/Event";
|
|
10814
11138
|
|
|
10815
|
-
import { CSSSize } from "sap/ui/core/library";
|
|
10816
|
-
|
|
10817
11139
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
10818
11140
|
|
|
10819
11141
|
import {
|
|
@@ -10906,6 +11228,15 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
10906
11228
|
* Returns a metadata object for class sap.ui.webc.main.Dialog.
|
|
10907
11229
|
*/
|
|
10908
11230
|
static getMetadata(): WebComponentMetadata;
|
|
11231
|
+
/**
|
|
11232
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
11233
|
+
*/
|
|
11234
|
+
addAriaLabelledBy(
|
|
11235
|
+
/**
|
|
11236
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
11237
|
+
*/
|
|
11238
|
+
vAriaLabelledBy: ID | Control
|
|
11239
|
+
): this;
|
|
10909
11240
|
/**
|
|
10910
11241
|
* Adds some content to the aggregation {@link #getContent content}.
|
|
10911
11242
|
*/
|
|
@@ -11231,11 +11562,16 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
11231
11562
|
/**
|
|
11232
11563
|
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
11233
11564
|
*
|
|
11234
|
-
*
|
|
11565
|
+
* Defines the accessible name of the component.
|
|
11235
11566
|
*
|
|
11236
11567
|
* Default value is `empty string`.
|
|
11237
11568
|
*/
|
|
11238
11569
|
getAccessibleName(): string;
|
|
11570
|
+
/**
|
|
11571
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
11572
|
+
* ariaLabelledBy}.
|
|
11573
|
+
*/
|
|
11574
|
+
getAriaLabelledBy(): ID[];
|
|
11239
11575
|
/**
|
|
11240
11576
|
* Gets content of aggregation {@link #getContent content}.
|
|
11241
11577
|
*
|
|
@@ -11408,6 +11744,10 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
11408
11744
|
* Tells if the component is opened
|
|
11409
11745
|
*/
|
|
11410
11746
|
isOpen(): void;
|
|
11747
|
+
/**
|
|
11748
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
11749
|
+
*/
|
|
11750
|
+
removeAllAriaLabelledBy(): ID[];
|
|
11411
11751
|
/**
|
|
11412
11752
|
* Removes all the controls from the aggregation {@link #getContent content}.
|
|
11413
11753
|
*
|
|
@@ -11426,6 +11766,15 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
11426
11766
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
11427
11767
|
*/
|
|
11428
11768
|
removeAllHeader(): Control[];
|
|
11769
|
+
/**
|
|
11770
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
11771
|
+
*/
|
|
11772
|
+
removeAriaLabelledBy(
|
|
11773
|
+
/**
|
|
11774
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
11775
|
+
*/
|
|
11776
|
+
vAriaLabelledBy: int | ID | Control
|
|
11777
|
+
): ID;
|
|
11429
11778
|
/**
|
|
11430
11779
|
* Removes a content from the aggregation {@link #getContent content}.
|
|
11431
11780
|
*/
|
|
@@ -11456,7 +11805,7 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
11456
11805
|
/**
|
|
11457
11806
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
11458
11807
|
*
|
|
11459
|
-
*
|
|
11808
|
+
* Defines the accessible name of the component.
|
|
11460
11809
|
*
|
|
11461
11810
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11462
11811
|
*
|
|
@@ -11609,7 +11958,7 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
11609
11958
|
|
|
11610
11959
|
export interface $DialogSettings extends $WebComponentSettings {
|
|
11611
11960
|
/**
|
|
11612
|
-
*
|
|
11961
|
+
* Defines the accessible name of the component.
|
|
11613
11962
|
*/
|
|
11614
11963
|
accessibleName?: string | PropertyBindingInfo;
|
|
11615
11964
|
|
|
@@ -11683,6 +12032,11 @@ declare module "sap/ui/webc/main/Dialog" {
|
|
|
11683
12032
|
*/
|
|
11684
12033
|
header?: Control[] | Control | AggregationBindingInfo;
|
|
11685
12034
|
|
|
12035
|
+
/**
|
|
12036
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
12037
|
+
*/
|
|
12038
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
12039
|
+
|
|
11686
12040
|
/**
|
|
11687
12041
|
* Fired after the component is closed. **This event does not bubble.**
|
|
11688
12042
|
*/
|
|
@@ -12475,9 +12829,9 @@ declare module "sap/ui/webc/main/Icon" {
|
|
|
12475
12829
|
|
|
12476
12830
|
import { IIcon } from "sap/ui/webc/main/library";
|
|
12477
12831
|
|
|
12478
|
-
import
|
|
12832
|
+
import { IFormContent, CSSSize } from "sap/ui/core/library";
|
|
12479
12833
|
|
|
12480
|
-
import
|
|
12834
|
+
import Event from "sap/ui/base/Event";
|
|
12481
12835
|
|
|
12482
12836
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
12483
12837
|
|
|
@@ -12506,8 +12860,11 @@ declare module "sap/ui/webc/main/Icon" {
|
|
|
12506
12860
|
* - [SHIFT] - If [SPACE] or [ENTER],[RETURN] is pressed, pressing [SHIFT] releases the ui5-icon without
|
|
12507
12861
|
* triggering the click event.
|
|
12508
12862
|
*/
|
|
12509
|
-
export default class Icon
|
|
12863
|
+
export default class Icon
|
|
12864
|
+
extends WebComponent
|
|
12865
|
+
implements IIcon, IFormContent {
|
|
12510
12866
|
__implements__sap_ui_webc_main_IIcon: boolean;
|
|
12867
|
+
__implements__sap_ui_core_IFormContent: boolean;
|
|
12511
12868
|
/**
|
|
12512
12869
|
* Constructor for a new `Icon`.
|
|
12513
12870
|
*
|
|
@@ -12640,6 +12997,14 @@ declare module "sap/ui/webc/main/Icon" {
|
|
|
12640
12997
|
* Default value is `empty string`.
|
|
12641
12998
|
*/
|
|
12642
12999
|
getAccessibleName(): string;
|
|
13000
|
+
/**
|
|
13001
|
+
* Gets current value of property {@link #getAccessibleRole accessibleRole}.
|
|
13002
|
+
*
|
|
13003
|
+
* Defines the accessibility role of the component.
|
|
13004
|
+
*
|
|
13005
|
+
* Default value is `empty string`.
|
|
13006
|
+
*/
|
|
13007
|
+
getAccessibleRole(): string;
|
|
12643
13008
|
/**
|
|
12644
13009
|
* Gets current value of property {@link #getBackgroundColor backgroundColor}.
|
|
12645
13010
|
*
|
|
@@ -12722,6 +13087,21 @@ declare module "sap/ui/webc/main/Icon" {
|
|
|
12722
13087
|
*/
|
|
12723
13088
|
sAccessibleName?: string
|
|
12724
13089
|
): this;
|
|
13090
|
+
/**
|
|
13091
|
+
* Sets a new value for property {@link #getAccessibleRole accessibleRole}.
|
|
13092
|
+
*
|
|
13093
|
+
* Defines the accessibility role of the component.
|
|
13094
|
+
*
|
|
13095
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
13096
|
+
*
|
|
13097
|
+
* Default value is `empty string`.
|
|
13098
|
+
*/
|
|
13099
|
+
setAccessibleRole(
|
|
13100
|
+
/**
|
|
13101
|
+
* New value for property `accessibleRole`
|
|
13102
|
+
*/
|
|
13103
|
+
sAccessibleRole?: string
|
|
13104
|
+
): this;
|
|
12725
13105
|
/**
|
|
12726
13106
|
* Sets a new value for property {@link #getBackgroundColor backgroundColor}.
|
|
12727
13107
|
*
|
|
@@ -12846,6 +13226,11 @@ declare module "sap/ui/webc/main/Icon" {
|
|
|
12846
13226
|
*/
|
|
12847
13227
|
accessibleName?: string | PropertyBindingInfo;
|
|
12848
13228
|
|
|
13229
|
+
/**
|
|
13230
|
+
* Defines the accessibility role of the component.
|
|
13231
|
+
*/
|
|
13232
|
+
accessibleRole?: string | PropertyBindingInfo;
|
|
13233
|
+
|
|
12849
13234
|
/**
|
|
12850
13235
|
* Defines the background color of the control
|
|
12851
13236
|
*/
|
|
@@ -12917,12 +13302,14 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
12917
13302
|
InputType,
|
|
12918
13303
|
} from "sap/ui/webc/main/library";
|
|
12919
13304
|
|
|
13305
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
13306
|
+
|
|
13307
|
+
import Control from "sap/ui/core/Control";
|
|
13308
|
+
|
|
12920
13309
|
import Event from "sap/ui/base/Event";
|
|
12921
13310
|
|
|
12922
13311
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
12923
13312
|
|
|
12924
|
-
import { ValueState } from "sap/ui/core/library";
|
|
12925
|
-
|
|
12926
13313
|
import {
|
|
12927
13314
|
PropertyBindingInfo,
|
|
12928
13315
|
AggregationBindingInfo,
|
|
@@ -12947,6 +13334,27 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
12947
13334
|
* **Note:** If you are using the `sap.ui.webc.main.Input` as a single npm module, don't forget to import
|
|
12948
13335
|
* the `InputSuggestions` module from "@ui5/webcomponents/dist/features/InputSuggestions.js" to enable the
|
|
12949
13336
|
* suggestions functionality.
|
|
13337
|
+
*
|
|
13338
|
+
* Keyboard Handling: The `sap.ui.webc.main.Input` provides the following keyboard shortcuts:
|
|
13339
|
+
*
|
|
13340
|
+
*
|
|
13341
|
+
*
|
|
13342
|
+
* - [F4], [ALT]+[UP], or [ALT]+[DOWN] - Opens value help if available, same as clicking the value help
|
|
13343
|
+
* icon. (Does not open suggestion list.)
|
|
13344
|
+
* - [ESC] - Closes the suggestion list, if open. If closed or not enabled, cancels changes and reverts
|
|
13345
|
+
* to the value which the Input field had when it got the focus.
|
|
13346
|
+
* - [ENTER] or [RETURN] - If suggestion list is open takes over the current matching item and closes
|
|
13347
|
+
* it. If value state or group header is focused, does nothing.
|
|
13348
|
+
* - [DOWN] - Focuses the next matching item in the suggestion list.
|
|
13349
|
+
* - [UP] - Focuses the previous matching item in the suggestion list.
|
|
13350
|
+
* - [HOME] - If focus is in the text input, moves caret before the first character. If focus is in the
|
|
13351
|
+
* list, highlights the first item and updates the input accordingly.
|
|
13352
|
+
* - [END] - If focus is in the text input, moves caret after the last character. If focus is in the list,
|
|
13353
|
+
* highlights the last item and updates the input accordingly.
|
|
13354
|
+
* - [PAGEUP] - If focus is in the list, moves highlight up by page size (10 items by default). If focus
|
|
13355
|
+
* is in the input, does nothing.
|
|
13356
|
+
* - [PAGEDOWN] - If focus is in the list, moves highlight down by page size (10 items by default). If
|
|
13357
|
+
* focus is in the input, does nothing.
|
|
12950
13358
|
*/
|
|
12951
13359
|
export default class Input extends WebComponent implements IInput {
|
|
12952
13360
|
__implements__sap_ui_webc_main_IInput: boolean;
|
|
@@ -13006,6 +13414,15 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13006
13414
|
* Returns a metadata object for class sap.ui.webc.main.Input.
|
|
13007
13415
|
*/
|
|
13008
13416
|
static getMetadata(): WebComponentMetadata;
|
|
13417
|
+
/**
|
|
13418
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
13419
|
+
*/
|
|
13420
|
+
addAriaLabelledBy(
|
|
13421
|
+
/**
|
|
13422
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
13423
|
+
*/
|
|
13424
|
+
vAriaLabelledBy: ID | Control
|
|
13425
|
+
): this;
|
|
13009
13426
|
/**
|
|
13010
13427
|
* Adds some icon to the aggregation {@link #getIcon icon}.
|
|
13011
13428
|
*/
|
|
@@ -13323,13 +13740,10 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13323
13740
|
*/
|
|
13324
13741
|
getAccessibleName(): string;
|
|
13325
13742
|
/**
|
|
13326
|
-
*
|
|
13327
|
-
*
|
|
13328
|
-
* Receives id(or many ids) of the elements that label the input.
|
|
13329
|
-
*
|
|
13330
|
-
* Default value is `empty string`.
|
|
13743
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
13744
|
+
* ariaLabelledBy}.
|
|
13331
13745
|
*/
|
|
13332
|
-
|
|
13746
|
+
getAriaLabelledBy(): ID[];
|
|
13333
13747
|
/**
|
|
13334
13748
|
* Gets current value of property {@link #getDisabled disabled}.
|
|
13335
13749
|
*
|
|
@@ -13395,6 +13809,14 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13395
13809
|
* Default value is `false`.
|
|
13396
13810
|
*/
|
|
13397
13811
|
getRequired(): boolean;
|
|
13812
|
+
/**
|
|
13813
|
+
* Gets current value of property {@link #getShowClearIcon showClearIcon}.
|
|
13814
|
+
*
|
|
13815
|
+
* Defines whether the clear icon of the input will be shown.
|
|
13816
|
+
*
|
|
13817
|
+
* Default value is `false`.
|
|
13818
|
+
*/
|
|
13819
|
+
getShowClearIcon(): boolean;
|
|
13398
13820
|
/**
|
|
13399
13821
|
* Gets current value of property {@link #getShowSuggestions showSuggestions}.
|
|
13400
13822
|
*
|
|
@@ -13462,6 +13884,12 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13462
13884
|
* Default value is `empty string`.
|
|
13463
13885
|
*/
|
|
13464
13886
|
getValueStateMessage(): string;
|
|
13887
|
+
/**
|
|
13888
|
+
* Gets current value of property {@link #getWidth width}.
|
|
13889
|
+
*
|
|
13890
|
+
* Defines the width of the control
|
|
13891
|
+
*/
|
|
13892
|
+
getWidth(): CSSSize;
|
|
13465
13893
|
/**
|
|
13466
13894
|
* Checks for the provided `sap.ui.webc.main.IIcon` in the aggregation {@link #getIcon icon}. and returns
|
|
13467
13895
|
* its index if found or -1 otherwise.
|
|
@@ -13512,6 +13940,10 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13512
13940
|
*/
|
|
13513
13941
|
iIndex: int
|
|
13514
13942
|
): this;
|
|
13943
|
+
/**
|
|
13944
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
13945
|
+
*/
|
|
13946
|
+
removeAllAriaLabelledBy(): ID[];
|
|
13515
13947
|
/**
|
|
13516
13948
|
* Removes all the controls from the aggregation {@link #getIcon icon}.
|
|
13517
13949
|
*
|
|
@@ -13524,6 +13956,15 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13524
13956
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
13525
13957
|
*/
|
|
13526
13958
|
removeAllSuggestionItems(): IInputSuggestionItem[];
|
|
13959
|
+
/**
|
|
13960
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
13961
|
+
*/
|
|
13962
|
+
removeAriaLabelledBy(
|
|
13963
|
+
/**
|
|
13964
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
13965
|
+
*/
|
|
13966
|
+
vAriaLabelledBy: int | ID | Control
|
|
13967
|
+
): ID;
|
|
13527
13968
|
/**
|
|
13528
13969
|
* Removes a icon from the aggregation {@link #getIcon icon}.
|
|
13529
13970
|
*/
|
|
@@ -13555,21 +13996,6 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13555
13996
|
*/
|
|
13556
13997
|
sAccessibleName: string
|
|
13557
13998
|
): this;
|
|
13558
|
-
/**
|
|
13559
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
13560
|
-
*
|
|
13561
|
-
* Receives id(or many ids) of the elements that label the input.
|
|
13562
|
-
*
|
|
13563
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
13564
|
-
*
|
|
13565
|
-
* Default value is `empty string`.
|
|
13566
|
-
*/
|
|
13567
|
-
setAccessibleNameRef(
|
|
13568
|
-
/**
|
|
13569
|
-
* New value for property `accessibleNameRef`
|
|
13570
|
-
*/
|
|
13571
|
-
sAccessibleNameRef?: string
|
|
13572
|
-
): this;
|
|
13573
13999
|
/**
|
|
13574
14000
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
13575
14001
|
*
|
|
@@ -13667,6 +14093,21 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13667
14093
|
*/
|
|
13668
14094
|
bRequired?: boolean
|
|
13669
14095
|
): this;
|
|
14096
|
+
/**
|
|
14097
|
+
* Sets a new value for property {@link #getShowClearIcon showClearIcon}.
|
|
14098
|
+
*
|
|
14099
|
+
* Defines whether the clear icon of the input will be shown.
|
|
14100
|
+
*
|
|
14101
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14102
|
+
*
|
|
14103
|
+
* Default value is `false`.
|
|
14104
|
+
*/
|
|
14105
|
+
setShowClearIcon(
|
|
14106
|
+
/**
|
|
14107
|
+
* New value for property `showClearIcon`
|
|
14108
|
+
*/
|
|
14109
|
+
bShowClearIcon?: boolean
|
|
14110
|
+
): this;
|
|
13670
14111
|
/**
|
|
13671
14112
|
* Sets a new value for property {@link #getShowSuggestions showSuggestions}.
|
|
13672
14113
|
*
|
|
@@ -13765,6 +14206,19 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13765
14206
|
*/
|
|
13766
14207
|
sValueStateMessage?: string
|
|
13767
14208
|
): this;
|
|
14209
|
+
/**
|
|
14210
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
14211
|
+
*
|
|
14212
|
+
* Defines the width of the control
|
|
14213
|
+
*
|
|
14214
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14215
|
+
*/
|
|
14216
|
+
setWidth(
|
|
14217
|
+
/**
|
|
14218
|
+
* New value for property `width`
|
|
14219
|
+
*/
|
|
14220
|
+
sWidth?: CSSSize
|
|
14221
|
+
): this;
|
|
13768
14222
|
}
|
|
13769
14223
|
|
|
13770
14224
|
export interface $InputSettings extends $WebComponentSettings {
|
|
@@ -13773,11 +14227,6 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13773
14227
|
*/
|
|
13774
14228
|
accessibleName?: string | PropertyBindingInfo;
|
|
13775
14229
|
|
|
13776
|
-
/**
|
|
13777
|
-
* Receives id(or many ids) of the elements that label the input.
|
|
13778
|
-
*/
|
|
13779
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
13780
|
-
|
|
13781
14230
|
/**
|
|
13782
14231
|
* Defines whether the component is in disabled state.
|
|
13783
14232
|
*
|
|
@@ -13817,6 +14266,11 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13817
14266
|
*/
|
|
13818
14267
|
required?: boolean | PropertyBindingInfo;
|
|
13819
14268
|
|
|
14269
|
+
/**
|
|
14270
|
+
* Defines whether the clear icon of the input will be shown.
|
|
14271
|
+
*/
|
|
14272
|
+
showClearIcon?: boolean | PropertyBindingInfo;
|
|
14273
|
+
|
|
13820
14274
|
/**
|
|
13821
14275
|
* Defines whether the component should show suggestions, if such are present.
|
|
13822
14276
|
*
|
|
@@ -13865,6 +14319,11 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13865
14319
|
*/
|
|
13866
14320
|
valueStateMessage?: string | PropertyBindingInfo;
|
|
13867
14321
|
|
|
14322
|
+
/**
|
|
14323
|
+
* Defines the width of the control
|
|
14324
|
+
*/
|
|
14325
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
14326
|
+
|
|
13868
14327
|
/**
|
|
13869
14328
|
* Defines the icon to be displayed in the component.
|
|
13870
14329
|
*/
|
|
@@ -13875,6 +14334,11 @@ declare module "sap/ui/webc/main/Input" {
|
|
|
13875
14334
|
| IInputSuggestionItem
|
|
13876
14335
|
| AggregationBindingInfo;
|
|
13877
14336
|
|
|
14337
|
+
/**
|
|
14338
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
14339
|
+
*/
|
|
14340
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
14341
|
+
|
|
13878
14342
|
/**
|
|
13879
14343
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
|
13880
14344
|
*/
|
|
@@ -13905,12 +14369,14 @@ declare module "sap/ui/webc/main/Label" {
|
|
|
13905
14369
|
$WebComponentSettings,
|
|
13906
14370
|
} from "sap/ui/webc/common/WebComponent";
|
|
13907
14371
|
|
|
13908
|
-
import
|
|
14372
|
+
import { Label as Label1, ID, CSSSize } from "sap/ui/core/library";
|
|
13909
14373
|
|
|
13910
|
-
import
|
|
14374
|
+
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
13911
14375
|
|
|
13912
14376
|
import { WrappingType } from "sap/ui/webc/main/library";
|
|
13913
14377
|
|
|
14378
|
+
import Control from "sap/ui/core/Control";
|
|
14379
|
+
|
|
13914
14380
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
13915
14381
|
|
|
13916
14382
|
/**
|
|
@@ -13927,7 +14393,8 @@ declare module "sap/ui/webc/main/Label" {
|
|
|
13927
14393
|
* The appearance of the Label can be configured in a limited way by using the design property. For a broader
|
|
13928
14394
|
* choice of designs, you can use custom styles.
|
|
13929
14395
|
*/
|
|
13930
|
-
export default class Label extends WebComponent {
|
|
14396
|
+
export default class Label extends WebComponent implements Label1 {
|
|
14397
|
+
__implements__sap_ui_core_Label: boolean;
|
|
13931
14398
|
/**
|
|
13932
14399
|
* Constructor for a new `Label`.
|
|
13933
14400
|
*
|
|
@@ -13985,15 +14452,9 @@ declare module "sap/ui/webc/main/Label" {
|
|
|
13985
14452
|
*/
|
|
13986
14453
|
static getMetadata(): WebComponentMetadata;
|
|
13987
14454
|
/**
|
|
13988
|
-
*
|
|
13989
|
-
*
|
|
13990
|
-
* Defines the labeled input by providing its ID.
|
|
13991
|
-
*
|
|
13992
|
-
* **Note:** Can be used with both `sap.ui.webc.main.Input` and native input.
|
|
13993
|
-
*
|
|
13994
|
-
* Default value is `empty string`.
|
|
14455
|
+
* ID of the element which is the current target of the association {@link #getLabelFor labelFor}, or `null`.
|
|
13995
14456
|
*/
|
|
13996
|
-
|
|
14457
|
+
getLabelFor(): ID;
|
|
13997
14458
|
/**
|
|
13998
14459
|
* Gets current value of property {@link #getRequired required}.
|
|
13999
14460
|
*
|
|
@@ -14040,21 +14501,14 @@ declare module "sap/ui/webc/main/Label" {
|
|
|
14040
14501
|
*/
|
|
14041
14502
|
getWrappingType(): WrappingType | keyof typeof WrappingType;
|
|
14042
14503
|
/**
|
|
14043
|
-
* Sets
|
|
14044
|
-
*
|
|
14045
|
-
* Defines the labeled input by providing its ID.
|
|
14046
|
-
*
|
|
14047
|
-
* **Note:** Can be used with both `sap.ui.webc.main.Input` and native input.
|
|
14048
|
-
*
|
|
14049
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14050
|
-
*
|
|
14051
|
-
* Default value is `empty string`.
|
|
14504
|
+
* Sets the associated {@link #getLabelFor labelFor}.
|
|
14052
14505
|
*/
|
|
14053
|
-
|
|
14506
|
+
setLabelFor(
|
|
14054
14507
|
/**
|
|
14055
|
-
*
|
|
14508
|
+
* ID of an element which becomes the new target of this labelFor association; alternatively, an element
|
|
14509
|
+
* instance may be given
|
|
14056
14510
|
*/
|
|
14057
|
-
|
|
14511
|
+
oLabelFor: ID | Control
|
|
14058
14512
|
): this;
|
|
14059
14513
|
/**
|
|
14060
14514
|
* Sets a new value for property {@link #getRequired required}.
|
|
@@ -14139,13 +14593,6 @@ declare module "sap/ui/webc/main/Label" {
|
|
|
14139
14593
|
}
|
|
14140
14594
|
|
|
14141
14595
|
export interface $LabelSettings extends $WebComponentSettings {
|
|
14142
|
-
/**
|
|
14143
|
-
* Defines the labeled input by providing its ID.
|
|
14144
|
-
*
|
|
14145
|
-
* **Note:** Can be used with both `sap.ui.webc.main.Input` and native input.
|
|
14146
|
-
*/
|
|
14147
|
-
for?: string | PropertyBindingInfo;
|
|
14148
|
-
|
|
14149
14596
|
/**
|
|
14150
14597
|
* Defines whether an asterisk character is added to the component text.
|
|
14151
14598
|
*
|
|
@@ -14179,6 +14626,15 @@ declare module "sap/ui/webc/main/Label" {
|
|
|
14179
14626
|
wrappingType?:
|
|
14180
14627
|
| (WrappingType | keyof typeof WrappingType)
|
|
14181
14628
|
| PropertyBindingInfo;
|
|
14629
|
+
|
|
14630
|
+
/**
|
|
14631
|
+
* Association to the labelled control.
|
|
14632
|
+
*
|
|
14633
|
+
*
|
|
14634
|
+
* By default, the label sets the for attribute to the ID of the labelled control. This can be changed by
|
|
14635
|
+
* implementing the function getIdForLabel on the labelled control.
|
|
14636
|
+
*/
|
|
14637
|
+
labelFor?: Control | string;
|
|
14182
14638
|
}
|
|
14183
14639
|
}
|
|
14184
14640
|
|
|
@@ -14188,6 +14644,10 @@ declare module "sap/ui/webc/main/Link" {
|
|
|
14188
14644
|
$WebComponentSettings,
|
|
14189
14645
|
} from "sap/ui/webc/common/WebComponent";
|
|
14190
14646
|
|
|
14647
|
+
import { ID } from "sap/ui/core/library";
|
|
14648
|
+
|
|
14649
|
+
import Control from "sap/ui/core/Control";
|
|
14650
|
+
|
|
14191
14651
|
import Event from "sap/ui/base/Event";
|
|
14192
14652
|
|
|
14193
14653
|
import { LinkDesign, WrappingType } from "sap/ui/webc/main/library";
|
|
@@ -14278,6 +14738,15 @@ declare module "sap/ui/webc/main/Link" {
|
|
|
14278
14738
|
* Returns a metadata object for class sap.ui.webc.main.Link.
|
|
14279
14739
|
*/
|
|
14280
14740
|
static getMetadata(): WebComponentMetadata;
|
|
14741
|
+
/**
|
|
14742
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
14743
|
+
*/
|
|
14744
|
+
addAriaLabelledBy(
|
|
14745
|
+
/**
|
|
14746
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
14747
|
+
*/
|
|
14748
|
+
vAriaLabelledBy: ID | Control
|
|
14749
|
+
): this;
|
|
14281
14750
|
/**
|
|
14282
14751
|
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.webc.main.Link`.
|
|
14283
14752
|
*
|
|
@@ -14344,13 +14813,34 @@ declare module "sap/ui/webc/main/Link" {
|
|
|
14344
14813
|
mParameters?: object
|
|
14345
14814
|
): this;
|
|
14346
14815
|
/**
|
|
14347
|
-
* Gets current value of property {@link #
|
|
14816
|
+
* Gets current value of property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
14348
14817
|
*
|
|
14349
|
-
*
|
|
14818
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
14819
|
+
* depending on the use case.
|
|
14350
14820
|
*
|
|
14351
|
-
*
|
|
14821
|
+
* It supports the following fields:
|
|
14822
|
+
*
|
|
14823
|
+
*
|
|
14824
|
+
* - `expanded`: Indicates whether the anchor element, or another grouping element it controls, is currently
|
|
14825
|
+
* expanded or collapsed. Accepts the following string values:
|
|
14826
|
+
* `true`
|
|
14827
|
+
* - `false`
|
|
14828
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
14829
|
+
* that can be triggered by the anchor element. Accepts the following string values:
|
|
14830
|
+
* `Dialog`
|
|
14831
|
+
* - `Grid`
|
|
14832
|
+
* - `ListBox`
|
|
14833
|
+
* - `Menu`
|
|
14834
|
+
* - `Tree`
|
|
14835
|
+
*
|
|
14836
|
+
* Default value is `{}`.
|
|
14352
14837
|
*/
|
|
14353
|
-
|
|
14838
|
+
getAccessibilityAttributes(): object;
|
|
14839
|
+
/**
|
|
14840
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
14841
|
+
* ariaLabelledBy}.
|
|
14842
|
+
*/
|
|
14843
|
+
getAriaLabelledBy(): ID[];
|
|
14354
14844
|
/**
|
|
14355
14845
|
* Gets current value of property {@link #getDesign design}.
|
|
14356
14846
|
*
|
|
@@ -14420,19 +14910,48 @@ declare module "sap/ui/webc/main/Link" {
|
|
|
14420
14910
|
*/
|
|
14421
14911
|
getWrappingType(): WrappingType | keyof typeof WrappingType;
|
|
14422
14912
|
/**
|
|
14423
|
-
*
|
|
14913
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
14914
|
+
*/
|
|
14915
|
+
removeAllAriaLabelledBy(): ID[];
|
|
14916
|
+
/**
|
|
14917
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
14918
|
+
*/
|
|
14919
|
+
removeAriaLabelledBy(
|
|
14920
|
+
/**
|
|
14921
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
14922
|
+
*/
|
|
14923
|
+
vAriaLabelledBy: int | ID | Control
|
|
14924
|
+
): ID;
|
|
14925
|
+
/**
|
|
14926
|
+
* Sets a new value for property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
14424
14927
|
*
|
|
14425
|
-
*
|
|
14928
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
14929
|
+
* depending on the use case.
|
|
14930
|
+
*
|
|
14931
|
+
* It supports the following fields:
|
|
14932
|
+
*
|
|
14933
|
+
*
|
|
14934
|
+
* - `expanded`: Indicates whether the anchor element, or another grouping element it controls, is currently
|
|
14935
|
+
* expanded or collapsed. Accepts the following string values:
|
|
14936
|
+
* `true`
|
|
14937
|
+
* - `false`
|
|
14938
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
14939
|
+
* that can be triggered by the anchor element. Accepts the following string values:
|
|
14940
|
+
* `Dialog`
|
|
14941
|
+
* - `Grid`
|
|
14942
|
+
* - `ListBox`
|
|
14943
|
+
* - `Menu`
|
|
14944
|
+
* - `Tree`
|
|
14426
14945
|
*
|
|
14427
14946
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14428
14947
|
*
|
|
14429
|
-
* Default value is `
|
|
14948
|
+
* Default value is `{}`.
|
|
14430
14949
|
*/
|
|
14431
|
-
|
|
14950
|
+
setAccessibilityAttributes(
|
|
14432
14951
|
/**
|
|
14433
|
-
* New value for property `
|
|
14952
|
+
* New value for property `accessibilityAttributes`
|
|
14434
14953
|
*/
|
|
14435
|
-
|
|
14954
|
+
oAccessibilityAttributes?: object
|
|
14436
14955
|
): this;
|
|
14437
14956
|
/**
|
|
14438
14957
|
* Sets a new value for property {@link #getDesign design}.
|
|
@@ -14548,9 +15067,25 @@ declare module "sap/ui/webc/main/Link" {
|
|
|
14548
15067
|
|
|
14549
15068
|
export interface $LinkSettings extends $WebComponentSettings {
|
|
14550
15069
|
/**
|
|
14551
|
-
*
|
|
15070
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
15071
|
+
* depending on the use case.
|
|
15072
|
+
*
|
|
15073
|
+
* It supports the following fields:
|
|
15074
|
+
*
|
|
15075
|
+
*
|
|
15076
|
+
* - `expanded`: Indicates whether the anchor element, or another grouping element it controls, is currently
|
|
15077
|
+
* expanded or collapsed. Accepts the following string values:
|
|
15078
|
+
* `true`
|
|
15079
|
+
* - `false`
|
|
15080
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
15081
|
+
* that can be triggered by the anchor element. Accepts the following string values:
|
|
15082
|
+
* `Dialog`
|
|
15083
|
+
* - `Grid`
|
|
15084
|
+
* - `ListBox`
|
|
15085
|
+
* - `Menu`
|
|
15086
|
+
* - `Tree`
|
|
14552
15087
|
*/
|
|
14553
|
-
|
|
15088
|
+
accessibilityAttributes?: object | PropertyBindingInfo;
|
|
14554
15089
|
|
|
14555
15090
|
/**
|
|
14556
15091
|
* Defines the component design.
|
|
@@ -14604,6 +15139,11 @@ declare module "sap/ui/webc/main/Link" {
|
|
|
14604
15139
|
| (WrappingType | keyof typeof WrappingType)
|
|
14605
15140
|
| PropertyBindingInfo;
|
|
14606
15141
|
|
|
15142
|
+
/**
|
|
15143
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
15144
|
+
*/
|
|
15145
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
15146
|
+
|
|
14607
15147
|
/**
|
|
14608
15148
|
* Fired when the component is triggered either with a mouse/tap or by using the Enter key.
|
|
14609
15149
|
*/
|
|
@@ -14617,6 +15157,8 @@ declare module "sap/ui/webc/main/List" {
|
|
|
14617
15157
|
$WebComponentSettings,
|
|
14618
15158
|
} from "sap/ui/webc/common/WebComponent";
|
|
14619
15159
|
|
|
15160
|
+
import { ID, CSSSize } from "sap/ui/core/library";
|
|
15161
|
+
|
|
14620
15162
|
import Control from "sap/ui/core/Control";
|
|
14621
15163
|
|
|
14622
15164
|
import {
|
|
@@ -14628,8 +15170,6 @@ declare module "sap/ui/webc/main/List" {
|
|
|
14628
15170
|
|
|
14629
15171
|
import Event from "sap/ui/base/Event";
|
|
14630
15172
|
|
|
14631
|
-
import { CSSSize } from "sap/ui/core/library";
|
|
14632
|
-
|
|
14633
15173
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
14634
15174
|
|
|
14635
15175
|
import {
|
|
@@ -14646,7 +15186,7 @@ declare module "sap/ui/webc/main/List" {
|
|
|
14646
15186
|
* The `sap.ui.webc.main.List` component allows displaying a list of items, advanced keyboard handling support
|
|
14647
15187
|
* for navigating between items, and predefined modes to improve the development efficiency.
|
|
14648
15188
|
*
|
|
14649
|
-
* The `sap.ui.webc.main.List` is
|
|
15189
|
+
* The `sap.ui.webc.main.List` is a container for the available list items:
|
|
14650
15190
|
* - `sap.ui.webc.main.StandardListItem`
|
|
14651
15191
|
* - `sap.ui.webc.main.CustomListItem`
|
|
14652
15192
|
* - `sap.ui.webc.main.GroupHeaderListItem`
|
|
@@ -14659,7 +15199,9 @@ declare module "sap/ui/webc/main/List" {
|
|
|
14659
15199
|
*
|
|
14660
15200
|
*
|
|
14661
15201
|
*
|
|
14662
|
-
* Keyboard Handling:
|
|
15202
|
+
* Keyboard Handling:
|
|
15203
|
+
*
|
|
15204
|
+
* Basic Navigation: The `sap.ui.webc.main.List` provides advanced keyboard handling. When a list is focused
|
|
14663
15205
|
* the user can use the following keyboard shortcuts in order to perform a navigation:
|
|
14664
15206
|
*
|
|
14665
15207
|
*
|
|
@@ -14730,6 +15272,15 @@ declare module "sap/ui/webc/main/List" {
|
|
|
14730
15272
|
* Returns a metadata object for class sap.ui.webc.main.List.
|
|
14731
15273
|
*/
|
|
14732
15274
|
static getMetadata(): WebComponentMetadata;
|
|
15275
|
+
/**
|
|
15276
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
15277
|
+
*/
|
|
15278
|
+
addAriaLabelledBy(
|
|
15279
|
+
/**
|
|
15280
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
15281
|
+
*/
|
|
15282
|
+
vAriaLabelledBy: ID | Control
|
|
15283
|
+
): this;
|
|
14733
15284
|
/**
|
|
14734
15285
|
* Adds some header to the aggregation {@link #getHeader header}.
|
|
14735
15286
|
*/
|
|
@@ -15117,6 +15668,9 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15117
15668
|
): this;
|
|
15118
15669
|
/**
|
|
15119
15670
|
* Fires event {@link #event:itemClick itemClick} to attached listeners.
|
|
15671
|
+
*
|
|
15672
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
15673
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
15120
15674
|
*/
|
|
15121
15675
|
fireItemClick(
|
|
15122
15676
|
/**
|
|
@@ -15128,7 +15682,7 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15128
15682
|
*/
|
|
15129
15683
|
item?: HTMLElement;
|
|
15130
15684
|
}
|
|
15131
|
-
):
|
|
15685
|
+
): boolean;
|
|
15132
15686
|
/**
|
|
15133
15687
|
* Fires event {@link #event:itemClose itemClose} to attached listeners.
|
|
15134
15688
|
*/
|
|
@@ -15206,14 +15760,6 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15206
15760
|
* Default value is `empty string`.
|
|
15207
15761
|
*/
|
|
15208
15762
|
getAccessibleName(): string;
|
|
15209
|
-
/**
|
|
15210
|
-
* Gets current value of property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
15211
|
-
*
|
|
15212
|
-
* Defines the IDs of the elements that label the input.
|
|
15213
|
-
*
|
|
15214
|
-
* Default value is `empty string`.
|
|
15215
|
-
*/
|
|
15216
|
-
getAccessibleNameRef(): string;
|
|
15217
15763
|
/**
|
|
15218
15764
|
* Gets current value of property {@link #getAccessibleRole accessibleRole}.
|
|
15219
15765
|
*
|
|
@@ -15224,6 +15770,11 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15224
15770
|
* Default value is `"list"`.
|
|
15225
15771
|
*/
|
|
15226
15772
|
getAccessibleRole(): string;
|
|
15773
|
+
/**
|
|
15774
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
15775
|
+
* ariaLabelledBy}.
|
|
15776
|
+
*/
|
|
15777
|
+
getAriaLabelledBy(): ID[];
|
|
15227
15778
|
/**
|
|
15228
15779
|
* Gets current value of property {@link #getBusy busy}.
|
|
15229
15780
|
*
|
|
@@ -15265,7 +15816,7 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15265
15816
|
*
|
|
15266
15817
|
*
|
|
15267
15818
|
*
|
|
15268
|
-
* **
|
|
15819
|
+
* **Restrictions:** `growing="Scroll"` is not supported for Internet Explorer, on IE the component will
|
|
15269
15820
|
* fallback to `growing="Button"`.
|
|
15270
15821
|
*
|
|
15271
15822
|
* Default value is `None`.
|
|
@@ -15401,6 +15952,10 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15401
15952
|
*/
|
|
15402
15953
|
iIndex: int
|
|
15403
15954
|
): this;
|
|
15955
|
+
/**
|
|
15956
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
15957
|
+
*/
|
|
15958
|
+
removeAllAriaLabelledBy(): ID[];
|
|
15404
15959
|
/**
|
|
15405
15960
|
* Removes all the controls from the aggregation {@link #getHeader header}.
|
|
15406
15961
|
*
|
|
@@ -15413,6 +15968,15 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15413
15968
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
15414
15969
|
*/
|
|
15415
15970
|
removeAllItems(): IListItem[];
|
|
15971
|
+
/**
|
|
15972
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
15973
|
+
*/
|
|
15974
|
+
removeAriaLabelledBy(
|
|
15975
|
+
/**
|
|
15976
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
15977
|
+
*/
|
|
15978
|
+
vAriaLabelledBy: int | ID | Control
|
|
15979
|
+
): ID;
|
|
15416
15980
|
/**
|
|
15417
15981
|
* Removes a header from the aggregation {@link #getHeader header}.
|
|
15418
15982
|
*/
|
|
@@ -15446,21 +16010,6 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15446
16010
|
*/
|
|
15447
16011
|
sAccessibleName?: string
|
|
15448
16012
|
): this;
|
|
15449
|
-
/**
|
|
15450
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
15451
|
-
*
|
|
15452
|
-
* Defines the IDs of the elements that label the input.
|
|
15453
|
-
*
|
|
15454
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15455
|
-
*
|
|
15456
|
-
* Default value is `empty string`.
|
|
15457
|
-
*/
|
|
15458
|
-
setAccessibleNameRef(
|
|
15459
|
-
/**
|
|
15460
|
-
* New value for property `accessibleNameRef`
|
|
15461
|
-
*/
|
|
15462
|
-
sAccessibleNameRef?: string
|
|
15463
|
-
): this;
|
|
15464
16013
|
/**
|
|
15465
16014
|
* Sets a new value for property {@link #getAccessibleRole accessibleRole}.
|
|
15466
16015
|
*
|
|
@@ -15540,7 +16089,7 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15540
16089
|
*
|
|
15541
16090
|
*
|
|
15542
16091
|
*
|
|
15543
|
-
* **
|
|
16092
|
+
* **Restrictions:** `growing="Scroll"` is not supported for Internet Explorer, on IE the component will
|
|
15544
16093
|
* fallback to `growing="Button"`.
|
|
15545
16094
|
*
|
|
15546
16095
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
@@ -15673,11 +16222,6 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15673
16222
|
*/
|
|
15674
16223
|
accessibleName?: string | PropertyBindingInfo;
|
|
15675
16224
|
|
|
15676
|
-
/**
|
|
15677
|
-
* Defines the IDs of the elements that label the input.
|
|
15678
|
-
*/
|
|
15679
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
15680
|
-
|
|
15681
16225
|
/**
|
|
15682
16226
|
* Defines the accessible role of the component.
|
|
15683
16227
|
*/
|
|
@@ -15713,7 +16257,7 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15713
16257
|
*
|
|
15714
16258
|
*
|
|
15715
16259
|
*
|
|
15716
|
-
* **
|
|
16260
|
+
* **Restrictions:** `growing="Scroll"` is not supported for Internet Explorer, on IE the component will
|
|
15717
16261
|
* fallback to `growing="Button"`.
|
|
15718
16262
|
*/
|
|
15719
16263
|
growing?: ListGrowingMode | PropertyBindingInfo;
|
|
@@ -15781,6 +16325,11 @@ declare module "sap/ui/webc/main/List" {
|
|
|
15781
16325
|
*/
|
|
15782
16326
|
items?: IListItem[] | IListItem | AggregationBindingInfo;
|
|
15783
16327
|
|
|
16328
|
+
/**
|
|
16329
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
16330
|
+
*/
|
|
16331
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
16332
|
+
|
|
15784
16333
|
/**
|
|
15785
16334
|
* Fired when an item is activated, unless the item's `type` property is set to `Inactive`.
|
|
15786
16335
|
*/
|
|
@@ -15853,6 +16402,8 @@ declare module "sap/ui/webc/main/MessageStrip" {
|
|
|
15853
16402
|
*
|
|
15854
16403
|
* For the `sap.ui.webc.main.MessageStrip` component, you can define whether it displays an icon in the
|
|
15855
16404
|
* beginning and a close button. Moreover, its size and background can be controlled with CSS.
|
|
16405
|
+
*
|
|
16406
|
+
* Keyboard Handling:
|
|
15856
16407
|
*/
|
|
15857
16408
|
export default class MessageStrip extends WebComponent {
|
|
15858
16409
|
/**
|
|
@@ -16207,7 +16758,7 @@ declare module "sap/ui/webc/main/MultiComboBox" {
|
|
|
16207
16758
|
|
|
16208
16759
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
16209
16760
|
|
|
16210
|
-
import { ValueState } from "sap/ui/core/library";
|
|
16761
|
+
import { ValueState, CSSSize } from "sap/ui/core/library";
|
|
16211
16762
|
|
|
16212
16763
|
import {
|
|
16213
16764
|
PropertyBindingInfo,
|
|
@@ -16247,11 +16798,6 @@ declare module "sap/ui/webc/main/MultiComboBox" {
|
|
|
16247
16798
|
* - Delete - deletes the token and focuses the previous token.
|
|
16248
16799
|
* - Backspace - deletes the token and focus the next token.
|
|
16249
16800
|
*
|
|
16250
|
-
* In the context of `sap.ui.webc.main.MultiComboBox`, you can provide a custom stable DOM ref for:
|
|
16251
|
-
*
|
|
16252
|
-
* - Every `sap.ui.webc.main.MultiComboBoxItem` that you provide. Example: `<ui5-mcb-item stable-dom-ref="item1"></ui5-mcb-item>`
|
|
16253
|
-
*
|
|
16254
|
-
*
|
|
16255
16801
|
* CSS Shadow Parts:
|
|
16256
16802
|
*
|
|
16257
16803
|
* CSS Shadow Parts
|
|
@@ -16707,6 +17253,12 @@ declare module "sap/ui/webc/main/MultiComboBox" {
|
|
|
16707
17253
|
* Default value is `empty string`.
|
|
16708
17254
|
*/
|
|
16709
17255
|
getValueStateMessage(): string;
|
|
17256
|
+
/**
|
|
17257
|
+
* Gets current value of property {@link #getWidth width}.
|
|
17258
|
+
*
|
|
17259
|
+
* Defines the width of the control
|
|
17260
|
+
*/
|
|
17261
|
+
getWidth(): CSSSize;
|
|
16710
17262
|
/**
|
|
16711
17263
|
* Checks for the provided `sap.ui.webc.main.IMultiComboBoxItem` in the aggregation {@link #getItems items}.
|
|
16712
17264
|
* and returns its index if found or -1 otherwise.
|
|
@@ -16909,6 +17461,19 @@ declare module "sap/ui/webc/main/MultiComboBox" {
|
|
|
16909
17461
|
*/
|
|
16910
17462
|
sValueStateMessage?: string
|
|
16911
17463
|
): this;
|
|
17464
|
+
/**
|
|
17465
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
17466
|
+
*
|
|
17467
|
+
* Defines the width of the control
|
|
17468
|
+
*
|
|
17469
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
17470
|
+
*/
|
|
17471
|
+
setWidth(
|
|
17472
|
+
/**
|
|
17473
|
+
* New value for property `width`
|
|
17474
|
+
*/
|
|
17475
|
+
sWidth?: CSSSize
|
|
17476
|
+
): this;
|
|
16912
17477
|
}
|
|
16913
17478
|
|
|
16914
17479
|
export interface $MultiComboBoxSettings extends $WebComponentSettings {
|
|
@@ -16975,6 +17540,11 @@ declare module "sap/ui/webc/main/MultiComboBox" {
|
|
|
16975
17540
|
*/
|
|
16976
17541
|
valueStateMessage?: string | PropertyBindingInfo;
|
|
16977
17542
|
|
|
17543
|
+
/**
|
|
17544
|
+
* Defines the width of the control
|
|
17545
|
+
*/
|
|
17546
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
17547
|
+
|
|
16978
17548
|
/**
|
|
16979
17549
|
* Defines the icon to be displayed in the component.
|
|
16980
17550
|
*/
|
|
@@ -17180,6 +17750,10 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17180
17750
|
$WebComponentSettings,
|
|
17181
17751
|
} from "sap/ui/webc/common/WebComponent";
|
|
17182
17752
|
|
|
17753
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
17754
|
+
|
|
17755
|
+
import Control from "sap/ui/core/Control";
|
|
17756
|
+
|
|
17183
17757
|
import {
|
|
17184
17758
|
IIcon,
|
|
17185
17759
|
IInputSuggestionItem,
|
|
@@ -17191,8 +17765,6 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17191
17765
|
|
|
17192
17766
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
17193
17767
|
|
|
17194
|
-
import { ValueState } from "sap/ui/core/library";
|
|
17195
|
-
|
|
17196
17768
|
import {
|
|
17197
17769
|
PropertyBindingInfo,
|
|
17198
17770
|
AggregationBindingInfo,
|
|
@@ -17267,6 +17839,15 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17267
17839
|
* Returns a metadata object for class sap.ui.webc.main.MultiInput.
|
|
17268
17840
|
*/
|
|
17269
17841
|
static getMetadata(): WebComponentMetadata;
|
|
17842
|
+
/**
|
|
17843
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
17844
|
+
*/
|
|
17845
|
+
addAriaLabelledBy(
|
|
17846
|
+
/**
|
|
17847
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
17848
|
+
*/
|
|
17849
|
+
vAriaLabelledBy: ID | Control
|
|
17850
|
+
): this;
|
|
17270
17851
|
/**
|
|
17271
17852
|
* Adds some icon to the aggregation {@link #getIcon icon}.
|
|
17272
17853
|
*/
|
|
@@ -17737,13 +18318,10 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17737
18318
|
*/
|
|
17738
18319
|
getAccessibleName(): string;
|
|
17739
18320
|
/**
|
|
17740
|
-
*
|
|
17741
|
-
*
|
|
17742
|
-
* Receives id(or many ids) of the elements that label the input.
|
|
17743
|
-
*
|
|
17744
|
-
* Default value is `empty string`.
|
|
18321
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
18322
|
+
* ariaLabelledBy}.
|
|
17745
18323
|
*/
|
|
17746
|
-
|
|
18324
|
+
getAriaLabelledBy(): ID[];
|
|
17747
18325
|
/**
|
|
17748
18326
|
* Gets current value of property {@link #getDisabled disabled}.
|
|
17749
18327
|
*
|
|
@@ -17809,6 +18387,14 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17809
18387
|
* Default value is `false`.
|
|
17810
18388
|
*/
|
|
17811
18389
|
getRequired(): boolean;
|
|
18390
|
+
/**
|
|
18391
|
+
* Gets current value of property {@link #getShowClearIcon showClearIcon}.
|
|
18392
|
+
*
|
|
18393
|
+
* Defines whether the clear icon of the input will be shown.
|
|
18394
|
+
*
|
|
18395
|
+
* Default value is `false`.
|
|
18396
|
+
*/
|
|
18397
|
+
getShowClearIcon(): boolean;
|
|
17812
18398
|
/**
|
|
17813
18399
|
* Gets current value of property {@link #getShowSuggestions showSuggestions}.
|
|
17814
18400
|
*
|
|
@@ -17891,6 +18477,12 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17891
18477
|
* Default value is `empty string`.
|
|
17892
18478
|
*/
|
|
17893
18479
|
getValueStateMessage(): string;
|
|
18480
|
+
/**
|
|
18481
|
+
* Gets current value of property {@link #getWidth width}.
|
|
18482
|
+
*
|
|
18483
|
+
* Defines the width of the control
|
|
18484
|
+
*/
|
|
18485
|
+
getWidth(): CSSSize;
|
|
17894
18486
|
/**
|
|
17895
18487
|
* Checks for the provided `sap.ui.webc.main.IIcon` in the aggregation {@link #getIcon icon}. and returns
|
|
17896
18488
|
* its index if found or -1 otherwise.
|
|
@@ -17966,6 +18558,10 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17966
18558
|
*/
|
|
17967
18559
|
iIndex: int
|
|
17968
18560
|
): this;
|
|
18561
|
+
/**
|
|
18562
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
18563
|
+
*/
|
|
18564
|
+
removeAllAriaLabelledBy(): ID[];
|
|
17969
18565
|
/**
|
|
17970
18566
|
* Removes all the controls from the aggregation {@link #getIcon icon}.
|
|
17971
18567
|
*
|
|
@@ -17984,6 +18580,15 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
17984
18580
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
17985
18581
|
*/
|
|
17986
18582
|
removeAllTokens(): IToken[];
|
|
18583
|
+
/**
|
|
18584
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
18585
|
+
*/
|
|
18586
|
+
removeAriaLabelledBy(
|
|
18587
|
+
/**
|
|
18588
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
18589
|
+
*/
|
|
18590
|
+
vAriaLabelledBy: int | ID | Control
|
|
18591
|
+
): ID;
|
|
17987
18592
|
/**
|
|
17988
18593
|
* Removes a icon from the aggregation {@link #getIcon icon}.
|
|
17989
18594
|
*/
|
|
@@ -18024,21 +18629,6 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
18024
18629
|
*/
|
|
18025
18630
|
sAccessibleName: string
|
|
18026
18631
|
): this;
|
|
18027
|
-
/**
|
|
18028
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
18029
|
-
*
|
|
18030
|
-
* Receives id(or many ids) of the elements that label the input.
|
|
18031
|
-
*
|
|
18032
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
18033
|
-
*
|
|
18034
|
-
* Default value is `empty string`.
|
|
18035
|
-
*/
|
|
18036
|
-
setAccessibleNameRef(
|
|
18037
|
-
/**
|
|
18038
|
-
* New value for property `accessibleNameRef`
|
|
18039
|
-
*/
|
|
18040
|
-
sAccessibleNameRef?: string
|
|
18041
|
-
): this;
|
|
18042
18632
|
/**
|
|
18043
18633
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
18044
18634
|
*
|
|
@@ -18136,6 +18726,21 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
18136
18726
|
*/
|
|
18137
18727
|
bRequired?: boolean
|
|
18138
18728
|
): this;
|
|
18729
|
+
/**
|
|
18730
|
+
* Sets a new value for property {@link #getShowClearIcon showClearIcon}.
|
|
18731
|
+
*
|
|
18732
|
+
* Defines whether the clear icon of the input will be shown.
|
|
18733
|
+
*
|
|
18734
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
18735
|
+
*
|
|
18736
|
+
* Default value is `false`.
|
|
18737
|
+
*/
|
|
18738
|
+
setShowClearIcon(
|
|
18739
|
+
/**
|
|
18740
|
+
* New value for property `showClearIcon`
|
|
18741
|
+
*/
|
|
18742
|
+
bShowClearIcon?: boolean
|
|
18743
|
+
): this;
|
|
18139
18744
|
/**
|
|
18140
18745
|
* Sets a new value for property {@link #getShowSuggestions showSuggestions}.
|
|
18141
18746
|
*
|
|
@@ -18250,6 +18855,19 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
18250
18855
|
*/
|
|
18251
18856
|
sValueStateMessage?: string
|
|
18252
18857
|
): this;
|
|
18858
|
+
/**
|
|
18859
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
18860
|
+
*
|
|
18861
|
+
* Defines the width of the control
|
|
18862
|
+
*
|
|
18863
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
18864
|
+
*/
|
|
18865
|
+
setWidth(
|
|
18866
|
+
/**
|
|
18867
|
+
* New value for property `width`
|
|
18868
|
+
*/
|
|
18869
|
+
sWidth?: CSSSize
|
|
18870
|
+
): this;
|
|
18253
18871
|
}
|
|
18254
18872
|
|
|
18255
18873
|
export interface $MultiInputSettings extends $WebComponentSettings {
|
|
@@ -18258,11 +18876,6 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
18258
18876
|
*/
|
|
18259
18877
|
accessibleName?: string | PropertyBindingInfo;
|
|
18260
18878
|
|
|
18261
|
-
/**
|
|
18262
|
-
* Receives id(or many ids) of the elements that label the input.
|
|
18263
|
-
*/
|
|
18264
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
18265
|
-
|
|
18266
18879
|
/**
|
|
18267
18880
|
* Defines whether the component is in disabled state.
|
|
18268
18881
|
*
|
|
@@ -18302,6 +18915,11 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
18302
18915
|
*/
|
|
18303
18916
|
required?: boolean | PropertyBindingInfo;
|
|
18304
18917
|
|
|
18918
|
+
/**
|
|
18919
|
+
* Defines whether the clear icon of the input will be shown.
|
|
18920
|
+
*/
|
|
18921
|
+
showClearIcon?: boolean | PropertyBindingInfo;
|
|
18922
|
+
|
|
18305
18923
|
/**
|
|
18306
18924
|
* Defines whether the component should show suggestions, if such are present.
|
|
18307
18925
|
*
|
|
@@ -18356,6 +18974,11 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
18356
18974
|
*/
|
|
18357
18975
|
valueStateMessage?: string | PropertyBindingInfo;
|
|
18358
18976
|
|
|
18977
|
+
/**
|
|
18978
|
+
* Defines the width of the control
|
|
18979
|
+
*/
|
|
18980
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
18981
|
+
|
|
18359
18982
|
/**
|
|
18360
18983
|
* Defines the icon to be displayed in the component.
|
|
18361
18984
|
*/
|
|
@@ -18371,6 +18994,11 @@ declare module "sap/ui/webc/main/MultiInput" {
|
|
|
18371
18994
|
*/
|
|
18372
18995
|
tokens?: IToken[] | IToken | AggregationBindingInfo;
|
|
18373
18996
|
|
|
18997
|
+
/**
|
|
18998
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
18999
|
+
*/
|
|
19000
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
19001
|
+
|
|
18374
19002
|
/**
|
|
18375
19003
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
|
18376
19004
|
*/
|
|
@@ -18699,6 +19327,8 @@ declare module "sap/ui/webc/main/Panel" {
|
|
|
18699
19327
|
* allow developers to style elements inside the Shadow DOM.
|
|
18700
19328
|
* The `sap.ui.webc.main.Panel` exposes the following CSS Shadow Parts:
|
|
18701
19329
|
* - content - Used to style the wrapper of the content
|
|
19330
|
+
*
|
|
19331
|
+
* Keyboard Handling:
|
|
18702
19332
|
*/
|
|
18703
19333
|
export default class Panel extends WebComponent {
|
|
18704
19334
|
/**
|
|
@@ -19237,12 +19867,12 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
19237
19867
|
$WebComponentSettings,
|
|
19238
19868
|
} from "sap/ui/webc/common/WebComponent";
|
|
19239
19869
|
|
|
19870
|
+
import { ID, CSSSize } from "sap/ui/core/library";
|
|
19871
|
+
|
|
19240
19872
|
import Control from "sap/ui/core/Control";
|
|
19241
19873
|
|
|
19242
19874
|
import Event from "sap/ui/base/Event";
|
|
19243
19875
|
|
|
19244
|
-
import { CSSSize } from "sap/ui/core/library";
|
|
19245
|
-
|
|
19246
19876
|
import {
|
|
19247
19877
|
PopoverHorizontalAlign,
|
|
19248
19878
|
PopoverPlacementType,
|
|
@@ -19333,6 +19963,15 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
19333
19963
|
* Returns a metadata object for class sap.ui.webc.main.Popover.
|
|
19334
19964
|
*/
|
|
19335
19965
|
static getMetadata(): WebComponentMetadata;
|
|
19966
|
+
/**
|
|
19967
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
19968
|
+
*/
|
|
19969
|
+
addAriaLabelledBy(
|
|
19970
|
+
/**
|
|
19971
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
19972
|
+
*/
|
|
19973
|
+
vAriaLabelledBy: ID | Control
|
|
19974
|
+
): this;
|
|
19336
19975
|
/**
|
|
19337
19976
|
* Adds some content to the aggregation {@link #getContent content}.
|
|
19338
19977
|
*/
|
|
@@ -19658,7 +20297,7 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
19658
20297
|
/**
|
|
19659
20298
|
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
19660
20299
|
*
|
|
19661
|
-
*
|
|
20300
|
+
* Defines the accessible name of the component.
|
|
19662
20301
|
*
|
|
19663
20302
|
* Default value is `empty string`.
|
|
19664
20303
|
*/
|
|
@@ -19671,6 +20310,11 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
19671
20310
|
* Default value is `false`.
|
|
19672
20311
|
*/
|
|
19673
20312
|
getAllowTargetOverlap(): boolean;
|
|
20313
|
+
/**
|
|
20314
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
20315
|
+
* ariaLabelledBy}.
|
|
20316
|
+
*/
|
|
20317
|
+
getAriaLabelledBy(): ID[];
|
|
19674
20318
|
/**
|
|
19675
20319
|
* Gets content of aggregation {@link #getContent content}.
|
|
19676
20320
|
*
|
|
@@ -19879,6 +20523,10 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
19879
20523
|
* Tells if the component is opened
|
|
19880
20524
|
*/
|
|
19881
20525
|
isOpen(): void;
|
|
20526
|
+
/**
|
|
20527
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
20528
|
+
*/
|
|
20529
|
+
removeAllAriaLabelledBy(): ID[];
|
|
19882
20530
|
/**
|
|
19883
20531
|
* Removes all the controls from the aggregation {@link #getContent content}.
|
|
19884
20532
|
*
|
|
@@ -19897,6 +20545,15 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
19897
20545
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
19898
20546
|
*/
|
|
19899
20547
|
removeAllHeader(): Control[];
|
|
20548
|
+
/**
|
|
20549
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
20550
|
+
*/
|
|
20551
|
+
removeAriaLabelledBy(
|
|
20552
|
+
/**
|
|
20553
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
20554
|
+
*/
|
|
20555
|
+
vAriaLabelledBy: int | ID | Control
|
|
20556
|
+
): ID;
|
|
19900
20557
|
/**
|
|
19901
20558
|
* Removes a content from the aggregation {@link #getContent content}.
|
|
19902
20559
|
*/
|
|
@@ -19927,7 +20584,7 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
19927
20584
|
/**
|
|
19928
20585
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
19929
20586
|
*
|
|
19930
|
-
*
|
|
20587
|
+
* Defines the accessible name of the component.
|
|
19931
20588
|
*
|
|
19932
20589
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
19933
20590
|
*
|
|
@@ -20155,7 +20812,7 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
20155
20812
|
|
|
20156
20813
|
export interface $PopoverSettings extends $WebComponentSettings {
|
|
20157
20814
|
/**
|
|
20158
|
-
*
|
|
20815
|
+
* Defines the accessible name of the component.
|
|
20159
20816
|
*/
|
|
20160
20817
|
accessibleName?: string | PropertyBindingInfo;
|
|
20161
20818
|
|
|
@@ -20261,6 +20918,11 @@ declare module "sap/ui/webc/main/Popover" {
|
|
|
20261
20918
|
*/
|
|
20262
20919
|
header?: Control[] | Control | AggregationBindingInfo;
|
|
20263
20920
|
|
|
20921
|
+
/**
|
|
20922
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
20923
|
+
*/
|
|
20924
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
20925
|
+
|
|
20264
20926
|
/**
|
|
20265
20927
|
* Fired after the component is closed. **This event does not bubble.**
|
|
20266
20928
|
*/
|
|
@@ -20293,7 +20955,7 @@ declare module "sap/ui/webc/main/ProgressIndicator" {
|
|
|
20293
20955
|
|
|
20294
20956
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
20295
20957
|
|
|
20296
|
-
import { ValueState } from "sap/ui/core/library";
|
|
20958
|
+
import { ValueState, CSSSize } from "sap/ui/core/library";
|
|
20297
20959
|
|
|
20298
20960
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
20299
20961
|
|
|
@@ -20416,6 +21078,12 @@ declare module "sap/ui/webc/main/ProgressIndicator" {
|
|
|
20416
21078
|
* Default value is `None`.
|
|
20417
21079
|
*/
|
|
20418
21080
|
getValueState(): ValueState | keyof typeof ValueState;
|
|
21081
|
+
/**
|
|
21082
|
+
* Gets current value of property {@link #getWidth width}.
|
|
21083
|
+
*
|
|
21084
|
+
* Defines the width of the control
|
|
21085
|
+
*/
|
|
21086
|
+
getWidth(): CSSSize;
|
|
20419
21087
|
/**
|
|
20420
21088
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
20421
21089
|
*
|
|
@@ -20504,6 +21172,19 @@ declare module "sap/ui/webc/main/ProgressIndicator" {
|
|
|
20504
21172
|
*/
|
|
20505
21173
|
sValueState?: ValueState | keyof typeof ValueState
|
|
20506
21174
|
): this;
|
|
21175
|
+
/**
|
|
21176
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
21177
|
+
*
|
|
21178
|
+
* Defines the width of the control
|
|
21179
|
+
*
|
|
21180
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21181
|
+
*/
|
|
21182
|
+
setWidth(
|
|
21183
|
+
/**
|
|
21184
|
+
* New value for property `width`
|
|
21185
|
+
*/
|
|
21186
|
+
sWidth?: CSSSize
|
|
21187
|
+
): this;
|
|
20507
21188
|
}
|
|
20508
21189
|
|
|
20509
21190
|
export interface $ProgressIndicatorSettings extends $WebComponentSettings {
|
|
@@ -20545,6 +21226,11 @@ declare module "sap/ui/webc/main/ProgressIndicator" {
|
|
|
20545
21226
|
* - `Information`
|
|
20546
21227
|
*/
|
|
20547
21228
|
valueState?: (ValueState | keyof typeof ValueState) | PropertyBindingInfo;
|
|
21229
|
+
|
|
21230
|
+
/**
|
|
21231
|
+
* Defines the width of the control
|
|
21232
|
+
*/
|
|
21233
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
20548
21234
|
}
|
|
20549
21235
|
}
|
|
20550
21236
|
|
|
@@ -20554,12 +21240,14 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
20554
21240
|
$WebComponentSettings,
|
|
20555
21241
|
} from "sap/ui/webc/common/WebComponent";
|
|
20556
21242
|
|
|
21243
|
+
import { IFormContent, ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
21244
|
+
|
|
21245
|
+
import Control from "sap/ui/core/Control";
|
|
21246
|
+
|
|
20557
21247
|
import Event from "sap/ui/base/Event";
|
|
20558
21248
|
|
|
20559
21249
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
20560
21250
|
|
|
20561
|
-
import { ValueState } from "sap/ui/core/library";
|
|
20562
|
-
|
|
20563
21251
|
import { WrappingType } from "sap/ui/webc/main/library";
|
|
20564
21252
|
|
|
20565
21253
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -20586,7 +21274,10 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
20586
21274
|
* group.
|
|
20587
21275
|
* **Note:** On entering radio button group, the focus goes to the currently selected radio button.
|
|
20588
21276
|
*/
|
|
20589
|
-
export default class RadioButton
|
|
21277
|
+
export default class RadioButton
|
|
21278
|
+
extends WebComponent
|
|
21279
|
+
implements IFormContent {
|
|
21280
|
+
__implements__sap_ui_core_IFormContent: boolean;
|
|
20590
21281
|
/**
|
|
20591
21282
|
* Constructor for a new `RadioButton`.
|
|
20592
21283
|
*
|
|
@@ -20643,6 +21334,15 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
20643
21334
|
* Returns a metadata object for class sap.ui.webc.main.RadioButton.
|
|
20644
21335
|
*/
|
|
20645
21336
|
static getMetadata(): WebComponentMetadata;
|
|
21337
|
+
/**
|
|
21338
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
21339
|
+
*/
|
|
21340
|
+
addAriaLabelledBy(
|
|
21341
|
+
/**
|
|
21342
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
21343
|
+
*/
|
|
21344
|
+
vAriaLabelledBy: ID | Control
|
|
21345
|
+
): this;
|
|
20646
21346
|
/**
|
|
20647
21347
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.RadioButton`.
|
|
20648
21348
|
*
|
|
@@ -20708,6 +21408,11 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
20708
21408
|
*/
|
|
20709
21409
|
mParameters?: object
|
|
20710
21410
|
): this;
|
|
21411
|
+
/**
|
|
21412
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
21413
|
+
* ariaLabelledBy}.
|
|
21414
|
+
*/
|
|
21415
|
+
getAriaLabelledBy(): ID[];
|
|
20711
21416
|
/**
|
|
20712
21417
|
* Gets current value of property {@link #getChecked checked}.
|
|
20713
21418
|
*
|
|
@@ -20788,6 +21493,12 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
20788
21493
|
* Default value is `None`.
|
|
20789
21494
|
*/
|
|
20790
21495
|
getValueState(): ValueState | keyof typeof ValueState;
|
|
21496
|
+
/**
|
|
21497
|
+
* Gets current value of property {@link #getWidth width}.
|
|
21498
|
+
*
|
|
21499
|
+
* Defines the width of the control
|
|
21500
|
+
*/
|
|
21501
|
+
getWidth(): CSSSize;
|
|
20791
21502
|
/**
|
|
20792
21503
|
* Gets current value of property {@link #getWrappingType wrappingType}.
|
|
20793
21504
|
*
|
|
@@ -20800,6 +21511,19 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
20800
21511
|
* Default value is `None`.
|
|
20801
21512
|
*/
|
|
20802
21513
|
getWrappingType(): WrappingType | keyof typeof WrappingType;
|
|
21514
|
+
/**
|
|
21515
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
21516
|
+
*/
|
|
21517
|
+
removeAllAriaLabelledBy(): ID[];
|
|
21518
|
+
/**
|
|
21519
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
21520
|
+
*/
|
|
21521
|
+
removeAriaLabelledBy(
|
|
21522
|
+
/**
|
|
21523
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
21524
|
+
*/
|
|
21525
|
+
vAriaLabelledBy: int | ID | Control
|
|
21526
|
+
): ID;
|
|
20803
21527
|
/**
|
|
20804
21528
|
* Sets a new value for property {@link #getChecked checked}.
|
|
20805
21529
|
*
|
|
@@ -20929,6 +21653,19 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
20929
21653
|
*/
|
|
20930
21654
|
sValueState?: ValueState | keyof typeof ValueState
|
|
20931
21655
|
): this;
|
|
21656
|
+
/**
|
|
21657
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
21658
|
+
*
|
|
21659
|
+
* Defines the width of the control
|
|
21660
|
+
*
|
|
21661
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21662
|
+
*/
|
|
21663
|
+
setWidth(
|
|
21664
|
+
/**
|
|
21665
|
+
* New value for property `width`
|
|
21666
|
+
*/
|
|
21667
|
+
sWidth?: CSSSize
|
|
21668
|
+
): this;
|
|
20932
21669
|
/**
|
|
20933
21670
|
* Sets a new value for property {@link #getWrappingType wrappingType}.
|
|
20934
21671
|
*
|
|
@@ -21009,6 +21746,11 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
21009
21746
|
*/
|
|
21010
21747
|
valueState?: (ValueState | keyof typeof ValueState) | PropertyBindingInfo;
|
|
21011
21748
|
|
|
21749
|
+
/**
|
|
21750
|
+
* Defines the width of the control
|
|
21751
|
+
*/
|
|
21752
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
21753
|
+
|
|
21012
21754
|
/**
|
|
21013
21755
|
* Defines whether the component text wraps when there is not enough space.
|
|
21014
21756
|
*
|
|
@@ -21020,6 +21762,11 @@ declare module "sap/ui/webc/main/RadioButton" {
|
|
|
21020
21762
|
| (WrappingType | keyof typeof WrappingType)
|
|
21021
21763
|
| PropertyBindingInfo;
|
|
21022
21764
|
|
|
21765
|
+
/**
|
|
21766
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
21767
|
+
*/
|
|
21768
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
21769
|
+
|
|
21023
21770
|
/**
|
|
21024
21771
|
* Fired when the component checked state changes.
|
|
21025
21772
|
*/
|
|
@@ -21621,6 +22368,22 @@ declare module "sap/ui/webc/main/RatingIndicator" {
|
|
|
21621
22368
|
* Responsive Behavior: You can change the size of the Rating Indicator by changing its `font-size` CSS
|
|
21622
22369
|
* property.
|
|
21623
22370
|
* Example: `<ui5-rating-indicator style="font-size: 3rem;"></ui5-rating-indicator>`
|
|
22371
|
+
*
|
|
22372
|
+
* Keyboard Handling: When the `sap.ui.webc.main.RatingIndicator` is focused, the user can change the rating
|
|
22373
|
+
* with the following keyboard shortcuts:
|
|
22374
|
+
*
|
|
22375
|
+
*
|
|
22376
|
+
*
|
|
22377
|
+
* - [RIGHT/UP] - Increases the value of the rating by one step. If the highest value is reached, does
|
|
22378
|
+
* nothing
|
|
22379
|
+
* - [LEFT/DOWN] - Decreases the value of the rating by one step. If the lowest value is reached, does
|
|
22380
|
+
* nothing.
|
|
22381
|
+
* - [HOME] - Sets the lowest value.
|
|
22382
|
+
* - [END] - Sets the highest value.
|
|
22383
|
+
* - [SPACE/ENTER/RETURN] - Increases the value of the rating by one step. If the highest value is reached,
|
|
22384
|
+
* sets the rating to the lowest value.
|
|
22385
|
+
* - Any number - Changes value to the corresponding number. If typed number is larger than the number
|
|
22386
|
+
* of values, sets the highest value.
|
|
21624
22387
|
*/
|
|
21625
22388
|
export default class RatingIndicator extends WebComponent {
|
|
21626
22389
|
/**
|
|
@@ -21929,6 +22692,8 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
21929
22692
|
$WebComponentSettings,
|
|
21930
22693
|
} from "sap/ui/webc/common/WebComponent";
|
|
21931
22694
|
|
|
22695
|
+
import { ID } from "sap/ui/core/library";
|
|
22696
|
+
|
|
21932
22697
|
import Control from "sap/ui/core/Control";
|
|
21933
22698
|
|
|
21934
22699
|
import Event from "sap/ui/base/Event";
|
|
@@ -22012,6 +22777,15 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22012
22777
|
* Returns a metadata object for class sap.ui.webc.main.ResponsivePopover.
|
|
22013
22778
|
*/
|
|
22014
22779
|
static getMetadata(): WebComponentMetadata;
|
|
22780
|
+
/**
|
|
22781
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
22782
|
+
*/
|
|
22783
|
+
addAriaLabelledBy(
|
|
22784
|
+
/**
|
|
22785
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
22786
|
+
*/
|
|
22787
|
+
vAriaLabelledBy: ID | Control
|
|
22788
|
+
): this;
|
|
22015
22789
|
/**
|
|
22016
22790
|
* Adds some content to the aggregation {@link #getContent content}.
|
|
22017
22791
|
*/
|
|
@@ -22345,7 +23119,7 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22345
23119
|
/**
|
|
22346
23120
|
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
22347
23121
|
*
|
|
22348
|
-
*
|
|
23122
|
+
* Defines the accessible name of the component.
|
|
22349
23123
|
*
|
|
22350
23124
|
* Default value is `empty string`.
|
|
22351
23125
|
*/
|
|
@@ -22358,6 +23132,11 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22358
23132
|
* Default value is `false`.
|
|
22359
23133
|
*/
|
|
22360
23134
|
getAllowTargetOverlap(): boolean;
|
|
23135
|
+
/**
|
|
23136
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
23137
|
+
* ariaLabelledBy}.
|
|
23138
|
+
*/
|
|
23139
|
+
getAriaLabelledBy(): ID[];
|
|
22361
23140
|
/**
|
|
22362
23141
|
* Gets content of aggregation {@link #getContent content}.
|
|
22363
23142
|
*
|
|
@@ -22554,6 +23333,10 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22554
23333
|
* Tells if the responsive popover is open
|
|
22555
23334
|
*/
|
|
22556
23335
|
isOpen(): void;
|
|
23336
|
+
/**
|
|
23337
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
23338
|
+
*/
|
|
23339
|
+
removeAllAriaLabelledBy(): ID[];
|
|
22557
23340
|
/**
|
|
22558
23341
|
* Removes all the controls from the aggregation {@link #getContent content}.
|
|
22559
23342
|
*
|
|
@@ -22572,6 +23355,15 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22572
23355
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
22573
23356
|
*/
|
|
22574
23357
|
removeAllHeader(): Control[];
|
|
23358
|
+
/**
|
|
23359
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
23360
|
+
*/
|
|
23361
|
+
removeAriaLabelledBy(
|
|
23362
|
+
/**
|
|
23363
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
23364
|
+
*/
|
|
23365
|
+
vAriaLabelledBy: int | ID | Control
|
|
23366
|
+
): ID;
|
|
22575
23367
|
/**
|
|
22576
23368
|
* Removes a content from the aggregation {@link #getContent content}.
|
|
22577
23369
|
*/
|
|
@@ -22602,7 +23394,7 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22602
23394
|
/**
|
|
22603
23395
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
22604
23396
|
*
|
|
22605
|
-
*
|
|
23397
|
+
* Defines the accessible name of the component.
|
|
22606
23398
|
*
|
|
22607
23399
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22608
23400
|
*
|
|
@@ -22804,7 +23596,7 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22804
23596
|
|
|
22805
23597
|
export interface $ResponsivePopoverSettings extends $WebComponentSettings {
|
|
22806
23598
|
/**
|
|
22807
|
-
*
|
|
23599
|
+
* Defines the accessible name of the component.
|
|
22808
23600
|
*/
|
|
22809
23601
|
accessibleName?: string | PropertyBindingInfo;
|
|
22810
23602
|
|
|
@@ -22900,6 +23692,11 @@ declare module "sap/ui/webc/main/ResponsivePopover" {
|
|
|
22900
23692
|
*/
|
|
22901
23693
|
header?: Control[] | Control | AggregationBindingInfo;
|
|
22902
23694
|
|
|
23695
|
+
/**
|
|
23696
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
23697
|
+
*/
|
|
23698
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
23699
|
+
|
|
22903
23700
|
/**
|
|
22904
23701
|
* Fired after the component is closed. **This event does not bubble.**
|
|
22905
23702
|
*/
|
|
@@ -22930,13 +23727,18 @@ declare module "sap/ui/webc/main/SegmentedButton" {
|
|
|
22930
23727
|
$WebComponentSettings,
|
|
22931
23728
|
} from "sap/ui/webc/common/WebComponent";
|
|
22932
23729
|
|
|
23730
|
+
import { IFormContent } from "sap/ui/core/library";
|
|
23731
|
+
|
|
22933
23732
|
import { ISegmentedButtonItem } from "sap/ui/webc/main/library";
|
|
22934
23733
|
|
|
22935
23734
|
import Event from "sap/ui/base/Event";
|
|
22936
23735
|
|
|
22937
23736
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
22938
23737
|
|
|
22939
|
-
import {
|
|
23738
|
+
import {
|
|
23739
|
+
PropertyBindingInfo,
|
|
23740
|
+
AggregationBindingInfo,
|
|
23741
|
+
} from "sap/ui/base/ManagedObject";
|
|
22940
23742
|
|
|
22941
23743
|
/**
|
|
22942
23744
|
* @SINCE 1.92.0
|
|
@@ -22950,7 +23752,10 @@ declare module "sap/ui/webc/main/SegmentedButton" {
|
|
|
22950
23752
|
*
|
|
22951
23753
|
* **Note:** There can be just one selected `item` at a time.
|
|
22952
23754
|
*/
|
|
22953
|
-
export default class SegmentedButton
|
|
23755
|
+
export default class SegmentedButton
|
|
23756
|
+
extends WebComponent
|
|
23757
|
+
implements IFormContent {
|
|
23758
|
+
__implements__sap_ui_core_IFormContent: boolean;
|
|
22954
23759
|
/**
|
|
22955
23760
|
* Constructor for a new `SegmentedButton`.
|
|
22956
23761
|
*
|
|
@@ -23093,6 +23898,17 @@ declare module "sap/ui/webc/main/SegmentedButton" {
|
|
|
23093
23898
|
selectedItem?: HTMLElement;
|
|
23094
23899
|
}
|
|
23095
23900
|
): this;
|
|
23901
|
+
/**
|
|
23902
|
+
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
23903
|
+
*
|
|
23904
|
+
* Sets the accessible aria name of the component.
|
|
23905
|
+
*/
|
|
23906
|
+
getAccessibleName(): string;
|
|
23907
|
+
/**
|
|
23908
|
+
* `SegmentedButton` must not be stretched in Form because ResizeHandler is used internally in order to
|
|
23909
|
+
* manage the width of the SegmentedButton depending on the container size
|
|
23910
|
+
*/
|
|
23911
|
+
getFormDoNotAdjustWidth(): boolean;
|
|
23096
23912
|
/**
|
|
23097
23913
|
* Gets content of aggregation {@link #getItems items}.
|
|
23098
23914
|
*
|
|
@@ -23147,9 +23963,27 @@ declare module "sap/ui/webc/main/SegmentedButton" {
|
|
|
23147
23963
|
*/
|
|
23148
23964
|
vItem: int | string | ISegmentedButtonItem
|
|
23149
23965
|
): ISegmentedButtonItem;
|
|
23966
|
+
/**
|
|
23967
|
+
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
23968
|
+
*
|
|
23969
|
+
* Sets the accessible aria name of the component.
|
|
23970
|
+
*
|
|
23971
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23972
|
+
*/
|
|
23973
|
+
setAccessibleName(
|
|
23974
|
+
/**
|
|
23975
|
+
* New value for property `accessibleName`
|
|
23976
|
+
*/
|
|
23977
|
+
sAccessibleName: string
|
|
23978
|
+
): this;
|
|
23150
23979
|
}
|
|
23151
23980
|
|
|
23152
23981
|
export interface $SegmentedButtonSettings extends $WebComponentSettings {
|
|
23982
|
+
/**
|
|
23983
|
+
* Sets the accessible aria name of the component.
|
|
23984
|
+
*/
|
|
23985
|
+
accessibleName?: string | PropertyBindingInfo;
|
|
23986
|
+
|
|
23153
23987
|
/**
|
|
23154
23988
|
* Defines the items of `sap.ui.webc.main.SegmentedButton`.
|
|
23155
23989
|
*
|
|
@@ -23177,6 +24011,10 @@ declare module "sap/ui/webc/main/SegmentedButtonItem" {
|
|
|
23177
24011
|
|
|
23178
24012
|
import { ISegmentedButtonItem, ButtonDesign } from "sap/ui/webc/main/library";
|
|
23179
24013
|
|
|
24014
|
+
import { ID } from "sap/ui/core/library";
|
|
24015
|
+
|
|
24016
|
+
import Control from "sap/ui/core/Control";
|
|
24017
|
+
|
|
23180
24018
|
import Event from "sap/ui/base/Event";
|
|
23181
24019
|
|
|
23182
24020
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
@@ -23256,6 +24094,15 @@ declare module "sap/ui/webc/main/SegmentedButtonItem" {
|
|
|
23256
24094
|
* Returns a metadata object for class sap.ui.webc.main.SegmentedButtonItem.
|
|
23257
24095
|
*/
|
|
23258
24096
|
static getMetadata(): WebComponentMetadata;
|
|
24097
|
+
/**
|
|
24098
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
24099
|
+
*/
|
|
24100
|
+
addAriaLabelledBy(
|
|
24101
|
+
/**
|
|
24102
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
24103
|
+
*/
|
|
24104
|
+
vAriaLabelledBy: ID | Control
|
|
24105
|
+
): this;
|
|
23259
24106
|
/**
|
|
23260
24107
|
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.webc.main.SegmentedButtonItem`.
|
|
23261
24108
|
*
|
|
@@ -23327,12 +24174,43 @@ declare module "sap/ui/webc/main/SegmentedButtonItem" {
|
|
|
23327
24174
|
*/
|
|
23328
24175
|
mParameters?: object
|
|
23329
24176
|
): this;
|
|
24177
|
+
/**
|
|
24178
|
+
* Gets current value of property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
24179
|
+
*
|
|
24180
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
24181
|
+
* depending on the use case.
|
|
24182
|
+
*
|
|
24183
|
+
* It supports the following fields:
|
|
24184
|
+
*
|
|
24185
|
+
*
|
|
24186
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
24187
|
+
* or collapsed. Accepts the following string values:
|
|
24188
|
+
* `true`
|
|
24189
|
+
* - `false`
|
|
24190
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
24191
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
24192
|
+
* `Dialog`
|
|
24193
|
+
* - `Grid`
|
|
24194
|
+
* - `ListBox`
|
|
24195
|
+
* - `Menu`
|
|
24196
|
+
* - `Tree`
|
|
24197
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
24198
|
+
* button element. Accepts a string value.
|
|
24199
|
+
*
|
|
24200
|
+
* Default value is `{}`.
|
|
24201
|
+
*/
|
|
24202
|
+
getAccessibilityAttributes(): object;
|
|
23330
24203
|
/**
|
|
23331
24204
|
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
23332
24205
|
*
|
|
23333
24206
|
* Sets the accessible aria name of the component.
|
|
23334
24207
|
*/
|
|
23335
24208
|
getAccessibleName(): string;
|
|
24209
|
+
/**
|
|
24210
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
24211
|
+
* ariaLabelledBy}.
|
|
24212
|
+
*/
|
|
24213
|
+
getAriaLabelledBy(): ID[];
|
|
23336
24214
|
/**
|
|
23337
24215
|
* Gets current value of property {@link #getDesign design}.
|
|
23338
24216
|
*
|
|
@@ -23395,6 +24273,52 @@ declare module "sap/ui/webc/main/SegmentedButtonItem" {
|
|
|
23395
24273
|
* Default value is `empty string`.
|
|
23396
24274
|
*/
|
|
23397
24275
|
getText(): string;
|
|
24276
|
+
/**
|
|
24277
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
24278
|
+
*/
|
|
24279
|
+
removeAllAriaLabelledBy(): ID[];
|
|
24280
|
+
/**
|
|
24281
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
24282
|
+
*/
|
|
24283
|
+
removeAriaLabelledBy(
|
|
24284
|
+
/**
|
|
24285
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
24286
|
+
*/
|
|
24287
|
+
vAriaLabelledBy: int | ID | Control
|
|
24288
|
+
): ID;
|
|
24289
|
+
/**
|
|
24290
|
+
* Sets a new value for property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
24291
|
+
*
|
|
24292
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
24293
|
+
* depending on the use case.
|
|
24294
|
+
*
|
|
24295
|
+
* It supports the following fields:
|
|
24296
|
+
*
|
|
24297
|
+
*
|
|
24298
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
24299
|
+
* or collapsed. Accepts the following string values:
|
|
24300
|
+
* `true`
|
|
24301
|
+
* - `false`
|
|
24302
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
24303
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
24304
|
+
* `Dialog`
|
|
24305
|
+
* - `Grid`
|
|
24306
|
+
* - `ListBox`
|
|
24307
|
+
* - `Menu`
|
|
24308
|
+
* - `Tree`
|
|
24309
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
24310
|
+
* button element. Accepts a string value.
|
|
24311
|
+
*
|
|
24312
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
24313
|
+
*
|
|
24314
|
+
* Default value is `{}`.
|
|
24315
|
+
*/
|
|
24316
|
+
setAccessibilityAttributes(
|
|
24317
|
+
/**
|
|
24318
|
+
* New value for property `accessibilityAttributes`
|
|
24319
|
+
*/
|
|
24320
|
+
oAccessibilityAttributes?: object
|
|
24321
|
+
): this;
|
|
23398
24322
|
/**
|
|
23399
24323
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
23400
24324
|
*
|
|
@@ -23522,6 +24446,29 @@ declare module "sap/ui/webc/main/SegmentedButtonItem" {
|
|
|
23522
24446
|
}
|
|
23523
24447
|
|
|
23524
24448
|
export interface $SegmentedButtonItemSettings extends $WebComponentSettings {
|
|
24449
|
+
/**
|
|
24450
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
24451
|
+
* depending on the use case.
|
|
24452
|
+
*
|
|
24453
|
+
* It supports the following fields:
|
|
24454
|
+
*
|
|
24455
|
+
*
|
|
24456
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
24457
|
+
* or collapsed. Accepts the following string values:
|
|
24458
|
+
* `true`
|
|
24459
|
+
* - `false`
|
|
24460
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
24461
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
24462
|
+
* `Dialog`
|
|
24463
|
+
* - `Grid`
|
|
24464
|
+
* - `ListBox`
|
|
24465
|
+
* - `Menu`
|
|
24466
|
+
* - `Tree`
|
|
24467
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
24468
|
+
* button element. Accepts a string value.
|
|
24469
|
+
*/
|
|
24470
|
+
accessibilityAttributes?: object | PropertyBindingInfo;
|
|
24471
|
+
|
|
23525
24472
|
/**
|
|
23526
24473
|
* Sets the accessible aria name of the component.
|
|
23527
24474
|
*/
|
|
@@ -23568,6 +24515,11 @@ declare module "sap/ui/webc/main/SegmentedButtonItem" {
|
|
|
23568
24515
|
*/
|
|
23569
24516
|
text?: string | PropertyBindingInfo;
|
|
23570
24517
|
|
|
24518
|
+
/**
|
|
24519
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
24520
|
+
*/
|
|
24521
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
24522
|
+
|
|
23571
24523
|
/**
|
|
23572
24524
|
* Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
|
|
23573
24525
|
*
|
|
@@ -23583,14 +24535,16 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
23583
24535
|
$WebComponentSettings,
|
|
23584
24536
|
} from "sap/ui/webc/common/WebComponent";
|
|
23585
24537
|
|
|
24538
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
24539
|
+
|
|
24540
|
+
import Control from "sap/ui/core/Control";
|
|
24541
|
+
|
|
23586
24542
|
import { ISelectOption } from "sap/ui/webc/main/library";
|
|
23587
24543
|
|
|
23588
24544
|
import Event from "sap/ui/base/Event";
|
|
23589
24545
|
|
|
23590
24546
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
23591
24547
|
|
|
23592
|
-
import { ValueState } from "sap/ui/core/library";
|
|
23593
|
-
|
|
23594
24548
|
import {
|
|
23595
24549
|
PropertyBindingInfo,
|
|
23596
24550
|
AggregationBindingInfo,
|
|
@@ -23614,13 +24568,6 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
23614
24568
|
* - [ESC] - Closes the drop-down without changing the selection.
|
|
23615
24569
|
* - [HOME] - Navigates to first option
|
|
23616
24570
|
* - [END] - Navigates to the last option
|
|
23617
|
-
*
|
|
23618
|
-
*
|
|
23619
|
-
* Stable DOM Refs:
|
|
23620
|
-
*
|
|
23621
|
-
* In the context of `sap.ui.webc.main.Select`, you can provide a custom stable DOM ref for:
|
|
23622
|
-
* - Every `sap.ui.webc.main.Option` that you provide. Example: `
|
|
23623
|
-
* `
|
|
23624
24571
|
*/
|
|
23625
24572
|
export default class Select extends WebComponent {
|
|
23626
24573
|
/**
|
|
@@ -23679,6 +24626,15 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
23679
24626
|
* Returns a metadata object for class sap.ui.webc.main.Select.
|
|
23680
24627
|
*/
|
|
23681
24628
|
static getMetadata(): WebComponentMetadata;
|
|
24629
|
+
/**
|
|
24630
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
24631
|
+
*/
|
|
24632
|
+
addAriaLabelledBy(
|
|
24633
|
+
/**
|
|
24634
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
24635
|
+
*/
|
|
24636
|
+
vAriaLabelledBy: ID | Control
|
|
24637
|
+
): this;
|
|
23682
24638
|
/**
|
|
23683
24639
|
* Adds some option to the aggregation {@link #getOptions options}.
|
|
23684
24640
|
*/
|
|
@@ -23769,13 +24725,10 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
23769
24725
|
*/
|
|
23770
24726
|
getAccessibleName(): string;
|
|
23771
24727
|
/**
|
|
23772
|
-
*
|
|
23773
|
-
*
|
|
23774
|
-
* Receives id(or many ids) of the elements that label the select.
|
|
23775
|
-
*
|
|
23776
|
-
* Default value is `empty string`.
|
|
24728
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
24729
|
+
* ariaLabelledBy}.
|
|
23777
24730
|
*/
|
|
23778
|
-
|
|
24731
|
+
getAriaLabelledBy(): ID[];
|
|
23779
24732
|
/**
|
|
23780
24733
|
* Gets current value of property {@link #getDisabled disabled}.
|
|
23781
24734
|
*
|
|
@@ -23855,6 +24808,12 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
23855
24808
|
* Default value is `empty string`.
|
|
23856
24809
|
*/
|
|
23857
24810
|
getValueStateMessage(): string;
|
|
24811
|
+
/**
|
|
24812
|
+
* Gets current value of property {@link #getWidth width}.
|
|
24813
|
+
*
|
|
24814
|
+
* Defines the width of the control
|
|
24815
|
+
*/
|
|
24816
|
+
getWidth(): CSSSize;
|
|
23858
24817
|
/**
|
|
23859
24818
|
* Checks for the provided `sap.ui.webc.main.ISelectOption` in the aggregation {@link #getOptions options}.
|
|
23860
24819
|
* and returns its index if found or -1 otherwise.
|
|
@@ -23880,12 +24839,25 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
23880
24839
|
*/
|
|
23881
24840
|
iIndex: int
|
|
23882
24841
|
): this;
|
|
24842
|
+
/**
|
|
24843
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
24844
|
+
*/
|
|
24845
|
+
removeAllAriaLabelledBy(): ID[];
|
|
23883
24846
|
/**
|
|
23884
24847
|
* Removes all the controls from the aggregation {@link #getOptions options}.
|
|
23885
24848
|
*
|
|
23886
24849
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
23887
24850
|
*/
|
|
23888
24851
|
removeAllOptions(): ISelectOption[];
|
|
24852
|
+
/**
|
|
24853
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
24854
|
+
*/
|
|
24855
|
+
removeAriaLabelledBy(
|
|
24856
|
+
/**
|
|
24857
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
24858
|
+
*/
|
|
24859
|
+
vAriaLabelledBy: int | ID | Control
|
|
24860
|
+
): ID;
|
|
23889
24861
|
/**
|
|
23890
24862
|
* Removes a option from the aggregation {@link #getOptions options}.
|
|
23891
24863
|
*/
|
|
@@ -23908,21 +24880,6 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
23908
24880
|
*/
|
|
23909
24881
|
sAccessibleName: string
|
|
23910
24882
|
): this;
|
|
23911
|
-
/**
|
|
23912
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
23913
|
-
*
|
|
23914
|
-
* Receives id(or many ids) of the elements that label the select.
|
|
23915
|
-
*
|
|
23916
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23917
|
-
*
|
|
23918
|
-
* Default value is `empty string`.
|
|
23919
|
-
*/
|
|
23920
|
-
setAccessibleNameRef(
|
|
23921
|
-
/**
|
|
23922
|
-
* New value for property `accessibleNameRef`
|
|
23923
|
-
*/
|
|
23924
|
-
sAccessibleNameRef?: string
|
|
23925
|
-
): this;
|
|
23926
24883
|
/**
|
|
23927
24884
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
23928
24885
|
*
|
|
@@ -24018,6 +24975,19 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
24018
24975
|
*/
|
|
24019
24976
|
sValueStateMessage?: string
|
|
24020
24977
|
): this;
|
|
24978
|
+
/**
|
|
24979
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
24980
|
+
*
|
|
24981
|
+
* Defines the width of the control
|
|
24982
|
+
*
|
|
24983
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
24984
|
+
*/
|
|
24985
|
+
setWidth(
|
|
24986
|
+
/**
|
|
24987
|
+
* New value for property `width`
|
|
24988
|
+
*/
|
|
24989
|
+
sWidth?: CSSSize
|
|
24990
|
+
): this;
|
|
24021
24991
|
}
|
|
24022
24992
|
|
|
24023
24993
|
export interface $SelectSettings extends $WebComponentSettings {
|
|
@@ -24026,11 +24996,6 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
24026
24996
|
*/
|
|
24027
24997
|
accessibleName?: string | PropertyBindingInfo;
|
|
24028
24998
|
|
|
24029
|
-
/**
|
|
24030
|
-
* Receives id(or many ids) of the elements that label the select.
|
|
24031
|
-
*/
|
|
24032
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
24033
|
-
|
|
24034
24999
|
/**
|
|
24035
25000
|
* Defines whether the component is in disabled state.
|
|
24036
25001
|
*
|
|
@@ -24076,6 +25041,11 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
24076
25041
|
*/
|
|
24077
25042
|
valueStateMessage?: string | PropertyBindingInfo;
|
|
24078
25043
|
|
|
25044
|
+
/**
|
|
25045
|
+
* Defines the width of the control
|
|
25046
|
+
*/
|
|
25047
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
25048
|
+
|
|
24079
25049
|
/**
|
|
24080
25050
|
* Defines the component options.
|
|
24081
25051
|
*
|
|
@@ -24090,6 +25060,11 @@ declare module "sap/ui/webc/main/Select" {
|
|
|
24090
25060
|
*/
|
|
24091
25061
|
options?: ISelectOption[] | ISelectOption | AggregationBindingInfo;
|
|
24092
25062
|
|
|
25063
|
+
/**
|
|
25064
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
25065
|
+
*/
|
|
25066
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
25067
|
+
|
|
24093
25068
|
/**
|
|
24094
25069
|
* Fired when the selected option changes.
|
|
24095
25070
|
*/
|
|
@@ -24107,6 +25082,8 @@ declare module "sap/ui/webc/main/Slider" {
|
|
|
24107
25082
|
|
|
24108
25083
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
24109
25084
|
|
|
25085
|
+
import { CSSSize } from "sap/ui/core/library";
|
|
25086
|
+
|
|
24110
25087
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
24111
25088
|
|
|
24112
25089
|
/**
|
|
@@ -24425,6 +25402,12 @@ declare module "sap/ui/webc/main/Slider" {
|
|
|
24425
25402
|
* Default value is `0`.
|
|
24426
25403
|
*/
|
|
24427
25404
|
getValue(): float;
|
|
25405
|
+
/**
|
|
25406
|
+
* Gets current value of property {@link #getWidth width}.
|
|
25407
|
+
*
|
|
25408
|
+
* Defines the width of the control
|
|
25409
|
+
*/
|
|
25410
|
+
getWidth(): CSSSize;
|
|
24428
25411
|
/**
|
|
24429
25412
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
24430
25413
|
*
|
|
@@ -24555,6 +25538,19 @@ declare module "sap/ui/webc/main/Slider" {
|
|
|
24555
25538
|
*/
|
|
24556
25539
|
fValue?: float
|
|
24557
25540
|
): this;
|
|
25541
|
+
/**
|
|
25542
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
25543
|
+
*
|
|
25544
|
+
* Defines the width of the control
|
|
25545
|
+
*
|
|
25546
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25547
|
+
*/
|
|
25548
|
+
setWidth(
|
|
25549
|
+
/**
|
|
25550
|
+
* New value for property `width`
|
|
25551
|
+
*/
|
|
25552
|
+
sWidth?: CSSSize
|
|
25553
|
+
): this;
|
|
24558
25554
|
}
|
|
24559
25555
|
|
|
24560
25556
|
export interface $SliderSettings extends $WebComponentSettings {
|
|
@@ -24608,6 +25604,11 @@ declare module "sap/ui/webc/main/Slider" {
|
|
|
24608
25604
|
*/
|
|
24609
25605
|
value?: float | PropertyBindingInfo;
|
|
24610
25606
|
|
|
25607
|
+
/**
|
|
25608
|
+
* Defines the width of the control
|
|
25609
|
+
*/
|
|
25610
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
25611
|
+
|
|
24611
25612
|
/**
|
|
24612
25613
|
* Fired when the value changes and the user has finished interacting with the slider.
|
|
24613
25614
|
*/
|
|
@@ -24620,6 +25621,473 @@ declare module "sap/ui/webc/main/Slider" {
|
|
|
24620
25621
|
}
|
|
24621
25622
|
}
|
|
24622
25623
|
|
|
25624
|
+
declare module "sap/ui/webc/main/SplitButton" {
|
|
25625
|
+
import {
|
|
25626
|
+
default as WebComponent,
|
|
25627
|
+
$WebComponentSettings,
|
|
25628
|
+
} from "sap/ui/webc/common/WebComponent";
|
|
25629
|
+
|
|
25630
|
+
import Event from "sap/ui/base/Event";
|
|
25631
|
+
|
|
25632
|
+
import { ButtonDesign } from "sap/ui/webc/main/library";
|
|
25633
|
+
|
|
25634
|
+
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
25635
|
+
|
|
25636
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
25637
|
+
|
|
25638
|
+
/**
|
|
25639
|
+
* @SINCE 1.99.0
|
|
25640
|
+
* @EXPERIMENTAL (since 1.99.0)
|
|
25641
|
+
*
|
|
25642
|
+
* Overview:
|
|
25643
|
+
*
|
|
25644
|
+
* `sap.ui.webc.main.SplitButton` enables users to trigger actions. It is constructed of two separate actions
|
|
25645
|
+
* - default action and arrow action that can be activated by clicking or tapping, or by pressing certain
|
|
25646
|
+
* keyboard keys - `Space` or `Enter` for default action, and `Arrow Down` or `Arrow Up` for arrow action.
|
|
25647
|
+
*
|
|
25648
|
+
* Usage:
|
|
25649
|
+
*
|
|
25650
|
+
* `sap.ui.webc.main.SplitButton` consists two separate buttons:
|
|
25651
|
+
* - for the first one (default action) you can define some `text` or an `icon`, or both. Also, it is
|
|
25652
|
+
* possible to define different icon for active state of this button - `activeIcon`.
|
|
25653
|
+
* - the second one (arrow action) contains only `slim-arrow-down` icon. You can choose a `design`
|
|
25654
|
+
* from a set of predefined types (the same as for ui5-button) that offer different styling to correspond
|
|
25655
|
+
* to the triggered action. Both text and arrow actions have the same design.
|
|
25656
|
+
*
|
|
25657
|
+
* You can set the `sap.ui.webc.main.SplitButton` as enabled or disabled. Both parts of an enabled `sap.ui.webc.main.SplitButton`
|
|
25658
|
+
* can be pressed by clicking or tapping it, or by certain keys, which changes the style to provide visual
|
|
25659
|
+
* feedback to the user that it is pressed or hovered over with the mouse cursor. A disabled `sap.ui.webc.main.SplitButton`
|
|
25660
|
+
* appears inactive and any of the two buttons cannot be pressed.
|
|
25661
|
+
*
|
|
25662
|
+
* Keyboard Handling:
|
|
25663
|
+
* - `Space` or `Enter` - triggers the default action
|
|
25664
|
+
* - `Shift` or `Escape` - if `Space` is pressed, releases the default action button without triggering
|
|
25665
|
+
* the click event.
|
|
25666
|
+
* - `Arrow Down`, `Arrow Up`, `Alt`+`Arrow Down`, `Alt`+`Arrow Up`, or `F4` - triggers the arrow action
|
|
25667
|
+
* There are separate events that are fired on activating of `sap.ui.webc.main.SplitButton` parts:
|
|
25668
|
+
* `click` for the first button (default action)
|
|
25669
|
+
* - `arrow-click` for the second button (arrow action)
|
|
25670
|
+
*/
|
|
25671
|
+
export default class SplitButton extends WebComponent {
|
|
25672
|
+
/**
|
|
25673
|
+
* Constructor for a new `SplitButton`.
|
|
25674
|
+
*
|
|
25675
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
25676
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
25677
|
+
* of the syntax of the settings object.
|
|
25678
|
+
*/
|
|
25679
|
+
constructor(
|
|
25680
|
+
/**
|
|
25681
|
+
* Initial settings for the new control
|
|
25682
|
+
*/
|
|
25683
|
+
mSettings?: $SplitButtonSettings
|
|
25684
|
+
);
|
|
25685
|
+
/**
|
|
25686
|
+
* Constructor for a new `SplitButton`.
|
|
25687
|
+
*
|
|
25688
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
25689
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
25690
|
+
* of the syntax of the settings object.
|
|
25691
|
+
*/
|
|
25692
|
+
constructor(
|
|
25693
|
+
/**
|
|
25694
|
+
* ID for the new control, generated automatically if no ID is given
|
|
25695
|
+
*/
|
|
25696
|
+
sId?: string,
|
|
25697
|
+
/**
|
|
25698
|
+
* Initial settings for the new control
|
|
25699
|
+
*/
|
|
25700
|
+
mSettings?: $SplitButtonSettings
|
|
25701
|
+
);
|
|
25702
|
+
|
|
25703
|
+
/**
|
|
25704
|
+
* Creates a new subclass of class sap.ui.webc.main.SplitButton with name `sClassName` and enriches it with
|
|
25705
|
+
* the information contained in `oClassInfo`.
|
|
25706
|
+
*
|
|
25707
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.webc.common.WebComponent.extend}.
|
|
25708
|
+
*/
|
|
25709
|
+
static extend<T extends Record<string, unknown>>(
|
|
25710
|
+
/**
|
|
25711
|
+
* Name of the class being created
|
|
25712
|
+
*/
|
|
25713
|
+
sClassName: string,
|
|
25714
|
+
/**
|
|
25715
|
+
* Object literal with information about the class
|
|
25716
|
+
*/
|
|
25717
|
+
oClassInfo?: sap.ClassInfo<T, SplitButton>,
|
|
25718
|
+
/**
|
|
25719
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
25720
|
+
* used by this class
|
|
25721
|
+
*/
|
|
25722
|
+
FNMetaImpl?: Function
|
|
25723
|
+
): Function;
|
|
25724
|
+
/**
|
|
25725
|
+
* Returns a metadata object for class sap.ui.webc.main.SplitButton.
|
|
25726
|
+
*/
|
|
25727
|
+
static getMetadata(): WebComponentMetadata;
|
|
25728
|
+
/**
|
|
25729
|
+
* Attaches event handler `fnFunction` to the {@link #event:arrowClick arrowClick} event of this `sap.ui.webc.main.SplitButton`.
|
|
25730
|
+
*
|
|
25731
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
25732
|
+
* otherwise it will be bound to this `sap.ui.webc.main.SplitButton` itself.
|
|
25733
|
+
*
|
|
25734
|
+
* Fired when the user clicks on the arrow action.
|
|
25735
|
+
*/
|
|
25736
|
+
attachArrowClick(
|
|
25737
|
+
/**
|
|
25738
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
25739
|
+
* object when firing the event
|
|
25740
|
+
*/
|
|
25741
|
+
oData: object,
|
|
25742
|
+
/**
|
|
25743
|
+
* The function to be called when the event occurs
|
|
25744
|
+
*/
|
|
25745
|
+
fnFunction: (p1: Event) => void,
|
|
25746
|
+
/**
|
|
25747
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.webc.main.SplitButton` itself
|
|
25748
|
+
*/
|
|
25749
|
+
oListener?: object
|
|
25750
|
+
): this;
|
|
25751
|
+
/**
|
|
25752
|
+
* Attaches event handler `fnFunction` to the {@link #event:arrowClick arrowClick} event of this `sap.ui.webc.main.SplitButton`.
|
|
25753
|
+
*
|
|
25754
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
25755
|
+
* otherwise it will be bound to this `sap.ui.webc.main.SplitButton` itself.
|
|
25756
|
+
*
|
|
25757
|
+
* Fired when the user clicks on the arrow action.
|
|
25758
|
+
*/
|
|
25759
|
+
attachArrowClick(
|
|
25760
|
+
/**
|
|
25761
|
+
* The function to be called when the event occurs
|
|
25762
|
+
*/
|
|
25763
|
+
fnFunction: (p1: Event) => void,
|
|
25764
|
+
/**
|
|
25765
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.webc.main.SplitButton` itself
|
|
25766
|
+
*/
|
|
25767
|
+
oListener?: object
|
|
25768
|
+
): this;
|
|
25769
|
+
/**
|
|
25770
|
+
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.webc.main.SplitButton`.
|
|
25771
|
+
*
|
|
25772
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
25773
|
+
* otherwise it will be bound to this `sap.ui.webc.main.SplitButton` itself.
|
|
25774
|
+
*
|
|
25775
|
+
* Fired when the user clicks on the default action.
|
|
25776
|
+
*/
|
|
25777
|
+
attachClick(
|
|
25778
|
+
/**
|
|
25779
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
25780
|
+
* object when firing the event
|
|
25781
|
+
*/
|
|
25782
|
+
oData: object,
|
|
25783
|
+
/**
|
|
25784
|
+
* The function to be called when the event occurs
|
|
25785
|
+
*/
|
|
25786
|
+
fnFunction: (p1: Event) => void,
|
|
25787
|
+
/**
|
|
25788
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.webc.main.SplitButton` itself
|
|
25789
|
+
*/
|
|
25790
|
+
oListener?: object
|
|
25791
|
+
): this;
|
|
25792
|
+
/**
|
|
25793
|
+
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.webc.main.SplitButton`.
|
|
25794
|
+
*
|
|
25795
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
25796
|
+
* otherwise it will be bound to this `sap.ui.webc.main.SplitButton` itself.
|
|
25797
|
+
*
|
|
25798
|
+
* Fired when the user clicks on the default action.
|
|
25799
|
+
*/
|
|
25800
|
+
attachClick(
|
|
25801
|
+
/**
|
|
25802
|
+
* The function to be called when the event occurs
|
|
25803
|
+
*/
|
|
25804
|
+
fnFunction: (p1: Event) => void,
|
|
25805
|
+
/**
|
|
25806
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.webc.main.SplitButton` itself
|
|
25807
|
+
*/
|
|
25808
|
+
oListener?: object
|
|
25809
|
+
): this;
|
|
25810
|
+
/**
|
|
25811
|
+
* Detaches event handler `fnFunction` from the {@link #event:arrowClick arrowClick} event of this `sap.ui.webc.main.SplitButton`.
|
|
25812
|
+
*
|
|
25813
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
25814
|
+
*/
|
|
25815
|
+
detachArrowClick(
|
|
25816
|
+
/**
|
|
25817
|
+
* The function to be called, when the event occurs
|
|
25818
|
+
*/
|
|
25819
|
+
fnFunction: (p1: Event) => void,
|
|
25820
|
+
/**
|
|
25821
|
+
* Context object on which the given function had to be called
|
|
25822
|
+
*/
|
|
25823
|
+
oListener?: object
|
|
25824
|
+
): this;
|
|
25825
|
+
/**
|
|
25826
|
+
* Detaches event handler `fnFunction` from the {@link #event:click click} event of this `sap.ui.webc.main.SplitButton`.
|
|
25827
|
+
*
|
|
25828
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
25829
|
+
*/
|
|
25830
|
+
detachClick(
|
|
25831
|
+
/**
|
|
25832
|
+
* The function to be called, when the event occurs
|
|
25833
|
+
*/
|
|
25834
|
+
fnFunction: (p1: Event) => void,
|
|
25835
|
+
/**
|
|
25836
|
+
* Context object on which the given function had to be called
|
|
25837
|
+
*/
|
|
25838
|
+
oListener?: object
|
|
25839
|
+
): this;
|
|
25840
|
+
/**
|
|
25841
|
+
* Fires event {@link #event:arrowClick arrowClick} to attached listeners.
|
|
25842
|
+
*/
|
|
25843
|
+
fireArrowClick(
|
|
25844
|
+
/**
|
|
25845
|
+
* Parameters to pass along with the event
|
|
25846
|
+
*/
|
|
25847
|
+
mParameters?: object
|
|
25848
|
+
): this;
|
|
25849
|
+
/**
|
|
25850
|
+
* Fires event {@link #event:click click} to attached listeners.
|
|
25851
|
+
*/
|
|
25852
|
+
fireClick(
|
|
25853
|
+
/**
|
|
25854
|
+
* Parameters to pass along with the event
|
|
25855
|
+
*/
|
|
25856
|
+
mParameters?: object
|
|
25857
|
+
): this;
|
|
25858
|
+
/**
|
|
25859
|
+
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
25860
|
+
*
|
|
25861
|
+
* Sets the accessible aria name of the component.
|
|
25862
|
+
*/
|
|
25863
|
+
getAccessibleName(): string;
|
|
25864
|
+
/**
|
|
25865
|
+
* Gets current value of property {@link #getActiveIcon activeIcon}.
|
|
25866
|
+
*
|
|
25867
|
+
* Defines the icon to be displayed in active state as graphical element within the component.
|
|
25868
|
+
*
|
|
25869
|
+
* Default value is `empty string`.
|
|
25870
|
+
*/
|
|
25871
|
+
getActiveIcon(): string;
|
|
25872
|
+
/**
|
|
25873
|
+
* Gets current value of property {@link #getDesign design}.
|
|
25874
|
+
*
|
|
25875
|
+
* Defines the component design.
|
|
25876
|
+
*
|
|
25877
|
+
*
|
|
25878
|
+
*
|
|
25879
|
+
* **The available values are:**
|
|
25880
|
+
*
|
|
25881
|
+
*
|
|
25882
|
+
* - `Default`
|
|
25883
|
+
* - `Emphasized`
|
|
25884
|
+
* - `Positive`
|
|
25885
|
+
* - `Negative`
|
|
25886
|
+
* - `Transparent`
|
|
25887
|
+
* - `Attention`
|
|
25888
|
+
*
|
|
25889
|
+
* Default value is `Default`.
|
|
25890
|
+
*/
|
|
25891
|
+
getDesign(): ButtonDesign | keyof typeof ButtonDesign;
|
|
25892
|
+
/**
|
|
25893
|
+
* Gets current value of property {@link #getDisabled disabled}.
|
|
25894
|
+
*
|
|
25895
|
+
* Defines whether the component is disabled. A disabled component can't be pressed or focused, and it is
|
|
25896
|
+
* not in the tab chain.
|
|
25897
|
+
*
|
|
25898
|
+
* Default value is `false`.
|
|
25899
|
+
*/
|
|
25900
|
+
getDisabled(): boolean;
|
|
25901
|
+
/**
|
|
25902
|
+
* Gets current value of property {@link #getIcon icon}.
|
|
25903
|
+
*
|
|
25904
|
+
* Defines the icon to be displayed as graphical element within the component. The SAP-icons font provides
|
|
25905
|
+
* numerous options.
|
|
25906
|
+
*
|
|
25907
|
+
* Example:
|
|
25908
|
+
*
|
|
25909
|
+
* See all the available icons in the Icon Explorer.
|
|
25910
|
+
*
|
|
25911
|
+
* Default value is `empty string`.
|
|
25912
|
+
*/
|
|
25913
|
+
getIcon(): string;
|
|
25914
|
+
/**
|
|
25915
|
+
* Gets current value of property {@link #getText text}.
|
|
25916
|
+
*
|
|
25917
|
+
* Defines the content of the control
|
|
25918
|
+
*
|
|
25919
|
+
* Default value is `empty string`.
|
|
25920
|
+
*/
|
|
25921
|
+
getText(): string;
|
|
25922
|
+
/**
|
|
25923
|
+
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
25924
|
+
*
|
|
25925
|
+
* Sets the accessible aria name of the component.
|
|
25926
|
+
*
|
|
25927
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25928
|
+
*/
|
|
25929
|
+
setAccessibleName(
|
|
25930
|
+
/**
|
|
25931
|
+
* New value for property `accessibleName`
|
|
25932
|
+
*/
|
|
25933
|
+
sAccessibleName: string
|
|
25934
|
+
): this;
|
|
25935
|
+
/**
|
|
25936
|
+
* Sets a new value for property {@link #getActiveIcon activeIcon}.
|
|
25937
|
+
*
|
|
25938
|
+
* Defines the icon to be displayed in active state as graphical element within the component.
|
|
25939
|
+
*
|
|
25940
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25941
|
+
*
|
|
25942
|
+
* Default value is `empty string`.
|
|
25943
|
+
*/
|
|
25944
|
+
setActiveIcon(
|
|
25945
|
+
/**
|
|
25946
|
+
* New value for property `activeIcon`
|
|
25947
|
+
*/
|
|
25948
|
+
sActiveIcon?: string
|
|
25949
|
+
): this;
|
|
25950
|
+
/**
|
|
25951
|
+
* Sets a new value for property {@link #getDesign design}.
|
|
25952
|
+
*
|
|
25953
|
+
* Defines the component design.
|
|
25954
|
+
*
|
|
25955
|
+
*
|
|
25956
|
+
*
|
|
25957
|
+
* **The available values are:**
|
|
25958
|
+
*
|
|
25959
|
+
*
|
|
25960
|
+
* - `Default`
|
|
25961
|
+
* - `Emphasized`
|
|
25962
|
+
* - `Positive`
|
|
25963
|
+
* - `Negative`
|
|
25964
|
+
* - `Transparent`
|
|
25965
|
+
* - `Attention`
|
|
25966
|
+
*
|
|
25967
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25968
|
+
*
|
|
25969
|
+
* Default value is `Default`.
|
|
25970
|
+
*/
|
|
25971
|
+
setDesign(
|
|
25972
|
+
/**
|
|
25973
|
+
* New value for property `design`
|
|
25974
|
+
*/
|
|
25975
|
+
sDesign?: ButtonDesign | keyof typeof ButtonDesign
|
|
25976
|
+
): this;
|
|
25977
|
+
/**
|
|
25978
|
+
* Sets a new value for property {@link #getDisabled disabled}.
|
|
25979
|
+
*
|
|
25980
|
+
* Defines whether the component is disabled. A disabled component can't be pressed or focused, and it is
|
|
25981
|
+
* not in the tab chain.
|
|
25982
|
+
*
|
|
25983
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25984
|
+
*
|
|
25985
|
+
* Default value is `false`.
|
|
25986
|
+
*/
|
|
25987
|
+
setDisabled(
|
|
25988
|
+
/**
|
|
25989
|
+
* New value for property `disabled`
|
|
25990
|
+
*/
|
|
25991
|
+
bDisabled?: boolean
|
|
25992
|
+
): this;
|
|
25993
|
+
/**
|
|
25994
|
+
* Sets a new value for property {@link #getIcon icon}.
|
|
25995
|
+
*
|
|
25996
|
+
* Defines the icon to be displayed as graphical element within the component. The SAP-icons font provides
|
|
25997
|
+
* numerous options.
|
|
25998
|
+
*
|
|
25999
|
+
* Example:
|
|
26000
|
+
*
|
|
26001
|
+
* See all the available icons in the Icon Explorer.
|
|
26002
|
+
*
|
|
26003
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
26004
|
+
*
|
|
26005
|
+
* Default value is `empty string`.
|
|
26006
|
+
*/
|
|
26007
|
+
setIcon(
|
|
26008
|
+
/**
|
|
26009
|
+
* New value for property `icon`
|
|
26010
|
+
*/
|
|
26011
|
+
sIcon?: string
|
|
26012
|
+
): this;
|
|
26013
|
+
/**
|
|
26014
|
+
* Sets a new value for property {@link #getText text}.
|
|
26015
|
+
*
|
|
26016
|
+
* Defines the content of the control
|
|
26017
|
+
*
|
|
26018
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
26019
|
+
*
|
|
26020
|
+
* Default value is `empty string`.
|
|
26021
|
+
*/
|
|
26022
|
+
setText(
|
|
26023
|
+
/**
|
|
26024
|
+
* New value for property `text`
|
|
26025
|
+
*/
|
|
26026
|
+
sText?: string
|
|
26027
|
+
): this;
|
|
26028
|
+
}
|
|
26029
|
+
|
|
26030
|
+
export interface $SplitButtonSettings extends $WebComponentSettings {
|
|
26031
|
+
/**
|
|
26032
|
+
* Sets the accessible aria name of the component.
|
|
26033
|
+
*/
|
|
26034
|
+
accessibleName?: string | PropertyBindingInfo;
|
|
26035
|
+
|
|
26036
|
+
/**
|
|
26037
|
+
* Defines the icon to be displayed in active state as graphical element within the component.
|
|
26038
|
+
*/
|
|
26039
|
+
activeIcon?: string | PropertyBindingInfo;
|
|
26040
|
+
|
|
26041
|
+
/**
|
|
26042
|
+
* Defines the component design.
|
|
26043
|
+
*
|
|
26044
|
+
*
|
|
26045
|
+
*
|
|
26046
|
+
* **The available values are:**
|
|
26047
|
+
*
|
|
26048
|
+
*
|
|
26049
|
+
* - `Default`
|
|
26050
|
+
* - `Emphasized`
|
|
26051
|
+
* - `Positive`
|
|
26052
|
+
* - `Negative`
|
|
26053
|
+
* - `Transparent`
|
|
26054
|
+
* - `Attention`
|
|
26055
|
+
*/
|
|
26056
|
+
design?: (ButtonDesign | keyof typeof ButtonDesign) | PropertyBindingInfo;
|
|
26057
|
+
|
|
26058
|
+
/**
|
|
26059
|
+
* Defines whether the component is disabled. A disabled component can't be pressed or focused, and it is
|
|
26060
|
+
* not in the tab chain.
|
|
26061
|
+
*/
|
|
26062
|
+
disabled?: boolean | PropertyBindingInfo;
|
|
26063
|
+
|
|
26064
|
+
/**
|
|
26065
|
+
* Defines the icon to be displayed as graphical element within the component. The SAP-icons font provides
|
|
26066
|
+
* numerous options.
|
|
26067
|
+
*
|
|
26068
|
+
* Example:
|
|
26069
|
+
*
|
|
26070
|
+
* See all the available icons in the Icon Explorer.
|
|
26071
|
+
*/
|
|
26072
|
+
icon?: string | PropertyBindingInfo;
|
|
26073
|
+
|
|
26074
|
+
/**
|
|
26075
|
+
* Defines the content of the control
|
|
26076
|
+
*/
|
|
26077
|
+
text?: string | PropertyBindingInfo;
|
|
26078
|
+
|
|
26079
|
+
/**
|
|
26080
|
+
* Fired when the user clicks on the arrow action.
|
|
26081
|
+
*/
|
|
26082
|
+
arrowClick?: (oEvent: Event) => void;
|
|
26083
|
+
|
|
26084
|
+
/**
|
|
26085
|
+
* Fired when the user clicks on the default action.
|
|
26086
|
+
*/
|
|
26087
|
+
click?: (oEvent: Event) => void;
|
|
26088
|
+
}
|
|
26089
|
+
}
|
|
26090
|
+
|
|
24623
26091
|
declare module "sap/ui/webc/main/StandardListItem" {
|
|
24624
26092
|
import {
|
|
24625
26093
|
default as WebComponent,
|
|
@@ -25100,12 +26568,14 @@ declare module "sap/ui/webc/main/StepInput" {
|
|
|
25100
26568
|
$WebComponentSettings,
|
|
25101
26569
|
} from "sap/ui/webc/common/WebComponent";
|
|
25102
26570
|
|
|
26571
|
+
import { ID, ValueState, CSSSize } from "sap/ui/core/library";
|
|
26572
|
+
|
|
26573
|
+
import Control from "sap/ui/core/Control";
|
|
26574
|
+
|
|
25103
26575
|
import Event from "sap/ui/base/Event";
|
|
25104
26576
|
|
|
25105
26577
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
25106
26578
|
|
|
25107
|
-
import { ValueState } from "sap/ui/core/library";
|
|
25108
|
-
|
|
25109
26579
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
25110
26580
|
|
|
25111
26581
|
/**
|
|
@@ -25197,6 +26667,15 @@ declare module "sap/ui/webc/main/StepInput" {
|
|
|
25197
26667
|
* Returns a metadata object for class sap.ui.webc.main.StepInput.
|
|
25198
26668
|
*/
|
|
25199
26669
|
static getMetadata(): WebComponentMetadata;
|
|
26670
|
+
/**
|
|
26671
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
26672
|
+
*/
|
|
26673
|
+
addAriaLabelledBy(
|
|
26674
|
+
/**
|
|
26675
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
26676
|
+
*/
|
|
26677
|
+
vAriaLabelledBy: ID | Control
|
|
26678
|
+
): this;
|
|
25200
26679
|
/**
|
|
25201
26680
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.StepInput`.
|
|
25202
26681
|
*
|
|
@@ -25269,13 +26748,10 @@ declare module "sap/ui/webc/main/StepInput" {
|
|
|
25269
26748
|
*/
|
|
25270
26749
|
getAccessibleName(): string;
|
|
25271
26750
|
/**
|
|
25272
|
-
*
|
|
25273
|
-
*
|
|
25274
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
25275
|
-
*
|
|
25276
|
-
* Default value is `empty string`.
|
|
26751
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
26752
|
+
* ariaLabelledBy}.
|
|
25277
26753
|
*/
|
|
25278
|
-
|
|
26754
|
+
getAriaLabelledBy(): ID[];
|
|
25279
26755
|
/**
|
|
25280
26756
|
* Gets current value of property {@link #getDisabled disabled}.
|
|
25281
26757
|
*
|
|
@@ -25391,32 +26867,36 @@ declare module "sap/ui/webc/main/StepInput" {
|
|
|
25391
26867
|
*/
|
|
25392
26868
|
getValueStateMessage(): string;
|
|
25393
26869
|
/**
|
|
25394
|
-
*
|
|
25395
|
-
*
|
|
25396
|
-
* Sets the accessible aria name of the component.
|
|
26870
|
+
* Gets current value of property {@link #getWidth width}.
|
|
25397
26871
|
*
|
|
25398
|
-
*
|
|
26872
|
+
* Defines the width of the control
|
|
25399
26873
|
*/
|
|
25400
|
-
|
|
26874
|
+
getWidth(): CSSSize;
|
|
26875
|
+
/**
|
|
26876
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
26877
|
+
*/
|
|
26878
|
+
removeAllAriaLabelledBy(): ID[];
|
|
26879
|
+
/**
|
|
26880
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
26881
|
+
*/
|
|
26882
|
+
removeAriaLabelledBy(
|
|
25401
26883
|
/**
|
|
25402
|
-
*
|
|
26884
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
25403
26885
|
*/
|
|
25404
|
-
|
|
25405
|
-
):
|
|
26886
|
+
vAriaLabelledBy: int | ID | Control
|
|
26887
|
+
): ID;
|
|
25406
26888
|
/**
|
|
25407
|
-
* Sets a new value for property {@link #
|
|
26889
|
+
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
25408
26890
|
*
|
|
25409
|
-
*
|
|
26891
|
+
* Sets the accessible aria name of the component.
|
|
25410
26892
|
*
|
|
25411
26893
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25412
|
-
*
|
|
25413
|
-
* Default value is `empty string`.
|
|
25414
26894
|
*/
|
|
25415
|
-
|
|
26895
|
+
setAccessibleName(
|
|
25416
26896
|
/**
|
|
25417
|
-
* New value for property `
|
|
26897
|
+
* New value for property `accessibleName`
|
|
25418
26898
|
*/
|
|
25419
|
-
|
|
26899
|
+
sAccessibleName: string
|
|
25420
26900
|
): this;
|
|
25421
26901
|
/**
|
|
25422
26902
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
@@ -25616,6 +27096,19 @@ declare module "sap/ui/webc/main/StepInput" {
|
|
|
25616
27096
|
*/
|
|
25617
27097
|
sValueStateMessage?: string
|
|
25618
27098
|
): this;
|
|
27099
|
+
/**
|
|
27100
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
27101
|
+
*
|
|
27102
|
+
* Defines the width of the control
|
|
27103
|
+
*
|
|
27104
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
27105
|
+
*/
|
|
27106
|
+
setWidth(
|
|
27107
|
+
/**
|
|
27108
|
+
* New value for property `width`
|
|
27109
|
+
*/
|
|
27110
|
+
sWidth?: CSSSize
|
|
27111
|
+
): this;
|
|
25619
27112
|
}
|
|
25620
27113
|
|
|
25621
27114
|
export interface $StepInputSettings extends $WebComponentSettings {
|
|
@@ -25624,11 +27117,6 @@ declare module "sap/ui/webc/main/StepInput" {
|
|
|
25624
27117
|
*/
|
|
25625
27118
|
accessibleName?: string | PropertyBindingInfo;
|
|
25626
27119
|
|
|
25627
|
-
/**
|
|
25628
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
25629
|
-
*/
|
|
25630
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
25631
|
-
|
|
25632
27120
|
/**
|
|
25633
27121
|
* Determines whether the component is displayed as disabled.
|
|
25634
27122
|
*/
|
|
@@ -25711,6 +27199,16 @@ declare module "sap/ui/webc/main/StepInput" {
|
|
|
25711
27199
|
*/
|
|
25712
27200
|
valueStateMessage?: string | PropertyBindingInfo;
|
|
25713
27201
|
|
|
27202
|
+
/**
|
|
27203
|
+
* Defines the width of the control
|
|
27204
|
+
*/
|
|
27205
|
+
width?: CSSSize | PropertyBindingInfo;
|
|
27206
|
+
|
|
27207
|
+
/**
|
|
27208
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
27209
|
+
*/
|
|
27210
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
27211
|
+
|
|
25714
27212
|
/**
|
|
25715
27213
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
|
25716
27214
|
*/
|
|
@@ -26170,6 +27668,10 @@ declare module "sap/ui/webc/main/Switch" {
|
|
|
26170
27668
|
$WebComponentSettings,
|
|
26171
27669
|
} from "sap/ui/webc/common/WebComponent";
|
|
26172
27670
|
|
|
27671
|
+
import { ID } from "sap/ui/core/library";
|
|
27672
|
+
|
|
27673
|
+
import Control from "sap/ui/core/Control";
|
|
27674
|
+
|
|
26173
27675
|
import Event from "sap/ui/base/Event";
|
|
26174
27676
|
|
|
26175
27677
|
import { SwitchDesign } from "sap/ui/webc/main/library";
|
|
@@ -26258,6 +27760,15 @@ declare module "sap/ui/webc/main/Switch" {
|
|
|
26258
27760
|
* Returns a metadata object for class sap.ui.webc.main.Switch.
|
|
26259
27761
|
*/
|
|
26260
27762
|
static getMetadata(): WebComponentMetadata;
|
|
27763
|
+
/**
|
|
27764
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
27765
|
+
*/
|
|
27766
|
+
addAriaLabelledBy(
|
|
27767
|
+
/**
|
|
27768
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
27769
|
+
*/
|
|
27770
|
+
vAriaLabelledBy: ID | Control
|
|
27771
|
+
): this;
|
|
26261
27772
|
/**
|
|
26262
27773
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.Switch`.
|
|
26263
27774
|
*
|
|
@@ -26323,6 +27834,11 @@ declare module "sap/ui/webc/main/Switch" {
|
|
|
26323
27834
|
*/
|
|
26324
27835
|
mParameters?: object
|
|
26325
27836
|
): this;
|
|
27837
|
+
/**
|
|
27838
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
27839
|
+
* ariaLabelledBy}.
|
|
27840
|
+
*/
|
|
27841
|
+
getAriaLabelledBy(): ID[];
|
|
26326
27842
|
/**
|
|
26327
27843
|
* Gets current value of property {@link #getChecked checked}.
|
|
26328
27844
|
*
|
|
@@ -26378,6 +27894,19 @@ declare module "sap/ui/webc/main/Switch" {
|
|
|
26378
27894
|
* Default value is `empty string`.
|
|
26379
27895
|
*/
|
|
26380
27896
|
getTextOn(): string;
|
|
27897
|
+
/**
|
|
27898
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
27899
|
+
*/
|
|
27900
|
+
removeAllAriaLabelledBy(): ID[];
|
|
27901
|
+
/**
|
|
27902
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
27903
|
+
*/
|
|
27904
|
+
removeAriaLabelledBy(
|
|
27905
|
+
/**
|
|
27906
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
27907
|
+
*/
|
|
27908
|
+
vAriaLabelledBy: int | ID | Control
|
|
27909
|
+
): ID;
|
|
26381
27910
|
/**
|
|
26382
27911
|
* Sets a new value for property {@link #getChecked checked}.
|
|
26383
27912
|
*
|
|
@@ -26511,6 +28040,11 @@ declare module "sap/ui/webc/main/Switch" {
|
|
|
26511
28040
|
*/
|
|
26512
28041
|
textOn?: string | PropertyBindingInfo;
|
|
26513
28042
|
|
|
28043
|
+
/**
|
|
28044
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
28045
|
+
*/
|
|
28046
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
28047
|
+
|
|
26514
28048
|
/**
|
|
26515
28049
|
* Fired when the component checked state changes.
|
|
26516
28050
|
*/
|
|
@@ -26617,7 +28151,7 @@ declare module "sap/ui/webc/main/Tab" {
|
|
|
26617
28151
|
/**
|
|
26618
28152
|
* Gets current value of property {@link #getAdditionalText additionalText}.
|
|
26619
28153
|
*
|
|
26620
|
-
* Represents the "additionalText" text, which is displayed in the tab
|
|
28154
|
+
* Represents the "additionalText" text, which is displayed in the tab.
|
|
26621
28155
|
*
|
|
26622
28156
|
* Default value is `empty string`.
|
|
26623
28157
|
*/
|
|
@@ -26674,6 +28208,11 @@ declare module "sap/ui/webc/main/Tab" {
|
|
|
26674
28208
|
* Default value is `false`.
|
|
26675
28209
|
*/
|
|
26676
28210
|
getSelected(): boolean;
|
|
28211
|
+
/**
|
|
28212
|
+
* Returns the DOM reference of the tab that is placed in the header. **Note:** If you need a DOM ref to
|
|
28213
|
+
* the tab content please use the `getDomRef` method.
|
|
28214
|
+
*/
|
|
28215
|
+
getTabInStripDomRef(): void;
|
|
26677
28216
|
/**
|
|
26678
28217
|
* Gets current value of property {@link #getText text}.
|
|
26679
28218
|
*
|
|
@@ -26725,7 +28264,7 @@ declare module "sap/ui/webc/main/Tab" {
|
|
|
26725
28264
|
/**
|
|
26726
28265
|
* Sets a new value for property {@link #getAdditionalText additionalText}.
|
|
26727
28266
|
*
|
|
26728
|
-
* Represents the "additionalText" text, which is displayed in the tab
|
|
28267
|
+
* Represents the "additionalText" text, which is displayed in the tab.
|
|
26729
28268
|
*
|
|
26730
28269
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
26731
28270
|
*
|
|
@@ -26830,7 +28369,7 @@ declare module "sap/ui/webc/main/Tab" {
|
|
|
26830
28369
|
|
|
26831
28370
|
export interface $TabSettings extends $WebComponentSettings {
|
|
26832
28371
|
/**
|
|
26833
|
-
* Represents the "additionalText" text, which is displayed in the tab
|
|
28372
|
+
* Represents the "additionalText" text, which is displayed in the tab.
|
|
26834
28373
|
*/
|
|
26835
28374
|
additionalText?: string | PropertyBindingInfo;
|
|
26836
28375
|
|
|
@@ -26886,7 +28425,12 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
26886
28425
|
$WebComponentSettings,
|
|
26887
28426
|
} from "sap/ui/webc/common/WebComponent";
|
|
26888
28427
|
|
|
26889
|
-
import {
|
|
28428
|
+
import {
|
|
28429
|
+
ITab,
|
|
28430
|
+
IButton,
|
|
28431
|
+
TabLayout,
|
|
28432
|
+
TabsOverflowMode,
|
|
28433
|
+
} from "sap/ui/webc/main/library";
|
|
26890
28434
|
|
|
26891
28435
|
import Event from "sap/ui/base/Event";
|
|
26892
28436
|
|
|
@@ -26915,11 +28459,7 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
26915
28459
|
* - `sap.ui.webc.main.Tab` - contains all the information on an item (text and icon)
|
|
26916
28460
|
* - `sap.ui.webc.main.TabSeparator` - used to separate tabs with a vertical line
|
|
26917
28461
|
*
|
|
26918
|
-
*
|
|
26919
|
-
*
|
|
26920
|
-
* In the context of `sap.ui.webc.main.TabContainer`, you can provide a custom stable DOM refs for:
|
|
26921
|
-
*
|
|
26922
|
-
* - Each `sap.ui.webc.main.Tab` Example: ` `
|
|
28462
|
+
* Keyboard Handling:
|
|
26923
28463
|
*/
|
|
26924
28464
|
export default class TabContainer extends WebComponent {
|
|
26925
28465
|
/**
|
|
@@ -27036,6 +28576,10 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27036
28576
|
* Destroys the overflowButton in the aggregation {@link #getOverflowButton overflowButton}.
|
|
27037
28577
|
*/
|
|
27038
28578
|
destroyOverflowButton(): this;
|
|
28579
|
+
/**
|
|
28580
|
+
* Destroys the startOverflowButton in the aggregation {@link #getStartOverflowButton startOverflowButton}.
|
|
28581
|
+
*/
|
|
28582
|
+
destroyStartOverflowButton(): this;
|
|
27039
28583
|
/**
|
|
27040
28584
|
* Detaches event handler `fnFunction` from the {@link #event:tabSelect tabSelect} event of this `sap.ui.webc.main.TabContainer`.
|
|
27041
28585
|
*
|
|
@@ -27111,12 +28655,19 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27111
28655
|
*
|
|
27112
28656
|
* Defines whether the overflow select list is displayed.
|
|
27113
28657
|
*
|
|
27114
|
-
* The overflow select list represents a list, where all
|
|
27115
|
-
*
|
|
28658
|
+
* The overflow select list represents a list, where all tabs are displayed so that it's easier for the
|
|
28659
|
+
* user to select a specific tab.
|
|
27116
28660
|
*
|
|
27117
28661
|
* Default value is `false`.
|
|
27118
28662
|
*/
|
|
27119
28663
|
getShowOverflow(): boolean;
|
|
28664
|
+
/**
|
|
28665
|
+
* Gets content of aggregation {@link #getStartOverflowButton startOverflowButton}.
|
|
28666
|
+
*
|
|
28667
|
+
* Defines the button which will open the start overflow menu if available. If nothing is provided to this
|
|
28668
|
+
* slot, the default button will be used.
|
|
28669
|
+
*/
|
|
28670
|
+
getStartOverflowButton(): IButton;
|
|
27120
28671
|
/**
|
|
27121
28672
|
* Gets current value of property {@link #getTabLayout tabLayout}.
|
|
27122
28673
|
*
|
|
@@ -27136,6 +28687,27 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27136
28687
|
* Default value is `Standard`.
|
|
27137
28688
|
*/
|
|
27138
28689
|
getTabLayout(): TabLayout | keyof typeof TabLayout;
|
|
28690
|
+
/**
|
|
28691
|
+
* Gets current value of property {@link #getTabsOverflowMode tabsOverflowMode}.
|
|
28692
|
+
*
|
|
28693
|
+
* Defines the overflow mode of the tab strip. If you have a large number of tabs, only the tabs that can
|
|
28694
|
+
* fit on screen will be visible. All other tabs that can 't fit on the screen are available in an overflow
|
|
28695
|
+
* tab "More".
|
|
28696
|
+
*
|
|
28697
|
+
*
|
|
28698
|
+
*
|
|
28699
|
+
* **Note:** Only one overflow at the end would be displayed by default, but when set to `StartAndEnd`,
|
|
28700
|
+
* there will be two overflows on both ends, and tab order will not change on tab selection.
|
|
28701
|
+
*
|
|
28702
|
+
*
|
|
28703
|
+
*
|
|
28704
|
+
* Available options are:
|
|
28705
|
+
* - `End`
|
|
28706
|
+
* - `StartAndEnd`
|
|
28707
|
+
*
|
|
28708
|
+
* Default value is `End`.
|
|
28709
|
+
*/
|
|
28710
|
+
getTabsOverflowMode(): TabsOverflowMode | keyof typeof TabsOverflowMode;
|
|
27139
28711
|
/**
|
|
27140
28712
|
* Gets current value of property {@link #getWidth width}.
|
|
27141
28713
|
*
|
|
@@ -27239,8 +28811,8 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27239
28811
|
*
|
|
27240
28812
|
* Defines whether the overflow select list is displayed.
|
|
27241
28813
|
*
|
|
27242
|
-
* The overflow select list represents a list, where all
|
|
27243
|
-
*
|
|
28814
|
+
* The overflow select list represents a list, where all tabs are displayed so that it's easier for the
|
|
28815
|
+
* user to select a specific tab.
|
|
27244
28816
|
*
|
|
27245
28817
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
27246
28818
|
*
|
|
@@ -27252,6 +28824,15 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27252
28824
|
*/
|
|
27253
28825
|
bShowOverflow?: boolean
|
|
27254
28826
|
): this;
|
|
28827
|
+
/**
|
|
28828
|
+
* Sets the aggregated {@link #getStartOverflowButton startOverflowButton}.
|
|
28829
|
+
*/
|
|
28830
|
+
setStartOverflowButton(
|
|
28831
|
+
/**
|
|
28832
|
+
* The startOverflowButton to set
|
|
28833
|
+
*/
|
|
28834
|
+
oStartOverflowButton: IButton
|
|
28835
|
+
): this;
|
|
27255
28836
|
/**
|
|
27256
28837
|
* Sets a new value for property {@link #getTabLayout tabLayout}.
|
|
27257
28838
|
*
|
|
@@ -27278,6 +28859,34 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27278
28859
|
*/
|
|
27279
28860
|
sTabLayout?: TabLayout | keyof typeof TabLayout
|
|
27280
28861
|
): this;
|
|
28862
|
+
/**
|
|
28863
|
+
* Sets a new value for property {@link #getTabsOverflowMode tabsOverflowMode}.
|
|
28864
|
+
*
|
|
28865
|
+
* Defines the overflow mode of the tab strip. If you have a large number of tabs, only the tabs that can
|
|
28866
|
+
* fit on screen will be visible. All other tabs that can 't fit on the screen are available in an overflow
|
|
28867
|
+
* tab "More".
|
|
28868
|
+
*
|
|
28869
|
+
*
|
|
28870
|
+
*
|
|
28871
|
+
* **Note:** Only one overflow at the end would be displayed by default, but when set to `StartAndEnd`,
|
|
28872
|
+
* there will be two overflows on both ends, and tab order will not change on tab selection.
|
|
28873
|
+
*
|
|
28874
|
+
*
|
|
28875
|
+
*
|
|
28876
|
+
* Available options are:
|
|
28877
|
+
* - `End`
|
|
28878
|
+
* - `StartAndEnd`
|
|
28879
|
+
*
|
|
28880
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28881
|
+
*
|
|
28882
|
+
* Default value is `End`.
|
|
28883
|
+
*/
|
|
28884
|
+
setTabsOverflowMode(
|
|
28885
|
+
/**
|
|
28886
|
+
* New value for property `tabsOverflowMode`
|
|
28887
|
+
*/
|
|
28888
|
+
sTabsOverflowMode?: TabsOverflowMode | keyof typeof TabsOverflowMode
|
|
28889
|
+
): this;
|
|
27281
28890
|
/**
|
|
27282
28891
|
* Sets a new value for property {@link #getWidth width}.
|
|
27283
28892
|
*
|
|
@@ -27312,8 +28921,8 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27312
28921
|
/**
|
|
27313
28922
|
* Defines whether the overflow select list is displayed.
|
|
27314
28923
|
*
|
|
27315
|
-
* The overflow select list represents a list, where all
|
|
27316
|
-
*
|
|
28924
|
+
* The overflow select list represents a list, where all tabs are displayed so that it's easier for the
|
|
28925
|
+
* user to select a specific tab.
|
|
27317
28926
|
*/
|
|
27318
28927
|
showOverflow?: boolean | PropertyBindingInfo;
|
|
27319
28928
|
|
|
@@ -27333,6 +28942,26 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27333
28942
|
*/
|
|
27334
28943
|
tabLayout?: (TabLayout | keyof typeof TabLayout) | PropertyBindingInfo;
|
|
27335
28944
|
|
|
28945
|
+
/**
|
|
28946
|
+
* Defines the overflow mode of the tab strip. If you have a large number of tabs, only the tabs that can
|
|
28947
|
+
* fit on screen will be visible. All other tabs that can 't fit on the screen are available in an overflow
|
|
28948
|
+
* tab "More".
|
|
28949
|
+
*
|
|
28950
|
+
*
|
|
28951
|
+
*
|
|
28952
|
+
* **Note:** Only one overflow at the end would be displayed by default, but when set to `StartAndEnd`,
|
|
28953
|
+
* there will be two overflows on both ends, and tab order will not change on tab selection.
|
|
28954
|
+
*
|
|
28955
|
+
*
|
|
28956
|
+
*
|
|
28957
|
+
* Available options are:
|
|
28958
|
+
* - `End`
|
|
28959
|
+
* - `StartAndEnd`
|
|
28960
|
+
*/
|
|
28961
|
+
tabsOverflowMode?:
|
|
28962
|
+
| (TabsOverflowMode | keyof typeof TabsOverflowMode)
|
|
28963
|
+
| PropertyBindingInfo;
|
|
28964
|
+
|
|
27336
28965
|
/**
|
|
27337
28966
|
* Defines the width of the control
|
|
27338
28967
|
*/
|
|
@@ -27351,6 +28980,12 @@ declare module "sap/ui/webc/main/TabContainer" {
|
|
|
27351
28980
|
*/
|
|
27352
28981
|
overflowButton?: IButton;
|
|
27353
28982
|
|
|
28983
|
+
/**
|
|
28984
|
+
* Defines the button which will open the start overflow menu if available. If nothing is provided to this
|
|
28985
|
+
* slot, the default button will be used.
|
|
28986
|
+
*/
|
|
28987
|
+
startOverflowButton?: IButton;
|
|
28988
|
+
|
|
27354
28989
|
/**
|
|
27355
28990
|
* Fired when a tab is selected.
|
|
27356
28991
|
*/
|
|
@@ -27411,6 +29046,21 @@ declare module "sap/ui/webc/main/Table" {
|
|
|
27411
29046
|
*
|
|
27412
29047
|
* **Note:** Currently, when a column is shown as a pop-in, the visual indication for selection is not
|
|
27413
29048
|
* presented over it.
|
|
29049
|
+
*
|
|
29050
|
+
* Keyboard Handling:
|
|
29051
|
+
*
|
|
29052
|
+
*
|
|
29053
|
+
* - [F7] - If focus is on an interactive control inside an item, moves focus to the corresponding item.
|
|
29054
|
+
*
|
|
29055
|
+
* - [CTRL]+[A] - Selects all items, if MultiSelect mode is enabled.
|
|
29056
|
+
* - [HOME]/[END] - Focuses the first/last item.
|
|
29057
|
+
* - [PAGEUP]/[PAGEDOWN] - Moves focus up/down by page size (20 items by default).
|
|
29058
|
+
* - [ALT]+[DOWN]/[UP] - Switches focus between header, last focused item, and More button (if applies)
|
|
29059
|
+
* in either direction.
|
|
29060
|
+
* - [SHIFT]+[DOWN]/[UP] - Selects the next/previous item in a MultiSelect table, if the current item
|
|
29061
|
+
* is selected (Range selection). Otherwise, deselects them (Range deselection).
|
|
29062
|
+
* - [SHIFT]+[HOME]/[END] - Range selection to the first/last item of the List.
|
|
29063
|
+
* - [CTRL]+[HOME]/[END] - Same behavior as HOME & END. *
|
|
27414
29064
|
*/
|
|
27415
29065
|
export default class Table extends WebComponent {
|
|
27416
29066
|
/**
|
|
@@ -27829,7 +29479,7 @@ declare module "sap/ui/webc/main/Table" {
|
|
|
27829
29479
|
*
|
|
27830
29480
|
*
|
|
27831
29481
|
*
|
|
27832
|
-
* **
|
|
29482
|
+
* **Restrictions:** `growing="Scroll"` is not supported for Internet Explorer, and the component will fallback
|
|
27833
29483
|
* to `growing="Button"`.
|
|
27834
29484
|
*
|
|
27835
29485
|
* Default value is `None`.
|
|
@@ -27910,7 +29560,7 @@ declare module "sap/ui/webc/main/Table" {
|
|
|
27910
29560
|
* Determines whether the column headers remain fixed at the top of the page during vertical scrolling as
|
|
27911
29561
|
* long as the Web Component is in the viewport.
|
|
27912
29562
|
*
|
|
27913
|
-
* **
|
|
29563
|
+
* **Restrictions:**
|
|
27914
29564
|
* - Browsers that do not support this feature:
|
|
27915
29565
|
* Internet Explorer
|
|
27916
29566
|
* - Microsoft Edge lower than version 41 (EdgeHTML 16)
|
|
@@ -28059,7 +29709,7 @@ declare module "sap/ui/webc/main/Table" {
|
|
|
28059
29709
|
*
|
|
28060
29710
|
*
|
|
28061
29711
|
*
|
|
28062
|
-
* **
|
|
29712
|
+
* **Restrictions:** `growing="Scroll"` is not supported for Internet Explorer, and the component will fallback
|
|
28063
29713
|
* to `growing="Button"`.
|
|
28064
29714
|
*
|
|
28065
29715
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
@@ -28181,7 +29831,7 @@ declare module "sap/ui/webc/main/Table" {
|
|
|
28181
29831
|
* Determines whether the column headers remain fixed at the top of the page during vertical scrolling as
|
|
28182
29832
|
* long as the Web Component is in the viewport.
|
|
28183
29833
|
*
|
|
28184
|
-
* **
|
|
29834
|
+
* **Restrictions:**
|
|
28185
29835
|
* - Browsers that do not support this feature:
|
|
28186
29836
|
* Internet Explorer
|
|
28187
29837
|
* - Microsoft Edge lower than version 41 (EdgeHTML 16)
|
|
@@ -28245,7 +29895,7 @@ declare module "sap/ui/webc/main/Table" {
|
|
|
28245
29895
|
*
|
|
28246
29896
|
*
|
|
28247
29897
|
*
|
|
28248
|
-
* **
|
|
29898
|
+
* **Restrictions:** `growing="Scroll"` is not supported for Internet Explorer, and the component will fallback
|
|
28249
29899
|
* to `growing="Button"`.
|
|
28250
29900
|
*/
|
|
28251
29901
|
growing?: TableGrowingMode | PropertyBindingInfo;
|
|
@@ -28299,7 +29949,7 @@ declare module "sap/ui/webc/main/Table" {
|
|
|
28299
29949
|
* Determines whether the column headers remain fixed at the top of the page during vertical scrolling as
|
|
28300
29950
|
* long as the Web Component is in the viewport.
|
|
28301
29951
|
*
|
|
28302
|
-
* **
|
|
29952
|
+
* **Restrictions:**
|
|
28303
29953
|
* - Browsers that do not support this feature:
|
|
28304
29954
|
* Internet Explorer
|
|
28305
29955
|
* - Microsoft Edge lower than version 41 (EdgeHTML 16)
|
|
@@ -29232,9 +30882,11 @@ declare module "sap/ui/webc/main/TextArea" {
|
|
|
29232
30882
|
$WebComponentSettings,
|
|
29233
30883
|
} from "sap/ui/webc/common/WebComponent";
|
|
29234
30884
|
|
|
29235
|
-
import
|
|
30885
|
+
import { ID, CSSSize, ValueState } from "sap/ui/core/library";
|
|
29236
30886
|
|
|
29237
|
-
import
|
|
30887
|
+
import Control from "sap/ui/core/Control";
|
|
30888
|
+
|
|
30889
|
+
import Event from "sap/ui/base/Event";
|
|
29238
30890
|
|
|
29239
30891
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
29240
30892
|
|
|
@@ -29315,6 +30967,15 @@ declare module "sap/ui/webc/main/TextArea" {
|
|
|
29315
30967
|
* Returns a metadata object for class sap.ui.webc.main.TextArea.
|
|
29316
30968
|
*/
|
|
29317
30969
|
static getMetadata(): WebComponentMetadata;
|
|
30970
|
+
/**
|
|
30971
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
30972
|
+
*/
|
|
30973
|
+
addAriaLabelledBy(
|
|
30974
|
+
/**
|
|
30975
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
30976
|
+
*/
|
|
30977
|
+
vAriaLabelledBy: ID | Control
|
|
30978
|
+
): this;
|
|
29318
30979
|
/**
|
|
29319
30980
|
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.webc.main.TextArea`.
|
|
29320
30981
|
*
|
|
@@ -29452,13 +31113,10 @@ declare module "sap/ui/webc/main/TextArea" {
|
|
|
29452
31113
|
*/
|
|
29453
31114
|
getAccessibleName(): string;
|
|
29454
31115
|
/**
|
|
29455
|
-
*
|
|
29456
|
-
*
|
|
29457
|
-
* Receives id(or many ids) of the elements that label the textarea.
|
|
29458
|
-
*
|
|
29459
|
-
* Default value is `empty string`.
|
|
31116
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
31117
|
+
* ariaLabelledBy}.
|
|
29460
31118
|
*/
|
|
29461
|
-
|
|
31119
|
+
getAriaLabelledBy(): ID[];
|
|
29462
31120
|
/**
|
|
29463
31121
|
* Gets current value of property {@link #getDisabled disabled}.
|
|
29464
31122
|
*
|
|
@@ -29608,6 +31266,19 @@ declare module "sap/ui/webc/main/TextArea" {
|
|
|
29608
31266
|
* Defines the width of the control
|
|
29609
31267
|
*/
|
|
29610
31268
|
getWidth(): CSSSize;
|
|
31269
|
+
/**
|
|
31270
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
31271
|
+
*/
|
|
31272
|
+
removeAllAriaLabelledBy(): ID[];
|
|
31273
|
+
/**
|
|
31274
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
31275
|
+
*/
|
|
31276
|
+
removeAriaLabelledBy(
|
|
31277
|
+
/**
|
|
31278
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
31279
|
+
*/
|
|
31280
|
+
vAriaLabelledBy: int | ID | Control
|
|
31281
|
+
): ID;
|
|
29611
31282
|
/**
|
|
29612
31283
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
29613
31284
|
*
|
|
@@ -29621,21 +31292,6 @@ declare module "sap/ui/webc/main/TextArea" {
|
|
|
29621
31292
|
*/
|
|
29622
31293
|
sAccessibleName: string
|
|
29623
31294
|
): this;
|
|
29624
|
-
/**
|
|
29625
|
-
* Sets a new value for property {@link #getAccessibleNameRef accessibleNameRef}.
|
|
29626
|
-
*
|
|
29627
|
-
* Receives id(or many ids) of the elements that label the textarea.
|
|
29628
|
-
*
|
|
29629
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
29630
|
-
*
|
|
29631
|
-
* Default value is `empty string`.
|
|
29632
|
-
*/
|
|
29633
|
-
setAccessibleNameRef(
|
|
29634
|
-
/**
|
|
29635
|
-
* New value for property `accessibleNameRef`
|
|
29636
|
-
*/
|
|
29637
|
-
sAccessibleNameRef?: string
|
|
29638
|
-
): this;
|
|
29639
31295
|
/**
|
|
29640
31296
|
* Sets a new value for property {@link #getDisabled disabled}.
|
|
29641
31297
|
*
|
|
@@ -29898,11 +31554,6 @@ declare module "sap/ui/webc/main/TextArea" {
|
|
|
29898
31554
|
*/
|
|
29899
31555
|
accessibleName?: string | PropertyBindingInfo;
|
|
29900
31556
|
|
|
29901
|
-
/**
|
|
29902
|
-
* Receives id(or many ids) of the elements that label the textarea.
|
|
29903
|
-
*/
|
|
29904
|
-
accessibleNameRef?: string | PropertyBindingInfo;
|
|
29905
|
-
|
|
29906
31557
|
/**
|
|
29907
31558
|
* Indicates whether the user can interact with the component or not.
|
|
29908
31559
|
*
|
|
@@ -30013,6 +31664,11 @@ declare module "sap/ui/webc/main/TextArea" {
|
|
|
30013
31664
|
*/
|
|
30014
31665
|
width?: CSSSize | PropertyBindingInfo;
|
|
30015
31666
|
|
|
31667
|
+
/**
|
|
31668
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
31669
|
+
*/
|
|
31670
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
31671
|
+
|
|
30016
31672
|
/**
|
|
30017
31673
|
* Fired when the text has changed and the focus leaves the component.
|
|
30018
31674
|
*/
|
|
@@ -31099,14 +32755,16 @@ declare module "sap/ui/webc/main/ToggleButton" {
|
|
|
31099
32755
|
$WebComponentSettings,
|
|
31100
32756
|
} from "sap/ui/webc/common/WebComponent";
|
|
31101
32757
|
|
|
32758
|
+
import { ID, CSSSize } from "sap/ui/core/library";
|
|
32759
|
+
|
|
32760
|
+
import Control from "sap/ui/core/Control";
|
|
32761
|
+
|
|
31102
32762
|
import Event from "sap/ui/base/Event";
|
|
31103
32763
|
|
|
31104
32764
|
import { ButtonDesign } from "sap/ui/webc/main/library";
|
|
31105
32765
|
|
|
31106
32766
|
import WebComponentMetadata from "sap/ui/webc/common/WebComponentMetadata";
|
|
31107
32767
|
|
|
31108
|
-
import { CSSSize } from "sap/ui/core/library";
|
|
31109
|
-
|
|
31110
32768
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
31111
32769
|
|
|
31112
32770
|
/**
|
|
@@ -31180,6 +32838,15 @@ declare module "sap/ui/webc/main/ToggleButton" {
|
|
|
31180
32838
|
* Returns a metadata object for class sap.ui.webc.main.ToggleButton.
|
|
31181
32839
|
*/
|
|
31182
32840
|
static getMetadata(): WebComponentMetadata;
|
|
32841
|
+
/**
|
|
32842
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
32843
|
+
*/
|
|
32844
|
+
addAriaLabelledBy(
|
|
32845
|
+
/**
|
|
32846
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
32847
|
+
*/
|
|
32848
|
+
vAriaLabelledBy: ID | Control
|
|
32849
|
+
): this;
|
|
31183
32850
|
/**
|
|
31184
32851
|
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.webc.main.ToggleButton`.
|
|
31185
32852
|
*
|
|
@@ -31249,12 +32916,43 @@ declare module "sap/ui/webc/main/ToggleButton" {
|
|
|
31249
32916
|
*/
|
|
31250
32917
|
mParameters?: object
|
|
31251
32918
|
): this;
|
|
32919
|
+
/**
|
|
32920
|
+
* Gets current value of property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
32921
|
+
*
|
|
32922
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
32923
|
+
* depending on the use case.
|
|
32924
|
+
*
|
|
32925
|
+
* It supports the following fields:
|
|
32926
|
+
*
|
|
32927
|
+
*
|
|
32928
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
32929
|
+
* or collapsed. Accepts the following string values:
|
|
32930
|
+
* `true`
|
|
32931
|
+
* - `false`
|
|
32932
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
32933
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
32934
|
+
* `Dialog`
|
|
32935
|
+
* - `Grid`
|
|
32936
|
+
* - `ListBox`
|
|
32937
|
+
* - `Menu`
|
|
32938
|
+
* - `Tree`
|
|
32939
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
32940
|
+
* button element. Accepts a string value.
|
|
32941
|
+
*
|
|
32942
|
+
* Default value is `{}`.
|
|
32943
|
+
*/
|
|
32944
|
+
getAccessibilityAttributes(): object;
|
|
31252
32945
|
/**
|
|
31253
32946
|
* Gets current value of property {@link #getAccessibleName accessibleName}.
|
|
31254
32947
|
*
|
|
31255
32948
|
* Sets the accessible aria name of the component.
|
|
31256
32949
|
*/
|
|
31257
32950
|
getAccessibleName(): string;
|
|
32951
|
+
/**
|
|
32952
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
32953
|
+
* ariaLabelledBy}.
|
|
32954
|
+
*/
|
|
32955
|
+
getAriaLabelledBy(): ID[];
|
|
31258
32956
|
/**
|
|
31259
32957
|
* Gets current value of property {@link #getDesign design}.
|
|
31260
32958
|
*
|
|
@@ -31333,6 +33031,52 @@ declare module "sap/ui/webc/main/ToggleButton" {
|
|
|
31333
33031
|
* Defines the width of the control
|
|
31334
33032
|
*/
|
|
31335
33033
|
getWidth(): CSSSize;
|
|
33034
|
+
/**
|
|
33035
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
33036
|
+
*/
|
|
33037
|
+
removeAllAriaLabelledBy(): ID[];
|
|
33038
|
+
/**
|
|
33039
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
33040
|
+
*/
|
|
33041
|
+
removeAriaLabelledBy(
|
|
33042
|
+
/**
|
|
33043
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
33044
|
+
*/
|
|
33045
|
+
vAriaLabelledBy: int | ID | Control
|
|
33046
|
+
): ID;
|
|
33047
|
+
/**
|
|
33048
|
+
* Sets a new value for property {@link #getAccessibilityAttributes accessibilityAttributes}.
|
|
33049
|
+
*
|
|
33050
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
33051
|
+
* depending on the use case.
|
|
33052
|
+
*
|
|
33053
|
+
* It supports the following fields:
|
|
33054
|
+
*
|
|
33055
|
+
*
|
|
33056
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
33057
|
+
* or collapsed. Accepts the following string values:
|
|
33058
|
+
* `true`
|
|
33059
|
+
* - `false`
|
|
33060
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
33061
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
33062
|
+
* `Dialog`
|
|
33063
|
+
* - `Grid`
|
|
33064
|
+
* - `ListBox`
|
|
33065
|
+
* - `Menu`
|
|
33066
|
+
* - `Tree`
|
|
33067
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
33068
|
+
* button element. Accepts a string value.
|
|
33069
|
+
*
|
|
33070
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
33071
|
+
*
|
|
33072
|
+
* Default value is `{}`.
|
|
33073
|
+
*/
|
|
33074
|
+
setAccessibilityAttributes(
|
|
33075
|
+
/**
|
|
33076
|
+
* New value for property `accessibilityAttributes`
|
|
33077
|
+
*/
|
|
33078
|
+
oAccessibilityAttributes?: object
|
|
33079
|
+
): this;
|
|
31336
33080
|
/**
|
|
31337
33081
|
* Sets a new value for property {@link #getAccessibleName accessibleName}.
|
|
31338
33082
|
*
|
|
@@ -31483,6 +33227,29 @@ declare module "sap/ui/webc/main/ToggleButton" {
|
|
|
31483
33227
|
}
|
|
31484
33228
|
|
|
31485
33229
|
export interface $ToggleButtonSettings extends $WebComponentSettings {
|
|
33230
|
+
/**
|
|
33231
|
+
* An object of strings that defines several additional accessibility attribute values for customization
|
|
33232
|
+
* depending on the use case.
|
|
33233
|
+
*
|
|
33234
|
+
* It supports the following fields:
|
|
33235
|
+
*
|
|
33236
|
+
*
|
|
33237
|
+
* - `expanded`: Indicates whether the button, or another grouping element it controls, is currently expanded
|
|
33238
|
+
* or collapsed. Accepts the following string values:
|
|
33239
|
+
* `true`
|
|
33240
|
+
* - `false`
|
|
33241
|
+
* - `hasPopup`: Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
33242
|
+
* that can be triggered by the button. Accepts the following string values:
|
|
33243
|
+
* `Dialog`
|
|
33244
|
+
* - `Grid`
|
|
33245
|
+
* - `ListBox`
|
|
33246
|
+
* - `Menu`
|
|
33247
|
+
* - `Tree`
|
|
33248
|
+
* - `controls`: Identifies the element (or elements) whose contents or presence are controlled by the
|
|
33249
|
+
* button element. Accepts a string value.
|
|
33250
|
+
*/
|
|
33251
|
+
accessibilityAttributes?: object | PropertyBindingInfo;
|
|
33252
|
+
|
|
31486
33253
|
/**
|
|
31487
33254
|
* Sets the accessible aria name of the component.
|
|
31488
33255
|
*/
|
|
@@ -31543,6 +33310,11 @@ declare module "sap/ui/webc/main/ToggleButton" {
|
|
|
31543
33310
|
*/
|
|
31544
33311
|
width?: CSSSize | PropertyBindingInfo;
|
|
31545
33312
|
|
|
33313
|
+
/**
|
|
33314
|
+
* Receives id(or many ids) of the controls that label this control.
|
|
33315
|
+
*/
|
|
33316
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
33317
|
+
|
|
31546
33318
|
/**
|
|
31547
33319
|
* Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
|
|
31548
33320
|
*
|
|
@@ -32908,6 +34680,23 @@ declare module "sap/ui/webc/main/TreeItem" {
|
|
|
32908
34680
|
* Default value is `empty string`.
|
|
32909
34681
|
*/
|
|
32910
34682
|
getIcon(): string;
|
|
34683
|
+
/**
|
|
34684
|
+
* Gets current value of property {@link #getIndeterminate indeterminate}.
|
|
34685
|
+
*
|
|
34686
|
+
* Defines whether the selection of a tree node is displayed as partially selected.
|
|
34687
|
+
*
|
|
34688
|
+
* **Note:** The indeterminate state can be set only programatically and can’t be achieved by user interaction,
|
|
34689
|
+
* meaning that the resulting visual state depends on the values of the `indeterminate` and `selected` properties:
|
|
34690
|
+
*
|
|
34691
|
+
* If a tree node has both `selected` and `indeterminate` set to `true`, it is displayed as partially
|
|
34692
|
+
* selected. If a tree node has `selected` set to `true` and `indeterminate` set to `false`, it is
|
|
34693
|
+
* displayed as selected. If a tree node has `selected` set to `false`, it is displayed as not selected
|
|
34694
|
+
* regardless of the value of the `indeterminate` property.
|
|
34695
|
+
* **Note:** This property takes effect only when the `sap.ui.webc.main.Tree` is in `MultiSelect` mode.
|
|
34696
|
+
*
|
|
34697
|
+
* Default value is `false`.
|
|
34698
|
+
*/
|
|
34699
|
+
getIndeterminate(): boolean;
|
|
32911
34700
|
/**
|
|
32912
34701
|
* Gets content of aggregation {@link #getItems items}.
|
|
32913
34702
|
*
|
|
@@ -33050,6 +34839,30 @@ declare module "sap/ui/webc/main/TreeItem" {
|
|
|
33050
34839
|
*/
|
|
33051
34840
|
sIcon?: string
|
|
33052
34841
|
): this;
|
|
34842
|
+
/**
|
|
34843
|
+
* Sets a new value for property {@link #getIndeterminate indeterminate}.
|
|
34844
|
+
*
|
|
34845
|
+
* Defines whether the selection of a tree node is displayed as partially selected.
|
|
34846
|
+
*
|
|
34847
|
+
* **Note:** The indeterminate state can be set only programatically and can’t be achieved by user interaction,
|
|
34848
|
+
* meaning that the resulting visual state depends on the values of the `indeterminate` and `selected` properties:
|
|
34849
|
+
*
|
|
34850
|
+
* If a tree node has both `selected` and `indeterminate` set to `true`, it is displayed as partially
|
|
34851
|
+
* selected. If a tree node has `selected` set to `true` and `indeterminate` set to `false`, it is
|
|
34852
|
+
* displayed as selected. If a tree node has `selected` set to `false`, it is displayed as not selected
|
|
34853
|
+
* regardless of the value of the `indeterminate` property.
|
|
34854
|
+
* **Note:** This property takes effect only when the `sap.ui.webc.main.Tree` is in `MultiSelect` mode.
|
|
34855
|
+
*
|
|
34856
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
34857
|
+
*
|
|
34858
|
+
* Default value is `false`.
|
|
34859
|
+
*/
|
|
34860
|
+
setIndeterminate(
|
|
34861
|
+
/**
|
|
34862
|
+
* New value for property `indeterminate`
|
|
34863
|
+
*/
|
|
34864
|
+
bIndeterminate?: boolean
|
|
34865
|
+
): this;
|
|
33053
34866
|
/**
|
|
33054
34867
|
* Sets a new value for property {@link #getSelected selected}.
|
|
33055
34868
|
*
|
|
@@ -33121,6 +34934,20 @@ declare module "sap/ui/webc/main/TreeItem" {
|
|
|
33121
34934
|
*/
|
|
33122
34935
|
icon?: string | PropertyBindingInfo;
|
|
33123
34936
|
|
|
34937
|
+
/**
|
|
34938
|
+
* Defines whether the selection of a tree node is displayed as partially selected.
|
|
34939
|
+
*
|
|
34940
|
+
* **Note:** The indeterminate state can be set only programatically and can’t be achieved by user interaction,
|
|
34941
|
+
* meaning that the resulting visual state depends on the values of the `indeterminate` and `selected` properties:
|
|
34942
|
+
*
|
|
34943
|
+
* If a tree node has both `selected` and `indeterminate` set to `true`, it is displayed as partially
|
|
34944
|
+
* selected. If a tree node has `selected` set to `true` and `indeterminate` set to `false`, it is
|
|
34945
|
+
* displayed as selected. If a tree node has `selected` set to `false`, it is displayed as not selected
|
|
34946
|
+
* regardless of the value of the `indeterminate` property.
|
|
34947
|
+
* **Note:** This property takes effect only when the `sap.ui.webc.main.Tree` is in `MultiSelect` mode.
|
|
34948
|
+
*/
|
|
34949
|
+
indeterminate?: boolean | PropertyBindingInfo;
|
|
34950
|
+
|
|
33124
34951
|
/**
|
|
33125
34952
|
* Defines whether the tree node is selected by the user. Only has effect if the `sap.ui.webc.main.Tree`
|
|
33126
34953
|
* is in one of the following modes: in `SingleSelect`, `SingleSelectBegin`, `SingleSelectEnd` and `MultiSelect`.
|
|
@@ -33239,6 +35066,8 @@ declare namespace sap {
|
|
|
33239
35066
|
|
|
33240
35067
|
"sap/ui/webc/main/Slider": undefined;
|
|
33241
35068
|
|
|
35069
|
+
"sap/ui/webc/main/SplitButton": undefined;
|
|
35070
|
+
|
|
33242
35071
|
"sap/ui/webc/main/StandardListItem": undefined;
|
|
33243
35072
|
|
|
33244
35073
|
"sap/ui/webc/main/StepInput": undefined;
|