@progress/kendo-vue-dateinputs 3.3.3 → 3.3.5-dev.202206141337

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 (104) hide show
  1. package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
  2. package/dist/es/additionalTypes.ts +11 -0
  3. package/dist/es/calendar/components/Calendar.d.ts +9 -3
  4. package/dist/es/calendar/components/Calendar.js +11 -9
  5. package/dist/es/calendar/components/CalendarCell.d.ts +8 -7
  6. package/dist/es/calendar/components/CalendarCell.js +8 -6
  7. package/dist/es/calendar/components/CalendarHeaderTitle.d.ts +8 -7
  8. package/dist/es/calendar/components/CalendarHeaderTitle.js +8 -6
  9. package/dist/es/calendar/components/CalendarWeekCell.d.ts +8 -7
  10. package/dist/es/calendar/components/CalendarWeekCell.js +8 -6
  11. package/dist/es/calendar/components/Header.d.ts +6 -3
  12. package/dist/es/calendar/components/Header.js +7 -3
  13. package/dist/es/calendar/components/View.d.ts +9 -3
  14. package/dist/es/calendar/components/View.js +12 -4
  15. package/dist/es/calendar/components/ViewList.d.ts +9 -5
  16. package/dist/es/calendar/components/ViewList.js +11 -13
  17. package/dist/es/calendar/components/interfaces/CalendarProps.d.ts +1 -1
  18. package/dist/es/calendar/models/CalendarSettings.d.ts +4 -8
  19. package/dist/es/calendar/utils/index.d.ts +18 -0
  20. package/dist/es/calendar/utils/index.js +20 -1
  21. package/dist/es/common/PickerWrap.d.ts +8 -5
  22. package/dist/es/common/PickerWrap.js +8 -4
  23. package/dist/es/dateinput/DateInput.d.ts +9 -3
  24. package/dist/es/dateinput/DateInput.js +11 -3
  25. package/dist/es/dateinput/interfaces/DateInputProps.d.ts +2 -2
  26. package/dist/es/dateinput/models/DateInputSettings.d.ts +9 -9
  27. package/dist/es/datepicker/DatePicker.d.ts +9 -3
  28. package/dist/es/datepicker/DatePicker.js +11 -4
  29. package/dist/es/datepicker/ToggleButton.d.ts +7 -4
  30. package/dist/es/datepicker/ToggleButton.js +8 -4
  31. package/dist/es/datepicker/interfaces/DatePickerProps.d.ts +4 -4
  32. package/dist/es/datepicker/models/DatePickerSettings.d.ts +14 -14
  33. package/dist/es/daterangepicker/DateRangePicker.d.ts +9 -3
  34. package/dist/es/daterangepicker/DateRangePicker.js +11 -4
  35. package/dist/es/daterangepicker/models/DateRangePickerSettings.d.ts +1 -1
  36. package/dist/es/datetimepicker/DateTimePicker.d.ts +9 -3
  37. package/dist/es/datetimepicker/DateTimePicker.js +11 -4
  38. package/dist/es/datetimepicker/DateTimeSelector.d.ts +9 -3
  39. package/dist/es/datetimepicker/DateTimeSelector.js +11 -4
  40. package/dist/es/main.d.ts +11 -11
  41. package/dist/es/main.js +11 -11
  42. package/dist/es/package-metadata.js +1 -1
  43. package/dist/es/timepicker/TimeList.d.ts +9 -3
  44. package/dist/es/timepicker/TimeList.js +11 -3
  45. package/dist/es/timepicker/TimePart.d.ts +9 -3
  46. package/dist/es/timepicker/TimePart.js +11 -3
  47. package/dist/es/timepicker/TimePicker.d.ts +9 -3
  48. package/dist/es/timepicker/TimePicker.js +11 -3
  49. package/dist/es/timepicker/TimeSelector.d.ts +9 -3
  50. package/dist/es/timepicker/TimeSelector.js +11 -3
  51. package/dist/es/virtualization/Virtualization.d.ts +9 -3
  52. package/dist/es/virtualization/Virtualization.js +11 -3
  53. package/dist/npm/additionalTypes.ts +11 -0
  54. package/dist/npm/calendar/components/Calendar.d.ts +9 -3
  55. package/dist/npm/calendar/components/Calendar.js +13 -11
  56. package/dist/npm/calendar/components/CalendarCell.d.ts +8 -7
  57. package/dist/npm/calendar/components/CalendarCell.js +10 -8
  58. package/dist/npm/calendar/components/CalendarHeaderTitle.d.ts +8 -7
  59. package/dist/npm/calendar/components/CalendarHeaderTitle.js +10 -8
  60. package/dist/npm/calendar/components/CalendarWeekCell.d.ts +8 -7
  61. package/dist/npm/calendar/components/CalendarWeekCell.js +10 -8
  62. package/dist/npm/calendar/components/Header.d.ts +6 -3
  63. package/dist/npm/calendar/components/Header.js +9 -5
  64. package/dist/npm/calendar/components/View.d.ts +9 -3
  65. package/dist/npm/calendar/components/View.js +14 -6
  66. package/dist/npm/calendar/components/ViewList.d.ts +9 -5
  67. package/dist/npm/calendar/components/ViewList.js +13 -15
  68. package/dist/npm/calendar/components/interfaces/CalendarProps.d.ts +1 -1
  69. package/dist/npm/calendar/models/CalendarSettings.d.ts +4 -8
  70. package/dist/npm/calendar/utils/index.d.ts +18 -0
  71. package/dist/npm/calendar/utils/index.js +20 -1
  72. package/dist/npm/common/PickerWrap.d.ts +8 -5
  73. package/dist/npm/common/PickerWrap.js +10 -6
  74. package/dist/npm/dateinput/DateInput.d.ts +9 -3
  75. package/dist/npm/dateinput/DateInput.js +13 -5
  76. package/dist/npm/dateinput/interfaces/DateInputProps.d.ts +2 -2
  77. package/dist/npm/dateinput/models/DateInputSettings.d.ts +9 -9
  78. package/dist/npm/datepicker/DatePicker.d.ts +9 -3
  79. package/dist/npm/datepicker/DatePicker.js +13 -6
  80. package/dist/npm/datepicker/ToggleButton.d.ts +7 -4
  81. package/dist/npm/datepicker/ToggleButton.js +10 -6
  82. package/dist/npm/datepicker/interfaces/DatePickerProps.d.ts +4 -4
  83. package/dist/npm/datepicker/models/DatePickerSettings.d.ts +14 -14
  84. package/dist/npm/daterangepicker/DateRangePicker.d.ts +9 -3
  85. package/dist/npm/daterangepicker/DateRangePicker.js +13 -6
  86. package/dist/npm/daterangepicker/models/DateRangePickerSettings.d.ts +1 -1
  87. package/dist/npm/datetimepicker/DateTimePicker.d.ts +9 -3
  88. package/dist/npm/datetimepicker/DateTimePicker.js +13 -6
  89. package/dist/npm/datetimepicker/DateTimeSelector.d.ts +9 -3
  90. package/dist/npm/datetimepicker/DateTimeSelector.js +13 -6
  91. package/dist/npm/main.d.ts +11 -11
  92. package/dist/npm/main.js +11 -11
  93. package/dist/npm/package-metadata.js +1 -1
  94. package/dist/npm/timepicker/TimeList.d.ts +9 -3
  95. package/dist/npm/timepicker/TimeList.js +13 -5
  96. package/dist/npm/timepicker/TimePart.d.ts +9 -3
  97. package/dist/npm/timepicker/TimePart.js +13 -5
  98. package/dist/npm/timepicker/TimePicker.d.ts +9 -3
  99. package/dist/npm/timepicker/TimePicker.js +13 -5
  100. package/dist/npm/timepicker/TimeSelector.d.ts +9 -3
  101. package/dist/npm/timepicker/TimeSelector.js +13 -5
  102. package/dist/npm/virtualization/Virtualization.d.ts +9 -3
  103. package/dist/npm/virtualization/Virtualization.js +13 -5
  104. package/package.json +7 -7
@@ -2,9 +2,20 @@
2
2
  import { DefineComponent } from 'vue';
3
3
  // @ts-ignore
4
4
  import * as Vue from 'vue';
5
+
6
+ /**
7
+ * @hidden
8
+ */
5
9
  // @ts-ignore
6
10
  type Vue2type = Vue.default;
11
+
12
+ /**
13
+ * @hidden
14
+ */
7
15
  // @ts-ignore
8
16
  import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
17
+ /**
18
+ * @hidden
19
+ */
9
20
  // @ts-ignore
10
21
  export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
@@ -13,6 +13,12 @@ import { CalendarProps } from './interfaces/CalendarProps';
13
13
  */
14
14
  export interface CalendarAll extends Vue2type, CalendarMethods, CalendarComputed, CalendarState, CalendarData {
15
15
  }
16
- declare let Calendar: ComponentOptions<CalendarAll, DefaultData<CalendarData>, DefaultMethods<CalendarAll>, CalendarComputed, RecordPropsDefinition<CalendarProps>>;
17
- declare const CalendarVue3: DefineComponent<CalendarProps, any, CalendarData, CalendarComputed, CalendarMethods, {}, {}, {}, string, CalendarProps, CalendarProps, {}>;
18
- export { Calendar, CalendarVue3 };
16
+ /**
17
+ * @hidden
18
+ */
19
+ declare let CalendarVue2: ComponentOptions<CalendarAll, DefaultData<CalendarData>, DefaultMethods<CalendarAll>, CalendarComputed, RecordPropsDefinition<CalendarProps>>;
20
+ /**
21
+ * @hidden
22
+ */
23
+ declare const Calendar: DefineComponent<CalendarProps, any, CalendarData, CalendarComputed, CalendarMethods, {}, {}, {}, string, CalendarProps, CalendarProps, {}>;
24
+ export { Calendar, CalendarVue2 };
@@ -14,7 +14,11 @@ import { getToday, dateInRange, viewInRange } from '../../utils';
14
14
  import { BusViewService, DOMService, NavigationService } from '../services';
15
15
  import { Header } from './Header';
16
16
  import { calculateValue, extractDateFromValue, extractMultipleFromValue, extractRangeFromValue, extractFocusedDate, extractActiveRange } from '../utils';
17
- var Calendar = {
17
+ /**
18
+ * @hidden
19
+ */
20
+
21
+ var CalendarVue2 = {
18
22
  name: 'KendoCalendar',
19
23
  inject: {
20
24
  kendoIntlService: {
@@ -76,10 +80,6 @@ var Calendar = {
76
80
  type: Boolean,
77
81
  default: true
78
82
  },
79
- smoothScroll: {
80
- type: Boolean,
81
- default: true
82
- },
83
83
  tabIndex: Number,
84
84
  value: [Date, Array, Object],
85
85
  views: {
@@ -525,7 +525,6 @@ var Calendar = {
525
525
  dom: this._dom,
526
526
  views: this.$props.views,
527
527
  selectionRange: visualizedRange,
528
- smoothScroll: this.$props.smoothScroll,
529
528
  showWeekNumbers: this.$props.weekNumber,
530
529
  value: this._selectedMultiple || this._selectedDate,
531
530
  cellUID: this.$data.cellUID
@@ -548,7 +547,6 @@ var Calendar = {
548
547
  dom: this._dom,
549
548
  views: this.$props.views,
550
549
  selectionRange: visualizedRange,
551
- smoothScroll: this.$props.smoothScroll,
552
550
  showWeekNumbers: this.$props.weekNumber,
553
551
  onChange: this.handleDateChange,
554
552
  on: this.v3 ? undefined : {
@@ -588,5 +586,9 @@ var Calendar = {
588
586
  }, [calendarBody]);
589
587
  }
590
588
  };
591
- var CalendarVue3 = Calendar;
592
- export { Calendar, CalendarVue3 };
589
+ /**
590
+ * @hidden
591
+ */
592
+
593
+ var Calendar = CalendarVue2;
594
+ export { Calendar, CalendarVue2 };
@@ -4,7 +4,7 @@ declare type DefaultMethods<V> = {
4
4
  };
5
5
  import { CellContext } from '../models';
6
6
  /**
7
- * The props which will be received by the custom cell of the [Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-cell).
7
+ * The props which will be received by the custom cell of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-cell).
8
8
  */
9
9
  export interface CalendarCellProps extends CellContext {
10
10
  isDisabled?: boolean;
@@ -26,10 +26,11 @@ export interface CalendarCellMethods {
26
26
  export interface CalendarCellAllMethods extends Vue2type, CalendarCellMethods {
27
27
  }
28
28
  /**
29
- * The `CalendarCell` component is internally used for rendering the items in the current view. Also be used as a custom `cell` of the [Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-cell).
30
- *
31
- * * [Customizing the cells inside the Calendar view]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-view)
29
+ * @hidden
30
+ */
31
+ declare let CalendarCellVue2: ComponentOptions<CalendarCellAllMethods, {}, DefaultMethods<CalendarCellAllMethods>, {}, RecordPropsDefinition<CalendarCellProps>>;
32
+ /**
33
+ * @hidden
32
34
  */
33
- declare let CalendarCell: ComponentOptions<CalendarCellAllMethods, {}, DefaultMethods<CalendarCellAllMethods>, {}, RecordPropsDefinition<CalendarCellProps>>;
34
- declare const CalendarCellVue3: DefineComponent<CalendarCellProps, any, {}, {}, CalendarCellMethods, {}, {}, {}, string, CalendarCellProps, CalendarCellProps, {}>;
35
- export { CalendarCell, CalendarCellVue3 };
35
+ declare const CalendarCell: DefineComponent<CalendarCellProps, any, {}, {}, CalendarCellMethods, {}, {}, {}, string, CalendarCellProps, CalendarCellProps, {}>;
36
+ export { CalendarCell, CalendarCellVue2 };
@@ -26,13 +26,11 @@ var compareProps = function compareProps(x, y) {
26
26
  return true;
27
27
  };
28
28
  /**
29
- * The `CalendarCell` component is internally used for rendering the items in the current view. Also be used as a custom `cell` of the [Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-cell).
30
- *
31
- * * [Customizing the cells inside the Calendar view]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-view)
29
+ * @hidden
32
30
  */
33
31
 
34
32
 
35
- var CalendarCell = {
33
+ var CalendarCellVue2 = {
36
34
  name: 'KendoCalendarCell',
37
35
  // @ts-ignore
38
36
  emits: {
@@ -161,5 +159,9 @@ var CalendarCell = {
161
159
  }
162
160
  }
163
161
  };
164
- var CalendarCellVue3 = CalendarCell;
165
- export { CalendarCell, CalendarCellVue3 };
162
+ /**
163
+ * @hidden
164
+ */
165
+
166
+ var CalendarCell = CalendarCellVue2;
167
+ export { CalendarCell, CalendarCellVue2 };
@@ -3,7 +3,7 @@ declare type DefaultMethods<V> = {
3
3
  [key: string]: (this: V, ...args: any[]) => any;
4
4
  };
5
5
  /**
6
- * The props which will be received by the custom header title of the [Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-headertitle).
6
+ * The props which will be received by the custom header title of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-headertitle).
7
7
  */
8
8
  export interface CalendarHeaderTitleProps {
9
9
  value?: string;
@@ -23,10 +23,11 @@ export interface CalendarHeaderTitleMethods {
23
23
  export interface CalendarHeaderTitleAllMethods extends Vue2type, CalendarHeaderTitleMethods {
24
24
  }
25
25
  /**
26
- * The `CalendarCell` component is internally used for rendering the items in the current view. Also be used as a custom `cell` of the [Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-cell).
27
- *
28
- * * [Customizing the cells inside the Calendar view]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-view)
26
+ * @hidden
27
+ */
28
+ declare let CalendarHeaderTitleVue2: ComponentOptions<CalendarHeaderTitleAllMethods, {}, DefaultMethods<CalendarHeaderTitleAllMethods>, {}, RecordPropsDefinition<CalendarHeaderTitleProps>>;
29
+ /**
30
+ * @hidden
29
31
  */
30
- declare let CalendarHeaderTitle: ComponentOptions<CalendarHeaderTitleAllMethods, {}, DefaultMethods<CalendarHeaderTitleAllMethods>, {}, RecordPropsDefinition<CalendarHeaderTitleProps>>;
31
- declare const CalendarHeaderTitleVue3: DefineComponent<CalendarHeaderTitleProps, any, {}, {}, CalendarHeaderTitleMethods, {}, {}, {}, string, CalendarHeaderTitleProps, CalendarHeaderTitleProps, {}>;
32
- export { CalendarHeaderTitle, CalendarHeaderTitleVue3 };
32
+ declare const CalendarHeaderTitle: DefineComponent<CalendarHeaderTitleProps, any, {}, {}, CalendarHeaderTitleMethods, {}, {}, {}, string, CalendarHeaderTitleProps, CalendarHeaderTitleProps, {}>;
33
+ export { CalendarHeaderTitle, CalendarHeaderTitleVue2 };
@@ -5,12 +5,10 @@ var gh = allVue.h;
5
5
  import { getDefaultSlots } from '@progress/kendo-vue-common';
6
6
  import { Button as KButton } from '@progress/kendo-vue-buttons';
7
7
  /**
8
- * The `CalendarCell` component is internally used for rendering the items in the current view. Also be used as a custom `cell` of the [Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-cell).
9
- *
10
- * * [Customizing the cells inside the Calendar view]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-view)
8
+ * @hidden
11
9
  */
12
10
 
13
- var CalendarHeaderTitle = {
11
+ var CalendarHeaderTitleVue2 = {
14
12
  name: 'KendoHeaderTitle',
15
13
  // @ts-ignore
16
14
  emits: {
@@ -66,5 +64,9 @@ var CalendarHeaderTitle = {
66
64
  );
67
65
  }
68
66
  };
69
- var CalendarHeaderTitleVue3 = CalendarHeaderTitle;
70
- export { CalendarHeaderTitle, CalendarHeaderTitleVue3 };
67
+ /**
68
+ * @hidden
69
+ */
70
+
71
+ var CalendarHeaderTitle = CalendarHeaderTitleVue2;
72
+ export { CalendarHeaderTitle, CalendarHeaderTitleVue2 };
@@ -3,7 +3,7 @@ declare type DefaultMethods<V> = {
3
3
  [key: string]: (this: V, ...args: any[]) => any;
4
4
  };
5
5
  /**
6
- * The props which will be received by the custom week cell of the [Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-weekcell).
6
+ * The props which will be received by the custom week cell of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-weekcell).
7
7
  */
8
8
  export interface CalendarWeekCellProps {
9
9
  id?: string;
@@ -17,10 +17,11 @@ export interface CalendarWeekCellAllMethods extends Vue2type {
17
17
  handleClick?: (e: any) => void;
18
18
  }
19
19
  /**
20
- * The `CalendarWeekCell` component is internally used for rendering the week cells inside the `month` view of the Calendar. Also used as a [custom week cell for the Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-weekcell) and the [MultiViewCalendar]({% slug api_dateinputs_multiviewcalendarprops %}#toc-weekcell) components.
21
- *
22
- * * [Customizing week-column cells in the Calendar]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-week-column)
20
+ * @hidden
21
+ */
22
+ declare let CalendarWeekCellVue2: ComponentOptions<CalendarWeekCellAllMethods, {}, DefaultMethods<CalendarWeekCellAllMethods>, {}, RecordPropsDefinition<CalendarWeekCellProps>>;
23
+ /**
24
+ * @hidden
23
25
  */
24
- declare let CalendarWeekCell: ComponentOptions<CalendarWeekCellAllMethods, {}, DefaultMethods<CalendarWeekCellAllMethods>, {}, RecordPropsDefinition<CalendarWeekCellProps>>;
25
- declare const CalendarWeekCellVue3: DefineComponent<CalendarWeekCellProps, any, {}, {}, {}, {}, {}, {}, string, CalendarWeekCellProps, CalendarWeekCellProps, {}>;
26
- export { CalendarWeekCell, CalendarWeekCellVue3 };
26
+ declare const CalendarWeekCell: DefineComponent<CalendarWeekCellProps, any, {}, {}, {}, {}, {}, {}, string, CalendarWeekCellProps, CalendarWeekCellProps, {}>;
27
+ export { CalendarWeekCell, CalendarWeekCellVue2 };
@@ -4,12 +4,10 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  import { getDefaultSlots } from '@progress/kendo-vue-common';
6
6
  /**
7
- * The `CalendarWeekCell` component is internally used for rendering the week cells inside the `month` view of the Calendar. Also used as a [custom week cell for the Calendar]({% slug api_dateinputs_native_calendarprops %}#toc-weekcell) and the [MultiViewCalendar]({% slug api_dateinputs_multiviewcalendarprops %}#toc-weekcell) components.
8
- *
9
- * * [Customizing week-column cells in the Calendar]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-week-column)
7
+ * @hidden
10
8
  */
11
9
 
12
- var CalendarWeekCell = {
10
+ var CalendarWeekCellVue2 = {
13
11
  props: {
14
12
  id: String,
15
13
  value: Number
@@ -54,5 +52,9 @@ var CalendarWeekCell = {
54
52
  }
55
53
  }
56
54
  };
57
- var CalendarWeekCellVue3 = CalendarWeekCell;
58
- export { CalendarWeekCell, CalendarWeekCellVue3 };
55
+ /**
56
+ * @hidden
57
+ */
58
+
59
+ var CalendarWeekCell = CalendarWeekCellVue2;
60
+ export { CalendarWeekCell, CalendarWeekCellVue2 };
@@ -65,6 +65,9 @@ export interface HeaderAllMethods extends Vue2type, HeaderMethods, HeaderCompute
65
65
  /**
66
66
  * @hidden
67
67
  */
68
- declare let Header: ComponentOptions<HeaderAllMethods, {}, DefaultMethods<HeaderAllMethods>, {}, RecordPropsDefinition<HeaderProps>>;
69
- declare const HeaderVue3: DefineComponent<HeaderProps, any, {}, HeaderComputed, HeaderMethods, {}, {}, {}, string, HeaderProps, HeaderProps, {}>;
70
- export { Header, HeaderVue3 };
68
+ declare let HeaderVue2: ComponentOptions<HeaderAllMethods, {}, DefaultMethods<HeaderAllMethods>, {}, RecordPropsDefinition<HeaderProps>>;
69
+ /**
70
+ * @hidden
71
+ */
72
+ declare const Header: DefineComponent<HeaderProps, any, {}, HeaderComputed, HeaderMethods, {}, {}, {}, string, HeaderProps, HeaderProps, {}>;
73
+ export { Header, HeaderVue2 };
@@ -16,7 +16,7 @@ import { classNames, Keys, getTemplate } from '@progress/kendo-vue-common';
16
16
  * @hidden
17
17
  */
18
18
 
19
- var Header = {
19
+ var HeaderVue2 = {
20
20
  name: 'KendoHeader',
21
21
  inheritAttrs: false,
22
22
  inject: {
@@ -272,5 +272,9 @@ var Header = {
272
272
  })])]);
273
273
  }
274
274
  };
275
- var HeaderVue3 = Header;
276
- export { Header, HeaderVue3 };
275
+ /**
276
+ * @hidden
277
+ */
278
+
279
+ var Header = HeaderVue2;
280
+ export { Header, HeaderVue2 };
@@ -99,6 +99,12 @@ export interface ViewData {
99
99
  */
100
100
  export interface ViewAllMethods extends Vue2type, ViewMethods, ViewComputed, ViewState {
101
101
  }
102
- declare let View: ComponentOptions<ViewAllMethods, DefaultData<ViewData>, DefaultMethods<ViewAllMethods>, ViewComputed, RecordPropsDefinition<ViewProps>>;
103
- declare const ViewVue3: DefineComponent<ViewProps, any, ViewData, ViewComputed, ViewMethods, {}, {}, {}, string, ViewProps, ViewProps, {}>;
104
- export { View, ViewVue3 };
102
+ /**
103
+ * @hidden
104
+ */
105
+ declare let ViewVue2: ComponentOptions<ViewAllMethods, DefaultData<ViewData>, DefaultMethods<ViewAllMethods>, ViewComputed, RecordPropsDefinition<ViewProps>>;
106
+ /**
107
+ * @hidden
108
+ */
109
+ declare const View: DefineComponent<ViewProps, any, ViewData, ViewComputed, ViewMethods, {}, {}, {}, string, ViewProps, ViewProps, {}>;
110
+ export { View, ViewVue2 };
@@ -11,7 +11,11 @@ import { CalendarWeekCell } from './CalendarWeekCell';
11
11
  import { CalendarViewEnum } from '../models';
12
12
  import { setTime, getToday } from '../../utils';
13
13
  import { WeekNamesService } from '../services';
14
- var View = {
14
+ /**
15
+ * @hidden
16
+ */
17
+
18
+ var ViewVue2 = {
15
19
  name: 'KendoView',
16
20
  inject: {
17
21
  kendoIntlService: {
@@ -161,7 +165,7 @@ var View = {
161
165
  var emptyCell = function emptyCell(idx) {
162
166
  return h("td", {
163
167
  key: idx
164
- }, ["\xA0"]);
168
+ });
165
169
  }; // const weekNames = this._weekService.getWeekNames(this.weekNumber);
166
170
  // const colSpan = this.$props.service.rowLength(this.weekNumber);
167
171
  // const title = this.$props.service.title(this.$props.viewDate);
@@ -331,5 +335,9 @@ var View = {
331
335
  }, this)]);
332
336
  }
333
337
  };
334
- var ViewVue3 = View;
335
- export { View, ViewVue3 };
338
+ /**
339
+ * @hidden
340
+ */
341
+
342
+ var View = ViewVue2;
343
+ export { View, ViewVue2 };
@@ -38,7 +38,6 @@ export interface ViewListProps {
38
38
  selectionRange?: SelectionRange;
39
39
  service: ViewService;
40
40
  showWeekNumbers?: boolean;
41
- smoothScroll?: boolean;
42
41
  take?: number;
43
42
  value: Date | Date[] | SelectionRange | null;
44
43
  views: number;
@@ -59,7 +58,6 @@ export interface ViewListState {
59
58
  _viewOffset: number;
60
59
  _viewHeight: number;
61
60
  lastView: CalendarViewEnum;
62
- animateToIndex: boolean;
63
61
  shouldScroll: boolean;
64
62
  indexToScroll?: number;
65
63
  lastFocus: Date;
@@ -107,6 +105,12 @@ export interface ViewListData {
107
105
  */
108
106
  export interface ViewListAll extends Vue2type, ViewListMethods, ViewListComputed, ViewListState, ViewListData {
109
107
  }
110
- declare let ViewList: ComponentOptions<ViewListAll, DefaultData<ViewListData>, DefaultMethods<ViewListAll>, ViewListComputed, RecordPropsDefinition<ViewListProps>>;
111
- declare const ViewListVue3: DefineComponent<ViewListProps, any, ViewListData, ViewListComputed, ViewListMethods, {}, {}, {}, string, ViewListProps, ViewListProps, {}>;
112
- export { ViewList, ViewListVue3 };
108
+ /**
109
+ * @hidden
110
+ */
111
+ declare let ViewListVue2: ComponentOptions<ViewListAll, DefaultData<ViewListData>, DefaultMethods<ViewListAll>, ViewListComputed, RecordPropsDefinition<ViewListProps>>;
112
+ /**
113
+ * @hidden
114
+ */
115
+ declare const ViewList: DefineComponent<ViewListProps, any, ViewListData, ViewListComputed, ViewListMethods, {}, {}, {}, string, ViewListProps, ViewListProps, {}>;
116
+ export { ViewList, ViewListVue2 };
@@ -12,7 +12,11 @@ import { shiftWeekNames } from '../../utils';
12
12
  import { CalendarViewEnum } from '../models';
13
13
  import { classNames } from '@progress/kendo-vue-common';
14
14
  var VIEWS_COUNT = 5;
15
- var ViewList = {
15
+ /**
16
+ * @hidden
17
+ */
18
+
19
+ var ViewListVue2 = {
16
20
  name: 'KendoViewList',
17
21
  inheritAttrs: false,
18
22
  inject: {
@@ -57,10 +61,6 @@ var ViewList = {
57
61
  type: Boolean,
58
62
  default: false
59
63
  },
60
- smoothScroll: {
61
- type: Boolean,
62
- default: true
63
- },
64
64
  take: {
65
65
  type: Number,
66
66
  default: VIEWS_COUNT
@@ -100,17 +100,11 @@ var ViewList = {
100
100
  get: function get() {
101
101
  return Boolean(this.$props.showWeekNumbers && this.$props.activeView === CalendarViewEnum.month);
102
102
  }
103
- },
104
- animate: {
105
- get: function get() {
106
- return Boolean(this.$props.smoothScroll && this.animateToIndex);
107
- }
108
103
  }
109
104
  },
110
105
  created: function created() {
111
106
  this.lastView = this.$props.activeView;
112
107
  this.lastFocus = this.$props.focusedDate;
113
- this.animateToIndex = true;
114
108
  this.shouldScroll = false; // this.$data.skip = this.$props.service.skip(this.$props.focusedDate, this.$props.min);
115
109
  // this.$data.index = this.$props.service.skip(this.$props.focusedDate, this.$props.min);
116
110
  },
@@ -341,5 +335,9 @@ var ViewList = {
341
335
  }, [buildDates.call(this)]);
342
336
  }
343
337
  };
344
- var ViewListVue3 = ViewList;
345
- export { ViewList, ViewListVue3 };
338
+ /**
339
+ * @hidden
340
+ */
341
+
342
+ var ViewList = ViewListVue2;
343
+ export { ViewList, ViewListVue2 };
@@ -2,7 +2,7 @@ import { CalendarSettings, SelectionRangeEnd, SelectionRange, CalendarMode } fro
2
2
  import { CalendarChangeEvent, CalendarWeekCellClickEvent } from '../../../main';
3
3
  import { CalendarWeekNameClickEvent } from './CalendarEventArguments';
4
4
  /**
5
- * Represents the props of the [Kendo UI for Vue Calendar component]({% slug overview_calendar_native %}). The generic argument is passed to the `change` property and is used as a target in the [`CalendarChangeEvent`]({% slug api_dateinputs_native_calendarchangeevent %}) interface.
5
+ * 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.
6
6
  */
7
7
  export interface CalendarProps extends CalendarSettings {
8
8
  /**
@@ -39,10 +39,6 @@ export interface CalendarSettings {
39
39
  * Determines if the navigation sidebar will be displayed.
40
40
  */
41
41
  navigation?: boolean;
42
- /**
43
- * Toggles the smooth scroll animation on navigation item click. By default, the animation is enabled.
44
- */
45
- smoothScroll?: boolean;
46
42
  /**
47
43
  * Fires each time the Calendar is blurred.
48
44
  */
@@ -65,22 +61,22 @@ export interface CalendarSettings {
65
61
  weekNumber?: boolean;
66
62
  /**
67
63
  * Enables the customization or the override of the default Calendar cell
68
- * ([see example]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-view)).
64
+ * ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-view)).
69
65
  */
70
66
  cell?: any;
71
67
  /**
72
68
  * Enables the customization or the override of the default week-column cell in the Calendar
73
- * ([see example]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-week-column)).
69
+ * ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-week-column)).
74
70
  */
75
71
  weekCell?: any;
76
72
  /**
77
73
  * Enables the customization or the override of the default header title in the Calendar
78
- * ([see example]({% slug custom_rendering_calendar_native %}#toc-titles-of-current-views)).
74
+ * ([see example]({% slug custom_rendering_calendar %}#toc-titles-of-current-views)).
79
75
  */
80
76
  headerTitle?: any;
81
77
  /**
82
78
  * Enables the customization or the override of the default navigation item in the Calendar
83
- * ([see example]({% slug custom_rendering_calendar_native %}#toc-items-in-the-side-navigation)).
79
+ * ([see example]({% slug custom_rendering_calendar %}#toc-items-in-the-side-navigation)).
84
80
  */
85
81
  navigationItem?: any;
86
82
  }
@@ -1,8 +1,26 @@
1
1
  import { SelectionRange, SelectionRangeEnd } from '../models';
2
+ /**
3
+ * @hidden
4
+ */
2
5
  declare const calculateValue: (min: Date, max: Date, stateValue: any, propValue?: any) => Date | null;
6
+ /**
7
+ * @hidden
8
+ */
3
9
  declare const extractDateFromValue: (min: Date, max: Date, value: Date | Date[] | SelectionRange | null) => Date | null;
10
+ /**
11
+ * @hidden
12
+ */
4
13
  declare const extractMultipleFromValue: (min: Date, max: Date, value: Date | Date[] | SelectionRange | null) => Date[] | null;
14
+ /**
15
+ * @hidden
16
+ */
5
17
  declare const extractRangeFromValue: (value: Date | Date[] | SelectionRange | null) => SelectionRange;
18
+ /**
19
+ * @hidden
20
+ */
6
21
  declare const extractFocusedDate: (single: Date | null, multiple: Date[] | null, range: SelectionRange) => Date | null;
22
+ /**
23
+ * @hidden
24
+ */
7
25
  declare const extractActiveRange: (range: SelectionRange, single: Date | null) => SelectionRangeEnd;
8
26
  export { calculateValue, extractDateFromValue, extractMultipleFromValue, extractRangeFromValue, extractFocusedDate, extractActiveRange };
@@ -1,6 +1,10 @@
1
1
  import { isInRange } from '../../utils';
2
2
  import { EMPTY_SELECTIONRANGE } from '../models';
3
3
  import { getDate } from '@progress/kendo-date-math';
4
+ import { isObject } from '@progress/kendo-vue-common';
5
+ /**
6
+ * @hidden
7
+ */
4
8
  var calculateValue = function (min, max, stateValue, propValue) {
5
9
  return propValue !== undefined
6
10
  ? propValue !== null && isInRange(propValue, min, max)
@@ -10,24 +14,39 @@ var calculateValue = function (min, max, stateValue, propValue) {
10
14
  ? stateValue
11
15
  : null;
12
16
  };
17
+ /**
18
+ * @hidden
19
+ */
13
20
  var extractDateFromValue = function (min, max, value) {
14
21
  return value instanceof Date && !Array.isArray(value) && isInRange(getDate(value), min, max)
15
22
  ? getDate(value)
16
23
  : null;
17
24
  };
25
+ /**
26
+ * @hidden
27
+ */
18
28
  var extractMultipleFromValue = function (min, max, value) {
19
29
  return Array.isArray(value)
20
30
  ? value.filter(function (date) { return isInRange(date, min, max); }).map(function (date) { return getDate(date); })
21
31
  : null;
22
32
  };
33
+ /**
34
+ * @hidden
35
+ */
23
36
  var extractRangeFromValue = function (value) {
24
- return typeof value === 'object' && !(value instanceof Date) && value !== null && !Array.isArray(value)
37
+ return isObject(value) && !(value instanceof Date) && value !== null && !Array.isArray(value)
25
38
  ? value
26
39
  : EMPTY_SELECTIONRANGE;
27
40
  };
41
+ /**
42
+ * @hidden
43
+ */
28
44
  var extractFocusedDate = function (single, multiple, range) {
29
45
  return single || (multiple && multiple[0]) || (range && range.start);
30
46
  };
47
+ /**
48
+ * @hidden
49
+ */
31
50
  var extractActiveRange = function (range, single) {
32
51
  return range.start === null && single === null
33
52
  ? 'start'
@@ -5,14 +5,17 @@ declare type DefaultMethods<V> = {
5
5
  };
6
6
  /**
7
7
  * Represents the props of the Kendo UI for
8
- * Vue [PickerWrap]({% slug api_dateinputs_native_pickerwrapprops %}) component.
8
+ * Vue [PickerWrap]({% slug api_dateinputs_pickerwrapprops %}) component.
9
9
  */
10
10
  export interface PickerWrapProps {
11
11
  id?: string;
12
12
  }
13
13
  /**
14
- * Represents the default `pickerWrap` component
14
+ * @hidden
15
15
  */
16
- declare let PickerWrap: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<Vue2type>, {}, RecordPropsDefinition<PickerWrapProps>>;
17
- declare const PickerWrapVue3: DefineComponent<PickerWrapProps, any, {}, {}, {}, {}, {}, {}, string, PickerWrapProps, PickerWrapProps, {}>;
18
- export { PickerWrap, PickerWrapVue3 };
16
+ declare let PickerWrapVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<Vue2type>, {}, RecordPropsDefinition<PickerWrapProps>>;
17
+ /**
18
+ * @hidden
19
+ */
20
+ declare const PickerWrap: DefineComponent<PickerWrapProps, any, {}, {}, {}, {}, {}, {}, string, PickerWrapProps, PickerWrapProps, {}>;
21
+ export { PickerWrap, PickerWrapVue2 };
@@ -4,10 +4,10 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  import { getDefaultSlots } from '@progress/kendo-vue-common';
6
6
  /**
7
- * Represents the default `pickerWrap` component
7
+ * @hidden
8
8
  */
9
9
 
10
- var PickerWrap = {
10
+ var PickerWrapVue2 = {
11
11
  props: {
12
12
  id: String
13
13
  },
@@ -31,5 +31,9 @@ var PickerWrap = {
31
31
  }, [defaultSlot]);
32
32
  }
33
33
  };
34
- var PickerWrapVue3 = PickerWrap;
35
- export { PickerWrap, PickerWrapVue3 };
34
+ /**
35
+ * @hidden
36
+ */
37
+
38
+ var PickerWrap = PickerWrapVue2;
39
+ export { PickerWrap, PickerWrapVue2 };
@@ -13,6 +13,12 @@ declare type DefaultMethods<V> = {
13
13
  */
14
14
  export interface DateInputAll extends Vue2type, DateInputMethods, DateInputData, DateInputComputed, DateInputState {
15
15
  }
16
- declare let DateInput: ComponentOptions<DateInputAll, DefaultData<DateInputData>, DefaultMethods<DateInputAll>, DateInputComputed, RecordPropsDefinition<DateInputProps>>;
17
- declare const DateInputVue3: DefineComponent<DateInputProps, any, DateInputData, DateInputComputed, DateInputMethods, {}, {}, {}, string, DateInputProps, DateInputProps, {}>;
18
- export { DateInput, DateInputVue3 };
16
+ /**
17
+ * @hidden
18
+ */
19
+ declare let DateInputVue2: ComponentOptions<DateInputAll, DefaultData<DateInputData>, DefaultMethods<DateInputAll>, DateInputComputed, RecordPropsDefinition<DateInputProps>>;
20
+ /**
21
+ * @hidden
22
+ */
23
+ declare const DateInput: DefineComponent<DateInputProps, any, DateInputData, DateInputComputed, DateInputMethods, {}, {}, {}, string, DateInputProps, DateInputProps, {}>;
24
+ export { DateInput, DateInputVue2 };
@@ -17,7 +17,11 @@ import { isInTimeRange } from '../timepicker/utils';
17
17
  import { MIN_TIME, MAX_TIME } from '../defaults';
18
18
  import { FloatingLabel } from '@progress/kendo-vue-labels';
19
19
  var VALIDATION_MESSAGE = 'Please enter a valid value!';
20
- var DateInput = {
20
+ /**
21
+ * @hidden
22
+ */
23
+
24
+ var DateInputVue2 = {
21
25
  name: 'DateInput',
22
26
  model: {
23
27
  event: 'changemodel'
@@ -697,5 +701,9 @@ var DateInput = {
697
701
  } : [dateinput]) : dateinput;
698
702
  }
699
703
  };
700
- var DateInputVue3 = DateInput;
701
- export { DateInput, DateInputVue3 };
704
+ /**
705
+ * @hidden
706
+ */
707
+
708
+ var DateInput = DateInputVue2;
709
+ export { DateInput, DateInputVue2 };