@progress/kendo-vue-dateinputs 8.0.3-develop.2 → 8.0.3-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.
Files changed (120) hide show
  1. package/PopupSettings.d.ts +21 -0
  2. package/calendar/components/Calendar.d.ts +206 -0
  3. package/calendar/components/CalendarCell.d.ts +70 -0
  4. package/calendar/components/CalendarHeaderTitle.d.ts +35 -0
  5. package/calendar/components/CalendarWeekCell.d.ts +35 -0
  6. package/calendar/components/Header.d.ts +175 -0
  7. package/calendar/components/View.d.ts +204 -0
  8. package/calendar/components/ViewList.d.ts +226 -0
  9. package/calendar/components/interfaces/CalendarComputed.d.ts +17 -0
  10. package/calendar/components/interfaces/CalendarData.d.ts +17 -0
  11. package/calendar/components/interfaces/CalendarEventArguments.d.ts +63 -0
  12. package/calendar/components/interfaces/CalendarMethods.d.ts +40 -0
  13. package/calendar/components/interfaces/CalendarProps.d.ts +66 -0
  14. package/calendar/components/interfaces/CalendarState.d.ts +32 -0
  15. package/calendar/models/ActiveView.d.ts +11 -0
  16. package/calendar/models/CalendarMode.d.ts +16 -0
  17. package/calendar/models/CalendarSettings.d.ts +84 -0
  18. package/calendar/models/CalendarViewEnum.d.ts +16 -0
  19. package/calendar/models/CellContext.d.ts +26 -0
  20. package/calendar/models/NavigationAction.d.ts +22 -0
  21. package/calendar/models/SelectionRange.d.ts +24 -0
  22. package/calendar/models/SelectionRangeEnd.d.ts +11 -0
  23. package/calendar/models/ViewService.d.ts +32 -0
  24. package/calendar/models/main.d.ts +17 -0
  25. package/calendar/services/BusViewService.d.ts +28 -0
  26. package/calendar/services/CenturyViewService.d.ts +32 -0
  27. package/calendar/services/DOMService.d.ts +36 -0
  28. package/calendar/services/DecadeViewService.d.ts +34 -0
  29. package/calendar/services/MonthViewService.d.ts +40 -0
  30. package/calendar/services/NavigationService.d.ts +20 -0
  31. package/calendar/services/WeekNamesService.d.ts +16 -0
  32. package/calendar/services/YearViewService.d.ts +38 -0
  33. package/calendar/services/main.d.ts +16 -0
  34. package/calendar/utils/main.d.ts +33 -0
  35. package/common/PickerWrap.d.ts +23 -0
  36. package/dateinput/DateInput.d.ts +260 -0
  37. package/dateinput/DateInput.mjs +3 -3
  38. package/dateinput/interfaces/DateInputBlurEvent.d.ts +16 -0
  39. package/dateinput/interfaces/DateInputComputed.d.ts +15 -0
  40. package/dateinput/interfaces/DateInputData.d.ts +18 -0
  41. package/dateinput/interfaces/DateInputEventArguments.d.ts +17 -0
  42. package/dateinput/interfaces/DateInputFocusEvent.d.ts +16 -0
  43. package/dateinput/interfaces/DateInputMethods.d.ts +37 -0
  44. package/dateinput/interfaces/DateInputProps.d.ts +38 -0
  45. package/dateinput/interfaces/DateInputState.d.ts +16 -0
  46. package/dateinput/models/DateInputSettings.d.ts +160 -0
  47. package/dateinput/models/format-placeholder.d.ts +46 -0
  48. package/dateinput/models/incremental-steps.d.ts +18 -0
  49. package/dateinput/models/kendo-date.d.ts +60 -0
  50. package/dateinput/models/main.d.ts +14 -0
  51. package/dateinput/models/mask.d.ts +14 -0
  52. package/dateinput/models/selection.d.ts +14 -0
  53. package/dateinput/utils.d.ts +37 -0
  54. package/datepicker/DatePicker.d.ts +280 -0
  55. package/datepicker/DatePicker.js +1 -1
  56. package/datepicker/DatePicker.mjs +11 -10
  57. package/datepicker/ToggleButton.d.ts +151 -0
  58. package/datepicker/interfaces/DatePickerComputed.d.ts +15 -0
  59. package/datepicker/interfaces/DatePickerData.d.ts +15 -0
  60. package/datepicker/interfaces/DatePickerEventArguments.d.ts +29 -0
  61. package/datepicker/interfaces/DatePickerFocusBlurEvents.d.ts +25 -0
  62. package/datepicker/interfaces/DatePickerMethods.d.ts +34 -0
  63. package/datepicker/interfaces/DatePickerProps.d.ts +53 -0
  64. package/datepicker/interfaces/DatePickerState.d.ts +23 -0
  65. package/datepicker/models/DatePickerSettings.d.ts +157 -0
  66. package/datepicker/models/main.d.ts +9 -0
  67. package/daterangepicker/DateRangePicker.d.ts +315 -0
  68. package/daterangepicker/interfaces/DateRangePickerFocusBlurEvents.d.ts +25 -0
  69. package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +13 -0
  70. package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +13 -0
  71. package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +13 -0
  72. package/daterangepicker/models/DateRangePickerSettings.d.ts +162 -0
  73. package/daterangepicker/models/main.d.ts +12 -0
  74. package/datetimepicker/DateTimePicker.d.ts +380 -0
  75. package/datetimepicker/DateTimePicker.js +1 -1
  76. package/datetimepicker/DateTimePicker.mjs +17 -16
  77. package/datetimepicker/DateTimeSelector.d.ts +188 -0
  78. package/datetimepicker/interfaces/DateTimePickerFocusBlurEvents.d.ts +25 -0
  79. package/datetimepicker/models/DateTimePickerSettings.d.ts +199 -0
  80. package/datetimepicker/models/main.d.ts +9 -0
  81. package/defaults.d.ts +27 -0
  82. package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
  83. package/index.d.mts +30 -3477
  84. package/index.d.ts +30 -3477
  85. package/messages/main.d.ts +117 -0
  86. package/package-metadata.d.ts +12 -0
  87. package/package-metadata.js +1 -1
  88. package/package-metadata.mjs +2 -2
  89. package/package.json +16 -10
  90. package/timepicker/TimeList.d.ts +129 -0
  91. package/timepicker/TimePart.d.ts +177 -0
  92. package/timepicker/TimePart.js +1 -1
  93. package/timepicker/TimePart.mjs +2 -2
  94. package/timepicker/TimePicker.d.ts +369 -0
  95. package/timepicker/TimePicker.js +1 -1
  96. package/timepicker/TimePicker.mjs +1 -0
  97. package/timepicker/TimeSelector.d.ts +185 -0
  98. package/timepicker/interfaces/TimePickerFocusBlurEvents.d.ts +25 -0
  99. package/timepicker/models/IncrementalSteps.d.ts +15 -0
  100. package/timepicker/models/ListItem.d.ts +14 -0
  101. package/timepicker/models/ListService.d.ts +22 -0
  102. package/timepicker/models/ListServiceSettings.d.ts +19 -0
  103. package/timepicker/models/TimePart.d.ts +17 -0
  104. package/timepicker/models/TimePickerSettings.d.ts +180 -0
  105. package/timepicker/models/main.d.ts +14 -0
  106. package/timepicker/services/DOMService.d.ts +17 -0
  107. package/timepicker/services/DayPeriodService.d.ts +54 -0
  108. package/timepicker/services/HoursService.d.ts +40 -0
  109. package/timepicker/services/MinutesService.d.ts +39 -0
  110. package/timepicker/services/SecondsService.d.ts +39 -0
  111. package/timepicker/services/main.d.ts +13 -0
  112. package/timepicker/utils.d.ts +63 -0
  113. package/utils.d.ts +77 -0
  114. package/utils.mjs +1 -1
  115. package/virtualization/Virtualization.d.ts +186 -0
  116. package/virtualization/Virtualization.js +1 -1
  117. package/virtualization/Virtualization.mjs +2 -2
  118. package/virtualization/services/RowHeightService.d.ts +25 -0
  119. package/virtualization/services/ScrollerService.d.ts +56 -0
  120. package/virtualization/services/main.d.ts +10 -0
@@ -0,0 +1,204 @@
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 { CellContext, SelectionRange, ViewService } from '../models/main';
9
+ import { BusViewService } from '../services/main';
10
+ import { PropType } from 'vue';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface ViewEventArguments {
15
+ event?: any;
16
+ value: Date;
17
+ target: any;
18
+ }
19
+ /**
20
+ * @hidden
21
+ */
22
+ export interface ViewWeekCellEventArguments {
23
+ event?: any;
24
+ value: number | null;
25
+ }
26
+ /**
27
+ * @hidden
28
+ */
29
+ export interface ViewWeekNameEventArguments {
30
+ event?: any;
31
+ value: string | null;
32
+ }
33
+ /**
34
+ * @hidden
35
+ */
36
+ export interface ViewDimensions {
37
+ headerHight: number;
38
+ offsetHeight: number;
39
+ }
40
+ /**
41
+ * @hidden
42
+ */
43
+ export interface ViewProps {
44
+ activeRangeEnd?: string;
45
+ activeView: number;
46
+ bus: BusViewService;
47
+ cellUID: string;
48
+ direction?: 'horizontal' | 'vertical';
49
+ isActive: boolean;
50
+ focusedDate: Date;
51
+ weekCell?: any;
52
+ max: Date;
53
+ min: Date;
54
+ cell?: any;
55
+ selectedDate: Date | Date[] | null;
56
+ selectionRange?: SelectionRange;
57
+ service: ViewService;
58
+ showWeekNumbers?: boolean;
59
+ viewDate: Date;
60
+ onChange?: (args: ViewEventArguments) => void;
61
+ onWeekcellclick?: (args: ViewWeekCellEventArguments) => void;
62
+ onCellenter?: (value: Date) => void;
63
+ onViewmousedown?: (args: ViewEventArguments) => void;
64
+ }
65
+ /**
66
+ * @hidden
67
+ */
68
+ export interface ViewComputed {
69
+ [key: string]: any;
70
+ isMonthView?: boolean;
71
+ weekNumber?: boolean;
72
+ isHorizontal?: boolean;
73
+ }
74
+ /**
75
+ * @hidden
76
+ */
77
+ declare const View: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
78
+ activeRangeEnd: {
79
+ type: PropType<string>;
80
+ };
81
+ activeView: {
82
+ type: PropType<number>;
83
+ required: true;
84
+ };
85
+ cell: PropType<any>;
86
+ cellUID: {
87
+ type: PropType<string>;
88
+ required: true;
89
+ };
90
+ direction: {
91
+ type: PropType<"horizontal" | "vertical">;
92
+ default: string;
93
+ };
94
+ isActive: {
95
+ type: PropType<boolean>;
96
+ default: any;
97
+ };
98
+ focusedDate: {
99
+ type: PropType<Date>;
100
+ required: true;
101
+ };
102
+ max: {
103
+ type: PropType<Date>;
104
+ required: true;
105
+ };
106
+ min: {
107
+ type: PropType<Date>;
108
+ required: true;
109
+ };
110
+ selectedDate: {
111
+ type: PropType<Date | Date[]>;
112
+ default: () => Date;
113
+ };
114
+ selectionRange: PropType<SelectionRange>;
115
+ showWeekNumbers: {
116
+ type: PropType<boolean>;
117
+ default: boolean;
118
+ };
119
+ viewDate: {
120
+ type: PropType<Date>;
121
+ required: true;
122
+ };
123
+ weekCell: PropType<any>;
124
+ bus: PropType<BusViewService>;
125
+ service: PropType<ViewService>;
126
+ onChange: PropType<(args: ViewEventArguments) => void>;
127
+ onWeekcellclick: PropType<(args: ViewWeekCellEventArguments) => void>;
128
+ onCellenter: PropType<(value: Date) => void>;
129
+ onViewmousedown: PropType<(args: ViewEventArguments) => void>;
130
+ }>, {
131
+ kendoIntlService: {};
132
+ }, {}, {
133
+ isHorizontal(): ViewComputed['isHorizontal'];
134
+ isMonthView(): ViewComputed['isMonthView'];
135
+ weekNumber(): ViewComputed['weekNumber'];
136
+ }, {
137
+ getWeekNumber(date: Date): number | null;
138
+ firstDate(row: any): any;
139
+ firstWeekDateContext(rowCtx: CellContext[]): CellContext | null;
140
+ handleClick(value: Date, event: any): void;
141
+ handleWeekCellClick(value: number | null, event: any): void;
142
+ handleMouseDown(value: Date, event: any): void;
143
+ handleMouseEnter(value: Date): void;
144
+ handleMouseLeave(value: Date): void;
145
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
146
+ activeRangeEnd: {
147
+ type: PropType<string>;
148
+ };
149
+ activeView: {
150
+ type: PropType<number>;
151
+ required: true;
152
+ };
153
+ cell: PropType<any>;
154
+ cellUID: {
155
+ type: PropType<string>;
156
+ required: true;
157
+ };
158
+ direction: {
159
+ type: PropType<"horizontal" | "vertical">;
160
+ default: string;
161
+ };
162
+ isActive: {
163
+ type: PropType<boolean>;
164
+ default: any;
165
+ };
166
+ focusedDate: {
167
+ type: PropType<Date>;
168
+ required: true;
169
+ };
170
+ max: {
171
+ type: PropType<Date>;
172
+ required: true;
173
+ };
174
+ min: {
175
+ type: PropType<Date>;
176
+ required: true;
177
+ };
178
+ selectedDate: {
179
+ type: PropType<Date | Date[]>;
180
+ default: () => Date;
181
+ };
182
+ selectionRange: PropType<SelectionRange>;
183
+ showWeekNumbers: {
184
+ type: PropType<boolean>;
185
+ default: boolean;
186
+ };
187
+ viewDate: {
188
+ type: PropType<Date>;
189
+ required: true;
190
+ };
191
+ weekCell: PropType<any>;
192
+ bus: PropType<BusViewService>;
193
+ service: PropType<ViewService>;
194
+ onChange: PropType<(args: ViewEventArguments) => void>;
195
+ onWeekcellclick: PropType<(args: ViewWeekCellEventArguments) => void>;
196
+ onCellenter: PropType<(value: Date) => void>;
197
+ onViewmousedown: PropType<(args: ViewEventArguments) => void>;
198
+ }>> & Readonly<{}>, {
199
+ direction: "horizontal" | "vertical";
200
+ selectedDate: Date | Date[];
201
+ isActive: boolean;
202
+ showWeekNumbers: boolean;
203
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
204
+ export { View };
@@ -0,0 +1,226 @@
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 { ViewEventArguments, ViewWeekCellEventArguments } from './View';
9
+ import { HeaderEventArguments } from './Header';
10
+ import { BusViewService, DOMService } from '../services/main';
11
+ import { ViewService, SelectionRange } from '../models/main';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface ViewListEventArguments {
16
+ event?: any;
17
+ value: Date;
18
+ target: any;
19
+ isTodayClick?: boolean;
20
+ }
21
+ /**
22
+ * @hidden
23
+ */
24
+ export interface ViewListProps {
25
+ allowReverse: boolean;
26
+ hasFocusedDate: boolean;
27
+ activeView: number;
28
+ bottomOffset?: number;
29
+ bus?: BusViewService;
30
+ cellUID: string;
31
+ dates: any;
32
+ dom: DOMService;
33
+ focusedDate: Date;
34
+ max: Date;
35
+ min: Date;
36
+ cell?: any;
37
+ isActive: boolean;
38
+ onChange?: (event: ViewListEventArguments) => void;
39
+ selectionRange?: SelectionRange;
40
+ service: ViewService;
41
+ showWeekNumbers?: boolean;
42
+ take?: number;
43
+ value: Date | Date[] | SelectionRange | null;
44
+ views: number;
45
+ viewHeight?: number;
46
+ viewOffset?: number;
47
+ weekCell?: any;
48
+ headerTitle?: any;
49
+ shouldScroll?: boolean;
50
+ }
51
+ /**
52
+ * @hidden
53
+ */
54
+ export interface ViewListComputed {
55
+ [key: string]: any;
56
+ weekNames?: string[];
57
+ weekNumber?: boolean;
58
+ animate?: boolean;
59
+ }
60
+ /**
61
+ * @hidden
62
+ */
63
+ declare const ViewList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
64
+ allowReverse: BooleanConstructor;
65
+ hasFocusedDate: BooleanConstructor;
66
+ activeView: {
67
+ type: NumberConstructor;
68
+ required: true;
69
+ };
70
+ bottomOffset: {
71
+ type: NumberConstructor;
72
+ };
73
+ cell: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
74
+ cellUID: {
75
+ type: StringConstructor;
76
+ required: true;
77
+ };
78
+ dates: ArrayConstructor;
79
+ focusedDate: {
80
+ type: DateConstructor;
81
+ required: true;
82
+ };
83
+ isActive: {
84
+ type: BooleanConstructor;
85
+ default: any;
86
+ };
87
+ max: {
88
+ type: DateConstructor;
89
+ required: true;
90
+ };
91
+ min: {
92
+ type: DateConstructor;
93
+ required: true;
94
+ };
95
+ selectionRange: ObjectConstructor;
96
+ showWeekNumbers: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ take: {
101
+ type: NumberConstructor;
102
+ default: number;
103
+ };
104
+ value: {
105
+ type: (ArrayConstructor | ObjectConstructor | DateConstructor)[];
106
+ };
107
+ views: {
108
+ type: NumberConstructor;
109
+ default: number;
110
+ };
111
+ viewHeight: NumberConstructor;
112
+ viewOffset: NumberConstructor;
113
+ bus: ObjectConstructor;
114
+ dom: ObjectConstructor;
115
+ weekCell: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
116
+ service: ObjectConstructor;
117
+ tabIndex: NumberConstructor;
118
+ shouldScroll: BooleanConstructor;
119
+ onChange: FunctionConstructor;
120
+ onWeekcellclick: FunctionConstructor;
121
+ onWeeknameclick: FunctionConstructor;
122
+ onCellenter: FunctionConstructor;
123
+ onViewmousedown: FunctionConstructor;
124
+ onListfocus: FunctionConstructor;
125
+ onListblur: FunctionConstructor;
126
+ onListkeydown: FunctionConstructor;
127
+ onListmousedown: FunctionConstructor;
128
+ }>, {
129
+ kendoIntlService: {};
130
+ }, {
131
+ lastViewsCount: number;
132
+ valueHasUpdated: boolean;
133
+ shouldScrollValue: boolean;
134
+ }, {
135
+ weekNames(): ViewListComputed['weekNames'];
136
+ weekNumber(): ViewListComputed['weekNumber'];
137
+ }, {
138
+ handleFocus(event: any): void;
139
+ handleBlur(event: any): void;
140
+ handleKeyDown(event: any): void;
141
+ handleVirtualizationMount(_virtualization: any): void;
142
+ calculateHeights(): void;
143
+ getTake(skip: number, total: number): number;
144
+ handleScrollAction(): void;
145
+ handleTodayClick(event: HeaderEventArguments): void;
146
+ handleMouseDown(event: ViewEventArguments): void;
147
+ handleDateChange(event: ViewEventArguments | HeaderEventArguments, isTodayClick?: boolean): void;
148
+ handleWeekCellClick(event: ViewWeekCellEventArguments): void;
149
+ handleWeekNameClick(event: any, value: string): void;
150
+ handleCellEnter(event: any): void;
151
+ rotateSelectionRange(selectionRange: SelectionRange): SelectionRange;
152
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
153
+ allowReverse: BooleanConstructor;
154
+ hasFocusedDate: BooleanConstructor;
155
+ activeView: {
156
+ type: NumberConstructor;
157
+ required: true;
158
+ };
159
+ bottomOffset: {
160
+ type: NumberConstructor;
161
+ };
162
+ cell: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
163
+ cellUID: {
164
+ type: StringConstructor;
165
+ required: true;
166
+ };
167
+ dates: ArrayConstructor;
168
+ focusedDate: {
169
+ type: DateConstructor;
170
+ required: true;
171
+ };
172
+ isActive: {
173
+ type: BooleanConstructor;
174
+ default: any;
175
+ };
176
+ max: {
177
+ type: DateConstructor;
178
+ required: true;
179
+ };
180
+ min: {
181
+ type: DateConstructor;
182
+ required: true;
183
+ };
184
+ selectionRange: ObjectConstructor;
185
+ showWeekNumbers: {
186
+ type: BooleanConstructor;
187
+ default: boolean;
188
+ };
189
+ take: {
190
+ type: NumberConstructor;
191
+ default: number;
192
+ };
193
+ value: {
194
+ type: (ArrayConstructor | ObjectConstructor | DateConstructor)[];
195
+ };
196
+ views: {
197
+ type: NumberConstructor;
198
+ default: number;
199
+ };
200
+ viewHeight: NumberConstructor;
201
+ viewOffset: NumberConstructor;
202
+ bus: ObjectConstructor;
203
+ dom: ObjectConstructor;
204
+ weekCell: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
205
+ service: ObjectConstructor;
206
+ tabIndex: NumberConstructor;
207
+ shouldScroll: BooleanConstructor;
208
+ onChange: FunctionConstructor;
209
+ onWeekcellclick: FunctionConstructor;
210
+ onWeeknameclick: FunctionConstructor;
211
+ onCellenter: FunctionConstructor;
212
+ onViewmousedown: FunctionConstructor;
213
+ onListfocus: FunctionConstructor;
214
+ onListblur: FunctionConstructor;
215
+ onListkeydown: FunctionConstructor;
216
+ onListmousedown: FunctionConstructor;
217
+ }>> & Readonly<{}>, {
218
+ isActive: boolean;
219
+ showWeekNumbers: boolean;
220
+ allowReverse: boolean;
221
+ hasFocusedDate: boolean;
222
+ shouldScroll: boolean;
223
+ take: number;
224
+ views: number;
225
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
226
+ export { ViewList };
@@ -0,0 +1,17 @@
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 { SelectionRangeEnd } from '../../models/main';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface CalendarComputed {
13
+ [key: string]: any;
14
+ activeRange?: SelectionRangeEnd;
15
+ currentMin: Date;
16
+ currentMax: Date;
17
+ }
@@ -0,0 +1,17 @@
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 { CalendarViewEnum, SelectionRangeEnd } from '../../models/main';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface CalendarData {
13
+ id: string;
14
+ activeView: CalendarViewEnum;
15
+ currentFocusedDate: Date;
16
+ currentActiveRangeEnd: SelectionRangeEnd;
17
+ }
@@ -0,0 +1,63 @@
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 { SelectionRange } from '../../models/main';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface NavigationEventArguments {
13
+ event?: any;
14
+ value: Date;
15
+ target: any;
16
+ }
17
+ /**
18
+ * The arguments for the `change` event of the Calendar. The generic argument sets the target type of the event. Defaults to `Calendar`.
19
+ */
20
+ export interface CalendarChangeEvent {
21
+ /**
22
+ * A native DOM event.
23
+ */
24
+ event?: any;
25
+ /**
26
+ * The new value.
27
+ */
28
+ value: Date | Date[] | SelectionRange | null;
29
+ /**
30
+ * The Calendar element.
31
+ */
32
+ component: any;
33
+ /**
34
+ * The target object.
35
+ */
36
+ target: any;
37
+ }
38
+ /**
39
+ * The arguments for the `weekcellclick` event of the Calendar.
40
+ */
41
+ export interface CalendarWeekCellClickEvent {
42
+ /**
43
+ * A native DOM event.
44
+ */
45
+ event?: any;
46
+ /**
47
+ * The new value.
48
+ */
49
+ value: number | null;
50
+ }
51
+ /**
52
+ * The arguments for the `weeknameclick` event of the Calendar.
53
+ */
54
+ export interface CalendarWeekNameClickEvent {
55
+ /**
56
+ * A native DOM event.
57
+ */
58
+ event?: any;
59
+ /**
60
+ * The value.
61
+ */
62
+ value: string | null;
63
+ }
@@ -0,0 +1,40 @@
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 { SelectionRange, CalendarViewEnum } from '../../models/main';
9
+ import { ViewListEventArguments } from '../ViewList';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface CalendarMethods {
14
+ [key: string]: any;
15
+ computedValue: () => Date | Date[] | SelectionRange | null;
16
+ focus: (event?: any) => void;
17
+ handleTodayClick: (e: any) => void;
18
+ handleFocus: () => void;
19
+ handleBlur: () => void;
20
+ emitFocus: (e: any) => void;
21
+ emitBlur: (e: any) => void;
22
+ tableKeyDown: (_: any) => void;
23
+ handleClick: (_: any) => void;
24
+ handleWeekCellClick: (_: any) => void;
25
+ handleWeekNameClick: (_: any) => void;
26
+ handleCellEnter: (value: Date) => void;
27
+ handleDateChange: (args: any) => void;
28
+ handleNextClick: (event: ViewListEventArguments) => void;
29
+ handlePrevClick: (event: ViewListEventArguments) => void;
30
+ handleMouseDown: (event: ViewListEventArguments) => void;
31
+ handleTitleClick: () => void;
32
+ handleViewChange: (e: {
33
+ view: CalendarViewEnum;
34
+ }) => void;
35
+ triggerChange: (value: Date, event: ViewListEventArguments) => void;
36
+ isValueEqual: (newValue: Date | Date[] | SelectionRange | null, oldValue: Date | Date[] | SelectionRange | null) => boolean;
37
+ generateRange: (candidate: Date, value: SelectionRange) => SelectionRange;
38
+ clampRange: (value: Date) => SelectionRange;
39
+ rangeWithFocused: (range: SelectionRange, focusedDate: Date) => SelectionRange;
40
+ }
@@ -0,0 +1,66 @@
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 { CalendarSettings, SelectionRangeEnd, SelectionRange, CalendarMode } from '../../models/main';
9
+ import { CalendarChangeEvent, CalendarWeekCellClickEvent } from '../../..';
10
+ import { CalendarWeekNameClickEvent } from './CalendarEventArguments';
11
+ /**
12
+ * Represents the props of the [Kendo UI for Vue Calendar component]({% slug overview_calendar %}). The generic argument is passed to the `change` property and is used as a target in the [`CalendarChangeEvent`]({% slug api_dateinputs_calendarchangeevent %}) interface.
13
+ */
14
+ export interface CalendarProps extends CalendarSettings {
15
+ /**
16
+ * Specifies which end of the defined selection range will be marked as active.
17
+ *
18
+ * > If the selection range is undefined, the value is ignored.
19
+ */
20
+ activeRangeEnd?: SelectionRangeEnd;
21
+ /**
22
+ * If set to `true`, the component skips the validation of whether the `from` value is after the `to` value.
23
+ */
24
+ allowReverse?: boolean;
25
+ /**
26
+ * @hidden
27
+ */
28
+ modelValue?: Date | Date[] | SelectionRange | null;
29
+ /**
30
+ * Sets the default value of the Calendar.
31
+ */
32
+ defaultValue?: Date | Date[] | SelectionRange | null;
33
+ /**
34
+ * An event that is called after the value of the Calendar has changed.
35
+ */
36
+ onChange?: (event: CalendarChangeEvent) => void;
37
+ /**
38
+ * An event called when the week number cell is clicked.
39
+ */
40
+ onWeekcellclick?: (event: CalendarWeekCellClickEvent) => void;
41
+ /**
42
+ * An event called when the week name cell is clicked.
43
+ */
44
+ onWeeknameclick?: (event: CalendarWeekNameClickEvent) => void;
45
+ /**
46
+ * Sets the value of the Calendar.
47
+ */
48
+ value?: Date | Date[] | SelectionRange | null;
49
+ /**
50
+ * Sets the value of the Calendar.
51
+ */
52
+ views: number;
53
+ /**
54
+ * Sets the selection mode of the Calendar.
55
+ *
56
+ * The available modes are:
57
+ * * (Default) `single`&mdash;Renders a single-date selection.
58
+ * * `multiple`&mdash;Renders a multiple-date selection.
59
+ * * `range`&mdash;Renders a date-range selection.
60
+ */
61
+ mode?: CalendarMode;
62
+ /**
63
+ * @hidden
64
+ */
65
+ onKeydown?: (event: any) => void;
66
+ }
@@ -0,0 +1,32 @@
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 { DOMService, BusViewService, NavigationService } from '../../services/main';
9
+ import { ViewService, CalendarViewEnum, SelectionRange } from '../../models/main';
10
+ import { IntlService } from '@progress/kendo-vue-intl';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface CalendarState {
15
+ _dom: DOMService;
16
+ _bus: BusViewService;
17
+ _service: ViewService;
18
+ _lastView: CalendarViewEnum;
19
+ _lastViewsCount: number;
20
+ _navigation: NavigationService;
21
+ _intl: IntlService;
22
+ _oldValue: Date | Date[] | SelectionRange | null;
23
+ _hasMounted: boolean;
24
+ _focusedDate: Date;
25
+ _calculateFocusFromValue: boolean;
26
+ _dates: Array<any>;
27
+ _selectedDate: Date | null;
28
+ _selectedMultiple: Date[] | null;
29
+ _selectedRange: SelectionRange;
30
+ calendarViewList: any;
31
+ calendarViewListRef: any;
32
+ }
@@ -0,0 +1,11 @@
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 literal type that defines all possible Calendar views.
10
+ */
11
+ export type ActiveView = 'month' | 'year' | 'decade' | 'century';
@@ -0,0 +1,16 @@
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
+ * Represents the selection modes of the Calendar.
10
+ *
11
+ * The supported modes are:
12
+ * * (Default) `single`&mdash;Renders a single-date selection.
13
+ * * `multiple`&mdash;Renders a multiple-date selection.
14
+ * * `range`&mdash;Renders a date-range selection.
15
+ */
16
+ export type CalendarMode = 'single' | 'multiple' | 'range';