@progress/kendo-vue-dateinputs 8.0.3-develop.2 → 8.0.3-develop.3
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/PopupSettings.d.ts +21 -0
- package/calendar/components/Calendar.d.ts +206 -0
- package/calendar/components/CalendarCell.d.ts +70 -0
- package/calendar/components/CalendarHeaderTitle.d.ts +35 -0
- package/calendar/components/CalendarWeekCell.d.ts +35 -0
- package/calendar/components/Header.d.ts +175 -0
- package/calendar/components/View.d.ts +204 -0
- package/calendar/components/ViewList.d.ts +226 -0
- package/calendar/components/interfaces/CalendarComputed.d.ts +17 -0
- package/calendar/components/interfaces/CalendarData.d.ts +17 -0
- package/calendar/components/interfaces/CalendarEventArguments.d.ts +63 -0
- package/calendar/components/interfaces/CalendarMethods.d.ts +40 -0
- package/calendar/components/interfaces/CalendarProps.d.ts +66 -0
- package/calendar/components/interfaces/CalendarState.d.ts +32 -0
- package/calendar/models/ActiveView.d.ts +11 -0
- package/calendar/models/CalendarMode.d.ts +16 -0
- package/calendar/models/CalendarSettings.d.ts +84 -0
- package/calendar/models/CalendarViewEnum.d.ts +16 -0
- package/calendar/models/CellContext.d.ts +26 -0
- package/calendar/models/NavigationAction.d.ts +22 -0
- package/calendar/models/SelectionRange.d.ts +24 -0
- package/calendar/models/SelectionRangeEnd.d.ts +11 -0
- package/calendar/models/ViewService.d.ts +32 -0
- package/calendar/models/main.d.ts +17 -0
- package/calendar/services/BusViewService.d.ts +28 -0
- package/calendar/services/CenturyViewService.d.ts +32 -0
- package/calendar/services/DOMService.d.ts +36 -0
- package/calendar/services/DecadeViewService.d.ts +34 -0
- package/calendar/services/MonthViewService.d.ts +40 -0
- package/calendar/services/NavigationService.d.ts +20 -0
- package/calendar/services/WeekNamesService.d.ts +16 -0
- package/calendar/services/YearViewService.d.ts +38 -0
- package/calendar/services/main.d.ts +16 -0
- package/calendar/utils/main.d.ts +33 -0
- package/common/PickerWrap.d.ts +23 -0
- package/dateinput/DateInput.d.ts +260 -0
- package/dateinput/DateInput.mjs +3 -3
- package/dateinput/interfaces/DateInputBlurEvent.d.ts +16 -0
- package/dateinput/interfaces/DateInputComputed.d.ts +15 -0
- package/dateinput/interfaces/DateInputData.d.ts +18 -0
- package/dateinput/interfaces/DateInputEventArguments.d.ts +17 -0
- package/dateinput/interfaces/DateInputFocusEvent.d.ts +16 -0
- package/dateinput/interfaces/DateInputMethods.d.ts +37 -0
- package/dateinput/interfaces/DateInputProps.d.ts +38 -0
- package/dateinput/interfaces/DateInputState.d.ts +16 -0
- package/dateinput/models/DateInputSettings.d.ts +160 -0
- package/dateinput/models/format-placeholder.d.ts +46 -0
- package/dateinput/models/incremental-steps.d.ts +18 -0
- package/dateinput/models/kendo-date.d.ts +60 -0
- package/dateinput/models/main.d.ts +14 -0
- package/dateinput/models/mask.d.ts +14 -0
- package/dateinput/models/selection.d.ts +14 -0
- package/dateinput/utils.d.ts +37 -0
- package/datepicker/DatePicker.d.ts +280 -0
- package/datepicker/DatePicker.js +1 -1
- package/datepicker/DatePicker.mjs +11 -10
- package/datepicker/ToggleButton.d.ts +151 -0
- package/datepicker/interfaces/DatePickerComputed.d.ts +15 -0
- package/datepicker/interfaces/DatePickerData.d.ts +15 -0
- package/datepicker/interfaces/DatePickerEventArguments.d.ts +29 -0
- package/datepicker/interfaces/DatePickerFocusBlurEvents.d.ts +25 -0
- package/datepicker/interfaces/DatePickerMethods.d.ts +34 -0
- package/datepicker/interfaces/DatePickerProps.d.ts +53 -0
- package/datepicker/interfaces/DatePickerState.d.ts +23 -0
- package/datepicker/models/DatePickerSettings.d.ts +157 -0
- package/datepicker/models/main.d.ts +9 -0
- package/daterangepicker/DateRangePicker.d.ts +315 -0
- package/daterangepicker/interfaces/DateRangePickerFocusBlurEvents.d.ts +25 -0
- package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerSettings.d.ts +162 -0
- package/daterangepicker/models/main.d.ts +12 -0
- package/datetimepicker/DateTimePicker.d.ts +380 -0
- package/datetimepicker/DateTimePicker.js +1 -1
- package/datetimepicker/DateTimePicker.mjs +17 -16
- package/datetimepicker/DateTimeSelector.d.ts +188 -0
- package/datetimepicker/interfaces/DateTimePickerFocusBlurEvents.d.ts +25 -0
- package/datetimepicker/models/DateTimePickerSettings.d.ts +199 -0
- package/datetimepicker/models/main.d.ts +9 -0
- package/defaults.d.ts +27 -0
- package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
- package/index.d.mts +30 -3477
- package/index.d.ts +30 -3477
- package/messages/main.d.ts +117 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +16 -10
- package/timepicker/TimeList.d.ts +129 -0
- package/timepicker/TimePart.d.ts +177 -0
- package/timepicker/TimePart.js +1 -1
- package/timepicker/TimePart.mjs +2 -2
- package/timepicker/TimePicker.d.ts +369 -0
- package/timepicker/TimePicker.js +1 -1
- package/timepicker/TimePicker.mjs +1 -0
- package/timepicker/TimeSelector.d.ts +185 -0
- package/timepicker/interfaces/TimePickerFocusBlurEvents.d.ts +25 -0
- package/timepicker/models/IncrementalSteps.d.ts +15 -0
- package/timepicker/models/ListItem.d.ts +14 -0
- package/timepicker/models/ListService.d.ts +22 -0
- package/timepicker/models/ListServiceSettings.d.ts +19 -0
- package/timepicker/models/TimePart.d.ts +17 -0
- package/timepicker/models/TimePickerSettings.d.ts +180 -0
- package/timepicker/models/main.d.ts +14 -0
- package/timepicker/services/DOMService.d.ts +17 -0
- package/timepicker/services/DayPeriodService.d.ts +54 -0
- package/timepicker/services/HoursService.d.ts +40 -0
- package/timepicker/services/MinutesService.d.ts +39 -0
- package/timepicker/services/SecondsService.d.ts +39 -0
- package/timepicker/services/main.d.ts +13 -0
- package/timepicker/utils.d.ts +63 -0
- package/utils.d.ts +77 -0
- package/utils.mjs +1 -1
- package/virtualization/Virtualization.d.ts +186 -0
- package/virtualization/Virtualization.js +1 -1
- package/virtualization/Virtualization.mjs +2 -2
- package/virtualization/services/RowHeightService.d.ts +25 -0
- package/virtualization/services/ScrollerService.d.ts +56 -0
- package/virtualization/services/main.d.ts +10 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
declare const ToggleButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
ariaLabel: import('vue').PropType<string>;
|
|
13
|
+
ariaPressed: import('vue').PropType<boolean>;
|
|
14
|
+
title: import('vue').PropType<string>;
|
|
15
|
+
dir: import('vue').PropType<string>;
|
|
16
|
+
selected: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
togglable: {
|
|
21
|
+
type: import('vue').PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
icon: {
|
|
25
|
+
type: import('vue').PropType<string>;
|
|
26
|
+
default: () => any;
|
|
27
|
+
};
|
|
28
|
+
svgIcon: import('vue').PropType<import('@progress/kendo-vue-common').SVGIcon>;
|
|
29
|
+
iconSize: {
|
|
30
|
+
type: import('vue').PropType<string>;
|
|
31
|
+
};
|
|
32
|
+
iconClass: {
|
|
33
|
+
type: import('vue').PropType<string>;
|
|
34
|
+
default: () => any;
|
|
35
|
+
};
|
|
36
|
+
imageUrl: {
|
|
37
|
+
type: import('vue').PropType<string>;
|
|
38
|
+
default: () => any;
|
|
39
|
+
};
|
|
40
|
+
imageAlt: import('vue').PropType<string>;
|
|
41
|
+
disabled: {
|
|
42
|
+
type: import('vue').PropType<boolean>;
|
|
43
|
+
default: any;
|
|
44
|
+
};
|
|
45
|
+
size: import('vue').PropType<"small" | "medium" | "large">;
|
|
46
|
+
rounded: import('vue').PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
47
|
+
fillMode: import('vue').PropType<"flat" | "link" | "solid" | "outline">;
|
|
48
|
+
themeColor: import('vue').PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
|
|
49
|
+
tabIndex: import('vue').PropType<number>;
|
|
50
|
+
accessKey: import('vue').PropType<string>;
|
|
51
|
+
id: import('vue').PropType<string>;
|
|
52
|
+
type: import('vue').PropType<string>;
|
|
53
|
+
role: import('vue').PropType<string>;
|
|
54
|
+
}>, {}, {
|
|
55
|
+
currentActive: any;
|
|
56
|
+
}, {
|
|
57
|
+
computedSelected(): boolean;
|
|
58
|
+
buttonClasses(): {
|
|
59
|
+
[x: string]: any;
|
|
60
|
+
'k-icon-button': boolean;
|
|
61
|
+
'k-disabled': any;
|
|
62
|
+
'k-selected': any;
|
|
63
|
+
'k-rtl': boolean;
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
focus(e: any): void;
|
|
67
|
+
toggleIfApplicable(): void;
|
|
68
|
+
handleClick(event: any): void;
|
|
69
|
+
handleMouseDown(event: any): void;
|
|
70
|
+
handlePointerDown(event: any): void;
|
|
71
|
+
handleMouseUp(event: any): void;
|
|
72
|
+
handlePointerUp(event: any): void;
|
|
73
|
+
handleFocus(event: FocusEvent): void;
|
|
74
|
+
handleBlur(event: FocusEvent): void;
|
|
75
|
+
handleKeypress(event: any): void;
|
|
76
|
+
handleKeydown(event: any): void;
|
|
77
|
+
handleContextmenu(event: any): void;
|
|
78
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
79
|
+
click: (event: Event) => true;
|
|
80
|
+
mousedown: (event: MouseEvent) => true;
|
|
81
|
+
mouseup: (event: MouseEvent) => true;
|
|
82
|
+
pointerdown: (event: PointerEvent) => true;
|
|
83
|
+
pointerup: (event: PointerEvent) => true;
|
|
84
|
+
focus: (event: import('@progress/kendo-vue-buttons').ButtonFocusEvent) => true;
|
|
85
|
+
blur: (event: import('@progress/kendo-vue-buttons').ButtonBlurEvent) => true;
|
|
86
|
+
keypress: (event: KeyboardEvent) => true;
|
|
87
|
+
keydown: (event: KeyboardEvent) => true;
|
|
88
|
+
contextmenu: (event: MouseEvent) => true;
|
|
89
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
90
|
+
ariaLabel: import('vue').PropType<string>;
|
|
91
|
+
ariaPressed: import('vue').PropType<boolean>;
|
|
92
|
+
title: import('vue').PropType<string>;
|
|
93
|
+
dir: import('vue').PropType<string>;
|
|
94
|
+
selected: {
|
|
95
|
+
type: import('vue').PropType<boolean>;
|
|
96
|
+
default: any;
|
|
97
|
+
};
|
|
98
|
+
togglable: {
|
|
99
|
+
type: import('vue').PropType<boolean>;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
icon: {
|
|
103
|
+
type: import('vue').PropType<string>;
|
|
104
|
+
default: () => any;
|
|
105
|
+
};
|
|
106
|
+
svgIcon: import('vue').PropType<import('@progress/kendo-vue-common').SVGIcon>;
|
|
107
|
+
iconSize: {
|
|
108
|
+
type: import('vue').PropType<string>;
|
|
109
|
+
};
|
|
110
|
+
iconClass: {
|
|
111
|
+
type: import('vue').PropType<string>;
|
|
112
|
+
default: () => any;
|
|
113
|
+
};
|
|
114
|
+
imageUrl: {
|
|
115
|
+
type: import('vue').PropType<string>;
|
|
116
|
+
default: () => any;
|
|
117
|
+
};
|
|
118
|
+
imageAlt: import('vue').PropType<string>;
|
|
119
|
+
disabled: {
|
|
120
|
+
type: import('vue').PropType<boolean>;
|
|
121
|
+
default: any;
|
|
122
|
+
};
|
|
123
|
+
size: import('vue').PropType<"small" | "medium" | "large">;
|
|
124
|
+
rounded: import('vue').PropType<"small" | "medium" | "large" | "full" | "none">;
|
|
125
|
+
fillMode: import('vue').PropType<"flat" | "link" | "solid" | "outline">;
|
|
126
|
+
themeColor: import('vue').PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
|
|
127
|
+
tabIndex: import('vue').PropType<number>;
|
|
128
|
+
accessKey: import('vue').PropType<string>;
|
|
129
|
+
id: import('vue').PropType<string>;
|
|
130
|
+
type: import('vue').PropType<string>;
|
|
131
|
+
role: import('vue').PropType<string>;
|
|
132
|
+
}>> & Readonly<{
|
|
133
|
+
onClick?: (event: Event) => any;
|
|
134
|
+
onBlur?: (event: import('@progress/kendo-vue-buttons').ButtonBlurEvent) => any;
|
|
135
|
+
onContextmenu?: (event: MouseEvent) => any;
|
|
136
|
+
onFocus?: (event: import('@progress/kendo-vue-buttons').ButtonFocusEvent) => any;
|
|
137
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
138
|
+
onKeypress?: (event: KeyboardEvent) => any;
|
|
139
|
+
onMousedown?: (event: MouseEvent) => any;
|
|
140
|
+
onMouseup?: (event: MouseEvent) => any;
|
|
141
|
+
onPointerdown?: (event: PointerEvent) => any;
|
|
142
|
+
onPointerup?: (event: PointerEvent) => any;
|
|
143
|
+
}>, {
|
|
144
|
+
icon: string;
|
|
145
|
+
selected: boolean;
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
togglable: boolean;
|
|
148
|
+
iconClass: string;
|
|
149
|
+
imageUrl: string;
|
|
150
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
151
|
+
export { ToggleButton };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface DatePickerComputed {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
computedValue: Date | null;
|
|
14
|
+
computedShow: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface DatePickerData {
|
|
12
|
+
currentValue: Date | null;
|
|
13
|
+
currentShow: boolean;
|
|
14
|
+
isFocused: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `change` event of the DatePicker.
|
|
10
|
+
*/
|
|
11
|
+
export interface DatePickerChangeEvent {
|
|
12
|
+
event: any;
|
|
13
|
+
value: Date | null;
|
|
14
|
+
show: boolean;
|
|
15
|
+
target: any;
|
|
16
|
+
component: any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The arguments for the `open` event of the DatePicker.
|
|
20
|
+
*/
|
|
21
|
+
export interface DatePickerOpenEvent {
|
|
22
|
+
component: any;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The arguments for the `close` event of the DatePicker.
|
|
26
|
+
*/
|
|
27
|
+
export interface DatePickerCloseEvent {
|
|
28
|
+
component: any;
|
|
29
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onFocus` event of the DatePicker.
|
|
10
|
+
*/
|
|
11
|
+
export interface DatePickerFocusEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native browser focus event.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The arguments for the `onBlur` event of the DatePicker.
|
|
19
|
+
*/
|
|
20
|
+
export interface DatePickerBlurEvent {
|
|
21
|
+
/**
|
|
22
|
+
* The native browser blur event.
|
|
23
|
+
*/
|
|
24
|
+
event: FocusEvent;
|
|
25
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { FormComponentValidity } from '@progress/kendo-vue-common';
|
|
9
|
+
import { DatePickerProps, DateInputChangeEvent, CalendarChangeEvent } from '../..';
|
|
10
|
+
import { DatePickerState } from './DatePickerState';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface DatePickerMethods {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
emitBlur?: (_: any) => void;
|
|
17
|
+
validity: () => FormComponentValidity;
|
|
18
|
+
nextValue: (nextProps: DatePickerProps, nextState: DatePickerState) => any;
|
|
19
|
+
nextShow: (nextProps: DatePickerProps, nextState: DatePickerState) => any;
|
|
20
|
+
setShow: (show: boolean) => void;
|
|
21
|
+
mergeTime: (value: Date | null) => Date | null;
|
|
22
|
+
handleInputValueChange: (event: DateInputChangeEvent) => void;
|
|
23
|
+
handleCalendarValueChange: (event: CalendarChangeEvent) => void;
|
|
24
|
+
handleValueChange: (value: Date | null, event: DateInputChangeEvent | CalendarChangeEvent) => void;
|
|
25
|
+
handleFocus: (event: any) => void;
|
|
26
|
+
handleBlur: (event: any) => void;
|
|
27
|
+
calendarFocus: (event: any) => void;
|
|
28
|
+
calendarBlur: (event: any) => void;
|
|
29
|
+
getDateInputText: () => string;
|
|
30
|
+
createBlurTimeout: () => void;
|
|
31
|
+
handleIconClick: () => void;
|
|
32
|
+
handleIconMouseDown: (event: any) => void;
|
|
33
|
+
handleKeyDown: (event: any) => void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { DatePickerChangeEvent } from './DatePickerEventArguments';
|
|
9
|
+
import { DatePickerSettings } from '../models/main';
|
|
10
|
+
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the props of the [Kendo UI for Vue DatePicker component]({% slug overview_datepicker %}).
|
|
13
|
+
*/
|
|
14
|
+
export interface DatePickerProps extends DatePickerSettings, FormComponentProps {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
modelValue?: Date;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the default value of the DatePicker ([see example]({% slug default_value_datepicker %})).
|
|
21
|
+
*/
|
|
22
|
+
defaultValue?: Date;
|
|
23
|
+
/**
|
|
24
|
+
* Fires each time the user selects a new value ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
|
|
25
|
+
*/
|
|
26
|
+
onChange?: (event: DatePickerChangeEvent) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Fires when the icon element is clicked.
|
|
29
|
+
*/
|
|
30
|
+
onIconclick?: (event: any) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Renders a floating label for the DatePicker.
|
|
33
|
+
*/
|
|
34
|
+
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the value of the placeholder.
|
|
37
|
+
*/
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the value of the DatePicker ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
|
|
41
|
+
*
|
|
42
|
+
* > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
|
|
43
|
+
*/
|
|
44
|
+
value?: Date | null;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the validate of the DatePicker.
|
|
47
|
+
*/
|
|
48
|
+
validate?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies the validate of the DatePicker.
|
|
51
|
+
*/
|
|
52
|
+
ariaLabel?: string;
|
|
53
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface DatePickerState {
|
|
12
|
+
_popupId: string;
|
|
13
|
+
_wrapper: any;
|
|
14
|
+
_dateInput: any;
|
|
15
|
+
_calendar: any;
|
|
16
|
+
_anchor: string;
|
|
17
|
+
_oldShow: boolean;
|
|
18
|
+
_blurTimeout: any;
|
|
19
|
+
kendoAnchorRef: any;
|
|
20
|
+
wrapperRef: any;
|
|
21
|
+
dateInputRef: any;
|
|
22
|
+
calendarRef: any;
|
|
23
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { DateInputFormatPlaceholder } from '../../dateinput/models/format-placeholder';
|
|
9
|
+
import { DateInputsPopupSettings } from '../../PopupSettings';
|
|
10
|
+
import { DateFormatOptions } from '@progress/kendo-vue-intl';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface DatePickerSettings {
|
|
15
|
+
/**
|
|
16
|
+
* Enables the customization or the override of the default wrapping component around the `DateInput` and `ToggleButton` rendered by the DatePicker
|
|
17
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
|
|
18
|
+
*/
|
|
19
|
+
pickerWrap?: any;
|
|
20
|
+
/**
|
|
21
|
+
* Enables the customization or the override of the default Toggle button which is rendered by the DatePicker
|
|
22
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
|
|
23
|
+
*/
|
|
24
|
+
toggleButton?: any;
|
|
25
|
+
/**
|
|
26
|
+
* Enables the customization or the override of the default Calendar which is rendered by the DatePicker
|
|
27
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-calendar)).
|
|
28
|
+
*/
|
|
29
|
+
calendar?: any;
|
|
30
|
+
/**
|
|
31
|
+
* Enables the customization or the override of the default Popup which is rendered by the DatePicker
|
|
32
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-popup)).
|
|
33
|
+
*/
|
|
34
|
+
popup?: any;
|
|
35
|
+
/**
|
|
36
|
+
* Enables the customization or the override of the default DateInput which is rendered by the DatePicker
|
|
37
|
+
* ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-dateinput)).
|
|
38
|
+
*/
|
|
39
|
+
dateInput?: any;
|
|
40
|
+
/**
|
|
41
|
+
* Sets the default state of the DatePicker upon render ([see example]({% slug default_value_datepicker %})).
|
|
42
|
+
*/
|
|
43
|
+
defaultShow?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Determines whether the DatePicker is disabled ([see example]({% slug disabled_datepicker %})).
|
|
46
|
+
*/
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Configures the `size` of the TimeInput.
|
|
50
|
+
*
|
|
51
|
+
* The available options are:
|
|
52
|
+
* - small
|
|
53
|
+
* - medium
|
|
54
|
+
* - large
|
|
55
|
+
* - null—Does not set a size `class`.
|
|
56
|
+
*
|
|
57
|
+
* @default `medium`
|
|
58
|
+
*/
|
|
59
|
+
size?: null | 'small' | 'medium' | 'large';
|
|
60
|
+
/**
|
|
61
|
+
* Configures the `roundness` of the TimeInput.
|
|
62
|
+
*
|
|
63
|
+
* The available options are:
|
|
64
|
+
* - small
|
|
65
|
+
* - medium
|
|
66
|
+
* - large
|
|
67
|
+
* - circle
|
|
68
|
+
* - full
|
|
69
|
+
* - null—Does not set a rounded `class`.
|
|
70
|
+
*
|
|
71
|
+
* @default `medium`
|
|
72
|
+
*/
|
|
73
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
74
|
+
/**
|
|
75
|
+
* Configures the `fillMode` of the TimeInput.
|
|
76
|
+
*
|
|
77
|
+
* The available options are:
|
|
78
|
+
* - solid
|
|
79
|
+
* - outline
|
|
80
|
+
* - flat
|
|
81
|
+
* - link
|
|
82
|
+
* - null—Does not set a fillMode `class`.
|
|
83
|
+
*
|
|
84
|
+
* @default `solid`
|
|
85
|
+
*/
|
|
86
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the focused date of the DatePicker ([see example]({% slug dates_datepicker %})).
|
|
89
|
+
*/
|
|
90
|
+
focusedDate?: Date;
|
|
91
|
+
/**
|
|
92
|
+
* Specifies the date format that is used to display the input value ([see example]({% slug formats_datepicker %})).
|
|
93
|
+
*/
|
|
94
|
+
format?: string | DateFormatOptions;
|
|
95
|
+
/**
|
|
96
|
+
* Defines the descriptions of the format sections in the input field ([more information and examples]({% slug placeholders_datepicker %})).
|
|
97
|
+
*/
|
|
98
|
+
formatPlaceholder?: DateInputFormatPlaceholder;
|
|
99
|
+
/**
|
|
100
|
+
* Specifies the `id` of the DatePicker.
|
|
101
|
+
*/
|
|
102
|
+
id?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies the greatest valid date ([see example]({% slug dateranges_datepicker %})).
|
|
105
|
+
*/
|
|
106
|
+
max?: Date;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the smallest valid date ([see example]({% slug dateranges_datepicker %})).
|
|
109
|
+
*/
|
|
110
|
+
min?: Date;
|
|
111
|
+
/**
|
|
112
|
+
* Specifies the `name` property of the `input` DOM element.
|
|
113
|
+
*/
|
|
114
|
+
name?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Fires each time any of the DatePicker elements gets blurred.
|
|
117
|
+
*/
|
|
118
|
+
onBlur?: (event: any) => void;
|
|
119
|
+
/**
|
|
120
|
+
* Fires each time the user focuses any of the DatePicker elements.
|
|
121
|
+
*/
|
|
122
|
+
onFocus?: (event: any) => void;
|
|
123
|
+
/**
|
|
124
|
+
* Configures the popup options of the DatePicker.
|
|
125
|
+
*
|
|
126
|
+
* The available options are:
|
|
127
|
+
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
128
|
+
* - `appendTo`: — Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
|
|
129
|
+
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
130
|
+
*/
|
|
131
|
+
popupSettings?: DateInputsPopupSettings;
|
|
132
|
+
/**
|
|
133
|
+
* Specifies if the calendar will be displayed ([see example]({% slug controlled_datepicker %}#toc-controlling-the-popup-state)).
|
|
134
|
+
*/
|
|
135
|
+
show?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Sets the `tabIndex` property of the DatePicker.
|
|
138
|
+
*/
|
|
139
|
+
tabIndex?: number;
|
|
140
|
+
/**
|
|
141
|
+
* Sets the title of the `input` element of the DatePicker.
|
|
142
|
+
*/
|
|
143
|
+
title?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Determines whether to display a week number column in the `month` view of the Calendar ([see example]({% slug weeknumcolumn_datepicker %})).
|
|
146
|
+
*/
|
|
147
|
+
weekNumber?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Specifies the width of the DatePicker.
|
|
150
|
+
*/
|
|
151
|
+
width?: number | string;
|
|
152
|
+
/**
|
|
153
|
+
* Sets the built-in HTML attributes of the inner focusable input element.
|
|
154
|
+
* Attributes which are essential for certain component functionalities cannot be changed.
|
|
155
|
+
*/
|
|
156
|
+
inputAttributes?: Object;
|
|
157
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { DatePickerSettings } from './DatePickerSettings';
|
|
9
|
+
export { type DatePickerSettings };
|