@progress/kendo-react-dateinputs 7.0.3-develop.1 → 7.0.3-develop.10

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 (95) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +1 -1
  3. package/PopupSettings.d.ts +1 -1
  4. package/README.md +1 -1
  5. package/calendar/components/Calendar.d.ts +2 -2
  6. package/calendar/components/CalendarCell.d.ts +1 -1
  7. package/calendar/components/CalendarHeaderTitle.d.ts +1 -1
  8. package/calendar/components/CalendarNavigationItem.d.ts +1 -1
  9. package/calendar/components/CalendarWeekCell.d.ts +1 -1
  10. package/calendar/components/Header.d.ts +1 -1
  11. package/calendar/components/HorizontalViewList.d.ts +1 -1
  12. package/calendar/components/MultiViewCalendar.d.ts +1 -1
  13. package/calendar/components/Navigation.d.ts +1 -1
  14. package/calendar/components/TodayCommand.d.ts +1 -1
  15. package/calendar/components/View.d.ts +1 -1
  16. package/calendar/components/ViewList.d.ts +1 -1
  17. package/calendar/models/ActiveView.d.ts +1 -1
  18. package/calendar/models/CalendarSettings.d.ts +1 -1
  19. package/calendar/models/CalendarViewEnum.d.ts +1 -1
  20. package/calendar/models/CellContext.d.ts +1 -1
  21. package/calendar/models/MultiViewCalendarMode.d.ts +1 -1
  22. package/calendar/models/MultiViewCalendarSettings.d.ts +1 -1
  23. package/calendar/models/NavigationAction.d.ts +1 -1
  24. package/calendar/models/SelectionRange.d.ts +1 -1
  25. package/calendar/models/SelectionRangeEnd.d.ts +1 -1
  26. package/calendar/models/ViewService.d.ts +1 -1
  27. package/calendar/models/index.d.ts +1 -1
  28. package/calendar/services/BusViewService.d.ts +1 -1
  29. package/calendar/services/CenturyViewService.d.ts +1 -1
  30. package/calendar/services/DOMService.d.ts +1 -1
  31. package/calendar/services/DecadeViewService.d.ts +1 -1
  32. package/calendar/services/MonthViewService.d.ts +1 -1
  33. package/calendar/services/NavigationService.d.ts +1 -1
  34. package/calendar/services/ScrollSyncService.d.ts +1 -1
  35. package/calendar/services/WeekNamesService.d.ts +1 -1
  36. package/calendar/services/YearViewService.d.ts +1 -1
  37. package/calendar/services/index.d.ts +1 -1
  38. package/common/AdaptiveMode.d.ts +1 -1
  39. package/common/PickerWrap.d.ts +1 -1
  40. package/common/constants.d.ts +1 -1
  41. package/dateinput/DateInput.d.ts +1 -1
  42. package/dateinput/models/DateInputSettings.d.ts +1 -1
  43. package/dateinput/models/format-placeholder.d.ts +1 -1
  44. package/dateinput/models/incremental-steps.d.ts +1 -1
  45. package/dateinput/models/index.d.ts +1 -1
  46. package/dateinput/models/kendo-date.d.ts +1 -1
  47. package/dateinput/models/mask.d.ts +1 -1
  48. package/dateinput/models/selection.d.ts +1 -1
  49. package/dateinput/utils.d.ts +1 -1
  50. package/datepicker/DatePicker.d.ts +1 -1
  51. package/datepicker/ToggleButton.d.ts +1 -1
  52. package/datepicker/models/DatePickerSettings.d.ts +1 -1
  53. package/datepicker/models/index.d.ts +1 -1
  54. package/daterangepicker/DateRangePicker.d.ts +1 -1
  55. package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +1 -1
  56. package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +1 -1
  57. package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +1 -1
  58. package/daterangepicker/models/DateRangePickerSettings.d.ts +1 -1
  59. package/daterangepicker/models/index.d.ts +1 -1
  60. package/datetimepicker/DateTimePicker.d.ts +1 -1
  61. package/datetimepicker/DateTimeSelector.d.ts +10 -5
  62. package/datetimepicker/models/DateTimePickerSettings.d.ts +1 -1
  63. package/datetimepicker/models/index.d.ts +1 -1
  64. package/dist/cdn/js/kendo-react-dateinputs.js +5 -5
  65. package/hooks/usePickerFloatingLabel.d.ts +1 -1
  66. package/index.d.mts +1 -1
  67. package/index.d.ts +1 -1
  68. package/index.js +5 -5
  69. package/index.mjs +736 -700
  70. package/messages/index.d.ts +1 -1
  71. package/package-metadata.d.ts +1 -1
  72. package/package.json +8 -8
  73. package/timepicker/TimeList.d.ts +1 -1
  74. package/timepicker/TimePart.d.ts +1 -1
  75. package/timepicker/TimePicker.d.ts +1 -1
  76. package/timepicker/TimeSelector.d.ts +1 -1
  77. package/timepicker/models/IncrementalSteps.d.ts +1 -1
  78. package/timepicker/models/ListItem.d.ts +1 -1
  79. package/timepicker/models/ListService.d.ts +1 -1
  80. package/timepicker/models/ListServiceSettings.d.ts +1 -1
  81. package/timepicker/models/TimePart.d.ts +1 -1
  82. package/timepicker/models/TimePickerSettings.d.ts +1 -1
  83. package/timepicker/models/index.d.ts +1 -1
  84. package/timepicker/services/DOMService.d.ts +1 -1
  85. package/timepicker/services/DayPeriodService.d.ts +1 -1
  86. package/timepicker/services/HoursService.d.ts +1 -1
  87. package/timepicker/services/MinutesService.d.ts +1 -1
  88. package/timepicker/services/SecondsService.d.ts +1 -1
  89. package/timepicker/services/index.d.ts +1 -1
  90. package/timepicker/utils.d.ts +1 -1
  91. package/utils.d.ts +1 -1
  92. package/virtualization/Virtualization.d.ts +1 -1
  93. package/virtualization/services/RowHeightService.d.ts +1 -1
  94. package/virtualization/services/ScrollerService.d.ts +1 -1
  95. package/virtualization/services/index.d.ts +1 -1
package/index.mjs CHANGED
@@ -1,23 +1,23 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  "use client";
6
- import * as o from "react";
6
+ import * as r from "react";
7
7
  import n from "prop-types";
8
- import { classNames as P, canUseDOM as J, createPropsContext as Dt, withIdHOC as yt, withPropsContext as St, Keys as y, validatePackage as Pt, setScrollbarWidth as fs, getActiveElement as lt, AsyncFocusBlur as we, kendoThemeMaps as mt, noop as Rs, IconWrap as ei } from "@progress/kendo-react-common";
9
- import { getDate as C, cloneDate as v, addDecades as it, addCenturies as qt, firstDecadeOfCentury as oe, lastDecadeOfCentury as He, firstYearOfDecade as st, durationInCenturies as se, addYears as nt, lastYearOfDecade as Ae, durationInDecades as ie, addDays as Wt, addWeeks as gs, addMonths as $, firstDayOfMonth as fe, lastDayOfMonth as Ot, dayOfWeek as si, durationInMonths as ne, firstMonthOfYear as Ns, lastMonthOfYear as _s, createDate as le, durationInYears as ae, weekInYear as ii, isEqualDate as wt, isEqual as ht } from "@progress/kendo-date-math";
10
- import { registerForIntl as ft, provideIntlService as ct, registerForLocalization as at, provideLocalizationService as q } from "@progress/kendo-react-intl";
8
+ import { classNames as P, canUseDOM as J, createPropsContext as kt, withIdHOC as yt, withPropsContext as St, Keys as k, validatePackage as Pt, setScrollbarWidth as fs, getActiveElement as lt, AsyncFocusBlur as we, kendoThemeMaps as mt, noop as Rs, IconWrap as ei } from "@progress/kendo-react-common";
9
+ import { getDate as C, cloneDate as v, addDecades as it, addCenturies as qt, firstDecadeOfCentury as re, lastDecadeOfCentury as He, firstYearOfDecade as st, durationInCenturies as se, addYears as nt, lastYearOfDecade as Be, durationInDecades as ie, addDays as Wt, addWeeks as gs, addMonths as $, firstDayOfMonth as fe, lastDayOfMonth as Ot, dayOfWeek as si, durationInMonths as ne, firstMonthOfYear as Ns, lastMonthOfYear as _s, createDate as le, durationInYears as ae, weekInYear as ii, isEqualDate as wt, isEqual as ht } from "@progress/kendo-date-math";
10
+ import { registerForIntl as ft, provideIntlService as ct, registerForLocalization as at, provideLocalizationService as W } from "@progress/kendo-react-intl";
11
11
  import { Button as N, ButtonGroup as ni } from "@progress/kendo-react-buttons";
12
- import { caretAltUpIcon as ai, caretAltDownIcon as ri, xIcon as oi, calendarIcon as Fs, clockIcon as li, chevronRightIcon as vs, chevronLeftIcon as ws, arrowsSwapIcon as hi } from "@progress/kendo-svg-icons";
12
+ import { caretAltUpIcon as ai, caretAltDownIcon as oi, xIcon as ri, calendarIcon as Fs, clockIcon as li, chevronRightIcon as vs, chevronLeftIcon as ws, arrowsSwapIcon as hi } from "@progress/kendo-svg-icons";
13
13
  import { FloatingLabel as Ls } from "@progress/kendo-react-labels";
14
14
  import { Popup as be } from "@progress/kendo-react-popup";
15
- import { ActionSheet as ci, ActionSheetHeader as ui, ActionSheetFooter as di, ActionSheetContent as ke } from "@progress/kendo-react-layout";
15
+ import { ActionSheet as ci, ActionSheetHeader as ui, ActionSheetFooter as di, ActionSheetContent as De } from "@progress/kendo-react-layout";
16
16
  const Rt = {
17
17
  name: "@progress/kendo-react-dateinputs",
18
18
  productName: "KendoReact",
19
19
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
20
- publishDate: 1702651645,
20
+ publishDate: 1704459086,
21
21
  version: "",
22
22
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
23
23
  }, pi = (s, t, e) => [
@@ -28,7 +28,7 @@ class mi {
28
28
  constructor(t = 0, e, i) {
29
29
  this.total = t, this.rowHeight = e, this.detailRowHeight = i, this.offsets = [], this.heights = [];
30
30
  let a = 0;
31
- for (let r = 0; r < t; r++)
31
+ for (let o = 0; o < t; o++)
32
32
  this.offsets.push(a), a += e, this.heights.push(e);
33
33
  }
34
34
  height(t) {
@@ -59,7 +59,7 @@ class mi {
59
59
  this.heights[t] += e, this.offsets = pi(this.offsets, t, e);
60
60
  }
61
61
  }
62
- const re = (s) => Math.max(s, 0);
62
+ const oe = (s) => Math.max(s, 0);
63
63
  class Me {
64
64
  constructor(t) {
65
65
  this.offset = t;
@@ -74,21 +74,21 @@ class fi {
74
74
  constructor(t, e) {
75
75
  this.onScrollAction = t, this.onPageAction = e, this.direction = "vertical", this.firstLoaded = 0, this.lastLoaded = 0, this.lastScrollTop = 0, this.take = 0, this.total = 0, this.rowHeightService = null, this.bottomOffset = 0, this.topOffset = 0;
76
76
  }
77
- create(t, e, i, a, r = 0, l = 0, c = "vertical") {
78
- this.rowHeightService = t, this.firstLoaded = e, this.lastLoaded = e + i, this.take = i, this.total = a, this.lastScrollTop = 0, this.topOffset = r, this.bottomOffset = l, this.direction = c;
79
- const h = this.rowsForHeight(r), u = re(e - h);
77
+ create(t, e, i, a, o = 0, l = 0, c = "vertical") {
78
+ this.rowHeightService = t, this.firstLoaded = e, this.lastLoaded = e + i, this.take = i, this.total = a, this.lastScrollTop = 0, this.topOffset = o, this.bottomOffset = l, this.direction = c;
79
+ const h = this.rowsForHeight(o), u = oe(e - h);
80
80
  this.onScrollAction(new Me(this.rowOffset(u))), this.onPageAction(new Te(u));
81
81
  }
82
82
  onScroll({ scrollLeft: t, scrollTop: e, offsetHeight: i, offsetWidth: a }) {
83
- const r = this.direction === "vertical" ? e : t, l = this.direction === "vertical" ? i : a;
84
- if (this.lastScrollTop === r || !this.rowHeightService)
83
+ const o = this.direction === "vertical" ? e : t, l = this.direction === "vertical" ? i : a;
84
+ if (this.lastScrollTop === o || !this.rowHeightService)
85
85
  return;
86
- const c = this.lastScrollTop >= r;
87
- this.lastScrollTop = r;
88
- const h = this.rowHeightService.index(re(r - this.topOffset)), u = this.rowHeightService.index(re(r + l - this.bottomOffset));
86
+ const c = this.lastScrollTop >= o;
87
+ this.lastScrollTop = o;
88
+ const h = this.rowHeightService.index(oe(o - this.topOffset)), u = this.rowHeightService.index(oe(o + l - this.bottomOffset));
89
89
  if (!c && u >= this.lastLoaded && this.lastLoaded < this.total && (this.firstLoaded = h, this.onScrollAction(new Me(this.rowOffset(h))), this.lastLoaded = Math.min(this.firstLoaded + this.take, this.total), this.onPageAction(new Te(this.firstLoaded))), c && h <= this.firstLoaded) {
90
90
  const d = Math.floor(this.take * 0.3);
91
- this.firstLoaded = re(h - d), this.onScrollAction(new Me(this.rowOffset(this.firstLoaded))), this.lastLoaded = Math.min(this.firstLoaded + this.take, this.total), this.onPageAction(new Te(this.firstLoaded));
91
+ this.firstLoaded = oe(h - d), this.onScrollAction(new Me(this.rowOffset(this.firstLoaded))), this.lastLoaded = Math.min(this.firstLoaded + this.take, this.total), this.onPageAction(new Te(this.firstLoaded));
92
92
  }
93
93
  }
94
94
  rowOffset(t) {
@@ -107,7 +107,7 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
107
107
  0
108
108
  /* Backward */
109
109
  ]: (s) => (t) => t - s
110
- }, ki = {
110
+ }, Di = {
111
111
  [
112
112
  1
113
113
  /* Forward */
@@ -116,7 +116,7 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
116
116
  0
117
117
  /* Backward */
118
118
  ]: (s) => (t) => Math.max(t, s)
119
- }, Di = {
119
+ }, ki = {
120
120
  [
121
121
  1
122
122
  /* Forward */
@@ -125,7 +125,7 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
125
125
  0
126
126
  /* Backward */
127
127
  ]: (s) => (t) => t > s
128
- }, he = class extends o.Component {
128
+ }, he = class extends r.Component {
129
129
  constructor(s) {
130
130
  super(s), this.rowHeightService = null, this.scrollContainer = null, this.lastDirection = null, this.lastTotal = 0, this.lastTake = 0, this.animationInProgress = !1, this.restrictScroll = !1, this.scrollTo = (t) => {
131
131
  const e = this.direction === "vertical" ? "scrollTop" : "scrollLeft";
@@ -140,14 +140,14 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
140
140
  return;
141
141
  window.cancelAnimationFrame(this.cancelAnimation);
142
142
  const e = this.rowHeightService.offset(t), i = this.getContainerScrollDirection(e);
143
- let { start: a, end: r } = this.scrollRange(e, i);
144
- if (a === r)
143
+ let { start: a, end: o } = this.scrollRange(e, i);
144
+ if (a === o)
145
145
  return;
146
- const l = this.scrollStep(a, r), c = bi[i](l), h = ki[i](r), u = Di[i](c(r)), d = (p) => {
146
+ const l = this.scrollStep(a, o), c = bi[i](l), h = Di[i](o), u = ki[i](c(o)), d = (p) => {
147
147
  this.animationInProgress = !0;
148
- const m = c(p);
149
- this.scrollTo(h(m)), u(m) ? this.cancelAnimation = window.requestAnimationFrame(() => {
150
- d(m);
148
+ const f = c(p);
149
+ this.scrollTo(h(f)), u(f) ? this.cancelAnimation = window.requestAnimationFrame(() => {
150
+ d(f);
151
151
  }) : this.animationInProgress = !1;
152
152
  };
153
153
  this.cancelAnimation = window.requestAnimationFrame(() => {
@@ -162,8 +162,8 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
162
162
  const i = this.containerScrollPosition;
163
163
  if (parseInt(`${t}`, 10) === parseInt(`${i}`, 10))
164
164
  return { start: t, end: t };
165
- const a = this.containerMaxScroll(), r = e === 0 ? 1 : -1, l = gi(i, t, this.props.maxScrollDifference || 0), c = Math.min(t, a);
166
- return { start: Math.min(Math.max(c + r * l, 0), a), end: c };
165
+ const a = this.containerMaxScroll(), o = e === 0 ? 1 : -1, l = gi(i, t, this.props.maxScrollDifference || 0), c = Math.min(t, a);
166
+ return { start: Math.min(Math.max(c + o * l, 0), a), end: c };
167
167
  }, this.containerMaxScroll = () => this.containerScrollSize - this.containerOffsetSize, this.getContainerScrollDirection = (t) => t < this.containerScrollPosition ? 0 : 1, this.initServices = (t = this.props) => {
168
168
  const e = this.direction === "vertical" ? t.itemHeight : t.itemWidth;
169
169
  e !== void 0 && (this.rowHeightService = new mi(t.total, e, 0), this.scrollerService.create(
@@ -185,14 +185,14 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
185
185
  offsetHeight: e.offsetHeight,
186
186
  offsetWidth: e.offsetWidth
187
187
  });
188
- const i = this.rowHeightService.index(this.containerScrollPosition - this.props.topOffset), { onScrollAction: a } = this.props, r = {
188
+ const i = this.rowHeightService.index(this.containerScrollPosition - this.props.topOffset), { onScrollAction: a } = this.props, o = {
189
189
  index: i,
190
190
  target: e,
191
191
  scrollAction: this.scrollAction,
192
192
  pageAction: this.pageAction,
193
193
  animationInProgress: this.animationInProgress
194
194
  };
195
- this.props.onScroll && this.props.onScroll.call(void 0, t), a && a.call(void 0, r), this.scrollAction = void 0, this.pageAction = void 0;
195
+ this.props.onScroll && this.props.onScroll.call(void 0, t), a && a.call(void 0, o), this.scrollAction = void 0, this.pageAction = void 0;
196
196
  }, this.handleScrollAction = (t) => {
197
197
  this.scrollAction = t;
198
198
  }, this.handlePageAction = (t) => {
@@ -200,7 +200,7 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
200
200
  }, this.scrollerService = new fi(
201
201
  this.handleScrollAction,
202
202
  this.handlePageAction
203
- ), this.restrictScroll = Number.parseFloat(o.version) > 17;
203
+ ), this.restrictScroll = Number.parseFloat(r.version) > 17;
204
204
  }
205
205
  get element() {
206
206
  return this.scrollContainer;
@@ -256,7 +256,7 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
256
256
  "k-scrollable-horizontal-placeholder": this.direction === "horizontal"
257
257
  }
258
258
  );
259
- return /* @__PURE__ */ o.createElement(
259
+ return /* @__PURE__ */ r.createElement(
260
260
  "div",
261
261
  {
262
262
  ref: (a) => {
@@ -268,7 +268,7 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
268
268
  role: this.props.role
269
269
  },
270
270
  this.props.children,
271
- /* @__PURE__ */ o.createElement(
271
+ /* @__PURE__ */ r.createElement(
272
272
  "div",
273
273
  {
274
274
  style: t,
@@ -310,13 +310,13 @@ const yi = (s, t) => {
310
310
  if (e.length !== i.length)
311
311
  return !1;
312
312
  for (let a = 0; a < e.length; a++) {
313
- const r = e[a];
314
- if (s[r] !== t[r])
313
+ const o = e[a];
314
+ if (s[o] !== t[o])
315
315
  return !1;
316
316
  }
317
317
  return !0;
318
318
  };
319
- class Si extends o.Component {
319
+ class Si extends r.Component {
320
320
  constructor() {
321
321
  super(...arguments), this.handleClick = (t) => {
322
322
  const { onClick: e, value: i } = this.props;
@@ -337,8 +337,8 @@ class Si extends o.Component {
337
337
  * @hidden
338
338
  */
339
339
  shouldComponentUpdate(t) {
340
- const { value: e, ...i } = this.props, { value: a, ...r } = t;
341
- return !((!(e && a) || e.getTime() === a.getTime()) && yi(i, r));
340
+ const { value: e, ...i } = this.props, { value: a, ...o } = t;
341
+ return !((!(e && a) || e.getTime() === a.getTime()) && yi(i, o));
342
342
  }
343
343
  /* eslint-disable max-len */
344
344
  /**
@@ -351,15 +351,15 @@ class Si extends o.Component {
351
351
  formattedValue: e,
352
352
  isWeekend: i,
353
353
  isFocused: a,
354
- isInRange: r,
354
+ isInRange: o,
355
355
  isSelected: l,
356
356
  isRangeStart: c,
357
357
  isRangeMid: h,
358
358
  isRangeEnd: u,
359
359
  isRangeSplitStart: d,
360
360
  isRangeSplitEnd: p,
361
- isToday: m,
362
- isDisabled: f,
361
+ isToday: f,
362
+ isDisabled: m,
363
363
  view: S,
364
364
  value: I,
365
365
  ...M
@@ -374,13 +374,13 @@ class Si extends o.Component {
374
374
  "k-active": E || w,
375
375
  "k-state-pending-focus": a,
376
376
  "k-selected": l || c || u,
377
- "k-today": m,
377
+ "k-today": f,
378
378
  "k-weekend": i,
379
- "k-disabled": f
379
+ "k-disabled": m
380
380
  },
381
381
  t
382
382
  );
383
- return /* @__PURE__ */ o.createElement(
383
+ return /* @__PURE__ */ r.createElement(
384
384
  "td",
385
385
  {
386
386
  ...M,
@@ -389,27 +389,27 @@ class Si extends o.Component {
389
389
  onMouseEnter: this.handleMouseEnter,
390
390
  onMouseLeave: this.handleMouseLeave
391
391
  },
392
- /* @__PURE__ */ o.createElement("span", { className: "k-link" }, this.props.children)
392
+ /* @__PURE__ */ r.createElement("span", { className: "k-link" }, this.props.children)
393
393
  );
394
394
  }
395
395
  }
396
- class xi extends o.Component {
396
+ class xi extends r.Component {
397
397
  /**
398
398
  * @return
399
399
  * Returns a `<td />` element with the [`value`]({% slug api_dateinputs_calendarweekcellprops %}#toc-value) as a child.
400
400
  */
401
401
  render() {
402
402
  const { className: t, firstDate: e, ...i } = this.props;
403
- return /* @__PURE__ */ o.createElement("td", { className: P("k-calendar-td", t), ...i }, this.props.children);
403
+ return /* @__PURE__ */ r.createElement("td", { className: P("k-calendar-td", t), ...i }, this.props.children);
404
404
  }
405
405
  }
406
- var b = /* @__PURE__ */ ((s) => (s[s.Left = 0] = "Left", s[s.Right = 1] = "Right", s[s.Up = 2] = "Up", s[s.Down = 3] = "Down", s[s.PrevView = 4] = "PrevView", s[s.NextView = 5] = "NextView", s[s.FirstInView = 6] = "FirstInView", s[s.LastInView = 7] = "LastInView", s[s.LowerView = 8] = "LowerView", s[s.UpperView = 9] = "UpperView", s))(b || {}), D = /* @__PURE__ */ ((s) => (s[s.month = 0] = "month", s[s.year = 1] = "year", s[s.decade = 2] = "decade", s[s.century = 3] = "century", s))(D || {});
407
- const z = { start: null, end: null };
408
- function rt(s) {
409
- const t = (i, a, r, ...l) => a[r] === null ? null : (i ? s.isRequired : s)(a, r, ...l), e = t.bind(null, !1);
406
+ var b = /* @__PURE__ */ ((s) => (s[s.Left = 0] = "Left", s[s.Right = 1] = "Right", s[s.Up = 2] = "Up", s[s.Down = 3] = "Down", s[s.PrevView = 4] = "PrevView", s[s.NextView = 5] = "NextView", s[s.FirstInView = 6] = "FirstInView", s[s.LastInView = 7] = "LastInView", s[s.LowerView = 8] = "LowerView", s[s.UpperView = 9] = "UpperView", s))(b || {}), y = /* @__PURE__ */ ((s) => (s[s.month = 0] = "month", s[s.year = 1] = "year", s[s.decade = 2] = "decade", s[s.century = 3] = "century", s))(y || {});
407
+ const q = { start: null, end: null };
408
+ function ot(s) {
409
+ const t = (i, a, o, ...l) => a[o] === null ? null : (i ? s.isRequired : s)(a, o, ...l), e = t.bind(null, !1);
410
410
  return e.isRequired = t.bind(null, !0), e;
411
411
  }
412
- const ge = (s, t, e) => t === void 0 || e === void 0 || t <= s && s <= e ? s : s < t ? t : e, L = new Date(1980, 0, 1), ut = new Date(1900, 0, 1), dt = new Date(2099, 11, 31), Nt = new Date(1980, 0, 1), xt = new Date(1980, 0, 1, 23, 59, 59), W = (s, t) => {
412
+ const ge = (s, t, e) => t === void 0 || e === void 0 || t <= s && s <= e ? s : s < t ? t : e, L = new Date(1980, 0, 1), ut = new Date(1900, 0, 1), dt = new Date(2099, 11, 31), Nt = new Date(1980, 0, 1), xt = new Date(1980, 0, 1, 23, 59, 59), U = (s, t) => {
413
413
  const e = v(s);
414
414
  return e.setHours(
415
415
  t.getHours(),
@@ -417,33 +417,33 @@ const ge = (s, t, e) => t === void 0 || e === void 0 || t <= s && s <= e ? s : s
417
417
  t.getSeconds(),
418
418
  t.getMilliseconds()
419
419
  ), e;
420
- }, U = () => C(/* @__PURE__ */ new Date()), F = (s, t, e) => !s || !(t && t > s || e && e < s), Hs = (s, t, e) => s === null || !(t && C(t) > C(s) || e && C(e) < C(s)), De = (s, t) => {
421
- const { start: e, end: i } = t || z;
420
+ }, H = () => C(/* @__PURE__ */ new Date()), F = (s, t, e) => !s || !(t && t > s || e && e < s), Hs = (s, t, e) => s === null || !(t && C(t) > C(s) || e && C(e) < C(s)), ke = (s, t) => {
421
+ const { start: e, end: i } = t || q;
422
422
  return !e || !i ? !1 : e < s && s < i;
423
423
  }, Q = (s, t, e = 1) => {
424
424
  const i = [];
425
425
  for (let a = s; a < t; a = a + e)
426
426
  i.push(a);
427
427
  return i;
428
- }, As = (s, t, e) => t.getTime() <= s.getTime() && s.getTime() <= e.getTime(), Bs = (s, t) => s.slice(t).concat(s.slice(0, t)), K = (s, t, e) => s && (t && s < t ? v(t) : e && s > e ? v(e) : s), Y = (s) => (t, e = "", i = {}) => {
428
+ }, Bs = (s, t, e) => t.getTime() <= s.getTime() && s.getTime() <= e.getTime(), As = (s, t) => s.slice(t).concat(s.slice(0, t)), K = (s, t, e) => s && (t && s < t ? v(t) : e && s > e ? v(e) : s), Y = (s) => (t, e = "", i = {}) => {
429
429
  const a = document.createElement(s);
430
- return a.className = e, Object.keys(i).map((r) => a.style[r] = i[r]), typeof t == "string" ? a.innerHTML = t || "" : (t || []).forEach((r) => r && a.appendChild(r)), a;
430
+ return a.className = e, Object.keys(i).map((o) => a.style[o] = i[o]), typeof t == "string" ? a.innerHTML = t || "" : (t || []).forEach((o) => o && a.appendChild(o)), a;
431
431
  };
432
432
  function Ci(s, t, e = {}) {
433
433
  let i, a;
434
434
  e.maxWait;
435
- let r, l, c;
435
+ let o, l, c;
436
436
  const h = window;
437
437
  let u = !1, d = !1;
438
438
  const p = !t && t !== 0 && typeof h.requestAnimationFrame == "function";
439
439
  if (typeof s != "function")
440
440
  throw new TypeError("Expected a function");
441
441
  t = +t || 0;
442
- function m(x) {
442
+ function f(x) {
443
443
  const O = i, tt = a;
444
- return i = a = void 0, r = s.apply(tt, O), r;
444
+ return i = a = void 0, o = s.apply(tt, O), o;
445
445
  }
446
- function f(x, O) {
446
+ function m(x, O) {
447
447
  return p ? (h.cancelAnimationFrame(l), h.requestAnimationFrame(x)) : setTimeout(x, O);
448
448
  }
449
449
  function S(x) {
@@ -452,7 +452,7 @@ function Ci(s, t, e = {}) {
452
452
  clearTimeout(x);
453
453
  }
454
454
  function I(x) {
455
- return l = f(E, t), u ? m() : r;
455
+ return l = m(E, t), u ? f() : o;
456
456
  }
457
457
  function M(x) {
458
458
  const O = x - c;
@@ -466,25 +466,25 @@ function Ci(s, t, e = {}) {
466
466
  const x = Date.now();
467
467
  if (w(x))
468
468
  return g();
469
- l = f(E, M(x));
469
+ l = m(E, M(x));
470
470
  }
471
471
  function g(x) {
472
- return l = void 0, i ? m() : (i = a = void 0, r);
472
+ return l = void 0, i ? f() : (i = a = void 0, o);
473
473
  }
474
- function H() {
474
+ function B() {
475
475
  l !== void 0 && S(l), i = c = a = l = void 0;
476
476
  }
477
477
  function V() {
478
- return l === void 0 ? r : g();
478
+ return l === void 0 ? o : g();
479
479
  }
480
480
  function R() {
481
481
  return l !== void 0;
482
482
  }
483
483
  function A(...x) {
484
484
  const O = Date.now(), tt = w(O);
485
- return i = x, a = this, c = O, tt && l === void 0 ? I() : (l === void 0 && (l = f(E, t)), r);
485
+ return i = x, a = this, c = O, tt && l === void 0 ? I() : (l === void 0 && (l = m(E, t)), o);
486
486
  }
487
- return A.cancel = H, A.flush = V, A.pending = R, A;
487
+ return A.cancel = B, A.flush = V, A.pending = R, A;
488
488
  }
489
489
  const Ii = [[]], Ee = 4, Mi = 3, Ti = {
490
490
  [b.Left]: (s) => it(s, -1),
@@ -493,7 +493,7 @@ const Ii = [[]], Ee = 4, Mi = 3, Ti = {
493
493
  [b.Down]: (s) => it(s, 5),
494
494
  [b.PrevView]: (s) => qt(s, -1),
495
495
  [b.NextView]: (s) => qt(s, 1),
496
- [b.FirstInView]: (s) => oe(s),
496
+ [b.FirstInView]: (s) => re(s),
497
497
  [b.LastInView]: (s) => He(s)
498
498
  };
499
499
  class Ei {
@@ -508,32 +508,32 @@ class Ei {
508
508
  cellUID: e,
509
509
  focusedDate: i,
510
510
  isActiveView: a,
511
- max: r,
511
+ max: o,
512
512
  min: l,
513
513
  selectedDate: c,
514
- selectionRange: h = z,
514
+ selectionRange: h = q,
515
515
  viewDate: u
516
516
  } = t;
517
517
  if (!u)
518
518
  return Ii;
519
- const d = Q(0, Ee), p = oe(u), m = He(u), f = U();
519
+ const d = Q(0, Ee), p = re(u), f = He(u), m = H();
520
520
  return Q(0, Mi).map((S) => {
521
521
  const I = it(p, S * Ee);
522
522
  return d.map((M) => {
523
- const w = this.normalize(it(I, M), l, r), E = this.isEqual(w, h.start), g = this.isEqual(w, h.end), V = !E && !g && De(w, h), R = a && (Array.isArray(c) ? this.isSelectedFromArray(w, c, l, r) : F(c, l, r) && this.isEqual(w, c));
524
- return As(w, p, m) ? {
523
+ const w = this.normalize(it(I, M), l, o), E = this.isEqual(w, h.start), g = this.isEqual(w, h.end), V = !E && !g && ke(w, h), R = a && (Array.isArray(c) ? this.isSelectedFromArray(w, c, l, o) : F(c, l, o) && this.isEqual(w, c));
524
+ return Bs(w, p, f) ? {
525
525
  formattedValue: this.value(w),
526
526
  id: `${e}${w.getTime()}`,
527
527
  isFocused: this.isEqual(w, i),
528
528
  isSelected: R,
529
529
  isWeekend: !1,
530
- isInRange: F(w, l, r),
530
+ isInRange: F(w, l, o),
531
531
  isRangeStart: E,
532
532
  isRangeMid: V,
533
533
  isRangeEnd: g,
534
- isRangeSplitEnd: V && this.isEqual(w, m),
534
+ isRangeSplitEnd: V && this.isEqual(w, f),
535
535
  isRangeSplitStart: V && this.isEqual(w, p),
536
- isToday: this.isEqual(w, f),
536
+ isToday: this.isEqual(w, m),
537
537
  title: this.cellTitle(w),
538
538
  value: w
539
539
  } : null;
@@ -541,10 +541,10 @@ class Ei {
541
541
  });
542
542
  }
543
543
  isSelectedFromArray(t, e, i, a) {
544
- let r = !1;
544
+ let o = !1;
545
545
  return e.forEach((l) => {
546
- F(t, i, a) && this.isEqual(t, l) && (r = !0);
547
- }), r;
546
+ F(t, i, a) && this.isEqual(t, l) && (o = !0);
547
+ }), o;
548
548
  }
549
549
  isEqual(t, e) {
550
550
  return !t || !e ? !1 : st(t).getFullYear() === st(e).getFullYear();
@@ -556,8 +556,8 @@ class Ei {
556
556
  return e[0].getFullYear() <= i && i <= e[e.length - 1].getFullYear() + 99;
557
557
  }
558
558
  isInRange(t, e, i) {
559
- const a = st(t).getFullYear(), r = !e || st(e).getFullYear() <= a, l = !i || a <= st(i).getFullYear();
560
- return r && l;
559
+ const a = st(t).getFullYear(), o = !e || st(e).getFullYear() <= a, l = !i || a <= st(i).getFullYear();
560
+ return o && l;
561
561
  }
562
562
  isInSameView(t, e) {
563
563
  return se(t, e) === 0;
@@ -573,10 +573,10 @@ class Ei {
573
573
  return st(t).getFullYear().toString();
574
574
  }
575
575
  navigationTitle(t) {
576
- return t ? oe(t).getFullYear().toString() : "";
576
+ return t ? re(t).getFullYear().toString() : "";
577
577
  }
578
578
  title(t) {
579
- return t ? `${oe(t).getFullYear()} - ${He(t).getFullYear()}` : "";
579
+ return t ? `${re(t).getFullYear()} - ${He(t).getFullYear()}` : "";
580
580
  }
581
581
  rowLength(t) {
582
582
  return Ee;
@@ -605,7 +605,7 @@ const Vi = [[]], Ve = 4, Oi = 3, Pi = {
605
605
  [b.PrevView]: (s) => it(s, -1),
606
606
  [b.NextView]: (s) => it(s, 1),
607
607
  [b.FirstInView]: (s) => st(s),
608
- [b.LastInView]: (s) => Ae(s)
608
+ [b.LastInView]: (s) => Be(s)
609
609
  };
610
610
  class Ri {
611
611
  addToDate(t, e) {
@@ -619,32 +619,32 @@ class Ri {
619
619
  cellUID: e,
620
620
  focusedDate: i,
621
621
  isActiveView: a,
622
- max: r,
622
+ max: o,
623
623
  min: l,
624
624
  selectedDate: c,
625
- selectionRange: h = z,
625
+ selectionRange: h = q,
626
626
  viewDate: u
627
627
  } = t;
628
628
  if (!u)
629
629
  return Vi;
630
- const d = Q(0, Ve), p = st(u), m = Ae(u), f = U();
630
+ const d = Q(0, Ve), p = st(u), f = Be(u), m = H();
631
631
  return Q(0, Oi).map((S) => {
632
632
  const I = nt(p, S * Ve);
633
633
  return d.map((M) => {
634
- const w = this.normalize(nt(I, M), l, r), E = this.isEqual(w, h.start), g = this.isEqual(w, h.end), V = !E && !g && De(w, h), R = a && (Array.isArray(c) ? this.isSelectedFromArray(w, c, l, r) : F(c, l, r) && this.isEqual(w, c));
635
- return As(w, p, m) ? {
634
+ const w = this.normalize(nt(I, M), l, o), E = this.isEqual(w, h.start), g = this.isEqual(w, h.end), V = !E && !g && ke(w, h), R = a && (Array.isArray(c) ? this.isSelectedFromArray(w, c, l, o) : F(c, l, o) && this.isEqual(w, c));
635
+ return Bs(w, p, f) ? {
636
636
  formattedValue: this.value(w),
637
637
  id: `${e}${w.getTime()}`,
638
638
  isFocused: this.isEqual(w, i),
639
639
  isSelected: R,
640
640
  isWeekend: !1,
641
- isInRange: F(w, l, r),
641
+ isInRange: F(w, l, o),
642
642
  isRangeStart: E,
643
643
  isRangeMid: V,
644
644
  isRangeEnd: g,
645
- isRangeSplitEnd: V && this.isEqual(w, m),
645
+ isRangeSplitEnd: V && this.isEqual(w, f),
646
646
  isRangeSplitStart: V && this.isEqual(w, p),
647
- isToday: this.isEqual(w, f),
647
+ isToday: this.isEqual(w, m),
648
648
  title: this.cellTitle(w),
649
649
  value: w
650
650
  } : null;
@@ -652,10 +652,10 @@ class Ri {
652
652
  });
653
653
  }
654
654
  isSelectedFromArray(t, e, i, a) {
655
- let r = !1;
655
+ let o = !1;
656
656
  return e.forEach((l) => {
657
- F(t, i, a) && this.isEqual(t, l) && (r = !0);
658
- }), r;
657
+ F(t, i, a) && this.isEqual(t, l) && (o = !0);
658
+ }), o;
659
659
  }
660
660
  isEqual(t, e) {
661
661
  return !t || !e ? !1 : t.getFullYear() === e.getFullYear();
@@ -667,8 +667,8 @@ class Ri {
667
667
  return e[0].getFullYear() <= i && i <= e[e.length - 1].getFullYear() + 9;
668
668
  }
669
669
  isInRange(t, e, i) {
670
- const a = t.getFullYear(), r = !e || e.getFullYear() <= a, l = !i || a <= i.getFullYear();
671
- return r && l;
670
+ const a = t.getFullYear(), o = !e || e.getFullYear() <= a, l = !i || a <= i.getFullYear();
671
+ return o && l;
672
672
  }
673
673
  isRangeStart(t) {
674
674
  return t.getFullYear() % 100 === 0;
@@ -687,7 +687,7 @@ class Ri {
687
687
  return t ? st(t).getFullYear().toString() : "";
688
688
  }
689
689
  title(t) {
690
- return t ? `${st(t).getFullYear()} - ${Ae(t).getFullYear()}` : "";
690
+ return t ? `${st(t).getFullYear()} - ${Be(t).getFullYear()}` : "";
691
691
  }
692
692
  rowLength(t) {
693
693
  return Ve;
@@ -718,7 +718,7 @@ const Ni = [[]], Oe = 7, _i = 6, Fi = 6, Li = 0, Hi = {
718
718
  [b.FirstInView]: (s) => fe(s),
719
719
  [b.LastInView]: (s) => Ot(s)
720
720
  };
721
- class Ai {
721
+ class Bi {
722
722
  constructor(t) {
723
723
  this.intl = t;
724
724
  }
@@ -733,28 +733,28 @@ class Ai {
733
733
  cellUID: e,
734
734
  focusedDate: i,
735
735
  isActiveView: a,
736
- max: r,
736
+ max: o,
737
737
  min: l,
738
738
  selectedDate: c,
739
- selectionRange: h = z,
739
+ selectionRange: h = q,
740
740
  viewDate: u
741
741
  } = t;
742
742
  if (!u)
743
743
  return Ni;
744
- const d = fe(u), p = Ot(u), m = -1, f = si(d, this.intl.firstDay(), m), S = Q(0, Oe), I = U();
744
+ const d = fe(u), p = Ot(u), f = -1, m = si(d, this.intl.firstDay(), f), S = Q(0, Oe), I = H();
745
745
  return Q(0, _i).map((M) => {
746
- const w = Wt(f, M * Oe);
746
+ const w = Wt(m, M * Oe);
747
747
  return S.map((E) => {
748
- const g = this.normalize(Wt(w, E), l, r);
748
+ const g = this.normalize(Wt(w, E), l, o);
749
749
  if (g < d || g > p)
750
750
  return null;
751
- const V = this.isEqual(g, h.start), R = this.isEqual(g, h.end), x = !V && !R && De(g, h), O = a && (Array.isArray(c) ? this.isSelectedFromArray(g, c, l, r) : F(c, l, r) && this.isEqual(g, c));
751
+ const V = this.isEqual(g, h.start), R = this.isEqual(g, h.end), x = !V && !R && ke(g, h), O = a && (Array.isArray(c) ? this.isSelectedFromArray(g, c, l, o) : F(c, l, o) && this.isEqual(g, c));
752
752
  return {
753
753
  formattedValue: this.value(g),
754
754
  id: `${e}${g.getTime()}`,
755
755
  isFocused: this.isEqual(g, i),
756
756
  isSelected: O,
757
- isInRange: F(g, l, r),
757
+ isInRange: F(g, l, o),
758
758
  isWeekend: this.isWeekend(g),
759
759
  isRangeStart: V,
760
760
  isRangeMid: x,
@@ -772,17 +772,17 @@ class Ai {
772
772
  return !t || !e ? !1 : C(t).getTime() === C(e).getTime();
773
773
  }
774
774
  isSelectedFromArray(t, e, i, a) {
775
- let r = !1;
775
+ let o = !1;
776
776
  return e.forEach((l) => {
777
- F(t, i, a) && this.isEqual(t, l) && (r = !0);
778
- }), r;
777
+ F(t, i, a) && this.isEqual(t, l) && (o = !0);
778
+ }), o;
779
779
  }
780
780
  isInArray(t, e) {
781
781
  return !!e.length && fe(e[0]) <= t && t <= Ot(e[e.length - 1]);
782
782
  }
783
783
  isInRange(t, e, i) {
784
- const a = C(t), r = !e || C(e) <= a, l = !i || a <= C(i);
785
- return r && l;
784
+ const a = C(t), o = !e || C(e) <= a, l = !i || a <= C(i);
785
+ return o && l;
786
786
  }
787
787
  isInSameView(t, e) {
788
788
  return ne(t, e) === 0;
@@ -832,7 +832,7 @@ class Ai {
832
832
  return this.intl.dateFormatNames({ nameType: "wide", type: "months", standAlone: !0 });
833
833
  }
834
834
  }
835
- const Bi = [[]], Pe = 4, zi = 3, qi = (s) => s > 4 ? -5 : s < 2 ? -2 : -7, Wi = (s) => s < 7 ? 5 : s < 10 ? 7 : 2, Ui = {
835
+ const Ai = [[]], Pe = 4, zi = 3, qi = (s) => s > 4 ? -5 : s < 2 ? -2 : -7, Wi = (s) => s < 7 ? 5 : s < 10 ? 7 : 2, Ui = {
836
836
  [b.Left]: (s) => $(s, -1),
837
837
  [b.Up]: (s) => $(s, qi(s.getMonth())),
838
838
  [b.Right]: (s) => $(s, 1),
@@ -857,33 +857,33 @@ class $i {
857
857
  cellUID: e,
858
858
  focusedDate: i,
859
859
  isActiveView: a,
860
- max: r,
860
+ max: o,
861
861
  min: l,
862
862
  selectedDate: c,
863
- selectionRange: h = z,
863
+ selectionRange: h = q,
864
864
  viewDate: u
865
865
  } = t;
866
866
  if (!u)
867
- return Bi;
868
- const d = this.abbrMonthNames(), p = Ns(u), m = _s(u), f = p.getFullYear(), S = Q(0, Pe), I = U();
867
+ return Ai;
868
+ const d = this.abbrMonthNames(), p = Ns(u), f = _s(u), m = p.getFullYear(), S = Q(0, Pe), I = H();
869
869
  return Q(0, zi).map((M) => {
870
870
  const w = $(p, M * Pe);
871
871
  return S.map((E) => {
872
- const g = this.normalize($(w, E), l, r);
873
- if (f < g.getFullYear())
872
+ const g = this.normalize($(w, E), l, o);
873
+ if (m < g.getFullYear())
874
874
  return null;
875
- const V = this.isEqual(g, h.start), R = this.isEqual(g, h.end), x = !V && !R && De(g, h), O = a && (Array.isArray(c) ? this.isSelectedFromArray(g, c, l, r) : F(c, l, r) && this.isEqual(g, c));
875
+ const V = this.isEqual(g, h.start), R = this.isEqual(g, h.end), x = !V && !R && ke(g, h), O = a && (Array.isArray(c) ? this.isSelectedFromArray(g, c, l, o) : F(c, l, o) && this.isEqual(g, c));
876
876
  return {
877
877
  formattedValue: d[g.getMonth()],
878
878
  id: `${e}${g.getTime()}`,
879
879
  isFocused: this.isEqual(g, i),
880
880
  isSelected: O,
881
- isInRange: F(g, l, r),
881
+ isInRange: F(g, l, o),
882
882
  isWeekend: !1,
883
883
  isRangeStart: V,
884
884
  isRangeMid: x,
885
885
  isRangeEnd: R,
886
- isRangeSplitEnd: x && this.isEqual(g, m),
886
+ isRangeSplitEnd: x && this.isEqual(g, f),
887
887
  isRangeSplitStart: x && this.isEqual(g, p),
888
888
  isToday: this.isEqual(g, I),
889
889
  title: this.cellTitle(g),
@@ -893,10 +893,10 @@ class $i {
893
893
  });
894
894
  }
895
895
  isSelectedFromArray(t, e, i, a) {
896
- let r = !1;
896
+ let o = !1;
897
897
  return e.forEach((l) => {
898
- F(t, i, a) && this.isEqual(t, l) && (r = !0);
899
- }), r;
898
+ F(t, i, a) && this.isEqual(t, l) && (o = !0);
899
+ }), o;
900
900
  }
901
901
  isEqual(t, e) {
902
902
  return !t || !e ? !1 : t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth();
@@ -908,8 +908,8 @@ class $i {
908
908
  return e[0].getFullYear() <= i && i <= e[e.length - 1].getFullYear();
909
909
  }
910
910
  isInRange(t, e, i) {
911
- const a = le(t.getFullYear(), t.getMonth(), 1), r = !e || le(e.getFullYear(), e.getMonth(), 1) <= a, l = !i || a <= le(i.getFullYear(), i.getMonth(), 1);
912
- return r && l;
911
+ const a = le(t.getFullYear(), t.getMonth(), 1), o = !e || le(e.getFullYear(), e.getMonth(), 1) <= a, l = !i || a <= le(i.getFullYear(), i.getMonth(), 1);
912
+ return o && l;
913
913
  }
914
914
  isInSameView(t, e) {
915
915
  return ae(t, e) === 0;
@@ -953,17 +953,17 @@ class $i {
953
953
  }
954
954
  }
955
955
  const Yi = {
956
- [D.month]: Ai,
957
- [D.year]: $i,
958
- [D.decade]: Ri,
959
- [D.century]: Ei
956
+ [y.month]: Bi,
957
+ [y.year]: $i,
958
+ [y.decade]: Ri,
959
+ [y.century]: Ei
960
960
  }, Ki = (s, t) => {
961
- const e = D[D[s + t]];
961
+ const e = y[y[s + t]];
962
962
  return e !== void 0 ? e : s;
963
963
  };
964
964
  class zs {
965
965
  constructor(t) {
966
- this.bottom = D.month, this.top = D.century, this.onViewChanged = t;
966
+ this.bottom = y.month, this.top = y.century, this.onViewChanged = t;
967
967
  }
968
968
  configure(t, e) {
969
969
  this.bottom = t, this.top = e;
@@ -1004,7 +1004,7 @@ let ji = class {
1004
1004
  calculateHeights(t) {
1005
1005
  if (!J)
1006
1006
  return;
1007
- const e = Y("div"), i = Y("ul"), a = Y("li"), r = Y("td"), l = Y("th"), c = Y("tr"), h = Y("tbody"), u = Y("thead"), d = Y("table"), p = () => e(
1007
+ const e = Y("div"), i = Y("ul"), a = Y("li"), o = Y("td"), l = Y("th"), c = Y("tr"), h = Y("tbody"), u = Y("thead"), d = Y("table"), p = () => e(
1008
1008
  `
1009
1009
  <span class="k-button k-button-md k-button-rectangle k-button-solid k-button-solid-base k-button-flat k-calendar-title">
1010
1010
  <span className="k-button-text">March 2017</span>
@@ -1013,69 +1013,69 @@ let ji = class {
1013
1013
  <span class="k-calendar-nav k-hstack"><button class="k-calendar-nav-today">TODAY</button></span>
1014
1014
  `,
1015
1015
  "k-calendar-header k-hstack"
1016
- ), m = () => d(
1016
+ ), f = () => d(
1017
1017
  [
1018
1018
  u([
1019
1019
  c([l("MO", "k-calendar-th")], "k-calendar-tr")
1020
1020
  ], "k-calendar-thead")
1021
1021
  ],
1022
1022
  "k-calendar-table k-calendar-weekdays"
1023
- ), f = (k, _) => new Array(k).fill("1").map(_), S = (k, _ = 1) => d([
1023
+ ), m = (D, _) => new Array(D).fill("1").map(_), S = (D, _ = 1) => d([
1024
1024
  h(
1025
1025
  [c(
1026
- [r("1", "k-calendar-td k-alt")]
1026
+ [o("1", "k-calendar-td k-alt")]
1027
1027
  )].concat(
1028
- f(
1029
- k,
1030
- () => c(f(_, (Mt) => r(`<span class="k-link">${Mt}</span>`, "k-calendar-td")), "k-calendar-tr")
1028
+ m(
1029
+ D,
1030
+ () => c(m(_, (Mt) => o(`<span class="k-link">${Mt}</span>`, "k-calendar-td")), "k-calendar-tr")
1031
1031
  )
1032
1032
  ),
1033
1033
  "k-calendar-tbody"
1034
1034
  )
1035
- ], "k-calendar-table"), I = (k) => e(k, "k-content k-scrollable"), M = (k, _, Mt) => e(
1035
+ ], "k-calendar-table"), I = (D) => e(D, "k-content k-scrollable"), M = (D, _, Mt) => e(
1036
1036
  Mt ? [
1037
1037
  p(),
1038
- m(),
1039
- I([k, k])
1038
+ f(),
1039
+ I([D, D])
1040
1040
  ] : [
1041
1041
  p(),
1042
- I([k, k])
1042
+ I([D, D])
1043
1043
  ],
1044
1044
  _,
1045
1045
  { left: "-10000px", position: "absolute" }
1046
1046
  ), w = (() => {
1047
- let k;
1048
- return () => J ? (k || (k = e(
1047
+ let D;
1048
+ return () => J ? (D || (D = e(
1049
1049
  [I([i([a("<span>FEB</span>")])])],
1050
1050
  "k-calendar-navigation",
1051
1051
  { left: "0px", position: "absolute" }
1052
- )), k) : null;
1053
- })(), E = ({ cells: k, rows: _ }, Mt, ti) => {
1052
+ )), D) : null;
1053
+ })(), E = ({ cells: D, rows: _ }, Mt, ti) => {
1054
1054
  let Ie;
1055
- return () => J ? (Ie || (Ie = M(S(_, k), Mt, ti)), Ie) : null;
1056
- }, g = (k) => k.querySelector(".k-scrollable"), H = (k) => {
1057
- const _ = g(k);
1058
- return _.className = `${_.className} k-scrollable-horizontal`, k;
1059
- }, V = E({ cells: 7, rows: 6 }, "k-calendar-view k-calendar-monthview k-vstack", !0), R = E({ cells: 5, rows: 3 }, "k-calendar-view k-calendar-yearview", !1), A = E({ cells: 5, rows: 2 }, "k-calendar-view k-calendar-decadeview", !1), x = () => H(V()), O = () => H(R()), tt = () => H(A()), j = (k) => parseFloat(window.getComputedStyle(k).height) || k.offsetHeight, gt = (k) => {
1060
- const _ = window.getComputedStyle(k);
1061
- return parseFloat(_.width) + parseFloat(_.paddingLeft) + parseFloat(_.paddingRight) || k.offsetWidth;
1062
- }, It = (k) => k.querySelector("tbody");
1063
- this.didCalculate = !0, t && (this.hostContainer = t), this.batch(V(), (k) => {
1064
- const _ = It(k);
1065
- this.calendarHeight = j(k), this.monthViewHeight = j(_), this.headerHeight = j(_.children[0]), this.scrollableContentHeight = j(g(k));
1066
- }), this.batch(x(), (k) => {
1067
- const _ = It(k);
1068
- this.calendarWidth = gt(k), this.monthViewWidth = gt(_), this.scrollableContentWidth = gt(g(k));
1069
- }), this.batch(R(), (k) => {
1070
- this.yearViewHeight = j(It(k)), this.scrollableYearContentHeight = j(g(k));
1071
- }), this.batch(O(), (k) => {
1072
- this.yearViewWidth = gt(It(k));
1073
- }), this.batch(A(), (k) => {
1074
- this.decadeViewHeight = j(It(k)), this.centuryViewHeight = this.decadeViewHeight;
1075
- }), this.batch(tt(), (k) => {
1076
- this.decadeViewWidth = gt(It(k)), this.centuryViewWidth = this.decadeViewWidth;
1077
- }), this.batch(w(), (k) => {
1078
- this.navigationItemHeight = j(k.querySelector("li"));
1055
+ return () => J ? (Ie || (Ie = M(S(_, D), Mt, ti)), Ie) : null;
1056
+ }, g = (D) => D.querySelector(".k-scrollable"), B = (D) => {
1057
+ const _ = g(D);
1058
+ return _.className = `${_.className} k-scrollable-horizontal`, D;
1059
+ }, V = E({ cells: 7, rows: 6 }, "k-calendar-view k-calendar-monthview k-vstack", !0), R = E({ cells: 5, rows: 3 }, "k-calendar-view k-calendar-yearview", !1), A = E({ cells: 5, rows: 2 }, "k-calendar-view k-calendar-decadeview", !1), x = () => B(V()), O = () => B(R()), tt = () => B(A()), j = (D) => parseFloat(window.getComputedStyle(D).height) || D.offsetHeight, gt = (D) => {
1060
+ const _ = window.getComputedStyle(D);
1061
+ return parseFloat(_.width) + parseFloat(_.paddingLeft) + parseFloat(_.paddingRight) || D.offsetWidth;
1062
+ }, It = (D) => D.querySelector("tbody");
1063
+ this.didCalculate = !0, t && (this.hostContainer = t), this.batch(V(), (D) => {
1064
+ const _ = It(D);
1065
+ this.calendarHeight = j(D), this.monthViewHeight = j(_), this.headerHeight = j(_.children[0]), this.scrollableContentHeight = j(g(D));
1066
+ }), this.batch(x(), (D) => {
1067
+ const _ = It(D);
1068
+ this.calendarWidth = gt(D), this.monthViewWidth = gt(_), this.scrollableContentWidth = gt(g(D));
1069
+ }), this.batch(R(), (D) => {
1070
+ this.yearViewHeight = j(It(D)), this.scrollableYearContentHeight = j(g(D));
1071
+ }), this.batch(O(), (D) => {
1072
+ this.yearViewWidth = gt(It(D));
1073
+ }), this.batch(A(), (D) => {
1074
+ this.decadeViewHeight = j(It(D)), this.centuryViewHeight = this.decadeViewHeight;
1075
+ }), this.batch(tt(), (D) => {
1076
+ this.decadeViewWidth = gt(It(D)), this.centuryViewWidth = this.decadeViewWidth;
1077
+ }), this.batch(w(), (D) => {
1078
+ this.navigationItemHeight = j(D.querySelector("li"));
1079
1079
  });
1080
1080
  }
1081
1081
  viewHeight(t) {
@@ -1087,13 +1087,13 @@ let ji = class {
1087
1087
  viewDimension(t, e) {
1088
1088
  const i = e === "height" ? "ViewHeight" : "ViewWidth";
1089
1089
  switch (t) {
1090
- case D.month:
1090
+ case y.month:
1091
1091
  return this[`month${i}`];
1092
- case D.year:
1092
+ case y.year:
1093
1093
  return this[`year${i}`];
1094
- case D.decade:
1094
+ case y.decade:
1095
1095
  return this[`decade${i}`];
1096
- case D.century:
1096
+ case y.century:
1097
1097
  return this[`century${i}`];
1098
1098
  default:
1099
1099
  return 1;
@@ -1124,8 +1124,8 @@ class qs {
1124
1124
  const e = `${t.ctrlKey || t.metaKey ? "meta+" : ""}${t.keyCode}`;
1125
1125
  return Zi[e];
1126
1126
  }
1127
- move(t, e, i, a, r) {
1128
- return a ? e === b.UpperView && this.bus.canMoveUp(i) ? (this.bus.moveUp(i, r), t) : e === b.LowerView && this.bus.canMoveDown(i) ? (this.bus.moveDown(i, r), t) : a.move(t, e) : t;
1127
+ move(t, e, i, a, o) {
1128
+ return a ? e === b.UpperView && this.bus.canMoveUp(i) ? (this.bus.moveUp(i, o), t) : e === b.LowerView && this.bus.canMoveDown(i) ? (this.bus.moveDown(i, o), t) : a.move(t, e) : t;
1129
1129
  }
1130
1130
  }
1131
1131
  const Gi = (s) => (t) => Math.floor(t / s), Xi = (s) => (t) => t * s;
@@ -1172,28 +1172,28 @@ class Qi {
1172
1172
  this.intl = t;
1173
1173
  }
1174
1174
  getWeekNames(t = !1) {
1175
- const e = Bs(
1175
+ const e = As(
1176
1176
  this.intl.dateFormatNames({ nameType: "short", type: "days" }),
1177
1177
  this.intl.firstDay()
1178
1178
  );
1179
1179
  return t ? [""].concat(e) : e;
1180
1180
  }
1181
1181
  }
1182
- const bs = (s) => /* @__PURE__ */ o.createElement("td", { key: s, className: "k-calendar-td" }, " "), Ws = class extends o.Component {
1182
+ const bs = (s) => /* @__PURE__ */ r.createElement("td", { key: s, className: "k-calendar-td" }, " "), Ws = class extends r.Component {
1183
1183
  constructor() {
1184
1184
  super(...arguments), this.intl = null, this.weekService = null, this.buildWeekNumber = (s, t) => {
1185
1185
  if (!this.firstDate(s))
1186
1186
  return bs(`week-cell-${t}`);
1187
- const i = this.firstDate(s), a = this.getWeekNumber(i), r = `kendo-react-calendar-week-cell-${a}`, l = {
1187
+ const i = this.firstDate(s), a = this.getWeekNumber(i), o = `kendo-react-calendar-week-cell-${a}`, l = {
1188
1188
  className: "k-alt",
1189
1189
  value: a,
1190
1190
  firstDate: i
1191
1191
  };
1192
- return this.props.weekCell ? /* @__PURE__ */ o.createElement(this.props.weekCell, { ...l, key: r }, a) : /* @__PURE__ */ o.createElement(xi, { ...l, key: r }, a);
1192
+ return this.props.weekCell ? /* @__PURE__ */ r.createElement(this.props.weekCell, { ...l, key: o }, a) : /* @__PURE__ */ r.createElement(xi, { ...l, key: o }, a);
1193
1193
  }, this.buildRow = (s) => s.map((t, e) => {
1194
1194
  if (!t)
1195
1195
  return bs(e);
1196
- const i = { "aria-selected": t.isSelected }, a = `kendo-react-calendar-cell-${t.value.getTime()}`, r = {
1196
+ const i = { "aria-selected": t.isSelected }, a = `kendo-react-calendar-cell-${t.value.getTime()}`, o = {
1197
1197
  ...i,
1198
1198
  ...t,
1199
1199
  isDisabled: !t.isInRange,
@@ -1202,7 +1202,7 @@ const bs = (s) => /* @__PURE__ */ o.createElement("td", { key: s, className: "k-
1202
1202
  onMouseEnter: this.handleMouseEnter,
1203
1203
  onMouseLeave: this.handleMouseLeave
1204
1204
  };
1205
- return this.props.cell ? /* @__PURE__ */ o.createElement(this.props.cell, { ...r, key: a }, t.formattedValue) : /* @__PURE__ */ o.createElement(Si, { ...r, key: a }, t.formattedValue);
1205
+ return this.props.cell ? /* @__PURE__ */ r.createElement(this.props.cell, { ...o, key: a }, t.formattedValue) : /* @__PURE__ */ r.createElement(Si, { ...o, key: a }, t.formattedValue);
1206
1206
  }), this.firstDate = (s) => {
1207
1207
  const t = this.firstWeekDateContext(s);
1208
1208
  return t ? t.value : null;
@@ -1242,17 +1242,17 @@ const bs = (s) => /* @__PURE__ */ o.createElement("td", { key: s, className: "k-
1242
1242
  return this.props.direction === "horizontal";
1243
1243
  }
1244
1244
  get isMonthView() {
1245
- return this.props.activeView === D.month;
1245
+ return this.props.activeView === y.month;
1246
1246
  }
1247
1247
  get weekNumber() {
1248
- return !!(this.props.showWeekNumbers && this.props.activeView === D.month);
1248
+ return !!(this.props.showWeekNumbers && this.props.activeView === y.month);
1249
1249
  }
1250
1250
  get selectedDate() {
1251
1251
  return this.props.selectedDate !== void 0 ? this.props.selectedDate : Ws.defaultProps.selectedDate;
1252
1252
  }
1253
1253
  render() {
1254
1254
  this.intl = ct(this), this.weekService = new Qi(this.intl);
1255
- const s = this.weekService.getWeekNames(this.weekNumber), t = this.props.service.rowLength(this.weekNumber), e = this.props.service.title(this.props.viewDate), i = U(), a = W(this.props.viewDate, i), r = this.props.service.data({
1255
+ const s = this.weekService.getWeekNames(this.weekNumber), t = this.props.service.rowLength(this.weekNumber), e = this.props.service.title(this.props.viewDate), i = H(), a = U(this.props.viewDate, i), o = this.props.service.data({
1256
1256
  cellUID: this.props.cellUID,
1257
1257
  min: this.min,
1258
1258
  max: this.max,
@@ -1262,20 +1262,20 @@ const bs = (s) => /* @__PURE__ */ o.createElement("td", { key: s, className: "k-
1262
1262
  selectionRange: this.props.selectionRange,
1263
1263
  viewDate: a
1264
1264
  });
1265
- return /* @__PURE__ */ o.createElement(o.Fragment, null, this.isMonthView && this.isHorizontal && /* @__PURE__ */ o.createElement(
1265
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, this.isMonthView && this.isHorizontal && /* @__PURE__ */ r.createElement(
1266
1266
  "thead",
1267
1267
  {
1268
1268
  role: "rowgroup",
1269
1269
  className: "k-calendar-thead"
1270
1270
  },
1271
- /* @__PURE__ */ o.createElement("tr", { role: "row", className: "k-calendar-tr" }, s.map((l, c) => /* @__PURE__ */ o.createElement("th", { key: c, className: "k-calendar-th" }, l)))
1272
- ), /* @__PURE__ */ o.createElement(
1271
+ /* @__PURE__ */ r.createElement("tr", { role: "row", className: "k-calendar-tr" }, s.map((l, c) => /* @__PURE__ */ r.createElement("th", { key: c, className: "k-calendar-th" }, l)))
1272
+ ), /* @__PURE__ */ r.createElement(
1273
1273
  "tbody",
1274
1274
  {
1275
1275
  role: "rowgroup",
1276
1276
  className: "k-calendar-tbody"
1277
1277
  },
1278
- !this.isHorizontal && /* @__PURE__ */ o.createElement("tr", { role: "presentation", className: "k-calendar-tr" }, /* @__PURE__ */ o.createElement(
1278
+ !this.isHorizontal && /* @__PURE__ */ r.createElement("tr", { role: "presentation", className: "k-calendar-tr" }, /* @__PURE__ */ r.createElement(
1279
1279
  "th",
1280
1280
  {
1281
1281
  scope: "col",
@@ -1284,7 +1284,7 @@ const bs = (s) => /* @__PURE__ */ o.createElement("td", { key: s, className: "k-
1284
1284
  },
1285
1285
  e
1286
1286
  )),
1287
- r.map((l, c) => /* @__PURE__ */ o.createElement("tr", { role: "row", className: "k-calendar-tr", key: c }, this.weekNumber && this.buildWeekNumber(l, c), this.buildRow(l)))
1287
+ o.map((l, c) => /* @__PURE__ */ r.createElement("tr", { role: "row", className: "k-calendar-tr", key: c }, this.weekNumber && this.buildWeekNumber(l, c), this.buildRow(l)))
1288
1288
  ));
1289
1289
  }
1290
1290
  getWeekNumber(s) {
@@ -1309,21 +1309,21 @@ jt.propTypes = {
1309
1309
  };
1310
1310
  jt.defaultProps = {
1311
1311
  direction: "vertical",
1312
- selectedDate: U(),
1312
+ selectedDate: H(),
1313
1313
  showWeekNumbers: !1
1314
1314
  };
1315
1315
  ft(jt);
1316
- class tn extends o.PureComponent {
1316
+ class tn extends r.PureComponent {
1317
1317
  /**
1318
1318
  * @return
1319
1319
  * Returns a `<span />` element with the [`value`]({% slug api_dateinputs_calendarheadertitleprops %}#toc-value) of the title as a child.
1320
1320
  */
1321
1321
  render() {
1322
1322
  const { view: t, ...e } = this.props;
1323
- return /* @__PURE__ */ o.createElement(N, { type: "button", fillMode: "flat", ...e }, this.props.children);
1323
+ return /* @__PURE__ */ r.createElement(N, { type: "button", fillMode: "flat", ...e }, this.props.children);
1324
1324
  }
1325
1325
  }
1326
- const ce = class extends o.Component {
1326
+ const ce = class extends r.Component {
1327
1327
  constructor() {
1328
1328
  super(...arguments), this.getTitle = () => {
1329
1329
  if (!this.props.currentDate)
@@ -1356,8 +1356,8 @@ const ce = class extends o.Component {
1356
1356
  className: t,
1357
1357
  onClick: this.handleTitleClick,
1358
1358
  disabled: !this.canMoveUp
1359
- }, i = this.props.headerTitle ? /* @__PURE__ */ o.createElement(this.props.headerTitle, { ...e }, s) : /* @__PURE__ */ o.createElement(tn, { ...e }, s);
1360
- return /* @__PURE__ */ o.createElement(
1359
+ }, i = this.props.headerTitle ? /* @__PURE__ */ r.createElement(this.props.headerTitle, { ...e }, s) : /* @__PURE__ */ r.createElement(tn, { ...e }, s);
1360
+ return /* @__PURE__ */ r.createElement(
1361
1361
  "div",
1362
1362
  {
1363
1363
  className: P("k-calendar-header", {
@@ -1366,8 +1366,8 @@ const ce = class extends o.Component {
1366
1366
  })
1367
1367
  },
1368
1368
  i,
1369
- /* @__PURE__ */ o.createElement("span", { className: "k-spacer" }),
1370
- /* @__PURE__ */ o.createElement("span", { className: "k-calendar-nav k-hstack" }, this.props.commands)
1369
+ /* @__PURE__ */ r.createElement("span", { className: "k-spacer" }),
1370
+ /* @__PURE__ */ r.createElement("span", { className: "k-calendar-nav k-hstack" }, this.props.commands)
1371
1371
  );
1372
1372
  }
1373
1373
  };
@@ -1385,7 +1385,7 @@ Zt.defaultProps = {
1385
1385
  max: dt
1386
1386
  };
1387
1387
  at(Zt);
1388
- const Be = "multiviewcalendar.prevView", ze = "multiviewcalendar.nextView", Ft = "dateinput.increment", Lt = "dateinput.decrement", qe = "calendar.today", We = "datepicker.toggleCalendar", Ht = "daterangepicker.swapStartEnd", Ue = "daterangepicker.start", $e = "daterangepicker.end", Ye = "daterangepicker.separator", At = "datetimepicker.toggleDateTimeSelector", Ke = "timepicker.now", je = "timepicker.selectNow", ve = "timepicker.cancel", Ut = "timepicker.set", Ze = "timepicker.toggleTimeSelector", ue = "timepicker.toggleClock", Ge = "datetimepicker.date", Xe = "datetimepicker.time", $t = "datetimepicker.cancel", Yt = "datetimepicker.set", Je = "daterangepicker.cancel", Qe = "daterangepicker.set", T = {
1388
+ const Ae = "multiviewcalendar.prevView", ze = "multiviewcalendar.nextView", Ft = "dateinput.increment", Lt = "dateinput.decrement", qe = "calendar.today", We = "datepicker.toggleCalendar", Ht = "daterangepicker.swapStartEnd", Ue = "daterangepicker.start", $e = "daterangepicker.end", Ye = "daterangepicker.separator", Bt = "datetimepicker.toggleDateTimeSelector", Ke = "timepicker.now", je = "timepicker.selectNow", ve = "timepicker.cancel", Ut = "timepicker.set", Ze = "timepicker.toggleTimeSelector", ue = "timepicker.toggleClock", Ge = "datetimepicker.date", Xe = "datetimepicker.time", $t = "datetimepicker.cancel", Yt = "datetimepicker.set", Je = "daterangepicker.cancel", Qe = "daterangepicker.set", T = {
1389
1389
  [qe]: "TODAY",
1390
1390
  [Ke]: "NOW",
1391
1391
  [Ut]: "Set",
@@ -1405,18 +1405,18 @@ const Be = "multiviewcalendar.prevView", ze = "multiviewcalendar.nextView", Ft =
1405
1405
  [Ft]: "Increase value",
1406
1406
  [Lt]: "Decrease value",
1407
1407
  [We]: "Toggle calendar",
1408
- [Be]: "Navigate to previous view",
1408
+ [Ae]: "Navigate to previous view",
1409
1409
  [ze]: "Navigate to next view",
1410
1410
  [Ht]: "Swap start and end values",
1411
- [At]: "Toggle date-time selector"
1412
- }, ts = class extends o.Component {
1411
+ [Bt]: "Toggle date-time selector"
1412
+ }, ts = class extends r.Component {
1413
1413
  constructor() {
1414
1414
  super(...arguments), this.localization = null, this.handleClick = (s) => {
1415
1415
  if (this.todayIsInRange && this.props.onClick) {
1416
1416
  const t = {
1417
1417
  syntheticEvent: s,
1418
1418
  nativeEvent: s.nativeEvent,
1419
- value: K(U(), this.min, this.max),
1419
+ value: K(H(), this.min, this.max),
1420
1420
  target: this,
1421
1421
  isTodayClick: !0
1422
1422
  };
@@ -1431,17 +1431,17 @@ const Be = "multiviewcalendar.prevView", ze = "multiviewcalendar.nextView", Ft =
1431
1431
  return this.props.max !== void 0 ? this.props.max : ts.defaultProps.max;
1432
1432
  }
1433
1433
  get todayIsInRange() {
1434
- return F(U(), C(this.min), C(this.max));
1434
+ return F(H(), C(this.min), C(this.max));
1435
1435
  }
1436
1436
  render() {
1437
- this.localization = q(this);
1437
+ this.localization = W(this);
1438
1438
  const s = this.localization.toLanguageString(qe, T[qe]), t = P(
1439
1439
  "k-calendar-nav-today",
1440
1440
  {
1441
1441
  "k-disabled": this.props.disabled
1442
1442
  }
1443
1443
  );
1444
- return /* @__PURE__ */ o.createElement(
1444
+ return /* @__PURE__ */ r.createElement(
1445
1445
  N,
1446
1446
  {
1447
1447
  className: t,
@@ -1465,7 +1465,7 @@ Gt.defaultProps = {
1465
1465
  max: dt
1466
1466
  };
1467
1467
  at(Gt);
1468
- const en = 5, Us = class extends o.Component {
1468
+ const en = 5, Us = class extends r.Component {
1469
1469
  constructor(s) {
1470
1470
  super(s), this.virtualization = null, this.calendarView = null, this.table = null, this.intl = null, this.bottomOffset = 0, this.viewOffset = 0, this.viewHeight = 0, this._element = null, this.isActive = !1, this.animateToIndex = !0, this.shouldScroll = !1, this.focusActiveDate = () => {
1471
1471
  if (!this._element)
@@ -1483,7 +1483,7 @@ const en = 5, Us = class extends o.Component {
1483
1483
  const e = K(this.props.focusedDate, this.props.min, this.props.max), i = this.props.service.skip(e, this.props.min);
1484
1484
  this.virtualization.scrollToIndex(i);
1485
1485
  }
1486
- }, this.buildMonthView = (t, e) => /* @__PURE__ */ o.createElement(
1486
+ }, this.buildMonthView = (t, e) => /* @__PURE__ */ r.createElement(
1487
1487
  "table",
1488
1488
  {
1489
1489
  key: "calendar-view-list-weekdays",
@@ -1491,11 +1491,11 @@ const en = 5, Us = class extends o.Component {
1491
1491
  role: "grid",
1492
1492
  tabIndex: this.props.tabIndex
1493
1493
  },
1494
- /* @__PURE__ */ o.createElement("colgroup", null, t.map((i, a) => /* @__PURE__ */ o.createElement("col", { key: a }))),
1495
- /* @__PURE__ */ o.createElement("thead", { className: "k-calendar-thead" }, /* @__PURE__ */ o.createElement("tr", { className: "k-calendar-tr" }, e.map((i, a) => /* @__PURE__ */ o.createElement("th", { key: a, className: "k-calendar-th" }, i))))
1494
+ /* @__PURE__ */ r.createElement("colgroup", null, t.map((i, a) => /* @__PURE__ */ r.createElement("col", { key: a }))),
1495
+ /* @__PURE__ */ r.createElement("thead", { className: "k-calendar-thead" }, /* @__PURE__ */ r.createElement("tr", { className: "k-calendar-tr" }, e.map((i, a) => /* @__PURE__ */ r.createElement("th", { key: a, className: "k-calendar-th" }, i))))
1496
1496
  ), this.buildDates = (t, e) => {
1497
1497
  const i = this.props.cellUID;
1498
- return /* @__PURE__ */ o.createElement(
1498
+ return /* @__PURE__ */ r.createElement(
1499
1499
  "table",
1500
1500
  {
1501
1501
  className: "k-calendar-table",
@@ -1504,12 +1504,12 @@ const en = 5, Us = class extends o.Component {
1504
1504
  tabIndex: this.props.tabIndex,
1505
1505
  "aria-activedescendant": i + this.props.focusedDate.getTime()
1506
1506
  },
1507
- /* @__PURE__ */ o.createElement("colgroup", null, t.map((a, r) => /* @__PURE__ */ o.createElement("col", { key: r }))),
1508
- e.map((a) => /* @__PURE__ */ o.createElement(
1507
+ /* @__PURE__ */ r.createElement("colgroup", null, t.map((a, o) => /* @__PURE__ */ r.createElement("col", { key: o }))),
1508
+ e.map((a) => /* @__PURE__ */ r.createElement(
1509
1509
  jt,
1510
1510
  {
1511
- ref: (r) => {
1512
- this.calendarView || (this.calendarView = r);
1511
+ ref: (o) => {
1512
+ this.calendarView || (this.calendarView = o);
1513
1513
  },
1514
1514
  key: a.getTime(),
1515
1515
  activeView: this.props.activeView,
@@ -1531,13 +1531,13 @@ const en = 5, Us = class extends o.Component {
1531
1531
  }, this.calculateHeights = () => {
1532
1532
  if (!this.props.dom)
1533
1533
  return;
1534
- const t = this.props.activeView === D.month ? this.props.dom.scrollableContentHeight : this.props.dom.scrollableYearContentHeight;
1534
+ const t = this.props.activeView === y.month ? this.props.dom.scrollableContentHeight : this.props.dom.scrollableYearContentHeight;
1535
1535
  this.bottomOffset = t - this.props.dom.viewHeight(this.props.activeView), this.viewOffset = -1 * this.props.dom.headerHeight, this.viewHeight = this.props.dom.viewHeight(this.props.activeView) || 1;
1536
1536
  }, this.getTake = (t, e) => Math.min(e - t, this.take), this.handleScrollAction = ({ index: t, scrollAction: e, pageAction: i }) => {
1537
1537
  const a = i ? i.skip : this.state.skip;
1538
1538
  if ((this.state.index !== t || this.state.skip !== a) && this.setState({ index: t, skip: a }), this.table && e) {
1539
- const r = `translateY(${e.offset}px)`;
1540
- this.table.style.transform = r;
1539
+ const o = `translateY(${e.offset}px)`;
1540
+ this.table.style.transform = o;
1541
1541
  }
1542
1542
  }, this.handleTodayClick = (t) => {
1543
1543
  this.shouldScroll = !0, this.handleDateChange.call(void 0, t, !0);
@@ -1563,14 +1563,14 @@ const en = 5, Us = class extends o.Component {
1563
1563
  }
1564
1564
  get weekNames() {
1565
1565
  this.intl = ct(this);
1566
- const s = Bs(
1566
+ const s = As(
1567
1567
  this.intl.dateFormatNames({ nameType: "short", type: "days" }),
1568
1568
  this.intl.firstDay()
1569
1569
  );
1570
1570
  return this.weekNumber ? [""].concat(s) : s;
1571
1571
  }
1572
1572
  get weekNumber() {
1573
- return !!(this.props.showWeekNumbers && this.props.activeView === D.month);
1573
+ return !!(this.props.showWeekNumbers && this.props.activeView === y.month);
1574
1574
  }
1575
1575
  get take() {
1576
1576
  return this.props.take !== void 0 ? this.props.take : Us.defaultProps.take;
@@ -1579,24 +1579,24 @@ const en = 5, Us = class extends o.Component {
1579
1579
  return !!(this.props.smoothScroll && this.animateToIndex);
1580
1580
  }
1581
1581
  get todayIsInRange() {
1582
- return F(U(), C(this.props.min), C(this.props.max));
1582
+ return F(H(), C(this.props.min), C(this.props.max));
1583
1583
  }
1584
1584
  componentDidUpdate(s, t) {
1585
1585
  this.shouldScroll = !1, this.indexToScroll !== void 0 && this.virtualization && this.virtualization[this.animate ? "animateToIndex" : "scrollToIndex"](this.indexToScroll), this.isActive && this.focusActiveDate(), this.lastView = this.props.activeView, this.indexToScroll = void 0;
1586
1586
  }
1587
1587
  render() {
1588
1588
  this.calculateHeights();
1589
- const s = this.lastView !== this.props.activeView, t = K(this.props.focusedDate, this.props.min, this.props.max), e = s ? this.props.service.skip(t, this.props.min) : this.state.skip, i = this.props.service.total(this.props.min, this.props.max), a = this.getTake(e, i), r = this.props.service.addToDate(this.props.min, e), l = this.props.service.addToDate(this.props.min, this.state.index), c = new Array(this.props.service.rowLength(this.weekNumber)).fill(""), h = this.props.activeView !== this.lastView;
1589
+ const s = this.lastView !== this.props.activeView, t = K(this.props.focusedDate, this.props.min, this.props.max), e = s ? this.props.service.skip(t, this.props.min) : this.state.skip, i = this.props.service.total(this.props.min, this.props.max), a = this.getTake(e, i), o = this.props.service.addToDate(this.props.min, e), l = this.props.service.addToDate(this.props.min, this.state.index), c = new Array(this.props.service.rowLength(this.weekNumber)).fill(""), h = this.props.activeView !== this.lastView;
1590
1590
  this.animateToIndex = !h, (h || !wt(this.lastFocus, t) || this.shouldScroll || !this.props.shouldScroll || this.props.shouldScroll()) && (this.indexToScroll = this.props.service.skip(t, this.props.min)), this.lastFocus = t;
1591
1591
  const u = P(
1592
1592
  "k-calendar-view k-vstack",
1593
1593
  {
1594
- "k-calendar-monthview": this.props.activeView === D.month,
1595
- "k-calendar-yearview": this.props.activeView === D.year,
1596
- "k-calendar-decadeview": this.props.activeView === D.decade,
1597
- "k-calendar-centuryview": this.props.activeView === D.century
1594
+ "k-calendar-monthview": this.props.activeView === y.month,
1595
+ "k-calendar-yearview": this.props.activeView === y.year,
1596
+ "k-calendar-decadeview": this.props.activeView === y.decade,
1597
+ "k-calendar-centuryview": this.props.activeView === y.century
1598
1598
  }
1599
- ), d = this.buildDates(c, this.props.service.datesList(r, a)), p = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1599
+ ), d = this.buildDates(c, this.props.service.datesList(o, a)), p = /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
1600
1600
  Zt,
1601
1601
  {
1602
1602
  key: "calendar-view-list-header",
@@ -1607,7 +1607,7 @@ const en = 5, Us = class extends o.Component {
1607
1607
  bus: this.props.bus,
1608
1608
  service: this.props.service,
1609
1609
  headerTitle: this.props.headerTitle,
1610
- commands: /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1610
+ commands: /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
1611
1611
  Gt,
1612
1612
  {
1613
1613
  min: this.props.min,
@@ -1618,7 +1618,7 @@ const en = 5, Us = class extends o.Component {
1618
1618
  }
1619
1619
  ))
1620
1620
  }
1621
- ), this.props.activeView === D.month && this.buildMonthView(c, this.weekNames), /* @__PURE__ */ o.createElement(
1621
+ ), this.props.activeView === y.month && this.buildMonthView(c, this.weekNames), /* @__PURE__ */ r.createElement(
1622
1622
  Kt,
1623
1623
  {
1624
1624
  key: "calendar-view-list-content",
@@ -1637,11 +1637,11 @@ const en = 5, Us = class extends o.Component {
1637
1637
  tabIndex: this.props.tabIndex
1638
1638
  }
1639
1639
  ));
1640
- return /* @__PURE__ */ o.createElement(
1640
+ return /* @__PURE__ */ r.createElement(
1641
1641
  "div",
1642
1642
  {
1643
- ref: (m) => {
1644
- this._element = m;
1643
+ ref: (f) => {
1644
+ this._element = f;
1645
1645
  },
1646
1646
  className: u
1647
1647
  },
@@ -1672,7 +1672,7 @@ ye.defaultProps = {
1672
1672
  smoothScroll: !0
1673
1673
  };
1674
1674
  ft(ye);
1675
- class sn extends o.Component {
1675
+ class sn extends r.Component {
1676
1676
  constructor() {
1677
1677
  super(...arguments), this.handleClick = (t) => {
1678
1678
  const { onClick: e, value: i } = this.props;
@@ -1685,43 +1685,43 @@ class sn extends o.Component {
1685
1685
  */
1686
1686
  render() {
1687
1687
  const { isRangeStart: t, value: e, text: i, ...a } = this.props;
1688
- return /* @__PURE__ */ o.createElement("li", { ...a, onClick: this.handleClick }, /* @__PURE__ */ o.createElement("span", { className: P({ "k-calendar-navigation-marker": t }) }, this.props.children));
1688
+ return /* @__PURE__ */ r.createElement("li", { ...a, onClick: this.handleClick }, /* @__PURE__ */ r.createElement("span", { className: P({ "k-calendar-navigation-marker": t }) }, this.props.children));
1689
1689
  }
1690
1690
  }
1691
- const nn = 30, $s = class extends o.Component {
1691
+ const nn = 30, $s = class extends r.Component {
1692
1692
  constructor(s) {
1693
1693
  super(s), this.virtualization = null, this.list = null, this.itemHeight = 0, this.topOffset = 0, this.maxViewHeight = 0, this.bottomOffset = 0, this.handleVirtualizationMount = (i) => {
1694
1694
  if (this.virtualization = i, this.virtualization && this.list) {
1695
1695
  this.list.style.transform = `translateY(${this.topOffset}px)`;
1696
- const a = K(this.props.focusedDate, this.props.min, this.props.max), r = this.props.service.skip(a, this.props.min);
1697
- this.virtualization.scrollToIndex(r);
1696
+ const a = K(this.props.focusedDate, this.props.min, this.props.max), o = this.props.service.skip(a, this.props.min);
1697
+ this.virtualization.scrollToIndex(o);
1698
1698
  }
1699
1699
  }, this.buildNavigationItem = (i) => {
1700
- const a = this.props.service.navigationTitle(i), r = this.props.service.isRangeStart(i), l = `kendo-react-calendar-nav-item-${i.getTime()}`, c = {
1700
+ const a = this.props.service.navigationTitle(i), o = this.props.service.isRangeStart(i), l = `kendo-react-calendar-nav-item-${i.getTime()}`, c = {
1701
1701
  text: a,
1702
1702
  value: i,
1703
- isRangeStart: r,
1703
+ isRangeStart: o,
1704
1704
  view: this.props.activeView,
1705
1705
  onClick: this.handleDateChange
1706
1706
  };
1707
- return this.props.navigationItem ? /* @__PURE__ */ o.createElement(this.props.navigationItem, { ...c, key: l }, a) : /* @__PURE__ */ o.createElement(sn, { ...c, key: l }, a);
1707
+ return this.props.navigationItem ? /* @__PURE__ */ r.createElement(this.props.navigationItem, { ...c, key: l }, a) : /* @__PURE__ */ r.createElement(sn, { ...c, key: l }, a);
1708
1708
  }, this.calculateHeights = () => {
1709
1709
  const i = this.props.dom.calendarHeight;
1710
1710
  this.itemHeight = this.props.dom.navigationItemHeight || 1, this.maxViewHeight = this.props.dom.monthViewHeight, this.topOffset = (i - this.itemHeight) / 2, this.bottomOffset = i - this.itemHeight;
1711
1711
  }, this.handleDateChange = (i, a) => {
1712
- const { onChange: r } = this.props;
1713
- if (r && a) {
1712
+ const { onChange: o } = this.props;
1713
+ if (o && a) {
1714
1714
  const l = {
1715
1715
  value: v(i),
1716
1716
  target: this,
1717
1717
  nativeEvent: a && a.nativeEvent,
1718
1718
  syntheticEvent: a
1719
1719
  };
1720
- r.call(void 0, l);
1720
+ o.call(void 0, l);
1721
1721
  }
1722
1722
  }, this.handleScrollAction = ({ scrollAction: i, pageAction: a }) => {
1723
- const r = a ? a.skip : this.state.skip;
1724
- if (this.state.skip !== r && this.setState({ skip: r }), this.list && i) {
1723
+ const o = a ? a.skip : this.state.skip;
1724
+ if (this.state.skip !== o && this.setState({ skip: o }), this.list && i) {
1725
1725
  const l = `translateY(${i.offset}px)`;
1726
1726
  this.list.style.transform = l;
1727
1727
  }
@@ -1742,9 +1742,9 @@ const nn = 30, $s = class extends o.Component {
1742
1742
  }
1743
1743
  render() {
1744
1744
  this.calculateHeights();
1745
- const s = this.lastView !== this.props.activeView, t = K(this.props.focusedDate, this.props.min, this.props.max), e = s ? this.props.service.skip(t, this.props.min) : this.state.skip, i = this.props.service.total(this.props.min, this.props.max), a = this.getTake(e, i), r = this.props.service.addToDate(this.props.min, e), l = this.props.service.datesList(r, a);
1745
+ const s = this.lastView !== this.props.activeView, t = K(this.props.focusedDate, this.props.min, this.props.max), e = s ? this.props.service.skip(t, this.props.min) : this.state.skip, i = this.props.service.total(this.props.min, this.props.max), a = this.getTake(e, i), o = this.props.service.addToDate(this.props.min, e), l = this.props.service.datesList(o, a);
1746
1746
  (this.props.activeView !== this.lastView || !ht(t, this.lastFocus)) && (this.indexToScroll = this.props.service.skip(t, this.props.min));
1747
- const c = /* @__PURE__ */ o.createElement(
1747
+ const c = /* @__PURE__ */ r.createElement(
1748
1748
  Kt,
1749
1749
  {
1750
1750
  skip: e,
@@ -1759,16 +1759,16 @@ const nn = 30, $s = class extends o.Component {
1759
1759
  onMount: this.handleVirtualizationMount,
1760
1760
  tabIndex: this.props.tabIndex
1761
1761
  },
1762
- /* @__PURE__ */ o.createElement("ul", { ref: (h) => {
1762
+ /* @__PURE__ */ r.createElement("ul", { ref: (h) => {
1763
1763
  this.list = h;
1764
1764
  }, className: "k-reset" }, l.map((h) => this.buildNavigationItem(h)))
1765
1765
  );
1766
- return /* @__PURE__ */ o.createElement(
1766
+ return /* @__PURE__ */ r.createElement(
1767
1767
  "div",
1768
1768
  {
1769
1769
  className: "k-calendar-navigation"
1770
1770
  },
1771
- /* @__PURE__ */ o.createElement("span", { className: "k-calendar-navigation-highlight" }),
1771
+ /* @__PURE__ */ r.createElement("span", { className: "k-calendar-navigation-highlight" }),
1772
1772
  this.props.dom.didCalculate ? c : null
1773
1773
  );
1774
1774
  }
@@ -1789,7 +1789,7 @@ ns.propTypes = {
1789
1789
  ns.defaultProps = {
1790
1790
  take: nn
1791
1791
  };
1792
- const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t = bt.defaultProps.max, e, i) => i !== void 0 ? i !== null && F(C(i), s, t) ? i : null : e !== null && F(C(e), s, t) ? e : null, pt = class extends o.Component {
1792
+ const Re = (s) => s ? s.virtualization : null, Ds = (s = bt.defaultProps.min, t = bt.defaultProps.max, e, i) => i !== void 0 ? i !== null && F(C(i), s, t) ? i : null : e !== null && F(C(e), s, t) ? e : null, pt = class extends r.Component {
1793
1793
  constructor(s) {
1794
1794
  super(s), this.scrollSyncService = null, this.focusedDate = null, this.Navigation = null, this.calendarViewList = null, this._element = null, this.intl = null, this.service = null, this.isActive = !1, this.didNavigationChange = !1, this.focus = () => {
1795
1795
  this._element && this._element.focus();
@@ -1808,10 +1808,10 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1808
1808
  }, this.handleViewChange = ({ view: e }) => {
1809
1809
  this.scrollSyncService && this.scrollSyncService.configure(e), this.setState({ activeView: e });
1810
1810
  }, this.handleDateChange = (e) => {
1811
- const i = v(e.value), a = v(e.value), r = this.bus.canMoveDown(this.state.activeView);
1811
+ const i = v(e.value), a = v(e.value), o = this.bus.canMoveDown(this.state.activeView);
1812
1812
  if (this.props.disabled)
1813
1813
  return;
1814
- if (r)
1814
+ if (o)
1815
1815
  if (e.isTodayClick)
1816
1816
  this.bus.moveToBottom(this.state.activeView);
1817
1817
  else {
@@ -1843,22 +1843,29 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1843
1843
  const { onBlur: i } = this.props;
1844
1844
  i && i.call(void 0, e);
1845
1845
  }, this.handleKeyDown = (e) => {
1846
- const { keyCode: i } = e;
1846
+ const { keyCode: a, ctrlKey: o, metaKey: l } = e;
1847
1847
  if (!(!this.focusedDate || !this.service)) {
1848
- if (i === y.enter) {
1848
+ if (a === 84 && this.setState({ focusedDate: H() }), (o || l) && (a === k.left || a === k.right)) {
1849
+ if (this.props.disabled)
1850
+ return;
1851
+ this.didNavigationChange = !0, this.focusedDate.getDate() === 31 && this.focusedDate.setDate(30);
1852
+ const c = a === k.left ? this.focusedDate.getMonth() - 1 : this.focusedDate.getMonth() + 1, h = new Date(this.focusedDate.setMonth(c)), u = v(h);
1853
+ this.setState({ focusedDate: u });
1854
+ }
1855
+ if (a === k.enter) {
1849
1856
  if (this.value !== null && wt(this.focusedDate, this.value)) {
1850
- const r = K(this.focusedDate, this.min, this.max);
1851
- Re(this.calendarViewList).scrollToIndex(this.service.skip(r, this.min));
1857
+ const h = K(this.focusedDate, this.min, this.max);
1858
+ Re(this.calendarViewList).scrollToIndex(this.service.skip(h, this.min));
1852
1859
  }
1853
- const a = {
1860
+ const c = {
1854
1861
  syntheticEvent: e,
1855
1862
  nativeEvent: e.nativeEvent,
1856
1863
  value: this.focusedDate,
1857
1864
  target: this
1858
1865
  };
1859
- this.handleDateChange(a);
1866
+ this.handleDateChange(c);
1860
1867
  } else {
1861
- const a = K(
1868
+ const c = K(
1862
1869
  this.navigation.move(
1863
1870
  this.focusedDate,
1864
1871
  this.navigation.action(e),
@@ -1869,9 +1876,9 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1869
1876
  this.min,
1870
1877
  this.max
1871
1878
  );
1872
- if (wt(this.focusedDate, a))
1879
+ if (wt(this.focusedDate, c))
1873
1880
  return;
1874
- this.setState({ focusedDate: a });
1881
+ this.setState({ focusedDate: c });
1875
1882
  }
1876
1883
  e.preventDefault();
1877
1884
  }
@@ -1880,7 +1887,7 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1880
1887
  }, this.handleClick = (e) => {
1881
1888
  this._element && this._element.focus({ preventScroll: !0 });
1882
1889
  }, Pt(Rt);
1883
- const t = ks(
1890
+ const t = Ds(
1884
1891
  this.min,
1885
1892
  this.max,
1886
1893
  this.props.defaultValue || pt.defaultProps.defaultValue,
@@ -1889,12 +1896,12 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1889
1896
  this.state = {
1890
1897
  value: t,
1891
1898
  activeView: ge(
1892
- D[s.defaultActiveView],
1899
+ y[s.defaultActiveView],
1893
1900
  this.bottomView,
1894
1901
  this.topView
1895
1902
  ),
1896
1903
  focusedDate: K(
1897
- s.focusedDate || t || U(),
1904
+ s.focusedDate || t || H(),
1898
1905
  this.min,
1899
1906
  this.max
1900
1907
  )
@@ -1925,10 +1932,10 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1925
1932
  return C(this.props.max !== void 0 ? this.props.max : pt.defaultProps.max);
1926
1933
  }
1927
1934
  get bottomView() {
1928
- return D[this.props.bottomView !== void 0 ? this.props.bottomView : pt.defaultProps.bottomView];
1935
+ return y[this.props.bottomView !== void 0 ? this.props.bottomView : pt.defaultProps.bottomView];
1929
1936
  }
1930
1937
  get topView() {
1931
- return D[this.props.topView !== void 0 ? this.props.topView : pt.defaultProps.topView];
1938
+ return y[this.props.topView !== void 0 ? this.props.topView : pt.defaultProps.topView];
1932
1939
  }
1933
1940
  /**
1934
1941
  * @hidden
@@ -1942,7 +1949,7 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1942
1949
  * @hidden
1943
1950
  */
1944
1951
  componentDidUpdate(s, t) {
1945
- fs(), t.activeView !== this.state.activeView && this.scrollSyncService && this.scrollSyncService.configure(this.state.activeView), this.calendarViewList && (this.isActive ? this.calendarViewList.focusActiveDate : this.calendarViewList.blurActiveDate)(), this.didNavigationChange = !1, this.oldValue = this.value;
1952
+ fs(), t.activeView !== this.state.activeView && this.scrollSyncService && this.scrollSyncService.configure(this.state.activeView), this.calendarViewList && (this.isActive ? this.calendarViewList.focusActiveDate : this.calendarViewList.blurActiveDate)(), this.didNavigationChange = !1, this.isActive && (this.oldValue = this.value);
1946
1953
  }
1947
1954
  /**
1948
1955
  * @hidden
@@ -1951,15 +1958,15 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1951
1958
  this.props._ref && this.props._ref(this);
1952
1959
  const s = this.value !== null && this.oldValue !== null ? !wt(this.value, this.oldValue) : this.value !== this.oldValue, t = ge(
1953
1960
  this.state.activeView,
1954
- D[this.props.bottomView !== void 0 ? this.props.bottomView : pt.defaultProps.bottomView],
1955
- D[this.props.topView !== void 0 ? this.props.topView : pt.defaultProps.topView]
1956
- ), e = ks(this.min, this.max, this.value, this.value), i = e ? C(e) : null;
1961
+ y[this.props.bottomView !== void 0 ? this.props.bottomView : pt.defaultProps.bottomView],
1962
+ y[this.props.topView !== void 0 ? this.props.topView : pt.defaultProps.topView]
1963
+ ), e = Ds(this.min, this.max, this.value, this.value), i = e ? C(e) : null;
1957
1964
  this.focusedDate = C(K(
1958
1965
  s && e !== null ? e : this.state.focusedDate,
1959
1966
  this.min,
1960
1967
  this.max
1961
1968
  )), this.intl = ct(this), this.bus.configure(this.bottomView, this.topView), this.service = this.bus.service(t, this.intl);
1962
- const { smoothScroll: a = Number.parseFloat(o.version) < 18 } = this.props, r = P(
1969
+ const { smoothScroll: a = Number.parseFloat(r.version) < 18 } = this.props, o = P(
1963
1970
  "k-widget k-calendar k-calendar-infinite",
1964
1971
  {
1965
1972
  "k-disabled": this.props.disabled,
@@ -1967,7 +1974,7 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1967
1974
  "k-calendar-lg": this.props.mobileMode
1968
1975
  },
1969
1976
  this.props.className
1970
- ), l = [this.props.navigation && /* @__PURE__ */ o.createElement(
1977
+ ), l = [this.props.navigation && /* @__PURE__ */ r.createElement(
1971
1978
  ns,
1972
1979
  {
1973
1980
  key: 0,
@@ -1985,7 +1992,7 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
1985
1992
  navigationItem: this.props.navigationItem,
1986
1993
  tabIndex: this.props.tabIndex
1987
1994
  }
1988
- ), /* @__PURE__ */ o.createElement(
1995
+ ), /* @__PURE__ */ r.createElement(
1989
1996
  ye,
1990
1997
  {
1991
1998
  key: 1,
@@ -2012,13 +2019,13 @@ const Re = (s) => s ? s.virtualization : null, ks = (s = bt.defaultProps.min, t
2012
2019
  tabIndex: this.props.tabIndex
2013
2020
  }
2014
2021
  )];
2015
- return /* @__PURE__ */ o.createElement(
2022
+ return /* @__PURE__ */ r.createElement(
2016
2023
  "div",
2017
2024
  {
2018
2025
  ref: (c) => {
2019
2026
  this._element = c;
2020
2027
  },
2021
- className: r,
2028
+ className: o,
2022
2029
  id: this.props.id || this.id,
2023
2030
  "aria-labelledby": this.props.ariaLabelledBy,
2024
2031
  "aria-describedby": this.props.ariaDescribedBy,
@@ -2057,7 +2064,7 @@ bt.propTypes = {
2057
2064
  weekNumber: n.bool,
2058
2065
  topView: (s, t, e) => {
2059
2066
  const i = s[t], a = s.bottomView;
2060
- return i && a && D[i] < D[a] ? new Error(
2067
+ return i && a && y[i] < y[a] ? new Error(
2061
2068
  `Invalid prop + ${t} suplied to ${e}.
2062
2069
  ${t} can not be smaller than bottomView.
2063
2070
  `
@@ -2065,7 +2072,7 @@ bt.propTypes = {
2065
2072
  },
2066
2073
  bottomView: (s, t, e) => {
2067
2074
  const i = s[t], a = s.topView;
2068
- return i && a && D[i] > D[a] ? new Error(
2075
+ return i && a && y[i] > y[a] ? new Error(
2069
2076
  `Invalid prop + ${t} suplied to ${e}.
2070
2077
  ${t} can not be bigger than topView.
2071
2078
  `
@@ -2082,28 +2089,28 @@ bt.defaultProps = {
2082
2089
  topView: "century",
2083
2090
  bottomView: "month"
2084
2091
  };
2085
- const an = Dt(), as = yt(St(an, bt));
2092
+ const an = kt(), as = yt(St(an, bt));
2086
2093
  as.displayName = "KendoReactCalendar";
2087
2094
  ft(bt);
2088
- class rn {
2095
+ class on {
2089
2096
  constructor() {
2090
2097
  this.symbols = "", this.partMap = [];
2091
2098
  }
2092
2099
  }
2093
- const on = "d", ln = "wide", hn = (s, t, e, i) => {
2094
- const a = s[i + s.length - e.length], r = s.substring(0, i + s.length - e.length), l = e.substring(0, i), c = [];
2095
- if (r === l && i > 0)
2100
+ const rn = "d", ln = "wide", hn = (s, t, e, i) => {
2101
+ const a = s[i + s.length - e.length], o = s.substring(0, i + s.length - e.length), l = e.substring(0, i), c = [];
2102
+ if (o === l && i > 0)
2096
2103
  return c.push([t[i - 1], l[i - 1]]), c;
2097
- if (r.indexOf(l) === 0 && (l.length === 0 || t[l.length - 1] !== t[l.length])) {
2104
+ if (o.indexOf(l) === 0 && (l.length === 0 || t[l.length - 1] !== t[l.length])) {
2098
2105
  let h = "";
2099
2106
  l.length === 1 && c.push([t[0], l[0]]);
2100
- for (let u = l.length; u < r.length; u++)
2107
+ for (let u = l.length; u < o.length; u++)
2101
2108
  t[u] !== h && t[u] !== "_" && (h = t[u], c.push([h, ""]));
2102
2109
  return c;
2103
2110
  }
2104
- if (l.indexOf(r) === 0 || t[i - 1] === "_") {
2111
+ if (l.indexOf(o) === 0 || t[i - 1] === "_") {
2105
2112
  let h = t[0];
2106
- for (let u = Math.max(0, r.length - 1); u < t.length; u++)
2113
+ for (let u = Math.max(0, o.length - 1); u < t.length; u++)
2107
2114
  if (t[u] !== "_") {
2108
2115
  h = t[u];
2109
2116
  break;
@@ -2235,24 +2242,24 @@ class pn {
2235
2242
  parsePart(t, e) {
2236
2243
  if (this.resetLeadingZero(), !e)
2237
2244
  return this.setExisting(t, !1), { value: null };
2238
- const i = this.intl.formatDate(this.value, this.format), a = this.dateFormatString(this.value, this.format), r = a.symbols;
2245
+ const i = this.intl.formatDate(this.value, this.format), a = this.dateFormatString(this.value, this.format), o = a.symbols;
2239
2246
  let l = !1, c = "", h = "", u = "";
2240
- for (let m = 0; m < i.length; m++)
2241
- r[m] === t ? (h += this.getExisting(t) ? i[m] : "0", l = !0) : l ? u += i[m] : c += i[m];
2247
+ for (let f = 0; f < i.length; f++)
2248
+ o[f] === t ? (h += this.getExisting(t) ? i[f] : "0", l = !0) : l ? u += i[f] : c += i[f];
2242
2249
  let d = null;
2243
2250
  const p = this.matchMonth(e);
2244
2251
  for (; h.length > 0 && h.charAt(0) === "0"; )
2245
2252
  h = h.slice(1);
2246
2253
  h.length >= 4 && (h = "");
2247
- for (let m = 0; m < 2; m++) {
2248
- let f = h + e, S = parseInt(f, 10);
2249
- if (d = this.intl.parseDate(c + f + u, this.format), !d && !isNaN(S) && !isNaN(parseInt(e, 10))) {
2254
+ for (let f = 0; f < 2; f++) {
2255
+ let m = h + e, S = parseInt(m, 10);
2256
+ if (d = this.intl.parseDate(c + m + u, this.format), !d && !isNaN(S) && !isNaN(parseInt(e, 10))) {
2250
2257
  if (t === "M" && !p) {
2251
2258
  const I = S - 1;
2252
2259
  I > -1 && I < 12 && (d = v(this.value), d.setMonth(I), d.getMonth() !== I && (d = Ot($(d, -1))));
2253
2260
  }
2254
2261
  t === "y" && (d = le(
2255
- parseInt(f, 10),
2262
+ parseInt(m, 10),
2256
2263
  this.month ? this.value.getMonth() : 0,
2257
2264
  this.date ? this.value.getDate() : 1,
2258
2265
  this.hours ? this.value.getHours() : 0,
@@ -2303,26 +2310,26 @@ class pn {
2303
2310
  return [];
2304
2311
  }
2305
2312
  dateFormatString(t, e) {
2306
- const i = this.intl.splitDateFormat(e), a = [], r = [];
2313
+ const i = this.intl.splitDateFormat(e), a = [], o = [];
2307
2314
  for (let c = 0; c < i.length; c++) {
2308
2315
  let h = this.intl.formatDate(t, { pattern: i[c].pattern }).length;
2309
2316
  for (; h > 0; )
2310
- a.push(this.symbols[i[c].pattern[0]] || "_"), r.push(i[c]), h--;
2317
+ a.push(this.symbols[i[c].pattern[0]] || "_"), o.push(i[c]), h--;
2311
2318
  }
2312
- const l = new rn();
2313
- return l.symbols = a.join(""), l.partMap = r, l;
2319
+ const l = new on();
2320
+ return l.symbols = a.join(""), l.partMap = o, l;
2314
2321
  }
2315
2322
  merge(t, e) {
2316
- let i = "", a = "", r = e.symbols;
2317
- for (let l = r.length - 1; l >= 0; l--)
2318
- if (this.knownParts.indexOf(r[l]) === -1 || this.getExisting(r[l]))
2319
- i = t[l] + i, a = r[l] + a;
2323
+ let i = "", a = "", o = e.symbols;
2324
+ for (let l = o.length - 1; l >= 0; l--)
2325
+ if (this.knownParts.indexOf(o[l]) === -1 || this.getExisting(o[l]))
2326
+ i = t[l] + i, a = o[l] + a;
2320
2327
  else {
2321
- const c = r[l];
2322
- for (; l >= 0 && c === r[l]; )
2328
+ const c = o[l];
2329
+ for (; l >= 0 && c === o[l]; )
2323
2330
  l--;
2324
2331
  for (l++, this.leadingZero && this.leadingZero[c] ? i = "0" + i : i = this.dateFieldName(e.partMap[l]) + i; a.length < i.length; )
2325
- a = r[l] + a;
2332
+ a = o[l] + a;
2326
2333
  }
2327
2334
  return { text: i, format: a };
2328
2335
  }
@@ -2337,7 +2344,7 @@ const X = {
2337
2344
  millisecond: "millisecond",
2338
2345
  minute: "minute",
2339
2346
  second: "second"
2340
- }, rs = (s) => (t, e) => {
2347
+ }, os = (s) => (t, e) => {
2341
2348
  const i = v(t);
2342
2349
  return i[s](e), i;
2343
2350
  }, Ys = [
@@ -2346,61 +2353,61 @@ const X = {
2346
2353
  { type: X.second, getter: (s) => s.getSeconds() },
2347
2354
  { type: X.millisecond, getter: (s) => s.getMilliseconds() }
2348
2355
  ], mn = (s) => (t, e) => s(t), fn = (s) => (t, e) => s(e), gn = (s) => s.reduce((t, e) => (t[e.type] = e.type, t), {}), vn = (s) => (t) => s[t.type] ? fn(t.getter) : mn(t.getter), wn = (s) => (t) => s.map(vn(gn(t))), bn = (s, t, e, i) => (a) => {
2349
- const r = s(a), l = s(e);
2350
- return i === "hour" ? r - (r - l) % t : a.getTime() <= e.getTime() && r !== 0 && r <= l ? Math.ceil(r / t) * t : r - r % t;
2351
- }, kn = (s) => (t, e) => s.map((i) => {
2356
+ const o = s(a), l = s(e);
2357
+ return i === "hour" ? o - (o - l) % t : a.getTime() <= e.getTime() && o !== 0 && o <= l ? Math.ceil(o / t) * t : o - o % t;
2358
+ }, Dn = (s) => (t, e) => s.map((i) => {
2352
2359
  const a = Math.floor(t[i.type]);
2353
2360
  return a ? bn(i.getter, a, e, i.type) : i.getter;
2354
- }), Dn = wn(Ys), Ds = kn(Ys), yn = (s) => (t, e) => (t.setHours(...s.map((i) => i(t, e))), t), ys = (s) => (t) => {
2361
+ }), kn = wn(Ys), ks = Dn(Ys), yn = (s) => (t, e) => (t.setHours(...s.map((i) => i(t, e))), t), ys = (s) => (t) => {
2355
2362
  const e = v(t);
2356
2363
  return e.setHours(...s.map((i) => i(e))), e;
2357
- }, de = rs("setHours"), pe = rs("setMinutes"), me = rs("setSeconds"), Vt = () => /* @__PURE__ */ new Date(), os = (s, t, e = 1) => {
2364
+ }, de = os("setHours"), pe = os("setMinutes"), me = os("setSeconds"), Vt = () => /* @__PURE__ */ new Date(), rs = (s, t, e = 1) => {
2358
2365
  const i = [];
2359
2366
  for (let a = s; a < t; a = a + e)
2360
2367
  i.push(a);
2361
2368
  return i;
2362
2369
  }, ls = (s, t, e) => ({
2363
- candidateValue: W(L, s),
2364
- maxValue: Wt(W(L, e), t.getHours() < e.getHours() ? 0 : 1),
2365
- minValue: W(L, t)
2370
+ candidateValue: U(L, s),
2371
+ maxValue: Wt(U(L, e), t.getHours() < e.getHours() ? 0 : 1),
2372
+ minValue: U(L, t)
2366
2373
  }), Sn = (s, t, e) => {
2367
2374
  if (!s || !t || !e)
2368
2375
  return s;
2369
2376
  const {
2370
2377
  candidateValue: i,
2371
2378
  minValue: a,
2372
- maxValue: r
2379
+ maxValue: o
2373
2380
  } = ls(s, t, e);
2374
- return i < a ? W(s, t) : i > r ? W(s, e) : s;
2381
+ return i < a ? U(s, t) : i > o ? U(s, e) : s;
2375
2382
  }, hs = (s, t, e) => {
2376
2383
  if (!s || !t || !e)
2377
2384
  return !0;
2378
2385
  const {
2379
2386
  candidateValue: i,
2380
2387
  minValue: a,
2381
- maxValue: r
2388
+ maxValue: o
2382
2389
  } = ls(s, t, e);
2383
- return a <= i && i <= r;
2390
+ return a <= i && i <= o;
2384
2391
  }, xn = (s, t, e) => {
2385
2392
  if (s === null)
2386
2393
  return !0;
2387
2394
  const {
2388
2395
  candidateValue: i,
2389
2396
  minValue: a,
2390
- maxValue: r
2397
+ maxValue: o
2391
2398
  } = ls(s, t, e);
2392
- return a <= i && i <= r;
2399
+ return a <= i && i <= o;
2393
2400
  }, Cn = (s, t) => {
2394
2401
  if (s === null || t === null)
2395
2402
  return !1;
2396
- const e = W(L, s), i = W(L, t);
2403
+ const e = U(L, s), i = U(L, t);
2397
2404
  return e.getTime() < i.getHours();
2398
2405
  }, In = (s, t) => {
2399
2406
  if (s === null || t === null)
2400
2407
  return !1;
2401
- const e = W(L, s);
2402
- return W(L, t).getTime() < e.getHours();
2403
- }, Mn = "Please enter a valid value!", Z = class extends o.Component {
2408
+ const e = U(L, s);
2409
+ return U(L, t).getTime() < e.getHours();
2410
+ }, Mn = "Please enter a valid value!", Z = class extends r.Component {
2404
2411
  constructor(s) {
2405
2412
  super(s), this.kendoDate = null, this.currentFormat = "", this.paste = !1, this._element = null, this._wrapper = null, this._lastSelectedSymbol = "", this.focus = () => {
2406
2413
  this._element && this._element.focus();
@@ -2428,16 +2435,16 @@ const X = {
2428
2435
  }
2429
2436
  const { text: e, format: i } = this.kendoDate.getTextAndFormat();
2430
2437
  this.currentFormat = i;
2431
- const a = this.value, r = hn(
2438
+ const a = this.value, o = hn(
2432
2439
  e,
2433
2440
  this.currentFormat,
2434
2441
  this.element.value,
2435
2442
  this.selection.start
2436
- ), l = r.length === 1 && r[0][1] === "_";
2443
+ ), l = o.length === 1 && o[0][1] === "_";
2437
2444
  if (!l)
2438
- for (let c = 0; c < r.length; c++)
2439
- this.kendoDate.parsePart(r[c][0], r[c][1]);
2440
- r.length && r[0][0] !== "_" && this.setSelection(this.selectionBySymbol(r[0][0])), l && this.switchDateSegment(1), this.triggerChange(t, a);
2445
+ for (let c = 0; c < o.length; c++)
2446
+ this.kendoDate.parsePart(o[c][0], o[c][1]);
2447
+ o.length && o[0][0] !== "_" && this.setSelection(this.selectionBySymbol(o[0][0])), l && this.switchDateSegment(1), this.triggerChange(t, a);
2441
2448
  }, this.elementClick = (t) => {
2442
2449
  this.setSelection(this.selectionByIndex(this.selection.start));
2443
2450
  }, this.nativeWheel = (t) => {
@@ -2507,10 +2514,10 @@ const X = {
2507
2514
  rounded: e = Z.defaultProps.rounded
2508
2515
  } = this.props;
2509
2516
  this.props._ref && (this.props._ref.current = this);
2510
- const i = q(this), a = { ...Z.defaultProps, ...this.props }, { name: r, label: l, id: c } = a, h = this.text, u = h === this.props.placeholder ? "" : h, d = h === this.props.placeholder ? h : void 0, p = c || this._inputId, m = !this.validityStyles || this.validity.valid;
2511
- let f = [...dn];
2512
- this.props.className && f.push(this.props.className);
2513
- const S = /* @__PURE__ */ o.createElement(we, { onFocus: this.elementOnFocus, onBlur: this.elementOnBlur }, ({ onFocus: I, onBlur: M }) => /* @__PURE__ */ o.createElement(
2517
+ const i = W(this), a = { ...Z.defaultProps, ...this.props }, { name: o, label: l, id: c } = a, h = this.text, u = h === this.props.placeholder ? "" : h, d = h === this.props.placeholder ? h : void 0, p = c || this._inputId, f = !this.validityStyles || this.validity.valid;
2518
+ let m = [...dn];
2519
+ this.props.className && m.push(this.props.className);
2520
+ const S = /* @__PURE__ */ r.createElement(we, { onFocus: this.elementOnFocus, onBlur: this.elementOnBlur }, ({ onFocus: I, onBlur: M }) => /* @__PURE__ */ r.createElement(
2514
2521
  "span",
2515
2522
  {
2516
2523
  ref: (w) => {
@@ -2525,7 +2532,7 @@ const X = {
2525
2532
  [`k-input-${mt.sizeMap[s] || s}`]: s,
2526
2533
  [`k-input-${t}`]: t,
2527
2534
  [`k-rounded-${mt.roundedMap[e] || e}`]: e,
2528
- "k-invalid": !m,
2535
+ "k-invalid": !f,
2529
2536
  "k-required": this.required,
2530
2537
  "k-disabled": this.props.disabled
2531
2538
  },
@@ -2534,7 +2541,7 @@ const X = {
2534
2541
  onFocus: I,
2535
2542
  onBlur: M
2536
2543
  },
2537
- /* @__PURE__ */ o.createElement(
2544
+ /* @__PURE__ */ r.createElement(
2538
2545
  "input",
2539
2546
  {
2540
2547
  role: this.props.ariaRole || "textbox",
@@ -2563,12 +2570,12 @@ const X = {
2563
2570
  onChange: Rs,
2564
2571
  value: u,
2565
2572
  placeholder: d,
2566
- name: r,
2573
+ name: o,
2567
2574
  ref: (w) => this._element = w
2568
2575
  }
2569
2576
  ),
2570
2577
  this.props.children,
2571
- this.props.spinners && /* @__PURE__ */ o.createElement("span", { className: "k-input-spinner k-spin-button", onMouseDown: this.spinnersMouseDown }, /* @__PURE__ */ o.createElement(
2578
+ this.props.spinners && /* @__PURE__ */ r.createElement("span", { className: "k-input-spinner k-spin-button", onMouseDown: this.spinnersMouseDown }, /* @__PURE__ */ r.createElement(
2572
2579
  N,
2573
2580
  {
2574
2581
  tabIndex: -1,
@@ -2581,7 +2588,7 @@ const X = {
2581
2588
  title: i.toLanguageString(Ft, T[Ft]),
2582
2589
  onClick: this.increasePart
2583
2590
  }
2584
- ), /* @__PURE__ */ o.createElement(
2591
+ ), /* @__PURE__ */ r.createElement(
2585
2592
  N,
2586
2593
  {
2587
2594
  tabIndex: -1,
@@ -2589,20 +2596,20 @@ const X = {
2589
2596
  rounded: null,
2590
2597
  className: "k-spinner-decrease",
2591
2598
  icon: "caret-alt-down",
2592
- svgIcon: ri,
2599
+ svgIcon: oi,
2593
2600
  "aria-label": i.toLanguageString(Lt, T[Lt]),
2594
2601
  title: i.toLanguageString(Lt, T[Lt]),
2595
2602
  onClick: this.decreasePart
2596
2603
  }
2597
2604
  ))
2598
2605
  ));
2599
- return l ? /* @__PURE__ */ o.createElement(
2606
+ return l ? /* @__PURE__ */ r.createElement(
2600
2607
  Ls,
2601
2608
  {
2602
2609
  label: l,
2603
2610
  editorId: p,
2604
2611
  editorValue: h,
2605
- editorValid: m,
2612
+ editorValid: f,
2606
2613
  editorDisabled: this.props.disabled,
2607
2614
  children: S,
2608
2615
  style: { width: this.props.width }
@@ -2632,15 +2639,15 @@ const X = {
2632
2639
  * @hidden
2633
2640
  */
2634
2641
  get text() {
2635
- const s = { ...kt.defaultProps, ...this.props }, {
2642
+ const s = { ...Dt.defaultProps, ...this.props }, {
2636
2643
  formatPlaceholder: t = Z.defaultProps.formatPlaceholder,
2637
2644
  format: e = Z.defaultProps.format,
2638
2645
  value: i,
2639
2646
  defaultValue: a
2640
2647
  } = s;
2641
2648
  this.kendoDate === null ? (this.kendoDate = new pn(this.intl.bind(this), t, e), this.kendoDate.setValue(i || a || null)) : (this.kendoDate.format = e, this.kendoDate.formatPlaceholder = t), i !== void 0 && this.value !== i && this.kendoDate.setValue(i);
2642
- const { text: r, format: l } = this.kendoDate.getTextAndFormat();
2643
- return this.currentFormat = l, s.placeholder !== null && s.placeholder !== void 0 && !this.state.focused && !this.kendoDate.hasValue() ? s.placeholder : r;
2649
+ const { text: o, format: l } = this.kendoDate.getTextAndFormat();
2650
+ return this.currentFormat = l, s.placeholder !== null && s.placeholder !== void 0 && !this.state.focused && !this.kendoDate.hasValue() ? s.placeholder : o;
2644
2651
  }
2645
2652
  /**
2646
2653
  * Represents the validity state into which the DateInput is set.
@@ -2765,16 +2772,16 @@ const X = {
2765
2772
  a += s;
2766
2773
  if (this.currentFormat[a] === "_")
2767
2774
  return;
2768
- let r = a;
2769
- for (; r >= 0 && r < this.currentFormat.length && this.currentFormat[r] === this.currentFormat[a]; )
2770
- r += s;
2771
- a > r && (r + 1 !== t || a + 1 !== e) ? this.setSelection({ start: r + 1, end: a + 1 }) : a < r && (a !== t || r !== e) && this.setSelection({ start: a, end: r });
2775
+ let o = a;
2776
+ for (; o >= 0 && o < this.currentFormat.length && this.currentFormat[o] === this.currentFormat[a]; )
2777
+ o += s;
2778
+ a > o && (o + 1 !== t || a + 1 !== e) ? this.setSelection({ start: o + 1, end: a + 1 }) : a < o && (a !== t || o !== e) && this.setSelection({ start: a, end: o });
2772
2779
  }
2773
2780
  modifyDateSegmentValue(s, t) {
2774
2781
  if (!this.kendoDate)
2775
2782
  return;
2776
- const e = this.value, i = this.currentFormat[this.selection.start], a = this.kendoDate.symbolMap(i), r = ((this.props.steps || {})[a] || 1) * s;
2777
- this.kendoDate.modifyPart(i, r), this.triggerChange(t, e);
2783
+ const e = this.value, i = this.currentFormat[this.selection.start], a = this.kendoDate.symbolMap(i), o = ((this.props.steps || {})[a] || 1) * s;
2784
+ this.kendoDate.modifyPart(i, o), this.triggerChange(t, e);
2778
2785
  }
2779
2786
  };
2780
2787
  let Ct = Z;
@@ -2855,7 +2862,7 @@ Ct.propTypes = {
2855
2862
  fillMode: n.oneOf([null, "solid", "flat", "outline"])
2856
2863
  };
2857
2864
  Ct.defaultProps = {
2858
- format: on,
2865
+ format: rn,
2859
2866
  size: "medium",
2860
2867
  rounded: "medium",
2861
2868
  fillMode: "solid",
@@ -2874,18 +2881,18 @@ Ct.defaultProps = {
2874
2881
  // the rest of the properties are undefined by default
2875
2882
  ariaHasPopup: "grid"
2876
2883
  };
2877
- const Tn = Dt(), kt = yt(St(Tn, Ct));
2878
- kt.displayName = "KendoReactDateInput";
2884
+ const Tn = kt(), Dt = yt(St(Tn, Ct));
2885
+ Dt.displayName = "KendoReactDateInput";
2879
2886
  ft(Ct);
2880
2887
  at(Ct);
2881
- const En = N, Vn = o.forwardRef((s, t) => {
2882
- const { _ref: e } = s, i = o.useRef(null);
2883
- o.useImperativeHandle(t, () => i.current), o.useImperativeHandle(e, () => i.current);
2884
- const a = o.useMemo(
2888
+ const En = N, Vn = r.forwardRef((s, t) => {
2889
+ const { _ref: e } = s, i = r.useRef(null);
2890
+ r.useImperativeHandle(t, () => i.current), r.useImperativeHandle(e, () => i.current);
2891
+ const a = r.useMemo(
2885
2892
  () => P(s.className, "k-picker-wrap"),
2886
2893
  [s.className]
2887
2894
  );
2888
- return /* @__PURE__ */ o.createElement(
2895
+ return /* @__PURE__ */ r.createElement(
2889
2896
  "span",
2890
2897
  {
2891
2898
  ref: i,
@@ -2897,15 +2904,15 @@ const En = N, Vn = o.forwardRef((s, t) => {
2897
2904
  s.children
2898
2905
  );
2899
2906
  }), On = (s) => {
2900
- const [t, e] = o.useState(!1), i = () => {
2907
+ const [t, e] = r.useState(!1), i = () => {
2901
2908
  s.current && e(!!s.current.text);
2902
2909
  };
2903
- return o.useEffect(i), {
2910
+ return r.useEffect(i), {
2904
2911
  editorValue: t
2905
2912
  };
2906
2913
  }, cs = (s) => {
2907
2914
  const t = On(s.dateInput);
2908
- return /* @__PURE__ */ o.createElement(
2915
+ return /* @__PURE__ */ r.createElement(
2909
2916
  Ls,
2910
2917
  {
2911
2918
  ...s,
@@ -2918,7 +2925,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
2918
2925
  children: e,
2919
2926
  windowWidth: i = 0,
2920
2927
  navigatable: a,
2921
- navigatableElements: r,
2928
+ navigatableElements: o,
2922
2929
  expand: l,
2923
2930
  animation: c,
2924
2931
  onClose: h,
@@ -2926,14 +2933,14 @@ const En = N, Vn = o.forwardRef((s, t) => {
2926
2933
  mobileFilter: d
2927
2934
  } = s, p = {
2928
2935
  navigatable: a || !1,
2929
- navigatableElements: r || [],
2936
+ navigatableElements: o || [],
2930
2937
  expand: l,
2931
2938
  animation: c !== !1,
2932
2939
  onClose: h,
2933
2940
  animationStyles: i <= Ss ? { top: 0, width: "100%", height: "100%" } : void 0,
2934
2941
  className: i <= Ss ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
2935
2942
  };
2936
- return /* @__PURE__ */ o.createElement(ci, { ...p }, /* @__PURE__ */ o.createElement(ui, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, u)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
2943
+ return /* @__PURE__ */ r.createElement(ci, { ...p }, /* @__PURE__ */ r.createElement(ui, { className: "k-text-center" }, /* @__PURE__ */ r.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ r.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ r.createElement("div", null, u)), /* @__PURE__ */ r.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ r.createElement(
2937
2944
  N,
2938
2945
  {
2939
2946
  tabIndex: 0,
@@ -2942,10 +2949,10 @@ const En = N, Vn = o.forwardRef((s, t) => {
2942
2949
  type: "button",
2943
2950
  fillMode: "flat",
2944
2951
  icon: "x",
2945
- svgIcon: oi,
2952
+ svgIcon: ri,
2946
2953
  onClick: h
2947
2954
  }
2948
- ))), d && /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, d)), e, t && /* @__PURE__ */ o.createElement(di, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ o.createElement(
2955
+ ))), d && /* @__PURE__ */ r.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, d)), e, t && /* @__PURE__ */ r.createElement(di, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ r.createElement(
2949
2956
  N,
2950
2957
  {
2951
2958
  size: "large",
@@ -2956,7 +2963,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
2956
2963
  onClick: t.onCancel
2957
2964
  },
2958
2965
  t.cancelText
2959
- ), /* @__PURE__ */ o.createElement(
2966
+ ), /* @__PURE__ */ r.createElement(
2960
2967
  N,
2961
2968
  {
2962
2969
  tabIndex: 0,
@@ -2969,17 +2976,17 @@ const En = N, Vn = o.forwardRef((s, t) => {
2969
2976
  },
2970
2977
  t.applyText
2971
2978
  )));
2972
- }, xe = 768, B = class extends o.Component {
2979
+ }, xe = 768, z = class extends r.Component {
2973
2980
  constructor(s) {
2974
- super(s), this._element = null, this._dateInput = o.createRef(), this._calendar = null, this.shouldFocusDateInput = !1, this.prevShow = !1, this.focus = () => {
2981
+ super(s), this._element = null, this._dateInput = r.createRef(), this._calendar = null, this.shouldFocusDateInput = !1, this.prevShow = !1, this.focus = () => {
2975
2982
  this.dateInput && this.dateInput.focus();
2976
2983
  }, this.setCalendarRef = (t) => {
2977
2984
  this._calendar = t;
2978
2985
  }, this.nextValue = (t, e) => t.value !== void 0 ? t.value : e.value, this.nextShow = (t, e) => t.show !== void 0 ? t.show : e.show, this.renderPopup = () => {
2979
- const { disabled: t, min: e, max: i, weekNumber: a, focusedDate: r } = this.props, { popupClass: l, ...c } = this.props.popupSettings, h = this.show, u = this.value, d = u && C(u), p = P(
2986
+ const { disabled: t, min: e, max: i, weekNumber: a, focusedDate: o } = this.props, { popupClass: l, ...c } = this.props.popupSettings, h = this.show, u = this.value, d = u && C(u), p = P(
2980
2987
  "k-calendar-container k-group k-reset",
2981
2988
  l
2982
- ), m = {
2989
+ ), f = {
2983
2990
  popupClass: "k-datepicker-popup",
2984
2991
  show: h,
2985
2992
  anchor: this._element,
@@ -2994,18 +3001,18 @@ const En = N, Vn = o.forwardRef((s, t) => {
2994
3001
  vertical: "top"
2995
3002
  },
2996
3003
  ...c
2997
- }, f = {
3004
+ }, m = {
2998
3005
  disabled: t,
2999
3006
  value: d,
3000
3007
  min: e,
3001
3008
  max: i,
3002
3009
  weekNumber: a,
3003
- focusedDate: r,
3010
+ focusedDate: o,
3004
3011
  className: this.mobileMode ? "k-calendar-lg" : "",
3005
3012
  navigation: !this.mobileMode,
3006
3013
  onChange: this.handleCalendarValueChange
3007
3014
  };
3008
- return this.mobileMode ? /* @__PURE__ */ o.createElement(this.calendarComp, { _ref: this.setCalendarRef, ...f }) : /* @__PURE__ */ o.createElement(this.popupComp, { ...m }, /* @__PURE__ */ o.createElement(this.calendarComp, { _ref: this.setCalendarRef, ...f }));
3015
+ return this.mobileMode ? /* @__PURE__ */ r.createElement(this.calendarComp, { _ref: this.setCalendarRef, ...m }) : /* @__PURE__ */ r.createElement(this.popupComp, { ...f }, /* @__PURE__ */ r.createElement(this.calendarComp, { _ref: this.setCalendarRef, ...m }));
3009
3016
  }, this.renderAdaptivePopup = () => {
3010
3017
  const { windowWidth: t = 0 } = this.state, e = {
3011
3018
  expand: this.show,
@@ -3013,7 +3020,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
3013
3020
  adaptiveTitle: this.props.adaptiveTitle,
3014
3021
  windowWidth: t
3015
3022
  };
3016
- return /* @__PURE__ */ o.createElement(Se, { ...e }, /* @__PURE__ */ o.createElement(ke, { className: "!k-overflow-hidden" }, this.renderPopup()));
3023
+ return /* @__PURE__ */ r.createElement(Se, { ...e }, /* @__PURE__ */ r.createElement(De, { className: "!k-overflow-hidden" }, this.renderPopup()));
3017
3024
  }, this.handleInputValueChange = (t) => {
3018
3025
  this.handleValueChange(t.value, t);
3019
3026
  }, this.handleCalendarValueChange = (t) => {
@@ -3041,14 +3048,14 @@ const En = N, Vn = o.forwardRef((s, t) => {
3041
3048
  t.preventDefault();
3042
3049
  }, this.handleKeyDown = (t) => {
3043
3050
  const { altKey: e, keyCode: i } = t;
3044
- if (i === y.esc) {
3051
+ if (i === k.esc) {
3045
3052
  this.shouldFocusDateInput = !0, this.setShow(!1);
3046
3053
  return;
3047
3054
  }
3048
- e && (i === y.up || i === y.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = i === y.up, this.setShow(i === y.down));
3055
+ e && (i === k.up || i === k.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = i === k.up, this.setShow(i === k.down));
3049
3056
  }, Pt(Rt), this.state = {
3050
- value: this.props.defaultValue || B.defaultProps.defaultValue,
3051
- show: this.props.defaultShow || B.defaultProps.defaultShow,
3057
+ value: this.props.defaultValue || z.defaultProps.defaultValue,
3058
+ show: this.props.defaultShow || z.defaultProps.defaultShow,
3052
3059
  focused: !1
3053
3060
  };
3054
3061
  }
@@ -3103,25 +3110,25 @@ const En = N, Vn = o.forwardRef((s, t) => {
3103
3110
  return this.props.name;
3104
3111
  }
3105
3112
  get min() {
3106
- return this.props.min !== void 0 ? this.props.min : B.defaultProps.min;
3113
+ return this.props.min !== void 0 ? this.props.min : z.defaultProps.min;
3107
3114
  }
3108
3115
  get max() {
3109
- return this.props.max !== void 0 ? this.props.max : B.defaultProps.max;
3116
+ return this.props.max !== void 0 ? this.props.max : z.defaultProps.max;
3110
3117
  }
3111
3118
  get dateInputComp() {
3112
- return this.props.dateInput || B.defaultProps.dateInput;
3119
+ return this.props.dateInput || z.defaultProps.dateInput;
3113
3120
  }
3114
3121
  get toggleButtonComp() {
3115
- return this.props.toggleButton || B.defaultProps.toggleButton;
3122
+ return this.props.toggleButton || z.defaultProps.toggleButton;
3116
3123
  }
3117
3124
  get calendarComp() {
3118
- return this.props.calendar || B.defaultProps.calendar;
3125
+ return this.props.calendar || z.defaultProps.calendar;
3119
3126
  }
3120
3127
  get popupComp() {
3121
- return this.props.popup || B.defaultProps.popup;
3128
+ return this.props.popup || z.defaultProps.popup;
3122
3129
  }
3123
3130
  get pickerWrapComp() {
3124
- return this.props.pickerWrap || B.defaultProps.pickerWrap;
3131
+ return this.props.pickerWrap || z.defaultProps.pickerWrap;
3125
3132
  }
3126
3133
  /**
3127
3134
  * Represents the validity state into which the DatePicker is set.
@@ -3140,13 +3147,13 @@ const En = N, Vn = o.forwardRef((s, t) => {
3140
3147
  * @hidden
3141
3148
  */
3142
3149
  get validityStyles() {
3143
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : B.defaultProps.validityStyles;
3150
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : z.defaultProps.validityStyles;
3144
3151
  }
3145
3152
  /**
3146
3153
  * @hidden
3147
3154
  */
3148
3155
  get required() {
3149
- return this.props.required !== void 0 ? this.props.required : B.defaultProps.required;
3156
+ return this.props.required !== void 0 ? this.props.required : z.defaultProps.required;
3150
3157
  }
3151
3158
  /**
3152
3159
  * @hidden
@@ -3173,27 +3180,27 @@ const En = N, Vn = o.forwardRef((s, t) => {
3173
3180
  */
3174
3181
  render() {
3175
3182
  const {
3176
- size: s = B.defaultProps.size,
3177
- rounded: t = B.defaultProps.rounded,
3178
- fillMode: e = B.defaultProps.fillMode,
3183
+ size: s = z.defaultProps.size,
3184
+ rounded: t = z.defaultProps.rounded,
3185
+ fillMode: e = z.defaultProps.fillMode,
3179
3186
  disabled: i,
3180
3187
  tabIndex: a,
3181
- title: r,
3188
+ title: o,
3182
3189
  id: l,
3183
3190
  format: c,
3184
3191
  formatPlaceholder: h,
3185
3192
  min: u,
3186
3193
  max: d,
3187
3194
  className: p,
3188
- width: m,
3189
- name: f,
3195
+ width: f,
3196
+ name: m,
3190
3197
  validationMessage: S,
3191
3198
  required: I,
3192
3199
  validityStyles: M,
3193
3200
  ariaLabelledBy: w,
3194
3201
  ariaDescribedBy: E,
3195
3202
  ariaLabel: g
3196
- } = this.props, H = this.show, V = this.value, R = !this.validityStyles || this.validity.valid, A = {
3203
+ } = this.props, B = this.show, V = this.value, R = !this.validityStyles || this.validity.valid, A = {
3197
3204
  disabled: i,
3198
3205
  format: c,
3199
3206
  formatPlaceholder: h,
@@ -3203,11 +3210,11 @@ const En = N, Vn = o.forwardRef((s, t) => {
3203
3210
  ariaLabel: g,
3204
3211
  max: d,
3205
3212
  min: u,
3206
- name: f,
3213
+ name: m,
3207
3214
  onChange: this.handleInputValueChange,
3208
3215
  required: I,
3209
- tabIndex: H ? -1 : a,
3210
- title: r,
3216
+ tabIndex: B ? -1 : a,
3217
+ title: o,
3211
3218
  valid: this.validity.valid,
3212
3219
  validationMessage: S,
3213
3220
  validityStyles: M,
@@ -3218,7 +3225,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
3218
3225
  size: null,
3219
3226
  fillMode: null,
3220
3227
  rounded: null
3221
- }, x = q(this).toLanguageString(We, T[We]), O = /* @__PURE__ */ o.createElement(
3228
+ }, x = W(this).toLanguageString(We, T[We]), O = /* @__PURE__ */ r.createElement(
3222
3229
  we,
3223
3230
  {
3224
3231
  onFocus: this.handleFocus,
@@ -3226,7 +3233,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
3226
3233
  onSyncBlur: this.props.onBlur,
3227
3234
  onSyncFocus: this.props.onFocus
3228
3235
  },
3229
- ({ onFocus: tt, onBlur: j }) => /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3236
+ ({ onFocus: tt, onBlur: j }) => /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
3230
3237
  "span",
3231
3238
  {
3232
3239
  ref: (gt) => {
@@ -3246,12 +3253,12 @@ const En = N, Vn = o.forwardRef((s, t) => {
3246
3253
  p
3247
3254
  ),
3248
3255
  onKeyDown: this.handleKeyDown,
3249
- style: { width: m },
3256
+ style: { width: f },
3250
3257
  onFocus: tt,
3251
3258
  onBlur: j,
3252
3259
  onClick: this.mobileMode ? this.handleIconClick : void 0
3253
3260
  },
3254
- /* @__PURE__ */ o.createElement(
3261
+ /* @__PURE__ */ r.createElement(
3255
3262
  this.dateInputComp,
3256
3263
  {
3257
3264
  _ref: this._dateInput,
@@ -3262,7 +3269,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
3262
3269
  ...A
3263
3270
  }
3264
3271
  ),
3265
- /* @__PURE__ */ o.createElement(
3272
+ /* @__PURE__ */ r.createElement(
3266
3273
  this.toggleButtonComp,
3267
3274
  {
3268
3275
  type: "button",
@@ -3279,7 +3286,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
3279
3286
  !this.mobileMode && this.renderPopup()
3280
3287
  ), this.mobileMode && this.renderAdaptivePopup())
3281
3288
  );
3282
- return this.props.label ? /* @__PURE__ */ o.createElement(
3289
+ return this.props.label ? /* @__PURE__ */ r.createElement(
3283
3290
  cs,
3284
3291
  {
3285
3292
  dateInput: this._dateInput,
@@ -3301,7 +3308,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
3301
3308
  }));
3302
3309
  }
3303
3310
  mergeTime(s) {
3304
- return this.value && s ? W(s, this.value) : s;
3311
+ return this.value && s ? U(s, this.value) : s;
3305
3312
  }
3306
3313
  nextTick(s) {
3307
3314
  clearTimeout(this.nextTickId), this.nextTickId = window.setTimeout(() => s());
@@ -3311,7 +3318,7 @@ const En = N, Vn = o.forwardRef((s, t) => {
3311
3318
  this.setState({ windowWidth: t.target.clientWidth });
3312
3319
  }
3313
3320
  };
3314
- let Xt = B;
3321
+ let Xt = z;
3315
3322
  Xt.displayName = "DatePicker";
3316
3323
  Xt.propTypes = {
3317
3324
  className: n.string,
@@ -3381,7 +3388,7 @@ Xt.propTypes = {
3381
3388
  Xt.defaultProps = {
3382
3389
  defaultShow: !1,
3383
3390
  defaultValue: null,
3384
- dateInput: kt,
3391
+ dateInput: Dt,
3385
3392
  calendar: as,
3386
3393
  toggleButton: En,
3387
3394
  popup: be,
@@ -3399,7 +3406,7 @@ Xt.defaultProps = {
3399
3406
  rounded: "medium",
3400
3407
  fillMode: "solid"
3401
3408
  };
3402
- const Pn = Dt(), Rn = yt(St(Pn, Xt));
3409
+ const Pn = kt(), Rn = yt(St(Pn, Xt));
3403
3410
  Rn.displayName = "KendoReactDatePicker";
3404
3411
  at(Xt);
3405
3412
  const Ne = (s, t) => {
@@ -3414,10 +3421,10 @@ class Ln {
3414
3421
  * @hidden
3415
3422
  */
3416
3423
  apply(t, e) {
3417
- const i = t.getHours(), a = _e(i), r = _e(e.getHours());
3418
- if (a && r || !a && !r)
3424
+ const i = t.getHours(), a = _e(i), o = _e(e.getHours());
3425
+ if (a && o || !a && !o)
3419
3426
  return t;
3420
- const [l, c = 24] = this.normalizedRange(), h = i + (r ? -12 : 12);
3427
+ const [l, c = 24] = this.normalizedRange(), h = i + (o ? -12 : 12);
3421
3428
  return Ne(t, Math.min(Math.max(l, h), c || 24));
3422
3429
  }
3423
3430
  /**
@@ -3434,8 +3441,8 @@ class Ln {
3434
3441
  const e = this.part && this.part.names;
3435
3442
  if (!e || !this.min)
3436
3443
  return [];
3437
- const i = [], [a, r] = this.normalizedRange(), l = this.intl.dateFormatNames(e);
3438
- return _e(a) && i.push({ text: l.am, value: Ne(this.min, a) }), Nn(r) && i.push({ text: l.pm, value: Ne(this.min, Math.max(12, r)) }), this.min.getHours() !== a ? i.reverse() : i;
3444
+ const i = [], [a, o] = this.normalizedRange(), l = this.intl.dateFormatNames(e);
3445
+ return _e(a) && i.push({ text: l.am, value: Ne(this.min, a) }), Nn(o) && i.push({ text: l.pm, value: Ne(this.min, Math.max(12, o)) }), this.min.getHours() !== a ? i.reverse() : i;
3439
3446
  }
3440
3447
  /**
3441
3448
  * @hidden
@@ -3489,18 +3496,18 @@ class Hn {
3489
3496
  calculateHeights(t) {
3490
3497
  if (!J)
3491
3498
  return;
3492
- const e = Y("div"), i = Y("span"), a = Y("ul"), r = Y("li"), l = () => r("<span>02</span>", "k-item"), c = () => a([l()], "k-reset"), h = () => e([c()], "k-content k-scrollable k-time-container"), d = (() => e(
3499
+ const e = Y("div"), i = Y("span"), a = Y("ul"), o = Y("li"), l = () => o("<span>02</span>", "k-item"), c = () => a([l()], "k-reset"), h = () => e([c()], "k-content k-scrollable k-time-container"), d = (() => e(
3493
3500
  [
3494
3501
  i("minute", "k-title"),
3495
3502
  e([h()], "k-time-list")
3496
3503
  ],
3497
3504
  "k-time-list-wrapper",
3498
3505
  { left: "-10000px", position: "absolute" }
3499
- ))(), m = t && t.querySelector(".k-time-container") || document.body, f = m.appendChild(d);
3500
- this.timeListHeight = f.querySelector(".k-scrollable").offsetHeight, this.itemHeight = f.querySelector("li").offsetHeight, m.removeChild(f), this.didCalculate = !0;
3506
+ ))(), f = t && t.querySelector(".k-time-container") || document.body, m = f.appendChild(d);
3507
+ this.timeListHeight = m.querySelector(".k-scrollable").offsetHeight, this.itemHeight = m.querySelector("li").offsetHeight, f.removeChild(m), this.didCalculate = !0;
3501
3508
  }
3502
3509
  }
3503
- const us = 24, An = (s) => (t) => t % s, Ks = An(us), Bn = (s, t) => (e) => Ks(s + e * t), xs = (s, t) => Ks(us + s - t), js = (s) => (t, e) => !e || C(t).getTime() === C(e).getTime() ? t : de(t, s), zn = js(0), qn = js(us - 1);
3510
+ const us = 24, Bn = (s) => (t) => t % s, Ks = Bn(us), An = (s, t) => (e) => Ks(s + e * t), xs = (s, t) => Ks(us + s - t), js = (s) => (t, e) => !e || C(t).getTime() === C(e).getTime() ? t : de(t, s), zn = js(0), qn = js(us - 1);
3504
3511
  class Wn {
3505
3512
  constructor(t) {
3506
3513
  this.intl = t, this.boundRange = !1, this.insertUndividedMax = !1, this.min = null, this.max = null, this.step = 0, this.toListItem = null;
@@ -3513,7 +3520,7 @@ class Wn {
3513
3520
  boundRange: e = this.boundRange,
3514
3521
  insertUndividedMax: i = this.insertUndividedMax,
3515
3522
  min: a = this.min,
3516
- max: r = this.max,
3523
+ max: o = this.max,
3517
3524
  part: l,
3518
3525
  step: c = this.step
3519
3526
  } = t;
@@ -3523,11 +3530,11 @@ class Wn {
3523
3530
  text: this.intl.formatDate(u, l.pattern),
3524
3531
  value: u
3525
3532
  };
3526
- }, this.min = a, this.max = r, this.step = c;
3533
+ }, this.min = a, this.max = o, this.step = c;
3527
3534
  }
3528
3535
  data(t) {
3529
- const [e] = this.range(t), i = Bn(e, this.step), a = (l) => this.toListItem && this.toListItem(i(l)), r = os(0, this.countFromMin(t)).map(a);
3530
- return this.addLast(r), t && this.addMissing(r, t), r;
3536
+ const [e] = this.range(t), i = An(e, this.step), a = (l) => this.toListItem && this.toListItem(i(l)), o = rs(0, this.countFromMin(t)).map(a);
3537
+ return this.addLast(o), t && this.addMissing(o, t), o;
3531
3538
  }
3532
3539
  isRangeChanged(t, e) {
3533
3540
  return !this.min || !this.max ? !1 : !ht(this.min, t) || !ht(this.max, e);
@@ -3591,20 +3598,20 @@ class jn {
3591
3598
  insertUndividedMax: e = this.insertUndividedMax,
3592
3599
  min: i = this.min,
3593
3600
  max: a = this.max,
3594
- part: r,
3601
+ part: o,
3595
3602
  step: l = this.step
3596
3603
  } = t;
3597
3604
  this.insertUndividedMax = e, this.toListItem = (c) => {
3598
3605
  const h = pe(L, c);
3599
3606
  return {
3600
- text: this.intl.formatDate(h, r.pattern),
3607
+ text: this.intl.formatDate(h, o.pattern),
3601
3608
  value: h
3602
3609
  };
3603
3610
  }, this.min = i, this.max = a, this.step = l;
3604
3611
  }
3605
3612
  data(t) {
3606
- const [e] = this.range(t), i = $n(e, this.step), a = (l) => this.toListItem && this.toListItem(i(l)), r = os(0, this.countFromMin(t)).map(a);
3607
- return this.addLast(r), t && this.addMissing(r, t), r;
3613
+ const [e] = this.range(t), i = $n(e, this.step), a = (l) => this.toListItem && this.toListItem(i(l)), o = rs(0, this.countFromMin(t)).map(a);
3614
+ return this.addLast(o), t && this.addMissing(o, t), o;
3608
3615
  }
3609
3616
  isRangeChanged(t, e) {
3610
3617
  return this.min !== null && this.max !== null && (!ht(this.min, t) || !ht(this.max, e));
@@ -3668,20 +3675,20 @@ class Qn {
3668
3675
  insertUndividedMax: e = this.insertUndividedMax,
3669
3676
  min: i = this.min,
3670
3677
  max: a = this.max,
3671
- part: r,
3678
+ part: o,
3672
3679
  step: l = this.step
3673
3680
  } = t;
3674
3681
  this.insertUndividedMax = e, this.toListItem = (c) => {
3675
3682
  const h = me(L, c);
3676
3683
  return {
3677
- text: this.intl.formatDate(h, r.pattern),
3684
+ text: this.intl.formatDate(h, o.pattern),
3678
3685
  value: h
3679
3686
  };
3680
3687
  }, this.min = i, this.max = a, this.step = l;
3681
3688
  }
3682
3689
  data(t) {
3683
- const [e] = this.range(t), i = Gn(e, this.step), a = (l) => this.toListItem && this.toListItem(i(l)), r = os(0, this.countFromMin(t)).map(a);
3684
- return this.addLast(r), t && this.addMissing(r, t), r;
3690
+ const [e] = this.range(t), i = Gn(e, this.step), a = (l) => this.toListItem && this.toListItem(i(l)), o = rs(0, this.countFromMin(t)).map(a);
3691
+ return this.addLast(o), t && this.addMissing(o, t), o;
3685
3692
  }
3686
3693
  isRangeChanged(t, e) {
3687
3694
  return this.min !== null && this.max !== null && (!ht(this.min, t) || !ht(this.max, e));
@@ -3733,16 +3740,16 @@ class Qn {
3733
3740
  }
3734
3741
  }
3735
3742
  const ta = 2, Ms = 0.05, ea = 100, sa = 0, Ts = 9, ia = {
3736
- [y.end]: (s, t) => s[s.length - 1],
3737
- [y.home]: (s, t) => s[0],
3738
- [y.up]: (s, t) => s[t - 1],
3739
- [y.down]: (s, t) => s[t + 1]
3743
+ [k.end]: (s, t) => s[s.length - 1],
3744
+ [k.home]: (s, t) => s[0],
3745
+ [k.up]: (s, t) => s[t - 1],
3746
+ [k.down]: (s, t) => s[t + 1]
3740
3747
  }, es = {
3741
3748
  [X.dayperiod]: Ln,
3742
3749
  [X.hour]: Wn,
3743
3750
  [X.minute]: jn,
3744
3751
  [X.second]: Qn
3745
- }, Tt = class extends o.Component {
3752
+ }, Tt = class extends r.Component {
3746
3753
  constructor(s) {
3747
3754
  super(s), this.intl = null, this._element = null, this.service = null, this.virtualization = null, this.topOffset = 0, this.bottomOffset = 0, this.itemHeight = 0, this.listHeight = 0, this.topThreshold = 0, this.bottomThreshold = 0, this.animateToIndex = !1, this.focus = (t) => {
3748
3755
  Promise.resolve().then(() => {
@@ -3751,17 +3758,17 @@ const ta = 2, Ms = 0.05, ea = 100, sa = 0, Ts = 9, ia = {
3751
3758
  }, this.itemOffset = (t) => {
3752
3759
  if (!this.virtualization || !this.service)
3753
3760
  return -1;
3754
- const e = this.service.selectedIndex(this.props.value), i = this.virtualization.activeIndex(), a = this.virtualization.itemOffset(i), r = Math.abs(Math.ceil(t) - a);
3755
- if (e === i && r < ta)
3761
+ const e = this.service.selectedIndex(this.props.value), i = this.virtualization.activeIndex(), a = this.virtualization.itemOffset(i), o = Math.abs(Math.ceil(t) - a);
3762
+ if (e === i && o < ta)
3756
3763
  return a;
3757
3764
  const l = e > i;
3758
- return l && r >= this.bottomThreshold || !l && r > this.topThreshold ? this.virtualization.itemOffset(i + 1) : a;
3765
+ return l && o >= this.bottomThreshold || !l && o > this.topThreshold ? this.virtualization.itemOffset(i + 1) : a;
3759
3766
  }, this.calculateHeights = () => {
3760
3767
  this.dom.didCalculate && (this.itemHeight = this.dom.itemHeight, this.listHeight = this.dom.timeListHeight, this.topOffset = (this.listHeight - this.itemHeight) / 2, this.bottomOffset = this.listHeight - this.itemHeight, this.props.mobileMode && (this.topOffset += Ts, this.bottomOffset += Ts * 2), this.topThreshold = this.itemHeight * Ms, this.bottomThreshold = this.itemHeight * (1 - Ms));
3761
3768
  }, this.configureServices = ({ min: t, max: e, value: i } = this.props) => {
3762
3769
  if (this.service) {
3763
- const [a, r] = this.service.limitRange(t || this.min, e || this.max, i || this.props.value);
3764
- this.service.configure(this.serviceSettings({ min: a, max: r }));
3770
+ const [a, o] = this.service.limitRange(t || this.min, e || this.max, i || this.props.value);
3771
+ this.service.configure(this.serviceSettings({ min: a, max: o }));
3765
3772
  }
3766
3773
  }, this.serviceSettings = (t) => {
3767
3774
  const e = {
@@ -3794,7 +3801,7 @@ const ta = 2, Ms = 0.05, ea = 100, sa = 0, Ts = 9, ia = {
3794
3801
  if (!this.service)
3795
3802
  return;
3796
3803
  const { keyCode: e } = t;
3797
- (e === y.down || e === y.up || e === y.end || e === y.home) && t.preventDefault();
3804
+ (e === k.down || e === k.up || e === k.end || e === k.home) && t.preventDefault();
3798
3805
  const a = (ia[t.keyCode] || Rs)(
3799
3806
  this.service.data(this.props.value),
3800
3807
  this.service.selectedIndex(this.props.value)
@@ -3849,25 +3856,25 @@ const ta = 2, Ms = 0.05, ea = 100, sa = 0, Ts = 9, ia = {
3849
3856
  if (!this.props.part.type || !es[this.props.part.type])
3850
3857
  return;
3851
3858
  this.calculateHeights(), this.intl = ct(this), this.service = new es[this.props.part.type](this.intl), this.configureServices();
3852
- const s = this.service.data(this.props.value), t = "translateY(" + this.topOffset + "px)", e = this.service.total(this.props.value), i = /* @__PURE__ */ o.createElement(
3859
+ const s = this.service.data(this.props.value), t = "translateY(" + this.topOffset + "px)", e = this.service.total(this.props.value), i = /* @__PURE__ */ r.createElement(
3853
3860
  "ul",
3854
3861
  {
3855
3862
  style: { transform: t, msTransform: t },
3856
3863
  className: "k-reset"
3857
3864
  },
3858
- s.map((a, r) => /* @__PURE__ */ o.createElement(
3865
+ s.map((a, o) => /* @__PURE__ */ r.createElement(
3859
3866
  "li",
3860
3867
  {
3861
- key: r,
3868
+ key: o,
3862
3869
  className: "k-item",
3863
3870
  onClick: () => {
3864
3871
  this.handleChange(a);
3865
3872
  }
3866
3873
  },
3867
- /* @__PURE__ */ o.createElement("span", null, a.text)
3874
+ /* @__PURE__ */ r.createElement("span", null, a.text)
3868
3875
  ))
3869
3876
  );
3870
- return /* @__PURE__ */ o.createElement(
3877
+ return /* @__PURE__ */ r.createElement(
3871
3878
  "div",
3872
3879
  {
3873
3880
  className: "k-time-list",
@@ -3881,7 +3888,7 @@ const ta = 2, Ms = 0.05, ea = 100, sa = 0, Ts = 9, ia = {
3881
3888
  onBlur: this.handleBlur,
3882
3889
  onMouseOver: this.handleMouseOver
3883
3890
  },
3884
- this.dom.didCalculate ? /* @__PURE__ */ o.createElement(
3891
+ this.dom.didCalculate ? /* @__PURE__ */ r.createElement(
3885
3892
  Kt,
3886
3893
  {
3887
3894
  bottomOffset: this.bottomOffset,
@@ -3900,7 +3907,7 @@ const ta = 2, Ms = 0.05, ea = 100, sa = 0, Ts = 9, ia = {
3900
3907
  topOffset: this.topOffset,
3901
3908
  total: e
3902
3909
  }
3903
- ) : /* @__PURE__ */ o.createElement("div", { className: "k-time-container" }, i)
3910
+ ) : /* @__PURE__ */ r.createElement("div", { className: "k-time-container" }, i)
3904
3911
  );
3905
3912
  }
3906
3913
  };
@@ -3939,7 +3946,7 @@ Ce.defaultProps = {
3939
3946
  smoothScroll: !0
3940
3947
  };
3941
3948
  ft(Ce);
3942
- const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`), vt = class extends o.Component {
3949
+ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`), vt = class extends r.Component {
3943
3950
  constructor(s) {
3944
3951
  super(s), this._element = null, this._nowButton = null, this.dateFormatParts = [], this.timeLists = [], this.focus = (t, e) => {
3945
3952
  Promise.resolve().then(() => {
@@ -3958,13 +3965,13 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
3958
3965
  }], this.showNowButton = () => !this.hasSteps() && this.props.nowButton && hs(Vt(), this.min, this.max), this.handleKeyDown = (t) => {
3959
3966
  const { keyCode: e } = t;
3960
3967
  switch (e) {
3961
- case y.left:
3968
+ case k.left:
3962
3969
  t.preventDefault(), this.focusList(
3963
3970
  0
3964
3971
  /* Left */
3965
3972
  );
3966
3973
  return;
3967
- case y.right:
3974
+ case k.right:
3968
3975
  t.preventDefault(), this.focusList(
3969
3976
  1
3970
3977
  /* Right */
@@ -3985,7 +3992,7 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
3985
3992
  const { onChange: e } = this.props;
3986
3993
  e && e.call(void 0, t);
3987
3994
  }, this.snapTime = ys(
3988
- Ds(this.props.steps, this.props.min || vt.defaultProps.min)
3995
+ ks(this.props.steps, this.props.min || vt.defaultProps.min)
3989
3996
  ), this.state = {
3990
3997
  activeListIndex: -1
3991
3998
  }, this.hasActiveButton = this.hasActiveButton.bind(this);
@@ -4038,21 +4045,21 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
4038
4045
  onNowClick: e,
4039
4046
  className: i,
4040
4047
  disabled: a,
4041
- mobileMode: r,
4048
+ mobileMode: o,
4042
4049
  show: l,
4043
4050
  onNowKeyDown: c
4044
4051
  } = this.props;
4045
- this.snapTime = ys(Ds(this.steps, this.min)), this.dateFormatParts = this.intl.splitDateFormat(s || vt.defaultProps.format).filter(this.timeFormatFilter);
4052
+ this.snapTime = ys(ks(this.steps, this.min)), this.dateFormatParts = this.intl.splitDateFormat(s || vt.defaultProps.format).filter(this.timeFormatFilter);
4046
4053
  const h = P(
4047
4054
  {
4048
4055
  "k-disabled": a,
4049
- "k-time-part": r
4056
+ "k-time-part": o
4050
4057
  },
4051
4058
  i
4052
4059
  );
4053
4060
  this.timeLists = [];
4054
- const u = q(this), d = u.toLanguageString(je, T[je]);
4055
- return /* @__PURE__ */ o.createElement("div", { className: h }, /* @__PURE__ */ o.createElement("div", { className: "k-time-header" }, /* @__PURE__ */ o.createElement("span", { className: "k-title" }, this.intl.formatDate(this.value, this.dateFormatParts.reduce(this.timeFormatReducer, ""))), this.showNowButton() && /* @__PURE__ */ o.createElement(
4061
+ const u = W(this), d = u.toLanguageString(je, T[je]);
4062
+ return /* @__PURE__ */ r.createElement("div", { className: h }, /* @__PURE__ */ r.createElement("div", { className: "k-time-header" }, /* @__PURE__ */ r.createElement("span", { className: "k-title" }, this.intl.formatDate(this.value, this.dateFormatParts.reduce(this.timeFormatReducer, ""))), this.showNowButton() && /* @__PURE__ */ r.createElement(
4056
4063
  N,
4057
4064
  {
4058
4065
  type: "button",
@@ -4069,27 +4076,27 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
4069
4076
  tabIndex: a ? -1 : 0
4070
4077
  },
4071
4078
  u.toLanguageString(Ke, T[Ke])
4072
- )), /* @__PURE__ */ o.createElement(
4079
+ )), /* @__PURE__ */ r.createElement(
4073
4080
  "div",
4074
4081
  {
4075
4082
  className: "k-time-list-container",
4076
4083
  onKeyDown: this.handleKeyDown
4077
4084
  },
4078
- /* @__PURE__ */ o.createElement("span", { className: "k-time-highlight" }),
4079
- this.dateFormatParts.map((p, m) => p.type !== "literal" ? /* @__PURE__ */ o.createElement(
4085
+ /* @__PURE__ */ r.createElement("span", { className: "k-time-highlight" }),
4086
+ this.dateFormatParts.map((p, f) => p.type !== "literal" ? /* @__PURE__ */ r.createElement(
4080
4087
  "div",
4081
4088
  {
4082
- key: m,
4089
+ key: f,
4083
4090
  className: P("k-time-list-wrapper", {
4084
- "k-focus": m === this.state.activeListIndex
4091
+ "k-focus": f === this.state.activeListIndex
4085
4092
  }),
4086
4093
  role: "presentation",
4087
4094
  tabIndex: -1
4088
4095
  },
4089
- /* @__PURE__ */ o.createElement("span", { className: "k-title", onMouseDown: (f) => {
4090
- f.preventDefault();
4096
+ /* @__PURE__ */ r.createElement("span", { className: "k-title", onMouseDown: (m) => {
4097
+ m.preventDefault();
4091
4098
  } }, this.intl.dateFieldName(p)),
4092
- /* @__PURE__ */ o.createElement(
4099
+ /* @__PURE__ */ r.createElement(
4093
4100
  Ce,
4094
4101
  {
4095
4102
  min: this.min,
@@ -4098,25 +4105,25 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
4098
4105
  part: p,
4099
4106
  step: p.type ? this.steps[p.type] : 1,
4100
4107
  smoothScroll: t,
4101
- ref: (f) => {
4102
- f && this.timeLists.push(f);
4108
+ ref: (m) => {
4109
+ m && this.timeLists.push(m);
4103
4110
  },
4104
- id: m,
4111
+ id: f,
4105
4112
  onFocus: () => {
4106
- this.handleListFocus(m);
4113
+ this.handleListFocus(f);
4107
4114
  },
4108
4115
  onBlur: this.handleListBlur,
4109
4116
  onChange: this.handleChange,
4110
4117
  value: this.value,
4111
4118
  disabled: a,
4112
4119
  show: l,
4113
- mobileMode: r
4120
+ mobileMode: o
4114
4121
  }
4115
4122
  )
4116
- ) : /* @__PURE__ */ o.createElement(
4123
+ ) : /* @__PURE__ */ r.createElement(
4117
4124
  "div",
4118
4125
  {
4119
- key: m,
4126
+ key: f,
4120
4127
  className: "k-time-separator"
4121
4128
  },
4122
4129
  p.pattern
@@ -4185,14 +4192,14 @@ _t.defaultProps = {
4185
4192
  };
4186
4193
  ft(_t);
4187
4194
  at(_t);
4188
- const ss = class extends o.Component {
4195
+ const ss = class extends r.Component {
4189
4196
  constructor(s) {
4190
4197
  super(s), this._element = null, this._cancelButton = null, this._acceptButton = null, this.timePart = null, this.focusActiveList = () => {
4191
4198
  this.timePart && this.timePart.focus({ preventScroll: !0 });
4192
4199
  }, this.handleKeyDown = (t) => {
4193
4200
  const { keyCode: e } = t;
4194
4201
  switch (e) {
4195
- case y.enter:
4202
+ case k.enter:
4196
4203
  this.hasActiveButton() || this.handleAccept(t);
4197
4204
  return;
4198
4205
  default:
@@ -4200,11 +4207,11 @@ const ss = class extends o.Component {
4200
4207
  }
4201
4208
  }, this.revertToNowButton = (t) => {
4202
4209
  const { keyCode: e, shiftKey: i } = t;
4203
- !i && e === y.tab && (t.preventDefault(), this.props.nowButton !== !1 ? this.timePart && this.timePart.focus({ preventScroll: !0 }, !0) : this.timePart && this.timePart.focus({ preventScroll: !0 }));
4210
+ !i && e === k.tab && (t.preventDefault(), this.props.nowButton !== !1 ? this.timePart && this.timePart.focus({ preventScroll: !0 }, !0) : this.timePart && this.timePart.focus({ preventScroll: !0 }));
4204
4211
  }, this.handleNowKeyDown = (t) => {
4205
4212
  var a;
4206
4213
  const { keyCode: e, shiftKey: i } = t;
4207
- i && e === y.tab ? (t.preventDefault(), this._acceptButton && ((a = this._acceptButton.element) == null || a.focus({ preventScroll: !0 }))) : e === y.enter && (t.stopPropagation(), this.handleNowClick(t));
4214
+ i && e === k.tab ? (t.preventDefault(), this._acceptButton && ((a = this._acceptButton.element) == null || a.focus({ preventScroll: !0 }))) : e === k.enter && (t.stopPropagation(), this.handleNowClick(t));
4208
4215
  }, this.handleAccept = (t) => {
4209
4216
  const e = this.mergeValue(
4210
4217
  v(this.value || Vt()),
@@ -4244,7 +4251,7 @@ const ss = class extends o.Component {
4244
4251
  e && e.call(void 0, {
4245
4252
  time: t
4246
4253
  });
4247
- }, this.dateFormatParts = this.intl.splitDateFormat(this.props.format || ss.defaultProps.format), this.mergeValue = yn(Dn(this.dateFormatParts)), this.hasActiveButton = this.hasActiveButton.bind(this), this.state = {
4254
+ }, this.dateFormatParts = this.intl.splitDateFormat(this.props.format || ss.defaultProps.format), this.mergeValue = yn(kn(this.dateFormatParts)), this.hasActiveButton = this.hasActiveButton.bind(this), this.state = {
4248
4255
  current: this.props.value || L,
4249
4256
  value: this.props.value || ss.defaultProps.value
4250
4257
  };
@@ -4281,16 +4288,16 @@ const ss = class extends o.Component {
4281
4288
  disabled: e,
4282
4289
  tabIndex: i,
4283
4290
  className: a,
4284
- smoothScroll: r,
4291
+ smoothScroll: o,
4285
4292
  min: l,
4286
4293
  max: c,
4287
4294
  boundRange: h,
4288
4295
  nowButton: u,
4289
4296
  steps: d,
4290
4297
  show: p,
4291
- mobileMode: m
4292
- } = this.props, f = q(this), S = f.toLanguageString(ve, T[ve]), I = f.toLanguageString(Ut, T[Ut]);
4293
- return /* @__PURE__ */ o.createElement(
4298
+ mobileMode: f
4299
+ } = this.props, m = W(this), S = m.toLanguageString(ve, T[ve]), I = m.toLanguageString(Ut, T[Ut]);
4300
+ return /* @__PURE__ */ r.createElement(
4294
4301
  "div",
4295
4302
  {
4296
4303
  ref: (M) => {
@@ -4302,7 +4309,7 @@ const ss = class extends o.Component {
4302
4309
  }),
4303
4310
  onKeyDown: this.handleKeyDown
4304
4311
  },
4305
- /* @__PURE__ */ o.createElement(
4312
+ /* @__PURE__ */ r.createElement(
4306
4313
  _t,
4307
4314
  {
4308
4315
  ref: (M) => {
@@ -4312,7 +4319,7 @@ const ss = class extends o.Component {
4312
4319
  onChange: this.handleChange,
4313
4320
  onNowClick: this.handleNowClick,
4314
4321
  format: s,
4315
- smoothScroll: r,
4322
+ smoothScroll: o,
4316
4323
  min: l,
4317
4324
  max: c,
4318
4325
  boundRange: h,
@@ -4320,11 +4327,11 @@ const ss = class extends o.Component {
4320
4327
  nowButton: u,
4321
4328
  steps: d,
4322
4329
  show: p,
4323
- mobileMode: m,
4330
+ mobileMode: f,
4324
4331
  onNowKeyDown: this.handleNowKeyDown
4325
4332
  }
4326
4333
  ),
4327
- this.props.footer && /* @__PURE__ */ o.createElement("div", { className: "k-time-footer k-actions k-actions-stretched" }, t && /* @__PURE__ */ o.createElement(
4334
+ this.props.footer && /* @__PURE__ */ r.createElement("div", { className: "k-time-footer k-actions k-actions-stretched" }, t && /* @__PURE__ */ r.createElement(
4328
4335
  N,
4329
4336
  {
4330
4337
  type: "button",
@@ -4337,7 +4344,7 @@ const ss = class extends o.Component {
4337
4344
  "aria-label": S
4338
4345
  },
4339
4346
  S
4340
- ), /* @__PURE__ */ o.createElement(
4347
+ ), /* @__PURE__ */ r.createElement(
4341
4348
  N,
4342
4349
  {
4343
4350
  type: "button",
@@ -4415,13 +4422,13 @@ Jt.defaultProps = {
4415
4422
  };
4416
4423
  ft(Jt);
4417
4424
  at(Jt);
4418
- const G = class extends o.Component {
4425
+ const G = class extends r.Component {
4419
4426
  constructor(s) {
4420
- super(s), this._element = null, this._dateInput = o.createRef(), this._timeSelector = null, this.shouldFocusDateInput = !1, this.prevShow = !1, this.focus = () => {
4427
+ super(s), this._element = null, this._dateInput = r.createRef(), this._timeSelector = null, this.shouldFocusDateInput = !1, this.prevShow = !1, this.focus = () => {
4421
4428
  this.dateInput && this.dateInput.focus();
4422
4429
  }, this.renderTimeSelector = () => {
4423
- const { smoothScroll: t, cancelButton: e, nowButton: i, disabled: a, format: r, steps: l } = this.props;
4424
- return /* @__PURE__ */ o.createElement(
4430
+ const { smoothScroll: t, cancelButton: e, nowButton: i, disabled: a, format: o, steps: l } = this.props;
4431
+ return /* @__PURE__ */ r.createElement(
4425
4432
  Jt,
4426
4433
  {
4427
4434
  ref: this.setTimeSelectorRef,
@@ -4431,7 +4438,7 @@ const G = class extends o.Component {
4431
4438
  cancelButton: e,
4432
4439
  disabled: a,
4433
4440
  nowButton: i,
4434
- format: r,
4441
+ format: o,
4435
4442
  min: this.min,
4436
4443
  max: this.max,
4437
4444
  steps: l,
@@ -4464,7 +4471,7 @@ const G = class extends o.Component {
4464
4471
  },
4465
4472
  ...e
4466
4473
  };
4467
- return this.props.popup ? /* @__PURE__ */ o.createElement(this.props.popup, { ...a }, this.renderTimeSelector()) : /* @__PURE__ */ o.createElement(be, { ...a }, this.renderTimeSelector());
4474
+ return this.props.popup ? /* @__PURE__ */ r.createElement(this.props.popup, { ...a }, this.renderTimeSelector()) : /* @__PURE__ */ r.createElement(be, { ...a }, this.renderTimeSelector());
4468
4475
  }, this.renderAdaptivePopup = () => {
4469
4476
  const { windowWidth: t = 0 } = this.state, e = {
4470
4477
  expand: this.show,
@@ -4478,7 +4485,7 @@ const G = class extends o.Component {
4478
4485
  onApply: (i) => this.handleValueChange(i)
4479
4486
  }
4480
4487
  };
4481
- return /* @__PURE__ */ o.createElement(Se, { ...e }, /* @__PURE__ */ o.createElement(ke, { className: "!k-overflow-hidden" }, this.renderTimeSelector()));
4488
+ return /* @__PURE__ */ r.createElement(Se, { ...e }, /* @__PURE__ */ r.createElement(De, { className: "!k-overflow-hidden" }, this.renderTimeSelector()));
4482
4489
  }, this.setTimeSelectorRef = (t) => {
4483
4490
  this._timeSelector = t;
4484
4491
  }, this.nextValue = (t, e) => t.value !== void 0 ? t.value : e.value, this.nextShow = (t, e) => t.show !== void 0 ? t.show : e.show, this.handleInputValueChange = (t) => {
@@ -4510,11 +4517,11 @@ const G = class extends o.Component {
4510
4517
  t.preventDefault();
4511
4518
  }, this.handleKeyDown = (t) => {
4512
4519
  const { altKey: e, keyCode: i } = t;
4513
- if (i === y.esc) {
4520
+ if (i === k.esc) {
4514
4521
  this.shouldFocusDateInput = !0, this.setShow(!1);
4515
4522
  return;
4516
4523
  }
4517
- e && (i === y.up || i === y.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = i === y.up, this.setShow(i === y.down));
4524
+ e && (i === k.up || i === k.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = i === k.up, this.setShow(i === k.down));
4518
4525
  }, Pt(Rt), this.state = {
4519
4526
  value: this.props.defaultValue || G.defaultProps.defaultValue,
4520
4527
  show: this.props.defaultShow || G.defaultProps.defaultShow,
@@ -4570,7 +4577,7 @@ const G = class extends o.Component {
4570
4577
  * Represents the validity state into which the TimePicker is set.
4571
4578
  */
4572
4579
  get validity() {
4573
- const s = this.value && this.normalizeTime(this.value), t = this.normalizeTime(this.min), e = this.normalizeTime(this.max), i = xn(s, t, e), a = this.props.validationMessage !== void 0, r = (!this.required || this.value !== null) && i, l = this.props.valid !== void 0 ? this.props.valid : r;
4580
+ const s = this.value && this.normalizeTime(this.value), t = this.normalizeTime(this.min), e = this.normalizeTime(this.max), i = xn(s, t, e), a = this.props.validationMessage !== void 0, o = (!this.required || this.value !== null) && i, l = this.props.valid !== void 0 ? this.props.valid : o;
4574
4581
  return {
4575
4582
  customError: a,
4576
4583
  rangeOverflow: In(s, e),
@@ -4610,7 +4617,7 @@ const G = class extends o.Component {
4610
4617
  return this.props.dateInput || G.defaultProps.dateInput;
4611
4618
  }
4612
4619
  get localizationService() {
4613
- return q(this);
4620
+ return W(this);
4614
4621
  }
4615
4622
  /**
4616
4623
  * @hidden
@@ -4642,15 +4649,15 @@ const G = class extends o.Component {
4642
4649
  fillMode: e = G.defaultProps.fillMode,
4643
4650
  disabled: i,
4644
4651
  tabIndex: a,
4645
- title: r,
4652
+ title: o,
4646
4653
  id: l,
4647
4654
  className: c,
4648
4655
  format: h,
4649
4656
  formatPlaceholder: u,
4650
4657
  width: d,
4651
4658
  name: p,
4652
- steps: m,
4653
- validationMessage: f,
4659
+ steps: f,
4660
+ validationMessage: m,
4654
4661
  required: S,
4655
4662
  validityStyles: I,
4656
4663
  ariaLabelledBy: M,
@@ -4667,11 +4674,11 @@ const G = class extends o.Component {
4667
4674
  name: p,
4668
4675
  onChange: this.handleInputValueChange,
4669
4676
  required: S,
4670
- steps: m,
4677
+ steps: f,
4671
4678
  tabIndex: this.show ? -1 : a,
4672
- title: r,
4679
+ title: o,
4673
4680
  valid: this.validity.valid,
4674
- validationMessage: f,
4681
+ validationMessage: m,
4675
4682
  validityStyles: I,
4676
4683
  value: this.value && this.normalizeTime(this.value),
4677
4684
  label: void 0,
@@ -4682,7 +4689,7 @@ const G = class extends o.Component {
4682
4689
  fillMode: null,
4683
4690
  rounded: null,
4684
4691
  readonly: this.mobileMode
4685
- }, H = this.localizationService.toLanguageString(ue, T[ue]), V = this.localizationService.toLanguageString(Ze, T[Ze]), R = /* @__PURE__ */ o.createElement(
4692
+ }, B = this.localizationService.toLanguageString(ue, T[ue]), V = this.localizationService.toLanguageString(Ze, T[Ze]), R = /* @__PURE__ */ r.createElement(
4686
4693
  we,
4687
4694
  {
4688
4695
  onFocus: this.handleFocus,
@@ -4690,7 +4697,7 @@ const G = class extends o.Component {
4690
4697
  onSyncBlur: this.props.onBlur,
4691
4698
  onSyncFocus: this.props.onFocus
4692
4699
  },
4693
- ({ onFocus: A, onBlur: x }) => /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4700
+ ({ onFocus: A, onBlur: x }) => /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
4694
4701
  "div",
4695
4702
  {
4696
4703
  id: this.props.id,
@@ -4716,7 +4723,7 @@ const G = class extends o.Component {
4716
4723
  onBlur: x,
4717
4724
  onClick: this.mobileMode ? this.handleIconClick : void 0
4718
4725
  },
4719
- /* @__PURE__ */ o.createElement(
4726
+ /* @__PURE__ */ r.createElement(
4720
4727
  this.dateInputComp,
4721
4728
  {
4722
4729
  _ref: this._dateInput,
@@ -4725,7 +4732,7 @@ const G = class extends o.Component {
4725
4732
  ...g
4726
4733
  }
4727
4734
  ),
4728
- /* @__PURE__ */ o.createElement(
4735
+ /* @__PURE__ */ r.createElement(
4729
4736
  N,
4730
4737
  {
4731
4738
  tabIndex: -1,
@@ -4737,13 +4744,13 @@ const G = class extends o.Component {
4737
4744
  title: V,
4738
4745
  className: "k-input-button",
4739
4746
  rounded: null,
4740
- "aria-label": H
4747
+ "aria-label": B
4741
4748
  }
4742
4749
  ),
4743
4750
  !this.mobileMode && this.renderPopup()
4744
4751
  ), this.mobileMode && this.renderAdaptivePopup())
4745
4752
  );
4746
- return this.props.label ? /* @__PURE__ */ o.createElement(
4753
+ return this.props.label ? /* @__PURE__ */ r.createElement(
4747
4754
  cs,
4748
4755
  {
4749
4756
  dateInput: this._dateInput,
@@ -4757,7 +4764,7 @@ const G = class extends o.Component {
4757
4764
  ) : R;
4758
4765
  }
4759
4766
  normalizeTime(s) {
4760
- return W(L, s);
4767
+ return U(L, s);
4761
4768
  }
4762
4769
  setShow(s) {
4763
4770
  const { onOpen: t, onClose: e } = this.props;
@@ -4768,7 +4775,7 @@ const G = class extends o.Component {
4768
4775
  }));
4769
4776
  }
4770
4777
  mergeTime(s) {
4771
- return this.value && s ? W(this.value, s) : s;
4778
+ return this.value && s ? U(this.value, s) : s;
4772
4779
  }
4773
4780
  calculateMedia(s) {
4774
4781
  for (let t of s)
@@ -4857,15 +4864,15 @@ Qt.defaultProps = {
4857
4864
  steps: {},
4858
4865
  required: !1,
4859
4866
  validityStyles: !0,
4860
- dateInput: kt,
4867
+ dateInput: Dt,
4861
4868
  size: "medium",
4862
4869
  rounded: "medium",
4863
4870
  fillMode: "solid"
4864
4871
  };
4865
- const na = Dt(), aa = yt(St(na, Qt));
4872
+ const na = kt(), aa = yt(St(na, Qt));
4866
4873
  aa.displayName = "KendoReactTimePicker";
4867
4874
  at(Qt);
4868
- const Es = 2, is = class extends o.Component {
4875
+ const Es = 2, is = class extends r.Component {
4869
4876
  constructor(s) {
4870
4877
  super(s), this._element = null, this.isActive = !1, this.focusActiveDate = () => {
4871
4878
  if (!this._element)
@@ -4903,7 +4910,7 @@ const Es = 2, is = class extends o.Component {
4903
4910
  return this._element;
4904
4911
  }
4905
4912
  get weekNumber() {
4906
- return !!(this.props.showWeekNumbers && this.props.activeView === D.month);
4913
+ return !!(this.props.showWeekNumbers && this.props.activeView === y.month);
4907
4914
  }
4908
4915
  get min() {
4909
4916
  return this.props.min !== void 0 ? this.props.min : is.defaultProps.min;
@@ -4920,13 +4927,13 @@ const Es = 2, is = class extends o.Component {
4920
4927
  {
4921
4928
  "k-vstack": this.props.verticalView,
4922
4929
  "k-hstack": !this.props.verticalView,
4923
- "k-calendar-monthview": this.props.activeView === D.month,
4924
- "k-calendar-yearview": this.props.activeView === D.year,
4925
- "k-calendar-decadeview": this.props.activeView === D.decade,
4926
- "k-calendar-centuryview": this.props.activeView === D.century
4930
+ "k-calendar-monthview": this.props.activeView === y.month,
4931
+ "k-calendar-yearview": this.props.activeView === y.year,
4932
+ "k-calendar-decadeview": this.props.activeView === y.decade,
4933
+ "k-calendar-centuryview": this.props.activeView === y.century
4927
4934
  }
4928
4935
  );
4929
- return /* @__PURE__ */ o.createElement(
4936
+ return /* @__PURE__ */ r.createElement(
4930
4937
  "div",
4931
4938
  {
4932
4939
  ref: (e) => {
@@ -4934,7 +4941,7 @@ const Es = 2, is = class extends o.Component {
4934
4941
  },
4935
4942
  className: t
4936
4943
  },
4937
- this.props.dates.map((e) => /* @__PURE__ */ o.createElement("table", { className: "k-calendar-table k-content", key: e.getTime(), role: "grid" }, /* @__PURE__ */ o.createElement(
4944
+ this.props.dates.map((e) => /* @__PURE__ */ r.createElement("table", { className: "k-calendar-table k-content", key: e.getTime(), role: "grid" }, /* @__PURE__ */ r.createElement(
4938
4945
  jt,
4939
4946
  {
4940
4947
  bus: this.props.bus,
@@ -4959,8 +4966,8 @@ const Es = 2, is = class extends o.Component {
4959
4966
  );
4960
4967
  }
4961
4968
  };
4962
- let Bt = is;
4963
- Bt.defaultProps = {
4969
+ let At = is;
4970
+ At.defaultProps = {
4964
4971
  showWeekNumbers: !1,
4965
4972
  views: Es,
4966
4973
  take: Es,
@@ -4968,17 +4975,16 @@ Bt.defaultProps = {
4968
4975
  min: ut,
4969
4976
  max: dt
4970
4977
  };
4971
- const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof Date && !Array.isArray(e) && F(C(e), s, t) ? C(e) : null, Vs = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => Array.isArray(e) ? e.filter((i) => F(i, s, t)).map((i) => C(i)) : null, Os = (s) => typeof s == "object" && !(s instanceof Date) && s !== null && !Array.isArray(s) ? s : z, Ps = (s, t, e) => s || t && t[0] || e && e.start, ra = (s, t) => s.start === null && t === null ? "start" : s.end === null ? "end" : "start", Et = class extends o.Component {
4978
+ const Le = (s = rt.defaultProps.min, t = rt.defaultProps.max, e) => e instanceof Date && !Array.isArray(e) && F(C(e), s, t) ? C(e) : null, Vs = (s = rt.defaultProps.min, t = rt.defaultProps.max, e) => Array.isArray(e) ? e.filter((i) => F(i, s, t)).map((i) => C(i)) : null, Os = (s) => typeof s == "object" && !(s instanceof Date) && s !== null && !Array.isArray(s) ? s : q, Ps = (s, t, e) => s || t && t[0] || e && e.start, oa = (s, t) => s.start === null && t === null ? "start" : s.end === null ? "end" : "start", Et = class extends r.Component {
4972
4979
  constructor(s) {
4973
- super(s), this.dates = [], this.selectedDate = null, this.selectedMultiple = null, this.selectedRange = z, this._focusedDate = /* @__PURE__ */ new Date(), this.cellUID = this.props.id + "-cell-uid", this.activeRangeEnd = "start", this._element = null, this.intl = null, this.localization = null, this.service = null, this.calendarViewList = null, this.isActive = !1, this.calculateFocusFromValue = !0, this.focus = () => {
4980
+ super(s), this.dates = [], this.selectedDate = null, this.selectedMultiple = null, this.selectedRange = q, this._focusedDate = /* @__PURE__ */ new Date(), this.cellUID = this.props.id + "-cell-uid", this.activeRangeEnd = "start", this._element = null, this.intl = null, this.localization = null, this.service = null, this.calendarViewList = null, this.isActive = !1, this.calculateFocusFromValue = !0, this.focus = () => {
4974
4981
  this._element && this._element.focus();
4975
4982
  }, this.clampRange = (h) => ({ start: h, end: null }), this.rangeWithFocused = (h, u) => ({
4976
4983
  start: h.start,
4977
4984
  end: h.end === null && h.start !== null && this.isActive ? u : h.end
4978
4985
  }), this.generateRange = (h, u) => {
4979
- let { end: d, start: p } = u;
4980
- const m = u.start !== null && h.getTime() <= u.start.getTime();
4981
- return !this.props.allowReverse && m ? { start: h, end: this.selectedRange.start } : this.activeRange !== "end" ? { start: h, end: d } : { start: p || this.selectedDate, end: h };
4986
+ const { end: d, start: p } = u, f = u.start !== null && h.getTime() <= u.start.getTime();
4987
+ return !this.props.allowReverse && f ? { start: h, end: this.selectedRange.start } : this.activeRange !== "end" ? { start: h, end: d } : { start: p || this.selectedDate, end: h };
4982
4988
  }, this.canNavigate = (h) => {
4983
4989
  if (!this.service)
4984
4990
  return !1;
@@ -5024,17 +5030,21 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5024
5030
  }, this.handleNextButtonClick = () => {
5025
5031
  this.navigate(b.NextView, this.focusedDate);
5026
5032
  }, this.handleKeyDown = (h) => {
5027
- const { keyCode: u } = h;
5028
- if (u === y.enter) {
5029
- const d = {
5033
+ const { keyCode: d, ctrlKey: p, metaKey: f } = h;
5034
+ if (d === 84) {
5035
+ const m = H();
5036
+ this.calculateFocusFromValue = !1, this.setState({ focusedDate: m, navigateDate: m });
5037
+ }
5038
+ if ((p || f) && (d === k.left && this.handlePrevButtonClick(), d === k.right && this.handleNextButtonClick()), d === k.enter) {
5039
+ const m = {
5030
5040
  syntheticEvent: h,
5031
5041
  nativeEvent: h.nativeEvent,
5032
5042
  value: this.focusedDate,
5033
5043
  target: this
5034
5044
  };
5035
- this.handleDateChange(d);
5045
+ this.handleDateChange(m);
5036
5046
  } else {
5037
- const d = K(
5047
+ const m = K(
5038
5048
  this.navigation.move(
5039
5049
  this.focusedDate,
5040
5050
  this.navigation.action(h),
@@ -5045,9 +5055,9 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5045
5055
  this.min,
5046
5056
  this.max
5047
5057
  );
5048
- if (wt(this.focusedDate, d))
5058
+ if (wt(this.focusedDate, m))
5049
5059
  return;
5050
- this.dates && this.service && !this.service.isInArray(d, this.dates) && this.setState({ navigateDate: d }), this.calculateFocusFromValue = !1, this.setState({ focusedDate: d });
5060
+ this.dates && this.service && !this.service.isInArray(m, this.dates) && this.setState({ navigateDate: m }), this.calculateFocusFromValue = !1, this.setState({ focusedDate: m });
5051
5061
  }
5052
5062
  h.preventDefault();
5053
5063
  }, this.handleViewChange = ({ view: h }) => {
@@ -5060,7 +5070,7 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5060
5070
  if (h.isTodayClick)
5061
5071
  this.bus.moveToBottom(this.state.activeView);
5062
5072
  else {
5063
- this.bus.moveDown(this.state.activeView, h.syntheticEvent), this.setState({ focusedDate: u });
5073
+ this.bus.moveDown(this.state.activeView, h.syntheticEvent), this.setState({ focusedDate: u, navigateDate: u });
5064
5074
  return;
5065
5075
  }
5066
5076
  this.calculateFocusFromValue = !0;
@@ -5071,10 +5081,11 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5071
5081
  break;
5072
5082
  case "multiple":
5073
5083
  if (Array.isArray(this.selectedMultiple)) {
5074
- let f = this.selectedMultiple.slice(), S = -1;
5075
- f.forEach((I, M) => {
5084
+ const m = this.selectedMultiple.slice();
5085
+ let S = -1;
5086
+ m.forEach((I, M) => {
5076
5087
  wt(I, h.value) && (S = M);
5077
- }), S !== -1 ? f.splice(S, 1) : f.push(v(h.value)), p = f.slice();
5088
+ }), S !== -1 ? m.splice(S, 1) : m.push(v(h.value)), p = m.slice();
5078
5089
  } else
5079
5090
  this.selectedDate ? p = [v(this.selectedDate), v(h.value)] : p = [v(h.value)];
5080
5091
  break;
@@ -5087,24 +5098,24 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5087
5098
  break;
5088
5099
  }
5089
5100
  this.valueDuringOnChange = p, h.isTodayClick && this.setState({ navigateDate: u }), this.setState({ value: p, focusedDate: u }), this.valueDuringOnChange = p;
5090
- const { onChange: m } = this.props;
5091
- if (m) {
5092
- const f = {
5101
+ const { onChange: f } = this.props;
5102
+ if (f) {
5103
+ const m = {
5093
5104
  syntheticEvent: h.syntheticEvent,
5094
5105
  nativeEvent: h.nativeEvent,
5095
5106
  value: p,
5096
5107
  target: this
5097
5108
  };
5098
- m.call(void 0, f);
5109
+ f.call(void 0, m);
5099
5110
  }
5100
5111
  this.valueDuringOnChange = void 0;
5101
5112
  };
5102
- const t = s.value !== void 0 ? s.value : s.defaultValue || Et.defaultProps.defaultValue, e = Le(this.min, this.max, t), i = Vs(this.min, this.max, t), a = Os(t), r = Ps(e, i, a), l = ge(
5103
- D[s.defaultActiveView],
5113
+ const t = s.value !== void 0 ? s.value : s.defaultValue || Et.defaultProps.defaultValue, e = Le(this.min, this.max, t), i = Vs(this.min, this.max, t), a = Os(t), o = Ps(e, i, a), l = ge(
5114
+ y[s.defaultActiveView],
5104
5115
  this.bottomView,
5105
5116
  this.topView
5106
5117
  ), c = K(
5107
- s.focusedDate || r || U(),
5118
+ s.focusedDate || o || H(),
5108
5119
  this.min,
5109
5120
  this.max
5110
5121
  );
@@ -5113,7 +5124,7 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5113
5124
  activeView: l,
5114
5125
  focusedDate: c,
5115
5126
  navigateDate: c
5116
- }, this.activeRangeEnd = ra(a, e), this.bus = new zs(this.handleViewChange), this.navigation = new qs(this.bus), this.calculateFocusFromValue = !1, this.lastView = l, this.lastViewsCount = this.props.views || Bt.defaultProps.views;
5127
+ }, this.activeRangeEnd = oa(a, e), this.bus = new zs(this.handleViewChange), this.navigation = new qs(this.bus), this.calculateFocusFromValue = !1, this.lastView = l, this.lastViewsCount = this.props.views || At.defaultProps.views;
5117
5128
  }
5118
5129
  get wrapperID() {
5119
5130
  return this.props.id + "-wrapper-id";
@@ -5146,16 +5157,16 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5146
5157
  return C(this.props.max !== void 0 ? this.props.max : Et.defaultProps.max);
5147
5158
  }
5148
5159
  get bottomView() {
5149
- return D[this.props.bottomView !== void 0 ? this.props.bottomView : Et.defaultProps.bottomView];
5160
+ return y[this.props.bottomView !== void 0 ? this.props.bottomView : Et.defaultProps.bottomView];
5150
5161
  }
5151
5162
  get topView() {
5152
- return D[this.props.topView !== void 0 ? this.props.topView : Et.defaultProps.topView];
5163
+ return y[this.props.topView !== void 0 ? this.props.topView : Et.defaultProps.topView];
5153
5164
  }
5154
5165
  get activeRange() {
5155
5166
  return this.props.activeRangeEnd !== void 0 ? this.props.activeRangeEnd : this.activeRangeEnd;
5156
5167
  }
5157
5168
  get todayIsInRange() {
5158
- return F(U(), C(this.min), C(this.max));
5169
+ return F(H(), C(this.min), C(this.max));
5159
5170
  }
5160
5171
  /**
5161
5172
  * @hidden
@@ -5169,13 +5180,13 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5169
5180
  componentDidUpdate() {
5170
5181
  this.calendarViewList && (this.isActive ? this.calendarViewList.focusActiveDate : this.calendarViewList.blurActiveDate)();
5171
5182
  const s = Le(this.min, this.max, this.value);
5172
- this.calculateFocusFromValue = !!(this.selectedDate && s && this.selectedDate.getTime() && s.getTime()), this.lastView = this.state.activeView, this.lastViewsCount = this.props.views || Bt.defaultProps.views;
5183
+ this.calculateFocusFromValue = !!(this.selectedDate && s && this.selectedDate.getTime() && s.getTime()), this.lastView = this.state.activeView, this.lastViewsCount = this.props.views || At.defaultProps.views;
5173
5184
  }
5174
5185
  /**
5175
5186
  * @hidden
5176
5187
  */
5177
5188
  render() {
5178
- this.props._ref && this.props._ref(this), this.intl = ct(this), this.localization = q(this), this.bus.configure(this.bottomView, this.topView);
5189
+ this.props._ref && this.props._ref(this), this.intl = ct(this), this.localization = W(this), this.bus.configure(this.bottomView, this.topView);
5179
5190
  const s = ge(this.state.activeView, this.bottomView, this.topView);
5180
5191
  this.service = this.bus.service(s, this.intl), this.selectedDate = Le(this.min, this.max, this.value), this.selectedMultiple = Vs(this.min, this.max, this.value), this.selectedRange = Os(this.value);
5181
5192
  const t = Ps(this.selectedDate, this.selectedMultiple, this.selectedRange);
@@ -5190,13 +5201,13 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5190
5201
  "k-disabled": this.props.disabled
5191
5202
  },
5192
5203
  this.props.className
5193
- ), i = this.rangeWithFocused(this.selectedRange, this.focusedDate), a = this.localization.toLanguageString(Be, T[Be]), r = this.localization.toLanguageString(ze, T[ze]), l = !this.canNavigate(b.PrevView), c = !this.canNavigate(b.NextView), h = { "aria-disabled": l }, u = { "aria-disabled": c }, d = this.lastView !== s, p = this.dates && this.isInMonth(this.state.navigateDate, this.dates[0]), m = this.lastViewsCount !== this.props.views;
5194
- (!p || d || m) && (this.dates = this.service.datesList(
5204
+ ), i = this.rangeWithFocused(this.selectedRange, this.focusedDate), a = this.localization.toLanguageString(Ae, T[Ae]), o = this.localization.toLanguageString(ze, T[ze]), l = !this.canNavigate(b.PrevView), c = !this.canNavigate(b.NextView), h = { "aria-disabled": l }, u = { "aria-disabled": c }, d = this.lastView !== s, p = this.dates && this.isInMonth(this.state.navigateDate, this.dates[0]), f = this.lastViewsCount !== this.props.views;
5205
+ (!p || d || f) && (this.dates = this.service.datesList(
5195
5206
  this.state.navigateDate,
5196
- this.props.views || Bt.defaultProps.views
5207
+ this.props.views || At.defaultProps.views
5197
5208
  ));
5198
- const f = v(this.dates && this.dates[0] ? this.dates[0] : U());
5199
- return /* @__PURE__ */ o.createElement(
5209
+ const m = v(this.dates && this.dates[0] ? this.dates[0] : H());
5210
+ return /* @__PURE__ */ r.createElement(
5200
5211
  "div",
5201
5212
  {
5202
5213
  ref: (S) => {
@@ -5215,12 +5226,12 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5215
5226
  "aria-disabled": this.props.disabled,
5216
5227
  dir: this.props.dir
5217
5228
  },
5218
- /* @__PURE__ */ o.createElement(
5229
+ /* @__PURE__ */ r.createElement(
5219
5230
  Zt,
5220
5231
  {
5221
- key: `.kendo.calendar.header.${f.getTime()}`,
5232
+ key: `.kendo.calendar.header.${m.getTime()}`,
5222
5233
  activeView: s,
5223
- currentDate: f,
5234
+ currentDate: m,
5224
5235
  min: this.min,
5225
5236
  max: this.max,
5226
5237
  rangeLength: this.props.views,
@@ -5228,7 +5239,7 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5228
5239
  service: this.service,
5229
5240
  headerTitle: this.props.headerTitle,
5230
5241
  verticalView: this.props.mobileMode,
5231
- commands: /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
5242
+ commands: /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
5232
5243
  N,
5233
5244
  {
5234
5245
  type: "button",
@@ -5241,7 +5252,7 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5241
5252
  onClick: this.handlePrevButtonClick,
5242
5253
  ...h
5243
5254
  }
5244
- ), /* @__PURE__ */ o.createElement(
5255
+ ), /* @__PURE__ */ r.createElement(
5245
5256
  Gt,
5246
5257
  {
5247
5258
  min: this.min,
@@ -5249,7 +5260,7 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5249
5260
  onClick: this.handleTodayClick,
5250
5261
  disabled: !this.todayIsInRange
5251
5262
  }
5252
- ), /* @__PURE__ */ o.createElement(
5263
+ ), /* @__PURE__ */ r.createElement(
5253
5264
  N,
5254
5265
  {
5255
5266
  type: "button",
@@ -5257,7 +5268,7 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5257
5268
  icon: this.isRtl ? "chevron-left" : "chevron-right",
5258
5269
  svgIcon: this.isRtl ? ws : vs,
5259
5270
  fillMode: "flat",
5260
- title: r,
5271
+ title: o,
5261
5272
  disabled: c,
5262
5273
  onClick: this.handleNextButtonClick,
5263
5274
  ...u
@@ -5265,8 +5276,8 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5265
5276
  ))
5266
5277
  }
5267
5278
  ),
5268
- /* @__PURE__ */ o.createElement(
5269
- Bt,
5279
+ /* @__PURE__ */ r.createElement(
5280
+ At,
5270
5281
  {
5271
5282
  ref: (S) => {
5272
5283
  this.calendarViewList = S;
@@ -5301,20 +5312,20 @@ const Le = (s = ot.defaultProps.min, t = ot.defaultProps.max, e) => e instanceof
5301
5312
  return !!t && fe(t) <= s && s <= Ot(t);
5302
5313
  }
5303
5314
  };
5304
- let ot = Et;
5305
- ot.displayName = "MultiViewCalendar";
5306
- ot.propTypes = {
5315
+ let rt = Et;
5316
+ rt.displayName = "MultiViewCalendar";
5317
+ rt.propTypes = {
5307
5318
  activeRangeEnd: n.oneOf(["start", "end"]),
5308
5319
  allowReverse: n.bool,
5309
5320
  bottomView: n.oneOf(["month", "year", "decade", "century"]),
5310
5321
  className: n.string,
5311
5322
  defaultActiveView: n.oneOf(["month", "year", "decade", "century"]),
5312
5323
  defaultValue: n.oneOfType([
5313
- rt(n.instanceOf(Date)),
5324
+ ot(n.instanceOf(Date)),
5314
5325
  n.arrayOf(n.instanceOf(Date)),
5315
5326
  n.shape({
5316
- start: rt(n.instanceOf(Date)),
5317
- end: rt(n.instanceOf(Date))
5327
+ start: ot(n.instanceOf(Date)),
5328
+ end: ot(n.instanceOf(Date))
5318
5329
  })
5319
5330
  ]),
5320
5331
  disabled: n.bool,
@@ -5331,11 +5342,11 @@ ot.propTypes = {
5331
5342
  tabIndex: n.number,
5332
5343
  topView: n.oneOf(["month", "year", "decade", "century"]),
5333
5344
  value: n.oneOfType([
5334
- rt(n.instanceOf(Date)),
5345
+ ot(n.instanceOf(Date)),
5335
5346
  n.arrayOf(n.instanceOf(Date)),
5336
5347
  n.shape({
5337
- start: rt(n.instanceOf(Date).isRequired),
5338
- end: rt(n.instanceOf(Date).isRequired)
5348
+ start: ot(n.instanceOf(Date).isRequired),
5349
+ end: ot(n.instanceOf(Date).isRequired)
5339
5350
  })
5340
5351
  ]),
5341
5352
  views: (s, t, e) => {
@@ -5347,7 +5358,7 @@ ot.propTypes = {
5347
5358
  weekNumber: n.bool,
5348
5359
  dir: n.string
5349
5360
  };
5350
- ot.defaultProps = {
5361
+ rt.defaultProps = {
5351
5362
  disabled: !1,
5352
5363
  min: ut,
5353
5364
  max: dt,
@@ -5360,20 +5371,20 @@ ot.defaultProps = {
5360
5371
  views: 2,
5361
5372
  allowReverse: !1
5362
5373
  };
5363
- const oa = Dt(), Qs = yt(St(oa, ot));
5374
+ const ra = kt(), Qs = yt(St(ra, rt));
5364
5375
  Qs.displayName = "KendoReactMultiViewCalendar";
5365
- ft(ot);
5366
- at(ot);
5367
- const zt = class extends o.Component {
5376
+ ft(rt);
5377
+ at(rt);
5378
+ const zt = class extends r.Component {
5368
5379
  constructor(s) {
5369
- super(s), this._element = null, this._calendar = null, this._startDateInput = o.createRef(), this._endDateInput = o.createRef(), this.shouldFocusDateInput = !1, this.shouldFocusCalendar = !1, this.focus = () => {
5380
+ super(s), this._element = null, this._calendar = null, this._startDateInput = r.createRef(), this._endDateInput = r.createRef(), this.shouldFocusDateInput = !1, this.shouldFocusCalendar = !1, this.focus = () => {
5370
5381
  this.startDateInput && this.startDateInput.focus();
5371
5382
  }, this.setCalendarRef = (t) => {
5372
5383
  this._calendar = t;
5373
5384
  }, this.focusCalendarElement = () => {
5374
5385
  this._calendar && this._calendar.element && this._calendar.element.focus({ preventScroll: !0 });
5375
- }, this.calculateValue = (t, e) => (t.value !== void 0 ? t.value : e.value) || z, this.calculateShow = (t, e) => t.show !== void 0 ? t.show : e.show, this.renderCalendar = () => {
5376
- const t = this.value || z, e = {
5386
+ }, this.calculateValue = (t, e) => (t.value !== void 0 ? t.value : e.value) || q, this.calculateShow = (t, e) => t.show !== void 0 ? t.show : e.show, this.renderCalendar = () => {
5387
+ const t = this.value || q, e = {
5377
5388
  min: this.min,
5378
5389
  max: this.max,
5379
5390
  allowReverse: this.props.allowReverse,
@@ -5387,7 +5398,7 @@ const zt = class extends o.Component {
5387
5398
  dir: this.props.dir,
5388
5399
  onChange: this.handleCalendarChange
5389
5400
  };
5390
- return this.props.calendar ? /* @__PURE__ */ o.createElement(this.props.calendar, { ...e }) : /* @__PURE__ */ o.createElement(Qs, { ...e, ref: this.setCalendarRef });
5401
+ return this.props.calendar ? /* @__PURE__ */ r.createElement(this.props.calendar, { ...e }) : /* @__PURE__ */ r.createElement(Qs, { ...e, ref: this.setCalendarRef });
5391
5402
  }, this.renderPopup = () => {
5392
5403
  const t = {
5393
5404
  popupClass: "k-daterangepicker-popup",
@@ -5405,7 +5416,7 @@ const zt = class extends o.Component {
5405
5416
  ...this.props.popupSettings,
5406
5417
  show: this.show
5407
5418
  };
5408
- return this.props.popup ? /* @__PURE__ */ o.createElement(this.props.popup, { ...t }, this.renderCalendar()) : /* @__PURE__ */ o.createElement(be, { ...t }, this.renderCalendar());
5419
+ return this.props.popup ? /* @__PURE__ */ r.createElement(this.props.popup, { ...t }, this.renderCalendar()) : /* @__PURE__ */ r.createElement(be, { ...t }, this.renderCalendar());
5409
5420
  }, this.renderAdaptivePopup = () => {
5410
5421
  const { windowWidth: t = 0 } = this.state, e = {
5411
5422
  expand: this.show,
@@ -5419,7 +5430,7 @@ const zt = class extends o.Component {
5419
5430
  onApply: this.handleBlur
5420
5431
  }
5421
5432
  };
5422
- return /* @__PURE__ */ o.createElement(Se, { ...e }, /* @__PURE__ */ o.createElement(ke, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-scrollable-wrap" }, this.renderCalendar())));
5433
+ return /* @__PURE__ */ r.createElement(Se, { ...e }, /* @__PURE__ */ r.createElement(De, { className: "!k-overflow-hidden" }, /* @__PURE__ */ r.createElement("div", { className: "k-scrollable-wrap" }, this.renderCalendar())));
5423
5434
  }, this.handleReverseClick = (t) => {
5424
5435
  const e = {
5425
5436
  start: this.value.end,
@@ -5445,7 +5456,7 @@ const zt = class extends o.Component {
5445
5456
  e && e.call(void 0, t);
5446
5457
  }, this.handleCancel = (t) => {
5447
5458
  this.nextTick(() => {
5448
- this.setShow(!1), this.setState({ currentValue: z });
5459
+ this.setShow(!1), this.setState({ currentValue: q });
5449
5460
  });
5450
5461
  const { onCancel: e } = this.props;
5451
5462
  e && e.call(void 0, t);
@@ -5463,7 +5474,7 @@ const zt = class extends o.Component {
5463
5474
  this.handleChange(e, t);
5464
5475
  }, this.extractRangeFromValue = (t) => {
5465
5476
  if (!Array.isArray(t.value) && !(t.value instanceof Date))
5466
- return t.value || z;
5477
+ return t.value || q;
5467
5478
  const e = Array.isArray(t.value) ? t.value[0] : t.value;
5468
5479
  return {
5469
5480
  start: this.value.end !== null ? e : this.value.start,
@@ -5474,7 +5485,7 @@ const zt = class extends o.Component {
5474
5485
  this.handleChange(e, t);
5475
5486
  }, this.handleKeyDown = (t) => {
5476
5487
  const { keyCode: e, altKey: i } = t;
5477
- e === y.esc ? (t.preventDefault(), this.shouldFocusDateInput = !0, this.setShow(!1)) : i && e === y.down ? (t.preventDefault(), this.shouldFocusCalendar = !0, this.setShow(!0), this.focusCalendarElement()) : i && e === y.up && (t.preventDefault(), this.shouldFocusDateInput = !0, this.setShow(!1));
5488
+ e === k.esc ? (t.preventDefault(), this.shouldFocusDateInput = !0, this.setShow(!1)) : i && e === k.down ? (t.preventDefault(), this.shouldFocusCalendar = !0, this.setShow(!0), this.focusCalendarElement()) : i && e === k.up && (t.preventDefault(), this.shouldFocusDateInput = !0, this.setShow(!1));
5478
5489
  }, this.handleChange = (t, e) => {
5479
5490
  this.setState({ value: t }), this.valueDuringOnChange = t;
5480
5491
  const { onChange: i } = this.props;
@@ -5492,7 +5503,7 @@ const zt = class extends o.Component {
5492
5503
  }, Pt(Rt), this.state = {
5493
5504
  show: this.props.show || this.props.defaultShow || zt.defaultProps.defaultShow,
5494
5505
  value: this.props.value || this.props.defaultValue || zt.defaultProps.defaultValue,
5495
- currentValue: z
5506
+ currentValue: q
5496
5507
  }, this.nextTick = this.nextTick.bind(this), this.setShow = this.setShow.bind(this), this.focusCalendarElement = this.focusCalendarElement.bind(this), this.focusDateInputElement = this.focusDateInputElement.bind(this);
5497
5508
  }
5498
5509
  get _popupId() {
@@ -5532,7 +5543,7 @@ const zt = class extends o.Component {
5532
5543
  * Gets the value of the DateRangePicker.
5533
5544
  */
5534
5545
  get value() {
5535
- return (this.valueDuringOnChange !== void 0 ? this.valueDuringOnChange : this.props.value !== void 0 ? this.props.value : this.state.value) || z;
5546
+ return (this.valueDuringOnChange !== void 0 ? this.valueDuringOnChange : this.props.value !== void 0 ? this.props.value : this.state.value) || q;
5536
5547
  }
5537
5548
  /**
5538
5549
  * Gets the popup state of the DateRangePicker.
@@ -5551,7 +5562,7 @@ const zt = class extends o.Component {
5551
5562
  return this.element && this.element.ownerDocument || document;
5552
5563
  }
5553
5564
  get localizationService() {
5554
- return q(this);
5565
+ return W(this);
5555
5566
  }
5556
5567
  /**
5557
5568
  * The mobile mode of the DateRangePicker.
@@ -5583,15 +5594,15 @@ const zt = class extends o.Component {
5583
5594
  * @hidden
5584
5595
  */
5585
5596
  render() {
5586
- const s = this.value || z, t = this.mobileMode && this.show ? this.state.currentValue : s, e = (this.props.startDateInputSettings || {}).id || this._startInputId, i = (this.props.endDateInputSettings || {}).id || this._endInputId, a = P(
5597
+ const s = this.value || q, t = this.mobileMode && this.show ? this.state.currentValue : s, e = (this.props.startDateInputSettings || {}).id || this._startInputId, i = (this.props.endDateInputSettings || {}).id || this._endInputId, a = P(
5587
5598
  "k-daterangepicker",
5588
5599
  {
5589
5600
  "k-disabled": this.props.disabled
5590
5601
  },
5591
5602
  this.props.className
5592
- ), r = this.localizationService.toLanguageString(Ue, T[Ue]), l = this.localizationService.toLanguageString($e, T[$e]), c = this.localizationService.toLanguageString(Ye, T[Ye]), h = {
5603
+ ), o = this.localizationService.toLanguageString(Ue, T[Ue]), l = this.localizationService.toLanguageString($e, T[$e]), c = this.localizationService.toLanguageString(Ye, T[Ye]), h = {
5593
5604
  disableSelection: this.mobileMode && !0,
5594
- label: r,
5605
+ label: o,
5595
5606
  format: this.props.format,
5596
5607
  min: this.min,
5597
5608
  max: this.max,
@@ -5617,21 +5628,21 @@ const zt = class extends o.Component {
5617
5628
  ...this.props.endDateInputSettings,
5618
5629
  value: t.end,
5619
5630
  onChange: this.handleEndChange
5620
- }, d = /* @__PURE__ */ o.createElement(
5631
+ }, d = /* @__PURE__ */ r.createElement(
5621
5632
  N,
5622
5633
  {
5623
5634
  type: "button",
5624
5635
  className: "k-select",
5625
5636
  fillMode: "flat",
5626
- title: q(this).toLanguageString(Ht, T[Ht]),
5637
+ title: W(this).toLanguageString(Ht, T[Ht]),
5627
5638
  onMouseDown: this.handleReverseMouseDown,
5628
5639
  onClick: this.handleReverseClick,
5629
5640
  "aria-controls": e + " " + i,
5630
- "aria-label": q(this).toLanguageString(Ht, T[Ht])
5641
+ "aria-label": W(this).toLanguageString(Ht, T[Ht])
5631
5642
  },
5632
- /* @__PURE__ */ o.createElement(ei, { style: { transform: "rotate(90deg)" }, name: "arrows-swap", icon: hi })
5643
+ /* @__PURE__ */ r.createElement(ei, { style: { transform: "rotate(90deg)" }, name: "arrows-swap", icon: hi })
5633
5644
  );
5634
- return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
5645
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
5635
5646
  "span",
5636
5647
  {
5637
5648
  ref: (p) => {
@@ -5649,8 +5660,8 @@ const zt = class extends o.Component {
5649
5660
  onBlur: this.mobileMode ? void 0 : this.handleBlur,
5650
5661
  dir: this.props.dir
5651
5662
  },
5652
- this.props.startDateInput ? /* @__PURE__ */ o.createElement(this.props.startDateInput, { ...h }) : /* @__PURE__ */ o.createElement(
5653
- kt,
5663
+ this.props.startDateInput ? /* @__PURE__ */ r.createElement(this.props.startDateInput, { ...h }) : /* @__PURE__ */ r.createElement(
5664
+ Dt,
5654
5665
  {
5655
5666
  ...h,
5656
5667
  ref: this._startDateInput,
@@ -5660,8 +5671,8 @@ const zt = class extends o.Component {
5660
5671
  }
5661
5672
  ),
5662
5673
  (this.props.allowReverse || this.props.calendarSettings && this.props.calendarSettings.allowReverse) && this.props.swapButton ? d : c,
5663
- this.props.endDateInput ? /* @__PURE__ */ o.createElement(this.props.endDateInput, { ...u }) : /* @__PURE__ */ o.createElement(
5664
- kt,
5674
+ this.props.endDateInput ? /* @__PURE__ */ r.createElement(this.props.endDateInput, { ...u }) : /* @__PURE__ */ r.createElement(
5675
+ Dt,
5665
5676
  {
5666
5677
  ...u,
5667
5678
  ref: this._endDateInput,
@@ -5703,8 +5714,8 @@ te.propTypes = {
5703
5714
  className: n.string,
5704
5715
  defaultShow: n.bool,
5705
5716
  defaultValue: n.shape({
5706
- start: rt(n.instanceOf(Date).isRequired),
5707
- end: rt(n.instanceOf(Date).isRequired)
5717
+ start: ot(n.instanceOf(Date).isRequired),
5718
+ end: ot(n.instanceOf(Date).isRequired)
5708
5719
  }),
5709
5720
  disabled: n.bool,
5710
5721
  endDateInputSettings: n.shape(Ct.propTypes),
@@ -5745,26 +5756,26 @@ te.propTypes = {
5745
5756
  tabIndex: n.number,
5746
5757
  dir: n.string,
5747
5758
  value: n.shape({
5748
- start: rt(n.instanceOf(Date).isRequired),
5749
- end: rt(n.instanceOf(Date).isRequired)
5759
+ start: ot(n.instanceOf(Date).isRequired),
5760
+ end: ot(n.instanceOf(Date).isRequired)
5750
5761
  })
5751
5762
  };
5752
5763
  te.defaultProps = {
5753
5764
  allowReverse: !1,
5754
5765
  defaultShow: !1,
5755
- defaultValue: z,
5766
+ defaultValue: q,
5756
5767
  disabled: !1,
5757
5768
  format: "d",
5758
5769
  max: dt,
5759
5770
  min: ut,
5760
5771
  swapButton: !1
5761
5772
  };
5762
- const la = Dt(), ha = yt(St(la, te));
5773
+ const la = kt(), ha = yt(St(la, te));
5763
5774
  ha.displayName = "KendoReactDateRangePicker";
5764
5775
  at(te);
5765
- class ms extends o.Component {
5776
+ class ms extends r.Component {
5766
5777
  constructor(t) {
5767
- super(t), this._calendar = null, this._timePart = null, this._cancelButton = null, this._acceptButton = null, this._calendarWrap = null, this.shouldFocusPart = !1, this.focus = (e) => {
5778
+ super(t), this._calendar = null, this._timePart = null, this._cancelButton = null, this._acceptButton = null, this._dateButtonRef = null, this._calendarWrap = null, this.shouldFocusPart = !1, this.focus = (e) => {
5768
5779
  Promise.resolve().then(() => {
5769
5780
  this.state.tab === "time" && this._timePart && this._timePart.focus(e);
5770
5781
  const i = this.calendarElement();
@@ -5777,30 +5788,32 @@ class ms extends o.Component {
5777
5788
  this.shouldFocusPart = !0, this.setState({ tab: i });
5778
5789
  }, this.dateTimeFooter = () => {
5779
5790
  const { cancelButton: e } = this.props, i = this.localizationService.toLanguageString($t, T[$t]), a = this.localizationService.toLanguageString(Yt, T[Yt]);
5780
- return /* @__PURE__ */ o.createElement("div", { className: "k-datetime-footer k-actions k-actions-stretched " }, e && /* @__PURE__ */ o.createElement(
5791
+ return /* @__PURE__ */ r.createElement("div", { className: "k-datetime-footer k-actions k-actions-stretched" }, e && /* @__PURE__ */ r.createElement(
5781
5792
  N,
5782
5793
  {
5783
5794
  type: "button",
5784
- ref: (r) => {
5785
- this._cancelButton = r;
5795
+ ref: (o) => {
5796
+ this._cancelButton = o;
5786
5797
  },
5787
5798
  className: "k-time-cancel",
5788
5799
  onClick: this.handleReject,
5800
+ onKeyDown: this.handleCancelKeyDown,
5789
5801
  title: i,
5790
5802
  "aria-label": i
5791
5803
  },
5792
5804
  i
5793
- ), /* @__PURE__ */ o.createElement(
5805
+ ), /* @__PURE__ */ r.createElement(
5794
5806
  N,
5795
5807
  {
5796
5808
  type: "button",
5797
5809
  themeColor: "primary",
5798
- ref: (r) => {
5799
- this._acceptButton = r;
5810
+ ref: (o) => {
5811
+ this._acceptButton = o;
5800
5812
  },
5801
5813
  className: "k-time-accept",
5802
5814
  disabled: !this.hasDateValue,
5803
5815
  onClick: this.handleAccept,
5816
+ onKeyDown: this.handleSetKeyDown,
5804
5817
  title: a,
5805
5818
  "aria-label": a
5806
5819
  },
@@ -5840,23 +5853,37 @@ class ms extends o.Component {
5840
5853
  e.stopPropagation(), this.move("right");
5841
5854
  }, this.handleKeyDown = (e) => {
5842
5855
  const { keyCode: i, altKey: a } = e;
5843
- switch (i) {
5844
- case y.enter:
5845
- !this.hasActiveButton() && this.hasDateValue && this.handleAccept(e);
5846
- return;
5847
- case y.left:
5848
- if (!a)
5856
+ if (!this.props.disabled)
5857
+ switch (i) {
5858
+ case k.enter:
5859
+ !this.hasActiveButton() && this.hasDateValue && this.handleAccept(e);
5849
5860
  return;
5850
- this.move("left");
5851
- return;
5852
- case y.right:
5853
- if (!a)
5861
+ case k.left:
5862
+ if (!a)
5863
+ return;
5864
+ this.move("left");
5854
5865
  return;
5855
- this.move("right");
5856
- return;
5857
- default:
5858
- return;
5859
- }
5866
+ case k.right:
5867
+ if (!a)
5868
+ return;
5869
+ this.move("right");
5870
+ return;
5871
+ default:
5872
+ return;
5873
+ }
5874
+ }, this.handleCancelKeyDown = (e) => {
5875
+ const { keyCode: i } = e;
5876
+ i === k.tab && this._dateButtonRef && this._dateButtonRef.element && !this.hasDateValue && (e.preventDefault(), this._dateButtonRef.element.focus());
5877
+ }, this.handleSetKeyDown = (e) => {
5878
+ const { keyCode: i } = e;
5879
+ i === k.tab && this._dateButtonRef && this._dateButtonRef.element && (e.preventDefault(), this._dateButtonRef.element.focus());
5880
+ }, this.handleDateKeyDown = (e) => {
5881
+ var o, l, c, h;
5882
+ const { keyCode: i, shiftKey: a } = e;
5883
+ a && i === k.tab && (e.stopPropagation(), this.hasDateValue ? (h = (c = this._acceptButton) == null ? void 0 : c.element) == null || h.focus() : (l = (o = this._cancelButton) == null ? void 0 : o.element) == null || l.focus()), i === k.enter && (e.stopPropagation(), this.move("left"));
5884
+ }, this.handleTimeKeyDown = (e) => {
5885
+ const { keyCode: i } = e;
5886
+ i === k.enter && (e.stopPropagation(), this.move("right"));
5860
5887
  }, this.handleTimePartMount = (e) => {
5861
5888
  this.setState({ timeValue: e });
5862
5889
  }, this.state = {
@@ -5875,10 +5902,14 @@ class ms extends o.Component {
5875
5902
  return this.state.dateValue !== null;
5876
5903
  }
5877
5904
  get localizationService() {
5878
- return q(this);
5905
+ return W(this);
5879
5906
  }
5880
- componentDidUpdate() {
5881
- this.shouldFocusPart && this.focus({ preventScroll: !0 }), this.shouldFocusPart = !1;
5907
+ componentDidUpdate(t, e) {
5908
+ var i, a;
5909
+ this.shouldFocusPart && this.focus({ preventScroll: !0 }), (((i = t.value) == null ? void 0 : i.getTime()) !== ((a = this.props.value) == null ? void 0 : a.getTime()) || this.state.tab !== e.tab && this.props.value) && this.setState({
5910
+ dateValue: this.props.value,
5911
+ timeValue: this.props.value || L
5912
+ }), this.shouldFocusPart = !1;
5882
5913
  }
5883
5914
  render() {
5884
5915
  const {
@@ -5886,7 +5917,7 @@ class ms extends o.Component {
5886
5917
  min: e,
5887
5918
  max: i,
5888
5919
  weekNumber: a,
5889
- focusedDate: r,
5920
+ focusedDate: o,
5890
5921
  format: l,
5891
5922
  mobileMode: c,
5892
5923
  footerActions: h
@@ -5897,59 +5928,64 @@ class ms extends o.Component {
5897
5928
  "k-disabled": t
5898
5929
  },
5899
5930
  "k-datetime-wrap"
5900
- ), d = this.localizationService.toLanguageString(Ge, T[Ge]), p = this.localizationService.toLanguageString(Xe, T[Xe]), m = {
5931
+ ), d = this.localizationService.toLanguageString(Ge, T[Ge]), p = this.localizationService.toLanguageString(Xe, T[Xe]), f = {
5901
5932
  min: e,
5902
5933
  max: i,
5903
5934
  weekNumber: a,
5904
- focusedDate: r,
5935
+ focusedDate: o,
5905
5936
  disabled: t || this.state.tab !== "date",
5906
5937
  value: this.state.dateValue,
5907
5938
  onChange: this.handleCalendarValueChange,
5908
5939
  navigation: !1,
5940
+ tabIndex: t || this.state.tab !== "date" ? -1 : void 0,
5909
5941
  mobileMode: c
5910
5942
  };
5911
- return /* @__PURE__ */ o.createElement(
5943
+ return /* @__PURE__ */ r.createElement(
5912
5944
  "div",
5913
5945
  {
5914
5946
  onKeyDown: this.handleKeyDown,
5915
5947
  className: u,
5916
5948
  tabIndex: -1
5917
5949
  },
5918
- /* @__PURE__ */ o.createElement("div", { className: "k-datetime-buttongroup" }, /* @__PURE__ */ o.createElement(ni, { width: "100%" }, /* @__PURE__ */ o.createElement(
5950
+ /* @__PURE__ */ r.createElement("div", { className: "k-datetime-buttongroup" }, /* @__PURE__ */ r.createElement(ni, { width: "100%" }, /* @__PURE__ */ r.createElement(
5919
5951
  N,
5920
5952
  {
5953
+ ref: (m) => this._dateButtonRef = m,
5921
5954
  type: "button",
5922
5955
  selected: this.state.tab === "date",
5923
5956
  togglable: !0,
5924
- onClick: this.handleDateClick
5957
+ onClick: this.handleDateClick,
5958
+ onKeyDown: this.handleDateKeyDown
5925
5959
  },
5926
5960
  d
5927
- ), /* @__PURE__ */ o.createElement(
5961
+ ), /* @__PURE__ */ r.createElement(
5928
5962
  N,
5929
5963
  {
5930
5964
  type: "button",
5931
5965
  selected: this.state.tab === "time",
5932
5966
  togglable: !0,
5933
- onClick: this.handleTimeClick
5967
+ onClick: this.handleTimeClick,
5968
+ onKeyDown: this.handleTimeKeyDown
5934
5969
  },
5935
5970
  p
5936
5971
  ))),
5937
- /* @__PURE__ */ o.createElement("div", { className: "k-datetime-selector" }, /* @__PURE__ */ o.createElement("div", { className: "k-datetime-calendar-wrap", ref: (f) => this._calendarWrap = f }, this.props.calendar ? /* @__PURE__ */ o.createElement(this.props.calendar, { ...m }) : /* @__PURE__ */ o.createElement(
5972
+ /* @__PURE__ */ r.createElement("div", { className: "k-datetime-selector" }, /* @__PURE__ */ r.createElement("div", { className: "k-datetime-calendar-wrap", ref: (m) => this._calendarWrap = m }, this.props.calendar ? /* @__PURE__ */ r.createElement(this.props.calendar, { key: this.state.tab, ...f }) : /* @__PURE__ */ r.createElement(
5938
5973
  as,
5939
5974
  {
5940
- ref: (f) => {
5941
- this._calendar = f;
5975
+ key: this.state.tab,
5976
+ ref: (m) => {
5977
+ this._calendar = m;
5942
5978
  },
5943
- ...m
5979
+ ...f
5944
5980
  }
5945
- )), /* @__PURE__ */ o.createElement("div", { className: "k-datetime-time-wrap" }, /* @__PURE__ */ o.createElement("div", { className: c ? "k-reset k-timeselector-lg k-timeselector" : "" }, /* @__PURE__ */ o.createElement(
5981
+ )), /* @__PURE__ */ r.createElement("div", { className: "k-datetime-time-wrap" }, /* @__PURE__ */ r.createElement("div", { className: c ? "k-reset k-timeselector-lg k-timeselector" : "" }, /* @__PURE__ */ r.createElement(
5946
5982
  _t,
5947
5983
  {
5948
5984
  key: 1,
5949
5985
  onNowClick: this.handleNowClick,
5950
5986
  disabled: t || this.state.tab !== "time",
5951
- ref: (f) => {
5952
- this._timePart = f;
5987
+ ref: (m) => {
5988
+ this._timePart = m;
5953
5989
  },
5954
5990
  min: this.minTime || Nt,
5955
5991
  max: this.maxTime || xt,
@@ -5971,7 +6007,7 @@ class ms extends o.Component {
5971
6007
  return this.props.maxTime !== void 0 ? this.props.maxTime : this.normalizeRange(this.props.max, this.state.dateValue);
5972
6008
  }
5973
6009
  normalizeRange(t, e) {
5974
- return wt(t, e || U()) ? t : null;
6010
+ return wt(t, e || H()) ? t : null;
5975
6011
  }
5976
6012
  hasActiveButton() {
5977
6013
  if (!this._acceptButton)
@@ -5980,19 +6016,19 @@ class ms extends o.Component {
5980
6016
  return this._acceptButton && t === this._acceptButton.element || this._cancelButton && t === this._cancelButton.element;
5981
6017
  }
5982
6018
  mergeTime(t, e) {
5983
- return t && e ? W(e, t) : e;
6019
+ return t && e ? U(e, t) : e;
5984
6020
  }
5985
6021
  mergeDate(t, e) {
5986
- return t ? W(t || U(), e) : e;
6022
+ return t ? U(t || H(), e) : e;
5987
6023
  }
5988
6024
  }
5989
6025
  ms.defaultProps = {
5990
6026
  footerActions: !0
5991
6027
  };
5992
6028
  at(ms);
5993
- const et = class extends o.Component {
6029
+ const et = class extends r.Component {
5994
6030
  constructor(s) {
5995
- super(s), this._element = null, this._dateInput = o.createRef(), this._dateTimeSelector = null, this.shouldFocusDateInput = !1, this.prevShow = !1, this.focus = () => {
6031
+ super(s), this._element = null, this._dateInput = r.createRef(), this._dateTimeSelector = null, this.shouldFocusDateInput = !1, this.prevShow = !1, this.focus = () => {
5996
6032
  const t = this.dateInputElement();
5997
6033
  t && t.focus();
5998
6034
  }, this.renderPicker = () => {
@@ -6001,12 +6037,12 @@ const et = class extends o.Component {
6001
6037
  minTime: e,
6002
6038
  maxTime: i,
6003
6039
  format: a,
6004
- calendar: r,
6040
+ calendar: o,
6005
6041
  cancelButton: l,
6006
6042
  weekNumber: c,
6007
6043
  focusedDate: h
6008
6044
  } = this.props;
6009
- return /* @__PURE__ */ o.createElement(
6045
+ return /* @__PURE__ */ r.createElement(
6010
6046
  ms,
6011
6047
  {
6012
6048
  ref: (u) => {
@@ -6025,31 +6061,31 @@ const et = class extends o.Component {
6025
6061
  maxTime: i,
6026
6062
  focusedDate: h,
6027
6063
  format: a,
6028
- calendar: r,
6064
+ calendar: o,
6029
6065
  mobileMode: this.mobileMode,
6030
6066
  footerActions: !this.mobileMode
6031
6067
  }
6032
6068
  );
6033
6069
  }, this.renderAdaptivePopup = () => {
6034
- const { windowWidth: t = 0 } = this.state, e = q(this).toLanguageString($t, T[$t]), i = q(this).toLanguageString(Yt, T[Yt]), a = {
6070
+ const { windowWidth: t = 0 } = this.state, e = W(this).toLanguageString($t, T[$t]), i = W(this).toLanguageString(Yt, T[Yt]), a = {
6035
6071
  expand: this.show,
6036
6072
  onClose: this.handleBlur,
6037
6073
  adaptiveTitle: this.props.adaptiveTitle,
6038
6074
  windowWidth: t,
6039
6075
  footer: {
6040
6076
  cancelText: e,
6041
- onCancel: (r) => {
6077
+ onCancel: (o) => {
6042
6078
  var l;
6043
- return (l = this._dateTimeSelector) == null ? void 0 : l.handleReject(r);
6079
+ return (l = this._dateTimeSelector) == null ? void 0 : l.handleReject(o);
6044
6080
  },
6045
6081
  applyText: i,
6046
- onApply: (r) => {
6082
+ onApply: (o) => {
6047
6083
  var l;
6048
- return (l = this._dateTimeSelector) == null ? void 0 : l.handleAccept(r);
6084
+ return (l = this._dateTimeSelector) == null ? void 0 : l.handleAccept(o);
6049
6085
  }
6050
6086
  }
6051
6087
  };
6052
- return /* @__PURE__ */ o.createElement(Se, { ...a }, /* @__PURE__ */ o.createElement(ke, { className: "!k-overflow-hidden" }, this.renderPicker()));
6088
+ return /* @__PURE__ */ r.createElement(Se, { ...a }, /* @__PURE__ */ r.createElement(De, { className: "!k-overflow-hidden" }, this.renderPicker()));
6053
6089
  }, this.handleReject = () => {
6054
6090
  this.shouldFocusDateInput = !0, this.setShow(!1);
6055
6091
  }, this.handleValueChange = (t) => {
@@ -6074,11 +6110,11 @@ const et = class extends o.Component {
6074
6110
  t.preventDefault();
6075
6111
  }, this.handleKeyDown = (t) => {
6076
6112
  const { altKey: e, keyCode: i } = t;
6077
- if (i === y.esc) {
6113
+ if (i === k.esc) {
6078
6114
  this.shouldFocusDateInput = !0, this.setShow(!1);
6079
6115
  return;
6080
6116
  }
6081
- e && (i === y.up || i === y.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = i === y.up, this.setShow(i === y.down));
6117
+ e && (i === k.up || i === k.down) && (t.preventDefault(), t.stopPropagation(), this.shouldFocusDateInput = i === k.up, this.setShow(i === k.down));
6082
6118
  }, this.dateInputElement = () => this.dateInput && this.dateInput.element || this.element && this.element.querySelector(".k-dateinput > input.k-input-inner"), Pt(Rt), this.state = {
6083
6119
  value: this.props.defaultValue || et.defaultProps.defaultValue,
6084
6120
  show: this.props.defaultShow || et.defaultProps.defaultShow,
@@ -6197,31 +6233,31 @@ const et = class extends o.Component {
6197
6233
  fillMode: e = et.defaultProps.fillMode,
6198
6234
  disabled: i,
6199
6235
  tabIndex: a,
6200
- title: r,
6236
+ title: o,
6201
6237
  id: l,
6202
6238
  format: c,
6203
6239
  formatPlaceholder: h,
6204
6240
  min: u,
6205
6241
  max: d,
6206
6242
  className: p,
6207
- width: m,
6208
- name: f,
6243
+ width: f,
6244
+ name: m,
6209
6245
  validationMessage: S,
6210
6246
  required: I,
6211
6247
  validityStyles: M,
6212
6248
  minTime: w,
6213
6249
  maxTime: E,
6214
6250
  ariaLabelledBy: g,
6215
- ariaDescribedBy: H,
6251
+ ariaDescribedBy: B,
6216
6252
  popup: V = be
6217
6253
  } = this.props, R = !this.validityStyles || this.validity.valid, A = {
6218
6254
  id: l,
6219
6255
  ariaLabelledBy: g,
6220
- ariaDescribedBy: H,
6256
+ ariaDescribedBy: B,
6221
6257
  format: c,
6222
6258
  formatPlaceholder: h,
6223
6259
  disabled: i,
6224
- title: r,
6260
+ title: o,
6225
6261
  validityStyles: M,
6226
6262
  validationMessage: S,
6227
6263
  required: I,
@@ -6229,7 +6265,7 @@ const et = class extends o.Component {
6229
6265
  max: d,
6230
6266
  minTime: w,
6231
6267
  maxTime: E,
6232
- name: f,
6268
+ name: m,
6233
6269
  tabIndex: this.show ? -1 : a,
6234
6270
  valid: this.validity.valid,
6235
6271
  value: this.value,
@@ -6241,7 +6277,7 @@ const et = class extends o.Component {
6241
6277
  size: null,
6242
6278
  fillMode: null,
6243
6279
  rounded: null
6244
- }, x = /* @__PURE__ */ o.createElement(
6280
+ }, x = /* @__PURE__ */ r.createElement(
6245
6281
  we,
6246
6282
  {
6247
6283
  onFocus: this.handleFocus,
@@ -6249,7 +6285,7 @@ const et = class extends o.Component {
6249
6285
  onSyncFocus: this.props.onFocus,
6250
6286
  onSyncBlur: this.props.onBlur
6251
6287
  },
6252
- ({ onFocus: O, onBlur: tt }) => /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
6288
+ ({ onFocus: O, onBlur: tt }) => /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
6253
6289
  "div",
6254
6290
  {
6255
6291
  ref: (j) => {
@@ -6262,19 +6298,19 @@ const et = class extends o.Component {
6262
6298
  [`k-input-${mt.sizeMap[s] || s}`]: s,
6263
6299
  [`k-rounded-${mt.roundedMap[t] || t}`]: t,
6264
6300
  [`k-input-${e}`]: e,
6265
- ["k-invalid"]: !R,
6266
- ["k-required"]: this.required,
6267
- ["k-disabled"]: this.props.disabled
6301
+ "k-invalid": !R,
6302
+ "k-required": this.required,
6303
+ "k-disabled": this.props.disabled
6268
6304
  },
6269
6305
  p
6270
6306
  ),
6271
6307
  onKeyDown: this.handleKeyDown,
6272
- style: { width: m },
6308
+ style: { width: f },
6273
6309
  onFocus: this.mobileMode ? void 0 : O,
6274
6310
  onBlur: tt,
6275
6311
  onClick: this.mobileMode ? this.handleDateIconClick : void 0
6276
6312
  },
6277
- /* @__PURE__ */ o.createElement(
6313
+ /* @__PURE__ */ r.createElement(
6278
6314
  this.dateInputComp,
6279
6315
  {
6280
6316
  _ref: this._dateInput,
@@ -6284,7 +6320,7 @@ const et = class extends o.Component {
6284
6320
  ...A
6285
6321
  }
6286
6322
  ),
6287
- /* @__PURE__ */ o.createElement(
6323
+ /* @__PURE__ */ r.createElement(
6288
6324
  N,
6289
6325
  {
6290
6326
  tabIndex: -1,
@@ -6293,13 +6329,13 @@ const et = class extends o.Component {
6293
6329
  svgIcon: Fs,
6294
6330
  onMouseDown: this.handleIconMouseDown,
6295
6331
  onClick: this.mobileMode ? void 0 : this.handleDateIconClick,
6296
- title: q(this).toLanguageString(At, T[At]),
6332
+ title: W(this).toLanguageString(Bt, T[Bt]),
6297
6333
  className: "k-input-button",
6298
6334
  rounded: null,
6299
- "aria-label": q(this).toLanguageString(At, T[At])
6335
+ "aria-label": W(this).toLanguageString(Bt, T[Bt])
6300
6336
  }
6301
6337
  ),
6302
- /* @__PURE__ */ o.createElement(
6338
+ /* @__PURE__ */ r.createElement(
6303
6339
  V,
6304
6340
  {
6305
6341
  show: this.show,
@@ -6320,7 +6356,7 @@ const et = class extends o.Component {
6320
6356
  )
6321
6357
  ), this.mobileMode && this.renderAdaptivePopup())
6322
6358
  );
6323
- return this.props.label ? /* @__PURE__ */ o.createElement(
6359
+ return this.props.label ? /* @__PURE__ */ r.createElement(
6324
6360
  cs,
6325
6361
  {
6326
6362
  dateInput: this._dateInput,
@@ -6345,7 +6381,7 @@ const et = class extends o.Component {
6345
6381
  clearTimeout(this.nextTickId), this.nextTickId = window.setTimeout(() => s());
6346
6382
  }
6347
6383
  calculateMedia(s) {
6348
- for (let t of s)
6384
+ for (const t of s)
6349
6385
  this.setState({ windowWidth: t.target.clientWidth });
6350
6386
  }
6351
6387
  };
@@ -6428,12 +6464,12 @@ ee.defaultProps = {
6428
6464
  required: !1,
6429
6465
  validityStyles: !0,
6430
6466
  cancelButton: !0,
6431
- dateInput: kt,
6467
+ dateInput: Dt,
6432
6468
  size: "medium",
6433
6469
  rounded: "medium",
6434
6470
  fillMode: "solid"
6435
6471
  };
6436
- const ca = Dt(), ua = yt(St(ca, ee));
6472
+ const ca = kt(), ua = yt(St(ca, ee));
6437
6473
  ua.displayName = "KendoReactDateTimePicker";
6438
6474
  at(ee);
6439
6475
  export {
@@ -6444,12 +6480,12 @@ export {
6444
6480
  tn as CalendarHeaderTitle,
6445
6481
  sn as CalendarNavigationItem,
6446
6482
  an as CalendarPropsContext,
6447
- D as CalendarViewEnum,
6483
+ y as CalendarViewEnum,
6448
6484
  xi as CalendarWeekCell,
6449
6485
  bt as CalendarWithoutContext,
6450
6486
  Ei as CenturyViewService,
6451
6487
  ji as DOMService,
6452
- kt as DateInput,
6488
+ Dt as DateInput,
6453
6489
  Tn as DateInputPropsContext,
6454
6490
  Ct as DateInputWithoutContext,
6455
6491
  Rn as DatePicker,
@@ -6463,19 +6499,19 @@ export {
6463
6499
  ee as DateTimePickerWithoutContext,
6464
6500
  Ln as DayPeriodService,
6465
6501
  Ri as DecadeViewService,
6466
- z as EMPTY_SELECTIONRANGE,
6502
+ q as EMPTY_SELECTIONRANGE,
6467
6503
  Zt as Header,
6468
- Bt as HorizontalViewList,
6504
+ At as HorizontalViewList,
6469
6505
  Wn as HoursService,
6470
6506
  dt as MAX_DATE,
6471
6507
  xt as MAX_TIME,
6472
6508
  ut as MIN_DATE,
6473
6509
  Nt as MIN_TIME,
6474
6510
  jn as MinutesService,
6475
- Ai as MonthViewService,
6511
+ Bi as MonthViewService,
6476
6512
  Qs as MultiViewCalendar,
6477
- oa as MultiViewCalendarPropsContext,
6478
- ot as MultiViewCalendarWithoutContext,
6513
+ ra as MultiViewCalendarPropsContext,
6514
+ rt as MultiViewCalendarWithoutContext,
6479
6515
  qs as NavigationService,
6480
6516
  Vn as PickerWrap,
6481
6517
  Ji as ScrollSyncService,
@@ -6496,12 +6532,12 @@ export {
6496
6532
  Lt as decreaseValue,
6497
6533
  $e as end,
6498
6534
  Vt as getNow,
6499
- U as getToday,
6535
+ H as getToday,
6500
6536
  Ft as increaseValue,
6501
6537
  Ye as separator,
6502
6538
  Ue as start,
6503
6539
  Ht as swapStartEnd,
6504
6540
  qe as today,
6505
6541
  We as toggleCalendar,
6506
- At as toggleDateTimeSelector
6542
+ Bt as toggleDateTimeSelector
6507
6543
  };