@progress/kendo-react-dateinputs 7.0.3-develop.4 → 7.0.3-develop.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/NOTICE.txt +1 -1
- package/PopupSettings.d.ts +1 -1
- package/README.md +1 -1
- package/calendar/components/Calendar.d.ts +1 -1
- package/calendar/components/CalendarCell.d.ts +1 -1
- package/calendar/components/CalendarHeaderTitle.d.ts +1 -1
- package/calendar/components/CalendarNavigationItem.d.ts +1 -1
- package/calendar/components/CalendarWeekCell.d.ts +1 -1
- package/calendar/components/Header.d.ts +1 -1
- package/calendar/components/HorizontalViewList.d.ts +1 -1
- package/calendar/components/MultiViewCalendar.d.ts +1 -1
- package/calendar/components/Navigation.d.ts +1 -1
- package/calendar/components/TodayCommand.d.ts +1 -1
- package/calendar/components/View.d.ts +1 -1
- package/calendar/components/ViewList.d.ts +1 -1
- package/calendar/models/ActiveView.d.ts +1 -1
- package/calendar/models/CalendarSettings.d.ts +1 -1
- package/calendar/models/CalendarViewEnum.d.ts +1 -1
- package/calendar/models/CellContext.d.ts +1 -1
- package/calendar/models/MultiViewCalendarMode.d.ts +1 -1
- package/calendar/models/MultiViewCalendarSettings.d.ts +1 -1
- package/calendar/models/NavigationAction.d.ts +1 -1
- package/calendar/models/SelectionRange.d.ts +1 -1
- package/calendar/models/SelectionRangeEnd.d.ts +1 -1
- package/calendar/models/ViewService.d.ts +1 -1
- package/calendar/models/index.d.ts +1 -1
- package/calendar/services/BusViewService.d.ts +1 -1
- package/calendar/services/CenturyViewService.d.ts +1 -1
- package/calendar/services/DOMService.d.ts +1 -1
- package/calendar/services/DecadeViewService.d.ts +1 -1
- package/calendar/services/MonthViewService.d.ts +1 -1
- package/calendar/services/NavigationService.d.ts +1 -1
- package/calendar/services/ScrollSyncService.d.ts +1 -1
- package/calendar/services/WeekNamesService.d.ts +1 -1
- package/calendar/services/YearViewService.d.ts +1 -1
- package/calendar/services/index.d.ts +1 -1
- package/common/AdaptiveMode.d.ts +1 -1
- package/common/PickerWrap.d.ts +1 -1
- package/common/constants.d.ts +1 -1
- package/dateinput/DateInput.d.ts +1 -1
- package/dateinput/models/DateInputSettings.d.ts +1 -1
- package/dateinput/models/format-placeholder.d.ts +1 -1
- package/dateinput/models/incremental-steps.d.ts +1 -1
- package/dateinput/models/index.d.ts +1 -1
- package/dateinput/models/kendo-date.d.ts +1 -1
- package/dateinput/models/mask.d.ts +1 -1
- package/dateinput/models/selection.d.ts +1 -1
- package/dateinput/utils.d.ts +1 -1
- package/datepicker/DatePicker.d.ts +1 -1
- package/datepicker/ToggleButton.d.ts +1 -1
- package/datepicker/models/DatePickerSettings.d.ts +1 -1
- package/datepicker/models/index.d.ts +1 -1
- package/daterangepicker/DateRangePicker.d.ts +1 -1
- package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +1 -1
- package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +1 -1
- package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +1 -1
- package/daterangepicker/models/DateRangePickerSettings.d.ts +1 -1
- package/daterangepicker/models/index.d.ts +1 -1
- package/datetimepicker/DateTimePicker.d.ts +1 -1
- package/datetimepicker/DateTimeSelector.d.ts +1 -1
- package/datetimepicker/models/DateTimePickerSettings.d.ts +1 -1
- package/datetimepicker/models/index.d.ts +1 -1
- package/dist/cdn/js/kendo-react-dateinputs.js +5 -5
- package/hooks/usePickerFloatingLabel.d.ts +1 -1
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +5 -5
- package/index.mjs +223 -212
- package/messages/index.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +7 -7
- package/timepicker/TimeList.d.ts +1 -1
- package/timepicker/TimePart.d.ts +1 -1
- package/timepicker/TimePicker.d.ts +1 -1
- package/timepicker/TimeSelector.d.ts +1 -1
- package/timepicker/models/IncrementalSteps.d.ts +1 -1
- package/timepicker/models/ListItem.d.ts +1 -1
- package/timepicker/models/ListService.d.ts +1 -1
- package/timepicker/models/ListServiceSettings.d.ts +1 -1
- package/timepicker/models/TimePart.d.ts +1 -1
- package/timepicker/models/TimePickerSettings.d.ts +1 -1
- package/timepicker/models/index.d.ts +1 -1
- package/timepicker/services/DOMService.d.ts +1 -1
- package/timepicker/services/DayPeriodService.d.ts +1 -1
- package/timepicker/services/HoursService.d.ts +1 -1
- package/timepicker/services/MinutesService.d.ts +1 -1
- package/timepicker/services/SecondsService.d.ts +1 -1
- package/timepicker/services/index.d.ts +1 -1
- package/timepicker/utils.d.ts +1 -1
- package/utils.d.ts +1 -1
- package/virtualization/Virtualization.d.ts +1 -1
- package/virtualization/services/RowHeightService.d.ts +1 -1
- package/virtualization/services/ScrollerService.d.ts +1 -1
- package/virtualization/services/index.d.ts +1 -1
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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";
|
|
@@ -7,7 +7,7 @@ import * as r from "react";
|
|
|
7
7
|
import n from "prop-types";
|
|
8
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
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
|
|
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
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";
|
|
@@ -17,7 +17,7 @@ const Rt = {
|
|
|
17
17
|
name: "@progress/kendo-react-dateinputs",
|
|
18
18
|
productName: "KendoReact",
|
|
19
19
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
20
|
-
publishDate:
|
|
20
|
+
publishDate: 1704376922,
|
|
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) => [
|
|
@@ -145,9 +145,9 @@ const gi = (s, t, e) => Math.min(Math.abs(t - s), e), vi = 17, wi = 10, bi = {
|
|
|
145
145
|
return;
|
|
146
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
|
|
149
|
-
this.scrollTo(h(
|
|
150
|
-
d(
|
|
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(() => {
|
|
@@ -358,8 +358,8 @@ class Si extends r.Component {
|
|
|
358
358
|
isRangeEnd: u,
|
|
359
359
|
isRangeSplitStart: d,
|
|
360
360
|
isRangeSplitEnd: p,
|
|
361
|
-
isToday:
|
|
362
|
-
isDisabled:
|
|
361
|
+
isToday: f,
|
|
362
|
+
isDisabled: m,
|
|
363
363
|
view: S,
|
|
364
364
|
value: I,
|
|
365
365
|
...M
|
|
@@ -374,9 +374,9 @@ class Si extends r.Component {
|
|
|
374
374
|
"k-active": E || w,
|
|
375
375
|
"k-state-pending-focus": a,
|
|
376
376
|
"k-selected": l || c || u,
|
|
377
|
-
"k-today":
|
|
377
|
+
"k-today": f,
|
|
378
378
|
"k-weekend": i,
|
|
379
|
-
"k-disabled":
|
|
379
|
+
"k-disabled": m
|
|
380
380
|
},
|
|
381
381
|
t
|
|
382
382
|
);
|
|
@@ -404,12 +404,12 @@ class xi extends r.Component {
|
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
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
|
|
407
|
+
const q = { start: null, end: null };
|
|
408
408
|
function ot(s) {
|
|
409
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,
|
|
412
|
+
const ge = (s, t, e) => t === void 0 || e === void 0 || t <= s && s <= e ? s : s < t ? t : e, H = 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,8 +417,8 @@ 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
|
-
},
|
|
421
|
-
const { start: e, end: i } = t ||
|
|
420
|
+
}, L = () => 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 = [];
|
|
@@ -439,11 +439,11 @@ function Ci(s, t, e = {}) {
|
|
|
439
439
|
if (typeof s != "function")
|
|
440
440
|
throw new TypeError("Expected a function");
|
|
441
441
|
t = +t || 0;
|
|
442
|
-
function
|
|
442
|
+
function f(x) {
|
|
443
443
|
const O = i, tt = a;
|
|
444
444
|
return i = a = void 0, o = s.apply(tt, O), o;
|
|
445
445
|
}
|
|
446
|
-
function
|
|
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 =
|
|
455
|
+
return l = m(E, t), u ? f() : o;
|
|
456
456
|
}
|
|
457
457
|
function M(x) {
|
|
458
458
|
const O = x - c;
|
|
@@ -466,12 +466,12 @@ function Ci(s, t, e = {}) {
|
|
|
466
466
|
const x = Date.now();
|
|
467
467
|
if (w(x))
|
|
468
468
|
return g();
|
|
469
|
-
l =
|
|
469
|
+
l = m(E, M(x));
|
|
470
470
|
}
|
|
471
471
|
function g(x) {
|
|
472
|
-
return l = void 0, i ?
|
|
472
|
+
return l = void 0, i ? f() : (i = a = void 0, o);
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function B() {
|
|
475
475
|
l !== void 0 && S(l), i = c = a = l = void 0;
|
|
476
476
|
}
|
|
477
477
|
function V() {
|
|
@@ -480,11 +480,11 @@ function Ci(s, t, e = {}) {
|
|
|
480
480
|
function R() {
|
|
481
481
|
return l !== void 0;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
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 =
|
|
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
|
|
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),
|
|
@@ -511,17 +511,17 @@ class Ei {
|
|
|
511
511
|
max: o,
|
|
512
512
|
min: l,
|
|
513
513
|
selectedDate: c,
|
|
514
|
-
selectionRange: h =
|
|
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 = re(u),
|
|
519
|
+
const d = Q(0, Ee), p = re(u), f = He(u), m = L();
|
|
520
520
|
return Q(0, Mi).map((S) => {
|
|
521
521
|
const I = it(p, S * Ee);
|
|
522
522
|
return d.map((M) => {
|
|
523
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,
|
|
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),
|
|
@@ -531,9 +531,9 @@ class Ei {
|
|
|
531
531
|
isRangeStart: E,
|
|
532
532
|
isRangeMid: V,
|
|
533
533
|
isRangeEnd: g,
|
|
534
|
-
isRangeSplitEnd: V && this.isEqual(w,
|
|
534
|
+
isRangeSplitEnd: V && this.isEqual(w, f),
|
|
535
535
|
isRangeSplitStart: V && this.isEqual(w, p),
|
|
536
|
-
isToday: this.isEqual(w,
|
|
536
|
+
isToday: this.isEqual(w, m),
|
|
537
537
|
title: this.cellTitle(w),
|
|
538
538
|
value: w
|
|
539
539
|
} : null;
|
|
@@ -622,17 +622,17 @@ class Ri {
|
|
|
622
622
|
max: o,
|
|
623
623
|
min: l,
|
|
624
624
|
selectedDate: c,
|
|
625
|
-
selectionRange: h =
|
|
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),
|
|
630
|
+
const d = Q(0, Ve), p = st(u), f = Be(u), m = L();
|
|
631
631
|
return Q(0, Oi).map((S) => {
|
|
632
632
|
const I = nt(p, S * Ve);
|
|
633
633
|
return d.map((M) => {
|
|
634
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,
|
|
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),
|
|
@@ -642,9 +642,9 @@ class Ri {
|
|
|
642
642
|
isRangeStart: E,
|
|
643
643
|
isRangeMid: V,
|
|
644
644
|
isRangeEnd: g,
|
|
645
|
-
isRangeSplitEnd: V && this.isEqual(w,
|
|
645
|
+
isRangeSplitEnd: V && this.isEqual(w, f),
|
|
646
646
|
isRangeSplitStart: V && this.isEqual(w, p),
|
|
647
|
-
isToday: this.isEqual(w,
|
|
647
|
+
isToday: this.isEqual(w, m),
|
|
648
648
|
title: this.cellTitle(w),
|
|
649
649
|
value: w
|
|
650
650
|
} : null;
|
|
@@ -736,14 +736,14 @@ class Bi {
|
|
|
736
736
|
max: o,
|
|
737
737
|
min: l,
|
|
738
738
|
selectedDate: c,
|
|
739
|
-
selectionRange: h =
|
|
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),
|
|
744
|
+
const d = fe(u), p = Ot(u), f = -1, m = si(d, this.intl.firstDay(), f), S = Q(0, Oe), I = L();
|
|
745
745
|
return Q(0, _i).map((M) => {
|
|
746
|
-
const w = Wt(
|
|
746
|
+
const w = Wt(m, M * Oe);
|
|
747
747
|
return S.map((E) => {
|
|
748
748
|
const g = this.normalize(Wt(w, E), l, o);
|
|
749
749
|
if (g < d || g > p)
|
|
@@ -860,17 +860,17 @@ class $i {
|
|
|
860
860
|
max: o,
|
|
861
861
|
min: l,
|
|
862
862
|
selectedDate: c,
|
|
863
|
-
selectionRange: h =
|
|
863
|
+
selectionRange: h = q,
|
|
864
864
|
viewDate: u
|
|
865
865
|
} = t;
|
|
866
866
|
if (!u)
|
|
867
867
|
return Ai;
|
|
868
|
-
const d = this.abbrMonthNames(), p = Ns(u),
|
|
868
|
+
const d = this.abbrMonthNames(), p = Ns(u), f = _s(u), m = p.getFullYear(), S = Q(0, Pe), I = L();
|
|
869
869
|
return Q(0, zi).map((M) => {
|
|
870
870
|
const w = $(p, M * Pe);
|
|
871
871
|
return S.map((E) => {
|
|
872
872
|
const g = this.normalize($(w, E), l, o);
|
|
873
|
-
if (
|
|
873
|
+
if (m < g.getFullYear())
|
|
874
874
|
return null;
|
|
875
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 {
|
|
@@ -883,7 +883,7 @@ class $i {
|
|
|
883
883
|
isRangeStart: V,
|
|
884
884
|
isRangeMid: x,
|
|
885
885
|
isRangeEnd: R,
|
|
886
|
-
isRangeSplitEnd: x && this.isEqual(g,
|
|
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),
|
|
@@ -1013,21 +1013,21 @@ 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
|
-
),
|
|
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
|
-
),
|
|
1023
|
+
), m = (D, _) => new Array(D).fill("1").map(_), S = (D, _ = 1) => d([
|
|
1024
1024
|
h(
|
|
1025
1025
|
[c(
|
|
1026
1026
|
[o("1", "k-calendar-td k-alt")]
|
|
1027
1027
|
)].concat(
|
|
1028
|
-
|
|
1028
|
+
m(
|
|
1029
1029
|
D,
|
|
1030
|
-
() => c(
|
|
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"
|
|
@@ -1035,7 +1035,7 @@ let ji = class {
|
|
|
1035
1035
|
], "k-calendar-table"), I = (D) => e(D, "k-content k-scrollable"), M = (D, _, Mt) => e(
|
|
1036
1036
|
Mt ? [
|
|
1037
1037
|
p(),
|
|
1038
|
-
|
|
1038
|
+
f(),
|
|
1039
1039
|
I([D, D])
|
|
1040
1040
|
] : [
|
|
1041
1041
|
p(),
|
|
@@ -1053,10 +1053,10 @@ let ji = class {
|
|
|
1053
1053
|
})(), E = ({ cells: D, rows: _ }, Mt, ti) => {
|
|
1054
1054
|
let Ie;
|
|
1055
1055
|
return () => J ? (Ie || (Ie = M(S(_, D), Mt, ti)), Ie) : null;
|
|
1056
|
-
}, g = (D) => D.querySelector(".k-scrollable"),
|
|
1056
|
+
}, g = (D) => D.querySelector(".k-scrollable"), B = (D) => {
|
|
1057
1057
|
const _ = g(D);
|
|
1058
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),
|
|
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
1060
|
const _ = window.getComputedStyle(D);
|
|
1061
1061
|
return parseFloat(_.width) + parseFloat(_.paddingLeft) + parseFloat(_.paddingRight) || D.offsetWidth;
|
|
1062
1062
|
}, It = (D) => D.querySelector("tbody");
|
|
@@ -1070,7 +1070,7 @@ let ji = class {
|
|
|
1070
1070
|
this.yearViewHeight = j(It(D)), this.scrollableYearContentHeight = j(g(D));
|
|
1071
1071
|
}), this.batch(O(), (D) => {
|
|
1072
1072
|
this.yearViewWidth = gt(It(D));
|
|
1073
|
-
}), this.batch(
|
|
1073
|
+
}), this.batch(A(), (D) => {
|
|
1074
1074
|
this.decadeViewHeight = j(It(D)), this.centuryViewHeight = this.decadeViewHeight;
|
|
1075
1075
|
}), this.batch(tt(), (D) => {
|
|
1076
1076
|
this.decadeViewWidth = gt(It(D)), this.centuryViewWidth = this.decadeViewWidth;
|
|
@@ -1252,7 +1252,7 @@ const bs = (s) => /* @__PURE__ */ r.createElement("td", { key: s, className: "k-
|
|
|
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 =
|
|
1255
|
+
const s = this.weekService.getWeekNames(this.weekNumber), t = this.props.service.rowLength(this.weekNumber), e = this.props.service.title(this.props.viewDate), i = L(), 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,
|
|
@@ -1309,7 +1309,7 @@ jt.propTypes = {
|
|
|
1309
1309
|
};
|
|
1310
1310
|
jt.defaultProps = {
|
|
1311
1311
|
direction: "vertical",
|
|
1312
|
-
selectedDate:
|
|
1312
|
+
selectedDate: L(),
|
|
1313
1313
|
showWeekNumbers: !1
|
|
1314
1314
|
};
|
|
1315
1315
|
ft(jt);
|
|
@@ -1416,7 +1416,7 @@ const Ae = "multiviewcalendar.prevView", ze = "multiviewcalendar.nextView", Ft =
|
|
|
1416
1416
|
const t = {
|
|
1417
1417
|
syntheticEvent: s,
|
|
1418
1418
|
nativeEvent: s.nativeEvent,
|
|
1419
|
-
value: K(
|
|
1419
|
+
value: K(L(), this.min, this.max),
|
|
1420
1420
|
target: this,
|
|
1421
1421
|
isTodayClick: !0
|
|
1422
1422
|
};
|
|
@@ -1431,10 +1431,10 @@ const Ae = "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(
|
|
1434
|
+
return F(L(), C(this.min), C(this.max));
|
|
1435
1435
|
}
|
|
1436
1436
|
render() {
|
|
1437
|
-
this.localization =
|
|
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
|
{
|
|
@@ -1579,7 +1579,7 @@ const en = 5, Us = class extends r.Component {
|
|
|
1579
1579
|
return !!(this.props.smoothScroll && this.animateToIndex);
|
|
1580
1580
|
}
|
|
1581
1581
|
get todayIsInRange() {
|
|
1582
|
-
return F(
|
|
1582
|
+
return F(L(), 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;
|
|
@@ -1640,8 +1640,8 @@ const en = 5, Us = class extends r.Component {
|
|
|
1640
1640
|
return /* @__PURE__ */ r.createElement(
|
|
1641
1641
|
"div",
|
|
1642
1642
|
{
|
|
1643
|
-
ref: (
|
|
1644
|
-
this._element =
|
|
1643
|
+
ref: (f) => {
|
|
1644
|
+
this._element = f;
|
|
1645
1645
|
},
|
|
1646
1646
|
className: u
|
|
1647
1647
|
},
|
|
@@ -1843,22 +1843,29 @@ const Re = (s) => s ? s.virtualization : null, Ds = (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:
|
|
1846
|
+
const { keyCode: a, ctrlKey: o, metaKey: l } = e;
|
|
1847
1847
|
if (!(!this.focusedDate || !this.service)) {
|
|
1848
|
-
if (
|
|
1848
|
+
if (a === 84 && this.setState({ focusedDate: L() }), (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
|
|
1851
|
-
Re(this.calendarViewList).scrollToIndex(this.service.skip(
|
|
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
|
|
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(
|
|
1866
|
+
this.handleDateChange(c);
|
|
1860
1867
|
} else {
|
|
1861
|
-
const
|
|
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, Ds = (s = bt.defaultProps.min, t
|
|
|
1869
1876
|
this.min,
|
|
1870
1877
|
this.max
|
|
1871
1878
|
);
|
|
1872
|
-
if (wt(this.focusedDate,
|
|
1879
|
+
if (wt(this.focusedDate, c))
|
|
1873
1880
|
return;
|
|
1874
|
-
this.setState({ focusedDate:
|
|
1881
|
+
this.setState({ focusedDate: c });
|
|
1875
1882
|
}
|
|
1876
1883
|
e.preventDefault();
|
|
1877
1884
|
}
|
|
@@ -1894,7 +1901,7 @@ const Re = (s) => s ? s.virtualization : null, Ds = (s = bt.defaultProps.min, t
|
|
|
1894
1901
|
this.topView
|
|
1895
1902
|
),
|
|
1896
1903
|
focusedDate: K(
|
|
1897
|
-
s.focusedDate || t ||
|
|
1904
|
+
s.focusedDate || t || L(),
|
|
1898
1905
|
this.min,
|
|
1899
1906
|
this.max
|
|
1900
1907
|
)
|
|
@@ -2237,22 +2244,22 @@ class pn {
|
|
|
2237
2244
|
return this.setExisting(t, !1), { value: null };
|
|
2238
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
|
|
2241
|
-
o[
|
|
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
|
|
2248
|
-
let
|
|
2249
|
-
if (d = this.intl.parseDate(c +
|
|
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(
|
|
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,
|
|
@@ -2360,9 +2367,9 @@ const X = {
|
|
|
2360
2367
|
i.push(a);
|
|
2361
2368
|
return i;
|
|
2362
2369
|
}, ls = (s, t, e) => ({
|
|
2363
|
-
candidateValue:
|
|
2364
|
-
maxValue: Wt(
|
|
2365
|
-
minValue:
|
|
2370
|
+
candidateValue: U(H, s),
|
|
2371
|
+
maxValue: Wt(U(H, e), t.getHours() < e.getHours() ? 0 : 1),
|
|
2372
|
+
minValue: U(H, t)
|
|
2366
2373
|
}), Sn = (s, t, e) => {
|
|
2367
2374
|
if (!s || !t || !e)
|
|
2368
2375
|
return s;
|
|
@@ -2371,7 +2378,7 @@ const X = {
|
|
|
2371
2378
|
minValue: a,
|
|
2372
2379
|
maxValue: o
|
|
2373
2380
|
} = ls(s, t, e);
|
|
2374
|
-
return i < a ?
|
|
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;
|
|
@@ -2393,13 +2400,13 @@ const X = {
|
|
|
2393
2400
|
}, Cn = (s, t) => {
|
|
2394
2401
|
if (s === null || t === null)
|
|
2395
2402
|
return !1;
|
|
2396
|
-
const e =
|
|
2403
|
+
const e = U(H, s), i = U(H, 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 =
|
|
2402
|
-
return
|
|
2408
|
+
const e = U(H, s);
|
|
2409
|
+
return U(H, t).getTime() < e.getHours();
|
|
2403
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 = () => {
|
|
@@ -2507,9 +2514,9 @@ 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 =
|
|
2511
|
-
let
|
|
2512
|
-
this.props.className &&
|
|
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);
|
|
2513
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
|
{
|
|
@@ -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": !
|
|
2535
|
+
"k-invalid": !f,
|
|
2529
2536
|
"k-required": this.required,
|
|
2530
2537
|
"k-disabled": this.props.disabled
|
|
2531
2538
|
},
|
|
@@ -2602,7 +2609,7 @@ const X = {
|
|
|
2602
2609
|
label: l,
|
|
2603
2610
|
editorId: p,
|
|
2604
2611
|
editorValue: h,
|
|
2605
|
-
editorValid:
|
|
2612
|
+
editorValid: f,
|
|
2606
2613
|
editorDisabled: this.props.disabled,
|
|
2607
2614
|
children: S,
|
|
2608
2615
|
style: { width: this.props.width }
|
|
@@ -2969,7 +2976,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
2969
2976
|
},
|
|
2970
2977
|
t.applyText
|
|
2971
2978
|
)));
|
|
2972
|
-
}, xe = 768,
|
|
2979
|
+
}, xe = 768, z = class extends r.Component {
|
|
2973
2980
|
constructor(s) {
|
|
2974
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();
|
|
@@ -2979,7 +2986,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
2979
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
|
-
),
|
|
2989
|
+
), f = {
|
|
2983
2990
|
popupClass: "k-datepicker-popup",
|
|
2984
2991
|
show: h,
|
|
2985
2992
|
anchor: this._element,
|
|
@@ -2994,7 +3001,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
2994
3001
|
vertical: "top"
|
|
2995
3002
|
},
|
|
2996
3003
|
...c
|
|
2997
|
-
},
|
|
3004
|
+
}, m = {
|
|
2998
3005
|
disabled: t,
|
|
2999
3006
|
value: d,
|
|
3000
3007
|
min: e,
|
|
@@ -3005,7 +3012,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3005
3012
|
navigation: !this.mobileMode,
|
|
3006
3013
|
onChange: this.handleCalendarValueChange
|
|
3007
3014
|
};
|
|
3008
|
-
return this.mobileMode ? /* @__PURE__ */ r.createElement(this.calendarComp, { _ref: this.setCalendarRef, ...
|
|
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,
|
|
@@ -3047,8 +3054,8 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3047
3054
|
}
|
|
3048
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 ||
|
|
3051
|
-
show: this.props.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 = r.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 :
|
|
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 :
|
|
3116
|
+
return this.props.max !== void 0 ? this.props.max : z.defaultProps.max;
|
|
3110
3117
|
}
|
|
3111
3118
|
get dateInputComp() {
|
|
3112
|
-
return this.props.dateInput ||
|
|
3119
|
+
return this.props.dateInput || z.defaultProps.dateInput;
|
|
3113
3120
|
}
|
|
3114
3121
|
get toggleButtonComp() {
|
|
3115
|
-
return this.props.toggleButton ||
|
|
3122
|
+
return this.props.toggleButton || z.defaultProps.toggleButton;
|
|
3116
3123
|
}
|
|
3117
3124
|
get calendarComp() {
|
|
3118
|
-
return this.props.calendar ||
|
|
3125
|
+
return this.props.calendar || z.defaultProps.calendar;
|
|
3119
3126
|
}
|
|
3120
3127
|
get popupComp() {
|
|
3121
|
-
return this.props.popup ||
|
|
3128
|
+
return this.props.popup || z.defaultProps.popup;
|
|
3122
3129
|
}
|
|
3123
3130
|
get pickerWrapComp() {
|
|
3124
|
-
return this.props.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 = r.forwardRef((s, t) => {
|
|
|
3140
3147
|
* @hidden
|
|
3141
3148
|
*/
|
|
3142
3149
|
get validityStyles() {
|
|
3143
|
-
return this.props.validityStyles !== void 0 ? this.props.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 :
|
|
3156
|
+
return this.props.required !== void 0 ? this.props.required : z.defaultProps.required;
|
|
3150
3157
|
}
|
|
3151
3158
|
/**
|
|
3152
3159
|
* @hidden
|
|
@@ -3173,9 +3180,9 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3173
3180
|
*/
|
|
3174
3181
|
render() {
|
|
3175
3182
|
const {
|
|
3176
|
-
size: s =
|
|
3177
|
-
rounded: t =
|
|
3178
|
-
fillMode: e =
|
|
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
3188
|
title: o,
|
|
@@ -3185,15 +3192,15 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3185
3192
|
min: u,
|
|
3186
3193
|
max: d,
|
|
3187
3194
|
className: p,
|
|
3188
|
-
width:
|
|
3189
|
-
name:
|
|
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,
|
|
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,10 +3210,10 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3203
3210
|
ariaLabel: g,
|
|
3204
3211
|
max: d,
|
|
3205
3212
|
min: u,
|
|
3206
|
-
name:
|
|
3213
|
+
name: m,
|
|
3207
3214
|
onChange: this.handleInputValueChange,
|
|
3208
3215
|
required: I,
|
|
3209
|
-
tabIndex:
|
|
3216
|
+
tabIndex: B ? -1 : a,
|
|
3210
3217
|
title: o,
|
|
3211
3218
|
valid: this.validity.valid,
|
|
3212
3219
|
validationMessage: S,
|
|
@@ -3218,7 +3225,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3218
3225
|
size: null,
|
|
3219
3226
|
fillMode: null,
|
|
3220
3227
|
rounded: null
|
|
3221
|
-
}, x =
|
|
3228
|
+
}, x = W(this).toLanguageString(We, T[We]), O = /* @__PURE__ */ r.createElement(
|
|
3222
3229
|
we,
|
|
3223
3230
|
{
|
|
3224
3231
|
onFocus: this.handleFocus,
|
|
@@ -3246,7 +3253,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3246
3253
|
p
|
|
3247
3254
|
),
|
|
3248
3255
|
onKeyDown: this.handleKeyDown,
|
|
3249
|
-
style: { width:
|
|
3256
|
+
style: { width: f },
|
|
3250
3257
|
onFocus: tt,
|
|
3251
3258
|
onBlur: j,
|
|
3252
3259
|
onClick: this.mobileMode ? this.handleIconClick : void 0
|
|
@@ -3259,7 +3266,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3259
3266
|
readonly: this.mobileMode,
|
|
3260
3267
|
ariaExpanded: this.show,
|
|
3261
3268
|
ariaControls: this._popupId,
|
|
3262
|
-
...
|
|
3269
|
+
...A
|
|
3263
3270
|
}
|
|
3264
3271
|
),
|
|
3265
3272
|
/* @__PURE__ */ r.createElement(
|
|
@@ -3301,7 +3308,7 @@ const En = N, Vn = r.forwardRef((s, t) => {
|
|
|
3301
3308
|
}));
|
|
3302
3309
|
}
|
|
3303
3310
|
mergeTime(s) {
|
|
3304
|
-
return 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 = r.forwardRef((s, t) => {
|
|
|
3311
3318
|
this.setState({ windowWidth: t.target.clientWidth });
|
|
3312
3319
|
}
|
|
3313
3320
|
};
|
|
3314
|
-
let Xt =
|
|
3321
|
+
let Xt = z;
|
|
3315
3322
|
Xt.displayName = "DatePicker";
|
|
3316
3323
|
Xt.propTypes = {
|
|
3317
3324
|
className: n.string,
|
|
@@ -3496,8 +3503,8 @@ class Hn {
|
|
|
3496
3503
|
],
|
|
3497
3504
|
"k-time-list-wrapper",
|
|
3498
3505
|
{ left: "-10000px", position: "absolute" }
|
|
3499
|
-
))(),
|
|
3500
|
-
this.timeListHeight =
|
|
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
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);
|
|
@@ -3518,7 +3525,7 @@ class Wn {
|
|
|
3518
3525
|
step: c = this.step
|
|
3519
3526
|
} = t;
|
|
3520
3527
|
this.boundRange = e, this.insertUndividedMax = i, this.toListItem = (h) => {
|
|
3521
|
-
const u = de(
|
|
3528
|
+
const u = de(H, h);
|
|
3522
3529
|
return {
|
|
3523
3530
|
text: this.intl.formatDate(u, l.pattern),
|
|
3524
3531
|
value: u
|
|
@@ -3595,7 +3602,7 @@ class jn {
|
|
|
3595
3602
|
step: l = this.step
|
|
3596
3603
|
} = t;
|
|
3597
3604
|
this.insertUndividedMax = e, this.toListItem = (c) => {
|
|
3598
|
-
const h = pe(
|
|
3605
|
+
const h = pe(H, c);
|
|
3599
3606
|
return {
|
|
3600
3607
|
text: this.intl.formatDate(h, o.pattern),
|
|
3601
3608
|
value: h
|
|
@@ -3672,7 +3679,7 @@ class Qn {
|
|
|
3672
3679
|
step: l = this.step
|
|
3673
3680
|
} = t;
|
|
3674
3681
|
this.insertUndividedMax = e, this.toListItem = (c) => {
|
|
3675
|
-
const h = me(
|
|
3682
|
+
const h = me(H, c);
|
|
3676
3683
|
return {
|
|
3677
3684
|
text: this.intl.formatDate(h, o.pattern),
|
|
3678
3685
|
value: h
|
|
@@ -3934,7 +3941,7 @@ Ce.propTypes = {
|
|
|
3934
3941
|
Ce.defaultProps = {
|
|
3935
3942
|
boundRange: !1,
|
|
3936
3943
|
max: xt,
|
|
3937
|
-
min:
|
|
3944
|
+
min: H,
|
|
3938
3945
|
step: 1,
|
|
3939
3946
|
smoothScroll: !0
|
|
3940
3947
|
};
|
|
@@ -3998,7 +4005,7 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
|
|
|
3998
4005
|
}
|
|
3999
4006
|
get value() {
|
|
4000
4007
|
return Sn(
|
|
4001
|
-
this.snapTime(v(this.props.value ||
|
|
4008
|
+
this.snapTime(v(this.props.value || H)),
|
|
4002
4009
|
this.min,
|
|
4003
4010
|
this.max
|
|
4004
4011
|
);
|
|
@@ -4051,7 +4058,7 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
|
|
|
4051
4058
|
i
|
|
4052
4059
|
);
|
|
4053
4060
|
this.timeLists = [];
|
|
4054
|
-
const u =
|
|
4061
|
+
const u = W(this), d = u.toLanguageString(je, T[je]);
|
|
4055
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
|
{
|
|
@@ -4076,18 +4083,18 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
|
|
|
4076
4083
|
onKeyDown: this.handleKeyDown
|
|
4077
4084
|
},
|
|
4078
4085
|
/* @__PURE__ */ r.createElement("span", { className: "k-time-highlight" }),
|
|
4079
|
-
this.dateFormatParts.map((p,
|
|
4086
|
+
this.dateFormatParts.map((p, f) => p.type !== "literal" ? /* @__PURE__ */ r.createElement(
|
|
4080
4087
|
"div",
|
|
4081
4088
|
{
|
|
4082
|
-
key:
|
|
4089
|
+
key: f,
|
|
4083
4090
|
className: P("k-time-list-wrapper", {
|
|
4084
|
-
"k-focus":
|
|
4091
|
+
"k-focus": f === this.state.activeListIndex
|
|
4085
4092
|
}),
|
|
4086
4093
|
role: "presentation",
|
|
4087
4094
|
tabIndex: -1
|
|
4088
4095
|
},
|
|
4089
|
-
/* @__PURE__ */ r.createElement("span", { className: "k-title", onMouseDown: (
|
|
4090
|
-
|
|
4096
|
+
/* @__PURE__ */ r.createElement("span", { className: "k-title", onMouseDown: (m) => {
|
|
4097
|
+
m.preventDefault();
|
|
4091
4098
|
} }, this.intl.dateFieldName(p)),
|
|
4092
4099
|
/* @__PURE__ */ r.createElement(
|
|
4093
4100
|
Ce,
|
|
@@ -4098,12 +4105,12 @@ 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: (
|
|
4102
|
-
|
|
4108
|
+
ref: (m) => {
|
|
4109
|
+
m && this.timeLists.push(m);
|
|
4103
4110
|
},
|
|
4104
|
-
id:
|
|
4111
|
+
id: f,
|
|
4105
4112
|
onFocus: () => {
|
|
4106
|
-
this.handleListFocus(
|
|
4113
|
+
this.handleListFocus(f);
|
|
4107
4114
|
},
|
|
4108
4115
|
onBlur: this.handleListBlur,
|
|
4109
4116
|
onChange: this.handleChange,
|
|
@@ -4116,7 +4123,7 @@ const Fe = new RegExp(`${X.hour}|${X.minute}|${X.second}|${X.dayperiod}|literal`
|
|
|
4116
4123
|
) : /* @__PURE__ */ r.createElement(
|
|
4117
4124
|
"div",
|
|
4118
4125
|
{
|
|
4119
|
-
key:
|
|
4126
|
+
key: f,
|
|
4120
4127
|
className: "k-time-separator"
|
|
4121
4128
|
},
|
|
4122
4129
|
p.pattern
|
|
@@ -4245,7 +4252,7 @@ const ss = class extends r.Component {
|
|
|
4245
4252
|
time: t
|
|
4246
4253
|
});
|
|
4247
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
|
-
current: this.props.value ||
|
|
4255
|
+
current: this.props.value || H,
|
|
4249
4256
|
value: this.props.value || ss.defaultProps.value
|
|
4250
4257
|
};
|
|
4251
4258
|
}
|
|
@@ -4288,8 +4295,8 @@ const ss = class extends r.Component {
|
|
|
4288
4295
|
nowButton: u,
|
|
4289
4296
|
steps: d,
|
|
4290
4297
|
show: p,
|
|
4291
|
-
mobileMode:
|
|
4292
|
-
} = this.props,
|
|
4298
|
+
mobileMode: f
|
|
4299
|
+
} = this.props, m = W(this), S = m.toLanguageString(ve, T[ve]), I = m.toLanguageString(Ut, T[Ut]);
|
|
4293
4300
|
return /* @__PURE__ */ r.createElement(
|
|
4294
4301
|
"div",
|
|
4295
4302
|
{
|
|
@@ -4320,7 +4327,7 @@ const ss = class extends r.Component {
|
|
|
4320
4327
|
nowButton: u,
|
|
4321
4328
|
steps: d,
|
|
4322
4329
|
show: p,
|
|
4323
|
-
mobileMode:
|
|
4330
|
+
mobileMode: f,
|
|
4324
4331
|
onNowKeyDown: this.handleNowKeyDown
|
|
4325
4332
|
}
|
|
4326
4333
|
),
|
|
@@ -4610,7 +4617,7 @@ const G = class extends r.Component {
|
|
|
4610
4617
|
return this.props.dateInput || G.defaultProps.dateInput;
|
|
4611
4618
|
}
|
|
4612
4619
|
get localizationService() {
|
|
4613
|
-
return
|
|
4620
|
+
return W(this);
|
|
4614
4621
|
}
|
|
4615
4622
|
/**
|
|
4616
4623
|
* @hidden
|
|
@@ -4649,8 +4656,8 @@ const G = class extends r.Component {
|
|
|
4649
4656
|
formatPlaceholder: u,
|
|
4650
4657
|
width: d,
|
|
4651
4658
|
name: p,
|
|
4652
|
-
steps:
|
|
4653
|
-
validationMessage:
|
|
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 r.Component {
|
|
|
4667
4674
|
name: p,
|
|
4668
4675
|
onChange: this.handleInputValueChange,
|
|
4669
4676
|
required: S,
|
|
4670
|
-
steps:
|
|
4677
|
+
steps: f,
|
|
4671
4678
|
tabIndex: this.show ? -1 : a,
|
|
4672
4679
|
title: o,
|
|
4673
4680
|
valid: this.validity.valid,
|
|
4674
|
-
validationMessage:
|
|
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 r.Component {
|
|
|
4682
4689
|
fillMode: null,
|
|
4683
4690
|
rounded: null,
|
|
4684
4691
|
readonly: this.mobileMode
|
|
4685
|
-
},
|
|
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 r.Component {
|
|
|
4690
4697
|
onSyncBlur: this.props.onBlur,
|
|
4691
4698
|
onSyncFocus: this.props.onFocus
|
|
4692
4699
|
},
|
|
4693
|
-
({ onFocus:
|
|
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,
|
|
@@ -4712,7 +4719,7 @@ const G = class extends r.Component {
|
|
|
4712
4719
|
),
|
|
4713
4720
|
onKeyDown: this.handleKeyDown,
|
|
4714
4721
|
style: { width: d },
|
|
4715
|
-
onFocus:
|
|
4722
|
+
onFocus: A,
|
|
4716
4723
|
onBlur: x,
|
|
4717
4724
|
onClick: this.mobileMode ? this.handleIconClick : void 0
|
|
4718
4725
|
},
|
|
@@ -4737,7 +4744,7 @@ const G = class extends r.Component {
|
|
|
4737
4744
|
title: V,
|
|
4738
4745
|
className: "k-input-button",
|
|
4739
4746
|
rounded: null,
|
|
4740
|
-
"aria-label":
|
|
4747
|
+
"aria-label": B
|
|
4741
4748
|
}
|
|
4742
4749
|
),
|
|
4743
4750
|
!this.mobileMode && this.renderPopup()
|
|
@@ -4757,7 +4764,7 @@ const G = class extends r.Component {
|
|
|
4757
4764
|
) : R;
|
|
4758
4765
|
}
|
|
4759
4766
|
normalizeTime(s) {
|
|
4760
|
-
return
|
|
4767
|
+
return U(H, s);
|
|
4761
4768
|
}
|
|
4762
4769
|
setShow(s) {
|
|
4763
4770
|
const { onOpen: t, onClose: e } = this.props;
|
|
@@ -4768,7 +4775,7 @@ const G = class extends r.Component {
|
|
|
4768
4775
|
}));
|
|
4769
4776
|
}
|
|
4770
4777
|
mergeTime(s) {
|
|
4771
|
-
return this.value && s ?
|
|
4778
|
+
return this.value && s ? U(this.value, s) : s;
|
|
4772
4779
|
}
|
|
4773
4780
|
calculateMedia(s) {
|
|
4774
4781
|
for (let t of s)
|
|
@@ -4968,17 +4975,16 @@ At.defaultProps = {
|
|
|
4968
4975
|
min: ut,
|
|
4969
4976
|
max: dt
|
|
4970
4977
|
};
|
|
4971
|
-
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 :
|
|
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 =
|
|
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
|
-
|
|
4980
|
-
|
|
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 = rt.defaultProps.min, t = rt.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:
|
|
5028
|
-
if (
|
|
5029
|
-
const
|
|
5033
|
+
const { keyCode: d, ctrlKey: p, metaKey: f } = h;
|
|
5034
|
+
if (d === 84) {
|
|
5035
|
+
const m = L();
|
|
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(
|
|
5045
|
+
this.handleDateChange(m);
|
|
5036
5046
|
} else {
|
|
5037
|
-
const
|
|
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 = rt.defaultProps.min, t = rt.defaultProps.max, e) => e instanceof
|
|
|
5045
5055
|
this.min,
|
|
5046
5056
|
this.max
|
|
5047
5057
|
);
|
|
5048
|
-
if (wt(this.focusedDate,
|
|
5058
|
+
if (wt(this.focusedDate, m))
|
|
5049
5059
|
return;
|
|
5050
|
-
this.dates && this.service && !this.service.isInArray(
|
|
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 = rt.defaultProps.min, t = rt.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 = rt.defaultProps.min, t = rt.defaultProps.max, e) => e instanceof
|
|
|
5071
5081
|
break;
|
|
5072
5082
|
case "multiple":
|
|
5073
5083
|
if (Array.isArray(this.selectedMultiple)) {
|
|
5074
|
-
|
|
5075
|
-
|
|
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 ?
|
|
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,15 +5098,15 @@ const Le = (s = rt.defaultProps.min, t = rt.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:
|
|
5091
|
-
if (
|
|
5092
|
-
const
|
|
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
|
-
|
|
5109
|
+
f.call(void 0, m);
|
|
5099
5110
|
}
|
|
5100
5111
|
this.valueDuringOnChange = void 0;
|
|
5101
5112
|
};
|
|
@@ -5104,7 +5115,7 @@ const Le = (s = rt.defaultProps.min, t = rt.defaultProps.max, e) => e instanceof
|
|
|
5104
5115
|
this.bottomView,
|
|
5105
5116
|
this.topView
|
|
5106
5117
|
), c = K(
|
|
5107
|
-
s.focusedDate || o ||
|
|
5118
|
+
s.focusedDate || o || L(),
|
|
5108
5119
|
this.min,
|
|
5109
5120
|
this.max
|
|
5110
5121
|
);
|
|
@@ -5155,7 +5166,7 @@ const Le = (s = rt.defaultProps.min, t = rt.defaultProps.max, e) => e instanceof
|
|
|
5155
5166
|
return this.props.activeRangeEnd !== void 0 ? this.props.activeRangeEnd : this.activeRangeEnd;
|
|
5156
5167
|
}
|
|
5157
5168
|
get todayIsInRange() {
|
|
5158
|
-
return F(
|
|
5169
|
+
return F(L(), C(this.min), C(this.max));
|
|
5159
5170
|
}
|
|
5160
5171
|
/**
|
|
5161
5172
|
* @hidden
|
|
@@ -5175,7 +5186,7 @@ const Le = (s = rt.defaultProps.min, t = rt.defaultProps.max, e) => e instanceof
|
|
|
5175
5186
|
* @hidden
|
|
5176
5187
|
*/
|
|
5177
5188
|
render() {
|
|
5178
|
-
this.props._ref && this.props._ref(this), this.intl = ct(this), this.localization =
|
|
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,12 +5201,12 @@ const Le = (s = rt.defaultProps.min, t = rt.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(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]),
|
|
5194
|
-
(!p || d ||
|
|
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
5207
|
this.props.views || At.defaultProps.views
|
|
5197
5208
|
));
|
|
5198
|
-
const
|
|
5209
|
+
const m = v(this.dates && this.dates[0] ? this.dates[0] : L());
|
|
5199
5210
|
return /* @__PURE__ */ r.createElement(
|
|
5200
5211
|
"div",
|
|
5201
5212
|
{
|
|
@@ -5218,9 +5229,9 @@ const Le = (s = rt.defaultProps.min, t = rt.defaultProps.max, e) => e instanceof
|
|
|
5218
5229
|
/* @__PURE__ */ r.createElement(
|
|
5219
5230
|
Zt,
|
|
5220
5231
|
{
|
|
5221
|
-
key: `.kendo.calendar.header.${
|
|
5232
|
+
key: `.kendo.calendar.header.${m.getTime()}`,
|
|
5222
5233
|
activeView: s,
|
|
5223
|
-
currentDate:
|
|
5234
|
+
currentDate: m,
|
|
5224
5235
|
min: this.min,
|
|
5225
5236
|
max: this.max,
|
|
5226
5237
|
rangeLength: this.props.views,
|
|
@@ -5372,8 +5383,8 @@ const zt = class extends r.Component {
|
|
|
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) ||
|
|
5376
|
-
const t = this.value ||
|
|
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,
|
|
@@ -5445,7 +5456,7 @@ const zt = class extends r.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:
|
|
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 r.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 ||
|
|
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,
|
|
@@ -5492,7 +5503,7 @@ const zt = class extends r.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:
|
|
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 r.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) ||
|
|
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 r.Component {
|
|
|
5551
5562
|
return this.element && this.element.ownerDocument || document;
|
|
5552
5563
|
}
|
|
5553
5564
|
get localizationService() {
|
|
5554
|
-
return
|
|
5565
|
+
return W(this);
|
|
5555
5566
|
}
|
|
5556
5567
|
/**
|
|
5557
5568
|
* The mobile mode of the DateRangePicker.
|
|
@@ -5583,7 +5594,7 @@ const zt = class extends r.Component {
|
|
|
5583
5594
|
* @hidden
|
|
5584
5595
|
*/
|
|
5585
5596
|
render() {
|
|
5586
|
-
const s = this.value ||
|
|
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
|
|
@@ -5623,11 +5634,11 @@ const zt = class extends r.Component {
|
|
|
5623
5634
|
type: "button",
|
|
5624
5635
|
className: "k-select",
|
|
5625
5636
|
fillMode: "flat",
|
|
5626
|
-
title:
|
|
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":
|
|
5641
|
+
"aria-label": W(this).toLanguageString(Ht, T[Ht])
|
|
5631
5642
|
},
|
|
5632
5643
|
/* @__PURE__ */ r.createElement(ei, { style: { transform: "rotate(90deg)" }, name: "arrows-swap", icon: hi })
|
|
5633
5644
|
);
|
|
@@ -5752,7 +5763,7 @@ te.propTypes = {
|
|
|
5752
5763
|
te.defaultProps = {
|
|
5753
5764
|
allowReverse: !1,
|
|
5754
5765
|
defaultShow: !1,
|
|
5755
|
-
defaultValue:
|
|
5766
|
+
defaultValue: q,
|
|
5756
5767
|
disabled: !1,
|
|
5757
5768
|
format: "d",
|
|
5758
5769
|
max: dt,
|
|
@@ -5809,8 +5820,8 @@ class ms extends r.Component {
|
|
|
5809
5820
|
a
|
|
5810
5821
|
));
|
|
5811
5822
|
}, this.handleReject = (e) => {
|
|
5812
|
-
this.setState({ dateValue: this.props.value, timeValue: this.props.value ||
|
|
5813
|
-
const i = this.mergeDate(this.props.value, this.props.value ||
|
|
5823
|
+
this.setState({ dateValue: this.props.value, timeValue: this.props.value || H });
|
|
5824
|
+
const i = this.mergeDate(this.props.value, this.props.value || H);
|
|
5814
5825
|
if (this.props.onReject) {
|
|
5815
5826
|
const a = {
|
|
5816
5827
|
nativeEvent: e.nativeEvent,
|
|
@@ -5878,7 +5889,7 @@ class ms extends r.Component {
|
|
|
5878
5889
|
}, this.state = {
|
|
5879
5890
|
tab: "date",
|
|
5880
5891
|
dateValue: this.props.value,
|
|
5881
|
-
timeValue: this.props.value ||
|
|
5892
|
+
timeValue: this.props.value || H
|
|
5882
5893
|
};
|
|
5883
5894
|
}
|
|
5884
5895
|
get calendar() {
|
|
@@ -5891,7 +5902,7 @@ class ms extends r.Component {
|
|
|
5891
5902
|
return this.state.dateValue !== null;
|
|
5892
5903
|
}
|
|
5893
5904
|
get localizationService() {
|
|
5894
|
-
return
|
|
5905
|
+
return W(this);
|
|
5895
5906
|
}
|
|
5896
5907
|
componentDidUpdate() {
|
|
5897
5908
|
this.shouldFocusPart && this.focus({ preventScroll: !0 }), this.shouldFocusPart = !1;
|
|
@@ -5913,7 +5924,7 @@ class ms extends r.Component {
|
|
|
5913
5924
|
"k-disabled": t
|
|
5914
5925
|
},
|
|
5915
5926
|
"k-datetime-wrap"
|
|
5916
|
-
), d = this.localizationService.toLanguageString(Ge, T[Ge]), p = this.localizationService.toLanguageString(Xe, T[Xe]),
|
|
5927
|
+
), d = this.localizationService.toLanguageString(Ge, T[Ge]), p = this.localizationService.toLanguageString(Xe, T[Xe]), f = {
|
|
5917
5928
|
min: e,
|
|
5918
5929
|
max: i,
|
|
5919
5930
|
weekNumber: a,
|
|
@@ -5935,7 +5946,7 @@ class ms extends r.Component {
|
|
|
5935
5946
|
/* @__PURE__ */ r.createElement("div", { className: "k-datetime-buttongroup" }, /* @__PURE__ */ r.createElement(ni, { width: "100%" }, /* @__PURE__ */ r.createElement(
|
|
5936
5947
|
N,
|
|
5937
5948
|
{
|
|
5938
|
-
ref: (
|
|
5949
|
+
ref: (m) => this._dateButtonRef = m,
|
|
5939
5950
|
type: "button",
|
|
5940
5951
|
selected: this.state.tab === "date",
|
|
5941
5952
|
togglable: !0,
|
|
@@ -5954,13 +5965,13 @@ class ms extends r.Component {
|
|
|
5954
5965
|
},
|
|
5955
5966
|
p
|
|
5956
5967
|
))),
|
|
5957
|
-
/* @__PURE__ */ r.createElement("div", { className: "k-datetime-selector" }, /* @__PURE__ */ r.createElement("div", { className: "k-datetime-calendar-wrap", ref: (
|
|
5968
|
+
/* @__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, { ...f }) : /* @__PURE__ */ r.createElement(
|
|
5958
5969
|
as,
|
|
5959
5970
|
{
|
|
5960
|
-
ref: (
|
|
5961
|
-
this._calendar =
|
|
5971
|
+
ref: (m) => {
|
|
5972
|
+
this._calendar = m;
|
|
5962
5973
|
},
|
|
5963
|
-
...
|
|
5974
|
+
...f
|
|
5964
5975
|
}
|
|
5965
5976
|
)), /* @__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(
|
|
5966
5977
|
_t,
|
|
@@ -5968,8 +5979,8 @@ class ms extends r.Component {
|
|
|
5968
5979
|
key: 1,
|
|
5969
5980
|
onNowClick: this.handleNowClick,
|
|
5970
5981
|
disabled: t || this.state.tab !== "time",
|
|
5971
|
-
ref: (
|
|
5972
|
-
this._timePart =
|
|
5982
|
+
ref: (m) => {
|
|
5983
|
+
this._timePart = m;
|
|
5973
5984
|
},
|
|
5974
5985
|
min: this.minTime || Nt,
|
|
5975
5986
|
max: this.maxTime || xt,
|
|
@@ -5991,7 +6002,7 @@ class ms extends r.Component {
|
|
|
5991
6002
|
return this.props.maxTime !== void 0 ? this.props.maxTime : this.normalizeRange(this.props.max, this.state.dateValue);
|
|
5992
6003
|
}
|
|
5993
6004
|
normalizeRange(t, e) {
|
|
5994
|
-
return wt(t, e ||
|
|
6005
|
+
return wt(t, e || L()) ? t : null;
|
|
5995
6006
|
}
|
|
5996
6007
|
hasActiveButton() {
|
|
5997
6008
|
if (!this._acceptButton)
|
|
@@ -6000,10 +6011,10 @@ class ms extends r.Component {
|
|
|
6000
6011
|
return this._acceptButton && t === this._acceptButton.element || this._cancelButton && t === this._cancelButton.element;
|
|
6001
6012
|
}
|
|
6002
6013
|
mergeTime(t, e) {
|
|
6003
|
-
return t && e ?
|
|
6014
|
+
return t && e ? U(e, t) : e;
|
|
6004
6015
|
}
|
|
6005
6016
|
mergeDate(t, e) {
|
|
6006
|
-
return t ?
|
|
6017
|
+
return t ? U(t || L(), e) : e;
|
|
6007
6018
|
}
|
|
6008
6019
|
}
|
|
6009
6020
|
ms.defaultProps = {
|
|
@@ -6051,7 +6062,7 @@ const et = class extends r.Component {
|
|
|
6051
6062
|
}
|
|
6052
6063
|
);
|
|
6053
6064
|
}, this.renderAdaptivePopup = () => {
|
|
6054
|
-
const { windowWidth: t = 0 } = this.state, e =
|
|
6065
|
+
const { windowWidth: t = 0 } = this.state, e = W(this).toLanguageString($t, T[$t]), i = W(this).toLanguageString(Yt, T[Yt]), a = {
|
|
6055
6066
|
expand: this.show,
|
|
6056
6067
|
onClose: this.handleBlur,
|
|
6057
6068
|
adaptiveTitle: this.props.adaptiveTitle,
|
|
@@ -6224,20 +6235,20 @@ const et = class extends r.Component {
|
|
|
6224
6235
|
min: u,
|
|
6225
6236
|
max: d,
|
|
6226
6237
|
className: p,
|
|
6227
|
-
width:
|
|
6228
|
-
name:
|
|
6238
|
+
width: f,
|
|
6239
|
+
name: m,
|
|
6229
6240
|
validationMessage: S,
|
|
6230
6241
|
required: I,
|
|
6231
6242
|
validityStyles: M,
|
|
6232
6243
|
minTime: w,
|
|
6233
6244
|
maxTime: E,
|
|
6234
6245
|
ariaLabelledBy: g,
|
|
6235
|
-
ariaDescribedBy:
|
|
6246
|
+
ariaDescribedBy: B,
|
|
6236
6247
|
popup: V = be
|
|
6237
|
-
} = this.props, R = !this.validityStyles || this.validity.valid,
|
|
6248
|
+
} = this.props, R = !this.validityStyles || this.validity.valid, A = {
|
|
6238
6249
|
id: l,
|
|
6239
6250
|
ariaLabelledBy: g,
|
|
6240
|
-
ariaDescribedBy:
|
|
6251
|
+
ariaDescribedBy: B,
|
|
6241
6252
|
format: c,
|
|
6242
6253
|
formatPlaceholder: h,
|
|
6243
6254
|
disabled: i,
|
|
@@ -6249,7 +6260,7 @@ const et = class extends r.Component {
|
|
|
6249
6260
|
max: d,
|
|
6250
6261
|
minTime: w,
|
|
6251
6262
|
maxTime: E,
|
|
6252
|
-
name:
|
|
6263
|
+
name: m,
|
|
6253
6264
|
tabIndex: this.show ? -1 : a,
|
|
6254
6265
|
valid: this.validity.valid,
|
|
6255
6266
|
value: this.value,
|
|
@@ -6289,7 +6300,7 @@ const et = class extends r.Component {
|
|
|
6289
6300
|
p
|
|
6290
6301
|
),
|
|
6291
6302
|
onKeyDown: this.handleKeyDown,
|
|
6292
|
-
style: { width:
|
|
6303
|
+
style: { width: f },
|
|
6293
6304
|
onFocus: this.mobileMode ? void 0 : O,
|
|
6294
6305
|
onBlur: tt,
|
|
6295
6306
|
onClick: this.mobileMode ? this.handleDateIconClick : void 0
|
|
@@ -6301,7 +6312,7 @@ const et = class extends r.Component {
|
|
|
6301
6312
|
ariaRole: "combobox",
|
|
6302
6313
|
ariaControls: this._popupId,
|
|
6303
6314
|
readonly: this.mobileMode,
|
|
6304
|
-
...
|
|
6315
|
+
...A
|
|
6305
6316
|
}
|
|
6306
6317
|
),
|
|
6307
6318
|
/* @__PURE__ */ r.createElement(
|
|
@@ -6313,10 +6324,10 @@ const et = class extends r.Component {
|
|
|
6313
6324
|
svgIcon: Fs,
|
|
6314
6325
|
onMouseDown: this.handleIconMouseDown,
|
|
6315
6326
|
onClick: this.mobileMode ? void 0 : this.handleDateIconClick,
|
|
6316
|
-
title:
|
|
6327
|
+
title: W(this).toLanguageString(Bt, T[Bt]),
|
|
6317
6328
|
className: "k-input-button",
|
|
6318
6329
|
rounded: null,
|
|
6319
|
-
"aria-label":
|
|
6330
|
+
"aria-label": W(this).toLanguageString(Bt, T[Bt])
|
|
6320
6331
|
}
|
|
6321
6332
|
),
|
|
6322
6333
|
/* @__PURE__ */ r.createElement(
|
|
@@ -6483,7 +6494,7 @@ export {
|
|
|
6483
6494
|
ee as DateTimePickerWithoutContext,
|
|
6484
6495
|
Ln as DayPeriodService,
|
|
6485
6496
|
Ri as DecadeViewService,
|
|
6486
|
-
|
|
6497
|
+
q as EMPTY_SELECTIONRANGE,
|
|
6487
6498
|
Zt as Header,
|
|
6488
6499
|
At as HorizontalViewList,
|
|
6489
6500
|
Wn as HoursService,
|
|
@@ -6516,7 +6527,7 @@ export {
|
|
|
6516
6527
|
Lt as decreaseValue,
|
|
6517
6528
|
$e as end,
|
|
6518
6529
|
Vt as getNow,
|
|
6519
|
-
|
|
6530
|
+
L as getToday,
|
|
6520
6531
|
Ft as increaseValue,
|
|
6521
6532
|
Ye as separator,
|
|
6522
6533
|
Ue as start,
|