@progress/kendo-react-scheduler 7.1.0-develop.9 → 7.1.1-develop.1

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/index.mjs CHANGED
@@ -5,28 +5,28 @@
5
5
  "use client";
6
6
  import * as t from "react";
7
7
  import q from "prop-types";
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 $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
- import { orderBy as Ua, filterBy as po } from "@progress/kendo-data-query";
8
+ import { ZonedDate as te, getDate as Ze, MS_PER_DAY as qe, toLocalDate as Ir, timezoneNames as To, cloneDate as xo, Day as ct, addDays as gt, firstDayInWeek as yn, firstDayOfMonth as Mo, lastDayOfMonth as zo, MS_PER_MINUTE as Ao, addMonths as ba } from "@progress/kendo-date-math";
9
+ import { getter as xe, setter as No, classNames as he, useWindow as Ua, useAsyncFocusBlur as Fo, noop as $e, IconWrap as ze, useIsomorphicLayoutEffect as Tr, COLLECTION_ACTION as vn, useCollection as Ra, clone as se, canUseDOM as xr, Keys as Ke, useDir as tn, useDraggable as Ut, useId as _o, validatePackage as Oo, shouldShowValidationUI as Lo, useRtl as Po, WatermarkOverlay as po } from "@progress/kendo-react-common";
10
+ import { orderBy as Ba, filterBy as Wo } from "@progress/kendo-data-query";
11
11
  import { useInternationalization as Ge, useLocalization as _e } from "@progress/kendo-react-intl";
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
- import { Calendar as Vo, DatePicker as Kn, DateTimePicker as Un } from "@progress/kendo-react-dateinputs";
14
- import { Popup as Ko } from "@progress/kendo-react-popup";
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";
12
+ import { Toolbar as $a, ToolbarItem as Mr, Button as Ie, DropDownButton as Ho, ButtonGroup as zr, ToolbarSpacer as Vo } from "@progress/kendo-react-buttons";
13
+ import { Calendar as Ko, DatePicker as Kn, DateTimePicker as Un } from "@progress/kendo-react-dateinputs";
14
+ import { Popup as Uo } from "@progress/kendo-react-popup";
15
+ import { calendarIcon as Bo, caretAltDownIcon as $o, saveIcon as Go, cancelIcon as Yo, xIcon as Ga, caretAltLeftIcon as Rt, caretAltRightIcon as It, arrowRotateCwIcon as Ar, arrowsNoRepeatIcon as Ya, moreHorizontalIcon as qo, clockIcon as Zo, nonRecurrenceIcon as Xo } from "@progress/kendo-svg-icons";
16
16
  import * as Cn from "react-dom";
17
- import { FieldWrapper as be, Field as ue, FormElement as Xo, Form as jo } from "@progress/kendo-react-form";
18
- import { DialogActionsBar as Ar, Dialog as Nr } from "@progress/kendo-react-dialogs";
17
+ import { FieldWrapper as be, Field as ue, FormElement as jo, Form as Qo } from "@progress/kendo-react-form";
18
+ import { DialogActionsBar as Nr, Dialog as Fr } from "@progress/kendo-react-dialogs";
19
19
  import { Label as ke, Error as Ft } from "@progress/kendo-react-labels";
20
- import { NumericTextBox as fn, RadioGroup as Ln, Input as Qo, Checkbox as On, TextArea as Jo } from "@progress/kendo-react-inputs";
21
- import { ComboBox as ec, DropDownList as bt, MultiSelect as tc } from "@progress/kendo-react-dropdowns";
22
- import { parseRule as Ya, expand as nc, serializeRule as rc } from "@progress/kendo-recurrence";
23
- const qa = (e, n = 0, r = 0, o = []) => {
20
+ import { NumericTextBox as fn, RadioGroup as On, Input as Jo, Checkbox as Ln, TextArea as ec } from "@progress/kendo-react-inputs";
21
+ import { ComboBox as tc, DropDownList as bt, MultiSelect as nc } from "@progress/kendo-react-dropdowns";
22
+ import { parseRule as qa, expand as rc, serializeRule as ac } from "@progress/kendo-recurrence";
23
+ const Za = (e, n = 0, r = 0, o = []) => {
24
24
  if (e.length <= n)
25
25
  return [o];
26
26
  let a = [];
27
27
  return e[n].data.map((c) => {
28
28
  a.push(
29
- ...qa(
29
+ ...Za(
30
30
  e,
31
31
  n + 1,
32
32
  r + 1,
@@ -41,7 +41,7 @@ const qa = (e, n = 0, r = 0, o = []) => {
41
41
  );
42
42
  }), a;
43
43
  };
44
- function Fr(e, n) {
44
+ function _r(e, n) {
45
45
  const r = [];
46
46
  if (!n || !n.length)
47
47
  return r;
@@ -54,7 +54,7 @@ function Fr(e, n) {
54
54
  }
55
55
  return r;
56
56
  }
57
- const Za = (e, n = e.length - 1) => {
57
+ const Xa = (e, n = e.length - 1) => {
58
58
  const r = Math.max(0, n), o = [];
59
59
  e && e.length || (e = [{}]);
60
60
  const a = (e[r].data || []).map((s) => ({ ...s, text: s[e[r].textField] })) || [], c = a.length;
@@ -75,25 +75,25 @@ const Za = (e, n = e.length - 1) => {
75
75
  width: a,
76
76
  height: c
77
77
  };
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) => {
78
+ }, Or = (e, n = !1) => parseFloat(window.getComputedStyle(e)[n ? "paddingLeft" : "paddingTop"] || "0") + parseFloat(window.getComputedStyle(e)[n ? "paddingRight" : "paddingBottom"] || "0"), lc = (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, Bn = 60 * lc, Re = 1, rt = 7, oc = [{}], cc = {
80
+ }, oc = 1e3, Bn = 60 * oc, Re = 1, rt = 7, cc = [{}], sc = {
81
81
  index: 0,
82
82
  resources: []
83
- }, Ra = new Date(1900, 0, 1), Ia = new Date(2099, 11, 31);
84
- te.fromLocalDate(Ra), te.fromLocalDate(Ia);
83
+ }, Ia = new Date(1900, 0, 1), Ta = new Date(2099, 11, 31);
84
+ te.fromLocalDate(Ia), te.fromLocalDate(Ta);
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], Bt = (e) => e[e.length - 1], sc = (e) => {
86
+ const Et = (e) => e[0], Bt = (e) => e[e.length - 1], ic = (e) => {
87
87
  const n = /* @__PURE__ */ new Set();
88
88
  return e.forEach((r) => {
89
89
  n.add(r.field);
90
90
  }), n.size === e.length;
91
91
  };
92
- function ic(e, n, r, o) {
92
+ function dc(e, n, r, o) {
93
93
  const a = { skeleton: "yMMMMEEEEdhm" }, c = { skeleton: "yMMMMEEEEd" }, l = "t";
94
94
  return o ? `${e.formatDate(n, c)}` : `${e.formatDate(n, a)}–${e.formatDate(r, l)}`;
95
95
  }
96
- const dc = () => Ze(/* @__PURE__ */ new Date()), at = (e, n, r, o = 0) => {
96
+ const uc = () => Ze(/* @__PURE__ */ new Date()), at = (e, n, r, o = 0) => {
97
97
  if (o === r)
98
98
  return null;
99
99
  let a = null;
@@ -109,7 +109,7 @@ const dc = () => Ze(/* @__PURE__ */ new Date()), at = (e, n, r, o = 0) => {
109
109
  return a;
110
110
  }, Y = (e, n) => xe(n)(e), X = (e, n, r) => {
111
111
  if (n)
112
- return Ao(n)(e, r);
112
+ return No(n)(e, r);
113
113
  }, st = (e) => e != null;
114
114
  function Fe(e) {
115
115
  return new Date(Date.UTC(
@@ -128,7 +128,7 @@ const ht = (e, n, r) => {
128
128
  }, Lr = (e, n) => {
129
129
  const r = Y(e, n.id), o = Y(e, n.recurrenceId), a = Y(e, n.recurrenceRule);
130
130
  return !!(r && a && o == null);
131
- }, Ta = (e, n) => Math.max(e.getTime(), n.getTime()), xa = (e, n) => Math.min(e.getTime(), n.getTime()), pe = (e, n, r, o, a = !1) => a ? Ta(n, o) - xa(e, r) <= n.getTime() - e.getTime() + (o.getTime() - r.getTime()) : Ta(n, o) - xa(e, r) < n.getTime() - e.getTime() + (o.getTime() - r.getTime()), Xa = {
131
+ }, xa = (e, n) => Math.max(e.getTime(), n.getTime()), Ma = (e, n) => Math.min(e.getTime(), n.getTime()), pe = (e, n, r, o, a = !1) => a ? xa(n, o) - Ma(e, r) <= n.getTime() - e.getTime() + (o.getTime() - r.getTime()) : xa(n, o) - Ma(e, r) < n.getTime() - e.getTime() + (o.getTime() - r.getTime()), ja = {
132
132
  id: "id",
133
133
  start: "start",
134
134
  startTimezone: "startTimezone",
@@ -141,8 +141,8 @@ const ht = (e, n, r) => {
141
141
  recurrenceRule: "recurrenceRule",
142
142
  recurrenceId: "recurrenceId",
143
143
  recurrenceExceptions: "recurrenceExceptions"
144
- }, uc = (e) => ({ fields: { ...Xa, ...e } }), Ue = (e, n, r) => (n.getHours() < e.getHours() || n.getHours() === e.getHours() && n.getMinutes() <= e.getMinutes()) && (e.getHours() < r.getHours() || r.getHours() === e.getHours() && e.getMinutes() < r.getMinutes()), ja = (e, n, r) => n < r ? n <= e && e <= r : e <= r || n <= e, mc = (e, n) => {
145
- const r = Fr(e, n), o = qa(r);
144
+ }, mc = (e) => ({ fields: { ...ja, ...e } }), Ue = (e, n, r) => (n.getHours() < e.getHours() || n.getHours() === e.getHours() && n.getMinutes() <= e.getMinutes()) && (e.getHours() < r.getHours() || r.getHours() === e.getHours() && e.getMinutes() < r.getMinutes()), Qa = (e, n, r) => n < r ? n <= e && e <= r : e <= r || n <= e, hc = (e, n) => {
145
+ const r = _r(e, n), o = Za(r);
146
146
  return o.length === 1 ? [{
147
147
  index: 0,
148
148
  // resources: []
@@ -160,19 +160,19 @@ const ht = (e, n, r) => {
160
160
  index: c,
161
161
  resources: a
162
162
  }));
163
- }, hc = (e) => e == null, fc = (e) => hc(e) || e.trim && e.trim().length === 0, Qa = (e) => {
163
+ }, fc = (e) => e == null, gc = (e) => fc(e) || e.trim && e.trim().length === 0, Ja = (e) => {
164
164
  let n = 0;
165
165
  const r = e.slice();
166
166
  return r.sort((o, a) => o - a).forEach((o, a) => {
167
167
  r[a] === a && (n = a + 1);
168
168
  }), n;
169
- }, Ja = (e, n, r, o = !1) => {
169
+ }, el = (e, n, r, o = !1) => {
170
170
  let a;
171
171
  return r.forEach((c) => {
172
172
  const l = [];
173
173
  n.sort((i, d) => i.props.start.getTime() - d.props.start.getTime()).forEach((i) => {
174
174
  if ((o || i.props.isAllDay === c.current.props.isAllDay) && i.props.range.index === c.current.props.range.index && i.props.group.index === c.current.props.group.index && pe(i.props.start, i.props.end, c.current.props.start, c.current.props.end)) {
175
- const u = Qa(l);
175
+ const u = Ja(l);
176
176
  i === e && a === void 0 && (a = u), l.splice(u, 0, u);
177
177
  }
178
178
  });
@@ -182,7 +182,7 @@ const ht = (e, n, r) => {
182
182
  const a = [];
183
183
  e.forEach((c) => {
184
184
  if ((r || c.isAllDay === o.isAllDay) && c.range.index === o.range.index && c.group.index === o.group.index && pe(c.start, c.end, o.start, o.end)) {
185
- const s = Qa(a);
185
+ const s = Ja(a);
186
186
  (c.order === null || c.order === void 0 || c.order < s) && (c.order = s), a.splice(c.order, 0, c.order), o.items.push(c);
187
187
  }
188
188
  });
@@ -194,14 +194,14 @@ const ht = (e, n, r) => {
194
194
  });
195
195
  });
196
196
  }, dt = (...e) => {
197
- }, gc = (e) => {
197
+ }, Ec = (e) => {
198
198
  const n = e.props.items.find((r) => r.order === 0) || e.props.items[0];
199
199
  return n && n._ref.current;
200
200
  }, kn = (e, n, r = !1, o = !1) => {
201
201
  const a = e.current;
202
202
  if (!a || !n)
203
203
  return null;
204
- const c = n.filter((d) => d.current !== null && d.current.element !== null), l = Ua(
204
+ const c = n.filter((d) => d.current !== null && d.current.element !== null), l = Ba(
205
205
  c,
206
206
  [
207
207
  { field: "current.props.group.index", dir: "asc" },
@@ -211,32 +211,32 @@ const ht = (e, n, r) => {
211
211
  ]
212
212
  ), s = l.findIndex((d) => d.current !== null && !!(d.current.props.uid === a.props.uid && (d.current.props.occurrenceId === void 0 || d.current.props.occurrenceId === a.props.occurrenceId) && d.current.props.group.index === a.props.group.index && d.current.props.range.index === a.props.range.index && (r || d.current.props.isAllDay === a.props.isAllDay)));
213
213
  return l[s + (o ? -1 : 1)];
214
- }, el = (e, n) => (e.order || 0) - (n.order || 0), Or = t.createContext({ current: null }), nn = () => t.useContext(Or);
215
- Or.displayName = "SchedulerElementContext";
214
+ }, tl = (e, n) => (e.order || 0) - (n.order || 0), Pr = t.createContext({ current: null }), nn = () => t.useContext(Pr);
215
+ Pr.displayName = "SchedulerElementContext";
216
216
  const bn = t.createContext({}), Xe = () => t.useContext(bn);
217
217
  bn.displayName = "SchedulerPropsContext";
218
- const Pr = t.createContext([]), tl = () => t.useContext(Pr);
219
- Pr.displayName = "SchedulerViewsContext";
220
- const pr = t.createContext(Xa), We = () => t.useContext(pr);
221
- pr.displayName = "SchedulerFieldsContext";
222
- const Wr = t.createContext({ dateFormat: "{0:D}", shortDateFormat: "{0:d}" }), Ec = () => t.useContext(Wr);
223
- Wr.displayName = "SchedulerDateFormatContext";
224
- const Hr = t.createContext([cc]), Mt = () => t.useContext(Hr);
225
- Hr.displayName = "SchedulerGroupsContext";
226
- const Vr = t.createContext({ start: /* @__PURE__ */ new Date(), end: /* @__PURE__ */ new Date(), zonedStart: te.fromLocalDate(/* @__PURE__ */ new Date()), zonedEnd: te.fromLocalDate(/* @__PURE__ */ new Date()) }), vt = () => t.useContext(Vr);
227
- Vr.displayName = "SchedulerDateRangeContext";
228
- const Kr = t.createContext(null), Ur = () => t.useContext(Kr);
229
- Kr.displayName = "SchedulerOrientationContext";
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
- const Gr = t.createContext(["day", dt]), Yr = () => t.useContext(Gr);
235
- Gr.displayName = "SchedulerActiveViewContext";
236
- const qr = t.createContext([null, () => {
218
+ const pr = t.createContext([]), nl = () => t.useContext(pr);
219
+ pr.displayName = "SchedulerViewsContext";
220
+ const Wr = t.createContext(ja), We = () => t.useContext(Wr);
221
+ Wr.displayName = "SchedulerFieldsContext";
222
+ const Hr = t.createContext({ dateFormat: "{0:D}", shortDateFormat: "{0:d}" }), yc = () => t.useContext(Hr);
223
+ Hr.displayName = "SchedulerDateFormatContext";
224
+ const Vr = t.createContext([sc]), Mt = () => t.useContext(Vr);
225
+ Vr.displayName = "SchedulerGroupsContext";
226
+ const Kr = t.createContext({ start: /* @__PURE__ */ new Date(), end: /* @__PURE__ */ new Date(), zonedStart: te.fromLocalDate(/* @__PURE__ */ new Date()), zonedEnd: te.fromLocalDate(/* @__PURE__ */ new Date()) }), vt = () => t.useContext(Kr);
227
+ Kr.displayName = "SchedulerDateRangeContext";
228
+ const Ur = t.createContext(null), Br = () => t.useContext(Ur);
229
+ Ur.displayName = "SchedulerOrientationContext";
230
+ const $r = t.createContext([/* @__PURE__ */ new Date(), dt]), rl = () => t.useContext($r);
231
+ $r.displayName = "SchedulerDateContext";
232
+ const Gr = t.createContext([[], dt]), Ot = () => t.useContext(Gr);
233
+ Gr.displayName = "SchedulerDataContext";
234
+ const Yr = t.createContext(["day", dt]), qr = () => t.useContext(Yr);
235
+ Yr.displayName = "SchedulerActiveViewContext";
236
+ const Zr = t.createContext([null, () => {
237
237
  }]);
238
- qr.displayName = "SchedulerItemSelectionContext";
239
- const yc = ({
238
+ Zr.displayName = "SchedulerItemSelectionContext";
239
+ const vc = ({
240
240
  children: e,
241
241
  element: n,
242
242
  props: r,
@@ -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(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) => {
253
+ }) => /* @__PURE__ */ t.createElement(Pr.Provider, { value: n }, /* @__PURE__ */ t.createElement(bn.Provider, { value: r }, /* @__PURE__ */ t.createElement(pr.Provider, { value: o }, /* @__PURE__ */ t.createElement(Wr.Provider, { value: a }, /* @__PURE__ */ t.createElement(Hr.Provider, { value: s }, /* @__PURE__ */ t.createElement(Vr.Provider, { value: c }, /* @__PURE__ */ t.createElement(Kr.Provider, { value: l }, /* @__PURE__ */ t.createElement(Ur.Provider, { value: i }, /* @__PURE__ */ t.createElement($r.Provider, { value: d }, /* @__PURE__ */ t.createElement(Gr.Provider, { value: u }, /* @__PURE__ */ t.createElement(Yr.Provider, { value: m }, /* @__PURE__ */ t.createElement(Zr.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 });
@@ -258,7 +258,7 @@ const yc = ({
258
258
  [r, a]
259
259
  );
260
260
  return [n !== void 0 ? n : o, c];
261
- }, rl = t.forwardRef((e, n) => {
261
+ }, al = t.forwardRef((e, n) => {
262
262
  const {
263
263
  className: r,
264
264
  ...o
@@ -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
- Ba,
269
+ $a,
270
270
  {
271
271
  id: e.id,
272
272
  ref: (s) => {
@@ -278,14 +278,14 @@ const yc = ({
278
278
  e.children
279
279
  );
280
280
  });
281
- rl.displayName = "KendoReactSchedulerHeader";
282
- const Zr = t.forwardRef((e, n) => {
281
+ al.displayName = "KendoReactSchedulerHeader";
282
+ const Xr = t.forwardRef((e, n) => {
283
283
  const {
284
284
  className: r,
285
285
  ...o
286
286
  } = e, a = t.useRef(null);
287
287
  return t.useImperativeHandle(n, () => ({ element: a.current, props: e })), /* @__PURE__ */ t.createElement(
288
- xr,
288
+ Mr,
289
289
  {
290
290
  ref: (c) => {
291
291
  c && (a.current = c.element);
@@ -296,14 +296,14 @@ const Zr = t.forwardRef((e, n) => {
296
296
  e.children
297
297
  );
298
298
  });
299
- Zr.displayName = "KendoReactSchedulerSchedulerNavigation";
300
- const al = t.forwardRef((e, n) => {
299
+ Xr.displayName = "KendoReactSchedulerSchedulerNavigation";
300
+ const ll = t.forwardRef((e, n) => {
301
301
  const {
302
302
  className: r,
303
303
  ...o
304
304
  } = e, a = t.useRef(null);
305
305
  return t.useImperativeHandle(n, () => ({ element: a.current, props: e })), /* @__PURE__ */ t.createElement(
306
- xr,
306
+ Mr,
307
307
  {
308
308
  ref: (c) => {
309
309
  c && (a.current = c.element);
@@ -314,8 +314,8 @@ const al = t.forwardRef((e, n) => {
314
314
  e.children
315
315
  );
316
316
  });
317
- al.displayName = "KendoReactSchedulerViewSelector";
318
- const vc = t.forwardRef((e, n) => {
317
+ ll.displayName = "KendoReactSchedulerViewSelector";
318
+ const kc = t.forwardRef((e, n) => {
319
319
  const {
320
320
  className: r,
321
321
  style: o,
@@ -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
- Ba,
327
+ $a,
328
328
  {
329
329
  ref: (i) => {
330
330
  i && (l.current = i.element);
@@ -335,7 +335,7 @@ const vc = t.forwardRef((e, n) => {
335
335
  },
336
336
  e.children
337
337
  );
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 = {
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", ol = "scheduler.editOccurrence", cl = "scheduler.editSeries", sl = "scheduler.editRecurringConfirmation", il = "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", Dc = "scheduler.recurrenceEditorDailyInterval", Sc = "scheduler.recurrenceEditorDailyRepeatEvery", wc = "scheduler.recurrenceEditorWeeklyInterval", Cc = "scheduler.recurrenceEditorWeeklyRepeatEvery", dl = "scheduler.recurrenceEditorWeeklyRepeatOn", ul = "scheduler.recurrenceEditorMonthlyDay", bc = "scheduler.recurrenceEditorMonthlyInterval", Rc = "scheduler.recurrenceEditorMonthlyRepeatEvery", ml = "scheduler.recurrenceEditorMonthlyRepeatOn", hl = "scheduler.recurrenceEditorYearlyOf", Ic = "scheduler.recurrenceEditorYearlyRepeatEvery", fl = "scheduler.recurrenceEditorYearlyRepeatOn", Tc = "scheduler.recurrenceEditorYearlyInterval", xc = "scheduler.recurrenceEditorFrequenciesDaily", Mc = "scheduler.recurrenceEditorFrequenciesMonthly", zc = "scheduler.recurrenceEditorFrequenciesNever", Ac = "scheduler.recurrenceEditorFrequenciesWeekly", Nc = "scheduler.recurrenceEditorFrequenciesYearly", Fc = "scheduler.recurrenceEditorOffsetPositionsFirst", _c = "scheduler.recurrenceEditorOffsetPositionsSecond", Oc = "scheduler.recurrenceEditorOffsetPositionsThird", Lc = "scheduler.recurrenceEditorOffsetPositionsFourth", Pc = "scheduler.recurrenceEditorOffsetPositionsLast", pc = "scheduler.recurrenceEditorWeekdaysDay", Wc = "scheduler.recurrenceEditorWeekdaysWeekday", Hc = "scheduler.recurrenceEditorWeekdaysWeekendday", gl = "scheduler.recurrenceEditorEndAfter", El = "scheduler.recurrenceEditorEndOccurrence", yl = "scheduler.recurrenceEditorEndLabel", vl = "scheduler.recurrenceEditorEndNever", kl = "scheduler.recurrenceEditorEndOn", gr = "scheduler.editorDelete", Er = "scheduler.deleteConfirmation", Dl = "scheduler.deleteRecurringConfirmation", Sl = "scheduler.deleteOccurrence", wl = "scheduler.deleteSeries", yr = "scheduler.deleteDialogTitle", Cl = "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.",
@@ -353,10 +353,10 @@ const vc = t.forwardRef((e, n) => {
353
353
  [er]: "Next",
354
354
  [tr]: "Show full day",
355
355
  [nr]: "Show business hours",
356
- [ll]: "Edit current occurrence",
357
- [ol]: "Edit the series",
358
- [cl]: "Do you want to edit only this event occurrence or the whole series?",
359
- [sl]: "Edit Recurring Item",
356
+ [ol]: "Edit current occurrence",
357
+ [cl]: "Edit the series",
358
+ [sl]: "Do you want to edit only this event occurrence or the whole series?",
359
+ [il]: "Edit Recurring Item",
360
360
  [rr]: "Save",
361
361
  [qt]: "Cancel",
362
362
  [gr]: "Delete",
@@ -371,56 +371,56 @@ const vc = t.forwardRef((e, n) => {
371
371
  [mr]: "End in different Time Zone",
372
372
  [hr]: "Specify Time Zone",
373
373
  [fr]: "Repeat",
374
- [kc]: "day(s)",
375
- [Dc]: "Repeat every",
376
- [Sc]: "week(s)",
377
- [wc]: "Repeat every",
378
- [il]: "Repeat on",
379
- [dl]: "Day",
380
- [Cc]: "month(s)",
381
- [bc]: "Repeat every",
382
- [ul]: "Repeat on",
383
- [ml]: "of",
374
+ [Dc]: "day(s)",
375
+ [Sc]: "Repeat every",
376
+ [wc]: "week(s)",
377
+ [Cc]: "Repeat every",
378
+ [dl]: "Repeat on",
379
+ [ul]: "Day",
380
+ [bc]: "month(s)",
384
381
  [Rc]: "Repeat every",
385
- [hl]: "Repeat on",
386
- [Ic]: "year(s)",
387
- [Tc]: "Daily",
388
- [xc]: "Monthly",
389
- [Mc]: "Never",
390
- [zc]: "Weekly",
391
- [Ac]: "Yearly",
392
- [Nc]: "First",
393
- [Fc]: "Second",
394
- [_c]: "Third",
382
+ [ml]: "Repeat on",
383
+ [hl]: "of",
384
+ [Ic]: "Repeat every",
385
+ [fl]: "Repeat on",
386
+ [Tc]: "year(s)",
387
+ [xc]: "Daily",
388
+ [Mc]: "Monthly",
389
+ [zc]: "Never",
390
+ [Ac]: "Weekly",
391
+ [Nc]: "Yearly",
392
+ [Fc]: "First",
393
+ [_c]: "Second",
394
+ [Oc]: "Third",
395
395
  [Lc]: "Fourth",
396
- [Oc]: "Last",
397
- [Pc]: "Day",
398
- [pc]: "Weekday",
399
- [Wc]: "Weekend Day",
400
- [fl]: "After",
401
- [gl]: "occurrence(s)",
402
- [El]: "End",
403
- [yl]: "Never",
404
- [vl]: "On",
396
+ [Pc]: "Last",
397
+ [pc]: "Day",
398
+ [Wc]: "Weekday",
399
+ [Hc]: "Weekend Day",
400
+ [gl]: "After",
401
+ [El]: "occurrence(s)",
402
+ [yl]: "End",
403
+ [vl]: "Never",
404
+ [kl]: "On",
405
405
  [Er]: "Are you sure you want to delete this event?",
406
- [kl]: "Do you want to delete only this event occurrence or the whole series?",
407
- [Dl]: "Delete current occurrence",
408
- [Sl]: "Delete the series",
406
+ [Dl]: "Do you want to delete only this event occurrence or the whole series?",
407
+ [Sl]: "Delete current occurrence",
408
+ [wl]: "Delete the series",
409
409
  [yr]: "Delete Event",
410
- [wl]: "Delete Recurring Item",
410
+ [Cl]: "Delete Recurring Item",
411
411
  [vr]: "Date",
412
412
  [kr]: "Time",
413
413
  [Dr]: "Event",
414
414
  [Cr]: "no events",
415
415
  [br]: "More events"
416
- }, Cl = t.forwardRef((e, n) => {
416
+ }, bl = t.forwardRef((e, n) => {
417
417
  var V;
418
418
  const r = t.useRef(null), o = t.useRef(null);
419
419
  t.useImperativeHandle(
420
420
  n,
421
421
  () => r.current
422
422
  );
423
- const { timezone: a } = Xe(), c = te.fromLocalDate(e.value, a), l = Ze(c), s = nn(), i = Ka(s), [d, u] = t.useState("desktop"), [m, g] = t.useState(!1), [h, y] = t.useState(!1), D = Ge(), { dateFormat: C, shortDateFormat: z } = Ec(), x = vt(), [R] = nl(), P = x.end.getTime() - x.start.getTime() > qe * 27, _ = D.format(
423
+ const { timezone: a } = Xe(), c = te.fromLocalDate(e.value, a), l = Ze(c), s = nn(), i = Ua(s), [d, u] = t.useState("desktop"), [m, g] = t.useState(!1), [h, y] = t.useState(!1), D = Ge(), { dateFormat: C, shortDateFormat: z } = yc(), x = vt(), [R] = rl(), P = x.end.getTime() - x.start.getTime() > qe * 27, _ = D.format(
424
424
  C,
425
425
  P ? R : x.zonedStart,
426
426
  P ? R : x.zonedEnd.addDays(-1)
@@ -444,12 +444,12 @@ const vc = t.forwardRef((e, n) => {
444
444
  },
445
445
  []
446
446
  ), A = t.useCallback(
447
- (O) => {
447
+ (L) => {
448
448
  if (e.onChange) {
449
- const L = te.fromUTCDate(Fe(O.value), a);
449
+ const O = te.fromUTCDate(Fe(L.value), a);
450
450
  e.onChange.call(void 0, {
451
- ...O,
452
- value: L
451
+ ...L,
452
+ value: O
453
453
  });
454
454
  }
455
455
  g(!1);
@@ -460,9 +460,9 @@ const vc = t.forwardRef((e, n) => {
460
460
  }, [i]);
461
461
  t.useEffect(() => {
462
462
  N();
463
- const O = i().ResizeObserver, L = O && new O(N);
464
- return L && L.observe(s.current), () => {
465
- O && L.disconnect();
463
+ const L = i().ResizeObserver, O = L && new L(N);
464
+ return O && O.observe(s.current), () => {
465
+ L && O.disconnect();
466
466
  };
467
467
  }, [N, s, i]), t.useEffect(
468
468
  () => {
@@ -470,7 +470,7 @@ const vc = t.forwardRef((e, n) => {
470
470
  },
471
471
  [h, m]
472
472
  );
473
- const { onFocus: Z, onBlur: F } = No({ onFocus: I, onBlur: b });
473
+ const { onFocus: Z, onBlur: F } = Fo({ onFocus: I, onBlur: b });
474
474
  return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
475
475
  Ie,
476
476
  {
@@ -480,20 +480,20 @@ const vc = t.forwardRef((e, n) => {
480
480
  fillMode: "flat",
481
481
  className: "k-nav-current",
482
482
  icon: "calendar",
483
- svgIcon: Uo,
483
+ svgIcon: Bo,
484
484
  "aria-live": "polite",
485
485
  tabIndex: -1,
486
486
  onClick: f
487
487
  },
488
488
  d === "desktop" ? _ : p
489
489
  ), /* @__PURE__ */ t.createElement(
490
- Ko,
490
+ Uo,
491
491
  {
492
492
  anchor: (V = r.current) == null ? void 0 : V.element,
493
493
  show: m
494
494
  },
495
495
  /* @__PURE__ */ t.createElement(
496
- Vo,
496
+ Ko,
497
497
  {
498
498
  ref: o,
499
499
  onFocus: Z,
@@ -504,22 +504,22 @@ const vc = t.forwardRef((e, n) => {
504
504
  )
505
505
  ));
506
506
  });
507
- Cl.displayName = "KendoReactSchedulerNavigationDatePicker";
508
- const Xr = t.createContext([null]), ld = () => t.useContext(Xr);
509
- Xr.displayName = "SchedulerEditItemPropsContext";
510
- const jr = t.createContext([null, $e, $e]), od = () => t.useContext(jr);
511
- jr.displayName = "SchedulerEditItemFormItemContext";
507
+ bl.displayName = "KendoReactSchedulerNavigationDatePicker";
508
+ const jr = t.createContext([null]), od = () => t.useContext(jr);
509
+ jr.displayName = "SchedulerEditItemPropsContext";
512
510
  const Qr = t.createContext([null, $e, $e]), cd = () => t.useContext(Qr);
513
- Qr.displayName = "SchedulerEditItemDragItemContext";
511
+ Qr.displayName = "SchedulerEditItemFormItemContext";
514
512
  const Jr = t.createContext([null, $e, $e]), sd = () => t.useContext(Jr);
515
- Jr.displayName = "SchedulerEditItemResizeItemContext";
513
+ Jr.displayName = "SchedulerEditItemDragItemContext";
516
514
  const ea = t.createContext([null, $e, $e]), id = () => t.useContext(ea);
517
- ea.displayName = "SchedulerEditItemRemoveItemContext";
518
- const ta = t.createContext([!1, $e, $e]), dd = () => t.useContext(ta);
519
- ta.displayName = "SchedulerEditItemShowRemoveDialogContext";
515
+ ea.displayName = "SchedulerEditItemResizeItemContext";
516
+ const ta = t.createContext([null, $e, $e]), dd = () => t.useContext(ta);
517
+ ta.displayName = "SchedulerEditItemRemoveItemContext";
520
518
  const na = t.createContext([!1, $e, $e]), ud = () => t.useContext(na);
521
- na.displayName = "SchedulerEditItemShowOccurrenceDialogContext";
522
- const Hc = ({
519
+ na.displayName = "SchedulerEditItemShowRemoveDialogContext";
520
+ const ra = t.createContext([!1, $e, $e]), md = () => t.useContext(ra);
521
+ ra.displayName = "SchedulerEditItemShowOccurrenceDialogContext";
522
+ const Vc = ({
523
523
  props: e,
524
524
  form: n,
525
525
  drag: r,
@@ -528,31 +528,31 @@ const Hc = ({
528
528
  showRemoveDialog: c,
529
529
  showOccurrenceDialog: l,
530
530
  children: s
531
- }) => /* @__PURE__ */ t.createElement(Xr.Provider, { value: e }, /* @__PURE__ */ t.createElement(jr.Provider, { value: n }, /* @__PURE__ */ t.createElement(Qr.Provider, { value: r }, /* @__PURE__ */ t.createElement(Jr.Provider, { value: o }, /* @__PURE__ */ t.createElement(ea.Provider, { value: a }, /* @__PURE__ */ t.createElement(ta.Provider, { value: c }, /* @__PURE__ */ t.createElement(na.Provider, { value: l }, s))))))), ra = t.createContext([null]), md = () => t.useContext(ra);
532
- ra.displayName = "SchedulerEditSlotPropsContext";
533
- const aa = t.createContext([null]), hd = () => t.useContext(aa);
534
- aa.displayName = "SchedulerEditSlotFormItemContext";
535
- const Vc = ({
531
+ }) => /* @__PURE__ */ t.createElement(jr.Provider, { value: e }, /* @__PURE__ */ t.createElement(Qr.Provider, { value: n }, /* @__PURE__ */ t.createElement(Jr.Provider, { value: r }, /* @__PURE__ */ t.createElement(ea.Provider, { value: o }, /* @__PURE__ */ t.createElement(ta.Provider, { value: a }, /* @__PURE__ */ t.createElement(na.Provider, { value: c }, /* @__PURE__ */ t.createElement(ra.Provider, { value: l }, s))))))), aa = t.createContext([null]), hd = () => t.useContext(aa);
532
+ aa.displayName = "SchedulerEditSlotPropsContext";
533
+ const la = t.createContext([null]), fd = () => t.useContext(la);
534
+ la.displayName = "SchedulerEditSlotFormItemContext";
535
+ const Kc = ({
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]), 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
- bl.displayName = "SchedulerViewPropsContext";
541
- const la = t.createContext([]), Rl = () => t.useContext(la);
542
- la.displayName = "SchedulerViewRangesContext";
543
- const oa = t.createContext([[], dt]), zt = () => t.useContext(oa);
544
- oa.displayName = "SchedulerViewSlotsContext";
545
- const ca = t.createContext([[], dt]), rn = () => t.useContext(ca);
546
- ca.displayName = "SchedulerViewItemsContext";
547
- const sa = t.createContext([[], dt]), Gc = () => t.useContext(sa);
548
- sa.displayName = "SchedulerViewSelectedSlotsContext";
549
- const ia = t.createContext([[], dt]), da = () => t.useContext(ia);
550
- ia.displayName = "SchedulerViewSelectedItemsContext";
551
- const ua = t.createContext([[], dt]), Yc = () => t.useContext(ua);
552
- ua.displayName = "SchedulerViewFocusedItemsContext";
553
- const ma = t.createContext([[], dt]), Il = () => t.useContext(ma);
554
- ma.displayName = "SchedulerViewFocusedSlotsContext";
555
- const qc = ({
539
+ }) => /* @__PURE__ */ t.createElement(aa.Provider, { value: e }, /* @__PURE__ */ t.createElement(la.Provider, { value: n }, r)), Uc = t.createContext([null]), Bc = t.createContext([!1]), $c = t.createContext([!1]), Gc = (e) => /* @__PURE__ */ t.createElement(Uc.Provider, { value: e.remove }, /* @__PURE__ */ t.createElement(Bc.Provider, { value: e.showRemoveDialog }, /* @__PURE__ */ t.createElement($c.Provider, { value: e.showOccurrenceDialog }, e.children))), Rl = t.createContext({});
540
+ Rl.displayName = "SchedulerViewPropsContext";
541
+ const oa = t.createContext([]), Il = () => t.useContext(oa);
542
+ oa.displayName = "SchedulerViewRangesContext";
543
+ const ca = t.createContext([[], dt]), zt = () => t.useContext(ca);
544
+ ca.displayName = "SchedulerViewSlotsContext";
545
+ const sa = t.createContext([[], dt]), rn = () => t.useContext(sa);
546
+ sa.displayName = "SchedulerViewItemsContext";
547
+ const ia = t.createContext([[], dt]), Yc = () => t.useContext(ia);
548
+ ia.displayName = "SchedulerViewSelectedSlotsContext";
549
+ const da = t.createContext([[], dt]), ua = () => t.useContext(da);
550
+ da.displayName = "SchedulerViewSelectedItemsContext";
551
+ const ma = t.createContext([[], dt]), qc = () => t.useContext(ma);
552
+ ma.displayName = "SchedulerViewFocusedItemsContext";
553
+ const ha = t.createContext([[], dt]), Tl = () => t.useContext(ha);
554
+ ha.displayName = "SchedulerViewFocusedSlotsContext";
555
+ const Zc = ({
556
556
  children: e,
557
557
  // Static
558
558
  props: n,
@@ -567,8 +567,8 @@ const qc = ({
567
567
  // State.Focus
568
568
  focusedItems: s,
569
569
  focusedSlots: i
570
- }) => /* @__PURE__ */ t.createElement(bl.Provider, { value: n }, /* @__PURE__ */ t.createElement(la.Provider, { value: r }, /* @__PURE__ */ t.createElement(oa.Provider, { value: o }, /* @__PURE__ */ t.createElement(ca.Provider, { value: a }, /* @__PURE__ */ t.createElement(sa.Provider, { value: c }, /* @__PURE__ */ t.createElement(ia.Provider, { value: l }, /* @__PURE__ */ t.createElement(ua.Provider, { value: s }, /* @__PURE__ */ t.createElement(ma.Provider, { value: i }, e)))))))), Zc = (e) => {
571
- const [n, r] = Yr(), o = _e(), a = t.useMemo(
570
+ }) => /* @__PURE__ */ t.createElement(Rl.Provider, { value: n }, /* @__PURE__ */ t.createElement(oa.Provider, { value: r }, /* @__PURE__ */ t.createElement(ca.Provider, { value: o }, /* @__PURE__ */ t.createElement(sa.Provider, { value: a }, /* @__PURE__ */ t.createElement(ia.Provider, { value: c }, /* @__PURE__ */ t.createElement(da.Provider, { value: l }, /* @__PURE__ */ t.createElement(ma.Provider, { value: s }, /* @__PURE__ */ t.createElement(ha.Provider, { value: i }, e)))))))), Xc = (e) => {
571
+ const [n, r] = qr(), o = _e(), a = t.useMemo(
572
572
  () => typeof e.view.title == "function" ? e.view.title.call(void 0, o) : e.view.title,
573
573
  [e.view.title, o]
574
574
  ), c = t.useCallback(
@@ -590,8 +590,8 @@ const qc = ({
590
590
  },
591
591
  a
592
592
  );
593
- }, Tl = t.forwardRef(() => {
594
- const e = t.useRef(null), [n, r] = t.useState("desktop"), o = tl(), a = Ka(e), [c, l] = Yr(), s = o.find((m) => m.props.name === c), i = _e(), d = t.useCallback(
593
+ }, xl = t.forwardRef(() => {
594
+ const e = t.useRef(null), [n, r] = t.useState("desktop"), o = nl(), a = Ua(e), [c, l] = qr(), s = o.find((m) => m.props.name === c), i = _e(), d = t.useCallback(
595
595
  (m) => {
596
596
  l && (m.syntheticEvent.preventDefault(), l(m.item.name));
597
597
  },
@@ -619,7 +619,7 @@ const qc = ({
619
619
  ref: e
620
620
  },
621
621
  s && n === "mobile" && /* @__PURE__ */ t.createElement(
622
- Wo,
622
+ Ho,
623
623
  {
624
624
  className: "k-views-dropdown",
625
625
  onItemClick: d,
@@ -630,20 +630,20 @@ 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: Bo }))
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: $o }))
634
634
  }
635
635
  ),
636
- n === "desktop" && /* @__PURE__ */ t.createElement(t.Fragment, null, o.map((m) => /* @__PURE__ */ t.createElement(Zc, { key: m.props.name, view: m.props })))
636
+ n === "desktop" && /* @__PURE__ */ t.createElement(t.Fragment, null, o.map((m) => /* @__PURE__ */ t.createElement(Xc, { key: m.props.name, view: m.props })))
637
637
  );
638
638
  });
639
- Tl.displayName = "KendoReactSchedulerViewSelectorList";
640
- const Xc = t.forwardRef((e, n) => {
639
+ xl.displayName = "KendoReactSchedulerViewSelectorList";
640
+ const jc = t.forwardRef((e, n) => {
641
641
  const {
642
642
  className: r,
643
643
  ...o
644
644
  } = e, a = t.useRef(null);
645
645
  return t.useImperativeHandle(n, () => ({ element: a.current, props: e })), /* @__PURE__ */ t.createElement(
646
- xr,
646
+ Mr,
647
647
  {
648
648
  ref: (c) => {
649
649
  c && (a.current = c.element);
@@ -654,38 +654,38 @@ const Xc = t.forwardRef((e, n) => {
654
654
  e.children
655
655
  );
656
656
  }), Xt = (e, n) => {
657
- const { element: r } = e, o = () => {
657
+ const { element: r } = e;
658
+ Tr(() => {
658
659
  if (!r || !r.current)
659
660
  return;
660
661
  let a = [], c = [], l = [];
661
662
  const s = r.current.querySelectorAll(e.selector);
662
663
  s.forEach((i) => {
663
- const d = i.getBoundingClientRect().width, u = e.explicitDepth && e.attribute !== void 0 ? i.getAttribute(e.attribute) : 0, m = _r(i, !0), g = ac(i, !0);
664
+ const d = i.getBoundingClientRect().width, u = e.explicitDepth && e.attribute !== void 0 ? i.getAttribute(e.attribute) : 0, m = Or(i, !0), g = lc(i, !0);
664
665
  u !== null && ((!l[u] || g > l[u]) && (l[u] = g), (!c[u] || m > c[u]) && (c[u] = m), (!a[u] || d > a[u]) && (a[u] = d));
665
666
  }), s.forEach((i) => {
666
667
  const d = e.explicitDepth ? i.getAttribute(e.attribute) : 0;
667
668
  d !== null && (i.style.minWidth = `${a[d] - c[d] - l[d]}px`);
668
669
  });
669
- };
670
- t.useLayoutEffect(o, n);
671
- }, jc = (e) => e.slice(1, e.length), xl = (e, n) => {
670
+ }, n);
671
+ }, Qc = (e) => e.slice(1, e.length), Ml = (e, n) => {
672
672
  const { element: r } = e, o = () => {
673
673
  if (!r || !e.syncHeight)
674
674
  return;
675
675
  let a = [[]];
676
- Array.from(r.querySelectorAll(e.selector)).filter((s) => !s.classList.contains(jc(e.applyTo))).forEach((s) => {
676
+ Array.from(r.querySelectorAll(e.selector)).filter((s) => !s.classList.contains(Qc(e.applyTo))).forEach((s) => {
677
677
  const i = s.clientHeight, d = s.getAttribute(e.horizontalAttribute), u = s.getAttribute(e.verticalAttribute);
678
678
  d === null || u === null || (a[d] || (a[d] = []), (!a[d][u] || i > a[d][u]) && (a[d][u] = i - Re));
679
679
  }), Array.from(r.querySelectorAll(e.applyTo)).forEach((s) => {
680
680
  const i = s.getAttribute(e.horizontalAttribute), d = s.getAttribute(e.verticalAttribute);
681
681
  if (i === null || d === null)
682
682
  return;
683
- const u = _r(s), m = a[i][d] - u;
683
+ const u = Or(s), m = a[i][d] - u;
684
684
  _t(s, { height: m }, !0);
685
685
  });
686
686
  };
687
687
  t.useEffect(o, n);
688
- }, Ot = (e) => {
688
+ }, Lt = (e) => {
689
689
  const n = t.useContext(bn), r = e !== void 0 ? e : n.editable || !1, o = r === !0 || r !== void 0 && r !== !1 && r.edit === !0, a = r === !0 || r !== void 0 && r !== !1 && r.resize === !0, c = r === !0 || r !== void 0 && r !== !1 && r.remove === !0, l = r === !0 || r !== void 0 && r !== !1 && r.drag === !0, s = r === !0 || r !== void 0 && r !== !1 && r.add === !0, i = r === !0 || r !== void 0 && r !== !1 && r.select === !0;
690
690
  return {
691
691
  add: s,
@@ -695,7 +695,7 @@ const Xc = t.forwardRef((e, n) => {
695
695
  resize: a,
696
696
  select: i
697
697
  };
698
- }, Qc = (e, n) => {
698
+ }, Jc = (e, n) => {
699
699
  const r = t.useRef(), o = t.useRef(0), a = nn(), c = () => {
700
700
  if (!e.current)
701
701
  return;
@@ -707,7 +707,7 @@ const Xc = t.forwardRef((e, n) => {
707
707
  const i = e.current.element, d = e.current.props;
708
708
  if (!i)
709
709
  return;
710
- const u = _r(i);
710
+ const u = Or(i);
711
711
  let m = 0;
712
712
  const g = d.items.filter((y) => y._ref.current);
713
713
  g.forEach((y) => {
@@ -727,7 +727,7 @@ const Xc = t.forwardRef((e, n) => {
727
727
  l();
728
728
  });
729
729
  }, [l]);
730
- t.useLayoutEffect(c, []), t.useEffect(l, [e, e.current && e.current.props, n]), t.useEffect(
730
+ Tr(c, []), t.useEffect(l, [e, e.current && e.current.props, n]), t.useEffect(
731
731
  () => {
732
732
  if (!e.current)
733
733
  return;
@@ -745,9 +745,9 @@ const Xc = t.forwardRef((e, n) => {
745
745
  },
746
746
  [s, a, e]
747
747
  );
748
- }, Jc = (e, n) => {
748
+ }, es = (e, n) => {
749
749
  const { _ref: r, itemRef: o } = e, a = t.useRef(null), c = t.useRef(null), [, l] = rn();
750
- return t.useImperativeHandle(a, () => ({ element: c.current, props: e })), t.useImperativeHandle(n, () => a.current), t.useImperativeHandle(r, () => a.current), t.useImperativeHandle(o, () => a.current), t.useLayoutEffect(
750
+ return t.useImperativeHandle(a, () => ({ element: c.current, props: e })), t.useImperativeHandle(n, () => a.current), t.useImperativeHandle(r, () => a.current), t.useImperativeHandle(o, () => a.current), Tr(
751
751
  () => (l({
752
752
  type: vn.add,
753
753
  item: a
@@ -763,7 +763,7 @@ const Xc = t.forwardRef((e, n) => {
763
763
  };
764
764
  };
765
765
  var jt = /* @__PURE__ */ ((e) => (e.next = "ITEMS_FOCUS_NEXT", e.prev = "ITEMS_FOCUS_PREV", e))(jt || {});
766
- const es = (e) => [[], (r, o) => {
766
+ const ts = (e) => [[], (r, o) => {
767
767
  switch (r.type) {
768
768
  case "ITEMS_FOCUS_NEXT": {
769
769
  if (!r.item || !r.item.current || !e)
@@ -792,40 +792,40 @@ const es = (e) => [[], (r, o) => {
792
792
  }
793
793
  }];
794
794
  var Pe = /* @__PURE__ */ ((e) => (e.up = "SLOT_FOCUS_UP", e.down = "SLOT_FOCUS_DOWN", e.left = "SLOT_FOCUS_LEFT", e.right = "SLOT_FOCUS_RIGHT", e))(Pe || {});
795
- const ts = (e) => [[], (r, o) => {
795
+ const ns = (e) => [[], (r, o) => {
796
796
  switch (r.type) {
797
797
  case "SLOT_FOCUS_UP": {
798
798
  if (!r.slot.current || !e)
799
799
  return;
800
- const a = ns(r.slot, e);
800
+ const a = rs(r.slot, e);
801
801
  a && a.current && a.current.element && (o.preventDefault(), a.current.element.focus());
802
802
  break;
803
803
  }
804
804
  case "SLOT_FOCUS_DOWN": {
805
805
  if (!r.slot || !e)
806
806
  return;
807
- const a = ls(r.slot, e);
807
+ const a = os(r.slot, e);
808
808
  a && a.current && a.current.element && (o.preventDefault(), a.current.element.focus());
809
809
  break;
810
810
  }
811
811
  case "SLOT_FOCUS_LEFT": {
812
812
  if (!r.slot || !e)
813
813
  return;
814
- const a = rs(r.slot, e);
814
+ const a = as(r.slot, e);
815
815
  a && a.current && a.current.element && (o.preventDefault(), a.current.element.focus());
816
816
  break;
817
817
  }
818
818
  case "SLOT_FOCUS_RIGHT": {
819
819
  if (!r.slot || !e)
820
820
  return;
821
- const a = as(r.slot, e);
821
+ const a = ls(r.slot, e);
822
822
  a && a.current && a.current.element && (o.preventDefault(), a.current.element.focus());
823
823
  break;
824
824
  }
825
825
  }
826
- }], ns = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row - 1 && r.current.props.col === e.current.props.col), rs = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row && r.current.props.col === e.current.props.col - 1), as = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row && r.current.props.col === e.current.props.col + 1), ls = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row + 1 && r.current.props.col === e.current.props.col);
827
- var Oe = /* @__PURE__ */ ((e) => (e.select = "ITEMS_SELECT_SELECT", e.selectNext = "ITEMS_SELECT_SELECT_NEXT", e.selectPrev = "ITEMS_SELECT_SELECT_PREV", e.reset = "ITEMS_SELECT_RESET", e.add = "ITEMS_SELECT_ADD", e.remove = "ITEMS_SELECT_REMOVE", e))(Oe || {});
828
- const os = (e) => {
826
+ }], rs = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row - 1 && r.current.props.col === e.current.props.col), as = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row && r.current.props.col === e.current.props.col - 1), ls = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row && r.current.props.col === e.current.props.col + 1), os = (e, n) => n.find((r) => r.current !== null && e.current !== null && r.current.props.row === e.current.props.row + 1 && r.current.props.col === e.current.props.col);
827
+ var Le = /* @__PURE__ */ ((e) => (e.select = "ITEMS_SELECT_SELECT", e.selectNext = "ITEMS_SELECT_SELECT_NEXT", e.selectPrev = "ITEMS_SELECT_SELECT_PREV", e.reset = "ITEMS_SELECT_RESET", e.add = "ITEMS_SELECT_ADD", e.remove = "ITEMS_SELECT_REMOVE", e))(Le || {});
828
+ const cs = (e) => {
829
829
  const [n, r] = t.useState([]), o = t.useCallback(
830
830
  (a, c) => {
831
831
  switch (a.type) {
@@ -877,8 +877,8 @@ const os = (e) => {
877
877
  );
878
878
  return [n, o];
879
879
  };
880
- var ha = /* @__PURE__ */ ((e) => (e.select = "SLOTS_SELECT_SELECT", e.reset = "SLOTS_SELECT_RESET", e.add = "SLOTS_SELECT_ADD", e))(ha || {});
881
- const cs = (e) => {
880
+ var fa = /* @__PURE__ */ ((e) => (e.select = "SLOTS_SELECT_SELECT", e.reset = "SLOTS_SELECT_RESET", e.add = "SLOTS_SELECT_ADD", e))(fa || {});
881
+ const ss = (e) => {
882
882
  const [n, r] = t.useState([]), o = t.useCallback(
883
883
  (a) => {
884
884
  switch (a.type) {
@@ -903,14 +903,14 @@ const cs = (e) => {
903
903
  }, an = t.forwardRef((e, n) => {
904
904
  const r = t.useRef(null);
905
905
  t.useImperativeHandle(n, () => r.current);
906
- const [o, a] = ba([]), [c, l] = ba([]), [s, i] = es(o), [d, u] = ts(c), [m, g] = os(o), [h, y] = cs(), D = t.useCallback(
906
+ const [o, a] = Ra([]), [c, l] = Ra([]), [s, i] = ts(o), [d, u] = ns(c), [m, g] = cs(o), [h, y] = ss(), D = t.useCallback(
907
907
  (x, R) => {
908
- y({ type: ha.reset }), g(x, R);
908
+ y({ type: fa.reset }), g(x, R);
909
909
  },
910
910
  [g, y]
911
911
  ), C = t.useCallback(
912
912
  (x, R) => {
913
- g({ type: Oe.reset }, R), y(x);
913
+ g({ type: Le.reset }, R), y(x);
914
914
  },
915
915
  [g, y]
916
916
  ), z = t.useMemo(
@@ -918,7 +918,7 @@ const cs = (e) => {
918
918
  [e.className]
919
919
  );
920
920
  return Xt({ element: r, selector: ".k-group-cell", attribute: "data-depth-index", explicitDepth: !0 }), Xt({ element: r, selector: ".k-side-cell", attribute: "data-depth-index", explicitDepth: !1 }), /* @__PURE__ */ t.createElement(
921
- qc,
921
+ Zc,
922
922
  {
923
923
  props: e.props,
924
924
  ranges: e.ranges,
@@ -946,14 +946,14 @@ const Me = t.createContext({
946
946
  resource: {},
947
947
  groupIndex: 0
948
948
  }), ft = (e) => {
949
- const { nested: n, children: r, rowContentProps: o } = e, a = e.rowContent || ss, c = e.childRowContent || a, l = Fr(e.group, e.resources), s = 0;
950
- return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-group k-group-horizontal" }, n ? Ml({ resources: l, children: r, nested: n, groupIndex: s, rowContent: a, rowContentProps: o, childRowContent: c }) : zl({ resources: l, children: r, rowContent: a, nested: !!n, groupIndex: s, rowContentProps: o, childRowContent: c }));
951
- }, Ml = (e) => {
949
+ const { nested: n, children: r, rowContentProps: o } = e, a = e.rowContent || is, c = e.childRowContent || a, l = _r(e.group, e.resources), s = 0;
950
+ return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-group k-group-horizontal" }, n ? zl({ resources: l, children: r, nested: n, groupIndex: s, rowContent: a, rowContentProps: o, childRowContent: c }) : Al({ resources: l, children: r, rowContent: a, nested: !!n, groupIndex: s, rowContentProps: o, childRowContent: c }));
951
+ }, zl = (e) => {
952
952
  const { resources: n, rowContent: r, nested: o, children: a, groupIndex: c, rowContentProps: l, childRowContent: s } = e;
953
953
  if (c === n.length)
954
- return zl({ resources: n, rowContent: r, children: a, nested: o, groupIndex: c, rowContentProps: l, childRowContent: s });
955
- const i = Za(n, c), d = r;
956
- return /* @__PURE__ */ t.createElement(t.Fragment, null, o ? /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement(d, { resources: n, groupIndex: c, ...l }, i.map((u, m) => /* @__PURE__ */ t.createElement("div", { key: m, className: "k-scheduler-cell k-heading-cell" }, u.text)))) : /* @__PURE__ */ t.createElement(d, { resources: n, groupIndex: c, ...l }, i.map((u, m) => /* @__PURE__ */ t.createElement("div", { key: m, className: "k-scheduler-cell k-heading-cell" }, u.text))), Ml({
954
+ return Al({ resources: n, rowContent: r, children: a, nested: o, groupIndex: c, rowContentProps: l, childRowContent: s });
955
+ const i = Xa(n, c), d = r;
956
+ return /* @__PURE__ */ t.createElement(t.Fragment, null, o ? /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement(d, { resources: n, groupIndex: c, ...l }, i.map((u, m) => /* @__PURE__ */ t.createElement("div", { key: m, className: "k-scheduler-cell k-heading-cell" }, u.text)))) : /* @__PURE__ */ t.createElement(d, { resources: n, groupIndex: c, ...l }, i.map((u, m) => /* @__PURE__ */ t.createElement("div", { key: m, className: "k-scheduler-cell k-heading-cell" }, u.text))), zl({
957
957
  resources: n,
958
958
  children: a,
959
959
  nested: o,
@@ -961,15 +961,15 @@ const Me = t.createContext({
961
961
  childRowContent: s,
962
962
  groupIndex: c + 1
963
963
  }));
964
- }, zl = (e) => {
965
- const { resources: n, childRowContent: r, children: o, rowContentProps: a } = e, c = Za(n, n.length - 1), l = r, s = n.length > 0;
966
- return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement(l, { resources: n, ...a }, (c.length ? c : oc).map((i, d) => /* @__PURE__ */ t.createElement("div", { key: d, className: "k-scheduler-cell k-group-cell" }, /* @__PURE__ */ t.createElement(Me.Provider, { value: { resource: i, groupIndex: s ? d : 0 } }, o)))));
964
+ }, Al = (e) => {
965
+ const { resources: n, childRowContent: r, children: o, rowContentProps: a } = e, c = Xa(n, n.length - 1), l = r, s = n.length > 0;
966
+ return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement(l, { resources: n, ...a }, (c.length ? c : cc).map((i, d) => /* @__PURE__ */ t.createElement("div", { key: d, className: "k-scheduler-cell k-group-cell" }, /* @__PURE__ */ t.createElement(Me.Provider, { value: { resource: i, groupIndex: s ? d : 0 } }, o)))));
967
967
  };
968
968
  ft.displayName = "KendoReactSchedulerHorizontalResourceIterator";
969
- const ss = (e) => e.children, Ma = (e) => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-side-cell", "data-range-index": e.rangeIndex }), e.children), it = (e) => {
970
- const { nested: n, wrapGroup: r, children: o } = e, a = e.cellContent || hs, c = Fr(e.group, e.resources), l = 0, s = 0;
971
- return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-group" }, n ? r ? /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, Al({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s })), /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-group-content" }, Rr({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s }, !1))) : Rr({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s }, !0) : r ? /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, is({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s })), /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-group-content" }, o)) : ds({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s }));
972
- }, is = (e) => /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, e.resources.map((n, r) => /* @__PURE__ */ t.createElement("div", { key: r, className: "k-scheduler-cell k-resource-cell k-heading-cell", "data-depth-index": r })))), Rr = (e, n = !0) => {
969
+ const is = (e) => e.children, za = (e) => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-side-cell", "data-range-index": e.rangeIndex }), e.children), it = (e) => {
970
+ const { nested: n, wrapGroup: r, children: o } = e, a = e.cellContent || fs, c = _r(e.group, e.resources), l = 0, s = 0;
971
+ return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-group" }, n ? r ? /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, Nl({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s })), /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-group-content" }, Rr({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s }, !1))) : Rr({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s }, !0) : r ? /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, ds({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s })), /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-group-content" }, o)) : us({ resources: c, children: o, cellContent: a, depth: l, groupIndex: s }));
972
+ }, ds = (e) => /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, e.resources.map((n, r) => /* @__PURE__ */ t.createElement("div", { key: r, className: "k-scheduler-cell k-resource-cell k-heading-cell", "data-depth-index": r })))), Rr = (e, n = !0) => {
973
973
  const { resources: r, children: o, cellContent: a, groupIndex: c, depth: l } = e, s = r.length > 0;
974
974
  if (l === r.length || !s)
975
975
  return /* @__PURE__ */ t.createElement(
@@ -998,7 +998,7 @@ const ss = (e) => e.children, Ma = (e) => /* @__PURE__ */ t.createElement(t.Frag
998
998
  n
999
999
  )
1000
1000
  )));
1001
- }, Al = (e) => {
1001
+ }, Nl = (e) => {
1002
1002
  const { resources: n, children: r, cellContent: o, groupIndex: a, depth: c } = e, l = n.length ? n[c].data.length : 0;
1003
1003
  return n[c] ? n[c].data.map((s, i) => /* @__PURE__ */ t.createElement("div", { key: i, className: "k-scheduler-row" }, /* @__PURE__ */ t.createElement(
1004
1004
  "div",
@@ -1008,17 +1008,17 @@ const ss = (e) => e.children, Ma = (e) => /* @__PURE__ */ t.createElement(t.Frag
1008
1008
  "data-resource-index": l * a + i
1009
1009
  },
1010
1010
  s.text
1011
- ), c + 1 !== n.length && /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-resource-content" }, Al({
1011
+ ), c + 1 !== n.length && /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-resource-content" }, Nl({
1012
1012
  resources: n,
1013
1013
  children: r,
1014
1014
  cellContent: o,
1015
1015
  groupIndex: l * a + i,
1016
1016
  depth: c + 1
1017
1017
  })))) : null;
1018
- }, ds = (e) => {
1018
+ }, us = (e) => {
1019
1019
  const { resources: n, children: r, groupIndex: o, cellContent: a } = e;
1020
- return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, ms(n), a, us(r, n, o));
1021
- }, us = (e, n, r) => {
1020
+ return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row" }, hs(n), a, ms(r, n, o));
1021
+ }, ms = (e, n, r) => {
1022
1022
  const o = n.length > 0;
1023
1023
  return /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-group-content" }, /* @__PURE__ */ t.createElement(
1024
1024
  Me.Provider,
@@ -1027,12 +1027,12 @@ const ss = (e) => e.children, Ma = (e) => /* @__PURE__ */ t.createElement(t.Frag
1027
1027
  },
1028
1028
  e
1029
1029
  ));
1030
- }, ms = (e) => e.map((n, r) => /* @__PURE__ */ t.createElement("div", { key: r, className: "k-scheduler-cell k-group-cell k-heading-cell", "data-depth-index": r }));
1030
+ }, hs = (e) => e.map((n, r) => /* @__PURE__ */ t.createElement("div", { key: r, className: "k-scheduler-cell k-group-cell k-heading-cell", "data-depth-index": r }));
1031
1031
  it.displayName = "KendoReactSchedulerVerticalResourceIterator";
1032
- const hs = null, Pn = (e) => {
1032
+ const fs = null, Pn = (e) => {
1033
1033
  const n = _e();
1034
1034
  return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day" }, n.toLanguageString(Gt, j[Gt])), e.children);
1035
- }, fa = t.forwardRef((e, n) => {
1035
+ }, ga = t.forwardRef((e, n) => {
1036
1036
  const {
1037
1037
  as: r = pn.as,
1038
1038
  ...o
@@ -1059,11 +1059,11 @@ const hs = null, Pn = (e) => {
1059
1059
  as: t.forwardRef(({ as: e, format: n, start: r, end: o, ...a }, c) => /* @__PURE__ */ t.createElement("div", { ...a, ref: c })),
1060
1060
  format: "t"
1061
1061
  };
1062
- fa.displayName = "KendoReactSchedulerTimeHeaderCell";
1063
- const za = (e) => {
1062
+ ga.displayName = "KendoReactSchedulerTimeHeaderCell";
1063
+ const Aa = (e) => {
1064
1064
  const { slot: n, children: r } = e;
1065
1065
  return /* @__PURE__ */ t.createElement(t.Fragment, null, e.isMaster ? /* @__PURE__ */ t.createElement(
1066
- fa,
1066
+ ga,
1067
1067
  {
1068
1068
  as: e.timeHeaderCell,
1069
1069
  date: n.zonedStart,
@@ -1079,7 +1079,7 @@ const za = (e) => {
1079
1079
  ) : /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-heading-cell k-side-cell" }), r);
1080
1080
  }, xt = (e, { timezone: n }, { groups: r, ranges: o }) => {
1081
1081
  const a = [];
1082
- return Ua(
1082
+ return Ba(
1083
1083
  e,
1084
1084
  [
1085
1085
  { field: "start", dir: "asc" },
@@ -1088,9 +1088,9 @@ const za = (e) => {
1088
1088
  ]
1089
1089
  ).forEach((l) => {
1090
1090
  r.forEach((s) => {
1091
- const i = r.length === 1 ? fs(l, s) : s;
1092
- Es(l, i) && o.forEach((d) => {
1093
- if (ys(l, d)) {
1091
+ const i = r.length === 1 ? gs(l, s) : s;
1092
+ ys(l, i) && o.forEach((d) => {
1093
+ if (vs(l, d)) {
1094
1094
  const u = t.createRef(), m = t.createRef(), g = d.end < l.end, h = l.start < d.start, y = te.fromLocalDate(l.start, n), D = te.fromLocalDate(l.end, n), C = {
1095
1095
  ...l,
1096
1096
  _ref: m,
@@ -1112,10 +1112,10 @@ const za = (e) => {
1112
1112
  });
1113
1113
  });
1114
1114
  }), a;
1115
- }, fs = (e, n) => ({
1115
+ }, gs = (e, n) => ({
1116
1116
  index: 0,
1117
- resources: n.resources.filter((r) => gs(e, r))
1118
- }), gs = (e, n) => n.multiple ? (e.dataItem[n.field] || []).some((r) => n[n.valueField] === r) : e.dataItem[n.field] === n[n.valueField], Es = (e, n) => !n.resources.some((r) => r.multiple ? !e.dataItem[r.field].some((o) => r[r.valueField] === o) : e.dataItem[r.field] !== r[r.valueField]), ys = (e, n) => pe(n.start, n.end, e.start, e.end) && (n.isAllDay === void 0 || e.isAllDay === void 0 || e.isAllDay === n.isAllDay), Qt = (e, { step: n }, { groups: r, ranges: o }) => {
1117
+ resources: n.resources.filter((r) => Es(e, r))
1118
+ }), Es = (e, n) => n.multiple ? (e.dataItem[n.field] || []).some((r) => n[n.valueField] === r) : e.dataItem[n.field] === n[n.valueField], ys = (e, n) => !n.resources.some((r) => r.multiple ? !e.dataItem[r.field].some((o) => r[r.valueField] === o) : e.dataItem[r.field] !== r[r.valueField]), vs = (e, n) => pe(n.start, n.end, e.start, e.end) && (n.isAllDay === void 0 || e.isAllDay === void 0 || e.isAllDay === n.isAllDay), Qt = (e, { step: n }, { groups: r, ranges: o }) => {
1119
1119
  const a = [];
1120
1120
  return r.forEach((c) => {
1121
1121
  o.forEach((l) => {
@@ -1139,7 +1139,7 @@ const za = (e) => {
1139
1139
  }
1140
1140
  });
1141
1141
  }), a;
1142
- }, Pt = (e, { dateRange: n, fields: r, timezone: o }) => e.map(vs(r)).reduce(ks(n, o, r), []).filter((c) => !Lr(c.dataItem, r)), vs = (e) => (n) => ({
1142
+ }, Pt = (e, { dateRange: n, fields: r, timezone: o }) => e.map(ks(r)).reduce(Ds(n, o, r), []).filter((c) => !Lr(c.dataItem, r)), ks = (e) => (n) => ({
1143
1143
  uid: xe(e.id || "id")(n),
1144
1144
  start: xe(e.start || "start")(n),
1145
1145
  startTimezone: xe(e.startTimezone || "startTimezone")(n),
@@ -1154,17 +1154,17 @@ const za = (e) => {
1154
1154
  recurrenceExceptions: xe(e.recurrenceExceptions || "recurrenceExceptions")(n),
1155
1155
  recurrenceId: xe(e.recurrenceId || "recurrenceId")(n),
1156
1156
  dataItem: se(n)
1157
- }), ks = (e, n, r) => (o, a) => [
1157
+ }), Ds = (e, n, r) => (o, a) => [
1158
1158
  ...o,
1159
- ...a.recurrenceRule && (a.recurrenceId === null || a.recurrenceId === void 0) && Lr(a.dataItem, r) ? [...Ds(a, { dateRange: e, timezone: n, fields: r })] : [a]
1160
- ], Ds = (e, { dateRange: n, timezone: r, fields: o }) => {
1161
- const a = e.recurrenceRule, c = Ya({ recurrenceRule: a });
1159
+ ...a.recurrenceRule && (a.recurrenceId === null || a.recurrenceId === void 0) && Lr(a.dataItem, r) ? [...Ss(a, { dateRange: e, timezone: n, fields: r })] : [a]
1160
+ ], Ss = (e, { dateRange: n, timezone: r, fields: o }) => {
1161
+ const a = e.recurrenceRule, c = qa({ recurrenceRule: a });
1162
1162
  c.start || (c.start = te.fromLocalDate(e.start, r)), c.end || (c.end = te.fromLocalDate(e.end, r));
1163
1163
  const l = e.recurrenceExceptions;
1164
1164
  l && (c.exceptionDates = l.map(
1165
1165
  (m) => te.fromLocalDate(m, r)
1166
1166
  ));
1167
- const s = n.zonedStart, i = n.zonedEnd, d = nc(c, {
1167
+ const s = n.zonedStart, i = n.zonedEnd, d = rc(c, {
1168
1168
  rangeStart: s,
1169
1169
  rangeEnd: i
1170
1170
  });
@@ -1185,19 +1185,19 @@ const za = (e) => {
1185
1185
  o.push(g);
1186
1186
  }
1187
1187
  return o;
1188
- }, Aa = (e) => {
1188
+ }, Na = (e) => {
1189
1189
  const { onChange: n, data: r, validationMessage: o, visited: a, touched: c, modified: l, ...s } = e, [i, d] = t.useState(r), u = t.useCallback(
1190
1190
  (g) => n(g),
1191
1191
  [n]
1192
1192
  ), m = t.useCallback(
1193
1193
  (g) => {
1194
- const h = po(r || [], g.filter);
1194
+ const h = Wo(r || [], g.filter);
1195
1195
  d(h);
1196
1196
  },
1197
1197
  []
1198
1198
  );
1199
1199
  return /* @__PURE__ */ t.createElement(
1200
- ec,
1200
+ tc,
1201
1201
  {
1202
1202
  style: { width: "100%" },
1203
1203
  data: i,
@@ -1207,7 +1207,7 @@ const za = (e) => {
1207
1207
  ...s
1208
1208
  }
1209
1209
  );
1210
- }, Ss = (e) => {
1210
+ }, ws = (e) => {
1211
1211
  const { value: n, data: r, onChange: o, ...a } = e, c = t.useCallback(
1212
1212
  (l) => {
1213
1213
  o && o.call(void 0, l.currentTarget.dataset.value);
@@ -1215,7 +1215,7 @@ const za = (e) => {
1215
1215
  [o]
1216
1216
  );
1217
1217
  return /* @__PURE__ */ t.createElement(
1218
- Mr,
1218
+ zr,
1219
1219
  {
1220
1220
  className: "k-scheduler-recurrence-repeat",
1221
1221
  width: "100%",
@@ -1234,7 +1234,7 @@ const za = (e) => {
1234
1234
  l.text
1235
1235
  ))
1236
1236
  );
1237
- }, en = (e) => e.charAt(0).toUpperCase() + e.slice(1), ws = ["first", "second", "third", "fourth", "last"], Cs = ["never", "daily", "weekly", "monthly", "yearly"], bs = [
1237
+ }, en = (e) => e.charAt(0).toUpperCase() + e.slice(1), Cs = ["first", "second", "third", "fourth", "last"], bs = ["never", "daily", "weekly", "monthly", "yearly"], Rs = [
1238
1238
  { day: 0, offset: 0 },
1239
1239
  { day: 1, offset: 0 },
1240
1240
  { day: 2, offset: 0 },
@@ -1242,35 +1242,35 @@ const za = (e) => {
1242
1242
  { day: 4, offset: 0 },
1243
1243
  { day: 5, offset: 0 },
1244
1244
  { day: 6, offset: 0 }
1245
- ], Rs = [
1245
+ ], Is = [
1246
1246
  { day: 1, offset: 0 },
1247
1247
  { day: 2, offset: 0 },
1248
1248
  { day: 3, offset: 0 },
1249
1249
  { day: 4, offset: 0 },
1250
1250
  { day: 5, offset: 0 }
1251
- ], Is = [
1251
+ ], Ts = [
1252
1252
  { day: 0, offset: 0 },
1253
1253
  { day: 6, offset: 0 }
1254
- ], Na = (e) => {
1254
+ ], Fa = (e) => {
1255
1255
  switch (e) {
1256
1256
  case "day":
1257
- return bs;
1258
- case "weekday":
1259
1257
  return Rs;
1260
- case "weekend":
1258
+ case "weekday":
1261
1259
  return Is;
1260
+ case "weekend":
1261
+ return Ts;
1262
1262
  }
1263
- }, Ts = (e) => Ya({ recurrenceRule: e }) || {}, xs = (e) => Cs.map((n) => ({
1263
+ }, xs = (e) => qa({ recurrenceRule: e }) || {}, Ms = (e) => bs.map((n) => ({
1264
1264
  value: n,
1265
1265
  text: e("Frequencies" + en(n))
1266
- })), Ms = (e) => st(e) && !fc(e.freq) ? e.freq : "never", zs = (e) => st(e.until) ? Ir(e.until) : null, As = (e) => e.dateFormatNames({
1266
+ })), zs = (e) => st(e) && !gc(e.freq) ? e.freq : "never", As = (e) => st(e.until) ? Ir(e.until) : null, Ns = (e) => e.dateFormatNames({
1267
1267
  type: "months",
1268
1268
  nameType: "wide",
1269
1269
  standAlone: !0
1270
1270
  }).map((n, r) => ({
1271
1271
  text: n,
1272
1272
  value: r + 1
1273
- })), Ns = (e) => {
1273
+ })), Fs = (e) => {
1274
1274
  const n = e.firstDay(), r = e.dateFormatNames({
1275
1275
  type: "days",
1276
1276
  nameType: "abbreviated"
@@ -1279,7 +1279,7 @@ const za = (e) => {
1279
1279
  value: a
1280
1280
  }));
1281
1281
  return r.slice(n).concat(r.slice(0, n));
1282
- }, Fs = (e, n, r) => e.find((o) => {
1282
+ }, _s = (e, n, r) => e.find((o) => {
1283
1283
  let a;
1284
1284
  if (st(n.byWeekDay))
1285
1285
  switch (n.byWeekDay.length) {
@@ -1300,7 +1300,7 @@ const za = (e) => {
1300
1300
  break;
1301
1301
  }
1302
1302
  return a === o.value;
1303
- }) || e[0], _s = (e, n) => {
1303
+ }) || e[0], Os = (e, n) => {
1304
1304
  const r = e.firstDay();
1305
1305
  let o = e.dateFormatNames({
1306
1306
  type: "days",
@@ -1315,23 +1315,23 @@ const za = (e) => {
1315
1315
  { text: n("WeekdaysWeekday"), value: "weekday" },
1316
1316
  { text: n("WeekdaysWeekendday"), value: "weekend" }
1317
1317
  ].concat(a);
1318
- }, Ls = (e, n) => e.find((r) => r.value === (n.bySetPosition ? n.bySetPosition[0] : n.byWeekDay && n.byWeekDay[0] ? n.byWeekDay[0].offset : 1)) || e[0], Os = (e) => {
1318
+ }, Ls = (e, n) => e.find((r) => r.value === (n.bySetPosition ? n.bySetPosition[0] : n.byWeekDay && n.byWeekDay[0] ? n.byWeekDay[0].offset : 1)) || e[0], Ps = (e) => {
1319
1319
  const n = [1, 2, 3, 4, -1];
1320
- return ws.map((r, o) => ({
1320
+ return Cs.map((r, o) => ({
1321
1321
  text: e("OffsetPositions" + en(r)),
1322
1322
  value: n[o]
1323
1323
  }));
1324
- }, Ps = (e) => st(e.count) ? "count" : st(e.until) ? "until" : "never", ps = (e) => {
1324
+ }, ps = (e) => st(e.count) ? "count" : st(e.until) ? "until" : "never", Ws = (e) => {
1325
1325
  if (st(e.byWeekDay))
1326
1326
  return "weekday";
1327
1327
  if (st(e.byMonthDay))
1328
1328
  return "monthday";
1329
- }, Ws = (e, n) => e.find((r) => (n.byMonth ? n.byMonth[0] : null) === r.value) || e[0], Hs = (e, n) => st(e.byMonthDay) && e.byMonthDay.length > 0 ? e.byMonthDay[0] : n.getDate(), Vs = (e) => {
1330
- const { value: n, data: r, onChange: o, ...a } = { ...Fa, ...e }, c = (l) => {
1329
+ }, Hs = (e, n) => e.find((r) => (n.byMonth ? n.byMonth[0] : null) === r.value) || e[0], Vs = (e, n) => st(e.byMonthDay) && e.byMonthDay.length > 0 ? e.byMonthDay[0] : n.getDate(), Ks = (e) => {
1330
+ const { value: n, data: r, onChange: o, ...a } = { ..._a, ...e }, c = (l) => {
1331
1331
  const s = Number(l.currentTarget.dataset.key);
1332
1332
  e.onChange && e.onChange.call(void 0, n.some((i) => i === s) ? n.filter((i) => i !== s) : [...n, s]);
1333
1333
  };
1334
- return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(Mr, { width: "auto", ...a }, (e.data || Fa.data).map((l) => /* @__PURE__ */ t.createElement(
1334
+ return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(zr, { width: "auto", ...a }, (e.data || _a.data).map((l) => /* @__PURE__ */ t.createElement(
1335
1335
  Ie,
1336
1336
  {
1337
1337
  type: "button",
@@ -1343,10 +1343,10 @@ const za = (e) => {
1343
1343
  },
1344
1344
  en(l.text)
1345
1345
  ))));
1346
- }, Fa = {
1346
+ }, _a = {
1347
1347
  data: [],
1348
1348
  value: []
1349
- }, Nl = (e) => {
1349
+ }, Fl = (e) => {
1350
1350
  const n = Ge(), r = _e(), { timezone: o } = Xe(), [a, c] = t.useState(1), [l, s] = t.useState(te.fromUTCDate(e.start)), i = t.useCallback(
1351
1351
  (k, E) => {
1352
1352
  const M = E ? k : "scheduler.recurrenceEditor" + k;
@@ -1356,51 +1356,51 @@ const za = (e) => {
1356
1356
  ), d = t.useMemo(
1357
1357
  () => {
1358
1358
  var k;
1359
- return Ts((k = e.value) != null ? k : Ks.value);
1359
+ return xs((k = e.value) != null ? k : Us.value);
1360
1360
  },
1361
1361
  [e.value]
1362
1362
  ), u = t.useMemo(
1363
- () => xs(i),
1363
+ () => Ms(i),
1364
1364
  [i]
1365
1365
  ), m = t.useMemo(
1366
- () => Ms(d),
1366
+ () => zs(d),
1367
1367
  [d]
1368
1368
  ), g = t.useMemo(
1369
- () => _s(n, i),
1369
+ () => Os(n, i),
1370
1370
  [n, i]
1371
1371
  ), h = t.useMemo(
1372
- () => Fs(g, d, e.start),
1372
+ () => _s(g, d, e.start),
1373
1373
  [g, d, e.start]
1374
1374
  ), y = t.useMemo(
1375
- () => As(n),
1375
+ () => Ns(n),
1376
1376
  [n]
1377
1377
  ), D = t.useMemo(
1378
- () => Ws(y, d),
1378
+ () => Hs(y, d),
1379
1379
  [y, d]
1380
1380
  ), C = t.useMemo(
1381
- () => Os(i),
1381
+ () => Ps(i),
1382
1382
  [i]
1383
1383
  ), z = t.useMemo(
1384
1384
  () => Ls(C, d),
1385
1385
  [C, d]
1386
1386
  ), x = t.useMemo(
1387
- () => Ps(d),
1387
+ () => ps(d),
1388
1388
  [d]
1389
1389
  ), R = t.useMemo(
1390
- () => Hs(d, e.start),
1390
+ () => Vs(d, e.start),
1391
1391
  [d, e.start]
1392
1392
  ), P = t.useMemo(
1393
- () => zs(d),
1393
+ () => As(d),
1394
1394
  [d.until]
1395
1395
  ), _ = t.useMemo(
1396
- () => Ns(n),
1396
+ () => Fs(n),
1397
1397
  [n]
1398
1398
  ), p = t.useMemo(
1399
- () => ps(d),
1399
+ () => Ws(d),
1400
1400
  [d.byWeekDay, d.byMonthDay]
1401
1401
  ), f = t.useCallback(
1402
1402
  (k) => {
1403
- k.freq === "never" ? e.onChange({ value: null }) : (k.weekStart === void 0 && (k.weekStart = n.firstDay()), e.onChange({ value: rc(k, e.timezone) }));
1403
+ k.freq === "never" ? e.onChange({ value: null }) : (k.weekStart === void 0 && (k.weekStart = n.firstDay()), e.onChange({ value: ac(k, e.timezone) }));
1404
1404
  },
1405
1405
  [e.onChange, e.timezone]
1406
1406
  ), I = t.useCallback(
@@ -1449,7 +1449,7 @@ const za = (e) => {
1449
1449
  ), F = t.useCallback(
1450
1450
  (k) => {
1451
1451
  const E = Object.assign({}, d), M = k.target.value;
1452
- typeof M.value == "string" ? (E.byWeekDay = Na(M.value), E.bySetPosition = [z.value]) : E.byWeekDay = [{
1452
+ typeof M.value == "string" ? (E.byWeekDay = Fa(M.value), E.bySetPosition = [z.value]) : E.byWeekDay = [{
1453
1453
  day: M.value,
1454
1454
  offset: z.value
1455
1455
  }], f(E);
@@ -1462,7 +1462,7 @@ const za = (e) => {
1462
1462
  }));
1463
1463
  },
1464
1464
  [f, d]
1465
- ), O = t.useCallback(
1465
+ ), L = t.useCallback(
1466
1466
  (k) => {
1467
1467
  const E = k.value;
1468
1468
  f(Object.assign({}, d, {
@@ -1470,7 +1470,7 @@ const za = (e) => {
1470
1470
  }));
1471
1471
  },
1472
1472
  [f, d]
1473
- ), L = t.useCallback(
1473
+ ), O = t.useCallback(
1474
1474
  (k) => {
1475
1475
  const E = k.value, M = Object.assign({}, d);
1476
1476
  switch (E) {
@@ -1490,7 +1490,7 @@ const za = (e) => {
1490
1490
  ), S = t.useCallback(
1491
1491
  (k) => {
1492
1492
  const E = Object.assign({}, d);
1493
- k.value === "monthday" ? (E.byWeekDay = void 0, E.bySetPosition = void 0, E.byMonthDay = [R]) : k.value === "weekday" && (E.byMonthDay = void 0, typeof h.value == "string" ? (E.bySetPosition = [z.value], E.byWeekDay = Na(h.value)) : E.byWeekDay = [{
1493
+ k.value === "monthday" ? (E.byWeekDay = void 0, E.bySetPosition = void 0, E.byMonthDay = [R]) : k.value === "weekday" && (E.byMonthDay = void 0, typeof h.value == "string" ? (E.bySetPosition = [z.value], E.byWeekDay = Fa(h.value)) : E.byWeekDay = [{
1494
1494
  day: h.value,
1495
1495
  offset: z.value
1496
1496
  }]), f(E);
@@ -1515,7 +1515,7 @@ const za = (e) => {
1515
1515
  [f, d]
1516
1516
  );
1517
1517
  return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, { className: "k-form-label" }, r.toLanguageString(fr, j[fr])), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1518
- Ss,
1518
+ ws,
1519
1519
  {
1520
1520
  value: m,
1521
1521
  data: u,
@@ -1532,15 +1532,15 @@ const za = (e) => {
1532
1532
  id: "interval-editor",
1533
1533
  className: "k-recur-interval"
1534
1534
  }
1535
- ), /* @__PURE__ */ t.createElement(t.Fragment, null, " "), /* @__PURE__ */ t.createElement(ke, { editorId: "interval-editor", className: "k-form-label" }, i(en(m) + "Interval")))), m === "weekly" && /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, { className: "k-form-label" }, i(il, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1536
- Vs,
1535
+ ), /* @__PURE__ */ t.createElement(t.Fragment, null, " "), /* @__PURE__ */ t.createElement(ke, { editorId: "interval-editor", className: "k-form-label" }, i(en(m) + "Interval")))), m === "weekly" && /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, { className: "k-form-label" }, i(dl, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1536
+ Ks,
1537
1537
  {
1538
1538
  data: _,
1539
1539
  value: (d.byWeekDay || []).map(({ day: k }) => k),
1540
1540
  onChange: Z
1541
1541
  }
1542
- ))), m === "monthly" && /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, { key: "recurrence-repeat-on-monthly-label", className: "k-form-label" }, i(ul, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1543
- Ln,
1542
+ ))), m === "monthly" && /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, { key: "recurrence-repeat-on-monthly-label", className: "k-form-label" }, i(ml, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1543
+ On,
1544
1544
  {
1545
1545
  value: p,
1546
1546
  onChange: S,
@@ -1549,7 +1549,7 @@ const za = (e) => {
1549
1549
  data: [
1550
1550
  {
1551
1551
  value: "monthday",
1552
- label: i(dl, !0),
1552
+ label: i(ul, !0),
1553
1553
  children: [
1554
1554
  /* @__PURE__ */ t.createElement(t.Fragment, { key: "separator" }, " "),
1555
1555
  /* @__PURE__ */ t.createElement(
@@ -1601,8 +1601,8 @@ const za = (e) => {
1601
1601
  }
1602
1602
  ]
1603
1603
  }
1604
- ))), m === "yearly" && /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, null, i(hl, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1605
- Ln,
1604
+ ))), m === "yearly" && /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, null, i(fl, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1605
+ On,
1606
1606
  {
1607
1607
  value: p,
1608
1608
  item: Wn,
@@ -1622,7 +1622,7 @@ const za = (e) => {
1622
1622
  data: y,
1623
1623
  textField: "text",
1624
1624
  dataItemKey: "value",
1625
- onChange: O,
1625
+ onChange: L,
1626
1626
  style: { width: "auto" }
1627
1627
  }
1628
1628
  ),
@@ -1673,7 +1673,7 @@ const za = (e) => {
1673
1673
  }
1674
1674
  ),
1675
1675
  /* @__PURE__ */ t.createElement(t.Fragment, { key: "yearly-separator-2" }, " "),
1676
- /* @__PURE__ */ t.createElement("span", { key: "yearly-weekday-of-label" }, i(ml, !0)),
1676
+ /* @__PURE__ */ t.createElement("span", { key: "yearly-weekday-of-label" }, i(hl, !0)),
1677
1677
  /* @__PURE__ */ t.createElement(t.Fragment, { key: "yearly-separator-3" }, " "),
1678
1678
  /* @__PURE__ */ t.createElement(
1679
1679
  bt,
@@ -1684,7 +1684,7 @@ const za = (e) => {
1684
1684
  disabled: p !== "weekday",
1685
1685
  value: D,
1686
1686
  data: y,
1687
- onChange: O,
1687
+ onChange: L,
1688
1688
  style: { width: "auto" }
1689
1689
  }
1690
1690
  )
@@ -1692,20 +1692,20 @@ const za = (e) => {
1692
1692
  }
1693
1693
  ]
1694
1694
  }
1695
- ))), m !== "never" && /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-recurrence-end-rule-editor" }, /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, { className: "k-form-label" }, i(El, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1696
- Ln,
1695
+ ))), m !== "never" && /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-recurrence-end-rule-editor" }, /* @__PURE__ */ t.createElement(be, null, /* @__PURE__ */ t.createElement(ke, { className: "k-form-label" }, i(yl, !0)), /* @__PURE__ */ t.createElement("div", { className: "k-form-field-wrap" }, /* @__PURE__ */ t.createElement(
1696
+ On,
1697
1697
  {
1698
1698
  item: Wn,
1699
1699
  value: x,
1700
- onChange: L,
1700
+ onChange: O,
1701
1701
  data: [
1702
1702
  {
1703
1703
  value: "never",
1704
- label: i(yl, !0)
1704
+ label: i(vl, !0)
1705
1705
  },
1706
1706
  {
1707
1707
  value: "count",
1708
- label: i(fl, !0),
1708
+ label: i(gl, !0),
1709
1709
  children: [
1710
1710
  /* @__PURE__ */ t.createElement(t.Fragment, { key: "separator-1" }, " "),
1711
1711
  /* @__PURE__ */ t.createElement(
@@ -1715,7 +1715,7 @@ const za = (e) => {
1715
1715
  id: "k-endrule-after",
1716
1716
  className: "k-recur-count",
1717
1717
  min: 1,
1718
- width: "70px",
1718
+ width: "auto",
1719
1719
  value: x === "count" ? d.count : a,
1720
1720
  onChange: A,
1721
1721
  disabled: x !== "count"
@@ -1729,13 +1729,13 @@ const za = (e) => {
1729
1729
  className: "k-radio-label",
1730
1730
  editorId: "k-endrule-after"
1731
1731
  },
1732
- i(gl, !0)
1732
+ i(El, !0)
1733
1733
  )
1734
1734
  ]
1735
1735
  },
1736
1736
  {
1737
1737
  value: "until",
1738
- label: i(vl, !0),
1738
+ label: i(kl, !0),
1739
1739
  children: [
1740
1740
  /* @__PURE__ */ t.createElement(t.Fragment, { key: "separator" }, " "),
1741
1741
  /* @__PURE__ */ t.createElement(
@@ -1755,12 +1755,12 @@ const za = (e) => {
1755
1755
  ]
1756
1756
  }
1757
1757
  )))));
1758
- }, Wn = (e) => /* @__PURE__ */ t.createElement("li", { ...e }, e.children), Ks = {
1758
+ }, Wn = (e) => /* @__PURE__ */ t.createElement("li", { ...e }, e.children), Us = {
1759
1759
  value: ""
1760
1760
  };
1761
- Nl.displayName = "KendoReactSchedulerRepeatEditor";
1762
- const Us = (e) => {
1763
- const n = e.multiple ? tc : bt, r = t.useCallback(
1761
+ Fl.displayName = "KendoReactSchedulerRepeatEditor";
1762
+ const Bs = (e) => {
1763
+ const n = e.multiple ? nc : bt, r = t.useCallback(
1764
1764
  (l) => {
1765
1765
  const s = l.target.props.dataItemKey, i = e.multiple ? (l.target.value || []).map((d) => d[s]) : l.target.value[s];
1766
1766
  e.onChange.call(void 0, { value: i });
@@ -1815,22 +1815,22 @@ const Us = (e) => {
1815
1815
  valueRender: a
1816
1816
  }
1817
1817
  );
1818
- }, _a = (e) => {
1818
+ }, Oa = (e) => {
1819
1819
  const {
1820
- as: n = Gs.as,
1820
+ as: n = Ys.as,
1821
1821
  ...r
1822
1822
  } = e, { timezone: o } = Xe(), a = (c) => {
1823
- r.onChange && r.onChange({ value: $s(c.target.value, o) });
1823
+ r.onChange && r.onChange({ value: Gs(c.target.value, o) });
1824
1824
  };
1825
1825
  return /* @__PURE__ */ t.createElement(
1826
1826
  n,
1827
1827
  {
1828
1828
  ...r,
1829
- value: Bs(r.value, o),
1829
+ value: $s(r.value, o),
1830
1830
  onChange: a
1831
1831
  }
1832
1832
  );
1833
- }, Bs = (e, n) => e && Ir(te.fromLocalDate(e, n).toUTCDate()), $s = (e, n) => e && te.fromUTCDate(
1833
+ }, $s = (e, n) => e && Ir(te.fromLocalDate(e, n).toUTCDate()), Gs = (e, n) => e && te.fromUTCDate(
1834
1834
  new Date(Date.UTC(
1835
1835
  e.getFullYear(),
1836
1836
  e.getMonth(),
@@ -1841,10 +1841,10 @@ const Us = (e) => {
1841
1841
  e.getMilliseconds()
1842
1842
  )),
1843
1843
  n
1844
- ).toLocalDate(), Gs = {
1844
+ ).toLocalDate(), Ys = {
1845
1845
  as: Un
1846
- }, Fl = t.forwardRef((e, n) => {
1847
- const r = t.useRef(null), o = t.useRef(null), a = Io(), c = _e(), l = We(), { resources: s, timezone: i } = Xe();
1846
+ }, _l = t.forwardRef((e, n) => {
1847
+ const r = t.useRef(null), o = t.useRef(null), a = To(), c = _e(), l = We(), { resources: s, timezone: i } = Xe();
1848
1848
  t.useImperativeHandle(o, () => ({
1849
1849
  element: r.current && r.current.element ? r.current.element : r.current,
1850
1850
  props: e
@@ -1873,8 +1873,8 @@ const Us = (e) => {
1873
1873
  endTimezoneCheckedLabel: Z = ce.endTimezoneCheckedLabel,
1874
1874
  endTimezoneCheckedEditor: F = ce.endTimezoneCheckedEditor,
1875
1875
  allDayLabel: V = ce.allDayLabel,
1876
- allDayEditor: O = ce.allDayEditor,
1877
- recurrenceEditor: L = ce.recurrenceEditor,
1876
+ allDayEditor: L = ce.allDayEditor,
1877
+ recurrenceEditor: O = ce.recurrenceEditor,
1878
1878
  descriptionLabel: S = ce.descriptionLabel,
1879
1879
  descriptionEditor: U = ce.descriptionEditor,
1880
1880
  descriptionError: k = ce.descriptionError,
@@ -1894,10 +1894,10 @@ const Us = (e) => {
1894
1894
  (le) => le ? void 0 : $,
1895
1895
  [$]
1896
1896
  ), Ee = t.useCallback(
1897
- (le, Le) => re ? we(Le(l.startTimezone)) : void 0,
1897
+ (le, Oe) => re ? we(Oe(l.startTimezone)) : void 0,
1898
1898
  [we, re, l.startTimezone]
1899
1899
  ), He = t.useCallback(
1900
- (le, Le) => re && fe ? we(Le(l.endTimezone)) || we(Le(l.startTimezone)) : void 0,
1900
+ (le, Oe) => re && fe ? we(Oe(l.endTimezone)) || we(Oe(l.startTimezone)) : void 0,
1901
1901
  [we, re, fe, l.startTimezone, l.endTimezone]
1902
1902
  ), je = t.useMemo(
1903
1903
  () => he("k-scheduler-edit-form", e.className),
@@ -2079,7 +2079,7 @@ const Us = (e) => {
2079
2079
  {
2080
2080
  id: "k-is-allday-checkbox",
2081
2081
  name: l.isAllDay,
2082
- component: O
2082
+ component: L
2083
2083
  }
2084
2084
  ), /* @__PURE__ */ t.createElement(
2085
2085
  ue,
@@ -2094,7 +2094,7 @@ const Us = (e) => {
2094
2094
  ))), /* @__PURE__ */ t.createElement("div", { className: "k-recurrence-editor" }, /* @__PURE__ */ t.createElement(
2095
2095
  ue,
2096
2096
  {
2097
- component: L,
2097
+ component: O,
2098
2098
  field: l.recurrenceRule,
2099
2099
  name: l.recurrenceRule,
2100
2100
  start: H
@@ -2145,7 +2145,7 @@ const Us = (e) => {
2145
2145
  );
2146
2146
  }), ce = {
2147
2147
  as: t.forwardRef((e, n) => /* @__PURE__ */ t.createElement(
2148
- Xo,
2148
+ jo,
2149
2149
  {
2150
2150
  ref: n,
2151
2151
  id: e.id,
@@ -2158,34 +2158,34 @@ const Us = (e) => {
2158
2158
  )),
2159
2159
  titleLabel: ke,
2160
2160
  titleError: Ft,
2161
- titleEditor: Qo,
2161
+ titleEditor: Jo,
2162
2162
  startLabel: ke,
2163
2163
  startError: Ft,
2164
- startEditor: _a,
2164
+ startEditor: Oa,
2165
2165
  startTimezoneLabel: ke,
2166
2166
  startTimezoneError: Ft,
2167
- startTimezoneEditor: Aa,
2167
+ startTimezoneEditor: Na,
2168
2168
  startTimezoneCheckedLabel: ke,
2169
- startTimezoneCheckedEditor: On,
2169
+ startTimezoneCheckedEditor: Ln,
2170
2170
  endLabel: ke,
2171
2171
  endError: Ft,
2172
- endEditor: _a,
2172
+ endEditor: Oa,
2173
2173
  endTimezoneLabel: ke,
2174
2174
  endTimezoneError: Ft,
2175
- endTimezoneEditor: Aa,
2175
+ endTimezoneEditor: Na,
2176
2176
  endTimezoneCheckedLabel: ke,
2177
- endTimezoneCheckedEditor: On,
2177
+ endTimezoneCheckedEditor: Ln,
2178
2178
  allDayLabel: ke,
2179
- allDayEditor: On,
2180
- recurrenceEditor: Nl,
2179
+ allDayEditor: Ln,
2180
+ recurrenceEditor: Fl,
2181
2181
  descriptionLabel: ke,
2182
- descriptionEditor: Jo,
2182
+ descriptionEditor: ec,
2183
2183
  descriptionError: Ft,
2184
2184
  resourceLabel: ke,
2185
- resourceEditor: Us
2185
+ resourceEditor: Bs
2186
2186
  };
2187
- Fl.displayName = "KendoReactSchedulerFormEditor";
2188
- const ga = t.forwardRef((e, n) => {
2187
+ _l.displayName = "KendoReactSchedulerFormEditor";
2188
+ const Ea = t.forwardRef((e, n) => {
2189
2189
  const {
2190
2190
  onCancel: r,
2191
2191
  onClose: o,
@@ -2235,9 +2235,9 @@ const ga = t.forwardRef((e, n) => {
2235
2235
  },
2236
2236
  [p, m.end, m.start, f, _, s]
2237
2237
  );
2238
- return Tr ? Cn.createPortal(
2238
+ return xr ? Cn.createPortal(
2239
2239
  /* @__PURE__ */ t.createElement(
2240
- jo,
2240
+ Qo,
2241
2241
  {
2242
2242
  initialValues: e.dataItem,
2243
2243
  onSubmit: P,
@@ -2250,15 +2250,15 @@ const ga = t.forwardRef((e, n) => {
2250
2250
  onClose: R,
2251
2251
  className: "k-scheduler-edit-dialog"
2252
2252
  },
2253
- /* @__PURE__ */ t.createElement(Fl, { ...b, as: c }),
2254
- /* @__PURE__ */ t.createElement(Ar, { layout: "start" }, /* @__PURE__ */ t.createElement(
2253
+ /* @__PURE__ */ t.createElement(_l, { ...b, as: c }),
2254
+ /* @__PURE__ */ t.createElement(Nr, { layout: "start" }, /* @__PURE__ */ t.createElement(
2255
2255
  Ie,
2256
2256
  {
2257
2257
  themeColor: "primary",
2258
2258
  disabled: !b.allowSubmit,
2259
2259
  onClick: b.onSubmit,
2260
2260
  icon: "save",
2261
- svgIcon: $o
2261
+ svgIcon: Go
2262
2262
  },
2263
2263
  y
2264
2264
  ), /* @__PURE__ */ t.createElement(
@@ -2266,7 +2266,7 @@ const ga = t.forwardRef((e, n) => {
2266
2266
  {
2267
2267
  onClick: x,
2268
2268
  icon: "cancel",
2269
- svgIcon: Go
2269
+ svgIcon: Yo
2270
2270
  },
2271
2271
  D
2272
2272
  ))
@@ -2277,11 +2277,11 @@ const ga = t.forwardRef((e, n) => {
2277
2277
  document && document.body
2278
2278
  ) : null;
2279
2279
  }), La = {
2280
- dialog: Nr,
2280
+ dialog: Fr,
2281
2281
  validator: () => ({})
2282
2282
  };
2283
- ga.displayName = "KendoReactSchedulerForm";
2284
- const Ys = (e, n) => {
2283
+ Ea.displayName = "KendoReactSchedulerForm";
2284
+ const qs = (e, n) => {
2285
2285
  const { _ref: r } = e, o = t.useRef(null), a = t.useRef(null), [, c] = zt();
2286
2286
  return t.useImperativeHandle(o, () => ({ element: a.current, props: e })), t.useImperativeHandle(n, () => o.current), t.useImperativeHandle(r, () => o.current), t.useEffect(
2287
2287
  () => (c({
@@ -2297,7 +2297,7 @@ const Ys = (e, n) => {
2297
2297
  slot: o,
2298
2298
  element: a
2299
2299
  };
2300
- }, _l = t.forwardRef((e, n) => {
2300
+ }, Ol = t.forwardRef((e, n) => {
2301
2301
  const {
2302
2302
  // Focus
2303
2303
  onFocus: r,
@@ -2313,10 +2313,10 @@ const Ys = (e, n) => {
2313
2313
  onKeyDown: u,
2314
2314
  onKeyPress: m,
2315
2315
  onKeyUp: g
2316
- } = e, { slot: h, element: y } = Ys(e, n), D = e.tabIndex !== void 0 ? e.tabIndex === null ? void 0 : e.tabIndex : e.selected ? 0 : -1, C = t.useMemo(
2316
+ } = e, { slot: h, element: y } = qs(e, n), D = e.tabIndex !== void 0 ? e.tabIndex === null ? void 0 : e.tabIndex : e.selected ? 0 : -1, C = t.useMemo(
2317
2317
  () => {
2318
- var O, L;
2319
- const F = (O = e.isWorkHour) != null ? O : Oa.isWorkHour, V = (L = e.isWorkDay) != null ? L : Oa.isWorkDay;
2318
+ var L, O;
2319
+ const F = (L = e.isWorkHour) != null ? L : Pa.isWorkHour, V = (O = e.isWorkDay) != null ? O : Pa.isWorkDay;
2320
2320
  return he(
2321
2321
  e.className,
2322
2322
  "k-scheduler-cell k-slot-cell",
@@ -2452,17 +2452,17 @@ const Ys = (e, n) => {
2452
2452
  },
2453
2453
  e.children
2454
2454
  );
2455
- }), Oa = {
2455
+ }), Pa = {
2456
2456
  isWorkHour: !0,
2457
2457
  isWorkDay: !0
2458
2458
  };
2459
- _l.displayName = "KendoReactSchedulerSlot";
2459
+ Ol.displayName = "KendoReactSchedulerSlot";
2460
2460
  const Ll = t.forwardRef((e, n) => {
2461
2461
  var i;
2462
- const { slot: r, _ref: o, ...a } = e, c = r || Pa.slot, l = t.useRef(null), s = t.useRef(null);
2463
- return t.useImperativeHandle(l, () => ({ props: e })), t.useImperativeHandle(o, () => s.current), t.useImperativeHandle(n, () => l.current), Qc(s, (i = e.expandable) != null ? i : Pa.expandable), /* @__PURE__ */ t.createElement(c, { ...a, _ref: s });
2464
- }), Pa = {
2465
- slot: _l,
2462
+ const { slot: r, _ref: o, ...a } = e, c = r || pa.slot, l = t.useRef(null), s = t.useRef(null);
2463
+ return t.useImperativeHandle(l, () => ({ props: e })), t.useImperativeHandle(o, () => s.current), t.useImperativeHandle(n, () => l.current), Jc(s, (i = e.expandable) != null ? i : pa.expandable), /* @__PURE__ */ t.createElement(c, { ...a, _ref: s });
2464
+ }), pa = {
2465
+ slot: Ol,
2466
2466
  expandable: !1
2467
2467
  };
2468
2468
  Ll.displayName = "KendoReactSchedulerViewSlot";
@@ -2477,13 +2477,13 @@ const ln = t.forwardRef((e, n) => {
2477
2477
  ...i
2478
2478
  } = e, [d, u] = t.useState(e.tabIndex), m = t.useRef(null), g = t.useRef(null);
2479
2479
  t.useImperativeHandle(g, () => ({ props: e })), t.useImperativeHandle(n, () => g.current), t.useImperativeHandle(r, () => m.current);
2480
- const h = Ot(e.editable), y = We(), [D] = zt(), [C] = rn(), [z, x] = Gc(), [, R] = Il(), P = c || pa.form, _ = a || pa.viewSlot, [p, f] = Ne(null, l, e.onFormItemChange), I = z.some((S) => !!(S.current && S.current.props.start.getTime() === e.start.getTime() && S.current.props.end.getTime() === e.end.getTime() && S.current.props.index === e.index && S.current.props.group.index === e.group.index && S.current.props.range.index === e.range.index && S.current.props.isAllDay === e.isAllDay)), b = t.useCallback(
2480
+ const h = Lt(e.editable), y = We(), [D] = zt(), [C] = rn(), [z, x] = Yc(), [, R] = Tl(), P = c || Wa.form, _ = a || Wa.viewSlot, [p, f] = Ne(null, l, e.onFormItemChange), I = z.some((S) => !!(S.current && S.current.props.start.getTime() === e.start.getTime() && S.current.props.end.getTime() === e.end.getTime() && S.current.props.index === e.index && S.current.props.group.index === e.group.index && S.current.props.range.index === e.range.index && S.current.props.isAllDay === e.isAllDay)), b = t.useCallback(
2481
2481
  () => {
2482
2482
  const S = {};
2483
2483
  if (X(S, y.start, new Date(e.start.getTime())), X(S, y.end, new Date(e.end.getTime())), X(S, y.isAllDay, e.isAllDay), e.group.resources.length)
2484
2484
  for (let U = 0; U < e.group.resources.length; U++) {
2485
2485
  const k = e.group.resources[U];
2486
- if (sc(e.group.resources)) {
2486
+ if (ic(e.group.resources)) {
2487
2487
  const E = Y(e.group.resources[U], k.valueField);
2488
2488
  X(S, k.field, k.multiple ? [E] : E);
2489
2489
  } else
@@ -2503,7 +2503,7 @@ const ln = t.forwardRef((e, n) => {
2503
2503
  ), A = t.useCallback(
2504
2504
  (S) => {
2505
2505
  h.select && x({
2506
- type: ha.select,
2506
+ type: fa.select,
2507
2507
  slot: m
2508
2508
  }, S.syntheticEvent), e.onFocus && e.onFocus.call(void 0, S);
2509
2509
  },
@@ -2558,7 +2558,7 @@ const ln = t.forwardRef((e, n) => {
2558
2558
  break;
2559
2559
  }
2560
2560
  case Ke.tab:
2561
- U = gc(S.target);
2561
+ U = Ec(S.target);
2562
2562
  break;
2563
2563
  }
2564
2564
  U && (S.syntheticEvent.preventDefault(), U.element && U.element.focus());
@@ -2585,12 +2585,12 @@ const ln = t.forwardRef((e, n) => {
2585
2585
  f(null, S.syntheticEvent);
2586
2586
  },
2587
2587
  [f]
2588
- ), O = t.useCallback(
2588
+ ), L = t.useCallback(
2589
2589
  (S) => {
2590
2590
  f(null, S);
2591
2591
  },
2592
2592
  [f]
2593
- ), L = t.useCallback(
2593
+ ), O = t.useCallback(
2594
2594
  (S, U) => {
2595
2595
  f && f(S, U);
2596
2596
  },
@@ -2600,10 +2600,10 @@ const ln = t.forwardRef((e, n) => {
2600
2600
  const S = D.length && D[0].current === m.current;
2601
2601
  u(e.tabIndex !== void 0 ? e.tabIndex === null ? void 0 : e.tabIndex : z.length === 0 && S && C.length === 0 ? 0 : void 0);
2602
2602
  }, [C, e.tabIndex, z.length, D]), /* @__PURE__ */ t.createElement(
2603
- Vc,
2603
+ Kc,
2604
2604
  {
2605
2605
  props: e,
2606
- form: [p, L]
2606
+ form: [p, O]
2607
2607
  },
2608
2608
  /* @__PURE__ */ t.createElement(
2609
2609
  _,
@@ -2622,17 +2622,17 @@ const ln = t.forwardRef((e, n) => {
2622
2622
  {
2623
2623
  dataItem: p,
2624
2624
  onSubmit: F,
2625
- onClose: O,
2625
+ onClose: L,
2626
2626
  onCancel: V
2627
2627
  }
2628
2628
  )
2629
2629
  );
2630
- }), pa = {
2630
+ }), Wa = {
2631
2631
  viewSlot: Ll,
2632
- form: ga
2632
+ form: Ea
2633
2633
  };
2634
2634
  ln.displayName = "KendoReactSchedulerEditSlot";
2635
- const Ea = t.forwardRef((e, n) => {
2635
+ const ya = t.forwardRef((e, n) => {
2636
2636
  const {
2637
2637
  isRemove: r,
2638
2638
  onClose: o,
@@ -2640,7 +2640,7 @@ const Ea = t.forwardRef((e, n) => {
2640
2640
  onOccurrenceClick: c
2641
2641
  } = e, l = t.useRef(null);
2642
2642
  t.useImperativeHandle(l, () => ({ props: e })), t.useImperativeHandle(n, () => l.current);
2643
- const s = _e(), i = (I) => s.toLanguageString(I, j[I]), d = i(ll), u = i(ol), m = i(cl), g = i(sl), h = i(Dl), y = i(Sl), D = i(wl), C = i(kl), z = r ? D : g, x = r ? C : m, R = r ? h : d, P = r ? y : u, _ = t.useCallback(
2643
+ const s = _e(), i = (I) => s.toLanguageString(I, j[I]), d = i(ol), u = i(cl), m = i(sl), g = i(il), h = i(Sl), y = i(wl), D = i(Cl), C = i(Dl), z = r ? D : g, x = r ? C : m, R = r ? h : d, P = r ? y : u, _ = t.useCallback(
2644
2644
  ({ syntheticEvent: I }) => {
2645
2645
  o && o.call(void 0, { syntheticEvent: I, value: null, target: l.current });
2646
2646
  },
@@ -2656,13 +2656,13 @@ const Ea = t.forwardRef((e, n) => {
2656
2656
  },
2657
2657
  [c]
2658
2658
  );
2659
- return Tr ? Cn.createPortal(
2660
- /* @__PURE__ */ t.createElement(Nr, { title: z, onClose: _ }, x, /* @__PURE__ */ t.createElement(Ar, null, /* @__PURE__ */ t.createElement(Ie, { onClick: f }, R), /* @__PURE__ */ t.createElement(Ie, { onClick: p }, P))),
2659
+ return xr ? Cn.createPortal(
2660
+ /* @__PURE__ */ t.createElement(Fr, { title: z, onClose: _ }, x, /* @__PURE__ */ t.createElement(Nr, null, /* @__PURE__ */ t.createElement(Ie, { onClick: f }, R), /* @__PURE__ */ t.createElement(Ie, { onClick: p }, P))),
2661
2661
  document && document.body
2662
2662
  ) : null;
2663
2663
  });
2664
- Ea.displayName = "KendoReactSchedulerSchedulerOccurrenceDialog";
2665
- const ya = t.forwardRef((e, n) => {
2664
+ ya.displayName = "KendoReactSchedulerSchedulerOccurrenceDialog";
2665
+ const va = t.forwardRef((e, n) => {
2666
2666
  const { onClose: r, onCancel: o, onConfirm: a } = e, c = t.useRef(null);
2667
2667
  t.useImperativeHandle(c, () => ({ props: e })), t.useImperativeHandle(n, () => c.current);
2668
2668
  const l = _e(), s = l.toLanguageString(qt, j[qt]), i = l.toLanguageString(gr, j[gr]), d = l.toLanguageString(Er, j[Er]), u = l.toLanguageString(yr, j[yr]), m = t.useCallback(
@@ -2688,12 +2688,12 @@ const ya = t.forwardRef((e, n) => {
2688
2688
  },
2689
2689
  [a]
2690
2690
  );
2691
- return Tr ? Cn.createPortal(
2692
- /* @__PURE__ */ t.createElement(Nr, { title: u, onClose: m }, d, /* @__PURE__ */ t.createElement(Ar, null, /* @__PURE__ */ t.createElement(Ie, { onClick: g }, s), /* @__PURE__ */ t.createElement(Ie, { onClick: h }, i))),
2691
+ return xr ? Cn.createPortal(
2692
+ /* @__PURE__ */ t.createElement(Fr, { title: u, onClose: m }, d, /* @__PURE__ */ t.createElement(Nr, null, /* @__PURE__ */ t.createElement(Ie, { onClick: g }, s), /* @__PURE__ */ t.createElement(Ie, { onClick: h }, i))),
2693
2693
  document && document.body
2694
2694
  ) : null;
2695
2695
  });
2696
- ya.displayName = "KendoReactSchedulerRemoveDialog";
2696
+ va.displayName = "KendoReactSchedulerRemoveDialog";
2697
2697
  const on = t.forwardRef((e, n) => {
2698
2698
  const {
2699
2699
  // Focus
@@ -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((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(
2725
+ } = e, { item: f, element: I } = es(e, n), b = tn(I), A = t.useRef(null), N = t.useRef(null), Z = t.useRef(null), F = t.useRef(null), V = Lt(e.editable), L = 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,
@@ -2745,8 +2745,8 @@ const on = t.forwardRef((e, n) => {
2745
2745
  V.select
2746
2746
  ]
2747
2747
  ), H = t.useMemo(
2748
- () => `${ic(O, e.zonedStart, e.zonedEnd, e.isAllDay)}, ${e.title}`,
2749
- [O, e.isAllDay, e.title, e.zonedEnd, e.zonedStart]
2748
+ () => `${dc(L, e.zonedStart, e.zonedEnd, e.isAllDay)}, ${e.title}`,
2749
+ [L, e.isAllDay, e.title, e.zonedEnd, e.zonedStart]
2750
2750
  ), Q = t.useMemo(
2751
2751
  () => ({
2752
2752
  cursor: "pointer",
@@ -2861,7 +2861,7 @@ const on = t.forwardRef((e, n) => {
2861
2861
  });
2862
2862
  },
2863
2863
  [D, f]
2864
- ), Le = t.useCallback(
2864
+ ), Oe = t.useCallback(
2865
2865
  (B) => {
2866
2866
  h && h.call(void 0, {
2867
2867
  syntheticEvent: B,
@@ -2968,7 +2968,7 @@ const on = t.forwardRef((e, n) => {
2968
2968
  onDoubleClick: Ee,
2969
2969
  onKeyDown: je,
2970
2970
  onKeyPress: le,
2971
- onKeyUp: Le,
2971
+ onKeyUp: Oe,
2972
2972
  "data-group-index": e.group.index,
2973
2973
  "data-range-index": e.range.index
2974
2974
  },
@@ -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: $a })
2986
+ /* @__PURE__ */ t.createElement(ze, { name: "x", icon: Ga })
2987
2987
  ), e.head && /* @__PURE__ */ t.createElement(
2988
2988
  ze,
2989
2989
  {
@@ -2999,7 +2999,7 @@ const on = t.forwardRef((e, n) => {
2999
2999
  className: "k-marquee-color",
3000
3000
  style: { borderColor: k, backgroundColor: k }
3001
3001
  }
3002
- ), /* @__PURE__ */ t.createElement("div", { className: "k-marquee-text" }, !e.tail && /* @__PURE__ */ t.createElement("div", { className: "k-label-top" }, O.formatDate(e.zonedStart, e.format)), !e.head && /* @__PURE__ */ t.createElement("div", { className: "k-label-bottom" }, O.formatDate(e.zonedEnd, e.format))))
3002
+ ), /* @__PURE__ */ t.createElement("div", { className: "k-marquee-text" }, !e.tail && /* @__PURE__ */ t.createElement("div", { className: "k-label-top" }, L.formatDate(e.zonedStart, e.format)), !e.head && /* @__PURE__ */ t.createElement("div", { className: "k-label-bottom" }, L.formatDate(e.zonedEnd, e.format))))
3003
3003
  );
3004
3004
  });
3005
3005
  on.displayName = "KendoReactSchedulerItem";
@@ -3012,58 +3012,58 @@ const Dn = t.forwardRef((e, n) => {
3012
3012
  [e.className]
3013
3013
  );
3014
3014
  return /* @__PURE__ */ t.createElement("div", { ref: n, ...e, className: r });
3015
- }), qs = 1, Rn = t.forwardRef((e, n) => {
3016
- const { item: r, _ref: o, itemRef: a, ...c } = e, l = t.useRef(), s = t.useRef(null), i = t.useRef(null), d = t.useRef(null), u = Ot(e.editable);
3015
+ }), Zs = 1, Rn = t.forwardRef((e, n) => {
3016
+ const { item: r, _ref: o, itemRef: a, ...c } = e, l = t.useRef(), s = t.useRef(null), i = t.useRef(null), d = t.useRef(null), u = Lt(e.editable);
3017
3017
  t.useImperativeHandle(i, () => ({ props: e, element: s.current && s.current.element })), t.useImperativeHandle(n, () => i.current), t.useImperativeHandle(o, () => s.current), t.useImperativeHandle(a, () => s.current);
3018
- const m = r || Zs.item, g = Ge(), [h] = rn(), [y] = zt(), D = nn(), [C, z] = t.useState(!0), [x, R] = t.useState(!1), [P, _] = t.useState(0), p = tn(D), f = t.useMemo(
3018
+ const m = r || Xs.item, g = Ge(), [h] = rn(), [y] = zt(), D = nn(), [C, z] = t.useState(!0), [x, R] = t.useState(!1), [P, _] = t.useState(0), p = tn(D), f = t.useMemo(
3019
3019
  () => e.isAllDay ? g.toString(e.zonedStart, "t") : g.format("{0:t} - {1:t}", e.zonedStart, e.zonedEnd),
3020
3020
  [g, e.isAllDay, e.zonedEnd, e.zonedStart]
3021
- ), I = t.useMemo(() => `(${f}): ${e.title}`, [f, e.title]), b = (L, S) => {
3021
+ ), I = t.useMemo(() => `(${f}): ${e.title}`, [f, e.title]), b = (O, S) => {
3022
3022
  let U = 1;
3023
- return L.forEach((k) => {
3023
+ return O.forEach((k) => {
3024
3024
  const E = S.filter((M) => N(k.current.props, M.props));
3025
3025
  E.length > U && (U = E.length);
3026
3026
  }), U;
3027
- }, A = (L, S) => L.map((k) => S.filter((E) => N(k.current.props, E.props))), N = (L, S) => pe(L.start, L.end, S.start, S.end) && L.group.index === S.group.index && L.range.index === S.range.index && (e.ignoreIsAllDay || L.isAllDay === S.isAllDay), Z = () => {
3028
- const L = (y || []).filter((k) => k.current && N(k.current.props, e));
3029
- if (L.length === 0) {
3027
+ }, A = (O, S) => O.map((k) => S.filter((E) => N(k.current.props, E.props))), N = (O, S) => pe(O.start, O.end, S.start, S.end) && O.group.index === S.group.index && O.range.index === S.range.index && (e.ignoreIsAllDay || O.isAllDay === S.isAllDay), Z = () => {
3028
+ const O = (y || []).filter((k) => k.current && N(k.current.props, e));
3029
+ if (O.length === 0) {
3030
3030
  z(!1);
3031
3031
  return;
3032
3032
  }
3033
- const S = Et(L);
3033
+ const S = Et(O);
3034
3034
  if (!S.current || !s.current)
3035
3035
  return;
3036
3036
  const U = Be(S.current.element);
3037
3037
  _t(s.current.element, U);
3038
3038
  }, F = () => {
3039
- const L = s.current && s.current.element;
3040
- if (!L)
3039
+ const O = s.current && s.current.element;
3040
+ if (!O)
3041
3041
  return;
3042
3042
  const S = (y || []).filter((de) => de.current && N(de.current.props, e)), U = [], k = [], E = [];
3043
3043
  (h || []).forEach((de) => {
3044
3044
  de.current && (de.current.props.dragHint ? k.push(de.current) : de.current.props.resizeHint ? E.push(de.current) : U.push(de.current));
3045
3045
  });
3046
- const M = e.dragHint || e.resizeHint ? Ja(s.current, e.dragHint ? k : E, S, e.ignoreIsAllDay) : e.order || 0;
3046
+ const M = e.dragHint || e.resizeHint ? el(s.current, e.dragHint ? k : E, S, e.ignoreIsAllDay) : e.order || 0;
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 $ = Be(L);
3050
+ const $ = Be(O);
3051
3051
  if (Q.forEach((de) => {
3052
3052
  let fe = 0;
3053
3053
  de.forEach((ae) => {
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);
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 !== O && (H = ae.props._maxSiblingsPerSlot);
3055
3055
  const Te = Be(ae.element);
3056
- ae.props.order !== null && ae.props.order < M && (fe = Te.top + Te.height - $.top - Re * M + qs);
3056
+ ae.props.order !== null && ae.props.order < M && (fe = Te.top + Te.height - $.top - Re * M + Zs);
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
- $.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);
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(O, $), R(!0), z(!0);
3064
3064
  }, V = t.useCallback(
3065
- (L) => {
3066
- const S = L && L[0], U = d.current;
3065
+ (O) => {
3066
+ const S = O && O[0], U = d.current;
3067
3067
  l.current !== void 0 && window.cancelAnimationFrame(l.current), U && S && (U.width !== S.contentRect.width || U.height !== S.contentRect.height) && (l.current = window.requestAnimationFrame(() => {
3068
3068
  Z(), F();
3069
3069
  })), d.current = { width: S.contentRect.width, height: S.contentRect.height };
@@ -3071,9 +3071,9 @@ const Dn = t.forwardRef((e, n) => {
3071
3071
  [Z, F]
3072
3072
  );
3073
3073
  t.useEffect(Z), t.useEffect(F);
3074
- const O = s.current && s.current.element ? s.current.element.closest(".k-scheduler-layout") : null;
3075
- return xl({
3076
- element: O,
3074
+ const L = s.current && s.current.element ? s.current.element.closest(".k-scheduler-layout") : null;
3075
+ return Ml({
3076
+ element: L,
3077
3077
  selector: ".k-resource-row",
3078
3078
  horizontalAttribute: "data-depth-index",
3079
3079
  verticalAttribute: "data-resource-index",
@@ -3083,7 +3083,7 @@ const Dn = t.forwardRef((e, n) => {
3083
3083
  () => {
3084
3084
  if (!D.current)
3085
3085
  return;
3086
- const L = window.ResizeObserver, S = L && new L(V);
3086
+ const O = window.ResizeObserver, S = O && new O(V);
3087
3087
  return S && S.observe(D.current), () => {
3088
3088
  S && S.disconnect();
3089
3089
  };
@@ -3108,15 +3108,15 @@ const Dn = t.forwardRef((e, n) => {
3108
3108
  name: p === "rtl" ? "caret-alt-right" : "caret-alt-left",
3109
3109
  icon: p === "rtl" ? It : Rt
3110
3110
  }
3111
- ), e.isRecurring && !e.isException && /* @__PURE__ */ t.createElement(ze, { name: "arrow-rotate-cw", icon: zr }), !e.isRecurring && e.isException && /* @__PURE__ */ t.createElement(ze, { name: "arrows-no-repeat", icon: Ga })),
3111
+ ), e.isRecurring && !e.isException && /* @__PURE__ */ t.createElement(ze, { name: "arrow-rotate-cw", icon: Ar }), !e.isRecurring && e.isException && /* @__PURE__ */ t.createElement(ze, { name: "arrows-no-repeat", icon: Ya })),
3112
3112
  !e.resizeHint && /* @__PURE__ */ t.createElement("div", { title: I }, !e.isAllDay && /* @__PURE__ */ t.createElement(Dn, { className: "k-event-template k-event-time " }, I), /* @__PURE__ */ t.createElement(Dn, { className: "k-event-template" }, e.title))
3113
3113
  );
3114
- }), Zs = {
3114
+ }), Xs = {
3115
3115
  item: on
3116
3116
  };
3117
3117
  Rn.displayName = "KendoReactSchedulerViewItem";
3118
- const Ol = (e) => {
3119
- const n = Rl(), { timezone: r } = Xe(), o = Mt(), a = We(), c = vt(), [l] = zt(), s = e.viewItem || Xs.viewItem, i = t.useMemo(
3118
+ const Pl = (e) => {
3119
+ const n = Il(), { timezone: r } = Xe(), o = Mt(), a = We(), c = vt(), [l] = zt(), s = e.viewItem || js.viewItem, i = t.useMemo(
3120
3120
  () => Pt([e.dataItem], { dateRange: c, fields: a, timezone: r }),
3121
3121
  [e.dataItem, c, a, r]
3122
3122
  ), d = t.useMemo(
@@ -3134,13 +3134,13 @@ const Ol = (e) => {
3134
3134
  ignoreIsAllDay: e.ignoreIsAllDay
3135
3135
  }
3136
3136
  )));
3137
- }, Xs = {
3137
+ }, js = {
3138
3138
  viewItem: Rn,
3139
3139
  item: on
3140
3140
  };
3141
- Ol.displayName = "KendoReactSchedulerDrag";
3142
- const Pl = (e) => {
3143
- const n = Rl(), { timezone: r } = Xe(), o = Mt(), a = We(), c = vt(), [l] = zt(), s = e.viewItem || Wa.viewItem, i = t.useMemo(
3141
+ Pl.displayName = "KendoReactSchedulerDrag";
3142
+ const pl = (e) => {
3143
+ const n = Il(), { timezone: r } = Xe(), o = Mt(), a = We(), c = vt(), [l] = zt(), s = e.viewItem || Ha.viewItem, i = t.useMemo(
3144
3144
  () => Pt([e.dataItem], { dateRange: c, fields: a, timezone: r }),
3145
3145
  [e.dataItem, c.start.getTime(), c.end.getTime(), a, r]
3146
3146
  ), d = t.useMemo(
@@ -3155,21 +3155,21 @@ const Pl = (e) => {
3155
3155
  key: g,
3156
3156
  ...m,
3157
3157
  format: e.format,
3158
- item: (h = e.item) != null ? h : Wa.item,
3158
+ item: (h = e.item) != null ? h : Ha.item,
3159
3159
  resizeHint: !0,
3160
3160
  vertical: e.vertical,
3161
3161
  ignoreIsAllDay: e.ignoreIsAllDay
3162
3162
  }
3163
3163
  );
3164
3164
  }));
3165
- }, Wa = {
3165
+ }, Ha = {
3166
3166
  viewItem: Rn,
3167
3167
  item: on
3168
3168
  };
3169
- Pl.displayName = "KendoReactSchedulerResize";
3169
+ pl.displayName = "KendoReactSchedulerResize";
3170
3170
  var Ye = /* @__PURE__ */ ((e) => (e.set = "FORM_ITEM_SET", e.setMaster = "FORM_ITEM_SET_MASTER", e.reset = "FORM_ITEM_RESET", e.complete = "FORM_ITEM_COMPLETE", e))(Ye || {});
3171
- const js = (e, n) => {
3172
- const [r, o] = Ne(...n), a = We(), [c] = Lt();
3171
+ const Qs = (e, n) => {
3172
+ const [r, o] = Ne(...n), a = We(), [c] = Ot();
3173
3173
  return [r, o, (s, i) => {
3174
3174
  let d;
3175
3175
  switch (s.type) {
@@ -3197,7 +3197,7 @@ const js = (e, n) => {
3197
3197
  }];
3198
3198
  };
3199
3199
  var ve = /* @__PURE__ */ ((e) => (e.set = "SHOW_OCCURRENCE_DIALOG_SET", e.open = "SHOW_OCCURRENCE_DIALOG_OPEN", e.close = "SHOW_OCCURRENCE_DIALOG_CLOSE", e.reset = "SHOW_OCCURRENCE_DIALOG_RESET", e.toggle = "SHOW_OCCURRENCE_DIALOG_TOGGLE", e))(ve || {});
3200
- const Qs = (e, n) => {
3200
+ const Js = (e, n) => {
3201
3201
  switch (n.type) {
3202
3202
  case "SHOW_OCCURRENCE_DIALOG_RESET":
3203
3203
  return !1;
@@ -3212,15 +3212,15 @@ const Qs = (e, n) => {
3212
3212
  default:
3213
3213
  return e;
3214
3214
  }
3215
- }, Js = (e, n, r) => {
3215
+ }, ei = (e, n, r) => {
3216
3216
  const [o, a] = Ne(e, n, r);
3217
3217
  return [o, a, (l) => {
3218
- const s = Qs(o, l);
3218
+ const s = Js(o, l);
3219
3219
  a(s);
3220
3220
  }];
3221
3221
  };
3222
3222
  var lt = /* @__PURE__ */ ((e) => (e.set = "REMOVE_ITEM_SET", e.reset = "REMOVE_ITEM_RESET", e.complete = "REMOVE_ITEM_COMPLETE", e))(lt || {});
3223
- const ei = (e, n) => {
3223
+ const ti = (e, n) => {
3224
3224
  const [r, o] = Ne(...n);
3225
3225
  return [r, o, (c) => {
3226
3226
  let l;
@@ -3246,7 +3246,7 @@ const ei = (e, n) => {
3246
3246
  }];
3247
3247
  };
3248
3248
  var nt = /* @__PURE__ */ ((e) => (e.set = "SHOW_REMOVE_DIALOG_SET", e.open = "SHOW_REMOVE_DIALOG_OPEN", e.close = "SHOW_REMOVE_DIALOG_CLOSE", e.reset = "SHOW_REMOVE_DIALOG_RESET", e.toggle = "SHOW_REMOVE_DIALOG_TOGGLE", e))(nt || {});
3249
- const ti = (e, n) => {
3249
+ const ni = (e, n) => {
3250
3250
  switch (n.type) {
3251
3251
  case "SHOW_REMOVE_DIALOG_RESET":
3252
3252
  return !1;
@@ -3261,16 +3261,16 @@ const ti = (e, n) => {
3261
3261
  default:
3262
3262
  return e;
3263
3263
  }
3264
- }, ni = (e, n, r) => {
3264
+ }, ri = (e, n, r) => {
3265
3265
  const [o, a] = Ne(e, n, r);
3266
3266
  return [o, a, (l) => {
3267
- const s = ti(o, l);
3267
+ const s = ni(o, l);
3268
3268
  a(s);
3269
3269
  }];
3270
3270
  };
3271
3271
  var Se = /* @__PURE__ */ ((e) => (e.set = "DRAG_ITEM_SET", e.start = "DRAG_ITEM_START", e.drag = "DRAG_ITEM_DRAG", e.complete = "DRAG_ITEM_COMPLETE", e.completeOccurrence = "DRAG_ITEM_COMPLETE_OCCURRENCE", e.completeSeries = "DRAG_ITEM_COMPLETE_SERIES", e.reset = "DRAG_ITEM_RESET", e.dragSelected = "DRAG_ITEM_DRAG_SELECTED", e))(Se || {});
3272
- const ri = (e, n) => {
3273
- const r = t.useRef(0), o = t.useRef(0), a = t.useRef(0), c = t.useRef(null), [l, s] = Ne(...n), [i] = da(), d = We(), u = Mt();
3272
+ const ai = (e, n) => {
3273
+ const r = t.useRef(0), o = t.useRef(0), a = t.useRef(0), c = t.useRef(null), [l, s] = Ne(...n), [i] = ua(), d = We(), u = Mt();
3274
3274
  return [l, s, (g) => {
3275
3275
  switch (g.type) {
3276
3276
  case "DRAG_ITEM_SET": {
@@ -3368,8 +3368,8 @@ const ri = (e, n) => {
3368
3368
  }];
3369
3369
  };
3370
3370
  var me = /* @__PURE__ */ ((e) => (e.set = "RESIZE_ITEM_SET", e.start = "RESIZE_ITEM_START", e.startDrag = "RESIZE_ITEM_START_DRAG", e.startDragSelected = "RESIZE_ITEM_START_DRAG_SELECTED", e.endDrag = "RESIZE_ITEM_END_DRAG", e.endDragSelected = "RESIZE_ITEM_END_DRAG_SELECTED", e.complete = "RESIZE_ITEM_COMPLETE", e.completeOccurrence = "RESIZE_ITEM_COMPLETE_OCCURRENCE", e.completeSeries = "RESIZE_ITEM_COMPLETE_SERIES", e.reset = "RESIZE_ITEM_RESET", e))(me || {});
3371
- const ai = (e, n) => {
3372
- const r = t.useRef(null), [o, a] = Ne(...n), [c] = da(), l = We();
3371
+ const li = (e, n) => {
3372
+ const r = t.useRef(null), [o, a] = Ne(...n), [c] = ua(), l = We();
3373
3373
  return [o, a, (i, d) => {
3374
3374
  let u = o;
3375
3375
  switch (i.type) {
@@ -3493,7 +3493,7 @@ const ai = (e, n) => {
3493
3493
  }];
3494
3494
  };
3495
3495
  var ot = /* @__PURE__ */ ((e) => (e.reset = "SERIES_RESET", e.set = "SERIES_SET", e.toggle = "SERIES_TOGGLE", e))(ot || {});
3496
- const li = (e, n) => {
3496
+ const oi = (e, n) => {
3497
3497
  switch (n.type) {
3498
3498
  case "SERIES_RESET":
3499
3499
  return null;
@@ -3504,10 +3504,10 @@ const li = (e, n) => {
3504
3504
  default:
3505
3505
  return e;
3506
3506
  }
3507
- }, oi = (e, n, r) => {
3507
+ }, ci = (e, n, r) => {
3508
3508
  const [o, a] = Ne(e, n, r);
3509
3509
  return [o, a, (l) => {
3510
- const s = li(o, l);
3510
+ const s = oi(o, l);
3511
3511
  a(s);
3512
3512
  }];
3513
3513
  }, In = t.forwardRef((e, n) => {
@@ -3541,8 +3541,8 @@ const li = (e, n) => {
3541
3541
  onMouseDown: Z,
3542
3542
  onMouseDownAction: F,
3543
3543
  onMouseUp: V,
3544
- onMouseUpAction: O,
3545
- onClick: L,
3544
+ onMouseUpAction: L,
3545
+ onClick: O,
3546
3546
  onClickAction: S,
3547
3547
  onDoubleClick: U,
3548
3548
  onDoubleClickAction: k,
@@ -3563,7 +3563,7 @@ const li = (e, n) => {
3563
3563
  onResizeRelease: He,
3564
3564
  onResizeReleaseAction: je,
3565
3565
  onOccurrenceClick: le,
3566
- onOccurrenceClickAction: Le,
3566
+ onOccurrenceClickAction: Oe,
3567
3567
  onSeriesClick: W,
3568
3568
  onSeriesClickAction: oe,
3569
3569
  onKeyDown: ye,
@@ -3576,21 +3576,21 @@ const li = (e, n) => {
3576
3576
  onFormSubmitAction: xn,
3577
3577
  onCancel: Mn,
3578
3578
  onCancelAction: zn
3579
- } = { ...Ct, ...e }, [Yl, ql] = t.useState(e.tabIndex), Da = t.useRef(null), G = t.useRef(null), Zl = Fo();
3580
- t.useImperativeHandle(Da, () => ({ props: e, element: G.current && G.current.element })), t.useImperativeHandle(n, () => Da.current), t.useImperativeHandle(r, () => G.current), t.useImperativeHandle(o, () => G.current);
3581
- const An = l || Ct.viewItem, Sa = g || Ct.drag, wa = D || Ct.resize, Xl = d || Ct.form, jl = _ || Ct.occurrenceDialog, Ql = x || Ct.removeDialog, sn = Ot(e.editable), [dn, kt] = da(), [un, , mn] = oi(null, s, i), [At, Jl, Nt] = js(
3579
+ } = { ...Ct, ...e }, [ql, Zl] = t.useState(e.tabIndex), Sa = t.useRef(null), G = t.useRef(null), Xl = _o();
3580
+ t.useImperativeHandle(Sa, () => ({ props: e, element: G.current && G.current.element })), t.useImperativeHandle(n, () => Sa.current), t.useImperativeHandle(r, () => G.current), t.useImperativeHandle(o, () => G.current);
3581
+ const An = l || Ct.viewItem, wa = g || Ct.drag, Ca = D || Ct.resize, jl = d || Ct.form, Ql = _ || Ct.occurrenceDialog, Jl = x || Ct.removeDialog, sn = Lt(e.editable), [dn, kt] = ua(), [un, , mn] = ci(null, s, i), [At, eo, Nt] = Qs(
3582
3582
  { series: un, onDataAction: a },
3583
3583
  [null, u, m]
3584
- ), [ut, eo, Qe] = ri(
3584
+ ), [ut, to, Qe] = ai(
3585
3585
  { dataItem: e.dataItem, ignoreIsAllDay: e.ignoreIsAllDay, isAllDay: e.isAllDay, onDataAction: a },
3586
3586
  [null, h, y]
3587
- ), [mt, to, Ve] = ai(
3587
+ ), [mt, no, Ve] = li(
3588
3588
  { dataItem: e.dataItem, onDataAction: a },
3589
3589
  [null, C, z]
3590
- ), [Dt, no, Wt] = ei(
3590
+ ), [Dt, ro, Wt] = ti(
3591
3591
  { series: un, onDataAction: a },
3592
3592
  [null, R, P]
3593
- ), [hn, ro, St] = ni(!1, I, b), [Ht, ao, wt] = Js(!1, p, f), [Nn] = rn(), [, Fn] = Yc(), [, Vt] = Il(), _n = !!(G.current && dn && dn.some((w) => w.current === G.current)), J = t.useMemo(
3593
+ ), [hn, ao, St] = ri(!1, I, b), [Ht, lo, wt] = ei(!1, p, f), [Nn] = rn(), [, Fn] = qc(), [, Vt] = Tl(), _n = !!(G.current && dn && dn.some((w) => w.current === G.current)), J = t.useMemo(
3594
3594
  () => ({
3595
3595
  selected: _n,
3596
3596
  series: un,
@@ -3607,12 +3607,12 @@ const li = (e, n) => {
3607
3607
  [ot.set]: mn,
3608
3608
  [ot.toggle]: mn,
3609
3609
  [ot.reset]: mn,
3610
- [Oe.select]: kt,
3611
- [Oe.add]: kt,
3612
- [Oe.remove]: kt,
3613
- [Oe.reset]: kt,
3614
- [Oe.selectNext]: kt,
3615
- [Oe.selectPrev]: kt,
3610
+ [Le.select]: kt,
3611
+ [Le.add]: kt,
3612
+ [Le.remove]: kt,
3613
+ [Le.reset]: kt,
3614
+ [Le.selectNext]: kt,
3615
+ [Le.selectPrev]: kt,
3616
3616
  [Ye.set]: Nt,
3617
3617
  [Ye.setMaster]: Nt,
3618
3618
  [Ye.reset]: Nt,
@@ -3669,7 +3669,7 @@ const li = (e, n) => {
3669
3669
  Fn,
3670
3670
  Vt
3671
3671
  ]
3672
- ), lo = t.useCallback(
3672
+ ), oo = t.useCallback(
3673
3673
  (w) => {
3674
3674
  if (N) {
3675
3675
  const v = N(w, e, J);
@@ -3678,7 +3678,7 @@ const li = (e, n) => {
3678
3678
  A && A.call(void 0, w);
3679
3679
  },
3680
3680
  [K, A, N, e, J]
3681
- ), oo = t.useCallback(
3681
+ ), co = t.useCallback(
3682
3682
  (w) => {
3683
3683
  if (F) {
3684
3684
  const v = F(w, e, J);
@@ -3687,26 +3687,26 @@ const li = (e, n) => {
3687
3687
  Z && Z.call(void 0, w);
3688
3688
  },
3689
3689
  [K, Z, F, e, J]
3690
- ), co = t.useCallback(
3690
+ ), so = t.useCallback(
3691
3691
  (w) => {
3692
- if (O) {
3693
- const v = O(w, e, J);
3692
+ if (L) {
3693
+ const v = L(w, e, J);
3694
3694
  v && (Array.isArray(v) ? v.filter(Boolean).map((T) => T && K[T.type]({ ...T, item: G }, w)) : K[v.type]({ ...v, item: G }));
3695
3695
  }
3696
3696
  V && V.call(void 0, w);
3697
3697
  },
3698
- [K, V, O, e, J]
3699
- ), [, so] = t.useContext(qr), io = t.useCallback(
3698
+ [K, V, L, e, J]
3699
+ ), [, io] = t.useContext(Zr), uo = t.useCallback(
3700
3700
  (w) => {
3701
3701
  if (S) {
3702
- so(G.current);
3702
+ io(G.current);
3703
3703
  const v = S(w, e, J);
3704
3704
  v && (Array.isArray(v) ? v.filter(Boolean).map((T) => T && K[T.type]({ ...T, item: G }, w)) : K[v.type]({ ...v, item: G }));
3705
3705
  }
3706
- L && L.call(void 0, w);
3706
+ O && O.call(void 0, w);
3707
3707
  },
3708
- [K, L, S, e, J]
3709
- ), uo = t.useCallback(
3708
+ [K, O, S, e, J]
3709
+ ), mo = t.useCallback(
3710
3710
  (w) => {
3711
3711
  if (k) {
3712
3712
  const v = k(w, e, J);
@@ -3715,7 +3715,7 @@ const li = (e, n) => {
3715
3715
  U && U.call(void 0, w);
3716
3716
  },
3717
3717
  [k, U, e, K, J]
3718
- ), mo = t.useCallback(
3718
+ ), ho = t.useCallback(
3719
3719
  (w) => {
3720
3720
  if (M) {
3721
3721
  const v = M(w, e, J);
@@ -3724,7 +3724,7 @@ const li = (e, n) => {
3724
3724
  E && E.call(void 0, w);
3725
3725
  },
3726
3726
  [M, E, e, K, J]
3727
- ), ho = t.useCallback(
3727
+ ), fo = t.useCallback(
3728
3728
  (w) => {
3729
3729
  if (Q) {
3730
3730
  const v = Q(w, e, J);
@@ -3733,7 +3733,7 @@ const li = (e, n) => {
3733
3733
  H && H.call(void 0, w);
3734
3734
  },
3735
3735
  [Q, H, e, K, J]
3736
- ), fo = t.useCallback(
3736
+ ), go = t.useCallback(
3737
3737
  (w) => {
3738
3738
  if ($) {
3739
3739
  const v = $(w, e, J);
@@ -3742,7 +3742,7 @@ const li = (e, n) => {
3742
3742
  ne && ne.call(void 0, w);
3743
3743
  },
3744
3744
  [$, ne, e, K, J]
3745
- ), go = t.useCallback(
3745
+ ), Eo = t.useCallback(
3746
3746
  (w) => {
3747
3747
  if (de) {
3748
3748
  const v = de(w, e, J);
@@ -3751,7 +3751,7 @@ const li = (e, n) => {
3751
3751
  re && re.call(void 0, w);
3752
3752
  },
3753
3753
  [de, re, e, K, J]
3754
- ), Eo = t.useCallback(
3754
+ ), yo = t.useCallback(
3755
3755
  (w) => {
3756
3756
  if (ae) {
3757
3757
  const v = ae(w, e, J);
@@ -3760,7 +3760,7 @@ const li = (e, n) => {
3760
3760
  fe && fe.call(void 0, w);
3761
3761
  },
3762
3762
  [ae, fe, e, J, K]
3763
- ), yo = t.useCallback(
3763
+ ), vo = t.useCallback(
3764
3764
  (w) => {
3765
3765
  if (ge) {
3766
3766
  const v = ge(w, e, J);
@@ -3769,7 +3769,7 @@ const li = (e, n) => {
3769
3769
  Te && Te.call(void 0, w);
3770
3770
  },
3771
3771
  [Te, ge, e, K, J]
3772
- ), vo = t.useCallback(
3772
+ ), ko = t.useCallback(
3773
3773
  (w) => {
3774
3774
  if (Ee) {
3775
3775
  const v = Ee(w, e, J);
@@ -3778,7 +3778,7 @@ const li = (e, n) => {
3778
3778
  we && we.call(void 0, w);
3779
3779
  },
3780
3780
  [we, Ee, e, K, J]
3781
- ), ko = t.useCallback(
3781
+ ), Do = t.useCallback(
3782
3782
  (w) => {
3783
3783
  if (je) {
3784
3784
  const v = je(w, e, J);
@@ -3787,7 +3787,7 @@ const li = (e, n) => {
3787
3787
  He && He.call(void 0, w);
3788
3788
  },
3789
3789
  [je, He, e, K, J]
3790
- ), Do = t.useCallback(
3790
+ ), So = t.useCallback(
3791
3791
  (w) => {
3792
3792
  if (xn) {
3793
3793
  const v = xn(w, e, J);
@@ -3805,16 +3805,16 @@ const li = (e, n) => {
3805
3805
  Mn && Mn.call(void 0, w);
3806
3806
  },
3807
3807
  [zn, Mn, e, J, K]
3808
- ), So = t.useCallback(
3808
+ ), wo = t.useCallback(
3809
3809
  (w) => {
3810
- if (Le) {
3811
- const v = Le(w, e, J);
3810
+ if (Oe) {
3811
+ const v = Oe(w, e, J);
3812
3812
  v && (Array.isArray(v) ? v.filter(Boolean).map((T) => T && K[T.type]({ ...T, item: G }, w)) : K[v.type]({ ...v, item: G }, w));
3813
3813
  }
3814
3814
  le && le.call(void 0, w);
3815
3815
  },
3816
- [Le, le, e, J, K]
3817
- ), wo = t.useCallback(
3816
+ [Oe, le, e, J, K]
3817
+ ), Co = t.useCallback(
3818
3818
  (w) => {
3819
3819
  if (oe) {
3820
3820
  const v = oe(w, e, J);
@@ -3823,7 +3823,7 @@ const li = (e, n) => {
3823
3823
  W && W.call(void 0, w);
3824
3824
  },
3825
3825
  [oe, W, e, J, K]
3826
- ), Co = t.useCallback(
3826
+ ), bo = t.useCallback(
3827
3827
  (w) => {
3828
3828
  if (ee) {
3829
3829
  const v = ee(w, e, J);
@@ -3832,7 +3832,7 @@ const li = (e, n) => {
3832
3832
  ye && ye.call(void 0, w);
3833
3833
  },
3834
3834
  [ee, ye, e, J, K]
3835
- ), bo = t.useCallback(
3835
+ ), Ro = t.useCallback(
3836
3836
  (w) => {
3837
3837
  if (De) {
3838
3838
  const v = De(w, e, J);
@@ -3841,7 +3841,7 @@ const li = (e, n) => {
3841
3841
  ie && ie.call(void 0, w);
3842
3842
  },
3843
3843
  [De, ie, e, J, K]
3844
- ), Ro = t.useCallback(
3844
+ ), Io = t.useCallback(
3845
3845
  (w) => {
3846
3846
  if (B) {
3847
3847
  const v = B(w, e, J);
@@ -3853,17 +3853,17 @@ const li = (e, n) => {
3853
3853
  );
3854
3854
  return t.useEffect(() => {
3855
3855
  const w = Nn.length && Nn[0].current === G.current;
3856
- ql(e.tabIndex !== void 0 ? e.tabIndex === null ? void 0 : e.tabIndex : dn.length === 0 && w ? 0 : void 0);
3856
+ Zl(e.tabIndex !== void 0 ? e.tabIndex === null ? void 0 : e.tabIndex : dn.length === 0 && w ? 0 : void 0);
3857
3857
  }, [Nn, e.tabIndex, dn.length]), /* @__PURE__ */ t.createElement(
3858
- Hc,
3858
+ Vc,
3859
3859
  {
3860
3860
  props: e,
3861
- form: [At, Jl, Nt],
3862
- drag: [ut, eo, Qe],
3863
- resize: [mt, to, Ve],
3864
- remove: [Dt, no, Wt],
3865
- showRemoveDialog: [hn, ro, St],
3866
- showOccurrenceDialog: [Ht, ao, wt]
3861
+ form: [At, eo, Nt],
3862
+ drag: [ut, to, Qe],
3863
+ resize: [mt, no, Ve],
3864
+ remove: [Dt, ro, Wt],
3865
+ showRemoveDialog: [hn, ao, St],
3866
+ showOccurrenceDialog: [Ht, lo, wt]
3867
3867
  },
3868
3868
  /* @__PURE__ */ t.createElement(
3869
3869
  An,
@@ -3872,27 +3872,27 @@ const li = (e, n) => {
3872
3872
  _ref: G,
3873
3873
  itemRef: G,
3874
3874
  selected: _n,
3875
- tabIndex: Yl,
3876
- id: Zl,
3877
- onKeyDown: Co,
3878
- onKeyUp: bo,
3879
- onFocus: lo,
3880
- onMouseUp: co,
3881
- onMouseDown: oo,
3882
- onClick: io,
3883
- onDoubleClick: uo,
3884
- onRemoveClick: mo,
3885
- onPress: ho,
3886
- onDrag: fo,
3887
- onRelease: go,
3888
- onResizePress: Eo,
3889
- onResizeEndDrag: vo,
3890
- onResizeStartDrag: yo,
3891
- onResizeRelease: ko
3875
+ tabIndex: ql,
3876
+ id: Xl,
3877
+ onKeyDown: bo,
3878
+ onKeyUp: Ro,
3879
+ onFocus: oo,
3880
+ onMouseUp: so,
3881
+ onMouseDown: co,
3882
+ onClick: uo,
3883
+ onDoubleClick: mo,
3884
+ onRemoveClick: ho,
3885
+ onPress: fo,
3886
+ onDrag: go,
3887
+ onRelease: Eo,
3888
+ onResizePress: yo,
3889
+ onResizeEndDrag: ko,
3890
+ onResizeStartDrag: vo,
3891
+ onResizeRelease: Do
3892
3892
  }
3893
3893
  ),
3894
3894
  ut && sn.drag && (Array.isArray(ut) ? ut.map((w, v) => /* @__PURE__ */ t.createElement(
3895
- Sa,
3895
+ wa,
3896
3896
  {
3897
3897
  key: v,
3898
3898
  ignoreIsAllDay: c,
@@ -3902,7 +3902,7 @@ const li = (e, n) => {
3902
3902
  item: e.item
3903
3903
  }
3904
3904
  )) : /* @__PURE__ */ t.createElement(
3905
- Sa,
3905
+ wa,
3906
3906
  {
3907
3907
  ignoreIsAllDay: c,
3908
3908
  dataItem: ut,
@@ -3912,7 +3912,7 @@ const li = (e, n) => {
3912
3912
  }
3913
3913
  )),
3914
3914
  mt && sn.resize && (Array.isArray(mt) ? mt.map((w, v) => /* @__PURE__ */ t.createElement(
3915
- wa,
3915
+ Ca,
3916
3916
  {
3917
3917
  key: v,
3918
3918
  format: e.format,
@@ -3923,7 +3923,7 @@ const li = (e, n) => {
3923
3923
  vertical: e.vertical
3924
3924
  }
3925
3925
  )) : /* @__PURE__ */ t.createElement(
3926
- wa,
3926
+ Ca,
3927
3927
  {
3928
3928
  format: e.format,
3929
3929
  ignoreIsAllDay: c,
@@ -3934,44 +3934,44 @@ const li = (e, n) => {
3934
3934
  }
3935
3935
  )),
3936
3936
  At && !Ht && sn.edit && /* @__PURE__ */ t.createElement(
3937
- Xl,
3937
+ jl,
3938
3938
  {
3939
3939
  dataItem: At,
3940
- onSubmit: Do,
3940
+ onSubmit: So,
3941
3941
  onClose: Kt,
3942
3942
  onCancel: Kt
3943
3943
  }
3944
3944
  ),
3945
3945
  Ht && /* @__PURE__ */ t.createElement(
3946
- jl,
3946
+ Ql,
3947
3947
  {
3948
3948
  dataItem: At || ut || mt || Dt,
3949
3949
  isRemove: Dt !== null,
3950
3950
  onClose: Kt,
3951
- onOccurrenceClick: So,
3952
- onSeriesClick: wo
3951
+ onOccurrenceClick: wo,
3952
+ onSeriesClick: Co
3953
3953
  }
3954
3954
  ),
3955
3955
  hn && Dt && sn.remove && /* @__PURE__ */ t.createElement(
3956
- Ql,
3956
+ Jl,
3957
3957
  {
3958
3958
  dataItem: Dt,
3959
3959
  onClose: Kt,
3960
3960
  onCancel: Kt,
3961
- onConfirm: Ro
3961
+ onConfirm: Io
3962
3962
  }
3963
3963
  )
3964
3964
  );
3965
3965
  }), Ct = {
3966
3966
  viewItem: Rn,
3967
- drag: Ol,
3968
- resize: Pl,
3969
- form: ga,
3970
- occurrenceDialog: Ea,
3971
- removeDialog: ya,
3967
+ drag: Pl,
3968
+ resize: pl,
3969
+ form: Ea,
3970
+ occurrenceDialog: ya,
3971
+ removeDialog: va,
3972
3972
  onClickAction: (e, n, r) => [
3973
3973
  {
3974
- type: e.syntheticEvent.metaKey || e.syntheticEvent.ctrlKey ? r.selected && !r.dragItem && !r.resizeItem ? Oe.remove : Oe.add : Oe.select
3974
+ type: e.syntheticEvent.metaKey || e.syntheticEvent.ctrlKey ? r.selected && !r.dragItem && !r.resizeItem ? Le.remove : Le.add : Le.select
3975
3975
  }
3976
3976
  ],
3977
3977
  onDoubleClickAction: (e, n) => n.editable ? [
@@ -4046,7 +4046,7 @@ const li = (e, n) => {
4046
4046
  case Ke.tab:
4047
4047
  return [
4048
4048
  { type: e.syntheticEvent.shiftKey ? jt.prev : jt.next, ignoreIsAllDay: n.ignoreIsAllDay },
4049
- { type: e.syntheticEvent.shiftKey ? Oe.selectPrev : Oe.selectNext, ignoreIsAllDay: n.ignoreIsAllDay }
4049
+ { type: e.syntheticEvent.shiftKey ? Le.selectPrev : Le.selectNext, ignoreIsAllDay: n.ignoreIsAllDay }
4050
4050
  ];
4051
4051
  case Ke.up:
4052
4052
  return [
@@ -4086,7 +4086,7 @@ const li = (e, n) => {
4086
4086
  ]
4087
4087
  };
4088
4088
  In.displayName = "KendoReactSchedulerEditItem";
4089
- const ci = (e) => {
4089
+ const si = (e) => {
4090
4090
  let n = 0;
4091
4091
  return e.forEach((r) => {
4092
4092
  if (r.current) {
@@ -4094,7 +4094,7 @@ const ci = (e) => {
4094
4094
  n += o.width;
4095
4095
  }
4096
4096
  }), n;
4097
- }, si = (e) => {
4097
+ }, ii = (e) => {
4098
4098
  let n = 0;
4099
4099
  return e.forEach((r) => {
4100
4100
  if (r.current) {
@@ -4102,8 +4102,8 @@ const ci = (e) => {
4102
4102
  n += o.height;
4103
4103
  }
4104
4104
  }), n;
4105
- }, ii = (e, n) => {
4106
- const r = To(e);
4105
+ }, di = (e, n) => {
4106
+ const r = xo(e);
4107
4107
  return r.setHours(
4108
4108
  n.getHours(),
4109
4109
  n.getMinutes(),
@@ -4111,7 +4111,7 @@ const ci = (e) => {
4111
4111
  n.getMilliseconds()
4112
4112
  ), r;
4113
4113
  }, Sn = (e) => {
4114
- const [n, r] = t.useState(!1), o = nn(), a = Xe(), c = t.useRef(void 0), l = t.useRef(null), s = t.useRef(null), i = e.updateInterval || di.updateInterval, [, d] = t.useState(!1), u = tn(s, a.rtl === !0 ? "rtl" : void 0), [m] = zt(), g = t.useCallback(
4114
+ const [n, r] = t.useState(!1), o = nn(), a = Xe(), c = t.useRef(void 0), l = t.useRef(null), s = t.useRef(null), i = e.updateInterval || ui.updateInterval, [, d] = t.useState(!1), u = tn(s, a.rtl === !0 ? "rtl" : void 0), [m] = zt(), g = t.useCallback(
4115
4115
  () => {
4116
4116
  if (!m)
4117
4117
  return;
@@ -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 = 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];
4123
+ const z = e.vertical ? ii(D) : si(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() - di(/* @__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);
@@ -4174,7 +4174,7 @@ const ci = (e) => {
4174
4174
  }
4175
4175
  }
4176
4176
  ));
4177
- }, di = {
4177
+ }, ui = {
4178
4178
  updateInterval: 6e4
4179
4179
  }, Tn = t.forwardRef((e, n) => {
4180
4180
  const {
@@ -4204,12 +4204,12 @@ const ci = (e) => {
4204
4204
  format: "d"
4205
4205
  };
4206
4206
  Tn.displayName = "KendoReactSchedulerDateHeaderCell";
4207
- const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-side-cell" }), cn = (e) => {
4207
+ const gn = 0, En = 1, mi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-side-cell" }), cn = (e) => {
4208
4208
  const {
4209
4209
  group: n,
4210
4210
  timezone: r,
4211
4211
  resources: o
4212
- } = Xe(), a = Ge(), c = e.editItem || In, l = e.editSlot || ln, s = e.showWorkHours, i = e.numberOfDays || et.numberOfDays, d = e.slotDivisions || et.slotDivisions, u = e.slotDuration || et.slotDuration, m = e.workWeekStart || et.workWeekStart, g = e.workWeekEnd || et.workWeekEnd, h = a.parseDate(e.workDayStart || e.isWorkDayStart || et.isWorkDayStart), y = a.parseDate(e.workDayEnd || e.isWorkDayEnd || et.isWorkDayEnd), D = a.parseDate(e.startTime || et.startTime), C = a.parseDate(e.endTime || et.endTime), [z] = Lt(), x = Mt(), R = Ur(), P = We(), _ = vt(), p = t.useMemo(
4212
+ } = Xe(), a = Ge(), c = e.editItem || In, l = e.editSlot || ln, s = e.showWorkHours, i = e.numberOfDays || et.numberOfDays, d = e.slotDivisions || et.slotDivisions, u = e.slotDuration || et.slotDuration, m = e.workWeekStart || et.workWeekStart, g = e.workWeekEnd || et.workWeekEnd, h = a.parseDate(e.workDayStart || e.isWorkDayStart || et.isWorkDayStart), y = a.parseDate(e.workDayEnd || e.isWorkDayEnd || et.isWorkDayEnd), D = a.parseDate(e.startTime || et.startTime), C = a.parseDate(e.endTime || et.endTime), [z] = Ot(), x = Mt(), R = Br(), P = We(), _ = vt(), p = t.useMemo(
4213
4213
  () => s ? h : D,
4214
4214
  [
4215
4215
  s,
@@ -4281,10 +4281,10 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4281
4281
  ), V = t.useMemo(
4282
4282
  () => Z.filter((E) => !E.isAllDay),
4283
4283
  [Z]
4284
- ), O = t.useMemo(
4284
+ ), L = t.useMemo(
4285
4285
  () => xt(F, { timezone: r }, { groups: x, ranges: I }),
4286
4286
  [Z, r, x, I]
4287
- ), L = t.useMemo(
4287
+ ), O = t.useMemo(
4288
4288
  () => xt(V, { timezone: r }, { groups: x, ranges: b }).filter(
4289
4289
  (E) => p.getTime() === f.getTime() || Ue(E.zonedStart, p, f) || Ue(E.zonedEnd, p, f) || Ue(
4290
4290
  new Date(E.zonedEnd.getTime() - (E.zonedEnd.getTime() - E.zonedStart.getTime()) / 2),
@@ -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(() => $t(O, A, !1), [O, A]), t.useMemo(() => Tt(L, N, !1), [L, N]), t.useMemo(() => $t(L, N, !1), [L, N]);
4297
+ t.useMemo(() => Tt(L, A, !1), [L, A]), t.useMemo(() => $t(L, A, !1), [L, A]), t.useMemo(() => Tt(O, N, !1), [O, N]), t.useMemo(() => $t(O, N, !1), [O, 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
  {
@@ -4345,8 +4345,8 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4345
4345
  nested: !0,
4346
4346
  group: n,
4347
4347
  resources: o,
4348
- rowContent: Ma,
4349
- childRowContent: Ma
4348
+ rowContent: za,
4349
+ childRowContent: za
4350
4350
  },
4351
4351
  S
4352
4352
  ), /* @__PURE__ */ t.createElement(
@@ -4358,7 +4358,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4358
4358
  childRowContent: Pn
4359
4359
  },
4360
4360
  U
4361
- ), O.map(
4361
+ ), L.map(
4362
4362
  (E) => /* @__PURE__ */ t.createElement(
4363
4363
  c,
4364
4364
  {
@@ -4377,7 +4377,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4377
4377
  {
4378
4378
  group: n,
4379
4379
  resources: o,
4380
- cellContent: ui
4380
+ cellContent: mi
4381
4381
  },
4382
4382
  S
4383
4383
  )),
@@ -4387,7 +4387,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4387
4387
  nested: !1,
4388
4388
  group: n,
4389
4389
  resources: o,
4390
- rowContent: za,
4390
+ rowContent: Aa,
4391
4391
  rowContentProps: {
4392
4392
  timeHeaderCell: e.timeHeaderCell,
4393
4393
  isMaster: M % d === 0,
@@ -4417,7 +4417,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4417
4417
  row: M + En,
4418
4418
  col: b.length * (H || 0) + ne,
4419
4419
  isWorkHour: Ue($.zonedStart, h, y),
4420
- isWorkDay: ja($.zonedEnd.getDay(), m, g),
4420
+ isWorkDay: Qa($.zonedEnd.getDay(), m, g),
4421
4421
  editable: e.editable
4422
4422
  }
4423
4423
  )))
@@ -4447,7 +4447,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4447
4447
  }
4448
4448
  ));
4449
4449
  }))), N.filter((M) => M.group.index === E && M.range.index === gn).map((M, H, Q) => /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row", key: M.index }, /* @__PURE__ */ t.createElement(
4450
- za,
4450
+ Aa,
4451
4451
  {
4452
4452
  slot: M,
4453
4453
  isMaster: H % d === 0,
@@ -4473,7 +4473,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4473
4473
  ))
4474
4474
  )
4475
4475
  ))), e.currentTimeMarker && pe(Et(b).start, Bt(b).end, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date(), !0) && /* @__PURE__ */ t.createElement(Sn, { groupIndex: E })))
4476
- ), O.map((E) => /* @__PURE__ */ t.createElement(
4476
+ ), L.map((E) => /* @__PURE__ */ t.createElement(
4477
4477
  c,
4478
4478
  {
4479
4479
  key: E.isRecurring ? `${E.uid}:${E.group.index}:${E.range.index}:${E.originalStart}` : `${E.uid}:${E.group.index}:${E.range.index}`,
@@ -4485,7 +4485,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4485
4485
  editable: e.editable,
4486
4486
  vertical: !1
4487
4487
  }
4488
- ))), L.map((E) => /* @__PURE__ */ t.createElement(
4488
+ ))), O.map((E) => /* @__PURE__ */ t.createElement(
4489
4489
  c,
4490
4490
  {
4491
4491
  key: E.isRecurring ? `${E.uid}:${E.group.index}:${E.range.index}:${E.originalStart}` : `${E.uid}:${E.group.index}:${E.range.index}`,
@@ -4500,7 +4500,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4500
4500
  }
4501
4501
  )))
4502
4502
  ));
4503
- }, mi = ({ date: e, numberOfDays: n = 1, timezone: r }) => {
4503
+ }, hi = ({ date: e, numberOfDays: n = 1, timezone: r }) => {
4504
4504
  const o = te.fromLocalDate(e, r), a = Ze(o), c = gt(a, n), l = te.fromUTCDate(Fe(a), r), s = te.fromUTCDate(Fe(c), r), i = new Date(l.getTime()), d = new Date(s.getTime());
4505
4505
  return {
4506
4506
  start: i,
@@ -4512,7 +4512,7 @@ const gn = 0, En = 1, ui = /* @__PURE__ */ t.createElement("div", { className: "
4512
4512
  name: "multi-day",
4513
4513
  title: "Multi Day",
4514
4514
  currentTimeMarker: !0,
4515
- dateRange: mi,
4515
+ dateRange: hi,
4516
4516
  selectedDateFormat: "{0:D} - {1:D}",
4517
4517
  selectedShortDateFormat: "{0:d} - {1:d}",
4518
4518
  numberOfDays: 1,
@@ -4545,7 +4545,7 @@ cn.propTypes = {
4545
4545
  selectedShortDateFormat: q.string
4546
4546
  };
4547
4547
  cn.displayName = "KendoReactSchedulerMultiDayView";
4548
- const wn = (e) => /* @__PURE__ */ t.createElement(cn, { ...e }), hi = {
4548
+ const wn = (e) => /* @__PURE__ */ t.createElement(cn, { ...e }), fi = {
4549
4549
  ...et,
4550
4550
  name: "day",
4551
4551
  title: (e) => e.toLanguageString(jn, j[jn]),
@@ -4557,20 +4557,20 @@ const wn = (e) => /* @__PURE__ */ t.createElement(cn, { ...e }), hi = {
4557
4557
  selectedShortDateFormat: "{0:d}"
4558
4558
  };
4559
4559
  wn.displayName = "KendoReactSchedulerDayView";
4560
- const Ha = {
4560
+ const Va = {
4561
4561
  name: "@progress/kendo-react-scheduler",
4562
4562
  productName: "KendoReact",
4563
4563
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
4564
- publishDate: 1706027362,
4564
+ publishDate: 1706772748,
4565
4565
  version: "",
4566
4566
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui"
4567
- }, pl = t.forwardRef((e, n) => {
4567
+ }, Wl = t.forwardRef((e, n) => {
4568
4568
  const {
4569
4569
  _ref: r,
4570
4570
  onRemoveClick: o
4571
4571
  } = e, a = t.useRef(null), c = t.useRef(null);
4572
4572
  t.useImperativeHandle(a, () => ({ props: e, element: c.current })), t.useImperativeHandle(n, () => a.current), t.useImperativeHandle(r, () => a.current);
4573
- const l = Ot(e.editable), i = _e().toLanguageString(Yt, j[Yt]), d = e.group.resources.find((h) => !!(h.colorField && h[h.colorField] !== void 0)), u = d && d.colorField && d[d.colorField], m = t.useCallback(
4573
+ const l = Lt(e.editable), i = _e().toLanguageString(Yt, j[Yt]), d = e.group.resources.find((h) => !!(h.colorField && h[h.colorField] !== void 0)), u = d && d.colorField && d[d.colorField], m = t.useCallback(
4574
4574
  (h) => {
4575
4575
  o && o.call(void 0, {
4576
4576
  syntheticEvent: h,
@@ -4598,8 +4598,8 @@ const Ha = {
4598
4598
  style: { color: u, backgroundColor: u }
4599
4599
  }
4600
4600
  ),
4601
- e.isRecurring && /* @__PURE__ */ t.createElement(ze, { name: "arrow-rotate-cw", icon: zr }),
4602
- e.isException && /* @__PURE__ */ t.createElement(ze, { name: "arrows-no-repeat", icon: Ga }),
4601
+ e.isRecurring && /* @__PURE__ */ t.createElement(ze, { name: "arrow-rotate-cw", icon: Ar }),
4602
+ e.isException && /* @__PURE__ */ t.createElement(ze, { name: "arrows-no-repeat", icon: Ya }),
4603
4603
  e.title,
4604
4604
  l.remove && /* @__PURE__ */ t.createElement(
4605
4605
  "a",
@@ -4609,21 +4609,21 @@ const Ha = {
4609
4609
  "aria-label": i,
4610
4610
  onClick: m
4611
4611
  },
4612
- /* @__PURE__ */ t.createElement(ze, { name: "x", icon: $a })
4612
+ /* @__PURE__ */ t.createElement(ze, { name: "x", icon: Ga })
4613
4613
  )
4614
4614
  );
4615
4615
  });
4616
- pl.displayName = "KendoReactSchedulerTask";
4617
- const Wl = t.forwardRef((e, n) => {
4616
+ Wl.displayName = "KendoReactSchedulerTask";
4617
+ const Hl = t.forwardRef((e, n) => {
4618
4618
  const { task: r, _ref: o, ...a } = e, c = t.useRef(null), l = t.useRef(null);
4619
4619
  t.useImperativeHandle(l, () => ({ props: e, element: c.current && c.current.element })), t.useImperativeHandle(o, () => c.current), t.useImperativeHandle(n, () => l.current);
4620
- const s = r || fi.task;
4620
+ const s = r || gi.task;
4621
4621
  return /* @__PURE__ */ t.createElement(s, { ...a, _ref: c });
4622
- }), fi = {
4623
- task: pl
4622
+ }), gi = {
4623
+ task: Wl
4624
4624
  };
4625
- Wl.displayName = "KendoReactSchedulerViewTask";
4626
- const Hl = t.forwardRef((e, n) => {
4625
+ Hl.displayName = "KendoReactSchedulerViewTask";
4626
+ const Vl = t.forwardRef((e, n) => {
4627
4627
  const {
4628
4628
  _ref: r,
4629
4629
  onDataAction: o,
@@ -4639,7 +4639,7 @@ const Hl = t.forwardRef((e, n) => {
4639
4639
  ...h
4640
4640
  } = e, y = t.useRef(null);
4641
4641
  t.useImperativeHandle(y, () => ({ props: e, element: y.current && y.current.element })), t.useImperativeHandle(r, () => y.current), t.useImperativeHandle(n, () => y.current);
4642
- const D = a || Vn.viewTask, C = i || Vn.occurrenceDialog, z = c || Vn.removeDialog, x = Ot(e.editable), R = We(), [P, _] = Lt(), [p, f] = t.useState(null), [I, b] = Ne(null, l, s), [A, N] = Ne(!1, m, g), [Z, F] = Ne(!1, d, u), V = t.useCallback(
4642
+ const D = a || Vn.viewTask, C = i || Vn.occurrenceDialog, z = c || Vn.removeDialog, x = Lt(e.editable), R = We(), [P, _] = Ot(), [p, f] = t.useState(null), [I, b] = Ne(null, l, s), [A, N] = Ne(!1, m, g), [Z, F] = Ne(!1, d, u), V = t.useCallback(
4643
4643
  (H) => {
4644
4644
  x.remove && (b(e.dataItem, H), e.isRecurring ? F(!0, H) : N(!0, H));
4645
4645
  },
@@ -4650,7 +4650,7 @@ const Hl = t.forwardRef((e, n) => {
4650
4650
  F,
4651
4651
  N
4652
4652
  ]
4653
- ), O = t.useCallback(
4653
+ ), L = t.useCallback(
4654
4654
  (H) => {
4655
4655
  f(null), b(null, H), N(!1, H), F(!1, H);
4656
4656
  },
@@ -4660,7 +4660,7 @@ const Hl = t.forwardRef((e, n) => {
4660
4660
  N,
4661
4661
  F
4662
4662
  ]
4663
- ), L = t.useCallback(
4663
+ ), O = t.useCallback(
4664
4664
  (H) => {
4665
4665
  o && I && o.call(void 0, {
4666
4666
  type: Ae.remove,
@@ -4718,7 +4718,7 @@ const Hl = t.forwardRef((e, n) => {
4718
4718
  ]
4719
4719
  );
4720
4720
  return /* @__PURE__ */ t.createElement(
4721
- $c,
4721
+ Gc,
4722
4722
  {
4723
4723
  remove: [I, S],
4724
4724
  showRemoveDialog: [A, U],
@@ -4737,7 +4737,7 @@ const Hl = t.forwardRef((e, n) => {
4737
4737
  {
4738
4738
  dataItem: I,
4739
4739
  isRemove: I !== null,
4740
- onClose: O,
4740
+ onClose: L,
4741
4741
  onOccurrenceClick: E,
4742
4742
  onSeriesClick: M
4743
4743
  }
@@ -4746,24 +4746,24 @@ const Hl = t.forwardRef((e, n) => {
4746
4746
  z,
4747
4747
  {
4748
4748
  dataItem: I,
4749
- onClose: O,
4750
- onCancel: O,
4751
- onConfirm: L
4749
+ onClose: L,
4750
+ onCancel: L,
4751
+ onConfirm: O
4752
4752
  }
4753
4753
  )
4754
4754
  );
4755
4755
  }), Vn = {
4756
- viewTask: Wl,
4757
- occurrenceDialog: Ea,
4758
- removeDialog: ya
4756
+ viewTask: Hl,
4757
+ occurrenceDialog: ya,
4758
+ removeDialog: va
4759
4759
  };
4760
- Hl.displayName = "KendoReactSchedulerEditTask";
4761
- const va = (e) => {
4760
+ Vl.displayName = "KendoReactSchedulerEditTask";
4761
+ const ka = (e) => {
4762
4762
  const {
4763
4763
  group: n,
4764
4764
  timezone: r,
4765
4765
  resources: o
4766
- } = Xe(), a = e.editTask || Hl, c = e.editSlot || ln, l = t.useRef(null), s = tn(l), i = Ge(), d = _e(), [u] = Lt(), m = Mt(), g = We(), h = vt(), y = t.useMemo(
4766
+ } = Xe(), a = e.editTask || Vl, c = e.editSlot || ln, l = t.useRef(null), s = tn(l), i = Ge(), d = _e(), [u] = Ot(), m = Mt(), g = We(), h = vt(), y = t.useMemo(
4767
4767
  () => Jt(
4768
4768
  h,
4769
4769
  { step: qe, timezone: r }
@@ -4829,7 +4829,7 @@ const va = (e) => {
4829
4829
  name: s === "rtl" ? "caret-alt-right" : "caret-alt-left",
4830
4830
  icon: s === "rtl" ? It : Rt
4831
4831
  }
4832
- ), f.isAllDay ? d.toLanguageString(Gt, j[Gt]) : gi(i, f), f.head && /* @__PURE__ */ t.createElement(
4832
+ ), f.isAllDay ? d.toLanguageString(Gt, j[Gt]) : Ei(i, f), f.head && /* @__PURE__ */ t.createElement(
4833
4833
  ze,
4834
4834
  {
4835
4835
  name: s === "rtl" ? "caret-alt-left" : "caret-alt-right",
@@ -4847,33 +4847,33 @@ const va = (e) => {
4847
4847
  }
4848
4848
  )))) : /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-heading-cell k-group-cell" }, d.toLanguageString(Cr, j[Cr]))))))))
4849
4849
  );
4850
- }, gi = (e, n) => {
4850
+ }, Ei = (e, n) => {
4851
4851
  let r = "{0:t}-{1:t}";
4852
4852
  return n.head ? r = "{0:t}" : n.tail && (r = "{1:t}"), e.format(r, n.zonedStart, n.zonedEnd);
4853
- }, Va = (e) => Ze(e), Ei = (e, n) => Ze(gt(e, n || 1)), yi = ({ intl: e, date: n, numberOfDays: r = 1, timezone: o }) => {
4854
- const a = te.fromLocalDate(n, o), c = Va(r === rt ? yn(a, e.firstDay()) : a), l = Ei(c, r), s = te.fromUTCDate(Fe(c), o), i = te.fromUTCDate(Fe(l), o), d = new Date(s.getTime()), u = new Date(i.getTime());
4853
+ }, Ka = (e) => Ze(e), yi = (e, n) => Ze(gt(e, n || 1)), vi = ({ intl: e, date: n, numberOfDays: r = 1, timezone: o }) => {
4854
+ const a = te.fromLocalDate(n, o), c = Ka(r === rt ? yn(a, e.firstDay()) : a), l = yi(c, r), s = te.fromUTCDate(Fe(c), o), i = te.fromUTCDate(Fe(l), o), d = new Date(s.getTime()), u = new Date(i.getTime());
4855
4855
  return {
4856
4856
  start: d,
4857
4857
  end: u,
4858
4858
  zonedStart: s,
4859
4859
  zonedEnd: i
4860
4860
  };
4861
- }, vi = {
4861
+ }, ki = {
4862
4862
  name: "agenda",
4863
4863
  title: (e) => e.toLanguageString(Xn, j[Xn]),
4864
- dateRange: yi,
4864
+ dateRange: vi,
4865
4865
  selectedDateFormat: "{0:D} - {1:D}",
4866
4866
  selectedShortDateFormat: "{0:d} - {1:d}",
4867
4867
  slotDuration: 60 * 24,
4868
4868
  slotDivision: 1,
4869
4869
  step: rt,
4870
4870
  numberOfDays: rt
4871
- }, ki = {
4871
+ }, Di = {
4872
4872
  title: q.any
4873
4873
  };
4874
- va.propTypes = ki;
4875
- va.displayName = "KendoReactSchedulerAgendaView";
4876
- const Vl = t.forwardRef((e, n) => {
4874
+ ka.propTypes = Di;
4875
+ ka.displayName = "KendoReactSchedulerAgendaView";
4876
+ const Kl = t.forwardRef((e, n) => {
4877
4877
  const r = t.useRef(null), o = t.useRef(null), a = _e();
4878
4878
  t.useImperativeHandle(r, () => ({
4879
4879
  element: o.current && o.current.element,
@@ -4901,17 +4901,17 @@ const Vl = t.forwardRef((e, n) => {
4901
4901
  onClick: c,
4902
4902
  "aria-label": l,
4903
4903
  icon: "more-horizontal",
4904
- svgIcon: Yo
4904
+ svgIcon: qo
4905
4905
  }
4906
4906
  );
4907
4907
  });
4908
- Vl.displayName = "KendoReactSchedulerShowMoreItemsButton";
4909
- const Di = { skeleton: "dd" }, ka = (e) => {
4908
+ Kl.displayName = "KendoReactSchedulerShowMoreItemsButton";
4909
+ const Si = { skeleton: "dd" }, Da = (e) => {
4910
4910
  const {
4911
4911
  group: n,
4912
4912
  timezone: r,
4913
4913
  resources: o
4914
- } = Xe(), a = e.editItem || In, c = e.editSlot || ln, [l] = Lt(), [, s] = nl(), [, i] = Yr(), d = tl(), u = Mt(), m = Ur(), g = vt(), h = Ge(), y = We(), D = e.itemsPerSlot || Kl.itemsPerSlot, C = t.useMemo(
4914
+ } = Xe(), a = e.editItem || In, c = e.editSlot || ln, [l] = Ot(), [, s] = rl(), [, i] = qr(), d = nl(), u = Mt(), m = Br(), g = vt(), h = Ge(), y = We(), D = e.itemsPerSlot || Ul.itemsPerSlot, C = t.useMemo(
4915
4915
  () => Jt(
4916
4916
  g,
4917
4917
  { step: qe * rt, timezone: r }
@@ -4976,9 +4976,9 @@ const Di = { skeleton: "dd" }, ka = (e) => {
4976
4976
  },
4977
4977
  /* @__PURE__ */ t.createElement("span", { className: "k-link k-nav-day" }, h.formatDate(
4978
4978
  new Date(A.end.getTime() - (A.end.getTime() - A.start.getTime()) / 2),
4979
- Di
4979
+ Si
4980
4980
  )),
4981
- D < A.items.length && /* @__PURE__ */ t.createElement(Vl, { slot: A, onClick: P })
4981
+ D < A.items.length && /* @__PURE__ */ t.createElement(Kl, { slot: A, onClick: P })
4982
4982
  )))));
4983
4983
  return /* @__PURE__ */ t.createElement(
4984
4984
  an,
@@ -4989,7 +4989,7 @@ const Di = { skeleton: "dd" }, ka = (e) => {
4989
4989
  className: he("k-scheduler-monthview", e.className)
4990
4990
  },
4991
4991
  /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-head" }, m === "horizontal" ? /* @__PURE__ */ t.createElement(ft, { nested: !0, resources: o, group: n }, _) : /* @__PURE__ */ t.createElement(it, { resources: o, group: n }, _)),
4992
- /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-body" }, m === "horizontal" ? /* @__PURE__ */ t.createElement(ft, { resources: o, group: n }, p) : /* @__PURE__ */ t.createElement(it, { nested: !0, resources: o, group: n }, p), R.filter((f) => f.order === null || f.order < D).sort(el).map((f) => /* @__PURE__ */ t.createElement(
4992
+ /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-body" }, m === "horizontal" ? /* @__PURE__ */ t.createElement(ft, { resources: o, group: n }, p) : /* @__PURE__ */ t.createElement(it, { nested: !0, resources: o, group: n }, p), R.filter((f) => f.order === null || f.order < D).sort(tl).map((f) => /* @__PURE__ */ t.createElement(
4993
4993
  a,
4994
4994
  {
4995
4995
  item: e.item,
@@ -5005,17 +5005,17 @@ const Di = { skeleton: "dd" }, ka = (e) => {
5005
5005
  }
5006
5006
  )))
5007
5007
  );
5008
- }, Si = ({ intl: e, date: n, timezone: r }) => {
5009
- const o = yn(xo(Ze(n)), e.firstDay()), a = gt(yn(Mo(Ze(n)), e.firstDay()), rt), c = te.fromUTCDate(Fe(o), r), l = te.fromUTCDate(Fe(a), r), s = new Date(c.getTime()), i = new Date(l.getTime());
5008
+ }, wi = ({ intl: e, date: n, timezone: r }) => {
5009
+ const o = yn(Mo(Ze(n)), e.firstDay()), a = gt(yn(zo(Ze(n)), e.firstDay()), rt), c = te.fromUTCDate(Fe(o), r), l = te.fromUTCDate(Fe(a), r), s = new Date(c.getTime()), i = new Date(l.getTime());
5010
5010
  return {
5011
5011
  start: s,
5012
5012
  end: i,
5013
5013
  zonedStart: c,
5014
5014
  zonedEnd: l
5015
5015
  };
5016
- }, Kl = {
5016
+ }, Ul = {
5017
5017
  name: "month",
5018
- dateRange: Si,
5018
+ dateRange: wi,
5019
5019
  slotDuration: 24 * 60,
5020
5020
  slotDivision: 1,
5021
5021
  itemsPerSlot: 2,
@@ -5023,38 +5023,38 @@ const Di = { skeleton: "dd" }, ka = (e) => {
5023
5023
  title: (e) => e.toLanguageString(Qn, j[Qn]),
5024
5024
  selectedDateFormat: "{0:Y}",
5025
5025
  selectedShortDateFormat: "{0:Y}"
5026
- }, wi = {
5026
+ }, Ci = {
5027
5027
  itemsPerSlot: q.number
5028
5028
  };
5029
- ka.propTypes = wi;
5030
- ka.displayName = "KendoReactSchedulerMonthView";
5031
- const Ul = (e) => /* @__PURE__ */ t.createElement(
5029
+ Da.propTypes = Ci;
5030
+ Da.displayName = "KendoReactSchedulerMonthView";
5031
+ const Bl = (e) => /* @__PURE__ */ t.createElement(
5032
5032
  cn,
5033
5033
  {
5034
5034
  ...e,
5035
5035
  step: rt,
5036
5036
  numberOfDays: e.numberOfDays
5037
5037
  }
5038
- ), Ci = (e) => Ze(e), bi = (e, n) => Ze(gt(e, n || 1)), Ri = ({ intl: e, date: n, timezone: r }) => {
5039
- const o = te.fromLocalDate(n, r), a = Ci(yn(o, e.firstDay())), c = bi(a, rt), l = te.fromUTCDate(Fe(a), r), s = te.fromUTCDate(Fe(c), r), i = new Date(l.getTime()), d = new Date(s.getTime());
5038
+ ), bi = (e) => Ze(e), Ri = (e, n) => Ze(gt(e, n || 1)), Ii = ({ intl: e, date: n, timezone: r }) => {
5039
+ const o = te.fromLocalDate(n, r), a = bi(yn(o, e.firstDay())), c = Ri(a, rt), l = te.fromUTCDate(Fe(a), r), s = te.fromUTCDate(Fe(c), r), i = new Date(l.getTime()), d = new Date(s.getTime());
5040
5040
  return {
5041
5041
  start: i,
5042
5042
  end: d,
5043
5043
  zonedStart: l,
5044
5044
  zonedEnd: s
5045
5045
  };
5046
- }, Ii = {
5046
+ }, Ti = {
5047
5047
  name: "week",
5048
5048
  slotDuration: 60,
5049
5049
  slotDivisions: 2,
5050
5050
  numberOfDays: rt,
5051
- dateRange: Ri,
5051
+ dateRange: Ii,
5052
5052
  title: (e) => e.toLanguageString(qn, j[qn]),
5053
5053
  selectedDateFormat: "{0:D} - {1:D}",
5054
5054
  selectedShortDateFormat: "{0:d} - {1:d}"
5055
5055
  };
5056
- Ul.displayName = "KendoReactSchedulerWeekView";
5057
- const Bl = (e) => {
5056
+ Bl.displayName = "KendoReactSchedulerWeekView";
5057
+ const $l = (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,
@@ -5064,41 +5064,41 @@ const Bl = (e) => {
5064
5064
  numberOfDays: r
5065
5065
  }
5066
5066
  );
5067
- }, Ti = (e, n = ct.Sunday) => {
5067
+ }, xi = (e, n = ct.Sunday) => {
5068
5068
  let r = e.clone();
5069
5069
  for (; r.getDay() !== n; )
5070
5070
  r = r.addDays(-1);
5071
5071
  return r;
5072
- }, xi = ({ intl: e, date: n, timezone: r, ...o }) => {
5073
- const a = te.fromLocalDate(n, r), c = o.workWeekStart !== void 0 ? o.workWeekStart : ct.Monday, l = o.workWeekEnd !== void 0 ? o.workWeekEnd : ct.Friday, s = l < c ? rt + l - c + 1 : l - c + 1, i = Ze(Ti(a, c)), d = gt(i, s), u = te.fromUTCDate(Fe(i), r), m = te.fromUTCDate(Fe(d), r), g = new Date(u.getTime()), h = new Date(m.getTime());
5072
+ }, Mi = ({ intl: e, date: n, timezone: r, ...o }) => {
5073
+ const a = te.fromLocalDate(n, r), c = o.workWeekStart !== void 0 ? o.workWeekStart : ct.Monday, l = o.workWeekEnd !== void 0 ? o.workWeekEnd : ct.Friday, s = l < c ? rt + l - c + 1 : l - c + 1, i = Ze(xi(a, c)), d = gt(i, s), u = te.fromUTCDate(Fe(i), r), m = te.fromUTCDate(Fe(d), r), g = new Date(u.getTime()), h = new Date(m.getTime());
5074
5074
  return {
5075
5075
  start: g,
5076
5076
  end: h,
5077
5077
  zonedStart: u,
5078
5078
  zonedEnd: m
5079
5079
  };
5080
- }, Mi = {
5080
+ }, zi = {
5081
5081
  name: "work-week",
5082
5082
  slotDuration: 60,
5083
5083
  slotDivisions: 2,
5084
5084
  numberOfDays: 7,
5085
- dateRange: xi,
5085
+ dateRange: Mi,
5086
5086
  title: (e) => e.toLanguageString(Zn, j[Zn]),
5087
5087
  workWeekStart: ct.Monday,
5088
5088
  workWeekEnd: ct.Friday,
5089
5089
  selectedDateFormat: "{0:D} - {1:D}",
5090
5090
  selectedShortDateFormat: "{0:d} - {1:d}"
5091
5091
  };
5092
- Bl.displayName = "KendoReactSchedulerWorkWeekView";
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) => {
5092
+ $l.displayName = "KendoReactSchedulerWorkWeekView";
5093
+ const Ai = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell k-side-cell" }), Ni = (e) => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-sticky-cell" }, Ai), e.children), Fi = (e) => {
5094
5094
  const n = _e();
5095
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
- }, Fi = "t", _i = 0, Li = (e) => {
5096
+ }, _i = "t", Oi = 0, Li = (e) => {
5097
5097
  const {
5098
5098
  group: n,
5099
5099
  timezone: r,
5100
5100
  resources: o
5101
- } = Xe(), a = t.useRef(null), c = t.useRef(null), l = e.editItem || In, s = e.editSlot || ln, i = t.useRef(null), [d] = Lt(), u = Ur(), m = Mt(), g = vt(), h = We(), y = Ge(), D = e.showWorkHours, C = e.slotDivisions || tt.slotDivisions, z = e.slotDuration || tt.slotDuration, x = e.workWeekStart || tt.workWeekStart, R = e.workWeekEnd || tt.workWeekEnd, P = y.parseDate(e.workDayStart || e.isWorkDayStart || tt.isWorkDayStart), _ = y.parseDate(e.workDayEnd || e.isWorkDayEnd || tt.isWorkDayEnd), p = y.parseDate(e.startTime || tt.startTime), f = y.parseDate(e.endTime || tt.endTime), I = t.useMemo(
5101
+ } = Xe(), a = t.useRef(null), c = t.useRef(null), l = e.editItem || In, s = e.editSlot || ln, i = t.useRef(null), [d] = Ot(), u = Br(), m = Mt(), g = vt(), h = We(), y = Ge(), D = e.showWorkHours, C = e.slotDivisions || tt.slotDivisions, z = e.slotDuration || tt.slotDuration, x = e.workWeekStart || tt.workWeekStart, R = e.workWeekEnd || tt.workWeekEnd, P = y.parseDate(e.workDayStart || e.isWorkDayStart || tt.isWorkDayStart), _ = y.parseDate(e.workDayEnd || e.isWorkDayEnd || tt.isWorkDayEnd), p = y.parseDate(e.startTime || tt.startTime), f = y.parseDate(e.endTime || tt.endTime), I = t.useMemo(
5102
5102
  () => D ? P : p,
5103
5103
  [
5104
5104
  D,
@@ -5125,7 +5125,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5125
5125
  ), N = t.useMemo(
5126
5126
  () => Qt(
5127
5127
  g,
5128
- { step: z / C * zo },
5128
+ { step: z / C * Ao },
5129
5129
  { groups: m, ranges: A }
5130
5130
  ).filter((k) => Ue(k.zonedStart, I, b) || I.getTime() === b.getTime()),
5131
5131
  [
@@ -5153,7 +5153,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5153
5153
  [Z, r, m, A, I.getTime(), b.getTime()]
5154
5154
  );
5155
5155
  t.useMemo(() => Tt(F, N, !0), [F, N]), t.useMemo(() => $t(F, N, !0), [F, N]);
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(
5156
+ const V = (u === "horizontal" ? N.length : N.length / m.length) * ((e.columnWidth || tt.columnWidth) + Re), L = /* @__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
  {
5159
5159
  as: e.dateHeaderCell,
@@ -5163,20 +5163,20 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5163
5163
  end: k.end,
5164
5164
  format: "m"
5165
5165
  }
5166
- ))), /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row", ref: a }, A.map((k, E) => N.filter((M) => M.group.index === _i && M.range.index === E).map(
5166
+ ))), /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-row", ref: a }, A.map((k, E) => N.filter((M) => M.group.index === Oi && M.range.index === E).map(
5167
5167
  (M) => M.zonedStart.getMinutes() % z === 0 ? /* @__PURE__ */ t.createElement(
5168
- fa,
5168
+ ga,
5169
5169
  {
5170
5170
  key: M.index,
5171
5171
  as: e.timeHeaderCell,
5172
- format: Fi,
5172
+ format: _i,
5173
5173
  date: M.zonedStart,
5174
5174
  start: M.zonedStart,
5175
5175
  end: M.zonedEnd
5176
5176
  }
5177
5177
  ) : null
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 $ = te.fromUTCDate(Fe(H.zonedStart), r), re = ja($.getDay(), x, R);
5178
+ ))))), O = /* @__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 $ = te.fromUTCDate(Fe(H.zonedStart), r), re = Qa($.getDay(), x, R);
5180
5180
  return /* @__PURE__ */ t.createElement(
5181
5181
  s,
5182
5182
  {
@@ -5208,7 +5208,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5208
5208
  explicitDepth: !0
5209
5209
  });
5210
5210
  const U = i.current ? i.current.closest(".k-scheduler-layout") : null;
5211
- return xl({
5211
+ return Ml({
5212
5212
  element: U,
5213
5213
  selector: ".k-resource-row",
5214
5214
  horizontalAttribute: "data-depth-index",
@@ -5232,9 +5232,9 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5232
5232
  nested: !0,
5233
5233
  group: n,
5234
5234
  resources: o,
5235
- rowContent: Ai
5235
+ rowContent: Ni
5236
5236
  },
5237
- O
5237
+ L
5238
5238
  ) : /* @__PURE__ */ t.createElement(
5239
5239
  it,
5240
5240
  {
@@ -5242,16 +5242,16 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5242
5242
  group: n,
5243
5243
  resources: o
5244
5244
  },
5245
- O
5245
+ L
5246
5246
  )),
5247
5247
  /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-body", style: { width: V }, ref: c }, u === "horizontal" ? /* @__PURE__ */ t.createElement(
5248
5248
  ft,
5249
5249
  {
5250
5250
  group: n,
5251
5251
  resources: o,
5252
- rowContent: Ni
5252
+ rowContent: Fi
5253
5253
  },
5254
- L,
5254
+ O,
5255
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
  {
@@ -5268,14 +5268,14 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5268
5268
  group: n,
5269
5269
  resources: o
5270
5270
  },
5271
- L
5271
+ O
5272
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,
5276
5276
  vertical: !0
5277
5277
  }
5278
- ), F.sort(el).map((k, E) => /* @__PURE__ */ t.createElement(
5278
+ ), F.sort(tl).map((k, E) => /* @__PURE__ */ t.createElement(
5279
5279
  l,
5280
5280
  {
5281
5281
  key: k.isRecurring ? `${k.uid}:${k.group.index}:${k.range.index}:${k.originalStart}` : `${k.uid}:${k.group.index}:${k.range.index}`,
@@ -5292,7 +5292,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5292
5292
  }
5293
5293
  )))
5294
5294
  ));
5295
- }, Oi = ({ date: e, numberOfDays: n = 1, timezone: r }) => {
5295
+ }, Pi = ({ date: e, numberOfDays: n = 1, timezone: r }) => {
5296
5296
  const o = te.fromLocalDate(e, r), a = Ze(o), c = gt(a, n), l = te.fromUTCDate(Fe(a), r), s = te.fromUTCDate(Fe(c), r), i = new Date(l.getTime()), d = new Date(s.getTime());
5297
5297
  return {
5298
5298
  start: i,
@@ -5304,7 +5304,7 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5304
5304
  name: "multi-day-timeline",
5305
5305
  title: "Multi Day Timeline",
5306
5306
  currentTimeMarker: !0,
5307
- dateRange: Oi,
5307
+ dateRange: Pi,
5308
5308
  selectedDateFormat: "{0:D} - {1:D}",
5309
5309
  selectedShortDateFormat: "{0:d} - {1:d}",
5310
5310
  step: 1,
@@ -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
- }, $l = (e) => /* @__PURE__ */ t.createElement(Li, { ...e }), Pi = {
5323
+ }, Gl = (e) => /* @__PURE__ */ t.createElement(Li, { ...e }), pi = {
5324
5324
  ...tt,
5325
5325
  name: "timeline",
5326
5326
  title: (e) => e.toLanguageString(Yn, j[Yn]),
@@ -5331,23 +5331,23 @@ const zi = /* @__PURE__ */ t.createElement("div", { className: "k-scheduler-cell
5331
5331
  selectedDateFormat: "{0:D}",
5332
5332
  selectedShortDateFormat: "{0:d}"
5333
5333
  };
5334
- $l.displayName = "KendoReactSchedulerTimelineView";
5335
- const pi = "{0:D}", Wi = "{0:d}", Hi = "application", yt = /* @__PURE__ */ new Map();
5336
- yt.set(va, vi);
5337
- yt.set(wn, hi);
5338
- yt.set(ka, Kl);
5339
- yt.set(Ul, Ii);
5340
- yt.set(Bl, Mi);
5341
- yt.set($l, Pi);
5342
- const Gl = t.forwardRef((e, n) => {
5343
- var je, le, Le;
5344
- _o(Ha);
5345
- const r = Lo(Ha), {
5334
+ Gl.displayName = "KendoReactSchedulerTimelineView";
5335
+ const Wi = "{0:D}", Hi = "{0:d}", Vi = "application", yt = /* @__PURE__ */ new Map();
5336
+ yt.set(ka, ki);
5337
+ yt.set(wn, fi);
5338
+ yt.set(Da, Ul);
5339
+ yt.set(Bl, Ti);
5340
+ yt.set($l, zi);
5341
+ yt.set(Gl, pi);
5342
+ const Yl = t.forwardRef((e, n) => {
5343
+ var je, le, Oe;
5344
+ Oo(Va);
5345
+ const r = Lo(Va), {
5346
5346
  timezone: o,
5347
5347
  onDataChange: a
5348
5348
  } = e, c = t.useRef(null), l = t.useRef(null);
5349
5349
  t.useImperativeHandle(l, () => ({ props: e, element: c.current })), t.useImperativeHandle(n, () => l.current);
5350
- const s = Oo(c), i = Ge(), d = _e(), { fields: u } = t.useMemo(() => uc(e.modelFields), [e.modelFields]), [
5350
+ const s = Po(c), i = Ge(), d = _e(), { fields: u } = t.useMemo(() => mc(e.modelFields), [e.modelFields]), [
5351
5351
  m,
5352
5352
  g
5353
5353
  ] = Ne(e.defaultDate || Je.defaultDate, e.date, e.onDateChange), h = t.Children.toArray(e.children || []).map((W) => t.isValidElement(W) ? t.cloneElement(W, { ...yt.get(W.type), ...W.props }) : W), y = t.cloneElement(/* @__PURE__ */ t.createElement(wn, null), yt.get(wn)), [
@@ -5356,7 +5356,7 @@ const Gl = t.forwardRef((e, n) => {
5356
5356
  ] = Ne(e.defaultView || h[0] && h[0].props.name || "day", e.view, e.onViewChange), [
5357
5357
  z,
5358
5358
  x
5359
- ] = Ne(!0), R = h.find((W) => W.props.name === D) || h[0] || y, P = ((je = e.data) != null ? je : Je.data) || Je.data, _ = mc(e.group, e.resources), p = e.group && e.group.orientation ? e.group.orientation : "horizontal", f = R.props.selectedDateFormat || pi, I = R.props.selectedShortDateFormat || Wi, b = R.props.slotDuration, A = R.props.dateRange !== void 0 ? typeof R.props.dateRange == "function" ? R.props.dateRange.call(void 0, {
5359
+ ] = Ne(!0), R = h.find((W) => W.props.name === D) || h[0] || y, P = ((je = e.data) != null ? je : Je.data) || Je.data, _ = hc(e.group, e.resources), p = e.group && e.group.orientation ? e.group.orientation : "horizontal", f = R.props.selectedDateFormat || Wi, I = R.props.selectedShortDateFormat || Hi, b = R.props.slotDuration, A = R.props.dateRange !== void 0 ? typeof R.props.dateRange == "function" ? R.props.dateRange.call(void 0, {
5360
5360
  intl: i,
5361
5361
  date: m,
5362
5362
  timezone: o,
@@ -5429,7 +5429,7 @@ const Gl = t.forwardRef((e, n) => {
5429
5429
  N({ updated: oe, deleted: ye });
5430
5430
  },
5431
5431
  [N, u, P]
5432
- ), O = t.useCallback(
5432
+ ), L = t.useCallback(
5433
5433
  (W) => {
5434
5434
  switch (W.type) {
5435
5435
  case Ae.create:
@@ -5444,7 +5444,7 @@ const Gl = t.forwardRef((e, n) => {
5444
5444
  }
5445
5445
  },
5446
5446
  [Z, V, F]
5447
- ), L = t.useCallback(
5447
+ ), O = t.useCallback(
5448
5448
  (W, oe) => {
5449
5449
  C(W, {
5450
5450
  ...oe,
@@ -5481,21 +5481,21 @@ const Gl = t.forwardRef((e, n) => {
5481
5481
  ), k = t.useCallback(
5482
5482
  (W) => {
5483
5483
  W.preventDefault();
5484
- const oe = R.props.numberOfDays || 1, ee = oe > 27 ? Ca(m, Math.round(oe / 27)) : gt(m, oe);
5484
+ const oe = R.props.numberOfDays || 1, ee = oe > 27 ? ba(m, Math.round(oe / 27)) : gt(m, oe);
5485
5485
  g(ee, event);
5486
5486
  },
5487
5487
  [m, g, R.props.numberOfDays]
5488
5488
  ), E = t.useCallback(
5489
5489
  (W) => {
5490
5490
  W.preventDefault();
5491
- const oe = R.props.numberOfDays || 1, ee = oe > 27 ? Ca(m, -Math.round(oe / 27)) : gt(m, -oe);
5491
+ const oe = R.props.numberOfDays || 1, ee = oe > 27 ? ba(m, -Math.round(oe / 27)) : gt(m, -oe);
5492
5492
  g(ee, event);
5493
5493
  },
5494
5494
  [m, g, R.props.numberOfDays]
5495
5495
  ), M = t.useCallback(
5496
5496
  (W) => {
5497
5497
  W.preventDefault();
5498
- const oe = dc();
5498
+ const oe = uc();
5499
5499
  g(oe, event);
5500
5500
  },
5501
5501
  [g]
@@ -5527,9 +5527,9 @@ const Gl = t.forwardRef((e, n) => {
5527
5527
  e.className
5528
5528
  ),
5529
5529
  [e.className, e.rtl, s]
5530
- ), de = d.toLanguageString(Gn, j[Gn]), fe = d.toLanguageString(Jn, j[Jn]), ae = d.toLanguageString(er, j[er]), Te = R.props.header || e.header || Je.header, ge = R.props.footer || e.footer || Je.footer, we = Zr, [Ee, He] = t.useState(null);
5530
+ ), de = d.toLanguageString(Gn, j[Gn]), fe = d.toLanguageString(Jn, j[Jn]), ae = d.toLanguageString(er, j[er]), Te = R.props.header || e.header || Je.header, ge = R.props.footer || e.footer || Je.footer, we = Xr, [Ee, He] = t.useState(null);
5531
5531
  return /* @__PURE__ */ t.createElement(
5532
- yc,
5532
+ vc,
5533
5533
  {
5534
5534
  element: c,
5535
5535
  props: e,
@@ -5540,9 +5540,9 @@ const Gl = t.forwardRef((e, n) => {
5540
5540
  orientation: p,
5541
5541
  dateFormat: { dateFormat: f, shortDateFormat: I },
5542
5542
  date: [m, S],
5543
- activeView: [D, L],
5543
+ activeView: [D, O],
5544
5544
  selection: [Ee, He],
5545
- data: [P, O]
5545
+ data: [P, L]
5546
5546
  },
5547
5547
  /* @__PURE__ */ t.createElement(
5548
5548
  "div",
@@ -5553,14 +5553,14 @@ const Gl = t.forwardRef((e, n) => {
5553
5553
  className: re,
5554
5554
  tabIndex: (le = e.tabIndex) != null ? le : Je.tabIndex,
5555
5555
  dir: s,
5556
- role: e.role || Hi,
5556
+ role: e.role || Vi,
5557
5557
  "aria-label": e.ariaLabel,
5558
5558
  "aria-labelledby": e.ariaLabelledby,
5559
5559
  "aria-activedescendant": Ee && Ee.props.id || void 0,
5560
5560
  onFocus: Q,
5561
5561
  onBlur: ne
5562
5562
  },
5563
- /* @__PURE__ */ t.createElement(Te, null, /* @__PURE__ */ t.createElement(we, null, /* @__PURE__ */ t.createElement(Mr, { className: "k-scheduler-navigation" }, /* @__PURE__ */ t.createElement(
5563
+ /* @__PURE__ */ t.createElement(Te, null, /* @__PURE__ */ t.createElement(we, null, /* @__PURE__ */ t.createElement(zr, { className: "k-scheduler-navigation" }, /* @__PURE__ */ t.createElement(
5564
5564
  Ie,
5565
5565
  {
5566
5566
  role: "button",
@@ -5593,16 +5593,16 @@ const Gl = t.forwardRef((e, n) => {
5593
5593
  onClick: k
5594
5594
  }
5595
5595
  ))), /* @__PURE__ */ t.createElement(
5596
- Cl,
5596
+ bl,
5597
5597
  {
5598
5598
  value: m,
5599
5599
  onChange: U
5600
5600
  }
5601
- ), /* @__PURE__ */ t.createElement(Ho, null), /* @__PURE__ */ t.createElement(Tl, null)),
5601
+ ), /* @__PURE__ */ t.createElement(Vo, null), /* @__PURE__ */ t.createElement(xl, null)),
5602
5602
  R && /* @__PURE__ */ t.createElement(
5603
5603
  R.type,
5604
5604
  {
5605
- editable: (Le = e.editable) != null ? Le : Je.editable,
5605
+ editable: (Oe = e.editable) != null ? Oe : Je.editable,
5606
5606
  key: R.props.name,
5607
5607
  item: e.item,
5608
5608
  viewItem: e.viewItem,
@@ -5614,25 +5614,25 @@ const Gl = t.forwardRef((e, n) => {
5614
5614
  viewSlot: e.viewSlot,
5615
5615
  editSlot: e.editSlot,
5616
5616
  form: e.form,
5617
- onDataAction: O,
5617
+ onDataAction: L,
5618
5618
  showWorkHours: z,
5619
5619
  ...R.props
5620
5620
  }
5621
5621
  ),
5622
- /* @__PURE__ */ t.createElement(ge, null, b && b < 24 * 60 && /* @__PURE__ */ t.createElement(Xc, null, /* @__PURE__ */ t.createElement(
5622
+ /* @__PURE__ */ t.createElement(ge, null, b && b < 24 * 60 && /* @__PURE__ */ t.createElement(jc, null, /* @__PURE__ */ t.createElement(
5623
5623
  Ie,
5624
5624
  {
5625
5625
  tabIndex: -1,
5626
5626
  onClick: H,
5627
5627
  icon: "clock",
5628
- svgIcon: qo
5628
+ svgIcon: Zo
5629
5629
  },
5630
5630
  d.toLanguageString(
5631
5631
  z ? tr : nr,
5632
5632
  j[z ? tr : nr]
5633
5633
  )
5634
5634
  ))),
5635
- r && /* @__PURE__ */ t.createElement(Po, null)
5635
+ r && /* @__PURE__ */ t.createElement(po, null)
5636
5636
  )
5637
5637
  );
5638
5638
  }), Je = {
@@ -5641,12 +5641,12 @@ const Gl = t.forwardRef((e, n) => {
5641
5641
  tabIndex: -1,
5642
5642
  editable: !1,
5643
5643
  defaultDate: /* @__PURE__ */ new Date(),
5644
- header: rl,
5645
- footer: vc,
5646
- navigation: Zr,
5647
- viewSelector: al
5644
+ header: al,
5645
+ footer: kc,
5646
+ navigation: Xr,
5647
+ viewSelector: ll
5648
5648
  };
5649
- Gl.propTypes = {
5649
+ Yl.propTypes = {
5650
5650
  data: q.array,
5651
5651
  editable: q.oneOfType([
5652
5652
  q.bool,
@@ -5682,65 +5682,65 @@ Gl.propTypes = {
5682
5682
  recurrenceException: q.string
5683
5683
  })
5684
5684
  };
5685
- Gl.displayName = "KendoReactScheduler";
5686
- const Vi = 1, Ki = t.forwardRef((e, n) => {
5685
+ Yl.displayName = "KendoReactScheduler";
5686
+ const Ki = 1, Ui = t.forwardRef((e, n) => {
5687
5687
  const { item: r, _ref: o, itemRef: a, ...c } = e, l = t.useRef(), s = t.useRef(null), i = t.useRef(null), d = t.useRef(null);
5688
5688
  t.useImperativeHandle(i, () => ({ props: e, element: s.current && s.current.element })), t.useImperativeHandle(n, () => i.current), t.useImperativeHandle(o, () => s.current), t.useImperativeHandle(a, () => s.current);
5689
- const u = r || Ui.item, m = Ge(), [g] = rn(), [h] = zt(), y = nn(), [D, C] = t.useState(!0), [z, x] = t.useState(!1), [R, P] = t.useState(0), _ = tn(y), p = t.useMemo(
5689
+ const u = r || Bi.item, m = Ge(), [g] = rn(), [h] = zt(), y = nn(), [D, C] = t.useState(!0), [z, x] = t.useState(!1), [R, P] = t.useState(0), _ = tn(y), p = t.useMemo(
5690
5690
  () => e.isAllDay ? m.toString(e.zonedStart, "t") : m.format("{0:t} - {1:t}", e.zonedStart, e.zonedEnd),
5691
5691
  [m, e.isAllDay, e.zonedEnd, e.zonedStart]
5692
- ), f = t.useMemo(() => `(${p}): ${e.title}`, [p, e.title]), I = (V, O) => {
5693
- let L = 1;
5692
+ ), f = t.useMemo(() => `(${p}): ${e.title}`, [p, e.title]), I = (V, L) => {
5693
+ let O = 1;
5694
5694
  return V.forEach((S) => {
5695
- const U = O.filter((k) => A(S.current.props, k.props));
5696
- U.length > L && (L = U.length);
5697
- }), L;
5698
- }, b = (V, O) => V.map((S) => O.filter((U) => A(S.current.props, U.props))), A = (V, O) => pe(V.start, V.end, O.start, O.end) && V.group.index === O.group.index && V.range.index === O.range.index && (e.ignoreIsAllDay || V.isAllDay === O.isAllDay), N = () => {
5695
+ const U = L.filter((k) => A(S.current.props, k.props));
5696
+ U.length > O && (O = U.length);
5697
+ }), O;
5698
+ }, b = (V, L) => V.map((S) => L.filter((U) => A(S.current.props, U.props))), A = (V, L) => pe(V.start, V.end, L.start, L.end) && V.group.index === L.group.index && V.range.index === L.range.index && (e.ignoreIsAllDay || V.isAllDay === L.isAllDay), N = () => {
5699
5699
  const V = (h || []).filter((S) => S.current && A(S.current.props, e));
5700
5700
  if (V.length === 0) {
5701
5701
  C(!1);
5702
5702
  return;
5703
5703
  }
5704
- const O = Et(V);
5705
- if (!O.current || !s.current)
5704
+ const L = Et(V);
5705
+ if (!L.current || !s.current)
5706
5706
  return;
5707
- const L = Be(O.current.element);
5708
- _t(s.current.element, L);
5707
+ const O = Be(L.current.element);
5708
+ _t(s.current.element, O);
5709
5709
  }, Z = () => {
5710
- const V = (h || []).filter((ge) => ge.current && A(ge.current.props, e)), O = s.current && s.current.element;
5711
- if (!O || !V.length)
5710
+ const V = (h || []).filter((ge) => ge.current && A(ge.current.props, e)), L = s.current && s.current.element;
5711
+ if (!L || !V.length)
5712
5712
  return;
5713
- const L = Et(V), S = Bt(V);
5714
- if (!L.current || !s.current || !S.current)
5713
+ const O = Et(V), S = Bt(V);
5714
+ if (!O.current || !s.current || !S.current)
5715
5715
  return;
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;
5716
+ const U = [], k = [], E = [], M = Be(O.current.element), H = (e.vertical ? M.height : M.width) / (O.current.props.end.getTime() - O.current.props.start.getTime()), Q = (e.start.getTime() - O.current.props.start.getTime()) * H, ne = (Math.min(e.end.getTime(), S.current.props.end.getTime()) - Math.max(e.start.getTime(), O.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 $ = e.dragHint || e.resizeHint ? Ja(s.current, e.dragHint ? k : E, V, e.ignoreIsAllDay) : e.order || 0;
5720
+ const $ = e.dragHint || e.resizeHint ? el(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 = Be(O);
5724
+ const ae = Be(L);
5725
5725
  if (de.forEach((ge) => {
5726
5726
  let we = 0;
5727
5727
  ge.forEach((Ee) => {
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);
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 !== L && (re = Ee.props._maxSiblingsPerSlot);
5729
5729
  const He = Be(Ee.element);
5730
- Ee.props.order !== null && Ee.props.order < $ && (we = He.top + He.height - ae.top - Re * $ + Vi);
5730
+ Ee.props.order !== null && Ee.props.order < $ && (we = He.top + He.height - ae.top - Re * $ + Ki);
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 + $ * 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);
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(L, ae), x(!0), C(!0);
5738
5738
  }, F = t.useCallback(
5739
5739
  (V) => {
5740
- const O = V && V[0], L = d.current;
5741
- l.current !== void 0 && window.cancelAnimationFrame(l.current), L && O && (L.width !== O.contentRect.width || L.height !== O.contentRect.height) && (l.current = window.requestAnimationFrame(() => {
5740
+ const L = V && V[0], O = d.current;
5741
+ l.current !== void 0 && window.cancelAnimationFrame(l.current), O && L && (O.width !== L.contentRect.width || O.height !== L.contentRect.height) && (l.current = window.requestAnimationFrame(() => {
5742
5742
  N(), Z();
5743
- })), d.current = { width: O.contentRect.width, height: O.contentRect.height };
5743
+ })), d.current = { width: L.contentRect.width, height: L.contentRect.height };
5744
5744
  },
5745
5745
  [N, Z]
5746
5746
  );
@@ -5748,9 +5748,9 @@ const Vi = 1, Ki = t.forwardRef((e, n) => {
5748
5748
  () => {
5749
5749
  if (!y.current)
5750
5750
  return;
5751
- const V = window.ResizeObserver, O = V && new V(F);
5752
- return O && O.observe(y.current), () => {
5753
- O && O.disconnect();
5751
+ const V = window.ResizeObserver, L = V && new V(F);
5752
+ return L && L.observe(y.current), () => {
5753
+ L && L.disconnect();
5754
5754
  };
5755
5755
  },
5756
5756
  [F, y]
@@ -5773,108 +5773,108 @@ const Vi = 1, Ki = t.forwardRef((e, n) => {
5773
5773
  name: _ === "rtl" ? "caret-alt-right" : "caret-alt-left",
5774
5774
  icon: _ === "rtl" ? It : Rt
5775
5775
  }
5776
- ), e.isRecurring && !e.isException && /* @__PURE__ */ t.createElement(ze, { name: "reload", icon: zr }), !e.isRecurring && e.isException && /* @__PURE__ */ t.createElement(ze, { name: "non-recurrence", icon: Zo })),
5776
+ ), e.isRecurring && !e.isException && /* @__PURE__ */ t.createElement(ze, { name: "reload", icon: Ar }), !e.isRecurring && e.isException && /* @__PURE__ */ t.createElement(ze, { name: "non-recurrence", icon: Xo })),
5777
5777
  !e.resizeHint && /* @__PURE__ */ t.createElement("div", { title: f }, !e.isAllDay && /* @__PURE__ */ t.createElement(Dn, { className: "k-event-template k-event-time " }, f), /* @__PURE__ */ t.createElement(Dn, { className: "k-event-template" }, e.title))
5778
5778
  );
5779
- }), Ui = {
5779
+ }), Bi = {
5780
5780
  item: on
5781
5781
  };
5782
- Ki.displayName = "KendoReactSchedulerProportionalViewItem";
5782
+ Ui.displayName = "KendoReactSchedulerProportionalViewItem";
5783
5783
  export {
5784
- va as AgendaView,
5784
+ ka as AgendaView,
5785
5785
  Ae as DATA_ACTION,
5786
5786
  Se as DRAG_ITEM_ACTION,
5787
5787
  Tn as DateHeaderCell,
5788
5788
  wn as DayView,
5789
5789
  jt as ITEMS_FOCUS_ACTION,
5790
- Oe as ITEMS_SELECT_ACTION,
5791
- ka as MonthView,
5790
+ Le as ITEMS_SELECT_ACTION,
5791
+ Da as MonthView,
5792
5792
  lt as REMOVE_ITEM_ACTION,
5793
5793
  me as RESIZE_ITEM_ACTION,
5794
5794
  ot as SERIES_ACTION,
5795
5795
  ve as SHOW_OCCURRENCE_DIALOG_ACTION,
5796
5796
  nt as SHOW_REMOVE_DIALOG_ACTION,
5797
5797
  Pe as SLOTS_FOCUS_ACTION,
5798
- ha as SLOTS_SELECT_ACTION,
5799
- Gl as Scheduler,
5800
- Gr as SchedulerActiveViewContext,
5801
- $r as SchedulerDataContext,
5802
- Br as SchedulerDateContext,
5803
- Vr as SchedulerDateRangeContext,
5804
- Ol as SchedulerDrag,
5798
+ fa as SLOTS_SELECT_ACTION,
5799
+ Yl as Scheduler,
5800
+ Yr as SchedulerActiveViewContext,
5801
+ Gr as SchedulerDataContext,
5802
+ $r as SchedulerDateContext,
5803
+ Kr as SchedulerDateRangeContext,
5804
+ Pl as SchedulerDrag,
5805
5805
  In as SchedulerEditItem,
5806
- Qr as SchedulerEditItemDragItemContext,
5807
- jr as SchedulerEditItemFormItemContext,
5808
- Xr as SchedulerEditItemPropsContext,
5809
- ea as SchedulerEditItemRemoveItemContext,
5810
- Jr as SchedulerEditItemResizeItemContext,
5811
- na as SchedulerEditItemShowOccurrenceDialogContext,
5812
- ta as SchedulerEditItemShowRemoveDialogContext,
5806
+ Jr as SchedulerEditItemDragItemContext,
5807
+ Qr as SchedulerEditItemFormItemContext,
5808
+ jr as SchedulerEditItemPropsContext,
5809
+ ta as SchedulerEditItemRemoveItemContext,
5810
+ ea as SchedulerEditItemResizeItemContext,
5811
+ ra as SchedulerEditItemShowOccurrenceDialogContext,
5812
+ na as SchedulerEditItemShowRemoveDialogContext,
5813
5813
  ln as SchedulerEditSlot,
5814
- aa as SchedulerEditSlotFormItemContext,
5815
- ra as SchedulerEditSlotPropsContext,
5816
- Hl as SchedulerEditTask,
5817
- pr as SchedulerFieldsContext,
5818
- vc as SchedulerFooter,
5819
- ga as SchedulerForm,
5820
- Fl as SchedulerFormEditor,
5821
- Hr as SchedulerGroupsContext,
5822
- rl as SchedulerHeader,
5814
+ la as SchedulerEditSlotFormItemContext,
5815
+ aa as SchedulerEditSlotPropsContext,
5816
+ Vl as SchedulerEditTask,
5817
+ Wr as SchedulerFieldsContext,
5818
+ kc as SchedulerFooter,
5819
+ Ea as SchedulerForm,
5820
+ _l as SchedulerFormEditor,
5821
+ Vr as SchedulerGroupsContext,
5822
+ al as SchedulerHeader,
5823
5823
  on as SchedulerItem,
5824
5824
  Dn as SchedulerItemContent,
5825
- Ea as SchedulerOccurrenceDialog,
5826
- Kr as SchedulerOrientationContext,
5827
- Ki as SchedulerProportionalViewItem,
5825
+ ya as SchedulerOccurrenceDialog,
5826
+ Ur as SchedulerOrientationContext,
5827
+ Ui as SchedulerProportionalViewItem,
5828
5828
  bn as SchedulerPropsContext,
5829
- ya as SchedulerRemoveDialog,
5830
- Pl as SchedulerResize,
5831
- _l as SchedulerSlot,
5832
- pl as SchedulerTask,
5829
+ va as SchedulerRemoveDialog,
5830
+ pl as SchedulerResize,
5831
+ Ol as SchedulerSlot,
5832
+ Wl as SchedulerTask,
5833
5833
  Rn as SchedulerViewItem,
5834
5834
  Ll as SchedulerViewSlot,
5835
- Wl as SchedulerViewTask,
5836
- Pr as SchedulerViewsContext,
5837
- fa as TimeHeaderCell,
5838
- $l as TimelineView,
5839
- Ul as WeekView,
5840
- Bl as WorkWeekView,
5841
- vi as agendaViewDefaultProps,
5835
+ Hl as SchedulerViewTask,
5836
+ pr as SchedulerViewsContext,
5837
+ ga as TimeHeaderCell,
5838
+ Gl as TimelineView,
5839
+ Bl as WeekView,
5840
+ $l as WorkWeekView,
5841
+ ki as agendaViewDefaultProps,
5842
5842
  Hn as dateHeaderCellDefaultProps,
5843
- hi as dayViewDefaultProps,
5844
- Kl as monthViewDefaultProps,
5843
+ fi as dayViewDefaultProps,
5844
+ Ul as monthViewDefaultProps,
5845
5845
  Je as schedulerDefaultProps,
5846
- Xs as schedulerDragDefaultProps,
5846
+ js as schedulerDragDefaultProps,
5847
5847
  Ct as schedulerEditItemDefaultProps,
5848
- pa as schedulerEditSlotDefaultProps,
5848
+ Wa as schedulerEditSlotDefaultProps,
5849
5849
  Vn as schedulerEditTaskDefaultProps,
5850
5850
  La as schedulerFormDefaultProps,
5851
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,
5852
+ Bi as schedulerProportionalViewItemDefaultProps,
5853
+ Ha as schedulerResizeDefaultProps,
5854
+ Pa as schedulerSlotDefaultProps,
5855
+ Xs as schedulerViewItemDefaultProps,
5856
+ pa as schedulerViewSlotDefaultProps,
5857
+ gi as schedulerViewTaskDefaultProps,
5858
5858
  pn as timeHeaderCellDefaultProps,
5859
- Pi as timeLineViewDefaultProps,
5860
- Yr as useSchedulerActiveViewContext,
5861
- Lt as useSchedulerDataContext,
5862
- nl as useSchedulerDateContext,
5859
+ pi as timeLineViewDefaultProps,
5860
+ qr as useSchedulerActiveViewContext,
5861
+ Ot as useSchedulerDataContext,
5862
+ rl as useSchedulerDateContext,
5863
5863
  vt as useSchedulerDateRangeContext,
5864
- cd as useSchedulerEditItemDragItemContext,
5865
- od as useSchedulerEditItemFormItemContext,
5866
- ld as useSchedulerEditItemPropsContext,
5867
- id as useSchedulerEditItemRemoveItemContext,
5868
- sd as useSchedulerEditItemResizeItemContext,
5869
- ud as useSchedulerEditItemShowOccurrenceDialogContext,
5870
- dd as useSchedulerEditItemShowRemoveDialogContext,
5871
- hd as useSchedulerEditSlotFormItemContext,
5872
- md as useSchedulerEditSlotPropsContext,
5864
+ sd as useSchedulerEditItemDragItemContext,
5865
+ cd as useSchedulerEditItemFormItemContext,
5866
+ od as useSchedulerEditItemPropsContext,
5867
+ dd as useSchedulerEditItemRemoveItemContext,
5868
+ id as useSchedulerEditItemResizeItemContext,
5869
+ md as useSchedulerEditItemShowOccurrenceDialogContext,
5870
+ ud as useSchedulerEditItemShowRemoveDialogContext,
5871
+ fd as useSchedulerEditSlotFormItemContext,
5872
+ hd as useSchedulerEditSlotPropsContext,
5873
5873
  We as useSchedulerFieldsContext,
5874
5874
  Mt as useSchedulerGroupsContext,
5875
- Ur as useSchedulerOrientationContext,
5875
+ Br as useSchedulerOrientationContext,
5876
5876
  Xe as useSchedulerPropsContext,
5877
- tl as useSchedulerViewsContext,
5878
- Ii as weekViewDefaultProps,
5879
- Mi as workWeekDefaultProps
5877
+ nl as useSchedulerViewsContext,
5878
+ Ti as weekViewDefaultProps,
5879
+ zi as workWeekDefaultProps
5880
5880
  };