@progress/kendo-react-dateinputs 5.4.0-dev.202205180853 → 5.4.0-dev.202205271059

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 (164) hide show
  1. package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
  2. package/dist/es/PopupSettings.js +1 -0
  3. package/dist/es/calendar/components/Calendar.d.ts +8 -8
  4. package/dist/es/calendar/components/Calendar.js +9 -7
  5. package/dist/es/calendar/components/CalendarCell.js +7 -3
  6. package/dist/es/calendar/components/CalendarHeaderTitle.js +7 -3
  7. package/dist/es/calendar/components/CalendarNavigationItem.js +7 -3
  8. package/dist/es/calendar/components/CalendarWeekCell.js +7 -3
  9. package/dist/es/calendar/components/Header.d.ts +4 -4
  10. package/dist/es/calendar/components/Header.js +7 -5
  11. package/dist/es/calendar/components/HorizontalViewList.d.ts +4 -4
  12. package/dist/es/calendar/components/HorizontalViewList.js +7 -5
  13. package/dist/es/calendar/components/MultiViewCalendar.d.ts +11 -11
  14. package/dist/es/calendar/components/MultiViewCalendar.js +12 -10
  15. package/dist/es/calendar/components/Navigation.d.ts +1 -1
  16. package/dist/es/calendar/components/Navigation.js +4 -2
  17. package/dist/es/calendar/components/TodayCommand.d.ts +3 -3
  18. package/dist/es/calendar/components/TodayCommand.js +6 -4
  19. package/dist/es/calendar/components/View.d.ts +7 -7
  20. package/dist/es/calendar/components/View.js +10 -8
  21. package/dist/es/calendar/components/ViewList.d.ts +6 -6
  22. package/dist/es/calendar/components/ViewList.js +9 -7
  23. package/dist/es/calendar/models/ActiveView.js +1 -0
  24. package/dist/es/calendar/models/CalendarSettings.js +1 -0
  25. package/dist/es/calendar/models/CellContext.js +1 -0
  26. package/dist/es/calendar/models/MultiViewCalendarMode.js +1 -0
  27. package/dist/es/calendar/models/MultiViewCalendarSettings.js +1 -0
  28. package/dist/es/calendar/models/SelectionRangeEnd.js +1 -0
  29. package/dist/es/calendar/models/ViewService.js +1 -0
  30. package/dist/es/calendar/services/MonthViewService.js +1 -1
  31. package/dist/es/dateinput/DateInput.d.ts +17 -17
  32. package/dist/es/dateinput/DateInput.js +23 -16
  33. package/dist/es/dateinput/models/DateInputSettings.js +1 -0
  34. package/dist/es/dateinput/models/format-placeholder.js +1 -0
  35. package/dist/es/dateinput/models/incremental-steps.js +1 -0
  36. package/dist/es/dateinput/models/kendo-date.d.ts +2 -2
  37. package/dist/es/dateinput/models/kendo-date.js +2 -2
  38. package/dist/es/dateinput/models/selection.js +1 -0
  39. package/dist/es/dateinput/utils.d.ts +1 -1
  40. package/dist/es/datepicker/DatePicker.d.ts +21 -21
  41. package/dist/es/datepicker/DatePicker.js +24 -20
  42. package/dist/es/datepicker/models/DatePickerSettings.js +1 -0
  43. package/dist/es/datepicker/models/index.js +1 -0
  44. package/dist/es/daterangepicker/DateRangePicker.d.ts +11 -11
  45. package/dist/es/daterangepicker/DateRangePicker.js +16 -14
  46. package/dist/es/daterangepicker/models/DateRangePickerCalendarSettings.js +1 -0
  47. package/dist/es/daterangepicker/models/DateRangePickerDateInputSettings.js +1 -0
  48. package/dist/es/daterangepicker/models/DateRangePickerPopupSettings.js +1 -0
  49. package/dist/es/daterangepicker/models/DateRangePickerSettings.js +1 -0
  50. package/dist/es/daterangepicker/models/index.js +1 -0
  51. package/dist/es/datetimepicker/DateTimePicker.d.ts +16 -16
  52. package/dist/es/datetimepicker/DateTimePicker.js +30 -15
  53. package/dist/es/datetimepicker/DateTimeSelector.d.ts +6 -6
  54. package/dist/es/datetimepicker/DateTimeSelector.js +12 -7
  55. package/dist/es/datetimepicker/models/DateTimePickerSettings.js +1 -0
  56. package/dist/es/datetimepicker/models/index.js +1 -0
  57. package/dist/es/hooks/usePickerFloatingLabel.d.ts +1 -1
  58. package/dist/es/messages/index.d.ts +21 -21
  59. package/dist/es/package-metadata.js +1 -1
  60. package/dist/es/timepicker/TimeList.d.ts +5 -5
  61. package/dist/es/timepicker/TimeList.js +8 -6
  62. package/dist/es/timepicker/TimePart.d.ts +7 -7
  63. package/dist/es/timepicker/TimePart.js +10 -8
  64. package/dist/es/timepicker/TimePicker.d.ts +19 -19
  65. package/dist/es/timepicker/TimePicker.js +23 -19
  66. package/dist/es/timepicker/TimeSelector.d.ts +4 -4
  67. package/dist/es/timepicker/TimeSelector.js +7 -5
  68. package/dist/es/timepicker/models/IncrementalSteps.js +1 -0
  69. package/dist/es/timepicker/models/ListItem.js +1 -0
  70. package/dist/es/timepicker/models/ListService.js +1 -0
  71. package/dist/es/timepicker/models/ListServiceSettings.js +1 -0
  72. package/dist/es/timepicker/models/TimePickerSettings.js +1 -0
  73. package/dist/es/timepicker/utils.d.ts +4 -4
  74. package/dist/es/utils.d.ts +1 -1
  75. package/dist/es/utils.js +6 -1
  76. package/dist/es/virtualization/Virtualization.d.ts +7 -7
  77. package/dist/es/virtualization/Virtualization.js +9 -7
  78. package/dist/es/virtualization/services/RowHeightService.js +6 -1
  79. package/dist/npm/calendar/components/Calendar.d.ts +8 -8
  80. package/dist/npm/calendar/components/Calendar.js +10 -7
  81. package/dist/npm/calendar/components/CalendarCell.js +8 -3
  82. package/dist/npm/calendar/components/CalendarHeaderTitle.js +8 -3
  83. package/dist/npm/calendar/components/CalendarNavigationItem.js +8 -3
  84. package/dist/npm/calendar/components/CalendarWeekCell.js +8 -3
  85. package/dist/npm/calendar/components/Header.d.ts +4 -4
  86. package/dist/npm/calendar/components/Header.js +8 -5
  87. package/dist/npm/calendar/components/HorizontalViewList.d.ts +4 -4
  88. package/dist/npm/calendar/components/HorizontalViewList.js +8 -5
  89. package/dist/npm/calendar/components/MultiViewCalendar.d.ts +11 -11
  90. package/dist/npm/calendar/components/MultiViewCalendar.js +13 -10
  91. package/dist/npm/calendar/components/Navigation.d.ts +1 -1
  92. package/dist/npm/calendar/components/Navigation.js +5 -2
  93. package/dist/npm/calendar/components/TodayCommand.d.ts +3 -3
  94. package/dist/npm/calendar/components/TodayCommand.js +7 -4
  95. package/dist/npm/calendar/components/View.d.ts +7 -7
  96. package/dist/npm/calendar/components/View.js +11 -8
  97. package/dist/npm/calendar/components/ViewList.d.ts +6 -6
  98. package/dist/npm/calendar/components/ViewList.js +10 -7
  99. package/dist/npm/calendar/models/CalendarViewEnum.js +1 -0
  100. package/dist/npm/calendar/models/NavigationAction.js +1 -0
  101. package/dist/npm/calendar/models/SelectionRange.js +1 -0
  102. package/dist/npm/calendar/models/index.js +4 -3
  103. package/dist/npm/calendar/services/BusViewService.js +2 -1
  104. package/dist/npm/calendar/services/CenturyViewService.js +2 -1
  105. package/dist/npm/calendar/services/DOMService.js +1 -0
  106. package/dist/npm/calendar/services/DecadeViewService.js +2 -1
  107. package/dist/npm/calendar/services/MonthViewService.js +3 -2
  108. package/dist/npm/calendar/services/NavigationService.js +1 -0
  109. package/dist/npm/calendar/services/ScrollSyncService.js +1 -0
  110. package/dist/npm/calendar/services/WeekNamesService.js +1 -0
  111. package/dist/npm/calendar/services/YearViewService.js +2 -1
  112. package/dist/npm/calendar/services/index.js +10 -9
  113. package/dist/npm/common/PickerWrap.js +1 -0
  114. package/dist/npm/dateinput/DateInput.d.ts +17 -17
  115. package/dist/npm/dateinput/DateInput.js +24 -16
  116. package/dist/npm/dateinput/models/index.js +3 -2
  117. package/dist/npm/dateinput/models/kendo-date.d.ts +2 -2
  118. package/dist/npm/dateinput/models/kendo-date.js +3 -2
  119. package/dist/npm/dateinput/models/mask.js +1 -0
  120. package/dist/npm/dateinput/utils.d.ts +1 -1
  121. package/dist/npm/dateinput/utils.js +9 -4
  122. package/dist/npm/datepicker/DatePicker.d.ts +21 -21
  123. package/dist/npm/datepicker/DatePicker.js +25 -20
  124. package/dist/npm/datepicker/ToggleButton.js +1 -0
  125. package/dist/npm/daterangepicker/DateRangePicker.d.ts +11 -11
  126. package/dist/npm/daterangepicker/DateRangePicker.js +17 -14
  127. package/dist/npm/datetimepicker/DateTimePicker.d.ts +16 -16
  128. package/dist/npm/datetimepicker/DateTimePicker.js +31 -15
  129. package/dist/npm/datetimepicker/DateTimeSelector.d.ts +6 -6
  130. package/dist/npm/datetimepicker/DateTimeSelector.js +13 -7
  131. package/dist/npm/defaults.js +1 -0
  132. package/dist/npm/hooks/usePickerFloatingLabel.d.ts +1 -1
  133. package/dist/npm/hooks/usePickerFloatingLabel.js +5 -2
  134. package/dist/npm/main.js +22 -21
  135. package/dist/npm/messages/index.d.ts +21 -21
  136. package/dist/npm/messages/index.js +2 -1
  137. package/dist/npm/package-metadata.js +2 -1
  138. package/dist/npm/timepicker/TimeList.d.ts +5 -5
  139. package/dist/npm/timepicker/TimeList.js +10 -7
  140. package/dist/npm/timepicker/TimePart.d.ts +7 -7
  141. package/dist/npm/timepicker/TimePart.js +11 -8
  142. package/dist/npm/timepicker/TimePicker.d.ts +19 -19
  143. package/dist/npm/timepicker/TimePicker.js +24 -19
  144. package/dist/npm/timepicker/TimeSelector.d.ts +4 -4
  145. package/dist/npm/timepicker/TimeSelector.js +8 -5
  146. package/dist/npm/timepicker/models/TimePart.js +1 -0
  147. package/dist/npm/timepicker/models/index.js +2 -1
  148. package/dist/npm/timepicker/services/DOMService.js +1 -0
  149. package/dist/npm/timepicker/services/DayPeriodService.js +1 -0
  150. package/dist/npm/timepicker/services/HoursService.js +1 -0
  151. package/dist/npm/timepicker/services/MinutesService.js +1 -0
  152. package/dist/npm/timepicker/services/SecondsService.js +1 -0
  153. package/dist/npm/timepicker/services/index.js +6 -5
  154. package/dist/npm/timepicker/utils.d.ts +4 -4
  155. package/dist/npm/timepicker/utils.js +19 -9
  156. package/dist/npm/utils.d.ts +1 -1
  157. package/dist/npm/utils.js +33 -14
  158. package/dist/npm/virtualization/Virtualization.d.ts +7 -7
  159. package/dist/npm/virtualization/Virtualization.js +11 -8
  160. package/dist/npm/virtualization/services/RowHeightService.js +7 -1
  161. package/dist/npm/virtualization/services/ScrollerService.js +1 -0
  162. package/dist/npm/virtualization/services/index.js +5 -4
  163. package/dist/systemjs/kendo-react-dateinputs.js +1 -1
  164. package/package.json +12 -12
@@ -41,16 +41,16 @@ export declare const timeInRange: (candidate: Date, min: Date, max: Date) => Dat
41
41
  /**
42
42
  * @hidden
43
43
  */
44
- export declare const isInTimeRange: (candidate: Date, min?: Date, max?: Date) => boolean;
44
+ export declare const isInTimeRange: (candidate: Date | null, min?: Date, max?: Date) => boolean;
45
45
  /**
46
46
  * @hidden
47
47
  */
48
- export declare const isInRange: (candidate: Date, min: Date, max: Date) => boolean;
48
+ export declare const isInRange: (candidate: Date | null, min: Date, max: Date) => boolean;
49
49
  /**
50
50
  * @hidden
51
51
  */
52
- export declare const isSmallerThanMin: (val: Date, min: Date) => boolean;
52
+ export declare const isSmallerThanMin: (val: Date | null, min: Date | null) => boolean;
53
53
  /**
54
54
  * @hidden
55
55
  */
56
- export declare const isBiggerThanMax: (val: Date, max: Date) => boolean;
56
+ export declare const isBiggerThanMax: (val: Date | null, max: Date | null) => boolean;
@@ -51,7 +51,7 @@ export declare const isInRange: (candidate: Date, min: Date, max: Date) => boole
51
51
  /**
52
52
  * @hidden
53
53
  */
54
- export declare const isInDateRange: (candidate: Date, min: Date, max: Date) => boolean;
54
+ export declare const isInDateRange: (candidate: Date | null, min: Date, max: Date) => boolean;
55
55
  /**
56
56
  * @hidden
57
57
  */
package/dist/es/utils.js CHANGED
@@ -1,3 +1,8 @@
1
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
2
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
3
+ to[j] = from[i];
4
+ return to;
5
+ };
1
6
  import { cloneDate, isEqual } from '@progress/kendo-date-math';
2
7
  import { getDate } from '@progress/kendo-date-math';
3
8
  import { EMPTY_SELECTIONRANGE } from './calendar/models/SelectionRange';
@@ -26,7 +31,7 @@ export function nullable(subRequirement) {
26
31
  return null;
27
32
  }
28
33
  var sub = required ? subRequirement.isRequired : subRequirement;
29
- return sub.apply(void 0, [props, key].concat(rest));
34
+ return sub.apply(void 0, __spreadArray([props, key], rest));
30
35
  };
31
36
  var fn = check.bind(null, false);
32
37
  fn.isRequired = check.bind(null, true);
@@ -68,7 +68,7 @@ export declare class Virtualization extends React.Component<VirtualizationProps,
68
68
  role: PropTypes.Requireable<string>;
69
69
  };
70
70
  static defaultProps: {
71
- direction: "horizontal" | "vertical";
71
+ direction: Direction;
72
72
  forceScroll: boolean;
73
73
  scrollOffsetSize: number;
74
74
  maxScrollDifference: number;
@@ -85,12 +85,12 @@ export declare class Virtualization extends React.Component<VirtualizationProps,
85
85
  private lastTake;
86
86
  private animationInProgress;
87
87
  private scrollToIndexTimeout;
88
- readonly element: HTMLDivElement | null;
89
- protected readonly containerOffsetSize: number;
90
- readonly containerScrollSize: number;
91
- readonly containerScrollPosition: number;
92
- protected readonly direction: Direction;
93
- protected readonly scrollOffsetSize: number;
88
+ get element(): HTMLDivElement | null;
89
+ protected get containerOffsetSize(): number;
90
+ get containerScrollSize(): number;
91
+ get containerScrollPosition(): number;
92
+ protected get direction(): Direction;
93
+ protected get scrollOffsetSize(): number;
94
94
  constructor(props: VirtualizationProps);
95
95
  activeIndex(): number;
96
96
  itemIndex(offset: number): number;
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
2
2
  var extendStatics = function (d, b) {
3
3
  extendStatics = Object.setPrototypeOf ||
4
4
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
6
  return extendStatics(d, b);
7
7
  };
8
8
  return function (d, b) {
9
+ if (typeof b !== "function" && b !== null)
10
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
9
11
  extendStatics(d, b);
10
12
  function __() { this.constructor = d; }
11
13
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -177,35 +179,35 @@ var Virtualization = /** @class */ (function (_super) {
177
179
  get: function () {
178
180
  return this.scrollContainer;
179
181
  },
180
- enumerable: true,
182
+ enumerable: false,
181
183
  configurable: true
182
184
  });
183
185
  Object.defineProperty(Virtualization.prototype, "containerOffsetSize", {
184
186
  get: function () {
185
187
  return this.getContainerProperty(this.direction === 'vertical' ? 'offsetHeight' : 'offsetWidth');
186
188
  },
187
- enumerable: true,
189
+ enumerable: false,
188
190
  configurable: true
189
191
  });
190
192
  Object.defineProperty(Virtualization.prototype, "containerScrollSize", {
191
193
  get: function () {
192
194
  return this.getContainerProperty(this.direction === 'vertical' ? 'scrollHeight' : 'scrollWidth');
193
195
  },
194
- enumerable: true,
196
+ enumerable: false,
195
197
  configurable: true
196
198
  });
197
199
  Object.defineProperty(Virtualization.prototype, "containerScrollPosition", {
198
200
  get: function () {
199
201
  return this.getContainerProperty(this.direction === 'vertical' ? 'scrollTop' : 'scrollLeft');
200
202
  },
201
- enumerable: true,
203
+ enumerable: false,
202
204
  configurable: true
203
205
  });
204
206
  Object.defineProperty(Virtualization.prototype, "direction", {
205
207
  get: function () {
206
208
  return this.props.direction !== undefined ? this.props.direction : Virtualization.defaultProps.direction;
207
209
  },
208
- enumerable: true,
210
+ enumerable: false,
209
211
  configurable: true
210
212
  });
211
213
  Object.defineProperty(Virtualization.prototype, "scrollOffsetSize", {
@@ -213,7 +215,7 @@ var Virtualization = /** @class */ (function (_super) {
213
215
  return this.props.scrollOffsetSize !== undefined
214
216
  ? this.props.scrollOffsetSize : Virtualization.defaultProps.scrollOffsetSize;
215
217
  },
216
- enumerable: true,
218
+ enumerable: false,
217
219
  configurable: true
218
220
  });
219
221
  Virtualization.prototype.activeIndex = function () {
@@ -1,7 +1,12 @@
1
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
2
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
3
+ to[j] = from[i];
4
+ return to;
5
+ };
1
6
  /**
2
7
  * @hidden
3
8
  */
4
- var update = function (arr, idx, value) { return (arr.slice(0, idx + 1).concat((arr.slice(idx + 1).map(function (x) { return x + value; })))); };
9
+ var update = function (arr, idx, value) { return (__spreadArray(__spreadArray([], arr.slice(0, idx + 1)), (arr.slice(idx + 1).map(function (x) { return x + value; })))); };
5
10
  /**
6
11
  * @hidden
7
12
  */
@@ -80,8 +80,8 @@ export declare class CalendarWithoutContext extends React.Component<CalendarProp
80
80
  tabIndex: PropTypes.Requireable<number>;
81
81
  value: PropTypes.Requireable<Date>;
82
82
  weekNumber: PropTypes.Requireable<boolean>;
83
- topView: (props: CalendarProps<any>, propName: string, componentName: string) => Error;
84
- bottomView: (props: CalendarProps<any>, propName: string, componentName: string) => Error;
83
+ topView: (props: CalendarProps, propName: string, componentName: string) => Error;
84
+ bottomView: (props: CalendarProps, propName: string, componentName: string) => Error;
85
85
  };
86
86
  /**
87
87
  * @hidden
@@ -116,15 +116,15 @@ export declare class CalendarWithoutContext extends React.Component<CalendarProp
116
116
  /**
117
117
  * Gets the wrapping element of the Calendar.
118
118
  */
119
- readonly element: HTMLDivElement | null;
119
+ get element(): HTMLDivElement | null;
120
120
  /**
121
121
  * Gets the value of the Calendar.
122
122
  */
123
- readonly value: Date | null;
124
- protected readonly min: Date;
125
- protected readonly max: Date;
126
- protected readonly bottomView: CalendarViewEnum;
127
- protected readonly topView: CalendarViewEnum;
123
+ get value(): Date | null;
124
+ protected get min(): Date;
125
+ protected get max(): Date;
126
+ protected get bottomView(): CalendarViewEnum;
127
+ protected get topView(): CalendarViewEnum;
128
128
  constructor(props: CalendarProps);
129
129
  /**
130
130
  * @hidden
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Calendar = exports.CalendarPropsContext = exports.CalendarWithoutContext = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var kendo_react_common_1 = require("@progress/kendo-react-common");
@@ -193,7 +196,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
193
196
  get: function () {
194
197
  return this._element;
195
198
  },
196
- enumerable: true,
199
+ enumerable: false,
197
200
  configurable: true
198
201
  });
199
202
  Object.defineProperty(CalendarWithoutContext.prototype, "value", {
@@ -207,7 +210,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
207
210
  ? this.props.value
208
211
  : this.state.value;
209
212
  },
210
- enumerable: true,
213
+ enumerable: false,
211
214
  configurable: true
212
215
  });
213
216
  Object.defineProperty(CalendarWithoutContext.prototype, "min", {
@@ -216,7 +219,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
216
219
  ? this.props.min
217
220
  : CalendarWithoutContext.defaultProps.min);
218
221
  },
219
- enumerable: true,
222
+ enumerable: false,
220
223
  configurable: true
221
224
  });
222
225
  Object.defineProperty(CalendarWithoutContext.prototype, "max", {
@@ -225,7 +228,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
225
228
  ? this.props.max
226
229
  : CalendarWithoutContext.defaultProps.max);
227
230
  },
228
- enumerable: true,
231
+ enumerable: false,
229
232
  configurable: true
230
233
  });
231
234
  Object.defineProperty(CalendarWithoutContext.prototype, "bottomView", {
@@ -234,7 +237,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
234
237
  ? this.props.bottomView
235
238
  : CalendarWithoutContext.defaultProps.bottomView];
236
239
  },
237
- enumerable: true,
240
+ enumerable: false,
238
241
  configurable: true
239
242
  });
240
243
  Object.defineProperty(CalendarWithoutContext.prototype, "topView", {
@@ -243,7 +246,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
243
246
  ? this.props.topView
244
247
  : CalendarWithoutContext.defaultProps.topView];
245
248
  },
246
- enumerable: true,
249
+ enumerable: false,
247
250
  configurable: true
248
251
  });
249
252
  /**
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
28
30
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
31
  t[p] = s[p];
30
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
32
- t[p[i]] = s[p[i]];
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
33
37
  return t;
34
38
  };
35
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.CalendarCell = void 0;
36
41
  var React = require("react");
37
42
  var kendo_react_common_1 = require("@progress/kendo-react-common");
38
43
  /**
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
28
30
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
31
  t[p] = s[p];
30
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
32
- t[p[i]] = s[p[i]];
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
33
37
  return t;
34
38
  };
35
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.CalendarHeaderTitle = void 0;
36
41
  var kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
37
42
  var React = require("react");
38
43
  /**
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
28
30
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
31
  t[p] = s[p];
30
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
32
- t[p[i]] = s[p[i]];
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
33
37
  return t;
34
38
  };
35
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.CalendarNavigationItem = void 0;
36
41
  var React = require("react");
37
42
  var kendo_react_common_1 = require("@progress/kendo-react-common");
38
43
  /**
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
28
30
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
31
  t[p] = s[p];
30
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
32
- t[p[i]] = s[p[i]];
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
33
37
  return t;
34
38
  };
35
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.CalendarWeekCell = void 0;
36
41
  var React = require("react");
37
42
  var kendo_react_common_1 = require("@progress/kendo-react-common");
38
43
  /**
@@ -42,10 +42,10 @@ export declare class Header extends React.Component<HeaderProps> {
42
42
  min: Date;
43
43
  max: Date;
44
44
  };
45
- protected readonly min: Date;
46
- protected readonly max: Date;
47
- protected readonly rangeLength: number;
48
- protected readonly canMoveUp: boolean;
45
+ protected get min(): Date;
46
+ protected get max(): Date;
47
+ protected get rangeLength(): number;
48
+ protected get canMoveUp(): boolean;
49
49
  render(): JSX.Element;
50
50
  protected getTitle: () => string;
51
51
  private handleTitleClick;
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Header = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var kendo_react_intl_1 = require("@progress/kendo-react-intl");
@@ -63,7 +66,7 @@ var Header = /** @class */ (function (_super) {
63
66
  ? this.props.min
64
67
  : Header.defaultProps.min;
65
68
  },
66
- enumerable: true,
69
+ enumerable: false,
67
70
  configurable: true
68
71
  });
69
72
  Object.defineProperty(Header.prototype, "max", {
@@ -72,21 +75,21 @@ var Header = /** @class */ (function (_super) {
72
75
  ? this.props.max
73
76
  : Header.defaultProps.max;
74
77
  },
75
- enumerable: true,
78
+ enumerable: false,
76
79
  configurable: true
77
80
  });
78
81
  Object.defineProperty(Header.prototype, "rangeLength", {
79
82
  get: function () {
80
83
  return this.props.rangeLength !== undefined ? this.props.rangeLength : Header.defaultProps.rangeLength;
81
84
  },
82
- enumerable: true,
85
+ enumerable: false,
83
86
  configurable: true
84
87
  });
85
88
  Object.defineProperty(Header.prototype, "canMoveUp", {
86
89
  get: function () {
87
90
  return this.props.bus.canMoveUp(this.props.activeView);
88
91
  },
89
- enumerable: true,
92
+ enumerable: false,
90
93
  configurable: true
91
94
  });
92
95
  Header.prototype.render = function () {
@@ -52,10 +52,10 @@ export declare class HorizontalViewList extends React.Component<HorizontalViewLi
52
52
  };
53
53
  private _element;
54
54
  private isActive;
55
- readonly element: HTMLDivElement | null;
56
- protected readonly weekNumber: boolean;
57
- protected readonly min: Date;
58
- protected readonly max: Date;
55
+ get element(): HTMLDivElement | null;
56
+ protected get weekNumber(): boolean;
57
+ protected get min(): Date;
58
+ protected get max(): Date;
59
59
  constructor(props: HorizontalViewListProps);
60
60
  focusActiveDate: () => void;
61
61
  blurActiveDate: () => void;
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.HorizontalViewList = void 0;
16
19
  var React = require("react");
17
20
  var View_1 = require("./View");
18
21
  var models_1 = require("../models");
@@ -82,14 +85,14 @@ var HorizontalViewList = /** @class */ (function (_super) {
82
85
  get: function () {
83
86
  return this._element;
84
87
  },
85
- enumerable: true,
88
+ enumerable: false,
86
89
  configurable: true
87
90
  });
88
91
  Object.defineProperty(HorizontalViewList.prototype, "weekNumber", {
89
92
  get: function () {
90
93
  return Boolean(this.props.showWeekNumbers && this.props.activeView === models_1.CalendarViewEnum.month);
91
94
  },
92
- enumerable: true,
95
+ enumerable: false,
93
96
  configurable: true
94
97
  });
95
98
  Object.defineProperty(HorizontalViewList.prototype, "min", {
@@ -98,7 +101,7 @@ var HorizontalViewList = /** @class */ (function (_super) {
98
101
  ? this.props.min
99
102
  : HorizontalViewList.defaultProps.min;
100
103
  },
101
- enumerable: true,
104
+ enumerable: false,
102
105
  configurable: true
103
106
  });
104
107
  Object.defineProperty(HorizontalViewList.prototype, "max", {
@@ -107,7 +110,7 @@ var HorizontalViewList = /** @class */ (function (_super) {
107
110
  ? this.props.max
108
111
  : HorizontalViewList.defaultProps.max;
109
112
  },
110
- enumerable: true,
113
+ enumerable: false,
111
114
  configurable: true
112
115
  });
113
116
  HorizontalViewList.prototype.componentDidUpdate = function () {
@@ -49,7 +49,7 @@ export declare class MultiViewCalendarWithoutContext extends React.Component<Mul
49
49
  * @hidden
50
50
  */
51
51
  static propTypes: {
52
- activeRangeEnd: PropTypes.Requireable<SelectionRangeEnd>;
52
+ activeRangeEnd: PropTypes.Requireable<"end" | "start">;
53
53
  allowReverse: PropTypes.Requireable<boolean>;
54
54
  bottomView: PropTypes.Requireable<ActiveView>;
55
55
  className: PropTypes.Requireable<string>;
@@ -62,7 +62,7 @@ export declare class MultiViewCalendarWithoutContext extends React.Component<Mul
62
62
  ariaDescribedBy: PropTypes.Requireable<string>;
63
63
  max: PropTypes.Requireable<Date>;
64
64
  min: PropTypes.Requireable<Date>;
65
- mode: PropTypes.Requireable<import("../models").MultiViewCalendarMode>;
65
+ mode: PropTypes.Requireable<"range" | "multiple" | "single">;
66
66
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
67
67
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
68
68
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
@@ -111,21 +111,21 @@ export declare class MultiViewCalendarWithoutContext extends React.Component<Mul
111
111
  /**
112
112
  * Gets the wrapping element of the MultiViewCalendar component.
113
113
  */
114
- readonly element: HTMLDivElement | null;
114
+ get element(): HTMLDivElement | null;
115
115
  /**
116
116
  * Gets the value of the MultiViewCalendar.
117
117
  */
118
- readonly value: Date | Date[] | SelectionRange | null;
118
+ get value(): Date | Date[] | SelectionRange | null;
119
119
  /**
120
120
  * Gets the current focused date of the MultiViewCalendar.
121
121
  */
122
- readonly focusedDate: Date;
123
- protected readonly min: Date;
124
- protected readonly max: Date;
125
- protected readonly bottomView: CalendarViewEnum;
126
- protected readonly topView: CalendarViewEnum;
127
- protected readonly activeRange: SelectionRangeEnd;
128
- protected readonly todayIsInRange: boolean;
122
+ get focusedDate(): Date;
123
+ protected get min(): Date;
124
+ protected get max(): Date;
125
+ protected get bottomView(): CalendarViewEnum;
126
+ protected get topView(): CalendarViewEnum;
127
+ protected get activeRange(): SelectionRangeEnd;
128
+ protected get todayIsInRange(): boolean;
129
129
  constructor(props: MultiViewCalendarProps);
130
130
  /**
131
131
  * @hidden