@openui5/ts-types-esm 1.92.0 → 1.95.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.92.0
1
+ // For Library Version: 1.95.0
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -249,6 +249,10 @@ declare module "sap/ui/table/AnalyticalColumn" {
249
249
  */
250
250
  FNMetaImpl?: Function
251
251
  ): Function;
252
+ /**
253
+ * Returns a metadata object for class sap.ui.table.AnalyticalColumn.
254
+ */
255
+ static getMetadata(): ElementMetadata;
252
256
  /**
253
257
  * Gets current value of property {@link #getGroupHeaderFormatter groupHeaderFormatter}.
254
258
  *
@@ -271,10 +275,6 @@ declare module "sap/ui/table/AnalyticalColumn" {
271
275
  * this means the property which is grouped by for dimensions or the property which is summed for measures.
272
276
  */
273
277
  getLeadingProperty(): string;
274
- /**
275
- * Returns a metadata object for class sap.ui.table.AnalyticalColumn.
276
- */
277
- static getMetadata(): ElementMetadata;
278
278
  /**
279
279
  * Gets current value of property {@link #getShowIfGrouped showIfGrouped}.
280
280
  *
@@ -548,6 +548,31 @@ declare module "sap/ui/table/AnalyticalTable" {
548
548
  mSettings?: $AnalyticalTableSettings
549
549
  );
550
550
 
551
+ /**
552
+ * Creates a new subclass of class sap.ui.table.AnalyticalTable with name `sClassName` and enriches it with
553
+ * the information contained in `oClassInfo`.
554
+ *
555
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.Table.extend}.
556
+ */
557
+ static extend<T extends Record<string, unknown>>(
558
+ /**
559
+ * Name of the class being created
560
+ */
561
+ sClassName: string,
562
+ /**
563
+ * Object literal with information about the class
564
+ */
565
+ oClassInfo?: sap.ClassInfo<T, AnalyticalTable>,
566
+ /**
567
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
568
+ * used by this class
569
+ */
570
+ FNMetaImpl?: Function
571
+ ): Function;
572
+ /**
573
+ * Returns a metadata object for class sap.ui.table.AnalyticalTable.
574
+ */
575
+ static getMetadata(): ElementMetadata;
551
576
  /**
552
577
  * Marks a range of tree nodes as selected, starting with iFromIndex going to iToIndex. The nodes are referenced
553
578
  * via their absolute row index. Please be aware that the absolute row index only applies to the tree which
@@ -597,27 +622,6 @@ declare module "sap/ui/table/AnalyticalTable" {
597
622
  * groups are loaded, which increases the scroll range, and the scroll thumb moves up.
598
623
  */
599
624
  expandAll(): this;
600
- /**
601
- * Creates a new subclass of class sap.ui.table.AnalyticalTable with name `sClassName` and enriches it with
602
- * the information contained in `oClassInfo`.
603
- *
604
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.Table.extend}.
605
- */
606
- static extend<T extends Record<string, unknown>>(
607
- /**
608
- * Name of the class being created
609
- */
610
- sClassName: string,
611
- /**
612
- * Object literal with information about the class
613
- */
614
- oClassInfo?: sap.ClassInfo<T, AnalyticalTable>,
615
- /**
616
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
617
- * used by this class
618
- */
619
- FNMetaImpl?: Function
620
- ): Function;
621
625
  /**
622
626
  * @deprecated (since 1.44) - replaced by the `autoExpandMode` binding parameter
623
627
  *
@@ -707,10 +711,6 @@ declare module "sap/ui/table/AnalyticalTable" {
707
711
  * The `groupBy` association is not supported by the `AnalyticalTable` control.
708
712
  */
709
713
  getGroupBy(): ID;
710
- /**
711
- * Returns a metadata object for class sap.ui.table.AnalyticalTable.
712
- */
713
- static getMetadata(): ElementMetadata;
714
714
  /**
715
715
  * @deprecated (since 1.44) - replaced by the `numberOfExpandedLevels` binding parameter
716
716
  *
@@ -1210,6 +1210,31 @@ declare module "sap/ui/table/Column" {
1210
1210
  mSettings?: $ColumnSettings
1211
1211
  );
1212
1212
 
1213
+ /**
1214
+ * Creates a new subclass of class sap.ui.table.Column with name `sClassName` and enriches it with the information
1215
+ * contained in `oClassInfo`.
1216
+ *
1217
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
1218
+ */
1219
+ static extend<T extends Record<string, unknown>>(
1220
+ /**
1221
+ * Name of the class being created
1222
+ */
1223
+ sClassName: string,
1224
+ /**
1225
+ * Object literal with information about the class
1226
+ */
1227
+ oClassInfo?: sap.ClassInfo<T, Column>,
1228
+ /**
1229
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1230
+ * used by this class
1231
+ */
1232
+ FNMetaImpl?: Function
1233
+ ): Function;
1234
+ /**
1235
+ * Returns a metadata object for class sap.ui.table.Column.
1236
+ */
1237
+ static getMetadata(): ElementMetadata;
1213
1238
  /**
1214
1239
  * @SINCE 1.13.1
1215
1240
  *
@@ -1304,27 +1329,6 @@ declare module "sap/ui/table/Column" {
1304
1329
  */
1305
1330
  oListener?: object
1306
1331
  ): this;
1307
- /**
1308
- * Creates a new subclass of class sap.ui.table.Column with name `sClassName` and enriches it with the information
1309
- * contained in `oClassInfo`.
1310
- *
1311
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
1312
- */
1313
- static extend<T extends Record<string, unknown>>(
1314
- /**
1315
- * Name of the class being created
1316
- */
1317
- sClassName: string,
1318
- /**
1319
- * Object literal with information about the class
1320
- */
1321
- oClassInfo?: sap.ClassInfo<T, Column>,
1322
- /**
1323
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1324
- * used by this class
1325
- */
1326
- FNMetaImpl?: Function
1327
- ): Function;
1328
1332
  /**
1329
1333
  * @SINCE 1.33.0
1330
1334
  *
@@ -1490,10 +1494,6 @@ declare module "sap/ui/table/Column" {
1490
1494
  * `menu` with a new instance of `sap.ui.unified.Menu`.
1491
1495
  */
1492
1496
  getMenu(): Menu;
1493
- /**
1494
- * Returns a metadata object for class sap.ui.table.Column.
1495
- */
1496
- static getMetadata(): ElementMetadata;
1497
1497
  /**
1498
1498
  * @SINCE 1.44.1
1499
1499
  *
@@ -2313,7 +2313,7 @@ declare module "sap/ui/table/Column" {
2313
2313
  *
2314
2314
  * Fires before the column menu is opened.
2315
2315
  */
2316
- columnMenuOpen?: Function;
2316
+ columnMenuOpen?: (oEvent: Event) => void;
2317
2317
  }
2318
2318
  }
2319
2319
 
@@ -2442,6 +2442,31 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
2442
2442
  */
2443
2443
  constructor();
2444
2444
 
2445
+ /**
2446
+ * Creates a new subclass of class sap.ui.table.plugins.MultiSelectionPlugin with name `sClassName` and
2447
+ * enriches it with the information contained in `oClassInfo`.
2448
+ *
2449
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.plugins.SelectionPlugin.extend}.
2450
+ */
2451
+ static extend<T extends Record<string, unknown>>(
2452
+ /**
2453
+ * Name of the class being created
2454
+ */
2455
+ sClassName: string,
2456
+ /**
2457
+ * Object literal with information about the class
2458
+ */
2459
+ oClassInfo?: sap.ClassInfo<T, MultiSelectionPlugin>,
2460
+ /**
2461
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2462
+ * used by this class
2463
+ */
2464
+ FNMetaImpl?: Function
2465
+ ): Function;
2466
+ /**
2467
+ * Returns a metadata object for class sap.ui.table.plugins.MultiSelectionPlugin.
2468
+ */
2469
+ static getMetadata(): ElementMetadata;
2445
2470
  /**
2446
2471
  * Adds the given selection interval to the selection and requests the corresponding binding contexts. In
2447
2472
  * single-selection mode it requests the context and sets the selected index to `iIndexTo`.
@@ -2535,27 +2560,6 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
2535
2560
  */
2536
2561
  oListener?: object
2537
2562
  ): this;
2538
- /**
2539
- * Creates a new subclass of class sap.ui.table.plugins.MultiSelectionPlugin with name `sClassName` and
2540
- * enriches it with the information contained in `oClassInfo`.
2541
- *
2542
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.plugins.SelectionPlugin.extend}.
2543
- */
2544
- static extend<T extends Record<string, unknown>>(
2545
- /**
2546
- * Name of the class being created
2547
- */
2548
- sClassName: string,
2549
- /**
2550
- * Object literal with information about the class
2551
- */
2552
- oClassInfo?: sap.ClassInfo<T, MultiSelectionPlugin>,
2553
- /**
2554
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2555
- * used by this class
2556
- */
2557
- FNMetaImpl?: Function
2558
- ): Function;
2559
2563
  /**
2560
2564
  * Fires event {@link #event:selectionChange selectionChange} to attached listeners.
2561
2565
  */
@@ -2604,10 +2608,6 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
2604
2608
  * Default value is `200`.
2605
2609
  */
2606
2610
  getLimit(): int;
2607
- /**
2608
- * Returns a metadata object for class sap.ui.table.plugins.MultiSelectionPlugin.
2609
- */
2610
- static getMetadata(): ElementMetadata;
2611
2611
  /**
2612
2612
  * Zero-based indices of selected indices, wrapped in an array. An empty array means nothing has been selected.
2613
2613
  */
@@ -2818,7 +2818,7 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
2818
2818
  /**
2819
2819
  * This event is fired when the selection is changed.
2820
2820
  */
2821
- selectionChange?: Function;
2821
+ selectionChange?: (oEvent: Event) => void;
2822
2822
  }
2823
2823
  }
2824
2824
 
@@ -2848,6 +2848,31 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
2848
2848
  */
2849
2849
  constructor();
2850
2850
 
2851
+ /**
2852
+ * Creates a new subclass of class sap.ui.table.plugins.SelectionPlugin with name `sClassName` and enriches
2853
+ * it with the information contained in `oClassInfo`.
2854
+ *
2855
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
2856
+ */
2857
+ static extend<T extends Record<string, unknown>>(
2858
+ /**
2859
+ * Name of the class being created
2860
+ */
2861
+ sClassName: string,
2862
+ /**
2863
+ * Object literal with information about the class
2864
+ */
2865
+ oClassInfo?: sap.ClassInfo<T, SelectionPlugin>,
2866
+ /**
2867
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2868
+ * used by this class
2869
+ */
2870
+ FNMetaImpl?: Function
2871
+ ): Function;
2872
+ /**
2873
+ * Returns a metadata object for class sap.ui.table.plugins.SelectionPlugin.
2874
+ */
2875
+ static getMetadata(): ElementMetadata;
2851
2876
  /**
2852
2877
  * Attaches event handler `fnFunction` to the {@link #event:selectionChange selectionChange} event of this
2853
2878
  * `sap.ui.table.plugins.SelectionPlugin`.
@@ -2909,27 +2934,6 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
2909
2934
  */
2910
2935
  oListener?: object
2911
2936
  ): this;
2912
- /**
2913
- * Creates a new subclass of class sap.ui.table.plugins.SelectionPlugin with name `sClassName` and enriches
2914
- * it with the information contained in `oClassInfo`.
2915
- *
2916
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
2917
- */
2918
- static extend<T extends Record<string, unknown>>(
2919
- /**
2920
- * Name of the class being created
2921
- */
2922
- sClassName: string,
2923
- /**
2924
- * Object literal with information about the class
2925
- */
2926
- oClassInfo?: sap.ClassInfo<T, SelectionPlugin>,
2927
- /**
2928
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2929
- * used by this class
2930
- */
2931
- FNMetaImpl?: Function
2932
- ): Function;
2933
2937
  /**
2934
2938
  * Fires event {@link #event:selectionChange selectionChange} to attached listeners.
2935
2939
  */
@@ -2939,17 +2943,13 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
2939
2943
  */
2940
2944
  mParameters?: object
2941
2945
  ): this;
2942
- /**
2943
- * Returns a metadata object for class sap.ui.table.plugins.SelectionPlugin.
2944
- */
2945
- static getMetadata(): ElementMetadata;
2946
2946
  }
2947
2947
 
2948
2948
  export interface $SelectionPluginSettings extends $ElementSettings {
2949
2949
  /**
2950
2950
  * This event is fired when the selection is changed.
2951
2951
  */
2952
- selectionChange?: Function;
2952
+ selectionChange?: (oEvent: Event) => void;
2953
2953
  }
2954
2954
  }
2955
2955
 
@@ -2999,19 +2999,6 @@ declare module "sap/ui/table/Row" {
2999
2999
  mSettings?: $RowSettings
3000
3000
  );
3001
3001
 
3002
- /**
3003
- * Adds some cell to the aggregation {@link #getCells cells}.
3004
- */
3005
- addCell(
3006
- /**
3007
- * The cell to add; if empty, nothing is inserted
3008
- */
3009
- oCell: Control
3010
- ): this;
3011
- /**
3012
- * Destroys all the cells in the aggregation {@link #getCells cells}.
3013
- */
3014
- destroyCells(): this;
3015
3002
  /**
3016
3003
  * Creates a new subclass of class sap.ui.table.Row with name `sClassName` and enriches it with the information
3017
3004
  * contained in `oClassInfo`.
@@ -3033,6 +3020,23 @@ declare module "sap/ui/table/Row" {
3033
3020
  */
3034
3021
  FNMetaImpl?: Function
3035
3022
  ): Function;
3023
+ /**
3024
+ * Returns a metadata object for class sap.ui.table.Row.
3025
+ */
3026
+ static getMetadata(): ElementMetadata;
3027
+ /**
3028
+ * Adds some cell to the aggregation {@link #getCells cells}.
3029
+ */
3030
+ addCell(
3031
+ /**
3032
+ * The cell to add; if empty, nothing is inserted
3033
+ */
3034
+ oCell: Control
3035
+ ): this;
3036
+ /**
3037
+ * Destroys all the cells in the aggregation {@link #getCells cells}.
3038
+ */
3039
+ destroyCells(): this;
3036
3040
  /**
3037
3041
  * Gets content of aggregation {@link #getCells cells}.
3038
3042
  *
@@ -3046,10 +3050,6 @@ declare module "sap/ui/table/Row" {
3046
3050
  * scroll position of the table and also takes fixed rows and fixed bottom rows into account.
3047
3051
  */
3048
3052
  getIndex(): int;
3049
- /**
3050
- * Returns a metadata object for class sap.ui.table.Row.
3051
- */
3052
- static getMetadata(): ElementMetadata;
3053
3053
  /**
3054
3054
  * Returns the related `RowAction` of the row.
3055
3055
  *
@@ -3160,19 +3160,6 @@ declare module "sap/ui/table/RowAction" {
3160
3160
  mSettings?: $RowActionSettings
3161
3161
  );
3162
3162
 
3163
- /**
3164
- * Adds some item to the aggregation {@link #getItems items}.
3165
- */
3166
- addItem(
3167
- /**
3168
- * The item to add; if empty, nothing is inserted
3169
- */
3170
- oItem: RowActionItem
3171
- ): this;
3172
- /**
3173
- * Destroys all the items in the aggregation {@link #getItems items}.
3174
- */
3175
- destroyItems(): this;
3176
3163
  /**
3177
3164
  * Creates a new subclass of class sap.ui.table.RowAction with name `sClassName` and enriches it with the
3178
3165
  * information contained in `oClassInfo`.
@@ -3194,16 +3181,29 @@ declare module "sap/ui/table/RowAction" {
3194
3181
  */
3195
3182
  FNMetaImpl?: Function
3196
3183
  ): Function;
3184
+ /**
3185
+ * Returns a metadata object for class sap.ui.table.RowAction.
3186
+ */
3187
+ static getMetadata(): ElementMetadata;
3188
+ /**
3189
+ * Adds some item to the aggregation {@link #getItems items}.
3190
+ */
3191
+ addItem(
3192
+ /**
3193
+ * The item to add; if empty, nothing is inserted
3194
+ */
3195
+ oItem: RowActionItem
3196
+ ): this;
3197
+ /**
3198
+ * Destroys all the items in the aggregation {@link #getItems items}.
3199
+ */
3200
+ destroyItems(): this;
3197
3201
  /**
3198
3202
  * Gets content of aggregation {@link #getItems items}.
3199
3203
  *
3200
3204
  * The action items which should be displayed.
3201
3205
  */
3202
3206
  getItems(): RowActionItem[];
3203
- /**
3204
- * Returns a metadata object for class sap.ui.table.RowAction.
3205
- */
3206
- static getMetadata(): ElementMetadata;
3207
3207
  /**
3208
3208
  * Gets current value of property {@link #getVisible visible}.
3209
3209
  *
@@ -3333,6 +3333,31 @@ declare module "sap/ui/table/RowActionItem" {
3333
3333
  mSettings?: $RowActionItemSettings
3334
3334
  );
3335
3335
 
3336
+ /**
3337
+ * Creates a new subclass of class sap.ui.table.RowActionItem with name `sClassName` and enriches it with
3338
+ * the information contained in `oClassInfo`.
3339
+ *
3340
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
3341
+ */
3342
+ static extend<T extends Record<string, unknown>>(
3343
+ /**
3344
+ * Name of the class being created
3345
+ */
3346
+ sClassName: string,
3347
+ /**
3348
+ * Object literal with information about the class
3349
+ */
3350
+ oClassInfo?: sap.ClassInfo<T, RowActionItem>,
3351
+ /**
3352
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3353
+ * used by this class
3354
+ */
3355
+ FNMetaImpl?: Function
3356
+ ): Function;
3357
+ /**
3358
+ * Returns a metadata object for class sap.ui.table.RowActionItem.
3359
+ */
3360
+ static getMetadata(): ElementMetadata;
3336
3361
  /**
3337
3362
  * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.table.RowActionItem`.
3338
3363
  *
@@ -3389,27 +3414,6 @@ declare module "sap/ui/table/RowActionItem" {
3389
3414
  */
3390
3415
  oListener?: object
3391
3416
  ): this;
3392
- /**
3393
- * Creates a new subclass of class sap.ui.table.RowActionItem with name `sClassName` and enriches it with
3394
- * the information contained in `oClassInfo`.
3395
- *
3396
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
3397
- */
3398
- static extend<T extends Record<string, unknown>>(
3399
- /**
3400
- * Name of the class being created
3401
- */
3402
- sClassName: string,
3403
- /**
3404
- * Object literal with information about the class
3405
- */
3406
- oClassInfo?: sap.ClassInfo<T, RowActionItem>,
3407
- /**
3408
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3409
- * used by this class
3410
- */
3411
- FNMetaImpl?: Function
3412
- ): Function;
3413
3417
  /**
3414
3418
  * Fires event {@link #event:press press} to attached listeners.
3415
3419
  */
@@ -3425,10 +3429,6 @@ declare module "sap/ui/table/RowActionItem" {
3425
3429
  * The icon of the item.
3426
3430
  */
3427
3431
  getIcon(): URI;
3428
- /**
3429
- * Returns a metadata object for class sap.ui.table.RowActionItem.
3430
- */
3431
- static getMetadata(): ElementMetadata;
3432
3432
  /**
3433
3433
  * Gets current value of property {@link #getText text}.
3434
3434
  *
@@ -3540,7 +3540,7 @@ declare module "sap/ui/table/RowActionItem" {
3540
3540
  /**
3541
3541
  * The `press` is fired when the user triggers the corresponding action.
3542
3542
  */
3543
- press?: Function;
3543
+ press?: (oEvent: Event) => void;
3544
3544
  }
3545
3545
  }
3546
3546
 
@@ -3610,6 +3610,10 @@ declare module "sap/ui/table/RowSettings" {
3610
3610
  */
3611
3611
  FNMetaImpl?: Function
3612
3612
  ): Function;
3613
+ /**
3614
+ * Returns a metadata object for class sap.ui.table.RowSettings.
3615
+ */
3616
+ static getMetadata(): ElementMetadata;
3613
3617
  /**
3614
3618
  * @SINCE 1.48.0
3615
3619
  *
@@ -3636,15 +3640,12 @@ declare module "sap/ui/table/RowSettings" {
3636
3640
  * Gets current value of property {@link #getHighlightText highlightText}.
3637
3641
  *
3638
3642
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
3639
- * purposes.
3643
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
3644
+ * the highlight.
3640
3645
  *
3641
3646
  * Default value is `empty string`.
3642
3647
  */
3643
3648
  getHighlightText(): string;
3644
- /**
3645
- * Returns a metadata object for class sap.ui.table.RowSettings.
3646
- */
3647
- static getMetadata(): ElementMetadata;
3648
3649
  /**
3649
3650
  * @SINCE 1.72
3650
3651
  *
@@ -3691,7 +3692,8 @@ declare module "sap/ui/table/RowSettings" {
3691
3692
  * Sets a new value for property {@link #getHighlightText highlightText}.
3692
3693
  *
3693
3694
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
3694
- * purposes.
3695
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
3696
+ * the highlight.
3695
3697
  *
3696
3698
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3697
3699
  *
@@ -3747,7 +3749,8 @@ declare module "sap/ui/table/RowSettings" {
3747
3749
  * @SINCE 1.62
3748
3750
  *
3749
3751
  * Defines the semantics of the {@link sap.ui.table.RowSettings#setHighlight highlight} property for accessibility
3750
- * purposes.
3752
+ * purposes. It is only used as an invisible text for screen reader support and does not add a tooltip to
3753
+ * the highlight.
3751
3754
  */
3752
3755
  highlightText?: string | PropertyBindingInfo;
3753
3756
 
@@ -3795,6 +3798,8 @@ declare module "sap/ui/table/Table" {
3795
3798
 
3796
3799
  import Binding from "sap/ui/model/Binding";
3797
3800
 
3801
+ import DragDropBase from "sap/ui/core/dnd/DragDropBase";
3802
+
3798
3803
  import ElementMetadata from "sap/ui/core/ElementMetadata";
3799
3804
 
3800
3805
  import RowAction from "sap/ui/table/RowAction";
@@ -3855,6 +3860,31 @@ declare module "sap/ui/table/Table" {
3855
3860
  mSettings?: $TableSettings
3856
3861
  );
3857
3862
 
3863
+ /**
3864
+ * Creates a new subclass of class sap.ui.table.Table with name `sClassName` and enriches it with the information
3865
+ * contained in `oClassInfo`.
3866
+ *
3867
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
3868
+ */
3869
+ static extend<T extends Record<string, unknown>>(
3870
+ /**
3871
+ * Name of the class being created
3872
+ */
3873
+ sClassName: string,
3874
+ /**
3875
+ * Object literal with information about the class
3876
+ */
3877
+ oClassInfo?: sap.ClassInfo<T, Table>,
3878
+ /**
3879
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3880
+ * used by this class
3881
+ */
3882
+ FNMetaImpl?: Function
3883
+ ): Function;
3884
+ /**
3885
+ * Returns a metadata object for class sap.ui.table.Table.
3886
+ */
3887
+ static getMetadata(): ElementMetadata;
3858
3888
  /**
3859
3889
  * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
3860
3890
  */
@@ -5068,27 +5098,6 @@ declare module "sap/ui/table/Table" {
5068
5098
  */
5069
5099
  mSettings?: object
5070
5100
  ): Export;
5071
- /**
5072
- * Creates a new subclass of class sap.ui.table.Table with name `sClassName` and enriches it with the information
5073
- * contained in `oClassInfo`.
5074
- *
5075
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
5076
- */
5077
- static extend<T extends Record<string, unknown>>(
5078
- /**
5079
- * Name of the class being created
5080
- */
5081
- sClassName: string,
5082
- /**
5083
- * Object literal with information about the class
5084
- */
5085
- oClassInfo?: sap.ClassInfo<T, Table>,
5086
- /**
5087
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
5088
- * used by this class
5089
- */
5090
- FNMetaImpl?: Function
5091
- ): Function;
5092
5101
  /**
5093
5102
  * Filters a column by a value. If no filter value is passed, the filter value equals an empty string, and
5094
5103
  * the filter for this column is removed.
@@ -5575,7 +5584,7 @@ declare module "sap/ui/table/Table" {
5575
5584
  * - Group header rows
5576
5585
  * - Sum rows
5577
5586
  */
5578
- getDragDropConfig(): undefined;
5587
+ getDragDropConfig(): DragDropBase[];
5579
5588
  /**
5580
5589
  * Gets current value of property {@link #getEditable editable}.
5581
5590
  *
@@ -5740,10 +5749,6 @@ declare module "sap/ui/table/Table" {
5740
5749
  * ID of the element which is the current target of the association {@link #getGroupBy groupBy}, or `null`.
5741
5750
  */
5742
5751
  getGroupBy(): ID;
5743
- /**
5744
- * Returns a metadata object for class sap.ui.table.Table.
5745
- */
5746
- static getMetadata(): ElementMetadata;
5747
5752
  /**
5748
5753
  * Gets current value of property {@link #getMinAutoRowCount minAutoRowCount}.
5749
5754
  *
@@ -6844,7 +6849,7 @@ declare module "sap/ui/table/Table" {
6844
6849
  /**
6845
6850
  * Set to true to add the new sort criterion to the existing sort criteria
6846
6851
  */
6847
- bAdd: Boolean
6852
+ bAdd: boolean
6848
6853
  ): void;
6849
6854
  /**
6850
6855
  * Unbinds aggregation {@link #getColumns columns} from model data.
@@ -7244,49 +7249,49 @@ declare module "sap/ui/table/Table" {
7244
7249
  *
7245
7250
  * **Note:** If a selection plugin is applied to the table, this event won't be fired.
7246
7251
  */
7247
- rowSelectionChange?: Function;
7252
+ rowSelectionChange?: (oEvent: Event) => void;
7248
7253
 
7249
7254
  /**
7250
7255
  * fired when a column of the table has been selected
7251
7256
  */
7252
- columnSelect?: Function;
7257
+ columnSelect?: (oEvent: Event) => void;
7253
7258
 
7254
7259
  /**
7255
7260
  * fired when a table column is resized.
7256
7261
  */
7257
- columnResize?: Function;
7262
+ columnResize?: (oEvent: Event) => void;
7258
7263
 
7259
7264
  /**
7260
7265
  * fired when a table column is moved.
7261
7266
  */
7262
- columnMove?: Function;
7267
+ columnMove?: (oEvent: Event) => void;
7263
7268
 
7264
7269
  /**
7265
7270
  * fired when the table is sorted.
7266
7271
  */
7267
- sort?: Function;
7272
+ sort?: (oEvent: Event) => void;
7268
7273
 
7269
7274
  /**
7270
7275
  * fired when the table is filtered.
7271
7276
  */
7272
- filter?: Function;
7277
+ filter?: (oEvent: Event) => void;
7273
7278
 
7274
7279
  /**
7275
7280
  * fired when the table is grouped (experimental!).
7276
7281
  */
7277
- group?: Function;
7282
+ group?: (oEvent: Event) => void;
7278
7283
 
7279
7284
  /**
7280
7285
  * fired when the visibility of a table column is changed.
7281
7286
  */
7282
- columnVisibility?: Function;
7287
+ columnVisibility?: (oEvent: Event) => void;
7283
7288
 
7284
7289
  /**
7285
7290
  * @SINCE 1.21.0
7286
7291
  *
7287
7292
  * fired when the user clicks a cell of the table (experimental!).
7288
7293
  */
7289
- cellClick?: Function;
7294
+ cellClick?: (oEvent: Event) => void;
7290
7295
 
7291
7296
  /**
7292
7297
  * @SINCE 1.21.0
@@ -7294,21 +7299,21 @@ declare module "sap/ui/table/Table" {
7294
7299
  *
7295
7300
  * fired when the user clicks a cell of the table.
7296
7301
  */
7297
- cellContextmenu?: Function;
7302
+ cellContextmenu?: (oEvent: Event) => void;
7298
7303
 
7299
7304
  /**
7300
7305
  * @SINCE 1.54
7301
7306
  *
7302
7307
  * Fired when the user requests the context menu for a table cell.
7303
7308
  */
7304
- beforeOpenContextMenu?: Function;
7309
+ beforeOpenContextMenu?: (oEvent: Event) => void;
7305
7310
 
7306
7311
  /**
7307
7312
  * @SINCE 1.21.0
7308
7313
  *
7309
7314
  * fired when a column of the table should be freezed
7310
7315
  */
7311
- columnFreeze?: Function;
7316
+ columnFreeze?: (oEvent: Event) => void;
7312
7317
 
7313
7318
  /**
7314
7319
  * @SINCE 1.23.0
@@ -7316,7 +7321,7 @@ declare module "sap/ui/table/Table" {
7316
7321
  * This event is triggered when the custom filter item of the column menu is pressed. The column on which
7317
7322
  * the event was triggered is passed as parameter.
7318
7323
  */
7319
- customFilter?: Function;
7324
+ customFilter?: (oEvent: Event) => void;
7320
7325
 
7321
7326
  /**
7322
7327
  * @SINCE 1.37.0
@@ -7324,14 +7329,14 @@ declare module "sap/ui/table/Table" {
7324
7329
  * This event gets fired when the first visible row is changed. It should only be used by composite controls.
7325
7330
  * The event even is fired when setFirstVisibleRow is called programmatically.
7326
7331
  */
7327
- firstVisibleRowChanged?: Function;
7332
+ firstVisibleRowChanged?: (oEvent: Event) => void;
7328
7333
 
7329
7334
  /**
7330
7335
  * @SINCE 1.37.0
7331
7336
  *
7332
7337
  * This event gets fired when the busy state of the table changes. It should only be used by composite controls.
7333
7338
  */
7334
- busyStateChanged?: Function;
7339
+ busyStateChanged?: (oEvent: Event) => void;
7335
7340
 
7336
7341
  /**
7337
7342
  * @SINCE 1.60
@@ -7339,7 +7344,7 @@ declare module "sap/ui/table/Table" {
7339
7344
  * This event gets fired when the user pastes content from the clipboard to the table. Pasting can be done
7340
7345
  * with the standard keyboard shortcut, if the focus is inside the table.
7341
7346
  */
7342
- paste?: Function;
7347
+ paste?: (oEvent: Event) => void;
7343
7348
 
7344
7349
  /**
7345
7350
  * @SINCE 1.86
@@ -7349,7 +7354,7 @@ declare module "sap/ui/table/Table" {
7349
7354
  *
7350
7355
  * **Note**: This event is fired often and must not be used for performance-critical tasks.
7351
7356
  */
7352
- rowsUpdated?: Function;
7357
+ rowsUpdated?: (oEvent: Event) => void;
7353
7358
  }
7354
7359
  }
7355
7360
 
@@ -7426,6 +7431,10 @@ declare module "sap/ui/table/TablePersoController" {
7426
7431
  */
7427
7432
  FNMetaImpl?: Function
7428
7433
  ): Function;
7434
+ /**
7435
+ * Returns a metadata object for class sap.ui.table.TablePersoController.
7436
+ */
7437
+ static getMetadata(): ManagedObjectMetadata;
7429
7438
  /**
7430
7439
  * Gets current value of property {@link #getAutoSave autoSave}.
7431
7440
  *
@@ -7444,10 +7453,6 @@ declare module "sap/ui/table/TablePersoController" {
7444
7453
  * Default value is `"persoKey"`.
7445
7454
  */
7446
7455
  getCustomDataKey(): string;
7447
- /**
7448
- * Returns a metadata object for class sap.ui.table.TablePersoController.
7449
- */
7450
- static getMetadata(): ManagedObjectMetadata;
7451
7456
  /**
7452
7457
  * Gets current value of property {@link #getPersoService persoService}.
7453
7458
  *
@@ -7703,6 +7708,31 @@ declare module "sap/ui/table/TreeTable" {
7703
7708
  mSettings?: $TreeTableSettings
7704
7709
  );
7705
7710
 
7711
+ /**
7712
+ * Creates a new subclass of class sap.ui.table.TreeTable with name `sClassName` and enriches it with the
7713
+ * information contained in `oClassInfo`.
7714
+ *
7715
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.Table.extend}.
7716
+ */
7717
+ static extend<T extends Record<string, unknown>>(
7718
+ /**
7719
+ * Name of the class being created
7720
+ */
7721
+ sClassName: string,
7722
+ /**
7723
+ * Object literal with information about the class
7724
+ */
7725
+ oClassInfo?: sap.ClassInfo<T, TreeTable>,
7726
+ /**
7727
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
7728
+ * used by this class
7729
+ */
7730
+ FNMetaImpl?: Function
7731
+ ): Function;
7732
+ /**
7733
+ * Returns a metadata object for class sap.ui.table.TreeTable.
7734
+ */
7735
+ static getMetadata(): ElementMetadata;
7706
7736
  /**
7707
7737
  * Adds the given selection interval to the selection. In case of single selection, only `iIndexTo` is added
7708
7738
  * to the selection. Invisible nodes (collapsed child nodes) will not be regarded.
@@ -7815,27 +7845,6 @@ declare module "sap/ui/table/TreeTable" {
7815
7845
  */
7816
7846
  iLevel: int
7817
7847
  ): this;
7818
- /**
7819
- * Creates a new subclass of class sap.ui.table.TreeTable with name `sClassName` and enriches it with the
7820
- * information contained in `oClassInfo`.
7821
- *
7822
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.Table.extend}.
7823
- */
7824
- static extend<T extends Record<string, unknown>>(
7825
- /**
7826
- * Name of the class being created
7827
- */
7828
- sClassName: string,
7829
- /**
7830
- * Object literal with information about the class
7831
- */
7832
- oClassInfo?: sap.ClassInfo<T, TreeTable>,
7833
- /**
7834
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
7835
- * used by this class
7836
- */
7837
- FNMetaImpl?: Function
7838
- ): Function;
7839
7848
  /**
7840
7849
  * Fires event {@link #event:toggleOpenState toggleOpenState} to attached listeners.
7841
7850
  */
@@ -7928,10 +7937,6 @@ declare module "sap/ui/table/TreeTable" {
7928
7937
  * The property name of the rows data which will be displayed as a group header if the group mode is enabled
7929
7938
  */
7930
7939
  getGroupHeaderProperty(): string;
7931
- /**
7932
- * Returns a metadata object for class sap.ui.table.TreeTable.
7933
- */
7934
- static getMetadata(): ElementMetadata;
7935
7940
  /**
7936
7941
  * @deprecated (since 1.76) - replaced by the `rootLevel` binding parameter
7937
7942
  *
@@ -8285,7 +8290,7 @@ declare module "sap/ui/table/TreeTable" {
8285
8290
  /**
8286
8291
  * Fired when a row has been expanded or collapsed by user interaction. Only available in hierarchical mode.
8287
8292
  */
8288
- toggleOpenState?: Function;
8293
+ toggleOpenState?: (oEvent: Event) => void;
8289
8294
  }
8290
8295
  }
8291
8296