@openui5/types 1.113.0 → 1.115.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.113.0
1
+ // For Library Version: 1.115.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -316,6 +316,8 @@ declare module "sap/ui/unified/Calendar" {
316
316
 
317
317
  import Event from "sap/ui/base/Event";
318
318
 
319
+ import UI5Date from "sap/ui/core/date/UI5Date";
320
+
319
321
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
320
322
 
321
323
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -334,7 +336,7 @@ declare module "sap/ui/unified/Calendar" {
334
336
  *
335
337
  * Basic Calendar. This calendar is used for DatePickers
336
338
  */
337
- export default class Calendar extends Control {
339
+ class Calendar extends Control {
338
340
  /**
339
341
  * Constructor for a new Calendar.
340
342
  *
@@ -617,7 +619,7 @@ declare module "sap/ui/unified/Calendar" {
617
619
  /**
618
620
  * The function to be called when the event occurs
619
621
  */
620
- fnFunction: (p1: Event) => void,
622
+ fnFunction: (p1: Event<$CalendarWeekNumberSelectEventParameters>) => void,
621
623
  /**
622
624
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.Calendar` itself
623
625
  */
@@ -645,7 +647,7 @@ declare module "sap/ui/unified/Calendar" {
645
647
  /**
646
648
  * The function to be called when the event occurs
647
649
  */
648
- fnFunction: (p1: Event) => void,
650
+ fnFunction: (p1: Event<$CalendarWeekNumberSelectEventParameters>) => void,
649
651
  /**
650
652
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.Calendar` itself
651
653
  */
@@ -741,7 +743,7 @@ declare module "sap/ui/unified/Calendar" {
741
743
  /**
742
744
  * The function to be called, when the event occurs
743
745
  */
744
- fnFunction: (p1: Event) => void,
746
+ fnFunction: (p1: Event<$CalendarWeekNumberSelectEventParameters>) => void,
745
747
  /**
746
748
  * Context object on which the given function had to be called
747
749
  */
@@ -756,9 +758,9 @@ declare module "sap/ui/unified/Calendar" {
756
758
  */
757
759
  displayDate(
758
760
  /**
759
- * JavaScript date object for focused date
761
+ * date instance for focused date
760
762
  */
761
- oDate: Date
763
+ oDate: Date | UI5Date
762
764
  ): this;
763
765
  /**
764
766
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -815,16 +817,7 @@ declare module "sap/ui/unified/Calendar" {
815
817
  /**
816
818
  * Parameters to pass along with the event
817
819
  */
818
- mParameters?: {
819
- /**
820
- * The selected week number.
821
- */
822
- weekNumber?: int;
823
- /**
824
- * The days of the corresponding week that are selected or deselected.
825
- */
826
- weekDays?: DateRange;
827
- }
820
+ mParameters?: $CalendarWeekNumberSelectEventParameters
828
821
  ): boolean;
829
822
  /**
830
823
  * Displays and sets the focused date of the calendar.
@@ -833,15 +826,14 @@ declare module "sap/ui/unified/Calendar" {
833
826
  */
834
827
  focusDate(
835
828
  /**
836
- * A JavaScript date object for focused date
829
+ * A date instance for focused date
837
830
  */
838
- oDate: Date
831
+ oDate: Date | UI5Date
839
832
  ): this;
840
833
  /**
841
834
  * @SINCE 1.28.0
842
835
  *
843
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
844
- * ariaLabelledBy}.
836
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
845
837
  */
846
838
  getAriaLabelledBy(): ID[];
847
839
  /**
@@ -864,7 +856,7 @@ declare module "sap/ui/unified/Calendar" {
864
856
  *
865
857
  * Dates or date ranges for disabled dates.
866
858
  *
867
- * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange}
859
+ * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange }
868
860
  * class.
869
861
  */
870
862
  getDisabledDates(): DateRange[];
@@ -887,7 +879,8 @@ declare module "sap/ui/unified/Calendar" {
887
879
  *
888
880
  * Gets current value of property {@link #getInitialFocusedDate initialFocusedDate}.
889
881
  *
890
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
882
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
883
+ * calendar.
891
884
  *
892
885
  * @returns Value of property `initialFocusedDate`
893
886
  */
@@ -913,7 +906,8 @@ declare module "sap/ui/unified/Calendar" {
913
906
  *
914
907
  * Gets current value of property {@link #getMaxDate maxDate}.
915
908
  *
916
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
909
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
910
+ * object.
917
911
  *
918
912
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
919
913
  * range can not be selected.
@@ -929,7 +923,8 @@ declare module "sap/ui/unified/Calendar" {
929
923
  *
930
924
  * Gets current value of property {@link #getMinDate minDate}.
931
925
  *
932
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
926
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
927
+ * object.
933
928
  *
934
929
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
935
930
  * range can not be selected.
@@ -998,7 +993,7 @@ declare module "sap/ui/unified/Calendar" {
998
993
  *
999
994
  * Dates or date ranges for selected dates.
1000
995
  *
1001
- * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange}
996
+ * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange }
1002
997
  * class.
1003
998
  */
1004
999
  getSelectedDates(): DateRange[];
@@ -1047,9 +1042,9 @@ declare module "sap/ui/unified/Calendar" {
1047
1042
  *
1048
1043
  * There might be some days of the previous month shown, but they can not be focused.
1049
1044
  *
1050
- * @returns JavaScript date object for start date
1045
+ * @returns date instance for start date
1051
1046
  */
1052
- getStartDate(): Date;
1047
+ getStartDate(): Date | UI5Date;
1053
1048
  /**
1054
1049
  * @SINCE 1.38.0
1055
1050
  *
@@ -1289,7 +1284,8 @@ declare module "sap/ui/unified/Calendar" {
1289
1284
  *
1290
1285
  * Sets a new value for property {@link #getInitialFocusedDate initialFocusedDate}.
1291
1286
  *
1292
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
1287
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
1288
+ * calendar.
1293
1289
  *
1294
1290
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1295
1291
  *
@@ -1339,9 +1335,9 @@ declare module "sap/ui/unified/Calendar" {
1339
1335
  */
1340
1336
  setMaxDate(
1341
1337
  /**
1342
- * a JavaScript date
1338
+ * a date instance
1343
1339
  */
1344
- oDate: Date
1340
+ oDate: Date | UI5Date
1345
1341
  ): this;
1346
1342
  /**
1347
1343
  * Sets a minimum date for the calendar.
@@ -1350,9 +1346,9 @@ declare module "sap/ui/unified/Calendar" {
1350
1346
  */
1351
1347
  setMinDate(
1352
1348
  /**
1353
- * a JavaScript date
1349
+ * a date instance
1354
1350
  */
1355
- oDate: Date
1351
+ oDate: Date | UI5Date
1356
1352
  ): this;
1357
1353
  /**
1358
1354
  * @SINCE 1.28.0
@@ -1505,6 +1501,7 @@ declare module "sap/ui/unified/Calendar" {
1505
1501
  sWidth?: CSSSize
1506
1502
  ): this;
1507
1503
  }
1504
+ export default Calendar;
1508
1505
 
1509
1506
  export interface $CalendarSettings extends $ControlSettings {
1510
1507
  /**
@@ -1583,7 +1580,8 @@ declare module "sap/ui/unified/Calendar" {
1583
1580
  /**
1584
1581
  * @SINCE 1.38.0
1585
1582
  *
1586
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
1583
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
1584
+ * object.
1587
1585
  *
1588
1586
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
1589
1587
  * range can not be selected.
@@ -1596,7 +1594,8 @@ declare module "sap/ui/unified/Calendar" {
1596
1594
  /**
1597
1595
  * @SINCE 1.38.0
1598
1596
  *
1599
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
1597
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
1598
+ * object.
1600
1599
  *
1601
1600
  * **Note:** if the date is inside of a month the complete month is displayed, but dates outside the valid
1602
1601
  * range can not be selected.
@@ -1638,14 +1637,15 @@ declare module "sap/ui/unified/Calendar" {
1638
1637
  /**
1639
1638
  * @SINCE 1.111
1640
1639
  *
1641
- * Holds a reference to a JavaScript Date Object to define the initially navigated date in the calendar.
1640
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially navigated date in the
1641
+ * calendar.
1642
1642
  */
1643
1643
  initialFocusedDate?: object | PropertyBindingInfo | `{${string}}`;
1644
1644
 
1645
1645
  /**
1646
1646
  * Dates or date ranges for selected dates.
1647
1647
  *
1648
- * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange}
1648
+ * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange }
1649
1649
  * class.
1650
1650
  */
1651
1651
  selectedDates?:
@@ -1660,7 +1660,7 @@ declare module "sap/ui/unified/Calendar" {
1660
1660
  * Dates or date ranges with type, to visualize special days in the `Calendar`. If one day is assigned to
1661
1661
  * more than one Type, only the first one will be used.
1662
1662
  *
1663
- * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange}
1663
+ * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange }
1664
1664
  * class.
1665
1665
  *
1666
1666
  * **Note:** Keep in mind that the `NonWorking` type is for marking specific dates or date ranges as non-working,
@@ -1678,7 +1678,7 @@ declare module "sap/ui/unified/Calendar" {
1678
1678
  *
1679
1679
  * Dates or date ranges for disabled dates.
1680
1680
  *
1681
- * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange}
1681
+ * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange }
1682
1682
  * class.
1683
1683
  */
1684
1684
  disabledDates?:
@@ -1732,7 +1732,27 @@ declare module "sap/ui/unified/Calendar" {
1732
1732
  *
1733
1733
  * **Note** Works for Gregorian calendars only and when `intervalSelection` is set to 'true'.
1734
1734
  */
1735
- weekNumberSelect?: (oEvent: Event) => void;
1735
+ weekNumberSelect?: (
1736
+ oEvent: Event<$CalendarWeekNumberSelectEventParameters>
1737
+ ) => void;
1738
+ }
1739
+
1740
+ export interface $CalendarCancelEventParameters {}
1741
+
1742
+ export interface $CalendarSelectEventParameters {}
1743
+
1744
+ export interface $CalendarStartDateChangeEventParameters {}
1745
+
1746
+ export interface $CalendarWeekNumberSelectEventParameters {
1747
+ /**
1748
+ * The selected week number.
1749
+ */
1750
+ weekNumber?: int;
1751
+
1752
+ /**
1753
+ * The days of the corresponding week that are selected or deselected.
1754
+ */
1755
+ weekDays?: DateRange;
1736
1756
  }
1737
1757
  }
1738
1758
 
@@ -1742,6 +1762,8 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1742
1762
  $MonthSettings,
1743
1763
  } from "sap/ui/unified/calendar/Month";
1744
1764
 
1765
+ import UI5Date from "sap/ui/core/date/UI5Date";
1766
+
1745
1767
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
1746
1768
 
1747
1769
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -1755,7 +1777,7 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1755
1777
  * If used inside the calendar the properties and aggregation are directly taken from the parent (To not
1756
1778
  * duplicate and sync DateRanges and so on...)
1757
1779
  */
1758
- export default class DatesRow extends Month {
1780
+ class DatesRow extends Month {
1759
1781
  /**
1760
1782
  * Constructor for a new calendar/DatesRow.
1761
1783
  *
@@ -1826,9 +1848,9 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1826
1848
  */
1827
1849
  displayDate(
1828
1850
  /**
1829
- * JavaScript date object for focused date.
1851
+ * date instance for focused date.
1830
1852
  */
1831
- oDate: Date
1853
+ oDate: Date | UI5Date
1832
1854
  ): this;
1833
1855
  /**
1834
1856
  * @SINCE 1.110.0
@@ -1908,9 +1930,9 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1908
1930
  */
1909
1931
  setDate(
1910
1932
  /**
1911
- * JavaScript date object for start date.
1933
+ * date instance for start date.
1912
1934
  */
1913
- oDate: Date
1935
+ oDate: Date | UI5Date
1914
1936
  ): this;
1915
1937
  /**
1916
1938
  * Sets a new value for property {@link #getDays days}.
@@ -1956,11 +1978,12 @@ declare module "sap/ui/unified/calendar/DatesRow" {
1956
1978
  */
1957
1979
  setStartDate(
1958
1980
  /**
1959
- * A JavaScript date
1981
+ * A date instance
1960
1982
  */
1961
- oStartDate: Date
1983
+ oStartDate: Date | UI5Date
1962
1984
  ): this;
1963
1985
  }
1986
+ export default DatesRow;
1964
1987
 
1965
1988
  export interface $DatesRowSettings extends $MonthSettings {
1966
1989
  /**
@@ -2017,7 +2040,7 @@ declare module "sap/ui/unified/calendar/Header" {
2017
2040
  *
2018
2041
  * **Note:** This is used inside the calendar. Not for standalone usage
2019
2042
  */
2020
- export default class Header extends Control {
2043
+ class Header extends Control {
2021
2044
  /**
2022
2045
  * Constructor for a new Header.
2023
2046
  *
@@ -2949,6 +2972,7 @@ declare module "sap/ui/unified/calendar/Header" {
2949
2972
  bVisibleCurrentDateButton?: boolean
2950
2973
  ): this;
2951
2974
  }
2975
+ export default Header;
2952
2976
 
2953
2977
  export interface $HeaderSettings extends $ControlSettings {
2954
2978
  /**
@@ -3078,6 +3102,18 @@ declare module "sap/ui/unified/calendar/Header" {
3078
3102
  */
3079
3103
  pressButton2?: (oEvent: Event) => void;
3080
3104
  }
3105
+
3106
+ export interface $HeaderPressButton0EventParameters {}
3107
+
3108
+ export interface $HeaderPressButton1EventParameters {}
3109
+
3110
+ export interface $HeaderPressButton2EventParameters {}
3111
+
3112
+ export interface $HeaderPressCurrentDateEventParameters {}
3113
+
3114
+ export interface $HeaderPressNextEventParameters {}
3115
+
3116
+ export interface $HeaderPressPreviousEventParameters {}
3081
3117
  }
3082
3118
 
3083
3119
  declare module "sap/ui/unified/calendar/Month" {
@@ -3091,6 +3127,8 @@ declare module "sap/ui/unified/calendar/Month" {
3091
3127
 
3092
3128
  import Event from "sap/ui/base/Event";
3093
3129
 
3130
+ import UI5Date from "sap/ui/core/date/UI5Date";
3131
+
3094
3132
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
3095
3133
 
3096
3134
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -3111,7 +3149,7 @@ declare module "sap/ui/unified/calendar/Month" {
3111
3149
  * inside the calendar the properties and aggregation are directly taken from the parent (To not duplicate
3112
3150
  * and sync DateRanges and so on...)
3113
3151
  */
3114
- export default class Month extends Control {
3152
+ class Month extends Control {
3115
3153
  /**
3116
3154
  * Constructor for a new calendar/Month.
3117
3155
  *
@@ -3237,7 +3275,7 @@ declare module "sap/ui/unified/calendar/Month" {
3237
3275
  /**
3238
3276
  * The function to be called when the event occurs
3239
3277
  */
3240
- fnFunction: (p1: Event) => void,
3278
+ fnFunction: (p1: Event<$MonthFocusEventParameters>) => void,
3241
3279
  /**
3242
3280
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
3243
3281
  */
@@ -3257,7 +3295,7 @@ declare module "sap/ui/unified/calendar/Month" {
3257
3295
  /**
3258
3296
  * The function to be called when the event occurs
3259
3297
  */
3260
- fnFunction: (p1: Event) => void,
3298
+ fnFunction: (p1: Event<$MonthFocusEventParameters>) => void,
3261
3299
  /**
3262
3300
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
3263
3301
  */
@@ -3335,7 +3373,7 @@ declare module "sap/ui/unified/calendar/Month" {
3335
3373
  /**
3336
3374
  * The function to be called when the event occurs
3337
3375
  */
3338
- fnFunction: (p1: Event) => void,
3376
+ fnFunction: (p1: Event<$MonthWeekNumberSelectEventParameters>) => void,
3339
3377
  /**
3340
3378
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
3341
3379
  */
@@ -3363,7 +3401,7 @@ declare module "sap/ui/unified/calendar/Month" {
3363
3401
  /**
3364
3402
  * The function to be called when the event occurs
3365
3403
  */
3366
- fnFunction: (p1: Event) => void,
3404
+ fnFunction: (p1: Event<$MonthWeekNumberSelectEventParameters>) => void,
3367
3405
  /**
3368
3406
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
3369
3407
  */
@@ -3377,9 +3415,9 @@ declare module "sap/ui/unified/calendar/Month" {
3377
3415
  */
3378
3416
  checkDateFocusable(
3379
3417
  /**
3380
- * JavaScript date object for focused date
3418
+ * date instance for focused date
3381
3419
  */
3382
- oDate: Date
3420
+ oDate: Date | UI5Date
3383
3421
  ): boolean;
3384
3422
  /**
3385
3423
  * @SINCE 1.38.0
@@ -3412,7 +3450,7 @@ declare module "sap/ui/unified/calendar/Month" {
3412
3450
  /**
3413
3451
  * The function to be called, when the event occurs
3414
3452
  */
3415
- fnFunction: (p1: Event) => void,
3453
+ fnFunction: (p1: Event<$MonthFocusEventParameters>) => void,
3416
3454
  /**
3417
3455
  * Context object on which the given function had to be called
3418
3456
  */
@@ -3449,7 +3487,7 @@ declare module "sap/ui/unified/calendar/Month" {
3449
3487
  /**
3450
3488
  * The function to be called, when the event occurs
3451
3489
  */
3452
- fnFunction: (p1: Event) => void,
3490
+ fnFunction: (p1: Event<$MonthWeekNumberSelectEventParameters>) => void,
3453
3491
  /**
3454
3492
  * Context object on which the given function had to be called
3455
3493
  */
@@ -3462,9 +3500,9 @@ declare module "sap/ui/unified/calendar/Month" {
3462
3500
  */
3463
3501
  displayDate(
3464
3502
  /**
3465
- * JavaScript date object for focused date
3503
+ * date instance for focused date
3466
3504
  */
3467
- oDate: Date
3505
+ oDate: Date | UI5Date
3468
3506
  ): this;
3469
3507
  /**
3470
3508
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -3477,20 +3515,7 @@ declare module "sap/ui/unified/calendar/Month" {
3477
3515
  /**
3478
3516
  * Parameters to pass along with the event
3479
3517
  */
3480
- mParameters?: {
3481
- /**
3482
- * focused date
3483
- */
3484
- date?: object;
3485
- /**
3486
- * focused date is in an other month than the displayed one
3487
- */
3488
- otherMonth?: boolean;
3489
- /**
3490
- * focused date is set to the same as before (date in other month clicked)
3491
- */
3492
- restoreOldDate?: boolean;
3493
- }
3518
+ mParameters?: $MonthFocusEventParameters
3494
3519
  ): this;
3495
3520
  /**
3496
3521
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -3520,22 +3545,10 @@ declare module "sap/ui/unified/calendar/Month" {
3520
3545
  /**
3521
3546
  * Parameters to pass along with the event
3522
3547
  */
3523
- mParameters?: {
3524
- /**
3525
- * The selected week number.
3526
- */
3527
- weekNumber?: int;
3528
- /**
3529
- * The days of the corresponding week that are selected or deselected.
3530
- *
3531
- * **Note:** Will be set to `null` if that week is being deselected.
3532
- */
3533
- weekDays?: DateRange;
3534
- }
3548
+ mParameters?: $MonthWeekNumberSelectEventParameters
3535
3549
  ): boolean;
3536
3550
  /**
3537
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
3538
- * ariaLabelledBy}.
3551
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
3539
3552
  */
3540
3553
  getAriaLabelledBy(): ID[];
3541
3554
  /**
@@ -3554,8 +3567,8 @@ declare module "sap/ui/unified/calendar/Month" {
3554
3567
  /**
3555
3568
  * Gets current value of property {@link #getDate date}.
3556
3569
  *
3557
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
3558
- * initially (if no other focus is set).
3570
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
3571
+ * is focused initially (if no other focus is set).
3559
3572
  *
3560
3573
  * @returns Value of property `date`
3561
3574
  */
@@ -3888,9 +3901,9 @@ declare module "sap/ui/unified/calendar/Month" {
3888
3901
  */
3889
3902
  setDate(
3890
3903
  /**
3891
- * a JavaScript date
3904
+ * a date instance
3892
3905
  */
3893
- oDate: Date
3906
+ oDate: Date | UI5Date
3894
3907
  ): this;
3895
3908
  /**
3896
3909
  * @SINCE 1.28.9
@@ -4072,11 +4085,12 @@ declare module "sap/ui/unified/calendar/Month" {
4072
4085
  sWidth?: CSSSize
4073
4086
  ): this;
4074
4087
  }
4088
+ export default Month;
4075
4089
 
4076
4090
  export interface $MonthSettings extends $ControlSettings {
4077
4091
  /**
4078
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
4079
- * initially (if no other focus is set).
4092
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
4093
+ * is focused initially (if no other focus is set).
4080
4094
  */
4081
4095
  date?: object | PropertyBindingInfo | `{${string}}`;
4082
4096
 
@@ -4217,7 +4231,7 @@ declare module "sap/ui/unified/calendar/Month" {
4217
4231
  /**
4218
4232
  * Date focus changed
4219
4233
  */
4220
- focus?: (oEvent: Event) => void;
4234
+ focus?: (oEvent: Event<$MonthFocusEventParameters>) => void;
4221
4235
 
4222
4236
  /**
4223
4237
  * @SINCE 1.60
@@ -4229,7 +4243,42 @@ declare module "sap/ui/unified/calendar/Month" {
4229
4243
  *
4230
4244
  * **Note:** Works for Gregorian calendars only and when `intervalSelection` is set to `true`.
4231
4245
  */
4232
- weekNumberSelect?: (oEvent: Event) => void;
4246
+ weekNumberSelect?: (
4247
+ oEvent: Event<$MonthWeekNumberSelectEventParameters>
4248
+ ) => void;
4249
+ }
4250
+
4251
+ export interface $MonthFocusEventParameters {
4252
+ /**
4253
+ * focused date
4254
+ */
4255
+ date?: object;
4256
+
4257
+ /**
4258
+ * focused date is in an other month than the displayed one
4259
+ */
4260
+ otherMonth?: boolean;
4261
+
4262
+ /**
4263
+ * focused date is set to the same as before (date in other month clicked)
4264
+ */
4265
+ restoreOldDate?: boolean;
4266
+ }
4267
+
4268
+ export interface $MonthSelectEventParameters {}
4269
+
4270
+ export interface $MonthWeekNumberSelectEventParameters {
4271
+ /**
4272
+ * The selected week number.
4273
+ */
4274
+ weekNumber?: int;
4275
+
4276
+ /**
4277
+ * The days of the corresponding week that are selected or deselected.
4278
+ *
4279
+ * **Note:** Will be set to `null` if that week is being deselected.
4280
+ */
4281
+ weekDays?: DateRange;
4233
4282
  }
4234
4283
  }
4235
4284
 
@@ -4256,7 +4305,7 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
4256
4305
  *
4257
4306
  * renders a MonthPicker with ItemNavigation This is used inside the calendar. Not for stand alone usage
4258
4307
  */
4259
- export default class MonthPicker extends Control {
4308
+ class MonthPicker extends Control {
4260
4309
  /**
4261
4310
  * Constructor for a new MonthPicker.
4262
4311
  *
@@ -4517,8 +4566,7 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
4517
4566
  /**
4518
4567
  * @SINCE 1.92
4519
4568
  *
4520
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
4521
- * ariaLabelledBy}.
4569
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
4522
4570
  */
4523
4571
  getAriaLabelledBy(): ID[];
4524
4572
  /**
@@ -4814,6 +4862,7 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
4814
4862
  sSecondaryCalendarType: CalendarType | keyof typeof CalendarType
4815
4863
  ): this;
4816
4864
  }
4865
+ export default MonthPicker;
4817
4866
 
4818
4867
  export interface $MonthPickerSettings extends $ControlSettings {
4819
4868
  /**
@@ -4896,6 +4945,10 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
4896
4945
  */
4897
4946
  pageChange?: (oEvent: Event) => void;
4898
4947
  }
4948
+
4949
+ export interface $MonthPickerPageChangeEventParameters {}
4950
+
4951
+ export interface $MonthPickerSelectEventParameters {}
4899
4952
  }
4900
4953
 
4901
4954
  declare module "sap/ui/unified/calendar/MonthsRow" {
@@ -4909,6 +4962,8 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
4909
4962
 
4910
4963
  import Event from "sap/ui/base/Event";
4911
4964
 
4965
+ import UI5Date from "sap/ui/core/date/UI5Date";
4966
+
4912
4967
  import ElementMetadata from "sap/ui/core/ElementMetadata";
4913
4968
 
4914
4969
  import CalendarType from "sap/ui/core/CalendarType";
@@ -4928,10 +4983,11 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
4928
4983
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
4929
4984
  * and so on...).
4930
4985
  *
4931
- * The MontsRow works with JavaScript Date objects, but only the month and the year are used to display
4932
- * and interact. As representation for a month, the 1st of the month will always be returned in the API.
4986
+ * The MontsRow works with UI5Date or JavaScript Date objects, but only the month and the year are used
4987
+ * to display and interact. As representation for a month, the 1st of the month will always be returned
4988
+ * in the API.
4933
4989
  */
4934
- export default class MonthsRow extends Control {
4990
+ class MonthsRow extends Control {
4935
4991
  /**
4936
4992
  * Constructor for a new `MonthsRow`. It shows a calendar with month granularity
4937
4993
  *
@@ -5048,7 +5104,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5048
5104
  /**
5049
5105
  * The function to be called when the event occurs
5050
5106
  */
5051
- fnFunction: (p1: Event) => void,
5107
+ fnFunction: (p1: Event<$MonthsRowFocusEventParameters>) => void,
5052
5108
  /**
5053
5109
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.MonthsRow` itself
5054
5110
  */
@@ -5068,7 +5124,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5068
5124
  /**
5069
5125
  * The function to be called when the event occurs
5070
5126
  */
5071
- fnFunction: (p1: Event) => void,
5127
+ fnFunction: (p1: Event<$MonthsRowFocusEventParameters>) => void,
5072
5128
  /**
5073
5129
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.MonthsRow` itself
5074
5130
  */
@@ -5127,9 +5183,9 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5127
5183
  */
5128
5184
  checkDateFocusable(
5129
5185
  /**
5130
- * JavaScript Date object for focused date.
5186
+ * date instance for focused date.
5131
5187
  */
5132
- oDateTime: Date
5188
+ oDateTime: Date | UI5Date
5133
5189
  ): boolean;
5134
5190
  /**
5135
5191
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -5154,7 +5210,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5154
5210
  /**
5155
5211
  * The function to be called, when the event occurs
5156
5212
  */
5157
- fnFunction: (p1: Event) => void,
5213
+ fnFunction: (p1: Event<$MonthsRowFocusEventParameters>) => void,
5158
5214
  /**
5159
5215
  * Context object on which the given function had to be called
5160
5216
  */
@@ -5184,9 +5240,9 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5184
5240
  */
5185
5241
  displayDate(
5186
5242
  /**
5187
- * JavaScript Date object for focused date.
5243
+ * date instance for focused date.
5188
5244
  */
5189
- oDate: Date
5245
+ oDate: Date | UI5Date
5190
5246
  ): this;
5191
5247
  /**
5192
5248
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -5199,16 +5255,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5199
5255
  /**
5200
5256
  * Parameters to pass along with the event
5201
5257
  */
5202
- mParameters?: {
5203
- /**
5204
- * First date, as JavaScript Date object, of the month that is focused.
5205
- */
5206
- date?: object;
5207
- /**
5208
- * If set, the focused date is not rendered yet. (This happens by navigating out of the visible area.)
5209
- */
5210
- notVisible?: boolean;
5211
- }
5258
+ mParameters?: $MonthsRowFocusEventParameters
5212
5259
  ): this;
5213
5260
  /**
5214
5261
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -5224,17 +5271,16 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5224
5271
  mParameters?: object
5225
5272
  ): this;
5226
5273
  /**
5227
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
5228
- * ariaLabelledBy}.
5274
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
5229
5275
  */
5230
5276
  getAriaLabelledBy(): ID[];
5231
5277
  /**
5232
5278
  * Gets current value of property {@link #getDate date}.
5233
5279
  *
5234
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
5235
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
5236
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
5237
- * be set to be in the visible range.
5280
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
5281
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
5282
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
5283
+ * date should be set to be in the visible range.
5238
5284
  *
5239
5285
  * @returns Value of property `date`
5240
5286
  */
@@ -5330,8 +5376,8 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5330
5376
  /**
5331
5377
  * Gets current value of property {@link #getStartDate startDate}.
5332
5378
  *
5333
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
5334
- * row.
5379
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
5380
+ * of the displayed row.
5335
5381
  *
5336
5382
  * @returns Value of property `startDate`
5337
5383
  */
@@ -5456,9 +5502,9 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5456
5502
  */
5457
5503
  setDate(
5458
5504
  /**
5459
- * a JavaScript date
5505
+ * a date instance
5460
5506
  */
5461
- oDate: Date
5507
+ oDate: Date | UI5Date
5462
5508
  ): this;
5463
5509
  /**
5464
5510
  * Sets a new value for property {@link #getIntervalSelection intervalSelection}.
@@ -5587,24 +5633,25 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5587
5633
  */
5588
5634
  setStartDate(
5589
5635
  /**
5590
- * A JavaScript date
5636
+ * A date instance
5591
5637
  */
5592
- oStartDate: Date
5638
+ oStartDate: Date | UI5Date
5593
5639
  ): this;
5594
5640
  }
5641
+ export default MonthsRow;
5595
5642
 
5596
5643
  export interface $MonthsRowSettings extends $ControlSettings {
5597
5644
  /**
5598
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
5599
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `months`
5600
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
5601
- * be set to be in the visible range.
5645
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
5646
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
5647
+ * + `months` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
5648
+ * date should be set to be in the visible range.
5602
5649
  */
5603
5650
  date?: object | PropertyBindingInfo | `{${string}}`;
5604
5651
 
5605
5652
  /**
5606
- * Start date, as JavaScript Date object, of the row. The month of this date is the first month of the displayed
5607
- * row.
5653
+ * Start date, as UI5Date or JavaScript Date object, of the row. The month of this date is the first month
5654
+ * of the displayed row.
5608
5655
  */
5609
5656
  startDate?: object | PropertyBindingInfo | `{${string}}`;
5610
5657
 
@@ -5698,8 +5745,22 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
5698
5745
  /**
5699
5746
  * Month focus changed
5700
5747
  */
5701
- focus?: (oEvent: Event) => void;
5748
+ focus?: (oEvent: Event<$MonthsRowFocusEventParameters>) => void;
5702
5749
  }
5750
+
5751
+ export interface $MonthsRowFocusEventParameters {
5752
+ /**
5753
+ * First date, as UI5Date or JavaScript Date object, of the month that is focused.
5754
+ */
5755
+ date?: object;
5756
+
5757
+ /**
5758
+ * If set, the focused date is not rendered yet. (This happens by navigating out of the visible area.)
5759
+ */
5760
+ notVisible?: boolean;
5761
+ }
5762
+
5763
+ export interface $MonthsRowSelectEventParameters {}
5703
5764
  }
5704
5765
 
5705
5766
  declare module "sap/ui/unified/calendar/TimesRow" {
@@ -5713,6 +5774,8 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5713
5774
 
5714
5775
  import Event from "sap/ui/base/Event";
5715
5776
 
5777
+ import UI5Date from "sap/ui/core/date/UI5Date";
5778
+
5716
5779
  import ElementMetadata from "sap/ui/core/ElementMetadata";
5717
5780
 
5718
5781
  import CalendarType from "sap/ui/core/CalendarType";
@@ -5732,9 +5795,9 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5732
5795
  * the properties and aggregation are directly taken from the parent (to not duplicate and synchronize DateRanges
5733
5796
  * and so on...).
5734
5797
  *
5735
- * The TimesRow works with JavaScript Date objects.
5798
+ * The TimesRow works with UI5Date or JavaScript Date objects.
5736
5799
  */
5737
- export default class TimesRow extends Control {
5800
+ class TimesRow extends Control {
5738
5801
  /**
5739
5802
  * Constructor for a new `TimesRow`. It shows a calendar with time granularity (normally hours)
5740
5803
  *
@@ -5851,7 +5914,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5851
5914
  /**
5852
5915
  * The function to be called when the event occurs
5853
5916
  */
5854
- fnFunction: (p1: Event) => void,
5917
+ fnFunction: (p1: Event<$TimesRowFocusEventParameters>) => void,
5855
5918
  /**
5856
5919
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.TimesRow` itself
5857
5920
  */
@@ -5871,7 +5934,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5871
5934
  /**
5872
5935
  * The function to be called when the event occurs
5873
5936
  */
5874
- fnFunction: (p1: Event) => void,
5937
+ fnFunction: (p1: Event<$TimesRowFocusEventParameters>) => void,
5875
5938
  /**
5876
5939
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.TimesRow` itself
5877
5940
  */
@@ -5930,9 +5993,9 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5930
5993
  */
5931
5994
  checkDateFocusable(
5932
5995
  /**
5933
- * JavaScript Date object for focused date.
5996
+ * date instance for focused date.
5934
5997
  */
5935
- oDate: Date
5998
+ oDate: Date | UI5Date
5936
5999
  ): boolean;
5937
6000
  /**
5938
6001
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
@@ -5957,7 +6020,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5957
6020
  /**
5958
6021
  * The function to be called, when the event occurs
5959
6022
  */
5960
- fnFunction: (p1: Event) => void,
6023
+ fnFunction: (p1: Event<$TimesRowFocusEventParameters>) => void,
5961
6024
  /**
5962
6025
  * Context object on which the given function had to be called
5963
6026
  */
@@ -5987,9 +6050,9 @@ declare module "sap/ui/unified/calendar/TimesRow" {
5987
6050
  */
5988
6051
  displayDate(
5989
6052
  /**
5990
- * A JavaScript Date
6053
+ * A date instance
5991
6054
  */
5992
- oDate: Date
6055
+ oDate: Date | UI5Date
5993
6056
  ): this;
5994
6057
  /**
5995
6058
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -6002,16 +6065,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6002
6065
  /**
6003
6066
  * Parameters to pass along with the event
6004
6067
  */
6005
- mParameters?: {
6006
- /**
6007
- * date, as JavaScript Date object, of the focused time.
6008
- */
6009
- date?: object;
6010
- /**
6011
- * If set, the focused date is not rendered yet. (This happens by navigating out of the visible area.)
6012
- */
6013
- notVisible?: boolean;
6014
- }
6068
+ mParameters?: $TimesRowFocusEventParameters
6015
6069
  ): this;
6016
6070
  /**
6017
6071
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -6027,17 +6081,16 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6027
6081
  mParameters?: object
6028
6082
  ): this;
6029
6083
  /**
6030
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
6031
- * ariaLabelledBy}.
6084
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
6032
6085
  */
6033
6086
  getAriaLabelledBy(): ID[];
6034
6087
  /**
6035
6088
  * Gets current value of property {@link #getDate date}.
6036
6089
  *
6037
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
6038
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
6039
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
6040
- * be set to be in the visible range.
6090
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
6091
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
6092
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
6093
+ * date should be set to be in the visible range.
6041
6094
  *
6042
6095
  * @returns Value of property `date`
6043
6096
  */
@@ -6144,7 +6197,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6144
6197
  /**
6145
6198
  * Gets current value of property {@link #getStartDate startDate}.
6146
6199
  *
6147
- * Start date, as JavaScript Date object, of the row.
6200
+ * Start date, as UI5Date or JavaScript Date object, of the row.
6148
6201
  *
6149
6202
  * @returns Value of property `startDate`
6150
6203
  */
@@ -6269,9 +6322,9 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6269
6322
  */
6270
6323
  setDate(
6271
6324
  /**
6272
- * A JavaScript Date
6325
+ * A date instance
6273
6326
  */
6274
- oDate: Date
6327
+ oDate: Date | UI5Date
6275
6328
  ): this;
6276
6329
  /**
6277
6330
  * Sets a new value for property {@link #getIntervalMinutes intervalMinutes}.
@@ -6417,29 +6470,30 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6417
6470
  bSingleSelection?: boolean
6418
6471
  ): this;
6419
6472
  /**
6420
- * Sets start date, as JavaScript Date object, of the row.
6473
+ * Sets start date, as UI5Date or JavaScript Date object, of the row.
6421
6474
  *
6422
6475
  * @returns Reference to `this` for method chaining
6423
6476
  */
6424
6477
  setStartDate(
6425
6478
  /**
6426
- * A JavaScript Date
6479
+ * A date instance
6427
6480
  */
6428
- oStartDate: Date
6481
+ oStartDate: Date | UI5Date
6429
6482
  ): this;
6430
6483
  }
6484
+ export default TimesRow;
6431
6485
 
6432
6486
  export interface $TimesRowSettings extends $ControlSettings {
6433
6487
  /**
6434
- * A date as JavaScript Date object. The month including this date is rendered and this date is focused
6435
- * initially (if no other focus is set). If the date property is not in the range `startDate` + `items`
6436
- * in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the date should
6437
- * be set to be in the visible range.
6488
+ * A date as UI5Date or JavaScript Date object. The month including this date is rendered and this date
6489
+ * is focused initially (if no other focus is set). If the date property is not in the range `startDate`
6490
+ * + `items` in the rendering phase, it is set to the `startDate`. So after setting the `startDate` the
6491
+ * date should be set to be in the visible range.
6438
6492
  */
6439
6493
  date?: object | PropertyBindingInfo | `{${string}}`;
6440
6494
 
6441
6495
  /**
6442
- * Start date, as JavaScript Date object, of the row.
6496
+ * Start date, as UI5Date or JavaScript Date object, of the row.
6443
6497
  */
6444
6498
  startDate?: object | PropertyBindingInfo | `{${string}}`;
6445
6499
 
@@ -6539,8 +6593,22 @@ declare module "sap/ui/unified/calendar/TimesRow" {
6539
6593
  /**
6540
6594
  * Time focus changed
6541
6595
  */
6542
- focus?: (oEvent: Event) => void;
6596
+ focus?: (oEvent: Event<$TimesRowFocusEventParameters>) => void;
6597
+ }
6598
+
6599
+ export interface $TimesRowFocusEventParameters {
6600
+ /**
6601
+ * date, as UI5Date or JavaScript Date object, of the focused time.
6602
+ */
6603
+ date?: object;
6604
+
6605
+ /**
6606
+ * If set, the focused date is not rendered yet. (This happens by navigating out of the visible area.)
6607
+ */
6608
+ notVisible?: boolean;
6543
6609
  }
6610
+
6611
+ export interface $TimesRowSelectEventParameters {}
6544
6612
  }
6545
6613
 
6546
6614
  declare module "sap/ui/unified/calendar/YearPicker" {
@@ -6550,6 +6618,8 @@ declare module "sap/ui/unified/calendar/YearPicker" {
6550
6618
 
6551
6619
  import Event from "sap/ui/base/Event";
6552
6620
 
6621
+ import UI5Date from "sap/ui/core/date/UI5Date";
6622
+
6553
6623
  import ElementMetadata from "sap/ui/core/ElementMetadata";
6554
6624
 
6555
6625
  import CalendarType from "sap/ui/core/CalendarType";
@@ -6566,7 +6636,7 @@ declare module "sap/ui/unified/calendar/YearPicker" {
6566
6636
  * As in all date-time controls, all pubic JS Date objects that are given (e.g. `setDate()`) or read (e.g.
6567
6637
  * `getFirstRenderedDate`) with values which are considered as date objects in browser(local) timezone.
6568
6638
  */
6569
- export default class YearPicker extends Control {
6639
+ class YearPicker extends Control {
6570
6640
  /**
6571
6641
  * Constructor for a new YearPicker.
6572
6642
  *
@@ -6826,8 +6896,8 @@ declare module "sap/ui/unified/calendar/YearPicker" {
6826
6896
  *
6827
6897
  * Gets current value of property {@link #getDate date}.
6828
6898
  *
6829
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
6830
- * is updated with the start date of the selected year (depending on the calendar type).
6899
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
6900
+ * the date is updated with the start date of the selected year (depending on the calendar type).
6831
6901
  *
6832
6902
  * @returns Value of property `date`
6833
6903
  */
@@ -6838,9 +6908,9 @@ declare module "sap/ui/unified/calendar/YearPicker" {
6838
6908
  * Return the first date of the first rendered year **Note:** If the YearPicker is not rendered no date
6839
6909
  * is returned
6840
6910
  *
6841
- * @returns A JavaScript Date
6911
+ * @returns A date instance
6842
6912
  */
6843
- getFirstRenderedDate(): Date;
6913
+ getFirstRenderedDate(): Date | UI5Date;
6844
6914
  /**
6845
6915
  * @SINCE 1.74
6846
6916
  *
@@ -7001,9 +7071,9 @@ declare module "sap/ui/unified/calendar/YearPicker" {
7001
7071
  */
7002
7072
  setDate(
7003
7073
  /**
7004
- * a JavaScript date
7074
+ * a date instance
7005
7075
  */
7006
- oDate: Date
7076
+ oDate: Date | UI5Date
7007
7077
  ): this;
7008
7078
  /**
7009
7079
  * @SINCE 1.74
@@ -7099,6 +7169,7 @@ declare module "sap/ui/unified/calendar/YearPicker" {
7099
7169
  iYears?: int
7100
7170
  ): this;
7101
7171
  }
7172
+ export default YearPicker;
7102
7173
 
7103
7174
  export interface $YearPickerSettings extends $ControlSettings {
7104
7175
  /**
@@ -7132,8 +7203,8 @@ declare module "sap/ui/unified/calendar/YearPicker" {
7132
7203
  /**
7133
7204
  * @SINCE 1.34.0
7134
7205
  *
7135
- * Date as JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected the date
7136
- * is updated with the start date of the selected year (depending on the calendar type).
7206
+ * Date as UI5Date or JavaScript Date object. For this date a `YearPicker` is rendered. If a Year is selected
7207
+ * the date is updated with the start date of the selected year (depending on the calendar type).
7137
7208
  */
7138
7209
  date?: object | PropertyBindingInfo | `{${string}}`;
7139
7210
 
@@ -7182,6 +7253,10 @@ declare module "sap/ui/unified/calendar/YearPicker" {
7182
7253
  */
7183
7254
  pageChange?: (oEvent: Event) => void;
7184
7255
  }
7256
+
7257
+ export interface $YearPickerPageChangeEventParameters {}
7258
+
7259
+ export interface $YearPickerSelectEventParameters {}
7185
7260
  }
7186
7261
 
7187
7262
  declare module "sap/ui/unified/CalendarAppointment" {
@@ -7209,7 +7284,7 @@ declare module "sap/ui/unified/CalendarAppointment" {
7209
7284
  *
7210
7285
  * Applications could inherit from this element to add own fields.
7211
7286
  */
7212
- export default class CalendarAppointment extends DateTypeRange {
7287
+ class CalendarAppointment extends DateTypeRange {
7213
7288
  /**
7214
7289
  * Constructor for a new `CalendarAppointment`.
7215
7290
  *
@@ -7320,9 +7395,9 @@ declare module "sap/ui/unified/CalendarAppointment" {
7320
7395
  *
7321
7396
  * - The `title`, `text`, `description`, and `icon` properties are ignored.
7322
7397
  * - The application developer has to ensure, that all the accessibility requirements are met, and that
7323
- * the height of the content conforms with the height provided by the appointment.
7398
+ * the height of the content conforms with the height provided by the appointment.
7324
7399
  * - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
7325
- * and may lead to unpredictable results.
7400
+ * and may lead to unpredictable results.
7326
7401
  */
7327
7402
  getCustomContent(): Control[];
7328
7403
  /**
@@ -7585,6 +7660,7 @@ declare module "sap/ui/unified/CalendarAppointment" {
7585
7660
  sTitle: string
7586
7661
  ): this;
7587
7662
  }
7663
+ export default CalendarAppointment;
7588
7664
 
7589
7665
  export interface $CalendarAppointmentSettings extends $DateTypeRangeSettings {
7590
7666
  /**
@@ -7646,9 +7722,9 @@ declare module "sap/ui/unified/CalendarAppointment" {
7646
7722
  *
7647
7723
  * - The `title`, `text`, `description`, and `icon` properties are ignored.
7648
7724
  * - The application developer has to ensure, that all the accessibility requirements are met, and that
7649
- * the height of the content conforms with the height provided by the appointment.
7725
+ * the height of the content conforms with the height provided by the appointment.
7650
7726
  * - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
7651
- * and may lead to unpredictable results.
7727
+ * and may lead to unpredictable results.
7652
7728
  */
7653
7729
  customContent?:
7654
7730
  | Control[]
@@ -7666,6 +7742,8 @@ declare module "sap/ui/unified/CalendarDateInterval" {
7666
7742
 
7667
7743
  import ElementMetadata from "sap/ui/core/ElementMetadata";
7668
7744
 
7745
+ import UI5Date from "sap/ui/core/date/UI5Date";
7746
+
7669
7747
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
7670
7748
 
7671
7749
  /**
@@ -7674,7 +7752,7 @@ declare module "sap/ui/unified/CalendarDateInterval" {
7674
7752
  * `CalendarDateInterval` only visualizes the dates in a one-line interval and allows the selection of a
7675
7753
  * single day.
7676
7754
  */
7677
- export default class CalendarDateInterval extends Calendar {
7755
+ class CalendarDateInterval extends Calendar {
7678
7756
  /**
7679
7757
  * Constructor for a new `CalendarDateInterval`.
7680
7758
  *
@@ -7783,9 +7861,9 @@ declare module "sap/ui/unified/CalendarDateInterval" {
7783
7861
  *
7784
7862
  * Start date of the Interval
7785
7863
  *
7786
- * @returns JavaScript date object for property `startDate`
7864
+ * @returns date instance for property `startDate`
7787
7865
  */
7788
- getStartDate(): Date;
7866
+ getStartDate(): Date | UI5Date;
7789
7867
  /**
7790
7868
  * Sets a new value for property {@link #getDays days}.
7791
7869
  *
@@ -7879,11 +7957,12 @@ declare module "sap/ui/unified/CalendarDateInterval" {
7879
7957
  */
7880
7958
  setStartDate(
7881
7959
  /**
7882
- * A JavaScript Date
7960
+ * A date instance
7883
7961
  */
7884
- oStartDate: Date
7962
+ oStartDate: Date | UI5Date
7885
7963
  ): this;
7886
7964
  }
7965
+ export default CalendarDateInterval;
7887
7966
 
7888
7967
  export interface $CalendarDateIntervalSettings extends $CalendarSettings {
7889
7968
  /**
@@ -7949,7 +8028,7 @@ declare module "sap/ui/unified/CalendarLegend" {
7949
8028
  * - [Home], [Page Up] - Move to the first calendar legend item
7950
8029
  * - [End], [Page Down] - Move to the last calendar legend item
7951
8030
  */
7952
- export default class CalendarLegend extends Control {
8031
+ class CalendarLegend extends Control {
7953
8032
  /**
7954
8033
  * Constructor for a new CalendarLegend.
7955
8034
  *
@@ -8144,6 +8223,7 @@ declare module "sap/ui/unified/CalendarLegend" {
8144
8223
  sStandardItems?: string[]
8145
8224
  ): this;
8146
8225
  }
8226
+ export default CalendarLegend;
8147
8227
 
8148
8228
  export interface $CalendarLegendSettings extends $ControlSettings {
8149
8229
  /**
@@ -8187,7 +8267,7 @@ declare module "sap/ui/unified/CalendarLegendItem" {
8187
8267
  *
8188
8268
  * Item to be displayed in a CalendarLegend.
8189
8269
  */
8190
- export default class CalendarLegendItem extends UI5Element {
8270
+ class CalendarLegendItem extends UI5Element {
8191
8271
  /**
8192
8272
  * Constructor for a new CalendarLegendItem.
8193
8273
  *
@@ -8332,6 +8412,7 @@ declare module "sap/ui/unified/CalendarLegendItem" {
8332
8412
  sType?: CalendarDayType | keyof typeof CalendarDayType
8333
8413
  ): this;
8334
8414
  }
8415
+ export default CalendarLegendItem;
8335
8416
 
8336
8417
  export interface $CalendarLegendItemSettings extends $ElementSettings {
8337
8418
  /**
@@ -8370,6 +8451,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8370
8451
 
8371
8452
  import Event from "sap/ui/base/Event";
8372
8453
 
8454
+ import UI5Date from "sap/ui/core/date/UI5Date";
8455
+
8373
8456
  import Calendar from "sap/ui/unified/Calendar";
8374
8457
 
8375
8458
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -8386,11 +8469,11 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8386
8469
  *
8387
8470
  * Calendar with granularity of months displayed in one line.
8388
8471
  *
8389
- * **Note:** JavaScript Date objects are used to set and return the months, mark them as selected or as
8390
- * a special type. But the date part of the Date object is not used. If a Date object is returned the date
8391
- * will be set to the 1st of the corresponding month.
8472
+ * **Note:** UI5Date or JavaScript Date objects are used to set and return the months, mark them as selected
8473
+ * or as a special type. But the date part of the Date object is not used. If a Date object is returned
8474
+ * the date will be set to the 1st of the corresponding month.
8392
8475
  */
8393
- export default class CalendarMonthInterval extends Control {
8476
+ class CalendarMonthInterval extends Control {
8394
8477
  /**
8395
8478
  * Constructor for a new `CalendarMonthInterval`.
8396
8479
  *
@@ -8704,9 +8787,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8704
8787
  */
8705
8788
  displayDate(
8706
8789
  /**
8707
- * JavaScript date object for displayed date. (The month of this date will be displayed.)
8790
+ * date instance for displayed date. (The month of this date will be displayed.)
8708
8791
  */
8709
- oDatetime: Date
8792
+ oDatetime: Date | UI5Date
8710
8793
  ): this;
8711
8794
  /**
8712
8795
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -8755,13 +8838,12 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8755
8838
  */
8756
8839
  focusDate(
8757
8840
  /**
8758
- * JavaScript date object for focused date. (The month of this date will be focused.)
8841
+ * date instance for focused date. (The month of this date will be focused.)
8759
8842
  */
8760
- oDatetime: Date
8843
+ oDatetime: Date | UI5Date
8761
8844
  ): Calendar;
8762
8845
  /**
8763
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
8764
- * ariaLabelledBy}.
8846
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
8765
8847
  */
8766
8848
  getAriaLabelledBy(): ID[];
8767
8849
  /**
@@ -8785,7 +8867,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8785
8867
  *
8786
8868
  * Gets current value of property {@link #getMaxDate maxDate}.
8787
8869
  *
8788
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8870
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8871
+ * object.
8789
8872
  *
8790
8873
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
8791
8874
  * month of the `maxDate`.
@@ -8798,7 +8881,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8798
8881
  *
8799
8882
  * Gets current value of property {@link #getMinDate minDate}.
8800
8883
  *
8801
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
8884
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
8885
+ * object.
8802
8886
  *
8803
8887
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
8804
8888
  * of the `minDate`.
@@ -8865,8 +8949,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
8865
8949
  /**
8866
8950
  * Gets current value of property {@link #getStartDate startDate}.
8867
8951
  *
8868
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
8869
- * in the displayed row.
8952
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
8953
+ * month in the displayed row.
8870
8954
  *
8871
8955
  * @returns Value of property `startDate`
8872
8956
  */
@@ -9030,9 +9114,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9030
9114
  */
9031
9115
  setMaxDate(
9032
9116
  /**
9033
- * A JavaScript Date
9117
+ * A date instance
9034
9118
  */
9035
- oDate?: Date
9119
+ oDate?: Date | UI5Date
9036
9120
  ): this;
9037
9121
  /**
9038
9122
  * Sets a minimum date for the calendar.
@@ -9041,9 +9125,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9041
9125
  */
9042
9126
  setMinDate(
9043
9127
  /**
9044
- * A JavaScript Date
9128
+ * A date instance
9045
9129
  */
9046
- oDate?: Date
9130
+ oDate?: Date | UI5Date
9047
9131
  ): this;
9048
9132
  /**
9049
9133
  * Sets a new value for property {@link #getMonths months}.
@@ -9109,9 +9193,9 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9109
9193
  */
9110
9194
  setStartDate(
9111
9195
  /**
9112
- * A JavaScript date
9196
+ * A date instance
9113
9197
  */
9114
- oStartDate: Date
9198
+ oStartDate: Date | UI5Date
9115
9199
  ): this;
9116
9200
  /**
9117
9201
  * Sets a new value for property {@link #getWidth width}.
@@ -9129,6 +9213,7 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9129
9213
  sWidth?: CSSSize
9130
9214
  ): this;
9131
9215
  }
9216
+ export default CalendarMonthInterval;
9132
9217
 
9133
9218
  export interface $CalendarMonthIntervalSettings extends $ControlSettings {
9134
9219
  /**
@@ -9137,8 +9222,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9137
9222
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
9138
9223
 
9139
9224
  /**
9140
- * Start date of the Interval as JavaScript Date object. The month of this Date will be the first month
9141
- * in the displayed row.
9225
+ * Start date of the Interval as UI5Date or JavaScript Date object. The month of this Date will be the first
9226
+ * month in the displayed row.
9142
9227
  */
9143
9228
  startDate?: object | PropertyBindingInfo | `{${string}}`;
9144
9229
 
@@ -9171,7 +9256,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9171
9256
  /**
9172
9257
  * @SINCE 1.38.0
9173
9258
  *
9174
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
9259
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
9260
+ * object.
9175
9261
  *
9176
9262
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
9177
9263
  * of the `minDate`.
@@ -9181,7 +9267,8 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9181
9267
  /**
9182
9268
  * @SINCE 1.38.0
9183
9269
  *
9184
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
9270
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
9271
+ * object.
9185
9272
  *
9186
9273
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
9187
9274
  * month of the `maxDate`.
@@ -9245,6 +9332,12 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
9245
9332
  */
9246
9333
  startDateChange?: (oEvent: Event) => void;
9247
9334
  }
9335
+
9336
+ export interface $CalendarMonthIntervalCancelEventParameters {}
9337
+
9338
+ export interface $CalendarMonthIntervalSelectEventParameters {}
9339
+
9340
+ export interface $CalendarMonthIntervalStartDateChangeEventParameters {}
9248
9341
  }
9249
9342
 
9250
9343
  declare module "sap/ui/unified/CalendarRow" {
@@ -9256,6 +9349,8 @@ declare module "sap/ui/unified/CalendarRow" {
9256
9349
 
9257
9350
  import Event from "sap/ui/base/Event";
9258
9351
 
9352
+ import UI5Date from "sap/ui/core/date/UI5Date";
9353
+
9259
9354
  import {
9260
9355
  CalendarAppointmentHeight,
9261
9356
  CalendarAppointmentRoundWidth,
@@ -9278,7 +9373,7 @@ declare module "sap/ui/unified/CalendarRow" {
9278
9373
  *
9279
9374
  * A calendar row with a header and appointments. The Appointments will be placed in the defined interval.
9280
9375
  */
9281
- export default class CalendarRow extends Control {
9376
+ class CalendarRow extends Control {
9282
9377
  /**
9283
9378
  * Constructor for a new `CalendarRow`.
9284
9379
  *
@@ -9394,7 +9489,9 @@ declare module "sap/ui/unified/CalendarRow" {
9394
9489
  /**
9395
9490
  * The function to be called when the event occurs
9396
9491
  */
9397
- fnFunction: (p1: Event) => void,
9492
+ fnFunction: (
9493
+ p1: Event<$CalendarRowIntervalSelectEventParameters>
9494
+ ) => void,
9398
9495
  /**
9399
9496
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
9400
9497
  */
@@ -9417,7 +9514,9 @@ declare module "sap/ui/unified/CalendarRow" {
9417
9514
  /**
9418
9515
  * The function to be called when the event occurs
9419
9516
  */
9420
- fnFunction: (p1: Event) => void,
9517
+ fnFunction: (
9518
+ p1: Event<$CalendarRowIntervalSelectEventParameters>
9519
+ ) => void,
9421
9520
  /**
9422
9521
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
9423
9522
  */
@@ -9443,7 +9542,7 @@ declare module "sap/ui/unified/CalendarRow" {
9443
9542
  /**
9444
9543
  * The function to be called when the event occurs
9445
9544
  */
9446
- fnFunction: (p1: Event) => void,
9545
+ fnFunction: (p1: Event<$CalendarRowLeaveRowEventParameters>) => void,
9447
9546
  /**
9448
9547
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
9449
9548
  */
@@ -9464,7 +9563,7 @@ declare module "sap/ui/unified/CalendarRow" {
9464
9563
  /**
9465
9564
  * The function to be called when the event occurs
9466
9565
  */
9467
- fnFunction: (p1: Event) => void,
9566
+ fnFunction: (p1: Event<$CalendarRowLeaveRowEventParameters>) => void,
9468
9567
  /**
9469
9568
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
9470
9569
  */
@@ -9489,7 +9588,7 @@ declare module "sap/ui/unified/CalendarRow" {
9489
9588
  /**
9490
9589
  * The function to be called when the event occurs
9491
9590
  */
9492
- fnFunction: (p1: Event) => void,
9591
+ fnFunction: (p1: Event<$CalendarRowSelectEventParameters>) => void,
9493
9592
  /**
9494
9593
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
9495
9594
  */
@@ -9509,7 +9608,7 @@ declare module "sap/ui/unified/CalendarRow" {
9509
9608
  /**
9510
9609
  * The function to be called when the event occurs
9511
9610
  */
9512
- fnFunction: (p1: Event) => void,
9611
+ fnFunction: (p1: Event<$CalendarRowSelectEventParameters>) => void,
9513
9612
  /**
9514
9613
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
9515
9614
  */
@@ -9588,7 +9687,9 @@ declare module "sap/ui/unified/CalendarRow" {
9588
9687
  /**
9589
9688
  * The function to be called, when the event occurs
9590
9689
  */
9591
- fnFunction: (p1: Event) => void,
9690
+ fnFunction: (
9691
+ p1: Event<$CalendarRowIntervalSelectEventParameters>
9692
+ ) => void,
9592
9693
  /**
9593
9694
  * Context object on which the given function had to be called
9594
9695
  */
@@ -9605,7 +9706,7 @@ declare module "sap/ui/unified/CalendarRow" {
9605
9706
  /**
9606
9707
  * The function to be called, when the event occurs
9607
9708
  */
9608
- fnFunction: (p1: Event) => void,
9709
+ fnFunction: (p1: Event<$CalendarRowLeaveRowEventParameters>) => void,
9609
9710
  /**
9610
9711
  * Context object on which the given function had to be called
9611
9712
  */
@@ -9622,7 +9723,7 @@ declare module "sap/ui/unified/CalendarRow" {
9622
9723
  /**
9623
9724
  * The function to be called, when the event occurs
9624
9725
  */
9625
- fnFunction: (p1: Event) => void,
9726
+ fnFunction: (p1: Event<$CalendarRowSelectEventParameters>) => void,
9626
9727
  /**
9627
9728
  * Context object on which the given function had to be called
9628
9729
  */
@@ -9658,20 +9759,7 @@ declare module "sap/ui/unified/CalendarRow" {
9658
9759
  /**
9659
9760
  * Parameters to pass along with the event
9660
9761
  */
9661
- mParameters?: {
9662
- /**
9663
- * Interval start date as JavaScript date object
9664
- */
9665
- startDate?: object;
9666
- /**
9667
- * Interval end date as JavaScript date object
9668
- */
9669
- endDate?: object;
9670
- /**
9671
- * If set, the selected interval is a subinterval
9672
- */
9673
- subInterval?: boolean;
9674
- }
9762
+ mParameters?: $CalendarRowIntervalSelectEventParameters
9675
9763
  ): this;
9676
9764
  /**
9677
9765
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -9684,12 +9772,7 @@ declare module "sap/ui/unified/CalendarRow" {
9684
9772
  /**
9685
9773
  * Parameters to pass along with the event
9686
9774
  */
9687
- mParameters?: {
9688
- /**
9689
- * The type of the event that triggers this `leaveRow`
9690
- */
9691
- type?: string;
9692
- }
9775
+ mParameters?: $CalendarRowLeaveRowEventParameters
9693
9776
  ): this;
9694
9777
  /**
9695
9778
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -9702,25 +9785,7 @@ declare module "sap/ui/unified/CalendarRow" {
9702
9785
  /**
9703
9786
  * Parameters to pass along with the event
9704
9787
  */
9705
- mParameters?: {
9706
- /**
9707
- * selected appointment
9708
- */
9709
- appointment?: CalendarAppointment;
9710
- /**
9711
- * selected appointments in case a group appointment is selected
9712
- */
9713
- appointments?: CalendarAppointment[];
9714
- /**
9715
- * If set, the appointment was selected by multiple selection (e.g. shift + mouse click). So more than the
9716
- * current appointment could be selected.
9717
- */
9718
- multiSelect?: boolean;
9719
- /**
9720
- * Gives the ID of the DOM element of the clicked appointment
9721
- */
9722
- domRefId?: string;
9723
- }
9788
+ mParameters?: $CalendarRowSelectEventParameters
9724
9789
  ): this;
9725
9790
  /**
9726
9791
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -9753,9 +9818,9 @@ declare module "sap/ui/unified/CalendarRow" {
9753
9818
  */
9754
9819
  focusNearestAppointment(
9755
9820
  /**
9756
- * Javascript Date object.
9821
+ * date instance.
9757
9822
  */
9758
- oDate: Date
9823
+ oDate: Date | UI5Date
9759
9824
  ): this;
9760
9825
  /**
9761
9826
  * @SINCE 1.81.0
@@ -9828,8 +9893,7 @@ declare module "sap/ui/unified/CalendarRow" {
9828
9893
  | CalendarAppointmentVisualization
9829
9894
  | keyof typeof CalendarAppointmentVisualization;
9830
9895
  /**
9831
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
9832
- * ariaLabelledBy}.
9896
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
9833
9897
  */
9834
9898
  getAriaLabelledBy(): ID[];
9835
9899
  /**
@@ -10015,7 +10079,7 @@ declare module "sap/ui/unified/CalendarRow" {
10015
10079
  /**
10016
10080
  * Gets current value of property {@link #getStartDate startDate}.
10017
10081
  *
10018
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
10082
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
10019
10083
  *
10020
10084
  * @returns Value of property `startDate`
10021
10085
  */
@@ -10058,8 +10122,8 @@ declare module "sap/ui/unified/CalendarRow" {
10058
10122
  oEvent: jQuery.Event
10059
10123
  ): this;
10060
10124
  /**
10061
- * Checks for the provided `sap.ui.unified.CalendarAppointment` in the aggregation {@link #getAppointments
10062
- * appointments}. and returns its index if found or -1 otherwise.
10125
+ * Checks for the provided `sap.ui.unified.CalendarAppointment` in the aggregation {@link #getAppointments appointments}.
10126
+ * and returns its index if found or -1 otherwise.
10063
10127
  *
10064
10128
  * @returns The index of the provided control in the aggregation if found, or -1 otherwise
10065
10129
  */
@@ -10070,8 +10134,8 @@ declare module "sap/ui/unified/CalendarRow" {
10070
10134
  oAppointment: CalendarAppointment
10071
10135
  ): int;
10072
10136
  /**
10073
- * Checks for the provided `sap.ui.unified.CalendarAppointment` in the aggregation {@link #getIntervalHeaders
10074
- * intervalHeaders}. and returns its index if found or -1 otherwise.
10137
+ * Checks for the provided `sap.ui.unified.CalendarAppointment` in the aggregation {@link #getIntervalHeaders intervalHeaders}.
10138
+ * and returns its index if found or -1 otherwise.
10075
10139
  *
10076
10140
  * @returns The index of the provided control in the aggregation if found, or -1 otherwise
10077
10141
  */
@@ -10516,9 +10580,9 @@ declare module "sap/ui/unified/CalendarRow" {
10516
10580
  */
10517
10581
  setStartDate(
10518
10582
  /**
10519
- * Start date, as JavaScript Date object, of the row
10583
+ * Start date, as date instance, of the row
10520
10584
  */
10521
- oStartDate?: Date
10585
+ oStartDate?: Date | UI5Date
10522
10586
  ): this;
10523
10587
  /**
10524
10588
  * Sets a new value for property {@link #getUpdateCurrentTime updateCurrentTime}.
@@ -10568,10 +10632,11 @@ declare module "sap/ui/unified/CalendarRow" {
10568
10632
  */
10569
10633
  updateCurrentTimeVisualization(): this;
10570
10634
  }
10635
+ export default CalendarRow;
10571
10636
 
10572
10637
  export interface $CalendarRowSettings extends $ControlSettings {
10573
10638
  /**
10574
- * Start date, as JavaScript Date object, of the row. As default, the current date is used.
10639
+ * Start date, as UI5Date or JavaScript Date object, of the row. As default, the current date is used.
10575
10640
  */
10576
10641
  startDate?: object | PropertyBindingInfo | `{${string}}`;
10577
10642
 
@@ -10788,7 +10853,7 @@ declare module "sap/ui/unified/CalendarRow" {
10788
10853
  /**
10789
10854
  * Fired if an appointment was selected
10790
10855
  */
10791
- select?: (oEvent: Event) => void;
10856
+ select?: (oEvent: Event<$CalendarRowSelectEventParameters>) => void;
10792
10857
 
10793
10858
  /**
10794
10859
  * `startDate` was changed while navigating in `CalendarRow`
@@ -10799,15 +10864,66 @@ declare module "sap/ui/unified/CalendarRow" {
10799
10864
  * The `CalendarRow` should be left while navigating. (Arrow up or arrow down.) The caller should determine
10800
10865
  * the next control to be focused
10801
10866
  */
10802
- leaveRow?: (oEvent: Event) => void;
10867
+ leaveRow?: (oEvent: Event<$CalendarRowLeaveRowEventParameters>) => void;
10803
10868
 
10804
10869
  /**
10805
10870
  * @SINCE 1.38.0
10806
10871
  *
10807
10872
  * Fired if an interval was selected
10808
10873
  */
10809
- intervalSelect?: (oEvent: Event) => void;
10874
+ intervalSelect?: (
10875
+ oEvent: Event<$CalendarRowIntervalSelectEventParameters>
10876
+ ) => void;
10877
+ }
10878
+
10879
+ export interface $CalendarRowIntervalSelectEventParameters {
10880
+ /**
10881
+ * Interval start date as UI5Date or JavaScript Date object
10882
+ */
10883
+ startDate?: object;
10884
+
10885
+ /**
10886
+ * Interval end date as UI5Date or JavaScript Date object
10887
+ */
10888
+ endDate?: object;
10889
+
10890
+ /**
10891
+ * If set, the selected interval is a subinterval
10892
+ */
10893
+ subInterval?: boolean;
10810
10894
  }
10895
+
10896
+ export interface $CalendarRowLeaveRowEventParameters {
10897
+ /**
10898
+ * The type of the event that triggers this `leaveRow`
10899
+ */
10900
+ type?: string;
10901
+ }
10902
+
10903
+ export interface $CalendarRowSelectEventParameters {
10904
+ /**
10905
+ * selected appointment
10906
+ */
10907
+ appointment?: CalendarAppointment;
10908
+
10909
+ /**
10910
+ * selected appointments in case a group appointment is selected
10911
+ */
10912
+ appointments?: CalendarAppointment[];
10913
+
10914
+ /**
10915
+ * If set, the appointment was selected by multiple selection (e.g. shift + mouse click). So more than the
10916
+ * current appointment could be selected.
10917
+ */
10918
+ multiSelect?: boolean;
10919
+
10920
+ /**
10921
+ * Gives the ID of the DOM element of the clicked appointment
10922
+ */
10923
+ domRefId?: string;
10924
+ }
10925
+
10926
+ export interface $CalendarRowStartDateChangeEventParameters {}
10811
10927
  }
10812
10928
 
10813
10929
  declare module "sap/ui/unified/CalendarTimeInterval" {
@@ -10821,6 +10937,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
10821
10937
 
10822
10938
  import Event from "sap/ui/base/Event";
10823
10939
 
10940
+ import UI5Date from "sap/ui/core/date/UI5Date";
10941
+
10824
10942
  import ElementMetadata from "sap/ui/core/ElementMetadata";
10825
10943
 
10826
10944
  import CalendarLegend from "sap/ui/unified/CalendarLegend";
@@ -10835,7 +10953,7 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
10835
10953
  *
10836
10954
  * Calendar with granularity of time items displayed in one line.
10837
10955
  */
10838
- export default class CalendarTimeInterval extends Control {
10956
+ class CalendarTimeInterval extends Control {
10839
10957
  /**
10840
10958
  * Constructor for a new `CalendarTimeInterval`.
10841
10959
  *
@@ -11149,9 +11267,9 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11149
11267
  */
11150
11268
  displayDate(
11151
11269
  /**
11152
- * JavaScript date object for displayed item.
11270
+ * date instance for displayed item.
11153
11271
  */
11154
- oDate: Date
11272
+ oDate: Date | UI5Date
11155
11273
  ): this;
11156
11274
  /**
11157
11275
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -11200,13 +11318,12 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11200
11318
  */
11201
11319
  focusDate(
11202
11320
  /**
11203
- * JavaScript date object for focused item
11321
+ * date instance for focused item
11204
11322
  */
11205
- oDate: Date
11323
+ oDate: Date | UI5Date
11206
11324
  ): this;
11207
11325
  /**
11208
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
11209
- * ariaLabelledBy}.
11326
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
11210
11327
  */
11211
11328
  getAriaLabelledBy(): ID[];
11212
11329
  /**
@@ -11258,7 +11375,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11258
11375
  *
11259
11376
  * Gets current value of property {@link #getMaxDate maxDate}.
11260
11377
  *
11261
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11378
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11379
+ * object.
11262
11380
  *
11263
11381
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
11264
11382
  * month of the `maxDate`.
@@ -11271,7 +11389,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11271
11389
  *
11272
11390
  * Gets current value of property {@link #getMinDate minDate}.
11273
11391
  *
11274
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11392
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11393
+ * object.
11275
11394
  *
11276
11395
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
11277
11396
  * of the `minDate`.
@@ -11321,8 +11440,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11321
11440
  /**
11322
11441
  * Gets current value of property {@link #getStartDate startDate}.
11323
11442
  *
11324
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
11325
- * `items` and `intervalMinutes` will be the first time in the displayed row.
11443
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
11444
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
11326
11445
  *
11327
11446
  * @returns Value of property `startDate`
11328
11447
  */
@@ -11588,9 +11707,9 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11588
11707
  */
11589
11708
  setStartDate(
11590
11709
  /**
11591
- * A JavaScript date
11710
+ * A date instance
11592
11711
  */
11593
- oStartDate: Date
11712
+ oStartDate: Date | UI5Date
11594
11713
  ): this;
11595
11714
  /**
11596
11715
  * Sets a new value for property {@link #getWidth width}.
@@ -11608,6 +11727,7 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11608
11727
  sWidth?: CSSSize
11609
11728
  ): this;
11610
11729
  }
11730
+ export default CalendarTimeInterval;
11611
11731
 
11612
11732
  export interface $CalendarTimeIntervalSettings extends $ControlSettings {
11613
11733
  /**
@@ -11616,8 +11736,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11616
11736
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
11617
11737
 
11618
11738
  /**
11619
- * Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and
11620
- * `items` and `intervalMinutes` will be the first time in the displayed row.
11739
+ * Start date of the Interval as UI5Date or JavaScript Date object. The time interval corresponding to this
11740
+ * Date and `items` and `intervalMinutes` will be the first time in the displayed row.
11621
11741
  */
11622
11742
  startDate?: object | PropertyBindingInfo | `{${string}}`;
11623
11743
 
@@ -11661,7 +11781,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11661
11781
  /**
11662
11782
  * @SINCE 1.38.0
11663
11783
  *
11664
- * Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11784
+ * Minimum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11785
+ * object.
11665
11786
  *
11666
11787
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` is set to the end of the month
11667
11788
  * of the `minDate`.
@@ -11671,7 +11792,8 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11671
11792
  /**
11672
11793
  * @SINCE 1.38.0
11673
11794
  *
11674
- * Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.
11795
+ * Maximum date that can be shown and selected in the Calendar. This must be a UI5Date or JavaScript Date
11796
+ * object.
11675
11797
  *
11676
11798
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `minDate` is set to the begin of the
11677
11799
  * month of the `maxDate`.
@@ -11730,6 +11852,12 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
11730
11852
  */
11731
11853
  startDateChange?: (oEvent: Event) => void;
11732
11854
  }
11855
+
11856
+ export interface $CalendarTimeIntervalCancelEventParameters {}
11857
+
11858
+ export interface $CalendarTimeIntervalSelectEventParameters {}
11859
+
11860
+ export interface $CalendarTimeIntervalStartDateChangeEventParameters {}
11733
11861
  }
11734
11862
 
11735
11863
  declare module "sap/ui/unified/ColorPicker" {
@@ -11754,7 +11882,7 @@ declare module "sap/ui/unified/ColorPicker" {
11754
11882
  * **Note:** Keep in mind that this control needs either `sap.m` or `sap.ui.commons` library to be loaded
11755
11883
  * in order to work as it depends on controls available in one or the other library.
11756
11884
  */
11757
- export default class ColorPicker extends Control {
11885
+ class ColorPicker extends Control {
11758
11886
  /**
11759
11887
  * Constructor for a new `ColorPicker`.
11760
11888
  *
@@ -11838,7 +11966,7 @@ declare module "sap/ui/unified/ColorPicker" {
11838
11966
  /**
11839
11967
  * The function to be called when the event occurs
11840
11968
  */
11841
- fnFunction: (p1: Event) => void,
11969
+ fnFunction: (p1: Event<$ColorPickerChangeEventParameters>) => void,
11842
11970
  /**
11843
11971
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
11844
11972
  */
@@ -11862,7 +11990,7 @@ declare module "sap/ui/unified/ColorPicker" {
11862
11990
  /**
11863
11991
  * The function to be called when the event occurs
11864
11992
  */
11865
- fnFunction: (p1: Event) => void,
11993
+ fnFunction: (p1: Event<$ColorPickerChangeEventParameters>) => void,
11866
11994
  /**
11867
11995
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
11868
11996
  */
@@ -11891,7 +12019,7 @@ declare module "sap/ui/unified/ColorPicker" {
11891
12019
  /**
11892
12020
  * The function to be called when the event occurs
11893
12021
  */
11894
- fnFunction: (p1: Event) => void,
12022
+ fnFunction: (p1: Event<$ColorPickerLiveChangeEventParameters>) => void,
11895
12023
  /**
11896
12024
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
11897
12025
  */
@@ -11915,7 +12043,7 @@ declare module "sap/ui/unified/ColorPicker" {
11915
12043
  /**
11916
12044
  * The function to be called when the event occurs
11917
12045
  */
11918
- fnFunction: (p1: Event) => void,
12046
+ fnFunction: (p1: Event<$ColorPickerLiveChangeEventParameters>) => void,
11919
12047
  /**
11920
12048
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
11921
12049
  */
@@ -11934,7 +12062,7 @@ declare module "sap/ui/unified/ColorPicker" {
11934
12062
  /**
11935
12063
  * The function to be called, when the event occurs
11936
12064
  */
11937
- fnFunction: (p1: Event) => void,
12065
+ fnFunction: (p1: Event<$ColorPickerChangeEventParameters>) => void,
11938
12066
  /**
11939
12067
  * Context object on which the given function had to be called
11940
12068
  */
@@ -11953,7 +12081,7 @@ declare module "sap/ui/unified/ColorPicker" {
11953
12081
  /**
11954
12082
  * The function to be called, when the event occurs
11955
12083
  */
11956
- fnFunction: (p1: Event) => void,
12084
+ fnFunction: (p1: Event<$ColorPickerLiveChangeEventParameters>) => void,
11957
12085
  /**
11958
12086
  * Context object on which the given function had to be called
11959
12087
  */
@@ -11971,44 +12099,7 @@ declare module "sap/ui/unified/ColorPicker" {
11971
12099
  /**
11972
12100
  * Parameters to pass along with the event
11973
12101
  */
11974
- mParameters?: {
11975
- /**
11976
- * Parameter containing the RED value (0-255).
11977
- */
11978
- r?: int;
11979
- /**
11980
- * Parameter containing the GREEN value (0-255).
11981
- */
11982
- g?: int;
11983
- /**
11984
- * Parameter containing the BLUE value (0-255).
11985
- */
11986
- b?: int;
11987
- /**
11988
- * Parameter containing the HUE value (0-360).
11989
- */
11990
- h?: int;
11991
- /**
11992
- * Parameter containing the SATURATION value (0-100).
11993
- */
11994
- s?: int;
11995
- /**
11996
- * Parameter containing the VALUE value (0-100).
11997
- */
11998
- v?: int;
11999
- /**
12000
- * Parameter containing the LIGHTNESS value (0-100).
12001
- */
12002
- l?: int;
12003
- /**
12004
- * Parameter containing the Hexadecimal string (#FFFFFF).
12005
- */
12006
- hex?: string;
12007
- /**
12008
- * Parameter containing the alpha value (transparency).
12009
- */
12010
- alpha?: string;
12011
- }
12102
+ mParameters?: $ColorPickerChangeEventParameters
12012
12103
  ): this;
12013
12104
  /**
12014
12105
  * @SINCE 1.48.0
@@ -12022,44 +12113,7 @@ declare module "sap/ui/unified/ColorPicker" {
12022
12113
  /**
12023
12114
  * Parameters to pass along with the event
12024
12115
  */
12025
- mParameters?: {
12026
- /**
12027
- * Parameter containing the RED value (0-255).
12028
- */
12029
- r?: int;
12030
- /**
12031
- * Parameter containing the GREEN value (0-255).
12032
- */
12033
- g?: int;
12034
- /**
12035
- * Parameter containing the BLUE value (0-255).
12036
- */
12037
- b?: int;
12038
- /**
12039
- * Parameter containing the HUE value (0-360).
12040
- */
12041
- h?: int;
12042
- /**
12043
- * Parameter containing the SATURATION value (0-100).
12044
- */
12045
- s?: int;
12046
- /**
12047
- * Parameter containing the VALUE value (0-100).
12048
- */
12049
- v?: int;
12050
- /**
12051
- * Parameter containing the LIGHTNESS value (0-100).
12052
- */
12053
- l?: int;
12054
- /**
12055
- * Parameter containing the Hexadecimal string (#FFFFFF).
12056
- */
12057
- hex?: string;
12058
- /**
12059
- * Parameter containing the alpha value (transparency).
12060
- */
12061
- alpha?: string;
12062
- }
12116
+ mParameters?: $ColorPickerLiveChangeEventParameters
12063
12117
  ): this;
12064
12118
  /**
12065
12119
  * @SINCE 1.48.0
@@ -12178,6 +12232,7 @@ declare module "sap/ui/unified/ColorPicker" {
12178
12232
  bSuppressInvalidate: boolean
12179
12233
  ): void;
12180
12234
  }
12235
+ export default ColorPicker;
12181
12236
 
12182
12237
  export interface $ColorPickerSettings extends $ControlSettings {
12183
12238
  /**
@@ -12223,7 +12278,7 @@ declare module "sap/ui/unified/ColorPicker" {
12223
12278
  *
12224
12279
  * **Note:** When the user action is mouse dragging, the `change` event fires on the mouseup event.
12225
12280
  */
12226
- change?: (oEvent: Event) => void;
12281
+ change?: (oEvent: Event<$ColorPickerChangeEventParameters>) => void;
12227
12282
 
12228
12283
  /**
12229
12284
  * @SINCE 1.48.0
@@ -12232,7 +12287,101 @@ declare module "sap/ui/unified/ColorPicker" {
12232
12287
  *
12233
12288
  * **Note:** When the user action is mouse move, the `liveChange` event is fired during the mousedown event.
12234
12289
  */
12235
- liveChange?: (oEvent: Event) => void;
12290
+ liveChange?: (oEvent: Event<$ColorPickerLiveChangeEventParameters>) => void;
12291
+ }
12292
+
12293
+ export interface $ColorPickerChangeEventParameters {
12294
+ /**
12295
+ * Parameter containing the RED value (0-255).
12296
+ */
12297
+ r?: int;
12298
+
12299
+ /**
12300
+ * Parameter containing the GREEN value (0-255).
12301
+ */
12302
+ g?: int;
12303
+
12304
+ /**
12305
+ * Parameter containing the BLUE value (0-255).
12306
+ */
12307
+ b?: int;
12308
+
12309
+ /**
12310
+ * Parameter containing the HUE value (0-360).
12311
+ */
12312
+ h?: int;
12313
+
12314
+ /**
12315
+ * Parameter containing the SATURATION value (0-100).
12316
+ */
12317
+ s?: int;
12318
+
12319
+ /**
12320
+ * Parameter containing the VALUE value (0-100).
12321
+ */
12322
+ v?: int;
12323
+
12324
+ /**
12325
+ * Parameter containing the LIGHTNESS value (0-100).
12326
+ */
12327
+ l?: int;
12328
+
12329
+ /**
12330
+ * Parameter containing the Hexadecimal string (#FFFFFF).
12331
+ */
12332
+ hex?: string;
12333
+
12334
+ /**
12335
+ * Parameter containing the alpha value (transparency).
12336
+ */
12337
+ alpha?: string;
12338
+ }
12339
+
12340
+ export interface $ColorPickerLiveChangeEventParameters {
12341
+ /**
12342
+ * Parameter containing the RED value (0-255).
12343
+ */
12344
+ r?: int;
12345
+
12346
+ /**
12347
+ * Parameter containing the GREEN value (0-255).
12348
+ */
12349
+ g?: int;
12350
+
12351
+ /**
12352
+ * Parameter containing the BLUE value (0-255).
12353
+ */
12354
+ b?: int;
12355
+
12356
+ /**
12357
+ * Parameter containing the HUE value (0-360).
12358
+ */
12359
+ h?: int;
12360
+
12361
+ /**
12362
+ * Parameter containing the SATURATION value (0-100).
12363
+ */
12364
+ s?: int;
12365
+
12366
+ /**
12367
+ * Parameter containing the VALUE value (0-100).
12368
+ */
12369
+ v?: int;
12370
+
12371
+ /**
12372
+ * Parameter containing the LIGHTNESS value (0-100).
12373
+ */
12374
+ l?: int;
12375
+
12376
+ /**
12377
+ * Parameter containing the Hexadecimal string (#FFFFFF).
12378
+ */
12379
+ hex?: string;
12380
+
12381
+ /**
12382
+ * Parameter containing the alpha value (transparency).
12383
+ */
12384
+ alpha?: string;
12236
12385
  }
12237
12386
  }
12238
12387
 
@@ -12277,7 +12426,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12277
12426
  *
12278
12427
  * A thin wrapper over {@link sap.ui.unified.ColorPicker} allowing the latter to be used in a popover.
12279
12428
  */
12280
- export default class ColorPickerPopover extends Control {
12429
+ class ColorPickerPopover extends Control {
12281
12430
  /**
12282
12431
  * Constructor for a new `ColorPickerPopover`.
12283
12432
  *
@@ -12359,7 +12508,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12359
12508
  /**
12360
12509
  * The function to be called when the event occurs
12361
12510
  */
12362
- fnFunction: (p1: Event) => void,
12511
+ fnFunction: (p1: Event<$ColorPickerPopoverChangeEventParameters>) => void,
12363
12512
  /**
12364
12513
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
12365
12514
  */
@@ -12381,7 +12530,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12381
12530
  /**
12382
12531
  * The function to be called when the event occurs
12383
12532
  */
12384
- fnFunction: (p1: Event) => void,
12533
+ fnFunction: (p1: Event<$ColorPickerPopoverChangeEventParameters>) => void,
12385
12534
  /**
12386
12535
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
12387
12536
  */
@@ -12408,7 +12557,9 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12408
12557
  /**
12409
12558
  * The function to be called when the event occurs
12410
12559
  */
12411
- fnFunction: (p1: Event) => void,
12560
+ fnFunction: (
12561
+ p1: Event<$ColorPickerPopoverLiveChangeEventParameters>
12562
+ ) => void,
12412
12563
  /**
12413
12564
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
12414
12565
  */
@@ -12430,7 +12581,9 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12430
12581
  /**
12431
12582
  * The function to be called when the event occurs
12432
12583
  */
12433
- fnFunction: (p1: Event) => void,
12584
+ fnFunction: (
12585
+ p1: Event<$ColorPickerPopoverLiveChangeEventParameters>
12586
+ ) => void,
12434
12587
  /**
12435
12588
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
12436
12589
  */
@@ -12453,7 +12606,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12453
12606
  /**
12454
12607
  * The function to be called, when the event occurs
12455
12608
  */
12456
- fnFunction: (p1: Event) => void,
12609
+ fnFunction: (p1: Event<$ColorPickerPopoverChangeEventParameters>) => void,
12457
12610
  /**
12458
12611
  * Context object on which the given function had to be called
12459
12612
  */
@@ -12472,7 +12625,9 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12472
12625
  /**
12473
12626
  * The function to be called, when the event occurs
12474
12627
  */
12475
- fnFunction: (p1: Event) => void,
12628
+ fnFunction: (
12629
+ p1: Event<$ColorPickerPopoverLiveChangeEventParameters>
12630
+ ) => void,
12476
12631
  /**
12477
12632
  * Context object on which the given function had to be called
12478
12633
  */
@@ -12490,44 +12645,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12490
12645
  /**
12491
12646
  * Parameters to pass along with the event
12492
12647
  */
12493
- mParameters?: {
12494
- /**
12495
- * Parameter containing the RED value (0-255).
12496
- */
12497
- r?: int;
12498
- /**
12499
- * Parameter containing the GREEN value (0-255).
12500
- */
12501
- g?: int;
12502
- /**
12503
- * Parameter containing the BLUE value (0-255).
12504
- */
12505
- b?: int;
12506
- /**
12507
- * Parameter containing the HUE value (0-360).
12508
- */
12509
- h?: int;
12510
- /**
12511
- * Parameter containing the SATURATION value (0-100).
12512
- */
12513
- s?: int;
12514
- /**
12515
- * Parameter containing the VALUE value (0-100).
12516
- */
12517
- v?: int;
12518
- /**
12519
- * Parameter containing the LIGHTNESS value (0-100).
12520
- */
12521
- l?: int;
12522
- /**
12523
- * Parameter containing the Hexadecimal string (#FFFFFF).
12524
- */
12525
- hex?: string;
12526
- /**
12527
- * Parameter containing the alpha value (transparency).
12528
- */
12529
- alpha?: string;
12530
- }
12648
+ mParameters?: $ColorPickerPopoverChangeEventParameters
12531
12649
  ): this;
12532
12650
  /**
12533
12651
  * @SINCE 1.85
@@ -12541,44 +12659,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12541
12659
  /**
12542
12660
  * Parameters to pass along with the event
12543
12661
  */
12544
- mParameters?: {
12545
- /**
12546
- * Parameter containing the RED value (0-255).
12547
- */
12548
- r?: int;
12549
- /**
12550
- * Parameter containing the GREEN value (0-255).
12551
- */
12552
- g?: int;
12553
- /**
12554
- * Parameter containing the BLUE value (0-255).
12555
- */
12556
- b?: int;
12557
- /**
12558
- * Parameter containing the HUE value (0-360).
12559
- */
12560
- h?: int;
12561
- /**
12562
- * Parameter containing the SATURATION value (0-100).
12563
- */
12564
- s?: int;
12565
- /**
12566
- * Parameter containing the VALUE value (0-100).
12567
- */
12568
- v?: int;
12569
- /**
12570
- * Parameter containing the LIGHTNESS value (0-100).
12571
- */
12572
- l?: int;
12573
- /**
12574
- * Parameter containing the Hexadecimal string (#FFFFFF).
12575
- */
12576
- hex?: string;
12577
- /**
12578
- * Parameter containing the alpha value (transparency).
12579
- */
12580
- alpha?: string;
12581
- }
12662
+ mParameters?: $ColorPickerPopoverLiveChangeEventParameters
12582
12663
  ): this;
12583
12664
  /**
12584
12665
  * @SINCE 1.60.0
@@ -12698,6 +12779,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12698
12779
  sMode?: ColorPickerMode | keyof typeof ColorPickerMode
12699
12780
  ): this;
12700
12781
  }
12782
+ export default ColorPickerPopover;
12701
12783
 
12702
12784
  export interface $ColorPickerPopoverSettings extends $ControlSettings {
12703
12785
  /**
@@ -12737,14 +12819,110 @@ declare module "sap/ui/unified/ColorPickerPopover" {
12737
12819
  *
12738
12820
  * Fired when the submit button of the popover is clicked.
12739
12821
  */
12740
- change?: (oEvent: Event) => void;
12822
+ change?: (oEvent: Event<$ColorPickerPopoverChangeEventParameters>) => void;
12741
12823
 
12742
12824
  /**
12743
12825
  * @SINCE 1.85
12744
12826
  *
12745
12827
  * Fired when the value is changed by user interaction in the internal ColorPicker
12746
12828
  */
12747
- liveChange?: (oEvent: Event) => void;
12829
+ liveChange?: (
12830
+ oEvent: Event<$ColorPickerPopoverLiveChangeEventParameters>
12831
+ ) => void;
12832
+ }
12833
+
12834
+ export interface $ColorPickerPopoverChangeEventParameters {
12835
+ /**
12836
+ * Parameter containing the RED value (0-255).
12837
+ */
12838
+ r?: int;
12839
+
12840
+ /**
12841
+ * Parameter containing the GREEN value (0-255).
12842
+ */
12843
+ g?: int;
12844
+
12845
+ /**
12846
+ * Parameter containing the BLUE value (0-255).
12847
+ */
12848
+ b?: int;
12849
+
12850
+ /**
12851
+ * Parameter containing the HUE value (0-360).
12852
+ */
12853
+ h?: int;
12854
+
12855
+ /**
12856
+ * Parameter containing the SATURATION value (0-100).
12857
+ */
12858
+ s?: int;
12859
+
12860
+ /**
12861
+ * Parameter containing the VALUE value (0-100).
12862
+ */
12863
+ v?: int;
12864
+
12865
+ /**
12866
+ * Parameter containing the LIGHTNESS value (0-100).
12867
+ */
12868
+ l?: int;
12869
+
12870
+ /**
12871
+ * Parameter containing the Hexadecimal string (#FFFFFF).
12872
+ */
12873
+ hex?: string;
12874
+
12875
+ /**
12876
+ * Parameter containing the alpha value (transparency).
12877
+ */
12878
+ alpha?: string;
12879
+ }
12880
+
12881
+ export interface $ColorPickerPopoverLiveChangeEventParameters {
12882
+ /**
12883
+ * Parameter containing the RED value (0-255).
12884
+ */
12885
+ r?: int;
12886
+
12887
+ /**
12888
+ * Parameter containing the GREEN value (0-255).
12889
+ */
12890
+ g?: int;
12891
+
12892
+ /**
12893
+ * Parameter containing the BLUE value (0-255).
12894
+ */
12895
+ b?: int;
12896
+
12897
+ /**
12898
+ * Parameter containing the HUE value (0-360).
12899
+ */
12900
+ h?: int;
12901
+
12902
+ /**
12903
+ * Parameter containing the SATURATION value (0-100).
12904
+ */
12905
+ s?: int;
12906
+
12907
+ /**
12908
+ * Parameter containing the VALUE value (0-100).
12909
+ */
12910
+ v?: int;
12911
+
12912
+ /**
12913
+ * Parameter containing the LIGHTNESS value (0-100).
12914
+ */
12915
+ l?: int;
12916
+
12917
+ /**
12918
+ * Parameter containing the Hexadecimal string (#FFFFFF).
12919
+ */
12920
+ hex?: string;
12921
+
12922
+ /**
12923
+ * Parameter containing the alpha value (transparency).
12924
+ */
12925
+ alpha?: string;
12748
12926
  }
12749
12927
  }
12750
12928
 
@@ -12765,7 +12943,7 @@ declare module "sap/ui/unified/ContentSwitcher" {
12765
12943
  *
12766
12944
  * Switches between two control areas and animates it via CSS transitions
12767
12945
  */
12768
- export default class ContentSwitcher extends Control {
12946
+ class ContentSwitcher extends Control {
12769
12947
  /**
12770
12948
  * Constructor for a new ContentSwitcher.
12771
12949
  *
@@ -13034,6 +13212,7 @@ declare module "sap/ui/unified/ContentSwitcher" {
13034
13212
  */
13035
13213
  switchContent(): void;
13036
13214
  }
13215
+ export default ContentSwitcher;
13037
13216
 
13038
13217
  export interface $ContentSwitcherSettings extends $ControlSettings {
13039
13218
  /**
@@ -13087,13 +13266,13 @@ declare module "sap/ui/unified/Currency" {
13087
13266
  *
13088
13267
  * When to use
13089
13268
  * - To display amounts with different currencies in a vertical layout, such as in a table, list, or form,
13090
- * and it is important that the user is able to compare the amounts.
13269
+ * and it is important that the user is able to compare the amounts.
13091
13270
  *
13092
13271
  * When not to use
13093
13272
  * - To display amounts with the same currency in a table. Use the {@link sap.m.ObjectNumber} instead.
13094
13273
  *
13095
- * - to display a number with a unit of measurement that is not a currency. Use the {@link sap.m.ObjectNumber}
13096
- * instead.
13274
+ * - to display a number with a unit of measurement that is not a currency. Use the {@link sap.m.ObjectNumber }
13275
+ * instead.
13097
13276
  * - To display an amount in a structure other than a list, table, or form.
13098
13277
  *
13099
13278
  * Responsive behavior:
@@ -13102,7 +13281,7 @@ declare module "sap/ui/unified/Currency" {
13102
13281
  * mode. For larger amounts, the unit of measurement wraps to the next line, which makes it difficult to
13103
13282
  * compare the amounts.
13104
13283
  */
13105
- export default class Currency extends Control {
13284
+ class Currency extends Control {
13106
13285
  /**
13107
13286
  * Constructor for a new `Currency`.
13108
13287
  *
@@ -13296,6 +13475,7 @@ declare module "sap/ui/unified/Currency" {
13296
13475
  sStringValue?: string
13297
13476
  ): this;
13298
13477
  }
13478
+ export default Currency;
13299
13479
 
13300
13480
  export interface $CurrencySettings extends $ControlSettings {
13301
13481
  /**
@@ -13351,6 +13531,8 @@ declare module "sap/ui/unified/DateRange" {
13351
13531
 
13352
13532
  import ElementMetadata from "sap/ui/core/ElementMetadata";
13353
13533
 
13534
+ import UI5Date from "sap/ui/core/date/UI5Date";
13535
+
13354
13536
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
13355
13537
 
13356
13538
  /**
@@ -13358,7 +13540,7 @@ declare module "sap/ui/unified/DateRange" {
13358
13540
  *
13359
13541
  * Date range for use in DatePicker
13360
13542
  */
13361
- export default class DateRange extends UI5Element {
13543
+ class DateRange extends UI5Element {
13362
13544
  /**
13363
13545
  * Constructor for a new DateRange.
13364
13546
  *
@@ -13423,7 +13605,7 @@ declare module "sap/ui/unified/DateRange" {
13423
13605
  * Gets current value of property {@link #getEndDate endDate}.
13424
13606
  *
13425
13607
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
13426
- * be a JavaScript date object.
13608
+ * be a UI5Date or JavaScript Date object.
13427
13609
  *
13428
13610
  * @returns Value of property `endDate`
13429
13611
  */
@@ -13431,7 +13613,7 @@ declare module "sap/ui/unified/DateRange" {
13431
13613
  /**
13432
13614
  * Gets current value of property {@link #getStartDate startDate}.
13433
13615
  *
13434
- * Start date for a date range. This must be a JavaScript date object.
13616
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
13435
13617
  *
13436
13618
  * @returns Value of property `startDate`
13437
13619
  */
@@ -13443,9 +13625,9 @@ declare module "sap/ui/unified/DateRange" {
13443
13625
  */
13444
13626
  setEndDate(
13445
13627
  /**
13446
- * A JavaScript date
13628
+ * A date instance
13447
13629
  */
13448
- oDate?: Date,
13630
+ oDate?: Date | UI5Date,
13449
13631
  /**
13450
13632
  * If true, `endDate` is not marked as changed
13451
13633
  */
@@ -13458,25 +13640,26 @@ declare module "sap/ui/unified/DateRange" {
13458
13640
  */
13459
13641
  setStartDate(
13460
13642
  /**
13461
- * A JavaScript date
13643
+ * A date instance
13462
13644
  */
13463
- oDate?: Date,
13645
+ oDate?: Date | UI5Date,
13464
13646
  /**
13465
13647
  * If true, `startDate` is not marked as changed
13466
13648
  */
13467
13649
  bInvalidate?: boolean
13468
13650
  ): this;
13469
13651
  }
13652
+ export default DateRange;
13470
13653
 
13471
13654
  export interface $DateRangeSettings extends $ElementSettings {
13472
13655
  /**
13473
- * Start date for a date range. This must be a JavaScript date object.
13656
+ * Start date for a date range. This must be a UI5Date or JavaScript Date object.
13474
13657
  */
13475
13658
  startDate?: object | PropertyBindingInfo | `{${string}}`;
13476
13659
 
13477
13660
  /**
13478
13661
  * End date for a date range. If empty only a single date is presented by this DateRange element. This must
13479
- * be a JavaScript date object.
13662
+ * be a UI5Date or JavaScript Date object.
13480
13663
  */
13481
13664
  endDate?: object | PropertyBindingInfo | `{${string}}`;
13482
13665
  }
@@ -13501,7 +13684,7 @@ declare module "sap/ui/unified/DateTypeRange" {
13501
13684
  *
13502
13685
  * Date range with calendar day type information. Used to visualize special days in the Calendar.
13503
13686
  */
13504
- export default class DateTypeRange extends DateRange {
13687
+ class DateTypeRange extends DateRange {
13505
13688
  /**
13506
13689
  * Constructor for a new DateTypeRange.
13507
13690
  *
@@ -13654,6 +13837,7 @@ declare module "sap/ui/unified/DateTypeRange" {
13654
13837
  sType?: CalendarDayType | keyof typeof CalendarDayType
13655
13838
  ): this;
13656
13839
  }
13840
+ export default DateTypeRange;
13657
13841
 
13658
13842
  export interface $DateTypeRangeSettings extends $DateRangeSettings {
13659
13843
  /**
@@ -13720,7 +13904,7 @@ declare module "sap/ui/unified/FileUploader" {
13720
13904
  * with explicit calls, adjustable control sizes, text display after uploads, or tooltips containing complete
13721
13905
  * file paths.
13722
13906
  */
13723
- export default class FileUploader
13907
+ class FileUploader
13724
13908
  extends Control
13725
13909
  implements IFormContent, IProcessableBlobs {
13726
13910
  __implements__sap_ui_core_IFormContent: boolean;
@@ -13980,7 +14164,7 @@ declare module "sap/ui/unified/FileUploader" {
13980
14164
  /**
13981
14165
  * The function to be called when the event occurs
13982
14166
  */
13983
- fnFunction: (p1: Event) => void,
14167
+ fnFunction: (p1: Event<$FileUploaderChangeEventParameters>) => void,
13984
14168
  /**
13985
14169
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
13986
14170
  */
@@ -14003,7 +14187,7 @@ declare module "sap/ui/unified/FileUploader" {
14003
14187
  /**
14004
14188
  * The function to be called when the event occurs
14005
14189
  */
14006
- fnFunction: (p1: Event) => void,
14190
+ fnFunction: (p1: Event<$FileUploaderChangeEventParameters>) => void,
14007
14191
  /**
14008
14192
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14009
14193
  */
@@ -14073,7 +14257,7 @@ declare module "sap/ui/unified/FileUploader" {
14073
14257
  /**
14074
14258
  * The function to be called when the event occurs
14075
14259
  */
14076
- fnFunction: (p1: Event) => void,
14260
+ fnFunction: (p1: Event<$FileUploaderFileEmptyEventParameters>) => void,
14077
14261
  /**
14078
14262
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14079
14263
  */
@@ -14093,7 +14277,7 @@ declare module "sap/ui/unified/FileUploader" {
14093
14277
  /**
14094
14278
  * The function to be called when the event occurs
14095
14279
  */
14096
- fnFunction: (p1: Event) => void,
14280
+ fnFunction: (p1: Event<$FileUploaderFileEmptyEventParameters>) => void,
14097
14281
  /**
14098
14282
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14099
14283
  */
@@ -14122,7 +14306,9 @@ declare module "sap/ui/unified/FileUploader" {
14122
14306
  /**
14123
14307
  * The function to be called when the event occurs
14124
14308
  */
14125
- fnFunction: (p1: Event) => void,
14309
+ fnFunction: (
14310
+ p1: Event<$FileUploaderFilenameLengthExceedEventParameters>
14311
+ ) => void,
14126
14312
  /**
14127
14313
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14128
14314
  */
@@ -14146,7 +14332,9 @@ declare module "sap/ui/unified/FileUploader" {
14146
14332
  /**
14147
14333
  * The function to be called when the event occurs
14148
14334
  */
14149
- fnFunction: (p1: Event) => void,
14335
+ fnFunction: (
14336
+ p1: Event<$FileUploaderFilenameLengthExceedEventParameters>
14337
+ ) => void,
14150
14338
  /**
14151
14339
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14152
14340
  */
@@ -14173,7 +14361,9 @@ declare module "sap/ui/unified/FileUploader" {
14173
14361
  /**
14174
14362
  * The function to be called when the event occurs
14175
14363
  */
14176
- fnFunction: (p1: Event) => void,
14364
+ fnFunction: (
14365
+ p1: Event<$FileUploaderFileSizeExceedEventParameters>
14366
+ ) => void,
14177
14367
  /**
14178
14368
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14179
14369
  */
@@ -14195,7 +14385,9 @@ declare module "sap/ui/unified/FileUploader" {
14195
14385
  /**
14196
14386
  * The function to be called when the event occurs
14197
14387
  */
14198
- fnFunction: (p1: Event) => void,
14388
+ fnFunction: (
14389
+ p1: Event<$FileUploaderFileSizeExceedEventParameters>
14390
+ ) => void,
14199
14391
  /**
14200
14392
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14201
14393
  */
@@ -14220,7 +14412,9 @@ declare module "sap/ui/unified/FileUploader" {
14220
14412
  /**
14221
14413
  * The function to be called when the event occurs
14222
14414
  */
14223
- fnFunction: (p1: Event) => void,
14415
+ fnFunction: (
14416
+ p1: Event<$FileUploaderTypeMissmatchEventParameters>
14417
+ ) => void,
14224
14418
  /**
14225
14419
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14226
14420
  */
@@ -14240,7 +14434,9 @@ declare module "sap/ui/unified/FileUploader" {
14240
14434
  /**
14241
14435
  * The function to be called when the event occurs
14242
14436
  */
14243
- fnFunction: (p1: Event) => void,
14437
+ fnFunction: (
14438
+ p1: Event<$FileUploaderTypeMissmatchEventParameters>
14439
+ ) => void,
14244
14440
  /**
14245
14441
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14246
14442
  */
@@ -14270,7 +14466,9 @@ declare module "sap/ui/unified/FileUploader" {
14270
14466
  /**
14271
14467
  * The function to be called when the event occurs
14272
14468
  */
14273
- fnFunction: (p1: Event) => void,
14469
+ fnFunction: (
14470
+ p1: Event<$FileUploaderUploadAbortedEventParameters>
14471
+ ) => void,
14274
14472
  /**
14275
14473
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14276
14474
  */
@@ -14295,7 +14493,9 @@ declare module "sap/ui/unified/FileUploader" {
14295
14493
  /**
14296
14494
  * The function to be called when the event occurs
14297
14495
  */
14298
- fnFunction: (p1: Event) => void,
14496
+ fnFunction: (
14497
+ p1: Event<$FileUploaderUploadAbortedEventParameters>
14498
+ ) => void,
14299
14499
  /**
14300
14500
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14301
14501
  */
@@ -14325,7 +14525,9 @@ declare module "sap/ui/unified/FileUploader" {
14325
14525
  /**
14326
14526
  * The function to be called when the event occurs
14327
14527
  */
14328
- fnFunction: (p1: Event) => void,
14528
+ fnFunction: (
14529
+ p1: Event<$FileUploaderUploadCompleteEventParameters>
14530
+ ) => void,
14329
14531
  /**
14330
14532
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14331
14533
  */
@@ -14350,7 +14552,9 @@ declare module "sap/ui/unified/FileUploader" {
14350
14552
  /**
14351
14553
  * The function to be called when the event occurs
14352
14554
  */
14353
- fnFunction: (p1: Event) => void,
14555
+ fnFunction: (
14556
+ p1: Event<$FileUploaderUploadCompleteEventParameters>
14557
+ ) => void,
14354
14558
  /**
14355
14559
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14356
14560
  */
@@ -14384,7 +14588,9 @@ declare module "sap/ui/unified/FileUploader" {
14384
14588
  /**
14385
14589
  * The function to be called when the event occurs
14386
14590
  */
14387
- fnFunction: (p1: Event) => void,
14591
+ fnFunction: (
14592
+ p1: Event<$FileUploaderUploadProgressEventParameters>
14593
+ ) => void,
14388
14594
  /**
14389
14595
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14390
14596
  */
@@ -14413,7 +14619,9 @@ declare module "sap/ui/unified/FileUploader" {
14413
14619
  /**
14414
14620
  * The function to be called when the event occurs
14415
14621
  */
14416
- fnFunction: (p1: Event) => void,
14622
+ fnFunction: (
14623
+ p1: Event<$FileUploaderUploadProgressEventParameters>
14624
+ ) => void,
14417
14625
  /**
14418
14626
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14419
14627
  */
@@ -14440,7 +14648,7 @@ declare module "sap/ui/unified/FileUploader" {
14440
14648
  /**
14441
14649
  * The function to be called when the event occurs
14442
14650
  */
14443
- fnFunction: (p1: Event) => void,
14651
+ fnFunction: (p1: Event<$FileUploaderUploadStartEventParameters>) => void,
14444
14652
  /**
14445
14653
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14446
14654
  */
@@ -14462,7 +14670,7 @@ declare module "sap/ui/unified/FileUploader" {
14462
14670
  /**
14463
14671
  * The function to be called when the event occurs
14464
14672
  */
14465
- fnFunction: (p1: Event) => void,
14673
+ fnFunction: (p1: Event<$FileUploaderUploadStartEventParameters>) => void,
14466
14674
  /**
14467
14675
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
14468
14676
  */
@@ -14558,7 +14766,7 @@ declare module "sap/ui/unified/FileUploader" {
14558
14766
  /**
14559
14767
  * The function to be called, when the event occurs
14560
14768
  */
14561
- fnFunction: (p1: Event) => void,
14769
+ fnFunction: (p1: Event<$FileUploaderChangeEventParameters>) => void,
14562
14770
  /**
14563
14771
  * Context object on which the given function had to be called
14564
14772
  */
@@ -14592,7 +14800,7 @@ declare module "sap/ui/unified/FileUploader" {
14592
14800
  /**
14593
14801
  * The function to be called, when the event occurs
14594
14802
  */
14595
- fnFunction: (p1: Event) => void,
14803
+ fnFunction: (p1: Event<$FileUploaderFileEmptyEventParameters>) => void,
14596
14804
  /**
14597
14805
  * Context object on which the given function had to be called
14598
14806
  */
@@ -14601,7 +14809,7 @@ declare module "sap/ui/unified/FileUploader" {
14601
14809
  /**
14602
14810
  * @SINCE 1.24.0
14603
14811
  *
14604
- * Detaches event handler `fnFunction` from the {@link #event:filenameLengthExceed filenameLengthExceed}
14812
+ * Detaches event handler `fnFunction` from the {@link #event:filenameLengthExceed filenameLengthExceed }
14605
14813
  * event of this `sap.ui.unified.FileUploader`.
14606
14814
  *
14607
14815
  * The passed function and listener object must match the ones used for event registration.
@@ -14612,7 +14820,9 @@ declare module "sap/ui/unified/FileUploader" {
14612
14820
  /**
14613
14821
  * The function to be called, when the event occurs
14614
14822
  */
14615
- fnFunction: (p1: Event) => void,
14823
+ fnFunction: (
14824
+ p1: Event<$FileUploaderFilenameLengthExceedEventParameters>
14825
+ ) => void,
14616
14826
  /**
14617
14827
  * Context object on which the given function had to be called
14618
14828
  */
@@ -14630,7 +14840,9 @@ declare module "sap/ui/unified/FileUploader" {
14630
14840
  /**
14631
14841
  * The function to be called, when the event occurs
14632
14842
  */
14633
- fnFunction: (p1: Event) => void,
14843
+ fnFunction: (
14844
+ p1: Event<$FileUploaderFileSizeExceedEventParameters>
14845
+ ) => void,
14634
14846
  /**
14635
14847
  * Context object on which the given function had to be called
14636
14848
  */
@@ -14648,7 +14860,9 @@ declare module "sap/ui/unified/FileUploader" {
14648
14860
  /**
14649
14861
  * The function to be called, when the event occurs
14650
14862
  */
14651
- fnFunction: (p1: Event) => void,
14863
+ fnFunction: (
14864
+ p1: Event<$FileUploaderTypeMissmatchEventParameters>
14865
+ ) => void,
14652
14866
  /**
14653
14867
  * Context object on which the given function had to be called
14654
14868
  */
@@ -14668,7 +14882,9 @@ declare module "sap/ui/unified/FileUploader" {
14668
14882
  /**
14669
14883
  * The function to be called, when the event occurs
14670
14884
  */
14671
- fnFunction: (p1: Event) => void,
14885
+ fnFunction: (
14886
+ p1: Event<$FileUploaderUploadAbortedEventParameters>
14887
+ ) => void,
14672
14888
  /**
14673
14889
  * Context object on which the given function had to be called
14674
14890
  */
@@ -14686,7 +14902,9 @@ declare module "sap/ui/unified/FileUploader" {
14686
14902
  /**
14687
14903
  * The function to be called, when the event occurs
14688
14904
  */
14689
- fnFunction: (p1: Event) => void,
14905
+ fnFunction: (
14906
+ p1: Event<$FileUploaderUploadCompleteEventParameters>
14907
+ ) => void,
14690
14908
  /**
14691
14909
  * Context object on which the given function had to be called
14692
14910
  */
@@ -14706,7 +14924,9 @@ declare module "sap/ui/unified/FileUploader" {
14706
14924
  /**
14707
14925
  * The function to be called, when the event occurs
14708
14926
  */
14709
- fnFunction: (p1: Event) => void,
14927
+ fnFunction: (
14928
+ p1: Event<$FileUploaderUploadProgressEventParameters>
14929
+ ) => void,
14710
14930
  /**
14711
14931
  * Context object on which the given function had to be called
14712
14932
  */
@@ -14725,7 +14945,7 @@ declare module "sap/ui/unified/FileUploader" {
14725
14945
  /**
14726
14946
  * The function to be called, when the event occurs
14727
14947
  */
14728
- fnFunction: (p1: Event) => void,
14948
+ fnFunction: (p1: Event<$FileUploaderUploadStartEventParameters>) => void,
14729
14949
  /**
14730
14950
  * Context object on which the given function had to be called
14731
14951
  */
@@ -14770,16 +14990,7 @@ declare module "sap/ui/unified/FileUploader" {
14770
14990
  /**
14771
14991
  * Parameters to pass along with the event
14772
14992
  */
14773
- mParameters?: {
14774
- /**
14775
- * New file path value.
14776
- */
14777
- newValue?: string;
14778
- /**
14779
- * Files.
14780
- */
14781
- files?: object[];
14782
- }
14993
+ mParameters?: $FileUploaderChangeEventParameters
14783
14994
  ): this;
14784
14995
  /**
14785
14996
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -14805,12 +15016,7 @@ declare module "sap/ui/unified/FileUploader" {
14805
15016
  /**
14806
15017
  * Parameters to pass along with the event
14807
15018
  */
14808
- mParameters?: {
14809
- /**
14810
- * The name of the file to be uploaded.
14811
- */
14812
- fileName?: string;
14813
- }
15019
+ mParameters?: $FileUploaderFileEmptyEventParameters
14814
15020
  ): this;
14815
15021
  /**
14816
15022
  * @SINCE 1.24.0
@@ -14824,12 +15030,7 @@ declare module "sap/ui/unified/FileUploader" {
14824
15030
  /**
14825
15031
  * Parameters to pass along with the event
14826
15032
  */
14827
- mParameters?: {
14828
- /**
14829
- * The filename, which is longer than specified by the value of the property `maximumFilenameLength`.
14830
- */
14831
- fileName?: string;
14832
- }
15033
+ mParameters?: $FileUploaderFilenameLengthExceedEventParameters
14833
15034
  ): this;
14834
15035
  /**
14835
15036
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -14842,16 +15043,7 @@ declare module "sap/ui/unified/FileUploader" {
14842
15043
  /**
14843
15044
  * Parameters to pass along with the event
14844
15045
  */
14845
- mParameters?: {
14846
- /**
14847
- * The name of a file to be uploaded.
14848
- */
14849
- fileName?: string;
14850
- /**
14851
- * The size in MB of a file to be uploaded.
14852
- */
14853
- fileSize?: string;
14854
- }
15046
+ mParameters?: $FileUploaderFileSizeExceedEventParameters
14855
15047
  ): this;
14856
15048
  /**
14857
15049
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -14864,20 +15056,7 @@ declare module "sap/ui/unified/FileUploader" {
14864
15056
  /**
14865
15057
  * Parameters to pass along with the event
14866
15058
  */
14867
- mParameters?: {
14868
- /**
14869
- * The name of a file to be uploaded.
14870
- */
14871
- fileName?: string;
14872
- /**
14873
- * The file ending of a file to be uploaded.
14874
- */
14875
- fileType?: string;
14876
- /**
14877
- * The MIME type of a file to be uploaded.
14878
- */
14879
- mimeType?: string;
14880
- }
15059
+ mParameters?: $FileUploaderTypeMissmatchEventParameters
14881
15060
  ): this;
14882
15061
  /**
14883
15062
  * @SINCE 1.24.0
@@ -14891,19 +15070,7 @@ declare module "sap/ui/unified/FileUploader" {
14891
15070
  /**
14892
15071
  * Parameters to pass along with the event
14893
15072
  */
14894
- mParameters?: {
14895
- /**
14896
- * The name of a file to be uploaded.
14897
- */
14898
- fileName?: string;
14899
- /**
14900
- * Http-Request-Headers.
14901
- *
14902
- * Required for receiving `requestHeader` is to set the property `sendXHR` to true. This property is not
14903
- * supported by Internet Explorer 9.
14904
- */
14905
- requestHeaders?: object[];
14906
- }
15073
+ mParameters?: $FileUploaderUploadAbortedEventParameters
14907
15074
  ): this;
14908
15075
  /**
14909
15076
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -14916,59 +15083,7 @@ declare module "sap/ui/unified/FileUploader" {
14916
15083
  /**
14917
15084
  * Parameters to pass along with the event
14918
15085
  */
14919
- mParameters?: {
14920
- /**
14921
- * The name of a file to be uploaded.
14922
- */
14923
- fileName?: string;
14924
- /**
14925
- * Response message which comes from the server.
14926
- *
14927
- * On the server side this response has to be put within the "body" tags of the response document
14928
- * of the iFrame. It can consist of a return code and an optional message. This does not work in cross-domain
14929
- * scenarios.
14930
- */
14931
- response?: string;
14932
- /**
14933
- * ReadyState of the XHR request.
14934
- *
14935
- * Required for receiving a `readyStateXHR` is to set the property `sendXHR` to true. This property is not
14936
- * supported by Internet Explorer 9.
14937
- */
14938
- readyStateXHR?: string;
14939
- /**
14940
- * Status of the XHR request.
14941
- *
14942
- * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
14943
- * by Internet Explorer 9.
14944
- */
14945
- status?: string;
14946
- /**
14947
- * Http-Response which comes from the server.
14948
- *
14949
- * Required for receiving `responseRaw` is to set the property `sendXHR` to true.
14950
- *
14951
- * This property is not supported by Internet Explorer 9.
14952
- */
14953
- responseRaw?: string;
14954
- /**
14955
- * Http-Response-Headers which come from the server.
14956
- *
14957
- * Provided as a JSON-map, i.e. each header-field is reflected by a property in the `headers` object, with
14958
- * the property value reflecting the header-field's content.
14959
- *
14960
- * Required for receiving `headers` is to set the property `sendXHR` to true. This property is not supported
14961
- * by Internet Explorer 9.
14962
- */
14963
- headers?: object;
14964
- /**
14965
- * Http-Request-Headers.
14966
- *
14967
- * Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
14968
- * supported by Internet Explorer 9.
14969
- */
14970
- requestHeaders?: object[];
14971
- }
15086
+ mParameters?: $FileUploaderUploadCompleteEventParameters
14972
15087
  ): this;
14973
15088
  /**
14974
15089
  * @SINCE 1.24.0
@@ -14982,31 +15097,7 @@ declare module "sap/ui/unified/FileUploader" {
14982
15097
  /**
14983
15098
  * Parameters to pass along with the event
14984
15099
  */
14985
- mParameters?: {
14986
- /**
14987
- * Indicates whether or not the relative upload progress can be calculated out of loaded and total.
14988
- */
14989
- lengthComputable?: boolean;
14990
- /**
14991
- * The number of bytes of the file which have been uploaded by the time the event was fired.
14992
- */
14993
- loaded?: float;
14994
- /**
14995
- * The total size of the file to be uploaded in bytes.
14996
- */
14997
- total?: float;
14998
- /**
14999
- * The name of a file to be uploaded.
15000
- */
15001
- fileName?: string;
15002
- /**
15003
- * Http-Request-Headers.
15004
- *
15005
- * Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
15006
- * supported by Internet Explorer 9.
15007
- */
15008
- requestHeaders?: object[];
15009
- }
15100
+ mParameters?: $FileUploaderUploadProgressEventParameters
15010
15101
  ): this;
15011
15102
  /**
15012
15103
  * @SINCE 1.30.0
@@ -15020,19 +15111,7 @@ declare module "sap/ui/unified/FileUploader" {
15020
15111
  /**
15021
15112
  * Parameters to pass along with the event
15022
15113
  */
15023
- mParameters?: {
15024
- /**
15025
- * The name of a file to be uploaded.
15026
- */
15027
- fileName?: string;
15028
- /**
15029
- * Http-Request-Headers.
15030
- *
15031
- * Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
15032
- * supported by Internet Explorer 9.
15033
- */
15034
- requestHeaders?: object[];
15035
- }
15114
+ mParameters?: $FileUploaderUploadStartEventParameters
15036
15115
  ): this;
15037
15116
  /**
15038
15117
  * Gets current value of property {@link #getAdditionalData additionalData}.
@@ -15046,13 +15125,11 @@ declare module "sap/ui/unified/FileUploader" {
15046
15125
  */
15047
15126
  getAdditionalData(): string;
15048
15127
  /**
15049
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
15050
- * ariaDescribedBy}.
15128
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy ariaDescribedBy}.
15051
15129
  */
15052
15130
  getAriaDescribedBy(): ID[];
15053
15131
  /**
15054
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
15055
- * ariaLabelledBy}.
15132
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
15056
15133
  */
15057
15134
  getAriaLabelledBy(): ID[];
15058
15135
  /**
@@ -15421,8 +15498,8 @@ declare module "sap/ui/unified/FileUploader" {
15421
15498
  */
15422
15499
  getXhrSettings(): FileUploaderXHRSettings;
15423
15500
  /**
15424
- * Checks for the provided `sap.ui.unified.FileUploaderParameter` in the aggregation {@link #getHeaderParameters
15425
- * headerParameters}. and returns its index if found or -1 otherwise.
15501
+ * Checks for the provided `sap.ui.unified.FileUploaderParameter` in the aggregation {@link #getHeaderParameters headerParameters}.
15502
+ * and returns its index if found or -1 otherwise.
15426
15503
  *
15427
15504
  * @returns The index of the provided control in the aggregation if found, or -1 otherwise
15428
15505
  */
@@ -15435,8 +15512,8 @@ declare module "sap/ui/unified/FileUploader" {
15435
15512
  /**
15436
15513
  * @SINCE 1.12.2
15437
15514
  *
15438
- * Checks for the provided `sap.ui.unified.FileUploaderParameter` in the aggregation {@link #getParameters
15439
- * parameters}. and returns its index if found or -1 otherwise.
15515
+ * Checks for the provided `sap.ui.unified.FileUploaderParameter` in the aggregation {@link #getParameters parameters}.
15516
+ * and returns its index if found or -1 otherwise.
15440
15517
  *
15441
15518
  * @returns The index of the provided control in the aggregation if found, or -1 otherwise
15442
15519
  */
@@ -16110,6 +16187,7 @@ declare module "sap/ui/unified/FileUploader" {
16110
16187
  bPreProcessFiles?: boolean
16111
16188
  ): void;
16112
16189
  }
16190
+ export default FileUploader;
16113
16191
 
16114
16192
  export interface $FileUploaderSettings extends $ControlSettings {
16115
16193
  /**
@@ -16374,7 +16452,7 @@ declare module "sap/ui/unified/FileUploader" {
16374
16452
  * **Note:** Keep in mind that because of the HTML input element of type file, the event is also fired in
16375
16453
  * Chrome browser when the Cancel button of the uploads window is pressed.
16376
16454
  */
16377
- change?: (oEvent: Event) => void;
16455
+ change?: (oEvent: Event<$FileUploaderChangeEventParameters>) => void;
16378
16456
 
16379
16457
  /**
16380
16458
  * Event is fired as soon as the upload request is completed (either successful or unsuccessful).
@@ -16383,23 +16461,29 @@ declare module "sap/ui/unified/FileUploader" {
16383
16461
  * progress of the upload can be monitored by listening to the `uploadProgress` event. However, this covers
16384
16462
  * only the client side of the upload process and does not give any success status from the server.
16385
16463
  */
16386
- uploadComplete?: (oEvent: Event) => void;
16464
+ uploadComplete?: (
16465
+ oEvent: Event<$FileUploaderUploadCompleteEventParameters>
16466
+ ) => void;
16387
16467
 
16388
16468
  /**
16389
16469
  * Event is fired when the type of a file does not match the `mimeType` or `fileType` property.
16390
16470
  */
16391
- typeMissmatch?: (oEvent: Event) => void;
16471
+ typeMissmatch?: (
16472
+ oEvent: Event<$FileUploaderTypeMissmatchEventParameters>
16473
+ ) => void;
16392
16474
 
16393
16475
  /**
16394
16476
  * Event is fired when the size of a file is above the `maximumFileSize` property. This event is not supported
16395
16477
  * by Internet Explorer 9 (same restriction as for the property `maximumFileSize`).
16396
16478
  */
16397
- fileSizeExceed?: (oEvent: Event) => void;
16479
+ fileSizeExceed?: (
16480
+ oEvent: Event<$FileUploaderFileSizeExceedEventParameters>
16481
+ ) => void;
16398
16482
 
16399
16483
  /**
16400
16484
  * Event is fired when the size of the file is 0
16401
16485
  */
16402
- fileEmpty?: (oEvent: Event) => void;
16486
+ fileEmpty?: (oEvent: Event<$FileUploaderFileEmptyEventParameters>) => void;
16403
16487
 
16404
16488
  /**
16405
16489
  * Event is fired when the file is allowed for upload on client side.
@@ -16417,7 +16501,9 @@ declare module "sap/ui/unified/FileUploader" {
16417
16501
  * This event is only supported with property `sendXHR` set to true, i.e. the event is not supported in
16418
16502
  * Internet Explorer 9.
16419
16503
  */
16420
- uploadProgress?: (oEvent: Event) => void;
16504
+ uploadProgress?: (
16505
+ oEvent: Event<$FileUploaderUploadProgressEventParameters>
16506
+ ) => void;
16421
16507
 
16422
16508
  /**
16423
16509
  * @SINCE 1.24.0
@@ -16427,7 +16513,9 @@ declare module "sap/ui/unified/FileUploader" {
16427
16513
  * This event is only supported with property `sendXHR` set to true, i.e. the event is not supported in
16428
16514
  * Internet Explorer 9.
16429
16515
  */
16430
- uploadAborted?: (oEvent: Event) => void;
16516
+ uploadAborted?: (
16517
+ oEvent: Event<$FileUploaderUploadAbortedEventParameters>
16518
+ ) => void;
16431
16519
 
16432
16520
  /**
16433
16521
  * @SINCE 1.24.0
@@ -16435,14 +16523,18 @@ declare module "sap/ui/unified/FileUploader" {
16435
16523
  * Event is fired, if the filename of a chosen file is longer than the value specified with the `maximumFilenameLength`
16436
16524
  * property.
16437
16525
  */
16438
- filenameLengthExceed?: (oEvent: Event) => void;
16526
+ filenameLengthExceed?: (
16527
+ oEvent: Event<$FileUploaderFilenameLengthExceedEventParameters>
16528
+ ) => void;
16439
16529
 
16440
16530
  /**
16441
16531
  * @SINCE 1.30.0
16442
16532
  *
16443
16533
  * Event is fired before an upload is started.
16444
16534
  */
16445
- uploadStart?: (oEvent: Event) => void;
16535
+ uploadStart?: (
16536
+ oEvent: Event<$FileUploaderUploadStartEventParameters>
16537
+ ) => void;
16446
16538
 
16447
16539
  /**
16448
16540
  * @SINCE 1.102.0
@@ -16458,6 +16550,187 @@ declare module "sap/ui/unified/FileUploader" {
16458
16550
  */
16459
16551
  afterDialogClose?: (oEvent: Event) => void;
16460
16552
  }
16553
+
16554
+ export interface $FileUploaderAfterDialogCloseEventParameters {}
16555
+
16556
+ export interface $FileUploaderBeforeDialogOpenEventParameters {}
16557
+
16558
+ export interface $FileUploaderChangeEventParameters {
16559
+ /**
16560
+ * New file path value.
16561
+ */
16562
+ newValue?: string;
16563
+
16564
+ /**
16565
+ * Files.
16566
+ */
16567
+ files?: object[];
16568
+ }
16569
+
16570
+ export interface $FileUploaderFileAllowedEventParameters {}
16571
+
16572
+ export interface $FileUploaderFileEmptyEventParameters {
16573
+ /**
16574
+ * The name of the file to be uploaded.
16575
+ */
16576
+ fileName?: string;
16577
+ }
16578
+
16579
+ export interface $FileUploaderFilenameLengthExceedEventParameters {
16580
+ /**
16581
+ * The filename, which is longer than specified by the value of the property `maximumFilenameLength`.
16582
+ */
16583
+ fileName?: string;
16584
+ }
16585
+
16586
+ export interface $FileUploaderFileSizeExceedEventParameters {
16587
+ /**
16588
+ * The name of a file to be uploaded.
16589
+ */
16590
+ fileName?: string;
16591
+
16592
+ /**
16593
+ * The size in MB of a file to be uploaded.
16594
+ */
16595
+ fileSize?: string;
16596
+ }
16597
+
16598
+ export interface $FileUploaderTypeMissmatchEventParameters {
16599
+ /**
16600
+ * The name of a file to be uploaded.
16601
+ */
16602
+ fileName?: string;
16603
+
16604
+ /**
16605
+ * The file ending of a file to be uploaded.
16606
+ */
16607
+ fileType?: string;
16608
+
16609
+ /**
16610
+ * The MIME type of a file to be uploaded.
16611
+ */
16612
+ mimeType?: string;
16613
+ }
16614
+
16615
+ export interface $FileUploaderUploadAbortedEventParameters {
16616
+ /**
16617
+ * The name of a file to be uploaded.
16618
+ */
16619
+ fileName?: string;
16620
+
16621
+ /**
16622
+ * Http-Request-Headers.
16623
+ *
16624
+ * Required for receiving `requestHeader` is to set the property `sendXHR` to true. This property is not
16625
+ * supported by Internet Explorer 9.
16626
+ */
16627
+ requestHeaders?: object[];
16628
+ }
16629
+
16630
+ export interface $FileUploaderUploadCompleteEventParameters {
16631
+ /**
16632
+ * The name of a file to be uploaded.
16633
+ */
16634
+ fileName?: string;
16635
+
16636
+ /**
16637
+ * Response message which comes from the server.
16638
+ *
16639
+ * On the server side this response has to be put within the "body" tags of the response document
16640
+ * of the iFrame. It can consist of a return code and an optional message. This does not work in cross-domain
16641
+ * scenarios.
16642
+ */
16643
+ response?: string;
16644
+
16645
+ /**
16646
+ * ReadyState of the XHR request.
16647
+ *
16648
+ * Required for receiving a `readyStateXHR` is to set the property `sendXHR` to true. This property is not
16649
+ * supported by Internet Explorer 9.
16650
+ */
16651
+ readyStateXHR?: string;
16652
+
16653
+ /**
16654
+ * Status of the XHR request.
16655
+ *
16656
+ * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
16657
+ * by Internet Explorer 9.
16658
+ */
16659
+ status?: string;
16660
+
16661
+ /**
16662
+ * Http-Response which comes from the server.
16663
+ *
16664
+ * Required for receiving `responseRaw` is to set the property `sendXHR` to true.
16665
+ *
16666
+ * This property is not supported by Internet Explorer 9.
16667
+ */
16668
+ responseRaw?: string;
16669
+
16670
+ /**
16671
+ * Http-Response-Headers which come from the server.
16672
+ *
16673
+ * Provided as a JSON-map, i.e. each header-field is reflected by a property in the `headers` object, with
16674
+ * the property value reflecting the header-field's content.
16675
+ *
16676
+ * Required for receiving `headers` is to set the property `sendXHR` to true. This property is not supported
16677
+ * by Internet Explorer 9.
16678
+ */
16679
+ headers?: object;
16680
+
16681
+ /**
16682
+ * Http-Request-Headers.
16683
+ *
16684
+ * Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
16685
+ * supported by Internet Explorer 9.
16686
+ */
16687
+ requestHeaders?: object[];
16688
+ }
16689
+
16690
+ export interface $FileUploaderUploadProgressEventParameters {
16691
+ /**
16692
+ * Indicates whether or not the relative upload progress can be calculated out of loaded and total.
16693
+ */
16694
+ lengthComputable?: boolean;
16695
+
16696
+ /**
16697
+ * The number of bytes of the file which have been uploaded by the time the event was fired.
16698
+ */
16699
+ loaded?: float;
16700
+
16701
+ /**
16702
+ * The total size of the file to be uploaded in bytes.
16703
+ */
16704
+ total?: float;
16705
+
16706
+ /**
16707
+ * The name of a file to be uploaded.
16708
+ */
16709
+ fileName?: string;
16710
+
16711
+ /**
16712
+ * Http-Request-Headers.
16713
+ *
16714
+ * Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
16715
+ * supported by Internet Explorer 9.
16716
+ */
16717
+ requestHeaders?: object[];
16718
+ }
16719
+
16720
+ export interface $FileUploaderUploadStartEventParameters {
16721
+ /**
16722
+ * The name of a file to be uploaded.
16723
+ */
16724
+ fileName?: string;
16725
+
16726
+ /**
16727
+ * Http-Request-Headers.
16728
+ *
16729
+ * Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
16730
+ * supported by Internet Explorer 9.
16731
+ */
16732
+ requestHeaders?: object[];
16733
+ }
16461
16734
  }
16462
16735
 
16463
16736
  declare module "sap/ui/unified/FileUploaderHttpRequestMethod" {
@@ -16489,7 +16762,7 @@ declare module "sap/ui/unified/FileUploaderParameter" {
16489
16762
  /**
16490
16763
  * Represents a parameter for the FileUploader which is rendered as a hidden inputfield.
16491
16764
  */
16492
- export default class FileUploaderParameter extends UI5Element {
16765
+ class FileUploaderParameter extends UI5Element {
16493
16766
  /**
16494
16767
  * Constructor for a new FileUploaderParameter.
16495
16768
  *
@@ -16605,6 +16878,7 @@ declare module "sap/ui/unified/FileUploaderParameter" {
16605
16878
  sValue?: string
16606
16879
  ): this;
16607
16880
  }
16881
+ export default FileUploaderParameter;
16608
16882
 
16609
16883
  export interface $FileUploaderParameterSettings extends $ElementSettings {
16610
16884
  /**
@@ -16635,7 +16909,7 @@ declare module "sap/ui/unified/FileUploaderXHRSettings" {
16635
16909
  *
16636
16910
  * Properties for the `XMLHttpRequest` object used for file uploads.
16637
16911
  */
16638
- export default class FileUploaderXHRSettings extends UI5Element {
16912
+ class FileUploaderXHRSettings extends UI5Element {
16639
16913
  /**
16640
16914
  * Constructor for a new FileUploaderXHRSettings.
16641
16915
  *
@@ -16728,6 +17002,7 @@ declare module "sap/ui/unified/FileUploaderXHRSettings" {
16728
17002
  bWithCredentials?: boolean
16729
17003
  ): this;
16730
17004
  }
17005
+ export default FileUploaderXHRSettings;
16731
17006
 
16732
17007
  export interface $FileUploaderXHRSettingsSettings extends $ElementSettings {
16733
17008
  /**
@@ -16764,7 +17039,7 @@ declare module "sap/ui/unified/Menu" {
16764
17039
  * (items) can also be organized in submenus. Like other dialog-like controls, the menu is not rendered
16765
17040
  * within the control hierarchy. Instead it can be opened at a specified position via a function call.
16766
17041
  */
16767
- export default class Menu extends Control implements IContextMenu {
17042
+ class Menu extends Control implements IContextMenu {
16768
17043
  __implements__sap_ui_core_IContextMenu: boolean;
16769
17044
  /**
16770
17045
  * Constructor for a new Menu control.
@@ -16871,7 +17146,7 @@ declare module "sap/ui/unified/Menu" {
16871
17146
  /**
16872
17147
  * The function to be called when the event occurs
16873
17148
  */
16874
- fnFunction: (p1: Event) => void,
17149
+ fnFunction: (p1: Event<$MenuItemSelectEventParameters>) => void,
16875
17150
  /**
16876
17151
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.Menu` itself
16877
17152
  */
@@ -16893,7 +17168,7 @@ declare module "sap/ui/unified/Menu" {
16893
17168
  /**
16894
17169
  * The function to be called when the event occurs
16895
17170
  */
16896
- fnFunction: (p1: Event) => void,
17171
+ fnFunction: (p1: Event<$MenuItemSelectEventParameters>) => void,
16897
17172
  /**
16898
17173
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.Menu` itself
16899
17174
  */
@@ -16920,7 +17195,7 @@ declare module "sap/ui/unified/Menu" {
16920
17195
  /**
16921
17196
  * The function to be called, when the event occurs
16922
17197
  */
16923
- fnFunction: (p1: Event) => void,
17198
+ fnFunction: (p1: Event<$MenuItemSelectEventParameters>) => void,
16924
17199
  /**
16925
17200
  * Context object on which the given function had to be called
16926
17201
  */
@@ -16937,12 +17212,7 @@ declare module "sap/ui/unified/Menu" {
16937
17212
  /**
16938
17213
  * Parameters to pass along with the event
16939
17214
  */
16940
- mParameters?: {
16941
- /**
16942
- * The action (item) which was selected by the user.
16943
- */
16944
- item?: MenuItemBase;
16945
- }
17215
+ mParameters?: $MenuItemSelectEventParameters
16946
17216
  ): this;
16947
17217
  /**
16948
17218
  * @deprecated (since 1.27.0) - replaced by `ariaLabelledBy` association
@@ -16957,8 +17227,7 @@ declare module "sap/ui/unified/Menu" {
16957
17227
  /**
16958
17228
  * @SINCE 1.26.3
16959
17229
  *
16960
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
16961
- * ariaLabelledBy}.
17230
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
16962
17231
  */
16963
17232
  getAriaLabelledBy(): ID[];
16964
17233
  /**
@@ -17211,6 +17480,7 @@ declare module "sap/ui/unified/Menu" {
17211
17480
  iPageSize?: int
17212
17481
  ): this;
17213
17482
  }
17483
+ export default Menu;
17214
17484
 
17215
17485
  export interface $MenuSettings extends $ControlSettings {
17216
17486
  /**
@@ -17268,7 +17538,14 @@ declare module "sap/ui/unified/Menu" {
17268
17538
  * one of its direct or indirect submenus. **Note:** There is also a select event available for each single
17269
17539
  * menu item. This event and the event of the menu items are redundant.
17270
17540
  */
17271
- itemSelect?: (oEvent: Event) => void;
17541
+ itemSelect?: (oEvent: Event<$MenuItemSelectEventParameters>) => void;
17542
+ }
17543
+
17544
+ export interface $MenuItemSelectEventParameters {
17545
+ /**
17546
+ * The action (item) which was selected by the user.
17547
+ */
17548
+ item?: MenuItemBase;
17272
17549
  }
17273
17550
  }
17274
17551
 
@@ -17292,7 +17569,7 @@ declare module "sap/ui/unified/MenuItem" {
17292
17569
  * Standard item to be used inside a menu. A menu item represents an action which can be selected by the
17293
17570
  * user in the menu or it can provide a submenu to organize the actions hierarchically.
17294
17571
  */
17295
- export default class MenuItem extends MenuItemBase {
17572
+ class MenuItem extends MenuItemBase {
17296
17573
  /**
17297
17574
  * Constructor for a new MenuItem element.
17298
17575
  *
@@ -17365,8 +17642,7 @@ declare module "sap/ui/unified/MenuItem" {
17365
17642
  vAriaLabelledBy: ID | Control
17366
17643
  ): this;
17367
17644
  /**
17368
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
17369
- * ariaLabelledBy}.
17645
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
17370
17646
  */
17371
17647
  getAriaLabelledBy(): ID[];
17372
17648
  /**
@@ -17443,6 +17719,7 @@ declare module "sap/ui/unified/MenuItem" {
17443
17719
  sText?: string
17444
17720
  ): this;
17445
17721
  }
17722
+ export default MenuItem;
17446
17723
 
17447
17724
  export interface $MenuItemSettings extends $MenuItemBaseSettings {
17448
17725
  /**
@@ -17481,7 +17758,7 @@ declare module "sap/ui/unified/MenuItemBase" {
17481
17758
  *
17482
17759
  * Abstract base class for menu item which provides common properties and events for all concrete item implementations.
17483
17760
  */
17484
- export default class MenuItemBase extends UI5Element {
17761
+ class MenuItemBase extends UI5Element {
17485
17762
  /**
17486
17763
  * Abstract base class `MenuItemBase` for menu item elements. Please use concrete subclasses.
17487
17764
  *
@@ -17563,7 +17840,7 @@ declare module "sap/ui/unified/MenuItemBase" {
17563
17840
  /**
17564
17841
  * The function to be called when the event occurs
17565
17842
  */
17566
- fnFunction: (p1: Event) => void,
17843
+ fnFunction: (p1: Event<$MenuItemBaseSelectEventParameters>) => void,
17567
17844
  /**
17568
17845
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.MenuItemBase` itself
17569
17846
  */
@@ -17585,7 +17862,7 @@ declare module "sap/ui/unified/MenuItemBase" {
17585
17862
  /**
17586
17863
  * The function to be called when the event occurs
17587
17864
  */
17588
- fnFunction: (p1: Event) => void,
17865
+ fnFunction: (p1: Event<$MenuItemBaseSelectEventParameters>) => void,
17589
17866
  /**
17590
17867
  * Context object to call the event handler with. Defaults to this `sap.ui.unified.MenuItemBase` itself
17591
17868
  */
@@ -17608,7 +17885,7 @@ declare module "sap/ui/unified/MenuItemBase" {
17608
17885
  /**
17609
17886
  * The function to be called, when the event occurs
17610
17887
  */
17611
- fnFunction: (p1: Event) => void,
17888
+ fnFunction: (p1: Event<$MenuItemBaseSelectEventParameters>) => void,
17612
17889
  /**
17613
17890
  * Context object on which the given function had to be called
17614
17891
  */
@@ -17625,12 +17902,7 @@ declare module "sap/ui/unified/MenuItemBase" {
17625
17902
  /**
17626
17903
  * Parameters to pass along with the event
17627
17904
  */
17628
- mParameters?: {
17629
- /**
17630
- * The current item
17631
- */
17632
- item?: MenuItemBase;
17633
- }
17905
+ mParameters?: $MenuItemBaseSelectEventParameters
17634
17906
  ): this;
17635
17907
  /**
17636
17908
  * Gets current value of property {@link #getEnabled enabled}.
@@ -17795,6 +18067,7 @@ declare module "sap/ui/unified/MenuItemBase" {
17795
18067
  bVisible?: boolean
17796
18068
  ): this;
17797
18069
  }
18070
+ export default MenuItemBase;
17798
18071
 
17799
18072
  export interface $MenuItemBaseSettings extends $ElementSettings {
17800
18073
  /**
@@ -17824,7 +18097,14 @@ declare module "sap/ui/unified/MenuItemBase" {
17824
18097
  * a submenu. In general, applications must not handle event in this case because the user selection opens
17825
18098
  * the sub menu.
17826
18099
  */
17827
- select?: (oEvent: Event) => void;
18100
+ select?: (oEvent: Event<$MenuItemBaseSelectEventParameters>) => void;
18101
+ }
18102
+
18103
+ export interface $MenuItemBaseSelectEventParameters {
18104
+ /**
18105
+ * The current item
18106
+ */
18107
+ item?: MenuItemBase;
17828
18108
  }
17829
18109
  }
17830
18110
 
@@ -17849,7 +18129,7 @@ declare module "sap/ui/unified/MenuTextFieldItem" {
17849
18129
  * implementations. The aggregation `submenu` (inherited from parent class) is not supported for this type
17850
18130
  * of menu item.
17851
18131
  */
17852
- export default class MenuTextFieldItem extends MenuItemBase {
18132
+ class MenuTextFieldItem extends MenuItemBase {
17853
18133
  /**
17854
18134
  * Constructor for a new MenuTextFieldItem element.
17855
18135
  *
@@ -18041,6 +18321,7 @@ declare module "sap/ui/unified/MenuTextFieldItem" {
18041
18321
  sValueState?: ValueState | keyof typeof ValueState
18042
18322
  ): this;
18043
18323
  }
18324
+ export default MenuTextFieldItem;
18044
18325
 
18045
18326
  export interface $MenuTextFieldItemSettings extends $MenuItemBaseSettings {
18046
18327
  /**
@@ -18100,7 +18381,7 @@ declare module "sap/ui/unified/Shell" {
18100
18381
  * control within applications which run inside the Fiori Lauchpad and do not use it for other scenarios
18101
18382
  * than the root control usecase.
18102
18383
  */
18103
- export default class Shell extends ShellLayout {
18384
+ class Shell extends ShellLayout {
18104
18385
  /**
18105
18386
  * Constructor for a new Shell.
18106
18387
  *
@@ -18630,6 +18911,7 @@ declare module "sap/ui/unified/Shell" {
18630
18911
  oUser: ShellHeadUserItem
18631
18912
  ): this;
18632
18913
  }
18914
+ export default Shell;
18633
18915
 
18634
18916
  export interface $ShellSettings extends $ShellLayoutSettings {
18635
18917
  /**
@@ -18732,7 +19014,7 @@ declare module "sap/ui/unified/ShellHeadItem" {
18732
19014
  *
18733
19015
  * Header Action item of the Shell.
18734
19016
  */
18735
- export default class ShellHeadItem extends UI5Element {
19017
+ class ShellHeadItem extends UI5Element {
18736
19018
  /**
18737
19019
  * Constructor for a new ShellHeadItem.
18738
19020
  *
@@ -18880,8 +19162,7 @@ declare module "sap/ui/unified/ShellHeadItem" {
18880
19162
  mParameters?: object
18881
19163
  ): this;
18882
19164
  /**
18883
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
18884
- * ariaLabelledBy}.
19165
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
18885
19166
  */
18886
19167
  getAriaLabelledBy(): ID[];
18887
19168
  /**
@@ -19113,6 +19394,7 @@ declare module "sap/ui/unified/ShellHeadItem" {
19113
19394
  bVisible?: boolean
19114
19395
  ): this;
19115
19396
  }
19397
+ export default ShellHeadItem;
19116
19398
 
19117
19399
  export interface $ShellHeadItemSettings extends $ElementSettings {
19118
19400
  /**
@@ -19173,6 +19455,8 @@ declare module "sap/ui/unified/ShellHeadItem" {
19173
19455
  */
19174
19456
  press?: (oEvent: Event) => void;
19175
19457
  }
19458
+
19459
+ export interface $ShellHeadItemPressEventParameters {}
19176
19460
  }
19177
19461
 
19178
19462
  declare module "sap/ui/unified/ShellHeadUserItem" {
@@ -19194,7 +19478,7 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
19194
19478
  *
19195
19479
  * User Header Action Item of the Shell.
19196
19480
  */
19197
- export default class ShellHeadUserItem extends UI5Element {
19481
+ class ShellHeadUserItem extends UI5Element {
19198
19482
  /**
19199
19483
  * Constructor for a new ShellHeadUserItem.
19200
19484
  *
@@ -19342,8 +19626,7 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
19342
19626
  mParameters?: object
19343
19627
  ): this;
19344
19628
  /**
19345
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
19346
- * ariaLabelledBy}.
19629
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
19347
19630
  */
19348
19631
  getAriaLabelledBy(): ID[];
19349
19632
  /**
@@ -19447,6 +19730,7 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
19447
19730
  sUsername?: string
19448
19731
  ): this;
19449
19732
  }
19733
+ export default ShellHeadUserItem;
19450
19734
 
19451
19735
  export interface $ShellHeadUserItemSettings extends $ElementSettings {
19452
19736
  /**
@@ -19477,6 +19761,8 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
19477
19761
  */
19478
19762
  press?: (oEvent: Event) => void;
19479
19763
  }
19764
+
19765
+ export interface $ShellHeadUserItemPressEventParameters {}
19480
19766
  }
19481
19767
 
19482
19768
  declare module "sap/ui/unified/ShellLayout" {
@@ -19498,7 +19784,7 @@ declare module "sap/ui/unified/ShellLayout" {
19498
19784
  * for this purpose. Do not use this control within applications which run inside the Fiori Lauchpad and
19499
19785
  * do not use it for other scenarios than the root control usecase.
19500
19786
  */
19501
- export default class ShellLayout extends Control {
19787
+ class ShellLayout extends Control {
19502
19788
  /**
19503
19789
  * Constructor for a new ShellLayout.
19504
19790
  *
@@ -19808,6 +20094,7 @@ declare module "sap/ui/unified/ShellLayout" {
19808
20094
  bShowPane?: boolean
19809
20095
  ): this;
19810
20096
  }
20097
+ export default ShellLayout;
19811
20098
 
19812
20099
  export interface $ShellLayoutSettings extends $ControlSettings {
19813
20100
  /**
@@ -19862,7 +20149,7 @@ declare module "sap/ui/unified/ShellOverlay" {
19862
20149
  *
19863
20150
  * ShellOverlay to be opened in front of an sap.ui.unified.Shell
19864
20151
  */
19865
- export default class ShellOverlay extends Control {
20152
+ class ShellOverlay extends Control {
19866
20153
  /**
19867
20154
  * Constructor for a new ShellOverlay.
19868
20155
  *
@@ -20037,8 +20324,7 @@ declare module "sap/ui/unified/ShellOverlay" {
20037
20324
  mParameters?: object
20038
20325
  ): this;
20039
20326
  /**
20040
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
20041
- * ariaLabelledBy}.
20327
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
20042
20328
  */
20043
20329
  getAriaLabelledBy(): ID[];
20044
20330
  /**
@@ -20151,6 +20437,7 @@ declare module "sap/ui/unified/ShellOverlay" {
20151
20437
  oShell: ID | ShellLayout
20152
20438
  ): this;
20153
20439
  }
20440
+ export default ShellOverlay;
20154
20441
 
20155
20442
  export interface $ShellOverlaySettings extends $ControlSettings {
20156
20443
  /**
@@ -20179,6 +20466,8 @@ declare module "sap/ui/unified/ShellOverlay" {
20179
20466
  */
20180
20467
  closed?: (oEvent: Event) => void;
20181
20468
  }
20469
+
20470
+ export interface $ShellOverlayClosedEventParameters {}
20182
20471
  }
20183
20472
 
20184
20473
  declare module "sap/ui/unified/SplitContainer" {
@@ -20200,7 +20489,7 @@ declare module "sap/ui/unified/SplitContainer" {
20200
20489
  *
20201
20490
  * Provides a main content and a secondary content area
20202
20491
  */
20203
- export default class SplitContainer extends Control {
20492
+ class SplitContainer extends Control {
20204
20493
  /**
20205
20494
  * Constructor for a new SplitContainer.
20206
20495
  *
@@ -20516,6 +20805,7 @@ declare module "sap/ui/unified/SplitContainer" {
20516
20805
  bShowSecondaryContent?: boolean
20517
20806
  ): this;
20518
20807
  }
20808
+ export default SplitContainer;
20519
20809
 
20520
20810
  export interface $SplitContainerSettings extends $ControlSettings {
20521
20811
  /**