@progress/kendo-vue-dateinputs 2.5.1-dev.202109301242 → 2.5.2-dev.202110121006

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 (52) hide show
  1. package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
  2. package/dist/es/calendar/components/CalendarCell.d.ts +1 -0
  3. package/dist/es/calendar/components/CalendarHeaderTitle.d.ts +1 -0
  4. package/dist/es/calendar/components/Header.d.ts +2 -0
  5. package/dist/es/calendar/components/View.d.ts +2 -0
  6. package/dist/es/calendar/components/ViewList.d.ts +2 -0
  7. package/dist/es/calendar/components/interfaces/CalendarComputed.d.ts +1 -0
  8. package/dist/es/calendar/components/interfaces/CalendarMethods.d.ts +1 -0
  9. package/dist/es/dateinput/interfaces/DateInputComputed.d.ts +1 -0
  10. package/dist/es/dateinput/interfaces/DateInputMethods.d.ts +1 -0
  11. package/dist/es/datepicker/DatePicker.js +2 -1
  12. package/dist/es/datepicker/interfaces/DatePickerComputed.d.ts +1 -0
  13. package/dist/es/datepicker/interfaces/DatePickerMethods.d.ts +1 -0
  14. package/dist/es/datepicker/interfaces/DatePickerProps.d.ts +4 -0
  15. package/dist/es/datetimepicker/DateTimePicker.d.ts +2 -0
  16. package/dist/es/datetimepicker/DateTimePicker.js +11 -2
  17. package/dist/es/datetimepicker/DateTimeSelector.d.ts +2 -0
  18. package/dist/es/datetimepicker/models/DateTimePickerSettings.d.ts +4 -0
  19. package/dist/es/package-metadata.js +1 -1
  20. package/dist/es/timepicker/TimeList.d.ts +2 -0
  21. package/dist/es/timepicker/TimePart.d.ts +2 -0
  22. package/dist/es/timepicker/TimePicker.d.ts +2 -0
  23. package/dist/es/timepicker/TimePicker.js +3 -2
  24. package/dist/es/timepicker/TimeSelector.d.ts +2 -0
  25. package/dist/es/timepicker/models/TimePickerSettings.d.ts +6 -2
  26. package/dist/es/virtualization/Virtualization.d.ts +2 -0
  27. package/dist/npm/calendar/components/CalendarCell.d.ts +1 -0
  28. package/dist/npm/calendar/components/CalendarHeaderTitle.d.ts +1 -0
  29. package/dist/npm/calendar/components/Header.d.ts +2 -0
  30. package/dist/npm/calendar/components/View.d.ts +2 -0
  31. package/dist/npm/calendar/components/ViewList.d.ts +2 -0
  32. package/dist/npm/calendar/components/interfaces/CalendarComputed.d.ts +1 -0
  33. package/dist/npm/calendar/components/interfaces/CalendarMethods.d.ts +1 -0
  34. package/dist/npm/dateinput/interfaces/DateInputComputed.d.ts +1 -0
  35. package/dist/npm/dateinput/interfaces/DateInputMethods.d.ts +1 -0
  36. package/dist/npm/datepicker/DatePicker.js +2 -1
  37. package/dist/npm/datepicker/interfaces/DatePickerComputed.d.ts +1 -0
  38. package/dist/npm/datepicker/interfaces/DatePickerMethods.d.ts +1 -0
  39. package/dist/npm/datepicker/interfaces/DatePickerProps.d.ts +4 -0
  40. package/dist/npm/datetimepicker/DateTimePicker.d.ts +2 -0
  41. package/dist/npm/datetimepicker/DateTimePicker.js +11 -2
  42. package/dist/npm/datetimepicker/DateTimeSelector.d.ts +2 -0
  43. package/dist/npm/datetimepicker/models/DateTimePickerSettings.d.ts +4 -0
  44. package/dist/npm/package-metadata.js +1 -1
  45. package/dist/npm/timepicker/TimeList.d.ts +2 -0
  46. package/dist/npm/timepicker/TimePart.d.ts +2 -0
  47. package/dist/npm/timepicker/TimePicker.d.ts +2 -0
  48. package/dist/npm/timepicker/TimePicker.js +3 -2
  49. package/dist/npm/timepicker/TimeSelector.d.ts +2 -0
  50. package/dist/npm/timepicker/models/TimePickerSettings.d.ts +6 -2
  51. package/dist/npm/virtualization/Virtualization.d.ts +2 -0
  52. package/package.json +7 -7
@@ -15,6 +15,7 @@ export interface CalendarCellProps extends CellContext {
15
15
  * @hidden
16
16
  */
17
17
  export interface CalendarCellMethods {
18
+ [key: string]: any;
18
19
  handleClick?: (e: any) => void;
19
20
  handleMouseDown?: (e: any) => void;
20
21
  handleMouseEnter?: () => void;
@@ -15,6 +15,7 @@ export interface CalendarHeaderTitleProps {
15
15
  * @hidden
16
16
  */
17
17
  export interface CalendarHeaderTitleMethods {
18
+ [key: string]: any;
18
19
  handleClick: (e: any) => void;
19
20
  }
20
21
  /**
@@ -33,6 +33,7 @@ export interface HeaderProps {
33
33
  * @hidden
34
34
  */
35
35
  export interface HeaderMethods {
36
+ [key: string]: any;
36
37
  getTitle: () => string;
37
38
  handleTitleClick: (event: any) => void;
38
39
  handleTodayClick: (event: any) => void;
@@ -47,6 +48,7 @@ export interface HeaderMethods {
47
48
  * @hidden
48
49
  */
49
50
  export interface HeaderComputed {
51
+ [key: string]: any;
50
52
  navigate?: () => void;
51
53
  todayIsInRange?: () => boolean;
52
54
  }
@@ -61,6 +61,7 @@ export interface ViewProps {
61
61
  * @hidden
62
62
  */
63
63
  export interface ViewComputed {
64
+ [key: string]: any;
64
65
  isMonthView?: boolean;
65
66
  weekNumber?: boolean;
66
67
  isHorizontal?: boolean;
@@ -69,6 +70,7 @@ export interface ViewComputed {
69
70
  * @hidden
70
71
  */
71
72
  export interface ViewMethods {
73
+ [key: string]: any;
72
74
  buildWeekNumber: (row: any, idx: number) => void;
73
75
  buildRow: (row: any) => void;
74
76
  firstDate: (row: any) => any;
@@ -69,6 +69,7 @@ export interface ViewListState {
69
69
  * @hidden
70
70
  */
71
71
  export interface ViewListComputed {
72
+ [key: string]: any;
72
73
  weekNames?: string[];
73
74
  weekNumber?: boolean;
74
75
  animate?: boolean;
@@ -77,6 +78,7 @@ export interface ViewListComputed {
77
78
  * @hidden
78
79
  */
79
80
  export interface ViewListMethods {
81
+ [key: string]: any;
80
82
  blurActiveDate: () => void;
81
83
  focusActiveDate: (event: any) => void;
82
84
  handleCellEnter: (event: any) => void;
@@ -3,6 +3,7 @@ import { SelectionRangeEnd } from '../../models';
3
3
  * @hidden
4
4
  */
5
5
  export interface CalendarComputed {
6
+ [key: string]: any;
6
7
  activeRange?: SelectionRangeEnd;
7
8
  currentMin: Date;
8
9
  currentMax: Date;
@@ -4,6 +4,7 @@ import { ViewListEventArguments } from '../ViewList';
4
4
  * @hidden
5
5
  */
6
6
  export interface CalendarMethods {
7
+ [key: string]: any;
7
8
  computedValue: () => Date | Date[] | SelectionRange | null;
8
9
  focus: (event?: any) => void;
9
10
  handleTodayClick: (e: any) => void;
@@ -2,6 +2,7 @@
2
2
  * @hidden
3
3
  */
4
4
  export interface DateInputComputed {
5
+ [key: string]: any;
5
6
  computedValue: any;
6
7
  wrapperClassNames: object;
7
8
  }
@@ -5,6 +5,7 @@ import { Selection } from '../models';
5
5
  * @hidden
6
6
  */
7
7
  export interface DateInputMethods {
8
+ [key: string]: any;
8
9
  handleFocus?: (_: any) => void;
9
10
  handleBlur?: (_: any) => void;
10
11
  element: () => HTMLInputElement | null;
@@ -33,6 +33,7 @@ var DatePicker = {
33
33
  'change': null,
34
34
  'changemodel': null,
35
35
  'update:modelValue': null,
36
+ 'iconclick': null,
36
37
  'focus': null,
37
38
  'blur': null
38
39
  },
@@ -233,7 +234,6 @@ var DatePicker = {
233
234
  get: function get() {
234
235
  var disabled = this.$props.disabled;
235
236
  return {
236
- 'k-state-default': !disabled,
237
237
  'k-state-disabled': disabled,
238
238
  'k-state-focused': this.$data.isFocused
239
239
  };
@@ -354,6 +354,7 @@ var DatePicker = {
354
354
 
355
355
  this.$data.shouldFocusDateInput = true;
356
356
  this.setShow(!this.computedShow);
357
+ this.$emit('iconclick', event);
357
358
  },
358
359
  handleIconMouseDown: function handleIconMouseDown(event) {
359
360
  event.stopPropagation();
@@ -2,6 +2,7 @@
2
2
  * @hidden
3
3
  */
4
4
  export interface DatePickerComputed {
5
+ [key: string]: any;
5
6
  computedValue: Date | null;
6
7
  computedShow: boolean;
7
8
  wrapperClassNames: object;
@@ -5,6 +5,7 @@ import { DatePickerState } from './DatePickerState';
5
5
  * @hidden
6
6
  */
7
7
  export interface DatePickerMethods {
8
+ [key: string]: any;
8
9
  emitBlur?: (_: any) => void;
9
10
  validity: () => FormComponentValidity;
10
11
  nextValue: (nextProps: DatePickerProps, nextState: DatePickerState) => any;
@@ -17,6 +17,10 @@ export interface DatePickerProps extends DatePickerSettings, FormComponentProps
17
17
  * Fires each time the user selects a new value ([see example]({% slug controlled_datepicker_native %}#toc-controlling-the-date-value)).
18
18
  */
19
19
  change?: (event: DatePickerChangeEvent) => void;
20
+ /**
21
+ * Fires when the icon element is clicked.
22
+ */
23
+ iconclick?: (event: any) => void;
20
24
  /**
21
25
  * Renders a floating label for the DatePicker.
22
26
  */
@@ -72,6 +72,7 @@ export interface DateTimePickerState {
72
72
  * @hidden
73
73
  */
74
74
  export interface DateTimePickerComputed {
75
+ [key: string]: any;
75
76
  computedValue: Date | null;
76
77
  computedShow: boolean;
77
78
  }
@@ -79,6 +80,7 @@ export interface DateTimePickerComputed {
79
80
  * @hidden
80
81
  */
81
82
  export interface DateTimePickerMethods {
83
+ [key: string]: any;
82
84
  validity: () => FormComponentValidity;
83
85
  focus: () => void;
84
86
  setShow: (show: boolean) => void;
@@ -20,6 +20,15 @@ import { defaultFormatPlaceholder } from '../dateinput/utils'; // tslint:enable:
20
20
 
21
21
  var DateTimePicker = {
22
22
  name: 'KendoDateTimePicker',
23
+ // @ts-ignore
24
+ emits: {
25
+ 'changemodel': null,
26
+ 'update:modelValue': null,
27
+ 'iconclick': null,
28
+ 'change': null,
29
+ 'focus': null,
30
+ 'blur': null
31
+ },
23
32
  props: {
24
33
  modelValue: {
25
34
  type: Date,
@@ -281,7 +290,6 @@ var DateTimePicker = {
281
290
  'k-state-invalid': !isValid
282
291
  });
283
292
  var wrapperClassNames = classNames('k-picker-wrap', {
284
- 'k-state-default': !disabled,
285
293
  'k-state-disabled': disabled,
286
294
  'k-state-focused': this.isFocused
287
295
  });
@@ -573,13 +581,14 @@ var DateTimePicker = {
573
581
  }
574
582
  }, 200);
575
583
  },
576
- handleDateIconClick: function handleDateIconClick() {
584
+ handleDateIconClick: function handleDateIconClick(event) {
577
585
  if (this.$props.disabled) {
578
586
  return;
579
587
  }
580
588
 
581
589
  this.shouldFocusDateInput = true;
582
590
  this.setShow(!this.computedShow);
591
+ this.$emit('iconclick', event);
583
592
  },
584
593
  handleIconMouseDown: function handleIconMouseDown(event) {
585
594
  event.preventDefault();
@@ -63,6 +63,7 @@ export interface DateTimeSelectorState {
63
63
  * @hidden
64
64
  */
65
65
  export interface DateTimeSelectorComputed {
66
+ [key: string]: any;
66
67
  hasDateValue: boolean;
67
68
  computedMinTime: Date | null;
68
69
  computedMaxTime: Date | null;
@@ -71,6 +72,7 @@ export interface DateTimeSelectorComputed {
71
72
  * @hidden
72
73
  */
73
74
  export interface DateTimeSelectorMethods {
75
+ [key: string]: any;
74
76
  focus: (args?: any) => void;
75
77
  calendarElement: () => any;
76
78
  normalizeRange: (candidate: Date, value: Date | null) => Date | null;
@@ -100,6 +100,10 @@ export interface DateTimePickerSettings {
100
100
  * Fires each time the user focuses any of the DateTimePicker elements.
101
101
  */
102
102
  focus?: (event: any) => void;
103
+ /**
104
+ * Fires when the icon element is clicked.
105
+ */
106
+ iconclick?: (event: any) => void;
103
107
  /**
104
108
  * Specifies if the popup will be displayed
105
109
  * ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-popup-state)).
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dateinputs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1633005442,
8
+ publishDate: 1634032896,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -46,6 +46,7 @@ export interface TimeListState {
46
46
  * @hidden
47
47
  */
48
48
  export interface TimeListComputed {
49
+ [key: string]: any;
49
50
  animate: boolean;
50
51
  }
51
52
  /**
@@ -58,6 +59,7 @@ export interface TimeListData {
58
59
  * @hidden
59
60
  */
60
61
  export interface TimeListMethods {
62
+ [key: string]: any;
61
63
  focus: (args?: any) => void;
62
64
  itemOffset: (scrollTop: number) => number;
63
65
  calculateHeights: () => void;
@@ -58,6 +58,7 @@ export interface TimePartData {
58
58
  * @hidden
59
59
  */
60
60
  export interface TimePartComputed {
61
+ [key: string]: any;
61
62
  element: HTMLSpanElement | null;
62
63
  computedValue: Date;
63
64
  intl: IntlService;
@@ -68,6 +69,7 @@ export interface TimePartComputed {
68
69
  * @hidden
69
70
  */
70
71
  export interface TimePartMethods {
72
+ [key: string]: any;
71
73
  focus: (args?: any) => void;
72
74
  timeFormatReducer: (acc: string, current: DateFormatPart) => any;
73
75
  timeFormatFilter: (part: DateFormatPart, index: number, all: DateFormatPart[]) => boolean;
@@ -63,6 +63,7 @@ export interface TimePickerState {
63
63
  * @hidden
64
64
  */
65
65
  export interface TimePickerMethods {
66
+ [key: string]: any;
66
67
  validity: () => FormComponentValidity;
67
68
  focus: () => void;
68
69
  setDateInputRef: (dateInput: any) => void;
@@ -97,6 +98,7 @@ export interface TimePickerData {
97
98
  * @hidden
98
99
  */
99
100
  export interface TimePickerComputed {
101
+ [key: string]: any;
100
102
  timeSelector: any;
101
103
  computedValue: Date | null;
102
104
  computedShow: boolean;
@@ -37,6 +37,7 @@ var TimePicker = {
37
37
  emits: {
38
38
  'changemodel': null,
39
39
  'update:modelValue': null,
40
+ 'iconclick': null,
40
41
  'change': null,
41
42
  'focus': null,
42
43
  'blur': null
@@ -287,7 +288,6 @@ var TimePicker = {
287
288
  var isValid = !this.$props.validityStyles || this.validity().valid;
288
289
  var rootClassName = classNames('k-widget k-timepicker');
289
290
  var wrapperClassNames = classNames('k-picker-wrap', {
290
- 'k-state-default': !disabled && isValid,
291
291
  'k-state-invalid': !isValid,
292
292
  'k-state-disabled': disabled,
293
293
  'k-state-focused': this.isFocused
@@ -586,13 +586,14 @@ var TimePicker = {
586
586
  handleValueReject: function handleValueReject(_) {
587
587
  this.setShow(false);
588
588
  },
589
- handleIconClick: function handleIconClick(_) {
589
+ handleIconClick: function handleIconClick(event) {
590
590
  if (this.$props.disabled) {
591
591
  return;
592
592
  }
593
593
 
594
594
  this.shouldFocusDateInput = true;
595
595
  this.setShow(!this.computedShow);
596
+ this.$emit('iconclick', event);
596
597
  },
597
598
  handleIconMouseDown: function handleIconMouseDown(event) {
598
599
  event.preventDefault();
@@ -61,6 +61,7 @@ export interface TimeSelectorData {
61
61
  * @hidden
62
62
  */
63
63
  export interface TimeSelectorMethods {
64
+ [key: string]: any;
64
65
  focusActiveList: () => void;
65
66
  hasActiveButton: () => any;
66
67
  handleKeyDown: (event: any) => void;
@@ -75,6 +76,7 @@ export interface TimeSelectorMethods {
75
76
  * @hidden
76
77
  */
77
78
  export interface TimeSelectorComputed {
79
+ [key: string]: any;
78
80
  computedValue: Date | null;
79
81
  intl: IntlService;
80
82
  current: Date | null;
@@ -68,11 +68,15 @@ export interface TimePickerSettings {
68
68
  /**
69
69
  * Fires each time any of the TimePicker elements gets blurred.
70
70
  */
71
- onBlur?: (event: any) => void;
71
+ blur?: (event: any) => void;
72
72
  /**
73
73
  * Fires each time the user focuses any of the TimePicker elements.
74
74
  */
75
- onFocus?: (event: any) => void;
75
+ focus?: (event: any) => void;
76
+ /**
77
+ * Fires when the icon element is clicked.
78
+ */
79
+ iconclick?: (event: any) => void;
76
80
  /**
77
81
  * Configures the popup options of the TimePicker.
78
82
  *
@@ -50,6 +50,7 @@ export interface VirtualizationData {
50
50
  * @hidden
51
51
  */
52
52
  export interface VirtualizationMethods {
53
+ [key: string]: any;
53
54
  activeIndex: () => number;
54
55
  itemIndex: (offset: number) => number;
55
56
  itemOffset: (index: number) => number;
@@ -76,6 +77,7 @@ export interface VirtualizationMethods {
76
77
  * @hidden
77
78
  */
78
79
  export interface VirtualizationComputed {
80
+ [key: string]: any;
79
81
  element: HTMLDivElement | null;
80
82
  }
81
83
  /**
@@ -15,6 +15,7 @@ export interface CalendarCellProps extends CellContext {
15
15
  * @hidden
16
16
  */
17
17
  export interface CalendarCellMethods {
18
+ [key: string]: any;
18
19
  handleClick?: (e: any) => void;
19
20
  handleMouseDown?: (e: any) => void;
20
21
  handleMouseEnter?: () => void;
@@ -15,6 +15,7 @@ export interface CalendarHeaderTitleProps {
15
15
  * @hidden
16
16
  */
17
17
  export interface CalendarHeaderTitleMethods {
18
+ [key: string]: any;
18
19
  handleClick: (e: any) => void;
19
20
  }
20
21
  /**
@@ -33,6 +33,7 @@ export interface HeaderProps {
33
33
  * @hidden
34
34
  */
35
35
  export interface HeaderMethods {
36
+ [key: string]: any;
36
37
  getTitle: () => string;
37
38
  handleTitleClick: (event: any) => void;
38
39
  handleTodayClick: (event: any) => void;
@@ -47,6 +48,7 @@ export interface HeaderMethods {
47
48
  * @hidden
48
49
  */
49
50
  export interface HeaderComputed {
51
+ [key: string]: any;
50
52
  navigate?: () => void;
51
53
  todayIsInRange?: () => boolean;
52
54
  }
@@ -61,6 +61,7 @@ export interface ViewProps {
61
61
  * @hidden
62
62
  */
63
63
  export interface ViewComputed {
64
+ [key: string]: any;
64
65
  isMonthView?: boolean;
65
66
  weekNumber?: boolean;
66
67
  isHorizontal?: boolean;
@@ -69,6 +70,7 @@ export interface ViewComputed {
69
70
  * @hidden
70
71
  */
71
72
  export interface ViewMethods {
73
+ [key: string]: any;
72
74
  buildWeekNumber: (row: any, idx: number) => void;
73
75
  buildRow: (row: any) => void;
74
76
  firstDate: (row: any) => any;
@@ -69,6 +69,7 @@ export interface ViewListState {
69
69
  * @hidden
70
70
  */
71
71
  export interface ViewListComputed {
72
+ [key: string]: any;
72
73
  weekNames?: string[];
73
74
  weekNumber?: boolean;
74
75
  animate?: boolean;
@@ -77,6 +78,7 @@ export interface ViewListComputed {
77
78
  * @hidden
78
79
  */
79
80
  export interface ViewListMethods {
81
+ [key: string]: any;
80
82
  blurActiveDate: () => void;
81
83
  focusActiveDate: (event: any) => void;
82
84
  handleCellEnter: (event: any) => void;
@@ -3,6 +3,7 @@ import { SelectionRangeEnd } from '../../models';
3
3
  * @hidden
4
4
  */
5
5
  export interface CalendarComputed {
6
+ [key: string]: any;
6
7
  activeRange?: SelectionRangeEnd;
7
8
  currentMin: Date;
8
9
  currentMax: Date;
@@ -4,6 +4,7 @@ import { ViewListEventArguments } from '../ViewList';
4
4
  * @hidden
5
5
  */
6
6
  export interface CalendarMethods {
7
+ [key: string]: any;
7
8
  computedValue: () => Date | Date[] | SelectionRange | null;
8
9
  focus: (event?: any) => void;
9
10
  handleTodayClick: (e: any) => void;
@@ -2,6 +2,7 @@
2
2
  * @hidden
3
3
  */
4
4
  export interface DateInputComputed {
5
+ [key: string]: any;
5
6
  computedValue: any;
6
7
  wrapperClassNames: object;
7
8
  }
@@ -5,6 +5,7 @@ import { Selection } from '../models';
5
5
  * @hidden
6
6
  */
7
7
  export interface DateInputMethods {
8
+ [key: string]: any;
8
9
  handleFocus?: (_: any) => void;
9
10
  handleBlur?: (_: any) => void;
10
11
  element: () => HTMLInputElement | null;
@@ -54,6 +54,7 @@ var DatePicker = {
54
54
  'change': null,
55
55
  'changemodel': null,
56
56
  'update:modelValue': null,
57
+ 'iconclick': null,
57
58
  'focus': null,
58
59
  'blur': null
59
60
  },
@@ -254,7 +255,6 @@ var DatePicker = {
254
255
  get: function get() {
255
256
  var disabled = this.$props.disabled;
256
257
  return {
257
- 'k-state-default': !disabled,
258
258
  'k-state-disabled': disabled,
259
259
  'k-state-focused': this.$data.isFocused
260
260
  };
@@ -375,6 +375,7 @@ var DatePicker = {
375
375
 
376
376
  this.$data.shouldFocusDateInput = true;
377
377
  this.setShow(!this.computedShow);
378
+ this.$emit('iconclick', event);
378
379
  },
379
380
  handleIconMouseDown: function handleIconMouseDown(event) {
380
381
  event.stopPropagation();
@@ -2,6 +2,7 @@
2
2
  * @hidden
3
3
  */
4
4
  export interface DatePickerComputed {
5
+ [key: string]: any;
5
6
  computedValue: Date | null;
6
7
  computedShow: boolean;
7
8
  wrapperClassNames: object;
@@ -5,6 +5,7 @@ import { DatePickerState } from './DatePickerState';
5
5
  * @hidden
6
6
  */
7
7
  export interface DatePickerMethods {
8
+ [key: string]: any;
8
9
  emitBlur?: (_: any) => void;
9
10
  validity: () => FormComponentValidity;
10
11
  nextValue: (nextProps: DatePickerProps, nextState: DatePickerState) => any;
@@ -17,6 +17,10 @@ export interface DatePickerProps extends DatePickerSettings, FormComponentProps
17
17
  * Fires each time the user selects a new value ([see example]({% slug controlled_datepicker_native %}#toc-controlling-the-date-value)).
18
18
  */
19
19
  change?: (event: DatePickerChangeEvent) => void;
20
+ /**
21
+ * Fires when the icon element is clicked.
22
+ */
23
+ iconclick?: (event: any) => void;
20
24
  /**
21
25
  * Renders a floating label for the DatePicker.
22
26
  */
@@ -72,6 +72,7 @@ export interface DateTimePickerState {
72
72
  * @hidden
73
73
  */
74
74
  export interface DateTimePickerComputed {
75
+ [key: string]: any;
75
76
  computedValue: Date | null;
76
77
  computedShow: boolean;
77
78
  }
@@ -79,6 +80,7 @@ export interface DateTimePickerComputed {
79
80
  * @hidden
80
81
  */
81
82
  export interface DateTimePickerMethods {
83
+ [key: string]: any;
82
84
  validity: () => FormComponentValidity;
83
85
  focus: () => void;
84
86
  setShow: (show: boolean) => void;
@@ -41,6 +41,15 @@ var utils_3 = require("../dateinput/utils"); // tslint:enable:max-line-length
41
41
 
42
42
  var DateTimePicker = {
43
43
  name: 'KendoDateTimePicker',
44
+ // @ts-ignore
45
+ emits: {
46
+ 'changemodel': null,
47
+ 'update:modelValue': null,
48
+ 'iconclick': null,
49
+ 'change': null,
50
+ 'focus': null,
51
+ 'blur': null
52
+ },
44
53
  props: {
45
54
  modelValue: {
46
55
  type: Date,
@@ -302,7 +311,6 @@ var DateTimePicker = {
302
311
  'k-state-invalid': !isValid
303
312
  });
304
313
  var wrapperClassNames = kendo_vue_common_1.classNames('k-picker-wrap', {
305
- 'k-state-default': !disabled,
306
314
  'k-state-disabled': disabled,
307
315
  'k-state-focused': this.isFocused
308
316
  });
@@ -594,13 +602,14 @@ var DateTimePicker = {
594
602
  }
595
603
  }, 200);
596
604
  },
597
- handleDateIconClick: function handleDateIconClick() {
605
+ handleDateIconClick: function handleDateIconClick(event) {
598
606
  if (this.$props.disabled) {
599
607
  return;
600
608
  }
601
609
 
602
610
  this.shouldFocusDateInput = true;
603
611
  this.setShow(!this.computedShow);
612
+ this.$emit('iconclick', event);
604
613
  },
605
614
  handleIconMouseDown: function handleIconMouseDown(event) {
606
615
  event.preventDefault();
@@ -63,6 +63,7 @@ export interface DateTimeSelectorState {
63
63
  * @hidden
64
64
  */
65
65
  export interface DateTimeSelectorComputed {
66
+ [key: string]: any;
66
67
  hasDateValue: boolean;
67
68
  computedMinTime: Date | null;
68
69
  computedMaxTime: Date | null;
@@ -71,6 +72,7 @@ export interface DateTimeSelectorComputed {
71
72
  * @hidden
72
73
  */
73
74
  export interface DateTimeSelectorMethods {
75
+ [key: string]: any;
74
76
  focus: (args?: any) => void;
75
77
  calendarElement: () => any;
76
78
  normalizeRange: (candidate: Date, value: Date | null) => Date | null;
@@ -100,6 +100,10 @@ export interface DateTimePickerSettings {
100
100
  * Fires each time the user focuses any of the DateTimePicker elements.
101
101
  */
102
102
  focus?: (event: any) => void;
103
+ /**
104
+ * Fires when the icon element is clicked.
105
+ */
106
+ iconclick?: (event: any) => void;
103
107
  /**
104
108
  * Specifies if the popup will be displayed
105
109
  * ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-popup-state)).
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-dateinputs',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1633005442,
11
+ publishDate: 1634032896,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
14
14
  };
@@ -46,6 +46,7 @@ export interface TimeListState {
46
46
  * @hidden
47
47
  */
48
48
  export interface TimeListComputed {
49
+ [key: string]: any;
49
50
  animate: boolean;
50
51
  }
51
52
  /**
@@ -58,6 +59,7 @@ export interface TimeListData {
58
59
  * @hidden
59
60
  */
60
61
  export interface TimeListMethods {
62
+ [key: string]: any;
61
63
  focus: (args?: any) => void;
62
64
  itemOffset: (scrollTop: number) => number;
63
65
  calculateHeights: () => void;