@progress/kendo-vue-dateinputs 3.3.4 → 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
@@ -32,7 +32,11 @@ import { TimeSelector } from './TimeSelector';
32
32
  import { MIDNIGHT_DATE, MIN_TIME, MAX_TIME, setTime } from '../utils';
33
33
  import { isInRange, isSmallerThanMin, isBiggerThanMax } from './utils';
34
34
  import { defaultFormatPlaceholder } from '../dateinput/utils';
35
- var TimePicker = {
35
+ /**
36
+ * @hidden
37
+ */
38
+
39
+ var TimePickerVue2 = {
36
40
  name: 'KendoTimePicker',
37
41
  // @ts-ignore
38
42
  emits: {
@@ -668,5 +672,9 @@ var TimePicker = {
668
672
  }
669
673
  }
670
674
  };
671
- var TimePickerVue3 = TimePicker;
672
- export { TimePicker, TimePickerVue3 };
675
+ /**
676
+ * @hidden
677
+ */
678
+
679
+ var TimePicker = TimePickerVue2;
680
+ export { TimePicker, TimePickerVue2 };
@@ -85,6 +85,12 @@ export interface TimeSelectorComputed {
85
85
  */
86
86
  export interface TimeSelectorAll extends Vue2type, TimeSelectorMethods, TimeSelectorData, TimeSelectorComputed, TimeSelectorState {
87
87
  }
88
- declare let TimeSelector: ComponentOptions<TimeSelectorAll, DefaultData<TimeSelectorData>, DefaultMethods<TimeSelectorAll>, TimeSelectorComputed, RecordPropsDefinition<TimeSelectorProps>>;
89
- declare const TimeSelectorVue3: DefineComponent<TimeSelectorProps, any, TimeSelectorData, TimeSelectorComputed, TimeSelectorMethods, {}, {}, {}, string, TimeSelectorProps, TimeSelectorProps, {}>;
90
- export { TimeSelector, TimeSelectorVue3 };
88
+ /**
89
+ * @hidden
90
+ */
91
+ declare let TimeSelectorVue2: ComponentOptions<TimeSelectorAll, DefaultData<TimeSelectorData>, DefaultMethods<TimeSelectorAll>, TimeSelectorComputed, RecordPropsDefinition<TimeSelectorProps>>;
92
+ /**
93
+ * @hidden
94
+ */
95
+ declare const TimeSelector: DefineComponent<TimeSelectorProps, any, TimeSelectorData, TimeSelectorComputed, TimeSelectorMethods, {}, {}, {}, string, TimeSelectorProps, TimeSelectorProps, {}>;
96
+ export { TimeSelector, TimeSelectorVue2 };
@@ -21,8 +21,12 @@ export var Direction;
21
21
  Direction[Direction["Left"] = 0] = "Left";
22
22
  Direction[Direction["Right"] = 1] = "Right";
23
23
  })(Direction || (Direction = {}));
24
+ /**
25
+ * @hidden
26
+ */
27
+
24
28
 
25
- var TimeSelector = {
29
+ var TimeSelectorVue2 = {
26
30
  name: 'KendoTimeSelector',
27
31
  // @ts-ignore
28
32
  emits: {
@@ -305,5 +309,9 @@ var TimeSelector = {
305
309
  }
306
310
  }
307
311
  };
308
- var TimeSelectorVue3 = TimeSelector;
309
- export { TimeSelector, TimeSelectorVue3 };
312
+ /**
313
+ * @hidden
314
+ */
315
+
316
+ var TimeSelector = TimeSelectorVue2;
317
+ export { TimeSelector, TimeSelectorVue2 };
@@ -103,6 +103,12 @@ export interface VirtualizationProps {
103
103
  */
104
104
  export interface VirtualizationAll extends Vue2type, VirtualizationMethods, VirtualizationData, VirtualizationComputed, VirtualizationState {
105
105
  }
106
- declare let Virtualization: ComponentOptions<VirtualizationAll, DefaultData<VirtualizationData>, DefaultMethods<VirtualizationAll>, VirtualizationComputed, RecordPropsDefinition<VirtualizationProps>>;
107
- declare const VirtualizationVue3: DefineComponent<VirtualizationProps, any, VirtualizationData, VirtualizationComputed, VirtualizationMethods, {}, {}, {}, string, VirtualizationProps, VirtualizationProps, {}>;
108
- export { Virtualization, VirtualizationVue3 };
106
+ /**
107
+ * @hidden
108
+ */
109
+ declare let VirtualizationVue2: ComponentOptions<VirtualizationAll, DefaultData<VirtualizationData>, DefaultMethods<VirtualizationAll>, VirtualizationComputed, RecordPropsDefinition<VirtualizationProps>>;
110
+ /**
111
+ * @hidden
112
+ */
113
+ declare const Virtualization: DefineComponent<VirtualizationProps, any, VirtualizationData, VirtualizationComputed, VirtualizationMethods, {}, {}, {}, string, VirtualizationProps, VirtualizationProps, {}>;
114
+ export { Virtualization, VirtualizationVue2 };
@@ -49,7 +49,11 @@ var scrollValidators = (_c = {}, _c[ScrollDirection.Forward] = function (end) {
49
49
  return start > end;
50
50
  };
51
51
  }, _c);
52
- var Virtualization = {
52
+ /**
53
+ * @hidden
54
+ */
55
+
56
+ var VirtualizationVue2 = {
53
57
  name: 'Virtualization',
54
58
  // @ts-ignore
55
59
  emits: {
@@ -354,5 +358,9 @@ var Virtualization = {
354
358
  })]);
355
359
  }
356
360
  };
357
- var VirtualizationVue3 = Virtualization;
358
- export { Virtualization, VirtualizationVue3 };
361
+ /**
362
+ * @hidden
363
+ */
364
+
365
+ var Virtualization = VirtualizationVue2;
366
+ export { Virtualization, VirtualizationVue2 };
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CalendarVue3 = exports.Calendar = void 0; // @ts-ignore
6
+ exports.CalendarVue2 = exports.Calendar = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -32,8 +32,12 @@ var services_1 = require("../services");
32
32
  var Header_1 = require("./Header");
33
33
 
34
34
  var utils_2 = require("../utils");
35
+ /**
36
+ * @hidden
37
+ */
35
38
 
36
- var Calendar = {
39
+
40
+ var CalendarVue2 = {
37
41
  name: 'KendoCalendar',
38
42
  inject: {
39
43
  kendoIntlService: {
@@ -95,10 +99,6 @@ var Calendar = {
95
99
  type: Boolean,
96
100
  default: true
97
101
  },
98
- smoothScroll: {
99
- type: Boolean,
100
- default: true
101
- },
102
102
  tabIndex: Number,
103
103
  value: [Date, Array, Object],
104
104
  views: {
@@ -544,7 +544,6 @@ var Calendar = {
544
544
  dom: this._dom,
545
545
  views: this.$props.views,
546
546
  selectionRange: visualizedRange,
547
- smoothScroll: this.$props.smoothScroll,
548
547
  showWeekNumbers: this.$props.weekNumber,
549
548
  value: this._selectedMultiple || this._selectedDate,
550
549
  cellUID: this.$data.cellUID
@@ -567,7 +566,6 @@ var Calendar = {
567
566
  dom: this._dom,
568
567
  views: this.$props.views,
569
568
  selectionRange: visualizedRange,
570
- smoothScroll: this.$props.smoothScroll,
571
569
  showWeekNumbers: this.$props.weekNumber,
572
570
  onChange: this.handleDateChange,
573
571
  on: this.v3 ? undefined : {
@@ -607,6 +605,10 @@ var Calendar = {
607
605
  }, [calendarBody]);
608
606
  }
609
607
  };
610
- exports.Calendar = Calendar;
611
- var CalendarVue3 = Calendar;
612
- exports.CalendarVue3 = CalendarVue3;
608
+ exports.CalendarVue2 = CalendarVue2;
609
+ /**
610
+ * @hidden
611
+ */
612
+
613
+ var Calendar = CalendarVue2;
614
+ exports.Calendar = Calendar;
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CalendarCellVue3 = exports.CalendarCell = void 0; // @ts-ignore
6
+ exports.CalendarCellVue2 = exports.CalendarCell = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -35,13 +35,11 @@ var compareProps = function compareProps(x, y) {
35
35
  return true;
36
36
  };
37
37
  /**
38
- * 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).
39
- *
40
- * * [Customizing the cells inside the Calendar view]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-view)
38
+ * @hidden
41
39
  */
42
40
 
43
41
 
44
- var CalendarCell = {
42
+ var CalendarCellVue2 = {
45
43
  name: 'KendoCalendarCell',
46
44
  // @ts-ignore
47
45
  emits: {
@@ -170,6 +168,10 @@ var CalendarCell = {
170
168
  }
171
169
  }
172
170
  };
173
- exports.CalendarCell = CalendarCell;
174
- var CalendarCellVue3 = CalendarCell;
175
- exports.CalendarCellVue3 = CalendarCellVue3;
171
+ exports.CalendarCellVue2 = CalendarCellVue2;
172
+ /**
173
+ * @hidden
174
+ */
175
+
176
+ var CalendarCell = CalendarCellVue2;
177
+ exports.CalendarCell = CalendarCell;
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CalendarHeaderTitleVue3 = exports.CalendarHeaderTitle = void 0; // @ts-ignore
6
+ exports.CalendarHeaderTitleVue2 = exports.CalendarHeaderTitle = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -14,13 +14,11 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
14
14
 
15
15
  var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
16
16
  /**
17
- * 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).
18
- *
19
- * * [Customizing the cells inside the Calendar view]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-view)
17
+ * @hidden
20
18
  */
21
19
 
22
20
 
23
- var CalendarHeaderTitle = {
21
+ var CalendarHeaderTitleVue2 = {
24
22
  name: 'KendoHeaderTitle',
25
23
  // @ts-ignore
26
24
  emits: {
@@ -76,6 +74,10 @@ var CalendarHeaderTitle = {
76
74
  );
77
75
  }
78
76
  };
79
- exports.CalendarHeaderTitle = CalendarHeaderTitle;
80
- var CalendarHeaderTitleVue3 = CalendarHeaderTitle;
81
- exports.CalendarHeaderTitleVue3 = CalendarHeaderTitleVue3;
77
+ exports.CalendarHeaderTitleVue2 = CalendarHeaderTitleVue2;
78
+ /**
79
+ * @hidden
80
+ */
81
+
82
+ var CalendarHeaderTitle = CalendarHeaderTitleVue2;
83
+ exports.CalendarHeaderTitle = CalendarHeaderTitle;
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CalendarWeekCellVue3 = exports.CalendarWeekCell = void 0; // @ts-ignore
6
+ exports.CalendarWeekCellVue2 = exports.CalendarWeekCell = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -12,13 +12,11 @@ var gh = allVue.h;
12
12
 
13
13
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
14
14
  /**
15
- * 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.
16
- *
17
- * * [Customizing week-column cells in the Calendar]({% slug custom_rendering_calendar_native %}#toc-cells-inside-the-week-column)
15
+ * @hidden
18
16
  */
19
17
 
20
18
 
21
- var CalendarWeekCell = {
19
+ var CalendarWeekCellVue2 = {
22
20
  props: {
23
21
  id: String,
24
22
  value: Number
@@ -63,6 +61,10 @@ var CalendarWeekCell = {
63
61
  }
64
62
  }
65
63
  };
66
- exports.CalendarWeekCell = CalendarWeekCell;
67
- var CalendarWeekCellVue3 = CalendarWeekCell;
68
- exports.CalendarWeekCellVue3 = CalendarWeekCellVue3;
64
+ exports.CalendarWeekCellVue2 = CalendarWeekCellVue2;
65
+ /**
66
+ * @hidden
67
+ */
68
+
69
+ var CalendarWeekCell = CalendarWeekCellVue2;
70
+ exports.CalendarWeekCell = CalendarWeekCell;
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.HeaderVue3 = exports.Header = void 0; // @ts-ignore
6
+ exports.HeaderVue2 = exports.Header = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -33,7 +33,7 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
33
33
  */
34
34
 
35
35
 
36
- var Header = {
36
+ var HeaderVue2 = {
37
37
  name: 'KendoHeader',
38
38
  inheritAttrs: false,
39
39
  inject: {
@@ -289,6 +289,10 @@ var Header = {
289
289
  })])]);
290
290
  }
291
291
  };
292
- exports.Header = Header;
293
- var HeaderVue3 = Header;
294
- exports.HeaderVue3 = HeaderVue3;
292
+ exports.HeaderVue2 = HeaderVue2;
293
+ /**
294
+ * @hidden
295
+ */
296
+
297
+ var Header = HeaderVue2;
298
+ exports.Header = Header;
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ViewVue3 = exports.View = void 0; // @ts-ignore
6
+ exports.ViewVue2 = exports.View = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -26,8 +26,12 @@ var models_1 = require("../models");
26
26
  var utils_1 = require("../../utils");
27
27
 
28
28
  var services_1 = require("../services");
29
+ /**
30
+ * @hidden
31
+ */
29
32
 
30
- var View = {
33
+
34
+ var ViewVue2 = {
31
35
  name: 'KendoView',
32
36
  inject: {
33
37
  kendoIntlService: {
@@ -177,7 +181,7 @@ var View = {
177
181
  var emptyCell = function emptyCell(idx) {
178
182
  return h("td", {
179
183
  key: idx
180
- }, ["\xA0"]);
184
+ });
181
185
  }; // const weekNames = this._weekService.getWeekNames(this.weekNumber);
182
186
  // const colSpan = this.$props.service.rowLength(this.weekNumber);
183
187
  // const title = this.$props.service.title(this.$props.viewDate);
@@ -347,6 +351,10 @@ var View = {
347
351
  }, this)]);
348
352
  }
349
353
  };
350
- exports.View = View;
351
- var ViewVue3 = View;
352
- exports.ViewVue3 = ViewVue3;
354
+ exports.ViewVue2 = ViewVue2;
355
+ /**
356
+ * @hidden
357
+ */
358
+
359
+ var View = ViewVue2;
360
+ exports.View = View;
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ViewListVue3 = exports.ViewList = void 0; // @ts-ignore
6
+ exports.ViewListVue2 = exports.ViewList = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -26,7 +26,11 @@ var models_1 = require("../models");
26
26
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
27
27
 
28
28
  var VIEWS_COUNT = 5;
29
- var ViewList = {
29
+ /**
30
+ * @hidden
31
+ */
32
+
33
+ var ViewListVue2 = {
30
34
  name: 'KendoViewList',
31
35
  inheritAttrs: false,
32
36
  inject: {
@@ -71,10 +75,6 @@ var ViewList = {
71
75
  type: Boolean,
72
76
  default: false
73
77
  },
74
- smoothScroll: {
75
- type: Boolean,
76
- default: true
77
- },
78
78
  take: {
79
79
  type: Number,
80
80
  default: VIEWS_COUNT
@@ -114,17 +114,11 @@ var ViewList = {
114
114
  get: function get() {
115
115
  return Boolean(this.$props.showWeekNumbers && this.$props.activeView === models_1.CalendarViewEnum.month);
116
116
  }
117
- },
118
- animate: {
119
- get: function get() {
120
- return Boolean(this.$props.smoothScroll && this.animateToIndex);
121
- }
122
117
  }
123
118
  },
124
119
  created: function created() {
125
120
  this.lastView = this.$props.activeView;
126
121
  this.lastFocus = this.$props.focusedDate;
127
- this.animateToIndex = true;
128
122
  this.shouldScroll = false; // this.$data.skip = this.$props.service.skip(this.$props.focusedDate, this.$props.min);
129
123
  // this.$data.index = this.$props.service.skip(this.$props.focusedDate, this.$props.min);
130
124
  },
@@ -355,6 +349,10 @@ var ViewList = {
355
349
  }, [buildDates.call(this)]);
356
350
  }
357
351
  };
358
- exports.ViewList = ViewList;
359
- var ViewListVue3 = ViewList;
360
- exports.ViewListVue3 = ViewListVue3;
352
+ exports.ViewListVue2 = ViewListVue2;
353
+ /**
354
+ * @hidden
355
+ */
356
+
357
+ var ViewList = ViewListVue2;
358
+ exports.ViewList = ViewList;
@@ -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
  /**