@openui5/types 1.119.0 → 1.120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.119.0
1
+ // For Library Version: 1.120.0
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1053,14 +1053,6 @@ declare module "sap/ui/webc/fiori/Bar" {
1053
1053
  *
1054
1054
  * Defines the component's design.
1055
1055
  *
1056
- *
1057
- *
1058
- * **Note:** Available options are:
1059
- * - `Header`
1060
- * - `Subheader`
1061
- * - `Footer`
1062
- * - `FloatingFooter`
1063
- *
1064
1056
  * Default value is `Header`.
1065
1057
  *
1066
1058
  * @returns Value of property `design`
@@ -1069,19 +1061,19 @@ declare module "sap/ui/webc/fiori/Bar" {
1069
1061
  /**
1070
1062
  * Gets content of aggregation {@link #getEndContent endContent}.
1071
1063
  *
1072
- * Defines the content at the end of the bar
1064
+ * Defines the content at the end of the bar.
1073
1065
  */
1074
1066
  getEndContent(): Control[];
1075
1067
  /**
1076
1068
  * Gets content of aggregation {@link #getMiddleContent middleContent}.
1077
1069
  *
1078
- * Defines the content in the middle of the bar
1070
+ * Defines the content in the middle of the bar.
1079
1071
  */
1080
1072
  getMiddleContent(): Control[];
1081
1073
  /**
1082
1074
  * Gets content of aggregation {@link #getStartContent startContent}.
1083
1075
  *
1084
- * Defines the content at the start of the bar
1076
+ * Defines the content at the start of the bar.
1085
1077
  */
1086
1078
  getStartContent(): Control[];
1087
1079
  /**
@@ -1241,14 +1233,6 @@ declare module "sap/ui/webc/fiori/Bar" {
1241
1233
  *
1242
1234
  * Defines the component's design.
1243
1235
  *
1244
- *
1245
- *
1246
- * **Note:** Available options are:
1247
- * - `Header`
1248
- * - `Subheader`
1249
- * - `Footer`
1250
- * - `FloatingFooter`
1251
- *
1252
1236
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1253
1237
  *
1254
1238
  * Default value is `Header`.
@@ -1281,14 +1265,6 @@ declare module "sap/ui/webc/fiori/Bar" {
1281
1265
  export interface $BarSettings extends $WebComponentSettings {
1282
1266
  /**
1283
1267
  * Defines the component's design.
1284
- *
1285
- *
1286
- *
1287
- * **Note:** Available options are:
1288
- * - `Header`
1289
- * - `Subheader`
1290
- * - `Footer`
1291
- * - `FloatingFooter`
1292
1268
  */
1293
1269
  design?:
1294
1270
  | (BarDesign | keyof typeof BarDesign)
@@ -1301,12 +1277,12 @@ declare module "sap/ui/webc/fiori/Bar" {
1301
1277
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
1302
1278
 
1303
1279
  /**
1304
- * Defines the content at the end of the bar
1280
+ * Defines the content at the end of the bar.
1305
1281
  */
1306
1282
  endContent?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
1307
1283
 
1308
1284
  /**
1309
- * Defines the content in the middle of the bar
1285
+ * Defines the content in the middle of the bar.
1310
1286
  */
1311
1287
  middleContent?:
1312
1288
  | Control[]
@@ -1315,7 +1291,7 @@ declare module "sap/ui/webc/fiori/Bar" {
1315
1291
  | `{${string}}`;
1316
1292
 
1317
1293
  /**
1318
- * Defines the content at the start of the bar
1294
+ * Defines the content at the start of the bar.
1319
1295
  */
1320
1296
  startContent?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
1321
1297
  }
@@ -4987,15 +4963,6 @@ declare module "sap/ui/webc/fiori/NotificationAction" {
4987
4963
  *
4988
4964
  * Defines the action design.
4989
4965
  *
4990
- *
4991
- *
4992
- * **Note:**
4993
- * - `Default`
4994
- * - `Emphasized`
4995
- * - `Positive`
4996
- * - `Negative`
4997
- * - `Transparent`
4998
- *
4999
4966
  * Default value is `Transparent`.
5000
4967
  *
5001
4968
  * @returns Value of property `design`
@@ -5040,15 +5007,6 @@ declare module "sap/ui/webc/fiori/NotificationAction" {
5040
5007
  *
5041
5008
  * Defines the action design.
5042
5009
  *
5043
- *
5044
- *
5045
- * **Note:**
5046
- * - `Default`
5047
- * - `Emphasized`
5048
- * - `Positive`
5049
- * - `Negative`
5050
- * - `Transparent`
5051
- *
5052
5010
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5053
5011
  *
5054
5012
  * Default value is `Transparent`.
@@ -5121,15 +5079,6 @@ declare module "sap/ui/webc/fiori/NotificationAction" {
5121
5079
  export interface $NotificationActionSettings extends $WebComponentSettings {
5122
5080
  /**
5123
5081
  * Defines the action design.
5124
- *
5125
- *
5126
- *
5127
- * **Note:**
5128
- * - `Default`
5129
- * - `Emphasized`
5130
- * - `Positive`
5131
- * - `Negative`
5132
- * - `Transparent`
5133
5082
  */
5134
5083
  design?:
5135
5084
  | (ButtonDesign | keyof typeof ButtonDesign)
@@ -5520,11 +5469,7 @@ declare module "sap/ui/webc/fiori/NotificationListGroupItem" {
5520
5469
  /**
5521
5470
  * Gets current value of property {@link #getPriority priority}.
5522
5471
  *
5523
- * Defines the `priority` of the item. Available options are:
5524
- * - `None`
5525
- * - `Low`
5526
- * - `Medium`
5527
- * - `High`
5472
+ * Defines the `priority` of the item.
5528
5473
  *
5529
5474
  * Default value is `None`.
5530
5475
  *
@@ -5543,6 +5488,16 @@ declare module "sap/ui/webc/fiori/NotificationListGroupItem" {
5543
5488
  * @returns Value of property `read`
5544
5489
  */
5545
5490
  getRead(): boolean;
5491
+ /**
5492
+ * Gets current value of property {@link #getSelected selected}.
5493
+ *
5494
+ * Defines the selected state of the `ListItem`.
5495
+ *
5496
+ * Default value is `false`.
5497
+ *
5498
+ * @returns Value of property `selected`
5499
+ */
5500
+ getSelected(): boolean;
5546
5501
  /**
5547
5502
  * Gets current value of property {@link #getShowClose showClose}.
5548
5503
  *
@@ -5723,11 +5678,7 @@ declare module "sap/ui/webc/fiori/NotificationListGroupItem" {
5723
5678
  /**
5724
5679
  * Sets a new value for property {@link #getPriority priority}.
5725
5680
  *
5726
- * Defines the `priority` of the item. Available options are:
5727
- * - `None`
5728
- * - `Low`
5729
- * - `Medium`
5730
- * - `High`
5681
+ * Defines the `priority` of the item.
5731
5682
  *
5732
5683
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5733
5684
  *
@@ -5760,6 +5711,23 @@ declare module "sap/ui/webc/fiori/NotificationListGroupItem" {
5760
5711
  */
5761
5712
  bRead?: boolean
5762
5713
  ): this;
5714
+ /**
5715
+ * Sets a new value for property {@link #getSelected selected}.
5716
+ *
5717
+ * Defines the selected state of the `ListItem`.
5718
+ *
5719
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5720
+ *
5721
+ * Default value is `false`.
5722
+ *
5723
+ * @returns Reference to `this` in order to allow method chaining
5724
+ */
5725
+ setSelected(
5726
+ /**
5727
+ * New value for property `selected`
5728
+ */
5729
+ bSelected?: boolean
5730
+ ): this;
5763
5731
  /**
5764
5732
  * Sets a new value for property {@link #getShowClose showClose}.
5765
5733
  *
@@ -5831,11 +5799,7 @@ declare module "sap/ui/webc/fiori/NotificationListGroupItem" {
5831
5799
  collapsed?: boolean | PropertyBindingInfo | `{${string}}`;
5832
5800
 
5833
5801
  /**
5834
- * Defines the `priority` of the item. Available options are:
5835
- * - `None`
5836
- * - `Low`
5837
- * - `Medium`
5838
- * - `High`
5802
+ * Defines the `priority` of the item.
5839
5803
  */
5840
5804
  priority?:
5841
5805
  | (Priority | keyof typeof Priority)
@@ -5849,6 +5813,11 @@ declare module "sap/ui/webc/fiori/NotificationListGroupItem" {
5849
5813
  */
5850
5814
  read?: boolean | PropertyBindingInfo | `{${string}}`;
5851
5815
 
5816
+ /**
5817
+ * Defines the selected state of the `ListItem`.
5818
+ */
5819
+ selected?: boolean | PropertyBindingInfo | `{${string}}`;
5820
+
5852
5821
  /**
5853
5822
  * Defines if the `close` button would be displayed.
5854
5823
  */
@@ -6214,11 +6183,7 @@ declare module "sap/ui/webc/fiori/NotificationListItem" {
6214
6183
  /**
6215
6184
  * Gets current value of property {@link #getPriority priority}.
6216
6185
  *
6217
- * Defines the `priority` of the item. Available options are:
6218
- * - `None`
6219
- * - `Low`
6220
- * - `Medium`
6221
- * - `High`
6186
+ * Defines the `priority` of the item.
6222
6187
  *
6223
6188
  * Default value is `None`.
6224
6189
  *
@@ -6237,6 +6202,16 @@ declare module "sap/ui/webc/fiori/NotificationListItem" {
6237
6202
  * @returns Value of property `read`
6238
6203
  */
6239
6204
  getRead(): boolean;
6205
+ /**
6206
+ * Gets current value of property {@link #getSelected selected}.
6207
+ *
6208
+ * Defines the selected state of the `ListItem`.
6209
+ *
6210
+ * Default value is `false`.
6211
+ *
6212
+ * @returns Value of property `selected`
6213
+ */
6214
+ getSelected(): boolean;
6240
6215
  /**
6241
6216
  * Gets current value of property {@link #getShowClose showClose}.
6242
6217
  *
@@ -6432,11 +6407,7 @@ declare module "sap/ui/webc/fiori/NotificationListItem" {
6432
6407
  /**
6433
6408
  * Sets a new value for property {@link #getPriority priority}.
6434
6409
  *
6435
- * Defines the `priority` of the item. Available options are:
6436
- * - `None`
6437
- * - `Low`
6438
- * - `Medium`
6439
- * - `High`
6410
+ * Defines the `priority` of the item.
6440
6411
  *
6441
6412
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
6442
6413
  *
@@ -6469,6 +6440,23 @@ declare module "sap/ui/webc/fiori/NotificationListItem" {
6469
6440
  */
6470
6441
  bRead?: boolean
6471
6442
  ): this;
6443
+ /**
6444
+ * Sets a new value for property {@link #getSelected selected}.
6445
+ *
6446
+ * Defines the selected state of the `ListItem`.
6447
+ *
6448
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
6449
+ *
6450
+ * Default value is `false`.
6451
+ *
6452
+ * @returns Reference to `this` in order to allow method chaining
6453
+ */
6454
+ setSelected(
6455
+ /**
6456
+ * New value for property `selected`
6457
+ */
6458
+ bSelected?: boolean
6459
+ ): this;
6472
6460
  /**
6473
6461
  * Sets a new value for property {@link #getShowClose showClose}.
6474
6462
  *
@@ -6543,11 +6531,7 @@ declare module "sap/ui/webc/fiori/NotificationListItem" {
6543
6531
  description?: string | PropertyBindingInfo;
6544
6532
 
6545
6533
  /**
6546
- * Defines the `priority` of the item. Available options are:
6547
- * - `None`
6548
- * - `Low`
6549
- * - `Medium`
6550
- * - `High`
6534
+ * Defines the `priority` of the item.
6551
6535
  */
6552
6536
  priority?:
6553
6537
  | (Priority | keyof typeof Priority)
@@ -6561,6 +6545,11 @@ declare module "sap/ui/webc/fiori/NotificationListItem" {
6561
6545
  */
6562
6546
  read?: boolean | PropertyBindingInfo | `{${string}}`;
6563
6547
 
6548
+ /**
6549
+ * Defines the selected state of the `ListItem`.
6550
+ */
6551
+ selected?: boolean | PropertyBindingInfo | `{${string}}`;
6552
+
6564
6553
  /**
6565
6554
  * Defines if the `close` button would be displayed.
6566
6555
  */
@@ -6667,6 +6656,13 @@ declare module "sap/ui/webc/fiori/Page" {
6667
6656
  * the intended design you have to make sure that there is enough space for the `sap.ui.webc.fiori.Page`
6668
6657
  * to be rendered. **Note:** In order for the `sap.ui.webc.fiori.Page` to be displayed, the parent element
6669
6658
  * should have fixed height.
6659
+ *
6660
+ * CSS Shadow Parts:
6661
+ *
6662
+ * {@link https://developer.mozilla.org/en-US/docs/Web/CSS/::part CSS Shadow Parts} allow developers to
6663
+ * style elements inside the Shadow DOM.
6664
+ * The `sap.ui.webc.fiori.Page` exposes the following CSS Shadow Parts:
6665
+ * - content - Used to style the content section of the component
6670
6666
  */
6671
6667
  export default class Page extends WebComponent {
6672
6668
  /**
@@ -6766,10 +6762,7 @@ declare module "sap/ui/webc/fiori/Page" {
6766
6762
  * **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color
6767
6763
  * contrast.
6768
6764
  *
6769
- * Available options are:
6770
- * - `Solid` (default)
6771
- * - `Transparent`
6772
- * - `List`
6765
+ *
6773
6766
  *
6774
6767
  * Default value is `Solid`.
6775
6768
  *
@@ -6901,10 +6894,7 @@ declare module "sap/ui/webc/fiori/Page" {
6901
6894
  * **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color
6902
6895
  * contrast.
6903
6896
  *
6904
- * Available options are:
6905
- * - `Solid` (default)
6906
- * - `Transparent`
6907
- * - `List`
6897
+ *
6908
6898
  *
6909
6899
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
6910
6900
  *
@@ -7034,11 +7024,6 @@ declare module "sap/ui/webc/fiori/Page" {
7034
7024
  *
7035
7025
  * **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color
7036
7026
  * contrast.
7037
- *
7038
- * Available options are:
7039
- * - `Solid` (default)
7040
- * - `Transparent`
7041
- * - `List`
7042
7027
  */
7043
7028
  backgroundDesign?:
7044
7029
  | (PageBackgroundDesign | keyof typeof PageBackgroundDesign)
@@ -9264,6 +9249,8 @@ declare module "sap/ui/webc/fiori/ShellBarItem" {
9264
9249
  *
9265
9250
  * Defines the item text.
9266
9251
  *
9252
+ * **Note:** The text is only displayed inside the overflow popover list view.
9253
+ *
9267
9254
  * Default value is `empty string`.
9268
9255
  *
9269
9256
  * @returns Value of property `text`
@@ -9308,6 +9295,8 @@ declare module "sap/ui/webc/fiori/ShellBarItem" {
9308
9295
  *
9309
9296
  * Defines the item text.
9310
9297
  *
9298
+ * **Note:** The text is only displayed inside the overflow popover list view.
9299
+ *
9311
9300
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
9312
9301
  *
9313
9302
  * Default value is `empty string`.
@@ -9335,6 +9324,8 @@ declare module "sap/ui/webc/fiori/ShellBarItem" {
9335
9324
 
9336
9325
  /**
9337
9326
  * Defines the item text.
9327
+ *
9328
+ * **Note:** The text is only displayed inside the overflow popover list view.
9338
9329
  */
9339
9330
  text?: string | PropertyBindingInfo;
9340
9331
 
@@ -11676,10 +11667,7 @@ declare module "sap/ui/webc/fiori/UploadCollection" {
11676
11667
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11677
11668
  * otherwise it will be bound to this `sap.ui.webc.fiori.UploadCollection` itself.
11678
11669
  *
11679
- * Fired when the Delete button of any item is pressed.
11680
- *
11681
- * **Note:** A Delete button is displayed on each item, when the `sap.ui.webc.fiori.UploadCollection` `mode`
11682
- * property is set to `Delete`.
11670
+ * Fired when the delete button of any item is pressed.
11683
11671
  *
11684
11672
  * @returns Reference to `this` in order to allow method chaining
11685
11673
  */
@@ -11705,10 +11693,7 @@ declare module "sap/ui/webc/fiori/UploadCollection" {
11705
11693
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11706
11694
  * otherwise it will be bound to this `sap.ui.webc.fiori.UploadCollection` itself.
11707
11695
  *
11708
- * Fired when the Delete button of any item is pressed.
11709
- *
11710
- * **Note:** A Delete button is displayed on each item, when the `sap.ui.webc.fiori.UploadCollection` `mode`
11711
- * property is set to `Delete`.
11696
+ * Fired when the delete button of any item is pressed.
11712
11697
  *
11713
11698
  * @returns Reference to `this` in order to allow method chaining
11714
11699
  */
@@ -11929,12 +11914,8 @@ declare module "sap/ui/webc/fiori/UploadCollection" {
11929
11914
  * Defines the mode of the `sap.ui.webc.fiori.UploadCollection`.
11930
11915
  *
11931
11916
  *
11932
- *
11933
- * **Note:**
11934
- * - `None`
11935
- * - `SingleSelect`
11936
- * - `MultiSelect`
11937
- * - `Delete`
11917
+ * **Note:** Mode "Delete" has no effect. The delete button is controlled by the `hideDeleteButton` property
11918
+ * of UploadCollectionItem
11938
11919
  *
11939
11920
  * Default value is `None`.
11940
11921
  *
@@ -12124,12 +12105,8 @@ declare module "sap/ui/webc/fiori/UploadCollection" {
12124
12105
  * Defines the mode of the `sap.ui.webc.fiori.UploadCollection`.
12125
12106
  *
12126
12107
  *
12127
- *
12128
- * **Note:**
12129
- * - `None`
12130
- * - `SingleSelect`
12131
- * - `MultiSelect`
12132
- * - `Delete`
12108
+ * **Note:** Mode "Delete" has no effect. The delete button is controlled by the `hideDeleteButton` property
12109
+ * of UploadCollectionItem
12133
12110
  *
12134
12111
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12135
12112
  *
@@ -12218,12 +12195,8 @@ declare module "sap/ui/webc/fiori/UploadCollection" {
12218
12195
  * Defines the mode of the `sap.ui.webc.fiori.UploadCollection`.
12219
12196
  *
12220
12197
  *
12221
- *
12222
- * **Note:**
12223
- * - `None`
12224
- * - `SingleSelect`
12225
- * - `MultiSelect`
12226
- * - `Delete`
12198
+ * **Note:** Mode "Delete" has no effect. The delete button is controlled by the `hideDeleteButton` property
12199
+ * of UploadCollectionItem
12227
12200
  */
12228
12201
  mode?:
12229
12202
  | (ListMode | keyof typeof ListMode)
@@ -12272,10 +12245,7 @@ declare module "sap/ui/webc/fiori/UploadCollection" {
12272
12245
  drop?: (oEvent: UploadCollection$DropEvent) => void;
12273
12246
 
12274
12247
  /**
12275
- * Fired when the Delete button of any item is pressed.
12276
- *
12277
- * **Note:** A Delete button is displayed on each item, when the `sap.ui.webc.fiori.UploadCollection` `mode`
12278
- * property is set to `Delete`.
12248
+ * Fired when the delete button of any item is pressed.
12279
12249
  */
12280
12250
  itemDelete?: (oEvent: UploadCollection$ItemDeleteEvent) => void;
12281
12251
 
@@ -12299,7 +12269,7 @@ declare module "sap/ui/webc/fiori/UploadCollection" {
12299
12269
 
12300
12270
  export interface UploadCollection$ItemDeleteEventParameters {
12301
12271
  /**
12302
- * The `sap.ui.webc.fiori.UploadCollectionItem` which was renamed.
12272
+ * The `sap.ui.webc.fiori.UploadCollectionItem` which was deleted.
12303
12273
  */
12304
12274
  item?: HTMLElement;
12305
12275
  }
@@ -12337,6 +12307,8 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12337
12307
 
12338
12308
  import Event from "sap/ui/base/Event";
12339
12309
 
12310
+ import { IButton, ListItemType } from "sap/ui/webc/main/library";
12311
+
12340
12312
  import WebComponentMetadata from "sap/ui/core/webc/WebComponentMetadata";
12341
12313
 
12342
12314
  import {
@@ -12425,6 +12397,53 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12425
12397
  */
12426
12398
  oContent: Control
12427
12399
  ): this;
12400
+ /**
12401
+ * Attaches event handler `fnFunction` to the {@link #event:detailClick detailClick} event of this `sap.ui.webc.fiori.UploadCollectionItem`.
12402
+ *
12403
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
12404
+ * otherwise it will be bound to this `sap.ui.webc.fiori.UploadCollectionItem` itself.
12405
+ *
12406
+ * Fired when the user clicks on the detail button when type is `Detail`.
12407
+ *
12408
+ * @returns Reference to `this` in order to allow method chaining
12409
+ */
12410
+ attachDetailClick(
12411
+ /**
12412
+ * An application-specific payload object that will be passed to the event handler along with the event
12413
+ * object when firing the event
12414
+ */
12415
+ oData: object,
12416
+ /**
12417
+ * The function to be called when the event occurs
12418
+ */
12419
+ fnFunction: (p1: Event) => void,
12420
+ /**
12421
+ * Context object to call the event handler with. Defaults to this `sap.ui.webc.fiori.UploadCollectionItem`
12422
+ * itself
12423
+ */
12424
+ oListener?: object
12425
+ ): this;
12426
+ /**
12427
+ * Attaches event handler `fnFunction` to the {@link #event:detailClick detailClick} event of this `sap.ui.webc.fiori.UploadCollectionItem`.
12428
+ *
12429
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
12430
+ * otherwise it will be bound to this `sap.ui.webc.fiori.UploadCollectionItem` itself.
12431
+ *
12432
+ * Fired when the user clicks on the detail button when type is `Detail`.
12433
+ *
12434
+ * @returns Reference to `this` in order to allow method chaining
12435
+ */
12436
+ attachDetailClick(
12437
+ /**
12438
+ * The function to be called when the event occurs
12439
+ */
12440
+ fnFunction: (p1: Event) => void,
12441
+ /**
12442
+ * Context object to call the event handler with. Defaults to this `sap.ui.webc.fiori.UploadCollectionItem`
12443
+ * itself
12444
+ */
12445
+ oListener?: object
12446
+ ): this;
12428
12447
  /**
12429
12448
  * Attaches event handler `fnFunction` to the {@link #event:fileNameClick fileNameClick} event of this `sap.ui.webc.fiori.UploadCollectionItem`.
12430
12449
  *
@@ -12637,12 +12656,35 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12637
12656
  * @returns Reference to `this` in order to allow method chaining
12638
12657
  */
12639
12658
  destroyContent(): this;
12659
+ /**
12660
+ * Destroys the deleteButton in the aggregation {@link #getDeleteButton deleteButton}.
12661
+ *
12662
+ * @returns Reference to `this` in order to allow method chaining
12663
+ */
12664
+ destroyDeleteButton(): this;
12640
12665
  /**
12641
12666
  * Destroys the thumbnail in the aggregation {@link #getThumbnail thumbnail}.
12642
12667
  *
12643
12668
  * @returns Reference to `this` in order to allow method chaining
12644
12669
  */
12645
12670
  destroyThumbnail(): this;
12671
+ /**
12672
+ * Detaches event handler `fnFunction` from the {@link #event:detailClick detailClick} event of this `sap.ui.webc.fiori.UploadCollectionItem`.
12673
+ *
12674
+ * The passed function and listener object must match the ones used for event registration.
12675
+ *
12676
+ * @returns Reference to `this` in order to allow method chaining
12677
+ */
12678
+ detachDetailClick(
12679
+ /**
12680
+ * The function to be called, when the event occurs
12681
+ */
12682
+ fnFunction: (p1: Event) => void,
12683
+ /**
12684
+ * Context object on which the given function had to be called
12685
+ */
12686
+ oListener?: object
12687
+ ): this;
12646
12688
  /**
12647
12689
  * Detaches event handler `fnFunction` from the {@link #event:fileNameClick fileNameClick} event of this
12648
12690
  * `sap.ui.webc.fiori.UploadCollectionItem`.
@@ -12712,6 +12754,19 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12712
12754
  */
12713
12755
  oListener?: object
12714
12756
  ): this;
12757
+ /**
12758
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
12759
+ *
12760
+ * Fires event {@link #event:detailClick detailClick} to attached listeners.
12761
+ *
12762
+ * @returns Reference to `this` in order to allow method chaining
12763
+ */
12764
+ fireDetailClick(
12765
+ /**
12766
+ * Parameters to pass along with the event
12767
+ */
12768
+ mParameters?: object
12769
+ ): this;
12715
12770
  /**
12716
12771
  * @ui5-protected Do not call from applications (only from related classes in the framework)
12717
12772
  *
@@ -12764,12 +12819,42 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12764
12819
  */
12765
12820
  mParameters?: object
12766
12821
  ): this;
12822
+ /**
12823
+ * Gets current value of property {@link #getAccessibilityAttributes accessibilityAttributes}.
12824
+ *
12825
+ * An object of strings that defines several additional accessibility attribute values for customization
12826
+ * depending on the use case.
12827
+ *
12828
+ * It supports the following fields:
12829
+ *
12830
+ *
12831
+ * - `ariaSetsize`: Defines the number of items in the current set of listitems or treeitems when not
12832
+ * all items in the set are present in the DOM. The value of each `aria-setsize` is an integer reflecting
12833
+ * number of items in the complete set. **Note: ** If the size of the entire set is unknown, set `aria-setsize="-1"`.
12834
+ *
12835
+ * - `ariaPosinset`: Defines an element's number or position in the current set of listitems or treeitems
12836
+ * when not all items are present in the DOM. The value of each `aria-posinset` is an integer greater than
12837
+ * or equal to 1, and less than or equal to the size of the set when that size is known.
12838
+ *
12839
+ * Default value is `{}`.
12840
+ *
12841
+ * @returns Value of property `accessibilityAttributes`
12842
+ */
12843
+ getAccessibilityAttributes(): object;
12767
12844
  /**
12768
12845
  * Gets content of aggregation {@link #getContent content}.
12769
12846
  *
12770
12847
  * Hold the description of the `sap.ui.webc.fiori.UploadCollectionItem`. Will be shown below the file name.
12771
12848
  */
12772
12849
  getContent(): Control[];
12850
+ /**
12851
+ * Gets content of aggregation {@link #getDeleteButton deleteButton}.
12852
+ *
12853
+ * Defines the delete button, displayed in "Delete" mode. **Note:** While the slot allows custom buttons,
12854
+ * to match design guidelines, please use the `sap.ui.webc.main.Button` component. **Note:** When the slot
12855
+ * is not present, a built-in delete button will be displayed.
12856
+ */
12857
+ getDeleteButton(): IButton;
12773
12858
  /**
12774
12859
  * Gets current value of property {@link #getDisableDeleteButton disableDeleteButton}.
12775
12860
  *
@@ -12808,6 +12893,17 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12808
12893
  * @returns Value of property `fileNameClickable`
12809
12894
  */
12810
12895
  getFileNameClickable(): boolean;
12896
+ /**
12897
+ * Gets current value of property {@link #getHideDeleteButton hideDeleteButton}.
12898
+ *
12899
+ * By default, the delete button will always be shown, regardless of the `sap.ui.webc.fiori.UploadCollection`'s
12900
+ * property `mode`. Setting this property to `true` will hide the delete button.
12901
+ *
12902
+ * Default value is `false`.
12903
+ *
12904
+ * @returns Value of property `hideDeleteButton`
12905
+ */
12906
+ getHideDeleteButton(): boolean;
12811
12907
  /**
12812
12908
  * Gets current value of property {@link #getHideRetryButton hideRetryButton}.
12813
12909
  *
@@ -12828,6 +12924,15 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12828
12924
  * @returns Value of property `hideTerminateButton`
12829
12925
  */
12830
12926
  getHideTerminateButton(): boolean;
12927
+ /**
12928
+ * Gets current value of property {@link #getNavigated navigated}.
12929
+ *
12930
+ * The navigated state of the list item. If set to `true`, a navigation indicator is displayed at the end
12931
+ * of the list item.
12932
+ *
12933
+ * @returns Value of property `navigated`
12934
+ */
12935
+ getNavigated(): boolean;
12831
12936
  /**
12832
12937
  * Gets current value of property {@link #getProgress progress}.
12833
12938
  *
@@ -12840,6 +12945,16 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12840
12945
  * @returns Value of property `progress`
12841
12946
  */
12842
12947
  getProgress(): int;
12948
+ /**
12949
+ * Gets current value of property {@link #getSelected selected}.
12950
+ *
12951
+ * Defines the selected state of the `ListItem`.
12952
+ *
12953
+ * Default value is `false`.
12954
+ *
12955
+ * @returns Value of property `selected`
12956
+ */
12957
+ getSelected(): boolean;
12843
12958
  /**
12844
12959
  * Gets content of aggregation {@link #getThumbnail thumbnail}.
12845
12960
  *
@@ -12848,6 +12963,20 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12848
12963
  * **Note:** Use `sap.ui.webc.main.Icon` or `img` for the intended design.
12849
12964
  */
12850
12965
  getThumbnail(): Control;
12966
+ /**
12967
+ * Gets current value of property {@link #getType type}.
12968
+ *
12969
+ * Defines the visual indication and behavior of the list items. Available options are `Active` (by default),
12970
+ * `Inactive`, `Detail` and `Navigation`.
12971
+ *
12972
+ * **Note:** When set to `Active` or `Navigation`, the item will provide visual response upon press and
12973
+ * hover, while with type `Inactive` and `Detail` - will not.
12974
+ *
12975
+ * Default value is `Active`.
12976
+ *
12977
+ * @returns Value of property `type`
12978
+ */
12979
+ getType(): ListItemType | keyof typeof ListItemType;
12851
12980
  /**
12852
12981
  * Gets current value of property {@link #getUploadState uploadState}.
12853
12982
  *
@@ -12908,6 +13037,46 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12908
13037
  */
12909
13038
  vContent: int | string | Control
12910
13039
  ): Control | null;
13040
+ /**
13041
+ * Sets a new value for property {@link #getAccessibilityAttributes accessibilityAttributes}.
13042
+ *
13043
+ * An object of strings that defines several additional accessibility attribute values for customization
13044
+ * depending on the use case.
13045
+ *
13046
+ * It supports the following fields:
13047
+ *
13048
+ *
13049
+ * - `ariaSetsize`: Defines the number of items in the current set of listitems or treeitems when not
13050
+ * all items in the set are present in the DOM. The value of each `aria-setsize` is an integer reflecting
13051
+ * number of items in the complete set. **Note: ** If the size of the entire set is unknown, set `aria-setsize="-1"`.
13052
+ *
13053
+ * - `ariaPosinset`: Defines an element's number or position in the current set of listitems or treeitems
13054
+ * when not all items are present in the DOM. The value of each `aria-posinset` is an integer greater than
13055
+ * or equal to 1, and less than or equal to the size of the set when that size is known.
13056
+ *
13057
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
13058
+ *
13059
+ * Default value is `{}`.
13060
+ *
13061
+ * @returns Reference to `this` in order to allow method chaining
13062
+ */
13063
+ setAccessibilityAttributes(
13064
+ /**
13065
+ * New value for property `accessibilityAttributes`
13066
+ */
13067
+ oAccessibilityAttributes?: object
13068
+ ): this;
13069
+ /**
13070
+ * Sets the aggregated {@link #getDeleteButton deleteButton}.
13071
+ *
13072
+ * @returns Reference to `this` in order to allow method chaining
13073
+ */
13074
+ setDeleteButton(
13075
+ /**
13076
+ * The deleteButton to set
13077
+ */
13078
+ oDeleteButton: IButton
13079
+ ): this;
12911
13080
  /**
12912
13081
  * Sets a new value for property {@link #getDisableDeleteButton disableDeleteButton}.
12913
13082
  *
@@ -12974,6 +13143,24 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
12974
13143
  */
12975
13144
  bFileNameClickable?: boolean
12976
13145
  ): this;
13146
+ /**
13147
+ * Sets a new value for property {@link #getHideDeleteButton hideDeleteButton}.
13148
+ *
13149
+ * By default, the delete button will always be shown, regardless of the `sap.ui.webc.fiori.UploadCollection`'s
13150
+ * property `mode`. Setting this property to `true` will hide the delete button.
13151
+ *
13152
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
13153
+ *
13154
+ * Default value is `false`.
13155
+ *
13156
+ * @returns Reference to `this` in order to allow method chaining
13157
+ */
13158
+ setHideDeleteButton(
13159
+ /**
13160
+ * New value for property `hideDeleteButton`
13161
+ */
13162
+ bHideDeleteButton?: boolean
13163
+ ): this;
12977
13164
  /**
12978
13165
  * Sets a new value for property {@link #getHideRetryButton hideRetryButton}.
12979
13166
  *
@@ -13008,6 +13195,22 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13008
13195
  */
13009
13196
  bHideTerminateButton?: boolean
13010
13197
  ): this;
13198
+ /**
13199
+ * Sets a new value for property {@link #getNavigated navigated}.
13200
+ *
13201
+ * The navigated state of the list item. If set to `true`, a navigation indicator is displayed at the end
13202
+ * of the list item.
13203
+ *
13204
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
13205
+ *
13206
+ * @returns Reference to `this` in order to allow method chaining
13207
+ */
13208
+ setNavigated(
13209
+ /**
13210
+ * New value for property `navigated`
13211
+ */
13212
+ bNavigated: boolean
13213
+ ): this;
13011
13214
  /**
13012
13215
  * Sets a new value for property {@link #getProgress progress}.
13013
13216
  *
@@ -13027,6 +13230,23 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13027
13230
  */
13028
13231
  iProgress?: int
13029
13232
  ): this;
13233
+ /**
13234
+ * Sets a new value for property {@link #getSelected selected}.
13235
+ *
13236
+ * Defines the selected state of the `ListItem`.
13237
+ *
13238
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
13239
+ *
13240
+ * Default value is `false`.
13241
+ *
13242
+ * @returns Reference to `this` in order to allow method chaining
13243
+ */
13244
+ setSelected(
13245
+ /**
13246
+ * New value for property `selected`
13247
+ */
13248
+ bSelected?: boolean
13249
+ ): this;
13030
13250
  /**
13031
13251
  * Sets the aggregated {@link #getThumbnail thumbnail}.
13032
13252
  *
@@ -13038,6 +13258,27 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13038
13258
  */
13039
13259
  oThumbnail: Control
13040
13260
  ): this;
13261
+ /**
13262
+ * Sets a new value for property {@link #getType type}.
13263
+ *
13264
+ * Defines the visual indication and behavior of the list items. Available options are `Active` (by default),
13265
+ * `Inactive`, `Detail` and `Navigation`.
13266
+ *
13267
+ * **Note:** When set to `Active` or `Navigation`, the item will provide visual response upon press and
13268
+ * hover, while with type `Inactive` and `Detail` - will not.
13269
+ *
13270
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
13271
+ *
13272
+ * Default value is `Active`.
13273
+ *
13274
+ * @returns Reference to `this` in order to allow method chaining
13275
+ */
13276
+ setType(
13277
+ /**
13278
+ * New value for property `type`
13279
+ */
13280
+ sType?: ListItemType | keyof typeof ListItemType
13281
+ ): this;
13041
13282
  /**
13042
13283
  * Sets a new value for property {@link #getUploadState uploadState}.
13043
13284
  *
@@ -13060,6 +13301,23 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13060
13301
  }
13061
13302
 
13062
13303
  export interface $UploadCollectionItemSettings extends $WebComponentSettings {
13304
+ /**
13305
+ * An object of strings that defines several additional accessibility attribute values for customization
13306
+ * depending on the use case.
13307
+ *
13308
+ * It supports the following fields:
13309
+ *
13310
+ *
13311
+ * - `ariaSetsize`: Defines the number of items in the current set of listitems or treeitems when not
13312
+ * all items in the set are present in the DOM. The value of each `aria-setsize` is an integer reflecting
13313
+ * number of items in the complete set. **Note: ** If the size of the entire set is unknown, set `aria-setsize="-1"`.
13314
+ *
13315
+ * - `ariaPosinset`: Defines an element's number or position in the current set of listitems or treeitems
13316
+ * when not all items are present in the DOM. The value of each `aria-posinset` is an integer greater than
13317
+ * or equal to 1, and less than or equal to the size of the set when that size is known.
13318
+ */
13319
+ accessibilityAttributes?: object | PropertyBindingInfo | `{${string}}`;
13320
+
13063
13321
  /**
13064
13322
  * Disables the delete button.
13065
13323
  */
@@ -13080,6 +13338,12 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13080
13338
  */
13081
13339
  fileNameClickable?: boolean | PropertyBindingInfo | `{${string}}`;
13082
13340
 
13341
+ /**
13342
+ * By default, the delete button will always be shown, regardless of the `sap.ui.webc.fiori.UploadCollection`'s
13343
+ * property `mode`. Setting this property to `true` will hide the delete button.
13344
+ */
13345
+ hideDeleteButton?: boolean | PropertyBindingInfo | `{${string}}`;
13346
+
13083
13347
  /**
13084
13348
  * Hides the retry button when `uploadState` property is `Error`.
13085
13349
  */
@@ -13090,6 +13354,12 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13090
13354
  */
13091
13355
  hideTerminateButton?: boolean | PropertyBindingInfo | `{${string}}`;
13092
13356
 
13357
+ /**
13358
+ * The navigated state of the list item. If set to `true`, a navigation indicator is displayed at the end
13359
+ * of the list item.
13360
+ */
13361
+ navigated?: boolean | PropertyBindingInfo | `{${string}}`;
13362
+
13093
13363
  /**
13094
13364
  * The upload progress in percentage.
13095
13365
  *
@@ -13097,6 +13367,23 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13097
13367
  */
13098
13368
  progress?: int | PropertyBindingInfo | `{${string}}`;
13099
13369
 
13370
+ /**
13371
+ * Defines the selected state of the `ListItem`.
13372
+ */
13373
+ selected?: boolean | PropertyBindingInfo | `{${string}}`;
13374
+
13375
+ /**
13376
+ * Defines the visual indication and behavior of the list items. Available options are `Active` (by default),
13377
+ * `Inactive`, `Detail` and `Navigation`.
13378
+ *
13379
+ * **Note:** When set to `Active` or `Navigation`, the item will provide visual response upon press and
13380
+ * hover, while with type `Inactive` and `Detail` - will not.
13381
+ */
13382
+ type?:
13383
+ | (ListItemType | keyof typeof ListItemType)
13384
+ | PropertyBindingInfo
13385
+ | `{${string}}`;
13386
+
13100
13387
  /**
13101
13388
  * If set to `Uploading` or `Error`, a progress indicator showing the `progress` is displayed. Also if set
13102
13389
  * to `Error`, a refresh button is shown. When this icon is pressed `retry` event is fired. If set to `Uploading`,
@@ -13112,6 +13399,13 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13112
13399
  */
13113
13400
  content?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
13114
13401
 
13402
+ /**
13403
+ * Defines the delete button, displayed in "Delete" mode. **Note:** While the slot allows custom buttons,
13404
+ * to match design guidelines, please use the `sap.ui.webc.main.Button` component. **Note:** When the slot
13405
+ * is not present, a built-in delete button will be displayed.
13406
+ */
13407
+ deleteButton?: IButton;
13408
+
13115
13409
  /**
13116
13410
  * A thumbnail, which will be shown in the beginning of the `sap.ui.webc.fiori.UploadCollectionItem`.
13117
13411
  *
@@ -13119,6 +13413,11 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13119
13413
  */
13120
13414
  thumbnail?: Control;
13121
13415
 
13416
+ /**
13417
+ * Fired when the user clicks on the detail button when type is `Detail`.
13418
+ */
13419
+ detailClick?: (oEvent: Event) => void;
13420
+
13122
13421
  /**
13123
13422
  * Fired when the file name is clicked.
13124
13423
  *
@@ -13149,6 +13448,13 @@ declare module "sap/ui/webc/fiori/UploadCollectionItem" {
13149
13448
  terminate?: (oEvent: Event) => void;
13150
13449
  }
13151
13450
 
13451
+ export interface UploadCollectionItem$DetailClickEventParameters {}
13452
+
13453
+ export type UploadCollectionItem$DetailClickEvent = Event<
13454
+ UploadCollectionItem$DetailClickEventParameters,
13455
+ UploadCollectionItem
13456
+ >;
13457
+
13152
13458
  export interface UploadCollectionItem$FileNameClickEventParameters {}
13153
13459
 
13154
13460
  export type UploadCollectionItem$FileNameClickEvent = Event<
@@ -13655,10 +13961,22 @@ declare module "sap/ui/webc/fiori/ViewSettingsDialog" {
13655
13961
  ): ISortItem | null;
13656
13962
  /**
13657
13963
  * Sets a JavaScript object, as settings to the `sap.ui.webc.fiori.ViewSettingsDialog`. This method can
13658
- * be used after the dialog is initially open, as the dialog need to set its initial settings. The `sap.ui.webc.fiori.ViewSettingsDialog`
13659
- * throws an event called "before-open", this can be used as trigger point. The object should have the following
13660
- * format: ` {sortOrder: "Ascending", sortBy: "Name", filters: [{"Filter 1": ["Some filter 1", "Some filter
13661
- * 2"]}, {"Filter 2": ["Some filter 4"]}]} `
13964
+ * be used after the dialog is initially open, as the dialog needs to set its initial settings.
13965
+ * The `sap.ui.webc.fiori.ViewSettingsDialog` throws an event called "before-open", which can be used as
13966
+ * a trigger point.
13967
+ * The object should have the following format:
13968
+ *
13969
+ * ```javascript
13970
+ *
13971
+ * {
13972
+ * sortOrder: "Ascending",
13973
+ * sortBy: "Name",
13974
+ * filters: [
13975
+ * {"Filter 1": ["Some filter 1", "Some filter 2"]},
13976
+ * {"Filter 2": ["Some filter 4"]},
13977
+ * ]
13978
+ * }
13979
+ * ```
13662
13980
  */
13663
13981
  setConfirmedSettings(
13664
13982
  /**