@progress/kendo-react-dateinputs 5.14.0-dev.202305231015 → 5.14.0-dev.202305250741

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 (29) hide show
  1. package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
  2. package/dist/es/calendar/components/Header.d.ts +1 -0
  3. package/dist/es/calendar/components/Header.js +4 -1
  4. package/dist/es/calendar/components/HorizontalViewList.d.ts +1 -0
  5. package/dist/es/calendar/components/HorizontalViewList.js +3 -1
  6. package/dist/es/calendar/components/MultiViewCalendar.d.ts +2 -0
  7. package/dist/es/calendar/components/MultiViewCalendar.js +2 -2
  8. package/dist/es/dateinput/DateInput.d.ts +4 -0
  9. package/dist/es/dateinput/DateInput.js +1 -1
  10. package/dist/es/daterangepicker/DateRangePicker.d.ts +26 -0
  11. package/dist/es/daterangepicker/DateRangePicker.js +127 -37
  12. package/dist/es/messages/index.d.ts +9 -0
  13. package/dist/es/messages/index.js +10 -0
  14. package/dist/es/package-metadata.js +1 -1
  15. package/dist/npm/calendar/components/Header.d.ts +1 -0
  16. package/dist/npm/calendar/components/Header.js +4 -1
  17. package/dist/npm/calendar/components/HorizontalViewList.d.ts +1 -0
  18. package/dist/npm/calendar/components/HorizontalViewList.js +3 -1
  19. package/dist/npm/calendar/components/MultiViewCalendar.d.ts +2 -0
  20. package/dist/npm/calendar/components/MultiViewCalendar.js +2 -2
  21. package/dist/npm/dateinput/DateInput.d.ts +4 -0
  22. package/dist/npm/dateinput/DateInput.js +1 -1
  23. package/dist/npm/daterangepicker/DateRangePicker.d.ts +26 -0
  24. package/dist/npm/daterangepicker/DateRangePicker.js +125 -35
  25. package/dist/npm/messages/index.d.ts +9 -0
  26. package/dist/npm/messages/index.js +11 -1
  27. package/dist/npm/package-metadata.js +1 -1
  28. package/dist/systemjs/kendo-react-dateinputs.js +1 -1
  29. package/package.json +13 -13
@@ -40,12 +40,24 @@ export interface DateRangePickerProps extends DateRangePickerSettings {
40
40
  * Fires each time the user selects a part of a date range ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
41
41
  */
42
42
  onChange?: (event: DateRangePickerChangeEvent) => void;
43
+ /**
44
+ * Fires each time the popup of the DateRangePicker is about to cancel in ([adaptive mode]({% slug adaptive_rendering_daterangepicker %})).
45
+ */
46
+ onCancel?: (event: React.PointerEvent<HTMLSpanElement>) => void;
43
47
  /**
44
48
  * Specifies the selected date range of the DateRangePicker ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
45
49
  *
46
50
  * > The `value` has to be an object with `start` and `end` valid JavaScript [`Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instances or `null`.
47
51
  */
48
52
  value?: SelectionRange;
53
+ /**
54
+ * Providing different rendering of the popup element based on the screen dimensions.
55
+ */
56
+ adaptive?: boolean;
57
+ /**
58
+ * Specifies the text that is rendered as title in the adaptive popup.
59
+ */
60
+ adaptiveTitle?: string;
49
61
  }
50
62
  /**
51
63
  * @hidden
@@ -53,6 +65,8 @@ export interface DateRangePickerProps extends DateRangePickerSettings {
53
65
  export interface DateRangePickerState {
54
66
  show: boolean;
55
67
  value: SelectionRange;
68
+ windowWidth?: number;
69
+ currentValue: SelectionRange;
56
70
  }
57
71
  /** @hidden */
58
72
  export declare class DateRangePickerWithoutContext extends React.Component<DateRangePickerProps, DateRangePickerState> {
@@ -190,6 +204,7 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
190
204
  private _endInputId;
191
205
  private shouldFocusDateInput;
192
206
  private shouldFocusCalendar;
207
+ private observerResize?;
193
208
  constructor(props: DateRangePickerProps);
194
209
  /**
195
210
  * Gets the wrapping element of the DateRangePicker.
@@ -217,6 +232,12 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
217
232
  get show(): boolean;
218
233
  protected get min(): Date;
219
234
  protected get max(): Date;
235
+ private get document();
236
+ private get localizationService();
237
+ /**
238
+ * The mobile mode of the DateRangePicker.
239
+ */
240
+ get mobileMode(): boolean;
220
241
  /**
221
242
  * @hidden
222
243
  */
@@ -244,16 +265,21 @@ export declare class DateRangePickerWithoutContext extends React.Component<DateR
244
265
  protected calculateShow: (nextProps: DateRangePickerProps, nextState: DateRangePickerState) => boolean;
245
266
  protected nextTick(f: () => any): void;
246
267
  protected setShow(show: boolean): void;
268
+ private renderCalendar;
269
+ private renderPopup;
270
+ private renderAdaptivePopup;
247
271
  private handleReverseClick;
248
272
  private handleReverseMouseDown;
249
273
  private handleFocus;
250
274
  private handleBlur;
275
+ private handleCancel;
251
276
  private handleEndChange;
252
277
  private handleStartChange;
253
278
  private extractRangeFromValue;
254
279
  private handleCalendarChange;
255
280
  private handleKeyDown;
256
281
  private handleChange;
282
+ private calculateMedia;
257
283
  }
258
284
  /**
259
285
  * Represents the PropsContext of the `DateRangePicker` component.
@@ -40,9 +40,12 @@ var DateInput_1 = require("../dateinput/DateInput");
40
40
  var MultiViewCalendar_1 = require("../calendar/components/MultiViewCalendar");
41
41
  var models_1 = require("../calendar/models");
42
42
  var utils_1 = require("../utils");
43
+ var constants_1 = require("../common/constants");
43
44
  var messages_1 = require("../messages");
44
45
  var kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
45
46
  var utils_2 = require("../utils");
47
+ var AdaptiveMode_1 = require("../common/AdaptiveMode");
48
+ var kendo_react_layout_1 = require("@progress/kendo-react-layout");
46
49
  /** @hidden */
47
50
  var DateRangePickerWithoutContext = /** @class */ (function (_super) {
48
51
  __extends(DateRangePickerWithoutContext, _super);
@@ -84,6 +87,43 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
84
87
  ? nextProps.show
85
88
  : nextState.show;
86
89
  };
90
+ _this.renderCalendar = function () {
91
+ var value = _this.value || models_1.EMPTY_SELECTIONRANGE;
92
+ var calendarProps = __assign(__assign({ min: _this.min, max: _this.max, allowReverse: _this.props.allowReverse, mode: 'range', focusedDate: _this.props.focusedDate, disabled: _this.props.disabled, className: _this.mobileMode ? 'k-calendar-lg' : '', mobileMode: _this.mobileMode }, _this.props.calendarSettings), { value: value, onChange: _this.handleCalendarChange });
93
+ return _this.props.calendar
94
+ ? React.createElement(_this.props.calendar, __assign({}, calendarProps, { className: '' }))
95
+ : React.createElement(MultiViewCalendar_1.MultiViewCalendar, __assign({}, calendarProps, { ref: _this.setCalendarRef, className: 'k-calendar-lg' }));
96
+ };
97
+ _this.renderPopup = function () {
98
+ var popupProps = __assign(__assign({ popupClass: 'k-daterangepicker-popup', animate: _this._element !== null, anchor: _this._element, id: _this._popupId, anchorAlign: {
99
+ horizontal: 'left',
100
+ vertical: 'bottom'
101
+ }, popupAlign: {
102
+ horizontal: 'left',
103
+ vertical: 'top'
104
+ } }, _this.props.popupSettings), { show: _this.show });
105
+ return (_this.props.popup
106
+ ? React.createElement(_this.props.popup, __assign({}, popupProps), _this.renderCalendar())
107
+ : React.createElement(kendo_react_popup_1.Popup, __assign({}, popupProps), _this.renderCalendar()));
108
+ };
109
+ _this.renderAdaptivePopup = function () {
110
+ var _a = _this.state.windowWidth, windowWidth = _a === void 0 ? 0 : _a;
111
+ var actionSheetProps = {
112
+ expand: _this.show,
113
+ onClose: function (event) { return _this.handleCancel(event); },
114
+ adaptiveTitle: _this.props.adaptiveTitle,
115
+ windowWidth: windowWidth,
116
+ footer: {
117
+ cancelText: _this.localizationService.toLanguageString(messages_1.dateRangePickerCancel, messages_1.messages[messages_1.dateRangePickerCancel]),
118
+ onCancel: function (event) { return _this.handleCancel(event); },
119
+ applyText: _this.localizationService.toLanguageString(messages_1.dateRangePickerConfirm, messages_1.messages[messages_1.dateRangePickerConfirm]),
120
+ onApply: function (event) { return _this.handleBlur(event); }
121
+ }
122
+ };
123
+ return (React.createElement(AdaptiveMode_1.AdaptiveMode, __assign({}, actionSheetProps),
124
+ React.createElement(kendo_react_layout_1.ActionSheetContent, { className: '!k-overflow-hidden' },
125
+ React.createElement("div", { className: 'k-scrollable-wrap' }, _this.renderCalendar()))));
126
+ };
87
127
  _this.handleReverseClick = function (event) {
88
128
  var value = {
89
129
  start: _this.value.end,
@@ -102,6 +142,9 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
102
142
  clearTimeout(_this.nextTickId);
103
143
  if (!_this.shouldFocusDateInput) {
104
144
  _this.setShow(true);
145
+ if (_this.mobileMode) {
146
+ _this.setState({ currentValue: _this.value });
147
+ }
105
148
  }
106
149
  var onFocus = _this.props.onFocus;
107
150
  if (onFocus) {
@@ -117,6 +160,16 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
117
160
  onBlur.call(undefined, event);
118
161
  }
119
162
  };
163
+ _this.handleCancel = function (event) {
164
+ _this.nextTick(function () {
165
+ _this.setShow(false);
166
+ _this.setState({ currentValue: models_1.EMPTY_SELECTIONRANGE });
167
+ });
168
+ var onCancel = _this.props.onCancel;
169
+ if (onCancel) {
170
+ onCancel.call(undefined, event);
171
+ }
172
+ };
120
173
  _this.handleEndChange = function (event) {
121
174
  var value = {
122
175
  start: _this.value.start,
@@ -188,7 +241,8 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
188
241
  (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
189
242
  _this.state = {
190
243
  show: _this.props.show || _this.props.defaultShow || DateRangePickerWithoutContext.defaultProps.defaultShow,
191
- value: _this.props.value || _this.props.defaultValue || DateRangePickerWithoutContext.defaultProps.defaultValue
244
+ value: _this.props.value || _this.props.defaultValue || DateRangePickerWithoutContext.defaultProps.defaultValue,
245
+ currentValue: models_1.EMPTY_SELECTIONRANGE
192
246
  };
193
247
  _this.nextTick = _this.nextTick.bind(_this);
194
248
  _this.setShow = _this.setShow.bind(_this);
@@ -283,14 +337,49 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
283
337
  enumerable: false,
284
338
  configurable: true
285
339
  });
340
+ Object.defineProperty(DateRangePickerWithoutContext.prototype, "document", {
341
+ get: function () {
342
+ if (!kendo_react_common_2.canUseDOM) {
343
+ return;
344
+ }
345
+ // useful only for user actions
346
+ return (this.element && this.element.ownerDocument) || document;
347
+ },
348
+ enumerable: false,
349
+ configurable: true
350
+ });
351
+ Object.defineProperty(DateRangePickerWithoutContext.prototype, "localizationService", {
352
+ get: function () {
353
+ var localization = (0, kendo_react_intl_1.provideLocalizationService)(this);
354
+ return localization;
355
+ },
356
+ enumerable: false,
357
+ configurable: true
358
+ });
359
+ Object.defineProperty(DateRangePickerWithoutContext.prototype, "mobileMode", {
360
+ /**
361
+ * The mobile mode of the DateRangePicker.
362
+ */
363
+ get: function () {
364
+ var isAdaptive = this.state.windowWidth && this.state.windowWidth <= constants_1.MOBILE_MEDIUM_DEVISE && this.props.adaptive;
365
+ return !!isAdaptive;
366
+ },
367
+ enumerable: false,
368
+ configurable: true
369
+ });
286
370
  /**
287
371
  * @hidden
288
372
  */
289
373
  DateRangePickerWithoutContext.prototype.componentDidMount = function () {
374
+ var _a;
375
+ this.observerResize = kendo_react_common_2.canUseDOM && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this));
290
376
  if (this.show) {
291
377
  // If defaultShow is true during the initial render, the popup is not aligned.
292
378
  this.forceUpdate();
293
379
  }
380
+ if (((_a = this.document) === null || _a === void 0 ? void 0 : _a.body) && this.observerResize) {
381
+ this.observerResize.observe(this.document.body);
382
+ }
294
383
  };
295
384
  /**
296
385
  * @hidden
@@ -309,7 +398,11 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
309
398
  * @hidden
310
399
  */
311
400
  DateRangePickerWithoutContext.prototype.componentWillUnmount = function () {
401
+ var _a;
312
402
  clearTimeout(this.nextTickId);
403
+ if (((_a = this.document) === null || _a === void 0 ? void 0 : _a.body) && this.observerResize) {
404
+ this.observerResize.disconnect();
405
+ }
313
406
  };
314
407
  /**
315
408
  * @hidden
@@ -317,28 +410,17 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
317
410
  DateRangePickerWithoutContext.prototype.render = function () {
318
411
  var _this = this;
319
412
  var value = this.value || models_1.EMPTY_SELECTIONRANGE;
413
+ var valueToShow = (this.mobileMode && this.show) ? this.state.currentValue : value;
320
414
  var startDateInputId = (this.props.startDateInputSettings || {}).id || this._startInputId;
321
415
  var endDateInputId = (this.props.endDateInputSettings || {}).id || this._endInputId;
322
416
  var rootClassName = (0, kendo_react_common_1.classNames)('k-daterangepicker', {
323
417
  'k-disabled': this.props.disabled
324
418
  }, this.props.className);
325
- var localizationService = (0, kendo_react_intl_1.provideLocalizationService)(this);
326
- var startMessage = localizationService.toLanguageString(messages_1.start, messages_1.messages[messages_1.start]);
327
- var endMessage = localizationService.toLanguageString(messages_1.end, messages_1.messages[messages_1.end]);
328
- var separatorMessage = localizationService.toLanguageString(messages_1.separator, messages_1.messages[messages_1.separator]);
329
- 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, tabIndex: this.props.tabIndex, ariaExpanded: this.show }, this.props.startDateInputSettings), { value: value.start, onChange: this.handleStartChange });
330
- 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, tabIndex: this.props.tabIndex, ariaExpanded: this.show }, this.props.endDateInputSettings), { value: value.end, onChange: this.handleEndChange });
331
- var popupProps = __assign(__assign({ popupClass: 'k-daterangepicker-popup', animate: this._element !== null, anchor: this._element, id: this._popupId, anchorAlign: {
332
- horizontal: 'left',
333
- vertical: 'bottom'
334
- }, popupAlign: {
335
- horizontal: 'left',
336
- vertical: 'top'
337
- } }, this.props.popupSettings), { show: this.show });
338
- 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 });
339
- var calendar = this.props.calendar
340
- ? React.createElement(this.props.calendar, __assign({}, calendarProps))
341
- : React.createElement(MultiViewCalendar_1.MultiViewCalendar, __assign({}, calendarProps, { ref: this.setCalendarRef }));
419
+ var startMessage = this.localizationService.toLanguageString(messages_1.start, messages_1.messages[messages_1.start]);
420
+ var endMessage = this.localizationService.toLanguageString(messages_1.end, messages_1.messages[messages_1.end]);
421
+ var separatorMessage = this.localizationService.toLanguageString(messages_1.separator, messages_1.messages[messages_1.separator]);
422
+ var startDateInputProps = __assign(__assign({ disableSelection: this.mobileMode && true, label: startMessage, format: this.props.format, min: this.min, max: this.max, id: this._startInputId, disabled: this.props.disabled, valid: this.props.valid, tabIndex: this.props.tabIndex, ariaExpanded: this.show }, this.props.startDateInputSettings), { value: valueToShow.start, onChange: this.handleStartChange });
423
+ var endDateInputProps = __assign(__assign({ disableSelection: this.mobileMode && true, label: endMessage, format: this.props.format, min: this.min, max: this.max, id: this._endInputId, disabled: this.props.disabled, valid: this.props.valid, tabIndex: this.props.tabIndex, ariaExpanded: this.show }, this.props.endDateInputSettings), { value: valueToShow.end, onChange: this.handleEndChange });
342
424
  var reverseButton = (React.createElement(kendo_react_buttons_1.Button, __assign({ className: "k-select", fillMode: "flat", title: (0, kendo_react_intl_1.provideLocalizationService)(this)
343
425
  .toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd]), onMouseDown: this.handleReverseMouseDown, onClick: this.handleReverseClick }, {
344
426
  'aria-controls': startDateInputId + ' ' + endDateInputId,
@@ -346,23 +428,23 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
346
428
  .toLanguageString(messages_1.swapStartEnd, messages_1.messages[messages_1.swapStartEnd])
347
429
  }),
348
430
  React.createElement(kendo_react_common_1.IconWrap, { style: { transform: 'rotate(90deg)' }, name: "arrows-swap", icon: kendo_svg_icons_1.arrowsSwapIcon })));
349
- return (React.createElement("span", { ref: function (span) {
350
- _this._element = span;
351
- }, className: rootClassName, style: this.props.style, id: this.props.id, "aria-labelledby": this.props.ariaLabelledBy, "aria-describedby": this.props.ariaDescribedBy, tabIndex: this.props.tabIndex, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown },
352
- this.props.startDateInput
353
- ? React.createElement(this.props.startDateInput, __assign({}, startDateInputProps))
354
- : React.createElement(DateInput_1.DateInput, __assign({}, startDateInputProps, { ref: this._startDateInput, ariaRole: "combobox", ariaControls: this._popupId })),
355
- (this.props.allowReverse
356
- || (this.props.calendarSettings && this.props.calendarSettings.allowReverse))
357
- && this.props.swapButton
358
- ? (reverseButton)
359
- : (separatorMessage),
360
- this.props.endDateInput
361
- ? React.createElement(this.props.endDateInput, __assign({}, endDateInputProps))
362
- : React.createElement(DateInput_1.DateInput, __assign({}, endDateInputProps, { ref: this._endDateInput, ariaRole: "combobox", ariaControls: this._popupId })),
363
- this.props.popup
364
- ? React.createElement(this.props.popup, __assign({}, popupProps), calendar)
365
- : React.createElement(kendo_react_popup_1.Popup, __assign({}, popupProps), calendar)));
431
+ return (React.createElement(React.Fragment, null,
432
+ React.createElement("span", { ref: function (span) {
433
+ _this._element = span;
434
+ }, className: rootClassName, style: this.props.style, id: this.props.id, "aria-labelledby": this.props.ariaLabelledBy, "aria-describedby": this.props.ariaDescribedBy, tabIndex: this.props.tabIndex, onFocus: this.handleFocus, onBlur: !this.mobileMode ? this.handleBlur : undefined, onKeyDown: this.handleKeyDown },
435
+ this.props.startDateInput
436
+ ? React.createElement(this.props.startDateInput, __assign({}, startDateInputProps))
437
+ : React.createElement(DateInput_1.DateInput, __assign({}, startDateInputProps, { ref: this._startDateInput, ariaRole: "combobox", ariaControls: this._popupId, readonly: this.mobileMode })),
438
+ (this.props.allowReverse
439
+ || (this.props.calendarSettings && this.props.calendarSettings.allowReverse))
440
+ && this.props.swapButton
441
+ ? (reverseButton)
442
+ : (separatorMessage),
443
+ this.props.endDateInput
444
+ ? React.createElement(this.props.endDateInput, __assign({}, endDateInputProps))
445
+ : React.createElement(DateInput_1.DateInput, __assign({}, endDateInputProps, { ref: this._endDateInput, ariaRole: "combobox", ariaControls: this._popupId, readonly: this.mobileMode })),
446
+ !this.mobileMode && this.renderPopup()),
447
+ this.mobileMode && this.renderAdaptivePopup()));
366
448
  };
367
449
  DateRangePickerWithoutContext.prototype.focusDateInputElement = function () {
368
450
  if (!document || !this.startDateInput || !this.startDateInput.element
@@ -390,6 +472,14 @@ var DateRangePickerWithoutContext = /** @class */ (function (_super) {
390
472
  }
391
473
  this.setState({ show: show });
392
474
  };
475
+ DateRangePickerWithoutContext.prototype.calculateMedia = function (entries) {
476
+ for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) {
477
+ var entry = entries_1[_i];
478
+ this.setState({ windowWidth: entry.target.clientWidth });
479
+ }
480
+ ;
481
+ };
482
+ ;
393
483
  /**
394
484
  * @hidden
395
485
  */
@@ -82,6 +82,14 @@ export declare const dateTimePickerCancel = "datetimepicker.cancel";
82
82
  * @hidden
83
83
  */
84
84
  export declare const dateTimePickerSet = "datetimepicker.set";
85
+ /**
86
+ * @hidden
87
+ */
88
+ export declare const dateRangePickerCancel = "datetimepicker.cancel";
89
+ /**
90
+ * @hidden
91
+ */
92
+ export declare const dateRangePickerConfirm = "datetimepicker.confirm";
85
93
  /**
86
94
  * @hidden
87
95
  */
@@ -94,6 +102,7 @@ export declare const messages: {
94
102
  "datetimepicker.time": string;
95
103
  "datetimepicker.cancel": string;
96
104
  "datetimepicker.set": string;
105
+ "datetimepicker.confirm": string;
97
106
  "daterangepicker.start": string;
98
107
  "daterangepicker.end": string;
99
108
  "daterangepicker.separator": string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.messages = exports.dateTimePickerSet = exports.dateTimePickerCancel = exports.time = exports.date = exports.toggleClock = exports.toggleTimeSelector = exports.timePickerSet = exports.timePickerCancel = exports.selectNow = exports.now = exports.toggleDateTimeSelector = exports.separator = exports.end = exports.start = exports.swapStartEnd = exports.toggleCalendar = exports.today = exports.decreaseValue = exports.increaseValue = exports.nextView = exports.prevView = void 0;
4
+ exports.messages = exports.dateRangePickerConfirm = exports.dateRangePickerCancel = exports.dateTimePickerSet = exports.dateTimePickerCancel = exports.time = exports.date = exports.toggleClock = exports.toggleTimeSelector = exports.timePickerSet = exports.timePickerCancel = exports.selectNow = exports.now = exports.toggleDateTimeSelector = exports.separator = exports.end = exports.start = exports.swapStartEnd = exports.toggleCalendar = exports.today = exports.decreaseValue = exports.increaseValue = exports.nextView = exports.prevView = void 0;
5
5
  /**
6
6
  * @hidden
7
7
  */
@@ -86,6 +86,14 @@ exports.dateTimePickerCancel = 'datetimepicker.cancel';
86
86
  * @hidden
87
87
  */
88
88
  exports.dateTimePickerSet = 'datetimepicker.set';
89
+ /**
90
+ * @hidden
91
+ */
92
+ exports.dateRangePickerCancel = 'datetimepicker.cancel';
93
+ /**
94
+ * @hidden
95
+ */
96
+ exports.dateRangePickerConfirm = 'datetimepicker.confirm';
89
97
  /**
90
98
  * @hidden
91
99
  */
@@ -98,6 +106,8 @@ exports.messages = (_a = {},
98
106
  _a[exports.time] = 'Time',
99
107
  _a[exports.dateTimePickerCancel] = 'Cancel',
100
108
  _a[exports.dateTimePickerSet] = 'Set',
109
+ _a[exports.dateRangePickerCancel] = 'Cancel',
110
+ _a[exports.dateRangePickerConfirm] = 'Confirm Selection',
101
111
  _a[exports.start] = 'Start',
102
112
  _a[exports.end] = 'End',
103
113
  _a[exports.separator] = ' ',
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-dateinputs',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1684834780,
11
+ publishDate: 1684998456,
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
  };