@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
@@ -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 __());
@@ -151,21 +153,21 @@ var DateTimeSelector = /** @class */ (function (_super) {
151
153
  get: function () {
152
154
  return this._calendar;
153
155
  },
154
- enumerable: true,
156
+ enumerable: false,
155
157
  configurable: true
156
158
  });
157
159
  Object.defineProperty(DateTimeSelector.prototype, "timePart", {
158
160
  get: function () {
159
161
  return this._timePart;
160
162
  },
161
- enumerable: true,
163
+ enumerable: false,
162
164
  configurable: true
163
165
  });
164
166
  Object.defineProperty(DateTimeSelector.prototype, "hasDateValue", {
165
167
  get: function () {
166
168
  return this.state.dateValue !== null;
167
169
  },
168
- enumerable: true,
170
+ enumerable: false,
169
171
  configurable: true
170
172
  });
171
173
  DateTimeSelector.prototype.componentDidUpdate = function () {
@@ -188,7 +190,10 @@ var DateTimeSelector = /** @class */ (function (_super) {
188
190
  var cancelMessage = localizationService.toLanguageString(cancel, messages[cancel]);
189
191
  var setMessage = localizationService.toLanguageString(set, messages[set]);
190
192
  var calendarProps = {
191
- min: min, max: max, weekNumber: weekNumber, focusedDate: focusedDate,
193
+ min: min,
194
+ max: max,
195
+ weekNumber: weekNumber,
196
+ focusedDate: focusedDate,
192
197
  disabled: disabled || this.state.tab !== 'date',
193
198
  value: this.state.dateValue,
194
199
  onChange: this.handleCalendarValueChange,
@@ -214,7 +219,7 @@ var DateTimeSelector = /** @class */ (function (_super) {
214
219
  ? this.props.minTime
215
220
  : this.normalizeRange(this.props.min, this.state.dateValue);
216
221
  },
217
- enumerable: true,
222
+ enumerable: false,
218
223
  configurable: true
219
224
  });
220
225
  Object.defineProperty(DateTimeSelector.prototype, "maxTime", {
@@ -223,7 +228,7 @@ var DateTimeSelector = /** @class */ (function (_super) {
223
228
  ? this.props.maxTime
224
229
  : this.normalizeRange(this.props.max, this.state.dateValue);
225
230
  },
226
- enumerable: true,
231
+ enumerable: false,
227
232
  configurable: true
228
233
  });
229
234
  DateTimeSelector.prototype.normalizeRange = function (candidate, value) {
@@ -0,0 +1 @@
1
+ export {};
@@ -11,7 +11,7 @@ export declare type PickerFloatingLabelProps = FloatingLabelProps & {
11
11
  /**
12
12
  * @hidden
13
13
  */
14
- export declare const usePickerFloatingLabel: (dateInput: React.RefObject<import("../dateinput/DateInput").DateInputHandle>) => {
14
+ export declare const usePickerFloatingLabel: (dateInput: React.RefObject<DateInput>) => {
15
15
  editorValue: boolean;
16
16
  };
17
17
  /**
@@ -86,25 +86,25 @@ export declare const dateTimePickerSet = "datetimepicker.set";
86
86
  * @hidden
87
87
  */
88
88
  export declare const messages: {
89
- [today]: string;
90
- [now]: string;
91
- [timePickerSet]: string;
92
- [timePickerCancel]: string;
93
- [date]: string;
94
- [time]: string;
95
- [dateTimePickerCancel]: string;
96
- [dateTimePickerSet]: string;
97
- [start]: string;
98
- [end]: string;
99
- [separator]: string;
100
- [selectNow]: string;
101
- [toggleTimeSelector]: string;
102
- [toggleClock]: string;
103
- [increaseValue]: string;
104
- [decreaseValue]: string;
105
- [toggleCalendar]: string;
106
- [prevView]: string;
107
- [nextView]: string;
108
- [swapStartEnd]: string;
109
- [toggleDateTimeSelector]: string;
89
+ "calendar.today": string;
90
+ "timepicker.now": string;
91
+ "timepicker.set": string;
92
+ "timepicker.cancel": string;
93
+ "datetimepicker.date": string;
94
+ "datetimepicker.time": string;
95
+ "datetimepicker.cancel": string;
96
+ "datetimepicker.set": string;
97
+ "daterangepicker.start": string;
98
+ "daterangepicker.end": string;
99
+ "daterangepicker.separator": string;
100
+ "timepicker.selectNow": string;
101
+ "timepicker.toggleTimeSelector": string;
102
+ "timepicker.toggleClock": string;
103
+ "dateinput.increment": string;
104
+ "dateinput.decrement": string;
105
+ "datepicker.toggleCalendar": string;
106
+ "multiviewcalendar.prevView": string;
107
+ "multiviewcalendar.nextView": string;
108
+ "daterangepicker.swapStartEnd": string;
109
+ "datetimepicker.toggleDateTimeSelector": string;
110
110
  };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-dateinputs',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1653456690,
8
+ publishDate: 1653648109,
9
9
  version: '',
10
10
  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'
11
11
  };
@@ -55,11 +55,11 @@ export declare class TimeList extends React.Component<TimeListProps, {}> {
55
55
  private bottomThreshold;
56
56
  private animateToIndex;
57
57
  constructor(props: TimeListProps);
58
- readonly element: HTMLDivElement | null;
59
- protected readonly animate: boolean;
60
- private readonly min;
61
- private readonly max;
62
- private readonly step;
58
+ get element(): HTMLDivElement | null;
59
+ protected get animate(): boolean;
60
+ private get min();
61
+ private get max();
62
+ private get step();
63
63
  /**
64
64
  * @hidden
65
65
  */
@@ -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 __());
@@ -162,28 +164,28 @@ var TimeList = /** @class */ (function (_super) {
162
164
  get: function () {
163
165
  return this._element;
164
166
  },
165
- enumerable: true,
167
+ enumerable: false,
166
168
  configurable: true
167
169
  });
168
170
  Object.defineProperty(TimeList.prototype, "animate", {
169
171
  get: function () {
170
172
  return Boolean(this.props.smoothScroll && this.animateToIndex);
171
173
  },
172
- enumerable: true,
174
+ enumerable: false,
173
175
  configurable: true
174
176
  });
175
177
  Object.defineProperty(TimeList.prototype, "min", {
176
178
  get: function () {
177
179
  return this.props.min || TimeList.defaultProps.min;
178
180
  },
179
- enumerable: true,
181
+ enumerable: false,
180
182
  configurable: true
181
183
  });
182
184
  Object.defineProperty(TimeList.prototype, "max", {
183
185
  get: function () {
184
186
  return this.props.max || TimeList.defaultProps.max;
185
187
  },
186
- enumerable: true,
188
+ enumerable: false,
187
189
  configurable: true
188
190
  });
189
191
  Object.defineProperty(TimeList.prototype, "step", {
@@ -192,7 +194,7 @@ var TimeList = /** @class */ (function (_super) {
192
194
  ? Math.floor(this.props.step)
193
195
  : TimeList.defaultProps.step;
194
196
  },
195
- enumerable: true,
197
+ enumerable: false,
196
198
  configurable: true
197
199
  });
198
200
  /**
@@ -103,13 +103,13 @@ export declare class TimePart extends React.Component<TimePartProps, TimePartSta
103
103
  /**
104
104
  * @hidden
105
105
  */
106
- readonly element: HTMLSpanElement | null;
107
- readonly value: Date;
108
- protected readonly intl: IntlService;
109
- private readonly min;
110
- private readonly max;
111
- private readonly steps;
112
- protected readonly boundRange: boolean;
106
+ get element(): HTMLSpanElement | null;
107
+ get value(): Date;
108
+ protected get intl(): IntlService;
109
+ private get min();
110
+ private get max();
111
+ private get steps();
112
+ protected get boundRange(): boolean;
113
113
  /**
114
114
  * @hidden
115
115
  */
@@ -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 __());
@@ -138,42 +140,42 @@ var TimePart = /** @class */ (function (_super) {
138
140
  get: function () {
139
141
  return this._element;
140
142
  },
141
- enumerable: true,
143
+ enumerable: false,
142
144
  configurable: true
143
145
  });
144
146
  Object.defineProperty(TimePart.prototype, "value", {
145
147
  get: function () {
146
148
  return timeInRange(this.snapTime(cloneDate(this.props.value || MIDNIGHT_DATE)), this.min, this.max);
147
149
  },
148
- enumerable: true,
150
+ enumerable: false,
149
151
  configurable: true
150
152
  });
151
153
  Object.defineProperty(TimePart.prototype, "intl", {
152
154
  get: function () {
153
155
  return provideIntlService(this);
154
156
  },
155
- enumerable: true,
157
+ enumerable: false,
156
158
  configurable: true
157
159
  });
158
160
  Object.defineProperty(TimePart.prototype, "min", {
159
161
  get: function () {
160
162
  return this.snapTime(this.props.min || TimePart.defaultProps.min);
161
163
  },
162
- enumerable: true,
164
+ enumerable: false,
163
165
  configurable: true
164
166
  });
165
167
  Object.defineProperty(TimePart.prototype, "max", {
166
168
  get: function () {
167
169
  return this.snapTime(this.props.max || TimePart.defaultProps.max);
168
170
  },
169
- enumerable: true,
171
+ enumerable: false,
170
172
  configurable: true
171
173
  });
172
174
  Object.defineProperty(TimePart.prototype, "steps", {
173
175
  get: function () {
174
176
  return this.props.steps || TimePart.defaultProps.steps;
175
177
  },
176
- enumerable: true,
178
+ enumerable: false,
177
179
  configurable: true
178
180
  });
179
181
  Object.defineProperty(TimePart.prototype, "boundRange", {
@@ -182,7 +184,7 @@ var TimePart = /** @class */ (function (_super) {
182
184
  ? this.props.boundRange
183
185
  : TimePart.defaultProps.boundRange;
184
186
  },
185
- enumerable: true,
187
+ enumerable: false,
186
188
  configurable: true
187
189
  });
188
190
  /**
@@ -111,7 +111,7 @@ export declare class TimePickerWithoutContext extends React.Component<TimePicker
111
111
  second: PropTypes.Requireable<string>;
112
112
  timeZoneName: PropTypes.Requireable<string>;
113
113
  }>>;
114
- formatPlaceholder: PropTypes.Requireable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
114
+ formatPlaceholder: PropTypes.Requireable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
115
115
  year: PropTypes.Requireable<string>;
116
116
  month: PropTypes.Requireable<string>;
117
117
  day: PropTypes.Requireable<string>;
@@ -146,8 +146,8 @@ export declare class TimePickerWithoutContext extends React.Component<TimePicker
146
146
  validate: PropTypes.Requireable<boolean>;
147
147
  valid: PropTypes.Requireable<boolean>;
148
148
  size: PropTypes.Requireable<"small" | "medium" | "large">;
149
- rounded: PropTypes.Requireable<"small" | "medium" | "large" | "full">;
150
- fillMode: PropTypes.Requireable<"solid" | "flat" | "outline">;
149
+ rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
150
+ fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
151
151
  };
152
152
  /**
153
153
  * @hidden
@@ -166,8 +166,8 @@ export declare class TimePickerWithoutContext extends React.Component<TimePicker
166
166
  validityStyles: boolean;
167
167
  dateInput: React.ComponentType<DateInputProps<any>>;
168
168
  size: "small" | "medium" | "large";
169
- rounded: "small" | "medium" | "large" | "full";
170
- fillMode: "solid" | "flat" | "outline";
169
+ rounded: "small" | "medium" | "full" | "large";
170
+ fillMode: "flat" | "solid" | "outline";
171
171
  };
172
172
  /**
173
173
  * @hidden
@@ -185,43 +185,43 @@ export declare class TimePickerWithoutContext extends React.Component<TimePicker
185
185
  /**
186
186
  * Gets the wrapping element of the TimePicker.
187
187
  */
188
- readonly element: HTMLSpanElement | null;
188
+ get element(): HTMLSpanElement | null;
189
189
  /**
190
190
  * Gets the DateInput component inside the TimePicker component.
191
191
  */
192
- readonly dateInput: DateInput | null;
192
+ get dateInput(): DateInput | null;
193
193
  /**
194
194
  * Gets the TimeSelector component inside the TimePicker component.
195
195
  */
196
- readonly timeSelector: TimeSelector | null;
196
+ get timeSelector(): TimeSelector | null;
197
197
  /**
198
198
  * Gets the value of the TimePicker.
199
199
  */
200
- readonly value: Date | null;
200
+ get value(): Date | null;
201
201
  /**
202
202
  * Gets the popup state of the TimeSelector.
203
203
  */
204
- readonly show: boolean;
204
+ get show(): boolean;
205
205
  /**
206
206
  * Gets the `name` property of the TimePicker.
207
207
  */
208
- readonly name: string | undefined;
208
+ get name(): string | undefined;
209
209
  /**
210
210
  * Represents the validity state into which the TimePicker 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;
221
- private readonly popupSettings;
222
- private readonly min;
223
- private readonly max;
224
- protected readonly dateInputComp: React.ComponentType<DateInputProps<any>>;
220
+ protected get required(): boolean;
221
+ private get popupSettings();
222
+ private get min();
223
+ private get max();
224
+ protected get dateInputComp(): React.ComponentType<DateInputProps<any>>;
225
225
  /**
226
226
  * @hidden
227
227
  */
@@ -239,7 +239,7 @@ export declare class TimePickerWithoutContext extends React.Component<TimePicker
239
239
  */
240
240
  render(): JSX.Element;
241
241
  protected setTimeSelectorRef: (timeSelector: any) => void;
242
- protected nextValue: (nextProps: TimePickerProps, nextState: TimePickerState) => Date;
242
+ protected nextValue: (nextProps: TimePickerProps, nextState: TimePickerState) => Date | null;
243
243
  protected nextShow: (nextProps: TimePickerProps, nextState: TimePickerState) => boolean;
244
244
  protected normalizeTime(date: Date): Date;
245
245
  protected setShow(show: boolean): 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 __());
@@ -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';
@@ -79,7 +83,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
79
83
  };
80
84
  _this.handleInputValueChange = function (event) {
81
85
  var value = _this.mergeTime(event.value);
82
- _this.handleValueChange(__assign({}, event, { value: value }));
86
+ _this.handleValueChange(__assign(__assign({}, event), { value: value }));
83
87
  };
84
88
  _this.handleValueChange = function (event) {
85
89
  _this.setState({
@@ -154,7 +158,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
154
158
  get: function () {
155
159
  return this._element;
156
160
  },
157
- enumerable: true,
161
+ enumerable: false,
158
162
  configurable: true
159
163
  });
160
164
  Object.defineProperty(TimePickerWithoutContext.prototype, "dateInput", {
@@ -164,7 +168,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
164
168
  get: function () {
165
169
  return this._dateInput.current;
166
170
  },
167
- enumerable: true,
171
+ enumerable: false,
168
172
  configurable: true
169
173
  });
170
174
  Object.defineProperty(TimePickerWithoutContext.prototype, "timeSelector", {
@@ -174,7 +178,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
174
178
  get: function () {
175
179
  return this._timeSelector;
176
180
  },
177
- enumerable: true,
181
+ enumerable: false,
178
182
  configurable: true
179
183
  });
180
184
  Object.defineProperty(TimePickerWithoutContext.prototype, "value", {
@@ -189,7 +193,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
189
193
  : this.state.value;
190
194
  return (value !== null) ? cloneDate(value) : null;
191
195
  },
192
- enumerable: true,
196
+ enumerable: false,
193
197
  configurable: true
194
198
  });
195
199
  Object.defineProperty(TimePickerWithoutContext.prototype, "show", {
@@ -203,7 +207,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
203
207
  ? this.props.show
204
208
  : this.state.show;
205
209
  },
206
- enumerable: true,
210
+ enumerable: false,
207
211
  configurable: true
208
212
  });
209
213
  Object.defineProperty(TimePickerWithoutContext.prototype, "name", {
@@ -213,7 +217,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
213
217
  get: function () {
214
218
  return this.props.name;
215
219
  },
216
- enumerable: true,
220
+ enumerable: false,
217
221
  configurable: true
218
222
  });
219
223
  Object.defineProperty(TimePickerWithoutContext.prototype, "validity", {
@@ -236,7 +240,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
236
240
  valueMissing: this.value === null
237
241
  };
238
242
  },
239
- enumerable: true,
243
+ enumerable: false,
240
244
  configurable: true
241
245
  });
242
246
  Object.defineProperty(TimePickerWithoutContext.prototype, "validityStyles", {
@@ -248,7 +252,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
248
252
  ? this.props.validityStyles
249
253
  : TimePickerWithoutContext.defaultProps.validityStyles;
250
254
  },
251
- enumerable: true,
255
+ enumerable: false,
252
256
  configurable: true
253
257
  });
254
258
  Object.defineProperty(TimePickerWithoutContext.prototype, "required", {
@@ -260,35 +264,35 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
260
264
  ? this.props.required
261
265
  : TimePickerWithoutContext.defaultProps.required;
262
266
  },
263
- enumerable: true,
267
+ enumerable: false,
264
268
  configurable: true
265
269
  });
266
270
  Object.defineProperty(TimePickerWithoutContext.prototype, "popupSettings", {
267
271
  get: function () {
268
272
  return this.props.popupSettings || TimePickerWithoutContext.defaultProps.popupSettings;
269
273
  },
270
- enumerable: true,
274
+ enumerable: false,
271
275
  configurable: true
272
276
  });
273
277
  Object.defineProperty(TimePickerWithoutContext.prototype, "min", {
274
278
  get: function () {
275
279
  return this.props.min !== undefined ? this.props.min : TimePickerWithoutContext.defaultProps.min;
276
280
  },
277
- enumerable: true,
281
+ enumerable: false,
278
282
  configurable: true
279
283
  });
280
284
  Object.defineProperty(TimePickerWithoutContext.prototype, "max", {
281
285
  get: function () {
282
286
  return this.props.max !== undefined ? this.props.max : TimePickerWithoutContext.defaultProps.max;
283
287
  },
284
- enumerable: true,
288
+ enumerable: false,
285
289
  configurable: true
286
290
  });
287
291
  Object.defineProperty(TimePickerWithoutContext.prototype, "dateInputComp", {
288
292
  get: function () {
289
293
  return this.props.dateInput || TimePickerWithoutContext.defaultProps.dateInput;
290
294
  },
291
- enumerable: true,
295
+ enumerable: false,
292
296
  configurable: true
293
297
  });
294
298
  /**
@@ -365,8 +369,8 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
365
369
  var toggleTimeMessage = localizationService
366
370
  .toLanguageString(toggleTimeSelector, messages[toggleTimeSelector]);
367
371
  var timepicker = (React.createElement(AsyncFocusBlur, { onFocus: this.handleFocus, onBlur: this.handleBlur, onSyncBlur: this.props.onBlur, onSyncFocus: this.props.onFocus }, function (_a) {
368
- var onFocus = _a.onFocus, onBlur = _a.onBlur;
369
372
  var _b;
373
+ var onFocus = _a.onFocus, onBlur = _a.onBlur;
370
374
  return (React.createElement("div", { ref: function (span) { _this._element = span; }, className: classNames('k-input', 'k-timepicker', (_b = {},
371
375
  _b["k-input-" + (kendoThemeMaps.sizeMap[size] || size)] = size,
372
376
  _b["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
@@ -376,7 +380,7 @@ var TimePickerWithoutContext = /** @class */ (function (_super) {
376
380
  _b['k-disabled'] = _this.props.disabled,
377
381
  _b), className), onKeyDown: _this.handleKeyDown, style: { width: width }, onFocus: onFocus, onBlur: onBlur },
378
382
  React.createElement(_this.dateInputComp, __assign({ _ref: _this._dateInput }, dateInputProps)),
379
- React.createElement(Button, __assign({ tabIndex: -1, type: "button", icon: 'clock', onMouseDown: _this.handleIconMouseDown, onClick: _this.handleIconClick, title: toggleTimeMessage, "aria-label": toggleTimeMessage, className: "k-input-button", rounded: null }, {
383
+ React.createElement(Button, __assign({ tabIndex: -1, type: "button", icon: 'clock', onMouseDown: _this.handleIconMouseDown, onClick: _this.handleIconClick, title: toggleTimeMessage, className: "k-input-button", rounded: null }, {
380
384
  'aria-controls': _this._popupId,
381
385
  'aria-label': toggleClockMessage
382
386
  })),
@@ -105,10 +105,10 @@ export declare class TimeSelector extends React.Component<TimeSelectorProps, Tim
105
105
  /**
106
106
  * @hidden
107
107
  */
108
- readonly element: HTMLSpanElement | null;
109
- readonly value: Date | null;
110
- protected readonly intl: IntlService;
111
- private readonly current;
108
+ get element(): HTMLSpanElement | null;
109
+ get value(): Date | null;
110
+ protected get intl(): IntlService;
111
+ private get current();
112
112
  /**
113
113
  * @hidden
114
114
  */
@@ -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 __());
@@ -124,7 +126,7 @@ var TimeSelector = /** @class */ (function (_super) {
124
126
  get: function () {
125
127
  return this._element;
126
128
  },
127
- enumerable: true,
129
+ enumerable: false,
128
130
  configurable: true
129
131
  });
130
132
  Object.defineProperty(TimeSelector.prototype, "value", {
@@ -138,14 +140,14 @@ var TimeSelector = /** @class */ (function (_super) {
138
140
  ? cloneDate(value)
139
141
  : null;
140
142
  },
141
- enumerable: true,
143
+ enumerable: false,
142
144
  configurable: true
143
145
  });
144
146
  Object.defineProperty(TimeSelector.prototype, "intl", {
145
147
  get: function () {
146
148
  return provideIntlService(this);
147
149
  },
148
- enumerable: true,
150
+ enumerable: false,
149
151
  configurable: true
150
152
  });
151
153
  Object.defineProperty(TimeSelector.prototype, "current", {
@@ -154,7 +156,7 @@ var TimeSelector = /** @class */ (function (_super) {
154
156
  ? cloneDate(this.state.current)
155
157
  : null;
156
158
  },
157
- enumerable: true,
159
+ enumerable: false,
158
160
  configurable: true
159
161
  });
160
162
  /**
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length