@progress/kendo-react-scheduler 7.1.0-develop.1 → 7.1.0-develop.11
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/Scheduler.d.ts +11 -0
- package/components/DateHeaderCell.d.ts +4 -0
- package/components/SchedulerForm.d.ts +4 -0
- package/components/TimeHeaderCell.d.ts +4 -0
- package/dist/cdn/js/kendo-react-scheduler.js +1 -1
- package/editors/SchedulerFormEditor.d.ts +253 -1
- package/index.d.ts +22 -22
- package/index.js +1 -1
- package/index.mjs +167 -146
- package/items/SchedulerEditItem.d.ts +93 -6
- package/items/SchedulerProportionalViewItem.d.ts +4 -0
- package/items/SchedulerViewItem.d.ts +4 -1
- package/package.json +10 -10
- package/slots/SchedulerEditSlot.d.ts +4 -0
- package/slots/SchedulerSlot.d.ts +4 -0
- package/slots/SchedulerViewSlot.d.ts +5 -1
- package/tasks/SchedulerEditTask.d.ts +5 -0
- package/tasks/SchedulerViewTask.d.ts +3 -0
- package/views/common/SchedulerDrag.d.ts +4 -0
- package/views/common/SchedulerResize.d.ts +4 -0
package/index.mjs
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
import * as t from "react";
|
|
7
7
|
import q from "prop-types";
|
|
8
8
|
import { ZonedDate as te, getDate as Ze, MS_PER_DAY as qe, toLocalDate as Ir, timezoneNames as Io, cloneDate as To, Day as ct, addDays as gt, firstDayInWeek as yn, firstDayOfMonth as xo, lastDayOfMonth as Mo, MS_PER_MINUTE as zo, addMonths as Ca } from "@progress/kendo-date-math";
|
|
9
|
-
import { getter as xe, setter as Ao, classNames as he, useWindow as Ka, useAsyncFocusBlur as No, noop as
|
|
9
|
+
import { getter as xe, setter as Ao, classNames as he, useWindow as Ka, useAsyncFocusBlur as No, noop as $e, IconWrap as ze, COLLECTION_ACTION as vn, useCollection as ba, clone as se, canUseDOM as Tr, Keys as Ke, useDir as tn, useDraggable as Ut, useId as Fo, validatePackage as _o, shouldShowValidationUI as Lo, useRtl as Oo, WatermarkOverlay as Po } from "@progress/kendo-react-common";
|
|
10
10
|
import { orderBy as Ua, filterBy as po } from "@progress/kendo-data-query";
|
|
11
11
|
import { useInternationalization as Ge, useLocalization as _e } from "@progress/kendo-react-intl";
|
|
12
|
-
import { Toolbar as
|
|
12
|
+
import { Toolbar as Ba, ToolbarItem as xr, Button as Ie, DropDownButton as Wo, ButtonGroup as Mr, ToolbarSpacer as Ho } from "@progress/kendo-react-buttons";
|
|
13
13
|
import { Calendar as Vo, DatePicker as Kn, DateTimePicker as Un } from "@progress/kendo-react-dateinputs";
|
|
14
14
|
import { Popup as Ko } from "@progress/kendo-react-popup";
|
|
15
|
-
import { calendarIcon as Uo, caretAltDownIcon as
|
|
15
|
+
import { calendarIcon as Uo, caretAltDownIcon as Bo, saveIcon as $o, cancelIcon as Go, xIcon as $a, caretAltLeftIcon as Rt, caretAltRightIcon as It, arrowRotateCwIcon as zr, arrowsNoRepeatIcon as Ga, moreHorizontalIcon as Yo, clockIcon as qo, nonRecurrenceIcon as Zo } from "@progress/kendo-svg-icons";
|
|
16
16
|
import * as Cn from "react-dom";
|
|
17
17
|
import { FieldWrapper as be, Field as ue, FormElement as Xo, Form as jo } from "@progress/kendo-react-form";
|
|
18
18
|
import { DialogActionsBar as Ar, Dialog as Nr } from "@progress/kendo-react-dialogs";
|
|
@@ -64,7 +64,7 @@ const Za = (e, n = e.length - 1) => {
|
|
|
64
64
|
for (let s = 0; s < l; s++)
|
|
65
65
|
a[s % c] && o.push(a[s % c]);
|
|
66
66
|
return o;
|
|
67
|
-
},
|
|
67
|
+
}, Be = (e) => {
|
|
68
68
|
if (!e)
|
|
69
69
|
return { top: 0, left: 0, width: 0, height: 0, right: 0 };
|
|
70
70
|
const n = e.offsetTop, r = e.offsetLeft, o = e.offsetParent ? e.offsetParent.offsetWidth - (e.offsetLeft + e.offsetWidth) : 0, a = e.offsetWidth, c = e.offsetHeight;
|
|
@@ -77,13 +77,13 @@ const Za = (e, n = e.length - 1) => {
|
|
|
77
77
|
};
|
|
78
78
|
}, _r = (e, n = !1) => parseFloat(window.getComputedStyle(e)[n ? "paddingLeft" : "paddingTop"] || "0") + parseFloat(window.getComputedStyle(e)[n ? "paddingRight" : "paddingBottom"] || "0"), ac = (e, n = !1) => parseFloat(window.getComputedStyle(e)[n ? "borderLeftWidth" : "borderTopWidth"] || "0") + parseFloat(window.getComputedStyle(e)[n ? "borderRightWidth" : "borderBottomWidth"] || "0"), _t = (e, n, r = !1) => {
|
|
79
79
|
e && (n.top !== void 0 && (e.style.top = `${n.top}px`), n.left !== void 0 && (e.style.left = `${n.left}px`), n.width !== void 0 && (e.style.width = `${n.width}px`), n.height !== void 0 && !r && (e.style.height = typeof n.height == "number" ? `${n.height}px` : n.height), r && (e.style.minHeight = n.height !== void 0 && n.height > 0 ? `${n.height}px` : ""));
|
|
80
|
-
}, lc = 1e3,
|
|
80
|
+
}, lc = 1e3, Bn = 60 * lc, Re = 1, rt = 7, oc = [{}], cc = {
|
|
81
81
|
index: 0,
|
|
82
82
|
resources: []
|
|
83
83
|
}, Ra = new Date(1900, 0, 1), Ia = new Date(2099, 11, 31);
|
|
84
84
|
te.fromLocalDate(Ra), te.fromLocalDate(Ia);
|
|
85
85
|
var Ae = /* @__PURE__ */ ((e) => (e[e.create = 0] = "create", e[e.update = 1] = "update", e[e.remove = 2] = "remove", e))(Ae || {});
|
|
86
|
-
const Et = (e) => e[0],
|
|
86
|
+
const Et = (e) => e[0], Bt = (e) => e[e.length - 1], sc = (e) => {
|
|
87
87
|
const n = /* @__PURE__ */ new Set();
|
|
88
88
|
return e.forEach((r) => {
|
|
89
89
|
n.add(r.field);
|
|
@@ -177,7 +177,7 @@ const ht = (e, n, r) => {
|
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
}), a;
|
|
180
|
-
},
|
|
180
|
+
}, $t = (e, n, r = !1) => {
|
|
181
181
|
n.forEach((o) => o.items.splice(0, o.items.length)), n.forEach((o) => {
|
|
182
182
|
const a = [];
|
|
183
183
|
e.forEach((c) => {
|
|
@@ -227,10 +227,10 @@ const Vr = t.createContext({ start: /* @__PURE__ */ new Date(), end: /* @__PURE_
|
|
|
227
227
|
Vr.displayName = "SchedulerDateRangeContext";
|
|
228
228
|
const Kr = t.createContext(null), Ur = () => t.useContext(Kr);
|
|
229
229
|
Kr.displayName = "SchedulerOrientationContext";
|
|
230
|
-
const
|
|
231
|
-
|
|
232
|
-
const
|
|
233
|
-
|
|
230
|
+
const Br = t.createContext([/* @__PURE__ */ new Date(), dt]), nl = () => t.useContext(Br);
|
|
231
|
+
Br.displayName = "SchedulerDateContext";
|
|
232
|
+
const $r = t.createContext([[], dt]), Lt = () => t.useContext($r);
|
|
233
|
+
$r.displayName = "SchedulerDataContext";
|
|
234
234
|
const Gr = t.createContext(["day", dt]), Yr = () => t.useContext(Gr);
|
|
235
235
|
Gr.displayName = "SchedulerActiveViewContext";
|
|
236
236
|
const qr = t.createContext([null, () => {
|
|
@@ -250,7 +250,7 @@ const yc = ({
|
|
|
250
250
|
data: u,
|
|
251
251
|
activeView: m,
|
|
252
252
|
selection: g
|
|
253
|
-
}) => /* @__PURE__ */ t.createElement(Or.Provider, { value: n }, /* @__PURE__ */ t.createElement(bn.Provider, { value: r }, /* @__PURE__ */ t.createElement(Pr.Provider, { value: o }, /* @__PURE__ */ t.createElement(pr.Provider, { value: a }, /* @__PURE__ */ t.createElement(Wr.Provider, { value: s }, /* @__PURE__ */ t.createElement(Hr.Provider, { value: c }, /* @__PURE__ */ t.createElement(Vr.Provider, { value: l }, /* @__PURE__ */ t.createElement(Kr.Provider, { value: i }, /* @__PURE__ */ t.createElement(
|
|
253
|
+
}) => /* @__PURE__ */ t.createElement(Or.Provider, { value: n }, /* @__PURE__ */ t.createElement(bn.Provider, { value: r }, /* @__PURE__ */ t.createElement(Pr.Provider, { value: o }, /* @__PURE__ */ t.createElement(pr.Provider, { value: a }, /* @__PURE__ */ t.createElement(Wr.Provider, { value: s }, /* @__PURE__ */ t.createElement(Hr.Provider, { value: c }, /* @__PURE__ */ t.createElement(Vr.Provider, { value: l }, /* @__PURE__ */ t.createElement(Kr.Provider, { value: i }, /* @__PURE__ */ t.createElement(Br.Provider, { value: d }, /* @__PURE__ */ t.createElement($r.Provider, { value: u }, /* @__PURE__ */ t.createElement(Gr.Provider, { value: m }, /* @__PURE__ */ t.createElement(qr.Provider, { value: g }, e)))))))))))), Ne = (e, n, r) => {
|
|
254
254
|
const [o, a] = t.useState(n || e), c = t.useCallback(
|
|
255
255
|
(l, s) => {
|
|
256
256
|
a(l), r && r.call(void 0, { ...s, value: l });
|
|
@@ -266,7 +266,7 @@ const yc = ({
|
|
|
266
266
|
t.useImperativeHandle(c, () => ({ element: a.current, props: e })), t.useImperativeHandle(n, () => c.current);
|
|
267
267
|
const l = t.useMemo(() => he("k-scheduler-toolbar", r), [r]);
|
|
268
268
|
return /* @__PURE__ */ t.createElement(
|
|
269
|
-
|
|
269
|
+
Ba,
|
|
270
270
|
{
|
|
271
271
|
id: e.id,
|
|
272
272
|
ref: (s) => {
|
|
@@ -324,7 +324,7 @@ const vc = t.forwardRef((e, n) => {
|
|
|
324
324
|
t.useImperativeHandle(c, () => ({ element: l.current, props: e })), t.useImperativeHandle(n, () => c.current);
|
|
325
325
|
const s = t.useMemo(() => he("k-scheduler-footer", e.className), [e.className]);
|
|
326
326
|
return /* @__PURE__ */ t.createElement(
|
|
327
|
-
|
|
327
|
+
Ba,
|
|
328
328
|
{
|
|
329
329
|
ref: (i) => {
|
|
330
330
|
i && (l.current = i.element);
|
|
@@ -335,11 +335,11 @@ const vc = t.forwardRef((e, n) => {
|
|
|
335
335
|
},
|
|
336
336
|
e.children
|
|
337
337
|
);
|
|
338
|
-
}),
|
|
338
|
+
}), $n = "scheduler.allEvents", Gt = "scheduler.allDay", Gn = "scheduler.today", Yn = "scheduler.timelineViewTitle", qn = "scheduler.weekViewTitle", Zn = "scheduler.workWeekViewTitle", Xn = "scheduler.agendaViewTitle", jn = "scheduler.dayViewTitle", Qn = "scheduler.monthViewTitle", Yt = "scheduler.deleteTitle", Jn = "scheduler.previousTitle", er = "scheduler.nextTitle", tr = "scheduler.showFullDay", nr = "scheduler.showWorkDay", ll = "scheduler.editOccurrence", ol = "scheduler.editSeries", cl = "scheduler.editRecurringConfirmation", sl = "scheduler.editRecurringDialogTitle", rr = "scheduler.editSave", qt = "scheduler.editCancel", ar = "scheduler.editorTitle", lr = "scheduler.editorEventTitle", or = "scheduler.editorEventStart", cr = "scheduler.editorEventStartTimeZone", sr = "scheduler.editorEventEnd", ir = "scheduler.editorEventEndTimeZone", dr = "scheduler.editorEventAllDay", ur = "scheduler.editorEventDescription", mr = "scheduler.editorEventSeparateTimeZones", hr = "scheduler.editorEventTimeZone", fr = "scheduler.recurrenceEditorRepeat", kc = "scheduler.recurrenceEditorDailyInterval", Dc = "scheduler.recurrenceEditorDailyRepeatEvery", Sc = "scheduler.recurrenceEditorWeeklyInterval", wc = "scheduler.recurrenceEditorWeeklyRepeatEvery", il = "scheduler.recurrenceEditorWeeklyRepeatOn", dl = "scheduler.recurrenceEditorMonthlyDay", Cc = "scheduler.recurrenceEditorMonthlyInterval", bc = "scheduler.recurrenceEditorMonthlyRepeatEvery", ul = "scheduler.recurrenceEditorMonthlyRepeatOn", ml = "scheduler.recurrenceEditorYearlyOf", Rc = "scheduler.recurrenceEditorYearlyRepeatEvery", hl = "scheduler.recurrenceEditorYearlyRepeatOn", Ic = "scheduler.recurrenceEditorYearlyInterval", Tc = "scheduler.recurrenceEditorFrequenciesDaily", xc = "scheduler.recurrenceEditorFrequenciesMonthly", Mc = "scheduler.recurrenceEditorFrequenciesNever", zc = "scheduler.recurrenceEditorFrequenciesWeekly", Ac = "scheduler.recurrenceEditorFrequenciesYearly", Nc = "scheduler.recurrenceEditorOffsetPositionsFirst", Fc = "scheduler.recurrenceEditorOffsetPositionsSecond", _c = "scheduler.recurrenceEditorOffsetPositionsThird", Lc = "scheduler.recurrenceEditorOffsetPositionsFourth", Oc = "scheduler.recurrenceEditorOffsetPositionsLast", Pc = "scheduler.recurrenceEditorWeekdaysDay", pc = "scheduler.recurrenceEditorWeekdaysWeekday", Wc = "scheduler.recurrenceEditorWeekdaysWeekendday", fl = "scheduler.recurrenceEditorEndAfter", gl = "scheduler.recurrenceEditorEndOccurrence", El = "scheduler.recurrenceEditorEndLabel", yl = "scheduler.recurrenceEditorEndNever", vl = "scheduler.recurrenceEditorEndOn", gr = "scheduler.editorDelete", Er = "scheduler.deleteConfirmation", kl = "scheduler.deleteRecurringConfirmation", Dl = "scheduler.deleteOccurrence", Sl = "scheduler.deleteSeries", yr = "scheduler.deleteDialogTitle", wl = "scheduler.deleteRecurringDialogTitle", vr = "scheduler.dateTitle", kr = "scheduler.timeTitle", Dr = "scheduler.eventTitle", Zt = "scheduler.editorValidationRequired", Sr = "scheduler.editorValidationStart", wr = "scheduler.editorValidationEnd", Cr = "scheduler.noEvents", br = "scheduler.moreEvents", j = {
|
|
339
339
|
[Zt]: "Field is required.",
|
|
340
340
|
[Sr]: "Start time must be before End time.",
|
|
341
341
|
[wr]: "End time must be after Start time.",
|
|
342
|
-
[
|
|
342
|
+
[$n]: "All events",
|
|
343
343
|
[Gt]: "all day",
|
|
344
344
|
[Gn]: "Today",
|
|
345
345
|
[jn]: "Day",
|
|
@@ -507,17 +507,17 @@ const vc = t.forwardRef((e, n) => {
|
|
|
507
507
|
Cl.displayName = "KendoReactSchedulerNavigationDatePicker";
|
|
508
508
|
const Xr = t.createContext([null]), ld = () => t.useContext(Xr);
|
|
509
509
|
Xr.displayName = "SchedulerEditItemPropsContext";
|
|
510
|
-
const jr = t.createContext([null,
|
|
510
|
+
const jr = t.createContext([null, $e, $e]), od = () => t.useContext(jr);
|
|
511
511
|
jr.displayName = "SchedulerEditItemFormItemContext";
|
|
512
|
-
const Qr = t.createContext([null,
|
|
512
|
+
const Qr = t.createContext([null, $e, $e]), cd = () => t.useContext(Qr);
|
|
513
513
|
Qr.displayName = "SchedulerEditItemDragItemContext";
|
|
514
|
-
const Jr = t.createContext([null,
|
|
514
|
+
const Jr = t.createContext([null, $e, $e]), sd = () => t.useContext(Jr);
|
|
515
515
|
Jr.displayName = "SchedulerEditItemResizeItemContext";
|
|
516
|
-
const ea = t.createContext([null,
|
|
516
|
+
const ea = t.createContext([null, $e, $e]), id = () => t.useContext(ea);
|
|
517
517
|
ea.displayName = "SchedulerEditItemRemoveItemContext";
|
|
518
|
-
const ta = t.createContext([!1,
|
|
518
|
+
const ta = t.createContext([!1, $e, $e]), dd = () => t.useContext(ta);
|
|
519
519
|
ta.displayName = "SchedulerEditItemShowRemoveDialogContext";
|
|
520
|
-
const na = t.createContext([!1,
|
|
520
|
+
const na = t.createContext([!1, $e, $e]), ud = () => t.useContext(na);
|
|
521
521
|
na.displayName = "SchedulerEditItemShowOccurrenceDialogContext";
|
|
522
522
|
const Hc = ({
|
|
523
523
|
props: e,
|
|
@@ -536,7 +536,7 @@ const Vc = ({
|
|
|
536
536
|
props: e,
|
|
537
537
|
form: n,
|
|
538
538
|
children: r
|
|
539
|
-
}) => /* @__PURE__ */ t.createElement(ra.Provider, { value: e }, /* @__PURE__ */ t.createElement(aa.Provider, { value: n }, r)), Kc = t.createContext([null]), Uc = t.createContext([!1]),
|
|
539
|
+
}) => /* @__PURE__ */ t.createElement(ra.Provider, { value: e }, /* @__PURE__ */ t.createElement(aa.Provider, { value: n }, r)), Kc = t.createContext([null]), Uc = t.createContext([!1]), Bc = t.createContext([!1]), $c = (e) => /* @__PURE__ */ t.createElement(Kc.Provider, { value: e.remove }, /* @__PURE__ */ t.createElement(Uc.Provider, { value: e.showRemoveDialog }, /* @__PURE__ */ t.createElement(Bc.Provider, { value: e.showOccurrenceDialog }, e.children))), bl = t.createContext({});
|
|
540
540
|
bl.displayName = "SchedulerViewPropsContext";
|
|
541
541
|
const la = t.createContext([]), Rl = () => t.useContext(la);
|
|
542
542
|
la.displayName = "SchedulerViewRangesContext";
|
|
@@ -630,7 +630,7 @@ const qc = ({
|
|
|
630
630
|
selected: m.props.name === c,
|
|
631
631
|
title: typeof m.props.title == "function" ? m.props.title.call(void 0, i) : m.props.title
|
|
632
632
|
})),
|
|
633
|
-
text: /* @__PURE__ */ t.createElement(t.Fragment, null, typeof s.props.title == "function" ? s.props.title.call(void 0, i) : s.props.title, /* @__PURE__ */ t.createElement(ze, { name: "caret-alt-down", icon:
|
|
633
|
+
text: /* @__PURE__ */ t.createElement(t.Fragment, null, typeof s.props.title == "function" ? s.props.title.call(void 0, i) : s.props.title, /* @__PURE__ */ t.createElement(ze, { name: "caret-alt-down", icon: Bo }))
|
|
634
634
|
}
|
|
635
635
|
),
|
|
636
636
|
n === "desktop" && /* @__PURE__ */ t.createElement(t.Fragment, null, o.map((m) => /* @__PURE__ */ t.createElement(Zc, { key: m.props.name, view: m.props })))
|
|
@@ -713,7 +713,7 @@ const Xc = t.forwardRef((e, n) => {
|
|
|
713
713
|
g.forEach((y) => {
|
|
714
714
|
if (!y._ref.current)
|
|
715
715
|
return;
|
|
716
|
-
const { height: D } =
|
|
716
|
+
const { height: D } = Be(y._ref.current.element);
|
|
717
717
|
m += D;
|
|
718
718
|
});
|
|
719
719
|
const h = g.length * Re * 2 + m - (u || 0) + (typeof n == "object" && n.offsetTop ? n.offsetTop : 0) + (typeof n == "object" && n.offsetBottom ? n.offsetBottom : 0);
|
|
@@ -1120,8 +1120,8 @@ const za = (e) => {
|
|
|
1120
1120
|
return r.forEach((c) => {
|
|
1121
1121
|
o.forEach((l) => {
|
|
1122
1122
|
const s = l.zonedStart, i = l.zonedEnd, d = i.timezoneOffset - s.timezoneOffset;
|
|
1123
|
-
for (let u = s.clone(), m = 0, g = d < 0 ? d *
|
|
1124
|
-
const h = t.createRef(), y = u.clone(), D = u.addTime(n), C = (D.timezoneOffset - y.timezoneOffset) *
|
|
1123
|
+
for (let u = s.clone(), m = 0, g = d < 0 ? d * Bn * -1 : 0; u.getTime() < i.getTime(); m++, u = u.addTime(n)) {
|
|
1124
|
+
const h = t.createRef(), y = u.clone(), D = u.addTime(n), C = (D.timezoneOffset - y.timezoneOffset) * Bn, z = n <= Math.abs(C);
|
|
1125
1125
|
g && z && (g -= n, u = u.addTime(-n));
|
|
1126
1126
|
const x = new Date(y.getTime()), R = new Date(D.getTime()), P = {
|
|
1127
1127
|
_ref: h,
|
|
@@ -1820,17 +1820,17 @@ const Us = (e) => {
|
|
|
1820
1820
|
as: n = Gs.as,
|
|
1821
1821
|
...r
|
|
1822
1822
|
} = e, { timezone: o } = Xe(), a = (c) => {
|
|
1823
|
-
r.onChange && r.onChange({ value:
|
|
1823
|
+
r.onChange && r.onChange({ value: $s(c.target.value, o) });
|
|
1824
1824
|
};
|
|
1825
1825
|
return /* @__PURE__ */ t.createElement(
|
|
1826
1826
|
n,
|
|
1827
1827
|
{
|
|
1828
1828
|
...r,
|
|
1829
|
-
value:
|
|
1829
|
+
value: Bs(r.value, o),
|
|
1830
1830
|
onChange: a
|
|
1831
1831
|
}
|
|
1832
1832
|
);
|
|
1833
|
-
},
|
|
1833
|
+
}, Bs = (e, n) => e && Ir(te.fromLocalDate(e, n).toUTCDate()), $s = (e, n) => e && te.fromUTCDate(
|
|
1834
1834
|
new Date(Date.UTC(
|
|
1835
1835
|
e.getFullYear(),
|
|
1836
1836
|
e.getMonth(),
|
|
@@ -1880,7 +1880,7 @@ const Us = (e) => {
|
|
|
1880
1880
|
descriptionError: k = ce.descriptionError,
|
|
1881
1881
|
resourceLabel: E = ce.resourceLabel,
|
|
1882
1882
|
resourceEditor: M = ce.resourceEditor
|
|
1883
|
-
} = e, H = e.valueGetter(l.start) || /* @__PURE__ */ new Date(), Q = e.valueGetter(l.startTimezone) || i || "", ne = e.valueGetter(l.endTimezone) || i || "",
|
|
1883
|
+
} = e, H = e.valueGetter(l.start) || /* @__PURE__ */ new Date(), Q = e.valueGetter(l.startTimezone) || i || "", ne = e.valueGetter(l.endTimezone) || i || "", $ = t.useMemo(() => c.toLanguageString(Zt, j[Zt]), [c]), [re, de] = t.useState(!!e.valueGetter(l.startTimezone)), [fe, ae] = t.useState(!!e.valueGetter(l.endTimezone)), Te = t.useCallback(
|
|
1884
1884
|
(le) => {
|
|
1885
1885
|
le.value || (e.onChange(l.startTimezone, { value: null }), e.onChange(l.endTimezone, { value: null }), ae(le.value)), de(le.value);
|
|
1886
1886
|
},
|
|
@@ -1891,8 +1891,8 @@ const Us = (e) => {
|
|
|
1891
1891
|
},
|
|
1892
1892
|
[e.onChange]
|
|
1893
1893
|
), we = t.useCallback(
|
|
1894
|
-
(le) => le ? void 0 :
|
|
1895
|
-
[
|
|
1894
|
+
(le) => le ? void 0 : $,
|
|
1895
|
+
[$]
|
|
1896
1896
|
), Ee = t.useCallback(
|
|
1897
1897
|
(le, Le) => re ? we(Le(l.startTimezone)) : void 0,
|
|
1898
1898
|
[we, re, l.startTimezone]
|
|
@@ -2258,7 +2258,7 @@ const ga = t.forwardRef((e, n) => {
|
|
|
2258
2258
|
disabled: !b.allowSubmit,
|
|
2259
2259
|
onClick: b.onSubmit,
|
|
2260
2260
|
icon: "save",
|
|
2261
|
-
svgIcon:
|
|
2261
|
+
svgIcon: $o
|
|
2262
2262
|
},
|
|
2263
2263
|
y
|
|
2264
2264
|
), /* @__PURE__ */ t.createElement(
|
|
@@ -2722,7 +2722,7 @@ const on = t.forwardRef((e, n) => {
|
|
|
2722
2722
|
onResizeEndDrag: P,
|
|
2723
2723
|
onResizeRelease: _,
|
|
2724
2724
|
onResizeStartDrag: p
|
|
2725
|
-
} = e, { item: f, element: I } = Jc(e, n), b = tn(I), A = t.useRef(null), N = t.useRef(null), Z = t.useRef(null), F = t.useRef(null), V = Ot(e.editable), O = Ge(), S = _e().toLanguageString(Yt, j[Yt]), U = e.group.resources.find((
|
|
2725
|
+
} = e, { item: f, element: I } = Jc(e, n), b = tn(I), A = t.useRef(null), N = t.useRef(null), Z = t.useRef(null), F = t.useRef(null), V = Ot(e.editable), O = Ge(), S = _e().toLanguageString(Yt, j[Yt]), U = e.group.resources.find((B) => !!(B.colorField && B[B.colorField] !== "" && B[B.colorField] !== void 0)), k = U && U.colorField && U[U.colorField], E = e.tabIndex !== void 0 ? e.tabIndex === null ? void 0 : e.tabIndex : e.selected ? 0 : -1, M = t.useMemo(
|
|
2726
2726
|
() => he(
|
|
2727
2727
|
{
|
|
2728
2728
|
"k-event": !e.resizeHint,
|
|
@@ -2758,169 +2758,169 @@ const on = t.forwardRef((e, n) => {
|
|
|
2758
2758
|
}),
|
|
2759
2759
|
[k, e.style, e.resizeHint]
|
|
2760
2760
|
), ne = t.useCallback(
|
|
2761
|
-
(
|
|
2761
|
+
(B) => {
|
|
2762
2762
|
r && r.call(void 0, {
|
|
2763
|
-
syntheticEvent:
|
|
2763
|
+
syntheticEvent: B,
|
|
2764
2764
|
target: f.current
|
|
2765
2765
|
});
|
|
2766
2766
|
},
|
|
2767
2767
|
[r, f]
|
|
2768
|
-
),
|
|
2769
|
-
(
|
|
2768
|
+
), $ = t.useCallback(
|
|
2769
|
+
(B) => {
|
|
2770
2770
|
o && o.call(void 0, {
|
|
2771
|
-
syntheticEvent:
|
|
2771
|
+
syntheticEvent: B,
|
|
2772
2772
|
target: f.current
|
|
2773
2773
|
});
|
|
2774
2774
|
},
|
|
2775
2775
|
[o, f]
|
|
2776
2776
|
), re = t.useCallback(
|
|
2777
|
-
(
|
|
2777
|
+
(B) => {
|
|
2778
2778
|
a && a.call(void 0, {
|
|
2779
|
-
syntheticEvent:
|
|
2779
|
+
syntheticEvent: B,
|
|
2780
2780
|
target: f.current
|
|
2781
2781
|
});
|
|
2782
2782
|
},
|
|
2783
2783
|
[a, f]
|
|
2784
2784
|
), de = t.useCallback(
|
|
2785
|
-
(
|
|
2785
|
+
(B) => {
|
|
2786
2786
|
c && c.call(void 0, {
|
|
2787
|
-
syntheticEvent:
|
|
2787
|
+
syntheticEvent: B,
|
|
2788
2788
|
target: f.current
|
|
2789
2789
|
});
|
|
2790
2790
|
},
|
|
2791
2791
|
[c, f]
|
|
2792
2792
|
), fe = t.useCallback(
|
|
2793
|
-
(
|
|
2793
|
+
(B) => {
|
|
2794
2794
|
l && l.call(void 0, {
|
|
2795
|
-
syntheticEvent:
|
|
2795
|
+
syntheticEvent: B,
|
|
2796
2796
|
target: f.current
|
|
2797
2797
|
});
|
|
2798
2798
|
},
|
|
2799
2799
|
[l, f]
|
|
2800
2800
|
), ae = t.useCallback(
|
|
2801
|
-
(
|
|
2801
|
+
(B) => {
|
|
2802
2802
|
i && i.call(void 0, {
|
|
2803
|
-
syntheticEvent:
|
|
2803
|
+
syntheticEvent: B,
|
|
2804
2804
|
target: f.current
|
|
2805
2805
|
});
|
|
2806
2806
|
},
|
|
2807
2807
|
[i, f]
|
|
2808
2808
|
), Te = t.useCallback(
|
|
2809
|
-
(
|
|
2809
|
+
(B) => {
|
|
2810
2810
|
s && s.call(void 0, {
|
|
2811
|
-
syntheticEvent:
|
|
2811
|
+
syntheticEvent: B,
|
|
2812
2812
|
target: f.current
|
|
2813
2813
|
});
|
|
2814
2814
|
},
|
|
2815
2815
|
[s, f]
|
|
2816
2816
|
), ge = t.useCallback(
|
|
2817
|
-
(
|
|
2817
|
+
(B) => {
|
|
2818
2818
|
d && d.call(void 0, {
|
|
2819
|
-
syntheticEvent:
|
|
2819
|
+
syntheticEvent: B,
|
|
2820
2820
|
target: f.current
|
|
2821
2821
|
});
|
|
2822
2822
|
},
|
|
2823
2823
|
[d, f]
|
|
2824
2824
|
), we = t.useCallback(
|
|
2825
|
-
(
|
|
2825
|
+
(B) => {
|
|
2826
2826
|
u && u.call(void 0, {
|
|
2827
|
-
syntheticEvent:
|
|
2827
|
+
syntheticEvent: B,
|
|
2828
2828
|
target: f.current
|
|
2829
2829
|
});
|
|
2830
2830
|
},
|
|
2831
2831
|
[u, f]
|
|
2832
2832
|
), Ee = t.useCallback(
|
|
2833
|
-
(
|
|
2833
|
+
(B) => {
|
|
2834
2834
|
m && m.call(void 0, {
|
|
2835
|
-
syntheticEvent:
|
|
2835
|
+
syntheticEvent: B,
|
|
2836
2836
|
target: f.current
|
|
2837
2837
|
});
|
|
2838
2838
|
},
|
|
2839
2839
|
[m, f]
|
|
2840
2840
|
), He = t.useCallback(
|
|
2841
|
-
(
|
|
2841
|
+
(B) => {
|
|
2842
2842
|
g && g.call(void 0, {
|
|
2843
|
-
syntheticEvent:
|
|
2843
|
+
syntheticEvent: B,
|
|
2844
2844
|
target: f.current
|
|
2845
2845
|
});
|
|
2846
2846
|
},
|
|
2847
2847
|
[g, f]
|
|
2848
2848
|
), je = t.useCallback(
|
|
2849
|
-
(
|
|
2849
|
+
(B) => {
|
|
2850
2850
|
y && y.call(void 0, {
|
|
2851
|
-
syntheticEvent:
|
|
2851
|
+
syntheticEvent: B,
|
|
2852
2852
|
target: f.current
|
|
2853
2853
|
});
|
|
2854
2854
|
},
|
|
2855
2855
|
[y, f]
|
|
2856
2856
|
), le = t.useCallback(
|
|
2857
|
-
(
|
|
2857
|
+
(B) => {
|
|
2858
2858
|
D && D.call(void 0, {
|
|
2859
|
-
syntheticEvent:
|
|
2859
|
+
syntheticEvent: B,
|
|
2860
2860
|
target: f.current
|
|
2861
2861
|
});
|
|
2862
2862
|
},
|
|
2863
2863
|
[D, f]
|
|
2864
2864
|
), Le = t.useCallback(
|
|
2865
|
-
(
|
|
2865
|
+
(B) => {
|
|
2866
2866
|
h && h.call(void 0, {
|
|
2867
|
-
syntheticEvent:
|
|
2867
|
+
syntheticEvent: B,
|
|
2868
2868
|
target: f.current
|
|
2869
2869
|
});
|
|
2870
2870
|
},
|
|
2871
2871
|
[h, f]
|
|
2872
2872
|
), W = t.useCallback(
|
|
2873
|
-
(
|
|
2873
|
+
(B) => {
|
|
2874
2874
|
C && C.call(void 0, {
|
|
2875
|
-
dragEvent:
|
|
2875
|
+
dragEvent: B,
|
|
2876
2876
|
target: f.current
|
|
2877
2877
|
});
|
|
2878
2878
|
},
|
|
2879
2879
|
[C, f]
|
|
2880
2880
|
), oe = t.useCallback(
|
|
2881
|
-
(
|
|
2881
|
+
(B) => {
|
|
2882
2882
|
z && z.call(void 0, {
|
|
2883
|
-
dragEvent:
|
|
2883
|
+
dragEvent: B,
|
|
2884
2884
|
target: f.current
|
|
2885
2885
|
});
|
|
2886
2886
|
},
|
|
2887
2887
|
[z, f]
|
|
2888
2888
|
), ye = t.useCallback(
|
|
2889
|
-
(
|
|
2889
|
+
(B) => {
|
|
2890
2890
|
x && x.call(void 0, {
|
|
2891
|
-
dragEvent:
|
|
2891
|
+
dragEvent: B,
|
|
2892
2892
|
target: f.current
|
|
2893
2893
|
});
|
|
2894
2894
|
},
|
|
2895
2895
|
[x, f]
|
|
2896
2896
|
), ee = t.useCallback(
|
|
2897
|
-
(
|
|
2897
|
+
(B) => {
|
|
2898
2898
|
R && R.call(void 0, {
|
|
2899
|
-
dragEvent:
|
|
2899
|
+
dragEvent: B,
|
|
2900
2900
|
target: f.current
|
|
2901
2901
|
});
|
|
2902
2902
|
},
|
|
2903
2903
|
[R, f]
|
|
2904
2904
|
), ie = t.useCallback(
|
|
2905
|
-
(
|
|
2905
|
+
(B) => {
|
|
2906
2906
|
p && p.call(void 0, {
|
|
2907
|
-
dragEvent:
|
|
2907
|
+
dragEvent: B,
|
|
2908
2908
|
target: f.current
|
|
2909
2909
|
});
|
|
2910
2910
|
},
|
|
2911
2911
|
[p, f]
|
|
2912
2912
|
), De = t.useCallback(
|
|
2913
|
-
(
|
|
2913
|
+
(B) => {
|
|
2914
2914
|
P && P.call(void 0, {
|
|
2915
|
-
dragEvent:
|
|
2915
|
+
dragEvent: B,
|
|
2916
2916
|
target: f.current
|
|
2917
2917
|
});
|
|
2918
2918
|
},
|
|
2919
2919
|
[P, f]
|
|
2920
2920
|
), Ce = t.useCallback(
|
|
2921
|
-
(
|
|
2921
|
+
(B) => {
|
|
2922
2922
|
_ && _.call(void 0, {
|
|
2923
|
-
dragEvent:
|
|
2923
|
+
dragEvent: B,
|
|
2924
2924
|
target: f.current
|
|
2925
2925
|
});
|
|
2926
2926
|
},
|
|
@@ -2957,7 +2957,7 @@ const on = t.forwardRef((e, n) => {
|
|
|
2957
2957
|
role: "button",
|
|
2958
2958
|
"aria-label": H,
|
|
2959
2959
|
onFocus: ne,
|
|
2960
|
-
onBlur:
|
|
2960
|
+
onBlur: $,
|
|
2961
2961
|
onMouseUp: fe,
|
|
2962
2962
|
onMouseDown: re,
|
|
2963
2963
|
onClick: de,
|
|
@@ -2983,7 +2983,7 @@ const on = t.forwardRef((e, n) => {
|
|
|
2983
2983
|
"aria-label": S,
|
|
2984
2984
|
onClick: He
|
|
2985
2985
|
},
|
|
2986
|
-
/* @__PURE__ */ t.createElement(ze, { name: "x", icon:
|
|
2986
|
+
/* @__PURE__ */ t.createElement(ze, { name: "x", icon: $a })
|
|
2987
2987
|
), e.head && /* @__PURE__ */ t.createElement(
|
|
2988
2988
|
ze,
|
|
2989
2989
|
{
|
|
@@ -3033,7 +3033,7 @@ const Dn = t.forwardRef((e, n) => {
|
|
|
3033
3033
|
const S = Et(L);
|
|
3034
3034
|
if (!S.current || !s.current)
|
|
3035
3035
|
return;
|
|
3036
|
-
const U =
|
|
3036
|
+
const U = Be(S.current.element);
|
|
3037
3037
|
_t(s.current.element, U);
|
|
3038
3038
|
}, F = () => {
|
|
3039
3039
|
const L = s.current && s.current.element;
|
|
@@ -3047,20 +3047,20 @@ const Dn = t.forwardRef((e, n) => {
|
|
|
3047
3047
|
let H = e.dragHint || e.resizeHint ? b(S, e.dragHint ? k : E) : b(S, U);
|
|
3048
3048
|
const Q = A(S, U);
|
|
3049
3049
|
let ne = 0;
|
|
3050
|
-
const
|
|
3050
|
+
const $ = Be(L);
|
|
3051
3051
|
if (Q.forEach((de) => {
|
|
3052
3052
|
let fe = 0;
|
|
3053
3053
|
de.forEach((ae) => {
|
|
3054
3054
|
pe(ae.props.start, ae.props.end, e.start, e.end) && !(e.dragHint || e.resizeHint) && ae.props._maxSiblingsPerSlot && ae.props._maxSiblingsPerSlot > H && ae.element !== L && (H = ae.props._maxSiblingsPerSlot);
|
|
3055
|
-
const Te =
|
|
3056
|
-
ae.props.order !== null && ae.props.order < M && (fe = Te.top + Te.height -
|
|
3055
|
+
const Te = Be(ae.element);
|
|
3056
|
+
ae.props.order !== null && ae.props.order < M && (fe = Te.top + Te.height - $.top - Re * M + qs);
|
|
3057
3057
|
}), fe > ne && (ne = fe);
|
|
3058
3058
|
}), S.length === 0) {
|
|
3059
3059
|
z(!1);
|
|
3060
3060
|
return;
|
|
3061
3061
|
}
|
|
3062
3062
|
const re = u.add ? 20 : 0;
|
|
3063
|
-
|
|
3063
|
+
$.width = e.vertical ? $.width / H - Re - re / H : $.width * S.length - Re, $.height = e.vertical ? $.height * S.length - Re : (e.resizeHint || e.dragHint) && H <= 1 ? $.height : e.style && e.style.height ? e.style.height : 25, $.left = e.vertical ? $.left + M * $.width + Re * M : $.left, $.top = e.vertical ? $.top : $.top + ne + Re * M, _(H), _t(L, $), R(!0), z(!0);
|
|
3064
3064
|
}, V = t.useCallback(
|
|
3065
3065
|
(L) => {
|
|
3066
3066
|
const S = L && L[0], U = d.current;
|
|
@@ -3551,7 +3551,7 @@ const li = (e, n) => {
|
|
|
3551
3551
|
onPress: H,
|
|
3552
3552
|
onPressAction: Q,
|
|
3553
3553
|
onDrag: ne,
|
|
3554
|
-
onDragAction:
|
|
3554
|
+
onDragAction: $,
|
|
3555
3555
|
onRelease: re,
|
|
3556
3556
|
onReleaseAction: de,
|
|
3557
3557
|
onResizePress: fe,
|
|
@@ -3571,7 +3571,7 @@ const li = (e, n) => {
|
|
|
3571
3571
|
onKeyUp: ie,
|
|
3572
3572
|
onKeyUpAction: De,
|
|
3573
3573
|
onRemoveConfirm: Ce,
|
|
3574
|
-
onRemoveConfirmAction:
|
|
3574
|
+
onRemoveConfirmAction: B,
|
|
3575
3575
|
onFormSubmit: pt,
|
|
3576
3576
|
onFormSubmitAction: xn,
|
|
3577
3577
|
onCancel: Mn,
|
|
@@ -3735,13 +3735,13 @@ const li = (e, n) => {
|
|
|
3735
3735
|
[Q, H, e, K, J]
|
|
3736
3736
|
), fo = t.useCallback(
|
|
3737
3737
|
(w) => {
|
|
3738
|
-
if (
|
|
3739
|
-
const v =
|
|
3738
|
+
if ($) {
|
|
3739
|
+
const v = $(w, e, J);
|
|
3740
3740
|
v && (Array.isArray(v) ? v.filter(Boolean).map((T) => T && K[T.type]({ ...T, item: G }, w.dragEvent.originalEvent)) : K[v.type]({ ...v, item: G }, w.dragEvent.originalEvent));
|
|
3741
3741
|
}
|
|
3742
3742
|
ne && ne.call(void 0, w);
|
|
3743
3743
|
},
|
|
3744
|
-
[
|
|
3744
|
+
[$, ne, e, K, J]
|
|
3745
3745
|
), go = t.useCallback(
|
|
3746
3746
|
(w) => {
|
|
3747
3747
|
if (de) {
|
|
@@ -3843,13 +3843,13 @@ const li = (e, n) => {
|
|
|
3843
3843
|
[De, ie, e, J, K]
|
|
3844
3844
|
), Ro = t.useCallback(
|
|
3845
3845
|
(w) => {
|
|
3846
|
-
if (
|
|
3847
|
-
const v =
|
|
3846
|
+
if (B) {
|
|
3847
|
+
const v = B(w, e, J);
|
|
3848
3848
|
v && (Array.isArray(v) ? v.filter(Boolean).map((T) => T && K[T.type]({ ...T, item: G }, w.syntheticEvent)) : K[v.type]({ ...v, item: G }, w.syntheticEvent));
|
|
3849
3849
|
}
|
|
3850
3850
|
Ce && Ce.call(void 0, w);
|
|
3851
3851
|
},
|
|
3852
|
-
[
|
|
3852
|
+
[B, Ce, e, J, K]
|
|
3853
3853
|
);
|
|
3854
3854
|
return t.useEffect(() => {
|
|
3855
3855
|
const w = Nn.length && Nn[0].current === G.current;
|
|
@@ -4090,7 +4090,7 @@ const ci = (e) => {
|
|
|
4090
4090
|
let n = 0;
|
|
4091
4091
|
return e.forEach((r) => {
|
|
4092
4092
|
if (r.current) {
|
|
4093
|
-
const o =
|
|
4093
|
+
const o = Be(r.current.element);
|
|
4094
4094
|
n += o.width;
|
|
4095
4095
|
}
|
|
4096
4096
|
}), n;
|
|
@@ -4098,7 +4098,7 @@ const ci = (e) => {
|
|
|
4098
4098
|
let n = 0;
|
|
4099
4099
|
return e.forEach((r) => {
|
|
4100
4100
|
if (r.current) {
|
|
4101
|
-
const o =
|
|
4101
|
+
const o = Be(r.current.element);
|
|
4102
4102
|
n += o.height;
|
|
4103
4103
|
}
|
|
4104
4104
|
}), n;
|
|
@@ -4120,7 +4120,7 @@ const ci = (e) => {
|
|
|
4120
4120
|
const C = Et(D);
|
|
4121
4121
|
if (!C.current)
|
|
4122
4122
|
return;
|
|
4123
|
-
const z = e.vertical ? si(D) : ci(D), x =
|
|
4123
|
+
const z = e.vertical ? si(D) : ci(D), x = Be(C.current.element), R = Be(l.current), P = (e.vertical ? x.width : x.height) / (C.current.props.end.getTime() - C.current.props.start.getTime()), _ = (Date.now() - ii(/* @__PURE__ */ new Date(), C.current.props.start).getTime()) * P, p = u === "rtl", f = e.vertical ? x.top : x.top + _ - R.height / 2, I = p ? "right" : "left", b = e.vertical ? x[I] + _ - R.width / 2 : x[I];
|
|
4124
4124
|
e.vertical ? l.current.style[I] = `${b}px` : l.current.style.top = `${f}px`, s.current.style[I] = `${b}px`, s.current.style.top = `${f}px`, s.current.style[e.vertical ? "height" : "width"] = `${z - 1}px`, r(!0);
|
|
4125
4125
|
} else
|
|
4126
4126
|
r(!1);
|
|
@@ -4259,7 +4259,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4259
4259
|
), N = t.useMemo(
|
|
4260
4260
|
() => Qt(
|
|
4261
4261
|
_,
|
|
4262
|
-
{ step: u *
|
|
4262
|
+
{ step: u * Bn / d },
|
|
4263
4263
|
{ groups: x, ranges: b }
|
|
4264
4264
|
).filter((E) => f.getTime() === p.getTime() || Ue(E.zonedStart, p, f)),
|
|
4265
4265
|
[
|
|
@@ -4294,7 +4294,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4294
4294
|
),
|
|
4295
4295
|
[Z, r, x, b, p.getTime(), f.getTime()]
|
|
4296
4296
|
);
|
|
4297
|
-
t.useMemo(() => Tt(O, A, !1), [O, A]), t.useMemo(() =>
|
|
4297
|
+
t.useMemo(() => Tt(O, A, !1), [O, A]), t.useMemo(() => $t(O, A, !1), [O, A]), t.useMemo(() => Tt(L, N, !1), [L, N]), t.useMemo(() => $t(L, N, !1), [L, N]);
|
|
4298
4298
|
const S = /* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: E }) => /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row", key: E }, b.map((M, H) => /* @__PURE__ */ t.createElement(
|
|
4299
4299
|
Tn,
|
|
4300
4300
|
{
|
|
@@ -4308,7 +4308,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4308
4308
|
end: M.end,
|
|
4309
4309
|
format: { skeleton: "MEd" }
|
|
4310
4310
|
}
|
|
4311
|
-
)))), U = /* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: E }) => /* @__PURE__ */ t.createElement("div", { key: E, className: "k-scheduler-row" }, I.map((M, H) => A.filter((Q) => Q.group.index === E && Q.range.index === H).map((Q, ne,
|
|
4311
|
+
)))), U = /* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: E }) => /* @__PURE__ */ t.createElement("div", { key: E, className: "k-scheduler-row" }, I.map((M, H) => A.filter((Q) => Q.group.index === E && Q.range.index === H).map((Q, ne, $) => /* @__PURE__ */ t.createElement(
|
|
4312
4312
|
l,
|
|
4313
4313
|
{
|
|
4314
4314
|
...Q,
|
|
@@ -4318,7 +4318,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4318
4318
|
viewSlot: e.viewSlot,
|
|
4319
4319
|
key: `${Q.start.getTime()}:${Q.group.index}`,
|
|
4320
4320
|
row: 0,
|
|
4321
|
-
col: R === "horizontal" ?
|
|
4321
|
+
col: R === "horizontal" ? $.length * (E || 0) + ne : ne,
|
|
4322
4322
|
isWorkDay: 0 <= Q.zonedStart.getDay() + (i - m) && (Q.zonedStart.getDay() + (i - m)) % i <= g + (i - m),
|
|
4323
4323
|
expandable: !0
|
|
4324
4324
|
}
|
|
@@ -4405,24 +4405,24 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4405
4405
|
}
|
|
4406
4406
|
)
|
|
4407
4407
|
},
|
|
4408
|
-
b.map((Q, ne) => N.filter((
|
|
4408
|
+
b.map((Q, ne) => N.filter(($) => $.index === E.index && $.range.index === ne && $.group.index === H).map(($) => /* @__PURE__ */ t.createElement(
|
|
4409
4409
|
l,
|
|
4410
4410
|
{
|
|
4411
|
-
key: `${
|
|
4412
|
-
|
|
4411
|
+
key: `${$.start.getTime()}:${$.group.index}`,
|
|
4412
|
+
...$,
|
|
4413
4413
|
onDataAction: e.onDataAction,
|
|
4414
4414
|
slot: e.slot,
|
|
4415
4415
|
viewSlot: e.viewSlot,
|
|
4416
4416
|
form: e.form,
|
|
4417
4417
|
row: M + En,
|
|
4418
4418
|
col: b.length * (H || 0) + ne,
|
|
4419
|
-
isWorkHour: Ue(
|
|
4420
|
-
isWorkDay: ja(
|
|
4419
|
+
isWorkHour: Ue($.zonedStart, h, y),
|
|
4420
|
+
isWorkDay: ja($.zonedEnd.getDay(), m, g),
|
|
4421
4421
|
editable: e.editable
|
|
4422
4422
|
}
|
|
4423
4423
|
)))
|
|
4424
4424
|
))
|
|
4425
|
-
))), e.currentTimeMarker && pe(Et(b).start,
|
|
4425
|
+
))), e.currentTimeMarker && pe(Et(b).start, Bt(b).end, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date(), !0) && /* @__PURE__ */ t.createElement(Sn, null)) : /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
|
|
4426
4426
|
it,
|
|
4427
4427
|
{
|
|
4428
4428
|
nested: !0,
|
|
@@ -4431,7 +4431,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4431
4431
|
},
|
|
4432
4432
|
/* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: E }) => /* @__PURE__ */ t.createElement(t.Fragment, { key: E }, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement(Pn, { groupIndex: E }, I.map((M, H) => {
|
|
4433
4433
|
const Q = N.filter((ne) => ne.group.index === E && ne.range.index === gn).length;
|
|
4434
|
-
return A.filter((ne) => ne.group.index === E && ne.range.index === H).map((ne,
|
|
4434
|
+
return A.filter((ne) => ne.group.index === E && ne.range.index === H).map((ne, $) => /* @__PURE__ */ t.createElement(
|
|
4435
4435
|
l,
|
|
4436
4436
|
{
|
|
4437
4437
|
slot: e.slot,
|
|
@@ -4442,7 +4442,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4442
4442
|
key: `${ne.start.getTime()}:${ne.group.index}`,
|
|
4443
4443
|
className: "k-scheduler-alldays-slot",
|
|
4444
4444
|
row: Q * (E || 0) + (E || 0) * En,
|
|
4445
|
-
col:
|
|
4445
|
+
col: $,
|
|
4446
4446
|
expandable: !0
|
|
4447
4447
|
}
|
|
4448
4448
|
));
|
|
@@ -4455,7 +4455,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4455
4455
|
timeHeaderCell: e.timeHeaderCell
|
|
4456
4456
|
},
|
|
4457
4457
|
b.map(
|
|
4458
|
-
(ne,
|
|
4458
|
+
(ne, $) => N.filter((re) => re.index === M.index && re.group.index === E && re.range.index === $).map((re) => /* @__PURE__ */ t.createElement(
|
|
4459
4459
|
l,
|
|
4460
4460
|
{
|
|
4461
4461
|
slot: e.slot,
|
|
@@ -4465,14 +4465,14 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
|
|
|
4465
4465
|
...re,
|
|
4466
4466
|
key: `${re.start.getTime()}:${re.group.index}`,
|
|
4467
4467
|
row: Q.length * (E || 0) + H + (E || 0) * En + En,
|
|
4468
|
-
col:
|
|
4468
|
+
col: $,
|
|
4469
4469
|
editable: e.editable,
|
|
4470
4470
|
isWorkHour: Ue(re.zonedStart, h, y),
|
|
4471
4471
|
isWorkDay: 0 <= re.zonedStart.getDay() + (i - m) && (re.zonedStart.getDay() + (i - m)) % i <= g + (i - m)
|
|
4472
4472
|
}
|
|
4473
4473
|
))
|
|
4474
4474
|
)
|
|
4475
|
-
))), e.currentTimeMarker && pe(Et(b).start,
|
|
4475
|
+
))), e.currentTimeMarker && pe(Et(b).start, Bt(b).end, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date(), !0) && /* @__PURE__ */ t.createElement(Sn, { groupIndex: E })))
|
|
4476
4476
|
), O.map((E) => /* @__PURE__ */ t.createElement(
|
|
4477
4477
|
c,
|
|
4478
4478
|
{
|
|
@@ -4561,7 +4561,7 @@ const Ha = {
|
|
|
4561
4561
|
name: "@progress/kendo-react-scheduler",
|
|
4562
4562
|
productName: "KendoReact",
|
|
4563
4563
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
4564
|
-
publishDate:
|
|
4564
|
+
publishDate: 1706176246,
|
|
4565
4565
|
version: "",
|
|
4566
4566
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui"
|
|
4567
4567
|
}, pl = t.forwardRef((e, n) => {
|
|
@@ -4609,7 +4609,7 @@ const Ha = {
|
|
|
4609
4609
|
"aria-label": i,
|
|
4610
4610
|
onClick: m
|
|
4611
4611
|
},
|
|
4612
|
-
/* @__PURE__ */ t.createElement(ze, { name: "x", icon:
|
|
4612
|
+
/* @__PURE__ */ t.createElement(ze, { name: "x", icon: $a })
|
|
4613
4613
|
)
|
|
4614
4614
|
);
|
|
4615
4615
|
});
|
|
@@ -4718,7 +4718,7 @@ const Hl = t.forwardRef((e, n) => {
|
|
|
4718
4718
|
]
|
|
4719
4719
|
);
|
|
4720
4720
|
return /* @__PURE__ */ t.createElement(
|
|
4721
|
-
|
|
4721
|
+
$c,
|
|
4722
4722
|
{
|
|
4723
4723
|
remove: [I, S],
|
|
4724
4724
|
showRemoveDialog: [A, U],
|
|
@@ -4799,7 +4799,7 @@ const va = (e) => {
|
|
|
4799
4799
|
),
|
|
4800
4800
|
[e.className]
|
|
4801
4801
|
);
|
|
4802
|
-
return Xt({ element: l, selector: ".k-scheduler-datecolumn", explicitDepth: !1 }), Xt({ element: l, selector: ".k-scheduler-timecolumn", explicitDepth: !1 }), t.useMemo(() => Tt(z, D, !0), [z, D]), t.useMemo(() =>
|
|
4802
|
+
return Xt({ element: l, selector: ".k-scheduler-datecolumn", explicitDepth: !1 }), Xt({ element: l, selector: ".k-scheduler-timecolumn", explicitDepth: !1 }), t.useMemo(() => Tt(z, D, !0), [z, D]), t.useMemo(() => $t(z, D, !0), [z, D]), /* @__PURE__ */ t.createElement(
|
|
4803
4803
|
an,
|
|
4804
4804
|
{
|
|
4805
4805
|
ref: l,
|
|
@@ -4945,7 +4945,7 @@ const Di = { skeleton: "dd" }, ka = (e) => {
|
|
|
4945
4945
|
d
|
|
4946
4946
|
]
|
|
4947
4947
|
);
|
|
4948
|
-
t.useMemo(() => Tt(R, z, !0), [R, z]), t.useMemo(() =>
|
|
4948
|
+
t.useMemo(() => Tt(R, z, !0), [R, z]), t.useMemo(() => $t(R, z, !0), [R, z]);
|
|
4949
4949
|
const _ = /* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: f }) => /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row", key: f }, z.filter((I) => I.group.index === f && I.range.index === 0).map((I, b) => /* @__PURE__ */ t.createElement(
|
|
4950
4950
|
Tn,
|
|
4951
4951
|
{
|
|
@@ -5054,7 +5054,7 @@ const Ul = (e) => /* @__PURE__ */ t.createElement(
|
|
|
5054
5054
|
selectedShortDateFormat: "{0:d} - {1:d}"
|
|
5055
5055
|
};
|
|
5056
5056
|
Ul.displayName = "KendoReactSchedulerWeekView";
|
|
5057
|
-
const
|
|
5057
|
+
const Bl = (e) => {
|
|
5058
5058
|
const n = vt(), r = Math.round((n.end.getTime() - n.start.getTime()) / qe);
|
|
5059
5059
|
return /* @__PURE__ */ t.createElement(
|
|
5060
5060
|
cn,
|
|
@@ -5089,10 +5089,10 @@ const $l = (e) => {
|
|
|
5089
5089
|
selectedDateFormat: "{0:D} - {1:D}",
|
|
5090
5090
|
selectedShortDateFormat: "{0:d} - {1:d}"
|
|
5091
5091
|
};
|
|
5092
|
-
|
|
5092
|
+
Bl.displayName = "KendoReactSchedulerWorkWeekView";
|
|
5093
5093
|
const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-side-cell" }), Ai = (e) => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, zi), e.children), Ni = (e) => {
|
|
5094
5094
|
const n = _e();
|
|
5095
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day", "data-range-index": 0 }, n.toLanguageString(
|
|
5095
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day", "data-range-index": 0 }, n.toLanguageString($n, j[$n]))), e.children);
|
|
5096
5096
|
}, Fi = "t", _i = 0, Li = (e) => {
|
|
5097
5097
|
const {
|
|
5098
5098
|
group: n,
|
|
@@ -5152,7 +5152,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
|
|
|
5152
5152
|
),
|
|
5153
5153
|
[Z, r, m, A, I.getTime(), b.getTime()]
|
|
5154
5154
|
);
|
|
5155
|
-
t.useMemo(() => Tt(F, N, !0), [F, N]), t.useMemo(() =>
|
|
5155
|
+
t.useMemo(() => Tt(F, N, !0), [F, N]), t.useMemo(() => $t(F, N, !0), [F, N]);
|
|
5156
5156
|
const V = (u === "horizontal" ? N.length : N.length / m.length) * ((e.columnWidth || tt.columnWidth) + Re), O = /* @__PURE__ */ t.createElement(Me.Consumer, null, () => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, A.map((k, E) => /* @__PURE__ */ t.createElement(
|
|
5157
5157
|
Tn,
|
|
5158
5158
|
{
|
|
@@ -5176,7 +5176,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
|
|
|
5176
5176
|
}
|
|
5177
5177
|
) : null
|
|
5178
5178
|
))))), L = /* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: k }) => /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, A.map((E, M) => N.filter((H) => H.group.index === k && H.range.index === M).map((H, Q, ne) => {
|
|
5179
|
-
const
|
|
5179
|
+
const $ = te.fromUTCDate(Fe(H.zonedStart), r), re = ja($.getDay(), x, R);
|
|
5180
5180
|
return /* @__PURE__ */ t.createElement(
|
|
5181
5181
|
s,
|
|
5182
5182
|
{
|
|
@@ -5252,7 +5252,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
|
|
|
5252
5252
|
rowContent: Ni
|
|
5253
5253
|
},
|
|
5254
5254
|
L,
|
|
5255
|
-
/* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: k }) => e.currentTimeMarker && pe(Et(A).start,
|
|
5255
|
+
/* @__PURE__ */ t.createElement(Me.Consumer, null, ({ groupIndex: k }) => e.currentTimeMarker && pe(Et(A).start, Bt(A).end, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date(), !0) && /* @__PURE__ */ t.createElement(
|
|
5256
5256
|
Sn,
|
|
5257
5257
|
{
|
|
5258
5258
|
groupIndex: k,
|
|
@@ -5269,7 +5269,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
|
|
|
5269
5269
|
resources: o
|
|
5270
5270
|
},
|
|
5271
5271
|
L
|
|
5272
|
-
), u === "vertical" && e.currentTimeMarker && pe(Et(A).start,
|
|
5272
|
+
), u === "vertical" && e.currentTimeMarker && pe(Et(A).start, Bt(A).end, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date(), !0) && /* @__PURE__ */ t.createElement(
|
|
5273
5273
|
Sn,
|
|
5274
5274
|
{
|
|
5275
5275
|
attachArrow: a,
|
|
@@ -5320,7 +5320,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
|
|
|
5320
5320
|
// showCurrentTime: true // TODO: Phase 2
|
|
5321
5321
|
defaultShowWorkHours: !0,
|
|
5322
5322
|
columnWidth: 100
|
|
5323
|
-
},
|
|
5323
|
+
}, $l = (e) => /* @__PURE__ */ t.createElement(Li, { ...e }), Pi = {
|
|
5324
5324
|
...tt,
|
|
5325
5325
|
name: "timeline",
|
|
5326
5326
|
title: (e) => e.toLanguageString(Yn, j[Yn]),
|
|
@@ -5331,14 +5331,14 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
|
|
|
5331
5331
|
selectedDateFormat: "{0:D}",
|
|
5332
5332
|
selectedShortDateFormat: "{0:d}"
|
|
5333
5333
|
};
|
|
5334
|
-
|
|
5334
|
+
$l.displayName = "KendoReactSchedulerTimelineView";
|
|
5335
5335
|
const pi = "{0:D}", Wi = "{0:d}", Hi = "application", yt = /* @__PURE__ */ new Map();
|
|
5336
5336
|
yt.set(va, vi);
|
|
5337
5337
|
yt.set(wn, hi);
|
|
5338
5338
|
yt.set(ka, Kl);
|
|
5339
5339
|
yt.set(Ul, Ii);
|
|
5340
|
-
yt.set(
|
|
5341
|
-
yt.set(
|
|
5340
|
+
yt.set(Bl, Mi);
|
|
5341
|
+
yt.set($l, Pi);
|
|
5342
5342
|
const Gl = t.forwardRef((e, n) => {
|
|
5343
5343
|
var je, le, Le;
|
|
5344
5344
|
_o(Ha);
|
|
@@ -5398,16 +5398,16 @@ const Gl = t.forwardRef((e, n) => {
|
|
|
5398
5398
|
W.dataItem.map((ee) => {
|
|
5399
5399
|
const ie = Y(ee, u.recurrenceRule) !== null && Y(ee, u.recurrenceRule) !== void 0;
|
|
5400
5400
|
if (Y(ee, u.recurrenceId) !== null && Y(ee, u.recurrenceId) !== void 0 && ie) {
|
|
5401
|
-
const Ce = se(ht(ee, u, P)),
|
|
5402
|
-
X(Ce, u.recurrenceExceptions, [...pt,
|
|
5401
|
+
const Ce = se(ht(ee, u, P)), B = Y(ee, u.originalStart), pt = Y(Ce, u.recurrenceExceptions) || [];
|
|
5402
|
+
X(Ce, u.recurrenceExceptions, [...pt, B]), X(ee, u.recurrenceRule, null), ye.push(Ce), oe.push(ee);
|
|
5403
5403
|
} else
|
|
5404
5404
|
ye.push(ee);
|
|
5405
5405
|
});
|
|
5406
5406
|
else {
|
|
5407
5407
|
const ee = Y(W.dataItem, u.recurrenceRule) !== null && Y(W.dataItem, u.recurrenceRule) !== void 0;
|
|
5408
5408
|
if (Y(W.dataItem, u.recurrenceId) !== null && Y(W.dataItem, u.recurrenceId) !== void 0 && ee) {
|
|
5409
|
-
const De = se(ht(W.dataItem, u, P)), Ce = Y(W.dataItem, u.originalStart),
|
|
5410
|
-
X(De, u.recurrenceExceptions, [
|
|
5409
|
+
const De = se(ht(W.dataItem, u, P)), Ce = Y(W.dataItem, u.originalStart), B = Y(De, u.recurrenceExceptions) || [];
|
|
5410
|
+
X(De, u.recurrenceExceptions, [...B, Ce]), X(W.dataItem, u.recurrenceRule, null), ye.push(De), oe.push(W.dataItem);
|
|
5411
5411
|
} else
|
|
5412
5412
|
ye.push(W.dataItem);
|
|
5413
5413
|
}
|
|
@@ -5514,7 +5514,7 @@ const Gl = t.forwardRef((e, n) => {
|
|
|
5514
5514
|
c.current && (c.current.style.boxShadow = "");
|
|
5515
5515
|
},
|
|
5516
5516
|
[c]
|
|
5517
|
-
),
|
|
5517
|
+
), $ = t.useMemo(
|
|
5518
5518
|
() => {
|
|
5519
5519
|
var W;
|
|
5520
5520
|
return { ...e.style, height: (W = e.height) != null ? W : Je.height };
|
|
@@ -5549,7 +5549,7 @@ const Gl = t.forwardRef((e, n) => {
|
|
|
5549
5549
|
{
|
|
5550
5550
|
ref: c,
|
|
5551
5551
|
id: e.id,
|
|
5552
|
-
style:
|
|
5552
|
+
style: $,
|
|
5553
5553
|
className: re,
|
|
5554
5554
|
tabIndex: (le = e.tabIndex) != null ? le : Je.tabIndex,
|
|
5555
5555
|
dir: s,
|
|
@@ -5704,37 +5704,37 @@ const Vi = 1, Ki = t.forwardRef((e, n) => {
|
|
|
5704
5704
|
const O = Et(V);
|
|
5705
5705
|
if (!O.current || !s.current)
|
|
5706
5706
|
return;
|
|
5707
|
-
const L =
|
|
5707
|
+
const L = Be(O.current.element);
|
|
5708
5708
|
_t(s.current.element, L);
|
|
5709
5709
|
}, Z = () => {
|
|
5710
5710
|
const V = (h || []).filter((ge) => ge.current && A(ge.current.props, e)), O = s.current && s.current.element;
|
|
5711
5711
|
if (!O || !V.length)
|
|
5712
5712
|
return;
|
|
5713
|
-
const L = Et(V), S =
|
|
5713
|
+
const L = Et(V), S = Bt(V);
|
|
5714
5714
|
if (!L.current || !s.current || !S.current)
|
|
5715
5715
|
return;
|
|
5716
|
-
const U = [], k = [], E = [], M =
|
|
5716
|
+
const U = [], k = [], E = [], M = Be(L.current.element), H = (e.vertical ? M.height : M.width) / (L.current.props.end.getTime() - L.current.props.start.getTime()), Q = (e.start.getTime() - L.current.props.start.getTime()) * H, ne = (Math.min(e.end.getTime(), S.current.props.end.getTime()) - Math.max(e.start.getTime(), L.current.props.start.getTime())) * H;
|
|
5717
5717
|
(g || []).forEach((ge) => {
|
|
5718
5718
|
ge.current && (ge.current.props.dragHint ? k.push(ge.current) : ge.current.props.resizeHint ? E.push(ge.current) : U.push(ge.current));
|
|
5719
5719
|
});
|
|
5720
|
-
const
|
|
5720
|
+
const $ = e.dragHint || e.resizeHint ? Ja(s.current, e.dragHint ? k : E, V, e.ignoreIsAllDay) : e.order || 0;
|
|
5721
5721
|
let re = e.dragHint || e.resizeHint ? I(V, e.dragHint ? k : E) : I(V, U);
|
|
5722
5722
|
const de = b(V, U);
|
|
5723
5723
|
let fe = 0;
|
|
5724
|
-
const ae =
|
|
5724
|
+
const ae = Be(O);
|
|
5725
5725
|
if (de.forEach((ge) => {
|
|
5726
5726
|
let we = 0;
|
|
5727
5727
|
ge.forEach((Ee) => {
|
|
5728
5728
|
pe(Ee.props.start, Ee.props.end, e.start, e.end) && !(e.dragHint || e.resizeHint) && Ee.props._maxSiblingsPerSlot && Ee.props._maxSiblingsPerSlot > re && Ee.element !== O && (re = Ee.props._maxSiblingsPerSlot);
|
|
5729
|
-
const He =
|
|
5730
|
-
Ee.props.order !== null && Ee.props.order <
|
|
5729
|
+
const He = Be(Ee.element);
|
|
5730
|
+
Ee.props.order !== null && Ee.props.order < $ && (we = He.top + He.height - ae.top - Re * $ + Vi);
|
|
5731
5731
|
}), we > fe && (fe = we);
|
|
5732
5732
|
}), V.length === 0) {
|
|
5733
5733
|
C(!1);
|
|
5734
5734
|
return;
|
|
5735
5735
|
}
|
|
5736
5736
|
const Te = 20;
|
|
5737
|
-
ae.width = e.vertical ? ae.width / re - Re - Te / re : ne + Re, ae.height = e.vertical ? ne - Re : (e.resizeHint || e.dragHint) && re <= 1 ? ae.height : e.style && e.style.height ? e.style.height : 25, ae.left = e.vertical ? ae.left +
|
|
5737
|
+
ae.width = e.vertical ? ae.width / re - Re - Te / re : ne + Re, ae.height = e.vertical ? ne - Re : (e.resizeHint || e.dragHint) && re <= 1 ? ae.height : e.style && e.style.height ? e.style.height : 25, ae.left = e.vertical ? ae.left + $ * ae.width + Re * $ : ae.left + (Q < 0 ? 0 : Q), ae.top = e.vertical ? ae.top + (Q < 0 ? 0 : Q) : ae.top + fe + Re * $, P(re), _t(O, ae), x(!0), C(!0);
|
|
5738
5738
|
}, F = t.useCallback(
|
|
5739
5739
|
(V) => {
|
|
5740
5740
|
const O = V && V[0], L = d.current;
|
|
@@ -5798,8 +5798,8 @@ export {
|
|
|
5798
5798
|
ha as SLOTS_SELECT_ACTION,
|
|
5799
5799
|
Gl as Scheduler,
|
|
5800
5800
|
Gr as SchedulerActiveViewContext,
|
|
5801
|
-
|
|
5802
|
-
|
|
5801
|
+
$r as SchedulerDataContext,
|
|
5802
|
+
Br as SchedulerDateContext,
|
|
5803
5803
|
Vr as SchedulerDateRangeContext,
|
|
5804
5804
|
Ol as SchedulerDrag,
|
|
5805
5805
|
In as SchedulerEditItem,
|
|
@@ -5835,9 +5835,28 @@ export {
|
|
|
5835
5835
|
Wl as SchedulerViewTask,
|
|
5836
5836
|
Pr as SchedulerViewsContext,
|
|
5837
5837
|
fa as TimeHeaderCell,
|
|
5838
|
-
|
|
5838
|
+
$l as TimelineView,
|
|
5839
5839
|
Ul as WeekView,
|
|
5840
|
-
|
|
5840
|
+
Bl as WorkWeekView,
|
|
5841
|
+
vi as agendaViewDefaultProps,
|
|
5842
|
+
Hn as dateHeaderCellDefaultProps,
|
|
5843
|
+
hi as dayViewDefaultProps,
|
|
5844
|
+
Kl as monthViewDefaultProps,
|
|
5845
|
+
Je as schedulerDefaultProps,
|
|
5846
|
+
Xs as schedulerDragDefaultProps,
|
|
5847
|
+
Ct as schedulerEditItemDefaultProps,
|
|
5848
|
+
pa as schedulerEditSlotDefaultProps,
|
|
5849
|
+
Vn as schedulerEditTaskDefaultProps,
|
|
5850
|
+
La as schedulerFormDefaultProps,
|
|
5851
|
+
ce as schedulerFormEditorDefaultProps,
|
|
5852
|
+
Ui as schedulerProportionalViewItemDefaultProps,
|
|
5853
|
+
Wa as schedulerResizeDefaultProps,
|
|
5854
|
+
Oa as schedulerSlotDefaultProps,
|
|
5855
|
+
Zs as schedulerViewItemDefaultProps,
|
|
5856
|
+
Pa as schedulerViewSlotDefaultProps,
|
|
5857
|
+
fi as schedulerViewTaskDefaultProps,
|
|
5858
|
+
pn as timeHeaderCellDefaultProps,
|
|
5859
|
+
Pi as timeLineViewDefaultProps,
|
|
5841
5860
|
Yr as useSchedulerActiveViewContext,
|
|
5842
5861
|
Lt as useSchedulerDataContext,
|
|
5843
5862
|
nl as useSchedulerDateContext,
|
|
@@ -5855,5 +5874,7 @@ export {
|
|
|
5855
5874
|
Mt as useSchedulerGroupsContext,
|
|
5856
5875
|
Ur as useSchedulerOrientationContext,
|
|
5857
5876
|
Xe as useSchedulerPropsContext,
|
|
5858
|
-
tl as useSchedulerViewsContext
|
|
5877
|
+
tl as useSchedulerViewsContext,
|
|
5878
|
+
Ii as weekViewDefaultProps,
|
|
5879
|
+
Mi as workWeekDefaultProps
|
|
5859
5880
|
};
|