@progress/kendo-react-dateinputs 5.4.0-dev.202205250548 → 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 (163) 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/dateinput/DateInput.d.ts +17 -17
  31. package/dist/es/dateinput/DateInput.js +23 -16
  32. package/dist/es/dateinput/models/DateInputSettings.js +1 -0
  33. package/dist/es/dateinput/models/format-placeholder.js +1 -0
  34. package/dist/es/dateinput/models/incremental-steps.js +1 -0
  35. package/dist/es/dateinput/models/kendo-date.d.ts +2 -2
  36. package/dist/es/dateinput/models/kendo-date.js +2 -2
  37. package/dist/es/dateinput/models/selection.js +1 -0
  38. package/dist/es/dateinput/utils.d.ts +1 -1
  39. package/dist/es/datepicker/DatePicker.d.ts +21 -21
  40. package/dist/es/datepicker/DatePicker.js +24 -20
  41. package/dist/es/datepicker/models/DatePickerSettings.js +1 -0
  42. package/dist/es/datepicker/models/index.js +1 -0
  43. package/dist/es/daterangepicker/DateRangePicker.d.ts +11 -11
  44. package/dist/es/daterangepicker/DateRangePicker.js +16 -14
  45. package/dist/es/daterangepicker/models/DateRangePickerCalendarSettings.js +1 -0
  46. package/dist/es/daterangepicker/models/DateRangePickerDateInputSettings.js +1 -0
  47. package/dist/es/daterangepicker/models/DateRangePickerPopupSettings.js +1 -0
  48. package/dist/es/daterangepicker/models/DateRangePickerSettings.js +1 -0
  49. package/dist/es/daterangepicker/models/index.js +1 -0
  50. package/dist/es/datetimepicker/DateTimePicker.d.ts +16 -16
  51. package/dist/es/datetimepicker/DateTimePicker.js +30 -15
  52. package/dist/es/datetimepicker/DateTimeSelector.d.ts +6 -6
  53. package/dist/es/datetimepicker/DateTimeSelector.js +12 -7
  54. package/dist/es/datetimepicker/models/DateTimePickerSettings.js +1 -0
  55. package/dist/es/datetimepicker/models/index.js +1 -0
  56. package/dist/es/hooks/usePickerFloatingLabel.d.ts +1 -1
  57. package/dist/es/messages/index.d.ts +21 -21
  58. package/dist/es/package-metadata.js +1 -1
  59. package/dist/es/timepicker/TimeList.d.ts +5 -5
  60. package/dist/es/timepicker/TimeList.js +8 -6
  61. package/dist/es/timepicker/TimePart.d.ts +7 -7
  62. package/dist/es/timepicker/TimePart.js +10 -8
  63. package/dist/es/timepicker/TimePicker.d.ts +19 -19
  64. package/dist/es/timepicker/TimePicker.js +23 -19
  65. package/dist/es/timepicker/TimeSelector.d.ts +4 -4
  66. package/dist/es/timepicker/TimeSelector.js +7 -5
  67. package/dist/es/timepicker/models/IncrementalSteps.js +1 -0
  68. package/dist/es/timepicker/models/ListItem.js +1 -0
  69. package/dist/es/timepicker/models/ListService.js +1 -0
  70. package/dist/es/timepicker/models/ListServiceSettings.js +1 -0
  71. package/dist/es/timepicker/models/TimePickerSettings.js +1 -0
  72. package/dist/es/timepicker/utils.d.ts +4 -4
  73. package/dist/es/utils.d.ts +1 -1
  74. package/dist/es/utils.js +6 -1
  75. package/dist/es/virtualization/Virtualization.d.ts +7 -7
  76. package/dist/es/virtualization/Virtualization.js +9 -7
  77. package/dist/es/virtualization/services/RowHeightService.js +6 -1
  78. package/dist/npm/calendar/components/Calendar.d.ts +8 -8
  79. package/dist/npm/calendar/components/Calendar.js +10 -7
  80. package/dist/npm/calendar/components/CalendarCell.js +8 -3
  81. package/dist/npm/calendar/components/CalendarHeaderTitle.js +8 -3
  82. package/dist/npm/calendar/components/CalendarNavigationItem.js +8 -3
  83. package/dist/npm/calendar/components/CalendarWeekCell.js +8 -3
  84. package/dist/npm/calendar/components/Header.d.ts +4 -4
  85. package/dist/npm/calendar/components/Header.js +8 -5
  86. package/dist/npm/calendar/components/HorizontalViewList.d.ts +4 -4
  87. package/dist/npm/calendar/components/HorizontalViewList.js +8 -5
  88. package/dist/npm/calendar/components/MultiViewCalendar.d.ts +11 -11
  89. package/dist/npm/calendar/components/MultiViewCalendar.js +13 -10
  90. package/dist/npm/calendar/components/Navigation.d.ts +1 -1
  91. package/dist/npm/calendar/components/Navigation.js +5 -2
  92. package/dist/npm/calendar/components/TodayCommand.d.ts +3 -3
  93. package/dist/npm/calendar/components/TodayCommand.js +7 -4
  94. package/dist/npm/calendar/components/View.d.ts +7 -7
  95. package/dist/npm/calendar/components/View.js +11 -8
  96. package/dist/npm/calendar/components/ViewList.d.ts +6 -6
  97. package/dist/npm/calendar/components/ViewList.js +10 -7
  98. package/dist/npm/calendar/models/CalendarViewEnum.js +1 -0
  99. package/dist/npm/calendar/models/NavigationAction.js +1 -0
  100. package/dist/npm/calendar/models/SelectionRange.js +1 -0
  101. package/dist/npm/calendar/models/index.js +4 -3
  102. package/dist/npm/calendar/services/BusViewService.js +2 -1
  103. package/dist/npm/calendar/services/CenturyViewService.js +2 -1
  104. package/dist/npm/calendar/services/DOMService.js +1 -0
  105. package/dist/npm/calendar/services/DecadeViewService.js +2 -1
  106. package/dist/npm/calendar/services/MonthViewService.js +2 -1
  107. package/dist/npm/calendar/services/NavigationService.js +1 -0
  108. package/dist/npm/calendar/services/ScrollSyncService.js +1 -0
  109. package/dist/npm/calendar/services/WeekNamesService.js +1 -0
  110. package/dist/npm/calendar/services/YearViewService.js +2 -1
  111. package/dist/npm/calendar/services/index.js +10 -9
  112. package/dist/npm/common/PickerWrap.js +1 -0
  113. package/dist/npm/dateinput/DateInput.d.ts +17 -17
  114. package/dist/npm/dateinput/DateInput.js +24 -16
  115. package/dist/npm/dateinput/models/index.js +3 -2
  116. package/dist/npm/dateinput/models/kendo-date.d.ts +2 -2
  117. package/dist/npm/dateinput/models/kendo-date.js +3 -2
  118. package/dist/npm/dateinput/models/mask.js +1 -0
  119. package/dist/npm/dateinput/utils.d.ts +1 -1
  120. package/dist/npm/dateinput/utils.js +9 -4
  121. package/dist/npm/datepicker/DatePicker.d.ts +21 -21
  122. package/dist/npm/datepicker/DatePicker.js +25 -20
  123. package/dist/npm/datepicker/ToggleButton.js +1 -0
  124. package/dist/npm/daterangepicker/DateRangePicker.d.ts +11 -11
  125. package/dist/npm/daterangepicker/DateRangePicker.js +17 -14
  126. package/dist/npm/datetimepicker/DateTimePicker.d.ts +16 -16
  127. package/dist/npm/datetimepicker/DateTimePicker.js +31 -15
  128. package/dist/npm/datetimepicker/DateTimeSelector.d.ts +6 -6
  129. package/dist/npm/datetimepicker/DateTimeSelector.js +13 -7
  130. package/dist/npm/defaults.js +1 -0
  131. package/dist/npm/hooks/usePickerFloatingLabel.d.ts +1 -1
  132. package/dist/npm/hooks/usePickerFloatingLabel.js +5 -2
  133. package/dist/npm/main.js +22 -21
  134. package/dist/npm/messages/index.d.ts +21 -21
  135. package/dist/npm/messages/index.js +2 -1
  136. package/dist/npm/package-metadata.js +2 -1
  137. package/dist/npm/timepicker/TimeList.d.ts +5 -5
  138. package/dist/npm/timepicker/TimeList.js +10 -7
  139. package/dist/npm/timepicker/TimePart.d.ts +7 -7
  140. package/dist/npm/timepicker/TimePart.js +11 -8
  141. package/dist/npm/timepicker/TimePicker.d.ts +19 -19
  142. package/dist/npm/timepicker/TimePicker.js +24 -19
  143. package/dist/npm/timepicker/TimeSelector.d.ts +4 -4
  144. package/dist/npm/timepicker/TimeSelector.js +8 -5
  145. package/dist/npm/timepicker/models/TimePart.js +1 -0
  146. package/dist/npm/timepicker/models/index.js +2 -1
  147. package/dist/npm/timepicker/services/DOMService.js +1 -0
  148. package/dist/npm/timepicker/services/DayPeriodService.js +1 -0
  149. package/dist/npm/timepicker/services/HoursService.js +1 -0
  150. package/dist/npm/timepicker/services/MinutesService.js +1 -0
  151. package/dist/npm/timepicker/services/SecondsService.js +1 -0
  152. package/dist/npm/timepicker/services/index.js +6 -5
  153. package/dist/npm/timepicker/utils.d.ts +4 -4
  154. package/dist/npm/timepicker/utils.js +19 -9
  155. package/dist/npm/utils.d.ts +1 -1
  156. package/dist/npm/utils.js +33 -14
  157. package/dist/npm/virtualization/Virtualization.d.ts +7 -7
  158. package/dist/npm/virtualization/Virtualization.js +11 -8
  159. package/dist/npm/virtualization/services/RowHeightService.js +7 -1
  160. package/dist/npm/virtualization/services/ScrollerService.js +1 -0
  161. package/dist/npm/virtualization/services/index.js +5 -4
  162. package/dist/systemjs/kendo-react-dateinputs.js +1 -1
  163. package/package.json +12 -12
@@ -0,0 +1 @@
1
+ export {};
@@ -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
@@ -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 __());
@@ -191,7 +193,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
191
193
  get: function () {
192
194
  return this._element;
193
195
  },
194
- enumerable: true,
196
+ enumerable: false,
195
197
  configurable: true
196
198
  });
197
199
  Object.defineProperty(CalendarWithoutContext.prototype, "value", {
@@ -205,7 +207,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
205
207
  ? this.props.value
206
208
  : this.state.value;
207
209
  },
208
- enumerable: true,
210
+ enumerable: false,
209
211
  configurable: true
210
212
  });
211
213
  Object.defineProperty(CalendarWithoutContext.prototype, "min", {
@@ -214,7 +216,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
214
216
  ? this.props.min
215
217
  : CalendarWithoutContext.defaultProps.min);
216
218
  },
217
- enumerable: true,
219
+ enumerable: false,
218
220
  configurable: true
219
221
  });
220
222
  Object.defineProperty(CalendarWithoutContext.prototype, "max", {
@@ -223,7 +225,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
223
225
  ? this.props.max
224
226
  : CalendarWithoutContext.defaultProps.max);
225
227
  },
226
- enumerable: true,
228
+ enumerable: false,
227
229
  configurable: true
228
230
  });
229
231
  Object.defineProperty(CalendarWithoutContext.prototype, "bottomView", {
@@ -232,7 +234,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
232
234
  ? this.props.bottomView
233
235
  : CalendarWithoutContext.defaultProps.bottomView];
234
236
  },
235
- enumerable: true,
237
+ enumerable: false,
236
238
  configurable: true
237
239
  });
238
240
  Object.defineProperty(CalendarWithoutContext.prototype, "topView", {
@@ -241,7 +243,7 @@ var CalendarWithoutContext = /** @class */ (function (_super) {
241
243
  ? this.props.topView
242
244
  : CalendarWithoutContext.defaultProps.topView];
243
245
  },
244
- enumerable: true,
246
+ enumerable: false,
245
247
  configurable: true
246
248
  });
247
249
  /**
@@ -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 __());
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
27
29
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
28
30
  t[p] = s[p];
29
31
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
30
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
31
- t[p[i]] = s[p[i]];
32
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
33
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
34
+ t[p[i]] = s[p[i]];
35
+ }
32
36
  return t;
33
37
  };
34
38
  import * as React from 'react';
@@ -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 __());
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
27
29
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
28
30
  t[p] = s[p];
29
31
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
30
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
31
- t[p[i]] = s[p[i]];
32
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
33
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
34
+ t[p[i]] = s[p[i]];
35
+ }
32
36
  return t;
33
37
  };
34
38
  import { Button } from '@progress/kendo-react-buttons';
@@ -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 __());
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
27
29
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
28
30
  t[p] = s[p];
29
31
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
30
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
31
- t[p[i]] = s[p[i]];
32
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
33
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
34
+ t[p[i]] = s[p[i]];
35
+ }
32
36
  return t;
33
37
  };
34
38
  import * as React from 'react';
@@ -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 __());
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
27
29
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
28
30
  t[p] = s[p];
29
31
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
30
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
31
- t[p[i]] = s[p[i]];
32
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
33
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
34
+ t[p[i]] = s[p[i]];
35
+ }
32
36
  return t;
33
37
  };
34
38
  import * as React from 'react';
@@ -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;
@@ -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 __());
@@ -61,7 +63,7 @@ var Header = /** @class */ (function (_super) {
61
63
  ? this.props.min
62
64
  : Header.defaultProps.min;
63
65
  },
64
- enumerable: true,
66
+ enumerable: false,
65
67
  configurable: true
66
68
  });
67
69
  Object.defineProperty(Header.prototype, "max", {
@@ -70,21 +72,21 @@ var Header = /** @class */ (function (_super) {
70
72
  ? this.props.max
71
73
  : Header.defaultProps.max;
72
74
  },
73
- enumerable: true,
75
+ enumerable: false,
74
76
  configurable: true
75
77
  });
76
78
  Object.defineProperty(Header.prototype, "rangeLength", {
77
79
  get: function () {
78
80
  return this.props.rangeLength !== undefined ? this.props.rangeLength : Header.defaultProps.rangeLength;
79
81
  },
80
- enumerable: true,
82
+ enumerable: false,
81
83
  configurable: true
82
84
  });
83
85
  Object.defineProperty(Header.prototype, "canMoveUp", {
84
86
  get: function () {
85
87
  return this.props.bus.canMoveUp(this.props.activeView);
86
88
  },
87
- enumerable: true,
89
+ enumerable: false,
88
90
  configurable: true
89
91
  });
90
92
  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;
@@ -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 __());
@@ -80,14 +82,14 @@ var HorizontalViewList = /** @class */ (function (_super) {
80
82
  get: function () {
81
83
  return this._element;
82
84
  },
83
- enumerable: true,
85
+ enumerable: false,
84
86
  configurable: true
85
87
  });
86
88
  Object.defineProperty(HorizontalViewList.prototype, "weekNumber", {
87
89
  get: function () {
88
90
  return Boolean(this.props.showWeekNumbers && this.props.activeView === CalendarViewEnum.month);
89
91
  },
90
- enumerable: true,
92
+ enumerable: false,
91
93
  configurable: true
92
94
  });
93
95
  Object.defineProperty(HorizontalViewList.prototype, "min", {
@@ -96,7 +98,7 @@ var HorizontalViewList = /** @class */ (function (_super) {
96
98
  ? this.props.min
97
99
  : HorizontalViewList.defaultProps.min;
98
100
  },
99
- enumerable: true,
101
+ enumerable: false,
100
102
  configurable: true
101
103
  });
102
104
  Object.defineProperty(HorizontalViewList.prototype, "max", {
@@ -105,7 +107,7 @@ var HorizontalViewList = /** @class */ (function (_super) {
105
107
  ? this.props.max
106
108
  : HorizontalViewList.defaultProps.max;
107
109
  },
108
- enumerable: true,
110
+ enumerable: false,
109
111
  configurable: true
110
112
  });
111
113
  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
@@ -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 __());
@@ -315,7 +317,7 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
315
317
  get: function () {
316
318
  return this._element;
317
319
  },
318
- enumerable: true,
320
+ enumerable: false,
319
321
  configurable: true
320
322
  });
321
323
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "value", {
@@ -329,7 +331,7 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
329
331
  ? this.props.value
330
332
  : this.state.value;
331
333
  },
332
- enumerable: true,
334
+ enumerable: false,
333
335
  configurable: true
334
336
  });
335
337
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "focusedDate", {
@@ -339,7 +341,7 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
339
341
  get: function () {
340
342
  return cloneDate(this._focusedDate);
341
343
  },
342
- enumerable: true,
344
+ enumerable: false,
343
345
  configurable: true
344
346
  });
345
347
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "min", {
@@ -348,7 +350,7 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
348
350
  ? this.props.min
349
351
  : MultiViewCalendarWithoutContext.defaultProps.min);
350
352
  },
351
- enumerable: true,
353
+ enumerable: false,
352
354
  configurable: true
353
355
  });
354
356
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "max", {
@@ -357,7 +359,7 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
357
359
  ? this.props.max
358
360
  : MultiViewCalendarWithoutContext.defaultProps.max);
359
361
  },
360
- enumerable: true,
362
+ enumerable: false,
361
363
  configurable: true
362
364
  });
363
365
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "bottomView", {
@@ -366,7 +368,7 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
366
368
  ? this.props.bottomView
367
369
  : MultiViewCalendarWithoutContext.defaultProps.bottomView];
368
370
  },
369
- enumerable: true,
371
+ enumerable: false,
370
372
  configurable: true
371
373
  });
372
374
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "topView", {
@@ -375,7 +377,7 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
375
377
  ? this.props.topView
376
378
  : MultiViewCalendarWithoutContext.defaultProps.topView];
377
379
  },
378
- enumerable: true,
380
+ enumerable: false,
379
381
  configurable: true
380
382
  });
381
383
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "activeRange", {
@@ -384,14 +386,14 @@ var MultiViewCalendarWithoutContext = /** @class */ (function (_super) {
384
386
  ? this.props.activeRangeEnd
385
387
  : this.activeRangeEnd;
386
388
  },
387
- enumerable: true,
389
+ enumerable: false,
388
390
  configurable: true
389
391
  });
390
392
  Object.defineProperty(MultiViewCalendarWithoutContext.prototype, "todayIsInRange", {
391
393
  get: function () {
392
394
  return isInRange(getToday(), getDate(this.min), getDate(this.max));
393
395
  },
394
- enumerable: true,
396
+ enumerable: false,
395
397
  configurable: true
396
398
  });
397
399
  /**
@@ -58,7 +58,7 @@ export declare class Navigation extends React.Component<NavigationProps, Navigat
58
58
  private lastView;
59
59
  private indexToScroll?;
60
60
  private lastFocus;
61
- protected readonly take: number;
61
+ protected get take(): number;
62
62
  constructor(props: NavigationProps);
63
63
  /**
64
64
  * @hidden
@@ -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 __());
@@ -106,7 +108,7 @@ var Navigation = /** @class */ (function (_super) {
106
108
  ? this.props.take
107
109
  : Navigation.defaultProps.take;
108
110
  },
109
- enumerable: true,
111
+ enumerable: false,
110
112
  configurable: true
111
113
  });
112
114
  /**
@@ -21,10 +21,10 @@ export declare class TodayCommand extends React.Component<TodayCommandProps> {
21
21
  min: Date;
22
22
  max: Date;
23
23
  };
24
- protected readonly min: Date;
25
- protected readonly max: Date;
24
+ protected get min(): Date;
25
+ protected get max(): Date;
26
26
  private localization;
27
- protected readonly todayIsInRange: boolean;
27
+ protected get todayIsInRange(): boolean;
28
28
  private handleClick;
29
29
  render(): JSX.Element;
30
30
  }
@@ -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 __());
@@ -45,7 +47,7 @@ var TodayCommand = /** @class */ (function (_super) {
45
47
  ? this.props.min
46
48
  : TodayCommand.defaultProps.min;
47
49
  },
48
- enumerable: true,
50
+ enumerable: false,
49
51
  configurable: true
50
52
  });
51
53
  Object.defineProperty(TodayCommand.prototype, "max", {
@@ -54,14 +56,14 @@ var TodayCommand = /** @class */ (function (_super) {
54
56
  ? this.props.max
55
57
  : TodayCommand.defaultProps.max;
56
58
  },
57
- enumerable: true,
59
+ enumerable: false,
58
60
  configurable: true
59
61
  });
60
62
  Object.defineProperty(TodayCommand.prototype, "todayIsInRange", {
61
63
  get: function () {
62
64
  return isInRange(getToday(), getDate(this.min), getDate(this.max));
63
65
  },
64
- enumerable: true,
66
+ enumerable: false,
65
67
  configurable: true
66
68
  });
67
69
  TodayCommand.prototype.render = function () {
@@ -67,18 +67,18 @@ export declare class View extends React.Component<ViewProps, {}> {
67
67
  };
68
68
  private intl;
69
69
  private weekService;
70
- protected readonly min: Date;
71
- protected readonly max: Date;
72
- protected readonly isHorizontal: boolean;
73
- protected readonly isMonthView: boolean;
74
- protected readonly weekNumber: boolean;
75
- protected readonly selectedDate: Date | Date[] | null;
70
+ protected get min(): Date;
71
+ protected get max(): Date;
72
+ protected get isHorizontal(): boolean;
73
+ protected get isMonthView(): boolean;
74
+ protected get weekNumber(): boolean;
75
+ protected get selectedDate(): Date | Date[] | null;
76
76
  render(): JSX.Element;
77
77
  protected buildWeekNumber: (row: any, idx: number) => JSX.Element;
78
78
  protected buildRow: (row: any) => any;
79
79
  protected getWeekNumber(date: Date): number | null;
80
80
  protected firstDate: (row: any) => Date;
81
- protected firstWeekDateContext: (rowCtx: CellContext[]) => CellContext;
81
+ protected firstWeekDateContext: (rowCtx: CellContext[]) => CellContext | null;
82
82
  private handleClick;
83
83
  private handleMouseEnter;
84
84
  private handleMouseLeave;