@progress/kendo-vue-dateinputs 8.0.3-develop.1 → 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,315 @@
|
|
|
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 { DateInputChangeEvent } from '../dateinput/interfaces/DateInputEventArguments';
|
|
9
|
+
import { CalendarChangeEvent } from '../calendar/components/interfaces/CalendarEventArguments';
|
|
10
|
+
import { SelectionRange } from '../calendar/models/main';
|
|
11
|
+
import { DateRangePickerSettings } from './models/main';
|
|
12
|
+
import { PropType } from 'vue';
|
|
13
|
+
import { DateRangePickerFocusEvent, DateRangePickerBlurEvent } from './interfaces/DateRangePickerFocusBlurEvents';
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export interface ReverseClickEvent {
|
|
18
|
+
event?: any;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The arguments for the `onChange` event of the DateRangePicker.
|
|
22
|
+
*/
|
|
23
|
+
export interface DateRangePickerChangeEvent {
|
|
24
|
+
event?: any;
|
|
25
|
+
value: SelectionRange;
|
|
26
|
+
show?: boolean;
|
|
27
|
+
target: any;
|
|
28
|
+
component?: any;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The arguments for the `open` event of the DateRangePicker.
|
|
32
|
+
*/
|
|
33
|
+
export interface DateRangePickerOpenEvent {
|
|
34
|
+
component: any;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The arguments for the `close` event of the DateRangePicker.
|
|
38
|
+
*/
|
|
39
|
+
export interface DateRangePickerCloseEvent {
|
|
40
|
+
component: any;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Represents the props of the [Kendo UI for Vue DateRangePicker component]({% slug overview_daterangepicker %}).
|
|
44
|
+
*/
|
|
45
|
+
export interface DateRangePickerProps extends DateRangePickerSettings {
|
|
46
|
+
/**
|
|
47
|
+
* Overrides the validity state of the component.
|
|
48
|
+
* If `valid` is set, the `required` property will be ignored.
|
|
49
|
+
*/
|
|
50
|
+
valid?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the default value of the DateRangePicker ([see example]({% slug default_value_daterangepicker %})).
|
|
53
|
+
*/
|
|
54
|
+
defaultValue?: SelectionRange;
|
|
55
|
+
/**
|
|
56
|
+
* @hidden
|
|
57
|
+
*/
|
|
58
|
+
modelValue?: Date;
|
|
59
|
+
/**
|
|
60
|
+
* Fires each time the user selects a part of a date range ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
|
|
61
|
+
*/
|
|
62
|
+
onChange?: (event: DateRangePickerChangeEvent) => void;
|
|
63
|
+
/**
|
|
64
|
+
* Specifies the selected date range of the DateRangePicker ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
|
|
65
|
+
*
|
|
66
|
+
* > The `value` has to be an object with `start` and `end` valid JavaScript [`Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instances or `null`.
|
|
67
|
+
*/
|
|
68
|
+
value?: SelectionRange;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
export interface DateRangePickerData {
|
|
74
|
+
currentShow: boolean;
|
|
75
|
+
currentValue: SelectionRange;
|
|
76
|
+
valueDuringOnChange: SelectionRange | undefined;
|
|
77
|
+
shouldFocusDateInput: boolean;
|
|
78
|
+
shouldFocusCalendar: boolean;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @hidden
|
|
82
|
+
*/
|
|
83
|
+
export interface DateRangePickerComputed {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
rootClassName: object;
|
|
86
|
+
computedValue: SelectionRange;
|
|
87
|
+
computedShow: boolean;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @hidden
|
|
91
|
+
*/
|
|
92
|
+
declare const DateRangePicker: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
93
|
+
allowReverse: {
|
|
94
|
+
type: PropType<boolean>;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
calendarSettings: PropType<import('./models/DateRangePickerCalendarSettings').DateRangePickerCalendarSettings>;
|
|
98
|
+
defaultShow: {
|
|
99
|
+
type: PropType<boolean>;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
defaultValue: {
|
|
103
|
+
type: PropType<SelectionRange>;
|
|
104
|
+
default: () => SelectionRange;
|
|
105
|
+
};
|
|
106
|
+
modelValue: {
|
|
107
|
+
type: PropType<Date>;
|
|
108
|
+
default: any;
|
|
109
|
+
};
|
|
110
|
+
disabled: {
|
|
111
|
+
type: PropType<boolean>;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
popup: PropType<any>;
|
|
115
|
+
calendar: PropType<any>;
|
|
116
|
+
startDateInput: PropType<any>;
|
|
117
|
+
endDateInput: PropType<any>;
|
|
118
|
+
endDateInputSettings: PropType<import('./models/DateRangePickerDateInputSettings').DateRangePickerDateInputSettings>;
|
|
119
|
+
focusedDate: PropType<Date>;
|
|
120
|
+
format: {
|
|
121
|
+
type: PropType<string | import('@progress/kendo-vue-intl').DateFormatOptions>;
|
|
122
|
+
default: () => string | object;
|
|
123
|
+
};
|
|
124
|
+
id: PropType<string>;
|
|
125
|
+
ariaLabelledBy: PropType<string>;
|
|
126
|
+
ariaDescribedBy: PropType<string>;
|
|
127
|
+
max: {
|
|
128
|
+
type: PropType<Date>;
|
|
129
|
+
default: () => Date;
|
|
130
|
+
};
|
|
131
|
+
min: {
|
|
132
|
+
type: PropType<Date>;
|
|
133
|
+
default: () => Date;
|
|
134
|
+
};
|
|
135
|
+
rounded: {
|
|
136
|
+
type: PropType<string>;
|
|
137
|
+
validator: (value: string) => boolean;
|
|
138
|
+
};
|
|
139
|
+
fillMode: {
|
|
140
|
+
type: PropType<string>;
|
|
141
|
+
validator: (value: string) => boolean;
|
|
142
|
+
};
|
|
143
|
+
size: {
|
|
144
|
+
type: PropType<"small" | "medium" | "large">;
|
|
145
|
+
validator: (value: string) => boolean;
|
|
146
|
+
};
|
|
147
|
+
popupSettings: {
|
|
148
|
+
type: PropType<import('./models/DateRangePickerPopupSettings').DateRangePickerPopupSettings>;
|
|
149
|
+
default: () => any;
|
|
150
|
+
};
|
|
151
|
+
show: {
|
|
152
|
+
type: PropType<boolean>;
|
|
153
|
+
default: any;
|
|
154
|
+
};
|
|
155
|
+
startDateInputSettings: PropType<import('./models/DateRangePickerDateInputSettings').DateRangePickerDateInputSettings>;
|
|
156
|
+
swapButton: {
|
|
157
|
+
type: PropType<boolean>;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
tabIndex: PropType<number>;
|
|
161
|
+
value: {
|
|
162
|
+
type: PropType<SelectionRange>;
|
|
163
|
+
default: () => any;
|
|
164
|
+
};
|
|
165
|
+
inputAttributes: PropType<Object>;
|
|
166
|
+
}>, {
|
|
167
|
+
kendoAnchorRef: import('vue').Ref<any, any>;
|
|
168
|
+
kendoLocalizationService: {};
|
|
169
|
+
}, {
|
|
170
|
+
currentShow: boolean;
|
|
171
|
+
currentValue: any;
|
|
172
|
+
valueDuringOnChange: any;
|
|
173
|
+
shouldFocusDateInput: boolean;
|
|
174
|
+
shouldFocusCalendar: boolean;
|
|
175
|
+
}, {
|
|
176
|
+
rootClassName(): DateRangePickerComputed['rootClassName'];
|
|
177
|
+
computedValue(): DateRangePickerComputed['computedValue'];
|
|
178
|
+
computedShow(): DateRangePickerComputed['computedShow'];
|
|
179
|
+
swapButtonClass(): {
|
|
180
|
+
[x: string]: any;
|
|
181
|
+
'k-button': boolean;
|
|
182
|
+
'k-button-flat': boolean;
|
|
183
|
+
'k-button-flat-base': boolean;
|
|
184
|
+
'k-icon-button': boolean;
|
|
185
|
+
};
|
|
186
|
+
}, {
|
|
187
|
+
focus(): void;
|
|
188
|
+
focusCalendarElement(): void;
|
|
189
|
+
focusDateInputElement(): void;
|
|
190
|
+
calculateValue(props: DateRangePickerProps, state: DateRangePickerData): SelectionRange;
|
|
191
|
+
calculateShow(nextProps: DateRangePickerProps, nextState: DateRangePickerData): boolean;
|
|
192
|
+
setShow(show: boolean): void;
|
|
193
|
+
handleReverseClick(event: any): void;
|
|
194
|
+
handleReverseMouseDown(event: any): void;
|
|
195
|
+
handleFocus(event: FocusEvent): void;
|
|
196
|
+
calendarBlur(): void;
|
|
197
|
+
calendarFocus(): void;
|
|
198
|
+
createBlurTimeout(): void;
|
|
199
|
+
getStartInput(): any;
|
|
200
|
+
getEndInput(): any;
|
|
201
|
+
getCalendar(): any;
|
|
202
|
+
handleBlur(event: FocusEvent): void;
|
|
203
|
+
handleEndChange(event: DateInputChangeEvent): void;
|
|
204
|
+
handleStartChange(event: DateInputChangeEvent): void;
|
|
205
|
+
extractRangeFromValue(event: CalendarChangeEvent): SelectionRange;
|
|
206
|
+
handleCalendarChange(event: CalendarChangeEvent): void;
|
|
207
|
+
handleKeyDown(event: any): void;
|
|
208
|
+
handleChange(value: SelectionRange, event: CalendarChangeEvent | DateInputChangeEvent | ReverseClickEvent): void;
|
|
209
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
210
|
+
blur: (event: DateRangePickerBlurEvent) => true;
|
|
211
|
+
change: (event: DateRangePickerChangeEvent) => true;
|
|
212
|
+
changemodel: (value: any) => true;
|
|
213
|
+
'update:modelValue': (value: any) => true;
|
|
214
|
+
focus: (event: DateRangePickerFocusEvent) => true;
|
|
215
|
+
keydown: (event: KeyboardEvent) => true;
|
|
216
|
+
open: (event: DateRangePickerOpenEvent) => true;
|
|
217
|
+
close: (event: DateRangePickerCloseEvent) => true;
|
|
218
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
219
|
+
allowReverse: {
|
|
220
|
+
type: PropType<boolean>;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
calendarSettings: PropType<import('./models/DateRangePickerCalendarSettings').DateRangePickerCalendarSettings>;
|
|
224
|
+
defaultShow: {
|
|
225
|
+
type: PropType<boolean>;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
defaultValue: {
|
|
229
|
+
type: PropType<SelectionRange>;
|
|
230
|
+
default: () => SelectionRange;
|
|
231
|
+
};
|
|
232
|
+
modelValue: {
|
|
233
|
+
type: PropType<Date>;
|
|
234
|
+
default: any;
|
|
235
|
+
};
|
|
236
|
+
disabled: {
|
|
237
|
+
type: PropType<boolean>;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
popup: PropType<any>;
|
|
241
|
+
calendar: PropType<any>;
|
|
242
|
+
startDateInput: PropType<any>;
|
|
243
|
+
endDateInput: PropType<any>;
|
|
244
|
+
endDateInputSettings: PropType<import('./models/DateRangePickerDateInputSettings').DateRangePickerDateInputSettings>;
|
|
245
|
+
focusedDate: PropType<Date>;
|
|
246
|
+
format: {
|
|
247
|
+
type: PropType<string | import('@progress/kendo-vue-intl').DateFormatOptions>;
|
|
248
|
+
default: () => string | object;
|
|
249
|
+
};
|
|
250
|
+
id: PropType<string>;
|
|
251
|
+
ariaLabelledBy: PropType<string>;
|
|
252
|
+
ariaDescribedBy: PropType<string>;
|
|
253
|
+
max: {
|
|
254
|
+
type: PropType<Date>;
|
|
255
|
+
default: () => Date;
|
|
256
|
+
};
|
|
257
|
+
min: {
|
|
258
|
+
type: PropType<Date>;
|
|
259
|
+
default: () => Date;
|
|
260
|
+
};
|
|
261
|
+
rounded: {
|
|
262
|
+
type: PropType<string>;
|
|
263
|
+
validator: (value: string) => boolean;
|
|
264
|
+
};
|
|
265
|
+
fillMode: {
|
|
266
|
+
type: PropType<string>;
|
|
267
|
+
validator: (value: string) => boolean;
|
|
268
|
+
};
|
|
269
|
+
size: {
|
|
270
|
+
type: PropType<"small" | "medium" | "large">;
|
|
271
|
+
validator: (value: string) => boolean;
|
|
272
|
+
};
|
|
273
|
+
popupSettings: {
|
|
274
|
+
type: PropType<import('./models/DateRangePickerPopupSettings').DateRangePickerPopupSettings>;
|
|
275
|
+
default: () => any;
|
|
276
|
+
};
|
|
277
|
+
show: {
|
|
278
|
+
type: PropType<boolean>;
|
|
279
|
+
default: any;
|
|
280
|
+
};
|
|
281
|
+
startDateInputSettings: PropType<import('./models/DateRangePickerDateInputSettings').DateRangePickerDateInputSettings>;
|
|
282
|
+
swapButton: {
|
|
283
|
+
type: PropType<boolean>;
|
|
284
|
+
default: boolean;
|
|
285
|
+
};
|
|
286
|
+
tabIndex: PropType<number>;
|
|
287
|
+
value: {
|
|
288
|
+
type: PropType<SelectionRange>;
|
|
289
|
+
default: () => any;
|
|
290
|
+
};
|
|
291
|
+
inputAttributes: PropType<Object>;
|
|
292
|
+
}>> & Readonly<{
|
|
293
|
+
onBlur?: (event: DateRangePickerBlurEvent) => any;
|
|
294
|
+
onChange?: (event: DateRangePickerChangeEvent) => any;
|
|
295
|
+
onClose?: (event: DateRangePickerCloseEvent) => any;
|
|
296
|
+
onFocus?: (event: DateRangePickerFocusEvent) => any;
|
|
297
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
298
|
+
onOpen?: (event: DateRangePickerOpenEvent) => any;
|
|
299
|
+
onChangemodel?: (value: any) => any;
|
|
300
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
301
|
+
}>, {
|
|
302
|
+
value: SelectionRange;
|
|
303
|
+
disabled: boolean;
|
|
304
|
+
format: string | object;
|
|
305
|
+
max: Date;
|
|
306
|
+
min: Date;
|
|
307
|
+
defaultValue: SelectionRange;
|
|
308
|
+
show: boolean;
|
|
309
|
+
popupSettings: import('./models/DateRangePickerPopupSettings').DateRangePickerPopupSettings;
|
|
310
|
+
allowReverse: boolean;
|
|
311
|
+
modelValue: Date;
|
|
312
|
+
defaultShow: boolean;
|
|
313
|
+
swapButton: boolean;
|
|
314
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
315
|
+
export { DateRangePicker };
|
|
@@ -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 DateRangePicker.
|
|
10
|
+
*/
|
|
11
|
+
export interface DateRangePickerFocusEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native browser focus event.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The arguments for the `onBlur` event of the DateRangePicker.
|
|
19
|
+
*/
|
|
20
|
+
export interface DateRangePickerBlurEvent {
|
|
21
|
+
/**
|
|
22
|
+
* The native browser blur event.
|
|
23
|
+
*/
|
|
24
|
+
event: FocusEvent;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 } from '../../calendar/models/CalendarSettings';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the settings that can be passed to the Calendar inside the DateRangePicker.
|
|
11
|
+
*/
|
|
12
|
+
export interface DateRangePickerCalendarSettings extends CalendarSettings {
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { DateInputSettings } from '../../dateinput/models/DateInputSettings';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the settings that can be passed to the DateInput inside the DateRangePicker.
|
|
11
|
+
*/
|
|
12
|
+
export interface DateRangePickerDateInputSettings extends DateInputSettings {
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { PopupSettings } from '@progress/kendo-vue-popup';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the settings that can be passed to the Popup inside the DateRangePicker.
|
|
11
|
+
*/
|
|
12
|
+
export interface DateRangePickerPopupSettings extends PopupSettings {
|
|
13
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
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 { DateRangePickerCalendarSettings } from './DateRangePickerCalendarSettings';
|
|
9
|
+
import { DateRangePickerDateInputSettings } from './DateRangePickerDateInputSettings';
|
|
10
|
+
import { DateRangePickerPopupSettings } from './DateRangePickerPopupSettings';
|
|
11
|
+
import { DateFormatOptions } from '@progress/kendo-vue-intl';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface DateRangePickerSettings {
|
|
16
|
+
/**
|
|
17
|
+
* Enables the customization or the override of the default start DateInput which is rendered by the DateRangePicker
|
|
18
|
+
* ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-date-inputs)).
|
|
19
|
+
*/
|
|
20
|
+
startDateInput?: any;
|
|
21
|
+
/**
|
|
22
|
+
* Enables the customization or the override of the default end DateInput which is rendered by the DateRangePicker
|
|
23
|
+
* ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-calendar)).
|
|
24
|
+
*/
|
|
25
|
+
endDateInput?: any;
|
|
26
|
+
/**
|
|
27
|
+
* Enables the customization or the override of the default Popup which is rendered by the DateRangePicker
|
|
28
|
+
* ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-popup)).
|
|
29
|
+
*/
|
|
30
|
+
popup?: any;
|
|
31
|
+
/**
|
|
32
|
+
* Enables the customization or the override of the default Calendar which is rendered by the DateRangePicker.
|
|
33
|
+
*/
|
|
34
|
+
calendar?: any;
|
|
35
|
+
/**
|
|
36
|
+
* If `allowReverse` is set to `true`, the component skips the validation of whether the `from` value is after the `to` value ([see example]({% slug reverse_daterangepicker %})).
|
|
37
|
+
*
|
|
38
|
+
* > If the [`calendarSettings`](#toc-calendarsettings) property is set, its `allowReverse` will take precedence.
|
|
39
|
+
*/
|
|
40
|
+
allowReverse?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Represents the additional props that can be passed to the [MultiViewCalendar]({% slug multipleviews_calendar %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-the-calendar)).
|
|
43
|
+
*/
|
|
44
|
+
calendarSettings?: DateRangePickerCalendarSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the default state of the DateRangePicker upon render ([see example]({% slug default_value_daterangepicker %})).
|
|
47
|
+
*/
|
|
48
|
+
defaultShow?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Determines whether the DateRangePicker is disabled ([see example]({% slug disabled_daterangepicker %})).
|
|
51
|
+
*/
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Represents the additional props that can be passed to the end-date [DateInput]({% slug overview_dateinput %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-dateinputs)).
|
|
55
|
+
*/
|
|
56
|
+
endDateInputSettings?: DateRangePickerDateInputSettings;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the focused date of the DateRangePicker ([see example]({% slug focused_daterangepicker %})).
|
|
59
|
+
*/
|
|
60
|
+
focusedDate?: Date;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies the `date` format which is used for formatting the value of the DateInput ([see example]({% slug formats_dateinput %})).
|
|
63
|
+
*
|
|
64
|
+
* > If [`startDateInputSettings`](#toc-startdateinputsettings) or [`endDateInputSettings`](#toc-enddateinputsettings) are set, their `format` will take precedence.
|
|
65
|
+
*/
|
|
66
|
+
format?: string | DateFormatOptions;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the `id` of the DateRangePicker.
|
|
69
|
+
*/
|
|
70
|
+
id?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
73
|
+
* For example these elements could contain error or hint message.
|
|
74
|
+
*/
|
|
75
|
+
ariaDescribedBy?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Identifies the element(s) which will label the component.
|
|
78
|
+
*/
|
|
79
|
+
ariaLabelledBy?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Specifies the greatest valid date ([see example]({% slug dateranges_daterangepicker %})).
|
|
82
|
+
*/
|
|
83
|
+
max?: Date;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the smallest valid date ([see example]({% slug dateranges_daterangepicker %})).
|
|
86
|
+
*/
|
|
87
|
+
min?: Date;
|
|
88
|
+
/**
|
|
89
|
+
* Configures the `size` of the DateRangePicker.
|
|
90
|
+
*
|
|
91
|
+
* The available options are:
|
|
92
|
+
* - small
|
|
93
|
+
* - medium
|
|
94
|
+
* - large
|
|
95
|
+
* - null—Does not set a size `class`.
|
|
96
|
+
*
|
|
97
|
+
* @default `medium`
|
|
98
|
+
*/
|
|
99
|
+
size?: null | 'small' | 'medium' | 'large';
|
|
100
|
+
/**
|
|
101
|
+
* Configures the `roundness` of the DateRangePicker.
|
|
102
|
+
*
|
|
103
|
+
* The available options are:
|
|
104
|
+
* - small
|
|
105
|
+
* - medium
|
|
106
|
+
* - large
|
|
107
|
+
* - circle
|
|
108
|
+
* - full
|
|
109
|
+
* - null—Does not set a rounded `class`.
|
|
110
|
+
*
|
|
111
|
+
* @default `medium`
|
|
112
|
+
*/
|
|
113
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
114
|
+
/**
|
|
115
|
+
* Configures the `fillMode` of the DateRangePicker.
|
|
116
|
+
*
|
|
117
|
+
* The available options are:
|
|
118
|
+
* - solid
|
|
119
|
+
* - outline
|
|
120
|
+
* - flat
|
|
121
|
+
* - link
|
|
122
|
+
* - null—Does not set a fillMode `class`.
|
|
123
|
+
*
|
|
124
|
+
* @default `solid`
|
|
125
|
+
*/
|
|
126
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
127
|
+
/**
|
|
128
|
+
* Fires each time any of the DateRangePicker elements gets blurred.
|
|
129
|
+
*/
|
|
130
|
+
onBlur?: (event: any) => void;
|
|
131
|
+
/**
|
|
132
|
+
* Fires each time the user focuses any of the DateRangePicker elements.
|
|
133
|
+
*/
|
|
134
|
+
onFocus?: (event: any) => void;
|
|
135
|
+
/**
|
|
136
|
+
* Represents the additional props that will be passed to the [Popup]({% slug overview_popup %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-the-popup)).
|
|
137
|
+
*/
|
|
138
|
+
popupSettings?: DateRangePickerPopupSettings;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies if the calendar will be displayed ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-popup-state)).
|
|
141
|
+
*/
|
|
142
|
+
show?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Represents the additional props that will be passed to the start-date [DateInput]({% slug overview_dateinput %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-dateinputs)).
|
|
145
|
+
*/
|
|
146
|
+
startDateInputSettings?: DateRangePickerDateInputSettings;
|
|
147
|
+
/**
|
|
148
|
+
* Determines whether the DateRangePicker will display a **Swap Value** button ([see example]({% slug reverse_daterangepicker %}#toc-swapping-start-and-end-dates-in-ranges)).
|
|
149
|
+
*
|
|
150
|
+
* > The DateRangePicker will display the swap button only if the [`allowReverse`](#toc-allowreverse) property is also set to `true`.
|
|
151
|
+
*/
|
|
152
|
+
swapButton?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Sets the `tabIndex` property of the DatePicker.
|
|
155
|
+
*/
|
|
156
|
+
tabIndex?: number;
|
|
157
|
+
/**
|
|
158
|
+
* Sets the built-in HTML attributes of the inner focusable input element.
|
|
159
|
+
* Attributes which are essential for certain component functionalities cannot be changed.
|
|
160
|
+
*/
|
|
161
|
+
inputAttributes?: Object;
|
|
162
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { DateRangePickerCalendarSettings } from './DateRangePickerCalendarSettings';
|
|
9
|
+
import { DateRangePickerDateInputSettings } from './DateRangePickerDateInputSettings';
|
|
10
|
+
import { DateRangePickerSettings } from './DateRangePickerSettings';
|
|
11
|
+
import { DateRangePickerPopupSettings } from './DateRangePickerPopupSettings';
|
|
12
|
+
export { type DateRangePickerCalendarSettings, type DateRangePickerDateInputSettings, type DateRangePickerSettings, type DateRangePickerPopupSettings };
|