@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.
- package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
- package/dist/es/PopupSettings.js +1 -0
- package/dist/es/calendar/components/Calendar.d.ts +8 -8
- package/dist/es/calendar/components/Calendar.js +9 -7
- package/dist/es/calendar/components/CalendarCell.js +7 -3
- package/dist/es/calendar/components/CalendarHeaderTitle.js +7 -3
- package/dist/es/calendar/components/CalendarNavigationItem.js +7 -3
- package/dist/es/calendar/components/CalendarWeekCell.js +7 -3
- package/dist/es/calendar/components/Header.d.ts +4 -4
- package/dist/es/calendar/components/Header.js +7 -5
- package/dist/es/calendar/components/HorizontalViewList.d.ts +4 -4
- package/dist/es/calendar/components/HorizontalViewList.js +7 -5
- package/dist/es/calendar/components/MultiViewCalendar.d.ts +11 -11
- package/dist/es/calendar/components/MultiViewCalendar.js +12 -10
- package/dist/es/calendar/components/Navigation.d.ts +1 -1
- package/dist/es/calendar/components/Navigation.js +4 -2
- package/dist/es/calendar/components/TodayCommand.d.ts +3 -3
- package/dist/es/calendar/components/TodayCommand.js +6 -4
- package/dist/es/calendar/components/View.d.ts +7 -7
- package/dist/es/calendar/components/View.js +10 -8
- package/dist/es/calendar/components/ViewList.d.ts +6 -6
- package/dist/es/calendar/components/ViewList.js +9 -7
- package/dist/es/calendar/models/ActiveView.js +1 -0
- package/dist/es/calendar/models/CalendarSettings.js +1 -0
- package/dist/es/calendar/models/CellContext.js +1 -0
- package/dist/es/calendar/models/MultiViewCalendarMode.js +1 -0
- package/dist/es/calendar/models/MultiViewCalendarSettings.js +1 -0
- package/dist/es/calendar/models/SelectionRangeEnd.js +1 -0
- package/dist/es/calendar/models/ViewService.js +1 -0
- package/dist/es/dateinput/DateInput.d.ts +17 -17
- package/dist/es/dateinput/DateInput.js +23 -16
- package/dist/es/dateinput/models/DateInputSettings.js +1 -0
- package/dist/es/dateinput/models/format-placeholder.js +1 -0
- package/dist/es/dateinput/models/incremental-steps.js +1 -0
- package/dist/es/dateinput/models/kendo-date.d.ts +2 -2
- package/dist/es/dateinput/models/kendo-date.js +2 -2
- package/dist/es/dateinput/models/selection.js +1 -0
- package/dist/es/dateinput/utils.d.ts +1 -1
- package/dist/es/datepicker/DatePicker.d.ts +21 -21
- package/dist/es/datepicker/DatePicker.js +24 -20
- package/dist/es/datepicker/models/DatePickerSettings.js +1 -0
- package/dist/es/datepicker/models/index.js +1 -0
- package/dist/es/daterangepicker/DateRangePicker.d.ts +11 -11
- package/dist/es/daterangepicker/DateRangePicker.js +16 -14
- package/dist/es/daterangepicker/models/DateRangePickerCalendarSettings.js +1 -0
- package/dist/es/daterangepicker/models/DateRangePickerDateInputSettings.js +1 -0
- package/dist/es/daterangepicker/models/DateRangePickerPopupSettings.js +1 -0
- package/dist/es/daterangepicker/models/DateRangePickerSettings.js +1 -0
- package/dist/es/daterangepicker/models/index.js +1 -0
- package/dist/es/datetimepicker/DateTimePicker.d.ts +16 -16
- package/dist/es/datetimepicker/DateTimePicker.js +30 -15
- package/dist/es/datetimepicker/DateTimeSelector.d.ts +6 -6
- package/dist/es/datetimepicker/DateTimeSelector.js +12 -7
- package/dist/es/datetimepicker/models/DateTimePickerSettings.js +1 -0
- package/dist/es/datetimepicker/models/index.js +1 -0
- package/dist/es/hooks/usePickerFloatingLabel.d.ts +1 -1
- package/dist/es/messages/index.d.ts +21 -21
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/TimeList.d.ts +5 -5
- package/dist/es/timepicker/TimeList.js +8 -6
- package/dist/es/timepicker/TimePart.d.ts +7 -7
- package/dist/es/timepicker/TimePart.js +10 -8
- package/dist/es/timepicker/TimePicker.d.ts +19 -19
- package/dist/es/timepicker/TimePicker.js +23 -19
- package/dist/es/timepicker/TimeSelector.d.ts +4 -4
- package/dist/es/timepicker/TimeSelector.js +7 -5
- package/dist/es/timepicker/models/IncrementalSteps.js +1 -0
- package/dist/es/timepicker/models/ListItem.js +1 -0
- package/dist/es/timepicker/models/ListService.js +1 -0
- package/dist/es/timepicker/models/ListServiceSettings.js +1 -0
- package/dist/es/timepicker/models/TimePickerSettings.js +1 -0
- package/dist/es/timepicker/utils.d.ts +4 -4
- package/dist/es/utils.d.ts +1 -1
- package/dist/es/utils.js +6 -1
- package/dist/es/virtualization/Virtualization.d.ts +7 -7
- package/dist/es/virtualization/Virtualization.js +9 -7
- package/dist/es/virtualization/services/RowHeightService.js +6 -1
- package/dist/npm/calendar/components/Calendar.d.ts +8 -8
- package/dist/npm/calendar/components/Calendar.js +10 -7
- package/dist/npm/calendar/components/CalendarCell.js +8 -3
- package/dist/npm/calendar/components/CalendarHeaderTitle.js +8 -3
- package/dist/npm/calendar/components/CalendarNavigationItem.js +8 -3
- package/dist/npm/calendar/components/CalendarWeekCell.js +8 -3
- package/dist/npm/calendar/components/Header.d.ts +4 -4
- package/dist/npm/calendar/components/Header.js +8 -5
- package/dist/npm/calendar/components/HorizontalViewList.d.ts +4 -4
- package/dist/npm/calendar/components/HorizontalViewList.js +8 -5
- package/dist/npm/calendar/components/MultiViewCalendar.d.ts +11 -11
- package/dist/npm/calendar/components/MultiViewCalendar.js +13 -10
- package/dist/npm/calendar/components/Navigation.d.ts +1 -1
- package/dist/npm/calendar/components/Navigation.js +5 -2
- package/dist/npm/calendar/components/TodayCommand.d.ts +3 -3
- package/dist/npm/calendar/components/TodayCommand.js +7 -4
- package/dist/npm/calendar/components/View.d.ts +7 -7
- package/dist/npm/calendar/components/View.js +11 -8
- package/dist/npm/calendar/components/ViewList.d.ts +6 -6
- package/dist/npm/calendar/components/ViewList.js +10 -7
- package/dist/npm/calendar/models/CalendarViewEnum.js +1 -0
- package/dist/npm/calendar/models/NavigationAction.js +1 -0
- package/dist/npm/calendar/models/SelectionRange.js +1 -0
- package/dist/npm/calendar/models/index.js +4 -3
- package/dist/npm/calendar/services/BusViewService.js +2 -1
- package/dist/npm/calendar/services/CenturyViewService.js +2 -1
- package/dist/npm/calendar/services/DOMService.js +1 -0
- package/dist/npm/calendar/services/DecadeViewService.js +2 -1
- package/dist/npm/calendar/services/MonthViewService.js +2 -1
- package/dist/npm/calendar/services/NavigationService.js +1 -0
- package/dist/npm/calendar/services/ScrollSyncService.js +1 -0
- package/dist/npm/calendar/services/WeekNamesService.js +1 -0
- package/dist/npm/calendar/services/YearViewService.js +2 -1
- package/dist/npm/calendar/services/index.js +10 -9
- package/dist/npm/common/PickerWrap.js +1 -0
- package/dist/npm/dateinput/DateInput.d.ts +17 -17
- package/dist/npm/dateinput/DateInput.js +24 -16
- package/dist/npm/dateinput/models/index.js +3 -2
- package/dist/npm/dateinput/models/kendo-date.d.ts +2 -2
- package/dist/npm/dateinput/models/kendo-date.js +3 -2
- package/dist/npm/dateinput/models/mask.js +1 -0
- package/dist/npm/dateinput/utils.d.ts +1 -1
- package/dist/npm/dateinput/utils.js +9 -4
- package/dist/npm/datepicker/DatePicker.d.ts +21 -21
- package/dist/npm/datepicker/DatePicker.js +25 -20
- package/dist/npm/datepicker/ToggleButton.js +1 -0
- package/dist/npm/daterangepicker/DateRangePicker.d.ts +11 -11
- package/dist/npm/daterangepicker/DateRangePicker.js +17 -14
- package/dist/npm/datetimepicker/DateTimePicker.d.ts +16 -16
- package/dist/npm/datetimepicker/DateTimePicker.js +31 -15
- package/dist/npm/datetimepicker/DateTimeSelector.d.ts +6 -6
- package/dist/npm/datetimepicker/DateTimeSelector.js +13 -7
- package/dist/npm/defaults.js +1 -0
- package/dist/npm/hooks/usePickerFloatingLabel.d.ts +1 -1
- package/dist/npm/hooks/usePickerFloatingLabel.js +5 -2
- package/dist/npm/main.js +22 -21
- package/dist/npm/messages/index.d.ts +21 -21
- package/dist/npm/messages/index.js +2 -1
- package/dist/npm/package-metadata.js +2 -1
- package/dist/npm/timepicker/TimeList.d.ts +5 -5
- package/dist/npm/timepicker/TimeList.js +10 -7
- package/dist/npm/timepicker/TimePart.d.ts +7 -7
- package/dist/npm/timepicker/TimePart.js +11 -8
- package/dist/npm/timepicker/TimePicker.d.ts +19 -19
- package/dist/npm/timepicker/TimePicker.js +24 -19
- package/dist/npm/timepicker/TimeSelector.d.ts +4 -4
- package/dist/npm/timepicker/TimeSelector.js +8 -5
- package/dist/npm/timepicker/models/TimePart.js +1 -0
- package/dist/npm/timepicker/models/index.js +2 -1
- package/dist/npm/timepicker/services/DOMService.js +1 -0
- package/dist/npm/timepicker/services/DayPeriodService.js +1 -0
- package/dist/npm/timepicker/services/HoursService.js +1 -0
- package/dist/npm/timepicker/services/MinutesService.js +1 -0
- package/dist/npm/timepicker/services/SecondsService.js +1 -0
- package/dist/npm/timepicker/services/index.js +6 -5
- package/dist/npm/timepicker/utils.d.ts +4 -4
- package/dist/npm/timepicker/utils.js +19 -9
- package/dist/npm/utils.d.ts +1 -1
- package/dist/npm/utils.js +33 -14
- package/dist/npm/virtualization/Virtualization.d.ts +7 -7
- package/dist/npm/virtualization/Virtualization.js +11 -8
- package/dist/npm/virtualization/services/RowHeightService.js +7 -1
- package/dist/npm/virtualization/services/ScrollerService.js +1 -0
- package/dist/npm/virtualization/services/index.js +5 -4
- package/dist/systemjs/kendo-react-dateinputs.js +1 -1
- package/package.json +12 -12
|
@@ -89,7 +89,7 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
|
|
|
89
89
|
second: PropTypes.Requireable<string>;
|
|
90
90
|
timeZoneName: PropTypes.Requireable<string>;
|
|
91
91
|
}>>;
|
|
92
|
-
formatPlaceholder: PropTypes.Requireable<"
|
|
92
|
+
formatPlaceholder: PropTypes.Requireable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
|
|
93
93
|
year: PropTypes.Requireable<string>;
|
|
94
94
|
month: PropTypes.Requireable<string>;
|
|
95
95
|
day: PropTypes.Requireable<string>;
|
|
@@ -126,8 +126,8 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
|
|
|
126
126
|
validate: PropTypes.Requireable<boolean>;
|
|
127
127
|
valid: PropTypes.Requireable<boolean>;
|
|
128
128
|
size: PropTypes.Requireable<"small" | "medium" | "large">;
|
|
129
|
-
rounded: PropTypes.Requireable<"small" | "medium" | "
|
|
130
|
-
fillMode: PropTypes.Requireable<"
|
|
129
|
+
rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
|
|
130
|
+
fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
|
|
131
131
|
}>>;
|
|
132
132
|
focusedDate: PropTypes.Requireable<Date>;
|
|
133
133
|
format: PropTypes.Requireable<string | PropTypes.InferProps<{
|
|
@@ -192,29 +192,29 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
|
|
|
192
192
|
/**
|
|
193
193
|
* Gets the wrapping element of the DateRangePicker.
|
|
194
194
|
*/
|
|
195
|
-
|
|
195
|
+
get element(): HTMLSpanElement | null;
|
|
196
196
|
/**
|
|
197
197
|
* Gets the start DateInput component inside the DatePicker component.
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
get startDateInput(): DateInput | null;
|
|
200
200
|
/**
|
|
201
201
|
* Gets the end DateInput component inside the DatePicker component.
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
get endDateInput(): DateInput | null;
|
|
204
204
|
/**
|
|
205
205
|
* Gets the MultiVieCalendar inside the DateRangePicker.
|
|
206
206
|
*/
|
|
207
|
-
|
|
207
|
+
get calendar(): MultiViewCalendar | null;
|
|
208
208
|
/**
|
|
209
209
|
* Gets the value of the DateRangePicker.
|
|
210
210
|
*/
|
|
211
|
-
|
|
211
|
+
get value(): SelectionRange;
|
|
212
212
|
/**
|
|
213
213
|
* Gets the popup state of the DateRangePicker.
|
|
214
214
|
*/
|
|
215
|
-
|
|
216
|
-
protected
|
|
217
|
-
protected
|
|
215
|
+
get show(): boolean;
|
|
216
|
+
protected get min(): Date;
|
|
217
|
+
protected get max(): Date;
|
|
218
218
|
/**
|
|
219
219
|
* @hidden
|
|
220
220
|
*/
|
|
@@ -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 (
|
|
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");
|
|
@@ -211,7 +214,7 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
211
214
|
get: function () {
|
|
212
215
|
return this._element;
|
|
213
216
|
},
|
|
214
|
-
enumerable:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
294
|
+
enumerable: false,
|
|
292
295
|
configurable: true
|
|
293
296
|
});
|
|
294
297
|
/**
|
|
@@ -334,16 +337,16 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
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 }));
|
|
@@ -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<"
|
|
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>;
|
|
@@ -146,8 +146,8 @@ export declare class DateTimePickerWithoutContext extends React.Component<DateTi
|
|
|
146
146
|
valid: PropTypes.Requireable<boolean>;
|
|
147
147
|
cancelButton: PropTypes.Requireable<boolean>;
|
|
148
148
|
size: PropTypes.Requireable<"small" | "medium" | "large">;
|
|
149
|
-
rounded: PropTypes.Requireable<"small" | "medium" | "
|
|
150
|
-
fillMode: PropTypes.Requireable<"
|
|
149
|
+
rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
|
|
150
|
+
fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
|
|
151
151
|
};
|
|
152
152
|
/**
|
|
153
153
|
* @hidden
|
|
@@ -167,8 +167,8 @@ export declare class DateTimePickerWithoutContext extends React.Component<DateTi
|
|
|
167
167
|
cancelButton: boolean;
|
|
168
168
|
dateInput: React.ComponentType<DateInputProps<any>>;
|
|
169
169
|
size: "small" | "medium" | "large";
|
|
170
|
-
rounded: "small" | "medium" | "
|
|
171
|
-
fillMode: "
|
|
170
|
+
rounded: "small" | "medium" | "full" | "large";
|
|
171
|
+
fillMode: "flat" | "solid" | "outline";
|
|
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
|
-
|
|
190
|
+
get element(): HTMLSpanElement | null;
|
|
191
191
|
/**
|
|
192
192
|
* Gets the DateInput component inside the DateTimePicker component.
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
get dateInput(): DateInput | null;
|
|
195
195
|
/**
|
|
196
196
|
* Gets the value of the DateTimePicker.
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
get value(): Date | null;
|
|
199
199
|
/**
|
|
200
200
|
* Gets the popup state of the DateTimePicker.
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
get show(): boolean;
|
|
203
203
|
/**
|
|
204
204
|
* Gets the `name` property of the DateTimePicker.
|
|
205
205
|
*/
|
|
206
|
-
|
|
207
|
-
protected
|
|
208
|
-
protected
|
|
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
|
-
|
|
212
|
+
get validity(): FormComponentValidity;
|
|
213
213
|
/**
|
|
214
214
|
* @hidden
|
|
215
215
|
*/
|
|
216
|
-
protected
|
|
216
|
+
protected get validityStyles(): boolean;
|
|
217
217
|
/**
|
|
218
218
|
* @hidden
|
|
219
219
|
*/
|
|
220
|
-
protected
|
|
220
|
+
protected get required(): boolean;
|
|
221
221
|
/**
|
|
222
222
|
* @hidden
|
|
223
223
|
*/
|
|
224
|
-
protected
|
|
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 (
|
|
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");
|
|
@@ -135,7 +138,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
135
138
|
get: function () {
|
|
136
139
|
return this._element;
|
|
137
140
|
},
|
|
138
|
-
enumerable:
|
|
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:
|
|
151
|
+
enumerable: false,
|
|
149
152
|
configurable: true
|
|
150
153
|
});
|
|
151
154
|
Object.defineProperty(DateTimePickerWithoutContext.prototype, "value", {
|
|
@@ -160,7 +163,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
160
163
|
: this.state.value;
|
|
161
164
|
return (value !== null) ? kendo_date_math_1.cloneDate(value) : null;
|
|
162
165
|
},
|
|
163
|
-
enumerable:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
208
|
+
enumerable: false,
|
|
206
209
|
configurable: true
|
|
207
210
|
});
|
|
208
211
|
Object.defineProperty(DateTimePickerWithoutContext.prototype, "validity", {
|
|
@@ -223,7 +226,7 @@ var DateTimePickerWithoutContext = /** @class */ (function (_super) {
|
|
|
223
226
|
valueMissing: this.value === null
|
|
224
227
|
};
|
|
225
228
|
},
|
|
226
|
-
enumerable:
|
|
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:
|
|
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:
|
|
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:
|
|
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,
|
|
303
|
-
|
|
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,8 +331,8 @@ 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
338
|
}, className: kendo_react_common_1.classNames('k-input', 'k-datetimepicker', (_b = {},
|
|
@@ -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
|
-
|
|
64
|
-
|
|
65
|
-
protected
|
|
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
|
|
72
|
-
protected
|
|
71
|
+
protected get minTime(): Date | null;
|
|
72
|
+
protected get maxTime(): Date | null;
|
|
73
73
|
protected normalizeRange(candidate: Date, value: Date | null): Date | null;
|
|
74
74
|
protected hasActiveButton(): boolean;
|
|
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:
|
|
77
|
+
protected move: (direction: 'left' | 'right') => void;
|
|
78
78
|
private handleReject;
|
|
79
79
|
private handleAccept;
|
|
80
80
|
private handleNowClick;
|
|
@@ -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 (
|
|
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.DateTimeSelector = void 0;
|
|
27
30
|
var React = require("react");
|
|
28
31
|
var kendo_react_intl_1 = require("@progress/kendo-react-intl");
|
|
29
32
|
var messages_1 = require("../messages");
|
|
@@ -153,21 +156,21 @@ var DateTimeSelector = /** @class */ (function (_super) {
|
|
|
153
156
|
get: function () {
|
|
154
157
|
return this._calendar;
|
|
155
158
|
},
|
|
156
|
-
enumerable:
|
|
159
|
+
enumerable: false,
|
|
157
160
|
configurable: true
|
|
158
161
|
});
|
|
159
162
|
Object.defineProperty(DateTimeSelector.prototype, "timePart", {
|
|
160
163
|
get: function () {
|
|
161
164
|
return this._timePart;
|
|
162
165
|
},
|
|
163
|
-
enumerable:
|
|
166
|
+
enumerable: false,
|
|
164
167
|
configurable: true
|
|
165
168
|
});
|
|
166
169
|
Object.defineProperty(DateTimeSelector.prototype, "hasDateValue", {
|
|
167
170
|
get: function () {
|
|
168
171
|
return this.state.dateValue !== null;
|
|
169
172
|
},
|
|
170
|
-
enumerable:
|
|
173
|
+
enumerable: false,
|
|
171
174
|
configurable: true
|
|
172
175
|
});
|
|
173
176
|
DateTimeSelector.prototype.componentDidUpdate = function () {
|
|
@@ -190,7 +193,10 @@ var DateTimeSelector = /** @class */ (function (_super) {
|
|
|
190
193
|
var cancelMessage = localizationService.toLanguageString(messages_1.dateTimePickerCancel, messages_1.messages[messages_1.dateTimePickerCancel]);
|
|
191
194
|
var setMessage = localizationService.toLanguageString(messages_1.dateTimePickerSet, messages_1.messages[messages_1.dateTimePickerSet]);
|
|
192
195
|
var calendarProps = {
|
|
193
|
-
min: min,
|
|
196
|
+
min: min,
|
|
197
|
+
max: max,
|
|
198
|
+
weekNumber: weekNumber,
|
|
199
|
+
focusedDate: focusedDate,
|
|
194
200
|
disabled: disabled || this.state.tab !== 'date',
|
|
195
201
|
value: this.state.dateValue,
|
|
196
202
|
onChange: this.handleCalendarValueChange,
|
|
@@ -216,7 +222,7 @@ var DateTimeSelector = /** @class */ (function (_super) {
|
|
|
216
222
|
? this.props.minTime
|
|
217
223
|
: this.normalizeRange(this.props.min, this.state.dateValue);
|
|
218
224
|
},
|
|
219
|
-
enumerable:
|
|
225
|
+
enumerable: false,
|
|
220
226
|
configurable: true
|
|
221
227
|
});
|
|
222
228
|
Object.defineProperty(DateTimeSelector.prototype, "maxTime", {
|
|
@@ -225,7 +231,7 @@ var DateTimeSelector = /** @class */ (function (_super) {
|
|
|
225
231
|
? this.props.maxTime
|
|
226
232
|
: this.normalizeRange(this.props.max, this.state.dateValue);
|
|
227
233
|
},
|
|
228
|
-
enumerable:
|
|
234
|
+
enumerable: false,
|
|
229
235
|
configurable: true
|
|
230
236
|
});
|
|
231
237
|
DateTimeSelector.prototype.normalizeRange = function (candidate, value) {
|
package/dist/npm/defaults.js
CHANGED
|
@@ -11,7 +11,7 @@ export declare type PickerFloatingLabelProps = FloatingLabelProps & {
|
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
|
-
export declare const usePickerFloatingLabel: (dateInput: React.RefObject<
|
|
14
|
+
export declare const usePickerFloatingLabel: (dateInput: React.RefObject<DateInput>) => {
|
|
15
15
|
editorValue: boolean;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
@@ -11,12 +11,13 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.PickerFloatingLabel = exports.usePickerFloatingLabel = void 0;
|
|
14
15
|
var React = require("react");
|
|
15
16
|
var kendo_react_labels_1 = require("@progress/kendo-react-labels");
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
+
var usePickerFloatingLabel = function (dateInput) {
|
|
20
21
|
var _a = React.useState(false), show = _a[0], setShow = _a[1];
|
|
21
22
|
var syncText = function () {
|
|
22
23
|
if (dateInput.current) {
|
|
@@ -28,10 +29,12 @@ exports.usePickerFloatingLabel = function (dateInput) {
|
|
|
28
29
|
editorValue: show
|
|
29
30
|
};
|
|
30
31
|
};
|
|
32
|
+
exports.usePickerFloatingLabel = usePickerFloatingLabel;
|
|
31
33
|
/**
|
|
32
34
|
* @hidden
|
|
33
35
|
*/
|
|
34
|
-
|
|
36
|
+
var PickerFloatingLabel = function (props) {
|
|
35
37
|
var floatingLabelProps = exports.usePickerFloatingLabel(props.dateInput);
|
|
36
38
|
return (React.createElement(kendo_react_labels_1.FloatingLabel, __assign({}, props, floatingLabelProps)));
|
|
37
39
|
};
|
|
40
|
+
exports.PickerFloatingLabel = PickerFloatingLabel;
|
package/dist/npm/main.js
CHANGED
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DateTimePickerPropsContext = exports.DateTimePicker = exports.DateRangePickerPropsContext = exports.DateRangePicker = exports.MultiViewCalendarPropsContext = exports.MultiViewCalendar = exports.TimePickerPropsContext = exports.TimePicker = exports.DatePickerPropsContext = exports.DatePicker = exports.DateInputPropsContext = exports.DateInput = exports.CalendarNavigationItem = exports.CalendarHeaderTitle = exports.CalendarWeekCell = exports.CalendarCell = exports.CalendarViewEnum = exports.CalendarPropsContext = exports.Calendar = exports.ToggleButton = exports.PickerWrap = void 0;
|
|
3
4
|
var Calendar_1 = require("./calendar/components/Calendar");
|
|
4
|
-
exports
|
|
5
|
-
exports
|
|
5
|
+
Object.defineProperty(exports, "Calendar", { enumerable: true, get: function () { return Calendar_1.Calendar; } });
|
|
6
|
+
Object.defineProperty(exports, "CalendarPropsContext", { enumerable: true, get: function () { return Calendar_1.CalendarPropsContext; } });
|
|
6
7
|
var DateInput_1 = require("./dateinput/DateInput");
|
|
7
|
-
exports
|
|
8
|
-
exports
|
|
8
|
+
Object.defineProperty(exports, "DateInput", { enumerable: true, get: function () { return DateInput_1.DateInput; } });
|
|
9
|
+
Object.defineProperty(exports, "DateInputPropsContext", { enumerable: true, get: function () { return DateInput_1.DateInputPropsContext; } });
|
|
9
10
|
var DatePicker_1 = require("./datepicker/DatePicker");
|
|
10
|
-
exports
|
|
11
|
-
exports
|
|
11
|
+
Object.defineProperty(exports, "DatePicker", { enumerable: true, get: function () { return DatePicker_1.DatePicker; } });
|
|
12
|
+
Object.defineProperty(exports, "DatePickerPropsContext", { enumerable: true, get: function () { return DatePicker_1.DatePickerPropsContext; } });
|
|
12
13
|
var TimePicker_1 = require("./timepicker/TimePicker");
|
|
13
|
-
exports
|
|
14
|
-
exports
|
|
14
|
+
Object.defineProperty(exports, "TimePicker", { enumerable: true, get: function () { return TimePicker_1.TimePicker; } });
|
|
15
|
+
Object.defineProperty(exports, "TimePickerPropsContext", { enumerable: true, get: function () { return TimePicker_1.TimePickerPropsContext; } });
|
|
15
16
|
var MultiViewCalendar_1 = require("./calendar/components/MultiViewCalendar");
|
|
16
|
-
exports
|
|
17
|
-
exports
|
|
17
|
+
Object.defineProperty(exports, "MultiViewCalendar", { enumerable: true, get: function () { return MultiViewCalendar_1.MultiViewCalendar; } });
|
|
18
|
+
Object.defineProperty(exports, "MultiViewCalendarPropsContext", { enumerable: true, get: function () { return MultiViewCalendar_1.MultiViewCalendarPropsContext; } });
|
|
18
19
|
var DateRangePicker_1 = require("./daterangepicker/DateRangePicker");
|
|
19
|
-
exports
|
|
20
|
-
exports
|
|
20
|
+
Object.defineProperty(exports, "DateRangePicker", { enumerable: true, get: function () { return DateRangePicker_1.DateRangePicker; } });
|
|
21
|
+
Object.defineProperty(exports, "DateRangePickerPropsContext", { enumerable: true, get: function () { return DateRangePicker_1.DateRangePickerPropsContext; } });
|
|
21
22
|
var CalendarCell_1 = require("./calendar/components/CalendarCell");
|
|
22
|
-
exports
|
|
23
|
+
Object.defineProperty(exports, "CalendarCell", { enumerable: true, get: function () { return CalendarCell_1.CalendarCell; } });
|
|
23
24
|
var CalendarWeekCell_1 = require("./calendar/components/CalendarWeekCell");
|
|
24
|
-
exports
|
|
25
|
+
Object.defineProperty(exports, "CalendarWeekCell", { enumerable: true, get: function () { return CalendarWeekCell_1.CalendarWeekCell; } });
|
|
25
26
|
var CalendarHeaderTitle_1 = require("./calendar/components/CalendarHeaderTitle");
|
|
26
|
-
exports
|
|
27
|
+
Object.defineProperty(exports, "CalendarHeaderTitle", { enumerable: true, get: function () { return CalendarHeaderTitle_1.CalendarHeaderTitle; } });
|
|
27
28
|
var CalendarNavigationItem_1 = require("./calendar/components/CalendarNavigationItem");
|
|
28
|
-
exports
|
|
29
|
+
Object.defineProperty(exports, "CalendarNavigationItem", { enumerable: true, get: function () { return CalendarNavigationItem_1.CalendarNavigationItem; } });
|
|
29
30
|
var models_1 = require("./calendar/models");
|
|
30
|
-
exports
|
|
31
|
+
Object.defineProperty(exports, "CalendarViewEnum", { enumerable: true, get: function () { return models_1.CalendarViewEnum; } });
|
|
31
32
|
var DateTimePicker_1 = require("./datetimepicker/DateTimePicker");
|
|
32
|
-
exports
|
|
33
|
-
exports
|
|
33
|
+
Object.defineProperty(exports, "DateTimePicker", { enumerable: true, get: function () { return DateTimePicker_1.DateTimePicker; } });
|
|
34
|
+
Object.defineProperty(exports, "DateTimePickerPropsContext", { enumerable: true, get: function () { return DateTimePicker_1.DateTimePickerPropsContext; } });
|
|
34
35
|
var ToggleButton_1 = require("./datepicker/ToggleButton");
|
|
35
|
-
exports
|
|
36
|
+
Object.defineProperty(exports, "ToggleButton", { enumerable: true, get: function () { return ToggleButton_1.ToggleButton; } });
|
|
36
37
|
var PickerWrap_1 = require("./common/PickerWrap");
|
|
37
|
-
exports
|
|
38
|
+
Object.defineProperty(exports, "PickerWrap", { enumerable: true, get: function () { return PickerWrap_1.PickerWrap; } });
|