@progress/kendo-react-dropdowns 7.1.0-develop.16 → 7.1.0-develop.18

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,16 +5,16 @@
5
5
  "use client";
6
6
  import * as o from "react";
7
7
  import l from "prop-types";
8
- import { IconWrap as Ce, classNames as B, Keys as g, svgIconPropType as ms, createPropsContext as Be, withIdHOC as Et, withPropsContext as Ft, validatePackage as $e, canUseDOM as Me, getTabIndex as Ut, kendoThemeMaps as Ge, getActiveElement as Fs, useCustomComponent as Lt, usePropsContext as jt, getScrollbarWidth as Ds, getter as Ct, setScrollbarWidth as Ts, useId as vs, useRtl as bs, noop as De, mapTree as Ms, extendDataItem as Ns } from "@progress/kendo-react-common";
8
+ import { IconWrap as Ce, classNames as B, Keys as g, svgIconPropType as gs, createPropsContext as Ke, withIdHOC as Et, withPropsContext as Dt, validatePackage as $e, canUseDOM as Me, getTabIndex as Gt, kendoThemeMaps as Ge, getActiveElement as Es, useCustomComponent as Ds, usePropsContext as Ut, getScrollbarWidth as Fs, getter as Ct, setScrollbarWidth as Ts, useId as ms, useRtl as vs, noop as Fe, mapTree as Ms, extendDataItem as Ns } from "@progress/kendo-react-common";
9
9
  import { FloatingLabel as Ue } from "@progress/kendo-react-labels";
10
- import { searchIcon as Os, caretAltDownIcon as Yt, xIcon as lt, plusIcon as Ps } from "@progress/kendo-svg-icons";
11
- import { Popup as Jt, PopupPropsContext as _s } from "@progress/kendo-react-popup";
10
+ import { searchIcon as Os, caretAltDownIcon as jt, xIcon as lt, plusIcon as Ps } from "@progress/kendo-svg-icons";
11
+ import { Popup as Yt, PopupPropsContext as _s } from "@progress/kendo-react-popup";
12
12
  import { TextBox as Rs, InputPrefix as Vs } from "@progress/kendo-react-inputs";
13
- import { provideLocalizationService as Ae, registerForLocalization as ys, useLocalization as Is } from "@progress/kendo-react-intl";
13
+ import { provideLocalizationService as We, registerForLocalization as bs, useLocalization as ys } from "@progress/kendo-react-intl";
14
14
  import { Button as Te, Chip as Bs } from "@progress/kendo-react-buttons";
15
- import { ActionSheet as Qt, ActionSheetHeader as Xt, ActionSheetContent as rt, ActionSheetFooter as Ks } from "@progress/kendo-react-layout";
15
+ import { ActionSheet as Jt, ActionSheetHeader as Qt, ActionSheetContent as rt, ActionSheetFooter as Ks } from "@progress/kendo-react-layout";
16
16
  import { TreeView as kt } from "@progress/kendo-react-treeview";
17
- class Dt extends o.Component {
17
+ class Ft extends o.Component {
18
18
  render() {
19
19
  const {
20
20
  children: t,
@@ -24,7 +24,7 @@ class Dt extends o.Component {
24
24
  popupSettings: a
25
25
  } = this.props;
26
26
  return /* @__PURE__ */ o.createElement(
27
- Jt,
27
+ Yt,
28
28
  {
29
29
  style: { width: e, direction: s },
30
30
  contentKey: n && n.join(),
@@ -34,7 +34,7 @@ class Dt extends o.Component {
34
34
  );
35
35
  }
36
36
  }
37
- const Zt = o.forwardRef((i, t) => {
37
+ const Xt = o.forwardRef((i, t) => {
38
38
  const e = o.useRef(null);
39
39
  return o.useImperativeHandle(
40
40
  t,
@@ -56,7 +56,7 @@ const Zt = o.forwardRef((i, t) => {
56
56
  }
57
57
  ));
58
58
  });
59
- Zt.propTypes = {
59
+ Xt.propTypes = {
60
60
  value: l.oneOfType([l.string, l.number, l.array]),
61
61
  tabIndex: l.number,
62
62
  onChange: l.func,
@@ -65,9 +65,9 @@ Zt.propTypes = {
65
65
  rounded: l.oneOf([null, "small", "medium", "large", "full"]),
66
66
  fillMode: l.oneOf([null, "solid", "flat", "outline"])
67
67
  };
68
- Zt.displayName = "KendoReactListFilter";
69
- const Re = Zt;
70
- class We extends o.Component {
68
+ Xt.displayName = "KendoReactListFilter";
69
+ const Ve = Xt;
70
+ class qe extends o.Component {
71
71
  render() {
72
72
  const {
73
73
  group: t,
@@ -85,7 +85,7 @@ const U = (i) => i != null, Ls = (i, t) => {
85
85
  }, zs = (i, t, e) => {
86
86
  let s = i;
87
87
  return e && (s = [e].concat(s)), s.slice(t).concat(s.slice(0, t));
88
- }, ls = (i, t, e) => {
88
+ }, as = (i, t, e) => {
89
89
  if (!U(i))
90
90
  return !1;
91
91
  let s = String(i);
@@ -97,7 +97,7 @@ const U = (i) => i != null, Ls = (i, t) => {
97
97
  c + d > a ? r = c + d - a : c < 0 && (r = c), r !== 0 ? i.scrollTop += r : i.scrollTop === 0 && s !== 0 && (i.scrollTop = s);
98
98
  } else
99
99
  c + d > a + i.scrollTop ? i.scrollTop = c + d - a : c < i.scrollTop && (i.scrollTop -= i.scrollTop - c);
100
- }, Ve = (i, t, e) => {
100
+ }, Be = (i, t, e) => {
101
101
  let s = -1;
102
102
  if (t) {
103
103
  t = t.toLowerCase();
@@ -110,7 +110,7 @@ const U = (i) => i != null, Ls = (i, t) => {
110
110
  }
111
111
  }
112
112
  return s;
113
- }, zt = (i, t, e, s = !1) => {
113
+ }, Lt = (i, t, e, s = !1) => {
114
114
  const n = (a) => s ? a : a.toLowerCase();
115
115
  return i.findIndex((a) => e ? n(V(a, e)) === n(t) : n(t) === n(a.toString()));
116
116
  }, V = (i, t) => {
@@ -141,16 +141,16 @@ const U = (i) => i != null, Ls = (i, t) => {
141
141
  const n = i.findIndex((a) => R(a, s, e));
142
142
  n !== -1 && i.splice(n, 1);
143
143
  });
144
- }, R = (i, t, e) => i === t || U(i) === U(t) && V(i, e) === V(t, e), rs = (i, t, e) => {
144
+ }, R = (i, t, e) => i === t || U(i) === U(t) && V(i, e) === V(t, e), ls = (i, t, e) => {
145
145
  if (t) {
146
- const s = zt(i, t, e, !0);
147
- return s !== -1 ? i[s] : i[Ve(i, t, e)];
146
+ const s = Lt(i, t, e, !0);
147
+ return s !== -1 ? i[s] : i[Be(i, t, e)];
148
148
  }
149
149
  return i[0];
150
150
  }, Ws = (i, t = [], e) => {
151
151
  let s = "";
152
152
  if (i) {
153
- const n = t[Ve(t, i, e)];
153
+ const n = t[Be(t, i, e)];
154
154
  if (n) {
155
155
  const a = V(n, e);
156
156
  i.toLowerCase() !== a.toLowerCase() && (s = a.substring(i.length));
@@ -236,12 +236,12 @@ class js extends o.Component {
236
236
  return s !== void 0 ? s.call(void 0, a, this.props) : a;
237
237
  }
238
238
  }
239
- const ve = "dropdowns.nodata", nt = "dropdowns.clear", Ht = "dropdowns.comboArrowBtnAriaLabelExpand", At = "dropdowns.comboArrowBtnAriaLabelCollapse", Wt = "dropdowns.dropDownListArrowBtnAriaLabel", ot = "dropdowns.apply", at = "dropdowns.cancel", ce = {
239
+ const ve = "dropdowns.nodata", nt = "dropdowns.clear", zt = "dropdowns.comboArrowBtnAriaLabelExpand", Ht = "dropdowns.comboArrowBtnAriaLabelCollapse", At = "dropdowns.dropDownListArrowBtnAriaLabel", ot = "dropdowns.apply", at = "dropdowns.cancel", ce = {
240
240
  [nt]: "clear",
241
241
  [ve]: "NO DATA FOUND.",
242
- [Ht]: "expand combobox",
243
- [At]: "collapse combobox",
244
- [Wt]: "select",
242
+ [zt]: "expand combobox",
243
+ [Ht]: "collapse combobox",
244
+ [At]: "select",
245
245
  [ot]: "Apply",
246
246
  [at]: "Cancel"
247
247
  };
@@ -257,17 +257,17 @@ class je extends o.Component {
257
257
  skip: c = 0,
258
258
  virtual: d,
259
259
  focusedIndex: r,
260
- highlightSelected: u = !0,
261
- value: h,
260
+ highlightSelected: h = !0,
261
+ value: u,
262
262
  data: f,
263
263
  itemRender: m,
264
264
  groupHeaderItemRender: v
265
- } = this.props, b = Array.isArray(h);
265
+ } = this.props, b = Array.isArray(u);
266
266
  let w = 0;
267
- return f.map((k, F) => {
268
- const O = c + F, N = c + F + w, _ = k.disabled ? !1 : u && (!b && R(k, h, e) || b && h.findIndex((E) => R(E, k, e)) !== -1);
267
+ return f.map((k, D) => {
268
+ const O = c + D, N = c + D + w, _ = k.disabled ? !1 : h && (!b && R(k, u, e) || b && u.findIndex((E) => R(E, k, e)) !== -1);
269
269
  let S, T, C;
270
- return F > 0 && s !== void 0 && (T = V(k, s), C = V(f[F - 1], s), T && C && T !== C && (S = T)), S !== void 0 && n === "modern" && (w += 1), [
270
+ return D > 0 && s !== void 0 && (T = V(k, s), C = V(f[D - 1], s), T && C && T !== C && (S = T)), S !== void 0 && n === "modern" && (w += 1), [
271
271
  S !== void 0 && n === "modern" && /* @__PURE__ */ o.createElement(
272
272
  js,
273
273
  {
@@ -287,7 +287,7 @@ class je extends o.Component {
287
287
  dataItem: k,
288
288
  groupMode: n,
289
289
  selected: _,
290
- focused: r === F,
290
+ focused: r === D,
291
291
  index: O,
292
292
  key: O,
293
293
  onClick: this.props.onClick,
@@ -305,7 +305,7 @@ class je extends o.Component {
305
305
  return e ? e.call(void 0, s) : s;
306
306
  }
307
307
  render() {
308
- const t = Ae(this), {
308
+ const t = We(this), {
309
309
  id: e,
310
310
  show: s,
311
311
  wrapperCssClass: n,
@@ -314,9 +314,9 @@ class je extends o.Component {
314
314
  listRef: c,
315
315
  wrapperRef: d,
316
316
  listClassName: r = "k-list-ul",
317
- ariaSetSize: u
318
- } = this.props, h = this.renderItems();
319
- return h.length ? /* @__PURE__ */ o.createElement(
317
+ ariaSetSize: h
318
+ } = this.props, u = this.renderItems();
319
+ return u.length ? /* @__PURE__ */ o.createElement(
320
320
  "div",
321
321
  {
322
322
  className: n,
@@ -333,18 +333,18 @@ class je extends o.Component {
333
333
  id: e,
334
334
  role: "listbox",
335
335
  "aria-hidden": s ? void 0 : !0,
336
- "aria-setsize": u,
336
+ "aria-setsize": h,
337
337
  className: r,
338
338
  ref: c,
339
339
  style: p
340
340
  },
341
- h
341
+ u
342
342
  ),
343
343
  this.props.scroller && /* @__PURE__ */ o.createElement("div", { className: "k-height-container" }, this.props.scroller)
344
344
  ) : this.renderNoValueElement(t);
345
345
  }
346
346
  }
347
- ys(je);
347
+ bs(je);
348
348
  const Ys = 1533915;
349
349
  class Js {
350
350
  constructor() {
@@ -426,7 +426,7 @@ class Qs {
426
426
  return U(t.current) ? Math.min(t.max, Math.max(t.current + t.step, t.min)) : t.min;
427
427
  }
428
428
  }
429
- const es = class {
429
+ const Zt = class {
430
430
  constructor(i) {
431
431
  this.wrapper = null, this.list = null, this.vs = new Js(), this.navigation = new Qs(), this.handleItemClick = (t, e) => {
432
432
  const s = this.initState();
@@ -465,9 +465,9 @@ const es = class {
465
465
  }
466
466
  window.setTimeout(() => s.enabled = !0, 10);
467
467
  }, this.scrollPopupByPageSize = (t) => {
468
- var p, c, d, r, u, h;
468
+ var p, c, d, r, h, u;
469
469
  const e = this.vs, s = (c = (p = this.list) == null ? void 0 : p.parentElement) == null ? void 0 : c.scrollTop, n = e.enabled && e.itemHeight ? e.itemHeight : this.list ? this.list.children[0].offsetHeight : 0, a = (r = (d = this.list) == null ? void 0 : d.parentElement) == null ? void 0 : r.offsetHeight;
470
- s !== void 0 && a !== void 0 && ((h = (u = this.list) == null ? void 0 : u.parentElement) == null || h.scroll({ top: s + t * Math.floor(a / n) * n }));
470
+ s !== void 0 && a !== void 0 && ((u = (h = this.list) == null ? void 0 : h.parentElement) == null || u.scroll({ top: s + t * Math.floor(a / n) * n }));
471
471
  }, this.renderScrollElement = () => {
472
472
  const t = this.vs;
473
473
  return t.enabled && /* @__PURE__ */ o.createElement(
@@ -542,7 +542,7 @@ const es = class {
542
542
  i && a && this.vs.enabled && (a.skip > 0 && R(i, s[0], n) ? this.triggerOnPageChange(t, a.skip - 1, a.pageSize) : !p && a.skip + a.pageSize < a.total && R(i, s[s.length - 1], n) && this.triggerOnPageChange(t, a.skip + 1, a.pageSize));
543
543
  }
544
544
  getPopupSettings() {
545
- return Object.assign({}, es.defaultProps.popupSettings, this.component.props.popupSettings);
545
+ return Object.assign({}, Zt.defaultProps.popupSettings, this.component.props.popupSettings);
546
546
  }
547
547
  getGroupedDataModernMode(i, t) {
548
548
  let e = [];
@@ -551,7 +551,7 @@ const es = class {
551
551
  }), e;
552
552
  }
553
553
  };
554
- let oe = es;
554
+ let oe = Zt;
555
555
  oe.basicPropTypes = {
556
556
  opened: l.bool,
557
557
  disabled: l.bool,
@@ -586,7 +586,7 @@ oe.basicPropTypes = {
586
586
  footer: l.node
587
587
  };
588
588
  oe.propTypes = {
589
- ...es.basicPropTypes,
589
+ ...Zt.basicPropTypes,
590
590
  value: l.any,
591
591
  defaultValue: l.any,
592
592
  filterable: l.bool,
@@ -610,10 +610,10 @@ const Ye = {
610
610
  name: "@progress/kendo-react-dropdowns",
611
611
  productName: "KendoReact",
612
612
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
613
- publishDate: 1706273225,
613
+ publishDate: 1706597946,
614
614
  version: "",
615
615
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
616
- }, wt = 500, we = 768, Xs = "Please select a value from the list!", { sizeMap: Kt, roundedMap: Zs } = Ge, qt = class extends o.Component {
616
+ }, wt = 500, we = 768, Xs = "Please select a value from the list!", { sizeMap: Kt, roundedMap: Zs } = Ge, Wt = class extends o.Component {
617
617
  constructor(i) {
618
618
  super(i), this.state = {}, this._element = null, this.base = new oe(this), this.searchState = { word: "", last: "" }, this._select = null, this._skipFocusEvent = !1, this._filterInput = null, this._navigated = !1, this._lastKeypressIsFilter = !1, this.itemHeight = 0, this.focus = () => {
619
619
  this.base.wrapper && this.base.wrapper.focus();
@@ -641,27 +641,27 @@ const Ye = {
641
641
  }
642
642
  )
643
643
  ), this.renderListContainer = () => {
644
- const { header: t, footer: e, dir: s, data: n = [], size: a, groupField: p, groupStickyHeaderItemRender: c, list: d } = this.props, r = this.base, u = r.getPopupSettings(), h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = u.width !== void 0 ? u.width : r.popupWidth, m = {
644
+ const { header: t, footer: e, dir: s, data: n = [], size: a, groupField: p, groupStickyHeaderItemRender: c, list: d } = this.props, r = this.base, h = r.getPopupSettings(), u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = h.width !== void 0 ? h.width : r.popupWidth, m = {
645
645
  dir: s !== void 0 ? s : r.dirCalculated,
646
646
  width: f,
647
647
  popupSettings: {
648
648
  popupClass: B(
649
- u.popupClass,
649
+ h.popupClass,
650
650
  "k-list-container",
651
651
  "k-dropdownlist-popup"
652
652
  ),
653
- className: u.className,
654
- animate: u.animate,
653
+ className: h.className,
654
+ animate: h.animate,
655
655
  anchor: this.element,
656
- show: h,
656
+ show: u,
657
657
  onOpen: this.onPopupOpened,
658
658
  onClose: this.onPopupClosed,
659
- appendTo: u.appendTo
659
+ appendTo: h.appendTo
660
660
  },
661
661
  itemsCount: [n.length]
662
662
  };
663
663
  let { group: v } = this.state;
664
- return v === void 0 && p !== void 0 && (v = V(n[0], p)), /* @__PURE__ */ o.createElement(Dt, { ...m }, this.renderListFilter(), t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
664
+ return v === void 0 && p !== void 0 && (v = V(n[0], p)), /* @__PURE__ */ o.createElement(Ft, { ...m }, this.renderListFilter(), t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
665
665
  "div",
666
666
  {
667
667
  className: B(
@@ -673,7 +673,7 @@ const Ye = {
673
673
  )
674
674
  },
675
675
  this.renderDefaultItem(),
676
- !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: v, groupMode: "modern", render: c }),
676
+ !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: v, groupMode: "modern", render: c }),
677
677
  this.renderList()
678
678
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e));
679
679
  }, this.renderList = () => {
@@ -685,12 +685,12 @@ const Ye = {
685
685
  groupHeaderItemRender: a,
686
686
  listNoDataRender: p,
687
687
  itemRender: c
688
- } = this.props, d = this.base.vs, r = n.skip, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = this.base.getPopupSettings(), f = `translateY(${d.translate}px)`;
688
+ } = this.props, d = this.base.vs, r = n.skip, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.base.getPopupSettings(), f = `translateY(${d.translate}px)`;
689
689
  return /* @__PURE__ */ o.createElement(
690
690
  je,
691
691
  {
692
692
  id: this._listboxId,
693
- show: u,
693
+ show: h,
694
694
  data: t.slice(),
695
695
  focusedIndex: this.getFocusedIndex(),
696
696
  value: this.value,
@@ -700,7 +700,7 @@ const Ye = {
700
700
  groupField: this.props.groupField,
701
701
  groupMode: "modern",
702
702
  listRef: (m) => d.list = this.base.list = m,
703
- wrapperStyle: { maxHeight: h.height },
703
+ wrapperStyle: { maxHeight: u.height },
704
704
  wrapperCssClass: "k-list-content",
705
705
  listStyle: d.enabled ? { transform: f } : void 0,
706
706
  key: "listkey",
@@ -724,8 +724,8 @@ const Ye = {
724
724
  const p = this.itemHeight = this.itemHeight || (e.enabled ? e.itemHeight : s ? s.children[0].offsetHeight : 0), d = t.target.scrollTop - e.skip * p;
725
725
  a = this.base.getGroupedDataModernMode(a, n);
726
726
  let r = a[0][n];
727
- for (let u = 1; u < a.length && !(p * u > d); u++)
728
- a[u] && a[u][n] && (r = a[u][n]);
727
+ for (let h = 1; h < a.length && !(p * h > d); h++)
728
+ a[h] && a[h][n] && (r = a[h][n]);
729
729
  r !== this.state.group && this.setState({
730
730
  group: r
731
731
  });
@@ -733,7 +733,7 @@ const Ye = {
733
733
  }, this.renderListFilter = () => {
734
734
  const t = this.props.filter !== void 0 ? this.props.filter : this.state.text;
735
735
  return this.props.filterable && /* @__PURE__ */ o.createElement(
736
- Re,
736
+ Ve,
737
737
  {
738
738
  value: t,
739
739
  ref: (e) => this._filterInput = e && e.element,
@@ -760,14 +760,14 @@ const Ye = {
760
760
  clearTimeout(this._typingTimeout), this.props.filterable || (this._typingTimeout = window.setTimeout(() => this.searchState.word = "", this.props.delay), this.selectNext(t));
761
761
  }, this.selectNext = (t) => {
762
762
  const { data: e = [], dataItemKey: s } = this.props;
763
- let n = e.map((k, F) => ({ item: k, itemIndex: F }));
763
+ let n = e.map((k, D) => ({ item: k, itemIndex: D }));
764
764
  const a = this.searchState.word, p = this.searchState.last, c = Ls(a, p);
765
- let d = n.length, r = Math.max(0, e.findIndex((k) => R(k, this.value, s))), u;
766
- this.props.defaultItem && (u = { item: this.props.defaultItem, itemIndex: -1 }, d += 1, r += 1), r += c ? 1 : 0, n = zs(n, r, u);
767
- let h, f, m, v = 0;
765
+ let d = n.length, r = Math.max(0, e.findIndex((k) => R(k, this.value, s))), h;
766
+ this.props.defaultItem && (h = { item: this.props.defaultItem, itemIndex: -1 }, d += 1, r += 1), r += c ? 1 : 0, n = zs(n, r, h);
767
+ let u, f, m, v = 0;
768
768
  const { textField: b, ignoreCase: w } = this.props;
769
769
  for (; v < d; v++)
770
- if (h = V(n[v].item, b), f = c && ls(h, p, w), m = ls(h, a, w), f || m) {
770
+ if (u = V(n[v].item, b), f = c && as(u, p, w), m = as(u, a, w), f || m) {
771
771
  v = n[v].itemIndex;
772
772
  break;
773
773
  }
@@ -786,9 +786,9 @@ const Ye = {
786
786
  virtual: c = { skip: 0, total: 0, pageSize: 0 },
787
787
  dataItemKey: d,
788
788
  groupField: r = "",
789
- textField: u,
790
- skipDisabledItems: h = !0
791
- } = this.props, f = this.value, m = e.findIndex((T) => R(T, f, d)), v = this.props.opened !== void 0 ? this.props.opened : this.state.opened, b = t.keyCode, w = b === g.home || b === g.end, k = b === g.up || b === g.down, F = !v && (t.altKey && b === g.down || b === g.enter || b === g.space), O = v && (t.altKey && b === g.up || b === g.esc), N = p && (b === g.left || b === g.right), _ = k || N && !s || w, S = this.base.initState();
789
+ textField: h,
790
+ skipDisabledItems: u = !0
791
+ } = this.props, f = this.value, m = e.findIndex((T) => R(T, f, d)), v = this.props.opened !== void 0 ? this.props.opened : this.state.opened, b = t.keyCode, w = b === g.home || b === g.end, k = b === g.up || b === g.down, D = !v && (t.altKey && b === g.down || b === g.enter || b === g.space), O = v && (t.altKey && b === g.up || b === g.esc), N = p && (b === g.left || b === g.right), _ = k || N && !s || w, S = this.base.initState();
792
792
  if (S.syntheticEvent = t, !n) {
793
793
  if (w && this.base.vs.enabled)
794
794
  b === g.home ? c.skip !== 0 ? (this.base.triggerOnPageChange(S, 0, c.pageSize), this._navigated = !0) : this.triggerOnChange(e[0], S) : c.skip < c.total - c.pageSize ? (this.base.triggerOnPageChange(S, c.total - c.pageSize, c.pageSize), this._navigated = !0) : this.triggerOnChange(e[e.length - 1], S);
@@ -799,63 +799,63 @@ const Ye = {
799
799
  else if (v && b === g.enter) {
800
800
  const T = this.getFocusedIndex();
801
801
  this.haveFocusedItemAndDataNotEmpty(e, T) ? (this.triggerOnChange(null, S), this.applyState(S)) : this.handleItemSelect(T, S), this.base.togglePopup(S), t.preventDefault();
802
- } else if (F || O)
802
+ } else if (D || O)
803
803
  O && this.resetValueIfDisabledItem(), this.base.togglePopup(S), t.preventDefault();
804
804
  else if (_) {
805
- if (this._lastKeypressIsFilter = !1, r !== "" && u)
806
- if (!h && v)
805
+ if (this._lastKeypressIsFilter = !1, r !== "" && h)
806
+ if (!u && v)
807
807
  this.onNavigate(S, b);
808
808
  else {
809
809
  let T;
810
810
  if (b === g.down || b === g.right) {
811
- const C = e.slice(m + 1).find((E) => !E.disabled && E[u]);
812
- T = C && e.findIndex((E) => E[u] === C[u]);
811
+ const C = e.slice(m + 1).find((E) => !E.disabled && E[h]);
812
+ T = C && e.findIndex((E) => E[h] === C[h]);
813
813
  } else if (b === g.up || b === g.left) {
814
814
  let C;
815
815
  if (m === 0 && a)
816
816
  T = -1;
817
817
  else if (m === -1)
818
- C = e, T = e.findIndex((E) => !E.disabled && E[u]);
818
+ C = e, T = e.findIndex((E) => !E.disabled && E[h]);
819
819
  else {
820
820
  C = e.slice(0, m);
821
821
  let E = C.pop();
822
822
  for (; E && E.disabled; )
823
823
  E = C.pop();
824
- T = E && e.findIndex((M) => M[u] === E[u]);
824
+ T = E && e.findIndex((M) => M[h] === E[h]);
825
825
  }
826
826
  }
827
827
  if (T !== void 0) {
828
828
  const C = T - m;
829
829
  this.onNavigate(S, b, C);
830
830
  } else
831
- T === void 0 && e.findIndex((C) => C[u] === f[u]) === e.length - 1 && this.onNavigate(S, b);
831
+ T === void 0 && e.findIndex((C) => C[h] === f[h]) === e.length - 1 && this.onNavigate(S, b);
832
832
  }
833
- else if (!h && v || w)
833
+ else if (!u && v || w)
834
834
  this.onNavigate(S, b);
835
- else if (u) {
835
+ else if (h) {
836
836
  let T;
837
837
  if (b === g.down || b === g.right) {
838
- const C = e.slice(m + 1).find((E) => !E.disabled && E[u]);
839
- T = C && e.findIndex((E) => E[u] === C[u]);
838
+ const C = e.slice(m + 1).find((E) => !E.disabled && E[h]);
839
+ T = C && e.findIndex((E) => E[h] === C[h]);
840
840
  } else if (b === g.up || b === g.left) {
841
841
  let C;
842
842
  if (m === 0 && a)
843
843
  T = -1;
844
844
  else if (m === -1)
845
- C = e, T = e.find((E) => !E.disabled && E[u]);
845
+ C = e, T = e.find((E) => !E.disabled && E[h]);
846
846
  else {
847
847
  C = e.slice(0, m);
848
848
  let E = C.pop();
849
849
  for (; E && E.disabled; )
850
850
  E = C.pop();
851
- T = E && e.findIndex((M) => M[u] === E[u]);
851
+ T = E && e.findIndex((M) => M[h] === E[h]);
852
852
  }
853
853
  }
854
854
  if (T !== void 0) {
855
855
  const C = T - m;
856
856
  this.onNavigate(S, b, C);
857
857
  } else
858
- T === void 0 && e.findIndex((C) => C[u] === f[u]) === e.length - 1 && this.onNavigate(S, b);
858
+ T === void 0 && e.findIndex((C) => C[h] === f[h]) === e.length - 1 && this.onNavigate(S, b);
859
859
  } else
860
860
  this.onNavigate(S, b);
861
861
  t.preventDefault();
@@ -957,30 +957,30 @@ const Ye = {
957
957
  };
958
958
  }
959
959
  get validityStyles() {
960
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : qt.defaultProps.validityStyles;
960
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : Wt.defaultProps.validityStyles;
961
961
  }
962
962
  /**
963
963
  * @hidden
964
964
  */
965
965
  get required() {
966
- return this.props.required !== void 0 ? this.props.required : qt.defaultProps.required;
966
+ return this.props.required !== void 0 ? this.props.required : Wt.defaultProps.required;
967
967
  }
968
968
  /**
969
969
  * @hidden
970
970
  */
971
971
  componentDidUpdate(i, t) {
972
- var h;
972
+ var u;
973
973
  const { dataItemKey: e, virtual: s, groupField: n = "", textField: a } = this.props;
974
974
  let { data: p = [] } = this.props;
975
- const c = i.virtual ? i.virtual.total : 0, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = i.opened !== void 0 ? i.opened : t.opened, u = !r && d;
976
- if (this.base.getPopupSettings().animate || u && this.onPopupOpened(), s && s.total !== c)
975
+ const c = i.virtual ? i.virtual.total : 0, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = i.opened !== void 0 ? i.opened : t.opened, h = !r && d;
976
+ if (this.base.getPopupSettings().animate || h && this.onPopupOpened(), s && s.total !== c)
977
977
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
978
978
  else {
979
979
  const f = this.value, m = i.value !== void 0 ? i.value : t.value;
980
980
  let v = p.findIndex((w) => R(w, f, e));
981
- n !== "" && f && a && (v = (h = this.base.getGroupedDataModernMode(p, n)) == null ? void 0 : h.map((w) => w[a]).indexOf(f[a]));
981
+ n !== "" && f && a && (v = (u = this.base.getGroupedDataModernMode(p, n)) == null ? void 0 : u.map((w) => w[a]).indexOf(f[a]));
982
982
  const b = !R(m, f, e);
983
- u && s ? this.base.scrollToVirtualItem(s, v) : u && !s ? (this.onPopupOpened(), p && p.length !== 0 && this.base.resetGroupStickyHeader(p[0][n], this), this.base.scrollToItem(v)) : d && r && f && b && !this._navigated ? this.base.scrollToItem(v) : d && r && this._navigated && (this._navigated && s && s.skip === 0 ? this.base.vs.reset() : this._navigated && s && s.skip === s.total - s.pageSize && this.base.vs.scrollToEnd());
983
+ h && s ? this.base.scrollToVirtualItem(s, v) : h && !s ? (this.onPopupOpened(), p && p.length !== 0 && this.base.resetGroupStickyHeader(p[0][n], this), this.base.scrollToItem(v)) : d && r && f && b && !this._navigated ? this.base.scrollToItem(v) : d && r && this._navigated && (this._navigated && s && s.skip === 0 ? this.base.vs.reset() : this._navigated && s && s.skip === s.total - s.pageSize && this.base.vs.scrollToEnd());
984
984
  }
985
985
  this._navigated = !1, this.setValidity();
986
986
  }
@@ -1000,17 +1000,17 @@ const Ye = {
1000
1000
  * @hidden
1001
1001
  */
1002
1002
  render() {
1003
- const i = Ae(this).toLanguageString(Wt, ce[Wt]), { style: t, className: e, label: s, dir: n, virtual: a, size: p, rounded: c, fillMode: d, adaptive: r } = this.props, { windowWidth: u = 0 } = this.state, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = this.value, m = V(f, this.props.textField), v = !this.validityStyles || this.validity.valid, b = this.base, w = b.vs, k = u <= we && r;
1003
+ const i = We(this).toLanguageString(At, ce[At]), { style: t, className: e, label: s, dir: n, virtual: a, size: p, rounded: c, fillMode: d, adaptive: r } = this.props, { windowWidth: h = 0 } = this.state, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = this.value, m = V(f, this.props.textField), v = !this.validityStyles || this.validity.valid, b = this.base, w = b.vs, k = h <= we && r;
1004
1004
  w.enabled = a !== void 0, a !== void 0 && (b.vs.skip = a.skip, b.vs.total = a.total, b.vs.pageSize = a.pageSize);
1005
1005
  const {
1006
- dataItemKey: F,
1006
+ dataItemKey: D,
1007
1007
  data: O = [],
1008
1008
  disabled: N,
1009
1009
  tabIndex: _,
1010
1010
  loading: S,
1011
1011
  iconClassName: T,
1012
1012
  valueRender: C
1013
- } = this.props, { focused: E } = this.state, M = O.findIndex((Y) => R(Y, f, F)), H = /* @__PURE__ */ o.createElement("span", { id: this._inputId, className: "k-input-inner" }, /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)), J = C !== void 0 ? C.call(void 0, H, f) : H, j = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1013
+ } = this.props, { focused: E } = this.state, M = O.findIndex((Y) => R(Y, f, D)), H = /* @__PURE__ */ o.createElement("span", { id: this._inputId, className: "k-input-inner" }, /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)), J = C !== void 0 ? C.call(void 0, H, f) : H, j = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1014
1014
  "span",
1015
1015
  {
1016
1016
  ref: this.componentRef,
@@ -1030,12 +1030,12 @@ const Ye = {
1030
1030
  ),
1031
1031
  style: s ? { ...t, width: void 0 } : t,
1032
1032
  dir: n,
1033
- onMouseDown: h ? (Y) => {
1033
+ onMouseDown: u ? (Y) => {
1034
1034
  Y.target.nodeName !== "INPUT" && (this.focusElement(this.base.wrapper), Y.preventDefault());
1035
1035
  } : void 0,
1036
1036
  onFocus: this.handleFocus,
1037
1037
  onBlur: this.handleBlur,
1038
- tabIndex: Ut(_, N),
1038
+ tabIndex: Gt(_, N),
1039
1039
  accessKey: this.props.accessKey,
1040
1040
  onKeyDown: this.handleKeyDown,
1041
1041
  onKeyPress: this.handleKeyPress,
@@ -1044,9 +1044,9 @@ const Ye = {
1044
1044
  "aria-required": this.required,
1045
1045
  "aria-disabled": N || void 0,
1046
1046
  "aria-haspopup": "listbox",
1047
- "aria-expanded": h || !1,
1047
+ "aria-expanded": u || !1,
1048
1048
  "aria-owns": this._listboxId,
1049
- "aria-activedescendant": h ? "option-" + this._guid + "-" + (M + (a ? a.skip : 0)) : void 0,
1049
+ "aria-activedescendant": u ? "option-" + this._guid + "-" + (M + (a ? a.skip : 0)) : void 0,
1050
1050
  "aria-label": this.props.ariaLabel || this.props.label,
1051
1051
  "aria-labelledby": this.props.ariaLabelledBy,
1052
1052
  "aria-describedby": this.props.ariaDescribedBy || this._inputId,
@@ -1069,7 +1069,7 @@ const Ye = {
1069
1069
  rounded: null,
1070
1070
  themeColor: "base",
1071
1071
  icon: T ? void 0 : "caret-alt-down",
1072
- svgIcon: T ? this.props.svgIcon : Yt,
1072
+ svgIcon: T ? this.props.svgIcon : jt,
1073
1073
  onMouseDown: (Y) => this.state.focused && Y.preventDefault()
1074
1074
  }
1075
1075
  ),
@@ -1097,17 +1097,17 @@ const Ye = {
1097
1097
  defaultItem: n,
1098
1098
  dataItemKey: a,
1099
1099
  virtual: p = { skip: 0, total: 0, pageSize: 0 }
1100
- } = this.props, c = this.base.vs, d = this.value, r = s.findIndex((h) => R(h, d, a)), u = this.base.navigation.navigate({
1100
+ } = this.props, c = this.base.vs, d = this.value, r = s.findIndex((u) => R(u, d, a)), h = this.base.navigation.navigate({
1101
1101
  current: p.skip + r,
1102
1102
  max: (c.enabled ? p.total : s.length) - 1,
1103
1103
  min: n !== void 0 ? -1 : 0,
1104
1104
  keyCode: t,
1105
1105
  skipItems: e || void 0
1106
1106
  });
1107
- u !== void 0 && this.handleItemSelect(u, i), this.applyState(i);
1107
+ h !== void 0 && this.handleItemSelect(h, i), this.applyState(i);
1108
1108
  }
1109
1109
  renderAdaptiveListContainer() {
1110
- const { windowWidth: i = 0 } = this.state, { header: t, footer: e, size: s, adaptiveTitle: n, groupField: a, groupStickyHeaderItemRender: p, list: c, data: d = [] } = this.props, r = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = {
1110
+ const { windowWidth: i = 0 } = this.state, { header: t, footer: e, size: s, adaptiveTitle: n, groupField: a, groupStickyHeaderItemRender: p, list: c, data: d = [] } = this.props, r = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = {
1111
1111
  navigatable: !1,
1112
1112
  navigatableElements: [],
1113
1113
  expand: r,
@@ -1116,8 +1116,8 @@ const Ye = {
1116
1116
  animationStyles: i <= wt ? { top: 0, width: "100%", height: "100%" } : void 0,
1117
1117
  className: i <= wt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1118
1118
  };
1119
- let { group: h } = this.state;
1120
- return h === void 0 && a !== void 0 && (h = V(d[0], a)), /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(Qt, { ...u }, /* @__PURE__ */ o.createElement(Xt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, n)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
1119
+ let { group: u } = this.state;
1120
+ return u === void 0 && a !== void 0 && (u = V(d[0], a)), /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(Jt, { ...h }, /* @__PURE__ */ o.createElement(Qt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, n)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
1121
1121
  Te,
1122
1122
  {
1123
1123
  tabIndex: 0,
@@ -1141,7 +1141,7 @@ const Ye = {
1141
1141
  )
1142
1142
  },
1143
1143
  this.renderDefaultItem(),
1144
- !c && h && d.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: h, groupMode: "modern", render: p }),
1144
+ !c && u && d.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: u, groupMode: "modern", render: p }),
1145
1145
  this.renderList()
1146
1146
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e))));
1147
1147
  }
@@ -1151,7 +1151,7 @@ const Ye = {
1151
1151
  textField: e,
1152
1152
  dataItemKey: s,
1153
1153
  virtual: n = { skip: 0 },
1154
- focusedItemIndex: a = Ve,
1154
+ focusedItemIndex: a = Be,
1155
1155
  filterable: p,
1156
1156
  skipDisabledItems: c = !0
1157
1157
  } = this.props, d = this.props.filter ? this.props.filter : this.state.text;
@@ -1178,13 +1178,13 @@ const Ye = {
1178
1178
  return t !== void 0 && t !== -1 && i && i.length > 0 && i[t].disabled;
1179
1179
  }
1180
1180
  };
1181
- let Tt = qt;
1181
+ let Tt = Wt;
1182
1182
  Tt.displayName = "DropDownList";
1183
1183
  Tt.propTypes = {
1184
1184
  delay: l.number,
1185
1185
  ignoreCase: l.bool,
1186
1186
  iconClassName: l.string,
1187
- svgIcon: ms,
1187
+ svgIcon: gs,
1188
1188
  defaultItem: l.any,
1189
1189
  valueRender: l.func,
1190
1190
  valueMap: l.func,
@@ -1212,12 +1212,12 @@ Tt.defaultProps = {
1212
1212
  fillMode: "solid",
1213
1213
  groupMode: "modern"
1214
1214
  };
1215
- const ei = Be(), ti = Et(Ft(
1215
+ const ei = Ke(), ti = Et(Dt(
1216
1216
  ei,
1217
1217
  Tt
1218
1218
  ));
1219
1219
  ti.displayName = "KendoReactDropDownList";
1220
- class ts extends o.Component {
1220
+ class es extends o.Component {
1221
1221
  constructor() {
1222
1222
  super(...arguments), this._input = null;
1223
1223
  }
@@ -1228,8 +1228,8 @@ class ts extends o.Component {
1228
1228
  return this._input;
1229
1229
  }
1230
1230
  componentDidUpdate(t) {
1231
- const e = t.value, s = t.suggestedText, { value: n, suggestedText: a, focused: p } = this.props, c = this.input, d = e !== n || a !== s, r = d && e.startsWith(n) && !(s && a && s.endsWith(a)), u = Fs(document);
1232
- p && c && u !== c && c.focus(), a && d && !r && c && c.setSelectionRange(n.length - a.length, n.length);
1231
+ const e = t.value, s = t.suggestedText, { value: n, suggestedText: a, focused: p } = this.props, c = this.input, d = e !== n || a !== s, r = d && e.startsWith(n) && !(s && a && s.endsWith(a)), h = Es(document);
1232
+ p && c && h !== c && c.focus(), a && d && !r && c && c.setSelectionRange(n.length - a.length, n.length);
1233
1233
  }
1234
1234
  render() {
1235
1235
  const { expanded: t = !1, disabled: e, role: s = "listbox", render: n } = this.props, a = /* @__PURE__ */ o.createElement(
@@ -1274,7 +1274,7 @@ class dt extends o.Component {
1274
1274
  super(...arguments), this.onMouseDown = (t) => t.preventDefault();
1275
1275
  }
1276
1276
  render() {
1277
- const t = Ae(this).toLanguageString(nt, ce[nt]);
1277
+ const t = We(this).toLanguageString(nt, ce[nt]);
1278
1278
  return /* @__PURE__ */ o.createElement(
1279
1279
  "span",
1280
1280
  {
@@ -1290,8 +1290,8 @@ class dt extends o.Component {
1290
1290
  );
1291
1291
  }
1292
1292
  }
1293
- ys(dt);
1294
- const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, roundedMap: ni } = Ge, xt = class extends o.Component {
1293
+ bs(dt);
1294
+ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, roundedMap: ni } = Ge, xt = class extends o.Component {
1295
1295
  constructor(i) {
1296
1296
  super(i), this.state = {}, this.base = new oe(this), this._element = null, this._suggested = "", this._skipBlur = !1, this._input = null, this._adaptiveFilterInput = null, this.itemHeight = 0, this.focus = () => {
1297
1297
  this._input && this._input.focus();
@@ -1314,7 +1314,7 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1314
1314
  }, this.renderMobileListFilter = () => {
1315
1315
  const t = this.props.adaptiveFilter !== void 0 ? this.props.adaptiveFilter : this.state.text, e = V(this.value, this.props.textField), s = U(t) ? t : e;
1316
1316
  return /* @__PURE__ */ o.createElement(
1317
- Re,
1317
+ Ve,
1318
1318
  {
1319
1319
  value: s,
1320
1320
  ref: (n) => this._adaptiveFilterInput = n && n.element,
@@ -1338,8 +1338,8 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1338
1338
  const p = this.itemHeight = this.itemHeight || (e.enabled ? e.itemHeight : s ? s.children[0].offsetHeight : 0), d = t.target.scrollTop - e.skip * p;
1339
1339
  this.props.groupMode === "modern" && (a = this.base.getGroupedDataModernMode(a, n));
1340
1340
  let r = a[0][n];
1341
- for (let u = 1; u < a.length && !(p * u > d); u++)
1342
- a[u] && a[u][n] && (r = a[u][n]);
1341
+ for (let h = 1; h < a.length && !(p * h > d); h++)
1342
+ a[h] && a[h][n] && (r = a[h][n]);
1343
1343
  r !== this.state.group && (this.setState({
1344
1344
  group: r
1345
1345
  }), this.props.onGroupScroll && this.props.onGroupScroll.call(void 0, { group: r }));
@@ -1357,36 +1357,36 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1357
1357
  n.syntheticEvent = t, this.base.togglePopup(n), this.base.filterChanged(s, n), this.applyState(n);
1358
1358
  }
1359
1359
  }, this.onInputKeyDown = (t) => {
1360
- const { data: e = [], skipDisabledItems: s, textField: n, dataItemKey: a, groupField: p } = this.props, c = this.value, d = Math.max(0, e.findIndex((w) => R(w, c, a))), r = t.keyCode, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = this.base.initState();
1361
- if (h.syntheticEvent = t, !t.altKey && (r === g.up || r === g.down)) {
1360
+ const { data: e = [], skipDisabledItems: s, textField: n, dataItemKey: a, groupField: p } = this.props, c = this.value, d = Math.max(0, e.findIndex((w) => R(w, c, a))), r = t.keyCode, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.base.initState();
1361
+ if (u.syntheticEvent = t, !t.altKey && (r === g.up || r === g.down)) {
1362
1362
  if (t.preventDefault(), p !== "" && n)
1363
- if (!this.props.skipDisabledItems && u)
1364
- this.onNavigate(h, r);
1363
+ if (!this.props.skipDisabledItems && h)
1364
+ this.onNavigate(u, r);
1365
1365
  else {
1366
1366
  let w = 0;
1367
1367
  if (r === g.down || r === g.right) {
1368
- const k = e.slice(d + 1).find((F) => !F.disabled && F[n]);
1369
- w = k && e.findIndex((F) => F[n] === k[n]);
1368
+ const k = e.slice(d + 1).find((D) => !D.disabled && D[n]);
1369
+ w = k && e.findIndex((D) => D[n] === k[n]);
1370
1370
  } else if (r === g.up || r === g.left) {
1371
1371
  let k;
1372
1372
  if (d === 0)
1373
- k = e, w = e.findIndex((F) => !F.disabled && F[n]);
1373
+ k = e, w = e.findIndex((D) => !D.disabled && D[n]);
1374
1374
  else {
1375
1375
  k = e.slice(0, d);
1376
- let F = k.pop();
1377
- for (; F && F.disabled; )
1378
- F = k.pop();
1379
- w = F && e.findIndex((O) => O[n] === F[n]);
1376
+ let D = k.pop();
1377
+ for (; D && D.disabled; )
1378
+ D = k.pop();
1379
+ w = D && e.findIndex((O) => O[n] === D[n]);
1380
1380
  }
1381
1381
  }
1382
1382
  if (w !== void 0) {
1383
1383
  const k = w - d;
1384
- this.onNavigate(h, r, k);
1384
+ this.onNavigate(u, r, k);
1385
1385
  } else
1386
- w === void 0 && e.findIndex((k) => k[n] === c[n]) === e.length - 1 && this.onNavigate(h, r);
1386
+ w === void 0 && e.findIndex((k) => k[n] === c[n]) === e.length - 1 && this.onNavigate(u, r);
1387
1387
  }
1388
- else if (!this.props.skipDisabledItems && u)
1389
- this.onNavigate(h, r);
1388
+ else if (!this.props.skipDisabledItems && h)
1389
+ this.onNavigate(u, r);
1390
1390
  else {
1391
1391
  let w = null;
1392
1392
  if (r === g.down || r === g.right)
@@ -1398,16 +1398,16 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1398
1398
  }
1399
1399
  if (w) {
1400
1400
  const k = w.id - d - 1;
1401
- this.onNavigate(h, r, k);
1401
+ this.onNavigate(u, r, k);
1402
1402
  } else
1403
- this.onNavigate(h, r);
1403
+ this.onNavigate(u, r);
1404
1404
  }
1405
- this.applyState(h);
1405
+ this.applyState(u);
1406
1406
  }
1407
1407
  const f = () => {
1408
- t.preventDefault(), this.base.togglePopup(h), this.applyState(h);
1408
+ t.preventDefault(), this.base.togglePopup(u), this.applyState(u);
1409
1409
  }, m = this.getFocusedIndex(), v = m === -1, b = !v && this.getCurrentValueDisabledStatus(n, e, m);
1410
- u ? r === g.pageUp ? this.base.scrollPopupByPageSize(-1) : r === g.pageDown ? this.base.scrollPopupByPageSize(1) : t.altKey && r === g.up ? f() : r === g.enter ? (t.preventDefault(), (n && !v && t.currentTarget.value ? e[m][n] : void 0) ? !s && n && b ? this.clearValueOnEnterOrEsc(t) : b || this.applyValueOnEnter(t.currentTarget.value, h) : this.applyValueOnEnter(t.currentTarget.value, h)) : r === g.esc && (!s && n && b && this.clearValueOnEnterOrEsc(t), this.applyValueOnRejectSuggestions(t.currentTarget.value, h)) : !u && r === g.esc ? this.clearValueOnEnterOrEsc(t) : t.altKey && r === g.down && f();
1410
+ h ? r === g.pageUp ? this.base.scrollPopupByPageSize(-1) : r === g.pageDown ? this.base.scrollPopupByPageSize(1) : t.altKey && r === g.up ? f() : r === g.enter ? (t.preventDefault(), (n && !v && t.currentTarget.value ? e[m][n] : void 0) ? !s && n && b ? this.clearValueOnEnterOrEsc(t) : b || this.applyValueOnEnter(t.currentTarget.value, u) : this.applyValueOnEnter(t.currentTarget.value, u)) : r === g.esc && (!s && n && b && this.clearValueOnEnterOrEsc(t), this.applyValueOnRejectSuggestions(t.currentTarget.value, u)) : !h && r === g.esc ? this.clearValueOnEnterOrEsc(t) : t.altKey && r === g.down && f();
1411
1411
  }, this.inputOnChange = (t) => {
1412
1412
  const e = this.base.initState();
1413
1413
  e.syntheticEvent = t;
@@ -1502,17 +1502,17 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1502
1502
  /** @hidden */
1503
1503
  componentDidUpdate(i, t) {
1504
1504
  var f;
1505
- const { dataItemKey: e, virtual: s, groupField: n = "", data: a = [], textField: p } = this.props, c = i.virtual ? i.virtual.total : 0, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = i.opened !== void 0 ? i.opened : t.opened, u = !r && d, h = this.value;
1506
- if (this._valueOnDidUpdate = h, s && s.total !== c)
1505
+ const { dataItemKey: e, virtual: s, groupField: n = "", data: a = [], textField: p } = this.props, c = i.virtual ? i.virtual.total : 0, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = i.opened !== void 0 ? i.opened : t.opened, h = !r && d, u = this.value;
1506
+ if (this._valueOnDidUpdate = u, s && s.total !== c)
1507
1507
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
1508
1508
  else {
1509
1509
  const m = i.value !== void 0 ? i.value : t.value;
1510
- let v = a.findIndex((w) => R(w, h, e));
1511
- this.props.groupMode === "modern" && p && h && (v = (f = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : f.map((w) => w[p]).indexOf(h[p]));
1512
- const b = !R(m, h, e);
1513
- u && s ? this.base.scrollToVirtualItem(s, v) : u && !s ? (this.onPopupOpened(), a && a.length !== 0 && this.base.resetGroupStickyHeader(a[0][n], this), this.base.scrollToItem(v)) : d && r && h && b && this.base.scrollToItem(v);
1510
+ let v = a.findIndex((w) => R(w, u, e));
1511
+ this.props.groupMode === "modern" && p && u && (v = (f = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : f.map((w) => w[p]).indexOf(u[p]));
1512
+ const b = !R(m, u, e);
1513
+ h && s ? this.base.scrollToVirtualItem(s, v) : h && !s ? (this.onPopupOpened(), a && a.length !== 0 && this.base.resetGroupStickyHeader(a[0][n], this), this.base.scrollToItem(v)) : d && r && u && b && this.base.scrollToItem(v);
1514
1514
  }
1515
- u && this._input && this._input.focus(), this.setValidity();
1515
+ h && this._input && this._input.focus(), this.setValidity();
1516
1516
  }
1517
1517
  /** @hidden */
1518
1518
  componentDidMount() {
@@ -1526,9 +1526,9 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1526
1526
  }
1527
1527
  /** @hidden */
1528
1528
  render() {
1529
- const i = Ae(this).toLanguageString(Ht, ce[Ht]), t = Ae(this).toLanguageString(
1530
- At,
1531
- ce[At]
1529
+ const i = We(this).toLanguageString(zt, ce[zt]), t = We(this).toLanguageString(
1530
+ Ht,
1531
+ ce[Ht]
1532
1532
  ), {
1533
1533
  dir: e,
1534
1534
  disabled: s,
@@ -1538,17 +1538,17 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1538
1538
  adaptive: c,
1539
1539
  className: d,
1540
1540
  style: r,
1541
- loading: u,
1542
- iconClassName: h,
1541
+ loading: h,
1542
+ iconClassName: u,
1543
1543
  virtual: f,
1544
1544
  size: m,
1545
1545
  rounded: v,
1546
1546
  fillMode: b,
1547
1547
  opened: w = this.state.opened,
1548
1548
  placeholder: k
1549
- } = this.props, { windowWidth: F = 0 } = this.state, O = !this.validityStyles || this.validity.valid, N = this.props.filter !== void 0 ? this.props.filter : this.state.text, _ = V(this.value, p), S = U(N) ? N : _, T = n && (!!S || U(this.value)), E = this.base.vs, M = this.props.id || this._inputId, H = F <= we && c;
1549
+ } = this.props, { windowWidth: D = 0 } = this.state, O = !this.validityStyles || this.validity.valid, N = this.props.filter !== void 0 ? this.props.filter : this.state.text, _ = V(this.value, p), S = U(N) ? N : _, T = n && (!!S || U(this.value)), E = this.base.vs, M = this.props.id || this._inputId, H = D <= we && c;
1550
1550
  E.enabled = f !== void 0, f !== void 0 && (E.skip = f.skip, E.total = f.total, E.pageSize = f.pageSize);
1551
- const [J, j] = qe(this.props.prefix || o.Fragment), [Y, W] = qe(this.props.suffix || o.Fragment), ge = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1551
+ const [J, j] = Ne(this.props.prefix || o.Fragment), [Y, W] = Ne(this.props.suffix || o.Fragment), ge = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1552
1552
  "span",
1553
1553
  {
1554
1554
  className: B(
@@ -1558,7 +1558,7 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1558
1558
  [`k-rounded-${ni[v] || v}`]: v,
1559
1559
  [`k-input-${b}`]: b,
1560
1560
  "k-invalid": !O,
1561
- "k-loading": u,
1561
+ "k-loading": h,
1562
1562
  "k-required": this.required,
1563
1563
  "k-disabled": s
1564
1564
  },
@@ -1568,20 +1568,20 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1568
1568
  style: a ? { ...r, width: void 0 } : r,
1569
1569
  dir: e
1570
1570
  },
1571
- /* @__PURE__ */ o.createElement(J, { ...j }),
1571
+ this.props.prefix && /* @__PURE__ */ o.createElement(J, { ...j }),
1572
1572
  this.renderSearchBar(S || "", M, k),
1573
- T && !u && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1574
- u && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
1575
- /* @__PURE__ */ o.createElement(Y, { ...W }),
1573
+ T && !h && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1574
+ h && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
1575
+ this.props.suffix && /* @__PURE__ */ o.createElement(Y, { ...W }),
1576
1576
  /* @__PURE__ */ o.createElement(
1577
1577
  Te,
1578
1578
  {
1579
1579
  tabIndex: -1,
1580
1580
  type: "button",
1581
1581
  "aria-label": w ? t : i,
1582
- icon: h ? void 0 : "caret-alt-down",
1583
- svgIcon: h ? this.props.svgIcon : Yt,
1584
- iconClass: h,
1582
+ icon: u ? void 0 : "caret-alt-down",
1583
+ svgIcon: u ? this.props.svgIcon : jt,
1584
+ iconClass: u,
1585
1585
  size: m,
1586
1586
  fillMode: b,
1587
1587
  rounded: null,
@@ -1614,21 +1614,21 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1614
1614
  else if (a === "")
1615
1615
  this.handleItemSelect(0, i);
1616
1616
  else {
1617
- const r = n.skip + p, u = this.base.navigation.navigate({
1617
+ const r = n.skip + p, h = this.base.navigation.navigate({
1618
1618
  keyCode: t,
1619
1619
  current: r,
1620
1620
  max: (c.enabled ? c.total : s.length) - 1,
1621
1621
  min: 0,
1622
1622
  skipItems: e || void 0
1623
1623
  });
1624
- u !== void 0 && this.handleItemSelect(u, i);
1624
+ h !== void 0 && this.handleItemSelect(h, i);
1625
1625
  }
1626
1626
  }
1627
1627
  getCurrentValueDisabledStatus(i, t, e) {
1628
1628
  return i && t && t[e] && t[e].disabled;
1629
1629
  }
1630
1630
  applyValueOnEnter(i, t) {
1631
- const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, c = V(this.value, s) === i ? this.index : zt(e, i, s), d = c !== -1;
1631
+ const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, c = V(this.value, s) === i ? this.index : Lt(e, i, s), d = c !== -1;
1632
1632
  let r;
1633
1633
  if (this._suggested = "", d)
1634
1634
  r = e[c];
@@ -1642,28 +1642,28 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1642
1642
  const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, p = V(this.value, s), c = this.state.windowWidth && this.state.windowWidth <= we;
1643
1643
  if (this._suggested = "", i === p || i === "" && !U(p))
1644
1644
  return a && !c && this.base.togglePopup(t), this.applyState(t);
1645
- const d = zt(e, i, s, !0), r = d !== -1;
1646
- let u = null;
1647
- r ? u = e[d] : n && (u = i ? s ? { [s]: i } : i : null), this.triggerOnChange(u, t), this.state.text !== void 0 && (t.data.text = void 0, this.base.filterChanged("", t)), a && !c && this.base.togglePopup(t), this.applyState(t);
1645
+ const d = Lt(e, i, s, !0), r = d !== -1;
1646
+ let h = null;
1647
+ r ? h = e[d] : n && (h = i ? s ? { [s]: i } : i : null), this.triggerOnChange(h, t), this.state.text !== void 0 && (t.data.text = void 0, this.base.filterChanged("", t)), a && !c && this.base.togglePopup(t), this.applyState(t);
1648
1648
  }
1649
1649
  selectFocusedItem(i, t) {
1650
- const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { data: s = [], textField: n, virtual: a = { skip: 0 }, focusedItemIndex: p = Ve } = this.props, c = a.skip, d = i === "" && c === 0 ? 0 : p(s, i, n);
1650
+ const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { data: s = [], textField: n, virtual: a = { skip: 0 }, focusedItemIndex: p = Be } = this.props, c = a.skip, d = i === "" && c === 0 ? 0 : p(s, i, n);
1651
1651
  return d !== -1 ? this.handleItemSelect(d + c, t) : (this.triggerOnChange(null, t), this.state.text !== void 0 && (t.data.text = void 0)), e && this.base.togglePopup(t), this.applyState(t);
1652
1652
  }
1653
1653
  renderAdaptiveListContainer() {
1654
- const { windowWidth: i = 0 } = this.state, { header: t, footer: e, size: s, data: n = [], groupField: a, groupMode: p, list: c, virtual: d, adaptiveTitle: r, groupStickyHeaderItemRender: u } = this.props, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1654
+ const { windowWidth: i = 0 } = this.state, { header: t, footer: e, size: s, data: n = [], groupField: a, groupMode: p, list: c, virtual: d, adaptiveTitle: r, groupStickyHeaderItemRender: h } = this.props, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1655
1655
  let { group: f } = this.state;
1656
1656
  f === void 0 && a !== void 0 && (f = V(n[0], a));
1657
1657
  const m = {
1658
1658
  navigatable: !1,
1659
1659
  navigatableElements: [],
1660
- expand: h,
1660
+ expand: u,
1661
1661
  animation: !0,
1662
1662
  onClose: (v) => this.toggleBtnClick(v),
1663
1663
  animationStyles: i <= wt ? { top: 0, width: "100%", height: "100%" } : void 0,
1664
1664
  className: i <= wt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1665
1665
  };
1666
- return /* @__PURE__ */ o.createElement(Qt, { ...m }, /* @__PURE__ */ o.createElement(Xt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, r)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
1666
+ return /* @__PURE__ */ o.createElement(Jt, { ...m }, /* @__PURE__ */ o.createElement(Qt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, r)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
1667
1667
  Te,
1668
1668
  {
1669
1669
  tabIndex: 0,
@@ -1683,19 +1683,19 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1683
1683
  "k-data-table": c,
1684
1684
  [`k-table-${yt[s] || s}`]: c && s
1685
1685
  }
1686
- ) }, t && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, t), !c && f && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: f, groupMode: p, render: u }), this.renderList(), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e)))));
1686
+ ) }, t && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, t), !c && f && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: p, render: h }), this.renderList(), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e)))));
1687
1687
  }
1688
1688
  renderListContainer() {
1689
- const i = this.base, { dir: t, header: e, footer: s, data: n = [], groupField: a, groupMode: p, size: c, list: d, virtual: r, groupStickyHeaderItemRender: u } = this.props, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = i.getPopupSettings(), m = f.width !== void 0 ? f.width : i.popupWidth;
1689
+ const i = this.base, { dir: t, header: e, footer: s, data: n = [], groupField: a, groupMode: p, size: c, list: d, virtual: r, groupStickyHeaderItemRender: h } = this.props, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = i.getPopupSettings(), m = f.width !== void 0 ? f.width : i.popupWidth;
1690
1690
  let { group: v } = this.state;
1691
1691
  return v === void 0 && a !== void 0 && (v = V(n[0], a)), /* @__PURE__ */ o.createElement(
1692
- Dt,
1692
+ Ft,
1693
1693
  {
1694
1694
  width: m,
1695
1695
  popupSettings: {
1696
1696
  animate: f.animate,
1697
1697
  anchor: this.element,
1698
- show: h,
1698
+ show: u,
1699
1699
  popupClass: B(
1700
1700
  f.popupClass,
1701
1701
  "k-list-container",
@@ -1715,7 +1715,7 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1715
1715
  "k-data-table": d,
1716
1716
  [`k-table-${yt[c] || c}`]: d && c
1717
1717
  }
1718
- ) }, e && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, e), !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: v, groupMode: p, render: u }), this.renderList(), s && /* @__PURE__ */ o.createElement("div", { className: B(
1718
+ ) }, e && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, e), !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: v, groupMode: p, render: h }), this.renderList(), s && /* @__PURE__ */ o.createElement("div", { className: B(
1719
1719
  {
1720
1720
  "k-list-footer": !this.props.footerClassName
1721
1721
  },
@@ -1732,13 +1732,13 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1732
1732
  groupHeaderItemRender: a,
1733
1733
  data: p = [],
1734
1734
  virtual: c = { skip: 0, total: void 0 }
1735
- } = this.props, d = i.getPopupSettings(), r = i.vs, u = c.skip, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = `translateY(${r.translate}px)`, m = h ? this.getFocusedIndex() : void 0, v = this.props.filter !== void 0 ? this.props.filter : this.state.text, b = V(this.value, t), w = U(v) && v !== b ? null : this.value, k = this.props.list || je;
1735
+ } = this.props, d = i.getPopupSettings(), r = i.vs, h = c.skip, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = `translateY(${r.translate}px)`, m = u ? this.getFocusedIndex() : void 0, v = this.props.filter !== void 0 ? this.props.filter : this.state.text, b = V(this.value, t), w = U(v) && v !== b ? null : this.value, k = this.props.list || je;
1736
1736
  return /* @__PURE__ */ o.createElement(
1737
1737
  k,
1738
1738
  {
1739
1739
  id: i.listBoxId,
1740
1740
  virtual: !!c,
1741
- show: h,
1741
+ show: u,
1742
1742
  data: p,
1743
1743
  focusedIndex: m,
1744
1744
  value: w,
@@ -1748,8 +1748,8 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1748
1748
  groupMode: this.props.groupMode,
1749
1749
  isMultiColumn: this.props.isMultiColumn,
1750
1750
  optionsGuid: i.guid,
1751
- listRef: (F) => {
1752
- r.list = this.base.list = F, this.itemHeight = 0;
1751
+ listRef: (D) => {
1752
+ r.list = this.base.list = D, this.itemHeight = 0;
1753
1753
  },
1754
1754
  wrapperStyle: this.state.windowWidth && this.state.windowWidth > we ? { maxHeight: d.height } : {},
1755
1755
  wrapperCssClass: B(
@@ -1760,12 +1760,12 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1760
1760
  ),
1761
1761
  listStyle: r.enabled ? { transform: f } : void 0,
1762
1762
  key: "listkey",
1763
- skip: u,
1763
+ skip: h,
1764
1764
  onClick: this.handleItemClick,
1765
1765
  itemRender: n,
1766
1766
  groupHeaderItemRender: a,
1767
1767
  noDataRender: s,
1768
- onMouseDown: (F) => F.preventDefault(),
1768
+ onMouseDown: (D) => D.preventDefault(),
1769
1769
  onScroll: this.onScroll,
1770
1770
  wrapperRef: r.scrollerRef,
1771
1771
  scroller: this.base.renderScrollElement(),
@@ -1780,9 +1780,9 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1780
1780
  data: a = [],
1781
1781
  dataItemKey: p,
1782
1782
  virtual: c = { skip: 0 }
1783
- } = this.props, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = this.value, u = Math.max(0, a.findIndex((h) => R(h, r, p)));
1783
+ } = this.props, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = this.value, h = Math.max(0, a.findIndex((u) => R(u, r, p)));
1784
1784
  return this._suggested && !R(this._valueOnDidUpdate, r, p) && (this._suggested = ""), /* @__PURE__ */ o.createElement(
1785
- ts,
1785
+ es,
1786
1786
  {
1787
1787
  id: t,
1788
1788
  readOnly: d && this.mobileMode,
@@ -1792,7 +1792,7 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1792
1792
  accessKey: this.props.accessKey,
1793
1793
  value: i + this._suggested,
1794
1794
  suggestedText: this._suggested,
1795
- ref: (h) => this._input = h && h.input,
1795
+ ref: (u) => this._input = u && u.input,
1796
1796
  onClick: this.onInputClick,
1797
1797
  onKeyDown: this.onInputKeyDown,
1798
1798
  onChange: this.inputOnChange,
@@ -1801,7 +1801,7 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1801
1801
  disabled: n,
1802
1802
  expanded: d,
1803
1803
  owns: this.base.listBoxId,
1804
- activedescendant: `option-${this.base.guid}-${u + c.skip}`,
1804
+ activedescendant: `option-${this.base.guid}-${h + c.skip}`,
1805
1805
  role: "combobox",
1806
1806
  ariaLabelledBy: this.props.ariaLabelledBy,
1807
1807
  ariaDescribedBy: this.props.ariaDescribedBy,
@@ -1821,7 +1821,7 @@ const si = Lt, qe = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1821
1821
  !U(e) && !U(i) || R(e, i, this.props.dataItemKey) || (this.props.value === void 0 && (t.data.value = i), this._valueDuringOnChange = i, t.events.push({ type: "onChange" }));
1822
1822
  }
1823
1823
  getFocusedIndex() {
1824
- const i = this.value, { data: t = [], textField: e, dataItemKey: s, virtual: n = { skip: 0 }, focusedItemIndex: a = Ve, skipDisabledItems: p } = this.props, c = this.props.filter ? this.props.filter : this.state.text;
1824
+ const i = this.value, { data: t = [], textField: e, dataItemKey: s, virtual: n = { skip: 0 }, focusedItemIndex: a = Be, skipDisabledItems: p } = this.props, c = this.props.filter ? this.props.filter : this.state.text;
1825
1825
  return U(i) && c === void 0 ? t.findIndex((d) => R(d, i, s)) : c ? a(t, c, e) : p && e && !c && n.skip === 0 ? t.findIndex((d) => !d.disabled && d[e]) : n.skip === 0 ? 0 : -1;
1826
1826
  }
1827
1827
  suggestValue(i) {
@@ -1853,7 +1853,7 @@ ct.propTypes = {
1853
1853
  allowCustom: l.bool,
1854
1854
  clearButton: l.bool,
1855
1855
  iconClassName: l.string,
1856
- svgIcon: ms,
1856
+ svgIcon: gs,
1857
1857
  validationMessage: l.string,
1858
1858
  required: l.bool,
1859
1859
  id: l.string,
@@ -1874,12 +1874,12 @@ ct.defaultProps = {
1874
1874
  groupMode: "modern",
1875
1875
  isMultiColumn: !1,
1876
1876
  skipDisabledItems: !0,
1877
- prefix: o.Fragment,
1878
- suffix: o.Fragment
1877
+ prefix: void 0,
1878
+ suffix: void 0
1879
1879
  };
1880
- const oi = Be(), xs = Et(Ft(oi, ct));
1881
- xs.displayName = "KendoReactComboBox";
1882
- const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge, $t = class extends o.Component {
1880
+ const oi = Ke(), Is = Et(Dt(oi, ct));
1881
+ Is.displayName = "KendoReactComboBox";
1882
+ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge, qt = class extends o.Component {
1883
1883
  constructor(i) {
1884
1884
  super(i), this.state = {}, this.base = new oe(this), this._element = null, this._suggested = "", this._input = null, this._isScrolling = !1, this.itemHeight = 0, this.focus = () => {
1885
1885
  this._input && this._input.focus();
@@ -1914,9 +1914,9 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
1914
1914
  }, this.onChangeHandler = (t) => {
1915
1915
  const s = this.base.initState(), n = t.currentTarget, a = n.value, p = n.selectionEnd === a.length;
1916
1916
  s.syntheticEvent = t;
1917
- const c = this._suggested, d = this.value, r = d && d.substring(0, d.length - c.length), u = r && r === a, h = r && r.length > a.length, { suggest: f } = this.props, m = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1917
+ const c = this._suggested, d = this.value, r = d && d.substring(0, d.length - c.length), h = r && r === a, u = r && r.length > a.length, { suggest: f } = this.props, m = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1918
1918
  if (f !== void 0 && f !== !1) {
1919
- u || h || !p ? this._suggested = "" : this.suggestValue(a);
1919
+ h || u || !p ? this._suggested = "" : this.suggestValue(a);
1920
1920
  const v = a + this._suggested, b = { userInput: a, value: this._suggested };
1921
1921
  this.triggerOnChange(v, s, { suggestion: b });
1922
1922
  } else
@@ -1930,10 +1930,10 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
1930
1930
  }, this.onInputKeyDown = (t) => {
1931
1931
  const { data: e = [], skipDisabledItems: s, groupField: n, textField: a } = this.props;
1932
1932
  this._isScrolling && (this._isScrolling = !1);
1933
- const p = this.focusedIndex(), c = e[p], d = t.keyCode, r = t.altKey, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = this.base.initState();
1934
- h.syntheticEvent = t;
1933
+ const p = this.focusedIndex(), c = e[p], d = t.keyCode, r = t.altKey, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.base.initState();
1934
+ u.syntheticEvent = t;
1935
1935
  const f = () => {
1936
- u && t.preventDefault();
1936
+ h && t.preventDefault();
1937
1937
  };
1938
1938
  if (r && d === g.down)
1939
1939
  this.setState({
@@ -1943,19 +1943,19 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
1943
1943
  this.setState({
1944
1944
  opened: !1
1945
1945
  });
1946
- else if (u && d === g.pageUp)
1946
+ else if (h && d === g.pageUp)
1947
1947
  this.base.scrollPopupByPageSize(-1);
1948
- else if (u && d === g.pageDown)
1948
+ else if (h && d === g.pageDown)
1949
1949
  this.base.scrollPopupByPageSize(1);
1950
- else if (u && (d === g.enter || d === g.esc))
1951
- f(), s === !1 && c && c.disabled ? (u && this.togglePopup(h), this.applyState(h)) : this.applyInputValue(t.currentTarget.value, h, t.keyCode);
1952
- else if (!u && d === g.esc) {
1950
+ else if (h && (d === g.enter || d === g.esc))
1951
+ f(), s === !1 && c && c.disabled ? (h && this.togglePopup(u), this.applyState(u)) : this.applyInputValue(t.currentTarget.value, u, t.keyCode);
1952
+ else if (!h && d === g.esc) {
1953
1953
  const m = "";
1954
- this._suggested = "", this.triggerOnChange(m, h), this.state.focusedItem !== void 0 && (h.data.focusedItem = void 0), this.applyState(h);
1954
+ this._suggested = "", this.triggerOnChange(m, u), this.state.focusedItem !== void 0 && (u.data.focusedItem = void 0), this.applyState(u);
1955
1955
  } else if (d === g.up || d === g.down) {
1956
1956
  if (n !== "" && a)
1957
- if (!this.props.skipDisabledItems && u)
1958
- this.onNavigate(h, d);
1957
+ if (!this.props.skipDisabledItems && h)
1958
+ this.onNavigate(u, d);
1959
1959
  else {
1960
1960
  let m = 0;
1961
1961
  if (d === g.down || d === g.right) {
@@ -1975,12 +1975,12 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
1975
1975
  }
1976
1976
  if (m !== void 0) {
1977
1977
  const v = m - p;
1978
- this.onNavigate(h, d, v);
1978
+ this.onNavigate(u, d, v);
1979
1979
  } else
1980
- m === void 0 && e.findIndex((v) => v[a]) === e.length - 1 && this.onNavigate(h, d);
1980
+ m === void 0 && e.findIndex((v) => v[a]) === e.length - 1 && this.onNavigate(u, d);
1981
1981
  }
1982
- else if (!this.props.skipDisabledItems && u)
1983
- this.onNavigate(h, d);
1982
+ else if (!this.props.skipDisabledItems && h)
1983
+ this.onNavigate(u, d);
1984
1984
  else {
1985
1985
  let m = null;
1986
1986
  if (d === g.down || d === g.right)
@@ -1992,11 +1992,11 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
1992
1992
  }
1993
1993
  if (m) {
1994
1994
  const v = m.id - p - 1;
1995
- this.onNavigate(h, d, v);
1995
+ this.onNavigate(u, d, v);
1996
1996
  } else
1997
- this.onNavigate(h, d);
1997
+ this.onNavigate(u, d);
1998
1998
  }
1999
- this.applyState(h), f();
1999
+ this.applyState(u), f();
2000
2000
  }
2001
2001
  }, this.handleBlur = (t) => {
2002
2002
  if (this.state.focused) {
@@ -2041,25 +2041,25 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2041
2041
  * @hidden
2042
2042
  */
2043
2043
  get validityStyles() {
2044
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : $t.defaultProps.validityStyles;
2044
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : qt.defaultProps.validityStyles;
2045
2045
  }
2046
2046
  /**
2047
2047
  * @hidden
2048
2048
  */
2049
2049
  get required() {
2050
- return this.props.required !== void 0 ? this.props.required : $t.defaultProps.required;
2050
+ return this.props.required !== void 0 ? this.props.required : qt.defaultProps.required;
2051
2051
  }
2052
2052
  /**
2053
2053
  * @hidden
2054
2054
  */
2055
2055
  componentDidUpdate(i, t) {
2056
2056
  var f;
2057
- const { groupField: e = "", data: s = [] } = this.props, { data: n = [] } = i, a = this.focusedIndex(), p = s[a], c = n !== s, d = p !== void 0 && t.focusedItem !== p, r = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = i.opened !== void 0 ? i.opened : t.opened, h = !u && r;
2057
+ const { groupField: e = "", data: s = [] } = this.props, { data: n = [] } = i, a = this.focusedIndex(), p = s[a], c = n !== s, d = p !== void 0 && t.focusedItem !== p, r = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = i.opened !== void 0 ? i.opened : t.opened, u = !h && r;
2058
2058
  if (e === "")
2059
- (r && (d || c) || h) && this.base.scrollToItem(a);
2059
+ (r && (d || c) || u) && this.base.scrollToItem(a);
2060
2060
  else if (!this._isScrolling) {
2061
2061
  let m = (f = this.base.getGroupedDataModernMode(s, e)) == null ? void 0 : f.indexOf(p);
2062
- h && (s && s.length !== 0 && this.base.resetGroupStickyHeader(s[0][e], this), this.base.scrollToItem(m)), r && u && d && this.base.scrollToItem(m);
2062
+ u && (s && s.length !== 0 && this.base.resetGroupStickyHeader(s[0][e], this), this.base.scrollToItem(m)), r && h && d && this.base.scrollToItem(m);
2063
2063
  }
2064
2064
  this.setValidity();
2065
2065
  }
@@ -2073,35 +2073,35 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2073
2073
  * @hidden
2074
2074
  */
2075
2075
  render() {
2076
- const { dir: i, disabled: t, label: e, className: s, style: n, loading: a, suggest: p, size: c, rounded: d, fillMode: r } = this.props, u = !this.validityStyles || this.validity.valid, h = this.base, f = this.value, m = this.props.clearButton !== !1 && !a && !!f, v = this.props.id || this._inputId;
2076
+ const { dir: i, disabled: t, label: e, className: s, style: n, loading: a, suggest: p, size: c, rounded: d, fillMode: r } = this.props, h = !this.validityStyles || this.validity.valid, u = this.base, f = this.value, m = this.props.clearButton !== !1 && !a && !!f, v = this.props.id || this._inputId;
2077
2077
  typeof p == "string" && (this._suggested = p);
2078
- const [b, w] = qe(this.props.prefix || o.Fragment), [k, F] = qe(this.props.suffix || o.Fragment), O = /* @__PURE__ */ o.createElement(
2078
+ const [b, w] = Ne(this.props.prefix || o.Fragment), [k, D] = Ne(this.props.suffix || o.Fragment), O = /* @__PURE__ */ o.createElement(
2079
2079
  "span",
2080
2080
  {
2081
2081
  className: B(
2082
2082
  "k-autocomplete k-input",
2083
2083
  s,
2084
2084
  {
2085
- [`k-input-${ds[c] || c}`]: c,
2085
+ [`k-input-${rs[c] || c}`]: c,
2086
2086
  [`k-rounded-${li[d] || d}`]: d,
2087
2087
  [`k-input-${r}`]: r,
2088
- "k-invalid": !u,
2088
+ "k-invalid": !h,
2089
2089
  "k-loading": a,
2090
2090
  "k-required": this.required,
2091
2091
  "k-disabled": t
2092
2092
  }
2093
2093
  ),
2094
2094
  ref: (N) => {
2095
- this._element = N, h.wrapper = N;
2095
+ this._element = N, u.wrapper = N;
2096
2096
  },
2097
2097
  style: e ? { ...n, width: void 0 } : n,
2098
2098
  dir: i
2099
2099
  },
2100
- /* @__PURE__ */ o.createElement(b, { ...w }),
2100
+ this.props.prefix && /* @__PURE__ */ o.createElement(b, { ...w }),
2101
2101
  this.renderSearchBar(f || "", v),
2102
2102
  a && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2103
2103
  m && !a && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick, key: "clearbutton" }),
2104
- /* @__PURE__ */ o.createElement(k, { ...F }),
2104
+ this.props.suffix && /* @__PURE__ */ o.createElement(k, { ...D }),
2105
2105
  this.renderListContainer()
2106
2106
  );
2107
2107
  return e ? /* @__PURE__ */ o.createElement(
@@ -2110,7 +2110,7 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2110
2110
  label: e,
2111
2111
  editorId: v,
2112
2112
  editorValue: f,
2113
- editorValid: u,
2113
+ editorValid: h,
2114
2114
  editorDisabled: t,
2115
2115
  style: { width: n ? n.width : void 0 },
2116
2116
  children: O
@@ -2121,7 +2121,7 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2121
2121
  * @hidden
2122
2122
  */
2123
2123
  onNavigate(i, t, e) {
2124
- const s = this.value, { data: n = [], textField: a, focusedItemIndex: p } = this.props, c = this.state.focusedItem !== void 0 ? n.findIndex((r) => R(r, this.state.focusedItem, a)) : p ? p(n, s, a) : n.indexOf(rs(n, s, a)), d = this.base.navigation.navigate({
2124
+ const s = this.value, { data: n = [], textField: a, focusedItemIndex: p } = this.props, c = this.state.focusedItem !== void 0 ? n.findIndex((r) => R(r, this.state.focusedItem, a)) : p ? p(n, s, a) : n.indexOf(ls(n, s, a)), d = this.base.navigation.navigate({
2125
2125
  keyCode: t,
2126
2126
  current: c,
2127
2127
  max: n.length - 1,
@@ -2144,7 +2144,7 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2144
2144
  renderSearchBar(i, t) {
2145
2145
  const e = this.base, { placeholder: s, tabIndex: n, disabled: a, readonly: p } = this.props, { focused: c } = this.state, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
2146
2146
  return /* @__PURE__ */ o.createElement(
2147
- ts,
2147
+ es,
2148
2148
  {
2149
2149
  id: t,
2150
2150
  placeholder: s,
@@ -2182,16 +2182,16 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2182
2182
  groupField: p,
2183
2183
  list: c,
2184
2184
  groupStickyHeaderItemRender: d
2185
- } = this.props, r = i.getPopupSettings(), u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = r.width !== void 0 ? r.width : i.popupWidth;
2185
+ } = this.props, r = i.getPopupSettings(), h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = r.width !== void 0 ? r.width : i.popupWidth;
2186
2186
  let { group: f } = this.state;
2187
2187
  return f === void 0 && p !== void 0 && (f = V(n[0], p)), /* @__PURE__ */ o.createElement(
2188
- Dt,
2188
+ Ft,
2189
2189
  {
2190
- width: h,
2190
+ width: u,
2191
2191
  popupSettings: {
2192
2192
  animate: r.animate,
2193
2193
  anchor: this.element,
2194
- show: u,
2194
+ show: h,
2195
2195
  popupClass: B(
2196
2196
  r.popupClass,
2197
2197
  "k-list-container",
@@ -2210,11 +2210,11 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2210
2210
  className: B(
2211
2211
  "k-list",
2212
2212
  {
2213
- [`k-list-${ds[a] || a}`]: a
2213
+ [`k-list-${rs[a] || a}`]: a
2214
2214
  }
2215
2215
  )
2216
2216
  },
2217
- !c && f && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: f, groupMode: "modern", render: d }),
2217
+ !c && f && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: "modern", render: d }),
2218
2218
  this.renderList()
2219
2219
  ),
2220
2220
  s && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, s)
@@ -2262,7 +2262,7 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2262
2262
  }
2263
2263
  suggestValue(i) {
2264
2264
  if (this._suggested = "", i) {
2265
- const { data: t = [], textField: e } = this.props, s = t[Ve(t, i, e)];
2265
+ const { data: t = [], textField: e } = this.props, s = t[Be(t, i, e)];
2266
2266
  if (s) {
2267
2267
  const n = V(s, e);
2268
2268
  i.toLowerCase() !== n.toLowerCase() && (this._suggested = n.substring(i.length));
@@ -2276,12 +2276,12 @@ const ai = "Please enter a valid value!", { sizeMap: ds, roundedMap: li } = Ge,
2276
2276
  if (s)
2277
2277
  return s(t, a, e);
2278
2278
  {
2279
- const p = t.indexOf(rs(t, a, e));
2279
+ const p = t.indexOf(ls(t, a, e));
2280
2280
  return n && e && p === -1 ? t.findIndex((c) => !c.disabled && c[e]) : Math.max(0, p);
2281
2281
  }
2282
2282
  }
2283
2283
  };
2284
- let Mt = $t;
2284
+ let Mt = qt;
2285
2285
  Mt.displayName = "AutoComplete";
2286
2286
  Mt.propTypes = {
2287
2287
  ...oe.basicPropTypes,
@@ -2310,17 +2310,17 @@ Mt.defaultProps = {
2310
2310
  rounded: "medium",
2311
2311
  fillMode: "solid",
2312
2312
  skipDisabledItems: !0,
2313
- prefix: o.Fragment,
2314
- suffix: o.Fragment
2313
+ prefix: void 0,
2314
+ suffix: void 0
2315
2315
  };
2316
- const ri = Be(), di = Et(Ft(ri, Mt));
2316
+ const ri = Ke(), di = Et(Dt(ri, Mt));
2317
2317
  di.displayName = "KendoReactAutoComplete";
2318
2318
  const ci = (i) => i.syntheticEvent.preventDefault(), pi = (i) => i.syntheticEvent.stopPropagation();
2319
- class Cs extends o.Component {
2319
+ class xs extends o.Component {
2320
2320
  render() {
2321
2321
  const { data: t, guid: e, focused: s, tagRender: n, tag: a, onTagDelete: p, size: c } = this.props;
2322
2322
  return /* @__PURE__ */ o.createElement(o.Fragment, null, t.map((d, r) => {
2323
- const u = a ? /* @__PURE__ */ o.createElement(
2323
+ const h = a ? /* @__PURE__ */ o.createElement(
2324
2324
  a,
2325
2325
  {
2326
2326
  key: d.text + r,
@@ -2339,19 +2339,19 @@ class Cs extends o.Component {
2339
2339
  key: d.text + r,
2340
2340
  text: d.text,
2341
2341
  removable: !0,
2342
- onRemove: (h) => p.call(void 0, d.data, h.syntheticEvent),
2342
+ onRemove: (u) => p.call(void 0, d.data, u.syntheticEvent),
2343
2343
  onMouseDown: ci,
2344
2344
  onClick: pi,
2345
2345
  className: d === s ? "k-focus" : void 0,
2346
2346
  size: c
2347
2347
  }
2348
2348
  );
2349
- return n ? n(d, u) : u;
2349
+ return n ? n(d, h) : h;
2350
2350
  }), this.props.children);
2351
2351
  }
2352
2352
  }
2353
2353
  var it = /* @__PURE__ */ ((i) => (i[i.PopupList = 0] = "PopupList", i[i.TagsList = 1] = "TagsList", i))(it || {});
2354
- const cs = 500, ss = (i) => {
2354
+ const ds = 500, ts = (i) => {
2355
2355
  const {
2356
2356
  footer: t,
2357
2357
  children: e,
@@ -2362,17 +2362,17 @@ const cs = 500, ss = (i) => {
2362
2362
  animation: c,
2363
2363
  onClose: d,
2364
2364
  adaptiveTitle: r,
2365
- mobileFilter: u
2366
- } = i, h = {
2365
+ mobileFilter: h
2366
+ } = i, u = {
2367
2367
  navigatable: n || !1,
2368
2368
  navigatableElements: a || [],
2369
2369
  expand: p,
2370
2370
  animation: c !== !1,
2371
2371
  onClose: d,
2372
- animationStyles: s <= cs ? { top: 0, width: "100%", height: "100%" } : void 0,
2373
- className: s <= cs ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
2372
+ animationStyles: s <= ds ? { top: 0, width: "100%", height: "100%" } : void 0,
2373
+ className: s <= ds ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
2374
2374
  };
2375
- return /* @__PURE__ */ o.createElement(Qt, { ...h }, /* @__PURE__ */ o.createElement(Xt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, r)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
2375
+ return /* @__PURE__ */ o.createElement(Jt, { ...u }, /* @__PURE__ */ o.createElement(Qt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, r)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
2376
2376
  Te,
2377
2377
  {
2378
2378
  tabIndex: 0,
@@ -2384,7 +2384,7 @@ const cs = 500, ss = (i) => {
2384
2384
  svgIcon: lt,
2385
2385
  onClick: d
2386
2386
  }
2387
- ))), u && /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, u)), e, t && /* @__PURE__ */ o.createElement(Ks, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ o.createElement(
2387
+ ))), h && /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, h)), e, t && /* @__PURE__ */ o.createElement(Ks, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ o.createElement(
2388
2388
  Te,
2389
2389
  {
2390
2390
  size: "large",
@@ -2408,7 +2408,7 @@ const cs = 500, ss = (i) => {
2408
2408
  },
2409
2409
  t.applyText
2410
2410
  )));
2411
- }, { sizeMap: It, roundedMap: ui } = Ge, hi = "Please enter a valid value!", ps = (i) => i.preventDefault(), us = (i) => i === 2, Gt = class extends o.Component {
2411
+ }, { sizeMap: It, roundedMap: hi } = Ge, ui = "Please enter a valid value!", cs = (i) => i.preventDefault(), ps = (i) => i === 2, $t = class extends o.Component {
2412
2412
  constructor(i) {
2413
2413
  super(i), this.state = {
2414
2414
  activedescendant: it.PopupList,
@@ -2416,8 +2416,8 @@ const cs = 500, ss = (i) => {
2416
2416
  }, this._element = null, this._valueItemsDuringOnChange = null, this.base = new oe(this), this._tags = [], this._input = null, this._adaptiveInput = null, this._skipFocusEvent = !1, this._lastSelectedOrDeslectedItemIndex = null, this.itemHeight = 0, this.scrollToFocused = !1, this.localization = null, this.focus = () => {
2417
2417
  this._input && this._input.focus();
2418
2418
  }, this.handleItemSelect = (t, e) => {
2419
- const { data: s = [], dataItemKey: n, virtual: a } = this.props, p = a ? a.skip : 0, c = s[t - p], d = this.value.findIndex((h) => R(h, c, n));
2420
- this._lastSelectedOrDeslectedItemIndex = s.findIndex((h) => R(h, c, n));
2419
+ const { data: s = [], dataItemKey: n, virtual: a } = this.props, p = a ? a.skip : 0, c = s[t - p], d = this.value.findIndex((u) => R(u, c, n));
2420
+ this._lastSelectedOrDeslectedItemIndex = s.findIndex((u) => R(u, c, n));
2421
2421
  let r = [];
2422
2422
  d !== -1 ? (r = this.value, r.splice(d, 1)) : r = [...this.value, c], (this.props.filter !== void 0 ? this.props.filter : this.state.text) && !this.mobileMode && (this.state.text && (e.data.text = ""), this.base.filterChanged("", e)), this._adaptiveInput && this._adaptiveInput.blur(), this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.triggerOnChange(r, e), this.base.triggerPageChangeCornerItems(c, e);
2423
2423
  }, this.onTagDelete = (t, e) => {
@@ -2426,8 +2426,8 @@ const cs = 500, ss = (i) => {
2426
2426
  const n = this.value;
2427
2427
  bt(n, t, this.props.dataItemKey), this.triggerOnChange(n, s), this.applyState(s);
2428
2428
  }, this.itemFocus = (t, e) => {
2429
- const { data: s = [], allowCustom: n, virtual: a } = this.props, p = a ? a.skip : 0, c = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedIndex: d } = this.getFocusedState(), r = n && c, u = s[t - p];
2430
- u && d !== t ? this.state.focusedIndex !== t && (e.data.focusedIndex = t, e.data.activedescendant = it.PopupList) : r && t === -1 && this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.base.triggerPageChangeCornerItems(u, e);
2429
+ const { data: s = [], allowCustom: n, virtual: a } = this.props, p = a ? a.skip : 0, c = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedIndex: d } = this.getFocusedState(), r = n && c, h = s[t - p];
2430
+ h && d !== t ? this.state.focusedIndex !== t && (e.data.focusedIndex = t, e.data.activedescendant = it.PopupList) : r && t === -1 && this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.base.triggerPageChangeCornerItems(h, e);
2431
2431
  }, this.componentRef = (t) => {
2432
2432
  this._element = t, this.base.wrapper = t;
2433
2433
  }, this.searchbarRef = (t) => {
@@ -2442,11 +2442,11 @@ const cs = 500, ss = (i) => {
2442
2442
  const s = this.props.filter !== void 0 ? this.props.filter : this.state.text;
2443
2443
  U(s) && s !== "" && this.base.filterChanged("", e), this.state.text && (e.data.text = ""), this._lastSelectedOrDeslectedItemIndex = null, this.applyState(e);
2444
2444
  }, this.onInputKeyDown = (t) => {
2445
- const { data: e = [], textField: s, groupField: n } = this.props, a = t.keyCode, p = this.props.filter !== void 0 ? this.props.filter : this.state.text, c = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { focusedItem: d, focusedIndex: r } = this.getFocusedState(), u = this.base.initState();
2446
- if (u.syntheticEvent = t, !p && this.value.length > 0 && (a === g.left || a === g.right || a === g.home || a === g.end || a === g.delete || a === g.backspace) && !t.shiftKey)
2447
- return this.onTagsNavigate(t, u);
2448
- const h = () => {
2449
- t.preventDefault(), this.base.togglePopup(u), this.applyState(u);
2445
+ const { data: e = [], textField: s, groupField: n } = this.props, a = t.keyCode, p = this.props.filter !== void 0 ? this.props.filter : this.state.text, c = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { focusedItem: d, focusedIndex: r } = this.getFocusedState(), h = this.base.initState();
2446
+ if (h.syntheticEvent = t, !p && this.value.length > 0 && (a === g.left || a === g.right || a === g.home || a === g.end || a === g.delete || a === g.backspace) && !t.shiftKey)
2447
+ return this.onTagsNavigate(t, h);
2448
+ const u = () => {
2449
+ t.preventDefault(), this.base.togglePopup(h), this.applyState(h);
2450
2450
  };
2451
2451
  if (this.opened)
2452
2452
  if (a === g.pageUp)
@@ -2455,27 +2455,27 @@ const cs = 500, ss = (i) => {
2455
2455
  this.base.scrollPopupByPageSize(1);
2456
2456
  else if ((t.ctrlKey || t.metaKey) && t.code === "KeyA") {
2457
2457
  const m = (this.state.value && this.state.value.length) === e.length ? [] : e;
2458
- this.updateStateOnKeyboardNavigation(m, u);
2458
+ this.updateStateOnKeyboardNavigation(m, h);
2459
2459
  } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === g.end) {
2460
2460
  const f = e.slice(this.getFocusedState().focusedIndex);
2461
- this.itemFocus(e.length - 1, u), this.updateStateOnKeyboardNavigation(f, u);
2461
+ this.itemFocus(e.length - 1, h), this.updateStateOnKeyboardNavigation(f, h);
2462
2462
  } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === g.home) {
2463
2463
  const f = e.slice(0, this.getFocusedState().focusedIndex + 1);
2464
- this.itemFocus(0, u), this.updateStateOnKeyboardNavigation(f, u);
2464
+ this.itemFocus(0, h), this.updateStateOnKeyboardNavigation(f, h);
2465
2465
  } else if (t.shiftKey && t.keyCode === g.up) {
2466
2466
  let f;
2467
2467
  const m = this.getLastSelectedOrDeselectedIndex(1, r);
2468
- m === null ? f = r !== 0 ? e.slice(r - 1, r) : [e[r]] : m === r ? f = [e[m - 1]] : r >= 0 && (f = m > r ? e.slice(r - 1, m) : e.slice(m - 1, r)), f && f.length > 0 && (r >= 1 && this.itemFocus(r - 1, u), this.updateStateOnKeyboardNavigation(f, u));
2468
+ m === null ? f = r !== 0 ? e.slice(r - 1, r) : [e[r]] : m === r ? f = [e[m - 1]] : r >= 0 && (f = m > r ? e.slice(r - 1, m) : e.slice(m - 1, r)), f && f.length > 0 && (r >= 1 && this.itemFocus(r - 1, h), this.updateStateOnKeyboardNavigation(f, h));
2469
2469
  } else if (t.shiftKey && t.keyCode === g.down) {
2470
2470
  let f;
2471
2471
  const m = this.getLastSelectedOrDeselectedIndex(0, r);
2472
- m === null ? f = r !== e.length - 1 ? e.slice(r, r + 1) : [e[r]] : m === r ? f = e.slice(r, r + 2) : r >= 0 && (f = m > r ? e.slice(r + 1, m + 1) : e.slice(m, r + 2)), f && f.length >= 1 && (this.itemFocus(r + 1, u), this.updateStateOnKeyboardNavigation(f, u));
2472
+ m === null ? f = r !== e.length - 1 ? e.slice(r, r + 1) : [e[r]] : m === r ? f = e.slice(r, r + 2) : r >= 0 && (f = m > r ? e.slice(r + 1, m + 1) : e.slice(m, r + 2)), f && f.length >= 1 && (this.itemFocus(r + 1, h), this.updateStateOnKeyboardNavigation(f, h));
2473
2473
  } else if (t.altKey && a === g.up)
2474
- h();
2474
+ u();
2475
2475
  else if (a === g.up || a === g.down) {
2476
2476
  if (n !== "" && s)
2477
2477
  if (!this.props.skipDisabledItems && c)
2478
- this.onNavigate(u, a);
2478
+ this.onNavigate(h, a);
2479
2479
  else {
2480
2480
  let f = 0;
2481
2481
  if (a === g.down || a === g.right) {
@@ -2495,12 +2495,12 @@ const cs = 500, ss = (i) => {
2495
2495
  }
2496
2496
  if (f) {
2497
2497
  const m = f - r;
2498
- this.onNavigate(u, a, m);
2498
+ this.onNavigate(h, a, m);
2499
2499
  } else
2500
- f !== void 0 && this.onNavigate(u, a);
2500
+ f !== void 0 && this.onNavigate(h, a);
2501
2501
  }
2502
2502
  else if (!this.props.skipDisabledItems && c)
2503
- this.onNavigate(u, a);
2503
+ this.onNavigate(h, a);
2504
2504
  else {
2505
2505
  let f = null;
2506
2506
  if (a === g.down || a === g.right)
@@ -2512,17 +2512,17 @@ const cs = 500, ss = (i) => {
2512
2512
  }
2513
2513
  if (f) {
2514
2514
  const m = f.id - r - 1;
2515
- this.onNavigate(u, a, m);
2515
+ this.onNavigate(h, a, m);
2516
2516
  } else
2517
- this.onNavigate(u, a);
2517
+ this.onNavigate(h, a);
2518
2518
  }
2519
- this.applyState(u), t.preventDefault();
2519
+ this.applyState(h), t.preventDefault();
2520
2520
  } else
2521
- a === g.enter ? (t.preventDefault(), this.props.allowCustom && p && d === null ? this.customItemSelect(t) : d && d.disabled ? h() : this.selectFocusedItem(t)) : a === g.esc && h();
2521
+ a === g.enter ? (t.preventDefault(), this.props.allowCustom && p && d === null ? this.customItemSelect(t) : d && d.disabled ? u() : this.selectFocusedItem(t)) : a === g.esc && u();
2522
2522
  else
2523
- t.altKey && a === g.down && h();
2523
+ t.altKey && a === g.down && u();
2524
2524
  }, this.listContainerContent = () => {
2525
- const { header: t, footer: e, allowCustom: s, size: n, data: a = [], groupStickyHeaderItemRender: p, groupField: c, list: d } = this.props, r = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedType: u } = this.getFocusedState(), h = s && r && /* @__PURE__ */ o.createElement(
2525
+ const { header: t, footer: e, allowCustom: s, size: n, data: a = [], groupStickyHeaderItemRender: p, groupField: c, list: d } = this.props, r = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedType: h } = this.getFocusedState(), u = s && r && /* @__PURE__ */ o.createElement(
2526
2526
  "div",
2527
2527
  {
2528
2528
  className: B("k-list", {
@@ -2530,12 +2530,12 @@ const cs = 500, ss = (i) => {
2530
2530
  }),
2531
2531
  key: "customitem",
2532
2532
  onClick: this.customItemSelect,
2533
- onMouseDown: ps
2533
+ onMouseDown: cs
2534
2534
  },
2535
2535
  /* @__PURE__ */ o.createElement(
2536
2536
  "div",
2537
2537
  {
2538
- className: B("k-list-item k-custom-item", { "k-focus": us(u) }),
2538
+ className: B("k-list-item k-custom-item", { "k-focus": ps(h) }),
2539
2539
  style: { fontStyle: "italic" }
2540
2540
  },
2541
2541
  r,
@@ -2543,7 +2543,7 @@ const cs = 500, ss = (i) => {
2543
2543
  )
2544
2544
  );
2545
2545
  let { group: f } = this.state;
2546
- return f === void 0 && c !== void 0 && (f = V(a[0], c)), /* @__PURE__ */ o.createElement(o.Fragment, null, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), h, /* @__PURE__ */ o.createElement(
2546
+ return f === void 0 && c !== void 0 && (f = V(a[0], c)), /* @__PURE__ */ o.createElement(o.Fragment, null, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), u, /* @__PURE__ */ o.createElement(
2547
2547
  "div",
2548
2548
  {
2549
2549
  className: B(
@@ -2554,7 +2554,7 @@ const cs = 500, ss = (i) => {
2554
2554
  }
2555
2555
  )
2556
2556
  },
2557
- !d && f && a.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: f, groupMode: "modern", render: p }),
2557
+ !d && f && a.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: "modern", render: p }),
2558
2558
  this.renderList()
2559
2559
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e));
2560
2560
  }, this.renderListContainer = () => {
@@ -2577,12 +2577,12 @@ const cs = 500, ss = (i) => {
2577
2577
  },
2578
2578
  itemsCount: [s.length, this.value.length]
2579
2579
  };
2580
- return /* @__PURE__ */ o.createElement(Dt, { ...p }, this.listContainerContent());
2580
+ return /* @__PURE__ */ o.createElement(Ft, { ...p }, this.listContainerContent());
2581
2581
  }, this.renderAdaptiveListContainer = () => {
2582
2582
  const { adaptiveTitle: t, filterable: e, filter: s } = this.props, { windowWidth: n = 0 } = this.state, a = s !== void 0 ? s : this.state.text;
2583
- this.localization = Ae(this);
2583
+ this.localization = We(this);
2584
2584
  const p = e ? /* @__PURE__ */ o.createElement(
2585
- Re,
2585
+ Ve,
2586
2586
  {
2587
2587
  value: a,
2588
2588
  ref: (d) => this._adaptiveInput = d && d.element,
@@ -2605,7 +2605,7 @@ const cs = 500, ss = (i) => {
2605
2605
  onApply: this.closePopup
2606
2606
  }
2607
2607
  };
2608
- return /* @__PURE__ */ o.createElement(ss, { ...c }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, this.listContainerContent())));
2608
+ return /* @__PURE__ */ o.createElement(ts, { ...c }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, this.listContainerContent())));
2609
2609
  }, this.closePopup = (t) => {
2610
2610
  const e = this.base.initState();
2611
2611
  e.syntheticEvent = t, t.stopPropagation(), this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.opened && this.base.togglePopup(e), e.events.push({ type: "onClose" });
@@ -2625,7 +2625,7 @@ const cs = 500, ss = (i) => {
2625
2625
  groupHeaderItemRender: a,
2626
2626
  dataItemKey: p,
2627
2627
  virtual: c = { skip: 0, total: void 0 }
2628
- } = this.props, d = this.base.vs, { focusedIndex: r } = this.getFocusedState(), u = this.base.getPopupSettings(), h = `translateY(${d.translate}px)`;
2628
+ } = this.props, d = this.base.vs, { focusedIndex: r } = this.getFocusedState(), h = this.base.getPopupSettings(), u = `translateY(${d.translate}px)`;
2629
2629
  return /* @__PURE__ */ o.createElement(
2630
2630
  je,
2631
2631
  {
@@ -2642,16 +2642,16 @@ const cs = 500, ss = (i) => {
2642
2642
  listRef: (f) => {
2643
2643
  d.list = this.base.list = f;
2644
2644
  },
2645
- wrapperStyle: this.mobileMode ? {} : { maxHeight: u.height },
2645
+ wrapperStyle: this.mobileMode ? {} : { maxHeight: h.height },
2646
2646
  wrapperCssClass: "k-list-content",
2647
- listStyle: d.enabled ? { transform: h } : void 0,
2647
+ listStyle: d.enabled ? { transform: u } : void 0,
2648
2648
  key: "listKey",
2649
2649
  skip: c.skip,
2650
2650
  onClick: this.handleItemClick,
2651
2651
  itemRender: n,
2652
2652
  groupHeaderItemRender: a,
2653
2653
  noDataRender: s,
2654
- onMouseDown: ps,
2654
+ onMouseDown: cs,
2655
2655
  onBlur: this.handleBlur,
2656
2656
  onScroll: this.onScroll,
2657
2657
  wrapperRef: d.scrollerRef,
@@ -2668,8 +2668,8 @@ const cs = 500, ss = (i) => {
2668
2668
  const p = this.itemHeight = this.itemHeight || (e.enabled ? e.itemHeight : s ? s.children[0].offsetHeight : 0), d = t.target.scrollTop - e.skip * p;
2669
2669
  a = this.base.getGroupedDataModernMode(a, n);
2670
2670
  let r = a[0][n];
2671
- for (let u = 1; u < a.length && !(p * u > d); u++)
2672
- a[u] && a[u][n] && (r = a[u][n]);
2671
+ for (let h = 1; h < a.length && !(p * h > d); h++)
2672
+ a[h] && a[h][n] && (r = a[h][n]);
2673
2673
  r !== this.state.group && this.setState({
2674
2674
  group: r
2675
2675
  });
@@ -2707,7 +2707,7 @@ const cs = 500, ss = (i) => {
2707
2707
  }, 0);
2708
2708
  }, this.setValidity = () => {
2709
2709
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
2710
- this.validity.valid ? "" : this.props.validationMessage || hi
2710
+ this.validity.valid ? "" : this.props.validationMessage || ui
2711
2711
  );
2712
2712
  }, $e(Ye);
2713
2713
  }
@@ -2766,20 +2766,20 @@ const cs = 500, ss = (i) => {
2766
2766
  }
2767
2767
  /** @hidden */
2768
2768
  get required() {
2769
- return this.props.required !== void 0 ? this.props.required : Gt.defaultProps.required;
2769
+ return this.props.required !== void 0 ? this.props.required : $t.defaultProps.required;
2770
2770
  }
2771
2771
  get validityStyles() {
2772
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : Gt.defaultProps.validityStyles;
2772
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : $t.defaultProps.validityStyles;
2773
2773
  }
2774
2774
  /** @hidden */
2775
2775
  componentDidUpdate(i, t) {
2776
- var h;
2776
+ var u;
2777
2777
  const { virtual: e, groupField: s = "", data: n = [] } = this.props, a = e ? e.skip : 0, p = i.virtual ? i.virtual.total : 0, c = i.opened !== void 0 ? i.opened : t.opened, d = !c && this.opened, r = c && !this.opened;
2778
2778
  if (!this.base.getPopupSettings().animate && r && this.onPopupClosed(), e && e.total !== p)
2779
2779
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
2780
2780
  else {
2781
2781
  let { focusedItem: f, focusedIndex: m } = this.getFocusedState();
2782
- s !== "" && (m = (h = this.base.getGroupedDataModernMode(n, s)) == null ? void 0 : h.indexOf(f)), d && e ? this.base.scrollToVirtualItem(e, m - a) : d && !e ? (n && n.length !== 0 && this.base.resetGroupStickyHeader(n[0][s], this), this.base.scrollToItem(m)) : this.opened && c && f && this.scrollToFocused && this.base.scrollToItem(m - a);
2782
+ s !== "" && (m = (u = this.base.getGroupedDataModernMode(n, s)) == null ? void 0 : u.indexOf(f)), d && e ? this.base.scrollToVirtualItem(e, m - a) : d && !e ? (n && n.length !== 0 && this.base.resetGroupStickyHeader(n[0][s], this), this.base.scrollToItem(m)) : this.opened && c && f && this.scrollToFocused && this.base.scrollToItem(m - a);
2783
2783
  }
2784
2784
  this.scrollToFocused = !1, this.setValidity();
2785
2785
  }
@@ -2795,14 +2795,14 @@ const cs = 500, ss = (i) => {
2795
2795
  }
2796
2796
  /** @hidden */
2797
2797
  onNavigate(i, t, e) {
2798
- const { allowCustom: s, data: n = [] } = this.props, a = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedType: p, focusedIndex: c } = this.getFocusedState(), d = s && a, r = us(p), u = this.base, h = u.vs;
2798
+ const { allowCustom: s, data: n = [] } = this.props, a = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedType: p, focusedIndex: c } = this.getFocusedState(), d = s && a, r = ps(p), h = this.base, u = h.vs;
2799
2799
  if (this.opened && t === g.up && r)
2800
2800
  this.state.focusedIndex !== void 0 && (i.data.focusedIndex = void 0);
2801
2801
  else {
2802
- const f = u.navigation.navigate({
2802
+ const f = h.navigation.navigate({
2803
2803
  keyCode: t,
2804
2804
  current: c,
2805
- max: (h.enabled ? h.total : n.length) - 1,
2805
+ max: (u.enabled ? u.total : n.length) - 1,
2806
2806
  min: d ? -1 : 0,
2807
2807
  skipItems: e || void 0
2808
2808
  });
@@ -2823,25 +2823,25 @@ const cs = 500, ss = (i) => {
2823
2823
  virtual: c,
2824
2824
  size: d,
2825
2825
  rounded: r,
2826
- fillMode: u,
2827
- loading: h,
2826
+ fillMode: h,
2827
+ loading: u,
2828
2828
  filter: f
2829
- } = this.props, { text: m, focused: v, focusedTag: b, currentValue: w } = this.state, k = this.base.vs, F = this.props.id || this._inputId;
2829
+ } = this.props, { text: m, focused: v, focusedTag: b, currentValue: w } = this.state, k = this.base.vs, D = this.props.id || this._inputId;
2830
2830
  k.enabled = c !== void 0, c !== void 0 && (k.skip = c.skip, k.total = c.total, k.pageSize = c.pageSize);
2831
2831
  const O = this.mobileMode && this.opened ? w : this.tagsToRender;
2832
2832
  this.setItems(this.tagsToRender, this._tags);
2833
- const N = !this.validityStyles || this.validity.valid, _ = !!(f !== void 0 ? f : m) || O && O.length > 0, [S, T] = qe(this.props.prefix || o.Fragment), [C, E] = qe(this.props.suffix || o.Fragment), M = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
2833
+ const N = !this.validityStyles || this.validity.valid, _ = !!(f !== void 0 ? f : m) || O && O.length > 0, [S, T] = Ne(this.props.prefix || o.Fragment), [C, E] = Ne(this.props.suffix || o.Fragment), M = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
2834
2834
  "div",
2835
2835
  {
2836
2836
  ref: this.componentRef,
2837
2837
  className: B("k-multiselect k-input", t, {
2838
2838
  [`k-input-${It[d] || d}`]: d,
2839
- [`k-rounded-${ui[r] || r}`]: r,
2840
- [`k-input-${u}`]: u,
2839
+ [`k-rounded-${hi[r] || r}`]: r,
2840
+ [`k-input-${h}`]: h,
2841
2841
  "k-focus": v && !n,
2842
2842
  "k-invalid": !N,
2843
2843
  "k-disabled": n,
2844
- "k-loading": h,
2844
+ "k-loading": u,
2845
2845
  "k-required": this.required
2846
2846
  }),
2847
2847
  style: e ? { ...i, width: void 0 } : i,
@@ -2851,7 +2851,7 @@ const cs = 500, ss = (i) => {
2851
2851
  onClick: this.handleWrapperClick,
2852
2852
  onMouseDown: qs
2853
2853
  },
2854
- /* @__PURE__ */ o.createElement(S, { ...T }),
2854
+ this.props.prefix && /* @__PURE__ */ o.createElement(S, { ...T }),
2855
2855
  /* @__PURE__ */ o.createElement("div", { className: B("k-input-values") }, /* @__PURE__ */ o.createElement(
2856
2856
  "div",
2857
2857
  {
@@ -2863,7 +2863,7 @@ const cs = 500, ss = (i) => {
2863
2863
  id: "tagslist-" + this.base.guid
2864
2864
  },
2865
2865
  O && O.length > 0 && /* @__PURE__ */ o.createElement(
2866
- Cs,
2866
+ xs,
2867
2867
  {
2868
2868
  tagRender: this.props.tagRender,
2869
2869
  onTagDelete: this.onTagDelete,
@@ -2873,9 +2873,9 @@ const cs = 500, ss = (i) => {
2873
2873
  size: d
2874
2874
  }
2875
2875
  )
2876
- ), this.renderSearchBar(F)),
2877
- h && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2878
- /* @__PURE__ */ o.createElement(C, { ...E }),
2876
+ ), this.renderSearchBar(D)),
2877
+ u && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2878
+ this.props.suffix && /* @__PURE__ */ o.createElement(C, { ...E }),
2879
2879
  _ && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick }),
2880
2880
  !this.mobileMode && this.renderListContainer()
2881
2881
  ), this.mobileMode && this.renderAdaptiveListContainer());
@@ -2883,7 +2883,7 @@ const cs = 500, ss = (i) => {
2883
2883
  Ue,
2884
2884
  {
2885
2885
  label: e,
2886
- editorId: F,
2886
+ editorId: D,
2887
2887
  editorValue: m || V(this.value[0], a),
2888
2888
  editorValid: N,
2889
2889
  editorDisabled: n,
@@ -2893,15 +2893,15 @@ const cs = 500, ss = (i) => {
2893
2893
  ) : M;
2894
2894
  }
2895
2895
  renderSearchBar(i) {
2896
- const { activedescendant: t, focusedTag: e, currentValue: s } = this.state, { disabled: n, placeholder: a, ariaDescribedBy: p } = this.props, c = !this.mobileMode && (this.props.filter !== void 0 ? this.props.filter : this.state.text) || "", { focusedIndex: d } = this.getFocusedState(), r = this.value.length === 0 && !c ? a : void 0, u = s && s.length > 0 ? void 0 : a, h = t === it.TagsList && e !== void 0 ? `tag-${this.base.guid}-${e.text.replace(/\s+/g, "-")}` : `option-${this.base.guid}-${d}`;
2896
+ const { activedescendant: t, focusedTag: e, currentValue: s } = this.state, { disabled: n, placeholder: a, ariaDescribedBy: p } = this.props, c = !this.mobileMode && (this.props.filter !== void 0 ? this.props.filter : this.state.text) || "", { focusedIndex: d } = this.getFocusedState(), r = this.value.length === 0 && !c ? a : void 0, h = s && s.length > 0 ? void 0 : a, u = t === it.TagsList && e !== void 0 ? `tag-${this.base.guid}-${e.text.replace(/\s+/g, "-")}` : `option-${this.base.guid}-${d}`;
2897
2897
  return /* @__PURE__ */ o.createElement(
2898
- ts,
2898
+ es,
2899
2899
  {
2900
2900
  id: i,
2901
2901
  size: Math.max((r || "").length, c.length, 1),
2902
2902
  tabIndex: this.props.tabIndex,
2903
2903
  accessKey: this.props.accessKey,
2904
- placeholder: this.mobileMode && this.opened ? u : r,
2904
+ placeholder: this.mobileMode && this.opened ? h : r,
2905
2905
  value: c,
2906
2906
  onChange: this.onChangeHandler,
2907
2907
  onKeyDown: this.onInputKeyDown,
@@ -2910,7 +2910,7 @@ const cs = 500, ss = (i) => {
2910
2910
  expanded: this.opened,
2911
2911
  owns: this.base.listBoxId,
2912
2912
  role: "combobox",
2913
- activedescendant: h,
2913
+ activedescendant: u,
2914
2914
  ariaDescribedBy: `tagslist-${this.base.guid}${p ? " " + p : ""}`,
2915
2915
  ariaLabelledBy: this.props.ariaLabelledBy,
2916
2916
  ariaRequired: this.required
@@ -2939,8 +2939,8 @@ const cs = 500, ss = (i) => {
2939
2939
  if (d)
2940
2940
  bt(r, n[p].data, a), this.triggerOnChange(r, t);
2941
2941
  else if (!d && n.length) {
2942
- const u = n.pop();
2943
- bt(r, u.data, a), this.triggerOnChange(r, t);
2942
+ const h = n.pop();
2943
+ bt(r, h.data, a), this.triggerOnChange(r, t);
2944
2944
  }
2945
2945
  }
2946
2946
  c !== s && (t.data.focusedTag = c, t.data.activedescendant = it.TagsList), this.applyState(t);
@@ -2956,8 +2956,8 @@ const cs = 500, ss = (i) => {
2956
2956
  t.length = 0, t.push(...i);
2957
2957
  }
2958
2958
  getFocusedState() {
2959
- const { focusedIndex: i } = this.state, t = this.props.filter !== void 0 ? this.props.filter : this.state.text, { allowCustom: e, data: s = [], dataItemKey: n, virtual: a, textField: p, focusedItemIndex: c = Ve, skipDisabledItems: d } = this.props, r = a && a.skip || 0;
2960
- let u;
2959
+ const { focusedIndex: i } = this.state, t = this.props.filter !== void 0 ? this.props.filter : this.state.text, { allowCustom: e, data: s = [], dataItemKey: n, virtual: a, textField: p, focusedItemIndex: c = Be, skipDisabledItems: d } = this.props, r = a && a.skip || 0;
2960
+ let h;
2961
2961
  if (i !== void 0)
2962
2962
  return {
2963
2963
  focusedIndex: i,
@@ -2965,7 +2965,7 @@ const cs = 500, ss = (i) => {
2965
2965
  focusedType: 1
2966
2966
  /* ListItem */
2967
2967
  };
2968
- const h = this.value;
2968
+ const u = this.value;
2969
2969
  if (e && t)
2970
2970
  return {
2971
2971
  focusedItem: null,
@@ -2974,17 +2974,17 @@ const cs = 500, ss = (i) => {
2974
2974
  /* CustomItem */
2975
2975
  };
2976
2976
  if (t)
2977
- return u = c(s, t, p), {
2978
- focusedItem: s[u],
2979
- focusedIndex: u + r,
2977
+ return h = c(s, t, p), {
2978
+ focusedItem: s[h],
2979
+ focusedIndex: h + r,
2980
2980
  focusedType: 1
2981
2981
  /* ListItem */
2982
2982
  };
2983
- if (h.length) {
2984
- const f = h[h.length - 1];
2985
- return u = s.findIndex((m) => R(m, f, n)), s[u] !== void 0 ? {
2986
- focusedIndex: u + r,
2987
- focusedItem: s[u],
2983
+ if (u.length) {
2984
+ const f = u[u.length - 1];
2985
+ return h = s.findIndex((m) => R(m, f, n)), s[h] !== void 0 ? {
2986
+ focusedIndex: h + r,
2987
+ focusedItem: s[h],
2988
2988
  focusedType: 1
2989
2989
  /* ListItem */
2990
2990
  } : { focusedType: 0, focusedIndex: -1 };
@@ -3033,7 +3033,7 @@ const cs = 500, ss = (i) => {
3033
3033
  return this._lastSelectedOrDeslectedItemIndex === null && (this._lastSelectedOrDeslectedItemIndex = t), this._lastSelectedOrDeslectedItemIndex !== null ? this._lastSelectedOrDeslectedItemIndex + i : null;
3034
3034
  }
3035
3035
  };
3036
- let Nt = Gt;
3036
+ let Nt = $t;
3037
3037
  Nt.displayName = "MultiSelect";
3038
3038
  Nt.propTypes = {
3039
3039
  ...oe.propTypes,
@@ -3066,10 +3066,10 @@ Nt.defaultProps = {
3066
3066
  fillMode: "solid",
3067
3067
  groupMode: "modern",
3068
3068
  skipDisabledItems: !0,
3069
- prefix: o.Fragment,
3070
- suffix: o.Fragment
3069
+ prefix: void 0,
3070
+ suffix: void 0
3071
3071
  };
3072
- const fi = Be(), gi = Et(Ft(fi, Nt));
3072
+ const fi = Ke(), gi = Et(Dt(fi, Nt));
3073
3073
  gi.displayName = "KendoReactMultiSelect";
3074
3074
  const mi = (i) => /* @__PURE__ */ o.createElement(
3075
3075
  je,
@@ -3084,21 +3084,21 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3084
3084
  ),
3085
3085
  listStyle: { ...i.listStyle }
3086
3086
  }
3087
- ), vi = (i, t) => i ? typeof i == "number" ? i + "px" : i : t, bi = Be(), is = o.forwardRef((i, t) => {
3088
- const e = jt(bi, i), s = o.useRef(null), n = o.useRef(null), a = Ds(), {
3089
- columns: p = He.columns,
3090
- popupSettings: c = He.popupSettings,
3087
+ ), vi = (i, t) => i ? typeof i == "number" ? i + "px" : i : t, bi = Ke(), ss = o.forwardRef((i, t) => {
3088
+ const e = Ut(bi, i), s = o.useRef(null), n = o.useRef(null), a = Fs(), {
3089
+ columns: p = Ae.columns,
3090
+ popupSettings: c = Ae.popupSettings,
3091
3091
  className: d,
3092
3092
  size: r,
3093
- prefix: u = o.Fragment,
3094
- suffix: h = o.Fragment,
3093
+ prefix: h = void 0,
3094
+ suffix: u = void 0,
3095
3095
  onOpen: f,
3096
3096
  onClose: m,
3097
3097
  onFocus: v,
3098
3098
  onBlur: b,
3099
3099
  onChange: w,
3100
3100
  onFilterChange: k,
3101
- onPageChange: F,
3101
+ onPageChange: D,
3102
3102
  ...O
3103
3103
  } = e;
3104
3104
  o.useImperativeHandle(s, () => ({
@@ -3120,7 +3120,7 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3120
3120
  return V(e.data[0], e.groupField);
3121
3121
  },
3122
3122
  [e.data, e.groupField]
3123
- ), [_, S] = o.useState(N), [T, C] = o.useState(!0), [E] = Lt(u), [M] = Lt(h), H = o.useMemo(
3123
+ ), [_, S] = o.useState(N), [T, C] = o.useState(!0), [E] = h ? Ne(e.prefix || o.Fragment) : [], [M] = u ? Ne(e.suffix || o.Fragment) : [], H = o.useMemo(
3124
3124
  () => {
3125
3125
  const P = /* @__PURE__ */ o.createElement("th", { className: "k-table-th", colSpan: p.length }, _);
3126
3126
  return /* @__PURE__ */ o.createElement(o.Fragment, null, e.header, /* @__PURE__ */ o.createElement("div", { className: "k-table-header-wrap" }, /* @__PURE__ */ o.createElement("table", { className: "k-table", role: "presentation" }, /* @__PURE__ */ o.createElement("colgroup", null, p.map(
@@ -3128,7 +3128,7 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3128
3128
  "col",
3129
3129
  {
3130
3130
  key: q.uniqueKey ? q.uniqueKey : be,
3131
- style: { width: q.width ? q.width : He.width }
3131
+ style: { width: q.width ? q.width : Ae.width }
3132
3132
  }
3133
3133
  )
3134
3134
  )), /* @__PURE__ */ o.createElement("thead", { className: "k-table-thead" }, /* @__PURE__ */ o.createElement("tr", { className: "k-table-row" }, p.map((q, be) => /* @__PURE__ */ o.createElement("th", { className: "k-table-th", key: q.uniqueKey ? q.uniqueKey : be }, q.header || " "))), _ && T && /* @__PURE__ */ o.createElement("tr", { className: "k-table-group-row" }, e.groupStickyHeaderItemRender ? e.groupStickyHeaderItemRender.call(void 0, P, {}) : P)))));
@@ -3137,7 +3137,7 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3137
3137
  ), J = o.useMemo(
3138
3138
  () => (
3139
3139
  // These additional 4px are coming from the child elements side borders (fixes horizontal scrollbar)
3140
- `calc(${p.map((P) => vi(P.width, He.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3140
+ `calc(${p.map((P) => vi(P.width, Ae.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3141
3141
  ),
3142
3142
  [p, a]
3143
3143
  ), j = e.virtual ? e.virtual.skip : 0, Y = o.useCallback(
@@ -3146,7 +3146,7 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3146
3146
  "span",
3147
3147
  {
3148
3148
  className: e.itemRender ? void 0 : "k-table-td",
3149
- style: e.itemRender ? void 0 : { width: X.width ? X.width : He.width },
3149
+ style: e.itemRender ? void 0 : { width: X.width ? X.width : Ae.width },
3150
3150
  key: X.uniqueKey ? X.uniqueKey : Je
3151
3151
  },
3152
3152
  X.field ? String(Ct(X.field)(q.dataItem)) : ""
@@ -3175,7 +3175,7 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3175
3175
  });
3176
3176
  },
3177
3177
  []
3178
- ), ge = o.useCallback((P) => (e.virtual || S(N), W(f, P)), [W, f, e.virtual, N]), Z = o.useCallback((P) => W(m, P), [m]), ee = o.useCallback((P) => W(v, P), [v]), ae = o.useCallback((P) => W(b, P), [b]), Ke = o.useCallback((P) => W(w, P), [w]), Ne = o.useCallback((P) => W(F, P), [F]), Le = o.useCallback((P) => (S(N), W(k, {
3178
+ ), ge = o.useCallback((P) => (e.virtual || S(N), W(f, P)), [W, f, e.virtual, N]), Z = o.useCallback((P) => W(m, P), [m]), ee = o.useCallback((P) => W(v, P), [v]), ae = o.useCallback((P) => W(b, P), [b]), Le = o.useCallback((P) => W(w, P), [w]), Oe = o.useCallback((P) => W(D, P), [D]), ze = o.useCallback((P) => (S(N), W(k, {
3179
3179
  ...P,
3180
3180
  mobileMode: P.target.mobileMode
3181
3181
  })), [k]), A = o.useCallback(
@@ -3190,17 +3190,17 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3190
3190
  const P = e.data;
3191
3191
  S(N), P && P.length !== 0 ? C(!0) : C(!1);
3192
3192
  }, [e.data]);
3193
- const Oe = o.useCallback((P) => /* @__PURE__ */ o.createElement(mi, { ...P }), []);
3193
+ const Pe = o.useCallback((P) => /* @__PURE__ */ o.createElement(mi, { ...P }), []);
3194
3194
  return /* @__PURE__ */ o.createElement(
3195
3195
  _s.Provider,
3196
3196
  {
3197
3197
  value: (P) => ({ ...P, popupClass: `k-dropdowngrid-popup ${c.popupClass}` })
3198
3198
  },
3199
3199
  /* @__PURE__ */ o.createElement(
3200
- xs,
3200
+ Is,
3201
3201
  {
3202
3202
  ...O,
3203
- list: Oe,
3203
+ list: Pe,
3204
3204
  popupSettings: {
3205
3205
  width: J,
3206
3206
  ...c,
@@ -3220,9 +3220,9 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3220
3220
  onClose: Z,
3221
3221
  onFocus: ee,
3222
3222
  onBlur: ae,
3223
- onChange: Ke,
3224
- onFilterChange: Le,
3225
- onPageChange: Ne,
3223
+ onChange: Le,
3224
+ onFilterChange: ze,
3225
+ onPageChange: Oe,
3226
3226
  onGroupScroll: A,
3227
3227
  className: B("k-dropdowngrid", d),
3228
3228
  required: e.required,
@@ -3239,7 +3239,7 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3239
3239
  }), yi = {
3240
3240
  ...ct.propTypes,
3241
3241
  columns: l.any.isRequired
3242
- }, He = {
3242
+ }, Ae = {
3243
3243
  columns: [],
3244
3244
  popupSettings: {},
3245
3245
  width: "200px",
@@ -3247,10 +3247,10 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3247
3247
  rounded: "medium",
3248
3248
  fillMode: "solid"
3249
3249
  };
3250
- is.displayName = "KendoMultiColumnComboBox";
3251
- is.propTypes = yi;
3252
- is.defaultProps = He;
3253
- function ks(i, t, e) {
3250
+ ss.displayName = "KendoMultiColumnComboBox";
3251
+ ss.propTypes = yi;
3252
+ ss.defaultProps = Ae;
3253
+ function Cs(i, t, e) {
3254
3254
  const [s, n] = o.useState(t);
3255
3255
  return o.useEffect(
3256
3256
  () => {
@@ -3259,14 +3259,14 @@ function ks(i, t, e) {
3259
3259
  e
3260
3260
  ), s;
3261
3261
  }
3262
- const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, i.children)), { sizeMap: Ii, roundedMap: xi } = Ge, Ci = "Please select a value from the list!", ki = (i) => /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, i.children), hs = (i) => i.split("_").map((t) => parseInt(t, 10)), Si = (i, t) => {
3262
+ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, i.children)), { sizeMap: Ii, roundedMap: xi } = Ge, Ci = "Please select a value from the list!", ki = (i) => /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, i.children), hs = (i) => i.split("_").map((t) => parseInt(t, 10)), Si = (i, t) => {
3263
3263
  const { validationMessage: e, valid: s, required: n } = i;
3264
3264
  return {
3265
3265
  customError: e !== void 0,
3266
3266
  valid: !!(s !== void 0 ? s : !n || t),
3267
3267
  valueMissing: !t
3268
3268
  };
3269
- }, fs = {
3269
+ }, us = {
3270
3270
  selectField: "selected",
3271
3271
  subItemsField: "items",
3272
3272
  popupSettings: {
@@ -3281,50 +3281,50 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3281
3281
  size: "medium",
3282
3282
  rounded: "medium",
3283
3283
  fillMode: "solid"
3284
- }, wi = Be(), ws = o.forwardRef((i, t) => {
3284
+ }, wi = Ke(), Ss = o.forwardRef((i, t) => {
3285
3285
  $e(Ye);
3286
- const e = jt(wi, i), s = {
3287
- ...fs,
3286
+ const e = Ut(wi, i), s = {
3287
+ ...us,
3288
3288
  ...e
3289
- }, n = vs(), a = s.id || n, {
3289
+ }, n = ms(), a = s.id || n, {
3290
3290
  data: p,
3291
3291
  dataItemKey: c,
3292
3292
  popupSettings: d,
3293
3293
  style: r,
3294
- opened: u,
3295
- disabled: h,
3296
- onOpen: f = De,
3297
- onClose: m = De,
3294
+ opened: h,
3295
+ disabled: u,
3296
+ onOpen: f = Fe,
3297
+ onClose: m = Fe,
3298
3298
  placeholder: v,
3299
3299
  label: b,
3300
3300
  name: w,
3301
3301
  selectField: k,
3302
- subItemsField: F,
3302
+ subItemsField: D,
3303
3303
  validationMessage: O,
3304
3304
  valid: N,
3305
3305
  required: _,
3306
3306
  validityStyles: S
3307
- } = s, T = Ut(s.tabIndex, h), C = o.useRef(null), E = o.useRef(null), M = o.useRef(null), H = o.useRef(null), J = o.useRef(null), j = o.useRef(null), Y = o.useRef(!1), [W, ge] = o.useState(void 0), Z = s.value !== void 0, ee = Z ? s.value : W !== void 0 ? W : s.defaultValue, ae = U(ee), Ke = ae ? V(ee, s.textField) : "", Ne = Si({ validationMessage: O, valid: N, required: _ }, ae), Le = o.useCallback(() => E.current && E.current.focus(), []);
3307
+ } = s, T = Gt(s.tabIndex, u), C = o.useRef(null), E = o.useRef(null), M = o.useRef(null), H = o.useRef(null), J = o.useRef(null), j = o.useRef(null), Y = o.useRef(!1), [W, ge] = o.useState(void 0), Z = s.value !== void 0, ee = Z ? s.value : W !== void 0 ? W : s.defaultValue, ae = U(ee), Le = ae ? V(ee, s.textField) : "", Oe = Si({ validationMessage: O, valid: N, required: _ }, ae), ze = o.useCallback(() => E.current && E.current.focus(), []);
3308
3308
  o.useImperativeHandle(
3309
3309
  C,
3310
3310
  () => ({
3311
3311
  props: s,
3312
3312
  element: E.current,
3313
- focus: Le
3313
+ focus: ze
3314
3314
  })
3315
3315
  ), o.useImperativeHandle(t, () => C.current);
3316
- const A = bs(E, s.dir), Oe = d.width !== void 0 ? d.width : r.width !== void 0 ? r.width : fs.popupSettings.width, q = {
3317
- width: ks(E, Oe),
3316
+ const A = vs(E, s.dir), Pe = d.width !== void 0 ? d.width : r.width !== void 0 ? r.width : us.popupSettings.width, q = {
3317
+ width: Cs(E, Pe),
3318
3318
  ...A !== void 0 ? { direction: A } : {}
3319
- }, [be, ke] = o.useState(!1), L = u !== void 0 ? u : be, [Q, le] = o.useState(!1), [z, Ee] = o.useState(), re = !!(z && z <= we && s.adaptive), [X, Je] = o.useState(""), os = o.useCallback(
3319
+ }, [be, ke] = o.useState(!1), L = h !== void 0 ? h : be, [Q, le] = o.useState(!1), [z, Ee] = o.useState(), re = !!(z && z <= we && s.adaptive), [X, Je] = o.useState(""), ns = o.useCallback(
3320
3320
  () => {
3321
3321
  J.current && J.current.setCustomValidity && J.current.setCustomValidity(
3322
- Ne.valid ? "" : O === void 0 ? Ci : O
3322
+ Oe.valid ? "" : O === void 0 ? Ci : O
3323
3323
  );
3324
3324
  },
3325
- [O, Ne]
3325
+ [O, Oe]
3326
3326
  );
3327
- o.useEffect(os), o.useEffect(() => {
3327
+ o.useEffect(ns), o.useEffect(() => {
3328
3328
  const I = Me && window.ResizeObserver && new window.ResizeObserver(Vt.bind(void 0));
3329
3329
  return document != null && document.body && I && I.observe(document.body), () => {
3330
3330
  document != null && document.body && I && I.disconnect();
@@ -3334,49 +3334,49 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3334
3334
  (I) => {
3335
3335
  if (!L) {
3336
3336
  if (f) {
3337
- const D = { ...I };
3338
- f.call(void 0, D);
3337
+ const F = { ...I };
3338
+ f.call(void 0, F);
3339
3339
  }
3340
- u === void 0 && ke(!0);
3340
+ h === void 0 && ke(!0);
3341
3341
  }
3342
3342
  },
3343
- [L, u, f]
3343
+ [L, h, f]
3344
3344
  ), Se = o.useCallback(
3345
3345
  (I) => {
3346
3346
  if (L) {
3347
3347
  if (m) {
3348
- const D = { ...I };
3349
- m.call(void 0, D);
3348
+ const F = { ...I };
3349
+ m.call(void 0, F);
3350
3350
  }
3351
- u === void 0 && (ke(!1), re && setTimeout(() => {
3352
- var D;
3353
- $((D = H.current) == null ? void 0 : D.element);
3351
+ h === void 0 && (ke(!1), re && setTimeout(() => {
3352
+ var F;
3353
+ $((F = H.current) == null ? void 0 : F.element);
3354
3354
  }, 300));
3355
3355
  }
3356
3356
  },
3357
- [L, u, m, re]
3357
+ [L, h, m, re]
3358
3358
  ), Ot = o.useCallback(
3359
3359
  (I) => {
3360
3360
  if (!I.isDefaultPrevented() && C.current) {
3361
3361
  le(!0);
3362
- const D = {
3362
+ const F = {
3363
3363
  syntheticEvent: I,
3364
3364
  nativeEvent: I.nativeEvent,
3365
3365
  target: C.current
3366
3366
  };
3367
- (L ? Se : pt)(D);
3367
+ (L ? Se : pt)(F);
3368
3368
  }
3369
3369
  },
3370
- [L, u, f, m]
3370
+ [L, h, f, m]
3371
3371
  ), ne = o.useCallback(
3372
3372
  (I) => {
3373
3373
  Y.current = !0, I(), window.setTimeout(() => Y.current = !1, 0);
3374
3374
  },
3375
3375
  []
3376
- ), ze = o.useCallback(
3376
+ ), He = o.useCallback(
3377
3377
  (I) => {
3378
3378
  var x, K;
3379
- const { keyCode: D, altKey: G } = I, pe = j.current && j.current.element;
3379
+ const { keyCode: F, altKey: G } = I, pe = j.current && j.current.element;
3380
3380
  if (!C.current || I.isDefaultPrevented() && ((x = M.current) == null ? void 0 : x.element) === I.target)
3381
3381
  return;
3382
3382
  const y = {
@@ -3385,10 +3385,10 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3385
3385
  target: C.current
3386
3386
  };
3387
3387
  if (L)
3388
- if (D === g.esc || G && D === g.up)
3388
+ if (F === g.esc || G && F === g.up)
3389
3389
  I.preventDefault(), Se(y);
3390
- else if (pe && pe.querySelector(".k-focus") && (D === g.up || D === g.down || D === g.left || D === g.right || D === g.home || D === g.end)) {
3391
- if (D === g.up && ((K = M.current) != null && K.element)) {
3390
+ else if (pe && pe.querySelector(".k-focus") && (F === g.up || F === g.down || F === g.left || F === g.right || F === g.home || F === g.end)) {
3391
+ if (F === g.up && ((K = M.current) != null && K.element)) {
3392
3392
  const se = Array.from(pe.querySelectorAll(".k-treeview-item")), Ie = [...se].reverse().find((xe) => !!(xe && xe.querySelector(".k-focus")));
3393
3393
  if (Ie && se.indexOf(Ie) === 0)
3394
3394
  return ne(() => {
@@ -3396,21 +3396,21 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3396
3396
  $((xe = M.current) == null ? void 0 : xe.element);
3397
3397
  });
3398
3398
  }
3399
- ne(De);
3399
+ ne(Fe);
3400
3400
  } else
3401
- D === g.down && ne(() => {
3401
+ F === g.down && ne(() => {
3402
3402
  var se;
3403
3403
  $(((se = M.current) == null ? void 0 : se.element) || pe);
3404
3404
  });
3405
3405
  else
3406
- G && D === g.down ? (I.preventDefault(), pt(y)) : L || D === g.esc && ft(I);
3406
+ G && F === g.down ? (I.preventDefault(), pt(y)) : L || F === g.esc && ft(I);
3407
3407
  },
3408
- [L, u, f, m]
3409
- ), Pe = o.useCallback(
3408
+ [L, h, f, m]
3409
+ ), _e = o.useCallback(
3410
3410
  (I) => {
3411
- const { keyCode: D, altKey: G } = I;
3412
- G || D !== g.up && D !== g.down || (I.preventDefault(), ne(
3413
- D === g.up ? () => {
3411
+ const { keyCode: F, altKey: G } = I;
3412
+ G || F !== g.up && F !== g.down || (I.preventDefault(), ne(
3413
+ F === g.up ? () => {
3414
3414
  $(E.current);
3415
3415
  } : () => {
3416
3416
  $(j.current && j.current.element);
@@ -3426,9 +3426,9 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3426
3426
  ), fe = o.useCallback(
3427
3427
  () => {
3428
3428
  var I;
3429
- !Q && L && !u ? Se({ target: C.current }) : e.filterable ? $((I = M.current) == null ? void 0 : I.element) : $(j.current && j.current.element);
3429
+ !Q && L && !h ? Se({ target: C.current }) : e.filterable ? $((I = M.current) == null ? void 0 : I.element) : $(j.current && j.current.element);
3430
3430
  },
3431
- [m, e.filterable, Q, u, L]
3431
+ [m, e.filterable, Q, h, L]
3432
3432
  ), te = o.useCallback(
3433
3433
  () => {
3434
3434
  Q && $(E.current);
@@ -3437,12 +3437,12 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3437
3437
  ), Pt = o.useCallback(
3438
3438
  (I) => {
3439
3439
  if (!Q && !Y.current && (le(!0), e.onFocus && C.current)) {
3440
- const D = {
3440
+ const F = {
3441
3441
  syntheticEvent: I,
3442
3442
  nativeEvent: I.nativeEvent,
3443
3443
  target: C.current
3444
3444
  };
3445
- e.onFocus.call(void 0, D);
3445
+ e.onFocus.call(void 0, F);
3446
3446
  }
3447
3447
  },
3448
3448
  [Q, e.onFocus]
@@ -3450,70 +3450,70 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3450
3450
  (I) => {
3451
3451
  if (Q && !Y.current && C.current) {
3452
3452
  le(!1);
3453
- const D = {
3453
+ const F = {
3454
3454
  syntheticEvent: I,
3455
3455
  nativeEvent: I.nativeEvent,
3456
3456
  target: C.current
3457
3457
  };
3458
3458
  if (e.onBlur) {
3459
- const G = { ...D };
3459
+ const G = { ...F };
3460
3460
  e.onBlur.call(void 0, G);
3461
3461
  }
3462
- re || Se(D);
3462
+ re || Se(F);
3463
3463
  }
3464
3464
  },
3465
- [Q, e.onBlur, L, u, m]
3465
+ [Q, e.onBlur, L, h, m]
3466
3466
  ), Rt = o.useCallback(
3467
3467
  () => {
3468
- Q && ne(De), re && setTimeout(() => {
3468
+ Q && ne(Fe), re && setTimeout(() => {
3469
3469
  var I;
3470
3470
  $((I = H.current) == null ? void 0 : I.element);
3471
3471
  }, 300);
3472
3472
  },
3473
3473
  [Q, re]
3474
- ), ut = o.useCallback(
3475
- (I, D, G) => {
3474
+ ), ht = o.useCallback(
3475
+ (I, F, G) => {
3476
3476
  if (e.onChange) {
3477
3477
  const pe = {
3478
- value: D,
3478
+ value: F,
3479
3479
  level: G ? hs(G) : [],
3480
3480
  ...I
3481
3481
  };
3482
3482
  e.onChange.call(void 0, pe);
3483
3483
  }
3484
- Z || ge(D);
3484
+ Z || ge(F);
3485
3485
  },
3486
3486
  [e.onChange, Z]
3487
- ), ht = o.useCallback(
3487
+ ), ut = o.useCallback(
3488
3488
  (I) => {
3489
3489
  if (R(I.item, ee, c) || !C.current)
3490
3490
  return;
3491
- const { item: D, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3491
+ const { item: F, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3492
3492
  syntheticEvent: y,
3493
3493
  nativeEvent: pe,
3494
3494
  target: C.current
3495
3495
  };
3496
- ut(x, D, G), Se(x);
3496
+ ht(x, F, G), Se(x);
3497
3497
  },
3498
- [Z, ee, e.onChange, c, L, u, m]
3498
+ [Z, ee, e.onChange, c, L, h, m]
3499
3499
  ), ft = o.useCallback(
3500
3500
  (I) => {
3501
3501
  if (!C.current)
3502
3502
  return;
3503
- const D = {
3503
+ const F = {
3504
3504
  syntheticEvent: I,
3505
3505
  nativeEvent: I.nativeEvent,
3506
3506
  target: C.current
3507
3507
  };
3508
- ut(D, null), Se(D), I.preventDefault();
3508
+ ht(F, null), Se(F), I.preventDefault();
3509
3509
  },
3510
- [Z, e.onChange, L, u, m]
3510
+ [Z, e.onChange, L, h, m]
3511
3511
  ), gt = o.useCallback(
3512
3512
  (I) => {
3513
3513
  if (I.syntheticEvent.stopPropagation(), e.onExpandChange && C.current) {
3514
- const { item: D, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3514
+ const { item: F, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3515
3515
  level: hs(G),
3516
- item: D,
3516
+ item: F,
3517
3517
  nativeEvent: pe,
3518
3518
  syntheticEvent: y,
3519
3519
  target: C.current
@@ -3537,24 +3537,24 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3537
3537
  [e.onFilterChange, e.filter, e.textField]
3538
3538
  ), Xe = () => {
3539
3539
  const I = s.filterable ? /* @__PURE__ */ o.createElement(
3540
- Re,
3540
+ Ve,
3541
3541
  {
3542
3542
  value: s.filter === void 0 ? X : s.filter,
3543
3543
  ref: H,
3544
3544
  onChange: Qe,
3545
- onKeyDown: Pe,
3545
+ onKeyDown: _e,
3546
3546
  size: me,
3547
3547
  rounded: ye,
3548
- fillMode: Fe
3548
+ fillMode: De
3549
3549
  }
3550
- ) : null, D = {
3550
+ ) : null, F = {
3551
3551
  adaptiveTitle: s.adaptiveTitle,
3552
3552
  expand: L,
3553
3553
  onClose: (G) => Se(G),
3554
3554
  windowWidth: z,
3555
3555
  mobileFilter: I
3556
3556
  };
3557
- return /* @__PURE__ */ o.createElement(ss, { ...D }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: "k-list k-list-lg" }, p.length > 0 ? /* @__PURE__ */ o.createElement(
3557
+ return /* @__PURE__ */ o.createElement(ts, { ...F }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: "k-list k-list-lg" }, p.length > 0 ? /* @__PURE__ */ o.createElement(
3558
3558
  kt,
3559
3559
  {
3560
3560
  ref: j,
@@ -3564,9 +3564,9 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3564
3564
  textField: s.textField,
3565
3565
  selectField: k,
3566
3566
  expandField: s.expandField,
3567
- childrenField: F,
3567
+ childrenField: D,
3568
3568
  expandIcons: !0,
3569
- onItemClick: ht,
3569
+ onItemClick: ut,
3570
3570
  onExpandChange: gt,
3571
3571
  size: me,
3572
3572
  item: s.item,
@@ -3575,28 +3575,28 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3575
3575
  ) : /* @__PURE__ */ o.createElement(et, null, tt.toLanguageString(ve, ce[ve]))))));
3576
3576
  }, Vt = o.useCallback(
3577
3577
  (I) => {
3578
- for (let D of I)
3579
- Ee(D.target.clientWidth);
3578
+ for (let F of I)
3579
+ Ee(F.target.clientWidth);
3580
3580
  },
3581
3581
  []
3582
3582
  ), Ze = o.useMemo(
3583
3583
  () => Z || !ae ? p : Ms(
3584
3584
  p,
3585
- F,
3585
+ D,
3586
3586
  (I) => Ns(
3587
3587
  I,
3588
- F,
3588
+ D,
3589
3589
  { [k]: R(I, ee, c) }
3590
3590
  )
3591
3591
  ),
3592
- [p, ee, Z, ae, k, F]
3593
- ), et = s.listNoData || Ss, mt = s.valueHolder || ki, tt = Is(), vt = !S || Ne.valid, { size: me, rounded: ye, fillMode: Fe } = s, de = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3592
+ [p, ee, Z, ae, k, D]
3593
+ ), et = s.listNoData || ks, mt = s.valueHolder || ki, tt = ys(), vt = !S || Oe.valid, { size: me, rounded: ye, fillMode: De } = s, de = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3594
3594
  "span",
3595
3595
  {
3596
3596
  className: B("k-dropdowntree k-picker", s.className, {
3597
3597
  [`k-picker-${Ii[me] || me}`]: me,
3598
3598
  [`k-rounded-${xi[ye] || ye}`]: ye,
3599
- [`k-picker-${Fe}`]: Fe,
3599
+ [`k-picker-${De}`]: De,
3600
3600
  "k-focus": Q,
3601
3601
  "k-invalid": !vt,
3602
3602
  "k-loading": s.loading,
@@ -3609,23 +3609,23 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3609
3609
  style: b ? { ...r, width: void 0 } : r,
3610
3610
  dir: A,
3611
3611
  ref: E,
3612
- onKeyDown: h ? void 0 : ze,
3612
+ onKeyDown: u ? void 0 : He,
3613
3613
  onMouseDown: Rt,
3614
- onClick: h ? void 0 : Ot,
3614
+ onClick: u ? void 0 : Ot,
3615
3615
  onFocus: Pt,
3616
3616
  onBlur: _t,
3617
3617
  role: "combobox",
3618
3618
  "aria-haspopup": "tree",
3619
3619
  "aria-expanded": L,
3620
- "aria-disabled": h,
3620
+ "aria-disabled": u,
3621
3621
  "aria-label": b,
3622
3622
  "aria-labelledby": s.ariaLabelledBy,
3623
3623
  "aria-describedby": s.ariaDescribedBy,
3624
3624
  "aria-required": _
3625
3625
  },
3626
- /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(mt, { item: ee }, Ke || v)),
3626
+ /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(mt, { item: ee }, Le || v)),
3627
3627
  s.loading && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
3628
- ae && !h && /* @__PURE__ */ o.createElement(
3628
+ ae && !u && /* @__PURE__ */ o.createElement(
3629
3629
  "span",
3630
3630
  {
3631
3631
  onClick: ft,
@@ -3645,11 +3645,11 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3645
3645
  "aria-label": "select",
3646
3646
  className: "k-input-button",
3647
3647
  size: me,
3648
- fillMode: Fe,
3648
+ fillMode: De,
3649
3649
  themeColor: "base",
3650
3650
  rounded: null,
3651
3651
  icon: "caret-alt-down",
3652
- svgIcon: Yt
3652
+ svgIcon: jt
3653
3653
  }
3654
3654
  ),
3655
3655
  /* @__PURE__ */ o.createElement(
@@ -3665,7 +3665,7 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3665
3665
  /* @__PURE__ */ o.createElement("option", { value: s.valueMap ? s.valueMap.call(void 0, ee) : ee })
3666
3666
  ),
3667
3667
  !re && /* @__PURE__ */ o.createElement(
3668
- Jt,
3668
+ Yt,
3669
3669
  {
3670
3670
  className: B(d.className, { "k-rtl": A === "rtl" }),
3671
3671
  popupClass: B(
@@ -3681,15 +3681,15 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3681
3681
  appendTo: d.appendTo
3682
3682
  },
3683
3683
  s.filterable && /* @__PURE__ */ o.createElement(
3684
- Re,
3684
+ Ve,
3685
3685
  {
3686
3686
  value: s.filter === void 0 ? X : s.filter,
3687
3687
  ref: M,
3688
3688
  onChange: Qe,
3689
- onKeyDown: Pe,
3689
+ onKeyDown: _e,
3690
3690
  size: me,
3691
3691
  rounded: ye,
3692
- fillMode: Fe
3692
+ fillMode: De
3693
3693
  }
3694
3694
  ),
3695
3695
  p.length > 0 ? /* @__PURE__ */ o.createElement(
@@ -3702,9 +3702,9 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3702
3702
  textField: s.textField,
3703
3703
  selectField: k,
3704
3704
  expandField: s.expandField,
3705
- childrenField: F,
3705
+ childrenField: D,
3706
3706
  expandIcons: !0,
3707
- onItemClick: ht,
3707
+ onItemClick: ut,
3708
3708
  onExpandChange: gt,
3709
3709
  size: me,
3710
3710
  item: s.item,
@@ -3717,10 +3717,10 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3717
3717
  Ue,
3718
3718
  {
3719
3719
  label: b,
3720
- editorValue: Ke,
3720
+ editorValue: Le,
3721
3721
  editorPlaceholder: v,
3722
3722
  editorValid: vt,
3723
- editorDisabled: h,
3723
+ editorDisabled: u,
3724
3724
  editorId: a,
3725
3725
  style: { width: r ? r.width : void 0 },
3726
3726
  children: de,
@@ -3780,16 +3780,16 @@ const Ss = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3780
3780
  adaptiveTitle: l.string,
3781
3781
  adaptive: l.bool
3782
3782
  };
3783
- ws.displayName = "KendoReactDropDownTree";
3784
- ws.propTypes = Ei;
3785
- const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di } = Ge, Ti = (i) => i.split("_").map((t) => parseInt(t, 10)), Mi = (i, t) => {
3783
+ Ss.displayName = "KendoReactDropDownTree";
3784
+ Ss.propTypes = Ei;
3785
+ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi } = Ge, Ti = (i) => i.split("_").map((t) => parseInt(t, 10)), Mi = (i, t) => {
3786
3786
  const { validationMessage: e, valid: s, required: n } = i;
3787
3787
  return {
3788
3788
  customError: e !== void 0,
3789
3789
  valid: !!(s !== void 0 ? s : !n || t),
3790
3790
  valueMissing: !t
3791
3791
  };
3792
- }, _e = {
3792
+ }, Re = {
3793
3793
  checkField: "checkField",
3794
3794
  checkIndeterminateField: "checkIndeterminateField",
3795
3795
  subItemsField: "items",
@@ -3803,32 +3803,32 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3803
3803
  fillMode: "solid",
3804
3804
  required: !1,
3805
3805
  validityStyles: !0
3806
- }, Ni = Be(), ns = o.forwardRef((i, t) => {
3807
- const e = jt(Ni, i);
3806
+ }, Ni = Ke(), is = o.forwardRef((i, t) => {
3807
+ const e = Ut(Ni, i);
3808
3808
  $e(Ye);
3809
- const s = vs(), n = e.id || s, {
3809
+ const s = ms(), n = e.id || s, {
3810
3810
  data: a = [],
3811
3811
  dataItemKey: p,
3812
3812
  popupSettings: c = {},
3813
3813
  style: d = {},
3814
3814
  opened: r,
3815
- disabled: u,
3816
- onOpen: h = De,
3817
- onClose: f = De,
3815
+ disabled: h,
3816
+ onOpen: u = Fe,
3817
+ onClose: f = Fe,
3818
3818
  placeholder: m,
3819
3819
  label: v,
3820
3820
  name: b,
3821
- checkField: w = _e.checkField,
3822
- checkIndeterminateField: k = _e.checkIndeterminateField,
3823
- subItemsField: F = _e.subItemsField,
3821
+ checkField: w = Re.checkField,
3822
+ checkIndeterminateField: k = Re.checkIndeterminateField,
3823
+ subItemsField: D = Re.subItemsField,
3824
3824
  validationMessage: O,
3825
3825
  valid: N,
3826
3826
  tags: _,
3827
3827
  value: S,
3828
- required: T = _e.required,
3829
- validityStyles: C = _e.validityStyles
3830
- } = e, E = Ut(e.tabIndex, u), M = o.useRef(null), H = o.useRef(null), J = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), W = o.useRef(null), ge = o.useRef(!1), Z = o.useRef([]), ee = o.useRef(null), [ae, Ke] = o.useState(), [Ne, Le] = o.useState(!1), [A, Oe] = o.useState(!1), [P, q] = o.useState(), [be, ke] = o.useState([]), [L, Q] = o.useState(""), le = !!(P && P <= we && e.adaptive), z = r !== void 0 ? r : Ne, Ee = !!(Array.isArray(S) && S.length), re = Mi({ validationMessage: O, valid: N, required: T }, Ee), X = bs(H, e.dir), Je = c.width !== void 0 ? c.width : d.width !== void 0 ? d.width : _e.popupSettings.width, pt = {
3831
- width: ks(H, Je),
3828
+ required: T = Re.required,
3829
+ validityStyles: C = Re.validityStyles
3830
+ } = e, E = Gt(e.tabIndex, h), M = o.useRef(null), H = o.useRef(null), J = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), W = o.useRef(null), ge = o.useRef(!1), Z = o.useRef([]), ee = o.useRef(null), [ae, Le] = o.useState(), [Oe, ze] = o.useState(!1), [A, Pe] = o.useState(!1), [P, q] = o.useState(), [be, ke] = o.useState([]), [L, Q] = o.useState(""), le = !!(P && P <= we && e.adaptive), z = r !== void 0 ? r : Oe, Ee = !!(Array.isArray(S) && S.length), re = Mi({ validationMessage: O, valid: N, required: T }, Ee), X = vs(H, e.dir), Je = c.width !== void 0 ? c.width : d.width !== void 0 ? d.width : Re.popupSettings.width, pt = {
3831
+ width: Cs(H, Je),
3832
3832
  ...X !== void 0 ? { direction: X } : {}
3833
3833
  }, Se = o.useCallback(() => H.current && H.current.focus(), []);
3834
3834
  Z.current = _ === void 0 ? (S || []).map((y) => ({ text: V(y, e.textField), data: [y] })) : [..._], o.useImperativeHandle(
@@ -3842,7 +3842,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3842
3842
  const Ot = o.useCallback(
3843
3843
  () => {
3844
3844
  Y.current && Y.current.setCustomValidity && Y.current.setCustomValidity(
3845
- re.valid ? "" : O === void 0 ? Fi : O
3845
+ re.valid ? "" : O === void 0 ? Di : O
3846
3846
  );
3847
3847
  },
3848
3848
  [O, re]
@@ -3870,7 +3870,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3870
3870
  }
3871
3871
  },
3872
3872
  [e.onChange]
3873
- ), ze = o.useCallback(
3873
+ ), He = o.useCallback(
3874
3874
  (y) => {
3875
3875
  if (R(y.item, S, p) || !M.current)
3876
3876
  return;
@@ -3882,20 +3882,20 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3882
3882
  ne(Ie, [x], "toggle");
3883
3883
  },
3884
3884
  [S, p, ne]
3885
- ), Pe = o.useCallback(
3885
+ ), _e = o.useCallback(
3886
3886
  (y) => {
3887
3887
  if (!z) {
3888
- if (h) {
3888
+ if (u) {
3889
3889
  const x = { ...y };
3890
- h.call(void 0, x);
3890
+ u.call(void 0, x);
3891
3891
  }
3892
- r === void 0 && (Le(!0), ke(S || []), le && setTimeout(() => {
3892
+ r === void 0 && (ze(!0), ke(S || []), le && setTimeout(() => {
3893
3893
  var x;
3894
3894
  te((x = j.current) == null ? void 0 : x.element);
3895
3895
  }, 300));
3896
3896
  }
3897
3897
  },
3898
- [z, r, h, le, j]
3898
+ [z, r, u, le, j]
3899
3899
  ), $ = o.useCallback(
3900
3900
  (y) => {
3901
3901
  if (z) {
@@ -3903,7 +3903,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3903
3903
  const x = { ...y };
3904
3904
  f.call(void 0, x);
3905
3905
  }
3906
- r === void 0 && Le(!1);
3906
+ r === void 0 && ze(!1);
3907
3907
  }
3908
3908
  },
3909
3909
  [z, r, f]
@@ -3930,7 +3930,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3930
3930
  [A, te]
3931
3931
  ), Rt = o.useCallback(
3932
3932
  (y) => {
3933
- if (!A && !ge.current && (Oe(!0), e.onFocus && M.current)) {
3933
+ if (!A && !ge.current && (Pe(!0), e.onFocus && M.current)) {
3934
3934
  const x = {
3935
3935
  syntheticEvent: y,
3936
3936
  nativeEvent: y.nativeEvent,
@@ -3940,10 +3940,10 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3940
3940
  }
3941
3941
  },
3942
3942
  [A, e.onFocus]
3943
- ), ut = o.useCallback(
3943
+ ), ht = o.useCallback(
3944
3944
  (y) => {
3945
3945
  if (A && !ge.current && M.current) {
3946
- Oe(!1);
3946
+ Pe(!1);
3947
3947
  const x = {
3948
3948
  syntheticEvent: y,
3949
3949
  nativeEvent: y.nativeEvent,
@@ -3957,27 +3957,27 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3957
3957
  }
3958
3958
  },
3959
3959
  [A, e.onBlur, z, r, f]
3960
- ), ht = o.useCallback(
3960
+ ), ut = o.useCallback(
3961
3961
  () => {
3962
- A && fe(De);
3962
+ A && fe(Fe);
3963
3963
  },
3964
3964
  [A, fe]
3965
3965
  ), ft = o.useCallback(
3966
3966
  (y) => {
3967
3967
  if (!y.isDefaultPrevented() && M.current) {
3968
- Oe(!0);
3968
+ Pe(!0);
3969
3969
  const x = {
3970
3970
  syntheticEvent: y,
3971
3971
  nativeEvent: y.nativeEvent,
3972
3972
  target: M.current
3973
3973
  };
3974
- z || Pe(x);
3974
+ z || _e(x);
3975
3975
  }
3976
3976
  },
3977
- [z, Pe]
3977
+ [z, _e]
3978
3978
  ), gt = o.useCallback(
3979
3979
  (y) => {
3980
- var xe, as;
3980
+ var xe, os;
3981
3981
  const { keyCode: x, altKey: K } = y, se = W.current && W.current.element;
3982
3982
  if (!M.current || y.isDefaultPrevented() && ((xe = J.current) == null ? void 0 : xe.element) === y.target)
3983
3983
  return;
@@ -3988,32 +3988,32 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
3988
3988
  };
3989
3989
  if (S && S.length > 0 && (x === g.left || x === g.right || x === g.home || x === g.end || x === g.delete)) {
3990
3990
  const ie = Z.current;
3991
- let ue = ae ? ie.findIndex((Es) => St(Es, ae, p)) : -1, he;
3992
- const Bt = ue !== -1;
3993
- x === g.left ? (Bt ? ue = Math.max(0, ue - 1) : ue = ie.length - 1, he = ie[ue]) : x === g.right ? ue === ie.length - 1 ? he = void 0 : Bt && (ue = Math.min(ie.length - 1, ue + 1), he = ie[ue]) : x === g.home ? he = ie[0] : x === g.end ? he = ie[ie.length - 1] : x === g.delete && Bt && ne(Ie, ie[ue].data, "delete"), he !== ae && Ke(he);
3991
+ let he = ae ? ie.findIndex((ws) => St(ws, ae, p)) : -1, ue;
3992
+ const Bt = he !== -1;
3993
+ x === g.left ? (Bt ? he = Math.max(0, he - 1) : he = ie.length - 1, ue = ie[he]) : x === g.right ? he === ie.length - 1 ? ue = void 0 : Bt && (he = Math.min(ie.length - 1, he + 1), ue = ie[he]) : x === g.home ? ue = ie[0] : x === g.end ? ue = ie[ie.length - 1] : x === g.delete && Bt && ne(Ie, ie[he].data, "delete"), ue !== ae && Le(ue);
3994
3994
  }
3995
3995
  if (z)
3996
3996
  if (x === g.esc || K && x === g.up)
3997
3997
  y.preventDefault(), $(Ie);
3998
3998
  else if (se && se.querySelector(".k-focus") && (x === g.up || x === g.down || x === g.left || x === g.right || x === g.home || x === g.end)) {
3999
- if (x === g.up && ((as = J.current) != null && as.element)) {
4000
- const ie = Array.from(se.querySelectorAll(".k-treeview-item")), ue = [...ie].reverse().find((he) => !!(he && he.querySelector(".k-focus")));
4001
- if (ue && ie.indexOf(ue) === 0)
3999
+ if (x === g.up && ((os = J.current) != null && os.element)) {
4000
+ const ie = Array.from(se.querySelectorAll(".k-treeview-item")), he = [...ie].reverse().find((ue) => !!(ue && ue.querySelector(".k-focus")));
4001
+ if (he && ie.indexOf(he) === 0)
4002
4002
  return fe(() => {
4003
- var he;
4004
- te((he = J.current) == null ? void 0 : he.element);
4003
+ var ue;
4004
+ te((ue = J.current) == null ? void 0 : ue.element);
4005
4005
  });
4006
4006
  }
4007
- fe(De);
4007
+ fe(Fe);
4008
4008
  } else
4009
4009
  x === g.down && fe(() => {
4010
4010
  var ie;
4011
4011
  te(((ie = J.current) == null ? void 0 : ie.element) || se);
4012
4012
  });
4013
4013
  else
4014
- K && x === g.down && (y.preventDefault(), Pe(Ie));
4014
+ K && x === g.down && (y.preventDefault(), _e(Ie));
4015
4015
  },
4016
- [z, $, te, fe, Pe, ae, p, S, ne]
4016
+ [z, $, te, fe, _e, ae, p, S, ne]
4017
4017
  ), Qe = o.useCallback(
4018
4018
  (y) => {
4019
4019
  const { keyCode: x, altKey: K } = y;
@@ -4089,7 +4089,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4089
4089
  [e.onCancel, $]
4090
4090
  ), tt = () => {
4091
4091
  const y = e.filterable ? /* @__PURE__ */ o.createElement(
4092
- Re,
4092
+ Ve,
4093
4093
  {
4094
4094
  value: e.filter === void 0 ? L : e.filter,
4095
4095
  ref: j,
@@ -4097,7 +4097,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4097
4097
  onKeyDown: Qe,
4098
4098
  size: de,
4099
4099
  rounded: I,
4100
- fillMode: D
4100
+ fillMode: F
4101
4101
  }
4102
4102
  ) : null, x = {
4103
4103
  adaptiveTitle: e.adaptiveTitle,
@@ -4112,7 +4112,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4112
4112
  onApply: (K) => $(K)
4113
4113
  }
4114
4114
  };
4115
- return /* @__PURE__ */ o.createElement(ss, { ...x }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: "k-list k-list-lg" }, a.length > 0 ? /* @__PURE__ */ o.createElement(
4115
+ return /* @__PURE__ */ o.createElement(ts, { ...x }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: "k-list k-list-lg" }, a.length > 0 ? /* @__PURE__ */ o.createElement(
4116
4116
  kt,
4117
4117
  {
4118
4118
  ref: W,
@@ -4123,10 +4123,10 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4123
4123
  checkField: w,
4124
4124
  checkIndeterminateField: k,
4125
4125
  expandField: e.expandField,
4126
- childrenField: F,
4126
+ childrenField: D,
4127
4127
  expandIcons: !0,
4128
- onItemClick: ze,
4129
- onCheckChange: ze,
4128
+ onItemClick: He,
4129
+ onCheckChange: He,
4130
4130
  onExpandChange: Ze,
4131
4131
  checkboxes: !0,
4132
4132
  size: de,
@@ -4140,16 +4140,16 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4140
4140
  q(x.target.clientWidth);
4141
4141
  },
4142
4142
  []
4143
- ), me = e.listNoData || Ss, ye = Is(), Fe = !C || re.valid, { size: de, rounded: I, fillMode: D } = e, G = le && z ? be : Z.current, pe = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4143
+ ), me = e.listNoData || ks, ye = ys(), De = !C || re.valid, { size: de, rounded: I, fillMode: F } = e, G = le && z ? be : Z.current, pe = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4144
4144
  "span",
4145
4145
  {
4146
4146
  className: B("k-multiselecttree k-input", e.className, {
4147
- [`k-input-${gs[de] || de}`]: de,
4148
- [`k-rounded-${Di[I] || I}`]: I,
4149
- [`k-input-${D}`]: D,
4150
- "k-focus": A && !u,
4151
- "k-invalid": !Fe,
4152
- "k-disabled": u,
4147
+ [`k-input-${fs[de] || de}`]: de,
4148
+ [`k-rounded-${Fi[I] || I}`]: I,
4149
+ [`k-input-${F}`]: F,
4150
+ "k-focus": A && !h,
4151
+ "k-invalid": !De,
4152
+ "k-disabled": h,
4153
4153
  "k-loading": e.loading,
4154
4154
  "k-required": T
4155
4155
  }),
@@ -4159,30 +4159,30 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4159
4159
  style: v ? { ...d, width: void 0 } : d,
4160
4160
  dir: X,
4161
4161
  ref: H,
4162
- onKeyDown: u ? void 0 : gt,
4163
- onMouseDown: ht,
4162
+ onKeyDown: h ? void 0 : gt,
4163
+ onMouseDown: ut,
4164
4164
  onFocus: Rt,
4165
- onBlur: ut,
4165
+ onBlur: ht,
4166
4166
  role: "combobox",
4167
4167
  "aria-haspopup": "tree",
4168
4168
  "aria-expanded": z,
4169
- "aria-disabled": u,
4169
+ "aria-disabled": h,
4170
4170
  "aria-label": v,
4171
4171
  "aria-labelledby": e.ariaLabelledBy,
4172
4172
  "aria-describedby": e.ariaDescribedBy ? e.ariaDescribedBy : "tagslist-" + n,
4173
4173
  "aria-required": e.required,
4174
- onClick: u ? void 0 : ft
4174
+ onClick: h ? void 0 : ft
4175
4175
  },
4176
4176
  /* @__PURE__ */ o.createElement(
4177
4177
  "div",
4178
4178
  {
4179
4179
  id: "tagslist-" + n,
4180
4180
  className: B("k-input-values k-chip-list k-selection-multiple", {
4181
- [`k-chip-list-${gs[de] || de}`]: de
4181
+ [`k-chip-list-${fs[de] || de}`]: de
4182
4182
  })
4183
4183
  },
4184
4184
  G.length > 0 && /* @__PURE__ */ o.createElement(
4185
- Cs,
4185
+ xs,
4186
4186
  {
4187
4187
  tag: e.tag,
4188
4188
  onTagDelete: Vt,
@@ -4195,7 +4195,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4195
4195
  ),
4196
4196
  /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, G.length === 0 && /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)),
4197
4197
  e.loading && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
4198
- Ee && !u && G.length > 0 && /* @__PURE__ */ o.createElement(dt, { onClick: Xe }),
4198
+ Ee && !h && G.length > 0 && /* @__PURE__ */ o.createElement(dt, { onClick: Xe }),
4199
4199
  /* @__PURE__ */ o.createElement(
4200
4200
  "select",
4201
4201
  {
@@ -4214,7 +4214,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4214
4214
  )
4215
4215
  ),
4216
4216
  !le && /* @__PURE__ */ o.createElement(
4217
- Jt,
4217
+ Yt,
4218
4218
  {
4219
4219
  popupClass: B(
4220
4220
  c.popupClass,
@@ -4231,7 +4231,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4231
4231
  ref: ee
4232
4232
  },
4233
4233
  e.filterable && /* @__PURE__ */ o.createElement(
4234
- Re,
4234
+ Ve,
4235
4235
  {
4236
4236
  value: e.filter === void 0 ? L : e.filter,
4237
4237
  ref: J,
@@ -4240,7 +4240,7 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4240
4240
  tabIndex: E,
4241
4241
  size: de,
4242
4242
  rounded: I,
4243
- fillMode: D
4243
+ fillMode: F
4244
4244
  }
4245
4245
  ),
4246
4246
  a.length > 0 ? /* @__PURE__ */ o.createElement(
@@ -4254,10 +4254,10 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4254
4254
  checkField: w,
4255
4255
  checkIndeterminateField: k,
4256
4256
  expandField: e.expandField,
4257
- childrenField: F,
4257
+ childrenField: D,
4258
4258
  expandIcons: !0,
4259
- onItemClick: ze,
4260
- onCheckChange: ze,
4259
+ onItemClick: He,
4260
+ onCheckChange: He,
4261
4261
  onExpandChange: Ze,
4262
4262
  checkboxes: !0,
4263
4263
  size: de,
@@ -4273,8 +4273,8 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4273
4273
  label: v,
4274
4274
  editorValue: Ee,
4275
4275
  editorPlaceholder: m,
4276
- editorValid: Fe,
4277
- editorDisabled: u,
4276
+ editorValid: De,
4277
+ editorDisabled: h,
4278
4278
  editorId: n,
4279
4279
  style: { width: d ? d.width : void 0 },
4280
4280
  children: pe,
@@ -4339,9 +4339,9 @@ const Fi = "Please select a value from the list!", { sizeMap: gs, roundedMap: Di
4339
4339
  adaptiveTitle: l.string,
4340
4340
  adaptive: l.bool
4341
4341
  };
4342
- ns.displayName = "KendoReactMultiSelectTree";
4343
- ns.defaultProps = _e;
4344
- ns.propTypes = Oi;
4342
+ is.displayName = "KendoReactMultiSelectTree";
4343
+ is.defaultProps = Re;
4344
+ is.propTypes = Oi;
4345
4345
  const st = (i, t) => {
4346
4346
  const e = {};
4347
4347
  return i && i.length && i.forEach((s) => {
@@ -4361,33 +4361,33 @@ const st = (i, t) => {
4361
4361
  const N = st(e, c);
4362
4362
  return n.filter((_) => !N[c(_)]);
4363
4363
  }
4364
- const r = e[0], u = c(r), h = Ct(a), f = [...i], m = [];
4364
+ const r = e[0], h = c(r), u = Ct(a), f = [...i], m = [];
4365
4365
  let v = [], b;
4366
4366
  for (; f.length; ) {
4367
4367
  const N = f.pop();
4368
- if (u === c(N)) {
4368
+ if (h === c(N)) {
4369
4369
  v = m.map((_) => _.item), b = N;
4370
4370
  break;
4371
4371
  } else {
4372
4372
  m && m.length && m[m.length - 1].parentPosition === f.length && m.pop();
4373
- const _ = h(N);
4373
+ const _ = u(N);
4374
4374
  _ && _.length && (m.push({ item: N, parentPosition: f.length }), f.push(..._));
4375
4375
  }
4376
4376
  }
4377
- const w = [...h(b) || []];
4377
+ const w = [...u(b) || []];
4378
4378
  let k = [];
4379
4379
  for (; w.length; ) {
4380
4380
  const N = w.pop();
4381
4381
  k.push(N);
4382
- const _ = h(N);
4382
+ const _ = u(N);
4383
4383
  _ && _.length && w.push(..._);
4384
4384
  }
4385
- const F = !d[u], O = [];
4386
- if (F) {
4385
+ const D = !d[h], O = [];
4386
+ if (D) {
4387
4387
  O.push(...n), O.push(b), O.push(...k.filter((S) => !d[c(S)]));
4388
4388
  const N = v.filter((S) => !d[c(S)]), _ = st(O, c);
4389
4389
  for (let S = N.length - 1; S > -1; S--) {
4390
- const T = N[S], C = h(T);
4390
+ const T = N[S], C = u(T);
4391
4391
  if (C.filter((M) => _[c(M)]).length < C.length)
4392
4392
  break;
4393
4393
  O.push(T), _[c(T)] = !0;
@@ -4407,28 +4407,28 @@ export {
4407
4407
  di as AutoComplete,
4408
4408
  ri as AutoCompletePropsContext,
4409
4409
  Mt as AutoCompleteWithoutContext,
4410
- xs as ComboBox,
4410
+ Is as ComboBox,
4411
4411
  oi as ComboBoxPropsContext,
4412
4412
  ct as ComboBoxWithoutContext,
4413
4413
  ti as DropDownList,
4414
4414
  Tt as DropDownListClassComponent,
4415
4415
  ei as DropDownListPropsContext,
4416
4416
  Tt as DropDownListWithoutContext,
4417
- ws as DropDownTree,
4417
+ Ss as DropDownTree,
4418
4418
  wi as DropDownTreePropsContext,
4419
4419
  je as List,
4420
- Dt as ListContainer,
4421
- Re as ListFilter,
4420
+ Ft as ListContainer,
4421
+ Ve as ListFilter,
4422
4422
  Us as ListItem,
4423
- is as MultiColumnComboBox,
4423
+ ss as MultiColumnComboBox,
4424
4424
  bi as MultiColumnComboBoxPropsContext,
4425
4425
  gi as MultiSelect,
4426
4426
  fi as MultiSelectPropsContext,
4427
- ns as MultiSelectTree,
4427
+ is as MultiSelectTree,
4428
4428
  Ni as MultiSelectTreePropsContext,
4429
4429
  Nt as MultiSelectWithoutContext,
4430
- ts as SearchBar,
4431
- Cs as TagList,
4430
+ es as SearchBar,
4431
+ xs as TagList,
4432
4432
  ce as dropdownsMessages,
4433
4433
  Wi as findByFieldValue,
4434
4434
  V as getItemValue,