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

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 (121) hide show
  1. package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
  2. package/dist/es/calendar/components/Calendar.d.ts +4 -4
  3. package/dist/es/calendar/components/Calendar.js +17 -5
  4. package/dist/es/calendar/components/Header.d.ts +1 -0
  5. package/dist/es/calendar/components/Header.js +1 -1
  6. package/dist/es/calendar/components/HorizontalViewList.js +1 -0
  7. package/dist/es/calendar/components/MultiViewCalendar.d.ts +3 -3
  8. package/dist/es/calendar/components/MultiViewCalendar.js +12 -5
  9. package/dist/es/calendar/components/Navigation.d.ts +1 -1
  10. package/dist/es/calendar/components/Navigation.js +9 -4
  11. package/dist/es/calendar/components/TodayCommand.js +4 -2
  12. package/dist/es/calendar/components/View.d.ts +4 -4
  13. package/dist/es/calendar/components/View.js +7 -5
  14. package/dist/es/calendar/components/ViewList.d.ts +3 -3
  15. package/dist/es/calendar/components/ViewList.js +10 -2
  16. package/dist/es/calendar/services/BusViewService.js +1 -1
  17. package/dist/es/calendar/services/CenturyViewService.js +2 -2
  18. package/dist/es/calendar/services/DOMService.js +24 -6
  19. package/dist/es/calendar/services/DecadeViewService.js +2 -2
  20. package/dist/es/calendar/services/MonthViewService.js +2 -2
  21. package/dist/es/calendar/services/NavigationService.js +1 -1
  22. package/dist/es/calendar/services/ScrollSyncService.js +5 -1
  23. package/dist/es/calendar/services/YearViewService.js +2 -2
  24. package/dist/es/calendar/utils/ScrollSync.d.ts +3 -3
  25. package/dist/es/calendar/utils/ScrollSync.js +2 -0
  26. package/dist/es/dateinput/DateInput.d.ts +11 -7
  27. package/dist/es/dateinput/DateInput.js +14 -8
  28. package/dist/es/dateinput/models/kendo-date.js +1 -1
  29. package/dist/es/dateinput/models/mask.js +1 -0
  30. package/dist/es/dateinput/utils.d.ts +1 -1
  31. package/dist/es/datepicker/DatePicker.d.ts +8 -8
  32. package/dist/es/datepicker/DatePicker.js +4 -3
  33. package/dist/es/daterangepicker/DateRangePicker.d.ts +7 -5
  34. package/dist/es/datetimepicker/DateTimePicker.d.ts +7 -7
  35. package/dist/es/datetimepicker/DateTimePicker.js +3 -3
  36. package/dist/es/datetimepicker/DateTimeSelector.d.ts +1 -1
  37. package/dist/es/datetimepicker/DateTimeSelector.js +5 -0
  38. package/dist/es/package-metadata.js +1 -1
  39. package/dist/es/timepicker/TimeList.d.ts +3 -3
  40. package/dist/es/timepicker/TimeList.js +25 -7
  41. package/dist/es/timepicker/TimePart.d.ts +4 -4
  42. package/dist/es/timepicker/TimePart.js +4 -1
  43. package/dist/es/timepicker/TimePicker.d.ts +8 -8
  44. package/dist/es/timepicker/TimePicker.js +4 -3
  45. package/dist/es/timepicker/TimeSelector.d.ts +2 -2
  46. package/dist/es/timepicker/TimeSelector.js +4 -0
  47. package/dist/es/timepicker/services/DOMService.js +2 -0
  48. package/dist/es/timepicker/services/DayPeriodService.js +9 -3
  49. package/dist/es/timepicker/services/HoursService.js +14 -5
  50. package/dist/es/timepicker/services/MinutesService.js +12 -6
  51. package/dist/es/timepicker/services/SecondsService.js +12 -6
  52. package/dist/es/utils.js +9 -5
  53. package/dist/es/virtualization/Virtualization.d.ts +2 -1
  54. package/dist/es/virtualization/Virtualization.js +14 -6
  55. package/dist/es/virtualization/services/RowHeightService.js +9 -5
  56. package/dist/es/virtualization/services/ScrollerService.js +9 -3
  57. package/dist/npm/calendar/components/Calendar.d.ts +4 -4
  58. package/dist/npm/calendar/components/Calendar.js +43 -31
  59. package/dist/npm/calendar/components/CalendarCell.js +1 -1
  60. package/dist/npm/calendar/components/CalendarNavigationItem.js +1 -1
  61. package/dist/npm/calendar/components/CalendarWeekCell.js +1 -1
  62. package/dist/npm/calendar/components/Header.d.ts +1 -0
  63. package/dist/npm/calendar/components/Header.js +3 -3
  64. package/dist/npm/calendar/components/HorizontalViewList.js +3 -2
  65. package/dist/npm/calendar/components/MultiViewCalendar.d.ts +3 -3
  66. package/dist/npm/calendar/components/MultiViewCalendar.js +49 -42
  67. package/dist/npm/calendar/components/Navigation.d.ts +1 -1
  68. package/dist/npm/calendar/components/Navigation.js +13 -8
  69. package/dist/npm/calendar/components/TodayCommand.js +9 -7
  70. package/dist/npm/calendar/components/View.d.ts +4 -4
  71. package/dist/npm/calendar/components/View.js +16 -14
  72. package/dist/npm/calendar/components/ViewList.d.ts +3 -3
  73. package/dist/npm/calendar/components/ViewList.js +19 -11
  74. package/dist/npm/calendar/services/BusViewService.js +1 -1
  75. package/dist/npm/calendar/services/CenturyViewService.js +38 -38
  76. package/dist/npm/calendar/services/DOMService.js +33 -15
  77. package/dist/npm/calendar/services/DecadeViewService.js +32 -32
  78. package/dist/npm/calendar/services/MonthViewService.js +36 -36
  79. package/dist/npm/calendar/services/NavigationService.js +1 -1
  80. package/dist/npm/calendar/services/ScrollSyncService.js +5 -1
  81. package/dist/npm/calendar/services/WeekNamesService.js +1 -1
  82. package/dist/npm/calendar/services/YearViewService.js +33 -33
  83. package/dist/npm/calendar/utils/ScrollSync.d.ts +3 -3
  84. package/dist/npm/calendar/utils/ScrollSync.js +2 -0
  85. package/dist/npm/common/PickerWrap.js +1 -1
  86. package/dist/npm/dateinput/DateInput.d.ts +11 -7
  87. package/dist/npm/dateinput/DateInput.js +32 -26
  88. package/dist/npm/dateinput/models/kendo-date.js +12 -12
  89. package/dist/npm/dateinput/models/mask.js +1 -0
  90. package/dist/npm/dateinput/utils.d.ts +1 -1
  91. package/dist/npm/datepicker/DatePicker.d.ts +8 -8
  92. package/dist/npm/datepicker/DatePicker.js +17 -16
  93. package/dist/npm/daterangepicker/DateRangePicker.d.ts +7 -5
  94. package/dist/npm/daterangepicker/DateRangePicker.js +17 -17
  95. package/dist/npm/datetimepicker/DateTimePicker.d.ts +7 -7
  96. package/dist/npm/datetimepicker/DateTimePicker.js +15 -15
  97. package/dist/npm/datetimepicker/DateTimeSelector.d.ts +1 -1
  98. package/dist/npm/datetimepicker/DateTimeSelector.js +13 -8
  99. package/dist/npm/hooks/usePickerFloatingLabel.js +1 -1
  100. package/dist/npm/package-metadata.js +1 -1
  101. package/dist/npm/timepicker/TimeList.d.ts +3 -3
  102. package/dist/npm/timepicker/TimeList.js +29 -11
  103. package/dist/npm/timepicker/TimePart.d.ts +4 -4
  104. package/dist/npm/timepicker/TimePart.js +14 -11
  105. package/dist/npm/timepicker/TimePicker.d.ts +8 -8
  106. package/dist/npm/timepicker/TimePicker.js +19 -18
  107. package/dist/npm/timepicker/TimeSelector.d.ts +2 -2
  108. package/dist/npm/timepicker/TimeSelector.js +14 -10
  109. package/dist/npm/timepicker/services/DOMService.js +6 -4
  110. package/dist/npm/timepicker/services/DayPeriodService.js +10 -4
  111. package/dist/npm/timepicker/services/HoursService.js +20 -11
  112. package/dist/npm/timepicker/services/MinutesService.js +16 -10
  113. package/dist/npm/timepicker/services/SecondsService.js +16 -10
  114. package/dist/npm/timepicker/utils.js +11 -11
  115. package/dist/npm/utils.js +16 -12
  116. package/dist/npm/virtualization/Virtualization.d.ts +2 -1
  117. package/dist/npm/virtualization/Virtualization.js +16 -8
  118. package/dist/npm/virtualization/services/RowHeightService.js +9 -5
  119. package/dist/npm/virtualization/services/ScrollerService.js +9 -3
  120. package/dist/systemjs/kendo-react-dateinputs.js +1 -1
  121. package/package.json +13 -13
@@ -30,7 +30,7 @@ var KendoDate = /** @class */ (function () {
30
30
  's': 's',
31
31
  'y': 'y'
32
32
  };
33
- this._value = kendo_date_math_1.getDate(new Date());
33
+ this._value = (0, kendo_date_math_1.getDate)(new Date());
34
34
  this.intlProvider = intlProvider;
35
35
  this.formatPlaceholder = formatPlaceholder;
36
36
  this.format = format;
@@ -52,11 +52,11 @@ var KendoDate = /** @class */ (function () {
52
52
  });
53
53
  KendoDate.prototype.setValue = function (value) {
54
54
  if (!value) {
55
- this._value = kendo_date_math_1.getDate(new Date());
55
+ this._value = (0, kendo_date_math_1.getDate)(new Date());
56
56
  this.modifyExisting(false);
57
57
  }
58
- else if (!kendo_date_math_1.isEqual(value, this._value)) {
59
- this._value = kendo_date_math_1.cloneDate(value);
58
+ else if (!(0, kendo_date_math_1.isEqual)(value, this._value)) {
59
+ this._value = (0, kendo_date_math_1.cloneDate)(value);
60
60
  this.modifyExisting(true);
61
61
  }
62
62
  };
@@ -71,7 +71,7 @@ var KendoDate = /** @class */ (function () {
71
71
  return null;
72
72
  }
73
73
  }
74
- return kendo_date_math_1.cloneDate(this.value);
74
+ return (0, kendo_date_math_1.cloneDate)(this.value);
75
75
  };
76
76
  KendoDate.prototype.getTextAndFormat = function () {
77
77
  return this.merge(this.intl.formatDate(this.value, this.format), this.dateFormatString(this.value, this.format));
@@ -129,13 +129,13 @@ var KendoDate = /** @class */ (function () {
129
129
  }
130
130
  };
131
131
  KendoDate.prototype.modifyPart = function (symbol, offset) {
132
- var newValue = kendo_date_math_1.cloneDate(this.value);
132
+ var newValue = (0, kendo_date_math_1.cloneDate)(this.value);
133
133
  switch (symbol) {
134
134
  case 'y':
135
135
  newValue.setFullYear(newValue.getFullYear() + offset);
136
136
  break;
137
137
  case 'M':
138
- newValue = kendo_date_math_1.addMonths(this.value, offset);
138
+ newValue = (0, kendo_date_math_1.addMonths)(this.value, offset);
139
139
  break;
140
140
  case 'd':
141
141
  case 'E':
@@ -201,17 +201,17 @@ var KendoDate = /** @class */ (function () {
201
201
  if (symbol === 'M' && !month) {
202
202
  var monthNumber = middleNumber - 1;
203
203
  if (monthNumber > -1 && monthNumber < 12) {
204
- parsedDate = kendo_date_math_1.cloneDate(this.value);
204
+ parsedDate = (0, kendo_date_math_1.cloneDate)(this.value);
205
205
  parsedDate.setMonth(monthNumber);
206
206
  if (parsedDate.getMonth() !== monthNumber) {
207
- parsedDate = kendo_date_math_1.lastDayOfMonth(kendo_date_math_1.addMonths(parsedDate, -1));
207
+ parsedDate = (0, kendo_date_math_1.lastDayOfMonth)((0, kendo_date_math_1.addMonths)(parsedDate, -1));
208
208
  }
209
209
  }
210
210
  }
211
211
  if (symbol === 'y') {
212
- parsedDate = kendo_date_math_1.createDate(parseInt(middle, 10), this.month ? this.value.getMonth() : 0, this.date ? this.value.getDate() : 1, this.hours ? this.value.getHours() : 0, this.minutes ? this.value.getMinutes() : 0, this.seconds ? this.value.getSeconds() : 0, this.milliseconds ? this.value.getMilliseconds() : 0);
212
+ parsedDate = (0, kendo_date_math_1.createDate)(parseInt(middle, 10), this.month ? this.value.getMonth() : 0, this.date ? this.value.getDate() : 1, this.hours ? this.value.getHours() : 0, this.minutes ? this.value.getMinutes() : 0, this.seconds ? this.value.getSeconds() : 0, this.milliseconds ? this.value.getMilliseconds() : 0);
213
213
  if (this.date && parsedDate.getDate() !== this.value.getDate()) {
214
- parsedDate = kendo_date_math_1.lastDayOfMonth(kendo_date_math_1.addMonths(parsedDate, -1));
214
+ parsedDate = (0, kendo_date_math_1.lastDayOfMonth)((0, kendo_date_math_1.addMonths)(parsedDate, -1));
215
215
  }
216
216
  }
217
217
  }
@@ -327,7 +327,7 @@ var KendoDate = /** @class */ (function () {
327
327
  return { text: resultText, format: resultFormat };
328
328
  };
329
329
  KendoDate.prototype.dateFieldName = function (part) {
330
- var formatPlaceholder = this.formatPlaceholder || 'wide';
330
+ var formatPlaceholder = (this.formatPlaceholder || 'wide');
331
331
  if (formatPlaceholder[part.type]) {
332
332
  return formatPlaceholder[part.type];
333
333
  }
@@ -7,6 +7,7 @@ exports.Mask = void 0;
7
7
  var Mask = /** @class */ (function () {
8
8
  function Mask() {
9
9
  this.symbols = '';
10
+ this.partMap = [];
10
11
  }
11
12
  return Mask;
12
13
  }());
@@ -9,7 +9,7 @@ export declare const defaultFormatPlaceholder = "wide";
9
9
  /**
10
10
  * @hidden
11
11
  */
12
- export declare const padZero: (length: any) => string;
12
+ export declare const padZero: (length: number) => string;
13
13
  /**
14
14
  * @hidden
15
15
  */
@@ -143,16 +143,16 @@ export declare class DatePickerWithoutContext extends React.Component<DatePicker
143
143
  required: PropTypes.Requireable<boolean>;
144
144
  validate: PropTypes.Requireable<boolean>;
145
145
  valid: PropTypes.Requireable<boolean>;
146
- size: PropTypes.Requireable<"small" | "medium" | "large">;
147
- rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
148
- fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
146
+ size: PropTypes.Requireable<"small" | "medium" | "large" | null | undefined>;
147
+ rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large" | null | undefined>;
148
+ fillMode: PropTypes.Requireable<"flat" | "outline" | "solid" | null | undefined>;
149
149
  };
150
150
  /**
151
151
  * @hidden
152
152
  */
153
153
  static defaultProps: {
154
154
  defaultShow: boolean;
155
- defaultValue: any;
155
+ defaultValue: null;
156
156
  dateInput: React.ComponentType<DateInputProps<any>>;
157
157
  calendar: React.ComponentType<CalendarProps<any>>;
158
158
  toggleButton: React.ComponentType<ToggleButtonProps>;
@@ -167,9 +167,9 @@ export declare class DatePickerWithoutContext extends React.Component<DatePicker
167
167
  weekNumber: boolean;
168
168
  required: boolean;
169
169
  validityStyles: boolean;
170
- size: "small" | "medium" | "large";
171
- rounded: "small" | "medium" | "full" | "large";
172
- fillMode: "flat" | "solid" | "outline";
170
+ size: "small" | "medium" | "large" | null | undefined;
171
+ rounded: "small" | "medium" | "full" | "large" | null | undefined;
172
+ fillMode: "flat" | "outline" | "solid" | null | undefined;
173
173
  };
174
174
  /**
175
175
  * @hidden
@@ -249,7 +249,7 @@ export declare class DatePickerWithoutContext extends React.Component<DatePicker
249
249
  */
250
250
  render(): JSX.Element;
251
251
  protected setCalendarRef: (calendar: any) => void;
252
- protected nextValue: (nextProps: DatePickerProps, nextState: DatePickerState) => Date;
252
+ protected nextValue: (nextProps: DatePickerProps, nextState: DatePickerState) => Date | null;
253
253
  protected nextShow: (nextProps: DatePickerProps, nextState: DatePickerState) => boolean;
254
254
  protected setShow(show: boolean): void;
255
255
  protected mergeTime(value: Date | null): Date | null;
@@ -58,11 +58,12 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
58
58
  __extends(DatePickerWithoutContext, _super);
59
59
  function DatePickerWithoutContext(props) {
60
60
  var _this = _super.call(this, props) || this;
61
- _this._popupId = kendo_react_common_1.guid();
61
+ _this._popupId = (0, kendo_react_common_1.guid)();
62
62
  _this._element = null;
63
63
  _this._dateInput = React.createRef();
64
64
  _this._calendar = null;
65
65
  _this.shouldFocusDateInput = false;
66
+ _this.prevShow = false;
66
67
  /**
67
68
  * @hidden
68
69
  */
@@ -93,7 +94,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
93
94
  };
94
95
  _this.handleValueChange = function (value, event) {
95
96
  _this.setState({
96
- value: kendo_date_math_1.cloneDate(value || undefined),
97
+ value: (0, kendo_date_math_1.cloneDate)(value || undefined),
97
98
  show: false
98
99
  });
99
100
  _this.valueDuringOnChange = value;
@@ -143,7 +144,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
143
144
  _this.setShow(keyCode === kendo_react_common_1.Keys.down);
144
145
  }
145
146
  };
146
- kendo_react_common_1.validatePackage(package_metadata_1.packageMetadata);
147
+ (0, kendo_react_common_1.validatePackage)(package_metadata_1.packageMetadata);
147
148
  _this.state = {
148
149
  value: _this.props.defaultValue || DatePickerWithoutContext.defaultProps.defaultValue,
149
150
  show: _this.props.defaultShow || DatePickerWithoutContext.defaultProps.defaultShow,
@@ -191,7 +192,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
191
192
  : this.props.value !== undefined
192
193
  ? this.props.value
193
194
  : this.state.value;
194
- return (value !== null) ? kendo_date_math_1.cloneDate(value) : null;
195
+ return (value !== null) ? (0, kendo_date_math_1.cloneDate)(value) : null;
195
196
  },
196
197
  enumerable: false,
197
198
  configurable: true
@@ -278,7 +279,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
278
279
  * Represents the validity state into which the DatePicker is set.
279
280
  */
280
281
  get: function () {
281
- var inRange = utils_2.isInDateRange(this.value, this.min, this.max);
282
+ var inRange = (0, utils_2.isInDateRange)(this.value, this.min, this.max);
282
283
  var customError = this.props.validationMessage !== undefined;
283
284
  var isValid = (!this.required || this.value !== null) && inRange;
284
285
  var valid = this.props.valid !== undefined ? this.props.valid : isValid;
@@ -357,9 +358,9 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
357
358
  var _e = this.props.popupSettings, popupClass = _e.popupClass, otherPopupSettings = __rest(_e, ["popupClass"]);
358
359
  var show = this.show;
359
360
  var value = this.value;
360
- var sanitizedValue = value && kendo_date_math_1.getDate(value);
361
+ var sanitizedValue = value && (0, kendo_date_math_1.getDate)(value);
361
362
  var isValid = !this.validityStyles || this.validity.valid;
362
- var popupClassNames = kendo_react_common_1.classNames('k-calendar-container k-group k-reset', popupClass);
363
+ var popupClassNames = (0, kendo_react_common_1.classNames)('k-calendar-container k-group k-reset', popupClass);
363
364
  var dateInputProps = {
364
365
  disabled: disabled,
365
366
  format: format,
@@ -403,15 +404,15 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
403
404
  focusedDate: focusedDate,
404
405
  onChange: this.handleCalendarValueChange
405
406
  };
406
- var toggleButtonTitle = kendo_react_intl_1.provideLocalizationService(this)
407
+ var toggleButtonTitle = (0, kendo_react_intl_1.provideLocalizationService)(this)
407
408
  .toLanguageString(messages_1.toggleCalendar, messages_1.messages[messages_1.toggleCalendar]);
408
409
  var datepicker = (React.createElement(kendo_react_common_1.AsyncFocusBlur, { onFocus: this.handleFocus, onBlur: this.handleBlur, onSyncBlur: this.props.onBlur, onSyncFocus: this.props.onFocus }, function (_a) {
409
410
  var _b;
410
411
  var onFocus = _a.onFocus, onBlur = _a.onBlur;
411
- return (React.createElement("span", { role: "group", "aria-expanded": _this.show, ref: function (span) { _this._element = span; }, className: kendo_react_common_1.classNames('k-input', 'k-datepicker', (_b = {},
412
- _b["k-input-" + (kendo_react_common_1.kendoThemeMaps.sizeMap[size] || size)] = size,
413
- _b["k-rounded-" + (kendo_react_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
414
- _b["k-input-" + fillMode] = fillMode,
412
+ return (React.createElement("span", { role: "group", "aria-expanded": _this.show, ref: function (span) { _this._element = span; }, className: (0, kendo_react_common_1.classNames)('k-input', 'k-datepicker', (_b = {},
413
+ _b["k-input-".concat(kendo_react_common_1.kendoThemeMaps.sizeMap[size] || size)] = size,
414
+ _b["k-rounded-".concat(kendo_react_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
415
+ _b["k-input-".concat(fillMode)] = fillMode,
415
416
  _b['k-invalid'] = !isValid,
416
417
  _b['k-required'] = _this.required,
417
418
  _b['k-disabled'] = _this.props.disabled,
@@ -432,7 +433,7 @@ var DatePickerWithoutContext = /** @class */ (function (_super) {
432
433
  this.setState({ show: show });
433
434
  };
434
435
  DatePickerWithoutContext.prototype.mergeTime = function (value) {
435
- return this.value && value ? utils_1.setTime(value, this.value) : value;
436
+ return this.value && value ? (0, utils_1.setTime)(value, this.value) : value;
436
437
  };
437
438
  DatePickerWithoutContext.prototype.nextTick = function (f) {
438
439
  // XXX: use window.setTimeout due to async focus/blur events in IE, and missing relatedTarget prop.
@@ -544,7 +545,7 @@ exports.DatePickerWithoutContext = DatePickerWithoutContext;
544
545
  *
545
546
  * For more information, refer to the [DateInputs Props Context]({% slug props-context_dateinputs %}) article.
546
547
  */
547
- exports.DatePickerPropsContext = kendo_react_common_1.createPropsContext();
548
+ exports.DatePickerPropsContext = (0, kendo_react_common_1.createPropsContext)();
548
549
  /* eslint-disable @typescript-eslint/no-redeclare */
549
550
  /**
550
551
  * Represents the KendoReact DatePicker Component.
@@ -552,6 +553,6 @@ exports.DatePickerPropsContext = kendo_react_common_1.createPropsContext();
552
553
  * Accepts properties of type [DatePickerProps]({% slug api_dateinputs_datepickerprops %}).
553
554
  * Obtaining the `ref` returns an object of type [DatePickerHandle]({% slug api_dateinputs_datepickerhandle %}).
554
555
  */
555
- exports.DatePicker = kendo_react_common_1.withPropsContext(exports.DatePickerPropsContext, DatePickerWithoutContext);
556
+ exports.DatePicker = (0, kendo_react_common_1.withPropsContext)(exports.DatePickerPropsContext, DatePickerWithoutContext);
556
557
  exports.DatePicker.displayName = 'KendoReactDatePicker';
557
- kendo_react_intl_1.registerForLocalization(DatePickerWithoutContext);
558
+ (0, kendo_react_intl_1.registerForLocalization)(DatePickerWithoutContext);
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import * as PropTypes from 'prop-types';
3
3
  import { DateInput } from '../dateinput/DateInput';
4
- import { MultiViewCalendar } from '../calendar/components/MultiViewCalendar';
4
+ import { MultiViewCalendar, MultiViewCalendarHandle } from '../calendar/components/MultiViewCalendar';
5
5
  import { SelectionRange } from '../calendar/models';
6
6
  import { DateRangePickerSettings } from './models';
7
7
  /**
@@ -125,9 +125,11 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
125
125
  required: PropTypes.Requireable<boolean>;
126
126
  validate: PropTypes.Requireable<boolean>;
127
127
  valid: PropTypes.Requireable<boolean>;
128
- size: PropTypes.Requireable<"small" | "medium" | "large">;
129
- rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
130
- fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
128
+ size: PropTypes.Requireable<"small" | "medium" | "large" | null | undefined>;
129
+ rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large" | null | undefined>;
130
+ fillMode: PropTypes.Requireable<"flat" | "outline" | "solid" | null | undefined>; /**
131
+ * Gets the wrapping element of the DateRangePicker.
132
+ */
131
133
  }>>;
132
134
  focusedDate: PropTypes.Requireable<Date>;
133
135
  format: PropTypes.Requireable<string | PropTypes.InferProps<{
@@ -235,7 +237,7 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
235
237
  * @hidden
236
238
  */
237
239
  render(): JSX.Element;
238
- protected setCalendarRef: (calendar: any) => void;
240
+ protected setCalendarRef: (calendar: MultiViewCalendarHandle | null) => void;
239
241
  protected focusCalendarElement: () => void;
240
242
  protected focusDateInputElement(): void;
241
243
  protected calculateValue: (props: DateRangePickerProps, state: DateRangePickerState) => SelectionRange;
@@ -51,9 +51,9 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
51
51
  _this._calendar = null;
52
52
  _this._startDateInput = React.createRef();
53
53
  _this._endDateInput = React.createRef();
54
- _this._popupId = kendo_react_common_1.guid();
55
- _this._startInputId = kendo_react_common_1.guid();
56
- _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)();
57
57
  _this.shouldFocusDateInput = false;
58
58
  _this.shouldFocusCalendar = false;
59
59
  /**
@@ -131,13 +131,13 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
131
131
  _this.handleEndChange = function (event) {
132
132
  var value = {
133
133
  start: _this.value.start,
134
- end: kendo_date_math_1.cloneDate(event.value || undefined)
134
+ end: (0, kendo_date_math_1.cloneDate)(event.value || undefined)
135
135
  };
136
136
  _this.handleChange(value, event);
137
137
  };
138
138
  _this.handleStartChange = function (event) {
139
139
  var value = {
140
- start: kendo_date_math_1.cloneDate(event.value || undefined),
140
+ start: (0, kendo_date_math_1.cloneDate)(event.value || undefined),
141
141
  end: _this.value.end
142
142
  };
143
143
  _this.handleChange(value, event);
@@ -196,7 +196,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
196
196
  }
197
197
  _this.valueDuringOnChange = undefined;
198
198
  };
199
- kendo_react_common_2.validatePackage(package_metadata_1.packageMetadata);
199
+ (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
200
200
  _this.state = {
201
201
  show: _this.props.show || _this.props.defaultShow || DateRangePickerWithoutContext.defaultProps.defaultShow,
202
202
  value: _this.props.value || _this.props.defaultValue || DateRangePickerWithoutContext.defaultProps.defaultValue
@@ -330,10 +330,10 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
330
330
  var value = this.value || models_1.EMPTY_SELECTIONRANGE;
331
331
  var startDateInputId = (this.props.startDateInputSettings || {}).id || this._startInputId;
332
332
  var endDateInputId = (this.props.endDateInputSettings || {}).id || this._endInputId;
333
- var rootClassName = kendo_react_common_1.classNames('k-daterangepicker', {
333
+ var rootClassName = (0, kendo_react_common_1.classNames)('k-daterangepicker', {
334
334
  'k-disabled': this.props.disabled
335
335
  }, this.props.className);
336
- var localizationService = kendo_react_intl_1.provideLocalizationService(this);
336
+ var localizationService = (0, kendo_react_intl_1.provideLocalizationService)(this);
337
337
  var startMessage = localizationService.toLanguageString(messages_1.start, messages_1.messages[messages_1.start]);
338
338
  var endMessage = localizationService.toLanguageString(messages_1.end, messages_1.messages[messages_1.end]);
339
339
  var separatorMessage = localizationService.toLanguageString(messages_1.separator, messages_1.messages[messages_1.separator]);
@@ -350,10 +350,10 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
350
350
  var calendar = this.props.calendar
351
351
  ? React.createElement(this.props.calendar, __assign({}, calendarProps))
352
352
  : React.createElement(MultiViewCalendar_1.MultiViewCalendar, __assign({}, calendarProps, { ref: this.setCalendarRef }));
353
- 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)
354
354
  .toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd]), onMouseDown: this.handleReverseMouseDown, onClick: this.handleReverseClick }, {
355
355
  'aria-controls': startDateInputId + ' ' + endDateInputId,
356
- 'aria-label': kendo_react_intl_1.provideLocalizationService(this)
356
+ 'aria-label': (0, kendo_react_intl_1.provideLocalizationService)(this)
357
357
  .toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd])
358
358
  }),
359
359
  React.createElement("span", { style: { transform: 'rotate(90deg)' }, className: "k-icon k-i-arrows-swap" })));
@@ -414,8 +414,8 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
414
414
  className: PropTypes.string,
415
415
  defaultShow: PropTypes.bool,
416
416
  defaultValue: PropTypes.shape({
417
- start: utils_1.nullable(PropTypes.instanceOf(Date).isRequired),
418
- 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)
419
419
  }),
420
420
  disabled: PropTypes.bool,
421
421
  endDateInputSettings: PropTypes.shape(DateInput_1.DateInputWithoutContext.propTypes),
@@ -455,8 +455,8 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
455
455
  swapButton: PropTypes.any,
456
456
  tabIndex: PropTypes.number,
457
457
  value: PropTypes.shape({
458
- start: utils_1.nullable(PropTypes.instanceOf(Date).isRequired),
459
- 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)
460
460
  })
461
461
  };
462
462
  /**
@@ -481,7 +481,7 @@ exports.DateRangePickerWithoutContext = DateRangePickerWithoutContext;
481
481
  *
482
482
  * For more information, refer to the [DateInputs Props Context]({% slug props-context_dateinputs %}) article.
483
483
  */
484
- exports.DateRangePickerPropsContext = kendo_react_common_1.createPropsContext();
484
+ exports.DateRangePickerPropsContext = (0, kendo_react_common_1.createPropsContext)();
485
485
  /* eslint-disable @typescript-eslint/no-redeclare */
486
486
  /**
487
487
  * Represents the KendoReact DateRangePicker Component.
@@ -489,6 +489,6 @@ exports.DateRangePickerPropsContext = kendo_react_common_1.createPropsContext();
489
489
  * Accepts properties of type [DateRangePickerProps]({% slug api_dateinputs_daterangepickerprops %}).
490
490
  * Obtaining the `ref` returns an object of type [DateRangePickerHandle]({% slug api_dateinputs_daterangepickerhandle %}).
491
491
  */
492
- exports.DateRangePicker = kendo_react_common_1.withPropsContext(exports.DateRangePickerPropsContext, DateRangePickerWithoutContext);
492
+ exports.DateRangePicker = (0, kendo_react_common_1.withPropsContext)(exports.DateRangePickerPropsContext, DateRangePickerWithoutContext);
493
493
  exports.DateRangePicker.displayName = 'KendoReactDateRangePicker';
494
- kendo_react_intl_1.registerForLocalization(DateRangePickerWithoutContext);
494
+ (0, kendo_react_intl_1.registerForLocalization)(DateRangePickerWithoutContext);
@@ -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" | "full" | "large">;
150
- fillMode: PropTypes.Requireable<"flat" | "solid" | "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" | "full" | "large";
171
- fillMode: "flat" | "solid" | "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
@@ -48,7 +48,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
48
48
  __extends(DateTimePickerWithoutContext, _super);
49
49
  function DateTimePickerWithoutContext(props) {
50
50
  var _this = _super.call(this, props) || this;
51
- _this._popupId = kendo_react_common_1.guid();
51
+ _this._popupId = (0, kendo_react_common_1.guid)();
52
52
  _this._element = null;
53
53
  _this._dateInput = React.createRef();
54
54
  _this._dateTimeSelector = null;
@@ -69,7 +69,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
69
69
  };
70
70
  _this.handleValueChange = function (event) {
71
71
  _this.setState({
72
- value: kendo_date_math_1.cloneDate(event.value || undefined),
72
+ value: (0, kendo_date_math_1.cloneDate)(event.value || undefined),
73
73
  show: false
74
74
  });
75
75
  _this.valueDuringOnChange = event.value;
@@ -123,7 +123,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
123
123
  return (_this.dateInput && _this.dateInput.element) ||
124
124
  (_this.element && _this.element.querySelector('.k-dateinput > input.k-input-inner'));
125
125
  };
126
- kendo_react_common_2.validatePackage(package_metadata_1.packageMetadata);
126
+ (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
127
127
  _this.state = {
128
128
  value: _this.props.defaultValue || DateTimePickerWithoutContext.defaultProps.defaultValue,
129
129
  show: _this.props.defaultShow || DateTimePickerWithoutContext.defaultProps.defaultShow,
@@ -161,7 +161,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
161
161
  : this.props.value !== undefined
162
162
  ? this.props.value
163
163
  : this.state.value;
164
- return (value !== null) ? kendo_date_math_1.cloneDate(value) : null;
164
+ return (value !== null) ? (0, kendo_date_math_1.cloneDate)(value) : null;
165
165
  },
166
166
  enumerable: false,
167
167
  configurable: true
@@ -213,8 +213,8 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
213
213
  * Represents the validity state into which the DateTimePicker is set.
214
214
  */
215
215
  get: function () {
216
- var inRange = utils_1.isInDateRange(this.value, this.min, this.max)
217
- && 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);
218
218
  var customError = this.props.validationMessage !== undefined;
219
219
  var isValid = (!this.required || this.value !== null) && inRange;
220
220
  var valid = this.props.valid !== undefined ? this.props.valid : isValid;
@@ -335,19 +335,19 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
335
335
  var onFocus = _a.onFocus, onBlur = _a.onBlur;
336
336
  return (React.createElement("div", { ref: function (div) {
337
337
  _this._element = div;
338
- }, className: kendo_react_common_1.classNames('k-input', 'k-datetimepicker', (_b = {},
339
- _b["k-input-" + (kendo_react_common_1.kendoThemeMaps.sizeMap[size] || size)] = size,
340
- _b["k-rounded-" + (kendo_react_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
341
- _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,
342
342
  _b['k-invalid'] = !isValid,
343
343
  _b['k-required'] = _this.required,
344
344
  _b['k-disabled'] = _this.props.disabled,
345
345
  _b), className), onKeyDown: _this.handleKeyDown, style: { width: width }, onFocus: onFocus, onBlur: onBlur },
346
346
  React.createElement(_this.dateInputComp, __assign({ _ref: _this._dateInput }, dataInputProps)),
347
- 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)
348
348
  .toLanguageString(messages_1.toggleDateTimeSelector, messages_1.messages[messages_1.toggleDateTimeSelector]), className: "k-input-button", rounded: null }, {
349
349
  'aria-controls': _this._popupId,
350
- 'aria-label': kendo_react_intl_1.provideLocalizationService(_this)
350
+ 'aria-label': (0, kendo_react_intl_1.provideLocalizationService)(_this)
351
351
  .toLanguageString(messages_1.toggleDateTimeSelector, messages_1.messages[messages_1.toggleDateTimeSelector])
352
352
  })),
353
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: {
@@ -476,7 +476,7 @@ exports.DateTimePickerWithoutContext = DateTimePickerWithoutContext;
476
476
  *
477
477
  * For more information, refer to the [DateInputs Props Context]({% slug props-context_dateinputs %}) article.
478
478
  */
479
- exports.DateTimePickerPropsContext = kendo_react_common_1.createPropsContext();
479
+ exports.DateTimePickerPropsContext = (0, kendo_react_common_1.createPropsContext)();
480
480
  /* eslint-disable @typescript-eslint/no-redeclare */
481
481
  /**
482
482
  * Represents the KendoReact DateTimePicker Component.
@@ -484,6 +484,6 @@ exports.DateTimePickerPropsContext = kendo_react_common_1.createPropsContext();
484
484
  * Accepts properties of type [DateTimePickerProps]({% slug api_dateinputs_datetimepickerprops %}).
485
485
  * Obtaining the `ref` returns an object of type [DateTimePickerHandle]({% slug api_dateinputs_datetimepickerhandle %}).
486
486
  */
487
- exports.DateTimePicker = kendo_react_common_1.withPropsContext(exports.DateTimePickerPropsContext, DateTimePickerWithoutContext);
487
+ exports.DateTimePicker = (0, kendo_react_common_1.withPropsContext)(exports.DateTimePickerPropsContext, DateTimePickerWithoutContext);
488
488
  exports.DateTimePicker.displayName = 'KendoReactDateTimePicker';
489
- kendo_react_intl_1.registerForLocalization(DateTimePickerWithoutContext);
489
+ (0, kendo_react_intl_1.registerForLocalization)(DateTimePickerWithoutContext);
@@ -71,7 +71,7 @@ export declare class DateTimeSelector extends React.Component<DateTimeSelectorPr
71
71
  protected get minTime(): Date | null;
72
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
77
  protected move: (direction: 'left' | 'right') => void;
@@ -45,7 +45,12 @@ var DateTimeSelector = /** @class */ (function (_super) {
45
45
  __extends(DateTimeSelector, _super);
46
46
  function DateTimeSelector(props) {
47
47
  var _this = _super.call(this, props) || this;
48
+ _this._calendar = null;
49
+ _this._timePart = null;
50
+ _this._cancelButton = null;
51
+ _this._acceptButton = null;
48
52
  _this._calendarWrap = null;
53
+ _this.shouldFocusPart = false;
49
54
  _this.focus = function (args) {
50
55
  // Async to avoid stealing the focus from the DateInput on close
51
56
  Promise.resolve().then(function () {
@@ -99,8 +104,8 @@ var DateTimeSelector = /** @class */ (function (_super) {
99
104
  });
100
105
  };
101
106
  _this.handleNowClick = function (event) {
102
- _this.setState({ timeValue: utils_2.getNow() });
103
- _this.handleAccept(event, utils_2.getNow());
107
+ _this.setState({ timeValue: (0, utils_2.getNow)() });
108
+ _this.handleAccept(event, (0, utils_2.getNow)());
104
109
  };
105
110
  _this.handleCalendarValueChange = function (event) {
106
111
  event.syntheticEvent.stopPropagation();
@@ -182,12 +187,12 @@ var DateTimeSelector = /** @class */ (function (_super) {
182
187
  DateTimeSelector.prototype.render = function () {
183
188
  var _this = this;
184
189
  var _a = this.props, disabled = _a.disabled, cancelButton = _a.cancelButton, min = _a.min, max = _a.max, weekNumber = _a.weekNumber, focusedDate = _a.focusedDate, format = _a.format;
185
- var rootClassName = kendo_react_common_1.classNames({
190
+ var rootClassName = (0, kendo_react_common_1.classNames)({
186
191
  'k-date-tab': this.state.tab === 'date',
187
192
  'k-time-tab': this.state.tab === 'time',
188
193
  'k-disabled': disabled
189
194
  }, 'k-datetime-wrap');
190
- var localizationService = kendo_react_intl_1.provideLocalizationService(this);
195
+ var localizationService = (0, kendo_react_intl_1.provideLocalizationService)(this);
191
196
  var dateMessage = localizationService.toLanguageString(messages_1.date, messages_1.messages[messages_1.date]);
192
197
  var timeMessage = localizationService.toLanguageString(messages_1.time, messages_1.messages[messages_1.time]);
193
198
  var cancelMessage = localizationService.toLanguageString(messages_1.dateTimePickerCancel, messages_1.messages[messages_1.dateTimePickerCancel]);
@@ -235,7 +240,7 @@ var DateTimeSelector = /** @class */ (function (_super) {
235
240
  configurable: true
236
241
  });
237
242
  DateTimeSelector.prototype.normalizeRange = function (candidate, value) {
238
- return kendo_date_math_1.isEqualDate(candidate, value || utils_1.getToday())
243
+ return (0, kendo_date_math_1.isEqualDate)(candidate, value || (0, utils_1.getToday)())
239
244
  ? candidate
240
245
  : null;
241
246
  };
@@ -247,12 +252,12 @@ var DateTimeSelector = /** @class */ (function (_super) {
247
252
  || (this._cancelButton && document.activeElement === this._cancelButton.element);
248
253
  };
249
254
  DateTimeSelector.prototype.mergeTime = function (current, candidate) {
250
- return current && candidate ? utils_1.setTime(candidate, current) : candidate;
255
+ return current && candidate ? (0, utils_1.setTime)(candidate, current) : candidate;
251
256
  };
252
257
  DateTimeSelector.prototype.mergeDate = function (candidate, value) {
253
- return candidate ? utils_1.setTime(candidate || utils_1.getToday(), value) : value;
258
+ return candidate ? (0, utils_1.setTime)(candidate || (0, utils_1.getToday)(), value) : value;
254
259
  };
255
260
  return DateTimeSelector;
256
261
  }(React.Component));
257
262
  exports.DateTimeSelector = DateTimeSelector;
258
- kendo_react_intl_1.registerForLocalization(DateTimeSelector);
263
+ (0, kendo_react_intl_1.registerForLocalization)(DateTimeSelector);
@@ -34,7 +34,7 @@ exports.usePickerFloatingLabel = usePickerFloatingLabel;
34
34
  * @hidden
35
35
  */
36
36
  var PickerFloatingLabel = function (props) {
37
- var floatingLabelProps = exports.usePickerFloatingLabel(props.dateInput);
37
+ var floatingLabelProps = (0, exports.usePickerFloatingLabel)(props.dateInput);
38
38
  return (React.createElement(kendo_react_labels_1.FloatingLabel, __assign({}, props, floatingLabelProps)));
39
39
  };
40
40
  exports.PickerFloatingLabel = PickerFloatingLabel;
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-dateinputs',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1653648109,
11
+ publishDate: 1654761838,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
14
14
  };
@@ -29,8 +29,8 @@ export declare class TimeList extends React.Component<TimeListProps, {}> {
29
29
  id: PropTypes.Requireable<number>;
30
30
  max: PropTypes.Requireable<Date>;
31
31
  min: PropTypes.Requireable<Date>;
32
- part: (props: TimeListProps, propName: string, componentName: string) => any;
33
- step: (props: TimeListProps, propName: string, componentName: string) => any;
32
+ part: (props: TimeListProps, propName: string, componentName: string) => null;
33
+ step: (props: TimeListProps, propName: string, componentName: string) => null;
34
34
  value: PropTypes.Requireable<Date>;
35
35
  smoothScroll: PropTypes.Requireable<boolean>;
36
36
  show: PropTypes.Requireable<boolean>;
@@ -71,7 +71,7 @@ export declare class TimeList extends React.Component<TimeListProps, {}> {
71
71
  /**
72
72
  * @hidden
73
73
  */
74
- render(): JSX.Element;
74
+ render(): JSX.Element | undefined;
75
75
  focus: (args?: any) => void;
76
76
  protected itemOffset: (scrollTop: number) => number;
77
77
  protected calculateHeights: () => void;