@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.
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
package/index.d.ts CHANGED
@@ -5,3480 +5,33 @@
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';
10
- import { ComponentOptionsMixin } from 'vue';
11
- import { ComponentProvideOptions } from 'vue';
12
- import { DateFormatOptions } from '@progress/kendo-vue-intl';
13
- import { DateInputFormatPlaceholder as DateInputFormatPlaceholder_2 } from '..';
14
- import { DateInputIncrementalSteps as DateInputIncrementalSteps_2 } from './models/incremental-steps';
15
- import { DateInputsPopupSettings } from '../PopupSettings';
16
- import { DateRangePickerCalendarSettings as DateRangePickerCalendarSettings_2 } from './models/DateRangePickerCalendarSettings';
17
- import { DateRangePickerDateInputSettings as DateRangePickerDateInputSettings_2 } from './models/DateRangePickerDateInputSettings';
18
- import { DateRangePickerPopupSettings as DateRangePickerPopupSettings_2 } from './models/DateRangePickerPopupSettings';
19
- import { DefineComponent } from 'vue';
20
- import { ExtractPropTypes } from 'vue';
21
- import { FormComponentProps } from '@progress/kendo-vue-common';
22
- import { FormComponentValidity } from '@progress/kendo-vue-common';
23
- import { IntlService } from '@progress/kendo-vue-intl';
24
- import { PopupProps } from '@progress/kendo-vue-popup';
25
- import { PopupSettings } from '@progress/kendo-vue-popup';
26
- import { PropType } from 'vue';
27
- import { PublicProps } from 'vue';
28
- import { Ref } from 'vue';
29
- import { SelectionRangeEnd } from '../models/SelectionRangeEnd';
30
- import { SVGIcon } from '@progress/kendo-vue-common';
31
- import { TimePickerIncrementalSteps } from './models/IncrementalSteps';
32
- import { TimePickerIncrementalSteps as TimePickerIncrementalSteps_3 } from '../timepicker/models/IncrementalSteps';
33
-
34
- /**
35
- * The literal type that defines all possible Calendar views.
36
- */
37
- export declare type ActiveView = 'month' | 'year' | 'decade' | 'century';
38
-
39
- /**
40
- * @hidden
41
- */
42
- export declare const Calendar: DefineComponent<ExtractPropTypes< {
43
- activeRangeEnd: {
44
- type: PropType<SelectionRangeEnd>;
45
- default: any;
46
- };
47
- allowReverse: {
48
- type: PropType<boolean>;
49
- default: boolean;
50
- };
51
- cell: PropType<any>;
52
- className: PropType<string>;
53
- defaultActiveView: {
54
- type: PropType<string>;
55
- default: string;
56
- };
57
- modelValue: {
58
- type: PropType<Date | SelectionRange | Date[]>;
59
- default: any;
60
- };
61
- defaultValue: {
62
- type: PropType<Date | SelectionRange | Date[]>;
63
- default: any;
64
- };
65
- disabled: {
66
- type: PropType<boolean>;
67
- default: boolean;
68
- };
69
- focusedDate: PropType<Date>;
70
- id: {
71
- type: PropType<string>;
72
- default: () => any;
73
- };
74
- headerTitle: PropType<any>;
75
- max: {
76
- type: PropType<Date>;
77
- default: () => Date;
78
- };
79
- min: {
80
- type: PropType<Date>;
81
- default: () => Date;
82
- };
83
- mode: () => CalendarMode;
84
- navigation: {
85
- type: PropType<boolean>;
86
- default: boolean;
87
- };
88
- tabIndex: PropType<number>;
89
- value: PropType<Date | SelectionRange | Date[]>;
90
- views: {
91
- type: PropType<number>;
92
- default: number;
93
- };
94
- weekNumber: PropType<boolean>;
95
- weekCell: PropType<any>;
96
- topView: {
97
- type: PropType<string>;
98
- default: string;
99
- };
100
- bottomView: {
101
- type: PropType<string>;
102
- default: string;
103
- };
104
- onFocus: PropType<(event: any) => void>;
105
- onBlur: PropType<(event: any) => void>;
106
- onChange: PropType<(event: CalendarChangeEvent) => void>;
107
- onKeydown: PropType<(event: any) => void>;
108
- }>, {
109
- kendoIntlService: {};
110
- }, {
111
- valueDuringOnChange: any;
112
- currentFocusedDate: any;
113
- currentActiveView: any;
114
- currentValue: any;
115
- cellUID: any;
116
- isActive: boolean;
117
- oldValue: any;
118
- didNavigationChange: boolean;
119
- currentActiveRangeEnd: any;
120
- }, {
121
- activeRange(): CalendarComputed['activeRange'];
122
- currentMin(): CalendarComputed['currentMin'];
123
- currentMax(): CalendarComputed['currentMax'];
124
- }, {
125
- element(): any;
126
- computedValue(): Date | null;
127
- focus(): void;
128
- handleBlur(): void;
129
- handleFocus(): void;
130
- emitBlur(event: any): void;
131
- emitFocus(event: any): void;
132
- handleTodayClick(event: NavigationEventArguments): void;
133
- handleViewChange({ view }: {
134
- view: CalendarViewEnum;
135
- }): void;
136
- handlePrevClick(event: ViewListEventArguments): void;
137
- handleTitleClick(): void;
138
- handleNextClick(event: ViewListEventArguments): void;
139
- handleCellEnter(value: Date): void;
140
- generateRange(candidate: Date, value: SelectionRange): SelectionRange;
141
- clampRange(value: Date): SelectionRange;
142
- handleWeekCellClick(event: ViewWeekCellEventArguments): void;
143
- handleWeekNameClick(event: ViewWeekNameEventArguments): void;
144
- handleDateChange(event: ViewListEventArguments): void;
145
- triggerChange(value: Date, event: ViewListEventArguments): void;
146
- handleMouseDown(event: ViewListEventArguments): void;
147
- tableKeyDown(event: any): void;
148
- isValueEqual(newValue: Date | Date[] | SelectionRange | null, oldValue: Date | Date[] | SelectionRange | null): boolean;
149
- rangeWithFocused(range: SelectionRange, focusedDate: SelectionRange): SelectionRange;
150
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
151
- activeRangeEnd: {
152
- type: PropType<SelectionRangeEnd>;
153
- default: any;
154
- };
155
- allowReverse: {
156
- type: PropType<boolean>;
157
- default: boolean;
158
- };
159
- cell: PropType<any>;
160
- className: PropType<string>;
161
- defaultActiveView: {
162
- type: PropType<string>;
163
- default: string;
164
- };
165
- modelValue: {
166
- type: PropType<Date | SelectionRange | Date[]>;
167
- default: any;
168
- };
169
- defaultValue: {
170
- type: PropType<Date | SelectionRange | Date[]>;
171
- default: any;
172
- };
173
- disabled: {
174
- type: PropType<boolean>;
175
- default: boolean;
176
- };
177
- focusedDate: PropType<Date>;
178
- id: {
179
- type: PropType<string>;
180
- default: () => any;
181
- };
182
- headerTitle: PropType<any>;
183
- max: {
184
- type: PropType<Date>;
185
- default: () => Date;
186
- };
187
- min: {
188
- type: PropType<Date>;
189
- default: () => Date;
190
- };
191
- mode: () => CalendarMode;
192
- navigation: {
193
- type: PropType<boolean>;
194
- default: boolean;
195
- };
196
- tabIndex: PropType<number>;
197
- value: PropType<Date | SelectionRange | Date[]>;
198
- views: {
199
- type: PropType<number>;
200
- default: number;
201
- };
202
- weekNumber: PropType<boolean>;
203
- weekCell: PropType<any>;
204
- topView: {
205
- type: PropType<string>;
206
- default: string;
207
- };
208
- bottomView: {
209
- type: PropType<string>;
210
- default: string;
211
- };
212
- onFocus: PropType<(event: any) => void>;
213
- onBlur: PropType<(event: any) => void>;
214
- onChange: PropType<(event: CalendarChangeEvent) => void>;
215
- onKeydown: PropType<(event: any) => void>;
216
- }>> & Readonly<{}>, {
217
- id: string;
218
- disabled: boolean;
219
- navigation: boolean;
220
- max: Date;
221
- min: Date;
222
- activeRangeEnd: SelectionRangeEnd;
223
- defaultValue: Date | SelectionRange | Date[];
224
- allowReverse: boolean;
225
- views: number;
226
- modelValue: Date | SelectionRange | Date[];
227
- defaultActiveView: string;
228
- topView: string;
229
- bottomView: string;
230
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
231
-
232
- /**
233
- * @hidden
234
- */
235
- export declare const CalendarCell: DefineComponent<ExtractPropTypes< {
236
- isDisabled: PropType<boolean>;
237
- view: PropType<number>;
238
- formattedValue: PropType<string>;
239
- id: PropType<string>;
240
- isWeekend: PropType<boolean>;
241
- isFocused: PropType<boolean>;
242
- isSelected: PropType<boolean>;
243
- isInRange: PropType<boolean>;
244
- isRangeStart: PropType<boolean>;
245
- isRangeEnd: PropType<boolean>;
246
- isRangeMid: PropType<boolean>;
247
- isRangeSplitEnd: PropType<boolean>;
248
- isRangeSplitStart: PropType<boolean>;
249
- isToday: PropType<boolean>;
250
- title: PropType<string>;
251
- value: PropType<Date>;
252
- }>, {}, {}, {}, {
253
- handleClick(event: any): void;
254
- handleMouseDown(event: any): void;
255
- handleMouseEnter(): void;
256
- handleMouseLeave(): void;
257
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
258
- click: (event: MouseEvent) => true;
259
- mousedown: (event: MouseEvent) => true;
260
- mouseenter: (event: MouseEvent) => true;
261
- mouseleave: (event: MouseEvent) => true;
262
- }, string, PublicProps, Readonly<ExtractPropTypes< {
263
- isDisabled: PropType<boolean>;
264
- view: PropType<number>;
265
- formattedValue: PropType<string>;
266
- id: PropType<string>;
267
- isWeekend: PropType<boolean>;
268
- isFocused: PropType<boolean>;
269
- isSelected: PropType<boolean>;
270
- isInRange: PropType<boolean>;
271
- isRangeStart: PropType<boolean>;
272
- isRangeEnd: PropType<boolean>;
273
- isRangeMid: PropType<boolean>;
274
- isRangeSplitEnd: PropType<boolean>;
275
- isRangeSplitStart: PropType<boolean>;
276
- isToday: PropType<boolean>;
277
- title: PropType<string>;
278
- value: PropType<Date>;
279
- }>> & Readonly<{
280
- onClick?: (event: MouseEvent) => any;
281
- onMousedown?: (event: MouseEvent) => any;
282
- onMouseenter?: (event: MouseEvent) => any;
283
- onMouseleave?: (event: MouseEvent) => any;
284
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
285
-
286
- /**
287
- * The props which will be received by the custom cell of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-cell).
288
- */
289
- export declare interface CalendarCellProps extends CellContext {
290
- isDisabled?: boolean;
291
- view?: number;
292
- }
293
-
294
- /**
295
- * The arguments for the `change` event of the Calendar. The generic argument sets the target type of the event. Defaults to `Calendar`.
296
- */
297
- export declare interface CalendarChangeEvent {
298
- /**
299
- * A native DOM event.
300
- */
301
- event?: any;
302
- /**
303
- * The new value.
304
- */
305
- value: Date | Date[] | SelectionRange | null;
306
- /**
307
- * The Calendar element.
308
- */
309
- component: any;
310
- /**
311
- * The target object.
312
- */
313
- target: any;
314
- }
315
-
316
- /**
317
- * @hidden
318
- */
319
- declare interface CalendarComputed {
320
- [key: string]: any;
321
- activeRange?: SelectionRangeEnd_2;
322
- currentMin: Date;
323
- currentMax: Date;
324
- }
325
-
326
- /**
327
- * @hidden
328
- */
329
- export declare const CalendarHeaderTitle: DefineComponent<ExtractPropTypes< {
330
- id: PropType<string>;
331
- value: PropType<string>;
332
- view: PropType<number>;
333
- }>, {}, {}, {}, {
334
- handleClick(event: any): void;
335
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
336
- click: (event: MouseEvent) => true;
337
- }, string, PublicProps, Readonly<ExtractPropTypes< {
338
- id: PropType<string>;
339
- value: PropType<string>;
340
- view: PropType<number>;
341
- }>> & Readonly<{
342
- onClick?: (event: MouseEvent) => any;
343
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
344
-
345
- /**
346
- * The props which will be received by the custom header title of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-headertitle).
347
- */
348
- export declare interface CalendarHeaderTitleProps {
349
- value?: string;
350
- id?: string;
351
- view?: number;
352
- }
353
-
354
- /**
355
- * Represents the selection modes of the Calendar.
356
- *
357
- * The supported modes are:
358
- * * (Default) `single`&mdash;Renders a single-date selection.
359
- * * `multiple`&mdash;Renders a multiple-date selection.
360
- * * `range`&mdash;Renders a date-range selection.
361
- */
362
- declare type CalendarMode = 'single' | 'multiple' | 'range';
363
-
364
- /**
365
- * 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.
366
- */
367
- export declare interface CalendarProps extends CalendarSettings {
368
- /**
369
- * Specifies which end of the defined selection range will be marked as active.
370
- *
371
- * > If the selection range is undefined, the value is ignored.
372
- */
373
- activeRangeEnd?: SelectionRangeEnd_2;
374
- /**
375
- * If set to `true`, the component skips the validation of whether the `from` value is after the `to` value.
376
- */
377
- allowReverse?: boolean;
378
- /**
379
- * @hidden
380
- */
381
- modelValue?: Date | Date[] | SelectionRange | null;
382
- /**
383
- * Sets the default value of the Calendar.
384
- */
385
- defaultValue?: Date | Date[] | SelectionRange | null;
386
- /**
387
- * An event that is called after the value of the Calendar has changed.
388
- */
389
- onChange?: (event: CalendarChangeEvent) => void;
390
- /**
391
- * An event called when the week number cell is clicked.
392
- */
393
- onWeekcellclick?: (event: CalendarWeekCellClickEvent) => void;
394
- /**
395
- * An event called when the week name cell is clicked.
396
- */
397
- onWeeknameclick?: (event: CalendarWeekNameClickEvent) => void;
398
- /**
399
- * Sets the value of the Calendar.
400
- */
401
- value?: Date | Date[] | SelectionRange | null;
402
- /**
403
- * Sets the value of the Calendar.
404
- */
405
- views: number;
406
- /**
407
- * Sets the selection mode of the Calendar.
408
- *
409
- * The available modes are:
410
- * * (Default) `single`&mdash;Renders a single-date selection.
411
- * * `multiple`&mdash;Renders a multiple-date selection.
412
- * * `range`&mdash;Renders a date-range selection.
413
- */
414
- mode?: CalendarMode;
415
- /**
416
- * @hidden
417
- */
418
- onKeydown?: (event: any) => void;
419
- }
420
-
421
- /**
422
- * @hidden
423
- */
424
- export declare interface CalendarSettings {
425
- /**
426
- * Defines the bottommost view to which the user can navigate.
427
- */
428
- bottomView?: string;
429
- /**
430
- * Sets the `className` of the Calendar.
431
- */
432
- className?: string;
433
- /**
434
- * Sets the default active view of the Calendar.
435
- * If not set, the Calendar will display the month view.
436
- */
437
- defaultActiveView?: string;
438
- /**
439
- * Determines whether the Calendar is disabled.
440
- */
441
- disabled?: boolean;
442
- /**
443
- * Sets the initial focused date of the Calendar.
444
- */
445
- focusedDate?: Date;
446
- /**
447
- * Sets the `id` of the Calendar.
448
- */
449
- id?: string;
450
- /**
451
- * Sets the maximum allowed date of the Calendar. Defaults to `2099-12-31`.
452
- */
453
- max?: Date;
454
- /**
455
- * Sets the minimum allowed date of the Calendar. Defaults to `1900-1-1`.
456
- */
457
- min?: Date;
458
- /**
459
- * Determines if the navigation sidebar will be displayed.
460
- */
461
- navigation?: boolean;
462
- /**
463
- * Fires each time the Calendar is blurred.
464
- */
465
- onBlur?: (event: any) => void;
466
- /**
467
- * Fires each time the Calendar is focused.
468
- */
469
- onFocus?: (event: any) => void;
470
- /**
471
- * Sets the `tabIndex` property of the Calendar.
472
- */
473
- tabIndex?: number;
474
- /**
475
- * Defines the topmost view to which the user can navigate.
476
- */
477
- topView?: string;
478
- /**
479
- * Determines if the week number column will be displayed.
480
- */
481
- weekNumber?: boolean;
482
- /**
483
- * Enables the customization or the override of the default Calendar cell
484
- * ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-view)).
485
- */
486
- cell?: any;
487
- /**
488
- * Enables the customization or the override of the default week-column cell in the Calendar
489
- * ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-week-column)).
490
- */
491
- weekCell?: any;
492
- /**
493
- * Enables the customization or the override of the default header title in the Calendar
494
- * ([see example]({% slug custom_rendering_calendar %}#toc-titles-of-current-views)).
495
- */
496
- headerTitle?: any;
497
- }
498
-
499
- /**
500
- * The Enum which defines all possible Calendar view types.
501
- */
502
- export declare enum CalendarViewEnum {
503
- month = 0,
504
- year = 1,
505
- decade = 2,
506
- century = 3
507
- }
508
-
509
- /**
510
- * @hidden
511
- */
512
- export declare const CalendarWeekCell: DefineComponent<ExtractPropTypes< {
513
- id: PropType<string>;
514
- value: PropType<number>;
515
- className: PropType<string>;
516
- }>, {}, {}, {}, {
517
- handleClick(event: any): void;
518
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
519
- click: (event: MouseEvent) => true;
520
- }, string, PublicProps, Readonly<ExtractPropTypes< {
521
- id: PropType<string>;
522
- value: PropType<number>;
523
- className: PropType<string>;
524
- }>> & Readonly<{
525
- onClick?: (event: MouseEvent) => any;
526
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
527
-
528
- /**
529
- * The arguments for the `weekcellclick` event of the Calendar.
530
- */
531
- export declare interface CalendarWeekCellClickEvent {
532
- /**
533
- * A native DOM event.
534
- */
535
- event?: any;
536
- /**
537
- * The new value.
538
- */
539
- value: number | null;
540
- }
541
-
542
- /**
543
- * The props which will be received by the custom week cell of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-weekcell).
544
- */
545
- export declare interface CalendarWeekCellProps {
546
- id?: string;
547
- value?: number | null;
548
- className?: string;
549
- }
550
-
551
- /**
552
- * The arguments for the `weeknameclick` event of the Calendar.
553
- */
554
- declare interface CalendarWeekNameClickEvent {
555
- /**
556
- * A native DOM event.
557
- */
558
- event?: any;
559
- /**
560
- * The value.
561
- */
562
- value: string | null;
563
- }
564
-
565
- /**
566
- * @hidden
567
- */
568
- declare interface CellContext {
569
- formattedValue: string;
570
- id: string;
571
- isWeekend: boolean;
572
- isFocused: boolean;
573
- isSelected: boolean;
574
- isInRange: boolean;
575
- isRangeStart: boolean;
576
- isRangeEnd: boolean;
577
- isRangeMid: boolean;
578
- isRangeSplitEnd?: boolean;
579
- isRangeSplitStart?: boolean;
580
- isToday: boolean;
581
- title?: string;
582
- value: Date;
583
- }
584
-
585
- /**
586
- * @hidden
587
- */
588
- export declare const DateInput: DefineComponent<ExtractPropTypes< {
589
- modelValue: PropType<Date>;
590
- value: PropType<Date>;
591
- defaultValue: PropType<Date>;
592
- format: {
593
- type: PropType<string | DateFormatOptions>;
594
- default: () => string | object;
595
- };
596
- formatPlaceholder: {
597
- type: PropType<DateInputFormatPlaceholder>;
598
- default: () => DateInputFormatPlaceholder;
599
- };
600
- rounded: {
601
- type: PropType<string>;
602
- validator: (value: string) => boolean;
603
- };
604
- fillMode: {
605
- type: PropType<string>;
606
- validator: (value: string) => boolean;
607
- };
608
- size: {
609
- type: PropType<"small" | "medium" | "large">;
610
- validator: (value: string) => boolean;
611
- };
612
- tabIndex: PropType<number>;
613
- title: PropType<string>;
614
- steps: PropType<DateInputIncrementalSteps_2>;
615
- placeholder: PropType<string>;
616
- max: {
617
- type: PropType<Date>;
618
- default: () => Date;
619
- };
620
- min: {
621
- type: PropType<Date>;
622
- default: () => Date;
623
- };
624
- maxTime: {
625
- type: PropType<Date>;
626
- default: () => Date;
627
- };
628
- minTime: {
629
- type: PropType<Date>;
630
- default: () => Date;
631
- };
632
- disabled: {
633
- type: PropType<boolean>;
634
- default: boolean;
635
- };
636
- spinners: {
637
- type: PropType<boolean>;
638
- default: boolean;
639
- };
640
- name: PropType<string>;
641
- dir: PropType<string>;
642
- label: PropType<string>;
643
- id: PropType<string>;
644
- validationMessage: {
645
- type: PropType<string>;
646
- default: string;
647
- };
648
- required: {
649
- type: PropType<boolean>;
650
- default: boolean;
651
- };
652
- validityStyles: {
653
- type: PropType<boolean>;
654
- default: boolean;
655
- };
656
- validate: PropType<boolean>;
657
- valid: {
658
- type: PropType<boolean>;
659
- default: any;
660
- };
661
- ariaRole: {
662
- type: PropType<string>;
663
- default: string;
664
- };
665
- ariaControls: PropType<string>;
666
- ariaLabel: PropType<string>;
667
- ariaExpanded: {
668
- type: PropType<boolean>;
669
- default: any;
670
- };
671
- ariaHasPopup: {
672
- type: PropType<String>;
673
- default: any;
674
- };
675
- inputAttributes: PropType<Object>;
676
- }>, {
677
- inputRef: Ref<any, any>;
678
- kendoIntlService: {};
679
- kendoLocalizationService: {};
680
- }, {
681
- kendoDate: any;
682
- currentFormat: any;
683
- valueDuringOnChange: any;
684
- hasMounted: boolean;
685
- isEmpty: any;
686
- lastSelectedSymbol: any;
687
- isFocused: boolean;
688
- }, {
689
- computedValue(): Date | null;
690
- wrapperClassNames(): object;
691
- }, {
692
- selection(): Selection_2;
693
- element(): HTMLInputElement | null;
694
- focus(e: any): void;
695
- handleFocus(e: FocusEvent): void;
696
- handleBlur(e: FocusEvent): void;
697
- intl(): IntlService;
698
- setValidity(): void;
699
- spinnersMouseDown(event: any): void;
700
- elementChange(event: any): void;
701
- elementClick(_: any): void;
702
- wheel(event: any): void;
703
- increasePart(event: any): void;
704
- decreasePart(event: any): void;
705
- elementKeyDown(event: any): void;
706
- setSelection(selection: Selection_2): void;
707
- triggerChange(event: any, oldValue: Date | null): void;
708
- selectionBySymbol(symbol: string): Selection_2;
709
- selectionByIndex(index: number): Selection_2;
710
- switchDateSegment(offset: number): void;
711
- modifyDateSegmentValue(offset: number, event: any): void;
712
- validity(): FormComponentValidity;
713
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
714
- change: (event: DateInputChangeEvent) => true;
715
- changemodel: (value: Date | null) => true;
716
- 'update:modelValue': (value: Date | null) => true;
717
- focus: (event: DateInputFocusEvent) => true;
718
- blur: (event: DateInputBlurEvent) => true;
719
- }, string, PublicProps, Readonly<ExtractPropTypes< {
720
- modelValue: PropType<Date>;
721
- value: PropType<Date>;
722
- defaultValue: PropType<Date>;
723
- format: {
724
- type: PropType<string | DateFormatOptions>;
725
- default: () => string | object;
726
- };
727
- formatPlaceholder: {
728
- type: PropType<DateInputFormatPlaceholder>;
729
- default: () => DateInputFormatPlaceholder;
730
- };
731
- rounded: {
732
- type: PropType<string>;
733
- validator: (value: string) => boolean;
734
- };
735
- fillMode: {
736
- type: PropType<string>;
737
- validator: (value: string) => boolean;
738
- };
739
- size: {
740
- type: PropType<"small" | "medium" | "large">;
741
- validator: (value: string) => boolean;
742
- };
743
- tabIndex: PropType<number>;
744
- title: PropType<string>;
745
- steps: PropType<DateInputIncrementalSteps_2>;
746
- placeholder: PropType<string>;
747
- max: {
748
- type: PropType<Date>;
749
- default: () => Date;
750
- };
751
- min: {
752
- type: PropType<Date>;
753
- default: () => Date;
754
- };
755
- maxTime: {
756
- type: PropType<Date>;
757
- default: () => Date;
758
- };
759
- minTime: {
760
- type: PropType<Date>;
761
- default: () => Date;
762
- };
763
- disabled: {
764
- type: PropType<boolean>;
765
- default: boolean;
766
- };
767
- spinners: {
768
- type: PropType<boolean>;
769
- default: boolean;
770
- };
771
- name: PropType<string>;
772
- dir: PropType<string>;
773
- label: PropType<string>;
774
- id: PropType<string>;
775
- validationMessage: {
776
- type: PropType<string>;
777
- default: string;
778
- };
779
- required: {
780
- type: PropType<boolean>;
781
- default: boolean;
782
- };
783
- validityStyles: {
784
- type: PropType<boolean>;
785
- default: boolean;
786
- };
787
- validate: PropType<boolean>;
788
- valid: {
789
- type: PropType<boolean>;
790
- default: any;
791
- };
792
- ariaRole: {
793
- type: PropType<string>;
794
- default: string;
795
- };
796
- ariaControls: PropType<string>;
797
- ariaLabel: PropType<string>;
798
- ariaExpanded: {
799
- type: PropType<boolean>;
800
- default: any;
801
- };
802
- ariaHasPopup: {
803
- type: PropType<String>;
804
- default: any;
805
- };
806
- inputAttributes: PropType<Object>;
807
- }>> & Readonly<{
808
- onBlur?: (event: DateInputBlurEvent) => any;
809
- onChange?: (event: DateInputChangeEvent) => any;
810
- onFocus?: (event: DateInputFocusEvent) => any;
811
- onChangemodel?: (value: Date) => any;
812
- "onUpdate:modelValue"?: (value: Date) => any;
813
- }>, {
814
- required: boolean;
815
- disabled: boolean;
816
- format: string | object;
817
- max: Date;
818
- min: Date;
819
- validationMessage: string;
820
- maxTime: Date;
821
- minTime: Date;
822
- spinners: boolean;
823
- validityStyles: boolean;
824
- valid: boolean;
825
- ariaRole: string;
826
- ariaExpanded: boolean;
827
- ariaHasPopup: String;
828
- formatPlaceholder: DateInputFormatPlaceholder;
829
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
830
-
831
- /**
832
- * The arguments for the `onBlur` event of the DateInput.
833
- */
834
- export declare interface DateInputBlurEvent {
835
- /**
836
- * The native browser blur event.
837
- */
838
- event: FocusEvent;
839
- }
840
-
841
- /**
842
- * The arguments for the `change` event of the DateInput.
843
- * The generic argument sets the target type of the event. Defaults to `DateInput`.
844
- */
845
- export declare interface DateInputChangeEvent {
846
- event?: any;
847
- value: Date | null;
848
- component: any;
849
- target: any;
850
- }
851
-
852
- /**
853
- * The interface which defines a custom-format placeholder structure in the DateInput.
854
- */
855
- export declare interface DateInputCustomFormatPlaceholder {
856
- /**
857
- * Defines the description for the `year` format section.
858
- */
859
- year?: string;
860
- /**
861
- * Defines the description for the `month` format section.
862
- */
863
- month?: string;
864
- /**
865
- * Defines the description for the `day` format section.
866
- */
867
- day?: string;
868
- /**
869
- * Defines the description for the `hour` format section.
870
- */
871
- hour?: string;
872
- /**
873
- * Defines the description for the `minute` format section.
874
- */
875
- minute?: string;
876
- /**
877
- * Defines the description for the `second` format section.
878
- */
879
- second?: string;
880
- }
881
-
882
- /**
883
- * The arguments for the `onFocus` event of the DateInput.
884
- */
885
- export declare interface DateInputFocusEvent {
886
- /**
887
- * The native browser focus event.
888
- */
889
- event: FocusEvent;
890
- }
891
-
892
- /**
893
- * The union type which defines all possible format options of the DateInput placeholder.
894
- *
895
- * The available options are:
896
- * * `'wide'`&mdash;Displays the full description of the format section. For example, turns `MM` into `month`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
897
- * * `'narrow'`&mdash;Displays the narrow description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
898
- * * `'short'`&mdash;Displays the short description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
899
- * * `'formatPattern'`&mdash;Directly displays the format section. For example, turns `MM` into `MM`.
900
- */
901
- export declare type DateInputFormatPlaceholder = 'wide' | 'narrow' | 'short' | 'formatPattern' | DateInputCustomFormatPlaceholder;
902
-
903
- /**
904
- * The interface which defines all possible incremental steps in the DateInput.
905
- */
906
- export declare interface DateInputIncrementalSteps {
907
- year?: number;
908
- month?: number;
909
- day?: number;
910
- hour?: number;
911
- minute?: number;
912
- second?: number;
913
- }
914
-
915
- /**
916
- * Represents the props of the [Kendo UI for Vue DateInput component]({% slug overview_dateinput %}). The generic argument is passed to the `change` property and is used as a target in the [`DateInputChangeEvent`]({% slug api_dateinputs_dateinputchangeevent %}) interface.
917
- */
918
- export declare interface DateInputProps extends FormComponentProps, DateInputSettings {
919
- /**
920
- * Specifies the value of the placeholder.
921
- */
922
- placeholder?: string;
923
- /**
924
- * @hidden
925
- */
926
- modelValue?: Date | null;
927
- /**
928
- * Specifies the value of the DateInput.
929
- */
930
- value?: Date | null;
931
- /**
932
- * Specifies the validate of the DateInput.
933
- */
934
- validate?: boolean;
935
- /**
936
- * Specifies the default value of the DateInput. If `value` is not set, this value will correspond to the initial value.
937
- */
938
- defaultValue?: Date | null;
939
- /**
940
- * Determines the event handler that will be fired when the user edits the value ([see example]({% slug dateranges_dateinput %}).
941
- */
942
- onChange?: (event: any) => void;
943
- }
944
-
945
- /**
946
- * @hidden
947
- */
948
- export declare interface DateInputSettings {
949
- /**
950
- * Specifies the `date` format which is used for formatting the value ([see example]({% slug formats_dateinput %}). If not set, the default format will be used.
951
- */
952
- format?: string | DateFormatOptions;
953
- /**
954
- * Specifies the descriptions of the format sections in the input field ([more information and example]({% slug placeholders_dateinput %}).
955
- */
956
- formatPlaceholder?: DateInputFormatPlaceholder;
957
- /**
958
- * Specifies the width of the DateInput.
959
- */
960
- width?: number | string;
961
- /**
962
- * Configures the `size` of the DateInput.
963
- *
964
- * The available options are:
965
- * - small
966
- * - medium
967
- * - large
968
- * - null&mdash;Does not set a size `class`.
969
- *
970
- * @default `medium`
971
- */
972
- size?: null | 'small' | 'medium' | 'large';
973
- /**
974
- * Configures the `roundness` of the DateInput.
975
- *
976
- * The available options are:
977
- * - small
978
- * - medium
979
- * - large
980
- * - circle
981
- * - full
982
- * - null&mdash;Does not set a rounded `class`.
983
- *
984
- * @default `medium`
985
- */
986
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
987
- /**
988
- * Configures the `fillMode` of the DateInput.
989
- *
990
- * The available options are:
991
- * - solid
992
- * - outline
993
- * - flat
994
- * - link
995
- * - null&mdash;Does not set a fillMode `class`.
996
- *
997
- * @default `solid`
998
- */
999
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
1000
- /**
1001
- * Sets the `tabIndex` property of the DateInput.
1002
- */
1003
- tabIndex?: number;
1004
- /**
1005
- * Sets the title of the `input` element of the DateInput.
1006
- */
1007
- title?: string;
1008
- /**
1009
- * Sets the aria-label of the DateInput.
1010
- */
1011
- ariaLabel?: string;
1012
- /**
1013
- * Sets the aria role of the DateInput.
1014
- */
1015
- ariaRole?: string;
1016
- /**
1017
- * Sets the aria-controls of the DateInput.
1018
- */
1019
- ariaControls?: string;
1020
- /**
1021
- * Sets the aria-haspopup of the DateInput.
1022
- */
1023
- ariaHasPopup?: String;
1024
- /**
1025
- * Sets the aria-expanded of the DateInput.
1026
- */
1027
- ariaExpanded?: boolean;
1028
- /**
1029
- * Specifies the incremental steps of the DateInput ([see example]({% slug incrementalsteps_dateinput %}).
1030
- *
1031
- * The available options are:
1032
- * - `year: Number`&mdash;Controls the incremental step of the year value.
1033
- * - `month: Number`&mdash;Controls the incremental step of the month value.
1034
- * - `day: Number`&mdash;Controls the incremental step of the day value.
1035
- * - `hour: Number`&mdash;Controls the incremental step of the hour value.
1036
- * - `minute: Number`&mdash;Controls the incremental step of the minute value.
1037
- * - `second: Number`&mdash;Controls the incremental step of the second value.
1038
- */
1039
- steps?: DateInputIncrementalSteps;
1040
- /**
1041
- * Specifies the smallest date that is valid ([see example]({% slug dateranges_dateinput %}).
1042
- */
1043
- min?: Date;
1044
- /**
1045
- * Specifies the greatest date that is valid ([see example]({% slug dateranges_dateinput %}).
1046
- */
1047
- max?: Date;
1048
- /**
1049
- * Specifies the smallest time that is valid ([see example]({% slug dateranges_dateinput %}#toc-limiting-the-time-range).
1050
- */
1051
- minTime?: Date;
1052
- /**
1053
- * Specifies the greatest time that is valid ([see example]({% slug dateranges_dateinput %}#toc-limiting-the-time-range).
1054
- */
1055
- maxTime?: Date;
1056
- /**
1057
- * Determines whether the DateInput is disabled ([see example]({% slug disabled_dateinput %})).
1058
- */
1059
- disabled?: boolean;
1060
- /**
1061
- * Specifies whether the **Up** and **Down** spin buttons will be rendered ([see example]({% slug spinbuttons_dateinput %})).
1062
- */
1063
- spinners?: boolean;
1064
- /**
1065
- * Specifies the name property of the input DOM element.
1066
- */
1067
- name?: string;
1068
- /**
1069
- * Represents the `dir` HTML attribute.
1070
- */
1071
- dir?: string;
1072
- /**
1073
- * Renders a floating label for the DateInput.
1074
- */
1075
- label?: string;
1076
- /**
1077
- * Sets the `id` of the `input` DOM element.
1078
- */
1079
- id?: string;
1080
- /**
1081
- * 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).
1082
- * For example these elements could contain error or hint message.
1083
- */
1084
- ariaDescribedBy?: string;
1085
- /**
1086
- * Identifies the element(s) which will label the component.
1087
- */
1088
- ariaLabelledBy?: string;
1089
- /**
1090
- * Sets the built-in HTML attributes of the inner focusable input element.
1091
- * Attributes which are essential for certain component functionalities cannot be changed.
1092
- */
1093
- inputAttributes?: Object;
1094
- }
1095
-
1096
- declare interface DateInputsPopupSettings_2 {
1097
- /**
1098
- * Controls the popup animation. By default, the open and close animations are enabled.
1099
- */
1100
- animate?: boolean;
1101
- /**
1102
- * Controls the popup container. By default, the popup is appended to the [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body) element.
1103
- */
1104
- appendTo?: HTMLElement;
1105
- /**
1106
- * Specifies a list of CSS classes that are used for styling the popup.
1107
- */
1108
- popupClass?: string;
1109
- }
1110
-
1111
- /**
1112
- * @hidden
1113
- */
1114
- export declare const DatePicker: DefineComponent<ExtractPropTypes< {
1115
- defaultShow: {
1116
- type: PropType<boolean>;
1117
- default: boolean;
1118
- };
1119
- modelValue: {
1120
- type: PropType<Date>;
1121
- default: any;
1122
- };
1123
- defaultValue: {
1124
- type: PropType<Date>;
1125
- default: any;
1126
- };
1127
- disabled: {
1128
- type: PropType<boolean>;
1129
- default: boolean;
1130
- };
1131
- dateInput: {
1132
- type: PropType<any>;
1133
- default: () => any;
1134
- };
1135
- calendar: {
1136
- type: PropType<any>;
1137
- default: () => any;
1138
- };
1139
- toggleButton: {
1140
- type: PropType<any>;
1141
- default: () => any;
1142
- };
1143
- label: PropType<string>;
1144
- placeholder: PropType<string>;
1145
- popup: {
1146
- type: PropType<any>;
1147
- default: () => any;
1148
- };
1149
- rounded: {
1150
- type: PropType<string>;
1151
- validator: (value: string) => boolean;
1152
- };
1153
- fillMode: {
1154
- type: PropType<string>;
1155
- validator: (value: string) => boolean;
1156
- };
1157
- size: {
1158
- type: PropType<"small" | "medium" | "large">;
1159
- validator: (value: string) => boolean;
1160
- };
1161
- focusedDate: PropType<Date>;
1162
- format: {
1163
- type: PropType<string | DateFormatOptions>;
1164
- default: () => string | object;
1165
- };
1166
- formatPlaceholder: PropType<DateInputFormatPlaceholder_2>;
1167
- id: PropType<string>;
1168
- max: {
1169
- type: PropType<Date>;
1170
- default: () => Date;
1171
- };
1172
- min: {
1173
- type: PropType<Date>;
1174
- default: () => Date;
1175
- };
1176
- name: PropType<string>;
1177
- popupSettings: {
1178
- type: PropType<DateInputsPopupSettings>;
1179
- default: () => {};
1180
- };
1181
- show: {
1182
- type: PropType<boolean>;
1183
- default: any;
1184
- };
1185
- tabIndex: {
1186
- type: PropType<number>;
1187
- default: number;
1188
- };
1189
- title: {
1190
- type: PropType<string>;
1191
- default: () => "";
1192
- };
1193
- value: PropType<Date>;
1194
- weekNumber: PropType<boolean>;
1195
- width: PropType<string | number>;
1196
- validityStyles: {
1197
- type: PropType<boolean>;
1198
- default: boolean;
1199
- };
1200
- validationMessage: PropType<string>;
1201
- required: PropType<boolean>;
1202
- validate: PropType<boolean>;
1203
- valid: {
1204
- type: PropType<boolean>;
1205
- default: any;
1206
- };
1207
- ariaLabel: PropType<string>;
1208
- inputAttributes: PropType<Object>;
1209
- }>, {
1210
- listRef: Ref<any, any>;
1211
- kendoAnchorRef: Ref<any, any>;
1212
- kendoLocalizationService: {};
1213
- }, {
1214
- isFocused: boolean;
1215
- currentValue: any;
1216
- currentShow: any;
1217
- valueDuringOnChange: any;
1218
- showDuringOnChange: any;
1219
- shouldFocusDateInput: boolean;
1220
- }, {
1221
- computedValue(): Date | null;
1222
- computedShow(): boolean;
1223
- }, {
1224
- focus(): void;
1225
- handleFocus(event: FocusEvent): void;
1226
- handleBlur(event: FocusEvent): void;
1227
- calendarBlur(event: FocusEvent): void;
1228
- calendarFocus(event: FocusEvent): void;
1229
- createBlurTimeout(): void;
1230
- validity(): FormComponentValidity;
1231
- nextValue(nextProps: DatePickerProps, nextState: any): any;
1232
- nextShow(nextProps: DatePickerProps, nextState: any): any;
1233
- setShow(show: boolean): void;
1234
- mergeTime(value: Date | null): Date | null;
1235
- handleInputValueChange(event: DateInputChangeEvent): void;
1236
- handleCalendarValueChange(event: CalendarChangeEvent): void;
1237
- getDateInputText(): any;
1238
- handleValueChange(value: Date | null, event: DateInputChangeEvent | CalendarChangeEvent): void;
1239
- handleIconClick(event: any): void;
1240
- handleIconMouseDown(event: any): void;
1241
- handleKeyDown(event: any): void;
1242
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
1243
- change: (event: DatePickerChangeEvent) => true;
1244
- changemodel: (value: Date | null) => true;
1245
- 'update:modelValue': (value: Date | null) => true;
1246
- iconclick: (event: Event) => true;
1247
- focus: (event: DatePickerFocusEvent) => true;
1248
- blur: (event: DatePickerBlurEvent) => true;
1249
- keydown: (event: KeyboardEvent) => true;
1250
- open: (event: DatePickerOpenEvent) => true;
1251
- close: (event: DatePickerCloseEvent) => true;
1252
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1253
- defaultShow: {
1254
- type: PropType<boolean>;
1255
- default: boolean;
1256
- };
1257
- modelValue: {
1258
- type: PropType<Date>;
1259
- default: any;
1260
- };
1261
- defaultValue: {
1262
- type: PropType<Date>;
1263
- default: any;
1264
- };
1265
- disabled: {
1266
- type: PropType<boolean>;
1267
- default: boolean;
1268
- };
1269
- dateInput: {
1270
- type: PropType<any>;
1271
- default: () => any;
1272
- };
1273
- calendar: {
1274
- type: PropType<any>;
1275
- default: () => any;
1276
- };
1277
- toggleButton: {
1278
- type: PropType<any>;
1279
- default: () => any;
1280
- };
1281
- label: PropType<string>;
1282
- placeholder: PropType<string>;
1283
- popup: {
1284
- type: PropType<any>;
1285
- default: () => any;
1286
- };
1287
- rounded: {
1288
- type: PropType<string>;
1289
- validator: (value: string) => boolean;
1290
- };
1291
- fillMode: {
1292
- type: PropType<string>;
1293
- validator: (value: string) => boolean;
1294
- };
1295
- size: {
1296
- type: PropType<"small" | "medium" | "large">;
1297
- validator: (value: string) => boolean;
1298
- };
1299
- focusedDate: PropType<Date>;
1300
- format: {
1301
- type: PropType<string | DateFormatOptions>;
1302
- default: () => string | object;
1303
- };
1304
- formatPlaceholder: PropType<DateInputFormatPlaceholder_2>;
1305
- id: PropType<string>;
1306
- max: {
1307
- type: PropType<Date>;
1308
- default: () => Date;
1309
- };
1310
- min: {
1311
- type: PropType<Date>;
1312
- default: () => Date;
1313
- };
1314
- name: PropType<string>;
1315
- popupSettings: {
1316
- type: PropType<DateInputsPopupSettings>;
1317
- default: () => {};
1318
- };
1319
- show: {
1320
- type: PropType<boolean>;
1321
- default: any;
1322
- };
1323
- tabIndex: {
1324
- type: PropType<number>;
1325
- default: number;
1326
- };
1327
- title: {
1328
- type: PropType<string>;
1329
- default: () => "";
1330
- };
1331
- value: PropType<Date>;
1332
- weekNumber: PropType<boolean>;
1333
- width: PropType<string | number>;
1334
- validityStyles: {
1335
- type: PropType<boolean>;
1336
- default: boolean;
1337
- };
1338
- validationMessage: PropType<string>;
1339
- required: PropType<boolean>;
1340
- validate: PropType<boolean>;
1341
- valid: {
1342
- type: PropType<boolean>;
1343
- default: any;
1344
- };
1345
- ariaLabel: PropType<string>;
1346
- inputAttributes: PropType<Object>;
1347
- }>> & Readonly<{
1348
- onBlur?: (event: DatePickerBlurEvent) => any;
1349
- onChange?: (event: DatePickerChangeEvent) => any;
1350
- onClose?: (event: DatePickerCloseEvent) => any;
1351
- onFocus?: (event: DatePickerFocusEvent) => any;
1352
- onKeydown?: (event: KeyboardEvent) => any;
1353
- onOpen?: (event: DatePickerOpenEvent) => any;
1354
- onChangemodel?: (value: Date) => any;
1355
- "onUpdate:modelValue"?: (value: Date) => any;
1356
- onIconclick?: (event: Event) => any;
1357
- }>, {
1358
- title: string;
1359
- tabIndex: number;
1360
- calendar: any;
1361
- popup: any;
1362
- disabled: boolean;
1363
- format: string | object;
1364
- max: Date;
1365
- min: Date;
1366
- defaultValue: Date;
1367
- show: boolean;
1368
- popupSettings: DateInputsPopupSettings;
1369
- modelValue: Date;
1370
- validityStyles: boolean;
1371
- valid: boolean;
1372
- defaultShow: boolean;
1373
- dateInput: any;
1374
- toggleButton: any;
1375
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1376
-
1377
- /**
1378
- * The arguments for the `onBlur` event of the DatePicker.
1379
- */
1380
- export declare interface DatePickerBlurEvent {
1381
- /**
1382
- * The native browser blur event.
1383
- */
1384
- event: FocusEvent;
1385
- }
1386
-
1387
- /**
1388
- * The arguments for the `change` event of the DatePicker.
1389
- */
1390
- export declare interface DatePickerChangeEvent {
1391
- event: any;
1392
- value: Date | null;
1393
- show: boolean;
1394
- target: any;
1395
- component: any;
1396
- }
1397
-
1398
- /**
1399
- * The arguments for the `close` event of the DatePicker.
1400
- */
1401
- export declare interface DatePickerCloseEvent {
1402
- component: any;
1403
- }
1404
-
1405
- /**
1406
- * The arguments for the `onFocus` event of the DatePicker.
1407
- */
1408
- export declare interface DatePickerFocusEvent {
1409
- /**
1410
- * The native browser focus event.
1411
- */
1412
- event: FocusEvent;
1413
- }
1414
-
1415
- /**
1416
- * The arguments for the `open` event of the DatePicker.
1417
- */
1418
- export declare interface DatePickerOpenEvent {
1419
- component: any;
1420
- }
1421
-
1422
- /**
1423
- * Represents the props of the [Kendo UI for Vue DatePicker component]({% slug overview_datepicker %}).
1424
- */
1425
- export declare interface DatePickerProps extends DatePickerSettings, FormComponentProps {
1426
- /**
1427
- * @hidden
1428
- */
1429
- modelValue?: Date;
1430
- /**
1431
- * Sets the default value of the DatePicker ([see example]({% slug default_value_datepicker %})).
1432
- */
1433
- defaultValue?: Date;
1434
- /**
1435
- * Fires each time the user selects a new value ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
1436
- */
1437
- onChange?: (event: DatePickerChangeEvent) => void;
1438
- /**
1439
- * Fires when the icon element is clicked.
1440
- */
1441
- onIconclick?: (event: any) => void;
1442
- /**
1443
- * Renders a floating label for the DatePicker.
1444
- */
1445
- label?: string;
1446
- /**
1447
- * Specifies the value of the placeholder.
1448
- */
1449
- placeholder?: string;
1450
- /**
1451
- * Specifies the value of the DatePicker ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
1452
- *
1453
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
1454
- */
1455
- value?: Date | null;
1456
- /**
1457
- * Specifies the validate of the DatePicker.
1458
- */
1459
- validate?: boolean;
1460
- /**
1461
- * Specifies the validate of the DatePicker.
1462
- */
1463
- ariaLabel?: string;
1464
- }
1465
-
1466
- /**
1467
- * @hidden
1468
- */
1469
- export declare interface DatePickerSettings {
1470
- /**
1471
- * Enables the customization or the override of the default wrapping component around the `DateInput` and `ToggleButton` rendered by the DatePicker
1472
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
1473
- */
1474
- pickerWrap?: any;
1475
- /**
1476
- * Enables the customization or the override of the default Toggle button which is rendered by the DatePicker
1477
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
1478
- */
1479
- toggleButton?: any;
1480
- /**
1481
- * Enables the customization or the override of the default Calendar which is rendered by the DatePicker
1482
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-calendar)).
1483
- */
1484
- calendar?: any;
1485
- /**
1486
- * Enables the customization or the override of the default Popup which is rendered by the DatePicker
1487
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-popup)).
1488
- */
1489
- popup?: any;
1490
- /**
1491
- * Enables the customization or the override of the default DateInput which is rendered by the DatePicker
1492
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-dateinput)).
1493
- */
1494
- dateInput?: any;
1495
- /**
1496
- * Sets the default state of the DatePicker upon render ([see example]({% slug default_value_datepicker %})).
1497
- */
1498
- defaultShow?: boolean;
1499
- /**
1500
- * Determines whether the DatePicker is disabled ([see example]({% slug disabled_datepicker %})).
1501
- */
1502
- disabled?: boolean;
1503
- /**
1504
- * Configures the `size` of the TimeInput.
1505
- *
1506
- * The available options are:
1507
- * - small
1508
- * - medium
1509
- * - large
1510
- * - null&mdash;Does not set a size `class`.
1511
- *
1512
- * @default `medium`
1513
- */
1514
- size?: null | 'small' | 'medium' | 'large';
1515
- /**
1516
- * Configures the `roundness` of the TimeInput.
1517
- *
1518
- * The available options are:
1519
- * - small
1520
- * - medium
1521
- * - large
1522
- * - circle
1523
- * - full
1524
- * - null&mdash;Does not set a rounded `class`.
1525
- *
1526
- * @default `medium`
1527
- */
1528
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
1529
- /**
1530
- * Configures the `fillMode` of the TimeInput.
1531
- *
1532
- * The available options are:
1533
- * - solid
1534
- * - outline
1535
- * - flat
1536
- * - link
1537
- * - null&mdash;Does not set a fillMode `class`.
1538
- *
1539
- * @default `solid`
1540
- */
1541
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
1542
- /**
1543
- * Specifies the focused date of the DatePicker ([see example]({% slug dates_datepicker %})).
1544
- */
1545
- focusedDate?: Date;
1546
- /**
1547
- * Specifies the date format that is used to display the input value ([see example]({% slug formats_datepicker %})).
1548
- */
1549
- format?: string | DateFormatOptions;
1550
- /**
1551
- * Defines the descriptions of the format sections in the input field ([more information and examples]({% slug placeholders_datepicker %})).
1552
- */
1553
- formatPlaceholder?: DateInputFormatPlaceholder;
1554
- /**
1555
- * Specifies the `id` of the DatePicker.
1556
- */
1557
- id?: string;
1558
- /**
1559
- * Specifies the greatest valid date ([see example]({% slug dateranges_datepicker %})).
1560
- */
1561
- max?: Date;
1562
- /**
1563
- * Specifies the smallest valid date ([see example]({% slug dateranges_datepicker %})).
1564
- */
1565
- min?: Date;
1566
- /**
1567
- * Specifies the `name` property of the `input` DOM element.
1568
- */
1569
- name?: string;
1570
- /**
1571
- * Fires each time any of the DatePicker elements gets blurred.
1572
- */
1573
- onBlur?: (event: any) => void;
1574
- /**
1575
- * Fires each time the user focuses any of the DatePicker elements.
1576
- */
1577
- onFocus?: (event: any) => void;
1578
- /**
1579
- * Configures the popup options of the DatePicker.
1580
- *
1581
- * The available options are:
1582
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
1583
- * - `appendTo`: &mdash; Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
1584
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
1585
- */
1586
- popupSettings?: DateInputsPopupSettings_2;
1587
- /**
1588
- * Specifies if the calendar will be displayed ([see example]({% slug controlled_datepicker %}#toc-controlling-the-popup-state)).
1589
- */
1590
- show?: boolean;
1591
- /**
1592
- * Sets the `tabIndex` property of the DatePicker.
1593
- */
1594
- tabIndex?: number;
1595
- /**
1596
- * Sets the title of the `input` element of the DatePicker.
1597
- */
1598
- title?: string;
1599
- /**
1600
- * Determines whether to display a week number column in the `month` view of the Calendar ([see example]({% slug weeknumcolumn_datepicker %})).
1601
- */
1602
- weekNumber?: boolean;
1603
- /**
1604
- * Specifies the width of the DatePicker.
1605
- */
1606
- width?: number | string;
1607
- /**
1608
- * Sets the built-in HTML attributes of the inner focusable input element.
1609
- * Attributes which are essential for certain component functionalities cannot be changed.
1610
- */
1611
- inputAttributes?: Object;
1612
- }
1613
-
1614
- /**
1615
- * @hidden
1616
- */
1617
- export declare const DateRangePicker: DefineComponent<ExtractPropTypes< {
1618
- allowReverse: {
1619
- type: PropType<boolean>;
1620
- default: boolean;
1621
- };
1622
- calendarSettings: PropType<DateRangePickerCalendarSettings_2>;
1623
- defaultShow: {
1624
- type: PropType<boolean>;
1625
- default: boolean;
1626
- };
1627
- defaultValue: {
1628
- type: PropType<SelectionRange>;
1629
- default: () => SelectionRange;
1630
- };
1631
- modelValue: {
1632
- type: PropType<Date>;
1633
- default: any;
1634
- };
1635
- disabled: {
1636
- type: PropType<boolean>;
1637
- default: boolean;
1638
- };
1639
- popup: PropType<any>;
1640
- calendar: PropType<any>;
1641
- startDateInput: PropType<any>;
1642
- endDateInput: PropType<any>;
1643
- endDateInputSettings: PropType<DateRangePickerDateInputSettings_2>;
1644
- focusedDate: PropType<Date>;
1645
- format: {
1646
- type: PropType<string | DateFormatOptions>;
1647
- default: () => string | object;
1648
- };
1649
- id: PropType<string>;
1650
- ariaLabelledBy: PropType<string>;
1651
- ariaDescribedBy: PropType<string>;
1652
- max: {
1653
- type: PropType<Date>;
1654
- default: () => Date;
1655
- };
1656
- min: {
1657
- type: PropType<Date>;
1658
- default: () => Date;
1659
- };
1660
- rounded: {
1661
- type: PropType<string>;
1662
- validator: (value: string) => boolean;
1663
- };
1664
- fillMode: {
1665
- type: PropType<string>;
1666
- validator: (value: string) => boolean;
1667
- };
1668
- size: {
1669
- type: PropType<"small" | "medium" | "large">;
1670
- validator: (value: string) => boolean;
1671
- };
1672
- popupSettings: {
1673
- type: PropType<DateRangePickerPopupSettings_2>;
1674
- default: () => any;
1675
- };
1676
- show: {
1677
- type: PropType<boolean>;
1678
- default: any;
1679
- };
1680
- startDateInputSettings: PropType<DateRangePickerDateInputSettings_2>;
1681
- swapButton: {
1682
- type: PropType<boolean>;
1683
- default: boolean;
1684
- };
1685
- tabIndex: PropType<number>;
1686
- value: {
1687
- type: PropType<SelectionRange>;
1688
- default: () => any;
1689
- };
1690
- inputAttributes: PropType<Object>;
1691
- }>, {
1692
- kendoAnchorRef: Ref<any, any>;
1693
- kendoLocalizationService: {};
1694
- }, {
1695
- currentShow: boolean;
1696
- currentValue: any;
1697
- valueDuringOnChange: any;
1698
- shouldFocusDateInput: boolean;
1699
- shouldFocusCalendar: boolean;
1700
- }, {
1701
- rootClassName(): DateRangePickerComputed['rootClassName'];
1702
- computedValue(): DateRangePickerComputed['computedValue'];
1703
- computedShow(): DateRangePickerComputed['computedShow'];
1704
- swapButtonClass(): {
1705
- [x: string]: any;
1706
- 'k-button': boolean;
1707
- 'k-button-flat': boolean;
1708
- 'k-button-flat-base': boolean;
1709
- 'k-icon-button': boolean;
1710
- };
1711
- }, {
1712
- focus(): void;
1713
- focusCalendarElement(): void;
1714
- focusDateInputElement(): void;
1715
- calculateValue(props: DateRangePickerProps, state: DateRangePickerData): SelectionRange;
1716
- calculateShow(nextProps: DateRangePickerProps, nextState: DateRangePickerData): boolean;
1717
- setShow(show: boolean): void;
1718
- handleReverseClick(event: any): void;
1719
- handleReverseMouseDown(event: any): void;
1720
- handleFocus(event: FocusEvent): void;
1721
- calendarBlur(): void;
1722
- calendarFocus(): void;
1723
- createBlurTimeout(): void;
1724
- getStartInput(): any;
1725
- getEndInput(): any;
1726
- getCalendar(): any;
1727
- handleBlur(event: FocusEvent): void;
1728
- handleEndChange(event: DateInputChangeEvent): void;
1729
- handleStartChange(event: DateInputChangeEvent): void;
1730
- extractRangeFromValue(event: CalendarChangeEvent): SelectionRange;
1731
- handleCalendarChange(event: CalendarChangeEvent): void;
1732
- handleKeyDown(event: any): void;
1733
- handleChange(value: SelectionRange, event: CalendarChangeEvent | DateInputChangeEvent | ReverseClickEvent): void;
1734
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
1735
- blur: (event: DateRangePickerBlurEvent) => true;
1736
- change: (event: DateRangePickerChangeEvent) => true;
1737
- changemodel: (value: any) => true;
1738
- 'update:modelValue': (value: any) => true;
1739
- focus: (event: DateRangePickerFocusEvent) => true;
1740
- keydown: (event: KeyboardEvent) => true;
1741
- open: (event: DateRangePickerOpenEvent) => true;
1742
- close: (event: DateRangePickerCloseEvent) => true;
1743
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1744
- allowReverse: {
1745
- type: PropType<boolean>;
1746
- default: boolean;
1747
- };
1748
- calendarSettings: PropType<DateRangePickerCalendarSettings_2>;
1749
- defaultShow: {
1750
- type: PropType<boolean>;
1751
- default: boolean;
1752
- };
1753
- defaultValue: {
1754
- type: PropType<SelectionRange>;
1755
- default: () => SelectionRange;
1756
- };
1757
- modelValue: {
1758
- type: PropType<Date>;
1759
- default: any;
1760
- };
1761
- disabled: {
1762
- type: PropType<boolean>;
1763
- default: boolean;
1764
- };
1765
- popup: PropType<any>;
1766
- calendar: PropType<any>;
1767
- startDateInput: PropType<any>;
1768
- endDateInput: PropType<any>;
1769
- endDateInputSettings: PropType<DateRangePickerDateInputSettings_2>;
1770
- focusedDate: PropType<Date>;
1771
- format: {
1772
- type: PropType<string | DateFormatOptions>;
1773
- default: () => string | object;
1774
- };
1775
- id: PropType<string>;
1776
- ariaLabelledBy: PropType<string>;
1777
- ariaDescribedBy: PropType<string>;
1778
- max: {
1779
- type: PropType<Date>;
1780
- default: () => Date;
1781
- };
1782
- min: {
1783
- type: PropType<Date>;
1784
- default: () => Date;
1785
- };
1786
- rounded: {
1787
- type: PropType<string>;
1788
- validator: (value: string) => boolean;
1789
- };
1790
- fillMode: {
1791
- type: PropType<string>;
1792
- validator: (value: string) => boolean;
1793
- };
1794
- size: {
1795
- type: PropType<"small" | "medium" | "large">;
1796
- validator: (value: string) => boolean;
1797
- };
1798
- popupSettings: {
1799
- type: PropType<DateRangePickerPopupSettings_2>;
1800
- default: () => any;
1801
- };
1802
- show: {
1803
- type: PropType<boolean>;
1804
- default: any;
1805
- };
1806
- startDateInputSettings: PropType<DateRangePickerDateInputSettings_2>;
1807
- swapButton: {
1808
- type: PropType<boolean>;
1809
- default: boolean;
1810
- };
1811
- tabIndex: PropType<number>;
1812
- value: {
1813
- type: PropType<SelectionRange>;
1814
- default: () => any;
1815
- };
1816
- inputAttributes: PropType<Object>;
1817
- }>> & Readonly<{
1818
- onBlur?: (event: DateRangePickerBlurEvent) => any;
1819
- onChange?: (event: DateRangePickerChangeEvent) => any;
1820
- onClose?: (event: DateRangePickerCloseEvent) => any;
1821
- onFocus?: (event: DateRangePickerFocusEvent) => any;
1822
- onKeydown?: (event: KeyboardEvent) => any;
1823
- onOpen?: (event: DateRangePickerOpenEvent) => any;
1824
- onChangemodel?: (value: any) => any;
1825
- "onUpdate:modelValue"?: (value: any) => any;
1826
- }>, {
1827
- value: SelectionRange;
1828
- disabled: boolean;
1829
- format: string | object;
1830
- max: Date;
1831
- min: Date;
1832
- defaultValue: SelectionRange;
1833
- show: boolean;
1834
- popupSettings: DateRangePickerPopupSettings_2;
1835
- allowReverse: boolean;
1836
- modelValue: Date;
1837
- defaultShow: boolean;
1838
- swapButton: boolean;
1839
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1840
-
1841
- /**
1842
- * The arguments for the `onBlur` event of the DateRangePicker.
1843
- */
1844
- export declare interface DateRangePickerBlurEvent {
1845
- /**
1846
- * The native browser blur event.
1847
- */
1848
- event: FocusEvent;
1849
- }
1850
-
1851
- /**
1852
- * Represents the settings that can be passed to the Calendar inside the DateRangePicker.
1853
- */
1854
- export declare interface DateRangePickerCalendarSettings extends CalendarSettings {
1855
- }
1856
-
1857
- /**
1858
- * The arguments for the `onChange` event of the DateRangePicker.
1859
- */
1860
- export declare interface DateRangePickerChangeEvent {
1861
- event?: any;
1862
- value: SelectionRange;
1863
- show?: boolean;
1864
- target: any;
1865
- component?: any;
1866
- }
1867
-
1868
- /**
1869
- * The arguments for the `close` event of the DateRangePicker.
1870
- */
1871
- export declare interface DateRangePickerCloseEvent {
1872
- component: any;
1873
- }
1874
-
1875
- /**
1876
- * @hidden
1877
- */
1878
- declare interface DateRangePickerComputed {
1879
- [key: string]: any;
1880
- rootClassName: object;
1881
- computedValue: SelectionRange;
1882
- computedShow: boolean;
1883
- }
1884
-
1885
- /**
1886
- * @hidden
1887
- */
1888
- declare interface DateRangePickerData {
1889
- currentShow: boolean;
1890
- currentValue: SelectionRange;
1891
- valueDuringOnChange: SelectionRange | undefined;
1892
- shouldFocusDateInput: boolean;
1893
- shouldFocusCalendar: boolean;
1894
- }
1895
-
1896
- /**
1897
- * Represents the settings that can be passed to the DateInput inside the DateRangePicker.
1898
- */
1899
- export declare interface DateRangePickerDateInputSettings extends DateInputSettings {
1900
- }
1901
-
1902
- /**
1903
- * The arguments for the `onFocus` event of the DateRangePicker.
1904
- */
1905
- export declare interface DateRangePickerFocusEvent {
1906
- /**
1907
- * The native browser focus event.
1908
- */
1909
- event: FocusEvent;
1910
- }
1911
-
1912
- /**
1913
- * The arguments for the `open` event of the DateRangePicker.
1914
- */
1915
- export declare interface DateRangePickerOpenEvent {
1916
- component: any;
1917
- }
1918
-
1919
- /**
1920
- * Represents the settings that can be passed to the Popup inside the DateRangePicker.
1921
- */
1922
- export declare interface DateRangePickerPopupSettings extends PopupSettings {
1923
- }
1924
-
1925
- /**
1926
- * Represents the props of the [Kendo UI for Vue DateRangePicker component]({% slug overview_daterangepicker %}).
1927
- */
1928
- export declare interface DateRangePickerProps extends DateRangePickerSettings {
1929
- /**
1930
- * Overrides the validity state of the component.
1931
- * If `valid` is set, the `required` property will be ignored.
1932
- */
1933
- valid?: boolean;
1934
- /**
1935
- * Sets the default value of the DateRangePicker ([see example]({% slug default_value_daterangepicker %})).
1936
- */
1937
- defaultValue?: SelectionRange;
1938
- /**
1939
- * @hidden
1940
- */
1941
- modelValue?: Date;
1942
- /**
1943
- * Fires each time the user selects a part of a date range ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
1944
- */
1945
- onChange?: (event: DateRangePickerChangeEvent) => void;
1946
- /**
1947
- * Specifies the selected date range of the DateRangePicker ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
1948
- *
1949
- * > 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`.
1950
- */
1951
- value?: SelectionRange;
1952
- }
1953
-
1954
- /**
1955
- * @hidden
1956
- */
1957
- export declare interface DateRangePickerSettings {
1958
- /**
1959
- * Enables the customization or the override of the default start DateInput which is rendered by the DateRangePicker
1960
- * ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-date-inputs)).
1961
- */
1962
- startDateInput?: any;
1963
- /**
1964
- * Enables the customization or the override of the default end DateInput which is rendered by the DateRangePicker
1965
- * ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-calendar)).
1966
- */
1967
- endDateInput?: any;
1968
- /**
1969
- * Enables the customization or the override of the default Popup which is rendered by the DateRangePicker
1970
- * ([see example]({% slug custom_rendering_daterangepicker %}#toc-customizing-the-popup)).
1971
- */
1972
- popup?: any;
1973
- /**
1974
- * Enables the customization or the override of the default Calendar which is rendered by the DateRangePicker.
1975
- */
1976
- calendar?: any;
1977
- /**
1978
- * 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 %})).
1979
- *
1980
- * > If the [`calendarSettings`](#toc-calendarsettings) property is set, its `allowReverse` will take precedence.
1981
- */
1982
- allowReverse?: boolean;
1983
- /**
1984
- * 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)).
1985
- */
1986
- calendarSettings?: DateRangePickerCalendarSettings;
1987
- /**
1988
- * Sets the default state of the DateRangePicker upon render ([see example]({% slug default_value_daterangepicker %})).
1989
- */
1990
- defaultShow?: boolean;
1991
- /**
1992
- * Determines whether the DateRangePicker is disabled ([see example]({% slug disabled_daterangepicker %})).
1993
- */
1994
- disabled?: boolean;
1995
- /**
1996
- * 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)).
1997
- */
1998
- endDateInputSettings?: DateRangePickerDateInputSettings;
1999
- /**
2000
- * Specifies the focused date of the DateRangePicker ([see example]({% slug focused_daterangepicker %})).
2001
- */
2002
- focusedDate?: Date;
2003
- /**
2004
- * Specifies the `date` format which is used for formatting the value of the DateInput ([see example]({% slug formats_dateinput %})).
2005
- *
2006
- * > If [`startDateInputSettings`](#toc-startdateinputsettings) or [`endDateInputSettings`](#toc-enddateinputsettings) are set, their `format` will take precedence.
2007
- */
2008
- format?: string | DateFormatOptions;
2009
- /**
2010
- * Specifies the `id` of the DateRangePicker.
2011
- */
2012
- id?: string;
2013
- /**
2014
- * 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).
2015
- * For example these elements could contain error or hint message.
2016
- */
2017
- ariaDescribedBy?: string;
2018
- /**
2019
- * Identifies the element(s) which will label the component.
2020
- */
2021
- ariaLabelledBy?: string;
2022
- /**
2023
- * Specifies the greatest valid date ([see example]({% slug dateranges_daterangepicker %})).
2024
- */
2025
- max?: Date;
2026
- /**
2027
- * Specifies the smallest valid date ([see example]({% slug dateranges_daterangepicker %})).
2028
- */
2029
- min?: Date;
2030
- /**
2031
- * Configures the `size` of the DateRangePicker.
2032
- *
2033
- * The available options are:
2034
- * - small
2035
- * - medium
2036
- * - large
2037
- * - null&mdash;Does not set a size `class`.
2038
- *
2039
- * @default `medium`
2040
- */
2041
- size?: null | 'small' | 'medium' | 'large';
2042
- /**
2043
- * Configures the `roundness` of the DateRangePicker.
2044
- *
2045
- * The available options are:
2046
- * - small
2047
- * - medium
2048
- * - large
2049
- * - circle
2050
- * - full
2051
- * - null&mdash;Does not set a rounded `class`.
2052
- *
2053
- * @default `medium`
2054
- */
2055
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
2056
- /**
2057
- * Configures the `fillMode` of the DateRangePicker.
2058
- *
2059
- * The available options are:
2060
- * - solid
2061
- * - outline
2062
- * - flat
2063
- * - link
2064
- * - null&mdash;Does not set a fillMode `class`.
2065
- *
2066
- * @default `solid`
2067
- */
2068
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
2069
- /**
2070
- * Fires each time any of the DateRangePicker elements gets blurred.
2071
- */
2072
- onBlur?: (event: any) => void;
2073
- /**
2074
- * Fires each time the user focuses any of the DateRangePicker elements.
2075
- */
2076
- onFocus?: (event: any) => void;
2077
- /**
2078
- * 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)).
2079
- */
2080
- popupSettings?: DateRangePickerPopupSettings;
2081
- /**
2082
- * Specifies if the calendar will be displayed ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-popup-state)).
2083
- */
2084
- show?: boolean;
2085
- /**
2086
- * 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)).
2087
- */
2088
- startDateInputSettings?: DateRangePickerDateInputSettings;
2089
- /**
2090
- * Determines whether the DateRangePicker will display a **Swap Value** button ([see example]({% slug reverse_daterangepicker %}#toc-swapping-start-and-end-dates-in-ranges)).
2091
- *
2092
- * > The DateRangePicker will display the swap button only if the [`allowReverse`](#toc-allowreverse) property is also set to `true`.
2093
- */
2094
- swapButton?: boolean;
2095
- /**
2096
- * Sets the `tabIndex` property of the DatePicker.
2097
- */
2098
- tabIndex?: number;
2099
- /**
2100
- * Sets the built-in HTML attributes of the inner focusable input element.
2101
- * Attributes which are essential for certain component functionalities cannot be changed.
2102
- */
2103
- inputAttributes?: Object;
2104
- }
2105
-
2106
- /**
2107
- * @hidden
2108
- */
2109
- export declare const DateTimePicker: DefineComponent<ExtractPropTypes< {
2110
- modelValue: {
2111
- type: PropType<Date>;
2112
- default: any;
2113
- };
2114
- defaultShow: {
2115
- type: PropType<boolean>;
2116
- default: boolean;
2117
- };
2118
- defaultValue: {
2119
- type: PropType<Date>;
2120
- default: any;
2121
- };
2122
- disabled: {
2123
- type: PropType<boolean>;
2124
- default: boolean;
2125
- };
2126
- dateInput: {
2127
- type: PropType<any>;
2128
- default: () => any;
2129
- };
2130
- popup: {
2131
- type: PropType<any>;
2132
- default: () => any;
2133
- };
2134
- calendar: {
2135
- type: PropType<any>;
2136
- default: () => any;
2137
- };
2138
- focusedDate: PropType<Date>;
2139
- format: {
2140
- type: PropType<string | DateFormatOptions>;
2141
- default: () => string | object;
2142
- };
2143
- formatPlaceholder: {
2144
- type: PropType<DateInputFormatPlaceholder>;
2145
- default: () => DateInputFormatPlaceholder;
2146
- };
2147
- rounded: {
2148
- type: PropType<string>;
2149
- validator: (value: string) => boolean;
2150
- };
2151
- fillMode: {
2152
- type: PropType<string>;
2153
- validator: (value: string) => boolean;
2154
- };
2155
- size: {
2156
- type: PropType<"small" | "medium" | "large">;
2157
- validator: (value: string) => boolean;
2158
- };
2159
- id: PropType<string>;
2160
- ariaLabelledBy: PropType<string>;
2161
- ariaDescribedBy: PropType<string>;
2162
- min: {
2163
- type: PropType<Date>;
2164
- default: () => Date;
2165
- };
2166
- max: {
2167
- type: PropType<Date>;
2168
- default: () => Date;
2169
- };
2170
- maxTime: {
2171
- type: PropType<Date>;
2172
- default: () => Date;
2173
- };
2174
- minTime: {
2175
- type: PropType<Date>;
2176
- default: () => Date;
2177
- };
2178
- name: PropType<string>;
2179
- label: PropType<string>;
2180
- placeholder: PropType<string>;
2181
- popupSettings: {
2182
- type: PropType<object>;
2183
- default: () => {};
2184
- };
2185
- show: {
2186
- type: PropType<boolean>;
2187
- default: any;
2188
- };
2189
- tabIndex: {
2190
- type: PropType<number>;
2191
- default: number;
2192
- };
2193
- title: {
2194
- type: PropType<string>;
2195
- default: () => "";
2196
- };
2197
- steps: {
2198
- type: PropType<TimePickerIncrementalSteps_3>;
2199
- default: () => {};
2200
- };
2201
- value: PropType<Date>;
2202
- weekNumber: {
2203
- type: PropType<boolean>;
2204
- default: boolean;
2205
- };
2206
- width: PropType<string | number>;
2207
- validationMessage: PropType<string>;
2208
- required: {
2209
- type: PropType<boolean>;
2210
- default: boolean;
2211
- };
2212
- validityStyles: {
2213
- type: PropType<boolean>;
2214
- default: boolean;
2215
- };
2216
- validate: PropType<boolean>;
2217
- valid: {
2218
- type: PropType<boolean>;
2219
- default: any;
2220
- };
2221
- cancelButton: {
2222
- type: PropType<boolean>;
2223
- default: boolean;
2224
- };
2225
- inputAttributes: PropType<Object>;
2226
- }>, {
2227
- kendoAnchorRef: Ref<any, any>;
2228
- kendoLocalizationService: {};
2229
- }, {
2230
- currentValue: any;
2231
- currentShow: boolean;
2232
- valueDuringOnChange: any;
2233
- showDuringOnChange: any;
2234
- shouldFocusDateInput: boolean;
2235
- isFocused: boolean;
2236
- }, {
2237
- computedValue(): DateTimePickerComputed['computedValue'];
2238
- computedShow(): DateTimePickerComputed['computedShow'];
2239
- }, {
2240
- validity(): FormComponentValidity;
2241
- getDateInputText(): any;
2242
- focus(): void;
2243
- setShow(show: boolean): void;
2244
- handleReject(): void;
2245
- handleValueChange(event: DateInputChangeEvent | DateTimeSelectorChangeEvent): void;
2246
- handleFocus(event: FocusEvent): void;
2247
- handleBlur(event: FocusEvent): void;
2248
- timeSelectorBlur(event: FocusEvent): void;
2249
- timeSelectorFocus(): void;
2250
- createBlurTimeout(): void;
2251
- handleDateIconClick(event: any): void;
2252
- handleIconMouseDown(event: any): void;
2253
- handleKeyDown(event: any): void;
2254
- dateInputElement(): any;
2255
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
2256
- changemodel: (value: Date | null) => true;
2257
- 'update:modelValue': (value: Date | null) => true;
2258
- iconclick: (event: Event) => true;
2259
- change: (event: DateTimePickerChangeEvent) => true;
2260
- focus: (event: DateTimePickerFocusEvent) => true;
2261
- blur: (event: DateTimePickerBlurEvent) => true;
2262
- keydown: (event: KeyboardEvent) => true;
2263
- open: (event: DateTimePickerOpenEvent) => true;
2264
- close: (event: DateTimePickerCloseEvent) => true;
2265
- }, string, PublicProps, Readonly<ExtractPropTypes< {
2266
- modelValue: {
2267
- type: PropType<Date>;
2268
- default: any;
2269
- };
2270
- defaultShow: {
2271
- type: PropType<boolean>;
2272
- default: boolean;
2273
- };
2274
- defaultValue: {
2275
- type: PropType<Date>;
2276
- default: any;
2277
- };
2278
- disabled: {
2279
- type: PropType<boolean>;
2280
- default: boolean;
2281
- };
2282
- dateInput: {
2283
- type: PropType<any>;
2284
- default: () => any;
2285
- };
2286
- popup: {
2287
- type: PropType<any>;
2288
- default: () => any;
2289
- };
2290
- calendar: {
2291
- type: PropType<any>;
2292
- default: () => any;
2293
- };
2294
- focusedDate: PropType<Date>;
2295
- format: {
2296
- type: PropType<string | DateFormatOptions>;
2297
- default: () => string | object;
2298
- };
2299
- formatPlaceholder: {
2300
- type: PropType<DateInputFormatPlaceholder>;
2301
- default: () => DateInputFormatPlaceholder;
2302
- };
2303
- rounded: {
2304
- type: PropType<string>;
2305
- validator: (value: string) => boolean;
2306
- };
2307
- fillMode: {
2308
- type: PropType<string>;
2309
- validator: (value: string) => boolean;
2310
- };
2311
- size: {
2312
- type: PropType<"small" | "medium" | "large">;
2313
- validator: (value: string) => boolean;
2314
- };
2315
- id: PropType<string>;
2316
- ariaLabelledBy: PropType<string>;
2317
- ariaDescribedBy: PropType<string>;
2318
- min: {
2319
- type: PropType<Date>;
2320
- default: () => Date;
2321
- };
2322
- max: {
2323
- type: PropType<Date>;
2324
- default: () => Date;
2325
- };
2326
- maxTime: {
2327
- type: PropType<Date>;
2328
- default: () => Date;
2329
- };
2330
- minTime: {
2331
- type: PropType<Date>;
2332
- default: () => Date;
2333
- };
2334
- name: PropType<string>;
2335
- label: PropType<string>;
2336
- placeholder: PropType<string>;
2337
- popupSettings: {
2338
- type: PropType<object>;
2339
- default: () => {};
2340
- };
2341
- show: {
2342
- type: PropType<boolean>;
2343
- default: any;
2344
- };
2345
- tabIndex: {
2346
- type: PropType<number>;
2347
- default: number;
2348
- };
2349
- title: {
2350
- type: PropType<string>;
2351
- default: () => "";
2352
- };
2353
- steps: {
2354
- type: PropType<TimePickerIncrementalSteps_3>;
2355
- default: () => {};
2356
- };
2357
- value: PropType<Date>;
2358
- weekNumber: {
2359
- type: PropType<boolean>;
2360
- default: boolean;
2361
- };
2362
- width: PropType<string | number>;
2363
- validationMessage: PropType<string>;
2364
- required: {
2365
- type: PropType<boolean>;
2366
- default: boolean;
2367
- };
2368
- validityStyles: {
2369
- type: PropType<boolean>;
2370
- default: boolean;
2371
- };
2372
- validate: PropType<boolean>;
2373
- valid: {
2374
- type: PropType<boolean>;
2375
- default: any;
2376
- };
2377
- cancelButton: {
2378
- type: PropType<boolean>;
2379
- default: boolean;
2380
- };
2381
- inputAttributes: PropType<Object>;
2382
- }>> & Readonly<{
2383
- onBlur?: (event: DateTimePickerBlurEvent) => any;
2384
- onChange?: (event: DateTimePickerChangeEvent) => any;
2385
- onClose?: (event: DateTimePickerCloseEvent) => any;
2386
- onFocus?: (event: DateTimePickerFocusEvent) => any;
2387
- onKeydown?: (event: KeyboardEvent) => any;
2388
- onOpen?: (event: DateTimePickerOpenEvent) => any;
2389
- onChangemodel?: (value: Date) => any;
2390
- "onUpdate:modelValue"?: (value: Date) => any;
2391
- onIconclick?: (event: Event) => any;
2392
- }>, {
2393
- required: boolean;
2394
- title: string;
2395
- tabIndex: number;
2396
- calendar: any;
2397
- popup: any;
2398
- disabled: boolean;
2399
- weekNumber: boolean;
2400
- format: string | object;
2401
- max: Date;
2402
- min: Date;
2403
- defaultValue: Date;
2404
- show: boolean;
2405
- popupSettings: object;
2406
- modelValue: Date;
2407
- steps: TimePickerIncrementalSteps_3;
2408
- maxTime: Date;
2409
- minTime: Date;
2410
- validityStyles: boolean;
2411
- valid: boolean;
2412
- formatPlaceholder: DateInputFormatPlaceholder;
2413
- defaultShow: boolean;
2414
- dateInput: any;
2415
- cancelButton: boolean;
2416
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2417
-
2418
- /**
2419
- * The arguments for the `onBlur` event of the DateTimePicker.
2420
- */
2421
- export declare interface DateTimePickerBlurEvent {
2422
- /**
2423
- * The native browser blur event.
2424
- */
2425
- event: FocusEvent;
2426
- }
2427
-
2428
- /**
2429
- * The arguments for the `onChange` event of the DateTimePicker.
2430
- */
2431
- export declare interface DateTimePickerChangeEvent {
2432
- event: any;
2433
- value: Date | null;
2434
- show: boolean;
2435
- target: any;
2436
- }
2437
-
2438
- /**
2439
- * The arguments for the `close` event of the DateTimePicker.
2440
- */
2441
- export declare interface DateTimePickerCloseEvent {
2442
- component: any;
2443
- }
2444
-
2445
- /**
2446
- * @hidden
2447
- */
2448
- declare interface DateTimePickerComputed {
2449
- [key: string]: any;
2450
- computedValue: Date | null;
2451
- computedShow: boolean;
2452
- }
2453
-
2454
- /**
2455
- * The arguments for the `onFocus` event of the DateTimePicker.
2456
- */
2457
- export declare interface DateTimePickerFocusEvent {
2458
- /**
2459
- * The native browser focus event.
2460
- */
2461
- event: FocusEvent;
2462
- }
2463
-
2464
- /**
2465
- * The arguments for the `open` event of the DateTimePicker.
2466
- */
2467
- export declare interface DateTimePickerOpenEvent {
2468
- component: any;
2469
- }
2470
-
2471
- /**
2472
- * Represents the props of the [Kendo UI for Vue DateTimePicker component]({% slug overview_datetimepicker %}).
2473
- */
2474
- export declare interface DateTimePickerProps extends DateTimePickerSettings, FormComponentProps {
2475
- /**
2476
- * @hidden
2477
- */
2478
- modelValue?: Date;
2479
- /**
2480
- * Sets the default value of the DateTimePicker.
2481
- */
2482
- defaultValue?: Date;
2483
- /**
2484
- * Fires each time the user selects a new value
2485
- */
2486
- onChange?: (event: DateTimePickerChangeEvent) => void;
2487
- /**
2488
- * Specifies the value of the DateTimePicker
2489
- * ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-date-value)).
2490
- *
2491
- * > The `value` has to be a valid
2492
- * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
2493
- */
2494
- value?: Date | null;
2495
- }
2496
-
2497
- /**
2498
- * @hidden
2499
- */
2500
- export declare interface DateTimePickerSettings {
2501
- /**
2502
- * Enables the customization or the override of the default Calendar which is rendered by the DateTimePicker
2503
- * ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-calendar)).
2504
- */
2505
- calendar?: any;
2506
- /**
2507
- * Enables the customization or the override of the default Popup which is rendered by the DateTimePicker
2508
- * ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-popup)).
2509
- */
2510
- popup?: any;
2511
- /**
2512
- * Enables the customization or the override of the default DateInput which is rendered by the DateTimePicker
2513
- * ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-dateinput)).
2514
- */
2515
- dateInput?: any;
2516
- /**
2517
- * Sets if the calendar popup is opened upon initial render.
2518
- * For more information, refer to the article on
2519
- */
2520
- defaultShow?: boolean;
2521
- /**
2522
- * Determines whether the DateTimePicker is disabled
2523
- * ([see example]({% slug disabled_datetimepicker %})).
2524
- */
2525
- disabled?: boolean;
2526
- /**
2527
- * Specifies the initial focusedDate of the Calendar inside the DateTimePicker
2528
- * ([see example]({% slug dates_datetimepicker %})).
2529
- */
2530
- focusedDate?: Date;
2531
- /**
2532
- * Specifies the date format that is used to display the input value
2533
- * ([see example]({% slug formats_datetimepicker %})).
2534
- */
2535
- format?: string | DateFormatOptions;
2536
- /**
2537
- * Defines the descriptions of the format sections in the input field
2538
- * ([more information and examples]({% slug placeholders_datetimepicker %})).
2539
- */
2540
- formatPlaceholder?: DateInputFormatPlaceholder;
2541
- /**
2542
- * Specifies the `id` of the DateTimePicker.
2543
- */
2544
- id?: string;
2545
- /**
2546
- * 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).
2547
- * For example these elements could contain error or hint message.
2548
- */
2549
- ariaDescribedBy?: string;
2550
- /**
2551
- * Identifies the element(s) which will label the component.
2552
- */
2553
- ariaLabelledBy?: string;
2554
- /**
2555
- * Specifies the greatest valid date
2556
- * ([see example]({% slug dateranges_datetimepicker %})).
2557
- */
2558
- max?: Date;
2559
- /**
2560
- * Specifies the smallest valid date
2561
- * ([see example]({% slug dateranges_datetimepicker %})).
2562
- */
2563
- min?: Date;
2564
- minTime?: Date;
2565
- maxTime?: Date;
2566
- /**
2567
- * Configures the `size` of the DateTimePicker.
2568
- *
2569
- * The available options are:
2570
- * - small
2571
- * - medium
2572
- * - large
2573
- * - null&mdash;Does not set a size `class`.
2574
- *
2575
- * @default `medium`
2576
- */
2577
- size?: null | 'small' | 'medium' | 'large';
2578
- /**
2579
- * Configures the `roundness` of the DateTimePicker.
2580
- *
2581
- * The available options are:
2582
- * - small
2583
- * - medium
2584
- * - large
2585
- * - circle
2586
- * - full
2587
- * - null&mdash;Does not set a rounded `class`.
2588
- *
2589
- * @default `medium`
2590
- */
2591
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
2592
- /**
2593
- * Configures the `fillMode` of the DateTimePicker.
2594
- *
2595
- * The available options are:
2596
- * - solid
2597
- * - outline
2598
- * - flat
2599
- * - link
2600
- * - null&mdash;Does not set a fillMode `class`.
2601
- *
2602
- * @default `solid`
2603
- */
2604
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
2605
- /**
2606
- * Specifies the `name` property of the `input` DOM element.
2607
- */
2608
- name?: string;
2609
- /**
2610
- * Renders a floating label for the DateTimePicker.
2611
- */
2612
- label?: string;
2613
- /**
2614
- * Specifies the value of the placeholder.
2615
- */
2616
- placeholder?: string;
2617
- /**
2618
- * Configures the popup options of the DateTimePicker.
2619
- *
2620
- * The available options are:
2621
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
2622
- * - `appendTo:`&mdash; Defines the container to which the Popup will
2623
- * be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
2624
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
2625
- */
2626
- popupSettings?: object;
2627
- /**
2628
- * Fires each time any of the DateTimePicker elements gets blurred.
2629
- */
2630
- onBlur?: (event: any) => void;
2631
- /**
2632
- * Fires each time the user focuses any of the DateTimePicker elements.
2633
- */
2634
- onFocus?: (event: any) => void;
2635
- /**
2636
- * Fires when the icon element is clicked.
2637
- */
2638
- onIconclick?: (event: any) => void;
2639
- /**
2640
- * Specifies if the popup will be displayed
2641
- * ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-popup-state)).
2642
- */
2643
- show?: boolean;
2644
- /**
2645
- * Sets the `tabIndex` property of the DateTimePicker.
2646
- */
2647
- tabIndex?: number;
2648
- /**
2649
- * Sets the title of the `input` element of the DateTimePicker.
2650
- */
2651
- title?: string;
2652
- /**
2653
- * Configures the incremental steps of the DateTimePicker.
2654
- *
2655
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
2656
- */
2657
- steps?: TimePickerIncrementalSteps_2;
2658
- /**
2659
- * Determines whether to display a week number column of the Calendar inside the DateTimePicker
2660
- * ([see example]({% slug weeksnumbers_calendar %})).
2661
- */
2662
- weekNumber?: boolean;
2663
- /**
2664
- * Specifies the width of the DateTimePicker.
2665
- */
2666
- width?: number | string;
2667
- /**
2668
- * Determines whether to display the **Cancel** button in the popup.
2669
- */
2670
- cancelButton?: boolean;
2671
- /**
2672
- * Specifies the validate of the DateTimePicker.
2673
- */
2674
- validate?: boolean;
2675
- /**
2676
- * Controls the form error message of the component. If set to an empty string, no error will be thrown.
2677
- *
2678
- */
2679
- validationMessage?: string;
2680
- /**
2681
- * Sets the built-in HTML attributes of the inner focusable input element.
2682
- * Attributes which are essential for certain component functionalities cannot be changed.
2683
- */
2684
- inputAttributes?: Object;
2685
- }
2686
-
2687
- /**
2688
- * @hidden
2689
- */
2690
- declare interface DateTimeSelectorChangeEvent {
2691
- event?: any;
2692
- value: Date | null;
2693
- target: any;
2694
- cancelButton?: boolean;
2695
- }
2696
-
2697
- /**
2698
- * @hidden
2699
- */
2700
- declare interface NavigationEventArguments {
2701
- event?: any;
2702
- value: Date;
2703
- target: any;
2704
- }
2705
-
2706
- /**
2707
- * @hidden
2708
- */
2709
- export declare const PickerWrap: DefineComponent<ExtractPropTypes< {
2710
- id: StringConstructor;
2711
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2712
- id: StringConstructor;
2713
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2714
-
2715
- /**
2716
- * Represents the props of the Kendo UI for
2717
- * Vue [PickerWrap]({% slug api_dateinputs_pickerwrapprops %}) component.
2718
- */
2719
- export declare interface PickerWrapProps {
2720
- id?: string;
2721
- }
2722
-
2723
- /**
2724
- * @hidden
2725
- */
2726
- declare interface ReverseClickEvent {
2727
- event?: any;
2728
- }
2729
-
2730
- /**
2731
- * @hidden
2732
- */
2733
- declare type Selection_2 = {
2734
- start: number;
2735
- end: number;
2736
- };
2737
-
2738
- /**
2739
- * The type that defines the selection range of the Calendar.
2740
- */
2741
- export declare interface SelectionRange {
2742
- /**
2743
- * The beginning of the selection range.
2744
- */
2745
- start: Date | null;
2746
- /**
2747
- * The end of the selection range.
2748
- */
2749
- end: Date | null;
2750
- }
2751
-
2752
- /**
2753
- * The literal type that defines which end of the selection range is active.
2754
- */
2755
- declare type SelectionRangeEnd_2 = 'start' | 'end' | null;
2756
-
2757
- /**
2758
- * @hidden
2759
- */
2760
- export declare const TimePicker: DefineComponent<ExtractPropTypes< {
2761
- cancelButton: {
2762
- type: PropType<boolean>;
2763
- default: boolean;
2764
- };
2765
- nowButton: {
2766
- type: PropType<boolean>;
2767
- default: any;
2768
- };
2769
- defaultShow: {
2770
- type: PropType<boolean>;
2771
- default: boolean;
2772
- };
2773
- modelValue: {
2774
- type: PropType<Date>;
2775
- default: any;
2776
- };
2777
- defaultValue: {
2778
- type: PropType<Date>;
2779
- default: () => any;
2780
- };
2781
- dateInput: {
2782
- type: PropType<any>;
2783
- default: () => any;
2784
- };
2785
- popup: {
2786
- type: PropType<any>;
2787
- default: () => any;
2788
- };
2789
- disabled: {
2790
- type: PropType<boolean>;
2791
- default: boolean;
2792
- };
2793
- format: {
2794
- type: PropType<string | DateFormatOptions>;
2795
- default: () => string | object;
2796
- };
2797
- formatPlaceholder: {
2798
- type: PropType<DateInputFormatPlaceholder>;
2799
- default: () => DateInputFormatPlaceholder;
2800
- };
2801
- rounded: {
2802
- type: PropType<string>;
2803
- validator: (value: string) => boolean;
2804
- };
2805
- fillMode: {
2806
- type: PropType<string>;
2807
- validator: (value: string) => boolean;
2808
- };
2809
- size: {
2810
- type: PropType<"small" | "medium" | "large">;
2811
- validator: (value: string) => boolean;
2812
- };
2813
- id: PropType<string>;
2814
- ariaLabelledBy: PropType<string>;
2815
- ariaDescribedBy: PropType<string>;
2816
- min: {
2817
- type: PropType<Date>;
2818
- default: () => Date;
2819
- };
2820
- max: {
2821
- type: PropType<Date>;
2822
- default: () => Date;
2823
- };
2824
- name: PropType<string>;
2825
- label: PropType<string>;
2826
- placeholder: PropType<string>;
2827
- popupSettings: {
2828
- type: PropType<PopupProps>;
2829
- default: () => {};
2830
- };
2831
- show: {
2832
- type: PropType<boolean>;
2833
- default: any;
2834
- };
2835
- tabIndex: {
2836
- type: PropType<number>;
2837
- default: number;
2838
- };
2839
- steps: {
2840
- type: PropType<TimePickerIncrementalSteps>;
2841
- default: () => {};
2842
- };
2843
- smoothScroll: {
2844
- type: PropType<boolean>;
2845
- default: boolean;
2846
- };
2847
- title: {
2848
- type: PropType<string>;
2849
- default: () => "";
2850
- };
2851
- value: {
2852
- type: PropType<Date>;
2853
- default: () => any;
2854
- };
2855
- width: PropType<string | number>;
2856
- validationMessage: PropType<string>;
2857
- required: {
2858
- type: PropType<boolean>;
2859
- default: boolean;
2860
- };
2861
- validityStyles: {
2862
- type: PropType<boolean>;
2863
- default: boolean;
2864
- };
2865
- validate: PropType<boolean>;
2866
- valid: {
2867
- type: PropType<boolean>;
2868
- default: any;
2869
- };
2870
- inputAttributes: PropType<Object>;
2871
- }>, {
2872
- kendoAnchorRef: Ref<any, any>;
2873
- kendoLocalizationService: {};
2874
- }, {
2875
- currentValue: any;
2876
- currentShow: boolean;
2877
- valueDuringOnChange: any;
2878
- showDuringOnChange: any;
2879
- isFocused: boolean;
2880
- }, {
2881
- timeSelector(): any;
2882
- computedValue(): Date | null;
2883
- computedShow(): boolean;
2884
- }, {
2885
- validity(): FormComponentValidity;
2886
- getDateInputText(): any;
2887
- focus(): void;
2888
- normalizeTime(date: Date): Date;
2889
- setShow(show: boolean): void;
2890
- mergeTime(value: Date | null): Date | null;
2891
- handleInputValueChange(event: DateInputChangeEvent): void;
2892
- handleValueChange(event: DateInputChangeEvent | TimeSelectorChangeEvent): void;
2893
- handleFocus(event: FocusEvent): void;
2894
- handleBlur(event: FocusEvent): void;
2895
- timeBlur(event: FocusEvent): void;
2896
- timeFocus(): void;
2897
- createBlurTimeout(): void;
2898
- handleValueReject(_: any): void;
2899
- handleIconClick(event: any): void;
2900
- handleIconMouseDown(event: any): void;
2901
- handleKeyDown(event: any): void;
2902
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
2903
- changemodel: (value: Date | null) => true;
2904
- 'update:modelValue': (value: Date | null) => true;
2905
- iconclick: (event: Event) => true;
2906
- change: (event: TimePickerChangeEvent) => true;
2907
- focus: (event: TimePickerFocusEvent) => true;
2908
- blur: (event: TimePickerBlurEvent) => true;
2909
- keydown: (event: KeyboardEvent) => true;
2910
- open: (event: TimePickerOpenEvent) => true;
2911
- close: (event: TimePickerCloseEvent) => true;
2912
- }, string, PublicProps, Readonly<ExtractPropTypes< {
2913
- cancelButton: {
2914
- type: PropType<boolean>;
2915
- default: boolean;
2916
- };
2917
- nowButton: {
2918
- type: PropType<boolean>;
2919
- default: any;
2920
- };
2921
- defaultShow: {
2922
- type: PropType<boolean>;
2923
- default: boolean;
2924
- };
2925
- modelValue: {
2926
- type: PropType<Date>;
2927
- default: any;
2928
- };
2929
- defaultValue: {
2930
- type: PropType<Date>;
2931
- default: () => any;
2932
- };
2933
- dateInput: {
2934
- type: PropType<any>;
2935
- default: () => any;
2936
- };
2937
- popup: {
2938
- type: PropType<any>;
2939
- default: () => any;
2940
- };
2941
- disabled: {
2942
- type: PropType<boolean>;
2943
- default: boolean;
2944
- };
2945
- format: {
2946
- type: PropType<string | DateFormatOptions>;
2947
- default: () => string | object;
2948
- };
2949
- formatPlaceholder: {
2950
- type: PropType<DateInputFormatPlaceholder>;
2951
- default: () => DateInputFormatPlaceholder;
2952
- };
2953
- rounded: {
2954
- type: PropType<string>;
2955
- validator: (value: string) => boolean;
2956
- };
2957
- fillMode: {
2958
- type: PropType<string>;
2959
- validator: (value: string) => boolean;
2960
- };
2961
- size: {
2962
- type: PropType<"small" | "medium" | "large">;
2963
- validator: (value: string) => boolean;
2964
- };
2965
- id: PropType<string>;
2966
- ariaLabelledBy: PropType<string>;
2967
- ariaDescribedBy: PropType<string>;
2968
- min: {
2969
- type: PropType<Date>;
2970
- default: () => Date;
2971
- };
2972
- max: {
2973
- type: PropType<Date>;
2974
- default: () => Date;
2975
- };
2976
- name: PropType<string>;
2977
- label: PropType<string>;
2978
- placeholder: PropType<string>;
2979
- popupSettings: {
2980
- type: PropType<PopupProps>;
2981
- default: () => {};
2982
- };
2983
- show: {
2984
- type: PropType<boolean>;
2985
- default: any;
2986
- };
2987
- tabIndex: {
2988
- type: PropType<number>;
2989
- default: number;
2990
- };
2991
- steps: {
2992
- type: PropType<TimePickerIncrementalSteps>;
2993
- default: () => {};
2994
- };
2995
- smoothScroll: {
2996
- type: PropType<boolean>;
2997
- default: boolean;
2998
- };
2999
- title: {
3000
- type: PropType<string>;
3001
- default: () => "";
3002
- };
3003
- value: {
3004
- type: PropType<Date>;
3005
- default: () => any;
3006
- };
3007
- width: PropType<string | number>;
3008
- validationMessage: PropType<string>;
3009
- required: {
3010
- type: PropType<boolean>;
3011
- default: boolean;
3012
- };
3013
- validityStyles: {
3014
- type: PropType<boolean>;
3015
- default: boolean;
3016
- };
3017
- validate: PropType<boolean>;
3018
- valid: {
3019
- type: PropType<boolean>;
3020
- default: any;
3021
- };
3022
- inputAttributes: PropType<Object>;
3023
- }>> & Readonly<{
3024
- onBlur?: (event: TimePickerBlurEvent) => any;
3025
- onChange?: (event: TimePickerChangeEvent) => any;
3026
- onClose?: (event: TimePickerCloseEvent) => any;
3027
- onFocus?: (event: TimePickerFocusEvent) => any;
3028
- onKeydown?: (event: KeyboardEvent) => any;
3029
- onOpen?: (event: TimePickerOpenEvent) => any;
3030
- onChangemodel?: (value: Date) => any;
3031
- "onUpdate:modelValue"?: (value: Date) => any;
3032
- onIconclick?: (event: Event) => any;
3033
- }>, {
3034
- required: boolean;
3035
- value: Date;
3036
- title: string;
3037
- tabIndex: number;
3038
- popup: any;
3039
- disabled: boolean;
3040
- format: string | object;
3041
- max: Date;
3042
- min: Date;
3043
- defaultValue: Date;
3044
- show: boolean;
3045
- popupSettings: PopupProps;
3046
- modelValue: Date;
3047
- steps: TimePickerIncrementalSteps;
3048
- validityStyles: boolean;
3049
- valid: boolean;
3050
- formatPlaceholder: DateInputFormatPlaceholder;
3051
- defaultShow: boolean;
3052
- dateInput: any;
3053
- smoothScroll: boolean;
3054
- cancelButton: boolean;
3055
- nowButton: boolean;
3056
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3057
-
3058
- /**
3059
- * The arguments for the `onBlur` event of the TimePicker.
3060
- */
3061
- export declare interface TimePickerBlurEvent {
3062
- /**
3063
- * The native browser blur event.
3064
- */
3065
- event: FocusEvent;
3066
- }
3067
-
3068
- /**
3069
- * The arguments for the `onChange` event of the TimePicker.
3070
- */
3071
- export declare interface TimePickerChangeEvent {
3072
- event?: any;
3073
- value: Date | null;
3074
- show: boolean;
3075
- target: any;
3076
- }
3077
-
3078
- /**
3079
- * The arguments for the `close` event of the TimePicker.
3080
- */
3081
- export declare interface TimePickerCloseEvent {
3082
- component: any;
3083
- }
3084
-
3085
- /**
3086
- * The arguments for the `onFocus` event of the TimePicker.
3087
- */
3088
- export declare interface TimePickerFocusEvent {
3089
- /**
3090
- * The native browser focus event.
3091
- */
3092
- event: FocusEvent;
3093
- }
3094
-
3095
- /**
3096
- * The interface which defines all possible incremental steps in the TimePicker.
3097
- */
3098
- declare interface TimePickerIncrementalSteps_2 {
3099
- hour?: number;
3100
- minute?: number;
3101
- second?: number;
3102
- }
3103
-
3104
- /**
3105
- * The arguments for the `open` event of the TimePicker.
3106
- */
3107
- export declare interface TimePickerOpenEvent {
3108
- component: any;
3109
- }
3110
-
3111
- /**
3112
- * Represents the props of the [Kendo UI for Vue TimePicker component]({% slug overview_timepicker %}).
3113
- */
3114
- export declare interface TimePickerProps extends TimePickerSettings, FormComponentProps {
3115
- /**
3116
- * @hidden
3117
- */
3118
- modelValue?: Date;
3119
- /**
3120
- * Sets the default value of the TimePicker ([see example]({% slug default_value_timepicker %}#toc-setting-the-default-value)).
3121
- */
3122
- defaultValue?: Date;
3123
- /**
3124
- * Fires each time the user selects a new value ([see example]({% slug controlled_timepicker %}#toc-controlling-the-date-value)).
3125
- */
3126
- onChange?: (event: TimePickerChangeEvent) => void;
3127
- /**
3128
- * Specifies the value of the TimePicker ([see example]({% slug controlled_timepicker %}#toc-controlling-the-date-value)).
3129
- *
3130
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
3131
- */
3132
- value?: Date | null;
3133
- }
3134
-
3135
- /**
3136
- * @hidden
3137
- */
3138
- export declare interface TimePickerSettings {
3139
- /**
3140
- * 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).
3141
- * For example these elements could contain error or hint message.
3142
- */
3143
- ariaDescribedBy?: string;
3144
- /**
3145
- * Identifies the element(s) which will label the component.
3146
- */
3147
- ariaLabelledBy?: string;
3148
- /**
3149
- * Determines whether to display the **Cancel** button in the popup.
3150
- */
3151
- cancelButton?: boolean;
3152
- /**
3153
- * Determines whether to display the **Now** button in the popup.
3154
- *
3155
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
3156
- */
3157
- nowButton?: boolean;
3158
- /**
3159
- * Sets the default state of the popup upon render ([see example]({% slug default_value_timepicker %}#toc-setting-the-default-popup-state)).
3160
- */
3161
- defaultShow?: boolean;
3162
- /**
3163
- * Determines whether the TimePicker is disabled ([see example]({% slug disabled_timepicker %})).
3164
- */
3165
- disabled?: boolean;
3166
- /**
3167
- * Specifies the date format that is used to display the input value ([see example]({% slug formats_timepicker %})).
3168
- */
3169
- format?: string | DateFormatOptions;
3170
- /**
3171
- * Defines the descriptions of the format sections in the input field ([see example]({% slug placeholders_timepicker %})).
3172
- */
3173
- formatPlaceholder?: DateInputFormatPlaceholder;
3174
- /**
3175
- * Specifies the `id` of the TimePicker.
3176
- */
3177
- id?: string;
3178
- /**
3179
- * Specifies the greatest valid time ([see example]({% slug timeranges_timepicker %})).
3180
- */
3181
- max?: Date;
3182
- /**
3183
- * Specifies the smallest valid time ([see example]({% slug timeranges_timepicker %})).
3184
- */
3185
- min?: Date;
3186
- /**
3187
- * Specifies the `name` property of the `input` DOM element.
3188
- */
3189
- name?: string;
3190
- /**
3191
- * Renders a floating label for the TimePicker.
3192
- */
3193
- label?: string;
3194
- /**
3195
- * Specifies the value of the placeholder.
3196
- */
3197
- placeholder?: string;
3198
- /**
3199
- * Configures the `size` of the TimeInput.
3200
- *
3201
- * The available options are:
3202
- * - small
3203
- * - medium
3204
- * - large
3205
- * - null&mdash;Does not set a size `class`.
3206
- *
3207
- * @default `medium`
3208
- */
3209
- size?: null | 'small' | 'medium' | 'large';
3210
- /**
3211
- * Configures the `roundness` of the TimeInput.
3212
- *
3213
- * The available options are:
3214
- * - small
3215
- * - medium
3216
- * - large
3217
- * - circle
3218
- * - full
3219
- * - null&mdash;Does not set a rounded `class`.
3220
- *
3221
- * @default `medium`
3222
- */
3223
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
3224
- /**
3225
- * Configures the `fillMode` of the TimeInput.
3226
- *
3227
- * The available options are:
3228
- * - solid
3229
- * - outline
3230
- * - flat
3231
- * - link
3232
- * - null&mdash;Does not set a fillMode `class`.
3233
- *
3234
- * @default `solid`
3235
- */
3236
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
3237
- /**
3238
- * Fires each time any of the TimePicker elements gets blurred.
3239
- */
3240
- onBlur?: (event: any) => void;
3241
- /**
3242
- * Fires each time the user focuses any of the TimePicker elements.
3243
- */
3244
- onFocus?: (event: any) => void;
3245
- /**
3246
- * Fires when the icon element is clicked.
3247
- */
3248
- onIconclick?: (event: any) => void;
3249
- /**
3250
- * Configures the popup options of the TimePicker.
3251
- *
3252
- * The available options are:
3253
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
3254
- * - `appendTo:`&mdash; Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
3255
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
3256
- */
3257
- popupSettings?: DateInputsPopupSettings_2;
3258
- /**
3259
- * Specifies if a time selector will be displayed ([see example]({% slug controlled_timepicker %}#toc-controlling-the-popup-state)).
3260
- */
3261
- show?: boolean;
3262
- /**
3263
- * Configures the incremental steps of the TimePicker ([see example]({% slug incrementalsteps_timepicker %})).
3264
- *
3265
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
3266
- */
3267
- steps?: TimePickerIncrementalSteps_2;
3268
- /**
3269
- * Toggles the smooth scroll animation on time click. By default, the animation is enabled.
3270
- */
3271
- smoothScroll?: boolean;
3272
- /**
3273
- * Sets the `tabIndex` property of the TimePicker.
3274
- */
3275
- tabIndex?: number;
3276
- /**
3277
- * Sets the title of the `input` element of the TimePicker.
3278
- */
3279
- title?: string;
3280
- /**
3281
- * Specifies the width of the TimePicker.
3282
- */
3283
- width?: number | string;
3284
- /**
3285
- * Enables the customization or the override of the default Popup which is rendered by the TimePicker
3286
- * ([see example]({% slug custom_rendering_timepicker %}#toc-customizing-the-popup)).
3287
- */
3288
- popup?: any;
3289
- /**
3290
- * Enables the customization or the override of the default DateInput which is rendered by the TimePicker
3291
- * ([see example]({% slug custom_rendering_timepicker %}#toc-customizing-the-dateinput)).
3292
- */
3293
- dateInput?: any;
3294
- /**
3295
- * Specifies the validate of the TimePicker.
3296
- */
3297
- validate?: boolean;
3298
- /**
3299
- * Sets the built-in HTML attributes of the inner focusable input element.
3300
- * Attributes which are essential for certain component functionalities cannot be changed.
3301
- */
3302
- inputAttributes?: Object;
3303
- }
3304
-
3305
- /**
3306
- * @hidden
3307
- */
3308
- declare interface TimeSelectorChangeEvent {
3309
- event?: any;
3310
- value: Date;
3311
- target: any;
3312
- }
3313
-
3314
- /**
3315
- * @hidden
3316
- */
3317
- export declare const ToggleButton: DefineComponent<ExtractPropTypes< {
3318
- ariaLabel: PropType<string>;
3319
- ariaPressed: PropType<boolean>;
3320
- title: PropType<string>;
3321
- dir: PropType<string>;
3322
- selected: {
3323
- type: PropType<boolean>;
3324
- default: any;
3325
- };
3326
- togglable: {
3327
- type: PropType<boolean>;
3328
- default: boolean;
3329
- };
3330
- icon: {
3331
- type: PropType<string>;
3332
- default: () => any;
3333
- };
3334
- svgIcon: PropType<SVGIcon>;
3335
- iconSize: {
3336
- type: PropType<string>;
3337
- };
3338
- iconClass: {
3339
- type: PropType<string>;
3340
- default: () => any;
3341
- };
3342
- imageUrl: {
3343
- type: PropType<string>;
3344
- default: () => any;
3345
- };
3346
- imageAlt: PropType<string>;
3347
- disabled: {
3348
- type: PropType<boolean>;
3349
- default: any;
3350
- };
3351
- size: PropType<"small" | "medium" | "large">;
3352
- rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
3353
- fillMode: PropType<"flat" | "link" | "solid" | "outline">;
3354
- themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
3355
- tabIndex: PropType<number>;
3356
- accessKey: PropType<string>;
3357
- id: PropType<string>;
3358
- type: PropType<string>;
3359
- role: PropType<string>;
3360
- }>, {}, {
3361
- currentActive: any;
3362
- }, {
3363
- computedSelected(): boolean;
3364
- buttonClasses(): {
3365
- [x: string]: any;
3366
- 'k-icon-button': boolean;
3367
- 'k-disabled': any;
3368
- 'k-selected': any;
3369
- 'k-rtl': boolean;
3370
- };
3371
- }, {
3372
- focus(e: any): void;
3373
- toggleIfApplicable(): void;
3374
- handleClick(event: any): void;
3375
- handleMouseDown(event: any): void;
3376
- handlePointerDown(event: any): void;
3377
- handleMouseUp(event: any): void;
3378
- handlePointerUp(event: any): void;
3379
- handleFocus(event: FocusEvent): void;
3380
- handleBlur(event: FocusEvent): void;
3381
- handleKeypress(event: any): void;
3382
- handleKeydown(event: any): void;
3383
- handleContextmenu(event: any): void;
3384
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
3385
- click: (event: Event) => true;
3386
- mousedown: (event: MouseEvent) => true;
3387
- mouseup: (event: MouseEvent) => true;
3388
- pointerdown: (event: PointerEvent) => true;
3389
- pointerup: (event: PointerEvent) => true;
3390
- focus: (event: ButtonFocusEvent) => true;
3391
- blur: (event: ButtonBlurEvent) => true;
3392
- keypress: (event: KeyboardEvent) => true;
3393
- keydown: (event: KeyboardEvent) => true;
3394
- contextmenu: (event: MouseEvent) => true;
3395
- }, string, PublicProps, Readonly<ExtractPropTypes< {
3396
- ariaLabel: PropType<string>;
3397
- ariaPressed: PropType<boolean>;
3398
- title: PropType<string>;
3399
- dir: PropType<string>;
3400
- selected: {
3401
- type: PropType<boolean>;
3402
- default: any;
3403
- };
3404
- togglable: {
3405
- type: PropType<boolean>;
3406
- default: boolean;
3407
- };
3408
- icon: {
3409
- type: PropType<string>;
3410
- default: () => any;
3411
- };
3412
- svgIcon: PropType<SVGIcon>;
3413
- iconSize: {
3414
- type: PropType<string>;
3415
- };
3416
- iconClass: {
3417
- type: PropType<string>;
3418
- default: () => any;
3419
- };
3420
- imageUrl: {
3421
- type: PropType<string>;
3422
- default: () => any;
3423
- };
3424
- imageAlt: PropType<string>;
3425
- disabled: {
3426
- type: PropType<boolean>;
3427
- default: any;
3428
- };
3429
- size: PropType<"small" | "medium" | "large">;
3430
- rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
3431
- fillMode: PropType<"flat" | "link" | "solid" | "outline">;
3432
- themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
3433
- tabIndex: PropType<number>;
3434
- accessKey: PropType<string>;
3435
- id: PropType<string>;
3436
- type: PropType<string>;
3437
- role: PropType<string>;
3438
- }>> & Readonly<{
3439
- onClick?: (event: Event) => any;
3440
- onBlur?: (event: ButtonBlurEvent) => any;
3441
- onContextmenu?: (event: MouseEvent) => any;
3442
- onFocus?: (event: ButtonFocusEvent) => any;
3443
- onKeydown?: (event: KeyboardEvent) => any;
3444
- onKeypress?: (event: KeyboardEvent) => any;
3445
- onMousedown?: (event: MouseEvent) => any;
3446
- onMouseup?: (event: MouseEvent) => any;
3447
- onPointerdown?: (event: PointerEvent) => any;
3448
- onPointerup?: (event: PointerEvent) => any;
3449
- }>, {
3450
- icon: string;
3451
- selected: boolean;
3452
- disabled: boolean;
3453
- togglable: boolean;
3454
- iconClass: string;
3455
- imageUrl: string;
3456
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3457
-
3458
- /**
3459
- * @hidden
3460
- */
3461
- declare interface ViewListEventArguments {
3462
- event?: any;
3463
- value: Date;
3464
- target: any;
3465
- isTodayClick?: boolean;
3466
- }
3467
-
3468
- /**
3469
- * @hidden
3470
- */
3471
- declare interface ViewWeekCellEventArguments {
3472
- event?: any;
3473
- value: number | null;
3474
- }
3475
-
3476
- /**
3477
- * @hidden
3478
- */
3479
- declare interface ViewWeekNameEventArguments {
3480
- event?: any;
3481
- value: string | null;
3482
- }
3483
-
3484
- export { }
8
+ import { Calendar } from './calendar/components/Calendar';
9
+ import { DateInput } from './dateinput/DateInput';
10
+ import { DatePicker } from './datepicker/DatePicker';
11
+ import { CalendarProps } from './calendar/components/interfaces/CalendarProps';
12
+ import { CalendarChangeEvent, CalendarWeekCellClickEvent } from './calendar/components/interfaces/CalendarEventArguments';
13
+ import { DateInputProps } from './dateinput/interfaces/DateInputProps';
14
+ import { DateInputChangeEvent } from './dateinput/interfaces/DateInputEventArguments';
15
+ import { DateInputFocusEvent } from './dateinput/interfaces/DateInputFocusEvent';
16
+ import { DateInputBlurEvent } from './dateinput/interfaces/DateInputBlurEvent';
17
+ import { DatePickerProps } from './datepicker/interfaces/DatePickerProps';
18
+ import { DatePickerChangeEvent, DatePickerOpenEvent, DatePickerCloseEvent } from './datepicker/interfaces/DatePickerEventArguments';
19
+ import { DatePickerFocusEvent, DatePickerBlurEvent } from './datepicker/interfaces/DatePickerFocusBlurEvents';
20
+ import { TimePicker, TimePickerProps, TimePickerChangeEvent, TimePickerOpenEvent, TimePickerCloseEvent } from './timepicker/TimePicker';
21
+ import { TimePickerFocusEvent, TimePickerBlurEvent } from './timepicker/interfaces/TimePickerFocusBlurEvents';
22
+ import { DateRangePicker, DateRangePickerProps, DateRangePickerChangeEvent, DateRangePickerOpenEvent, DateRangePickerCloseEvent } from './daterangepicker/DateRangePicker';
23
+ import { DateRangePickerFocusEvent, DateRangePickerBlurEvent } from './daterangepicker/interfaces/DateRangePickerFocusBlurEvents';
24
+ import { CalendarCell, CalendarCellProps } from './calendar/components/CalendarCell';
25
+ import { CalendarWeekCell, CalendarWeekCellProps } from './calendar/components/CalendarWeekCell';
26
+ import { CalendarHeaderTitle, CalendarHeaderTitleProps } from './calendar/components/CalendarHeaderTitle';
27
+ import { ActiveView, SelectionRange, CalendarSettings, CalendarViewEnum } from './calendar/models/main';
28
+ import { DateInputSettings, DateInputIncrementalSteps, DateInputFormatPlaceholder, DateInputCustomFormatPlaceholder } from './dateinput/models/main';
29
+ import { DateTimePicker, DateTimePickerProps, DateTimePickerChangeEvent, DateTimePickerOpenEvent, DateTimePickerCloseEvent } from './datetimepicker/DateTimePicker';
30
+ import { DateTimePickerFocusEvent, DateTimePickerBlurEvent } from './datetimepicker/interfaces/DateTimePickerFocusBlurEvents';
31
+ import { DatePickerSettings } from './datepicker/models/main';
32
+ import { DateTimePickerSettings } from './datetimepicker/models/main';
33
+ import { TimePickerSettings } from './timepicker/models/main';
34
+ import { DateRangePickerSettings, DateRangePickerPopupSettings, DateRangePickerCalendarSettings, DateRangePickerDateInputSettings } from './daterangepicker/models/main';
35
+ import { ToggleButton } from './datepicker/ToggleButton';
36
+ import { PickerWrap, PickerWrapProps } from './common/PickerWrap';
37
+ export { PickerWrap, type PickerWrapProps, ToggleButton, type ActiveView, Calendar, type CalendarProps, type CalendarSettings, CalendarViewEnum, type CalendarChangeEvent, type CalendarWeekCellClickEvent, CalendarCell, type CalendarCellProps, CalendarWeekCell, type CalendarWeekCellProps, CalendarHeaderTitle, type CalendarHeaderTitleProps, DateInput, type DateInputProps, type DateInputSettings, type DateInputChangeEvent, type DateInputFocusEvent, type DateInputBlurEvent, type DateInputIncrementalSteps, type DateInputFormatPlaceholder, type DateInputCustomFormatPlaceholder, DatePicker, type DatePickerProps, type DatePickerSettings, type DatePickerChangeEvent, type DatePickerFocusEvent, type DatePickerBlurEvent, type DatePickerOpenEvent, type DatePickerCloseEvent, TimePicker, type TimePickerProps, type TimePickerSettings, type TimePickerChangeEvent, type TimePickerFocusEvent, type TimePickerBlurEvent, type TimePickerOpenEvent, type TimePickerCloseEvent, DateRangePicker, type DateRangePickerProps, type DateRangePickerSettings, type DateRangePickerCalendarSettings, type DateRangePickerDateInputSettings, type DateRangePickerPopupSettings, type DateRangePickerChangeEvent, type DateRangePickerFocusEvent, type DateRangePickerBlurEvent, type DateRangePickerOpenEvent, type DateRangePickerCloseEvent, DateTimePicker, type DateTimePickerProps, type DateTimePickerSettings, type DateTimePickerChangeEvent, type DateTimePickerFocusEvent, type DateTimePickerBlurEvent, type DateTimePickerOpenEvent, type DateTimePickerCloseEvent, type SelectionRange };