@progress/kendo-react-dateinputs 5.4.0-dev.202205200719 → 5.4.0-dev.202206061009

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 (178) 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 +10 -10
  4. package/dist/es/calendar/components/Calendar.js +26 -12
  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 +5 -4
  10. package/dist/es/calendar/components/Header.js +8 -6
  11. package/dist/es/calendar/components/HorizontalViewList.d.ts +4 -4
  12. package/dist/es/calendar/components/HorizontalViewList.js +8 -5
  13. package/dist/es/calendar/components/MultiViewCalendar.d.ts +13 -13
  14. package/dist/es/calendar/components/MultiViewCalendar.js +24 -15
  15. package/dist/es/calendar/components/Navigation.d.ts +1 -1
  16. package/dist/es/calendar/components/Navigation.js +13 -6
  17. package/dist/es/calendar/components/TodayCommand.d.ts +3 -3
  18. package/dist/es/calendar/components/TodayCommand.js +10 -6
  19. package/dist/es/calendar/components/View.d.ts +11 -11
  20. package/dist/es/calendar/components/View.js +17 -13
  21. package/dist/es/calendar/components/ViewList.d.ts +6 -6
  22. package/dist/es/calendar/components/ViewList.js +19 -9
  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/BusViewService.js +1 -1
  31. package/dist/es/calendar/services/CenturyViewService.js +2 -2
  32. package/dist/es/calendar/services/DOMService.js +24 -6
  33. package/dist/es/calendar/services/DecadeViewService.js +2 -2
  34. package/dist/es/calendar/services/MonthViewService.js +2 -2
  35. package/dist/es/calendar/services/NavigationService.js +1 -1
  36. package/dist/es/calendar/services/ScrollSyncService.js +5 -1
  37. package/dist/es/calendar/services/YearViewService.js +2 -2
  38. package/dist/es/dateinput/DateInput.d.ts +24 -20
  39. package/dist/es/dateinput/DateInput.js +32 -19
  40. package/dist/es/dateinput/models/DateInputSettings.js +1 -0
  41. package/dist/es/dateinput/models/format-placeholder.js +1 -0
  42. package/dist/es/dateinput/models/incremental-steps.js +1 -0
  43. package/dist/es/dateinput/models/kendo-date.d.ts +2 -2
  44. package/dist/es/dateinput/models/kendo-date.js +2 -2
  45. package/dist/es/dateinput/models/mask.js +1 -0
  46. package/dist/es/dateinput/models/selection.js +1 -0
  47. package/dist/es/dateinput/utils.d.ts +1 -1
  48. package/dist/es/datepicker/DatePicker.d.ts +25 -25
  49. package/dist/es/datepicker/DatePicker.js +28 -23
  50. package/dist/es/datepicker/models/DatePickerSettings.js +1 -0
  51. package/dist/es/datepicker/models/index.js +1 -0
  52. package/dist/es/daterangepicker/DateRangePicker.d.ts +12 -12
  53. package/dist/es/daterangepicker/DateRangePicker.js +16 -14
  54. package/dist/es/daterangepicker/models/DateRangePickerCalendarSettings.js +1 -0
  55. package/dist/es/daterangepicker/models/DateRangePickerDateInputSettings.js +1 -0
  56. package/dist/es/daterangepicker/models/DateRangePickerPopupSettings.js +1 -0
  57. package/dist/es/daterangepicker/models/DateRangePickerSettings.js +1 -0
  58. package/dist/es/daterangepicker/models/index.js +1 -0
  59. package/dist/es/datetimepicker/DateTimePicker.d.ts +19 -19
  60. package/dist/es/datetimepicker/DateTimePicker.js +33 -18
  61. package/dist/es/datetimepicker/DateTimeSelector.d.ts +7 -7
  62. package/dist/es/datetimepicker/DateTimeSelector.js +17 -7
  63. package/dist/es/datetimepicker/models/DateTimePickerSettings.js +1 -0
  64. package/dist/es/datetimepicker/models/index.js +1 -0
  65. package/dist/es/hooks/usePickerFloatingLabel.d.ts +1 -1
  66. package/dist/es/messages/index.d.ts +21 -21
  67. package/dist/es/package-metadata.js +1 -1
  68. package/dist/es/timepicker/TimeList.d.ts +8 -8
  69. package/dist/es/timepicker/TimeList.js +33 -13
  70. package/dist/es/timepicker/TimePart.d.ts +10 -10
  71. package/dist/es/timepicker/TimePart.js +14 -9
  72. package/dist/es/timepicker/TimePicker.d.ts +22 -22
  73. package/dist/es/timepicker/TimePicker.js +27 -22
  74. package/dist/es/timepicker/TimeSelector.d.ts +6 -6
  75. package/dist/es/timepicker/TimeSelector.js +11 -5
  76. package/dist/es/timepicker/models/IncrementalSteps.js +1 -0
  77. package/dist/es/timepicker/models/ListItem.js +1 -0
  78. package/dist/es/timepicker/models/ListService.js +1 -0
  79. package/dist/es/timepicker/models/ListServiceSettings.js +1 -0
  80. package/dist/es/timepicker/models/TimePickerSettings.js +1 -0
  81. package/dist/es/timepicker/services/DOMService.js +2 -0
  82. package/dist/es/timepicker/services/DayPeriodService.js +9 -3
  83. package/dist/es/timepicker/services/HoursService.js +14 -5
  84. package/dist/es/timepicker/services/MinutesService.js +12 -6
  85. package/dist/es/timepicker/services/SecondsService.js +12 -6
  86. package/dist/es/timepicker/utils.d.ts +4 -4
  87. package/dist/es/utils.d.ts +1 -1
  88. package/dist/es/utils.js +10 -1
  89. package/dist/es/virtualization/Virtualization.d.ts +8 -7
  90. package/dist/es/virtualization/Virtualization.js +22 -12
  91. package/dist/es/virtualization/services/RowHeightService.js +10 -1
  92. package/dist/es/virtualization/services/ScrollerService.js +9 -3
  93. package/dist/npm/calendar/components/Calendar.d.ts +10 -10
  94. package/dist/npm/calendar/components/Calendar.js +53 -38
  95. package/dist/npm/calendar/components/CalendarCell.js +9 -4
  96. package/dist/npm/calendar/components/CalendarHeaderTitle.js +8 -3
  97. package/dist/npm/calendar/components/CalendarNavigationItem.js +9 -4
  98. package/dist/npm/calendar/components/CalendarWeekCell.js +9 -4
  99. package/dist/npm/calendar/components/Header.d.ts +5 -4
  100. package/dist/npm/calendar/components/Header.js +11 -8
  101. package/dist/npm/calendar/components/HorizontalViewList.d.ts +4 -4
  102. package/dist/npm/calendar/components/HorizontalViewList.js +11 -7
  103. package/dist/npm/calendar/components/MultiViewCalendar.d.ts +13 -13
  104. package/dist/npm/calendar/components/MultiViewCalendar.js +62 -52
  105. package/dist/npm/calendar/components/Navigation.d.ts +1 -1
  106. package/dist/npm/calendar/components/Navigation.js +18 -10
  107. package/dist/npm/calendar/components/TodayCommand.d.ts +3 -3
  108. package/dist/npm/calendar/components/TodayCommand.js +16 -11
  109. package/dist/npm/calendar/components/View.d.ts +11 -11
  110. package/dist/npm/calendar/components/View.js +27 -22
  111. package/dist/npm/calendar/components/ViewList.d.ts +6 -6
  112. package/dist/npm/calendar/components/ViewList.js +29 -18
  113. package/dist/npm/calendar/models/CalendarViewEnum.js +1 -0
  114. package/dist/npm/calendar/models/NavigationAction.js +1 -0
  115. package/dist/npm/calendar/models/SelectionRange.js +1 -0
  116. package/dist/npm/calendar/models/index.js +4 -3
  117. package/dist/npm/calendar/services/BusViewService.js +3 -2
  118. package/dist/npm/calendar/services/CenturyViewService.js +40 -39
  119. package/dist/npm/calendar/services/DOMService.js +34 -15
  120. package/dist/npm/calendar/services/DecadeViewService.js +34 -33
  121. package/dist/npm/calendar/services/MonthViewService.js +38 -37
  122. package/dist/npm/calendar/services/NavigationService.js +2 -1
  123. package/dist/npm/calendar/services/ScrollSyncService.js +6 -1
  124. package/dist/npm/calendar/services/WeekNamesService.js +2 -1
  125. package/dist/npm/calendar/services/YearViewService.js +35 -34
  126. package/dist/npm/calendar/services/index.js +10 -9
  127. package/dist/npm/common/PickerWrap.js +2 -1
  128. package/dist/npm/dateinput/DateInput.d.ts +24 -20
  129. package/dist/npm/dateinput/DateInput.js +51 -37
  130. package/dist/npm/dateinput/models/index.js +3 -2
  131. package/dist/npm/dateinput/models/kendo-date.d.ts +2 -2
  132. package/dist/npm/dateinput/models/kendo-date.js +14 -13
  133. package/dist/npm/dateinput/models/mask.js +2 -0
  134. package/dist/npm/dateinput/utils.d.ts +1 -1
  135. package/dist/npm/dateinput/utils.js +9 -4
  136. package/dist/npm/datepicker/DatePicker.d.ts +25 -25
  137. package/dist/npm/datepicker/DatePicker.js +42 -36
  138. package/dist/npm/datepicker/ToggleButton.js +1 -0
  139. package/dist/npm/daterangepicker/DateRangePicker.d.ts +12 -12
  140. package/dist/npm/daterangepicker/DateRangePicker.js +34 -31
  141. package/dist/npm/datetimepicker/DateTimePicker.d.ts +19 -19
  142. package/dist/npm/datetimepicker/DateTimePicker.js +46 -30
  143. package/dist/npm/datetimepicker/DateTimeSelector.d.ts +7 -7
  144. package/dist/npm/datetimepicker/DateTimeSelector.js +26 -15
  145. package/dist/npm/defaults.js +1 -0
  146. package/dist/npm/hooks/usePickerFloatingLabel.d.ts +1 -1
  147. package/dist/npm/hooks/usePickerFloatingLabel.js +6 -3
  148. package/dist/npm/main.js +22 -21
  149. package/dist/npm/messages/index.d.ts +21 -21
  150. package/dist/npm/messages/index.js +2 -1
  151. package/dist/npm/package-metadata.js +2 -1
  152. package/dist/npm/timepicker/TimeList.d.ts +8 -8
  153. package/dist/npm/timepicker/TimeList.js +39 -18
  154. package/dist/npm/timepicker/TimePart.d.ts +10 -10
  155. package/dist/npm/timepicker/TimePart.js +25 -19
  156. package/dist/npm/timepicker/TimePicker.d.ts +22 -22
  157. package/dist/npm/timepicker/TimePicker.js +43 -37
  158. package/dist/npm/timepicker/TimeSelector.d.ts +6 -6
  159. package/dist/npm/timepicker/TimeSelector.js +22 -15
  160. package/dist/npm/timepicker/models/TimePart.js +1 -0
  161. package/dist/npm/timepicker/models/index.js +2 -1
  162. package/dist/npm/timepicker/services/DOMService.js +7 -4
  163. package/dist/npm/timepicker/services/DayPeriodService.js +11 -4
  164. package/dist/npm/timepicker/services/HoursService.js +21 -11
  165. package/dist/npm/timepicker/services/MinutesService.js +17 -10
  166. package/dist/npm/timepicker/services/SecondsService.js +17 -10
  167. package/dist/npm/timepicker/services/index.js +6 -5
  168. package/dist/npm/timepicker/utils.d.ts +4 -4
  169. package/dist/npm/timepicker/utils.js +30 -20
  170. package/dist/npm/utils.d.ts +1 -1
  171. package/dist/npm/utils.js +43 -20
  172. package/dist/npm/virtualization/Virtualization.d.ts +8 -7
  173. package/dist/npm/virtualization/Virtualization.js +26 -15
  174. package/dist/npm/virtualization/services/RowHeightService.js +11 -1
  175. package/dist/npm/virtualization/services/ScrollerService.js +10 -3
  176. package/dist/npm/virtualization/services/index.js +5 -4
  177. package/dist/systemjs/kendo-react-dateinputs.js +1 -1
  178. package/package.json +13 -13
@@ -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.DateRangePicker = exports.DateRangePickerPropsContext = exports.DateRangePickerWithoutContext = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var kendo_react_popup_1 = require("@progress/kendo-react-popup");
@@ -48,9 +51,9 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
48
51
  _this._calendar = null;
49
52
  _this._startDateInput = React.createRef();
50
53
  _this._endDateInput = React.createRef();
51
- _this._popupId = kendo_react_common_1.guid();
52
- _this._startInputId = kendo_react_common_1.guid();
53
- _this._endInputId = kendo_react_common_1.guid();
54
+ _this._popupId = (0, kendo_react_common_1.guid)();
55
+ _this._startInputId = (0, kendo_react_common_1.guid)();
56
+ _this._endInputId = (0, kendo_react_common_1.guid)();
54
57
  _this.shouldFocusDateInput = false;
55
58
  _this.shouldFocusCalendar = false;
56
59
  /**
@@ -128,13 +131,13 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
128
131
  _this.handleEndChange = function (event) {
129
132
  var value = {
130
133
  start: _this.value.start,
131
- end: kendo_date_math_1.cloneDate(event.value || undefined)
134
+ end: (0, kendo_date_math_1.cloneDate)(event.value || undefined)
132
135
  };
133
136
  _this.handleChange(value, event);
134
137
  };
135
138
  _this.handleStartChange = function (event) {
136
139
  var value = {
137
- start: kendo_date_math_1.cloneDate(event.value || undefined),
140
+ start: (0, kendo_date_math_1.cloneDate)(event.value || undefined),
138
141
  end: _this.value.end
139
142
  };
140
143
  _this.handleChange(value, event);
@@ -193,7 +196,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
193
196
  }
194
197
  _this.valueDuringOnChange = undefined;
195
198
  };
196
- kendo_react_common_2.validatePackage(package_metadata_1.packageMetadata);
199
+ (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
197
200
  _this.state = {
198
201
  show: _this.props.show || _this.props.defaultShow || DateRangePickerWithoutContext.defaultProps.defaultShow,
199
202
  value: _this.props.value || _this.props.defaultValue || DateRangePickerWithoutContext.defaultProps.defaultValue
@@ -211,7 +214,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
211
214
  get: function () {
212
215
  return this._element;
213
216
  },
214
- enumerable: true,
217
+ enumerable: false,
215
218
  configurable: true
216
219
  });
217
220
  Object.defineProperty(DateRangePickerWithoutContext.prototype, "startDateInput", {
@@ -221,7 +224,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
221
224
  get: function () {
222
225
  return this._startDateInput.current;
223
226
  },
224
- enumerable: true,
227
+ enumerable: false,
225
228
  configurable: true
226
229
  });
227
230
  Object.defineProperty(DateRangePickerWithoutContext.prototype, "endDateInput", {
@@ -231,7 +234,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
231
234
  get: function () {
232
235
  return this._endDateInput.current;
233
236
  },
234
- enumerable: true,
237
+ enumerable: false,
235
238
  configurable: true
236
239
  });
237
240
  Object.defineProperty(DateRangePickerWithoutContext.prototype, "calendar", {
@@ -241,7 +244,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
241
244
  get: function () {
242
245
  return this._calendar;
243
246
  },
244
- enumerable: true,
247
+ enumerable: false,
245
248
  configurable: true
246
249
  });
247
250
  Object.defineProperty(DateRangePickerWithoutContext.prototype, "value", {
@@ -256,7 +259,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
256
259
  : this.state.value;
257
260
  return value || models_1.EMPTY_SELECTIONRANGE;
258
261
  },
259
- enumerable: true,
262
+ enumerable: false,
260
263
  configurable: true
261
264
  });
262
265
  Object.defineProperty(DateRangePickerWithoutContext.prototype, "show", {
@@ -270,7 +273,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
270
273
  ? this.props.show
271
274
  : this.state.show;
272
275
  },
273
- enumerable: true,
276
+ enumerable: false,
274
277
  configurable: true
275
278
  });
276
279
  Object.defineProperty(DateRangePickerWithoutContext.prototype, "min", {
@@ -279,7 +282,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
279
282
  ? this.props.min
280
283
  : DateRangePickerWithoutContext.defaultProps.min;
281
284
  },
282
- enumerable: true,
285
+ enumerable: false,
283
286
  configurable: true
284
287
  });
285
288
  Object.defineProperty(DateRangePickerWithoutContext.prototype, "max", {
@@ -288,7 +291,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
288
291
  ? this.props.max
289
292
  : DateRangePickerWithoutContext.defaultProps.max;
290
293
  },
291
- enumerable: true,
294
+ enumerable: false,
292
295
  configurable: true
293
296
  });
294
297
  /**
@@ -327,30 +330,30 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
327
330
  var value = this.value || models_1.EMPTY_SELECTIONRANGE;
328
331
  var startDateInputId = (this.props.startDateInputSettings || {}).id || this._startInputId;
329
332
  var endDateInputId = (this.props.endDateInputSettings || {}).id || this._endInputId;
330
- var rootClassName = kendo_react_common_1.classNames('k-daterangepicker', {
333
+ var rootClassName = (0, kendo_react_common_1.classNames)('k-daterangepicker', {
331
334
  'k-disabled': this.props.disabled
332
335
  }, this.props.className);
333
- var localizationService = kendo_react_intl_1.provideLocalizationService(this);
336
+ var localizationService = (0, kendo_react_intl_1.provideLocalizationService)(this);
334
337
  var startMessage = localizationService.toLanguageString(messages_1.start, messages_1.messages[messages_1.start]);
335
338
  var endMessage = localizationService.toLanguageString(messages_1.end, messages_1.messages[messages_1.end]);
336
339
  var separatorMessage = localizationService.toLanguageString(messages_1.separator, messages_1.messages[messages_1.separator]);
337
- var startDateInputProps = __assign({ label: startMessage, format: this.props.format, min: this.min, max: this.max, id: this._startInputId, disabled: this.props.disabled, valid: this.props.valid, ariaHasPopup: true, ariaExpanded: this.show }, this.props.startDateInputSettings, { value: value.start, onChange: this.handleStartChange });
338
- var endDateInputProps = __assign({ label: endMessage, format: this.props.format, min: this.min, max: this.max, id: this._endInputId, disabled: this.props.disabled, valid: this.props.valid, ariaHasPopup: true, ariaExpanded: this.show }, this.props.endDateInputSettings, { value: value.end, onChange: this.handleEndChange });
339
- var popupProps = __assign({ animate: this._element !== null, anchor: this._element, id: this._popupId, anchorAlign: {
340
+ var startDateInputProps = __assign(__assign({ label: startMessage, format: this.props.format, min: this.min, max: this.max, id: this._startInputId, disabled: this.props.disabled, valid: this.props.valid, ariaHasPopup: true, ariaExpanded: this.show }, this.props.startDateInputSettings), { value: value.start, onChange: this.handleStartChange });
341
+ var endDateInputProps = __assign(__assign({ label: endMessage, format: this.props.format, min: this.min, max: this.max, id: this._endInputId, disabled: this.props.disabled, valid: this.props.valid, ariaHasPopup: true, ariaExpanded: this.show }, this.props.endDateInputSettings), { value: value.end, onChange: this.handleEndChange });
342
+ var popupProps = __assign(__assign({ animate: this._element !== null, anchor: this._element, id: this._popupId, anchorAlign: {
340
343
  horizontal: 'left',
341
344
  vertical: 'bottom'
342
345
  }, popupAlign: {
343
346
  horizontal: 'left',
344
347
  vertical: 'top'
345
- } }, this.props.popupSettings, { show: this.show });
346
- var calendarProps = __assign({ min: this.min, max: this.max, allowReverse: this.props.allowReverse, mode: 'range', focusedDate: this.props.focusedDate, disabled: this.props.disabled }, this.props.calendarSettings, { value: value, onChange: this.handleCalendarChange });
348
+ } }, this.props.popupSettings), { show: this.show });
349
+ var calendarProps = __assign(__assign({ min: this.min, max: this.max, allowReverse: this.props.allowReverse, mode: 'range', focusedDate: this.props.focusedDate, disabled: this.props.disabled }, this.props.calendarSettings), { value: value, onChange: this.handleCalendarChange });
347
350
  var calendar = this.props.calendar
348
351
  ? React.createElement(this.props.calendar, __assign({}, calendarProps))
349
352
  : React.createElement(MultiViewCalendar_1.MultiViewCalendar, __assign({}, calendarProps, { ref: this.setCalendarRef }));
350
- var reverseButton = (React.createElement(kendo_react_buttons_1.Button, __assign({ className: "k-select", fillMode: "flat", title: kendo_react_intl_1.provideLocalizationService(this)
353
+ var reverseButton = (React.createElement(kendo_react_buttons_1.Button, __assign({ className: "k-select", fillMode: "flat", title: (0, kendo_react_intl_1.provideLocalizationService)(this)
351
354
  .toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd]), onMouseDown: this.handleReverseMouseDown, onClick: this.handleReverseClick }, {
352
355
  'aria-controls': startDateInputId + ' ' + endDateInputId,
353
- 'aria-label': kendo_react_intl_1.provideLocalizationService(this)
356
+ 'aria-label': (0, kendo_react_intl_1.provideLocalizationService)(this)
354
357
  .toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd])
355
358
  }),
356
359
  React.createElement("span", { style: { transform: 'rotate(90deg)' }, className: "k-icon k-i-arrows-swap" })));
@@ -411,8 +414,8 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
411
414
  className: PropTypes.string,
412
415
  defaultShow: PropTypes.bool,
413
416
  defaultValue: PropTypes.shape({
414
- start: utils_1.nullable(PropTypes.instanceOf(Date).isRequired),
415
- end: utils_1.nullable(PropTypes.instanceOf(Date).isRequired)
417
+ start: (0, utils_1.nullable)(PropTypes.instanceOf(Date).isRequired),
418
+ end: (0, utils_1.nullable)(PropTypes.instanceOf(Date).isRequired)
416
419
  }),
417
420
  disabled: PropTypes.bool,
418
421
  endDateInputSettings: PropTypes.shape(DateInput_1.DateInputWithoutContext.propTypes),
@@ -452,8 +455,8 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
452
455
  swapButton: PropTypes.any,
453
456
  tabIndex: PropTypes.number,
454
457
  value: PropTypes.shape({
455
- start: utils_1.nullable(PropTypes.instanceOf(Date).isRequired),
456
- end: utils_1.nullable(PropTypes.instanceOf(Date).isRequired)
458
+ start: (0, utils_1.nullable)(PropTypes.instanceOf(Date).isRequired),
459
+ end: (0, utils_1.nullable)(PropTypes.instanceOf(Date).isRequired)
457
460
  })
458
461
  };
459
462
  /**
@@ -478,7 +481,7 @@ exports.DateRangePickerWithoutContext = DateRangePickerWithoutContext;
478
481
  *
479
482
  * For more information, refer to the [DateInputs Props Context]({% slug props-context_dateinputs %}) article.
480
483
  */
481
- exports.DateRangePickerPropsContext = kendo_react_common_1.createPropsContext();
484
+ exports.DateRangePickerPropsContext = (0, kendo_react_common_1.createPropsContext)();
482
485
  /* eslint-disable @typescript-eslint/no-redeclare */
483
486
  /**
484
487
  * Represents the KendoReact DateRangePicker Component.
@@ -486,6 +489,6 @@ exports.DateRangePickerPropsContext = kendo_react_common_1.createPropsContext();
486
489
  * Accepts properties of type [DateRangePickerProps]({% slug api_dateinputs_daterangepickerprops %}).
487
490
  * Obtaining the `ref` returns an object of type [DateRangePickerHandle]({% slug api_dateinputs_daterangepickerhandle %}).
488
491
  */
489
- exports.DateRangePicker = kendo_react_common_1.withPropsContext(exports.DateRangePickerPropsContext, DateRangePickerWithoutContext);
492
+ exports.DateRangePicker = (0, kendo_react_common_1.withPropsContext)(exports.DateRangePickerPropsContext, DateRangePickerWithoutContext);
490
493
  exports.DateRangePicker.displayName = 'KendoReactDateRangePicker';
491
- kendo_react_intl_1.registerForLocalization(DateRangePickerWithoutContext);
494
+ (0, kendo_react_intl_1.registerForLocalization)(DateRangePickerWithoutContext);
@@ -115,7 +115,7 @@ export declare class DateTimePickerWithoutContext extends React.Component<DateTi
115
115
  second: PropTypes.Requireable<string>;
116
116
  timeZoneName: PropTypes.Requireable<string>;
117
117
  }>>;
118
- formatPlaceholder: PropTypes.Requireable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
118
+ formatPlaceholder: PropTypes.Requireable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
119
119
  year: PropTypes.Requireable<string>;
120
120
  month: PropTypes.Requireable<string>;
121
121
  day: PropTypes.Requireable<string>;
@@ -145,16 +145,16 @@ export declare class DateTimePickerWithoutContext extends React.Component<DateTi
145
145
  validate: PropTypes.Requireable<boolean>;
146
146
  valid: PropTypes.Requireable<boolean>;
147
147
  cancelButton: PropTypes.Requireable<boolean>;
148
- size: PropTypes.Requireable<"small" | "medium" | "large">;
149
- rounded: PropTypes.Requireable<"small" | "medium" | "large" | "full">;
150
- fillMode: PropTypes.Requireable<"solid" | "flat" | "outline">;
148
+ size: PropTypes.Requireable<"small" | "medium" | "large" | null | undefined>;
149
+ rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large" | null | undefined>;
150
+ fillMode: PropTypes.Requireable<"flat" | "outline" | "solid" | null | undefined>;
151
151
  };
152
152
  /**
153
153
  * @hidden
154
154
  */
155
155
  static defaultProps: {
156
156
  defaultShow: boolean;
157
- defaultValue: any;
157
+ defaultValue: null;
158
158
  disabled: boolean;
159
159
  format: string;
160
160
  max: Date;
@@ -166,9 +166,9 @@ export declare class DateTimePickerWithoutContext extends React.Component<DateTi
166
166
  validityStyles: boolean;
167
167
  cancelButton: boolean;
168
168
  dateInput: React.ComponentType<DateInputProps<any>>;
169
- size: "small" | "medium" | "large";
170
- rounded: "small" | "medium" | "large" | "full";
171
- fillMode: "solid" | "flat" | "outline";
169
+ size: "small" | "medium" | "large" | null | undefined;
170
+ rounded: "small" | "medium" | "full" | "large" | null | undefined;
171
+ fillMode: "flat" | "outline" | "solid" | null | undefined;
172
172
  };
173
173
  /**
174
174
  * @hidden
@@ -187,41 +187,41 @@ export declare class DateTimePickerWithoutContext extends React.Component<DateTi
187
187
  /**
188
188
  * Gets the wrapping element of the DateTimePicker.
189
189
  */
190
- readonly element: HTMLSpanElement | null;
190
+ get element(): HTMLSpanElement | null;
191
191
  /**
192
192
  * Gets the DateInput component inside the DateTimePicker component.
193
193
  */
194
- readonly dateInput: DateInput | null;
194
+ get dateInput(): DateInput | null;
195
195
  /**
196
196
  * Gets the value of the DateTimePicker.
197
197
  */
198
- readonly value: Date | null;
198
+ get value(): Date | null;
199
199
  /**
200
200
  * Gets the popup state of the DateTimePicker.
201
201
  */
202
- readonly show: boolean;
202
+ get show(): boolean;
203
203
  /**
204
204
  * Gets the `name` property of the DateTimePicker.
205
205
  */
206
- readonly name: string | undefined;
207
- protected readonly min: Date;
208
- protected readonly max: Date;
206
+ get name(): string | undefined;
207
+ protected get min(): Date;
208
+ protected get max(): Date;
209
209
  /**
210
210
  * Represents the validity state into which the DateTimePicker is set.
211
211
  */
212
- readonly validity: FormComponentValidity;
212
+ get validity(): FormComponentValidity;
213
213
  /**
214
214
  * @hidden
215
215
  */
216
- protected readonly validityStyles: boolean;
216
+ protected get validityStyles(): boolean;
217
217
  /**
218
218
  * @hidden
219
219
  */
220
- protected readonly required: boolean;
220
+ protected get required(): boolean;
221
221
  /**
222
222
  * @hidden
223
223
  */
224
- protected readonly dateInputComp: React.ComponentType<DateInputProps<any>>;
224
+ protected get dateInputComp(): React.ComponentType<DateInputProps<any>>;
225
225
  /**
226
226
  * @hidden
227
227
  */
@@ -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.DateTimePicker = exports.DateTimePickerPropsContext = exports.DateTimePickerWithoutContext = void 0;
27
30
  var React = require("react");
28
31
  var PropTypes = require("prop-types");
29
32
  var kendo_react_popup_1 = require("@progress/kendo-react-popup");
@@ -45,7 +48,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
45
48
  __extends(DateTimePickerWithoutContext, _super);
46
49
  function DateTimePickerWithoutContext(props) {
47
50
  var _this = _super.call(this, props) || this;
48
- _this._popupId = kendo_react_common_1.guid();
51
+ _this._popupId = (0, kendo_react_common_1.guid)();
49
52
  _this._element = null;
50
53
  _this._dateInput = React.createRef();
51
54
  _this._dateTimeSelector = null;
@@ -66,7 +69,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
66
69
  };
67
70
  _this.handleValueChange = function (event) {
68
71
  _this.setState({
69
- value: kendo_date_math_1.cloneDate(event.value || undefined),
72
+ value: (0, kendo_date_math_1.cloneDate)(event.value || undefined),
70
73
  show: false
71
74
  });
72
75
  _this.valueDuringOnChange = event.value;
@@ -120,7 +123,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
120
123
  return (_this.dateInput && _this.dateInput.element) ||
121
124
  (_this.element && _this.element.querySelector('.k-dateinput > input.k-input-inner'));
122
125
  };
123
- kendo_react_common_2.validatePackage(package_metadata_1.packageMetadata);
126
+ (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
124
127
  _this.state = {
125
128
  value: _this.props.defaultValue || DateTimePickerWithoutContext.defaultProps.defaultValue,
126
129
  show: _this.props.defaultShow || DateTimePickerWithoutContext.defaultProps.defaultShow,
@@ -135,7 +138,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
135
138
  get: function () {
136
139
  return this._element;
137
140
  },
138
- enumerable: true,
141
+ enumerable: false,
139
142
  configurable: true
140
143
  });
141
144
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "dateInput", {
@@ -145,7 +148,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
145
148
  get: function () {
146
149
  return this._dateInput.current;
147
150
  },
148
- enumerable: true,
151
+ enumerable: false,
149
152
  configurable: true
150
153
  });
151
154
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "value", {
@@ -158,9 +161,9 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
158
161
  : this.props.value !== undefined
159
162
  ? this.props.value
160
163
  : this.state.value;
161
- return (value !== null) ? kendo_date_math_1.cloneDate(value) : null;
164
+ return (value !== null) ? (0, kendo_date_math_1.cloneDate)(value) : null;
162
165
  },
163
- enumerable: true,
166
+ enumerable: false,
164
167
  configurable: true
165
168
  });
166
169
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "show", {
@@ -174,7 +177,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
174
177
  ? this.props.show
175
178
  : this.state.show;
176
179
  },
177
- enumerable: true,
180
+ enumerable: false,
178
181
  configurable: true
179
182
  });
180
183
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "name", {
@@ -184,7 +187,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
184
187
  get: function () {
185
188
  return this.props.name;
186
189
  },
187
- enumerable: true,
190
+ enumerable: false,
188
191
  configurable: true
189
192
  });
190
193
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "min", {
@@ -193,7 +196,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
193
196
  ? this.props.min
194
197
  : DateTimePickerWithoutContext.defaultProps.min;
195
198
  },
196
- enumerable: true,
199
+ enumerable: false,
197
200
  configurable: true
198
201
  });
199
202
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "max", {
@@ -202,7 +205,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
202
205
  ? this.props.max
203
206
  : DateTimePickerWithoutContext.defaultProps.max;
204
207
  },
205
- enumerable: true,
208
+ enumerable: false,
206
209
  configurable: true
207
210
  });
208
211
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "validity", {
@@ -210,8 +213,8 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
210
213
  * Represents the validity state into which the DateTimePicker is set.
211
214
  */
212
215
  get: function () {
213
- var inRange = utils_1.isInDateRange(this.value, this.min, this.max)
214
- && utils_2.isInTimeRange(this.value, this.props.minTime || defaults_1.MIN_TIME, this.props.maxTime || utils_1.MAX_TIME);
216
+ var inRange = (0, utils_1.isInDateRange)(this.value, this.min, this.max)
217
+ && (0, utils_2.isInTimeRange)(this.value, this.props.minTime || defaults_1.MIN_TIME, this.props.maxTime || utils_1.MAX_TIME);
215
218
  var customError = this.props.validationMessage !== undefined;
216
219
  var isValid = (!this.required || this.value !== null) && inRange;
217
220
  var valid = this.props.valid !== undefined ? this.props.valid : isValid;
@@ -223,7 +226,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
223
226
  valueMissing: this.value === null
224
227
  };
225
228
  },
226
- enumerable: true,
229
+ enumerable: false,
227
230
  configurable: true
228
231
  });
229
232
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "validityStyles", {
@@ -235,7 +238,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
235
238
  ? this.props.validityStyles
236
239
  : DateTimePickerWithoutContext.defaultProps.validityStyles;
237
240
  },
238
- enumerable: true,
241
+ enumerable: false,
239
242
  configurable: true
240
243
  });
241
244
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "required", {
@@ -247,7 +250,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
247
250
  ? this.props.required
248
251
  : DateTimePickerWithoutContext.defaultProps.required;
249
252
  },
250
- enumerable: true,
253
+ enumerable: false,
251
254
  configurable: true
252
255
  });
253
256
  Object.defineProperty(DateTimePickerWithoutContext.prototype, "dateInputComp", {
@@ -257,7 +260,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
257
260
  get: function () {
258
261
  return this.props.dateInput || DateTimePickerWithoutContext.defaultProps.dateInput;
259
262
  },
260
- enumerable: true,
263
+ enumerable: false,
261
264
  configurable: true
262
265
  });
263
266
  /**
@@ -299,8 +302,21 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
299
302
  var _a = this.props, _b = _a.size, size = _b === void 0 ? DateTimePickerWithoutContext.defaultProps.size : _b, _c = _a.rounded, rounded = _c === void 0 ? DateTimePickerWithoutContext.defaultProps.rounded : _c, _d = _a.fillMode, fillMode = _d === void 0 ? DateTimePickerWithoutContext.defaultProps.fillMode : _d, disabled = _a.disabled, tabIndex = _a.tabIndex, title = _a.title, id = _a.id, format = _a.format, formatPlaceholder = _a.formatPlaceholder, min = _a.min, max = _a.max, weekNumber = _a.weekNumber, focusedDate = _a.focusedDate, className = _a.className, width = _a.width, name = _a.name, validationMessage = _a.validationMessage, required = _a.required, validityStyles = _a.validityStyles, cancelButton = _a.cancelButton, minTime = _a.minTime, maxTime = _a.maxTime, ariaLabelledBy = _a.ariaLabelledBy, ariaDescribedBy = _a.ariaDescribedBy, _e = _a.popup, PopupComponent = _e === void 0 ? kendo_react_popup_1.Popup : _e, calendar = _a.calendar;
300
303
  var isValid = !this.validityStyles || this.validity.valid;
301
304
  var dataInputProps = {
302
- id: id, ariaLabelledBy: ariaLabelledBy, ariaDescribedBy: ariaDescribedBy, format: format, formatPlaceholder: formatPlaceholder, disabled: disabled,
303
- title: title, validityStyles: validityStyles, validationMessage: validationMessage, required: required, min: min, max: max, minTime: minTime, maxTime: maxTime, name: name,
305
+ id: id,
306
+ ariaLabelledBy: ariaLabelledBy,
307
+ ariaDescribedBy: ariaDescribedBy,
308
+ format: format,
309
+ formatPlaceholder: formatPlaceholder,
310
+ disabled: disabled,
311
+ title: title,
312
+ validityStyles: validityStyles,
313
+ validationMessage: validationMessage,
314
+ required: required,
315
+ min: min,
316
+ max: max,
317
+ minTime: minTime,
318
+ maxTime: maxTime,
319
+ name: name,
304
320
  tabIndex: !this.show ? tabIndex : -1,
305
321
  valid: this.validity.valid,
306
322
  value: this.value,
@@ -315,23 +331,23 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
315
331
  rounded: null
316
332
  };
317
333
  var dateTimePicker = (React.createElement(kendo_react_common_1.AsyncFocusBlur, { onFocus: this.handleFocus, onBlur: this.handleBlur, onSyncFocus: this.props.onFocus, onSyncBlur: this.props.onBlur }, function (_a) {
318
- var onFocus = _a.onFocus, onBlur = _a.onBlur;
319
334
  var _b;
335
+ var onFocus = _a.onFocus, onBlur = _a.onBlur;
320
336
  return (React.createElement("div", { ref: function (div) {
321
337
  _this._element = div;
322
- }, className: kendo_react_common_1.classNames('k-input', 'k-datetimepicker', (_b = {},
323
- _b["k-input-" + (kendo_react_common_1.kendoThemeMaps.sizeMap[size] || size)] = size,
324
- _b["k-rounded-" + (kendo_react_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
325
- _b["k-input-" + fillMode] = fillMode,
338
+ }, className: (0, kendo_react_common_1.classNames)('k-input', 'k-datetimepicker', (_b = {},
339
+ _b["k-input-".concat(kendo_react_common_1.kendoThemeMaps.sizeMap[size] || size)] = size,
340
+ _b["k-rounded-".concat(kendo_react_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
341
+ _b["k-input-".concat(fillMode)] = fillMode,
326
342
  _b['k-invalid'] = !isValid,
327
343
  _b['k-required'] = _this.required,
328
344
  _b['k-disabled'] = _this.props.disabled,
329
345
  _b), className), onKeyDown: _this.handleKeyDown, style: { width: width }, onFocus: onFocus, onBlur: onBlur },
330
346
  React.createElement(_this.dateInputComp, __assign({ _ref: _this._dateInput }, dataInputProps)),
331
- React.createElement(kendo_react_buttons_1.Button, __assign({ tabIndex: -1, type: "button", icon: 'calendar', onMouseDown: _this.handleIconMouseDown, onClick: _this.handleDateIconClick, title: kendo_react_intl_1.provideLocalizationService(_this)
347
+ React.createElement(kendo_react_buttons_1.Button, __assign({ tabIndex: -1, type: "button", icon: 'calendar', onMouseDown: _this.handleIconMouseDown, onClick: _this.handleDateIconClick, title: (0, kendo_react_intl_1.provideLocalizationService)(_this)
332
348
  .toLanguageString(messages_1.toggleDateTimeSelector, messages_1.messages[messages_1.toggleDateTimeSelector]), className: "k-input-button", rounded: null }, {
333
349
  'aria-controls': _this._popupId,
334
- 'aria-label': kendo_react_intl_1.provideLocalizationService(_this)
350
+ 'aria-label': (0, kendo_react_intl_1.provideLocalizationService)(_this)
335
351
  .toLanguageString(messages_1.toggleDateTimeSelector, messages_1.messages[messages_1.toggleDateTimeSelector])
336
352
  })),
337
353
  React.createElement(PopupComponent, { show: _this.show, animate: _this.element !== null, anchor: _this.element, className: "k-datetime-container k-group k-reset", id: _this._popupId, anchorAlign: {
@@ -460,7 +476,7 @@ exports.DateTimePickerWithoutContext = DateTimePickerWithoutContext;
460
476
  *
461
477
  * For more information, refer to the [DateInputs Props Context]({% slug props-context_dateinputs %}) article.
462
478
  */
463
- exports.DateTimePickerPropsContext = kendo_react_common_1.createPropsContext();
479
+ exports.DateTimePickerPropsContext = (0, kendo_react_common_1.createPropsContext)();
464
480
  /* eslint-disable @typescript-eslint/no-redeclare */
465
481
  /**
466
482
  * Represents the KendoReact DateTimePicker Component.
@@ -468,6 +484,6 @@ exports.DateTimePickerPropsContext = kendo_react_common_1.createPropsContext();
468
484
  * Accepts properties of type [DateTimePickerProps]({% slug api_dateinputs_datetimepickerprops %}).
469
485
  * Obtaining the `ref` returns an object of type [DateTimePickerHandle]({% slug api_dateinputs_datetimepickerhandle %}).
470
486
  */
471
- exports.DateTimePicker = kendo_react_common_1.withPropsContext(exports.DateTimePickerPropsContext, DateTimePickerWithoutContext);
487
+ exports.DateTimePicker = (0, kendo_react_common_1.withPropsContext)(exports.DateTimePickerPropsContext, DateTimePickerWithoutContext);
472
488
  exports.DateTimePicker.displayName = 'KendoReactDateTimePicker';
473
- kendo_react_intl_1.registerForLocalization(DateTimePickerWithoutContext);
489
+ (0, kendo_react_intl_1.registerForLocalization)(DateTimePickerWithoutContext);
@@ -60,21 +60,21 @@ export declare class DateTimeSelector extends React.Component<DateTimeSelectorPr
60
60
  private _acceptButton;
61
61
  private _calendarWrap;
62
62
  private shouldFocusPart;
63
- readonly calendar: Calendar | null;
64
- readonly timePart: TimePart | null;
65
- protected readonly hasDateValue: boolean;
63
+ get calendar(): Calendar | null;
64
+ get timePart(): TimePart | null;
65
+ protected get hasDateValue(): boolean;
66
66
  constructor(props: DateTimeSelectorProps);
67
67
  componentDidUpdate(): void;
68
68
  render(): JSX.Element;
69
69
  focus: (args?: any) => void;
70
70
  private calendarElement;
71
- protected readonly minTime: Date | null;
72
- protected readonly maxTime: Date | null;
71
+ protected get minTime(): Date | null;
72
+ protected get maxTime(): Date | null;
73
73
  protected normalizeRange(candidate: Date, value: Date | null): Date | null;
74
- protected hasActiveButton(): boolean;
74
+ protected hasActiveButton(): boolean | null;
75
75
  protected mergeTime(current: Date | null, candidate: Date | null): Date | null;
76
76
  protected mergeDate(candidate: Date | null, value: Date): Date | null;
77
- protected move: (direction: "left" | "right") => void;
77
+ protected move: (direction: 'left' | 'right') => void;
78
78
  private handleReject;
79
79
  private handleAccept;
80
80
  private handleNowClick;