@openui5/types 1.114.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.
- package/package.json +1 -1
- package/types/sap.f.d.ts +1378 -1019
- package/types/sap.m.d.ts +6945 -4884
- package/types/sap.tnt.d.ts +138 -67
- package/types/sap.ui.codeeditor.d.ts +37 -30
- package/types/sap.ui.commons.d.ts +936 -708
- package/types/sap.ui.core.d.ts +4625 -2580
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +102 -80
- package/types/sap.ui.integration.d.ts +219 -167
- package/types/sap.ui.layout.d.ts +378 -398
- package/types/sap.ui.mdc.d.ts +21983 -139
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +13 -11
- package/types/sap.ui.support.d.ts +7 -7
- package/types/sap.ui.table.d.ts +594 -478
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +839 -587
- package/types/sap.ui.ux3.d.ts +847 -592
- package/types/sap.ui.webc.common.d.ts +5 -3
- package/types/sap.ui.webc.fiori.d.ts +530 -345
- package/types/sap.ui.webc.main.d.ts +1114 -835
- package/types/sap.uxap.d.ts +309 -222
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.115.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/unified/library" {
|
|
4
4
|
/**
|
|
@@ -336,7 +336,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
336
336
|
*
|
|
337
337
|
* Basic Calendar. This calendar is used for DatePickers
|
|
338
338
|
*/
|
|
339
|
-
|
|
339
|
+
class Calendar extends Control {
|
|
340
340
|
/**
|
|
341
341
|
* Constructor for a new Calendar.
|
|
342
342
|
*
|
|
@@ -619,7 +619,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
619
619
|
/**
|
|
620
620
|
* The function to be called when the event occurs
|
|
621
621
|
*/
|
|
622
|
-
fnFunction: (p1: Event) => void,
|
|
622
|
+
fnFunction: (p1: Event<$CalendarWeekNumberSelectEventParameters>) => void,
|
|
623
623
|
/**
|
|
624
624
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.Calendar` itself
|
|
625
625
|
*/
|
|
@@ -647,7 +647,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
647
647
|
/**
|
|
648
648
|
* The function to be called when the event occurs
|
|
649
649
|
*/
|
|
650
|
-
fnFunction: (p1: Event) => void,
|
|
650
|
+
fnFunction: (p1: Event<$CalendarWeekNumberSelectEventParameters>) => void,
|
|
651
651
|
/**
|
|
652
652
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.Calendar` itself
|
|
653
653
|
*/
|
|
@@ -743,7 +743,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
743
743
|
/**
|
|
744
744
|
* The function to be called, when the event occurs
|
|
745
745
|
*/
|
|
746
|
-
fnFunction: (p1: Event) => void,
|
|
746
|
+
fnFunction: (p1: Event<$CalendarWeekNumberSelectEventParameters>) => void,
|
|
747
747
|
/**
|
|
748
748
|
* Context object on which the given function had to be called
|
|
749
749
|
*/
|
|
@@ -817,16 +817,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
817
817
|
/**
|
|
818
818
|
* Parameters to pass along with the event
|
|
819
819
|
*/
|
|
820
|
-
mParameters?:
|
|
821
|
-
/**
|
|
822
|
-
* The selected week number.
|
|
823
|
-
*/
|
|
824
|
-
weekNumber?: int;
|
|
825
|
-
/**
|
|
826
|
-
* The days of the corresponding week that are selected or deselected.
|
|
827
|
-
*/
|
|
828
|
-
weekDays?: DateRange;
|
|
829
|
-
}
|
|
820
|
+
mParameters?: $CalendarWeekNumberSelectEventParameters
|
|
830
821
|
): boolean;
|
|
831
822
|
/**
|
|
832
823
|
* Displays and sets the focused date of the calendar.
|
|
@@ -842,8 +833,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
842
833
|
/**
|
|
843
834
|
* @SINCE 1.28.0
|
|
844
835
|
*
|
|
845
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
846
|
-
* ariaLabelledBy}.
|
|
836
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
847
837
|
*/
|
|
848
838
|
getAriaLabelledBy(): ID[];
|
|
849
839
|
/**
|
|
@@ -866,7 +856,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
866
856
|
*
|
|
867
857
|
* Dates or date ranges for disabled dates.
|
|
868
858
|
*
|
|
869
|
-
* 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 }
|
|
870
860
|
* class.
|
|
871
861
|
*/
|
|
872
862
|
getDisabledDates(): DateRange[];
|
|
@@ -1003,7 +993,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1003
993
|
*
|
|
1004
994
|
* Dates or date ranges for selected dates.
|
|
1005
995
|
*
|
|
1006
|
-
* 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 }
|
|
1007
997
|
* class.
|
|
1008
998
|
*/
|
|
1009
999
|
getSelectedDates(): DateRange[];
|
|
@@ -1511,6 +1501,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1511
1501
|
sWidth?: CSSSize
|
|
1512
1502
|
): this;
|
|
1513
1503
|
}
|
|
1504
|
+
export default Calendar;
|
|
1514
1505
|
|
|
1515
1506
|
export interface $CalendarSettings extends $ControlSettings {
|
|
1516
1507
|
/**
|
|
@@ -1654,7 +1645,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1654
1645
|
/**
|
|
1655
1646
|
* Dates or date ranges for selected dates.
|
|
1656
1647
|
*
|
|
1657
|
-
* 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 }
|
|
1658
1649
|
* class.
|
|
1659
1650
|
*/
|
|
1660
1651
|
selectedDates?:
|
|
@@ -1669,7 +1660,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1669
1660
|
* Dates or date ranges with type, to visualize special days in the `Calendar`. If one day is assigned to
|
|
1670
1661
|
* more than one Type, only the first one will be used.
|
|
1671
1662
|
*
|
|
1672
|
-
* 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 }
|
|
1673
1664
|
* class.
|
|
1674
1665
|
*
|
|
1675
1666
|
* **Note:** Keep in mind that the `NonWorking` type is for marking specific dates or date ranges as non-working,
|
|
@@ -1687,7 +1678,7 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1687
1678
|
*
|
|
1688
1679
|
* Dates or date ranges for disabled dates.
|
|
1689
1680
|
*
|
|
1690
|
-
* 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 }
|
|
1691
1682
|
* class.
|
|
1692
1683
|
*/
|
|
1693
1684
|
disabledDates?:
|
|
@@ -1741,7 +1732,27 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1741
1732
|
*
|
|
1742
1733
|
* **Note** Works for Gregorian calendars only and when `intervalSelection` is set to 'true'.
|
|
1743
1734
|
*/
|
|
1744
|
-
weekNumberSelect?: (
|
|
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;
|
|
1745
1756
|
}
|
|
1746
1757
|
}
|
|
1747
1758
|
|
|
@@ -1766,7 +1777,7 @@ declare module "sap/ui/unified/calendar/DatesRow" {
|
|
|
1766
1777
|
* If used inside the calendar the properties and aggregation are directly taken from the parent (To not
|
|
1767
1778
|
* duplicate and sync DateRanges and so on...)
|
|
1768
1779
|
*/
|
|
1769
|
-
|
|
1780
|
+
class DatesRow extends Month {
|
|
1770
1781
|
/**
|
|
1771
1782
|
* Constructor for a new calendar/DatesRow.
|
|
1772
1783
|
*
|
|
@@ -1972,6 +1983,7 @@ declare module "sap/ui/unified/calendar/DatesRow" {
|
|
|
1972
1983
|
oStartDate: Date | UI5Date
|
|
1973
1984
|
): this;
|
|
1974
1985
|
}
|
|
1986
|
+
export default DatesRow;
|
|
1975
1987
|
|
|
1976
1988
|
export interface $DatesRowSettings extends $MonthSettings {
|
|
1977
1989
|
/**
|
|
@@ -2028,7 +2040,7 @@ declare module "sap/ui/unified/calendar/Header" {
|
|
|
2028
2040
|
*
|
|
2029
2041
|
* **Note:** This is used inside the calendar. Not for standalone usage
|
|
2030
2042
|
*/
|
|
2031
|
-
|
|
2043
|
+
class Header extends Control {
|
|
2032
2044
|
/**
|
|
2033
2045
|
* Constructor for a new Header.
|
|
2034
2046
|
*
|
|
@@ -2960,6 +2972,7 @@ declare module "sap/ui/unified/calendar/Header" {
|
|
|
2960
2972
|
bVisibleCurrentDateButton?: boolean
|
|
2961
2973
|
): this;
|
|
2962
2974
|
}
|
|
2975
|
+
export default Header;
|
|
2963
2976
|
|
|
2964
2977
|
export interface $HeaderSettings extends $ControlSettings {
|
|
2965
2978
|
/**
|
|
@@ -3089,6 +3102,18 @@ declare module "sap/ui/unified/calendar/Header" {
|
|
|
3089
3102
|
*/
|
|
3090
3103
|
pressButton2?: (oEvent: Event) => void;
|
|
3091
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 {}
|
|
3092
3117
|
}
|
|
3093
3118
|
|
|
3094
3119
|
declare module "sap/ui/unified/calendar/Month" {
|
|
@@ -3124,7 +3149,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3124
3149
|
* inside the calendar the properties and aggregation are directly taken from the parent (To not duplicate
|
|
3125
3150
|
* and sync DateRanges and so on...)
|
|
3126
3151
|
*/
|
|
3127
|
-
|
|
3152
|
+
class Month extends Control {
|
|
3128
3153
|
/**
|
|
3129
3154
|
* Constructor for a new calendar/Month.
|
|
3130
3155
|
*
|
|
@@ -3250,7 +3275,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3250
3275
|
/**
|
|
3251
3276
|
* The function to be called when the event occurs
|
|
3252
3277
|
*/
|
|
3253
|
-
fnFunction: (p1: Event) => void,
|
|
3278
|
+
fnFunction: (p1: Event<$MonthFocusEventParameters>) => void,
|
|
3254
3279
|
/**
|
|
3255
3280
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
|
|
3256
3281
|
*/
|
|
@@ -3270,7 +3295,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3270
3295
|
/**
|
|
3271
3296
|
* The function to be called when the event occurs
|
|
3272
3297
|
*/
|
|
3273
|
-
fnFunction: (p1: Event) => void,
|
|
3298
|
+
fnFunction: (p1: Event<$MonthFocusEventParameters>) => void,
|
|
3274
3299
|
/**
|
|
3275
3300
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
|
|
3276
3301
|
*/
|
|
@@ -3348,7 +3373,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3348
3373
|
/**
|
|
3349
3374
|
* The function to be called when the event occurs
|
|
3350
3375
|
*/
|
|
3351
|
-
fnFunction: (p1: Event) => void,
|
|
3376
|
+
fnFunction: (p1: Event<$MonthWeekNumberSelectEventParameters>) => void,
|
|
3352
3377
|
/**
|
|
3353
3378
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
|
|
3354
3379
|
*/
|
|
@@ -3376,7 +3401,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3376
3401
|
/**
|
|
3377
3402
|
* The function to be called when the event occurs
|
|
3378
3403
|
*/
|
|
3379
|
-
fnFunction: (p1: Event) => void,
|
|
3404
|
+
fnFunction: (p1: Event<$MonthWeekNumberSelectEventParameters>) => void,
|
|
3380
3405
|
/**
|
|
3381
3406
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.Month` itself
|
|
3382
3407
|
*/
|
|
@@ -3425,7 +3450,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3425
3450
|
/**
|
|
3426
3451
|
* The function to be called, when the event occurs
|
|
3427
3452
|
*/
|
|
3428
|
-
fnFunction: (p1: Event) => void,
|
|
3453
|
+
fnFunction: (p1: Event<$MonthFocusEventParameters>) => void,
|
|
3429
3454
|
/**
|
|
3430
3455
|
* Context object on which the given function had to be called
|
|
3431
3456
|
*/
|
|
@@ -3462,7 +3487,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3462
3487
|
/**
|
|
3463
3488
|
* The function to be called, when the event occurs
|
|
3464
3489
|
*/
|
|
3465
|
-
fnFunction: (p1: Event) => void,
|
|
3490
|
+
fnFunction: (p1: Event<$MonthWeekNumberSelectEventParameters>) => void,
|
|
3466
3491
|
/**
|
|
3467
3492
|
* Context object on which the given function had to be called
|
|
3468
3493
|
*/
|
|
@@ -3490,20 +3515,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3490
3515
|
/**
|
|
3491
3516
|
* Parameters to pass along with the event
|
|
3492
3517
|
*/
|
|
3493
|
-
mParameters?:
|
|
3494
|
-
/**
|
|
3495
|
-
* focused date
|
|
3496
|
-
*/
|
|
3497
|
-
date?: object;
|
|
3498
|
-
/**
|
|
3499
|
-
* focused date is in an other month than the displayed one
|
|
3500
|
-
*/
|
|
3501
|
-
otherMonth?: boolean;
|
|
3502
|
-
/**
|
|
3503
|
-
* focused date is set to the same as before (date in other month clicked)
|
|
3504
|
-
*/
|
|
3505
|
-
restoreOldDate?: boolean;
|
|
3506
|
-
}
|
|
3518
|
+
mParameters?: $MonthFocusEventParameters
|
|
3507
3519
|
): this;
|
|
3508
3520
|
/**
|
|
3509
3521
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -3533,22 +3545,10 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
3533
3545
|
/**
|
|
3534
3546
|
* Parameters to pass along with the event
|
|
3535
3547
|
*/
|
|
3536
|
-
mParameters?:
|
|
3537
|
-
/**
|
|
3538
|
-
* The selected week number.
|
|
3539
|
-
*/
|
|
3540
|
-
weekNumber?: int;
|
|
3541
|
-
/**
|
|
3542
|
-
* The days of the corresponding week that are selected or deselected.
|
|
3543
|
-
*
|
|
3544
|
-
* **Note:** Will be set to `null` if that week is being deselected.
|
|
3545
|
-
*/
|
|
3546
|
-
weekDays?: DateRange;
|
|
3547
|
-
}
|
|
3548
|
+
mParameters?: $MonthWeekNumberSelectEventParameters
|
|
3548
3549
|
): boolean;
|
|
3549
3550
|
/**
|
|
3550
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
3551
|
-
* ariaLabelledBy}.
|
|
3551
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
3552
3552
|
*/
|
|
3553
3553
|
getAriaLabelledBy(): ID[];
|
|
3554
3554
|
/**
|
|
@@ -4085,6 +4085,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
4085
4085
|
sWidth?: CSSSize
|
|
4086
4086
|
): this;
|
|
4087
4087
|
}
|
|
4088
|
+
export default Month;
|
|
4088
4089
|
|
|
4089
4090
|
export interface $MonthSettings extends $ControlSettings {
|
|
4090
4091
|
/**
|
|
@@ -4230,7 +4231,7 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
4230
4231
|
/**
|
|
4231
4232
|
* Date focus changed
|
|
4232
4233
|
*/
|
|
4233
|
-
focus?: (oEvent: Event) => void;
|
|
4234
|
+
focus?: (oEvent: Event<$MonthFocusEventParameters>) => void;
|
|
4234
4235
|
|
|
4235
4236
|
/**
|
|
4236
4237
|
* @SINCE 1.60
|
|
@@ -4242,7 +4243,42 @@ declare module "sap/ui/unified/calendar/Month" {
|
|
|
4242
4243
|
*
|
|
4243
4244
|
* **Note:** Works for Gregorian calendars only and when `intervalSelection` is set to `true`.
|
|
4244
4245
|
*/
|
|
4245
|
-
weekNumberSelect?: (
|
|
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;
|
|
4246
4282
|
}
|
|
4247
4283
|
}
|
|
4248
4284
|
|
|
@@ -4269,7 +4305,7 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
|
|
|
4269
4305
|
*
|
|
4270
4306
|
* renders a MonthPicker with ItemNavigation This is used inside the calendar. Not for stand alone usage
|
|
4271
4307
|
*/
|
|
4272
|
-
|
|
4308
|
+
class MonthPicker extends Control {
|
|
4273
4309
|
/**
|
|
4274
4310
|
* Constructor for a new MonthPicker.
|
|
4275
4311
|
*
|
|
@@ -4530,8 +4566,7 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
|
|
|
4530
4566
|
/**
|
|
4531
4567
|
* @SINCE 1.92
|
|
4532
4568
|
*
|
|
4533
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
4534
|
-
* ariaLabelledBy}.
|
|
4569
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
4535
4570
|
*/
|
|
4536
4571
|
getAriaLabelledBy(): ID[];
|
|
4537
4572
|
/**
|
|
@@ -4827,6 +4862,7 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
|
|
|
4827
4862
|
sSecondaryCalendarType: CalendarType | keyof typeof CalendarType
|
|
4828
4863
|
): this;
|
|
4829
4864
|
}
|
|
4865
|
+
export default MonthPicker;
|
|
4830
4866
|
|
|
4831
4867
|
export interface $MonthPickerSettings extends $ControlSettings {
|
|
4832
4868
|
/**
|
|
@@ -4909,6 +4945,10 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
|
|
|
4909
4945
|
*/
|
|
4910
4946
|
pageChange?: (oEvent: Event) => void;
|
|
4911
4947
|
}
|
|
4948
|
+
|
|
4949
|
+
export interface $MonthPickerPageChangeEventParameters {}
|
|
4950
|
+
|
|
4951
|
+
export interface $MonthPickerSelectEventParameters {}
|
|
4912
4952
|
}
|
|
4913
4953
|
|
|
4914
4954
|
declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
@@ -4947,7 +4987,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
4947
4987
|
* to display and interact. As representation for a month, the 1st of the month will always be returned
|
|
4948
4988
|
* in the API.
|
|
4949
4989
|
*/
|
|
4950
|
-
|
|
4990
|
+
class MonthsRow extends Control {
|
|
4951
4991
|
/**
|
|
4952
4992
|
* Constructor for a new `MonthsRow`. It shows a calendar with month granularity
|
|
4953
4993
|
*
|
|
@@ -5064,7 +5104,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
5064
5104
|
/**
|
|
5065
5105
|
* The function to be called when the event occurs
|
|
5066
5106
|
*/
|
|
5067
|
-
fnFunction: (p1: Event) => void,
|
|
5107
|
+
fnFunction: (p1: Event<$MonthsRowFocusEventParameters>) => void,
|
|
5068
5108
|
/**
|
|
5069
5109
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.MonthsRow` itself
|
|
5070
5110
|
*/
|
|
@@ -5084,7 +5124,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
5084
5124
|
/**
|
|
5085
5125
|
* The function to be called when the event occurs
|
|
5086
5126
|
*/
|
|
5087
|
-
fnFunction: (p1: Event) => void,
|
|
5127
|
+
fnFunction: (p1: Event<$MonthsRowFocusEventParameters>) => void,
|
|
5088
5128
|
/**
|
|
5089
5129
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.MonthsRow` itself
|
|
5090
5130
|
*/
|
|
@@ -5170,7 +5210,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
5170
5210
|
/**
|
|
5171
5211
|
* The function to be called, when the event occurs
|
|
5172
5212
|
*/
|
|
5173
|
-
fnFunction: (p1: Event) => void,
|
|
5213
|
+
fnFunction: (p1: Event<$MonthsRowFocusEventParameters>) => void,
|
|
5174
5214
|
/**
|
|
5175
5215
|
* Context object on which the given function had to be called
|
|
5176
5216
|
*/
|
|
@@ -5215,16 +5255,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
5215
5255
|
/**
|
|
5216
5256
|
* Parameters to pass along with the event
|
|
5217
5257
|
*/
|
|
5218
|
-
mParameters?:
|
|
5219
|
-
/**
|
|
5220
|
-
* First date, as UI5Date or JavaScript Date object, of the month that is focused.
|
|
5221
|
-
*/
|
|
5222
|
-
date?: object;
|
|
5223
|
-
/**
|
|
5224
|
-
* If set, the focused date is not rendered yet. (This happens by navigating out of the visible area.)
|
|
5225
|
-
*/
|
|
5226
|
-
notVisible?: boolean;
|
|
5227
|
-
}
|
|
5258
|
+
mParameters?: $MonthsRowFocusEventParameters
|
|
5228
5259
|
): this;
|
|
5229
5260
|
/**
|
|
5230
5261
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5240,8 +5271,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
5240
5271
|
mParameters?: object
|
|
5241
5272
|
): this;
|
|
5242
5273
|
/**
|
|
5243
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
5244
|
-
* ariaLabelledBy}.
|
|
5274
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
5245
5275
|
*/
|
|
5246
5276
|
getAriaLabelledBy(): ID[];
|
|
5247
5277
|
/**
|
|
@@ -5608,6 +5638,7 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
5608
5638
|
oStartDate: Date | UI5Date
|
|
5609
5639
|
): this;
|
|
5610
5640
|
}
|
|
5641
|
+
export default MonthsRow;
|
|
5611
5642
|
|
|
5612
5643
|
export interface $MonthsRowSettings extends $ControlSettings {
|
|
5613
5644
|
/**
|
|
@@ -5714,8 +5745,22 @@ declare module "sap/ui/unified/calendar/MonthsRow" {
|
|
|
5714
5745
|
/**
|
|
5715
5746
|
* Month focus changed
|
|
5716
5747
|
*/
|
|
5717
|
-
focus?: (oEvent: Event) => void;
|
|
5748
|
+
focus?: (oEvent: Event<$MonthsRowFocusEventParameters>) => void;
|
|
5718
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 {}
|
|
5719
5764
|
}
|
|
5720
5765
|
|
|
5721
5766
|
declare module "sap/ui/unified/calendar/TimesRow" {
|
|
@@ -5752,7 +5797,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
5752
5797
|
*
|
|
5753
5798
|
* The TimesRow works with UI5Date or JavaScript Date objects.
|
|
5754
5799
|
*/
|
|
5755
|
-
|
|
5800
|
+
class TimesRow extends Control {
|
|
5756
5801
|
/**
|
|
5757
5802
|
* Constructor for a new `TimesRow`. It shows a calendar with time granularity (normally hours)
|
|
5758
5803
|
*
|
|
@@ -5869,7 +5914,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
5869
5914
|
/**
|
|
5870
5915
|
* The function to be called when the event occurs
|
|
5871
5916
|
*/
|
|
5872
|
-
fnFunction: (p1: Event) => void,
|
|
5917
|
+
fnFunction: (p1: Event<$TimesRowFocusEventParameters>) => void,
|
|
5873
5918
|
/**
|
|
5874
5919
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.TimesRow` itself
|
|
5875
5920
|
*/
|
|
@@ -5889,7 +5934,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
5889
5934
|
/**
|
|
5890
5935
|
* The function to be called when the event occurs
|
|
5891
5936
|
*/
|
|
5892
|
-
fnFunction: (p1: Event) => void,
|
|
5937
|
+
fnFunction: (p1: Event<$TimesRowFocusEventParameters>) => void,
|
|
5893
5938
|
/**
|
|
5894
5939
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.calendar.TimesRow` itself
|
|
5895
5940
|
*/
|
|
@@ -5975,7 +6020,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
5975
6020
|
/**
|
|
5976
6021
|
* The function to be called, when the event occurs
|
|
5977
6022
|
*/
|
|
5978
|
-
fnFunction: (p1: Event) => void,
|
|
6023
|
+
fnFunction: (p1: Event<$TimesRowFocusEventParameters>) => void,
|
|
5979
6024
|
/**
|
|
5980
6025
|
* Context object on which the given function had to be called
|
|
5981
6026
|
*/
|
|
@@ -6020,16 +6065,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
6020
6065
|
/**
|
|
6021
6066
|
* Parameters to pass along with the event
|
|
6022
6067
|
*/
|
|
6023
|
-
mParameters?:
|
|
6024
|
-
/**
|
|
6025
|
-
* date, as UI5Date or JavaScript Date object, of the focused time.
|
|
6026
|
-
*/
|
|
6027
|
-
date?: object;
|
|
6028
|
-
/**
|
|
6029
|
-
* If set, the focused date is not rendered yet. (This happens by navigating out of the visible area.)
|
|
6030
|
-
*/
|
|
6031
|
-
notVisible?: boolean;
|
|
6032
|
-
}
|
|
6068
|
+
mParameters?: $TimesRowFocusEventParameters
|
|
6033
6069
|
): this;
|
|
6034
6070
|
/**
|
|
6035
6071
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6045,8 +6081,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
6045
6081
|
mParameters?: object
|
|
6046
6082
|
): this;
|
|
6047
6083
|
/**
|
|
6048
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
6049
|
-
* ariaLabelledBy}.
|
|
6084
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
6050
6085
|
*/
|
|
6051
6086
|
getAriaLabelledBy(): ID[];
|
|
6052
6087
|
/**
|
|
@@ -6446,6 +6481,7 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
6446
6481
|
oStartDate: Date | UI5Date
|
|
6447
6482
|
): this;
|
|
6448
6483
|
}
|
|
6484
|
+
export default TimesRow;
|
|
6449
6485
|
|
|
6450
6486
|
export interface $TimesRowSettings extends $ControlSettings {
|
|
6451
6487
|
/**
|
|
@@ -6557,8 +6593,22 @@ declare module "sap/ui/unified/calendar/TimesRow" {
|
|
|
6557
6593
|
/**
|
|
6558
6594
|
* Time focus changed
|
|
6559
6595
|
*/
|
|
6560
|
-
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;
|
|
6561
6609
|
}
|
|
6610
|
+
|
|
6611
|
+
export interface $TimesRowSelectEventParameters {}
|
|
6562
6612
|
}
|
|
6563
6613
|
|
|
6564
6614
|
declare module "sap/ui/unified/calendar/YearPicker" {
|
|
@@ -6586,7 +6636,7 @@ declare module "sap/ui/unified/calendar/YearPicker" {
|
|
|
6586
6636
|
* As in all date-time controls, all pubic JS Date objects that are given (e.g. `setDate()`) or read (e.g.
|
|
6587
6637
|
* `getFirstRenderedDate`) with values which are considered as date objects in browser(local) timezone.
|
|
6588
6638
|
*/
|
|
6589
|
-
|
|
6639
|
+
class YearPicker extends Control {
|
|
6590
6640
|
/**
|
|
6591
6641
|
* Constructor for a new YearPicker.
|
|
6592
6642
|
*
|
|
@@ -7119,6 +7169,7 @@ declare module "sap/ui/unified/calendar/YearPicker" {
|
|
|
7119
7169
|
iYears?: int
|
|
7120
7170
|
): this;
|
|
7121
7171
|
}
|
|
7172
|
+
export default YearPicker;
|
|
7122
7173
|
|
|
7123
7174
|
export interface $YearPickerSettings extends $ControlSettings {
|
|
7124
7175
|
/**
|
|
@@ -7202,6 +7253,10 @@ declare module "sap/ui/unified/calendar/YearPicker" {
|
|
|
7202
7253
|
*/
|
|
7203
7254
|
pageChange?: (oEvent: Event) => void;
|
|
7204
7255
|
}
|
|
7256
|
+
|
|
7257
|
+
export interface $YearPickerPageChangeEventParameters {}
|
|
7258
|
+
|
|
7259
|
+
export interface $YearPickerSelectEventParameters {}
|
|
7205
7260
|
}
|
|
7206
7261
|
|
|
7207
7262
|
declare module "sap/ui/unified/CalendarAppointment" {
|
|
@@ -7229,7 +7284,7 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7229
7284
|
*
|
|
7230
7285
|
* Applications could inherit from this element to add own fields.
|
|
7231
7286
|
*/
|
|
7232
|
-
|
|
7287
|
+
class CalendarAppointment extends DateTypeRange {
|
|
7233
7288
|
/**
|
|
7234
7289
|
* Constructor for a new `CalendarAppointment`.
|
|
7235
7290
|
*
|
|
@@ -7340,9 +7395,9 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7340
7395
|
*
|
|
7341
7396
|
* - The `title`, `text`, `description`, and `icon` properties are ignored.
|
|
7342
7397
|
* - The application developer has to ensure, that all the accessibility requirements are met, and that
|
|
7343
|
-
*
|
|
7398
|
+
* the height of the content conforms with the height provided by the appointment.
|
|
7344
7399
|
* - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
|
|
7345
|
-
*
|
|
7400
|
+
* and may lead to unpredictable results.
|
|
7346
7401
|
*/
|
|
7347
7402
|
getCustomContent(): Control[];
|
|
7348
7403
|
/**
|
|
@@ -7605,6 +7660,7 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7605
7660
|
sTitle: string
|
|
7606
7661
|
): this;
|
|
7607
7662
|
}
|
|
7663
|
+
export default CalendarAppointment;
|
|
7608
7664
|
|
|
7609
7665
|
export interface $CalendarAppointmentSettings extends $DateTypeRangeSettings {
|
|
7610
7666
|
/**
|
|
@@ -7666,9 +7722,9 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7666
7722
|
*
|
|
7667
7723
|
* - The `title`, `text`, `description`, and `icon` properties are ignored.
|
|
7668
7724
|
* - The application developer has to ensure, that all the accessibility requirements are met, and that
|
|
7669
|
-
*
|
|
7725
|
+
* the height of the content conforms with the height provided by the appointment.
|
|
7670
7726
|
* - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
|
|
7671
|
-
*
|
|
7727
|
+
* and may lead to unpredictable results.
|
|
7672
7728
|
*/
|
|
7673
7729
|
customContent?:
|
|
7674
7730
|
| Control[]
|
|
@@ -7696,7 +7752,7 @@ declare module "sap/ui/unified/CalendarDateInterval" {
|
|
|
7696
7752
|
* `CalendarDateInterval` only visualizes the dates in a one-line interval and allows the selection of a
|
|
7697
7753
|
* single day.
|
|
7698
7754
|
*/
|
|
7699
|
-
|
|
7755
|
+
class CalendarDateInterval extends Calendar {
|
|
7700
7756
|
/**
|
|
7701
7757
|
* Constructor for a new `CalendarDateInterval`.
|
|
7702
7758
|
*
|
|
@@ -7906,6 +7962,7 @@ declare module "sap/ui/unified/CalendarDateInterval" {
|
|
|
7906
7962
|
oStartDate: Date | UI5Date
|
|
7907
7963
|
): this;
|
|
7908
7964
|
}
|
|
7965
|
+
export default CalendarDateInterval;
|
|
7909
7966
|
|
|
7910
7967
|
export interface $CalendarDateIntervalSettings extends $CalendarSettings {
|
|
7911
7968
|
/**
|
|
@@ -7971,7 +8028,7 @@ declare module "sap/ui/unified/CalendarLegend" {
|
|
|
7971
8028
|
* - [Home], [Page Up] - Move to the first calendar legend item
|
|
7972
8029
|
* - [End], [Page Down] - Move to the last calendar legend item
|
|
7973
8030
|
*/
|
|
7974
|
-
|
|
8031
|
+
class CalendarLegend extends Control {
|
|
7975
8032
|
/**
|
|
7976
8033
|
* Constructor for a new CalendarLegend.
|
|
7977
8034
|
*
|
|
@@ -8166,6 +8223,7 @@ declare module "sap/ui/unified/CalendarLegend" {
|
|
|
8166
8223
|
sStandardItems?: string[]
|
|
8167
8224
|
): this;
|
|
8168
8225
|
}
|
|
8226
|
+
export default CalendarLegend;
|
|
8169
8227
|
|
|
8170
8228
|
export interface $CalendarLegendSettings extends $ControlSettings {
|
|
8171
8229
|
/**
|
|
@@ -8209,7 +8267,7 @@ declare module "sap/ui/unified/CalendarLegendItem" {
|
|
|
8209
8267
|
*
|
|
8210
8268
|
* Item to be displayed in a CalendarLegend.
|
|
8211
8269
|
*/
|
|
8212
|
-
|
|
8270
|
+
class CalendarLegendItem extends UI5Element {
|
|
8213
8271
|
/**
|
|
8214
8272
|
* Constructor for a new CalendarLegendItem.
|
|
8215
8273
|
*
|
|
@@ -8354,6 +8412,7 @@ declare module "sap/ui/unified/CalendarLegendItem" {
|
|
|
8354
8412
|
sType?: CalendarDayType | keyof typeof CalendarDayType
|
|
8355
8413
|
): this;
|
|
8356
8414
|
}
|
|
8415
|
+
export default CalendarLegendItem;
|
|
8357
8416
|
|
|
8358
8417
|
export interface $CalendarLegendItemSettings extends $ElementSettings {
|
|
8359
8418
|
/**
|
|
@@ -8414,7 +8473,7 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
|
|
|
8414
8473
|
* or as a special type. But the date part of the Date object is not used. If a Date object is returned
|
|
8415
8474
|
* the date will be set to the 1st of the corresponding month.
|
|
8416
8475
|
*/
|
|
8417
|
-
|
|
8476
|
+
class CalendarMonthInterval extends Control {
|
|
8418
8477
|
/**
|
|
8419
8478
|
* Constructor for a new `CalendarMonthInterval`.
|
|
8420
8479
|
*
|
|
@@ -8784,8 +8843,7 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
|
|
|
8784
8843
|
oDatetime: Date | UI5Date
|
|
8785
8844
|
): Calendar;
|
|
8786
8845
|
/**
|
|
8787
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
8788
|
-
* ariaLabelledBy}.
|
|
8846
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
8789
8847
|
*/
|
|
8790
8848
|
getAriaLabelledBy(): ID[];
|
|
8791
8849
|
/**
|
|
@@ -9155,6 +9213,7 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
|
|
|
9155
9213
|
sWidth?: CSSSize
|
|
9156
9214
|
): this;
|
|
9157
9215
|
}
|
|
9216
|
+
export default CalendarMonthInterval;
|
|
9158
9217
|
|
|
9159
9218
|
export interface $CalendarMonthIntervalSettings extends $ControlSettings {
|
|
9160
9219
|
/**
|
|
@@ -9273,6 +9332,12 @@ declare module "sap/ui/unified/CalendarMonthInterval" {
|
|
|
9273
9332
|
*/
|
|
9274
9333
|
startDateChange?: (oEvent: Event) => void;
|
|
9275
9334
|
}
|
|
9335
|
+
|
|
9336
|
+
export interface $CalendarMonthIntervalCancelEventParameters {}
|
|
9337
|
+
|
|
9338
|
+
export interface $CalendarMonthIntervalSelectEventParameters {}
|
|
9339
|
+
|
|
9340
|
+
export interface $CalendarMonthIntervalStartDateChangeEventParameters {}
|
|
9276
9341
|
}
|
|
9277
9342
|
|
|
9278
9343
|
declare module "sap/ui/unified/CalendarRow" {
|
|
@@ -9308,7 +9373,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9308
9373
|
*
|
|
9309
9374
|
* A calendar row with a header and appointments. The Appointments will be placed in the defined interval.
|
|
9310
9375
|
*/
|
|
9311
|
-
|
|
9376
|
+
class CalendarRow extends Control {
|
|
9312
9377
|
/**
|
|
9313
9378
|
* Constructor for a new `CalendarRow`.
|
|
9314
9379
|
*
|
|
@@ -9424,7 +9489,9 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9424
9489
|
/**
|
|
9425
9490
|
* The function to be called when the event occurs
|
|
9426
9491
|
*/
|
|
9427
|
-
fnFunction: (
|
|
9492
|
+
fnFunction: (
|
|
9493
|
+
p1: Event<$CalendarRowIntervalSelectEventParameters>
|
|
9494
|
+
) => void,
|
|
9428
9495
|
/**
|
|
9429
9496
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
|
|
9430
9497
|
*/
|
|
@@ -9447,7 +9514,9 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9447
9514
|
/**
|
|
9448
9515
|
* The function to be called when the event occurs
|
|
9449
9516
|
*/
|
|
9450
|
-
fnFunction: (
|
|
9517
|
+
fnFunction: (
|
|
9518
|
+
p1: Event<$CalendarRowIntervalSelectEventParameters>
|
|
9519
|
+
) => void,
|
|
9451
9520
|
/**
|
|
9452
9521
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
|
|
9453
9522
|
*/
|
|
@@ -9473,7 +9542,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9473
9542
|
/**
|
|
9474
9543
|
* The function to be called when the event occurs
|
|
9475
9544
|
*/
|
|
9476
|
-
fnFunction: (p1: Event) => void,
|
|
9545
|
+
fnFunction: (p1: Event<$CalendarRowLeaveRowEventParameters>) => void,
|
|
9477
9546
|
/**
|
|
9478
9547
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
|
|
9479
9548
|
*/
|
|
@@ -9494,7 +9563,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9494
9563
|
/**
|
|
9495
9564
|
* The function to be called when the event occurs
|
|
9496
9565
|
*/
|
|
9497
|
-
fnFunction: (p1: Event) => void,
|
|
9566
|
+
fnFunction: (p1: Event<$CalendarRowLeaveRowEventParameters>) => void,
|
|
9498
9567
|
/**
|
|
9499
9568
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
|
|
9500
9569
|
*/
|
|
@@ -9519,7 +9588,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9519
9588
|
/**
|
|
9520
9589
|
* The function to be called when the event occurs
|
|
9521
9590
|
*/
|
|
9522
|
-
fnFunction: (p1: Event) => void,
|
|
9591
|
+
fnFunction: (p1: Event<$CalendarRowSelectEventParameters>) => void,
|
|
9523
9592
|
/**
|
|
9524
9593
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
|
|
9525
9594
|
*/
|
|
@@ -9539,7 +9608,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9539
9608
|
/**
|
|
9540
9609
|
* The function to be called when the event occurs
|
|
9541
9610
|
*/
|
|
9542
|
-
fnFunction: (p1: Event) => void,
|
|
9611
|
+
fnFunction: (p1: Event<$CalendarRowSelectEventParameters>) => void,
|
|
9543
9612
|
/**
|
|
9544
9613
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.CalendarRow` itself
|
|
9545
9614
|
*/
|
|
@@ -9618,7 +9687,9 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9618
9687
|
/**
|
|
9619
9688
|
* The function to be called, when the event occurs
|
|
9620
9689
|
*/
|
|
9621
|
-
fnFunction: (
|
|
9690
|
+
fnFunction: (
|
|
9691
|
+
p1: Event<$CalendarRowIntervalSelectEventParameters>
|
|
9692
|
+
) => void,
|
|
9622
9693
|
/**
|
|
9623
9694
|
* Context object on which the given function had to be called
|
|
9624
9695
|
*/
|
|
@@ -9635,7 +9706,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9635
9706
|
/**
|
|
9636
9707
|
* The function to be called, when the event occurs
|
|
9637
9708
|
*/
|
|
9638
|
-
fnFunction: (p1: Event) => void,
|
|
9709
|
+
fnFunction: (p1: Event<$CalendarRowLeaveRowEventParameters>) => void,
|
|
9639
9710
|
/**
|
|
9640
9711
|
* Context object on which the given function had to be called
|
|
9641
9712
|
*/
|
|
@@ -9652,7 +9723,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9652
9723
|
/**
|
|
9653
9724
|
* The function to be called, when the event occurs
|
|
9654
9725
|
*/
|
|
9655
|
-
fnFunction: (p1: Event) => void,
|
|
9726
|
+
fnFunction: (p1: Event<$CalendarRowSelectEventParameters>) => void,
|
|
9656
9727
|
/**
|
|
9657
9728
|
* Context object on which the given function had to be called
|
|
9658
9729
|
*/
|
|
@@ -9688,20 +9759,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9688
9759
|
/**
|
|
9689
9760
|
* Parameters to pass along with the event
|
|
9690
9761
|
*/
|
|
9691
|
-
mParameters?:
|
|
9692
|
-
/**
|
|
9693
|
-
* Interval start date as UI5Date or JavaScript Date object
|
|
9694
|
-
*/
|
|
9695
|
-
startDate?: object;
|
|
9696
|
-
/**
|
|
9697
|
-
* Interval end date as UI5Date or JavaScript Date object
|
|
9698
|
-
*/
|
|
9699
|
-
endDate?: object;
|
|
9700
|
-
/**
|
|
9701
|
-
* If set, the selected interval is a subinterval
|
|
9702
|
-
*/
|
|
9703
|
-
subInterval?: boolean;
|
|
9704
|
-
}
|
|
9762
|
+
mParameters?: $CalendarRowIntervalSelectEventParameters
|
|
9705
9763
|
): this;
|
|
9706
9764
|
/**
|
|
9707
9765
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -9714,12 +9772,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9714
9772
|
/**
|
|
9715
9773
|
* Parameters to pass along with the event
|
|
9716
9774
|
*/
|
|
9717
|
-
mParameters?:
|
|
9718
|
-
/**
|
|
9719
|
-
* The type of the event that triggers this `leaveRow`
|
|
9720
|
-
*/
|
|
9721
|
-
type?: string;
|
|
9722
|
-
}
|
|
9775
|
+
mParameters?: $CalendarRowLeaveRowEventParameters
|
|
9723
9776
|
): this;
|
|
9724
9777
|
/**
|
|
9725
9778
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -9732,25 +9785,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9732
9785
|
/**
|
|
9733
9786
|
* Parameters to pass along with the event
|
|
9734
9787
|
*/
|
|
9735
|
-
mParameters?:
|
|
9736
|
-
/**
|
|
9737
|
-
* selected appointment
|
|
9738
|
-
*/
|
|
9739
|
-
appointment?: CalendarAppointment;
|
|
9740
|
-
/**
|
|
9741
|
-
* selected appointments in case a group appointment is selected
|
|
9742
|
-
*/
|
|
9743
|
-
appointments?: CalendarAppointment[];
|
|
9744
|
-
/**
|
|
9745
|
-
* If set, the appointment was selected by multiple selection (e.g. shift + mouse click). So more than the
|
|
9746
|
-
* current appointment could be selected.
|
|
9747
|
-
*/
|
|
9748
|
-
multiSelect?: boolean;
|
|
9749
|
-
/**
|
|
9750
|
-
* Gives the ID of the DOM element of the clicked appointment
|
|
9751
|
-
*/
|
|
9752
|
-
domRefId?: string;
|
|
9753
|
-
}
|
|
9788
|
+
mParameters?: $CalendarRowSelectEventParameters
|
|
9754
9789
|
): this;
|
|
9755
9790
|
/**
|
|
9756
9791
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -9858,8 +9893,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
9858
9893
|
| CalendarAppointmentVisualization
|
|
9859
9894
|
| keyof typeof CalendarAppointmentVisualization;
|
|
9860
9895
|
/**
|
|
9861
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
9862
|
-
* ariaLabelledBy}.
|
|
9896
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
9863
9897
|
*/
|
|
9864
9898
|
getAriaLabelledBy(): ID[];
|
|
9865
9899
|
/**
|
|
@@ -10088,8 +10122,8 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
10088
10122
|
oEvent: jQuery.Event
|
|
10089
10123
|
): this;
|
|
10090
10124
|
/**
|
|
10091
|
-
* Checks for the provided `sap.ui.unified.CalendarAppointment` in the aggregation {@link #getAppointments
|
|
10092
|
-
*
|
|
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.
|
|
10093
10127
|
*
|
|
10094
10128
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
10095
10129
|
*/
|
|
@@ -10100,8 +10134,8 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
10100
10134
|
oAppointment: CalendarAppointment
|
|
10101
10135
|
): int;
|
|
10102
10136
|
/**
|
|
10103
|
-
* Checks for the provided `sap.ui.unified.CalendarAppointment` in the aggregation {@link #getIntervalHeaders
|
|
10104
|
-
*
|
|
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.
|
|
10105
10139
|
*
|
|
10106
10140
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
10107
10141
|
*/
|
|
@@ -10598,6 +10632,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
10598
10632
|
*/
|
|
10599
10633
|
updateCurrentTimeVisualization(): this;
|
|
10600
10634
|
}
|
|
10635
|
+
export default CalendarRow;
|
|
10601
10636
|
|
|
10602
10637
|
export interface $CalendarRowSettings extends $ControlSettings {
|
|
10603
10638
|
/**
|
|
@@ -10818,7 +10853,7 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
10818
10853
|
/**
|
|
10819
10854
|
* Fired if an appointment was selected
|
|
10820
10855
|
*/
|
|
10821
|
-
select?: (oEvent: Event) => void;
|
|
10856
|
+
select?: (oEvent: Event<$CalendarRowSelectEventParameters>) => void;
|
|
10822
10857
|
|
|
10823
10858
|
/**
|
|
10824
10859
|
* `startDate` was changed while navigating in `CalendarRow`
|
|
@@ -10829,15 +10864,66 @@ declare module "sap/ui/unified/CalendarRow" {
|
|
|
10829
10864
|
* The `CalendarRow` should be left while navigating. (Arrow up or arrow down.) The caller should determine
|
|
10830
10865
|
* the next control to be focused
|
|
10831
10866
|
*/
|
|
10832
|
-
leaveRow?: (oEvent: Event) => void;
|
|
10867
|
+
leaveRow?: (oEvent: Event<$CalendarRowLeaveRowEventParameters>) => void;
|
|
10833
10868
|
|
|
10834
10869
|
/**
|
|
10835
10870
|
* @SINCE 1.38.0
|
|
10836
10871
|
*
|
|
10837
10872
|
* Fired if an interval was selected
|
|
10838
10873
|
*/
|
|
10839
|
-
intervalSelect?: (
|
|
10874
|
+
intervalSelect?: (
|
|
10875
|
+
oEvent: Event<$CalendarRowIntervalSelectEventParameters>
|
|
10876
|
+
) => void;
|
|
10840
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;
|
|
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 {}
|
|
10841
10927
|
}
|
|
10842
10928
|
|
|
10843
10929
|
declare module "sap/ui/unified/CalendarTimeInterval" {
|
|
@@ -10867,7 +10953,7 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
|
|
|
10867
10953
|
*
|
|
10868
10954
|
* Calendar with granularity of time items displayed in one line.
|
|
10869
10955
|
*/
|
|
10870
|
-
|
|
10956
|
+
class CalendarTimeInterval extends Control {
|
|
10871
10957
|
/**
|
|
10872
10958
|
* Constructor for a new `CalendarTimeInterval`.
|
|
10873
10959
|
*
|
|
@@ -11237,8 +11323,7 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
|
|
|
11237
11323
|
oDate: Date | UI5Date
|
|
11238
11324
|
): this;
|
|
11239
11325
|
/**
|
|
11240
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
11241
|
-
* ariaLabelledBy}.
|
|
11326
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
11242
11327
|
*/
|
|
11243
11328
|
getAriaLabelledBy(): ID[];
|
|
11244
11329
|
/**
|
|
@@ -11642,6 +11727,7 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
|
|
|
11642
11727
|
sWidth?: CSSSize
|
|
11643
11728
|
): this;
|
|
11644
11729
|
}
|
|
11730
|
+
export default CalendarTimeInterval;
|
|
11645
11731
|
|
|
11646
11732
|
export interface $CalendarTimeIntervalSettings extends $ControlSettings {
|
|
11647
11733
|
/**
|
|
@@ -11766,6 +11852,12 @@ declare module "sap/ui/unified/CalendarTimeInterval" {
|
|
|
11766
11852
|
*/
|
|
11767
11853
|
startDateChange?: (oEvent: Event) => void;
|
|
11768
11854
|
}
|
|
11855
|
+
|
|
11856
|
+
export interface $CalendarTimeIntervalCancelEventParameters {}
|
|
11857
|
+
|
|
11858
|
+
export interface $CalendarTimeIntervalSelectEventParameters {}
|
|
11859
|
+
|
|
11860
|
+
export interface $CalendarTimeIntervalStartDateChangeEventParameters {}
|
|
11769
11861
|
}
|
|
11770
11862
|
|
|
11771
11863
|
declare module "sap/ui/unified/ColorPicker" {
|
|
@@ -11790,7 +11882,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
11790
11882
|
* **Note:** Keep in mind that this control needs either `sap.m` or `sap.ui.commons` library to be loaded
|
|
11791
11883
|
* in order to work as it depends on controls available in one or the other library.
|
|
11792
11884
|
*/
|
|
11793
|
-
|
|
11885
|
+
class ColorPicker extends Control {
|
|
11794
11886
|
/**
|
|
11795
11887
|
* Constructor for a new `ColorPicker`.
|
|
11796
11888
|
*
|
|
@@ -11874,7 +11966,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
11874
11966
|
/**
|
|
11875
11967
|
* The function to be called when the event occurs
|
|
11876
11968
|
*/
|
|
11877
|
-
fnFunction: (p1: Event) => void,
|
|
11969
|
+
fnFunction: (p1: Event<$ColorPickerChangeEventParameters>) => void,
|
|
11878
11970
|
/**
|
|
11879
11971
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
|
|
11880
11972
|
*/
|
|
@@ -11898,7 +11990,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
11898
11990
|
/**
|
|
11899
11991
|
* The function to be called when the event occurs
|
|
11900
11992
|
*/
|
|
11901
|
-
fnFunction: (p1: Event) => void,
|
|
11993
|
+
fnFunction: (p1: Event<$ColorPickerChangeEventParameters>) => void,
|
|
11902
11994
|
/**
|
|
11903
11995
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
|
|
11904
11996
|
*/
|
|
@@ -11927,7 +12019,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
11927
12019
|
/**
|
|
11928
12020
|
* The function to be called when the event occurs
|
|
11929
12021
|
*/
|
|
11930
|
-
fnFunction: (p1: Event) => void,
|
|
12022
|
+
fnFunction: (p1: Event<$ColorPickerLiveChangeEventParameters>) => void,
|
|
11931
12023
|
/**
|
|
11932
12024
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
|
|
11933
12025
|
*/
|
|
@@ -11951,7 +12043,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
11951
12043
|
/**
|
|
11952
12044
|
* The function to be called when the event occurs
|
|
11953
12045
|
*/
|
|
11954
|
-
fnFunction: (p1: Event) => void,
|
|
12046
|
+
fnFunction: (p1: Event<$ColorPickerLiveChangeEventParameters>) => void,
|
|
11955
12047
|
/**
|
|
11956
12048
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPicker` itself
|
|
11957
12049
|
*/
|
|
@@ -11970,7 +12062,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
11970
12062
|
/**
|
|
11971
12063
|
* The function to be called, when the event occurs
|
|
11972
12064
|
*/
|
|
11973
|
-
fnFunction: (p1: Event) => void,
|
|
12065
|
+
fnFunction: (p1: Event<$ColorPickerChangeEventParameters>) => void,
|
|
11974
12066
|
/**
|
|
11975
12067
|
* Context object on which the given function had to be called
|
|
11976
12068
|
*/
|
|
@@ -11989,7 +12081,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
11989
12081
|
/**
|
|
11990
12082
|
* The function to be called, when the event occurs
|
|
11991
12083
|
*/
|
|
11992
|
-
fnFunction: (p1: Event) => void,
|
|
12084
|
+
fnFunction: (p1: Event<$ColorPickerLiveChangeEventParameters>) => void,
|
|
11993
12085
|
/**
|
|
11994
12086
|
* Context object on which the given function had to be called
|
|
11995
12087
|
*/
|
|
@@ -12007,44 +12099,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
12007
12099
|
/**
|
|
12008
12100
|
* Parameters to pass along with the event
|
|
12009
12101
|
*/
|
|
12010
|
-
mParameters?:
|
|
12011
|
-
/**
|
|
12012
|
-
* Parameter containing the RED value (0-255).
|
|
12013
|
-
*/
|
|
12014
|
-
r?: int;
|
|
12015
|
-
/**
|
|
12016
|
-
* Parameter containing the GREEN value (0-255).
|
|
12017
|
-
*/
|
|
12018
|
-
g?: int;
|
|
12019
|
-
/**
|
|
12020
|
-
* Parameter containing the BLUE value (0-255).
|
|
12021
|
-
*/
|
|
12022
|
-
b?: int;
|
|
12023
|
-
/**
|
|
12024
|
-
* Parameter containing the HUE value (0-360).
|
|
12025
|
-
*/
|
|
12026
|
-
h?: int;
|
|
12027
|
-
/**
|
|
12028
|
-
* Parameter containing the SATURATION value (0-100).
|
|
12029
|
-
*/
|
|
12030
|
-
s?: int;
|
|
12031
|
-
/**
|
|
12032
|
-
* Parameter containing the VALUE value (0-100).
|
|
12033
|
-
*/
|
|
12034
|
-
v?: int;
|
|
12035
|
-
/**
|
|
12036
|
-
* Parameter containing the LIGHTNESS value (0-100).
|
|
12037
|
-
*/
|
|
12038
|
-
l?: int;
|
|
12039
|
-
/**
|
|
12040
|
-
* Parameter containing the Hexadecimal string (#FFFFFF).
|
|
12041
|
-
*/
|
|
12042
|
-
hex?: string;
|
|
12043
|
-
/**
|
|
12044
|
-
* Parameter containing the alpha value (transparency).
|
|
12045
|
-
*/
|
|
12046
|
-
alpha?: string;
|
|
12047
|
-
}
|
|
12102
|
+
mParameters?: $ColorPickerChangeEventParameters
|
|
12048
12103
|
): this;
|
|
12049
12104
|
/**
|
|
12050
12105
|
* @SINCE 1.48.0
|
|
@@ -12058,44 +12113,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
12058
12113
|
/**
|
|
12059
12114
|
* Parameters to pass along with the event
|
|
12060
12115
|
*/
|
|
12061
|
-
mParameters?:
|
|
12062
|
-
/**
|
|
12063
|
-
* Parameter containing the RED value (0-255).
|
|
12064
|
-
*/
|
|
12065
|
-
r?: int;
|
|
12066
|
-
/**
|
|
12067
|
-
* Parameter containing the GREEN value (0-255).
|
|
12068
|
-
*/
|
|
12069
|
-
g?: int;
|
|
12070
|
-
/**
|
|
12071
|
-
* Parameter containing the BLUE value (0-255).
|
|
12072
|
-
*/
|
|
12073
|
-
b?: int;
|
|
12074
|
-
/**
|
|
12075
|
-
* Parameter containing the HUE value (0-360).
|
|
12076
|
-
*/
|
|
12077
|
-
h?: int;
|
|
12078
|
-
/**
|
|
12079
|
-
* Parameter containing the SATURATION value (0-100).
|
|
12080
|
-
*/
|
|
12081
|
-
s?: int;
|
|
12082
|
-
/**
|
|
12083
|
-
* Parameter containing the VALUE value (0-100).
|
|
12084
|
-
*/
|
|
12085
|
-
v?: int;
|
|
12086
|
-
/**
|
|
12087
|
-
* Parameter containing the LIGHTNESS value (0-100).
|
|
12088
|
-
*/
|
|
12089
|
-
l?: int;
|
|
12090
|
-
/**
|
|
12091
|
-
* Parameter containing the Hexadecimal string (#FFFFFF).
|
|
12092
|
-
*/
|
|
12093
|
-
hex?: string;
|
|
12094
|
-
/**
|
|
12095
|
-
* Parameter containing the alpha value (transparency).
|
|
12096
|
-
*/
|
|
12097
|
-
alpha?: string;
|
|
12098
|
-
}
|
|
12116
|
+
mParameters?: $ColorPickerLiveChangeEventParameters
|
|
12099
12117
|
): this;
|
|
12100
12118
|
/**
|
|
12101
12119
|
* @SINCE 1.48.0
|
|
@@ -12214,6 +12232,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
12214
12232
|
bSuppressInvalidate: boolean
|
|
12215
12233
|
): void;
|
|
12216
12234
|
}
|
|
12235
|
+
export default ColorPicker;
|
|
12217
12236
|
|
|
12218
12237
|
export interface $ColorPickerSettings extends $ControlSettings {
|
|
12219
12238
|
/**
|
|
@@ -12259,7 +12278,7 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
12259
12278
|
*
|
|
12260
12279
|
* **Note:** When the user action is mouse dragging, the `change` event fires on the mouseup event.
|
|
12261
12280
|
*/
|
|
12262
|
-
change?: (oEvent: Event) => void;
|
|
12281
|
+
change?: (oEvent: Event<$ColorPickerChangeEventParameters>) => void;
|
|
12263
12282
|
|
|
12264
12283
|
/**
|
|
12265
12284
|
* @SINCE 1.48.0
|
|
@@ -12268,7 +12287,101 @@ declare module "sap/ui/unified/ColorPicker" {
|
|
|
12268
12287
|
*
|
|
12269
12288
|
* **Note:** When the user action is mouse move, the `liveChange` event is fired during the mousedown event.
|
|
12270
12289
|
*/
|
|
12271
|
-
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;
|
|
12272
12385
|
}
|
|
12273
12386
|
}
|
|
12274
12387
|
|
|
@@ -12313,7 +12426,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12313
12426
|
*
|
|
12314
12427
|
* A thin wrapper over {@link sap.ui.unified.ColorPicker} allowing the latter to be used in a popover.
|
|
12315
12428
|
*/
|
|
12316
|
-
|
|
12429
|
+
class ColorPickerPopover extends Control {
|
|
12317
12430
|
/**
|
|
12318
12431
|
* Constructor for a new `ColorPickerPopover`.
|
|
12319
12432
|
*
|
|
@@ -12395,7 +12508,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12395
12508
|
/**
|
|
12396
12509
|
* The function to be called when the event occurs
|
|
12397
12510
|
*/
|
|
12398
|
-
fnFunction: (p1: Event) => void,
|
|
12511
|
+
fnFunction: (p1: Event<$ColorPickerPopoverChangeEventParameters>) => void,
|
|
12399
12512
|
/**
|
|
12400
12513
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
|
|
12401
12514
|
*/
|
|
@@ -12417,7 +12530,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12417
12530
|
/**
|
|
12418
12531
|
* The function to be called when the event occurs
|
|
12419
12532
|
*/
|
|
12420
|
-
fnFunction: (p1: Event) => void,
|
|
12533
|
+
fnFunction: (p1: Event<$ColorPickerPopoverChangeEventParameters>) => void,
|
|
12421
12534
|
/**
|
|
12422
12535
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
|
|
12423
12536
|
*/
|
|
@@ -12444,7 +12557,9 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12444
12557
|
/**
|
|
12445
12558
|
* The function to be called when the event occurs
|
|
12446
12559
|
*/
|
|
12447
|
-
fnFunction: (
|
|
12560
|
+
fnFunction: (
|
|
12561
|
+
p1: Event<$ColorPickerPopoverLiveChangeEventParameters>
|
|
12562
|
+
) => void,
|
|
12448
12563
|
/**
|
|
12449
12564
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
|
|
12450
12565
|
*/
|
|
@@ -12466,7 +12581,9 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12466
12581
|
/**
|
|
12467
12582
|
* The function to be called when the event occurs
|
|
12468
12583
|
*/
|
|
12469
|
-
fnFunction: (
|
|
12584
|
+
fnFunction: (
|
|
12585
|
+
p1: Event<$ColorPickerPopoverLiveChangeEventParameters>
|
|
12586
|
+
) => void,
|
|
12470
12587
|
/**
|
|
12471
12588
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.ColorPickerPopover` itself
|
|
12472
12589
|
*/
|
|
@@ -12489,7 +12606,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12489
12606
|
/**
|
|
12490
12607
|
* The function to be called, when the event occurs
|
|
12491
12608
|
*/
|
|
12492
|
-
fnFunction: (p1: Event) => void,
|
|
12609
|
+
fnFunction: (p1: Event<$ColorPickerPopoverChangeEventParameters>) => void,
|
|
12493
12610
|
/**
|
|
12494
12611
|
* Context object on which the given function had to be called
|
|
12495
12612
|
*/
|
|
@@ -12508,7 +12625,9 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12508
12625
|
/**
|
|
12509
12626
|
* The function to be called, when the event occurs
|
|
12510
12627
|
*/
|
|
12511
|
-
fnFunction: (
|
|
12628
|
+
fnFunction: (
|
|
12629
|
+
p1: Event<$ColorPickerPopoverLiveChangeEventParameters>
|
|
12630
|
+
) => void,
|
|
12512
12631
|
/**
|
|
12513
12632
|
* Context object on which the given function had to be called
|
|
12514
12633
|
*/
|
|
@@ -12526,44 +12645,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12526
12645
|
/**
|
|
12527
12646
|
* Parameters to pass along with the event
|
|
12528
12647
|
*/
|
|
12529
|
-
mParameters?:
|
|
12530
|
-
/**
|
|
12531
|
-
* Parameter containing the RED value (0-255).
|
|
12532
|
-
*/
|
|
12533
|
-
r?: int;
|
|
12534
|
-
/**
|
|
12535
|
-
* Parameter containing the GREEN value (0-255).
|
|
12536
|
-
*/
|
|
12537
|
-
g?: int;
|
|
12538
|
-
/**
|
|
12539
|
-
* Parameter containing the BLUE value (0-255).
|
|
12540
|
-
*/
|
|
12541
|
-
b?: int;
|
|
12542
|
-
/**
|
|
12543
|
-
* Parameter containing the HUE value (0-360).
|
|
12544
|
-
*/
|
|
12545
|
-
h?: int;
|
|
12546
|
-
/**
|
|
12547
|
-
* Parameter containing the SATURATION value (0-100).
|
|
12548
|
-
*/
|
|
12549
|
-
s?: int;
|
|
12550
|
-
/**
|
|
12551
|
-
* Parameter containing the VALUE value (0-100).
|
|
12552
|
-
*/
|
|
12553
|
-
v?: int;
|
|
12554
|
-
/**
|
|
12555
|
-
* Parameter containing the LIGHTNESS value (0-100).
|
|
12556
|
-
*/
|
|
12557
|
-
l?: int;
|
|
12558
|
-
/**
|
|
12559
|
-
* Parameter containing the Hexadecimal string (#FFFFFF).
|
|
12560
|
-
*/
|
|
12561
|
-
hex?: string;
|
|
12562
|
-
/**
|
|
12563
|
-
* Parameter containing the alpha value (transparency).
|
|
12564
|
-
*/
|
|
12565
|
-
alpha?: string;
|
|
12566
|
-
}
|
|
12648
|
+
mParameters?: $ColorPickerPopoverChangeEventParameters
|
|
12567
12649
|
): this;
|
|
12568
12650
|
/**
|
|
12569
12651
|
* @SINCE 1.85
|
|
@@ -12577,44 +12659,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12577
12659
|
/**
|
|
12578
12660
|
* Parameters to pass along with the event
|
|
12579
12661
|
*/
|
|
12580
|
-
mParameters?:
|
|
12581
|
-
/**
|
|
12582
|
-
* Parameter containing the RED value (0-255).
|
|
12583
|
-
*/
|
|
12584
|
-
r?: int;
|
|
12585
|
-
/**
|
|
12586
|
-
* Parameter containing the GREEN value (0-255).
|
|
12587
|
-
*/
|
|
12588
|
-
g?: int;
|
|
12589
|
-
/**
|
|
12590
|
-
* Parameter containing the BLUE value (0-255).
|
|
12591
|
-
*/
|
|
12592
|
-
b?: int;
|
|
12593
|
-
/**
|
|
12594
|
-
* Parameter containing the HUE value (0-360).
|
|
12595
|
-
*/
|
|
12596
|
-
h?: int;
|
|
12597
|
-
/**
|
|
12598
|
-
* Parameter containing the SATURATION value (0-100).
|
|
12599
|
-
*/
|
|
12600
|
-
s?: int;
|
|
12601
|
-
/**
|
|
12602
|
-
* Parameter containing the VALUE value (0-100).
|
|
12603
|
-
*/
|
|
12604
|
-
v?: int;
|
|
12605
|
-
/**
|
|
12606
|
-
* Parameter containing the LIGHTNESS value (0-100).
|
|
12607
|
-
*/
|
|
12608
|
-
l?: int;
|
|
12609
|
-
/**
|
|
12610
|
-
* Parameter containing the Hexadecimal string (#FFFFFF).
|
|
12611
|
-
*/
|
|
12612
|
-
hex?: string;
|
|
12613
|
-
/**
|
|
12614
|
-
* Parameter containing the alpha value (transparency).
|
|
12615
|
-
*/
|
|
12616
|
-
alpha?: string;
|
|
12617
|
-
}
|
|
12662
|
+
mParameters?: $ColorPickerPopoverLiveChangeEventParameters
|
|
12618
12663
|
): this;
|
|
12619
12664
|
/**
|
|
12620
12665
|
* @SINCE 1.60.0
|
|
@@ -12734,6 +12779,7 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12734
12779
|
sMode?: ColorPickerMode | keyof typeof ColorPickerMode
|
|
12735
12780
|
): this;
|
|
12736
12781
|
}
|
|
12782
|
+
export default ColorPickerPopover;
|
|
12737
12783
|
|
|
12738
12784
|
export interface $ColorPickerPopoverSettings extends $ControlSettings {
|
|
12739
12785
|
/**
|
|
@@ -12773,14 +12819,110 @@ declare module "sap/ui/unified/ColorPickerPopover" {
|
|
|
12773
12819
|
*
|
|
12774
12820
|
* Fired when the submit button of the popover is clicked.
|
|
12775
12821
|
*/
|
|
12776
|
-
change?: (oEvent: Event) => void;
|
|
12822
|
+
change?: (oEvent: Event<$ColorPickerPopoverChangeEventParameters>) => void;
|
|
12777
12823
|
|
|
12778
12824
|
/**
|
|
12779
12825
|
* @SINCE 1.85
|
|
12780
12826
|
*
|
|
12781
12827
|
* Fired when the value is changed by user interaction in the internal ColorPicker
|
|
12782
12828
|
*/
|
|
12783
|
-
liveChange?: (
|
|
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;
|
|
12784
12926
|
}
|
|
12785
12927
|
}
|
|
12786
12928
|
|
|
@@ -12801,7 +12943,7 @@ declare module "sap/ui/unified/ContentSwitcher" {
|
|
|
12801
12943
|
*
|
|
12802
12944
|
* Switches between two control areas and animates it via CSS transitions
|
|
12803
12945
|
*/
|
|
12804
|
-
|
|
12946
|
+
class ContentSwitcher extends Control {
|
|
12805
12947
|
/**
|
|
12806
12948
|
* Constructor for a new ContentSwitcher.
|
|
12807
12949
|
*
|
|
@@ -13070,6 +13212,7 @@ declare module "sap/ui/unified/ContentSwitcher" {
|
|
|
13070
13212
|
*/
|
|
13071
13213
|
switchContent(): void;
|
|
13072
13214
|
}
|
|
13215
|
+
export default ContentSwitcher;
|
|
13073
13216
|
|
|
13074
13217
|
export interface $ContentSwitcherSettings extends $ControlSettings {
|
|
13075
13218
|
/**
|
|
@@ -13123,13 +13266,13 @@ declare module "sap/ui/unified/Currency" {
|
|
|
13123
13266
|
*
|
|
13124
13267
|
* When to use
|
|
13125
13268
|
* - To display amounts with different currencies in a vertical layout, such as in a table, list, or form,
|
|
13126
|
-
*
|
|
13269
|
+
* and it is important that the user is able to compare the amounts.
|
|
13127
13270
|
*
|
|
13128
13271
|
* When not to use
|
|
13129
13272
|
* - To display amounts with the same currency in a table. Use the {@link sap.m.ObjectNumber} instead.
|
|
13130
13273
|
*
|
|
13131
|
-
* - to display a number with a unit of measurement that is not a currency. Use the {@link sap.m.ObjectNumber}
|
|
13132
|
-
*
|
|
13274
|
+
* - to display a number with a unit of measurement that is not a currency. Use the {@link sap.m.ObjectNumber }
|
|
13275
|
+
* instead.
|
|
13133
13276
|
* - To display an amount in a structure other than a list, table, or form.
|
|
13134
13277
|
*
|
|
13135
13278
|
* Responsive behavior:
|
|
@@ -13138,7 +13281,7 @@ declare module "sap/ui/unified/Currency" {
|
|
|
13138
13281
|
* mode. For larger amounts, the unit of measurement wraps to the next line, which makes it difficult to
|
|
13139
13282
|
* compare the amounts.
|
|
13140
13283
|
*/
|
|
13141
|
-
|
|
13284
|
+
class Currency extends Control {
|
|
13142
13285
|
/**
|
|
13143
13286
|
* Constructor for a new `Currency`.
|
|
13144
13287
|
*
|
|
@@ -13332,6 +13475,7 @@ declare module "sap/ui/unified/Currency" {
|
|
|
13332
13475
|
sStringValue?: string
|
|
13333
13476
|
): this;
|
|
13334
13477
|
}
|
|
13478
|
+
export default Currency;
|
|
13335
13479
|
|
|
13336
13480
|
export interface $CurrencySettings extends $ControlSettings {
|
|
13337
13481
|
/**
|
|
@@ -13396,7 +13540,7 @@ declare module "sap/ui/unified/DateRange" {
|
|
|
13396
13540
|
*
|
|
13397
13541
|
* Date range for use in DatePicker
|
|
13398
13542
|
*/
|
|
13399
|
-
|
|
13543
|
+
class DateRange extends UI5Element {
|
|
13400
13544
|
/**
|
|
13401
13545
|
* Constructor for a new DateRange.
|
|
13402
13546
|
*
|
|
@@ -13505,6 +13649,7 @@ declare module "sap/ui/unified/DateRange" {
|
|
|
13505
13649
|
bInvalidate?: boolean
|
|
13506
13650
|
): this;
|
|
13507
13651
|
}
|
|
13652
|
+
export default DateRange;
|
|
13508
13653
|
|
|
13509
13654
|
export interface $DateRangeSettings extends $ElementSettings {
|
|
13510
13655
|
/**
|
|
@@ -13539,7 +13684,7 @@ declare module "sap/ui/unified/DateTypeRange" {
|
|
|
13539
13684
|
*
|
|
13540
13685
|
* Date range with calendar day type information. Used to visualize special days in the Calendar.
|
|
13541
13686
|
*/
|
|
13542
|
-
|
|
13687
|
+
class DateTypeRange extends DateRange {
|
|
13543
13688
|
/**
|
|
13544
13689
|
* Constructor for a new DateTypeRange.
|
|
13545
13690
|
*
|
|
@@ -13692,6 +13837,7 @@ declare module "sap/ui/unified/DateTypeRange" {
|
|
|
13692
13837
|
sType?: CalendarDayType | keyof typeof CalendarDayType
|
|
13693
13838
|
): this;
|
|
13694
13839
|
}
|
|
13840
|
+
export default DateTypeRange;
|
|
13695
13841
|
|
|
13696
13842
|
export interface $DateTypeRangeSettings extends $DateRangeSettings {
|
|
13697
13843
|
/**
|
|
@@ -13758,7 +13904,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
13758
13904
|
* with explicit calls, adjustable control sizes, text display after uploads, or tooltips containing complete
|
|
13759
13905
|
* file paths.
|
|
13760
13906
|
*/
|
|
13761
|
-
|
|
13907
|
+
class FileUploader
|
|
13762
13908
|
extends Control
|
|
13763
13909
|
implements IFormContent, IProcessableBlobs {
|
|
13764
13910
|
__implements__sap_ui_core_IFormContent: boolean;
|
|
@@ -14018,7 +14164,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14018
14164
|
/**
|
|
14019
14165
|
* The function to be called when the event occurs
|
|
14020
14166
|
*/
|
|
14021
|
-
fnFunction: (p1: Event) => void,
|
|
14167
|
+
fnFunction: (p1: Event<$FileUploaderChangeEventParameters>) => void,
|
|
14022
14168
|
/**
|
|
14023
14169
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14024
14170
|
*/
|
|
@@ -14041,7 +14187,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14041
14187
|
/**
|
|
14042
14188
|
* The function to be called when the event occurs
|
|
14043
14189
|
*/
|
|
14044
|
-
fnFunction: (p1: Event) => void,
|
|
14190
|
+
fnFunction: (p1: Event<$FileUploaderChangeEventParameters>) => void,
|
|
14045
14191
|
/**
|
|
14046
14192
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14047
14193
|
*/
|
|
@@ -14111,7 +14257,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14111
14257
|
/**
|
|
14112
14258
|
* The function to be called when the event occurs
|
|
14113
14259
|
*/
|
|
14114
|
-
fnFunction: (p1: Event) => void,
|
|
14260
|
+
fnFunction: (p1: Event<$FileUploaderFileEmptyEventParameters>) => void,
|
|
14115
14261
|
/**
|
|
14116
14262
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14117
14263
|
*/
|
|
@@ -14131,7 +14277,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14131
14277
|
/**
|
|
14132
14278
|
* The function to be called when the event occurs
|
|
14133
14279
|
*/
|
|
14134
|
-
fnFunction: (p1: Event) => void,
|
|
14280
|
+
fnFunction: (p1: Event<$FileUploaderFileEmptyEventParameters>) => void,
|
|
14135
14281
|
/**
|
|
14136
14282
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14137
14283
|
*/
|
|
@@ -14160,7 +14306,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14160
14306
|
/**
|
|
14161
14307
|
* The function to be called when the event occurs
|
|
14162
14308
|
*/
|
|
14163
|
-
fnFunction: (
|
|
14309
|
+
fnFunction: (
|
|
14310
|
+
p1: Event<$FileUploaderFilenameLengthExceedEventParameters>
|
|
14311
|
+
) => void,
|
|
14164
14312
|
/**
|
|
14165
14313
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14166
14314
|
*/
|
|
@@ -14184,7 +14332,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14184
14332
|
/**
|
|
14185
14333
|
* The function to be called when the event occurs
|
|
14186
14334
|
*/
|
|
14187
|
-
fnFunction: (
|
|
14335
|
+
fnFunction: (
|
|
14336
|
+
p1: Event<$FileUploaderFilenameLengthExceedEventParameters>
|
|
14337
|
+
) => void,
|
|
14188
14338
|
/**
|
|
14189
14339
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14190
14340
|
*/
|
|
@@ -14211,7 +14361,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14211
14361
|
/**
|
|
14212
14362
|
* The function to be called when the event occurs
|
|
14213
14363
|
*/
|
|
14214
|
-
fnFunction: (
|
|
14364
|
+
fnFunction: (
|
|
14365
|
+
p1: Event<$FileUploaderFileSizeExceedEventParameters>
|
|
14366
|
+
) => void,
|
|
14215
14367
|
/**
|
|
14216
14368
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14217
14369
|
*/
|
|
@@ -14233,7 +14385,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14233
14385
|
/**
|
|
14234
14386
|
* The function to be called when the event occurs
|
|
14235
14387
|
*/
|
|
14236
|
-
fnFunction: (
|
|
14388
|
+
fnFunction: (
|
|
14389
|
+
p1: Event<$FileUploaderFileSizeExceedEventParameters>
|
|
14390
|
+
) => void,
|
|
14237
14391
|
/**
|
|
14238
14392
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14239
14393
|
*/
|
|
@@ -14258,7 +14412,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14258
14412
|
/**
|
|
14259
14413
|
* The function to be called when the event occurs
|
|
14260
14414
|
*/
|
|
14261
|
-
fnFunction: (
|
|
14415
|
+
fnFunction: (
|
|
14416
|
+
p1: Event<$FileUploaderTypeMissmatchEventParameters>
|
|
14417
|
+
) => void,
|
|
14262
14418
|
/**
|
|
14263
14419
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14264
14420
|
*/
|
|
@@ -14278,7 +14434,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14278
14434
|
/**
|
|
14279
14435
|
* The function to be called when the event occurs
|
|
14280
14436
|
*/
|
|
14281
|
-
fnFunction: (
|
|
14437
|
+
fnFunction: (
|
|
14438
|
+
p1: Event<$FileUploaderTypeMissmatchEventParameters>
|
|
14439
|
+
) => void,
|
|
14282
14440
|
/**
|
|
14283
14441
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14284
14442
|
*/
|
|
@@ -14308,7 +14466,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14308
14466
|
/**
|
|
14309
14467
|
* The function to be called when the event occurs
|
|
14310
14468
|
*/
|
|
14311
|
-
fnFunction: (
|
|
14469
|
+
fnFunction: (
|
|
14470
|
+
p1: Event<$FileUploaderUploadAbortedEventParameters>
|
|
14471
|
+
) => void,
|
|
14312
14472
|
/**
|
|
14313
14473
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14314
14474
|
*/
|
|
@@ -14333,7 +14493,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14333
14493
|
/**
|
|
14334
14494
|
* The function to be called when the event occurs
|
|
14335
14495
|
*/
|
|
14336
|
-
fnFunction: (
|
|
14496
|
+
fnFunction: (
|
|
14497
|
+
p1: Event<$FileUploaderUploadAbortedEventParameters>
|
|
14498
|
+
) => void,
|
|
14337
14499
|
/**
|
|
14338
14500
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14339
14501
|
*/
|
|
@@ -14363,7 +14525,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14363
14525
|
/**
|
|
14364
14526
|
* The function to be called when the event occurs
|
|
14365
14527
|
*/
|
|
14366
|
-
fnFunction: (
|
|
14528
|
+
fnFunction: (
|
|
14529
|
+
p1: Event<$FileUploaderUploadCompleteEventParameters>
|
|
14530
|
+
) => void,
|
|
14367
14531
|
/**
|
|
14368
14532
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14369
14533
|
*/
|
|
@@ -14388,7 +14552,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14388
14552
|
/**
|
|
14389
14553
|
* The function to be called when the event occurs
|
|
14390
14554
|
*/
|
|
14391
|
-
fnFunction: (
|
|
14555
|
+
fnFunction: (
|
|
14556
|
+
p1: Event<$FileUploaderUploadCompleteEventParameters>
|
|
14557
|
+
) => void,
|
|
14392
14558
|
/**
|
|
14393
14559
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14394
14560
|
*/
|
|
@@ -14422,7 +14588,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14422
14588
|
/**
|
|
14423
14589
|
* The function to be called when the event occurs
|
|
14424
14590
|
*/
|
|
14425
|
-
fnFunction: (
|
|
14591
|
+
fnFunction: (
|
|
14592
|
+
p1: Event<$FileUploaderUploadProgressEventParameters>
|
|
14593
|
+
) => void,
|
|
14426
14594
|
/**
|
|
14427
14595
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14428
14596
|
*/
|
|
@@ -14451,7 +14619,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14451
14619
|
/**
|
|
14452
14620
|
* The function to be called when the event occurs
|
|
14453
14621
|
*/
|
|
14454
|
-
fnFunction: (
|
|
14622
|
+
fnFunction: (
|
|
14623
|
+
p1: Event<$FileUploaderUploadProgressEventParameters>
|
|
14624
|
+
) => void,
|
|
14455
14625
|
/**
|
|
14456
14626
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14457
14627
|
*/
|
|
@@ -14478,7 +14648,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14478
14648
|
/**
|
|
14479
14649
|
* The function to be called when the event occurs
|
|
14480
14650
|
*/
|
|
14481
|
-
fnFunction: (p1: Event) => void,
|
|
14651
|
+
fnFunction: (p1: Event<$FileUploaderUploadStartEventParameters>) => void,
|
|
14482
14652
|
/**
|
|
14483
14653
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14484
14654
|
*/
|
|
@@ -14500,7 +14670,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14500
14670
|
/**
|
|
14501
14671
|
* The function to be called when the event occurs
|
|
14502
14672
|
*/
|
|
14503
|
-
fnFunction: (p1: Event) => void,
|
|
14673
|
+
fnFunction: (p1: Event<$FileUploaderUploadStartEventParameters>) => void,
|
|
14504
14674
|
/**
|
|
14505
14675
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.FileUploader` itself
|
|
14506
14676
|
*/
|
|
@@ -14596,7 +14766,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14596
14766
|
/**
|
|
14597
14767
|
* The function to be called, when the event occurs
|
|
14598
14768
|
*/
|
|
14599
|
-
fnFunction: (p1: Event) => void,
|
|
14769
|
+
fnFunction: (p1: Event<$FileUploaderChangeEventParameters>) => void,
|
|
14600
14770
|
/**
|
|
14601
14771
|
* Context object on which the given function had to be called
|
|
14602
14772
|
*/
|
|
@@ -14630,7 +14800,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14630
14800
|
/**
|
|
14631
14801
|
* The function to be called, when the event occurs
|
|
14632
14802
|
*/
|
|
14633
|
-
fnFunction: (p1: Event) => void,
|
|
14803
|
+
fnFunction: (p1: Event<$FileUploaderFileEmptyEventParameters>) => void,
|
|
14634
14804
|
/**
|
|
14635
14805
|
* Context object on which the given function had to be called
|
|
14636
14806
|
*/
|
|
@@ -14639,7 +14809,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14639
14809
|
/**
|
|
14640
14810
|
* @SINCE 1.24.0
|
|
14641
14811
|
*
|
|
14642
|
-
* Detaches event handler `fnFunction` from the {@link #event:filenameLengthExceed filenameLengthExceed}
|
|
14812
|
+
* Detaches event handler `fnFunction` from the {@link #event:filenameLengthExceed filenameLengthExceed }
|
|
14643
14813
|
* event of this `sap.ui.unified.FileUploader`.
|
|
14644
14814
|
*
|
|
14645
14815
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -14650,7 +14820,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14650
14820
|
/**
|
|
14651
14821
|
* The function to be called, when the event occurs
|
|
14652
14822
|
*/
|
|
14653
|
-
fnFunction: (
|
|
14823
|
+
fnFunction: (
|
|
14824
|
+
p1: Event<$FileUploaderFilenameLengthExceedEventParameters>
|
|
14825
|
+
) => void,
|
|
14654
14826
|
/**
|
|
14655
14827
|
* Context object on which the given function had to be called
|
|
14656
14828
|
*/
|
|
@@ -14668,7 +14840,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14668
14840
|
/**
|
|
14669
14841
|
* The function to be called, when the event occurs
|
|
14670
14842
|
*/
|
|
14671
|
-
fnFunction: (
|
|
14843
|
+
fnFunction: (
|
|
14844
|
+
p1: Event<$FileUploaderFileSizeExceedEventParameters>
|
|
14845
|
+
) => void,
|
|
14672
14846
|
/**
|
|
14673
14847
|
* Context object on which the given function had to be called
|
|
14674
14848
|
*/
|
|
@@ -14686,7 +14860,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14686
14860
|
/**
|
|
14687
14861
|
* The function to be called, when the event occurs
|
|
14688
14862
|
*/
|
|
14689
|
-
fnFunction: (
|
|
14863
|
+
fnFunction: (
|
|
14864
|
+
p1: Event<$FileUploaderTypeMissmatchEventParameters>
|
|
14865
|
+
) => void,
|
|
14690
14866
|
/**
|
|
14691
14867
|
* Context object on which the given function had to be called
|
|
14692
14868
|
*/
|
|
@@ -14706,7 +14882,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14706
14882
|
/**
|
|
14707
14883
|
* The function to be called, when the event occurs
|
|
14708
14884
|
*/
|
|
14709
|
-
fnFunction: (
|
|
14885
|
+
fnFunction: (
|
|
14886
|
+
p1: Event<$FileUploaderUploadAbortedEventParameters>
|
|
14887
|
+
) => void,
|
|
14710
14888
|
/**
|
|
14711
14889
|
* Context object on which the given function had to be called
|
|
14712
14890
|
*/
|
|
@@ -14724,7 +14902,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14724
14902
|
/**
|
|
14725
14903
|
* The function to be called, when the event occurs
|
|
14726
14904
|
*/
|
|
14727
|
-
fnFunction: (
|
|
14905
|
+
fnFunction: (
|
|
14906
|
+
p1: Event<$FileUploaderUploadCompleteEventParameters>
|
|
14907
|
+
) => void,
|
|
14728
14908
|
/**
|
|
14729
14909
|
* Context object on which the given function had to be called
|
|
14730
14910
|
*/
|
|
@@ -14744,7 +14924,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14744
14924
|
/**
|
|
14745
14925
|
* The function to be called, when the event occurs
|
|
14746
14926
|
*/
|
|
14747
|
-
fnFunction: (
|
|
14927
|
+
fnFunction: (
|
|
14928
|
+
p1: Event<$FileUploaderUploadProgressEventParameters>
|
|
14929
|
+
) => void,
|
|
14748
14930
|
/**
|
|
14749
14931
|
* Context object on which the given function had to be called
|
|
14750
14932
|
*/
|
|
@@ -14763,7 +14945,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14763
14945
|
/**
|
|
14764
14946
|
* The function to be called, when the event occurs
|
|
14765
14947
|
*/
|
|
14766
|
-
fnFunction: (p1: Event) => void,
|
|
14948
|
+
fnFunction: (p1: Event<$FileUploaderUploadStartEventParameters>) => void,
|
|
14767
14949
|
/**
|
|
14768
14950
|
* Context object on which the given function had to be called
|
|
14769
14951
|
*/
|
|
@@ -14808,16 +14990,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14808
14990
|
/**
|
|
14809
14991
|
* Parameters to pass along with the event
|
|
14810
14992
|
*/
|
|
14811
|
-
mParameters?:
|
|
14812
|
-
/**
|
|
14813
|
-
* New file path value.
|
|
14814
|
-
*/
|
|
14815
|
-
newValue?: string;
|
|
14816
|
-
/**
|
|
14817
|
-
* Files.
|
|
14818
|
-
*/
|
|
14819
|
-
files?: object[];
|
|
14820
|
-
}
|
|
14993
|
+
mParameters?: $FileUploaderChangeEventParameters
|
|
14821
14994
|
): this;
|
|
14822
14995
|
/**
|
|
14823
14996
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -14843,12 +15016,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14843
15016
|
/**
|
|
14844
15017
|
* Parameters to pass along with the event
|
|
14845
15018
|
*/
|
|
14846
|
-
mParameters?:
|
|
14847
|
-
/**
|
|
14848
|
-
* The name of the file to be uploaded.
|
|
14849
|
-
*/
|
|
14850
|
-
fileName?: string;
|
|
14851
|
-
}
|
|
15019
|
+
mParameters?: $FileUploaderFileEmptyEventParameters
|
|
14852
15020
|
): this;
|
|
14853
15021
|
/**
|
|
14854
15022
|
* @SINCE 1.24.0
|
|
@@ -14862,12 +15030,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14862
15030
|
/**
|
|
14863
15031
|
* Parameters to pass along with the event
|
|
14864
15032
|
*/
|
|
14865
|
-
mParameters?:
|
|
14866
|
-
/**
|
|
14867
|
-
* The filename, which is longer than specified by the value of the property `maximumFilenameLength`.
|
|
14868
|
-
*/
|
|
14869
|
-
fileName?: string;
|
|
14870
|
-
}
|
|
15033
|
+
mParameters?: $FileUploaderFilenameLengthExceedEventParameters
|
|
14871
15034
|
): this;
|
|
14872
15035
|
/**
|
|
14873
15036
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -14880,16 +15043,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14880
15043
|
/**
|
|
14881
15044
|
* Parameters to pass along with the event
|
|
14882
15045
|
*/
|
|
14883
|
-
mParameters?:
|
|
14884
|
-
/**
|
|
14885
|
-
* The name of a file to be uploaded.
|
|
14886
|
-
*/
|
|
14887
|
-
fileName?: string;
|
|
14888
|
-
/**
|
|
14889
|
-
* The size in MB of a file to be uploaded.
|
|
14890
|
-
*/
|
|
14891
|
-
fileSize?: string;
|
|
14892
|
-
}
|
|
15046
|
+
mParameters?: $FileUploaderFileSizeExceedEventParameters
|
|
14893
15047
|
): this;
|
|
14894
15048
|
/**
|
|
14895
15049
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -14902,20 +15056,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14902
15056
|
/**
|
|
14903
15057
|
* Parameters to pass along with the event
|
|
14904
15058
|
*/
|
|
14905
|
-
mParameters?:
|
|
14906
|
-
/**
|
|
14907
|
-
* The name of a file to be uploaded.
|
|
14908
|
-
*/
|
|
14909
|
-
fileName?: string;
|
|
14910
|
-
/**
|
|
14911
|
-
* The file ending of a file to be uploaded.
|
|
14912
|
-
*/
|
|
14913
|
-
fileType?: string;
|
|
14914
|
-
/**
|
|
14915
|
-
* The MIME type of a file to be uploaded.
|
|
14916
|
-
*/
|
|
14917
|
-
mimeType?: string;
|
|
14918
|
-
}
|
|
15059
|
+
mParameters?: $FileUploaderTypeMissmatchEventParameters
|
|
14919
15060
|
): this;
|
|
14920
15061
|
/**
|
|
14921
15062
|
* @SINCE 1.24.0
|
|
@@ -14929,19 +15070,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14929
15070
|
/**
|
|
14930
15071
|
* Parameters to pass along with the event
|
|
14931
15072
|
*/
|
|
14932
|
-
mParameters?:
|
|
14933
|
-
/**
|
|
14934
|
-
* The name of a file to be uploaded.
|
|
14935
|
-
*/
|
|
14936
|
-
fileName?: string;
|
|
14937
|
-
/**
|
|
14938
|
-
* Http-Request-Headers.
|
|
14939
|
-
*
|
|
14940
|
-
* Required for receiving `requestHeader` is to set the property `sendXHR` to true. This property is not
|
|
14941
|
-
* supported by Internet Explorer 9.
|
|
14942
|
-
*/
|
|
14943
|
-
requestHeaders?: object[];
|
|
14944
|
-
}
|
|
15073
|
+
mParameters?: $FileUploaderUploadAbortedEventParameters
|
|
14945
15074
|
): this;
|
|
14946
15075
|
/**
|
|
14947
15076
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -14954,59 +15083,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
14954
15083
|
/**
|
|
14955
15084
|
* Parameters to pass along with the event
|
|
14956
15085
|
*/
|
|
14957
|
-
mParameters?:
|
|
14958
|
-
/**
|
|
14959
|
-
* The name of a file to be uploaded.
|
|
14960
|
-
*/
|
|
14961
|
-
fileName?: string;
|
|
14962
|
-
/**
|
|
14963
|
-
* Response message which comes from the server.
|
|
14964
|
-
*
|
|
14965
|
-
* On the server side this response has to be put within the "body" tags of the response document
|
|
14966
|
-
* of the iFrame. It can consist of a return code and an optional message. This does not work in cross-domain
|
|
14967
|
-
* scenarios.
|
|
14968
|
-
*/
|
|
14969
|
-
response?: string;
|
|
14970
|
-
/**
|
|
14971
|
-
* ReadyState of the XHR request.
|
|
14972
|
-
*
|
|
14973
|
-
* Required for receiving a `readyStateXHR` is to set the property `sendXHR` to true. This property is not
|
|
14974
|
-
* supported by Internet Explorer 9.
|
|
14975
|
-
*/
|
|
14976
|
-
readyStateXHR?: string;
|
|
14977
|
-
/**
|
|
14978
|
-
* Status of the XHR request.
|
|
14979
|
-
*
|
|
14980
|
-
* Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
|
|
14981
|
-
* by Internet Explorer 9.
|
|
14982
|
-
*/
|
|
14983
|
-
status?: string;
|
|
14984
|
-
/**
|
|
14985
|
-
* Http-Response which comes from the server.
|
|
14986
|
-
*
|
|
14987
|
-
* Required for receiving `responseRaw` is to set the property `sendXHR` to true.
|
|
14988
|
-
*
|
|
14989
|
-
* This property is not supported by Internet Explorer 9.
|
|
14990
|
-
*/
|
|
14991
|
-
responseRaw?: string;
|
|
14992
|
-
/**
|
|
14993
|
-
* Http-Response-Headers which come from the server.
|
|
14994
|
-
*
|
|
14995
|
-
* Provided as a JSON-map, i.e. each header-field is reflected by a property in the `headers` object, with
|
|
14996
|
-
* the property value reflecting the header-field's content.
|
|
14997
|
-
*
|
|
14998
|
-
* Required for receiving `headers` is to set the property `sendXHR` to true. This property is not supported
|
|
14999
|
-
* by Internet Explorer 9.
|
|
15000
|
-
*/
|
|
15001
|
-
headers?: object;
|
|
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
|
-
}
|
|
15086
|
+
mParameters?: $FileUploaderUploadCompleteEventParameters
|
|
15010
15087
|
): this;
|
|
15011
15088
|
/**
|
|
15012
15089
|
* @SINCE 1.24.0
|
|
@@ -15020,31 +15097,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
15020
15097
|
/**
|
|
15021
15098
|
* Parameters to pass along with the event
|
|
15022
15099
|
*/
|
|
15023
|
-
mParameters?:
|
|
15024
|
-
/**
|
|
15025
|
-
* Indicates whether or not the relative upload progress can be calculated out of loaded and total.
|
|
15026
|
-
*/
|
|
15027
|
-
lengthComputable?: boolean;
|
|
15028
|
-
/**
|
|
15029
|
-
* The number of bytes of the file which have been uploaded by the time the event was fired.
|
|
15030
|
-
*/
|
|
15031
|
-
loaded?: float;
|
|
15032
|
-
/**
|
|
15033
|
-
* The total size of the file to be uploaded in bytes.
|
|
15034
|
-
*/
|
|
15035
|
-
total?: float;
|
|
15036
|
-
/**
|
|
15037
|
-
* The name of a file to be uploaded.
|
|
15038
|
-
*/
|
|
15039
|
-
fileName?: string;
|
|
15040
|
-
/**
|
|
15041
|
-
* Http-Request-Headers.
|
|
15042
|
-
*
|
|
15043
|
-
* Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
|
|
15044
|
-
* supported by Internet Explorer 9.
|
|
15045
|
-
*/
|
|
15046
|
-
requestHeaders?: object[];
|
|
15047
|
-
}
|
|
15100
|
+
mParameters?: $FileUploaderUploadProgressEventParameters
|
|
15048
15101
|
): this;
|
|
15049
15102
|
/**
|
|
15050
15103
|
* @SINCE 1.30.0
|
|
@@ -15058,19 +15111,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
15058
15111
|
/**
|
|
15059
15112
|
* Parameters to pass along with the event
|
|
15060
15113
|
*/
|
|
15061
|
-
mParameters?:
|
|
15062
|
-
/**
|
|
15063
|
-
* The name of a file to be uploaded.
|
|
15064
|
-
*/
|
|
15065
|
-
fileName?: string;
|
|
15066
|
-
/**
|
|
15067
|
-
* Http-Request-Headers.
|
|
15068
|
-
*
|
|
15069
|
-
* Required for receiving `requestHeaders` is to set the property `sendXHR` to true. This property is not
|
|
15070
|
-
* supported by Internet Explorer 9.
|
|
15071
|
-
*/
|
|
15072
|
-
requestHeaders?: object[];
|
|
15073
|
-
}
|
|
15114
|
+
mParameters?: $FileUploaderUploadStartEventParameters
|
|
15074
15115
|
): this;
|
|
15075
15116
|
/**
|
|
15076
15117
|
* Gets current value of property {@link #getAdditionalData additionalData}.
|
|
@@ -15084,13 +15125,11 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
15084
15125
|
*/
|
|
15085
15126
|
getAdditionalData(): string;
|
|
15086
15127
|
/**
|
|
15087
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
|
|
15088
|
-
* ariaDescribedBy}.
|
|
15128
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
15089
15129
|
*/
|
|
15090
15130
|
getAriaDescribedBy(): ID[];
|
|
15091
15131
|
/**
|
|
15092
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
15093
|
-
* ariaLabelledBy}.
|
|
15132
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
15094
15133
|
*/
|
|
15095
15134
|
getAriaLabelledBy(): ID[];
|
|
15096
15135
|
/**
|
|
@@ -15459,8 +15498,8 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
15459
15498
|
*/
|
|
15460
15499
|
getXhrSettings(): FileUploaderXHRSettings;
|
|
15461
15500
|
/**
|
|
15462
|
-
* Checks for the provided `sap.ui.unified.FileUploaderParameter` in the aggregation {@link #getHeaderParameters
|
|
15463
|
-
*
|
|
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.
|
|
15464
15503
|
*
|
|
15465
15504
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
15466
15505
|
*/
|
|
@@ -15473,8 +15512,8 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
15473
15512
|
/**
|
|
15474
15513
|
* @SINCE 1.12.2
|
|
15475
15514
|
*
|
|
15476
|
-
* Checks for the provided `sap.ui.unified.FileUploaderParameter` in the aggregation {@link #getParameters
|
|
15477
|
-
*
|
|
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.
|
|
15478
15517
|
*
|
|
15479
15518
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
15480
15519
|
*/
|
|
@@ -16148,6 +16187,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
16148
16187
|
bPreProcessFiles?: boolean
|
|
16149
16188
|
): void;
|
|
16150
16189
|
}
|
|
16190
|
+
export default FileUploader;
|
|
16151
16191
|
|
|
16152
16192
|
export interface $FileUploaderSettings extends $ControlSettings {
|
|
16153
16193
|
/**
|
|
@@ -16412,7 +16452,7 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
16412
16452
|
* **Note:** Keep in mind that because of the HTML input element of type file, the event is also fired in
|
|
16413
16453
|
* Chrome browser when the Cancel button of the uploads window is pressed.
|
|
16414
16454
|
*/
|
|
16415
|
-
change?: (oEvent: Event) => void;
|
|
16455
|
+
change?: (oEvent: Event<$FileUploaderChangeEventParameters>) => void;
|
|
16416
16456
|
|
|
16417
16457
|
/**
|
|
16418
16458
|
* Event is fired as soon as the upload request is completed (either successful or unsuccessful).
|
|
@@ -16421,23 +16461,29 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
16421
16461
|
* progress of the upload can be monitored by listening to the `uploadProgress` event. However, this covers
|
|
16422
16462
|
* only the client side of the upload process and does not give any success status from the server.
|
|
16423
16463
|
*/
|
|
16424
|
-
uploadComplete?: (
|
|
16464
|
+
uploadComplete?: (
|
|
16465
|
+
oEvent: Event<$FileUploaderUploadCompleteEventParameters>
|
|
16466
|
+
) => void;
|
|
16425
16467
|
|
|
16426
16468
|
/**
|
|
16427
16469
|
* Event is fired when the type of a file does not match the `mimeType` or `fileType` property.
|
|
16428
16470
|
*/
|
|
16429
|
-
typeMissmatch?: (
|
|
16471
|
+
typeMissmatch?: (
|
|
16472
|
+
oEvent: Event<$FileUploaderTypeMissmatchEventParameters>
|
|
16473
|
+
) => void;
|
|
16430
16474
|
|
|
16431
16475
|
/**
|
|
16432
16476
|
* Event is fired when the size of a file is above the `maximumFileSize` property. This event is not supported
|
|
16433
16477
|
* by Internet Explorer 9 (same restriction as for the property `maximumFileSize`).
|
|
16434
16478
|
*/
|
|
16435
|
-
fileSizeExceed?: (
|
|
16479
|
+
fileSizeExceed?: (
|
|
16480
|
+
oEvent: Event<$FileUploaderFileSizeExceedEventParameters>
|
|
16481
|
+
) => void;
|
|
16436
16482
|
|
|
16437
16483
|
/**
|
|
16438
16484
|
* Event is fired when the size of the file is 0
|
|
16439
16485
|
*/
|
|
16440
|
-
fileEmpty?: (oEvent: Event) => void;
|
|
16486
|
+
fileEmpty?: (oEvent: Event<$FileUploaderFileEmptyEventParameters>) => void;
|
|
16441
16487
|
|
|
16442
16488
|
/**
|
|
16443
16489
|
* Event is fired when the file is allowed for upload on client side.
|
|
@@ -16455,7 +16501,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
16455
16501
|
* This event is only supported with property `sendXHR` set to true, i.e. the event is not supported in
|
|
16456
16502
|
* Internet Explorer 9.
|
|
16457
16503
|
*/
|
|
16458
|
-
uploadProgress?: (
|
|
16504
|
+
uploadProgress?: (
|
|
16505
|
+
oEvent: Event<$FileUploaderUploadProgressEventParameters>
|
|
16506
|
+
) => void;
|
|
16459
16507
|
|
|
16460
16508
|
/**
|
|
16461
16509
|
* @SINCE 1.24.0
|
|
@@ -16465,7 +16513,9 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
16465
16513
|
* This event is only supported with property `sendXHR` set to true, i.e. the event is not supported in
|
|
16466
16514
|
* Internet Explorer 9.
|
|
16467
16515
|
*/
|
|
16468
|
-
uploadAborted?: (
|
|
16516
|
+
uploadAborted?: (
|
|
16517
|
+
oEvent: Event<$FileUploaderUploadAbortedEventParameters>
|
|
16518
|
+
) => void;
|
|
16469
16519
|
|
|
16470
16520
|
/**
|
|
16471
16521
|
* @SINCE 1.24.0
|
|
@@ -16473,14 +16523,18 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
16473
16523
|
* Event is fired, if the filename of a chosen file is longer than the value specified with the `maximumFilenameLength`
|
|
16474
16524
|
* property.
|
|
16475
16525
|
*/
|
|
16476
|
-
filenameLengthExceed?: (
|
|
16526
|
+
filenameLengthExceed?: (
|
|
16527
|
+
oEvent: Event<$FileUploaderFilenameLengthExceedEventParameters>
|
|
16528
|
+
) => void;
|
|
16477
16529
|
|
|
16478
16530
|
/**
|
|
16479
16531
|
* @SINCE 1.30.0
|
|
16480
16532
|
*
|
|
16481
16533
|
* Event is fired before an upload is started.
|
|
16482
16534
|
*/
|
|
16483
|
-
uploadStart?: (
|
|
16535
|
+
uploadStart?: (
|
|
16536
|
+
oEvent: Event<$FileUploaderUploadStartEventParameters>
|
|
16537
|
+
) => void;
|
|
16484
16538
|
|
|
16485
16539
|
/**
|
|
16486
16540
|
* @SINCE 1.102.0
|
|
@@ -16496,6 +16550,187 @@ declare module "sap/ui/unified/FileUploader" {
|
|
|
16496
16550
|
*/
|
|
16497
16551
|
afterDialogClose?: (oEvent: Event) => void;
|
|
16498
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
|
+
}
|
|
16499
16734
|
}
|
|
16500
16735
|
|
|
16501
16736
|
declare module "sap/ui/unified/FileUploaderHttpRequestMethod" {
|
|
@@ -16527,7 +16762,7 @@ declare module "sap/ui/unified/FileUploaderParameter" {
|
|
|
16527
16762
|
/**
|
|
16528
16763
|
* Represents a parameter for the FileUploader which is rendered as a hidden inputfield.
|
|
16529
16764
|
*/
|
|
16530
|
-
|
|
16765
|
+
class FileUploaderParameter extends UI5Element {
|
|
16531
16766
|
/**
|
|
16532
16767
|
* Constructor for a new FileUploaderParameter.
|
|
16533
16768
|
*
|
|
@@ -16643,6 +16878,7 @@ declare module "sap/ui/unified/FileUploaderParameter" {
|
|
|
16643
16878
|
sValue?: string
|
|
16644
16879
|
): this;
|
|
16645
16880
|
}
|
|
16881
|
+
export default FileUploaderParameter;
|
|
16646
16882
|
|
|
16647
16883
|
export interface $FileUploaderParameterSettings extends $ElementSettings {
|
|
16648
16884
|
/**
|
|
@@ -16673,7 +16909,7 @@ declare module "sap/ui/unified/FileUploaderXHRSettings" {
|
|
|
16673
16909
|
*
|
|
16674
16910
|
* Properties for the `XMLHttpRequest` object used for file uploads.
|
|
16675
16911
|
*/
|
|
16676
|
-
|
|
16912
|
+
class FileUploaderXHRSettings extends UI5Element {
|
|
16677
16913
|
/**
|
|
16678
16914
|
* Constructor for a new FileUploaderXHRSettings.
|
|
16679
16915
|
*
|
|
@@ -16766,6 +17002,7 @@ declare module "sap/ui/unified/FileUploaderXHRSettings" {
|
|
|
16766
17002
|
bWithCredentials?: boolean
|
|
16767
17003
|
): this;
|
|
16768
17004
|
}
|
|
17005
|
+
export default FileUploaderXHRSettings;
|
|
16769
17006
|
|
|
16770
17007
|
export interface $FileUploaderXHRSettingsSettings extends $ElementSettings {
|
|
16771
17008
|
/**
|
|
@@ -16802,7 +17039,7 @@ declare module "sap/ui/unified/Menu" {
|
|
|
16802
17039
|
* (items) can also be organized in submenus. Like other dialog-like controls, the menu is not rendered
|
|
16803
17040
|
* within the control hierarchy. Instead it can be opened at a specified position via a function call.
|
|
16804
17041
|
*/
|
|
16805
|
-
|
|
17042
|
+
class Menu extends Control implements IContextMenu {
|
|
16806
17043
|
__implements__sap_ui_core_IContextMenu: boolean;
|
|
16807
17044
|
/**
|
|
16808
17045
|
* Constructor for a new Menu control.
|
|
@@ -16909,7 +17146,7 @@ declare module "sap/ui/unified/Menu" {
|
|
|
16909
17146
|
/**
|
|
16910
17147
|
* The function to be called when the event occurs
|
|
16911
17148
|
*/
|
|
16912
|
-
fnFunction: (p1: Event) => void,
|
|
17149
|
+
fnFunction: (p1: Event<$MenuItemSelectEventParameters>) => void,
|
|
16913
17150
|
/**
|
|
16914
17151
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.Menu` itself
|
|
16915
17152
|
*/
|
|
@@ -16931,7 +17168,7 @@ declare module "sap/ui/unified/Menu" {
|
|
|
16931
17168
|
/**
|
|
16932
17169
|
* The function to be called when the event occurs
|
|
16933
17170
|
*/
|
|
16934
|
-
fnFunction: (p1: Event) => void,
|
|
17171
|
+
fnFunction: (p1: Event<$MenuItemSelectEventParameters>) => void,
|
|
16935
17172
|
/**
|
|
16936
17173
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.Menu` itself
|
|
16937
17174
|
*/
|
|
@@ -16958,7 +17195,7 @@ declare module "sap/ui/unified/Menu" {
|
|
|
16958
17195
|
/**
|
|
16959
17196
|
* The function to be called, when the event occurs
|
|
16960
17197
|
*/
|
|
16961
|
-
fnFunction: (p1: Event) => void,
|
|
17198
|
+
fnFunction: (p1: Event<$MenuItemSelectEventParameters>) => void,
|
|
16962
17199
|
/**
|
|
16963
17200
|
* Context object on which the given function had to be called
|
|
16964
17201
|
*/
|
|
@@ -16975,12 +17212,7 @@ declare module "sap/ui/unified/Menu" {
|
|
|
16975
17212
|
/**
|
|
16976
17213
|
* Parameters to pass along with the event
|
|
16977
17214
|
*/
|
|
16978
|
-
mParameters?:
|
|
16979
|
-
/**
|
|
16980
|
-
* The action (item) which was selected by the user.
|
|
16981
|
-
*/
|
|
16982
|
-
item?: MenuItemBase;
|
|
16983
|
-
}
|
|
17215
|
+
mParameters?: $MenuItemSelectEventParameters
|
|
16984
17216
|
): this;
|
|
16985
17217
|
/**
|
|
16986
17218
|
* @deprecated (since 1.27.0) - replaced by `ariaLabelledBy` association
|
|
@@ -16995,8 +17227,7 @@ declare module "sap/ui/unified/Menu" {
|
|
|
16995
17227
|
/**
|
|
16996
17228
|
* @SINCE 1.26.3
|
|
16997
17229
|
*
|
|
16998
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
16999
|
-
* ariaLabelledBy}.
|
|
17230
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
17000
17231
|
*/
|
|
17001
17232
|
getAriaLabelledBy(): ID[];
|
|
17002
17233
|
/**
|
|
@@ -17249,6 +17480,7 @@ declare module "sap/ui/unified/Menu" {
|
|
|
17249
17480
|
iPageSize?: int
|
|
17250
17481
|
): this;
|
|
17251
17482
|
}
|
|
17483
|
+
export default Menu;
|
|
17252
17484
|
|
|
17253
17485
|
export interface $MenuSettings extends $ControlSettings {
|
|
17254
17486
|
/**
|
|
@@ -17306,7 +17538,14 @@ declare module "sap/ui/unified/Menu" {
|
|
|
17306
17538
|
* one of its direct or indirect submenus. **Note:** There is also a select event available for each single
|
|
17307
17539
|
* menu item. This event and the event of the menu items are redundant.
|
|
17308
17540
|
*/
|
|
17309
|
-
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;
|
|
17310
17549
|
}
|
|
17311
17550
|
}
|
|
17312
17551
|
|
|
@@ -17330,7 +17569,7 @@ declare module "sap/ui/unified/MenuItem" {
|
|
|
17330
17569
|
* Standard item to be used inside a menu. A menu item represents an action which can be selected by the
|
|
17331
17570
|
* user in the menu or it can provide a submenu to organize the actions hierarchically.
|
|
17332
17571
|
*/
|
|
17333
|
-
|
|
17572
|
+
class MenuItem extends MenuItemBase {
|
|
17334
17573
|
/**
|
|
17335
17574
|
* Constructor for a new MenuItem element.
|
|
17336
17575
|
*
|
|
@@ -17403,8 +17642,7 @@ declare module "sap/ui/unified/MenuItem" {
|
|
|
17403
17642
|
vAriaLabelledBy: ID | Control
|
|
17404
17643
|
): this;
|
|
17405
17644
|
/**
|
|
17406
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
17407
|
-
* ariaLabelledBy}.
|
|
17645
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
17408
17646
|
*/
|
|
17409
17647
|
getAriaLabelledBy(): ID[];
|
|
17410
17648
|
/**
|
|
@@ -17481,6 +17719,7 @@ declare module "sap/ui/unified/MenuItem" {
|
|
|
17481
17719
|
sText?: string
|
|
17482
17720
|
): this;
|
|
17483
17721
|
}
|
|
17722
|
+
export default MenuItem;
|
|
17484
17723
|
|
|
17485
17724
|
export interface $MenuItemSettings extends $MenuItemBaseSettings {
|
|
17486
17725
|
/**
|
|
@@ -17519,7 +17758,7 @@ declare module "sap/ui/unified/MenuItemBase" {
|
|
|
17519
17758
|
*
|
|
17520
17759
|
* Abstract base class for menu item which provides common properties and events for all concrete item implementations.
|
|
17521
17760
|
*/
|
|
17522
|
-
|
|
17761
|
+
class MenuItemBase extends UI5Element {
|
|
17523
17762
|
/**
|
|
17524
17763
|
* Abstract base class `MenuItemBase` for menu item elements. Please use concrete subclasses.
|
|
17525
17764
|
*
|
|
@@ -17601,7 +17840,7 @@ declare module "sap/ui/unified/MenuItemBase" {
|
|
|
17601
17840
|
/**
|
|
17602
17841
|
* The function to be called when the event occurs
|
|
17603
17842
|
*/
|
|
17604
|
-
fnFunction: (p1: Event) => void,
|
|
17843
|
+
fnFunction: (p1: Event<$MenuItemBaseSelectEventParameters>) => void,
|
|
17605
17844
|
/**
|
|
17606
17845
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.MenuItemBase` itself
|
|
17607
17846
|
*/
|
|
@@ -17623,7 +17862,7 @@ declare module "sap/ui/unified/MenuItemBase" {
|
|
|
17623
17862
|
/**
|
|
17624
17863
|
* The function to be called when the event occurs
|
|
17625
17864
|
*/
|
|
17626
|
-
fnFunction: (p1: Event) => void,
|
|
17865
|
+
fnFunction: (p1: Event<$MenuItemBaseSelectEventParameters>) => void,
|
|
17627
17866
|
/**
|
|
17628
17867
|
* Context object to call the event handler with. Defaults to this `sap.ui.unified.MenuItemBase` itself
|
|
17629
17868
|
*/
|
|
@@ -17646,7 +17885,7 @@ declare module "sap/ui/unified/MenuItemBase" {
|
|
|
17646
17885
|
/**
|
|
17647
17886
|
* The function to be called, when the event occurs
|
|
17648
17887
|
*/
|
|
17649
|
-
fnFunction: (p1: Event) => void,
|
|
17888
|
+
fnFunction: (p1: Event<$MenuItemBaseSelectEventParameters>) => void,
|
|
17650
17889
|
/**
|
|
17651
17890
|
* Context object on which the given function had to be called
|
|
17652
17891
|
*/
|
|
@@ -17663,12 +17902,7 @@ declare module "sap/ui/unified/MenuItemBase" {
|
|
|
17663
17902
|
/**
|
|
17664
17903
|
* Parameters to pass along with the event
|
|
17665
17904
|
*/
|
|
17666
|
-
mParameters?:
|
|
17667
|
-
/**
|
|
17668
|
-
* The current item
|
|
17669
|
-
*/
|
|
17670
|
-
item?: MenuItemBase;
|
|
17671
|
-
}
|
|
17905
|
+
mParameters?: $MenuItemBaseSelectEventParameters
|
|
17672
17906
|
): this;
|
|
17673
17907
|
/**
|
|
17674
17908
|
* Gets current value of property {@link #getEnabled enabled}.
|
|
@@ -17833,6 +18067,7 @@ declare module "sap/ui/unified/MenuItemBase" {
|
|
|
17833
18067
|
bVisible?: boolean
|
|
17834
18068
|
): this;
|
|
17835
18069
|
}
|
|
18070
|
+
export default MenuItemBase;
|
|
17836
18071
|
|
|
17837
18072
|
export interface $MenuItemBaseSettings extends $ElementSettings {
|
|
17838
18073
|
/**
|
|
@@ -17862,7 +18097,14 @@ declare module "sap/ui/unified/MenuItemBase" {
|
|
|
17862
18097
|
* a submenu. In general, applications must not handle event in this case because the user selection opens
|
|
17863
18098
|
* the sub menu.
|
|
17864
18099
|
*/
|
|
17865
|
-
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;
|
|
17866
18108
|
}
|
|
17867
18109
|
}
|
|
17868
18110
|
|
|
@@ -17887,7 +18129,7 @@ declare module "sap/ui/unified/MenuTextFieldItem" {
|
|
|
17887
18129
|
* implementations. The aggregation `submenu` (inherited from parent class) is not supported for this type
|
|
17888
18130
|
* of menu item.
|
|
17889
18131
|
*/
|
|
17890
|
-
|
|
18132
|
+
class MenuTextFieldItem extends MenuItemBase {
|
|
17891
18133
|
/**
|
|
17892
18134
|
* Constructor for a new MenuTextFieldItem element.
|
|
17893
18135
|
*
|
|
@@ -18079,6 +18321,7 @@ declare module "sap/ui/unified/MenuTextFieldItem" {
|
|
|
18079
18321
|
sValueState?: ValueState | keyof typeof ValueState
|
|
18080
18322
|
): this;
|
|
18081
18323
|
}
|
|
18324
|
+
export default MenuTextFieldItem;
|
|
18082
18325
|
|
|
18083
18326
|
export interface $MenuTextFieldItemSettings extends $MenuItemBaseSettings {
|
|
18084
18327
|
/**
|
|
@@ -18138,7 +18381,7 @@ declare module "sap/ui/unified/Shell" {
|
|
|
18138
18381
|
* control within applications which run inside the Fiori Lauchpad and do not use it for other scenarios
|
|
18139
18382
|
* than the root control usecase.
|
|
18140
18383
|
*/
|
|
18141
|
-
|
|
18384
|
+
class Shell extends ShellLayout {
|
|
18142
18385
|
/**
|
|
18143
18386
|
* Constructor for a new Shell.
|
|
18144
18387
|
*
|
|
@@ -18668,6 +18911,7 @@ declare module "sap/ui/unified/Shell" {
|
|
|
18668
18911
|
oUser: ShellHeadUserItem
|
|
18669
18912
|
): this;
|
|
18670
18913
|
}
|
|
18914
|
+
export default Shell;
|
|
18671
18915
|
|
|
18672
18916
|
export interface $ShellSettings extends $ShellLayoutSettings {
|
|
18673
18917
|
/**
|
|
@@ -18770,7 +19014,7 @@ declare module "sap/ui/unified/ShellHeadItem" {
|
|
|
18770
19014
|
*
|
|
18771
19015
|
* Header Action item of the Shell.
|
|
18772
19016
|
*/
|
|
18773
|
-
|
|
19017
|
+
class ShellHeadItem extends UI5Element {
|
|
18774
19018
|
/**
|
|
18775
19019
|
* Constructor for a new ShellHeadItem.
|
|
18776
19020
|
*
|
|
@@ -18918,8 +19162,7 @@ declare module "sap/ui/unified/ShellHeadItem" {
|
|
|
18918
19162
|
mParameters?: object
|
|
18919
19163
|
): this;
|
|
18920
19164
|
/**
|
|
18921
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
18922
|
-
* ariaLabelledBy}.
|
|
19165
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
18923
19166
|
*/
|
|
18924
19167
|
getAriaLabelledBy(): ID[];
|
|
18925
19168
|
/**
|
|
@@ -19151,6 +19394,7 @@ declare module "sap/ui/unified/ShellHeadItem" {
|
|
|
19151
19394
|
bVisible?: boolean
|
|
19152
19395
|
): this;
|
|
19153
19396
|
}
|
|
19397
|
+
export default ShellHeadItem;
|
|
19154
19398
|
|
|
19155
19399
|
export interface $ShellHeadItemSettings extends $ElementSettings {
|
|
19156
19400
|
/**
|
|
@@ -19211,6 +19455,8 @@ declare module "sap/ui/unified/ShellHeadItem" {
|
|
|
19211
19455
|
*/
|
|
19212
19456
|
press?: (oEvent: Event) => void;
|
|
19213
19457
|
}
|
|
19458
|
+
|
|
19459
|
+
export interface $ShellHeadItemPressEventParameters {}
|
|
19214
19460
|
}
|
|
19215
19461
|
|
|
19216
19462
|
declare module "sap/ui/unified/ShellHeadUserItem" {
|
|
@@ -19232,7 +19478,7 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
|
|
|
19232
19478
|
*
|
|
19233
19479
|
* User Header Action Item of the Shell.
|
|
19234
19480
|
*/
|
|
19235
|
-
|
|
19481
|
+
class ShellHeadUserItem extends UI5Element {
|
|
19236
19482
|
/**
|
|
19237
19483
|
* Constructor for a new ShellHeadUserItem.
|
|
19238
19484
|
*
|
|
@@ -19380,8 +19626,7 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
|
|
|
19380
19626
|
mParameters?: object
|
|
19381
19627
|
): this;
|
|
19382
19628
|
/**
|
|
19383
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
19384
|
-
* ariaLabelledBy}.
|
|
19629
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
19385
19630
|
*/
|
|
19386
19631
|
getAriaLabelledBy(): ID[];
|
|
19387
19632
|
/**
|
|
@@ -19485,6 +19730,7 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
|
|
|
19485
19730
|
sUsername?: string
|
|
19486
19731
|
): this;
|
|
19487
19732
|
}
|
|
19733
|
+
export default ShellHeadUserItem;
|
|
19488
19734
|
|
|
19489
19735
|
export interface $ShellHeadUserItemSettings extends $ElementSettings {
|
|
19490
19736
|
/**
|
|
@@ -19515,6 +19761,8 @@ declare module "sap/ui/unified/ShellHeadUserItem" {
|
|
|
19515
19761
|
*/
|
|
19516
19762
|
press?: (oEvent: Event) => void;
|
|
19517
19763
|
}
|
|
19764
|
+
|
|
19765
|
+
export interface $ShellHeadUserItemPressEventParameters {}
|
|
19518
19766
|
}
|
|
19519
19767
|
|
|
19520
19768
|
declare module "sap/ui/unified/ShellLayout" {
|
|
@@ -19536,7 +19784,7 @@ declare module "sap/ui/unified/ShellLayout" {
|
|
|
19536
19784
|
* for this purpose. Do not use this control within applications which run inside the Fiori Lauchpad and
|
|
19537
19785
|
* do not use it for other scenarios than the root control usecase.
|
|
19538
19786
|
*/
|
|
19539
|
-
|
|
19787
|
+
class ShellLayout extends Control {
|
|
19540
19788
|
/**
|
|
19541
19789
|
* Constructor for a new ShellLayout.
|
|
19542
19790
|
*
|
|
@@ -19846,6 +20094,7 @@ declare module "sap/ui/unified/ShellLayout" {
|
|
|
19846
20094
|
bShowPane?: boolean
|
|
19847
20095
|
): this;
|
|
19848
20096
|
}
|
|
20097
|
+
export default ShellLayout;
|
|
19849
20098
|
|
|
19850
20099
|
export interface $ShellLayoutSettings extends $ControlSettings {
|
|
19851
20100
|
/**
|
|
@@ -19900,7 +20149,7 @@ declare module "sap/ui/unified/ShellOverlay" {
|
|
|
19900
20149
|
*
|
|
19901
20150
|
* ShellOverlay to be opened in front of an sap.ui.unified.Shell
|
|
19902
20151
|
*/
|
|
19903
|
-
|
|
20152
|
+
class ShellOverlay extends Control {
|
|
19904
20153
|
/**
|
|
19905
20154
|
* Constructor for a new ShellOverlay.
|
|
19906
20155
|
*
|
|
@@ -20075,8 +20324,7 @@ declare module "sap/ui/unified/ShellOverlay" {
|
|
|
20075
20324
|
mParameters?: object
|
|
20076
20325
|
): this;
|
|
20077
20326
|
/**
|
|
20078
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
20079
|
-
* ariaLabelledBy}.
|
|
20327
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
20080
20328
|
*/
|
|
20081
20329
|
getAriaLabelledBy(): ID[];
|
|
20082
20330
|
/**
|
|
@@ -20189,6 +20437,7 @@ declare module "sap/ui/unified/ShellOverlay" {
|
|
|
20189
20437
|
oShell: ID | ShellLayout
|
|
20190
20438
|
): this;
|
|
20191
20439
|
}
|
|
20440
|
+
export default ShellOverlay;
|
|
20192
20441
|
|
|
20193
20442
|
export interface $ShellOverlaySettings extends $ControlSettings {
|
|
20194
20443
|
/**
|
|
@@ -20217,6 +20466,8 @@ declare module "sap/ui/unified/ShellOverlay" {
|
|
|
20217
20466
|
*/
|
|
20218
20467
|
closed?: (oEvent: Event) => void;
|
|
20219
20468
|
}
|
|
20469
|
+
|
|
20470
|
+
export interface $ShellOverlayClosedEventParameters {}
|
|
20220
20471
|
}
|
|
20221
20472
|
|
|
20222
20473
|
declare module "sap/ui/unified/SplitContainer" {
|
|
@@ -20238,7 +20489,7 @@ declare module "sap/ui/unified/SplitContainer" {
|
|
|
20238
20489
|
*
|
|
20239
20490
|
* Provides a main content and a secondary content area
|
|
20240
20491
|
*/
|
|
20241
|
-
|
|
20492
|
+
class SplitContainer extends Control {
|
|
20242
20493
|
/**
|
|
20243
20494
|
* Constructor for a new SplitContainer.
|
|
20244
20495
|
*
|
|
@@ -20554,6 +20805,7 @@ declare module "sap/ui/unified/SplitContainer" {
|
|
|
20554
20805
|
bShowSecondaryContent?: boolean
|
|
20555
20806
|
): this;
|
|
20556
20807
|
}
|
|
20808
|
+
export default SplitContainer;
|
|
20557
20809
|
|
|
20558
20810
|
export interface $SplitContainerSettings extends $ControlSettings {
|
|
20559
20811
|
/**
|