@progress/kendo-vue-dateinputs 7.0.1-develop.2 → 7.0.1-develop.4
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/calendar/components/CalendarCell.js +1 -1
- package/calendar/components/CalendarCell.mjs +4 -4
- package/calendar/components/CalendarHeaderTitle.js +1 -1
- package/calendar/components/CalendarHeaderTitle.mjs +5 -5
- package/calendar/components/CalendarWeekCell.js +1 -1
- package/calendar/components/CalendarWeekCell.mjs +5 -5
- package/dateinput/DateInput.js +1 -1
- package/dateinput/DateInput.mjs +71 -67
- package/datepicker/DatePicker.js +1 -1
- package/datepicker/DatePicker.mjs +35 -27
- package/daterangepicker/DateRangePicker.js +1 -1
- package/daterangepicker/DateRangePicker.mjs +31 -27
- package/datetimepicker/DateTimePicker.js +1 -1
- package/datetimepicker/DateTimePicker.mjs +51 -45
- package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
- package/index.d.mts +230 -128
- package/index.d.ts +230 -128
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +8 -8
- package/timepicker/TimeList.js +1 -1
- package/timepicker/TimeList.mjs +10 -10
- package/timepicker/TimePart.js +1 -1
- package/timepicker/TimePart.mjs +13 -13
- package/timepicker/TimePicker.js +1 -1
- package/timepicker/TimePicker.mjs +51 -45
- package/timepicker/TimeSelector.js +1 -1
- package/timepicker/TimeSelector.mjs +14 -12
- package/virtualization/Virtualization.js +1 -1
- package/virtualization/Virtualization.mjs +2 -2
package/index.d.mts
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
+
import { ButtonBlurEvent } from '@progress/kendo-vue-buttons';
|
|
9
|
+
import { ButtonFocusEvent } from '@progress/kendo-vue-buttons';
|
|
8
10
|
import { ComponentOptionsMixin } from 'vue';
|
|
9
11
|
import { ComponentProvideOptions } from 'vue';
|
|
10
12
|
import { DateFormatOptions } from '@progress/kendo-vue-intl';
|
|
@@ -253,10 +255,10 @@ handleMouseDown(event: any): void;
|
|
|
253
255
|
handleMouseEnter(): void;
|
|
254
256
|
handleMouseLeave(): void;
|
|
255
257
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
256
|
-
click:
|
|
257
|
-
mousedown:
|
|
258
|
-
mouseenter:
|
|
259
|
-
mouseleave:
|
|
258
|
+
click: (event: MouseEvent) => true;
|
|
259
|
+
mousedown: (event: MouseEvent) => true;
|
|
260
|
+
mouseenter: (event: MouseEvent) => true;
|
|
261
|
+
mouseleave: (event: MouseEvent) => true;
|
|
260
262
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
261
263
|
isDisabled: PropType<boolean>;
|
|
262
264
|
view: PropType<number>;
|
|
@@ -275,10 +277,10 @@ isToday: PropType<boolean>;
|
|
|
275
277
|
title: PropType<string>;
|
|
276
278
|
value: PropType<Date>;
|
|
277
279
|
}>> & Readonly<{
|
|
278
|
-
onClick?: (
|
|
279
|
-
onMousedown?: (
|
|
280
|
-
onMouseenter?: (
|
|
281
|
-
onMouseleave?: (
|
|
280
|
+
onClick?: (event: MouseEvent) => any;
|
|
281
|
+
onMousedown?: (event: MouseEvent) => any;
|
|
282
|
+
onMouseenter?: (event: MouseEvent) => any;
|
|
283
|
+
onMouseleave?: (event: MouseEvent) => any;
|
|
282
284
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
283
285
|
|
|
284
286
|
/**
|
|
@@ -331,13 +333,13 @@ view: PropType<number>;
|
|
|
331
333
|
}>, {}, {}, {}, {
|
|
332
334
|
handleClick(event: any): void;
|
|
333
335
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
334
|
-
click:
|
|
336
|
+
click: (event: MouseEvent) => true;
|
|
335
337
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
336
338
|
id: PropType<string>;
|
|
337
339
|
value: PropType<string>;
|
|
338
340
|
view: PropType<number>;
|
|
339
341
|
}>> & Readonly<{
|
|
340
|
-
onClick?: (
|
|
342
|
+
onClick?: (event: MouseEvent) => any;
|
|
341
343
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
342
344
|
|
|
343
345
|
/**
|
|
@@ -514,13 +516,13 @@ className: PropType<string>;
|
|
|
514
516
|
}>, {}, {}, {}, {
|
|
515
517
|
handleClick(event: any): void;
|
|
516
518
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
517
|
-
click:
|
|
519
|
+
click: (event: MouseEvent) => true;
|
|
518
520
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
519
521
|
id: PropType<string>;
|
|
520
522
|
value: PropType<number>;
|
|
521
523
|
className: PropType<string>;
|
|
522
524
|
}>> & Readonly<{
|
|
523
|
-
onClick?: (
|
|
525
|
+
onClick?: (event: MouseEvent) => any;
|
|
524
526
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
525
527
|
|
|
526
528
|
/**
|
|
@@ -693,8 +695,8 @@ wrapperClassNames(): object;
|
|
|
693
695
|
selection(): Selection_2;
|
|
694
696
|
element(): HTMLInputElement | null;
|
|
695
697
|
focus(e: any): void;
|
|
696
|
-
handleFocus(e:
|
|
697
|
-
handleBlur(e:
|
|
698
|
+
handleFocus(e: FocusEvent): void;
|
|
699
|
+
handleBlur(e: FocusEvent): void;
|
|
698
700
|
intl(): IntlService;
|
|
699
701
|
setValidity(): void;
|
|
700
702
|
spinnersMouseDown(event: any): void;
|
|
@@ -712,11 +714,11 @@ switchDateSegment(offset: number): void;
|
|
|
712
714
|
modifyDateSegmentValue(offset: number, event: any): void;
|
|
713
715
|
validity(): FormComponentValidity;
|
|
714
716
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
715
|
-
change:
|
|
716
|
-
changemodel:
|
|
717
|
-
'update:modelValue':
|
|
718
|
-
focus:
|
|
719
|
-
blur:
|
|
717
|
+
change: (event: DateInputChangeEvent) => true;
|
|
718
|
+
changemodel: (value: Date | null) => true;
|
|
719
|
+
'update:modelValue': (value: Date | null) => true;
|
|
720
|
+
focus: (event: DateInputFocusEvent) => true;
|
|
721
|
+
blur: (event: DateInputBlurEvent) => true;
|
|
720
722
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
721
723
|
modelValue: PropType<Date>;
|
|
722
724
|
value: PropType<Date>;
|
|
@@ -809,11 +811,11 @@ default: any;
|
|
|
809
811
|
};
|
|
810
812
|
inputAttributes: PropType<Object>;
|
|
811
813
|
}>> & Readonly<{
|
|
812
|
-
onBlur?: (
|
|
813
|
-
onChange?: (
|
|
814
|
-
onFocus?: (
|
|
815
|
-
onChangemodel?: (
|
|
816
|
-
"onUpdate:modelValue"?: (
|
|
814
|
+
onBlur?: (event: DateInputBlurEvent) => any;
|
|
815
|
+
onChange?: (event: DateInputChangeEvent) => any;
|
|
816
|
+
onFocus?: (event: DateInputFocusEvent) => any;
|
|
817
|
+
onChangemodel?: (value: Date) => any;
|
|
818
|
+
"onUpdate:modelValue"?: (value: Date) => any;
|
|
817
819
|
}>, {
|
|
818
820
|
required: boolean;
|
|
819
821
|
size: string;
|
|
@@ -835,6 +837,16 @@ ariaHasPopup: String;
|
|
|
835
837
|
formatPlaceholder: DateInputFormatPlaceholder;
|
|
836
838
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
837
839
|
|
|
840
|
+
/**
|
|
841
|
+
* The arguments for the `onBlur` event of the DateInput.
|
|
842
|
+
*/
|
|
843
|
+
export declare interface DateInputBlurEvent {
|
|
844
|
+
/**
|
|
845
|
+
* The native browser blur event.
|
|
846
|
+
*/
|
|
847
|
+
event: FocusEvent;
|
|
848
|
+
}
|
|
849
|
+
|
|
838
850
|
/**
|
|
839
851
|
* The arguments for the `change` event of the DateInput.
|
|
840
852
|
* The generic argument sets the target type of the event. Defaults to `DateInput`.
|
|
@@ -876,6 +888,16 @@ export declare interface DateInputCustomFormatPlaceholder {
|
|
|
876
888
|
second?: string;
|
|
877
889
|
}
|
|
878
890
|
|
|
891
|
+
/**
|
|
892
|
+
* The arguments for the `onFocus` event of the DateInput.
|
|
893
|
+
*/
|
|
894
|
+
export declare interface DateInputFocusEvent {
|
|
895
|
+
/**
|
|
896
|
+
* The native browser focus event.
|
|
897
|
+
*/
|
|
898
|
+
event: FocusEvent;
|
|
899
|
+
}
|
|
900
|
+
|
|
879
901
|
/**
|
|
880
902
|
* The union type which defines all possible format options of the DateInput placeholder.
|
|
881
903
|
*
|
|
@@ -1212,10 +1234,10 @@ computedValue(): Date | null;
|
|
|
1212
1234
|
computedShow(): boolean;
|
|
1213
1235
|
}, {
|
|
1214
1236
|
focus(): void;
|
|
1215
|
-
handleFocus(event:
|
|
1216
|
-
handleBlur(event:
|
|
1217
|
-
calendarBlur(): void;
|
|
1218
|
-
calendarFocus(): void;
|
|
1237
|
+
handleFocus(event: FocusEvent): void;
|
|
1238
|
+
handleBlur(event: FocusEvent): void;
|
|
1239
|
+
calendarBlur(event: FocusEvent): void;
|
|
1240
|
+
calendarFocus(event: FocusEvent): void;
|
|
1219
1241
|
createBlurTimeout(): void;
|
|
1220
1242
|
validity(): FormComponentValidity;
|
|
1221
1243
|
nextValue(nextProps: DatePickerProps, nextState: any): any;
|
|
@@ -1230,15 +1252,15 @@ handleIconClick(event: any): void;
|
|
|
1230
1252
|
handleIconMouseDown(event: any): void;
|
|
1231
1253
|
handleKeyDown(event: any): void;
|
|
1232
1254
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1233
|
-
change:
|
|
1234
|
-
changemodel:
|
|
1235
|
-
'update:modelValue':
|
|
1236
|
-
iconclick:
|
|
1237
|
-
focus:
|
|
1238
|
-
blur:
|
|
1239
|
-
keydown:
|
|
1240
|
-
open:
|
|
1241
|
-
close:
|
|
1255
|
+
change: (event: DatePickerChangeEvent) => true;
|
|
1256
|
+
changemodel: (value: Date | null) => true;
|
|
1257
|
+
'update:modelValue': (value: Date | null) => true;
|
|
1258
|
+
iconclick: (event: Event) => true;
|
|
1259
|
+
focus: (event: DatePickerFocusEvent) => true;
|
|
1260
|
+
blur: (event: DatePickerBlurEvent) => true;
|
|
1261
|
+
keydown: (event: KeyboardEvent) => true;
|
|
1262
|
+
open: (event: DatePickerOpenEvent) => true;
|
|
1263
|
+
close: (event: DatePickerCloseEvent) => true;
|
|
1242
1264
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1243
1265
|
defaultShow: {
|
|
1244
1266
|
type: PropType<boolean>;
|
|
@@ -1338,15 +1360,15 @@ default: any;
|
|
|
1338
1360
|
ariaLabel: PropType<string>;
|
|
1339
1361
|
inputAttributes: PropType<Object>;
|
|
1340
1362
|
}>> & Readonly<{
|
|
1341
|
-
onBlur?: (
|
|
1342
|
-
onChange?: (
|
|
1343
|
-
onClose?: (
|
|
1344
|
-
onFocus?: (
|
|
1345
|
-
onKeydown?: (
|
|
1346
|
-
onOpen?: (
|
|
1347
|
-
onChangemodel?: (
|
|
1348
|
-
"onUpdate:modelValue"?: (
|
|
1349
|
-
onIconclick?: (
|
|
1363
|
+
onBlur?: (event: DatePickerBlurEvent) => any;
|
|
1364
|
+
onChange?: (event: DatePickerChangeEvent) => any;
|
|
1365
|
+
onClose?: (event: DatePickerCloseEvent) => any;
|
|
1366
|
+
onFocus?: (event: DatePickerFocusEvent) => any;
|
|
1367
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
1368
|
+
onOpen?: (event: DatePickerOpenEvent) => any;
|
|
1369
|
+
onChangemodel?: (value: Date) => any;
|
|
1370
|
+
"onUpdate:modelValue"?: (value: Date) => any;
|
|
1371
|
+
onIconclick?: (event: Event) => any;
|
|
1350
1372
|
}>, {
|
|
1351
1373
|
title: string;
|
|
1352
1374
|
tabIndex: number;
|
|
@@ -1370,6 +1392,16 @@ calendar: any;
|
|
|
1370
1392
|
toggleButton: any;
|
|
1371
1393
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1372
1394
|
|
|
1395
|
+
/**
|
|
1396
|
+
* The arguments for the `onBlur` event of the DatePicker.
|
|
1397
|
+
*/
|
|
1398
|
+
export declare interface DatePickerBlurEvent {
|
|
1399
|
+
/**
|
|
1400
|
+
* The native browser blur event.
|
|
1401
|
+
*/
|
|
1402
|
+
event: FocusEvent;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1373
1405
|
/**
|
|
1374
1406
|
* The arguments for the `change` event of the DatePicker.
|
|
1375
1407
|
*/
|
|
@@ -1388,6 +1420,16 @@ export declare interface DatePickerCloseEvent {
|
|
|
1388
1420
|
component: any;
|
|
1389
1421
|
}
|
|
1390
1422
|
|
|
1423
|
+
/**
|
|
1424
|
+
* The arguments for the `onFocus` event of the DatePicker.
|
|
1425
|
+
*/
|
|
1426
|
+
export declare interface DatePickerFocusEvent {
|
|
1427
|
+
/**
|
|
1428
|
+
* The native browser focus event.
|
|
1429
|
+
*/
|
|
1430
|
+
event: FocusEvent;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1391
1433
|
/**
|
|
1392
1434
|
* The arguments for the `open` event of the DatePicker.
|
|
1393
1435
|
*/
|
|
@@ -1696,14 +1738,14 @@ calculateShow(nextProps: DateRangePickerProps, nextState: DateRangePickerData):
|
|
|
1696
1738
|
setShow(show: boolean): void;
|
|
1697
1739
|
handleReverseClick(event: any): void;
|
|
1698
1740
|
handleReverseMouseDown(event: any): void;
|
|
1699
|
-
handleFocus(event:
|
|
1741
|
+
handleFocus(event: FocusEvent): void;
|
|
1700
1742
|
calendarBlur(): void;
|
|
1701
1743
|
calendarFocus(): void;
|
|
1702
1744
|
createBlurTimeout(): void;
|
|
1703
1745
|
getStartInput(): any;
|
|
1704
1746
|
getEndInput(): any;
|
|
1705
1747
|
getCalendar(): any;
|
|
1706
|
-
handleBlur(event:
|
|
1748
|
+
handleBlur(event: FocusEvent): void;
|
|
1707
1749
|
handleEndChange(event: DateInputChangeEvent): void;
|
|
1708
1750
|
handleStartChange(event: DateInputChangeEvent): void;
|
|
1709
1751
|
extractRangeFromValue(event: CalendarChangeEvent): SelectionRange;
|
|
@@ -1711,14 +1753,14 @@ handleCalendarChange(event: CalendarChangeEvent): void;
|
|
|
1711
1753
|
handleKeyDown(event: any): void;
|
|
1712
1754
|
handleChange(value: SelectionRange, event: CalendarChangeEvent | DateInputChangeEvent | ReverseClickEvent): void;
|
|
1713
1755
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1714
|
-
blur:
|
|
1715
|
-
change:
|
|
1716
|
-
changemodel: any;
|
|
1717
|
-
'update:modelValue': any;
|
|
1718
|
-
focus:
|
|
1719
|
-
keydown:
|
|
1720
|
-
open:
|
|
1721
|
-
close:
|
|
1756
|
+
blur: (event: DateRangePickerBlurEvent) => true;
|
|
1757
|
+
change: (event: DateRangePickerChangeEvent) => true;
|
|
1758
|
+
changemodel: (value: any) => true;
|
|
1759
|
+
'update:modelValue': (value: any) => true;
|
|
1760
|
+
focus: (event: DateRangePickerFocusEvent) => true;
|
|
1761
|
+
keydown: (event: KeyboardEvent) => true;
|
|
1762
|
+
open: (event: DateRangePickerOpenEvent) => true;
|
|
1763
|
+
close: (event: DateRangePickerCloseEvent) => true;
|
|
1722
1764
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1723
1765
|
allowReverse: {
|
|
1724
1766
|
type: PropType<boolean>;
|
|
@@ -1797,14 +1839,14 @@ default: () => any;
|
|
|
1797
1839
|
};
|
|
1798
1840
|
inputAttributes: PropType<Object>;
|
|
1799
1841
|
}>> & Readonly<{
|
|
1800
|
-
onBlur?: (
|
|
1801
|
-
onChange?: (
|
|
1802
|
-
onClose?: (
|
|
1803
|
-
onFocus?: (
|
|
1804
|
-
onKeydown?: (
|
|
1805
|
-
onOpen?: (
|
|
1806
|
-
onChangemodel?: (
|
|
1807
|
-
"onUpdate:modelValue"?: (
|
|
1842
|
+
onBlur?: (event: DateRangePickerBlurEvent) => any;
|
|
1843
|
+
onChange?: (event: DateRangePickerChangeEvent) => any;
|
|
1844
|
+
onClose?: (event: DateRangePickerCloseEvent) => any;
|
|
1845
|
+
onFocus?: (event: DateRangePickerFocusEvent) => any;
|
|
1846
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
1847
|
+
onOpen?: (event: DateRangePickerOpenEvent) => any;
|
|
1848
|
+
onChangemodel?: (value: any) => any;
|
|
1849
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
1808
1850
|
}>, {
|
|
1809
1851
|
value: SelectionRange;
|
|
1810
1852
|
size: string;
|
|
@@ -1823,6 +1865,16 @@ defaultShow: boolean;
|
|
|
1823
1865
|
swapButton: boolean;
|
|
1824
1866
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1825
1867
|
|
|
1868
|
+
/**
|
|
1869
|
+
* The arguments for the `onBlur` event of the DateRangePicker.
|
|
1870
|
+
*/
|
|
1871
|
+
export declare interface DateRangePickerBlurEvent {
|
|
1872
|
+
/**
|
|
1873
|
+
* The native browser blur event.
|
|
1874
|
+
*/
|
|
1875
|
+
event: FocusEvent;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1826
1878
|
/**
|
|
1827
1879
|
* Represents the settings that can be passed to the Calendar inside the DateRangePicker.
|
|
1828
1880
|
*/
|
|
@@ -1874,6 +1926,16 @@ declare interface DateRangePickerData {
|
|
|
1874
1926
|
export declare interface DateRangePickerDateInputSettings extends DateInputSettings {
|
|
1875
1927
|
}
|
|
1876
1928
|
|
|
1929
|
+
/**
|
|
1930
|
+
* The arguments for the `onFocus` event of the DateRangePicker.
|
|
1931
|
+
*/
|
|
1932
|
+
export declare interface DateRangePickerFocusEvent {
|
|
1933
|
+
/**
|
|
1934
|
+
* The native browser focus event.
|
|
1935
|
+
*/
|
|
1936
|
+
event: FocusEvent;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1877
1939
|
/**
|
|
1878
1940
|
* The arguments for the `open` event of the DateRangePicker.
|
|
1879
1941
|
*/
|
|
@@ -2213,9 +2275,9 @@ focus(): void;
|
|
|
2213
2275
|
setShow(show: boolean): void;
|
|
2214
2276
|
handleReject(): void;
|
|
2215
2277
|
handleValueChange(event: DateInputChangeEvent | DateTimeSelectorChangeEvent): void;
|
|
2216
|
-
handleFocus(event:
|
|
2217
|
-
handleBlur(event:
|
|
2218
|
-
timeSelectorBlur(event:
|
|
2278
|
+
handleFocus(event: FocusEvent): void;
|
|
2279
|
+
handleBlur(event: FocusEvent): void;
|
|
2280
|
+
timeSelectorBlur(event: FocusEvent): void;
|
|
2219
2281
|
timeSelectorFocus(): void;
|
|
2220
2282
|
createBlurTimeout(): void;
|
|
2221
2283
|
handleDateIconClick(event: any): void;
|
|
@@ -2223,15 +2285,15 @@ handleIconMouseDown(event: any): void;
|
|
|
2223
2285
|
handleKeyDown(event: any): void;
|
|
2224
2286
|
dateInputElement(): any;
|
|
2225
2287
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2226
|
-
changemodel:
|
|
2227
|
-
'update:modelValue':
|
|
2228
|
-
iconclick:
|
|
2229
|
-
change:
|
|
2230
|
-
focus:
|
|
2231
|
-
blur:
|
|
2232
|
-
keydown:
|
|
2233
|
-
open:
|
|
2234
|
-
close:
|
|
2288
|
+
changemodel: (value: Date | null) => true;
|
|
2289
|
+
'update:modelValue': (value: Date | null) => true;
|
|
2290
|
+
iconclick: (event: Event) => true;
|
|
2291
|
+
change: (event: DateTimePickerChangeEvent) => true;
|
|
2292
|
+
focus: (event: DateTimePickerFocusEvent) => true;
|
|
2293
|
+
blur: (event: DateTimePickerBlurEvent) => true;
|
|
2294
|
+
keydown: (event: KeyboardEvent) => true;
|
|
2295
|
+
open: (event: DateTimePickerOpenEvent) => true;
|
|
2296
|
+
close: (event: DateTimePickerCloseEvent) => true;
|
|
2235
2297
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2236
2298
|
modelValue: {
|
|
2237
2299
|
type: PropType<Date>;
|
|
@@ -2353,15 +2415,15 @@ default: boolean;
|
|
|
2353
2415
|
};
|
|
2354
2416
|
inputAttributes: PropType<Object>;
|
|
2355
2417
|
}>> & Readonly<{
|
|
2356
|
-
onBlur?: (
|
|
2357
|
-
onChange?: (
|
|
2358
|
-
onClose?: (
|
|
2359
|
-
onFocus?: (
|
|
2360
|
-
onKeydown?: (
|
|
2361
|
-
onOpen?: (
|
|
2362
|
-
onChangemodel?: (
|
|
2363
|
-
"onUpdate:modelValue"?: (
|
|
2364
|
-
onIconclick?: (
|
|
2418
|
+
onBlur?: (event: DateTimePickerBlurEvent) => any;
|
|
2419
|
+
onChange?: (event: DateTimePickerChangeEvent) => any;
|
|
2420
|
+
onClose?: (event: DateTimePickerCloseEvent) => any;
|
|
2421
|
+
onFocus?: (event: DateTimePickerFocusEvent) => any;
|
|
2422
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
2423
|
+
onOpen?: (event: DateTimePickerOpenEvent) => any;
|
|
2424
|
+
onChangemodel?: (value: Date) => any;
|
|
2425
|
+
"onUpdate:modelValue"?: (value: Date) => any;
|
|
2426
|
+
onIconclick?: (event: Event) => any;
|
|
2365
2427
|
}>, {
|
|
2366
2428
|
required: boolean;
|
|
2367
2429
|
title: string;
|
|
@@ -2391,6 +2453,16 @@ calendar: any;
|
|
|
2391
2453
|
cancelButton: boolean;
|
|
2392
2454
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2393
2455
|
|
|
2456
|
+
/**
|
|
2457
|
+
* The arguments for the `onBlur` event of the DateTimePicker.
|
|
2458
|
+
*/
|
|
2459
|
+
export declare interface DateTimePickerBlurEvent {
|
|
2460
|
+
/**
|
|
2461
|
+
* The native browser blur event.
|
|
2462
|
+
*/
|
|
2463
|
+
event: FocusEvent;
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2394
2466
|
/**
|
|
2395
2467
|
* The arguments for the `onChange` event of the DateTimePicker.
|
|
2396
2468
|
*/
|
|
@@ -2417,6 +2489,16 @@ declare interface DateTimePickerComputed {
|
|
|
2417
2489
|
computedShow: boolean;
|
|
2418
2490
|
}
|
|
2419
2491
|
|
|
2492
|
+
/**
|
|
2493
|
+
* The arguments for the `onFocus` event of the DateTimePicker.
|
|
2494
|
+
*/
|
|
2495
|
+
export declare interface DateTimePickerFocusEvent {
|
|
2496
|
+
/**
|
|
2497
|
+
* The native browser focus event.
|
|
2498
|
+
*/
|
|
2499
|
+
event: FocusEvent;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2420
2502
|
/**
|
|
2421
2503
|
* The arguments for the `open` event of the DateTimePicker.
|
|
2422
2504
|
*/
|
|
@@ -2849,9 +2931,9 @@ setShow(show: boolean): void;
|
|
|
2849
2931
|
mergeTime(value: Date | null): Date | null;
|
|
2850
2932
|
handleInputValueChange(event: DateInputChangeEvent): void;
|
|
2851
2933
|
handleValueChange(event: DateInputChangeEvent | TimeSelectorChangeEvent): void;
|
|
2852
|
-
handleFocus(event:
|
|
2853
|
-
handleBlur(event:
|
|
2854
|
-
timeBlur(event:
|
|
2934
|
+
handleFocus(event: FocusEvent): void;
|
|
2935
|
+
handleBlur(event: FocusEvent): void;
|
|
2936
|
+
timeBlur(event: FocusEvent): void;
|
|
2855
2937
|
timeFocus(): void;
|
|
2856
2938
|
createBlurTimeout(): void;
|
|
2857
2939
|
handleValueReject(_: any): void;
|
|
@@ -2859,15 +2941,15 @@ handleIconClick(event: any): void;
|
|
|
2859
2941
|
handleIconMouseDown(event: any): void;
|
|
2860
2942
|
handleKeyDown(event: any): void;
|
|
2861
2943
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2862
|
-
changemodel:
|
|
2863
|
-
'update:modelValue':
|
|
2864
|
-
iconclick:
|
|
2865
|
-
change:
|
|
2866
|
-
focus:
|
|
2867
|
-
blur:
|
|
2868
|
-
keydown:
|
|
2869
|
-
open:
|
|
2870
|
-
close:
|
|
2944
|
+
changemodel: (value: Date | null) => true;
|
|
2945
|
+
'update:modelValue': (value: Date | null) => true;
|
|
2946
|
+
iconclick: (event: Event) => true;
|
|
2947
|
+
change: (event: TimePickerChangeEvent) => true;
|
|
2948
|
+
focus: (event: TimePickerFocusEvent) => true;
|
|
2949
|
+
blur: (event: TimePickerBlurEvent) => true;
|
|
2950
|
+
keydown: (event: KeyboardEvent) => true;
|
|
2951
|
+
open: (event: TimePickerOpenEvent) => true;
|
|
2952
|
+
close: (event: TimePickerCloseEvent) => true;
|
|
2871
2953
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2872
2954
|
cancelButton: {
|
|
2873
2955
|
type: PropType<boolean>;
|
|
@@ -2983,15 +3065,15 @@ default: any;
|
|
|
2983
3065
|
};
|
|
2984
3066
|
inputAttributes: PropType<Object>;
|
|
2985
3067
|
}>> & Readonly<{
|
|
2986
|
-
onBlur?: (
|
|
2987
|
-
onChange?: (
|
|
2988
|
-
onClose?: (
|
|
2989
|
-
onFocus?: (
|
|
2990
|
-
onKeydown?: (
|
|
2991
|
-
onOpen?: (
|
|
2992
|
-
onChangemodel?: (
|
|
2993
|
-
"onUpdate:modelValue"?: (
|
|
2994
|
-
onIconclick?: (
|
|
3068
|
+
onBlur?: (event: TimePickerBlurEvent) => any;
|
|
3069
|
+
onChange?: (event: TimePickerChangeEvent) => any;
|
|
3070
|
+
onClose?: (event: TimePickerCloseEvent) => any;
|
|
3071
|
+
onFocus?: (event: TimePickerFocusEvent) => any;
|
|
3072
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
3073
|
+
onOpen?: (event: TimePickerOpenEvent) => any;
|
|
3074
|
+
onChangemodel?: (value: Date) => any;
|
|
3075
|
+
"onUpdate:modelValue"?: (value: Date) => any;
|
|
3076
|
+
onIconclick?: (event: Event) => any;
|
|
2995
3077
|
}>, {
|
|
2996
3078
|
required: boolean;
|
|
2997
3079
|
value: Date;
|
|
@@ -3020,6 +3102,16 @@ cancelButton: boolean;
|
|
|
3020
3102
|
nowButton: boolean;
|
|
3021
3103
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3022
3104
|
|
|
3105
|
+
/**
|
|
3106
|
+
* The arguments for the `onBlur` event of the TimePicker.
|
|
3107
|
+
*/
|
|
3108
|
+
export declare interface TimePickerBlurEvent {
|
|
3109
|
+
/**
|
|
3110
|
+
* The native browser blur event.
|
|
3111
|
+
*/
|
|
3112
|
+
event: FocusEvent;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3023
3115
|
/**
|
|
3024
3116
|
* The arguments for the `onChange` event of the TimePicker.
|
|
3025
3117
|
*/
|
|
@@ -3037,6 +3129,16 @@ export declare interface TimePickerCloseEvent {
|
|
|
3037
3129
|
component: any;
|
|
3038
3130
|
}
|
|
3039
3131
|
|
|
3132
|
+
/**
|
|
3133
|
+
* The arguments for the `onFocus` event of the TimePicker.
|
|
3134
|
+
*/
|
|
3135
|
+
export declare interface TimePickerFocusEvent {
|
|
3136
|
+
/**
|
|
3137
|
+
* The native browser focus event.
|
|
3138
|
+
*/
|
|
3139
|
+
event: FocusEvent;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3040
3142
|
/**
|
|
3041
3143
|
* The interface which defines all possible incremental steps in the TimePicker.
|
|
3042
3144
|
*/
|
|
@@ -3337,22 +3439,22 @@ handleMouseDown(event: any): void;
|
|
|
3337
3439
|
handlePointerDown(event: any): void;
|
|
3338
3440
|
handleMouseUp(event: any): void;
|
|
3339
3441
|
handlePointerUp(event: any): void;
|
|
3340
|
-
handleFocus(event:
|
|
3341
|
-
handleBlur(event:
|
|
3442
|
+
handleFocus(event: FocusEvent): void;
|
|
3443
|
+
handleBlur(event: FocusEvent): void;
|
|
3342
3444
|
handleKeypress(event: any): void;
|
|
3343
3445
|
handleKeydown(event: any): void;
|
|
3344
3446
|
handleContextmenu(event: any): void;
|
|
3345
3447
|
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3346
|
-
click:
|
|
3347
|
-
mousedown:
|
|
3348
|
-
mouseup:
|
|
3349
|
-
pointerdown:
|
|
3350
|
-
pointerup:
|
|
3351
|
-
focus:
|
|
3352
|
-
blur:
|
|
3353
|
-
keypress:
|
|
3354
|
-
keydown:
|
|
3355
|
-
contextmenu:
|
|
3448
|
+
click: (event: Event) => true;
|
|
3449
|
+
mousedown: (event: MouseEvent) => true;
|
|
3450
|
+
mouseup: (event: MouseEvent) => true;
|
|
3451
|
+
pointerdown: (event: PointerEvent) => true;
|
|
3452
|
+
pointerup: (event: PointerEvent) => true;
|
|
3453
|
+
focus: (event: ButtonFocusEvent) => true;
|
|
3454
|
+
blur: (event: ButtonBlurEvent) => true;
|
|
3455
|
+
keypress: (event: KeyboardEvent) => true;
|
|
3456
|
+
keydown: (event: KeyboardEvent) => true;
|
|
3457
|
+
contextmenu: (event: MouseEvent) => true;
|
|
3356
3458
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3357
3459
|
ariaLabel: PropType<string>;
|
|
3358
3460
|
ariaPressed: PropType<boolean>;
|
|
@@ -3413,16 +3515,16 @@ id: PropType<string>;
|
|
|
3413
3515
|
type: PropType<string>;
|
|
3414
3516
|
role: PropType<string>;
|
|
3415
3517
|
}>> & Readonly<{
|
|
3416
|
-
onClick?: (
|
|
3417
|
-
onBlur?: (
|
|
3418
|
-
onContextmenu?: (
|
|
3419
|
-
onFocus?: (
|
|
3420
|
-
onKeydown?: (
|
|
3421
|
-
onKeypress?: (
|
|
3422
|
-
onMousedown?: (
|
|
3423
|
-
onMouseup?: (
|
|
3424
|
-
onPointerdown?: (
|
|
3425
|
-
onPointerup?: (
|
|
3518
|
+
onClick?: (event: Event) => any;
|
|
3519
|
+
onBlur?: (event: ButtonBlurEvent) => any;
|
|
3520
|
+
onContextmenu?: (event: MouseEvent) => any;
|
|
3521
|
+
onFocus?: (event: ButtonFocusEvent) => any;
|
|
3522
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
3523
|
+
onKeypress?: (event: KeyboardEvent) => any;
|
|
3524
|
+
onMousedown?: (event: MouseEvent) => any;
|
|
3525
|
+
onMouseup?: (event: MouseEvent) => any;
|
|
3526
|
+
onPointerdown?: (event: PointerEvent) => any;
|
|
3527
|
+
onPointerup?: (event: PointerEvent) => any;
|
|
3426
3528
|
}>, {
|
|
3427
3529
|
themeColor: string;
|
|
3428
3530
|
size: string;
|