@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/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -685,6 +685,31 @@ declare module "sap/ui/commons/Accordion" {
685
685
  mSettings?: $AccordionSettings
686
686
  );
687
687
 
688
+ /**
689
+ * Creates a new subclass of class sap.ui.commons.Accordion with name `sClassName` and enriches it with
690
+ * the information contained in `oClassInfo`.
691
+ *
692
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
693
+ */
694
+ static extend<T extends Record<string, unknown>>(
695
+ /**
696
+ * Name of the class being created
697
+ */
698
+ sClassName: string,
699
+ /**
700
+ * Object literal with information about the class
701
+ */
702
+ oClassInfo?: sap.ClassInfo<T, Accordion>,
703
+ /**
704
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
705
+ * used by this class
706
+ */
707
+ FNMetaImpl?: Function
708
+ ): Function;
709
+ /**
710
+ * Returns a metadata object for class sap.ui.commons.Accordion.
711
+ */
712
+ static getMetadata(): ElementMetadata;
688
713
  /**
689
714
  * Adds some section to the aggregation {@link #getSections sections}.
690
715
  */
@@ -878,27 +903,6 @@ declare module "sap/ui/commons/Accordion" {
878
903
  */
879
904
  oListener?: object
880
905
  ): this;
881
- /**
882
- * Creates a new subclass of class sap.ui.commons.Accordion with name `sClassName` and enriches it with
883
- * the information contained in `oClassInfo`.
884
- *
885
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
886
- */
887
- static extend<T extends Record<string, unknown>>(
888
- /**
889
- * Name of the class being created
890
- */
891
- sClassName: string,
892
- /**
893
- * Object literal with information about the class
894
- */
895
- oClassInfo?: sap.ClassInfo<T, Accordion>,
896
- /**
897
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
898
- * used by this class
899
- */
900
- FNMetaImpl?: Function
901
- ): Function;
902
906
  /**
903
907
  * Fires event {@link #event:sectionClose sectionClose} to attached listeners.
904
908
  */
@@ -949,10 +953,6 @@ declare module "sap/ui/commons/Accordion" {
949
953
  newIndex?: int;
950
954
  }
951
955
  ): this;
952
- /**
953
- * Returns a metadata object for class sap.ui.commons.Accordion.
954
- */
955
- static getMetadata(): ElementMetadata;
956
956
  /**
957
957
  * Gets current value of property {@link #getOpenedSectionsId openedSectionsId}.
958
958
  *
@@ -1067,17 +1067,17 @@ declare module "sap/ui/commons/Accordion" {
1067
1067
  /**
1068
1068
  * Event is triggered when the user opens a section.
1069
1069
  */
1070
- sectionOpen?: Function;
1070
+ sectionOpen?: (oEvent: Event) => void;
1071
1071
 
1072
1072
  /**
1073
1073
  * Event is triggered when the user closes a section.
1074
1074
  */
1075
- sectionClose?: Function;
1075
+ sectionClose?: (oEvent: Event) => void;
1076
1076
 
1077
1077
  /**
1078
1078
  * Event is triggered when the user changes the position of a section.
1079
1079
  */
1080
- sectionsReorder?: Function;
1080
+ sectionsReorder?: (oEvent: Event) => void;
1081
1081
  }
1082
1082
  }
1083
1083
 
@@ -1134,6 +1134,31 @@ declare module "sap/ui/commons/AccordionSection" {
1134
1134
  mSettings?: $AccordionSectionSettings
1135
1135
  );
1136
1136
 
1137
+ /**
1138
+ * Creates a new subclass of class sap.ui.commons.AccordionSection with name `sClassName` and enriches it
1139
+ * with the information contained in `oClassInfo`.
1140
+ *
1141
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
1142
+ */
1143
+ static extend<T extends Record<string, unknown>>(
1144
+ /**
1145
+ * Name of the class being created
1146
+ */
1147
+ sClassName: string,
1148
+ /**
1149
+ * Object literal with information about the class
1150
+ */
1151
+ oClassInfo?: sap.ClassInfo<T, AccordionSection>,
1152
+ /**
1153
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1154
+ * used by this class
1155
+ */
1156
+ FNMetaImpl?: Function
1157
+ ): Function;
1158
+ /**
1159
+ * Returns a metadata object for class sap.ui.commons.AccordionSection.
1160
+ */
1161
+ static getMetadata(): ElementMetadata;
1137
1162
  /**
1138
1163
  * Adds some content to the aggregation {@link #getContent content}.
1139
1164
  */
@@ -1203,27 +1228,6 @@ declare module "sap/ui/commons/AccordionSection" {
1203
1228
  */
1204
1229
  oListener?: object
1205
1230
  ): this;
1206
- /**
1207
- * Creates a new subclass of class sap.ui.commons.AccordionSection with name `sClassName` and enriches it
1208
- * with the information contained in `oClassInfo`.
1209
- *
1210
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
1211
- */
1212
- static extend<T extends Record<string, unknown>>(
1213
- /**
1214
- * Name of the class being created
1215
- */
1216
- sClassName: string,
1217
- /**
1218
- * Object literal with information about the class
1219
- */
1220
- oClassInfo?: sap.ClassInfo<T, AccordionSection>,
1221
- /**
1222
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1223
- * used by this class
1224
- */
1225
- FNMetaImpl?: Function
1226
- ): Function;
1227
1231
  /**
1228
1232
  * Fires event {@link #event:scroll scroll} to attached listeners.
1229
1233
  */
@@ -1275,10 +1279,6 @@ declare module "sap/ui/commons/AccordionSection" {
1275
1279
  * When the section content exceeds maxHeight, a vertical scroll bar appears.
1276
1280
  */
1277
1281
  getMaxHeight(): CSSSize;
1278
- /**
1279
- * Returns a metadata object for class sap.ui.commons.AccordionSection.
1280
- */
1281
- static getMetadata(): ElementMetadata;
1282
1282
  /**
1283
1283
  * Gets current value of property {@link #getTitle title}.
1284
1284
  *
@@ -1405,7 +1405,7 @@ declare module "sap/ui/commons/AccordionSection" {
1405
1405
  /**
1406
1406
  * Event is fired when the user scrolls the panel
1407
1407
  */
1408
- scroll?: Function;
1408
+ scroll?: (oEvent: Event) => void;
1409
1409
  }
1410
1410
  }
1411
1411
 
@@ -1458,6 +1458,31 @@ declare module "sap/ui/commons/ApplicationHeader" {
1458
1458
  mSettings?: $ApplicationHeaderSettings
1459
1459
  );
1460
1460
 
1461
+ /**
1462
+ * Creates a new subclass of class sap.ui.commons.ApplicationHeader with name `sClassName` and enriches
1463
+ * it with the information contained in `oClassInfo`.
1464
+ *
1465
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1466
+ */
1467
+ static extend<T extends Record<string, unknown>>(
1468
+ /**
1469
+ * Name of the class being created
1470
+ */
1471
+ sClassName: string,
1472
+ /**
1473
+ * Object literal with information about the class
1474
+ */
1475
+ oClassInfo?: sap.ClassInfo<T, ApplicationHeader>,
1476
+ /**
1477
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1478
+ * used by this class
1479
+ */
1480
+ FNMetaImpl?: Function
1481
+ ): Function;
1482
+ /**
1483
+ * Returns a metadata object for class sap.ui.commons.ApplicationHeader.
1484
+ */
1485
+ static getMetadata(): ElementMetadata;
1461
1486
  /**
1462
1487
  * Attaches event handler `fnFunction` to the {@link #event:logoff logoff} event of this `sap.ui.commons.ApplicationHeader`.
1463
1488
  *
@@ -1514,27 +1539,6 @@ declare module "sap/ui/commons/ApplicationHeader" {
1514
1539
  */
1515
1540
  oListener?: object
1516
1541
  ): this;
1517
- /**
1518
- * Creates a new subclass of class sap.ui.commons.ApplicationHeader with name `sClassName` and enriches
1519
- * it with the information contained in `oClassInfo`.
1520
- *
1521
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1522
- */
1523
- static extend<T extends Record<string, unknown>>(
1524
- /**
1525
- * Name of the class being created
1526
- */
1527
- sClassName: string,
1528
- /**
1529
- * Object literal with information about the class
1530
- */
1531
- oClassInfo?: sap.ClassInfo<T, ApplicationHeader>,
1532
- /**
1533
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1534
- * used by this class
1535
- */
1536
- FNMetaImpl?: Function
1537
- ): Function;
1538
1542
  /**
1539
1543
  * Fires event {@link #event:logoff logoff} to attached listeners.
1540
1544
  */
@@ -1572,10 +1576,6 @@ declare module "sap/ui/commons/ApplicationHeader" {
1572
1576
  * The text that will be displayed beside the logo in the application header. This property is optional.
1573
1577
  */
1574
1578
  getLogoText(): string;
1575
- /**
1576
- * Returns a metadata object for class sap.ui.commons.ApplicationHeader.
1577
- */
1578
- static getMetadata(): ElementMetadata;
1579
1579
  /**
1580
1580
  * Gets current value of property {@link #getUserName userName}.
1581
1581
  *
@@ -1682,7 +1682,7 @@ declare module "sap/ui/commons/ApplicationHeader" {
1682
1682
  /**
1683
1683
  * Fires an event to log off the user from the application. No parameters.
1684
1684
  */
1685
- logoff?: Function;
1685
+ logoff?: (oEvent: Event) => void;
1686
1686
  }
1687
1687
  }
1688
1688
 
@@ -1754,6 +1754,10 @@ declare module "sap/ui/commons/Area" {
1754
1754
  */
1755
1755
  FNMetaImpl?: Function
1756
1756
  ): Function;
1757
+ /**
1758
+ * Returns a metadata object for class sap.ui.commons.Area.
1759
+ */
1760
+ static getMetadata(): ElementMetadata;
1757
1761
  /**
1758
1762
  * Gets current value of property {@link #getAlt alt}.
1759
1763
  *
@@ -1772,10 +1776,6 @@ declare module "sap/ui/commons/Area" {
1772
1776
  * Hyper link that is executed when the area is clicked
1773
1777
  */
1774
1778
  getHref(): URI;
1775
- /**
1776
- * Returns a metadata object for class sap.ui.commons.Area.
1777
- */
1778
- static getMetadata(): ElementMetadata;
1779
1779
  /**
1780
1780
  * Gets current value of property {@link #getShape shape}.
1781
1781
  *
@@ -1914,6 +1914,31 @@ declare module "sap/ui/commons/AutoComplete" {
1914
1914
  mSettings?: $AutoCompleteSettings
1915
1915
  );
1916
1916
 
1917
+ /**
1918
+ * Creates a new subclass of class sap.ui.commons.AutoComplete with name `sClassName` and enriches it with
1919
+ * the information contained in `oClassInfo`.
1920
+ *
1921
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.ComboBox.extend}.
1922
+ */
1923
+ static extend<T extends Record<string, unknown>>(
1924
+ /**
1925
+ * Name of the class being created
1926
+ */
1927
+ sClassName: string,
1928
+ /**
1929
+ * Object literal with information about the class
1930
+ */
1931
+ oClassInfo?: sap.ClassInfo<T, AutoComplete>,
1932
+ /**
1933
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1934
+ * used by this class
1935
+ */
1936
+ FNMetaImpl?: Function
1937
+ ): Function;
1938
+ /**
1939
+ * Returns a metadata object for class sap.ui.commons.AutoComplete.
1940
+ */
1941
+ static getMetadata(): ElementMetadata;
1917
1942
  /**
1918
1943
  * Attaches event handler `fnFunction` to the {@link #event:suggest suggest} event of this `sap.ui.commons.AutoComplete`.
1919
1944
  *
@@ -1970,27 +1995,6 @@ declare module "sap/ui/commons/AutoComplete" {
1970
1995
  */
1971
1996
  oListener?: object
1972
1997
  ): this;
1973
- /**
1974
- * Creates a new subclass of class sap.ui.commons.AutoComplete with name `sClassName` and enriches it with
1975
- * the information contained in `oClassInfo`.
1976
- *
1977
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.ComboBox.extend}.
1978
- */
1979
- static extend<T extends Record<string, unknown>>(
1980
- /**
1981
- * Name of the class being created
1982
- */
1983
- sClassName: string,
1984
- /**
1985
- * Object literal with information about the class
1986
- */
1987
- oClassInfo?: sap.ClassInfo<T, AutoComplete>,
1988
- /**
1989
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1990
- * used by this class
1991
- */
1992
- FNMetaImpl?: Function
1993
- ): Function;
1994
1998
  /**
1995
1999
  * Fires event {@link #event:suggest suggest} to attached listeners.
1996
2000
  */
@@ -2018,10 +2022,6 @@ declare module "sap/ui/commons/AutoComplete" {
2018
2022
  * @deprecated (since 1.10.0) - NOT SUPPORTED
2019
2023
  */
2020
2024
  getListBox(): string;
2021
- /**
2022
- * Returns a metadata object for class sap.ui.commons.AutoComplete.
2023
- */
2024
- static getMetadata(): ElementMetadata;
2025
2025
  /**
2026
2026
  * @deprecated (since 1.10.0) - NOT SUPPORTED
2027
2027
  */
@@ -2083,7 +2083,7 @@ declare module "sap/ui/commons/AutoComplete" {
2083
2083
  /**
2084
2084
  * Fired when the user has changed the value and a suggestion list update should occur.
2085
2085
  */
2086
- suggest?: Function;
2086
+ suggest?: (oEvent: Event) => void;
2087
2087
  }
2088
2088
  }
2089
2089
 
@@ -2142,6 +2142,31 @@ declare module "sap/ui/commons/Button" {
2142
2142
  mSettings?: $ButtonSettings
2143
2143
  );
2144
2144
 
2145
+ /**
2146
+ * Creates a new subclass of class sap.ui.commons.Button with name `sClassName` and enriches it with the
2147
+ * information contained in `oClassInfo`.
2148
+ *
2149
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
2150
+ */
2151
+ static extend<T extends Record<string, unknown>>(
2152
+ /**
2153
+ * Name of the class being created
2154
+ */
2155
+ sClassName: string,
2156
+ /**
2157
+ * Object literal with information about the class
2158
+ */
2159
+ oClassInfo?: sap.ClassInfo<T, Button>,
2160
+ /**
2161
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2162
+ * used by this class
2163
+ */
2164
+ FNMetaImpl?: Function
2165
+ ): Function;
2166
+ /**
2167
+ * Returns a metadata object for class sap.ui.commons.Button.
2168
+ */
2169
+ static getMetadata(): ElementMetadata;
2145
2170
  /**
2146
2171
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
2147
2172
  */
@@ -2216,27 +2241,6 @@ declare module "sap/ui/commons/Button" {
2216
2241
  */
2217
2242
  oListener?: object
2218
2243
  ): this;
2219
- /**
2220
- * Creates a new subclass of class sap.ui.commons.Button with name `sClassName` and enriches it with the
2221
- * information contained in `oClassInfo`.
2222
- *
2223
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
2224
- */
2225
- static extend<T extends Record<string, unknown>>(
2226
- /**
2227
- * Name of the class being created
2228
- */
2229
- sClassName: string,
2230
- /**
2231
- * Object literal with information about the class
2232
- */
2233
- oClassInfo?: sap.ClassInfo<T, Button>,
2234
- /**
2235
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2236
- * used by this class
2237
- */
2238
- FNMetaImpl?: Function
2239
- ): Function;
2240
2244
  /**
2241
2245
  * Fires event {@link #event:press press} to attached listeners.
2242
2246
  */
@@ -2254,7 +2258,7 @@ declare module "sap/ui/commons/Button" {
2254
2258
  * See:
2255
2259
  * sap.ui.core.Control#getAccessibilityInfo
2256
2260
  */
2257
- getAccessibilityInfo(): Object;
2261
+ getAccessibilityInfo(): object;
2258
2262
  /**
2259
2263
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
2260
2264
  * ariaDescribedBy}.
@@ -2334,10 +2338,6 @@ declare module "sap/ui/commons/Button" {
2334
2338
  * Default value is `false`.
2335
2339
  */
2336
2340
  getLite(): boolean;
2337
- /**
2338
- * Returns a metadata object for class sap.ui.commons.Button.
2339
- */
2340
- static getMetadata(): ElementMetadata;
2341
2341
  /**
2342
2342
  * Gets current value of property {@link #getStyle style}.
2343
2343
  *
@@ -2663,7 +2663,7 @@ declare module "sap/ui/commons/Button" {
2663
2663
  /**
2664
2664
  * Event is fired when the user presses the control.
2665
2665
  */
2666
- press?: Function;
2666
+ press?: (oEvent: Event) => void;
2667
2667
  }
2668
2668
  }
2669
2669
 
@@ -2718,19 +2718,6 @@ declare module "sap/ui/commons/Callout" {
2718
2718
  mSettings?: $CalloutSettings
2719
2719
  );
2720
2720
 
2721
- /**
2722
- * Adds some content to the aggregation {@link #getContent content}.
2723
- */
2724
- addContent(
2725
- /**
2726
- * The content to add; if empty, nothing is inserted
2727
- */
2728
- oContent: Control
2729
- ): this;
2730
- /**
2731
- * Destroys all the content in the aggregation {@link #getContent content}.
2732
- */
2733
- destroyContent(): this;
2734
2721
  /**
2735
2722
  * Creates a new subclass of class sap.ui.commons.Callout with name `sClassName` and enriches it with the
2736
2723
  * information contained in `oClassInfo`.
@@ -2752,16 +2739,29 @@ declare module "sap/ui/commons/Callout" {
2752
2739
  */
2753
2740
  FNMetaImpl?: Function
2754
2741
  ): Function;
2742
+ /**
2743
+ * Returns a metadata object for class sap.ui.commons.Callout.
2744
+ */
2745
+ static getMetadata(): ElementMetadata;
2746
+ /**
2747
+ * Adds some content to the aggregation {@link #getContent content}.
2748
+ */
2749
+ addContent(
2750
+ /**
2751
+ * The content to add; if empty, nothing is inserted
2752
+ */
2753
+ oContent: Control
2754
+ ): this;
2755
+ /**
2756
+ * Destroys all the content in the aggregation {@link #getContent content}.
2757
+ */
2758
+ destroyContent(): this;
2755
2759
  /**
2756
2760
  * Gets content of aggregation {@link #getContent content}.
2757
2761
  *
2758
2762
  * Determines the content of the Callout
2759
2763
  */
2760
2764
  getContent(): Control[];
2761
- /**
2762
- * Returns a metadata object for class sap.ui.commons.Callout.
2763
- */
2764
- static getMetadata(): ElementMetadata;
2765
2765
  /**
2766
2766
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getContent content}. and returns
2767
2767
  * its index if found or -1 otherwise.
@@ -2863,6 +2863,31 @@ declare module "sap/ui/commons/CalloutBase" {
2863
2863
  mSettings?: $CalloutBaseSettings
2864
2864
  );
2865
2865
 
2866
+ /**
2867
+ * Creates a new subclass of class sap.ui.commons.CalloutBase with name `sClassName` and enriches it with
2868
+ * the information contained in `oClassInfo`.
2869
+ *
2870
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.TooltipBase.extend}.
2871
+ */
2872
+ static extend<T extends Record<string, unknown>>(
2873
+ /**
2874
+ * Name of the class being created
2875
+ */
2876
+ sClassName: string,
2877
+ /**
2878
+ * Object literal with information about the class
2879
+ */
2880
+ oClassInfo?: sap.ClassInfo<T, CalloutBase>,
2881
+ /**
2882
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2883
+ * used by this class
2884
+ */
2885
+ FNMetaImpl?: Function
2886
+ ): Function;
2887
+ /**
2888
+ * Returns a metadata object for class sap.ui.commons.CalloutBase.
2889
+ */
2890
+ static getMetadata(): ElementMetadata;
2866
2891
  /**
2867
2892
  * Adjust position of the already opened Callout window. Call this method each time when the size of the
2868
2893
  * opened Callout window may be changed due to new or changed contents.
@@ -3104,27 +3129,6 @@ declare module "sap/ui/commons/CalloutBase" {
3104
3129
  */
3105
3130
  oListener?: object
3106
3131
  ): this;
3107
- /**
3108
- * Creates a new subclass of class sap.ui.commons.CalloutBase with name `sClassName` and enriches it with
3109
- * the information contained in `oClassInfo`.
3110
- *
3111
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.TooltipBase.extend}.
3112
- */
3113
- static extend<T extends Record<string, unknown>>(
3114
- /**
3115
- * Name of the class being created
3116
- */
3117
- sClassName: string,
3118
- /**
3119
- * Object literal with information about the class
3120
- */
3121
- oClassInfo?: sap.ClassInfo<T, CalloutBase>,
3122
- /**
3123
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3124
- * used by this class
3125
- */
3126
- FNMetaImpl?: Function
3127
- ): Function;
3128
3132
  /**
3129
3133
  * Fires event {@link #event:beforeOpen beforeOpen} to attached listeners.
3130
3134
  *
@@ -3176,10 +3180,6 @@ declare module "sap/ui/commons/CalloutBase" {
3176
3180
  */
3177
3181
  mParameters?: object
3178
3182
  ): this;
3179
- /**
3180
- * Returns a metadata object for class sap.ui.commons.CalloutBase.
3181
- */
3182
- static getMetadata(): ElementMetadata;
3183
3183
  /**
3184
3184
  * Set position of the Callout window relative to the parent control. This function automatically calculates
3185
3185
  * and sets the correct offset, use it instead of `setMyPosition/setAtPosition`.
@@ -3200,25 +3200,25 @@ declare module "sap/ui/commons/CalloutBase" {
3200
3200
  /**
3201
3201
  * The event is fired when the popup is opened.
3202
3202
  */
3203
- open?: Function;
3203
+ open?: (oEvent: Event) => void;
3204
3204
 
3205
3205
  /**
3206
3206
  * Event is fired when the Callout window is closed.
3207
3207
  */
3208
- close?: Function;
3208
+ close?: (oEvent: Event) => void;
3209
3209
 
3210
3210
  /**
3211
3211
  * Event is fired before a Callout is displayed. Call the preventDefault method of the event object to postpone
3212
3212
  * opening. Application may use this event to start asynchronous Ajax call to load the Callout content
3213
3213
  */
3214
- beforeOpen?: Function;
3214
+ beforeOpen?: (oEvent: Event) => void;
3215
3215
 
3216
3216
  /**
3217
3217
  * @SINCE 1.11.0
3218
3218
  *
3219
3219
  * Is fired when the Callout has been opened
3220
3220
  */
3221
- opened?: Function;
3221
+ opened?: (oEvent: Event) => void;
3222
3222
  }
3223
3223
  }
3224
3224
 
@@ -3276,6 +3276,31 @@ declare module "sap/ui/commons/Carousel" {
3276
3276
  mSettings?: $CarouselSettings
3277
3277
  );
3278
3278
 
3279
+ /**
3280
+ * Creates a new subclass of class sap.ui.commons.Carousel with name `sClassName` and enriches it with the
3281
+ * information contained in `oClassInfo`.
3282
+ *
3283
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
3284
+ */
3285
+ static extend<T extends Record<string, unknown>>(
3286
+ /**
3287
+ * Name of the class being created
3288
+ */
3289
+ sClassName: string,
3290
+ /**
3291
+ * Object literal with information about the class
3292
+ */
3293
+ oClassInfo?: sap.ClassInfo<T, Carousel>,
3294
+ /**
3295
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3296
+ * used by this class
3297
+ */
3298
+ FNMetaImpl?: Function
3299
+ ): Function;
3300
+ /**
3301
+ * Returns a metadata object for class sap.ui.commons.Carousel.
3302
+ */
3303
+ static getMetadata(): ElementMetadata;
3279
3304
  /**
3280
3305
  * Adds some content to the aggregation {@link #getContent content}.
3281
3306
  */
@@ -3305,27 +3330,6 @@ declare module "sap/ui/commons/Carousel" {
3305
3330
  * Destroys all the content in the aggregation {@link #getContent content}.
3306
3331
  */
3307
3332
  destroyContent(): this;
3308
- /**
3309
- * Creates a new subclass of class sap.ui.commons.Carousel with name `sClassName` and enriches it with the
3310
- * information contained in `oClassInfo`.
3311
- *
3312
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
3313
- */
3314
- static extend<T extends Record<string, unknown>>(
3315
- /**
3316
- * Name of the class being created
3317
- */
3318
- sClassName: string,
3319
- /**
3320
- * Object literal with information about the class
3321
- */
3322
- oClassInfo?: sap.ClassInfo<T, Carousel>,
3323
- /**
3324
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3325
- * used by this class
3326
- */
3327
- FNMetaImpl?: Function
3328
- ): Function;
3329
3333
  /**
3330
3334
  * Gets current value of property {@link #getAnimationDuration animationDuration}.
3331
3335
  *
@@ -3386,10 +3390,6 @@ declare module "sap/ui/commons/Carousel" {
3386
3390
  * Determines the height of the Carousel
3387
3391
  */
3388
3392
  getHeight(): CSSSize;
3389
- /**
3390
- * Returns a metadata object for class sap.ui.commons.Carousel.
3391
- */
3392
- static getMetadata(): ElementMetadata;
3393
3393
  /**
3394
3394
  * Gets current value of property {@link #getOrientation orientation}.
3395
3395
  *
@@ -3721,6 +3721,31 @@ declare module "sap/ui/commons/CheckBox" {
3721
3721
  mSettings?: $CheckBoxSettings
3722
3722
  );
3723
3723
 
3724
+ /**
3725
+ * Creates a new subclass of class sap.ui.commons.CheckBox with name `sClassName` and enriches it with the
3726
+ * information contained in `oClassInfo`.
3727
+ *
3728
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
3729
+ */
3730
+ static extend<T extends Record<string, unknown>>(
3731
+ /**
3732
+ * Name of the class being created
3733
+ */
3734
+ sClassName: string,
3735
+ /**
3736
+ * Object literal with information about the class
3737
+ */
3738
+ oClassInfo?: sap.ClassInfo<T, CheckBox>,
3739
+ /**
3740
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3741
+ * used by this class
3742
+ */
3743
+ FNMetaImpl?: Function
3744
+ ): Function;
3745
+ /**
3746
+ * Returns a metadata object for class sap.ui.commons.CheckBox.
3747
+ */
3748
+ static getMetadata(): ElementMetadata;
3724
3749
  /**
3725
3750
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
3726
3751
  */
@@ -3807,27 +3832,6 @@ declare module "sap/ui/commons/CheckBox" {
3807
3832
  */
3808
3833
  oListener?: object
3809
3834
  ): this;
3810
- /**
3811
- * Creates a new subclass of class sap.ui.commons.CheckBox with name `sClassName` and enriches it with the
3812
- * information contained in `oClassInfo`.
3813
- *
3814
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
3815
- */
3816
- static extend<T extends Record<string, unknown>>(
3817
- /**
3818
- * Name of the class being created
3819
- */
3820
- sClassName: string,
3821
- /**
3822
- * Object literal with information about the class
3823
- */
3824
- oClassInfo?: sap.ClassInfo<T, CheckBox>,
3825
- /**
3826
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3827
- * used by this class
3828
- */
3829
- FNMetaImpl?: Function
3830
- ): Function;
3831
3835
  /**
3832
3836
  * Fires event {@link #event:change change} to attached listeners.
3833
3837
  */
@@ -3881,10 +3885,6 @@ declare module "sap/ui/commons/CheckBox" {
3881
3885
  * Default value is `true`.
3882
3886
  */
3883
3887
  getEnabled(): boolean;
3884
- /**
3885
- * Returns a metadata object for class sap.ui.commons.CheckBox.
3886
- */
3887
- static getMetadata(): ElementMetadata;
3888
3888
  /**
3889
3889
  * Gets current value of property {@link #getName name}.
3890
3890
  *
@@ -4134,7 +4134,7 @@ declare module "sap/ui/commons/CheckBox" {
4134
4134
  /**
4135
4135
  * Event is triggered when the control status is changed by the user by flagging or unflagging the checkbox.
4136
4136
  */
4137
- change?: Function;
4137
+ change?: (oEvent: Event) => void;
4138
4138
  }
4139
4139
  }
4140
4140
 
@@ -4281,6 +4281,31 @@ declare module "sap/ui/commons/ComboBox" {
4281
4281
  mSettings?: $ComboBoxSettings
4282
4282
  );
4283
4283
 
4284
+ /**
4285
+ * Creates a new subclass of class sap.ui.commons.ComboBox with name `sClassName` and enriches it with the
4286
+ * information contained in `oClassInfo`.
4287
+ *
4288
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.TextField.extend}.
4289
+ */
4290
+ static extend<T extends Record<string, unknown>>(
4291
+ /**
4292
+ * Name of the class being created
4293
+ */
4294
+ sClassName: string,
4295
+ /**
4296
+ * Object literal with information about the class
4297
+ */
4298
+ oClassInfo?: sap.ClassInfo<T, ComboBox>,
4299
+ /**
4300
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
4301
+ * used by this class
4302
+ */
4303
+ FNMetaImpl?: Function
4304
+ ): Function;
4305
+ /**
4306
+ * Returns a metadata object for class sap.ui.commons.ComboBox.
4307
+ */
4308
+ static getMetadata(): ElementMetadata;
4284
4309
  /**
4285
4310
  * Compares the previous value with the current value and fires the "Change" event if the ComboBox is editable
4286
4311
  * and the value has changed or whether the value has been changed e.g. via up/down or auto-complete feature
@@ -4321,27 +4346,6 @@ declare module "sap/ui/commons/ComboBox" {
4321
4346
  * Destroys all the items in the aggregation {@link #getItems items}.
4322
4347
  */
4323
4348
  destroyItems(): this;
4324
- /**
4325
- * Creates a new subclass of class sap.ui.commons.ComboBox with name `sClassName` and enriches it with the
4326
- * information contained in `oClassInfo`.
4327
- *
4328
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.TextField.extend}.
4329
- */
4330
- static extend<T extends Record<string, unknown>>(
4331
- /**
4332
- * Name of the class being created
4333
- */
4334
- sClassName: string,
4335
- /**
4336
- * Object literal with information about the class
4337
- */
4338
- oClassInfo?: sap.ClassInfo<T, ComboBox>,
4339
- /**
4340
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
4341
- * used by this class
4342
- */
4343
- FNMetaImpl?: Function
4344
- ): Function;
4345
4349
  /**
4346
4350
  * Fire event change to attached listeners.
4347
4351
  *
@@ -4392,10 +4396,6 @@ declare module "sap/ui/commons/ComboBox" {
4392
4396
  * Default value is `10`.
4393
4397
  */
4394
4398
  getMaxPopupItems(): int;
4395
- /**
4396
- * Returns a metadata object for class sap.ui.commons.ComboBox.
4397
- */
4398
- static getMetadata(): ElementMetadata;
4399
4399
  /**
4400
4400
  * Gets current value of property {@link #getSelectedItemId selectedItemId}.
4401
4401
  *
@@ -4706,6 +4706,10 @@ declare module "sap/ui/commons/DatePicker" {
4706
4706
  */
4707
4707
  FNMetaImpl?: Function
4708
4708
  ): Function;
4709
+ /**
4710
+ * Returns a metadata object for class sap.ui.commons.DatePicker.
4711
+ */
4712
+ static getMetadata(): ElementMetadata;
4709
4713
  /**
4710
4714
  * Fire event change to attached listeners.
4711
4715
  *
@@ -4728,7 +4732,7 @@ declare module "sap/ui/commons/DatePicker" {
4728
4732
  * See:
4729
4733
  * sap.ui.core.Control#getAccessibilityInfo
4730
4734
  */
4731
- getAccessibilityInfo(): Object;
4735
+ getAccessibilityInfo(): object;
4732
4736
  /**
4733
4737
  * Gets current value of property {@link #getLocale locale}.
4734
4738
  *
@@ -4737,10 +4741,6 @@ declare module "sap/ui/commons/DatePicker" {
4737
4741
  * will be ignored, because the locale information of the model are used.
4738
4742
  */
4739
4743
  getLocale(): string;
4740
- /**
4741
- * Returns a metadata object for class sap.ui.commons.DatePicker.
4742
- */
4743
- static getMetadata(): ElementMetadata;
4744
4744
  /**
4745
4745
  * Gets current value of property {@link #getYyyymmdd yyyymmdd}.
4746
4746
  *
@@ -4859,6 +4859,31 @@ declare module "sap/ui/commons/Dialog" {
4859
4859
  mSettings?: $DialogSettings
4860
4860
  );
4861
4861
 
4862
+ /**
4863
+ * Creates a new subclass of class sap.ui.commons.Dialog with name `sClassName` and enriches it with the
4864
+ * information contained in `oClassInfo`.
4865
+ *
4866
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
4867
+ */
4868
+ static extend<T extends Record<string, unknown>>(
4869
+ /**
4870
+ * Name of the class being created
4871
+ */
4872
+ sClassName: string,
4873
+ /**
4874
+ * Object literal with information about the class
4875
+ */
4876
+ oClassInfo?: sap.ClassInfo<T, Dialog>,
4877
+ /**
4878
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
4879
+ * used by this class
4880
+ */
4881
+ FNMetaImpl?: Function
4882
+ ): Function;
4883
+ /**
4884
+ * Returns a metadata object for class sap.ui.commons.Dialog.
4885
+ */
4886
+ static getMetadata(): ElementMetadata;
4862
4887
  /**
4863
4888
  * Adds some button to the aggregation {@link #getButtons buttons}.
4864
4889
  */
@@ -4947,27 +4972,6 @@ declare module "sap/ui/commons/Dialog" {
4947
4972
  */
4948
4973
  oListener?: object
4949
4974
  ): this;
4950
- /**
4951
- * Creates a new subclass of class sap.ui.commons.Dialog with name `sClassName` and enriches it with the
4952
- * information contained in `oClassInfo`.
4953
- *
4954
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
4955
- */
4956
- static extend<T extends Record<string, unknown>>(
4957
- /**
4958
- * Name of the class being created
4959
- */
4960
- sClassName: string,
4961
- /**
4962
- * Object literal with information about the class
4963
- */
4964
- oClassInfo?: sap.ClassInfo<T, Dialog>,
4965
- /**
4966
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
4967
- * used by this class
4968
- */
4969
- FNMetaImpl?: Function
4970
- ): Function;
4971
4975
  /**
4972
4976
  * Fires event {@link #event:closed closed} to attached listeners.
4973
4977
  */
@@ -5099,10 +5103,6 @@ declare module "sap/ui/commons/Dialog" {
5099
5103
  * the window larger.
5100
5104
  */
5101
5105
  getMaxWidth(): CSSSize;
5102
- /**
5103
- * Returns a metadata object for class sap.ui.commons.Dialog.
5104
- */
5105
- static getMetadata(): ElementMetadata;
5106
5106
  /**
5107
5107
  * Gets current value of property {@link #getMinHeight minHeight}.
5108
5108
  *
@@ -5683,7 +5683,7 @@ declare module "sap/ui/commons/Dialog" {
5683
5683
  * Event is fired when the dialog has been closed (after closing-animation etc.). Event parameters provide
5684
5684
  * information about last position and last size.
5685
5685
  */
5686
- closed?: Function;
5686
+ closed?: (oEvent: Event) => void;
5687
5687
  }
5688
5688
  }
5689
5689
 
@@ -5739,6 +5739,31 @@ declare module "sap/ui/commons/DropdownBox" {
5739
5739
  mSettings?: $DropdownBoxSettings
5740
5740
  );
5741
5741
 
5742
+ /**
5743
+ * Creates a new subclass of class sap.ui.commons.DropdownBox with name `sClassName` and enriches it with
5744
+ * the information contained in `oClassInfo`.
5745
+ *
5746
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.ComboBox.extend}.
5747
+ */
5748
+ static extend<T extends Record<string, unknown>>(
5749
+ /**
5750
+ * Name of the class being created
5751
+ */
5752
+ sClassName: string,
5753
+ /**
5754
+ * Object literal with information about the class
5755
+ */
5756
+ oClassInfo?: sap.ClassInfo<T, DropdownBox>,
5757
+ /**
5758
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
5759
+ * used by this class
5760
+ */
5761
+ FNMetaImpl?: Function
5762
+ ): Function;
5763
+ /**
5764
+ * Returns a metadata object for class sap.ui.commons.DropdownBox.
5765
+ */
5766
+ static getMetadata(): ElementMetadata;
5742
5767
  /**
5743
5768
  * Attaches event handler `fnFunction` to the {@link #event:searchHelp searchHelp} event of this `sap.ui.commons.DropdownBox`.
5744
5769
  *
@@ -5802,27 +5827,6 @@ declare module "sap/ui/commons/DropdownBox" {
5802
5827
  */
5803
5828
  oListener?: object
5804
5829
  ): this;
5805
- /**
5806
- * Creates a new subclass of class sap.ui.commons.DropdownBox with name `sClassName` and enriches it with
5807
- * the information contained in `oClassInfo`.
5808
- *
5809
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.ComboBox.extend}.
5810
- */
5811
- static extend<T extends Record<string, unknown>>(
5812
- /**
5813
- * Name of the class being created
5814
- */
5815
- sClassName: string,
5816
- /**
5817
- * Object literal with information about the class
5818
- */
5819
- oClassInfo?: sap.ClassInfo<T, DropdownBox>,
5820
- /**
5821
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
5822
- * used by this class
5823
- */
5824
- FNMetaImpl?: Function
5825
- ): Function;
5826
5830
  /**
5827
5831
  * Fires event {@link #event:searchHelp searchHelp} to attached listeners.
5828
5832
  */
@@ -5848,10 +5852,6 @@ declare module "sap/ui/commons/DropdownBox" {
5848
5852
  * Default value is `0`.
5849
5853
  */
5850
5854
  getMaxHistoryItems(): int;
5851
- /**
5852
- * Returns a metadata object for class sap.ui.commons.DropdownBox.
5853
- */
5854
- static getMetadata(): ElementMetadata;
5855
5855
  /**
5856
5856
  * Gets current value of property {@link #getSearchHelpAdditionalText searchHelpAdditionalText}.
5857
5857
  *
@@ -6112,7 +6112,7 @@ declare module "sap/ui/commons/DropdownBox" {
6112
6112
  * Event fired whenever the configured searchHelpItem is clicked or the searchHelpItem is configured and
6113
6113
  * F4 key is pressed.
6114
6114
  */
6115
- searchHelp?: Function;
6115
+ searchHelp?: (oEvent: Event) => void;
6116
6116
  }
6117
6117
  }
6118
6118
 
@@ -7088,6 +7088,10 @@ declare module "sap/ui/commons/form/SimpleForm" {
7088
7088
  */
7089
7089
  FNMetaImpl?: Function
7090
7090
  ): Function;
7091
+ /**
7092
+ * Returns a metadata object for class sap.ui.commons.form.SimpleForm.
7093
+ */
7094
+ static getMetadata(): ElementMetadata;
7091
7095
  /**
7092
7096
  * @SINCE 1.14
7093
7097
  *
@@ -7096,10 +7100,6 @@ declare module "sap/ui/commons/form/SimpleForm" {
7096
7100
  * Default value is `ResponsiveLayout`
7097
7101
  */
7098
7102
  getLayout(): form.SimpleFormLayout;
7099
- /**
7100
- * Returns a metadata object for class sap.ui.commons.form.SimpleForm.
7101
- */
7102
- static getMetadata(): ElementMetadata;
7103
7103
  /**
7104
7104
  * @SINCE 1.14
7105
7105
  *
@@ -7163,26 +7163,13 @@ declare module "sap/ui/commons/FormattedTextView" {
7163
7163
  /**
7164
7164
  * ID for the new control, generated automatically if no ID is given
7165
7165
  */
7166
- sId?: string,
7167
- /**
7168
- * Initial settings for the new control
7169
- */
7170
- mSettings?: $FormattedTextViewSettings
7171
- );
7172
-
7173
- /**
7174
- * Adds some control to the aggregation {@link #getControls controls}.
7175
- */
7176
- addControl(
7166
+ sId?: string,
7177
7167
  /**
7178
- * The control to add; if empty, nothing is inserted
7168
+ * Initial settings for the new control
7179
7169
  */
7180
- oControl: Control
7181
- ): this;
7182
- /**
7183
- * Destroys all the controls in the aggregation {@link #getControls controls}.
7184
- */
7185
- destroyControls(): this;
7170
+ mSettings?: $FormattedTextViewSettings
7171
+ );
7172
+
7186
7173
  /**
7187
7174
  * Creates a new subclass of class sap.ui.commons.FormattedTextView with name `sClassName` and enriches
7188
7175
  * it with the information contained in `oClassInfo`.
@@ -7204,6 +7191,23 @@ declare module "sap/ui/commons/FormattedTextView" {
7204
7191
  */
7205
7192
  FNMetaImpl?: Function
7206
7193
  ): Function;
7194
+ /**
7195
+ * Returns a metadata object for class sap.ui.commons.FormattedTextView.
7196
+ */
7197
+ static getMetadata(): ElementMetadata;
7198
+ /**
7199
+ * Adds some control to the aggregation {@link #getControls controls}.
7200
+ */
7201
+ addControl(
7202
+ /**
7203
+ * The control to add; if empty, nothing is inserted
7204
+ */
7205
+ oControl: Control
7206
+ ): this;
7207
+ /**
7208
+ * Destroys all the controls in the aggregation {@link #getControls controls}.
7209
+ */
7210
+ destroyControls(): this;
7207
7211
  /**
7208
7212
  * Gets current value of property {@link #getAccessibleRole accessibleRole}.
7209
7213
  *
@@ -7226,10 +7230,6 @@ declare module "sap/ui/commons/FormattedTextView" {
7226
7230
  * Default value is `empty string`.
7227
7231
  */
7228
7232
  getHtmlText(): string;
7229
- /**
7230
- * Returns a metadata object for class sap.ui.commons.FormattedTextView.
7231
- */
7232
- static getMetadata(): ElementMetadata;
7233
7233
  /**
7234
7234
  * Indicates whether the FormattedTextView contains other controls.
7235
7235
  */
@@ -7405,6 +7405,10 @@ declare module "sap/ui/commons/HorizontalDivider" {
7405
7405
  */
7406
7406
  FNMetaImpl?: Function
7407
7407
  ): Function;
7408
+ /**
7409
+ * Returns a metadata object for class sap.ui.commons.HorizontalDivider.
7410
+ */
7411
+ static getMetadata(): ElementMetadata;
7408
7412
  /**
7409
7413
  * Gets current value of property {@link #getHeight height}.
7410
7414
  *
@@ -7413,10 +7417,6 @@ declare module "sap/ui/commons/HorizontalDivider" {
7413
7417
  * Default value is `Medium`.
7414
7418
  */
7415
7419
  getHeight(): HorizontalDividerHeight | keyof typeof HorizontalDividerHeight;
7416
- /**
7417
- * Returns a metadata object for class sap.ui.commons.HorizontalDivider.
7418
- */
7419
- static getMetadata(): ElementMetadata;
7420
7420
  /**
7421
7421
  * Gets current value of property {@link #getType type}.
7422
7422
  *
@@ -7561,6 +7561,31 @@ declare module "sap/ui/commons/Image" {
7561
7561
  mSettings?: $ImageSettings
7562
7562
  );
7563
7563
 
7564
+ /**
7565
+ * Creates a new subclass of class sap.ui.commons.Image with name `sClassName` and enriches it with the
7566
+ * information contained in `oClassInfo`.
7567
+ *
7568
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
7569
+ */
7570
+ static extend<T extends Record<string, unknown>>(
7571
+ /**
7572
+ * Name of the class being created
7573
+ */
7574
+ sClassName: string,
7575
+ /**
7576
+ * Object literal with information about the class
7577
+ */
7578
+ oClassInfo?: sap.ClassInfo<T, Image>,
7579
+ /**
7580
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
7581
+ * used by this class
7582
+ */
7583
+ FNMetaImpl?: Function
7584
+ ): Function;
7585
+ /**
7586
+ * Returns a metadata object for class sap.ui.commons.Image.
7587
+ */
7588
+ static getMetadata(): ElementMetadata;
7564
7589
  /**
7565
7590
  * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.commons.Image`.
7566
7591
  *
@@ -7617,27 +7642,6 @@ declare module "sap/ui/commons/Image" {
7617
7642
  */
7618
7643
  oListener?: object
7619
7644
  ): this;
7620
- /**
7621
- * Creates a new subclass of class sap.ui.commons.Image with name `sClassName` and enriches it with the
7622
- * information contained in `oClassInfo`.
7623
- *
7624
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
7625
- */
7626
- static extend<T extends Record<string, unknown>>(
7627
- /**
7628
- * Name of the class being created
7629
- */
7630
- sClassName: string,
7631
- /**
7632
- * Object literal with information about the class
7633
- */
7634
- oClassInfo?: sap.ClassInfo<T, Image>,
7635
- /**
7636
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
7637
- * used by this class
7638
- */
7639
- FNMetaImpl?: Function
7640
- ): Function;
7641
7645
  /**
7642
7646
  * Fires event {@link #event:press press} to attached listeners.
7643
7647
  */
@@ -7672,10 +7676,6 @@ declare module "sap/ui/commons/Image" {
7672
7676
  * for width or height only, the overall size is maintained then, considering the aspect ratio.
7673
7677
  */
7674
7678
  getHeight(): CSSSize;
7675
- /**
7676
- * Returns a metadata object for class sap.ui.commons.Image.
7677
- */
7678
- static getMetadata(): ElementMetadata;
7679
7679
  /**
7680
7680
  * Gets current value of property {@link #getSrc src}.
7681
7681
  *
@@ -7823,7 +7823,7 @@ declare module "sap/ui/commons/Image" {
7823
7823
  /**
7824
7824
  * Event is fired when the user clicks on the control.
7825
7825
  */
7826
- press?: Function;
7826
+ press?: (oEvent: Event) => void;
7827
7827
  }
7828
7828
  }
7829
7829
 
@@ -7878,6 +7878,31 @@ declare module "sap/ui/commons/ImageMap" {
7878
7878
  mSettings?: $ImageMapSettings
7879
7879
  );
7880
7880
 
7881
+ /**
7882
+ * Creates a new subclass of class sap.ui.commons.ImageMap with name `sClassName` and enriches it with the
7883
+ * information contained in `oClassInfo`.
7884
+ *
7885
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
7886
+ */
7887
+ static extend<T extends Record<string, unknown>>(
7888
+ /**
7889
+ * Name of the class being created
7890
+ */
7891
+ sClassName: string,
7892
+ /**
7893
+ * Object literal with information about the class
7894
+ */
7895
+ oClassInfo?: sap.ClassInfo<T, ImageMap>,
7896
+ /**
7897
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
7898
+ * used by this class
7899
+ */
7900
+ FNMetaImpl?: Function
7901
+ ): Function;
7902
+ /**
7903
+ * Returns a metadata object for class sap.ui.commons.ImageMap.
7904
+ */
7905
+ static getMetadata(): ElementMetadata;
7881
7906
  /**
7882
7907
  * Adds some area to the aggregation {@link #getAreas areas}.
7883
7908
  */
@@ -7958,27 +7983,6 @@ declare module "sap/ui/commons/ImageMap" {
7958
7983
  */
7959
7984
  oListener?: object
7960
7985
  ): this;
7961
- /**
7962
- * Creates a new subclass of class sap.ui.commons.ImageMap with name `sClassName` and enriches it with the
7963
- * information contained in `oClassInfo`.
7964
- *
7965
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
7966
- */
7967
- static extend<T extends Record<string, unknown>>(
7968
- /**
7969
- * Name of the class being created
7970
- */
7971
- sClassName: string,
7972
- /**
7973
- * Object literal with information about the class
7974
- */
7975
- oClassInfo?: sap.ClassInfo<T, ImageMap>,
7976
- /**
7977
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
7978
- * used by this class
7979
- */
7980
- FNMetaImpl?: Function
7981
- ): Function;
7982
7986
  /**
7983
7987
  * Fires event {@link #event:press press} to attached listeners.
7984
7988
  */
@@ -7999,10 +8003,6 @@ declare module "sap/ui/commons/ImageMap" {
7999
8003
  * Area representing the reference to the target location
8000
8004
  */
8001
8005
  getAreas(): Area[];
8002
- /**
8003
- * Returns a metadata object for class sap.ui.commons.ImageMap.
8004
- */
8005
- static getMetadata(): ElementMetadata;
8006
8006
  /**
8007
8007
  * Gets current value of property {@link #getName name}.
8008
8008
  *
@@ -8078,7 +8078,7 @@ declare module "sap/ui/commons/ImageMap" {
8078
8078
  /**
8079
8079
  * Event for the areas that can be clicked in an ImageMap
8080
8080
  */
8081
- press?: Function;
8081
+ press?: (oEvent: Event) => void;
8082
8082
  }
8083
8083
  }
8084
8084
 
@@ -8135,6 +8135,31 @@ declare module "sap/ui/commons/InPlaceEdit" {
8135
8135
  mSettings?: $InPlaceEditSettings
8136
8136
  );
8137
8137
 
8138
+ /**
8139
+ * Creates a new subclass of class sap.ui.commons.InPlaceEdit with name `sClassName` and enriches it with
8140
+ * the information contained in `oClassInfo`.
8141
+ *
8142
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
8143
+ */
8144
+ static extend<T extends Record<string, unknown>>(
8145
+ /**
8146
+ * Name of the class being created
8147
+ */
8148
+ sClassName: string,
8149
+ /**
8150
+ * Object literal with information about the class
8151
+ */
8152
+ oClassInfo?: sap.ClassInfo<T, InPlaceEdit>,
8153
+ /**
8154
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
8155
+ * used by this class
8156
+ */
8157
+ FNMetaImpl?: Function
8158
+ ): Function;
8159
+ /**
8160
+ * Returns a metadata object for class sap.ui.commons.InPlaceEdit.
8161
+ */
8162
+ static getMetadata(): ElementMetadata;
8138
8163
  /**
8139
8164
  * Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.commons.InPlaceEdit`.
8140
8165
  *
@@ -8268,27 +8293,6 @@ declare module "sap/ui/commons/InPlaceEdit" {
8268
8293
  */
8269
8294
  oListener?: object
8270
8295
  ): this;
8271
- /**
8272
- * Creates a new subclass of class sap.ui.commons.InPlaceEdit with name `sClassName` and enriches it with
8273
- * the information contained in `oClassInfo`.
8274
- *
8275
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
8276
- */
8277
- static extend<T extends Record<string, unknown>>(
8278
- /**
8279
- * Name of the class being created
8280
- */
8281
- sClassName: string,
8282
- /**
8283
- * Object literal with information about the class
8284
- */
8285
- oClassInfo?: sap.ClassInfo<T, InPlaceEdit>,
8286
- /**
8287
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
8288
- * used by this class
8289
- */
8290
- FNMetaImpl?: Function
8291
- ): Function;
8292
8296
  /**
8293
8297
  * Fires event {@link #event:change change} to attached listeners.
8294
8298
  */
@@ -8323,7 +8327,7 @@ declare module "sap/ui/commons/InPlaceEdit" {
8323
8327
  * See:
8324
8328
  * sap.ui.core.Control#getAccessibilityInfo
8325
8329
  */
8326
- getAccessibilityInfo(): Object;
8330
+ getAccessibilityInfo(): object;
8327
8331
  /**
8328
8332
  * Gets content of aggregation {@link #getContent content}.
8329
8333
  *
@@ -8341,10 +8345,6 @@ declare module "sap/ui/commons/InPlaceEdit" {
8341
8345
  * Default value is `Standard`.
8342
8346
  */
8343
8347
  getDesign(): TextViewDesign | keyof typeof TextViewDesign;
8344
- /**
8345
- * Returns a metadata object for class sap.ui.commons.InPlaceEdit.
8346
- */
8347
- static getMetadata(): ElementMetadata;
8348
8348
  /**
8349
8349
  * Returns the tooltip for this InPlaceEdit if any or an undefined value. The tooltip can either be a simple
8350
8350
  * string or a subclass of {@link sap.ui.core.TooltipBase}.
@@ -8480,7 +8480,7 @@ declare module "sap/ui/commons/InPlaceEdit" {
8480
8480
  * Event is fired when the text in the field has changed AND the focus leaves the InPlaceEdit or the Enter
8481
8481
  * key is pressed.
8482
8482
  */
8483
- change?: Function;
8483
+ change?: (oEvent: Event) => void;
8484
8484
 
8485
8485
  /**
8486
8486
  * @SINCE 1.16.5
@@ -8489,7 +8489,7 @@ declare module "sap/ui/commons/InPlaceEdit" {
8489
8489
  * is not the content of the value property. The value property is only updated by ENTER and by leaving
8490
8490
  * the control.
8491
8491
  */
8492
- liveChange?: Function;
8492
+ liveChange?: (oEvent: Event) => void;
8493
8493
  }
8494
8494
  }
8495
8495
 
@@ -8572,6 +8572,10 @@ declare module "sap/ui/commons/Label" {
8572
8572
  */
8573
8573
  FNMetaImpl?: Function
8574
8574
  ): Function;
8575
+ /**
8576
+ * Returns a metadata object for class sap.ui.commons.Label.
8577
+ */
8578
+ static getMetadata(): ElementMetadata;
8575
8579
  /**
8576
8580
  * See:
8577
8581
  * sap.ui.core.Control#getAccessibilityInfo
@@ -8595,10 +8599,6 @@ declare module "sap/ui/commons/Label" {
8595
8599
  * ID of the element which is the current target of the association {@link #getLabelFor labelFor}, or `null`.
8596
8600
  */
8597
8601
  getLabelFor(): ID;
8598
- /**
8599
- * Returns a metadata object for class sap.ui.commons.Label.
8600
- */
8601
- static getMetadata(): ElementMetadata;
8602
8602
  /**
8603
8603
  * @SINCE 1.11.0
8604
8604
  *
@@ -8931,6 +8931,31 @@ declare module "sap/ui/commons/layout/AbsoluteLayout" {
8931
8931
  mSettings?: $AbsoluteLayoutSettings
8932
8932
  );
8933
8933
 
8934
+ /**
8935
+ * Creates a new subclass of class sap.ui.commons.layout.AbsoluteLayout with name `sClassName` and enriches
8936
+ * it with the information contained in `oClassInfo`.
8937
+ *
8938
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
8939
+ */
8940
+ static extend<T extends Record<string, unknown>>(
8941
+ /**
8942
+ * Name of the class being created
8943
+ */
8944
+ sClassName: string,
8945
+ /**
8946
+ * Object literal with information about the class
8947
+ */
8948
+ oClassInfo?: sap.ClassInfo<T, AbsoluteLayout>,
8949
+ /**
8950
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
8951
+ * used by this class
8952
+ */
8953
+ FNMetaImpl?: Function
8954
+ ): Function;
8955
+ /**
8956
+ * Returns a metadata object for class sap.ui.commons.layout.AbsoluteLayout.
8957
+ */
8958
+ static getMetadata(): ElementMetadata;
8934
8959
  /**
8935
8960
  * Adds the given control and a corresponding position container into the aggregation named 'positions'.
8936
8961
  * Returns 'this' to allow method chaining.
@@ -8951,40 +8976,19 @@ declare module "sap/ui/commons/layout/AbsoluteLayout" {
8951
8976
  */
8952
8977
  addPosition(
8953
8978
  /**
8954
- * Element which must be positioned in the layout.
8955
- */
8956
- oPosition: object
8957
- ): this;
8958
- /**
8959
- * Destroys all aggregated position containers and their child controls. Returns 'this' to allow method
8960
- * chaining.
8961
- */
8962
- destroyContent(): this;
8963
- /**
8964
- * Destroys all elements from the layout.
8965
- */
8966
- destroyPositions(): this;
8967
- /**
8968
- * Creates a new subclass of class sap.ui.commons.layout.AbsoluteLayout with name `sClassName` and enriches
8969
- * it with the information contained in `oClassInfo`.
8970
- *
8971
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
8972
- */
8973
- static extend<T extends Record<string, unknown>>(
8974
- /**
8975
- * Name of the class being created
8976
- */
8977
- sClassName: string,
8978
- /**
8979
- * Object literal with information about the class
8980
- */
8981
- oClassInfo?: sap.ClassInfo<T, AbsoluteLayout>,
8982
- /**
8983
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
8984
- * used by this class
8979
+ * Element which must be positioned in the layout.
8985
8980
  */
8986
- FNMetaImpl?: Function
8987
- ): Function;
8981
+ oPosition: object
8982
+ ): this;
8983
+ /**
8984
+ * Destroys all aggregated position containers and their child controls. Returns 'this' to allow method
8985
+ * chaining.
8986
+ */
8987
+ destroyContent(): this;
8988
+ /**
8989
+ * Destroys all elements from the layout.
8990
+ */
8991
+ destroyPositions(): this;
8988
8992
  /**
8989
8993
  * Returns an array of the controls contained in the aggregated position containers (might be empty).
8990
8994
  */
@@ -9005,10 +9009,6 @@ declare module "sap/ui/commons/layout/AbsoluteLayout" {
9005
9009
  * Default value is `Hidden`.
9006
9010
  */
9007
9011
  getHorizontalScrolling(): Scrolling | keyof typeof Scrolling;
9008
- /**
9009
- * Returns a metadata object for class sap.ui.commons.layout.AbsoluteLayout.
9010
- */
9011
- static getMetadata(): ElementMetadata;
9012
9012
  /**
9013
9013
  * Gets content of aggregation {@link #getPositions positions}.
9014
9014
  *
@@ -9254,6 +9254,31 @@ declare module "sap/ui/commons/layout/BorderLayout" {
9254
9254
  mSettings?: $BorderLayoutSettings
9255
9255
  );
9256
9256
 
9257
+ /**
9258
+ * Creates a new subclass of class sap.ui.commons.layout.BorderLayout with name `sClassName` and enriches
9259
+ * it with the information contained in `oClassInfo`.
9260
+ *
9261
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
9262
+ */
9263
+ static extend<T extends Record<string, unknown>>(
9264
+ /**
9265
+ * Name of the class being created
9266
+ */
9267
+ sClassName: string,
9268
+ /**
9269
+ * Object literal with information about the class
9270
+ */
9271
+ oClassInfo?: sap.ClassInfo<T, BorderLayout>,
9272
+ /**
9273
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
9274
+ * used by this class
9275
+ */
9276
+ FNMetaImpl?: Function
9277
+ ): Function;
9278
+ /**
9279
+ * Returns a metadata object for class sap.ui.commons.layout.BorderLayout.
9280
+ */
9281
+ static getMetadata(): ElementMetadata;
9257
9282
  /**
9258
9283
  * Adds controls to the specified area.
9259
9284
  */
@@ -9312,27 +9337,6 @@ declare module "sap/ui/commons/layout/BorderLayout" {
9312
9337
  * Destroys the top in the aggregation {@link #getTop top}.
9313
9338
  */
9314
9339
  destroyTop(): this;
9315
- /**
9316
- * Creates a new subclass of class sap.ui.commons.layout.BorderLayout with name `sClassName` and enriches
9317
- * it with the information contained in `oClassInfo`.
9318
- *
9319
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
9320
- */
9321
- static extend<T extends Record<string, unknown>>(
9322
- /**
9323
- * Name of the class being created
9324
- */
9325
- sClassName: string,
9326
- /**
9327
- * Object literal with information about the class
9328
- */
9329
- oClassInfo?: sap.ClassInfo<T, BorderLayout>,
9330
- /**
9331
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
9332
- * used by this class
9333
- */
9334
- FNMetaImpl?: Function
9335
- ): Function;
9336
9340
  /**
9337
9341
  * Returns the area of the given type. If the area does not exist, it will be created when create is set
9338
9342
  * to true.
@@ -9414,10 +9418,6 @@ declare module "sap/ui/commons/layout/BorderLayout" {
9414
9418
  * Default value is `'100%'`.
9415
9419
  */
9416
9420
  getHeight(): CSSSize;
9417
- /**
9418
- * Returns a metadata object for class sap.ui.commons.layout.BorderLayout.
9419
- */
9420
- static getMetadata(): ElementMetadata;
9421
9421
  /**
9422
9422
  * @deprecated (since 1.5.2) - replaced by the global configuration for the page
9423
9423
  *
@@ -9707,19 +9707,6 @@ declare module "sap/ui/commons/layout/BorderLayoutArea" {
9707
9707
  mSettings?: $BorderLayoutAreaSettings
9708
9708
  );
9709
9709
 
9710
- /**
9711
- * Adds some content to the aggregation {@link #getContent content}.
9712
- */
9713
- addContent(
9714
- /**
9715
- * The content to add; if empty, nothing is inserted
9716
- */
9717
- oContent: Control
9718
- ): this;
9719
- /**
9720
- * Destroys all the content in the aggregation {@link #getContent content}.
9721
- */
9722
- destroyContent(): this;
9723
9710
  /**
9724
9711
  * Creates a new subclass of class sap.ui.commons.layout.BorderLayoutArea with name `sClassName` and enriches
9725
9712
  * it with the information contained in `oClassInfo`.
@@ -9741,6 +9728,23 @@ declare module "sap/ui/commons/layout/BorderLayoutArea" {
9741
9728
  */
9742
9729
  FNMetaImpl?: Function
9743
9730
  ): Function;
9731
+ /**
9732
+ * Returns a metadata object for class sap.ui.commons.layout.BorderLayoutArea.
9733
+ */
9734
+ static getMetadata(): ElementMetadata;
9735
+ /**
9736
+ * Adds some content to the aggregation {@link #getContent content}.
9737
+ */
9738
+ addContent(
9739
+ /**
9740
+ * The content to add; if empty, nothing is inserted
9741
+ */
9742
+ oContent: Control
9743
+ ): this;
9744
+ /**
9745
+ * Destroys all the content in the aggregation {@link #getContent content}.
9746
+ */
9747
+ destroyContent(): this;
9744
9748
  /**
9745
9749
  * @deprecated (since 1.3.3) - Redundant to the aggregation by the parent border layout.
9746
9750
  *
@@ -9767,10 +9771,6 @@ declare module "sap/ui/commons/layout/BorderLayoutArea" {
9767
9771
  * Default value is `'left'`.
9768
9772
  */
9769
9773
  getContentAlign(): string;
9770
- /**
9771
- * Returns a metadata object for class sap.ui.commons.layout.BorderLayoutArea.
9772
- */
9773
- static getMetadata(): ElementMetadata;
9774
9774
  /**
9775
9775
  * Gets current value of property {@link #getOverflowX overflowX}.
9776
9776
  *
@@ -10127,27 +10127,6 @@ declare module "sap/ui/commons/layout/MatrixLayout" {
10127
10127
  mSettings?: $MatrixLayoutSettings
10128
10128
  );
10129
10129
 
10130
- /**
10131
- * Adds some row to the aggregation {@link #getRows rows}.
10132
- */
10133
- addRow(
10134
- /**
10135
- * The row to add; if empty, nothing is inserted
10136
- */
10137
- oRow: MatrixLayoutRow
10138
- ): this;
10139
- /**
10140
- * Creates a new matrix layout row and appends it to this matrix layout.
10141
- *
10142
- * Each argument must be either a matrix layout cell, which is added to the row "as is", or an arbitrary
10143
- * content control, which is wrapped with a new (default) matrix layout cell first and then added to the
10144
- * row.
10145
- */
10146
- createRow(): this;
10147
- /**
10148
- * Destroys all the rows in the aggregation {@link #getRows rows}.
10149
- */
10150
- destroyRows(): this;
10151
10130
  /**
10152
10131
  * Creates a new subclass of class sap.ui.commons.layout.MatrixLayout with name `sClassName` and enriches
10153
10132
  * it with the information contained in `oClassInfo`.
@@ -10169,6 +10148,31 @@ declare module "sap/ui/commons/layout/MatrixLayout" {
10169
10148
  */
10170
10149
  FNMetaImpl?: Function
10171
10150
  ): Function;
10151
+ /**
10152
+ * Returns a metadata object for class sap.ui.commons.layout.MatrixLayout.
10153
+ */
10154
+ static getMetadata(): ElementMetadata;
10155
+ /**
10156
+ * Adds some row to the aggregation {@link #getRows rows}.
10157
+ */
10158
+ addRow(
10159
+ /**
10160
+ * The row to add; if empty, nothing is inserted
10161
+ */
10162
+ oRow: MatrixLayoutRow
10163
+ ): this;
10164
+ /**
10165
+ * Creates a new matrix layout row and appends it to this matrix layout.
10166
+ *
10167
+ * Each argument must be either a matrix layout cell, which is added to the row "as is", or an arbitrary
10168
+ * content control, which is wrapped with a new (default) matrix layout cell first and then added to the
10169
+ * row.
10170
+ */
10171
+ createRow(): this;
10172
+ /**
10173
+ * Destroys all the rows in the aggregation {@link #getRows rows}.
10174
+ */
10175
+ destroyRows(): this;
10172
10176
  /**
10173
10177
  * Gets current value of property {@link #getColumns columns}.
10174
10178
  *
@@ -10192,10 +10196,6 @@ declare module "sap/ui/commons/layout/MatrixLayout" {
10192
10196
  * Default value is `true`.
10193
10197
  */
10194
10198
  getLayoutFixed(): boolean;
10195
- /**
10196
- * Returns a metadata object for class sap.ui.commons.layout.MatrixLayout.
10197
- */
10198
- static getMetadata(): ElementMetadata;
10199
10199
  /**
10200
10200
  * Gets content of aggregation {@link #getRows rows}.
10201
10201
  *
@@ -10416,6 +10416,31 @@ declare module "sap/ui/commons/layout/MatrixLayoutCell" {
10416
10416
  mSettings?: $MatrixLayoutCellSettings
10417
10417
  );
10418
10418
 
10419
+ /**
10420
+ * Creates a new subclass of class sap.ui.commons.layout.MatrixLayoutCell with name `sClassName` and enriches
10421
+ * it with the information contained in `oClassInfo`.
10422
+ *
10423
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
10424
+ */
10425
+ static extend<T extends Record<string, unknown>>(
10426
+ /**
10427
+ * Name of the class being created
10428
+ */
10429
+ sClassName: string,
10430
+ /**
10431
+ * Object literal with information about the class
10432
+ */
10433
+ oClassInfo?: sap.ClassInfo<T, MatrixLayoutCell>,
10434
+ /**
10435
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
10436
+ * used by this class
10437
+ */
10438
+ FNMetaImpl?: Function
10439
+ ): Function;
10440
+ /**
10441
+ * Returns a metadata object for class sap.ui.commons.layout.MatrixLayoutCell.
10442
+ */
10443
+ static getMetadata(): ElementMetadata;
10419
10444
  /**
10420
10445
  * Adds some content to the aggregation {@link #getContent content}.
10421
10446
  */
@@ -10467,27 +10492,6 @@ declare module "sap/ui/commons/layout/MatrixLayoutCell" {
10467
10492
  * Destroys all the content in the aggregation {@link #getContent content}.
10468
10493
  */
10469
10494
  destroyContent(): this;
10470
- /**
10471
- * Creates a new subclass of class sap.ui.commons.layout.MatrixLayoutCell with name `sClassName` and enriches
10472
- * it with the information contained in `oClassInfo`.
10473
- *
10474
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
10475
- */
10476
- static extend<T extends Record<string, unknown>>(
10477
- /**
10478
- * Name of the class being created
10479
- */
10480
- sClassName: string,
10481
- /**
10482
- * Object literal with information about the class
10483
- */
10484
- oClassInfo?: sap.ClassInfo<T, MatrixLayoutCell>,
10485
- /**
10486
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
10487
- * used by this class
10488
- */
10489
- FNMetaImpl?: Function
10490
- ): Function;
10491
10495
  /**
10492
10496
  * Gets current value of property {@link #getBackgroundDesign backgroundDesign}.
10493
10497
  *
@@ -10523,10 +10527,6 @@ declare module "sap/ui/commons/layout/MatrixLayoutCell" {
10523
10527
  * Default value is `'Begin'`.
10524
10528
  */
10525
10529
  getHAlign(): layout.HAlign | keyof typeof layout.HAlign;
10526
- /**
10527
- * Returns a metadata object for class sap.ui.commons.layout.MatrixLayoutCell.
10528
- */
10529
- static getMetadata(): ElementMetadata;
10530
10530
  /**
10531
10531
  * Gets current value of property {@link #getPadding padding}.
10532
10532
  *
@@ -10845,6 +10845,31 @@ declare module "sap/ui/commons/layout/MatrixLayoutRow" {
10845
10845
  mSettings?: $MatrixLayoutRowSettings
10846
10846
  );
10847
10847
 
10848
+ /**
10849
+ * Creates a new subclass of class sap.ui.commons.layout.MatrixLayoutRow with name `sClassName` and enriches
10850
+ * it with the information contained in `oClassInfo`.
10851
+ *
10852
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
10853
+ */
10854
+ static extend<T extends Record<string, unknown>>(
10855
+ /**
10856
+ * Name of the class being created
10857
+ */
10858
+ sClassName: string,
10859
+ /**
10860
+ * Object literal with information about the class
10861
+ */
10862
+ oClassInfo?: sap.ClassInfo<T, MatrixLayoutRow>,
10863
+ /**
10864
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
10865
+ * used by this class
10866
+ */
10867
+ FNMetaImpl?: Function
10868
+ ): Function;
10869
+ /**
10870
+ * Returns a metadata object for class sap.ui.commons.layout.MatrixLayoutRow.
10871
+ */
10872
+ static getMetadata(): ElementMetadata;
10848
10873
  /**
10849
10874
  * Adds some cell to the aggregation {@link #getCells cells}.
10850
10875
  */
@@ -10882,41 +10907,20 @@ declare module "sap/ui/commons/layout/MatrixLayoutRow" {
10882
10907
  * (even though CSS selectors interpret them as different classes) and can only removed later by calling
10883
10908
  * removeStyleClass() with exactly the same (space-containing) string as parameter. Multiple calls with
10884
10909
  * the same sStyleClass will have no different effect than calling once. If sStyleClass is null, the call
10885
- * is ignored.
10886
- *
10887
- * Returns `this` to allow method chaining
10888
- */
10889
- addStyleClass(
10890
- /**
10891
- * the CSS class name to be added
10892
- */
10893
- sStyleClass: string
10894
- ): this;
10895
- /**
10896
- * Destroys all the cells in the aggregation {@link #getCells cells}.
10897
- */
10898
- destroyCells(): this;
10899
- /**
10900
- * Creates a new subclass of class sap.ui.commons.layout.MatrixLayoutRow with name `sClassName` and enriches
10901
- * it with the information contained in `oClassInfo`.
10902
- *
10903
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
10904
- */
10905
- static extend<T extends Record<string, unknown>>(
10906
- /**
10907
- * Name of the class being created
10908
- */
10909
- sClassName: string,
10910
- /**
10911
- * Object literal with information about the class
10912
- */
10913
- oClassInfo?: sap.ClassInfo<T, MatrixLayoutRow>,
10910
+ * is ignored.
10911
+ *
10912
+ * Returns `this` to allow method chaining
10913
+ */
10914
+ addStyleClass(
10914
10915
  /**
10915
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
10916
- * used by this class
10916
+ * the CSS class name to be added
10917
10917
  */
10918
- FNMetaImpl?: Function
10919
- ): Function;
10918
+ sStyleClass: string
10919
+ ): this;
10920
+ /**
10921
+ * Destroys all the cells in the aggregation {@link #getCells cells}.
10922
+ */
10923
+ destroyCells(): this;
10920
10924
  /**
10921
10925
  * Gets content of aggregation {@link #getCells cells}.
10922
10926
  *
@@ -10929,10 +10933,6 @@ declare module "sap/ui/commons/layout/MatrixLayoutRow" {
10929
10933
  * Height of the row.
10930
10934
  */
10931
10935
  getHeight(): CSSSize;
10932
- /**
10933
- * Returns a metadata object for class sap.ui.commons.layout.MatrixLayoutRow.
10934
- */
10935
- static getMetadata(): ElementMetadata;
10936
10936
  /**
10937
10937
  * Returns true if the given style class string is valid and if this Element has this style class set via
10938
10938
  * a previous call to addStyleClass().
@@ -11071,10 +11071,6 @@ declare module "sap/ui/commons/layout/PositionContainer" {
11071
11071
  mSettings?: $PositionContainerSettings
11072
11072
  );
11073
11073
 
11074
- /**
11075
- * Destroys the control in the aggregation {@link #getControl control}.
11076
- */
11077
- destroyControl(): this;
11078
11074
  /**
11079
11075
  * Creates a new subclass of class sap.ui.commons.layout.PositionContainer with name `sClassName` and enriches
11080
11076
  * it with the information contained in `oClassInfo`.
@@ -11096,6 +11092,14 @@ declare module "sap/ui/commons/layout/PositionContainer" {
11096
11092
  */
11097
11093
  FNMetaImpl?: Function
11098
11094
  ): Function;
11095
+ /**
11096
+ * Returns a metadata object for class sap.ui.commons.layout.PositionContainer.
11097
+ */
11098
+ static getMetadata(): ElementMetadata;
11099
+ /**
11100
+ * Destroys the control in the aggregation {@link #getControl control}.
11101
+ */
11102
+ destroyControl(): this;
11099
11103
  /**
11100
11104
  * Gets current value of property {@link #getBottom bottom}.
11101
11105
  *
@@ -11132,10 +11136,6 @@ declare module "sap/ui/commons/layout/PositionContainer" {
11132
11136
  * Defines the distance to the left of the layout (as specified in HTML)
11133
11137
  */
11134
11138
  getLeft(): CSSSize;
11135
- /**
11136
- * Returns a metadata object for class sap.ui.commons.layout.PositionContainer.
11137
- */
11138
- static getMetadata(): ElementMetadata;
11139
11139
  /**
11140
11140
  * Gets current value of property {@link #getRight right}.
11141
11141
  *
@@ -11451,6 +11451,10 @@ declare module "sap/ui/commons/layout/ResponsiveFlowLayoutData" {
11451
11451
  */
11452
11452
  FNMetaImpl?: Function
11453
11453
  ): Function;
11454
+ /**
11455
+ * Returns a metadata object for class sap.ui.commons.layout.ResponsiveFlowLayoutData.
11456
+ */
11457
+ static getMetadata(): ElementMetadata;
11454
11458
  /**
11455
11459
  * @SINCE 1.11.0
11456
11460
  *
@@ -11459,10 +11463,6 @@ declare module "sap/ui/commons/layout/ResponsiveFlowLayoutData" {
11459
11463
  * Default value is `true`
11460
11464
  */
11461
11465
  getMargin(): boolean;
11462
- /**
11463
- * Returns a metadata object for class sap.ui.commons.layout.ResponsiveFlowLayoutData.
11464
- */
11465
- static getMetadata(): ElementMetadata;
11466
11466
  /**
11467
11467
  * @SINCE 1.11.0
11468
11468
  *
@@ -11623,6 +11623,31 @@ declare module "sap/ui/commons/Link" {
11623
11623
  mSettings?: $LinkSettings
11624
11624
  );
11625
11625
 
11626
+ /**
11627
+ * Creates a new subclass of class sap.ui.commons.Link with name `sClassName` and enriches it with the information
11628
+ * contained in `oClassInfo`.
11629
+ *
11630
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
11631
+ */
11632
+ static extend<T extends Record<string, unknown>>(
11633
+ /**
11634
+ * Name of the class being created
11635
+ */
11636
+ sClassName: string,
11637
+ /**
11638
+ * Object literal with information about the class
11639
+ */
11640
+ oClassInfo?: sap.ClassInfo<T, Link>,
11641
+ /**
11642
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
11643
+ * used by this class
11644
+ */
11645
+ FNMetaImpl?: Function
11646
+ ): Function;
11647
+ /**
11648
+ * Returns a metadata object for class sap.ui.commons.Link.
11649
+ */
11650
+ static getMetadata(): ElementMetadata;
11626
11651
  /**
11627
11652
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
11628
11653
  */
@@ -11697,27 +11722,6 @@ declare module "sap/ui/commons/Link" {
11697
11722
  */
11698
11723
  oListener?: object
11699
11724
  ): this;
11700
- /**
11701
- * Creates a new subclass of class sap.ui.commons.Link with name `sClassName` and enriches it with the information
11702
- * contained in `oClassInfo`.
11703
- *
11704
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
11705
- */
11706
- static extend<T extends Record<string, unknown>>(
11707
- /**
11708
- * Name of the class being created
11709
- */
11710
- sClassName: string,
11711
- /**
11712
- * Object literal with information about the class
11713
- */
11714
- oClassInfo?: sap.ClassInfo<T, Link>,
11715
- /**
11716
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
11717
- * used by this class
11718
- */
11719
- FNMetaImpl?: Function
11720
- ): Function;
11721
11725
  /**
11722
11726
  * Fires event {@link #event:press press} to attached listeners.
11723
11727
  *
@@ -11772,10 +11776,6 @@ declare module "sap/ui/commons/Link" {
11772
11776
  * not be set, but instead an event handler for the "press" event should be registered.
11773
11777
  */
11774
11778
  getHref(): URI;
11775
- /**
11776
- * Returns a metadata object for class sap.ui.commons.Link.
11777
- */
11778
- static getMetadata(): ElementMetadata;
11779
11779
  /**
11780
11780
  * Gets current value of property {@link #getTarget target}.
11781
11781
  *
@@ -11963,7 +11963,7 @@ declare module "sap/ui/commons/Link" {
11963
11963
  /**
11964
11964
  * Event is fired when the user clicks the control.
11965
11965
  */
11966
- press?: Function;
11966
+ press?: (oEvent: Event) => void;
11967
11967
  }
11968
11968
  }
11969
11969
 
@@ -12024,6 +12024,31 @@ declare module "sap/ui/commons/ListBox" {
12024
12024
  mSettings?: $ListBoxSettings
12025
12025
  );
12026
12026
 
12027
+ /**
12028
+ * Creates a new subclass of class sap.ui.commons.ListBox with name `sClassName` and enriches it with the
12029
+ * information contained in `oClassInfo`.
12030
+ *
12031
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
12032
+ */
12033
+ static extend<T extends Record<string, unknown>>(
12034
+ /**
12035
+ * Name of the class being created
12036
+ */
12037
+ sClassName: string,
12038
+ /**
12039
+ * Object literal with information about the class
12040
+ */
12041
+ oClassInfo?: sap.ClassInfo<T, ListBox>,
12042
+ /**
12043
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
12044
+ * used by this class
12045
+ */
12046
+ FNMetaImpl?: Function
12047
+ ): Function;
12048
+ /**
12049
+ * Returns a metadata object for class sap.ui.commons.ListBox.
12050
+ */
12051
+ static getMetadata(): ElementMetadata;
12027
12052
  /**
12028
12053
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
12029
12054
  */
@@ -12134,27 +12159,6 @@ declare module "sap/ui/commons/ListBox" {
12134
12159
  */
12135
12160
  oListener?: object
12136
12161
  ): this;
12137
- /**
12138
- * Creates a new subclass of class sap.ui.commons.ListBox with name `sClassName` and enriches it with the
12139
- * information contained in `oClassInfo`.
12140
- *
12141
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
12142
- */
12143
- static extend<T extends Record<string, unknown>>(
12144
- /**
12145
- * Name of the class being created
12146
- */
12147
- sClassName: string,
12148
- /**
12149
- * Object literal with information about the class
12150
- */
12151
- oClassInfo?: sap.ClassInfo<T, ListBox>,
12152
- /**
12153
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
12154
- * used by this class
12155
- */
12156
- FNMetaImpl?: Function
12157
- ): Function;
12158
12162
  /**
12159
12163
  * Fires event {@link #event:select select} to attached listeners.
12160
12164
  */
@@ -12260,10 +12264,6 @@ declare module "sap/ui/commons/ListBox" {
12260
12264
  * Determines the maximum width of the ListBox. If not set, there is no maximum width.
12261
12265
  */
12262
12266
  getMaxWidth(): CSSSize;
12263
- /**
12264
- * Returns a metadata object for class sap.ui.commons.ListBox.
12265
- */
12266
- static getMetadata(): ElementMetadata;
12267
12267
  /**
12268
12268
  * Gets current value of property {@link #getMinWidth minWidth}.
12269
12269
  *
@@ -12750,7 +12750,7 @@ declare module "sap/ui/commons/ListBox" {
12750
12750
  /**
12751
12751
  * Event is fired when selection is changed by user interaction.
12752
12752
  */
12753
- select?: Function;
12753
+ select?: (oEvent: Event) => void;
12754
12754
  }
12755
12755
  }
12756
12756
 
@@ -12896,19 +12896,6 @@ declare module "sap/ui/commons/MenuBar" {
12896
12896
  mSettings?: $MenuBarSettings
12897
12897
  );
12898
12898
 
12899
- /**
12900
- * Adds some item to the aggregation {@link #getItems items}.
12901
- */
12902
- addItem(
12903
- /**
12904
- * The item to add; if empty, nothing is inserted
12905
- */
12906
- oItem: MenuItem
12907
- ): this;
12908
- /**
12909
- * Destroys all the items in the aggregation {@link #getItems items}.
12910
- */
12911
- destroyItems(): this;
12912
12899
  /**
12913
12900
  * Creates a new subclass of class sap.ui.commons.MenuBar with name `sClassName` and enriches it with the
12914
12901
  * information contained in `oClassInfo`.
@@ -12930,6 +12917,23 @@ declare module "sap/ui/commons/MenuBar" {
12930
12917
  */
12931
12918
  FNMetaImpl?: Function
12932
12919
  ): Function;
12920
+ /**
12921
+ * Returns a metadata object for class sap.ui.commons.MenuBar.
12922
+ */
12923
+ static getMetadata(): ElementMetadata;
12924
+ /**
12925
+ * Adds some item to the aggregation {@link #getItems items}.
12926
+ */
12927
+ addItem(
12928
+ /**
12929
+ * The item to add; if empty, nothing is inserted
12930
+ */
12931
+ oItem: MenuItem
12932
+ ): this;
12933
+ /**
12934
+ * Destroys all the items in the aggregation {@link #getItems items}.
12935
+ */
12936
+ destroyItems(): this;
12933
12937
  /**
12934
12938
  * Gets current value of property {@link #getDesign design}.
12935
12939
  *
@@ -12952,10 +12956,6 @@ declare module "sap/ui/commons/MenuBar" {
12952
12956
  * Aggregation of menu items.
12953
12957
  */
12954
12958
  getItems(): MenuItem[];
12955
- /**
12956
- * Returns a metadata object for class sap.ui.commons.MenuBar.
12957
- */
12958
- static getMetadata(): ElementMetadata;
12959
12959
  /**
12960
12960
  * Gets current value of property {@link #getWidth width}.
12961
12961
  *
@@ -13125,6 +13125,31 @@ declare module "sap/ui/commons/MenuButton" {
13125
13125
  mSettings?: $MenuButtonSettings
13126
13126
  );
13127
13127
 
13128
+ /**
13129
+ * Creates a new subclass of class sap.ui.commons.MenuButton with name `sClassName` and enriches it with
13130
+ * the information contained in `oClassInfo`.
13131
+ *
13132
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.Button.extend}.
13133
+ */
13134
+ static extend<T extends Record<string, unknown>>(
13135
+ /**
13136
+ * Name of the class being created
13137
+ */
13138
+ sClassName: string,
13139
+ /**
13140
+ * Object literal with information about the class
13141
+ */
13142
+ oClassInfo?: sap.ClassInfo<T, MenuButton>,
13143
+ /**
13144
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13145
+ * used by this class
13146
+ */
13147
+ FNMetaImpl?: Function
13148
+ ): Function;
13149
+ /**
13150
+ * Returns a metadata object for class sap.ui.commons.MenuButton.
13151
+ */
13152
+ static getMetadata(): ElementMetadata;
13128
13153
  /**
13129
13154
  * Attaches event handler `fnFunction` to the {@link #event:itemSelected itemSelected} event of this `sap.ui.commons.MenuButton`.
13130
13155
  *
@@ -13247,27 +13272,6 @@ declare module "sap/ui/commons/MenuButton" {
13247
13272
  */
13248
13273
  oListener?: object
13249
13274
  ): this;
13250
- /**
13251
- * Creates a new subclass of class sap.ui.commons.MenuButton with name `sClassName` and enriches it with
13252
- * the information contained in `oClassInfo`.
13253
- *
13254
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.Button.extend}.
13255
- */
13256
- static extend<T extends Record<string, unknown>>(
13257
- /**
13258
- * Name of the class being created
13259
- */
13260
- sClassName: string,
13261
- /**
13262
- * Object literal with information about the class
13263
- */
13264
- oClassInfo?: sap.ClassInfo<T, MenuButton>,
13265
- /**
13266
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13267
- * used by this class
13268
- */
13269
- FNMetaImpl?: Function
13270
- ): Function;
13271
13275
  /**
13272
13276
  * Fires event {@link #event:itemSelected itemSelected} to attached listeners.
13273
13277
  */
@@ -13317,10 +13321,6 @@ declare module "sap/ui/commons/MenuButton" {
13317
13321
  * Menu that shall be opened when the button is clicked
13318
13322
  */
13319
13323
  getMenu(): Menu;
13320
- /**
13321
- * Returns a metadata object for class sap.ui.commons.MenuButton.
13322
- */
13323
- static getMetadata(): ElementMetadata;
13324
13324
  /**
13325
13325
  * Sets a new value for property {@link #getDockButton dockButton}.
13326
13326
  *
@@ -13381,7 +13381,7 @@ declare module "sap/ui/commons/MenuButton" {
13381
13381
  /**
13382
13382
  * Event that is fired when a menu item is selected by the user
13383
13383
  */
13384
- itemSelected?: Function;
13384
+ itemSelected?: (oEvent: Event) => void;
13385
13385
  }
13386
13386
  }
13387
13387
 
@@ -13640,20 +13640,6 @@ declare module "sap/ui/commons/Message" {
13640
13640
  mSettings?: $MessageSettings
13641
13641
  );
13642
13642
 
13643
- /**
13644
- * Registers a callback function to be invoked if long text Details are to be made available.
13645
- *
13646
- * This callback function will be supplied the corresponding Message "id", and should return the (simple)
13647
- * HTML string to be displayed within the Message Details Dialog.
13648
- *
13649
- * E.g.: myMessage.bindDetails(getDetails); function getDetails(sId) {... return htmlString;}
13650
- */
13651
- bindDetails(
13652
- /**
13653
- * the callback function
13654
- */
13655
- fnCallBack: Function
13656
- ): void;
13657
13643
  /**
13658
13644
  * Creates a new subclass of class sap.ui.commons.Message with name `sClassName` and enriches it with the
13659
13645
  * information contained in `oClassInfo`.
@@ -13670,11 +13656,29 @@ declare module "sap/ui/commons/Message" {
13670
13656
  */
13671
13657
  oClassInfo?: sap.ClassInfo<T, Message>,
13672
13658
  /**
13673
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13674
- * used by this class
13659
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13660
+ * used by this class
13661
+ */
13662
+ FNMetaImpl?: Function
13663
+ ): Function;
13664
+ /**
13665
+ * Returns a metadata object for class sap.ui.commons.Message.
13666
+ */
13667
+ static getMetadata(): ElementMetadata;
13668
+ /**
13669
+ * Registers a callback function to be invoked if long text Details are to be made available.
13670
+ *
13671
+ * This callback function will be supplied the corresponding Message "id", and should return the (simple)
13672
+ * HTML string to be displayed within the Message Details Dialog.
13673
+ *
13674
+ * E.g.: myMessage.bindDetails(getDetails); function getDetails(sId) {... return htmlString;}
13675
+ */
13676
+ bindDetails(
13677
+ /**
13678
+ * the callback function
13675
13679
  */
13676
- FNMetaImpl?: Function
13677
- ): Function;
13680
+ fnCallBack: Function
13681
+ ): void;
13678
13682
  /**
13679
13683
  * Gets current value of property {@link #getAssociatedElementId associatedElementId}.
13680
13684
  *
@@ -13687,10 +13691,6 @@ declare module "sap/ui/commons/Message" {
13687
13691
  * Internal attribute, used to force the display of the "short" or the "long" text only.
13688
13692
  */
13689
13693
  getDesign(): string;
13690
- /**
13691
- * Returns a metadata object for class sap.ui.commons.Message.
13692
- */
13693
- static getMetadata(): ElementMetadata;
13694
13694
  /**
13695
13695
  * Gets current value of property {@link #getText text}.
13696
13696
  *
@@ -13826,6 +13826,31 @@ declare module "sap/ui/commons/MessageBar" {
13826
13826
  mSettings?: $MessageBarSettings
13827
13827
  );
13828
13828
 
13829
+ /**
13830
+ * Creates a new subclass of class sap.ui.commons.MessageBar with name `sClassName` and enriches it with
13831
+ * the information contained in `oClassInfo`.
13832
+ *
13833
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
13834
+ */
13835
+ static extend<T extends Record<string, unknown>>(
13836
+ /**
13837
+ * Name of the class being created
13838
+ */
13839
+ sClassName: string,
13840
+ /**
13841
+ * Object literal with information about the class
13842
+ */
13843
+ oClassInfo?: sap.ClassInfo<T, MessageBar>,
13844
+ /**
13845
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13846
+ * used by this class
13847
+ */
13848
+ FNMetaImpl?: Function
13849
+ ): Function;
13850
+ /**
13851
+ * Returns a metadata object for class sap.ui.commons.MessageBar.
13852
+ */
13853
+ static getMetadata(): ElementMetadata;
13829
13854
  /**
13830
13855
  * Adds/updates a supplied list of messages. The MessageBar will appear if at least one message exists.
13831
13856
  */
@@ -13848,27 +13873,6 @@ declare module "sap/ui/commons/MessageBar" {
13848
13873
  */
13849
13874
  aIds: string[]
13850
13875
  ): void;
13851
- /**
13852
- * Creates a new subclass of class sap.ui.commons.MessageBar with name `sClassName` and enriches it with
13853
- * the information contained in `oClassInfo`.
13854
- *
13855
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
13856
- */
13857
- static extend<T extends Record<string, unknown>>(
13858
- /**
13859
- * Name of the class being created
13860
- */
13861
- sClassName: string,
13862
- /**
13863
- * Object literal with information about the class
13864
- */
13865
- oClassInfo?: sap.ClassInfo<T, MessageBar>,
13866
- /**
13867
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13868
- * used by this class
13869
- */
13870
- FNMetaImpl?: Function
13871
- ): Function;
13872
13876
  /**
13873
13877
  * Gets current value of property {@link #getAnchorID anchorID}.
13874
13878
  *
@@ -13906,10 +13910,6 @@ declare module "sap/ui/commons/MessageBar" {
13906
13910
  * Default value is `3`.
13907
13911
  */
13908
13912
  getMaxToasted(): int;
13909
- /**
13910
- * Returns a metadata object for class sap.ui.commons.MessageBar.
13911
- */
13912
- static getMetadata(): ElementMetadata;
13913
13913
  /**
13914
13914
  * Gets current value of property {@link #getVisible visible}.
13915
13915
  *
@@ -14332,6 +14332,10 @@ declare module "sap/ui/commons/MessageList" {
14332
14332
  */
14333
14333
  FNMetaImpl?: Function
14334
14334
  ): Function;
14335
+ /**
14336
+ * Returns a metadata object for class sap.ui.commons.MessageList.
14337
+ */
14338
+ static getMetadata(): ElementMetadata;
14335
14339
  /**
14336
14340
  * Gets current value of property {@link #getAnchorId anchorId}.
14337
14341
  *
@@ -14346,10 +14350,6 @@ declare module "sap/ui/commons/MessageList" {
14346
14350
  * Default value is `'7'`.
14347
14351
  */
14348
14352
  getMaxListed(): string;
14349
- /**
14350
- * Returns a metadata object for class sap.ui.commons.MessageList.
14351
- */
14352
- static getMetadata(): ElementMetadata;
14353
14353
  /**
14354
14354
  * Gets current value of property {@link #getVisible visible}.
14355
14355
  *
@@ -14477,6 +14477,31 @@ declare module "sap/ui/commons/MessageToast" {
14477
14477
  mSettings?: $MessageToastSettings
14478
14478
  );
14479
14479
 
14480
+ /**
14481
+ * Creates a new subclass of class sap.ui.commons.MessageToast with name `sClassName` and enriches it with
14482
+ * the information contained in `oClassInfo`.
14483
+ *
14484
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
14485
+ */
14486
+ static extend<T extends Record<string, unknown>>(
14487
+ /**
14488
+ * Name of the class being created
14489
+ */
14490
+ sClassName: string,
14491
+ /**
14492
+ * Object literal with information about the class
14493
+ */
14494
+ oClassInfo?: sap.ClassInfo<T, MessageToast>,
14495
+ /**
14496
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
14497
+ * used by this class
14498
+ */
14499
+ FNMetaImpl?: Function
14500
+ ): Function;
14501
+ /**
14502
+ * Returns a metadata object for class sap.ui.commons.MessageToast.
14503
+ */
14504
+ static getMetadata(): ElementMetadata;
14480
14505
  /**
14481
14506
  * Attaches event handler `fnFunction` to the {@link #event:next next} event of this `sap.ui.commons.MessageToast`.
14482
14507
  *
@@ -14533,27 +14558,6 @@ declare module "sap/ui/commons/MessageToast" {
14533
14558
  */
14534
14559
  oListener?: object
14535
14560
  ): this;
14536
- /**
14537
- * Creates a new subclass of class sap.ui.commons.MessageToast with name `sClassName` and enriches it with
14538
- * the information contained in `oClassInfo`.
14539
- *
14540
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
14541
- */
14542
- static extend<T extends Record<string, unknown>>(
14543
- /**
14544
- * Name of the class being created
14545
- */
14546
- sClassName: string,
14547
- /**
14548
- * Object literal with information about the class
14549
- */
14550
- oClassInfo?: sap.ClassInfo<T, MessageToast>,
14551
- /**
14552
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
14553
- * used by this class
14554
- */
14555
- FNMetaImpl?: Function
14556
- ): Function;
14557
14561
  /**
14558
14562
  * Fires event {@link #event:next next} to attached listeners.
14559
14563
  */
@@ -14569,10 +14573,6 @@ declare module "sap/ui/commons/MessageToast" {
14569
14573
  * ID of the anchor on top of which the MessageToast is to render.
14570
14574
  */
14571
14575
  getAnchorId(): string;
14572
- /**
14573
- * Returns a metadata object for class sap.ui.commons.MessageToast.
14574
- */
14575
- static getMetadata(): ElementMetadata;
14576
14576
  /**
14577
14577
  * Returns the idle state of the control. Returns true if no message is being toasted.
14578
14578
  */
@@ -14617,7 +14617,7 @@ declare module "sap/ui/commons/MessageToast" {
14617
14617
  /**
14618
14618
  * Fired once the `toast()` method is over, so that the MessageBar can "toast" another message if needed.
14619
14619
  */
14620
- next?: Function;
14620
+ next?: (oEvent: Event) => void;
14621
14621
  }
14622
14622
  }
14623
14623
 
@@ -14669,6 +14669,31 @@ declare module "sap/ui/commons/Paginator" {
14669
14669
  mSettings?: $PaginatorSettings
14670
14670
  );
14671
14671
 
14672
+ /**
14673
+ * Creates a new subclass of class sap.ui.commons.Paginator with name `sClassName` and enriches it with
14674
+ * the information contained in `oClassInfo`.
14675
+ *
14676
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
14677
+ */
14678
+ static extend<T extends Record<string, unknown>>(
14679
+ /**
14680
+ * Name of the class being created
14681
+ */
14682
+ sClassName: string,
14683
+ /**
14684
+ * Object literal with information about the class
14685
+ */
14686
+ oClassInfo?: sap.ClassInfo<T, Paginator>,
14687
+ /**
14688
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
14689
+ * used by this class
14690
+ */
14691
+ FNMetaImpl?: Function
14692
+ ): Function;
14693
+ /**
14694
+ * Returns a metadata object for class sap.ui.commons.Paginator.
14695
+ */
14696
+ static getMetadata(): ElementMetadata;
14672
14697
  /**
14673
14698
  * Attaches event handler `fnFunction` to the {@link #event:page page} event of this `sap.ui.commons.Paginator`.
14674
14699
  *
@@ -14725,27 +14750,6 @@ declare module "sap/ui/commons/Paginator" {
14725
14750
  */
14726
14751
  oListener?: object
14727
14752
  ): this;
14728
- /**
14729
- * Creates a new subclass of class sap.ui.commons.Paginator with name `sClassName` and enriches it with
14730
- * the information contained in `oClassInfo`.
14731
- *
14732
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
14733
- */
14734
- static extend<T extends Record<string, unknown>>(
14735
- /**
14736
- * Name of the class being created
14737
- */
14738
- sClassName: string,
14739
- /**
14740
- * Object literal with information about the class
14741
- */
14742
- oClassInfo?: sap.ClassInfo<T, Paginator>,
14743
- /**
14744
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
14745
- * used by this class
14746
- */
14747
- FNMetaImpl?: Function
14748
- ): Function;
14749
14753
  /**
14750
14754
  * Fires event {@link #event:page page} to attached listeners.
14751
14755
  */
@@ -14780,10 +14784,6 @@ declare module "sap/ui/commons/Paginator" {
14780
14784
  * Default value is `1`.
14781
14785
  */
14782
14786
  getCurrentPage(): int;
14783
- /**
14784
- * Returns a metadata object for class sap.ui.commons.Paginator.
14785
- */
14786
- static getMetadata(): ElementMetadata;
14787
14787
  /**
14788
14788
  * Gets current value of property {@link #getNumberOfPages numberOfPages}.
14789
14789
  *
@@ -14834,7 +14834,7 @@ declare module "sap/ui/commons/Paginator" {
14834
14834
  /**
14835
14835
  * Event is fired when the user navigates to another page by selecting it directly, or by jumping forward/backward.
14836
14836
  */
14837
- page?: Function;
14837
+ page?: (oEvent: Event) => void;
14838
14838
  }
14839
14839
  }
14840
14840
 
@@ -14894,6 +14894,31 @@ declare module "sap/ui/commons/Panel" {
14894
14894
  mSettings?: $PanelSettings
14895
14895
  );
14896
14896
 
14897
+ /**
14898
+ * Creates a new subclass of class sap.ui.commons.Panel with name `sClassName` and enriches it with the
14899
+ * information contained in `oClassInfo`.
14900
+ *
14901
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
14902
+ */
14903
+ static extend<T extends Record<string, unknown>>(
14904
+ /**
14905
+ * Name of the class being created
14906
+ */
14907
+ sClassName: string,
14908
+ /**
14909
+ * Object literal with information about the class
14910
+ */
14911
+ oClassInfo?: sap.ClassInfo<T, Panel>,
14912
+ /**
14913
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
14914
+ * used by this class
14915
+ */
14916
+ FNMetaImpl?: Function
14917
+ ): Function;
14918
+ /**
14919
+ * Returns a metadata object for class sap.ui.commons.Panel.
14920
+ */
14921
+ static getMetadata(): ElementMetadata;
14897
14922
  /**
14898
14923
  * Adds some button to the aggregation {@link #getButtons buttons}.
14899
14924
  */
@@ -14924,27 +14949,6 @@ declare module "sap/ui/commons/Panel" {
14924
14949
  * Destroys the title in the aggregation {@link #getTitle title}.
14925
14950
  */
14926
14951
  destroyTitle(): this;
14927
- /**
14928
- * Creates a new subclass of class sap.ui.commons.Panel with name `sClassName` and enriches it with the
14929
- * information contained in `oClassInfo`.
14930
- *
14931
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
14932
- */
14933
- static extend<T extends Record<string, unknown>>(
14934
- /**
14935
- * Name of the class being created
14936
- */
14937
- sClassName: string,
14938
- /**
14939
- * Object literal with information about the class
14940
- */
14941
- oClassInfo?: sap.ClassInfo<T, Panel>,
14942
- /**
14943
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
14944
- * used by this class
14945
- */
14946
- FNMetaImpl?: Function
14947
- ): Function;
14948
14952
  /**
14949
14953
  * Gets current value of property {@link #getApplyContentPadding applyContentPadding}.
14950
14954
  *
@@ -15011,10 +15015,6 @@ declare module "sap/ui/commons/Panel" {
15011
15015
  * adjusted to the content. Dimension allows to explicitly specify the height.
15012
15016
  */
15013
15017
  getHeight(): CSSSize;
15014
- /**
15015
- * Returns a metadata object for class sap.ui.commons.Panel.
15016
- */
15017
- static getMetadata(): ElementMetadata;
15018
15018
  /**
15019
15019
  * Returns the scroll position of the panel in pixels from the left. Returns 0 if not rendered yet. Also
15020
15020
  * internally updates the control property.
@@ -15507,6 +15507,10 @@ declare module "sap/ui/commons/ProgressIndicator" {
15507
15507
  */
15508
15508
  FNMetaImpl?: Function
15509
15509
  ): Function;
15510
+ /**
15511
+ * Returns a metadata object for class sap.ui.commons.ProgressIndicator.
15512
+ */
15513
+ static getMetadata(): ElementMetadata;
15510
15514
  /**
15511
15515
  * See:
15512
15516
  * sap.ui.core.Control#getAccessibilityInfo
@@ -15539,10 +15543,6 @@ declare module "sap/ui/commons/ProgressIndicator" {
15539
15543
  * Default value is `true`.
15540
15544
  */
15541
15545
  getEnabled(): boolean;
15542
- /**
15543
- * Returns a metadata object for class sap.ui.commons.ProgressIndicator.
15544
- */
15545
- static getMetadata(): ElementMetadata;
15546
15546
  /**
15547
15547
  * Gets current value of property {@link #getPercentValue percentValue}.
15548
15548
  *
@@ -15753,6 +15753,31 @@ declare module "sap/ui/commons/RadioButton" {
15753
15753
  mSettings?: $RadioButtonSettings
15754
15754
  );
15755
15755
 
15756
+ /**
15757
+ * Creates a new subclass of class sap.ui.commons.RadioButton with name `sClassName` and enriches it with
15758
+ * the information contained in `oClassInfo`.
15759
+ *
15760
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
15761
+ */
15762
+ static extend<T extends Record<string, unknown>>(
15763
+ /**
15764
+ * Name of the class being created
15765
+ */
15766
+ sClassName: string,
15767
+ /**
15768
+ * Object literal with information about the class
15769
+ */
15770
+ oClassInfo?: sap.ClassInfo<T, RadioButton>,
15771
+ /**
15772
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
15773
+ * used by this class
15774
+ */
15775
+ FNMetaImpl?: Function
15776
+ ): Function;
15777
+ /**
15778
+ * Returns a metadata object for class sap.ui.commons.RadioButton.
15779
+ */
15780
+ static getMetadata(): ElementMetadata;
15756
15781
  /**
15757
15782
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
15758
15783
  */
@@ -15827,27 +15852,6 @@ declare module "sap/ui/commons/RadioButton" {
15827
15852
  */
15828
15853
  oListener?: object
15829
15854
  ): this;
15830
- /**
15831
- * Creates a new subclass of class sap.ui.commons.RadioButton with name `sClassName` and enriches it with
15832
- * the information contained in `oClassInfo`.
15833
- *
15834
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
15835
- */
15836
- static extend<T extends Record<string, unknown>>(
15837
- /**
15838
- * Name of the class being created
15839
- */
15840
- sClassName: string,
15841
- /**
15842
- * Object literal with information about the class
15843
- */
15844
- oClassInfo?: sap.ClassInfo<T, RadioButton>,
15845
- /**
15846
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
15847
- * used by this class
15848
- */
15849
- FNMetaImpl?: Function
15850
- ): Function;
15851
15855
  /**
15852
15856
  * Fires event {@link #event:select select} to attached listeners.
15853
15857
  */
@@ -15899,10 +15903,6 @@ declare module "sap/ui/commons/RadioButton" {
15899
15903
  * Can be used for subsequent actions.
15900
15904
  */
15901
15905
  getKey(): string;
15902
- /**
15903
- * Returns a metadata object for class sap.ui.commons.RadioButton.
15904
- */
15905
- static getMetadata(): ElementMetadata;
15906
15906
  /**
15907
15907
  * Gets current value of property {@link #getSelected selected}.
15908
15908
  *
@@ -16167,7 +16167,7 @@ declare module "sap/ui/commons/RadioButton" {
16167
16167
  /**
16168
16168
  * Triggers when the user makes a change on the RadioButton.
16169
16169
  */
16170
- select?: Function;
16170
+ select?: (oEvent: Event) => void;
16171
16171
  }
16172
16172
  }
16173
16173
 
@@ -16230,6 +16230,31 @@ declare module "sap/ui/commons/RadioButtonGroup" {
16230
16230
  mSettings?: $RadioButtonGroupSettings
16231
16231
  );
16232
16232
 
16233
+ /**
16234
+ * Creates a new subclass of class sap.ui.commons.RadioButtonGroup with name `sClassName` and enriches it
16235
+ * with the information contained in `oClassInfo`.
16236
+ *
16237
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
16238
+ */
16239
+ static extend<T extends Record<string, unknown>>(
16240
+ /**
16241
+ * Name of the class being created
16242
+ */
16243
+ sClassName: string,
16244
+ /**
16245
+ * Object literal with information about the class
16246
+ */
16247
+ oClassInfo?: sap.ClassInfo<T, RadioButtonGroup>,
16248
+ /**
16249
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
16250
+ * used by this class
16251
+ */
16252
+ FNMetaImpl?: Function
16253
+ ): Function;
16254
+ /**
16255
+ * Returns a metadata object for class sap.ui.commons.RadioButtonGroup.
16256
+ */
16257
+ static getMetadata(): ElementMetadata;
16233
16258
  /**
16234
16259
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
16235
16260
  */
@@ -16334,27 +16359,6 @@ declare module "sap/ui/commons/RadioButtonGroup" {
16334
16359
  */
16335
16360
  oListener?: object
16336
16361
  ): this;
16337
- /**
16338
- * Creates a new subclass of class sap.ui.commons.RadioButtonGroup with name `sClassName` and enriches it
16339
- * with the information contained in `oClassInfo`.
16340
- *
16341
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
16342
- */
16343
- static extend<T extends Record<string, unknown>>(
16344
- /**
16345
- * Name of the class being created
16346
- */
16347
- sClassName: string,
16348
- /**
16349
- * Object literal with information about the class
16350
- */
16351
- oClassInfo?: sap.ClassInfo<T, RadioButtonGroup>,
16352
- /**
16353
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
16354
- * used by this class
16355
- */
16356
- FNMetaImpl?: Function
16357
- ): Function;
16358
16362
  /**
16359
16363
  * Fires event {@link #event:select select} to attached listeners.
16360
16364
  */
@@ -16415,10 +16419,6 @@ declare module "sap/ui/commons/RadioButtonGroup" {
16415
16419
  * The RadioButtons of this RadioButtonGroup.
16416
16420
  */
16417
16421
  getItems(): Item[];
16418
- /**
16419
- * Returns a metadata object for class sap.ui.commons.RadioButtonGroup.
16420
- */
16421
- static getMetadata(): ElementMetadata;
16422
16422
  /**
16423
16423
  * Gets current value of property {@link #getSelectedIndex selectedIndex}.
16424
16424
  *
@@ -16684,7 +16684,7 @@ declare module "sap/ui/commons/RadioButtonGroup" {
16684
16684
  /**
16685
16685
  * Fires when selection is changed by user interaction.
16686
16686
  */
16687
- select?: Function;
16687
+ select?: (oEvent: Event) => void;
16688
16688
  }
16689
16689
  }
16690
16690
 
@@ -16853,6 +16853,31 @@ declare module "sap/ui/commons/RatingIndicator" {
16853
16853
  mSettings?: $RatingIndicatorSettings
16854
16854
  );
16855
16855
 
16856
+ /**
16857
+ * Creates a new subclass of class sap.ui.commons.RatingIndicator with name `sClassName` and enriches it
16858
+ * with the information contained in `oClassInfo`.
16859
+ *
16860
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
16861
+ */
16862
+ static extend<T extends Record<string, unknown>>(
16863
+ /**
16864
+ * Name of the class being created
16865
+ */
16866
+ sClassName: string,
16867
+ /**
16868
+ * Object literal with information about the class
16869
+ */
16870
+ oClassInfo?: sap.ClassInfo<T, RatingIndicator>,
16871
+ /**
16872
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
16873
+ * used by this class
16874
+ */
16875
+ FNMetaImpl?: Function
16876
+ ): Function;
16877
+ /**
16878
+ * Returns a metadata object for class sap.ui.commons.RatingIndicator.
16879
+ */
16880
+ static getMetadata(): ElementMetadata;
16856
16881
  /**
16857
16882
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
16858
16883
  */
@@ -16939,27 +16964,6 @@ declare module "sap/ui/commons/RatingIndicator" {
16939
16964
  */
16940
16965
  oListener?: object
16941
16966
  ): this;
16942
- /**
16943
- * Creates a new subclass of class sap.ui.commons.RatingIndicator with name `sClassName` and enriches it
16944
- * with the information contained in `oClassInfo`.
16945
- *
16946
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
16947
- */
16948
- static extend<T extends Record<string, unknown>>(
16949
- /**
16950
- * Name of the class being created
16951
- */
16952
- sClassName: string,
16953
- /**
16954
- * Object literal with information about the class
16955
- */
16956
- oClassInfo?: sap.ClassInfo<T, RatingIndicator>,
16957
- /**
16958
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
16959
- * used by this class
16960
- */
16961
- FNMetaImpl?: Function
16962
- ): Function;
16963
16967
  /**
16964
16968
  * Fires event {@link #event:change change} to attached listeners.
16965
16969
  */
@@ -17037,10 +17041,6 @@ declare module "sap/ui/commons/RatingIndicator" {
17037
17041
  * Default value is `5`.
17038
17042
  */
17039
17043
  getMaxValue(): int;
17040
- /**
17041
- * Returns a metadata object for class sap.ui.commons.RatingIndicator.
17042
- */
17043
- static getMetadata(): ElementMetadata;
17044
17044
  /**
17045
17045
  * Gets current value of property {@link #getValue value}.
17046
17046
  *
@@ -17274,7 +17274,7 @@ declare module "sap/ui/commons/RatingIndicator" {
17274
17274
  /**
17275
17275
  * The event is fired when the user has done a rating.
17276
17276
  */
17277
- change?: Function;
17277
+ change?: (oEvent: Event) => void;
17278
17278
  }
17279
17279
  }
17280
17280
 
@@ -17333,6 +17333,31 @@ declare module "sap/ui/commons/ResponsiveContainer" {
17333
17333
  mSettings?: $ResponsiveContainerSettings
17334
17334
  );
17335
17335
 
17336
+ /**
17337
+ * Creates a new subclass of class sap.ui.commons.ResponsiveContainer with name `sClassName` and enriches
17338
+ * it with the information contained in `oClassInfo`.
17339
+ *
17340
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
17341
+ */
17342
+ static extend<T extends Record<string, unknown>>(
17343
+ /**
17344
+ * Name of the class being created
17345
+ */
17346
+ sClassName: string,
17347
+ /**
17348
+ * Object literal with information about the class
17349
+ */
17350
+ oClassInfo?: sap.ClassInfo<T, ResponsiveContainer>,
17351
+ /**
17352
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
17353
+ * used by this class
17354
+ */
17355
+ FNMetaImpl?: Function
17356
+ ): Function;
17357
+ /**
17358
+ * Returns a metadata object for class sap.ui.commons.ResponsiveContainer.
17359
+ */
17360
+ static getMetadata(): ElementMetadata;
17336
17361
  /**
17337
17362
  * Adds some range to the aggregation {@link #getRanges ranges}.
17338
17363
  */
@@ -17404,27 +17429,6 @@ declare module "sap/ui/commons/ResponsiveContainer" {
17404
17429
  */
17405
17430
  oListener?: object
17406
17431
  ): this;
17407
- /**
17408
- * Creates a new subclass of class sap.ui.commons.ResponsiveContainer with name `sClassName` and enriches
17409
- * it with the information contained in `oClassInfo`.
17410
- *
17411
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
17412
- */
17413
- static extend<T extends Record<string, unknown>>(
17414
- /**
17415
- * Name of the class being created
17416
- */
17417
- sClassName: string,
17418
- /**
17419
- * Object literal with information about the class
17420
- */
17421
- oClassInfo?: sap.ClassInfo<T, ResponsiveContainer>,
17422
- /**
17423
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
17424
- * used by this class
17425
- */
17426
- FNMetaImpl?: Function
17427
- ): Function;
17428
17432
  /**
17429
17433
  * Fires event {@link #event:rangeSwitch rangeSwitch} to attached listeners.
17430
17434
  */
@@ -17452,10 +17456,6 @@ declare module "sap/ui/commons/ResponsiveContainer" {
17452
17456
  * Default value is `'100%'`.
17453
17457
  */
17454
17458
  getHeight(): CSSSize;
17455
- /**
17456
- * Returns a metadata object for class sap.ui.commons.ResponsiveContainer.
17457
- */
17458
- static getMetadata(): ElementMetadata;
17459
17459
  /**
17460
17460
  * Gets content of aggregation {@link #getRanges ranges}.
17461
17461
  *
@@ -17579,7 +17579,7 @@ declare module "sap/ui/commons/ResponsiveContainer" {
17579
17579
  /**
17580
17580
  * The event is fired the width of the container reaches a new range.
17581
17581
  */
17582
- rangeSwitch?: Function;
17582
+ rangeSwitch?: (oEvent: Event) => void;
17583
17583
  }
17584
17584
  }
17585
17585
 
@@ -17652,6 +17652,10 @@ declare module "sap/ui/commons/ResponsiveContainerRange" {
17652
17652
  */
17653
17653
  FNMetaImpl?: Function
17654
17654
  ): Function;
17655
+ /**
17656
+ * Returns a metadata object for class sap.ui.commons.ResponsiveContainerRange.
17657
+ */
17658
+ static getMetadata(): ElementMetadata;
17655
17659
  /**
17656
17660
  * ID of the element which is the current target of the association {@link #getContent content}, or `null`.
17657
17661
  */
@@ -17672,10 +17676,6 @@ declare module "sap/ui/commons/ResponsiveContainerRange" {
17672
17676
  * Default value is `empty string`.
17673
17677
  */
17674
17678
  getKey(): string;
17675
- /**
17676
- * Returns a metadata object for class sap.ui.commons.ResponsiveContainerRange.
17677
- */
17678
- static getMetadata(): ElementMetadata;
17679
17679
  /**
17680
17680
  * Gets current value of property {@link #getWidth width}.
17681
17681
  *
@@ -17835,6 +17835,10 @@ declare module "sap/ui/commons/RichTooltip" {
17835
17835
  */
17836
17836
  FNMetaImpl?: Function
17837
17837
  ): Function;
17838
+ /**
17839
+ * Returns a metadata object for class sap.ui.commons.RichTooltip.
17840
+ */
17841
+ static getMetadata(): ElementMetadata;
17838
17842
  /**
17839
17843
  * @SINCE 1.11.1
17840
17844
  *
@@ -17849,10 +17853,6 @@ declare module "sap/ui/commons/RichTooltip" {
17849
17853
  * If RichTooltip contains an image, this property is used to define the source path.
17850
17854
  */
17851
17855
  getImageSrc(): URI;
17852
- /**
17853
- * Returns a metadata object for class sap.ui.commons.RichTooltip.
17854
- */
17855
- static getMetadata(): ElementMetadata;
17856
17856
  /**
17857
17857
  * Gets current value of property {@link #getTitle title}.
17858
17858
  *
@@ -18002,6 +18002,31 @@ declare module "sap/ui/commons/RoadMap" {
18002
18002
  mSettings?: $RoadMapSettings
18003
18003
  );
18004
18004
 
18005
+ /**
18006
+ * Creates a new subclass of class sap.ui.commons.RoadMap with name `sClassName` and enriches it with the
18007
+ * information contained in `oClassInfo`.
18008
+ *
18009
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
18010
+ */
18011
+ static extend<T extends Record<string, unknown>>(
18012
+ /**
18013
+ * Name of the class being created
18014
+ */
18015
+ sClassName: string,
18016
+ /**
18017
+ * Object literal with information about the class
18018
+ */
18019
+ oClassInfo?: sap.ClassInfo<T, RoadMap>,
18020
+ /**
18021
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
18022
+ * used by this class
18023
+ */
18024
+ FNMetaImpl?: Function
18025
+ ): Function;
18026
+ /**
18027
+ * Returns a metadata object for class sap.ui.commons.RoadMap.
18028
+ */
18029
+ static getMetadata(): ElementMetadata;
18005
18030
  /**
18006
18031
  * Adds some step to the aggregation {@link #getSteps steps}.
18007
18032
  */
@@ -18127,27 +18152,6 @@ declare module "sap/ui/commons/RoadMap" {
18127
18152
  */
18128
18153
  oListener?: object
18129
18154
  ): this;
18130
- /**
18131
- * Creates a new subclass of class sap.ui.commons.RoadMap with name `sClassName` and enriches it with the
18132
- * information contained in `oClassInfo`.
18133
- *
18134
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
18135
- */
18136
- static extend<T extends Record<string, unknown>>(
18137
- /**
18138
- * Name of the class being created
18139
- */
18140
- sClassName: string,
18141
- /**
18142
- * Object literal with information about the class
18143
- */
18144
- oClassInfo?: sap.ClassInfo<T, RoadMap>,
18145
- /**
18146
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
18147
- * used by this class
18148
- */
18149
- FNMetaImpl?: Function
18150
- ): Function;
18151
18155
  /**
18152
18156
  * Fires event {@link #event:stepExpanded stepExpanded} to attached listeners.
18153
18157
  */
@@ -18182,10 +18186,6 @@ declare module "sap/ui/commons/RoadMap" {
18182
18186
  * ID of the first step to be displayed
18183
18187
  */
18184
18188
  getFirstVisibleStep(): string;
18185
- /**
18186
- * Returns a metadata object for class sap.ui.commons.RoadMap.
18187
- */
18188
- static getMetadata(): ElementMetadata;
18189
18189
  /**
18190
18190
  * Gets current value of property {@link #getNumberOfVisibleSteps numberOfVisibleSteps}.
18191
18191
  *
@@ -18337,12 +18337,12 @@ declare module "sap/ui/commons/RoadMap" {
18337
18337
  /**
18338
18338
  * Event is fired when the user selects a step.
18339
18339
  */
18340
- stepSelected?: Function;
18340
+ stepSelected?: (oEvent: Event) => void;
18341
18341
 
18342
18342
  /**
18343
18343
  * Event is fired when a given step is expanded or collapsed by user.
18344
18344
  */
18345
- stepExpanded?: Function;
18345
+ stepExpanded?: (oEvent: Event) => void;
18346
18346
  }
18347
18347
  }
18348
18348
 
@@ -18386,32 +18386,13 @@ declare module "sap/ui/commons/RoadMapStep" {
18386
18386
  /**
18387
18387
  * id for the new control, generated automatically if no id is given
18388
18388
  */
18389
- sId?: string,
18390
- /**
18391
- * initial settings for the new control
18392
- */
18393
- mSettings?: $RoadMapStepSettings
18394
- );
18395
-
18396
- /**
18397
- * @deprecated (since 1.10.5) - Sub steps will not be supported in future. This feature might be removed
18398
- * in one of the next releases.
18399
- *
18400
- * Adds some subStep to the aggregation {@link #getSubSteps subSteps}.
18401
- */
18402
- addSubStep(
18389
+ sId?: string,
18403
18390
  /**
18404
- * The subStep to add; if empty, nothing is inserted
18391
+ * initial settings for the new control
18405
18392
  */
18406
- oSubStep: RoadMapStep
18407
- ): this;
18408
- /**
18409
- * @deprecated (since 1.10.5) - Sub steps will not be supported in future. This feature might be removed
18410
- * in one of the next releases.
18411
- *
18412
- * Destroys all the subSteps in the aggregation {@link #getSubSteps subSteps}.
18413
- */
18414
- destroySubSteps(): this;
18393
+ mSettings?: $RoadMapStepSettings
18394
+ );
18395
+
18415
18396
  /**
18416
18397
  * Creates a new subclass of class sap.ui.commons.RoadMapStep with name `sClassName` and enriches it with
18417
18398
  * the information contained in `oClassInfo`.
@@ -18433,6 +18414,29 @@ declare module "sap/ui/commons/RoadMapStep" {
18433
18414
  */
18434
18415
  FNMetaImpl?: Function
18435
18416
  ): Function;
18417
+ /**
18418
+ * Returns a metadata object for class sap.ui.commons.RoadMapStep.
18419
+ */
18420
+ static getMetadata(): ElementMetadata;
18421
+ /**
18422
+ * @deprecated (since 1.10.5) - Sub steps will not be supported in future. This feature might be removed
18423
+ * in one of the next releases.
18424
+ *
18425
+ * Adds some subStep to the aggregation {@link #getSubSteps subSteps}.
18426
+ */
18427
+ addSubStep(
18428
+ /**
18429
+ * The subStep to add; if empty, nothing is inserted
18430
+ */
18431
+ oSubStep: RoadMapStep
18432
+ ): this;
18433
+ /**
18434
+ * @deprecated (since 1.10.5) - Sub steps will not be supported in future. This feature might be removed
18435
+ * in one of the next releases.
18436
+ *
18437
+ * Destroys all the subSteps in the aggregation {@link #getSubSteps subSteps}.
18438
+ */
18439
+ destroySubSteps(): this;
18436
18440
  /**
18437
18441
  * Gets current value of property {@link #getEnabled enabled}.
18438
18442
  *
@@ -18458,10 +18462,6 @@ declare module "sap/ui/commons/RoadMapStep" {
18458
18462
  * Label of the step
18459
18463
  */
18460
18464
  getLabel(): string;
18461
- /**
18462
- * Returns a metadata object for class sap.ui.commons.RoadMapStep.
18463
- */
18464
- static getMetadata(): ElementMetadata;
18465
18465
  /**
18466
18466
  * @deprecated (since 1.10.5) - Sub steps will not be supported in future. This feature might be removed
18467
18467
  * in one of the next releases.
@@ -18690,6 +18690,31 @@ declare module "sap/ui/commons/RowRepeater" {
18690
18690
  mSettings?: $RowRepeaterSettings
18691
18691
  );
18692
18692
 
18693
+ /**
18694
+ * Creates a new subclass of class sap.ui.commons.RowRepeater with name `sClassName` and enriches it with
18695
+ * the information contained in `oClassInfo`.
18696
+ *
18697
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
18698
+ */
18699
+ static extend<T extends Record<string, unknown>>(
18700
+ /**
18701
+ * Name of the class being created
18702
+ */
18703
+ sClassName: string,
18704
+ /**
18705
+ * Object literal with information about the class
18706
+ */
18707
+ oClassInfo?: sap.ClassInfo<T, RowRepeater>,
18708
+ /**
18709
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
18710
+ * used by this class
18711
+ */
18712
+ FNMetaImpl?: Function
18713
+ ): Function;
18714
+ /**
18715
+ * Returns a metadata object for class sap.ui.commons.RowRepeater.
18716
+ */
18717
+ static getMetadata(): ElementMetadata;
18693
18718
  /**
18694
18719
  * Adds some filter to the aggregation {@link #getFilters filters}.
18695
18720
  */
@@ -18982,27 +19007,6 @@ declare module "sap/ui/commons/RowRepeater" {
18982
19007
  */
18983
19008
  oListener?: object
18984
19009
  ): this;
18985
- /**
18986
- * Creates a new subclass of class sap.ui.commons.RowRepeater with name `sClassName` and enriches it with
18987
- * the information contained in `oClassInfo`.
18988
- *
18989
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
18990
- */
18991
- static extend<T extends Record<string, unknown>>(
18992
- /**
18993
- * Name of the class being created
18994
- */
18995
- sClassName: string,
18996
- /**
18997
- * Object literal with information about the class
18998
- */
18999
- oClassInfo?: sap.ClassInfo<T, RowRepeater>,
19000
- /**
19001
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
19002
- * used by this class
19003
- */
19004
- FNMetaImpl?: Function
19005
- ): Function;
19006
19010
  /**
19007
19011
  * Fires event {@link #event:filter filter} to attached listeners.
19008
19012
  */
@@ -19102,10 +19106,6 @@ declare module "sap/ui/commons/RowRepeater" {
19102
19106
  * Default value is `empty string`.
19103
19107
  */
19104
19108
  getFixedRowHeight(): CSSSize;
19105
- /**
19106
- * Returns a metadata object for class sap.ui.commons.RowRepeater.
19107
- */
19108
- static getMetadata(): ElementMetadata;
19109
19109
  /**
19110
19110
  * Gets content of aggregation {@link #getNoData noData}.
19111
19111
  *
@@ -19480,22 +19480,22 @@ declare module "sap/ui/commons/RowRepeater" {
19480
19480
  /**
19481
19481
  * This event is triggered when a filter is set.
19482
19482
  */
19483
- filter?: Function;
19483
+ filter?: (oEvent: Event) => void;
19484
19484
 
19485
19485
  /**
19486
19486
  * This event is triggered when a sorting is applied.
19487
19487
  */
19488
- sort?: Function;
19488
+ sort?: (oEvent: Event) => void;
19489
19489
 
19490
19490
  /**
19491
19491
  * This event is triggered when paging was executed.
19492
19492
  */
19493
- page?: Function;
19493
+ page?: (oEvent: Event) => void;
19494
19494
 
19495
19495
  /**
19496
19496
  * This event is triggered when the number of rows was changed.
19497
19497
  */
19498
- resize?: Function;
19498
+ resize?: (oEvent: Event) => void;
19499
19499
  }
19500
19500
  }
19501
19501
 
@@ -19565,6 +19565,10 @@ declare module "sap/ui/commons/RowRepeaterFilter" {
19565
19565
  */
19566
19566
  FNMetaImpl?: Function
19567
19567
  ): Function;
19568
+ /**
19569
+ * Returns a metadata object for class sap.ui.commons.RowRepeaterFilter.
19570
+ */
19571
+ static getMetadata(): ElementMetadata;
19568
19572
  /**
19569
19573
  * Gets current value of property {@link #getFilters filters}.
19570
19574
  *
@@ -19577,10 +19581,6 @@ declare module "sap/ui/commons/RowRepeaterFilter" {
19577
19581
  * The filter icon if needed for display.
19578
19582
  */
19579
19583
  getIcon(): string;
19580
- /**
19581
- * Returns a metadata object for class sap.ui.commons.RowRepeaterFilter.
19582
- */
19583
- static getMetadata(): ElementMetadata;
19584
19584
  /**
19585
19585
  * Gets current value of property {@link #getText text}.
19586
19586
  *
@@ -19712,16 +19712,16 @@ declare module "sap/ui/commons/RowRepeaterSorter" {
19712
19712
  */
19713
19713
  FNMetaImpl?: Function
19714
19714
  ): Function;
19715
+ /**
19716
+ * Returns a metadata object for class sap.ui.commons.RowRepeaterSorter.
19717
+ */
19718
+ static getMetadata(): ElementMetadata;
19715
19719
  /**
19716
19720
  * Gets current value of property {@link #getIcon icon}.
19717
19721
  *
19718
19722
  * The sorter icon if needed for display.
19719
19723
  */
19720
19724
  getIcon(): string;
19721
- /**
19722
- * Returns a metadata object for class sap.ui.commons.RowRepeaterSorter.
19723
- */
19724
- static getMetadata(): ElementMetadata;
19725
19725
  /**
19726
19726
  * Gets current value of property {@link #getSorter sorter}.
19727
19727
  *
@@ -19846,6 +19846,31 @@ declare module "sap/ui/commons/SearchField" {
19846
19846
  mSettings?: $SearchFieldSettings
19847
19847
  );
19848
19848
 
19849
+ /**
19850
+ * Creates a new subclass of class sap.ui.commons.SearchField with name `sClassName` and enriches it with
19851
+ * the information contained in `oClassInfo`.
19852
+ *
19853
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
19854
+ */
19855
+ static extend<T extends Record<string, unknown>>(
19856
+ /**
19857
+ * Name of the class being created
19858
+ */
19859
+ sClassName: string,
19860
+ /**
19861
+ * Object literal with information about the class
19862
+ */
19863
+ oClassInfo?: sap.ClassInfo<T, SearchField>,
19864
+ /**
19865
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
19866
+ * used by this class
19867
+ */
19868
+ FNMetaImpl?: Function
19869
+ ): Function;
19870
+ /**
19871
+ * Returns a metadata object for class sap.ui.commons.SearchField.
19872
+ */
19873
+ static getMetadata(): ElementMetadata;
19849
19874
  /**
19850
19875
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
19851
19876
  */
@@ -19984,27 +20009,6 @@ declare module "sap/ui/commons/SearchField" {
19984
20009
  */
19985
20010
  oListener?: object
19986
20011
  ): this;
19987
- /**
19988
- * Creates a new subclass of class sap.ui.commons.SearchField with name `sClassName` and enriches it with
19989
- * the information contained in `oClassInfo`.
19990
- *
19991
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
19992
- */
19993
- static extend<T extends Record<string, unknown>>(
19994
- /**
19995
- * Name of the class being created
19996
- */
19997
- sClassName: string,
19998
- /**
19999
- * Object literal with information about the class
20000
- */
20001
- oClassInfo?: sap.ClassInfo<T, SearchField>,
20002
- /**
20003
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
20004
- * used by this class
20005
- */
20006
- FNMetaImpl?: Function
20007
- ): Function;
20008
20012
  /**
20009
20013
  * Fires event {@link #event:search search} to attached listeners.
20010
20014
  */
@@ -20120,10 +20124,6 @@ declare module "sap/ui/commons/SearchField" {
20120
20124
  * Default value is `10`.
20121
20125
  */
20122
20126
  getMaxSuggestionItems(): int;
20123
- /**
20124
- * Returns a metadata object for class sap.ui.commons.SearchField.
20125
- */
20126
- static getMetadata(): ElementMetadata;
20127
20127
  /**
20128
20128
  * @SINCE 1.32
20129
20129
  *
@@ -20656,12 +20656,12 @@ declare module "sap/ui/commons/SearchField" {
20656
20656
  /**
20657
20657
  * Event which is fired when the user triggers a search
20658
20658
  */
20659
- search?: Function;
20659
+ search?: (oEvent: Event) => void;
20660
20660
 
20661
20661
  /**
20662
20662
  * Event which is fired when new suggest values are required.
20663
20663
  */
20664
- suggest?: Function;
20664
+ suggest?: (oEvent: Event) => void;
20665
20665
  }
20666
20666
  }
20667
20667
 
@@ -20807,6 +20807,31 @@ declare module "sap/ui/commons/SegmentedButton" {
20807
20807
  mSettings?: $SegmentedButtonSettings
20808
20808
  );
20809
20809
 
20810
+ /**
20811
+ * Creates a new subclass of class sap.ui.commons.SegmentedButton with name `sClassName` and enriches it
20812
+ * with the information contained in `oClassInfo`.
20813
+ *
20814
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
20815
+ */
20816
+ static extend<T extends Record<string, unknown>>(
20817
+ /**
20818
+ * Name of the class being created
20819
+ */
20820
+ sClassName: string,
20821
+ /**
20822
+ * Object literal with information about the class
20823
+ */
20824
+ oClassInfo?: sap.ClassInfo<T, SegmentedButton>,
20825
+ /**
20826
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
20827
+ * used by this class
20828
+ */
20829
+ FNMetaImpl?: Function
20830
+ ): Function;
20831
+ /**
20832
+ * Returns a metadata object for class sap.ui.commons.SegmentedButton.
20833
+ */
20834
+ static getMetadata(): ElementMetadata;
20810
20835
  /**
20811
20836
  * Rerendering of the Buttons
20812
20837
  */
@@ -20880,27 +20905,6 @@ declare module "sap/ui/commons/SegmentedButton" {
20880
20905
  */
20881
20906
  oListener?: object
20882
20907
  ): this;
20883
- /**
20884
- * Creates a new subclass of class sap.ui.commons.SegmentedButton with name `sClassName` and enriches it
20885
- * with the information contained in `oClassInfo`.
20886
- *
20887
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
20888
- */
20889
- static extend<T extends Record<string, unknown>>(
20890
- /**
20891
- * Name of the class being created
20892
- */
20893
- sClassName: string,
20894
- /**
20895
- * Object literal with information about the class
20896
- */
20897
- oClassInfo?: sap.ClassInfo<T, SegmentedButton>,
20898
- /**
20899
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
20900
- * used by this class
20901
- */
20902
- FNMetaImpl?: Function
20903
- ): Function;
20904
20908
  /**
20905
20909
  * Fires event {@link #event:select select} to attached listeners.
20906
20910
  */
@@ -20929,10 +20933,6 @@ declare module "sap/ui/commons/SegmentedButton" {
20929
20933
  * Default value is `true`.
20930
20934
  */
20931
20935
  getEnabled(): boolean;
20932
- /**
20933
- * Returns a metadata object for class sap.ui.commons.SegmentedButton.
20934
- */
20935
- static getMetadata(): ElementMetadata;
20936
20936
  /**
20937
20937
  * ID of the element which is the current target of the association {@link #getSelectedButton selectedButton},
20938
20938
  * or `null`.
@@ -21024,7 +21024,7 @@ declare module "sap/ui/commons/SegmentedButton" {
21024
21024
  /**
21025
21025
  * Event fired when button selected
21026
21026
  */
21027
- select?: Function;
21027
+ select?: (oEvent: Event) => void;
21028
21028
  }
21029
21029
  }
21030
21030
 
@@ -21078,6 +21078,31 @@ declare module "sap/ui/commons/Slider" {
21078
21078
  mSettings?: $SliderSettings
21079
21079
  );
21080
21080
 
21081
+ /**
21082
+ * Creates a new subclass of class sap.ui.commons.Slider with name `sClassName` and enriches it with the
21083
+ * information contained in `oClassInfo`.
21084
+ *
21085
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
21086
+ */
21087
+ static extend<T extends Record<string, unknown>>(
21088
+ /**
21089
+ * Name of the class being created
21090
+ */
21091
+ sClassName: string,
21092
+ /**
21093
+ * Object literal with information about the class
21094
+ */
21095
+ oClassInfo?: sap.ClassInfo<T, Slider>,
21096
+ /**
21097
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
21098
+ * used by this class
21099
+ */
21100
+ FNMetaImpl?: Function
21101
+ ): Function;
21102
+ /**
21103
+ * Returns a metadata object for class sap.ui.commons.Slider.
21104
+ */
21105
+ static getMetadata(): ElementMetadata;
21081
21106
  /**
21082
21107
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
21083
21108
  */
@@ -21208,29 +21233,8 @@ declare module "sap/ui/commons/Slider" {
21208
21233
  /**
21209
21234
  * Context object on which the given function had to be called
21210
21235
  */
21211
- oListener?: object
21212
- ): this;
21213
- /**
21214
- * Creates a new subclass of class sap.ui.commons.Slider with name `sClassName` and enriches it with the
21215
- * information contained in `oClassInfo`.
21216
- *
21217
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
21218
- */
21219
- static extend<T extends Record<string, unknown>>(
21220
- /**
21221
- * Name of the class being created
21222
- */
21223
- sClassName: string,
21224
- /**
21225
- * Object literal with information about the class
21226
- */
21227
- oClassInfo?: sap.ClassInfo<T, Slider>,
21228
- /**
21229
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
21230
- * used by this class
21231
- */
21232
- FNMetaImpl?: Function
21233
- ): Function;
21236
+ oListener?: object
21237
+ ): this;
21234
21238
  /**
21235
21239
  * Fires event {@link #event:change change} to attached listeners.
21236
21240
  */
@@ -21313,10 +21317,6 @@ declare module "sap/ui/commons/Slider" {
21313
21317
  * Default value is `100`.
21314
21318
  */
21315
21319
  getMax(): float;
21316
- /**
21317
- * Returns a metadata object for class sap.ui.commons.Slider.
21318
- */
21319
- static getMetadata(): ElementMetadata;
21320
21320
  /**
21321
21321
  * Gets current value of property {@link #getMin min}.
21322
21322
  *
@@ -21681,13 +21681,13 @@ declare module "sap/ui/commons/Slider" {
21681
21681
  /**
21682
21682
  * Value was changed. This event is fired if the value has changed by a user action.
21683
21683
  */
21684
- change?: Function;
21684
+ change?: (oEvent: Event) => void;
21685
21685
 
21686
21686
  /**
21687
21687
  * Value was changed. This event is fired during the mouse move. The normal change event is only fired by
21688
21688
  * mouseup.
21689
21689
  */
21690
- liveChange?: Function;
21690
+ liveChange?: (oEvent: Event) => void;
21691
21691
  }
21692
21692
  }
21693
21693
 
@@ -21744,6 +21744,31 @@ declare module "sap/ui/commons/Splitter" {
21744
21744
  mSettings?: $SplitterSettings
21745
21745
  );
21746
21746
 
21747
+ /**
21748
+ * Creates a new subclass of class sap.ui.commons.Splitter with name `sClassName` and enriches it with the
21749
+ * information contained in `oClassInfo`.
21750
+ *
21751
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
21752
+ */
21753
+ static extend<T extends Record<string, unknown>>(
21754
+ /**
21755
+ * Name of the class being created
21756
+ */
21757
+ sClassName: string,
21758
+ /**
21759
+ * Object literal with information about the class
21760
+ */
21761
+ oClassInfo?: sap.ClassInfo<T, Splitter>,
21762
+ /**
21763
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
21764
+ * used by this class
21765
+ */
21766
+ FNMetaImpl?: Function
21767
+ ): Function;
21768
+ /**
21769
+ * Returns a metadata object for class sap.ui.commons.Splitter.
21770
+ */
21771
+ static getMetadata(): ElementMetadata;
21747
21772
  /**
21748
21773
  * Adds some firstPaneContent to the aggregation {@link #getFirstPaneContent firstPaneContent}.
21749
21774
  */
@@ -21770,27 +21795,6 @@ declare module "sap/ui/commons/Splitter" {
21770
21795
  * Destroys all the secondPaneContent in the aggregation {@link #getSecondPaneContent secondPaneContent}.
21771
21796
  */
21772
21797
  destroySecondPaneContent(): this;
21773
- /**
21774
- * Creates a new subclass of class sap.ui.commons.Splitter with name `sClassName` and enriches it with the
21775
- * information contained in `oClassInfo`.
21776
- *
21777
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
21778
- */
21779
- static extend<T extends Record<string, unknown>>(
21780
- /**
21781
- * Name of the class being created
21782
- */
21783
- sClassName: string,
21784
- /**
21785
- * Object literal with information about the class
21786
- */
21787
- oClassInfo?: sap.ClassInfo<T, Splitter>,
21788
- /**
21789
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
21790
- * used by this class
21791
- */
21792
- FNMetaImpl?: Function
21793
- ): Function;
21794
21798
  /**
21795
21799
  * Gets content of aggregation {@link #getFirstPaneContent firstPaneContent}.
21796
21800
  *
@@ -21806,10 +21810,6 @@ declare module "sap/ui/commons/Splitter" {
21806
21810
  * Default value is `'100%'`.
21807
21811
  */
21808
21812
  getHeight(): SplitterSize;
21809
- /**
21810
- * Returns a metadata object for class sap.ui.commons.Splitter.
21811
- */
21812
- static getMetadata(): ElementMetadata;
21813
21813
  /**
21814
21814
  * Gets current value of property {@link #getMinSizeFirstPane minSizeFirstPane}.
21815
21815
  *
@@ -22205,6 +22205,10 @@ declare module "sap/ui/commons/Tab" {
22205
22205
  */
22206
22206
  FNMetaImpl?: Function
22207
22207
  ): Function;
22208
+ /**
22209
+ * Returns a metadata object for class sap.ui.commons.Tab.
22210
+ */
22211
+ static getMetadata(): ElementMetadata;
22208
22212
  /**
22209
22213
  * Gets current value of property {@link #getClosable closable}.
22210
22214
  *
@@ -22221,10 +22225,6 @@ declare module "sap/ui/commons/Tab" {
22221
22225
  * Default value is `None`.
22222
22226
  */
22223
22227
  getHorizontalScrolling(): Scrolling | keyof typeof Scrolling;
22224
- /**
22225
- * Returns a metadata object for class sap.ui.commons.Tab.
22226
- */
22227
- static getMetadata(): ElementMetadata;
22228
22228
  /**
22229
22229
  * @deprecated (since 0.17.0) - This property is not used. To identify the selected tab in a TabStrip selectedIndex
22230
22230
  * is used.
@@ -22393,6 +22393,31 @@ declare module "sap/ui/commons/TabStrip" {
22393
22393
  mSettings?: $TabStripSettings
22394
22394
  );
22395
22395
 
22396
+ /**
22397
+ * Creates a new subclass of class sap.ui.commons.TabStrip with name `sClassName` and enriches it with the
22398
+ * information contained in `oClassInfo`.
22399
+ *
22400
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
22401
+ */
22402
+ static extend<T extends Record<string, unknown>>(
22403
+ /**
22404
+ * Name of the class being created
22405
+ */
22406
+ sClassName: string,
22407
+ /**
22408
+ * Object literal with information about the class
22409
+ */
22410
+ oClassInfo?: sap.ClassInfo<T, TabStrip>,
22411
+ /**
22412
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
22413
+ * used by this class
22414
+ */
22415
+ FNMetaImpl?: Function
22416
+ ): Function;
22417
+ /**
22418
+ * Returns a metadata object for class sap.ui.commons.TabStrip.
22419
+ */
22420
+ static getMetadata(): ElementMetadata;
22396
22421
  /**
22397
22422
  * Adds some tab to the aggregation {@link #getTabs tabs}.
22398
22423
  */
@@ -22544,27 +22569,6 @@ declare module "sap/ui/commons/TabStrip" {
22544
22569
  */
22545
22570
  oListener?: object
22546
22571
  ): this;
22547
- /**
22548
- * Creates a new subclass of class sap.ui.commons.TabStrip with name `sClassName` and enriches it with the
22549
- * information contained in `oClassInfo`.
22550
- *
22551
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
22552
- */
22553
- static extend<T extends Record<string, unknown>>(
22554
- /**
22555
- * Name of the class being created
22556
- */
22557
- sClassName: string,
22558
- /**
22559
- * Object literal with information about the class
22560
- */
22561
- oClassInfo?: sap.ClassInfo<T, TabStrip>,
22562
- /**
22563
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
22564
- * used by this class
22565
- */
22566
- FNMetaImpl?: Function
22567
- ): Function;
22568
22572
  /**
22569
22573
  * Fires event {@link #event:close close} to attached listeners.
22570
22574
  */
@@ -22607,10 +22611,6 @@ declare module "sap/ui/commons/TabStrip" {
22607
22611
  * Specifies the height of the tab bar and content area.
22608
22612
  */
22609
22613
  getHeight(): CSSSize;
22610
- /**
22611
- * Returns a metadata object for class sap.ui.commons.TabStrip.
22612
- */
22613
- static getMetadata(): ElementMetadata;
22614
22614
  /**
22615
22615
  * Gets current value of property {@link #getSelectedIndex selectedIndex}.
22616
22616
  *
@@ -22756,12 +22756,12 @@ declare module "sap/ui/commons/TabStrip" {
22756
22756
  /**
22757
22757
  * Fires when the user selects a tab.
22758
22758
  */
22759
- select?: Function;
22759
+ select?: (oEvent: Event) => void;
22760
22760
 
22761
22761
  /**
22762
22762
  * Fires when the user closes a tab.
22763
22763
  */
22764
- close?: Function;
22764
+ close?: (oEvent: Event) => void;
22765
22765
  }
22766
22766
  }
22767
22767
 
@@ -22835,6 +22835,10 @@ declare module "sap/ui/commons/TextArea" {
22835
22835
  */
22836
22836
  FNMetaImpl?: Function
22837
22837
  ): Function;
22838
+ /**
22839
+ * Returns a metadata object for class sap.ui.commons.TextArea.
22840
+ */
22841
+ static getMetadata(): ElementMetadata;
22838
22842
  /**
22839
22843
  * Gets current value of property {@link #getCols cols}.
22840
22844
  *
@@ -22868,10 +22872,6 @@ declare module "sap/ui/commons/TextArea" {
22868
22872
  * ID of label control
22869
22873
  */
22870
22874
  getLabeledBy(): string;
22871
- /**
22872
- * Returns a metadata object for class sap.ui.commons.TextArea.
22873
- */
22874
- static getMetadata(): ElementMetadata;
22875
22875
  /**
22876
22876
  * Gets current value of property {@link #getRows rows}.
22877
22877
  *
@@ -23090,6 +23090,31 @@ declare module "sap/ui/commons/TextField" {
23090
23090
  mSettings?: $TextFieldSettings
23091
23091
  );
23092
23092
 
23093
+ /**
23094
+ * Creates a new subclass of class sap.ui.commons.TextField with name `sClassName` and enriches it with
23095
+ * the information contained in `oClassInfo`.
23096
+ *
23097
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
23098
+ */
23099
+ static extend<T extends Record<string, unknown>>(
23100
+ /**
23101
+ * Name of the class being created
23102
+ */
23103
+ sClassName: string,
23104
+ /**
23105
+ * Object literal with information about the class
23106
+ */
23107
+ oClassInfo?: sap.ClassInfo<T, TextField>,
23108
+ /**
23109
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
23110
+ * used by this class
23111
+ */
23112
+ FNMetaImpl?: Function
23113
+ ): Function;
23114
+ /**
23115
+ * Returns a metadata object for class sap.ui.commons.TextField.
23116
+ */
23117
+ static getMetadata(): ElementMetadata;
23093
23118
  /**
23094
23119
  * Compares the previous value with the current value and fires the change event if the TextField is editable
23095
23120
  * and the value has changed.
@@ -23248,27 +23273,6 @@ declare module "sap/ui/commons/TextField" {
23248
23273
  */
23249
23274
  oListener?: object
23250
23275
  ): this;
23251
- /**
23252
- * Creates a new subclass of class sap.ui.commons.TextField with name `sClassName` and enriches it with
23253
- * the information contained in `oClassInfo`.
23254
- *
23255
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
23256
- */
23257
- static extend<T extends Record<string, unknown>>(
23258
- /**
23259
- * Name of the class being created
23260
- */
23261
- sClassName: string,
23262
- /**
23263
- * Object literal with information about the class
23264
- */
23265
- oClassInfo?: sap.ClassInfo<T, TextField>,
23266
- /**
23267
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
23268
- * used by this class
23269
- */
23270
- FNMetaImpl?: Function
23271
- ): Function;
23272
23276
  /**
23273
23277
  * Fires event {@link #event:change change} to attached listeners.
23274
23278
  */
@@ -23301,7 +23305,7 @@ declare module "sap/ui/commons/TextField" {
23301
23305
  * See:
23302
23306
  * sap.ui.core.Control#getAccessibilityInfo
23303
23307
  */
23304
- getAccessibilityInfo(): Object;
23308
+ getAccessibilityInfo(): object;
23305
23309
  /**
23306
23310
  * Gets current value of property {@link #getAccessibleRole accessibleRole}.
23307
23311
  *
@@ -23381,10 +23385,6 @@ declare module "sap/ui/commons/TextField" {
23381
23385
  * Default value is `0`.
23382
23386
  */
23383
23387
  getMaxLength(): int;
23384
- /**
23385
- * Returns a metadata object for class sap.ui.commons.TextField.
23386
- */
23387
- static getMetadata(): ElementMetadata;
23388
23388
  /**
23389
23389
  * Gets current value of property {@link #getName name}.
23390
23390
  *
@@ -23851,14 +23851,14 @@ declare module "sap/ui/commons/TextField" {
23851
23851
  * Event is fired when the text in the field has changed AND the focus leaves the TextField or the Enter
23852
23852
  * key is pressed.
23853
23853
  */
23854
- change?: Function;
23854
+ change?: (oEvent: Event) => void;
23855
23855
 
23856
23856
  /**
23857
23857
  * This event if fired during typing into the `TextField` and returns the currently entered value. **Note:**
23858
23858
  * This is not the content of the value property. The value property is only updated by ENTER and by leaving
23859
23859
  * the control.
23860
23860
  */
23861
- liveChange?: Function;
23861
+ liveChange?: (oEvent: Event) => void;
23862
23862
  }
23863
23863
  }
23864
23864
 
@@ -23925,6 +23925,31 @@ declare module "sap/ui/commons/TextView" {
23925
23925
  mSettings?: $TextViewSettings
23926
23926
  );
23927
23927
 
23928
+ /**
23929
+ * Creates a new subclass of class sap.ui.commons.TextView with name `sClassName` and enriches it with the
23930
+ * information contained in `oClassInfo`.
23931
+ *
23932
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
23933
+ */
23934
+ static extend<T extends Record<string, unknown>>(
23935
+ /**
23936
+ * Name of the class being created
23937
+ */
23938
+ sClassName: string,
23939
+ /**
23940
+ * Object literal with information about the class
23941
+ */
23942
+ oClassInfo?: sap.ClassInfo<T, TextView>,
23943
+ /**
23944
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
23945
+ * used by this class
23946
+ */
23947
+ FNMetaImpl?: Function
23948
+ ): Function;
23949
+ /**
23950
+ * Returns a metadata object for class sap.ui.commons.TextView.
23951
+ */
23952
+ static getMetadata(): ElementMetadata;
23928
23953
  /**
23929
23954
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
23930
23955
  */
@@ -23955,27 +23980,6 @@ declare module "sap/ui/commons/TextView" {
23955
23980
  */
23956
23981
  oBindingInfo: PropertyBindingInfo
23957
23982
  ): this;
23958
- /**
23959
- * Creates a new subclass of class sap.ui.commons.TextView with name `sClassName` and enriches it with the
23960
- * information contained in `oClassInfo`.
23961
- *
23962
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
23963
- */
23964
- static extend<T extends Record<string, unknown>>(
23965
- /**
23966
- * Name of the class being created
23967
- */
23968
- sClassName: string,
23969
- /**
23970
- * Object literal with information about the class
23971
- */
23972
- oClassInfo?: sap.ClassInfo<T, TextView>,
23973
- /**
23974
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
23975
- * used by this class
23976
- */
23977
- FNMetaImpl?: Function
23978
- ): Function;
23979
23983
  /**
23980
23984
  * See:
23981
23985
  * sap.ui.core.Control#getAccessibilityInfo
@@ -24022,10 +24026,6 @@ declare module "sap/ui/commons/TextView" {
24022
24026
  * Default value is `empty string`.
24023
24027
  */
24024
24028
  getHelpId(): string;
24025
- /**
24026
- * Returns a metadata object for class sap.ui.commons.TextView.
24027
- */
24028
- static getMetadata(): ElementMetadata;
24029
24029
  /**
24030
24030
  * Gets current value of property {@link #getSemanticColor semanticColor}.
24031
24031
  *
@@ -24400,6 +24400,10 @@ declare module "sap/ui/commons/Title" {
24400
24400
  */
24401
24401
  FNMetaImpl?: Function
24402
24402
  ): Function;
24403
+ /**
24404
+ * Returns a metadata object for class sap.ui.commons.Title.
24405
+ */
24406
+ static getMetadata(): ElementMetadata;
24403
24407
  /**
24404
24408
  * @SINCE 1.9.1
24405
24409
  *
@@ -24411,10 +24415,6 @@ declare module "sap/ui/commons/Title" {
24411
24415
  * Default value is `Auto`
24412
24416
  */
24413
24417
  getLevel(): TitleLevel | keyof typeof TitleLevel;
24414
- /**
24415
- * Returns a metadata object for class sap.ui.commons.Title.
24416
- */
24417
- static getMetadata(): ElementMetadata;
24418
24418
  /**
24419
24419
  * @SINCE 1.9.1
24420
24420
  *
@@ -24498,15 +24498,15 @@ declare module "sap/ui/commons/ToggleButton" {
24498
24498
  */
24499
24499
  FNMetaImpl?: Function
24500
24500
  ): Function;
24501
- /**
24502
- * See:
24503
- * sap.ui.core.Control#getAccessibilityInfo
24504
- */
24505
- getAccessibilityInfo(): Object;
24506
24501
  /**
24507
24502
  * Returns a metadata object for class sap.ui.commons.ToggleButton.
24508
24503
  */
24509
24504
  static getMetadata(): ElementMetadata;
24505
+ /**
24506
+ * See:
24507
+ * sap.ui.core.Control#getAccessibilityInfo
24508
+ */
24509
+ getAccessibilityInfo(): object;
24510
24510
  /**
24511
24511
  * Gets current value of property {@link #getPressed pressed}.
24512
24512
  *
@@ -24583,17 +24583,42 @@ declare module "sap/ui/commons/Toolbar" {
24583
24583
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
24584
24584
  * of the syntax of the settings object.
24585
24585
  */
24586
- constructor(
24586
+ constructor(
24587
+ /**
24588
+ * id for the new control, generated automatically if no id is given
24589
+ */
24590
+ sId?: string,
24591
+ /**
24592
+ * initial settings for the new control
24593
+ */
24594
+ mSettings?: $ToolbarSettings
24595
+ );
24596
+
24597
+ /**
24598
+ * Creates a new subclass of class sap.ui.commons.Toolbar with name `sClassName` and enriches it with the
24599
+ * information contained in `oClassInfo`.
24600
+ *
24601
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
24602
+ */
24603
+ static extend<T extends Record<string, unknown>>(
24587
24604
  /**
24588
- * id for the new control, generated automatically if no id is given
24605
+ * Name of the class being created
24589
24606
  */
24590
- sId?: string,
24607
+ sClassName: string,
24591
24608
  /**
24592
- * initial settings for the new control
24609
+ * Object literal with information about the class
24593
24610
  */
24594
- mSettings?: $ToolbarSettings
24595
- );
24596
-
24611
+ oClassInfo?: sap.ClassInfo<T, Toolbar>,
24612
+ /**
24613
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
24614
+ * used by this class
24615
+ */
24616
+ FNMetaImpl?: Function
24617
+ ): Function;
24618
+ /**
24619
+ * Returns a metadata object for class sap.ui.commons.Toolbar.
24620
+ */
24621
+ static getMetadata(): ElementMetadata;
24597
24622
  /**
24598
24623
  * Adds some item to the aggregation {@link #getItems items}.
24599
24624
  */
@@ -24620,27 +24645,6 @@ declare module "sap/ui/commons/Toolbar" {
24620
24645
  * Destroys all the rightItems in the aggregation {@link #getRightItems rightItems}.
24621
24646
  */
24622
24647
  destroyRightItems(): this;
24623
- /**
24624
- * Creates a new subclass of class sap.ui.commons.Toolbar with name `sClassName` and enriches it with the
24625
- * information contained in `oClassInfo`.
24626
- *
24627
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
24628
- */
24629
- static extend<T extends Record<string, unknown>>(
24630
- /**
24631
- * Name of the class being created
24632
- */
24633
- sClassName: string,
24634
- /**
24635
- * Object literal with information about the class
24636
- */
24637
- oClassInfo?: sap.ClassInfo<T, Toolbar>,
24638
- /**
24639
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
24640
- * used by this class
24641
- */
24642
- FNMetaImpl?: Function
24643
- ): Function;
24644
24648
  /**
24645
24649
  * Gets current value of property {@link #getDesign design}.
24646
24650
  *
@@ -24655,10 +24659,6 @@ declare module "sap/ui/commons/Toolbar" {
24655
24659
  * Aggregating the tool bar items.
24656
24660
  */
24657
24661
  getItems(): ToolbarItem[];
24658
- /**
24659
- * Returns a metadata object for class sap.ui.commons.Toolbar.
24660
- */
24661
- static getMetadata(): ElementMetadata;
24662
24662
  /**
24663
24663
  * Gets content of aggregation {@link #getRightItems rightItems}.
24664
24664
  *
@@ -24913,6 +24913,10 @@ declare module "sap/ui/commons/ToolbarSeparator" {
24913
24913
  */
24914
24914
  FNMetaImpl?: Function
24915
24915
  ): Function;
24916
+ /**
24917
+ * Returns a metadata object for class sap.ui.commons.ToolbarSeparator.
24918
+ */
24919
+ static getMetadata(): ElementMetadata;
24916
24920
  /**
24917
24921
  * Gets current value of property {@link #getDesign design}.
24918
24922
  *
@@ -24927,10 +24931,6 @@ declare module "sap/ui/commons/ToolbarSeparator" {
24927
24931
  * Default value is `true`.
24928
24932
  */
24929
24933
  getDisplayVisualSeparator(): boolean;
24930
- /**
24931
- * Returns a metadata object for class sap.ui.commons.ToolbarSeparator.
24932
- */
24933
- static getMetadata(): ElementMetadata;
24934
24934
  /**
24935
24935
  * Sets a new value for property {@link #getDesign design}.
24936
24936
  *
@@ -25033,6 +25033,31 @@ declare module "sap/ui/commons/Tree" {
25033
25033
  mSettings?: $TreeSettings
25034
25034
  );
25035
25035
 
25036
+ /**
25037
+ * Creates a new subclass of class sap.ui.commons.Tree with name `sClassName` and enriches it with the information
25038
+ * contained in `oClassInfo`.
25039
+ *
25040
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
25041
+ */
25042
+ static extend<T extends Record<string, unknown>>(
25043
+ /**
25044
+ * Name of the class being created
25045
+ */
25046
+ sClassName: string,
25047
+ /**
25048
+ * Object literal with information about the class
25049
+ */
25050
+ oClassInfo?: sap.ClassInfo<T, Tree>,
25051
+ /**
25052
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
25053
+ * used by this class
25054
+ */
25055
+ FNMetaImpl?: Function
25056
+ ): Function;
25057
+ /**
25058
+ * Returns a metadata object for class sap.ui.commons.Tree.
25059
+ */
25060
+ static getMetadata(): ElementMetadata;
25036
25061
  /**
25037
25062
  * Adds some node to the aggregation {@link #getNodes nodes}.
25038
25063
  */
@@ -25181,27 +25206,6 @@ declare module "sap/ui/commons/Tree" {
25181
25206
  * Expands all nodes in the tree.
25182
25207
  */
25183
25208
  expandAll(): void;
25184
- /**
25185
- * Creates a new subclass of class sap.ui.commons.Tree with name `sClassName` and enriches it with the information
25186
- * contained in `oClassInfo`.
25187
- *
25188
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
25189
- */
25190
- static extend<T extends Record<string, unknown>>(
25191
- /**
25192
- * Name of the class being created
25193
- */
25194
- sClassName: string,
25195
- /**
25196
- * Object literal with information about the class
25197
- */
25198
- oClassInfo?: sap.ClassInfo<T, Tree>,
25199
- /**
25200
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
25201
- * used by this class
25202
- */
25203
- FNMetaImpl?: Function
25204
- ): Function;
25205
25209
  /**
25206
25210
  * Fires event {@link #event:select select} to attached listeners.
25207
25211
  *
@@ -25249,10 +25253,6 @@ declare module "sap/ui/commons/Tree" {
25249
25253
  * Default value is `'auto'`.
25250
25254
  */
25251
25255
  getHeight(): CSSSize;
25252
- /**
25253
- * Returns a metadata object for class sap.ui.commons.Tree.
25254
- */
25255
- static getMetadata(): ElementMetadata;
25256
25256
  /**
25257
25257
  * Gets current value of property {@link #getMinWidth minWidth}.
25258
25258
  *
@@ -25538,12 +25538,12 @@ declare module "sap/ui/commons/Tree" {
25538
25538
  /**
25539
25539
  * Event is fired when a tree node is selected.
25540
25540
  */
25541
- select?: Function;
25541
+ select?: (oEvent: Event) => void;
25542
25542
 
25543
25543
  /**
25544
25544
  * fired when the selection of the tree has been changed
25545
25545
  */
25546
- selectionChange?: Function;
25546
+ selectionChange?: (oEvent: Event) => void;
25547
25547
  }
25548
25548
  }
25549
25549
 
@@ -25600,6 +25600,31 @@ declare module "sap/ui/commons/TreeNode" {
25600
25600
  mSettings?: $TreeNodeSettings
25601
25601
  );
25602
25602
 
25603
+ /**
25604
+ * Creates a new subclass of class sap.ui.commons.TreeNode with name `sClassName` and enriches it with the
25605
+ * information contained in `oClassInfo`.
25606
+ *
25607
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
25608
+ */
25609
+ static extend<T extends Record<string, unknown>>(
25610
+ /**
25611
+ * Name of the class being created
25612
+ */
25613
+ sClassName: string,
25614
+ /**
25615
+ * Object literal with information about the class
25616
+ */
25617
+ oClassInfo?: sap.ClassInfo<T, TreeNode>,
25618
+ /**
25619
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
25620
+ * used by this class
25621
+ */
25622
+ FNMetaImpl?: Function
25623
+ ): Function;
25624
+ /**
25625
+ * Returns a metadata object for class sap.ui.commons.TreeNode.
25626
+ */
25627
+ static getMetadata(): ElementMetadata;
25603
25628
  /**
25604
25629
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
25605
25630
  */
@@ -25772,27 +25797,6 @@ declare module "sap/ui/commons/TreeNode" {
25772
25797
  */
25773
25798
  bDisableExpandFinishedHandler: boolean
25774
25799
  ): void;
25775
- /**
25776
- * Creates a new subclass of class sap.ui.commons.TreeNode with name `sClassName` and enriches it with the
25777
- * information contained in `oClassInfo`.
25778
- *
25779
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
25780
- */
25781
- static extend<T extends Record<string, unknown>>(
25782
- /**
25783
- * Name of the class being created
25784
- */
25785
- sClassName: string,
25786
- /**
25787
- * Object literal with information about the class
25788
- */
25789
- oClassInfo?: sap.ClassInfo<T, TreeNode>,
25790
- /**
25791
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
25792
- * used by this class
25793
- */
25794
- FNMetaImpl?: Function
25795
- ): Function;
25796
25800
  /**
25797
25801
  * Fires event {@link #event:selected selected} to attached listeners.
25798
25802
  */
@@ -25856,10 +25860,6 @@ declare module "sap/ui/commons/TreeNode" {
25856
25860
  * Default value is `false`.
25857
25861
  */
25858
25862
  getIsSelected(): boolean;
25859
- /**
25860
- * Returns a metadata object for class sap.ui.commons.TreeNode.
25861
- */
25862
- static getMetadata(): ElementMetadata;
25863
25863
  /**
25864
25864
  * Gets content of aggregation {@link #getNodes nodes}.
25865
25865
  *
@@ -26079,12 +26079,12 @@ declare module "sap/ui/commons/TreeNode" {
26079
26079
  /**
26080
26080
  * Node state has changed.
26081
26081
  */
26082
- toggleOpenState?: Function;
26082
+ toggleOpenState?: (oEvent: Event) => void;
26083
26083
 
26084
26084
  /**
26085
26085
  * Node is selected
26086
26086
  */
26087
- selected?: Function;
26087
+ selected?: (oEvent: Event) => void;
26088
26088
  }
26089
26089
  }
26090
26090
 
@@ -26142,6 +26142,31 @@ declare module "sap/ui/commons/TriStateCheckBox" {
26142
26142
  mSettings?: $TriStateCheckBoxSettings
26143
26143
  );
26144
26144
 
26145
+ /**
26146
+ * Creates a new subclass of class sap.ui.commons.TriStateCheckBox with name `sClassName` and enriches it
26147
+ * with the information contained in `oClassInfo`.
26148
+ *
26149
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
26150
+ */
26151
+ static extend<T extends Record<string, unknown>>(
26152
+ /**
26153
+ * Name of the class being created
26154
+ */
26155
+ sClassName: string,
26156
+ /**
26157
+ * Object literal with information about the class
26158
+ */
26159
+ oClassInfo?: sap.ClassInfo<T, TriStateCheckBox>,
26160
+ /**
26161
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
26162
+ * used by this class
26163
+ */
26164
+ FNMetaImpl?: Function
26165
+ ): Function;
26166
+ /**
26167
+ * Returns a metadata object for class sap.ui.commons.TriStateCheckBox.
26168
+ */
26169
+ static getMetadata(): ElementMetadata;
26145
26170
  /**
26146
26171
  * Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.commons.TriStateCheckBox`.
26147
26172
  *
@@ -26198,27 +26223,6 @@ declare module "sap/ui/commons/TriStateCheckBox" {
26198
26223
  */
26199
26224
  oListener?: object
26200
26225
  ): this;
26201
- /**
26202
- * Creates a new subclass of class sap.ui.commons.TriStateCheckBox with name `sClassName` and enriches it
26203
- * with the information contained in `oClassInfo`.
26204
- *
26205
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
26206
- */
26207
- static extend<T extends Record<string, unknown>>(
26208
- /**
26209
- * Name of the class being created
26210
- */
26211
- sClassName: string,
26212
- /**
26213
- * Object literal with information about the class
26214
- */
26215
- oClassInfo?: sap.ClassInfo<T, TriStateCheckBox>,
26216
- /**
26217
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
26218
- * used by this class
26219
- */
26220
- FNMetaImpl?: Function
26221
- ): Function;
26222
26226
  /**
26223
26227
  * Fires event {@link #event:change change} to attached listeners.
26224
26228
  */
@@ -26249,10 +26253,6 @@ declare module "sap/ui/commons/TriStateCheckBox" {
26249
26253
  * Default value is `true`.
26250
26254
  */
26251
26255
  getEnabled(): boolean;
26252
- /**
26253
- * Returns a metadata object for class sap.ui.commons.TriStateCheckBox.
26254
- */
26255
- static getMetadata(): ElementMetadata;
26256
26256
  /**
26257
26257
  * Gets current value of property {@link #getSelectionState selectionState}.
26258
26258
  *
@@ -26454,7 +26454,7 @@ declare module "sap/ui/commons/TriStateCheckBox" {
26454
26454
  /**
26455
26455
  * Event is triggered when the control status is changed by the user by flagging or unflagging the checkbox.
26456
26456
  */
26457
- change?: Function;
26457
+ change?: (oEvent: Event) => void;
26458
26458
  }
26459
26459
  }
26460
26460
 
@@ -26509,6 +26509,31 @@ declare module "sap/ui/commons/ValueHelpField" {
26509
26509
  mSettings?: $ValueHelpFieldSettings
26510
26510
  );
26511
26511
 
26512
+ /**
26513
+ * Creates a new subclass of class sap.ui.commons.ValueHelpField with name `sClassName` and enriches it
26514
+ * with the information contained in `oClassInfo`.
26515
+ *
26516
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.TextField.extend}.
26517
+ */
26518
+ static extend<T extends Record<string, unknown>>(
26519
+ /**
26520
+ * Name of the class being created
26521
+ */
26522
+ sClassName: string,
26523
+ /**
26524
+ * Object literal with information about the class
26525
+ */
26526
+ oClassInfo?: sap.ClassInfo<T, ValueHelpField>,
26527
+ /**
26528
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
26529
+ * used by this class
26530
+ */
26531
+ FNMetaImpl?: Function
26532
+ ): Function;
26533
+ /**
26534
+ * Returns a metadata object for class sap.ui.commons.ValueHelpField.
26535
+ */
26536
+ static getMetadata(): ElementMetadata;
26512
26537
  /**
26513
26538
  * Attaches event handler `fnFunction` to the {@link #event:valueHelpRequest valueHelpRequest} event of
26514
26539
  * this `sap.ui.commons.ValueHelpField`.
@@ -26568,27 +26593,6 @@ declare module "sap/ui/commons/ValueHelpField" {
26568
26593
  */
26569
26594
  oListener?: object
26570
26595
  ): this;
26571
- /**
26572
- * Creates a new subclass of class sap.ui.commons.ValueHelpField with name `sClassName` and enriches it
26573
- * with the information contained in `oClassInfo`.
26574
- *
26575
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.commons.TextField.extend}.
26576
- */
26577
- static extend<T extends Record<string, unknown>>(
26578
- /**
26579
- * Name of the class being created
26580
- */
26581
- sClassName: string,
26582
- /**
26583
- * Object literal with information about the class
26584
- */
26585
- oClassInfo?: sap.ClassInfo<T, ValueHelpField>,
26586
- /**
26587
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
26588
- * used by this class
26589
- */
26590
- FNMetaImpl?: Function
26591
- ): Function;
26592
26596
  /**
26593
26597
  * Fires event {@link #event:valueHelpRequest valueHelpRequest} to attached listeners.
26594
26598
  */
@@ -26619,10 +26623,6 @@ declare module "sap/ui/commons/ValueHelpField" {
26619
26623
  * be shown. This can be a URI to an image or an icon font URI.
26620
26624
  */
26621
26625
  getIconURL(): URI;
26622
- /**
26623
- * Returns a metadata object for class sap.ui.commons.ValueHelpField.
26624
- */
26625
- static getMetadata(): ElementMetadata;
26626
26626
  /**
26627
26627
  * Handle F4 event
26628
26628
  */
@@ -26698,7 +26698,7 @@ declare module "sap/ui/commons/ValueHelpField" {
26698
26698
  /**
26699
26699
  * Event which is fired when the ValueHelp is requested.
26700
26700
  */
26701
- valueHelpRequest?: Function;
26701
+ valueHelpRequest?: (oEvent: Event) => void;
26702
26702
  }
26703
26703
  }
26704
26704