@progress/kendo-react-dropdowns 7.2.0-develop.8 → 7.2.0

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,14 +5,14 @@
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 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";
8
+ import { IconWrap as Ce, classNames as B, Keys as g, svgIconPropType as fs, createPropsContext as Be, withIdHOC as Et, withPropsContext as Dt, validatePackage as $e, canUseDOM as Me, getTabIndex as Gt, kendoThemeMaps as Ge, getActiveElement as ws, useCustomComponent as Es, usePropsContext as Ut, getScrollbarWidth as Ds, getter as Ct, setScrollbarWidth as Fs, useId as gs, useRtl as ms, noop as Fe, mapTree as Ts, extendDataItem as Ms } from "@progress/kendo-react-common";
9
9
  import { FloatingLabel as Ue } from "@progress/kendo-react-labels";
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
- import { TextBox as Rs, InputPrefix as Vs } from "@progress/kendo-react-inputs";
13
- import { provideLocalizationService as We, registerForLocalization as bs, useLocalization as ys } from "@progress/kendo-react-intl";
14
- import { Button as Te, Chip as Bs } from "@progress/kendo-react-buttons";
15
- import { ActionSheet as Jt, ActionSheetHeader as Qt, ActionSheetContent as rt, ActionSheetFooter as Ks } from "@progress/kendo-react-layout";
10
+ import { searchIcon as Ns, caretAltDownIcon as jt, xIcon as at, plusIcon as Os } from "@progress/kendo-svg-icons";
11
+ import { Popup as Yt, PopupPropsContext as Ps } from "@progress/kendo-react-popup";
12
+ import { TextBox as _s, InputPrefix as Rs } from "@progress/kendo-react-inputs";
13
+ import { provideLocalizationService as We, registerForLocalization as vs, useLocalization as bs } from "@progress/kendo-react-intl";
14
+ import { Button as Te, Chip as Vs } from "@progress/kendo-react-buttons";
15
+ import { ActionSheet as Jt, ActionSheetHeader as Qt, ActionSheetContent as lt, ActionSheetFooter as Bs } from "@progress/kendo-react-layout";
16
16
  import { TreeView as kt } from "@progress/kendo-react-treeview";
17
17
  class Ft extends o.Component {
18
18
  render() {
@@ -40,7 +40,7 @@ const Xt = o.forwardRef((i, t) => {
40
40
  t,
41
41
  () => e.current
42
42
  ), /* @__PURE__ */ o.createElement("div", { className: "k-list-filter" }, /* @__PURE__ */ o.createElement(
43
- Rs,
43
+ _s,
44
44
  {
45
45
  ...i,
46
46
  ref: e,
@@ -52,7 +52,7 @@ const Xt = o.forwardRef((i, t) => {
52
52
  size: i.size,
53
53
  fillMode: i.fillMode,
54
54
  rounded: i.rounded,
55
- prefix: () => /* @__PURE__ */ o.createElement(Vs, null, /* @__PURE__ */ o.createElement(Ce, { name: "search", icon: Os }))
55
+ prefix: () => /* @__PURE__ */ o.createElement(Rs, null, /* @__PURE__ */ o.createElement(Ce, { name: "search", icon: Ns }))
56
56
  }
57
57
  ));
58
58
  });
@@ -66,7 +66,7 @@ Xt.propTypes = {
66
66
  fillMode: l.oneOf([null, "solid", "flat", "outline"])
67
67
  };
68
68
  Xt.displayName = "KendoReactListFilter";
69
- const Ve = Xt;
69
+ const Re = Xt;
70
70
  class qe extends o.Component {
71
71
  render() {
72
72
  const {
@@ -77,27 +77,27 @@ class qe extends o.Component {
77
77
  return s !== void 0 ? s.call(void 0, n, this.props) : n;
78
78
  }
79
79
  }
80
- const U = (i) => i != null, Ls = (i, t) => {
80
+ const U = (i) => i != null, Ks = (i, t) => {
81
81
  for (let e = 0; e < i.length; e++)
82
82
  if (i.charAt(e) !== t)
83
83
  return !1;
84
84
  return !0;
85
- }, zs = (i, t, e) => {
85
+ }, Ls = (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
- }, as = (i, t, e) => {
88
+ }, os = (i, t, e) => {
89
89
  if (!U(i))
90
90
  return !1;
91
91
  let s = String(i);
92
92
  return e && (s = s.toLowerCase()), s.indexOf(t) === 0;
93
- }, Hs = (i, t, e, s, n) => {
93
+ }, zs = (i, t, e, s, n) => {
94
94
  const a = i.offsetHeight, p = t.children.item(e), c = p.offsetTop + (n ? s - i.scrollTop : 0), d = p.offsetHeight;
95
95
  if (n) {
96
96
  let r = 0;
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
- }, Be = (i, t, e) => {
100
+ }, Ve = (i, t, e) => {
101
101
  let s = -1;
102
102
  if (t) {
103
103
  t = t.toLowerCase();
@@ -127,7 +127,7 @@ const U = (i) => i != null, Ls = (i, t) => {
127
127
  return;
128
128
  const s = i.findIndex((n) => V(n, t) === e);
129
129
  return i[s];
130
- }, As = (i = [], t = [], e) => {
130
+ }, Hs = (i = [], t = [], e) => {
131
131
  if (i === t)
132
132
  return !0;
133
133
  if (i.length !== t.length)
@@ -141,26 +141,26 @@ 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), ls = (i, t, e) => {
144
+ }, R = (i, t, e) => i === t || U(i) === U(t) && V(i, e) === V(t, e), as = (i, t, e) => {
145
145
  if (t) {
146
146
  const s = Lt(i, t, e, !0);
147
- return s !== -1 ? i[s] : i[Be(i, t, e)];
147
+ return s !== -1 ? i[s] : i[Ve(i, t, e)];
148
148
  }
149
149
  return i[0];
150
- }, Ws = (i, t = [], e) => {
150
+ }, As = (i, t = [], e) => {
151
151
  let s = "";
152
152
  if (i) {
153
- const n = t[Be(t, i, e)];
153
+ const n = t[Ve(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));
157
157
  }
158
158
  }
159
159
  return s;
160
- }, qs = (i) => {
160
+ }, Ws = (i) => {
161
161
  i.target.nodeName !== "INPUT" && i.preventDefault();
162
- }, St = (i, t, e) => !!i != !!t || i.text !== t.text ? !1 : i === t || As(i.data, t.data, e), $s = (i) => i.preventDefault();
163
- class Gs extends o.Component {
162
+ }, St = (i, t, e) => !!i != !!t || i.text !== t.text ? !1 : i === t || Hs(i.data, t.data, e), qs = (i) => i.preventDefault();
163
+ class $s extends o.Component {
164
164
  render() {
165
165
  const {
166
166
  selected: t,
@@ -171,7 +171,7 @@ class Gs extends o.Component {
171
171
  "div",
172
172
  {
173
173
  onClick: this.props.onClick,
174
- onMouseDown: $s,
174
+ onMouseDown: qs,
175
175
  style: { position: "unset" },
176
176
  className: B("k-list-optionlabel", {
177
177
  "k-selected": t
@@ -181,7 +181,7 @@ class Gs extends o.Component {
181
181
  );
182
182
  }
183
183
  }
184
- class Us extends o.Component {
184
+ class Gs extends o.Component {
185
185
  constructor() {
186
186
  super(...arguments), this.handleClick = (t) => this.props.onClick(this.props.index, t);
187
187
  }
@@ -216,7 +216,7 @@ class Us extends o.Component {
216
216
  return c !== void 0 ? c.call(void 0, d, this.props) : d;
217
217
  }
218
218
  }
219
- class js extends o.Component {
219
+ class Us extends o.Component {
220
220
  render() {
221
221
  const {
222
222
  group: t,
@@ -236,14 +236,14 @@ 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 me = "dropdowns.nodata", nt = "dropdowns.clear", zt = "dropdowns.comboArrowBtnAriaLabelExpand", Ht = "dropdowns.comboArrowBtnAriaLabelCollapse", At = "dropdowns.dropDownListArrowBtnAriaLabel", ot = "dropdowns.apply", at = "dropdowns.cancel", ce = {
240
- [nt]: "clear",
241
- [me]: "NO DATA FOUND.",
239
+ const ve = "dropdowns.nodata", it = "dropdowns.clear", zt = "dropdowns.comboArrowBtnAriaLabelExpand", Ht = "dropdowns.comboArrowBtnAriaLabelCollapse", At = "dropdowns.dropDownListArrowBtnAriaLabel", nt = "dropdowns.apply", ot = "dropdowns.cancel", ce = {
240
+ [it]: "clear",
241
+ [ve]: "NO DATA FOUND.",
242
242
  [zt]: "expand combobox",
243
243
  [Ht]: "collapse combobox",
244
244
  [At]: "select",
245
- [ot]: "Apply",
246
- [at]: "Cancel"
245
+ [nt]: "Apply",
246
+ [ot]: "Cancel"
247
247
  };
248
248
  class je extends o.Component {
249
249
  renderItems() {
@@ -258,18 +258,18 @@ class je extends o.Component {
258
258
  virtual: d,
259
259
  focusedIndex: r,
260
260
  highlightSelected: h = !0,
261
- value: f,
262
- data: u,
261
+ value: u,
262
+ data: f,
263
263
  itemRender: m,
264
264
  groupHeaderItemRender: v
265
- } = this.props, b = Array.isArray(f);
265
+ } = this.props, b = Array.isArray(u);
266
266
  let w = 0;
267
- return u.map((k, D) => {
268
- const O = c + D, N = c + D + w, _ = k.disabled ? !1 : h && (!b && R(k, f, e) || b && f.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, F, C;
270
- return D > 0 && s !== void 0 && (F = V(k, s), C = V(u[D - 1], s), F && C && F !== C && (S = F)), S !== void 0 && n === "modern" && (w += 1), [
270
+ return D > 0 && s !== void 0 && (F = V(k, s), C = V(f[D - 1], s), F && C && F !== C && (S = F)), S !== void 0 && n === "modern" && (w += 1), [
271
271
  S !== void 0 && n === "modern" && /* @__PURE__ */ o.createElement(
272
- js,
272
+ Us,
273
273
  {
274
274
  id: `option-${p}-${N}`,
275
275
  virtual: d,
@@ -280,7 +280,7 @@ class je extends o.Component {
280
280
  }
281
281
  ),
282
282
  /* @__PURE__ */ o.createElement(
283
- Us,
283
+ Gs,
284
284
  {
285
285
  id: `option-${p}-${S !== void 0 && n === "modern" ? N + 1 : N}`,
286
286
  virtual: d,
@@ -301,7 +301,7 @@ class je extends o.Component {
301
301
  });
302
302
  }
303
303
  renderNoValueElement(t) {
304
- const e = this.props.noDataRender, s = /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, t.toLanguageString(me, ce[me])));
304
+ const e = this.props.noDataRender, s = /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, t.toLanguageString(ve, ce[ve])));
305
305
  return e ? e.call(void 0, s) : s;
306
306
  }
307
307
  render() {
@@ -315,8 +315,8 @@ class je extends o.Component {
315
315
  wrapperRef: d,
316
316
  listClassName: r = "k-list-ul",
317
317
  ariaSetSize: h
318
- } = this.props, f = this.renderItems();
319
- return f.length ? /* @__PURE__ */ o.createElement(
318
+ } = this.props, u = this.renderItems();
319
+ return u.length ? /* @__PURE__ */ o.createElement(
320
320
  "div",
321
321
  {
322
322
  className: n,
@@ -338,15 +338,15 @@ class je extends o.Component {
338
338
  ref: c,
339
339
  style: p
340
340
  },
341
- f
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
- bs(je);
348
- const Ys = 1533915;
349
- class Js {
347
+ vs(je);
348
+ const js = 1533915;
349
+ class Ys {
350
350
  constructor() {
351
351
  this.container = null, this.scrollElement = null, this.list = null, this.containerHeight = 0, this.skip = 0, this.total = 0, this.enabled = !1, this.pageSize = 0, this.itemHeight = 0, this.PageChange = null, this.prevScrollPos = 0, this.listTranslate = 0, this.scrollSyncing = !1, this.scrollerRef = (t) => {
352
352
  const e = this;
@@ -354,7 +354,7 @@ class Js {
354
354
  }, this.calcScrollElementHeight = () => {
355
355
  this.scrollSyncing = !0;
356
356
  let t = !1;
357
- this.itemHeight = this.list ? this.list.children[0].offsetHeight : this.itemHeight, this.containerHeight = Math.min(Ys, this.itemHeight * this.total);
357
+ this.itemHeight = this.list ? this.list.children[0].offsetHeight : this.itemHeight, this.containerHeight = Math.min(js, this.itemHeight * this.total);
358
358
  const e = this.containerHeight;
359
359
  return this.scrollElement && (t = this.scrollElement.style.height !== e + "px", t && (this.scrollElement.style.height = e + "px")), this.scrollSyncing = !1, t;
360
360
  }, this.scrollHandler = this.scrollHandler.bind(this);
@@ -410,7 +410,7 @@ class Js {
410
410
  return t = Math.max(0, t), t = Math.min(this.containerHeight, t), t;
411
411
  }
412
412
  }
413
- class Qs {
413
+ class Js {
414
414
  navigate(t) {
415
415
  const e = t.keyCode;
416
416
  if (e === g.up || e === g.left)
@@ -428,7 +428,7 @@ class Qs {
428
428
  }
429
429
  const Zt = class {
430
430
  constructor(i) {
431
- this.wrapper = null, this.list = null, this.vs = new Js(), this.navigation = new Qs(), this.handleItemClick = (t, e) => {
431
+ this.wrapper = null, this.list = null, this.vs = new Ys(), this.navigation = new Js(), this.handleItemClick = (t, e) => {
432
432
  const s = this.initState();
433
433
  s.syntheticEvent = e, e.stopPropagation(), this.component.handleItemSelect(t, s), this.togglePopup(s), this.applyState(s);
434
434
  }, this.handleFocus = (t) => {
@@ -465,9 +465,9 @@ const Zt = class {
465
465
  }
466
466
  window.setTimeout(() => s.enabled = !0, 10);
467
467
  }, this.scrollPopupByPageSize = (t) => {
468
- var p, c, d, r, h, f;
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 && ((f = (h = this.list) == null ? void 0 : h.parentElement) == null || f.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(
@@ -499,7 +499,7 @@ const Zt = class {
499
499
  this.scrollToItem(i, t, !0);
500
500
  }, 10), s && i >= 0) {
501
501
  const n = this.vs, a = n.container || s.parentNode, p = t !== void 0 ? t : n.enabled;
502
- Hs(a, s, i, n.translate, p);
502
+ zs(a, s, i, n.translate, p);
503
503
  }
504
504
  }
505
505
  initState() {
@@ -610,10 +610,10 @@ const Ye = {
610
610
  name: "@progress/kendo-react-dropdowns",
611
611
  productName: "KendoReact",
612
612
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
613
- publishDate: 1708417638,
613
+ publishDate: 1708423027,
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, Wt = class extends o.Component {
616
+ }, wt = 500, Ee = 768, Qs = "Please select a value from the list!", { sizeMap: Kt, roundedMap: Xs } = 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,22 +641,20 @@ 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, h = r.getPopupSettings(), f = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = h.width !== void 0 ? h.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
- width: u,
646
+ width: f,
647
647
  popupSettings: {
648
+ ...h,
648
649
  popupClass: B(
649
650
  h.popupClass,
650
651
  "k-list-container",
651
652
  "k-dropdownlist-popup"
652
653
  ),
653
- className: h.className,
654
- animate: h.animate,
655
- anchor: this.element,
656
- show: f,
654
+ anchor: h.anchor || this.element,
655
+ show: u,
657
656
  onOpen: this.onPopupOpened,
658
- onClose: this.onPopupClosed,
659
- appendTo: h.appendTo
657
+ onClose: this.onPopupClosed
660
658
  },
661
659
  itemsCount: [n.length]
662
660
  };
@@ -685,7 +683,7 @@ const Ye = {
685
683
  groupHeaderItemRender: a,
686
684
  listNoDataRender: p,
687
685
  itemRender: c
688
- } = this.props, d = this.base.vs, r = n.skip, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = this.base.getPopupSettings(), u = `translateY(${d.translate}px)`;
686
+ } = 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
687
  return /* @__PURE__ */ o.createElement(
690
688
  je,
691
689
  {
@@ -700,9 +698,9 @@ const Ye = {
700
698
  groupField: this.props.groupField,
701
699
  groupMode: "modern",
702
700
  listRef: (m) => d.list = this.base.list = m,
703
- wrapperStyle: { maxHeight: f.height },
701
+ wrapperStyle: { maxHeight: u.height },
704
702
  wrapperCssClass: "k-list-content",
705
- listStyle: d.enabled ? { transform: u } : void 0,
703
+ listStyle: d.enabled ? { transform: f } : void 0,
706
704
  key: "listkey",
707
705
  skip: r,
708
706
  onClick: this.handleItemClick,
@@ -733,7 +731,7 @@ const Ye = {
733
731
  }, this.renderListFilter = () => {
734
732
  const t = this.props.filter !== void 0 ? this.props.filter : this.state.text;
735
733
  return this.props.filterable && /* @__PURE__ */ o.createElement(
736
- Ve,
734
+ Re,
737
735
  {
738
736
  value: t,
739
737
  ref: (e) => this._filterInput = e && e.element,
@@ -747,7 +745,7 @@ const Ye = {
747
745
  }, this.renderDefaultItem = () => {
748
746
  const { textField: t, defaultItem: e, dataItemKey: s } = this.props;
749
747
  return e !== void 0 && /* @__PURE__ */ o.createElement(
750
- Gs,
748
+ $s,
751
749
  {
752
750
  defaultItem: e,
753
751
  textField: t,
@@ -761,13 +759,13 @@ const Ye = {
761
759
  }, this.selectNext = (t) => {
762
760
  const { data: e = [], dataItemKey: s } = this.props;
763
761
  let n = e.map((k, D) => ({ item: k, itemIndex: D }));
764
- const a = this.searchState.word, p = this.searchState.last, c = Ls(a, p);
762
+ const a = this.searchState.word, p = this.searchState.last, c = Ks(a, p);
765
763
  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 f, u, m, v = 0;
764
+ this.props.defaultItem && (h = { item: this.props.defaultItem, itemIndex: -1 }, d += 1, r += 1), r += c ? 1 : 0, n = Ls(n, r, h);
765
+ let u, f, m, v = 0;
768
766
  const { textField: b, ignoreCase: w } = this.props;
769
767
  for (; v < d; v++)
770
- if (f = V(n[v].item, b), u = c && as(f, p, w), m = as(f, a, w), u || m) {
768
+ if (u = V(n[v].item, b), f = c && os(u, p, w), m = os(u, a, w), f || m) {
771
769
  v = n[v].itemIndex;
772
770
  break;
773
771
  }
@@ -787,8 +785,8 @@ const Ye = {
787
785
  dataItemKey: d,
788
786
  groupField: r = "",
789
787
  textField: h,
790
- skipDisabledItems: f = !0
791
- } = this.props, u = this.value, m = e.findIndex((F) => R(F, u, 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();
788
+ skipDisabledItems: u = !0
789
+ } = this.props, f = this.value, m = e.findIndex((F) => R(F, 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
790
  if (S.syntheticEvent = t, !n) {
793
791
  if (w && this.base.vs.enabled)
794
792
  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);
@@ -803,7 +801,7 @@ const Ye = {
803
801
  O && this.resetValueIfDisabledItem(), this.base.togglePopup(S), t.preventDefault();
804
802
  else if (_) {
805
803
  if (this._lastKeypressIsFilter = !1, r !== "" && h)
806
- if (!f && v)
804
+ if (!u && v)
807
805
  this.onNavigate(S, b);
808
806
  else {
809
807
  let F;
@@ -828,9 +826,9 @@ const Ye = {
828
826
  const C = F - m;
829
827
  this.onNavigate(S, b, C);
830
828
  } else
831
- F === void 0 && e.findIndex((C) => C[h] === u[h]) === e.length - 1 && this.onNavigate(S, b);
829
+ F === void 0 && e.findIndex((C) => C[h] === f[h]) === e.length - 1 && this.onNavigate(S, b);
832
830
  }
833
- else if (!f && v || w)
831
+ else if (!u && v || w)
834
832
  this.onNavigate(S, b);
835
833
  else if (h) {
836
834
  let F;
@@ -855,7 +853,7 @@ const Ye = {
855
853
  const C = F - m;
856
854
  this.onNavigate(S, b, C);
857
855
  } else
858
- F === void 0 && e.findIndex((C) => C[h] === u[h]) === e.length - 1 && this.onNavigate(S, b);
856
+ F === void 0 && e.findIndex((C) => C[h] === f[h]) === e.length - 1 && this.onNavigate(S, b);
859
857
  } else
860
858
  this.onNavigate(S, b);
861
859
  t.preventDefault();
@@ -869,7 +867,7 @@ const Ye = {
869
867
  }, this.handleBlur = (t) => {
870
868
  if (this._skipFocusEvent || !this.state.focused)
871
869
  return;
872
- const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { adaptive: s } = this.props, { windowWidth: n = 0 } = this.state, a = n <= we && s, p = this.base.initState();
870
+ const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { adaptive: s } = this.props, { windowWidth: n = 0 } = this.state, a = n <= Ee && s, p = this.base.initState();
873
871
  p.syntheticEvent = t, p.data.focused = !1, p.events.push({ type: "onBlur" }), e && this.resetValueIfDisabledItem(), e && !a && this.base.togglePopup(p), this.applyState(p);
874
872
  }, this.handleDefaultItemClick = (t) => {
875
873
  const e = this.base.initState();
@@ -902,7 +900,7 @@ const Ye = {
902
900
  );
903
901
  }, this.setValidity = () => {
904
902
  this._select && this._select.setCustomValidity && this._select.setCustomValidity(
905
- this.validity.valid ? "" : this.props.validationMessage || Xs
903
+ this.validity.valid ? "" : this.props.validationMessage || Qs
906
904
  );
907
905
  }, $e(Ye);
908
906
  }
@@ -969,16 +967,16 @@ const Ye = {
969
967
  * @hidden
970
968
  */
971
969
  componentDidUpdate(i, t) {
972
- var f;
970
+ var u;
973
971
  const { dataItemKey: e, virtual: s, groupField: n = "", textField: a } = this.props, { data: 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;
974
972
  if (this.base.getPopupSettings().animate || h && this.onPopupOpened(), s && s.total !== c)
975
973
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
976
974
  else {
977
- const u = this.value, m = i.value !== void 0 ? i.value : t.value;
978
- let v = p.findIndex((w) => R(w, u, e));
979
- n !== "" && u && a && (v = (f = this.base.getGroupedDataModernMode(p, n)) == null ? void 0 : f.map((w) => w[a]).indexOf(u[a]));
980
- const b = !R(m, u, e);
981
- 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 && u && 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());
975
+ const f = this.value, m = i.value !== void 0 ? i.value : t.value;
976
+ let v = p.findIndex((w) => R(w, f, e));
977
+ n !== "" && f && a && (v = (u = this.base.getGroupedDataModernMode(p, n)) == null ? void 0 : u.map((w) => w[a]).indexOf(f[a]));
978
+ const b = !R(m, f, e);
979
+ 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());
982
980
  }
983
981
  this._navigated = !1, this.setValidity();
984
982
  }
@@ -998,7 +996,7 @@ const Ye = {
998
996
  * @hidden
999
997
  */
1000
998
  render() {
1001
- 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, f = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.value, m = V(u, this.props.textField), v = !this.validityStyles || this.validity.valid, b = this.base, w = b.vs, k = h <= we && r;
999
+ 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 <= Ee && r;
1002
1000
  w.enabled = a !== void 0, a !== void 0 && (b.vs.skip = a.skip, b.vs.total = a.total, b.vs.pageSize = a.pageSize);
1003
1001
  const {
1004
1002
  dataItemKey: D,
@@ -1009,7 +1007,7 @@ const Ye = {
1009
1007
  iconClassName: F,
1010
1008
  svgIcon: C,
1011
1009
  valueRender: E
1012
- } = this.props, { focused: M } = this.state, W = O.findIndex((K) => R(K, u, D)), j = /* @__PURE__ */ o.createElement("span", { id: this._inputId, className: "k-input-inner" }, /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)), Y = E !== void 0 ? E.call(void 0, j, u) : j, ee = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1010
+ } = this.props, { focused: M } = this.state, A = O.findIndex((K) => R(K, f, D)), j = /* @__PURE__ */ o.createElement("span", { id: this._inputId, className: "k-input-inner" }, /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)), Y = E !== void 0 ? E.call(void 0, j, f) : j, Z = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1013
1011
  "span",
1014
1012
  {
1015
1013
  ref: this.componentRef,
@@ -1018,7 +1016,7 @@ const Ye = {
1018
1016
  e,
1019
1017
  {
1020
1018
  [`k-picker-${Kt[p] || p}`]: p,
1021
- [`k-rounded-${Zs[c] || c}`]: c,
1019
+ [`k-rounded-${Xs[c] || c}`]: c,
1022
1020
  [`k-picker-${d}`]: d,
1023
1021
  "k-focus": M,
1024
1022
  "k-disabled": N,
@@ -1029,7 +1027,7 @@ const Ye = {
1029
1027
  ),
1030
1028
  style: s ? { ...t, width: void 0 } : t,
1031
1029
  dir: n,
1032
- onMouseDown: f ? (K) => {
1030
+ onMouseDown: u ? (K) => {
1033
1031
  K.target.nodeName !== "INPUT" && (this.focusElement(this.base.wrapper), K.preventDefault());
1034
1032
  } : void 0,
1035
1033
  onFocus: this.handleFocus,
@@ -1043,9 +1041,9 @@ const Ye = {
1043
1041
  "aria-required": this.required,
1044
1042
  "aria-disabled": N || void 0,
1045
1043
  "aria-haspopup": "listbox",
1046
- "aria-expanded": f || !1,
1044
+ "aria-expanded": u || !1,
1047
1045
  "aria-owns": this._listboxId,
1048
- "aria-activedescendant": f ? "option-" + this._guid + "-" + (W + (a ? a.skip : 0)) : void 0,
1046
+ "aria-activedescendant": u ? "option-" + this._guid + "-" + (A + (a ? a.skip : 0)) : void 0,
1049
1047
  "aria-label": this.props.ariaLabel || this.props.label,
1050
1048
  "aria-labelledby": this.props.ariaLabelledBy,
1051
1049
  "aria-describedby": this.props.ariaDescribedBy || this._inputId,
@@ -1072,7 +1070,7 @@ const Ye = {
1072
1070
  onMouseDown: (K) => this.state.focused && K.preventDefault()
1073
1071
  }
1074
1072
  ),
1075
- this.dummySelect(u),
1073
+ this.dummySelect(f),
1076
1074
  !k && this.renderListContainer()
1077
1075
  ), k && this.renderAdaptiveListContainer());
1078
1076
  return s ? /* @__PURE__ */ o.createElement(
@@ -1083,9 +1081,9 @@ const Ye = {
1083
1081
  editorValid: v,
1084
1082
  editorDisabled: this.props.disabled,
1085
1083
  style: { width: t ? t.width : void 0 },
1086
- children: ee
1084
+ children: Z
1087
1085
  }
1088
- ) : ee;
1086
+ ) : Z;
1089
1087
  }
1090
1088
  /**
1091
1089
  * @hidden
@@ -1096,7 +1094,7 @@ const Ye = {
1096
1094
  defaultItem: n,
1097
1095
  dataItemKey: a,
1098
1096
  virtual: p = { skip: 0, total: 0, pageSize: 0 }
1099
- } = this.props, c = this.base.vs, d = this.value, r = s.findIndex((f) => R(f, d, a)), h = this.base.navigation.navigate({
1097
+ } = this.props, c = this.base.vs, d = this.value, r = s.findIndex((u) => R(u, d, a)), h = this.base.navigation.navigate({
1100
1098
  current: p.skip + r,
1101
1099
  max: (c.enabled ? p.total : s.length) - 1,
1102
1100
  min: n !== void 0 ? -1 : 0,
@@ -1111,12 +1109,12 @@ const Ye = {
1111
1109
  navigatableElements: [],
1112
1110
  expand: r,
1113
1111
  animation: !0,
1114
- onClose: (u) => this.handleWrapperClick(u),
1112
+ onClose: (f) => this.handleWrapperClick(f),
1115
1113
  animationStyles: i <= wt ? { top: 0, width: "100%", height: "100%" } : void 0,
1116
1114
  className: i <= wt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1117
1115
  };
1118
- let { group: f } = this.state;
1119
- return f === void 0 && a !== void 0 && (f = V(d[0], a)), /* @__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(
1116
+ let { group: u } = this.state;
1117
+ return u === void 0 && a !== void 0 && (u = V(d[0], a)), /* @__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(
1120
1118
  Te,
1121
1119
  {
1122
1120
  tabIndex: 0,
@@ -1126,9 +1124,9 @@ const Ye = {
1126
1124
  fillMode: "flat",
1127
1125
  onClick: this.handleWrapperClick,
1128
1126
  icon: "x",
1129
- svgIcon: lt
1127
+ svgIcon: at
1130
1128
  }
1131
- ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderListFilter())), /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
1129
+ ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderListFilter())), /* @__PURE__ */ o.createElement(lt, { className: "!k-overflow-hidden" }, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
1132
1130
  "div",
1133
1131
  {
1134
1132
  className: B(
@@ -1140,7 +1138,7 @@ const Ye = {
1140
1138
  )
1141
1139
  },
1142
1140
  this.renderDefaultItem(),
1143
- !c && f && d.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: "modern", render: p }),
1141
+ !c && u && d.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: u, groupMode: "modern", render: p }),
1144
1142
  this.renderList()
1145
1143
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e)));
1146
1144
  }
@@ -1150,7 +1148,7 @@ const Ye = {
1150
1148
  textField: e,
1151
1149
  dataItemKey: s,
1152
1150
  virtual: n = { skip: 0 },
1153
- focusedItemIndex: a = Be,
1151
+ focusedItemIndex: a = Ve,
1154
1152
  filterable: p,
1155
1153
  skipDisabledItems: c = !0
1156
1154
  } = this.props, d = this.props.filter ? this.props.filter : this.state.text;
@@ -1183,7 +1181,7 @@ Tt.propTypes = {
1183
1181
  delay: l.number,
1184
1182
  ignoreCase: l.bool,
1185
1183
  iconClassName: l.string,
1186
- svgIcon: gs,
1184
+ svgIcon: fs,
1187
1185
  defaultItem: l.any,
1188
1186
  valueRender: l.func,
1189
1187
  valueMap: l.func,
@@ -1211,11 +1209,11 @@ Tt.defaultProps = {
1211
1209
  fillMode: "solid",
1212
1210
  groupMode: "modern"
1213
1211
  };
1214
- const ei = Ke(), ti = Et(Dt(
1215
- ei,
1212
+ const Zs = Be(), ei = Et(Dt(
1213
+ Zs,
1216
1214
  Tt
1217
1215
  ));
1218
- ti.displayName = "KendoReactDropDownList";
1216
+ ei.displayName = "KendoReactDropDownList";
1219
1217
  class es extends o.Component {
1220
1218
  constructor() {
1221
1219
  super(...arguments), this._input = null;
@@ -1227,7 +1225,7 @@ class es extends o.Component {
1227
1225
  return this._input;
1228
1226
  }
1229
1227
  componentDidUpdate(t) {
1230
- 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);
1228
+ 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 = ws(document);
1231
1229
  p && c && h !== c && c.focus(), a && d && !r && c && c.setSelectionRange(n.length - a.length, n.length);
1232
1230
  }
1233
1231
  render() {
@@ -1268,12 +1266,12 @@ class es extends o.Component {
1268
1266
  return n ? n.call(void 0, a) : a;
1269
1267
  }
1270
1268
  }
1271
- class dt extends o.Component {
1269
+ class rt extends o.Component {
1272
1270
  constructor() {
1273
1271
  super(...arguments), this.onMouseDown = (t) => t.preventDefault();
1274
1272
  }
1275
1273
  render() {
1276
- const t = We(this).toLanguageString(nt, ce[nt]);
1274
+ const t = We(this).toLanguageString(it, ce[it]);
1277
1275
  return /* @__PURE__ */ o.createElement(
1278
1276
  "span",
1279
1277
  {
@@ -1285,12 +1283,12 @@ class dt extends o.Component {
1285
1283
  title: t,
1286
1284
  key: "clearbutton"
1287
1285
  },
1288
- /* @__PURE__ */ o.createElement(Ce, { name: "x", icon: lt })
1286
+ /* @__PURE__ */ o.createElement(Ce, { name: "x", icon: at })
1289
1287
  );
1290
1288
  }
1291
1289
  }
1292
- bs(dt);
1293
- const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, roundedMap: ni } = Ge, xt = class extends o.Component {
1290
+ vs(rt);
1291
+ const ti = Es, Ne = ti, si = "Please enter a valid value!", { sizeMap: yt, roundedMap: ii } = Ge, xt = class extends o.Component {
1294
1292
  constructor(i) {
1295
1293
  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 = () => {
1296
1294
  this._input && this._input.focus();
@@ -1313,7 +1311,7 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1313
1311
  }, this.renderMobileListFilter = () => {
1314
1312
  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;
1315
1313
  return /* @__PURE__ */ o.createElement(
1316
- Ve,
1314
+ Re,
1317
1315
  {
1318
1316
  value: s,
1319
1317
  ref: (n) => this._adaptiveFilterInput = n && n.element,
@@ -1356,11 +1354,11 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1356
1354
  n.syntheticEvent = t, this.base.togglePopup(n), this.base.filterChanged(s, n), this.applyState(n);
1357
1355
  }
1358
1356
  }, this.onInputKeyDown = (t) => {
1359
- 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, f = this.base.initState();
1360
- if (f.syntheticEvent = t, !t.altKey && (r === g.up || r === g.down)) {
1357
+ 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();
1358
+ if (u.syntheticEvent = t, !t.altKey && (r === g.up || r === g.down)) {
1361
1359
  if (t.preventDefault(), p !== "" && n)
1362
1360
  if (!this.props.skipDisabledItems && h)
1363
- this.onNavigate(f, r);
1361
+ this.onNavigate(u, r);
1364
1362
  else {
1365
1363
  let w = 0;
1366
1364
  if (r === g.down || r === g.right) {
@@ -1380,12 +1378,12 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1380
1378
  }
1381
1379
  if (w !== void 0) {
1382
1380
  const k = w - d;
1383
- this.onNavigate(f, r, k);
1381
+ this.onNavigate(u, r, k);
1384
1382
  } else
1385
- w === void 0 && e.findIndex((k) => k[n] === c[n]) === e.length - 1 && this.onNavigate(f, r);
1383
+ w === void 0 && e.findIndex((k) => k[n] === c[n]) === e.length - 1 && this.onNavigate(u, r);
1386
1384
  }
1387
1385
  else if (!this.props.skipDisabledItems && h)
1388
- this.onNavigate(f, r);
1386
+ this.onNavigate(u, r);
1389
1387
  else {
1390
1388
  let w = null;
1391
1389
  if (r === g.down || r === g.right)
@@ -1397,16 +1395,16 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1397
1395
  }
1398
1396
  if (w) {
1399
1397
  const k = w.id - d - 1;
1400
- this.onNavigate(f, r, k);
1398
+ this.onNavigate(u, r, k);
1401
1399
  } else
1402
- this.onNavigate(f, r);
1400
+ this.onNavigate(u, r);
1403
1401
  }
1404
- this.applyState(f);
1402
+ this.applyState(u);
1405
1403
  }
1406
- const u = () => {
1407
- t.preventDefault(), this.base.togglePopup(f), this.applyState(f);
1404
+ const f = () => {
1405
+ t.preventDefault(), this.base.togglePopup(u), this.applyState(u);
1408
1406
  }, m = this.getFocusedIndex(), v = m === -1, b = !v && this.getCurrentValueDisabledStatus(n, e, m);
1409
- h ? r === g.pageUp ? this.base.scrollPopupByPageSize(-1) : r === g.pageDown ? this.base.scrollPopupByPageSize(1) : t.altKey && r === g.up ? u() : 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, f) : this.applyValueOnEnter(t.currentTarget.value, f)) : r === g.esc && (!s && n && b && this.clearValueOnEnterOrEsc(t), this.applyValueOnRejectSuggestions(t.currentTarget.value, f)) : !h && r === g.esc ? this.clearValueOnEnterOrEsc(t) : t.altKey && r === g.down && u();
1407
+ 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();
1410
1408
  }, this.inputOnChange = (t) => {
1411
1409
  const e = this.base.initState();
1412
1410
  e.syntheticEvent = t;
@@ -1433,7 +1431,7 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1433
1431
  e.syntheticEvent = t, t.stopPropagation(), this.clearValue();
1434
1432
  }, this.setValidity = () => {
1435
1433
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
1436
- this.validity.valid ? "" : this.props.validationMessage || ii
1434
+ this.validity.valid ? "" : this.props.validationMessage || si
1437
1435
  );
1438
1436
  }, $e(Ye);
1439
1437
  }
@@ -1452,7 +1450,7 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1452
1450
  * The mobile mode of the ComboBox.
1453
1451
  */
1454
1452
  get mobileMode() {
1455
- return !!(this.state.windowWidth && this.state.windowWidth <= we && this.props.adaptive);
1453
+ return !!(this.state.windowWidth && this.state.windowWidth <= Ee && this.props.adaptive);
1456
1454
  }
1457
1455
  /**
1458
1456
  * The value of the ComboBox.
@@ -1500,16 +1498,16 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1500
1498
  }
1501
1499
  /** @hidden */
1502
1500
  componentDidUpdate(i, t) {
1503
- var u;
1504
- 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, f = this.value;
1505
- if (this._valueOnDidUpdate = f, s && s.total !== c)
1501
+ var f;
1502
+ 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;
1503
+ if (this._valueOnDidUpdate = u, s && s.total !== c)
1506
1504
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
1507
1505
  else {
1508
1506
  const m = i.value !== void 0 ? i.value : t.value;
1509
- let v = a.findIndex((w) => R(w, f, e));
1510
- this.props.groupMode === "modern" && p && f && (v = (u = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : u.map((w) => w[p]).indexOf(f[p]));
1511
- const b = !R(m, f, e);
1512
- 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 && f && b && this.base.scrollToItem(v);
1507
+ let v = a.findIndex((w) => R(w, u, e));
1508
+ this.props.groupMode === "modern" && p && u && (v = (f = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : f.map((w) => w[p]).indexOf(u[p]));
1509
+ const b = !R(m, u, e);
1510
+ 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);
1513
1511
  }
1514
1512
  h && this._input && this._input.focus(), this.setValidity();
1515
1513
  }
@@ -1538,24 +1536,24 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1538
1536
  className: d,
1539
1537
  style: r,
1540
1538
  loading: h,
1541
- iconClassName: f,
1542
- virtual: u,
1539
+ iconClassName: u,
1540
+ virtual: f,
1543
1541
  size: m,
1544
1542
  rounded: v,
1545
1543
  fillMode: b,
1546
1544
  opened: w = this.state.opened,
1547
1545
  placeholder: k,
1548
1546
  svgIcon: D
1549
- } = this.props, { windowWidth: O = 0 } = this.state, N = !this.validityStyles || this.validity.valid, _ = this.props.filter !== void 0 ? this.props.filter : this.state.text, S = V(this.value, p), F = U(_) ? _ : S, C = n && (!!F || U(this.value)), M = this.base.vs, W = this.props.id || this._inputId, j = O <= we && c;
1550
- M.enabled = u !== void 0, u !== void 0 && (M.skip = u.skip, M.total = u.total, M.pageSize = u.pageSize);
1551
- const [Y, ee] = Ne(this.props.prefix || o.Fragment), [K, ve] = Ne(this.props.suffix || o.Fragment), Q = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1547
+ } = this.props, { windowWidth: O = 0 } = this.state, N = !this.validityStyles || this.validity.valid, _ = this.props.filter !== void 0 ? this.props.filter : this.state.text, S = V(this.value, p), F = U(_) ? _ : S, C = n && (!!F || U(this.value)), M = this.base.vs, A = this.props.id || this._inputId, j = O <= Ee && c;
1548
+ M.enabled = f !== void 0, f !== void 0 && (M.skip = f.skip, M.total = f.total, M.pageSize = f.pageSize);
1549
+ const [Y, Z] = Ne(this.props.prefix || o.Fragment), [K, be] = Ne(this.props.suffix || o.Fragment), X = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1552
1550
  "span",
1553
1551
  {
1554
1552
  className: B(
1555
1553
  "k-combobox k-input",
1556
1554
  {
1557
1555
  [`k-input-${yt[m] || m}`]: m,
1558
- [`k-rounded-${ni[v] || v}`]: v,
1556
+ [`k-rounded-${ii[v] || v}`]: v,
1559
1557
  [`k-input-${b}`]: b,
1560
1558
  "k-invalid": !N,
1561
1559
  "k-loading": h,
@@ -1568,27 +1566,27 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1568
1566
  style: a ? { ...r, width: void 0 } : r,
1569
1567
  dir: e
1570
1568
  },
1571
- this.props.prefix && /* @__PURE__ */ o.createElement(Y, { ...ee }),
1572
- this.renderSearchBar(F || "", W, k),
1573
- C && !h && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1569
+ this.props.prefix && /* @__PURE__ */ o.createElement(Y, { ...Z }),
1570
+ this.renderSearchBar(F || "", A, k),
1571
+ C && !h && /* @__PURE__ */ o.createElement(rt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1574
1572
  h && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
1575
- this.props.suffix && /* @__PURE__ */ o.createElement(K, { ...ve }),
1573
+ this.props.suffix && /* @__PURE__ */ o.createElement(K, { ...be }),
1576
1574
  /* @__PURE__ */ o.createElement(
1577
1575
  Te,
1578
1576
  {
1579
1577
  tabIndex: -1,
1580
1578
  type: "button",
1581
1579
  "aria-label": w ? t : i,
1582
- icon: f ? void 0 : "caret-alt-down",
1580
+ icon: u ? void 0 : "caret-alt-down",
1583
1581
  svgIcon: D || jt,
1584
- iconClass: f,
1582
+ iconClass: u,
1585
1583
  size: m,
1586
1584
  fillMode: b,
1587
1585
  rounded: null,
1588
1586
  themeColor: "base",
1589
1587
  className: "k-input-button",
1590
1588
  onClick: this.toggleBtnClick,
1591
- onMouseDown: (J) => J.preventDefault()
1589
+ onMouseDown: (Q) => Q.preventDefault()
1592
1590
  }
1593
1591
  ),
1594
1592
  !j && this.renderListContainer()
@@ -1597,14 +1595,14 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1597
1595
  Ue,
1598
1596
  {
1599
1597
  label: a,
1600
- editorId: W,
1598
+ editorId: A,
1601
1599
  editorValue: F,
1602
1600
  editorValid: N,
1603
1601
  editorDisabled: s,
1604
1602
  style: { width: r ? r.width : void 0 },
1605
- children: Q
1603
+ children: X
1606
1604
  }
1607
- ) : Q;
1605
+ ) : X;
1608
1606
  }
1609
1607
  /** @hidden */
1610
1608
  onNavigate(i, t, e) {
@@ -1639,7 +1637,7 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1639
1637
  this.triggerOnChange(r, t), a && this.base.togglePopup(t), this.props.filter === void 0 && this.state.text !== void 0 && (t.data.text = void 0), this.applyState(t);
1640
1638
  }
1641
1639
  applyValueOnRejectSuggestions(i, t) {
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;
1640
+ 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 <= Ee;
1643
1641
  if (this._suggested = "", i === p || i === "" && !U(p))
1644
1642
  return a && !c && this.base.togglePopup(t), this.applyState(t);
1645
1643
  const d = Lt(e, i, s, !0), r = d !== -1;
@@ -1647,17 +1645,17 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1647
1645
  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
1646
  }
1649
1647
  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 = Be } = this.props, c = a.skip, d = i === "" && c === 0 ? 0 : p(s, i, n);
1648
+ 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);
1651
1649
  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
1650
  }
1653
1651
  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: h } = this.props, f = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1655
- let { group: u } = this.state;
1656
- u === void 0 && a !== void 0 && (u = V(n[0], a));
1652
+ 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;
1653
+ let { group: f } = this.state;
1654
+ f === void 0 && a !== void 0 && (f = V(n[0], a));
1657
1655
  const m = {
1658
1656
  navigatable: !1,
1659
1657
  navigatableElements: [],
1660
- expand: f,
1658
+ expand: u,
1661
1659
  animation: !0,
1662
1660
  onClose: (v) => this.toggleBtnClick(v),
1663
1661
  animationStyles: i <= wt ? { top: 0, width: "100%", height: "100%" } : void 0,
@@ -1673,9 +1671,9 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1673
1671
  fillMode: "flat",
1674
1672
  onClick: this.toggleBtnClick,
1675
1673
  icon: "x",
1676
- svgIcon: lt
1674
+ svgIcon: at
1677
1675
  }
1678
- ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderMobileListFilter())), /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: B(
1676
+ ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderMobileListFilter())), /* @__PURE__ */ o.createElement(lt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: B(
1679
1677
  {
1680
1678
  "k-list": !c,
1681
1679
  "k-list-lg": !0,
@@ -1683,26 +1681,24 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1683
1681
  "k-data-table": c,
1684
1682
  [`k-table-${yt[s] || s}`]: c && s
1685
1683
  }
1686
- ) }, t && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, t), !c && u && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: u, groupMode: p, render: h }), this.renderList(), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e)))));
1684
+ ) }, 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
1685
  }
1688
1686
  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: h } = this.props, f = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = i.getPopupSettings(), m = u.width !== void 0 ? u.width : i.popupWidth;
1687
+ 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
1688
  let { group: v } = this.state;
1691
1689
  return v === void 0 && a !== void 0 && (v = V(n[0], a)), /* @__PURE__ */ o.createElement(
1692
1690
  Ft,
1693
1691
  {
1694
1692
  width: m,
1695
1693
  popupSettings: {
1696
- animate: u.animate,
1697
- anchor: this.element,
1698
- show: f,
1694
+ ...f,
1695
+ anchor: f.anchor || this.element,
1696
+ show: u,
1699
1697
  popupClass: B(
1700
- u.popupClass,
1698
+ f.popupClass,
1701
1699
  "k-list-container",
1702
1700
  "k-combobox-popup"
1703
- ),
1704
- className: u.className,
1705
- appendTo: u.appendTo
1701
+ )
1706
1702
  },
1707
1703
  dir: t !== void 0 ? t : this.base.dirCalculated,
1708
1704
  itemsCount: [n.length]
@@ -1732,13 +1728,13 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1732
1728
  groupHeaderItemRender: a,
1733
1729
  data: p = [],
1734
1730
  virtual: c = { skip: 0, total: void 0 }
1735
- } = this.props, d = i.getPopupSettings(), r = i.vs, h = c.skip, f = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = `translateY(${r.translate}px)`, m = f ? 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;
1731
+ } = 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
1732
  return /* @__PURE__ */ o.createElement(
1737
1733
  k,
1738
1734
  {
1739
1735
  id: i.listBoxId,
1740
1736
  virtual: !!c,
1741
- show: f,
1737
+ show: u,
1742
1738
  data: p,
1743
1739
  focusedIndex: m,
1744
1740
  value: w,
@@ -1751,14 +1747,14 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1751
1747
  listRef: (D) => {
1752
1748
  r.list = this.base.list = D, this.itemHeight = 0;
1753
1749
  },
1754
- wrapperStyle: this.state.windowWidth && this.state.windowWidth > we ? { maxHeight: d.height } : {},
1750
+ wrapperStyle: this.state.windowWidth && this.state.windowWidth > Ee ? { maxHeight: d.height } : {},
1755
1751
  wrapperCssClass: B(
1756
1752
  "k-list-content",
1757
1753
  {
1758
1754
  "k-list-scroller": !c
1759
1755
  }
1760
1756
  ),
1761
- listStyle: r.enabled ? { transform: u } : void 0,
1757
+ listStyle: r.enabled ? { transform: f } : void 0,
1762
1758
  key: "listkey",
1763
1759
  skip: h,
1764
1760
  onClick: this.handleItemClick,
@@ -1780,7 +1776,7 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1780
1776
  data: a = [],
1781
1777
  dataItemKey: p,
1782
1778
  virtual: c = { skip: 0 }
1783
- } = this.props, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = this.value, h = Math.max(0, a.findIndex((f) => R(f, r, p)));
1779
+ } = 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
1780
  return this._suggested && !R(this._valueOnDidUpdate, r, p) && (this._suggested = ""), /* @__PURE__ */ o.createElement(
1785
1781
  es,
1786
1782
  {
@@ -1792,7 +1788,7 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1792
1788
  accessKey: this.props.accessKey,
1793
1789
  value: i + this._suggested,
1794
1790
  suggestedText: this._suggested,
1795
- ref: (f) => this._input = f && f.input,
1791
+ ref: (u) => this._input = u && u.input,
1796
1792
  onClick: this.onInputClick,
1797
1793
  onKeyDown: this.onInputKeyDown,
1798
1794
  onChange: this.inputOnChange,
@@ -1821,12 +1817,12 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1821
1817
  !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
1818
  }
1823
1819
  getFocusedIndex() {
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;
1820
+ 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;
1825
1821
  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
1822
  }
1827
1823
  suggestValue(i) {
1828
1824
  const { data: t, textField: e } = this.props;
1829
- this._suggested = Ws(i, t, e);
1825
+ this._suggested = As(i, t, e);
1830
1826
  }
1831
1827
  applyState(i) {
1832
1828
  this.base.applyState(i), this._valueDuringOnChange = void 0;
@@ -1836,9 +1832,9 @@ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, round
1836
1832
  this.setState({ windowWidth: t.target.clientWidth });
1837
1833
  }
1838
1834
  };
1839
- let ct = xt;
1840
- ct.displayName = "ComboBox";
1841
- ct.propTypes = {
1835
+ let dt = xt;
1836
+ dt.displayName = "ComboBox";
1837
+ dt.propTypes = {
1842
1838
  ...oe.propTypes,
1843
1839
  size: l.oneOf([null, "small", "medium", "large"]),
1844
1840
  rounded: l.oneOf([null, "small", "medium", "large", "full"]),
@@ -1853,7 +1849,7 @@ ct.propTypes = {
1853
1849
  allowCustom: l.bool,
1854
1850
  clearButton: l.bool,
1855
1851
  iconClassName: l.string,
1856
- svgIcon: gs,
1852
+ svgIcon: fs,
1857
1853
  validationMessage: l.string,
1858
1854
  required: l.bool,
1859
1855
  id: l.string,
@@ -1863,7 +1859,7 @@ ct.propTypes = {
1863
1859
  valueRender: l.func,
1864
1860
  skipDisabledItems: l.bool
1865
1861
  };
1866
- ct.defaultProps = {
1862
+ dt.defaultProps = {
1867
1863
  ...oe.defaultProps,
1868
1864
  size: "medium",
1869
1865
  rounded: "medium",
@@ -1877,9 +1873,9 @@ ct.defaultProps = {
1877
1873
  prefix: void 0,
1878
1874
  suffix: void 0
1879
1875
  };
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 {
1876
+ const ni = Be(), ys = Et(Dt(ni, dt));
1877
+ ys.displayName = "KendoReactComboBox";
1878
+ const oi = "Please enter a valid value!", { sizeMap: ls, roundedMap: ai } = Ge, qt = class extends o.Component {
1883
1879
  constructor(i) {
1884
1880
  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
1881
  this._input && this._input.focus();
@@ -1893,7 +1889,7 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
1893
1889
  this.base.togglePopup(t);
1894
1890
  }, this.setValidity = () => {
1895
1891
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
1896
- this.validity.valid ? "" : this.props.validationMessage || ai
1892
+ this.validity.valid ? "" : this.props.validationMessage || oi
1897
1893
  );
1898
1894
  }, this.onScroll = (t) => {
1899
1895
  this._isScrolling = !0;
@@ -1914,9 +1910,9 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
1914
1910
  }, this.onChangeHandler = (t) => {
1915
1911
  const s = this.base.initState(), n = t.currentTarget, a = n.value, p = n.selectionEnd === a.length;
1916
1912
  s.syntheticEvent = t;
1917
- const c = this._suggested, d = this.value, r = d && d.substring(0, d.length - c.length), h = r && r === a, f = r && r.length > a.length, { suggest: u } = this.props, m = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1918
- if (u !== void 0 && u !== !1) {
1919
- h || f || !p ? this._suggested = "" : this.suggestValue(a);
1913
+ 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;
1914
+ if (f !== void 0 && f !== !1) {
1915
+ h || u || !p ? this._suggested = "" : this.suggestValue(a);
1920
1916
  const v = a + this._suggested, b = { userInput: a, value: this._suggested };
1921
1917
  this.triggerOnChange(v, s, { suggestion: b });
1922
1918
  } else
@@ -1930,9 +1926,9 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
1930
1926
  }, this.onInputKeyDown = (t) => {
1931
1927
  const { data: e = [], skipDisabledItems: s, groupField: n, textField: a } = this.props;
1932
1928
  this._isScrolling && (this._isScrolling = !1);
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, f = this.base.initState();
1934
- f.syntheticEvent = t;
1935
- const u = () => {
1929
+ 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();
1930
+ u.syntheticEvent = t;
1931
+ const f = () => {
1936
1932
  h && t.preventDefault();
1937
1933
  };
1938
1934
  if (r && d === g.down)
@@ -1948,14 +1944,14 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
1948
1944
  else if (h && d === g.pageDown)
1949
1945
  this.base.scrollPopupByPageSize(1);
1950
1946
  else if (h && (d === g.enter || d === g.esc))
1951
- u(), s === !1 && c && c.disabled ? (h && this.togglePopup(f), this.applyState(f)) : this.applyInputValue(t.currentTarget.value, f, t.keyCode);
1947
+ f(), s === !1 && c && c.disabled ? (h && this.togglePopup(u), this.applyState(u)) : this.applyInputValue(t.currentTarget.value, u, t.keyCode);
1952
1948
  else if (!h && d === g.esc) {
1953
1949
  const m = "";
1954
- this._suggested = "", this.triggerOnChange(m, f), this.state.focusedItem !== void 0 && (f.data.focusedItem = void 0), this.applyState(f);
1950
+ this._suggested = "", this.triggerOnChange(m, u), this.state.focusedItem !== void 0 && (u.data.focusedItem = void 0), this.applyState(u);
1955
1951
  } else if (d === g.up || d === g.down) {
1956
1952
  if (n !== "" && a)
1957
1953
  if (!this.props.skipDisabledItems && h)
1958
- this.onNavigate(f, d);
1954
+ this.onNavigate(u, d);
1959
1955
  else {
1960
1956
  let m = 0;
1961
1957
  if (d === g.down || d === g.right) {
@@ -1975,12 +1971,12 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
1975
1971
  }
1976
1972
  if (m !== void 0) {
1977
1973
  const v = m - p;
1978
- this.onNavigate(f, d, v);
1974
+ this.onNavigate(u, d, v);
1979
1975
  } else
1980
- m === void 0 && e.findIndex((v) => v[a]) === e.length - 1 && this.onNavigate(f, d);
1976
+ m === void 0 && e.findIndex((v) => v[a]) === e.length - 1 && this.onNavigate(u, d);
1981
1977
  }
1982
1978
  else if (!this.props.skipDisabledItems && h)
1983
- this.onNavigate(f, d);
1979
+ this.onNavigate(u, d);
1984
1980
  else {
1985
1981
  let m = null;
1986
1982
  if (d === g.down || d === g.right)
@@ -1992,11 +1988,11 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
1992
1988
  }
1993
1989
  if (m) {
1994
1990
  const v = m.id - p - 1;
1995
- this.onNavigate(f, d, v);
1991
+ this.onNavigate(u, d, v);
1996
1992
  } else
1997
- this.onNavigate(f, d);
1993
+ this.onNavigate(u, d);
1998
1994
  }
1999
- this.applyState(f), u();
1995
+ this.applyState(u), f();
2000
1996
  }
2001
1997
  }, this.handleBlur = (t) => {
2002
1998
  if (this.state.focused) {
@@ -2053,13 +2049,13 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2053
2049
  * @hidden
2054
2050
  */
2055
2051
  componentDidUpdate(i, t) {
2056
- var u;
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, f = !h && r;
2052
+ var f;
2053
+ 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
2054
  if (e === "")
2059
- (r && (d || c) || f) && this.base.scrollToItem(a);
2055
+ (r && (d || c) || u) && this.base.scrollToItem(a);
2060
2056
  else if (!this._isScrolling) {
2061
- let m = (u = this.base.getGroupedDataModernMode(s, e)) == null ? void 0 : u.indexOf(p);
2062
- f && (s && s.length !== 0 && this.base.resetGroupStickyHeader(s[0][e], this), this.base.scrollToItem(m)), r && h && d && this.base.scrollToItem(m);
2057
+ let m = (f = this.base.getGroupedDataModernMode(s, e)) == null ? void 0 : f.indexOf(p);
2058
+ u && (s && s.length !== 0 && this.base.resetGroupStickyHeader(s[0][e], this), this.base.scrollToItem(m)), r && h && d && this.base.scrollToItem(m);
2063
2059
  }
2064
2060
  this.setValidity();
2065
2061
  }
@@ -2073,7 +2069,7 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2073
2069
  * @hidden
2074
2070
  */
2075
2071
  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, h = !this.validityStyles || this.validity.valid, f = this.base, u = this.value, m = this.props.clearButton !== !1 && !a && !!u, v = this.props.id || this._inputId;
2072
+ 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
2073
  typeof p == "string" && (this._suggested = p);
2078
2074
  const [b, w] = Ne(this.props.prefix || o.Fragment), [k, D] = Ne(this.props.suffix || o.Fragment), O = /* @__PURE__ */ o.createElement(
2079
2075
  "span",
@@ -2082,8 +2078,8 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2082
2078
  "k-autocomplete k-input",
2083
2079
  s,
2084
2080
  {
2085
- [`k-input-${rs[c] || c}`]: c,
2086
- [`k-rounded-${li[d] || d}`]: d,
2081
+ [`k-input-${ls[c] || c}`]: c,
2082
+ [`k-rounded-${ai[d] || d}`]: d,
2087
2083
  [`k-input-${r}`]: r,
2088
2084
  "k-invalid": !h,
2089
2085
  "k-loading": a,
@@ -2092,15 +2088,15 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2092
2088
  }
2093
2089
  ),
2094
2090
  ref: (N) => {
2095
- this._element = N, f.wrapper = N;
2091
+ this._element = N, u.wrapper = N;
2096
2092
  },
2097
2093
  style: e ? { ...n, width: void 0 } : n,
2098
2094
  dir: i
2099
2095
  },
2100
2096
  this.props.prefix && /* @__PURE__ */ o.createElement(b, { ...w }),
2101
- this.renderSearchBar(u || "", v),
2097
+ this.renderSearchBar(f || "", v),
2102
2098
  a && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2103
- m && !a && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick, key: "clearbutton" }),
2099
+ m && !a && /* @__PURE__ */ o.createElement(rt, { onClick: this.clearButtonClick, key: "clearbutton" }),
2104
2100
  this.props.suffix && /* @__PURE__ */ o.createElement(k, { ...D }),
2105
2101
  this.renderListContainer()
2106
2102
  );
@@ -2109,7 +2105,7 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2109
2105
  {
2110
2106
  label: e,
2111
2107
  editorId: v,
2112
- editorValue: u,
2108
+ editorValue: f,
2113
2109
  editorValid: h,
2114
2110
  editorDisabled: t,
2115
2111
  style: { width: n ? n.width : void 0 },
@@ -2121,7 +2117,7 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2121
2117
  * @hidden
2122
2118
  */
2123
2119
  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(ls(n, s, a)), d = this.base.navigation.navigate({
2120
+ 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(as(n, s, a)), d = this.base.navigation.navigate({
2125
2121
  keyCode: t,
2126
2122
  current: c,
2127
2123
  max: n.length - 1,
@@ -2182,23 +2178,21 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2182
2178
  groupField: p,
2183
2179
  list: c,
2184
2180
  groupStickyHeaderItemRender: d
2185
- } = this.props, r = i.getPopupSettings(), h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = r.width !== void 0 ? r.width : i.popupWidth;
2186
- let { group: u } = this.state;
2187
- return u === void 0 && p !== void 0 && (u = V(n[0], p)), /* @__PURE__ */ o.createElement(
2181
+ } = 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;
2182
+ let { group: f } = this.state;
2183
+ return f === void 0 && p !== void 0 && (f = V(n[0], p)), /* @__PURE__ */ o.createElement(
2188
2184
  Ft,
2189
2185
  {
2190
- width: f,
2186
+ width: u,
2191
2187
  popupSettings: {
2192
- animate: r.animate,
2193
- anchor: this.element,
2188
+ ...r,
2189
+ anchor: r.anchor || this.element,
2194
2190
  show: h,
2195
2191
  popupClass: B(
2196
2192
  r.popupClass,
2197
2193
  "k-list-container",
2198
2194
  "k-autocomplete-popup"
2199
- ),
2200
- className: r.className,
2201
- appendTo: r.appendTo
2195
+ )
2202
2196
  },
2203
2197
  dir: t !== void 0 ? t : this.base.dirCalculated,
2204
2198
  itemsCount: [n.length]
@@ -2210,11 +2204,11 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2210
2204
  className: B(
2211
2205
  "k-list",
2212
2206
  {
2213
- [`k-list-${rs[a] || a}`]: a
2207
+ [`k-list-${ls[a] || a}`]: a
2214
2208
  }
2215
2209
  )
2216
2210
  },
2217
- !c && u && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: u, groupMode: "modern", render: d }),
2211
+ !c && f && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: "modern", render: d }),
2218
2212
  this.renderList()
2219
2213
  ),
2220
2214
  s && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, s)
@@ -2262,7 +2256,7 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2262
2256
  }
2263
2257
  suggestValue(i) {
2264
2258
  if (this._suggested = "", i) {
2265
- const { data: t = [], textField: e } = this.props, s = t[Be(t, i, e)];
2259
+ const { data: t = [], textField: e } = this.props, s = t[Ve(t, i, e)];
2266
2260
  if (s) {
2267
2261
  const n = V(s, e);
2268
2262
  i.toLowerCase() !== n.toLowerCase() && (this._suggested = n.substring(i.length));
@@ -2276,7 +2270,7 @@ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge,
2276
2270
  if (s)
2277
2271
  return s(t, a, e);
2278
2272
  {
2279
- const p = t.indexOf(ls(t, a, e));
2273
+ const p = t.indexOf(as(t, a, e));
2280
2274
  return n && e && p === -1 ? t.findIndex((c) => !c.disabled && c[e]) : Math.max(0, p);
2281
2275
  }
2282
2276
  }
@@ -2313,10 +2307,10 @@ Mt.defaultProps = {
2313
2307
  prefix: void 0,
2314
2308
  suffix: void 0
2315
2309
  };
2316
- const ri = Ke(), di = Et(Dt(ri, Mt));
2317
- di.displayName = "KendoReactAutoComplete";
2318
- const ci = (i) => i.syntheticEvent.preventDefault(), pi = (i) => i.syntheticEvent.stopPropagation();
2319
- class xs extends o.Component {
2310
+ const li = Be(), ri = Et(Dt(li, Mt));
2311
+ ri.displayName = "KendoReactAutoComplete";
2312
+ const di = (i) => i.syntheticEvent.preventDefault(), ci = (i) => i.syntheticEvent.stopPropagation();
2313
+ class Is extends o.Component {
2320
2314
  render() {
2321
2315
  const { data: t, guid: e, focused: s, tagRender: n, tag: a, onTagDelete: p, size: c } = this.props;
2322
2316
  return /* @__PURE__ */ o.createElement(o.Fragment, null, t.map((d, r) => {
@@ -2330,7 +2324,7 @@ class xs extends o.Component {
2330
2324
  onTagDelete: p
2331
2325
  }
2332
2326
  ) : /* @__PURE__ */ o.createElement(
2333
- Bs,
2327
+ Vs,
2334
2328
  {
2335
2329
  id: `tag-${e}-${d.text.replace(/\s+/g, "-")}`,
2336
2330
  "aria-selected": !0,
@@ -2339,9 +2333,9 @@ class xs extends o.Component {
2339
2333
  key: d.text + r,
2340
2334
  text: d.text,
2341
2335
  removable: !0,
2342
- onRemove: (f) => p.call(void 0, d.data, f.syntheticEvent),
2343
- onMouseDown: ci,
2344
- onClick: pi,
2336
+ onRemove: (u) => p.call(void 0, d.data, u.syntheticEvent),
2337
+ onMouseDown: di,
2338
+ onClick: ci,
2345
2339
  className: d === s ? "k-focus" : void 0,
2346
2340
  size: c
2347
2341
  }
@@ -2350,8 +2344,8 @@ class xs extends o.Component {
2350
2344
  }), this.props.children);
2351
2345
  }
2352
2346
  }
2353
- var it = /* @__PURE__ */ ((i) => (i[i.PopupList = 0] = "PopupList", i[i.TagsList = 1] = "TagsList", i))(it || {});
2354
- const ds = 500, ts = (i) => {
2347
+ var st = /* @__PURE__ */ ((i) => (i[i.PopupList = 0] = "PopupList", i[i.TagsList = 1] = "TagsList", i))(st || {});
2348
+ const rs = 500, ts = (i) => {
2355
2349
  const {
2356
2350
  footer: t,
2357
2351
  children: e,
@@ -2363,16 +2357,16 @@ const ds = 500, ts = (i) => {
2363
2357
  onClose: d,
2364
2358
  adaptiveTitle: r,
2365
2359
  mobileFilter: h
2366
- } = i, f = {
2360
+ } = i, u = {
2367
2361
  navigatable: n || !1,
2368
2362
  navigatableElements: a || [],
2369
2363
  expand: p,
2370
2364
  animation: c !== !1,
2371
2365
  onClose: d,
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"
2366
+ animationStyles: s <= rs ? { top: 0, width: "100%", height: "100%" } : void 0,
2367
+ className: s <= rs ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
2374
2368
  };
2375
- return /* @__PURE__ */ o.createElement(Jt, { ...f }, /* @__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(
2369
+ 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
2370
  Te,
2377
2371
  {
2378
2372
  tabIndex: 0,
@@ -2381,10 +2375,10 @@ const ds = 500, ts = (i) => {
2381
2375
  type: "button",
2382
2376
  fillMode: "flat",
2383
2377
  icon: "x",
2384
- svgIcon: lt,
2378
+ svgIcon: at,
2385
2379
  onClick: d
2386
2380
  }
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(
2381
+ ))), h && /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, h)), e, t && /* @__PURE__ */ o.createElement(Bs, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ o.createElement(
2388
2382
  Te,
2389
2383
  {
2390
2384
  size: "large",
@@ -2408,16 +2402,16 @@ const ds = 500, ts = (i) => {
2408
2402
  },
2409
2403
  t.applyText
2410
2404
  )));
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 {
2405
+ }, { sizeMap: It, roundedMap: pi } = Ge, hi = "Please enter a valid value!", ds = (i) => i.preventDefault(), cs = (i) => i === 2, $t = class extends o.Component {
2412
2406
  constructor(i) {
2413
2407
  super(i), this.state = {
2414
- activedescendant: it.PopupList,
2408
+ activedescendant: st.PopupList,
2415
2409
  currentValue: []
2416
2410
  }, 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
2411
  this._input && this._input.focus();
2418
2412
  }, 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((f) => R(f, c, n));
2420
- this._lastSelectedOrDeslectedItemIndex = s.findIndex((f) => R(f, c, n));
2413
+ 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));
2414
+ this._lastSelectedOrDeslectedItemIndex = s.findIndex((u) => R(u, c, n));
2421
2415
  let r = [];
2422
2416
  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
2417
  }, this.onTagDelete = (t, e) => {
@@ -2427,7 +2421,7 @@ const ds = 500, ts = (i) => {
2427
2421
  bt(n, t, this.props.dataItemKey), this.triggerOnChange(n, s), this.applyState(s);
2428
2422
  }, this.itemFocus = (t, e) => {
2429
2423
  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);
2424
+ h && d !== t ? this.state.focusedIndex !== t && (e.data.focusedIndex = t, e.data.activedescendant = st.PopupList) : r && t === -1 && this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.base.triggerPageChangeCornerItems(h, e);
2431
2425
  }, this.componentRef = (t) => {
2432
2426
  this._element = t, this.base.wrapper = t;
2433
2427
  }, this.searchbarRef = (t) => {
@@ -2445,7 +2439,7 @@ const ds = 500, ts = (i) => {
2445
2439
  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
2440
  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
2441
  return this.onTagsNavigate(t, h);
2448
- const f = () => {
2442
+ const u = () => {
2449
2443
  t.preventDefault(), this.base.togglePopup(h), this.applyState(h);
2450
2444
  };
2451
2445
  if (this.opened)
@@ -2457,72 +2451,72 @@ const ds = 500, ts = (i) => {
2457
2451
  const m = (this.state.value && this.state.value.length) === e.length ? [] : e;
2458
2452
  this.updateStateOnKeyboardNavigation(m, h);
2459
2453
  } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === g.end) {
2460
- const u = e.slice(this.getFocusedState().focusedIndex);
2461
- this.itemFocus(e.length - 1, h), this.updateStateOnKeyboardNavigation(u, h);
2454
+ const f = e.slice(this.getFocusedState().focusedIndex);
2455
+ this.itemFocus(e.length - 1, h), this.updateStateOnKeyboardNavigation(f, h);
2462
2456
  } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === g.home) {
2463
- const u = e.slice(0, this.getFocusedState().focusedIndex + 1);
2464
- this.itemFocus(0, h), this.updateStateOnKeyboardNavigation(u, h);
2457
+ const f = e.slice(0, this.getFocusedState().focusedIndex + 1);
2458
+ this.itemFocus(0, h), this.updateStateOnKeyboardNavigation(f, h);
2465
2459
  } else if (t.shiftKey && t.keyCode === g.up) {
2466
- let u;
2460
+ let f;
2467
2461
  const m = this.getLastSelectedOrDeselectedIndex(1, r);
2468
- m === null ? u = r !== 0 ? e.slice(r - 1, r) : [e[r]] : m === r ? u = [e[m - 1]] : r >= 0 && (u = m > r ? e.slice(r - 1, m) : e.slice(m - 1, r)), u && u.length > 0 && (r >= 1 && this.itemFocus(r - 1, h), this.updateStateOnKeyboardNavigation(u, h));
2462
+ 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
2463
  } else if (t.shiftKey && t.keyCode === g.down) {
2470
- let u;
2464
+ let f;
2471
2465
  const m = this.getLastSelectedOrDeselectedIndex(0, r);
2472
- m === null ? u = r !== e.length - 1 ? e.slice(r, r + 1) : [e[r]] : m === r ? u = e.slice(r, r + 2) : r >= 0 && (u = m > r ? e.slice(r + 1, m + 1) : e.slice(m, r + 2)), u && u.length >= 1 && (this.itemFocus(r + 1, h), this.updateStateOnKeyboardNavigation(u, h));
2466
+ 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
2467
  } else if (t.altKey && a === g.up)
2474
- f();
2468
+ u();
2475
2469
  else if (a === g.up || a === g.down) {
2476
2470
  if (n !== "" && s)
2477
2471
  if (!this.props.skipDisabledItems && c)
2478
2472
  this.onNavigate(h, a);
2479
2473
  else {
2480
- let u = 0;
2474
+ let f = 0;
2481
2475
  if (a === g.down || a === g.right) {
2482
2476
  const m = e.slice(r + 1).find((v) => !v.disabled && v[s]);
2483
- u = m && e.findIndex((v) => v[s] === m[s]);
2477
+ f = m && e.findIndex((v) => v[s] === m[s]);
2484
2478
  } else if (a === g.up || a === g.left) {
2485
2479
  let m;
2486
2480
  if (r === -1)
2487
- m = e, u = e.findIndex((v) => !v.disabled && v[s]);
2481
+ m = e, f = e.findIndex((v) => !v.disabled && v[s]);
2488
2482
  else {
2489
2483
  m = e.slice(0, r);
2490
2484
  let v = m.pop();
2491
2485
  for (; v && v.disabled; )
2492
2486
  v = m.pop();
2493
- u = v && e.findIndex((b) => b[s] === v[s]);
2487
+ f = v && e.findIndex((b) => b[s] === v[s]);
2494
2488
  }
2495
2489
  }
2496
- if (u) {
2497
- const m = u - r;
2490
+ if (f) {
2491
+ const m = f - r;
2498
2492
  this.onNavigate(h, a, m);
2499
2493
  } else
2500
- u !== void 0 && this.onNavigate(h, a);
2494
+ f !== void 0 && this.onNavigate(h, a);
2501
2495
  }
2502
2496
  else if (!this.props.skipDisabledItems && c)
2503
2497
  this.onNavigate(h, a);
2504
2498
  else {
2505
- let u = null;
2499
+ let f = null;
2506
2500
  if (a === g.down || a === g.right)
2507
- u = e.slice(r + 1).find((m) => !m.disabled);
2501
+ f = e.slice(r + 1).find((m) => !m.disabled);
2508
2502
  else if (a === g.up || a === g.left) {
2509
2503
  const m = e.slice(0, r);
2510
- for (u = m.pop(); u && u.disabled; )
2511
- u = m.pop();
2504
+ for (f = m.pop(); f && f.disabled; )
2505
+ f = m.pop();
2512
2506
  }
2513
- if (u) {
2514
- const m = u.id - r - 1;
2507
+ if (f) {
2508
+ const m = f.id - r - 1;
2515
2509
  this.onNavigate(h, a, m);
2516
2510
  } else
2517
2511
  this.onNavigate(h, a);
2518
2512
  }
2519
2513
  this.applyState(h), t.preventDefault();
2520
2514
  } else
2521
- a === g.enter ? (t.preventDefault(), this.props.allowCustom && p && d === null ? this.customItemSelect(t) : d && d.disabled ? f() : this.selectFocusedItem(t)) : a === g.esc && f();
2515
+ 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
2516
  else
2523
- t.altKey && a === g.down && f();
2517
+ t.altKey && a === g.down && u();
2524
2518
  }, 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: h } = this.getFocusedState(), f = s && r && /* @__PURE__ */ o.createElement(
2519
+ 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
2520
  "div",
2527
2521
  {
2528
2522
  className: B("k-list", {
@@ -2530,20 +2524,20 @@ const ds = 500, ts = (i) => {
2530
2524
  }),
2531
2525
  key: "customitem",
2532
2526
  onClick: this.customItemSelect,
2533
- onMouseDown: cs
2527
+ onMouseDown: ds
2534
2528
  },
2535
2529
  /* @__PURE__ */ o.createElement(
2536
2530
  "div",
2537
2531
  {
2538
- className: B("k-list-item k-custom-item", { "k-focus": ps(h) }),
2532
+ className: B("k-list-item k-custom-item", { "k-focus": cs(h) }),
2539
2533
  style: { fontStyle: "italic" }
2540
2534
  },
2541
2535
  r,
2542
- /* @__PURE__ */ o.createElement(Ce, { name: "plus", icon: Ps, style: { position: "absolute", right: "0.5em" } })
2536
+ /* @__PURE__ */ o.createElement(Ce, { name: "plus", icon: Os, style: { position: "absolute", right: "0.5em" } })
2543
2537
  )
2544
2538
  );
2545
- let { group: u } = this.state;
2546
- return u === void 0 && c !== void 0 && (u = V(a[0], c)), /* @__PURE__ */ o.createElement(o.Fragment, null, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), f, /* @__PURE__ */ o.createElement(
2539
+ let { group: f } = this.state;
2540
+ 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
2541
  "div",
2548
2542
  {
2549
2543
  className: B(
@@ -2554,7 +2548,7 @@ const ds = 500, ts = (i) => {
2554
2548
  }
2555
2549
  )
2556
2550
  },
2557
- !d && u && a.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: u, groupMode: "modern", render: p }),
2551
+ !d && f && a.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: "modern", render: p }),
2558
2552
  this.renderList()
2559
2553
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e));
2560
2554
  }, this.renderListContainer = () => {
@@ -2562,18 +2556,16 @@ const ds = 500, ts = (i) => {
2562
2556
  dir: e !== void 0 ? e : t.dirCalculated,
2563
2557
  width: a,
2564
2558
  popupSettings: {
2559
+ ...n,
2565
2560
  popupClass: B(
2566
2561
  n.popupClass,
2567
2562
  "k-list-container",
2568
2563
  "k-multiselect-popup"
2569
2564
  ),
2570
- className: n.className,
2571
- animate: n.animate,
2572
- anchor: this.element,
2565
+ anchor: n.anchor || this.element,
2573
2566
  show: this.opened,
2574
2567
  onOpen: this.onPopupOpened,
2575
- onClose: this.onPopupClosed,
2576
- appendTo: n.appendTo
2568
+ onClose: this.onPopupClosed
2577
2569
  },
2578
2570
  itemsCount: [s.length, this.value.length]
2579
2571
  };
@@ -2582,7 +2574,7 @@ const ds = 500, ts = (i) => {
2582
2574
  const { adaptiveTitle: t, filterable: e, filter: s } = this.props, { windowWidth: n = 0 } = this.state, a = s !== void 0 ? s : this.state.text;
2583
2575
  this.localization = We(this);
2584
2576
  const p = e ? /* @__PURE__ */ o.createElement(
2585
- Ve,
2577
+ Re,
2586
2578
  {
2587
2579
  value: a,
2588
2580
  ref: (d) => this._adaptiveInput = d && d.element,
@@ -2599,13 +2591,13 @@ const ds = 500, ts = (i) => {
2599
2591
  windowWidth: n,
2600
2592
  mobileFilter: p,
2601
2593
  footer: {
2602
- cancelText: this.localization.toLanguageString(at, ce[at]),
2594
+ cancelText: this.localization.toLanguageString(ot, ce[ot]),
2603
2595
  onCancel: this.onCancel,
2604
- applyText: this.localization.toLanguageString(ot, ce[ot]),
2596
+ applyText: this.localization.toLanguageString(nt, ce[nt]),
2605
2597
  onApply: this.closePopup
2606
2598
  }
2607
2599
  };
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())));
2600
+ return /* @__PURE__ */ o.createElement(ts, { ...c }, /* @__PURE__ */ o.createElement(lt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, this.listContainerContent())));
2609
2601
  }, this.closePopup = (t) => {
2610
2602
  const e = this.base.initState();
2611
2603
  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 +2617,7 @@ const ds = 500, ts = (i) => {
2625
2617
  groupHeaderItemRender: a,
2626
2618
  dataItemKey: p,
2627
2619
  virtual: c = { skip: 0, total: void 0 }
2628
- } = this.props, d = this.base.vs, { focusedIndex: r } = this.getFocusedState(), h = this.base.getPopupSettings(), f = `translateY(${d.translate}px)`;
2620
+ } = this.props, d = this.base.vs, { focusedIndex: r } = this.getFocusedState(), h = this.base.getPopupSettings(), u = `translateY(${d.translate}px)`;
2629
2621
  return /* @__PURE__ */ o.createElement(
2630
2622
  je,
2631
2623
  {
@@ -2639,19 +2631,19 @@ const ds = 500, ts = (i) => {
2639
2631
  optionsGuid: this.base.guid,
2640
2632
  groupField: this.props.groupField,
2641
2633
  groupMode: "modern",
2642
- listRef: (u) => {
2643
- d.list = this.base.list = u;
2634
+ listRef: (f) => {
2635
+ d.list = this.base.list = f;
2644
2636
  },
2645
2637
  wrapperStyle: this.mobileMode ? {} : { maxHeight: h.height },
2646
2638
  wrapperCssClass: "k-list-content",
2647
- listStyle: d.enabled ? { transform: f } : void 0,
2639
+ listStyle: d.enabled ? { transform: u } : void 0,
2648
2640
  key: "listKey",
2649
2641
  skip: c.skip,
2650
2642
  onClick: this.handleItemClick,
2651
2643
  itemRender: n,
2652
2644
  groupHeaderItemRender: a,
2653
2645
  noDataRender: s,
2654
- onMouseDown: cs,
2646
+ onMouseDown: ds,
2655
2647
  onBlur: this.handleBlur,
2656
2648
  onScroll: this.onScroll,
2657
2649
  wrapperRef: d.scrollerRef,
@@ -2707,7 +2699,7 @@ const ds = 500, ts = (i) => {
2707
2699
  }, 0);
2708
2700
  }, this.setValidity = () => {
2709
2701
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
2710
- this.validity.valid ? "" : this.props.validationMessage || ui
2702
+ this.validity.valid ? "" : this.props.validationMessage || hi
2711
2703
  );
2712
2704
  }, $e(Ye);
2713
2705
  }
@@ -2738,7 +2730,7 @@ const ds = 500, ts = (i) => {
2738
2730
  * The mobile mode of the ComboBox.
2739
2731
  */
2740
2732
  get mobileMode() {
2741
- return !!(this.state.windowWidth && this.state.windowWidth <= we && this.props.adaptive);
2733
+ return !!(this.state.windowWidth && this.state.windowWidth <= Ee && this.props.adaptive);
2742
2734
  }
2743
2735
  /**
2744
2736
  * Represents the value of the MultiSelect.
@@ -2773,13 +2765,13 @@ const ds = 500, ts = (i) => {
2773
2765
  }
2774
2766
  /** @hidden */
2775
2767
  componentDidUpdate(i, t) {
2776
- var f;
2768
+ var u;
2777
2769
  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
2770
  if (!this.base.getPopupSettings().animate && r && this.onPopupClosed(), e && e.total !== p)
2779
2771
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
2780
2772
  else {
2781
- let { focusedItem: u, focusedIndex: m } = this.getFocusedState();
2782
- s !== "" && (m = (f = this.base.getGroupedDataModernMode(n, s)) == null ? void 0 : f.indexOf(u)), 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 && u && this.scrollToFocused && this.base.scrollToItem(m - a);
2773
+ let { focusedItem: f, focusedIndex: m } = this.getFocusedState();
2774
+ 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
2775
  }
2784
2776
  this.scrollToFocused = !1, this.setValidity();
2785
2777
  }
@@ -2795,18 +2787,18 @@ const ds = 500, ts = (i) => {
2795
2787
  }
2796
2788
  /** @hidden */
2797
2789
  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 = ps(p), h = this.base, f = h.vs;
2790
+ 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 = cs(p), h = this.base, u = h.vs;
2799
2791
  if (this.opened && t === g.up && r)
2800
2792
  this.state.focusedIndex !== void 0 && (i.data.focusedIndex = void 0);
2801
2793
  else {
2802
- const u = h.navigation.navigate({
2794
+ const f = h.navigation.navigate({
2803
2795
  keyCode: t,
2804
2796
  current: c,
2805
- max: (f.enabled ? f.total : n.length) - 1,
2797
+ max: (u.enabled ? u.total : n.length) - 1,
2806
2798
  min: d ? -1 : 0,
2807
2799
  skipItems: e || void 0
2808
2800
  });
2809
- u !== void 0 && (this.itemFocus(u, i), this.scrollToFocused = !0);
2801
+ f !== void 0 && (this.itemFocus(f, i), this.scrollToFocused = !0);
2810
2802
  }
2811
2803
  this.applyState(i);
2812
2804
  }
@@ -2824,24 +2816,24 @@ const ds = 500, ts = (i) => {
2824
2816
  size: d,
2825
2817
  rounded: r,
2826
2818
  fillMode: h,
2827
- loading: f,
2828
- filter: u
2819
+ loading: u,
2820
+ filter: f
2829
2821
  } = this.props, { text: m, focused: v, focusedTag: b, currentValue: w } = this.state, k = this.base.vs, D = this.props.id || this._inputId;
2830
2822
  k.enabled = c !== void 0, c !== void 0 && (k.skip = c.skip, k.total = c.total, k.pageSize = c.pageSize);
2831
2823
  const O = this.mobileMode && this.opened ? w : this.tagsToRender;
2832
2824
  this.setItems(this.tagsToRender, this._tags);
2833
- const N = !this.validityStyles || this.validity.valid, _ = !!(u !== void 0 ? u : m) || O && O.length > 0, [S, F] = Ne(this.props.prefix || o.Fragment), [C, E] = Ne(this.props.suffix || o.Fragment), M = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
2825
+ const N = !this.validityStyles || this.validity.valid, _ = !!(f !== void 0 ? f : m) || O && O.length > 0, [S, F] = 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
2826
  "div",
2835
2827
  {
2836
2828
  ref: this.componentRef,
2837
2829
  className: B("k-multiselect k-input", t, {
2838
2830
  [`k-input-${It[d] || d}`]: d,
2839
- [`k-rounded-${hi[r] || r}`]: r,
2831
+ [`k-rounded-${pi[r] || r}`]: r,
2840
2832
  [`k-input-${h}`]: h,
2841
2833
  "k-focus": v && !n,
2842
2834
  "k-invalid": !N,
2843
2835
  "k-disabled": n,
2844
- "k-loading": f,
2836
+ "k-loading": u,
2845
2837
  "k-required": this.required
2846
2838
  }),
2847
2839
  style: e ? { ...i, width: void 0 } : i,
@@ -2849,7 +2841,7 @@ const ds = 500, ts = (i) => {
2849
2841
  onFocus: this.handleFocus,
2850
2842
  onBlur: this.handleBlur,
2851
2843
  onClick: this.handleWrapperClick,
2852
- onMouseDown: qs
2844
+ onMouseDown: Ws
2853
2845
  },
2854
2846
  this.props.prefix && /* @__PURE__ */ o.createElement(S, { ...F }),
2855
2847
  /* @__PURE__ */ o.createElement("div", { className: B("k-input-values") }, /* @__PURE__ */ o.createElement(
@@ -2863,20 +2855,20 @@ const ds = 500, ts = (i) => {
2863
2855
  id: "tagslist-" + this.base.guid
2864
2856
  },
2865
2857
  O && O.length > 0 && /* @__PURE__ */ o.createElement(
2866
- xs,
2858
+ Is,
2867
2859
  {
2868
2860
  tagRender: this.props.tagRender,
2869
2861
  onTagDelete: this.onTagDelete,
2870
2862
  data: O,
2871
2863
  guid: this.base.guid,
2872
- focused: b ? O.find((W) => St(W, b, p)) : void 0,
2864
+ focused: b ? O.find((A) => St(A, b, p)) : void 0,
2873
2865
  size: d
2874
2866
  }
2875
2867
  )
2876
2868
  ), this.renderSearchBar(D)),
2877
- f && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2869
+ u && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2878
2870
  this.props.suffix && /* @__PURE__ */ o.createElement(C, { ...E }),
2879
- _ && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick }),
2871
+ _ && /* @__PURE__ */ o.createElement(rt, { onClick: this.clearButtonClick }),
2880
2872
  !this.mobileMode && this.renderListContainer()
2881
2873
  ), this.mobileMode && this.renderAdaptiveListContainer());
2882
2874
  return e ? /* @__PURE__ */ o.createElement(
@@ -2893,7 +2885,7 @@ const ds = 500, ts = (i) => {
2893
2885
  ) : M;
2894
2886
  }
2895
2887
  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, h = s && s.length > 0 ? void 0 : a, f = t === it.TagsList && e !== void 0 ? `tag-${this.base.guid}-${e.text.replace(/\s+/g, "-")}` : `option-${this.base.guid}-${d}`;
2888
+ 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 === st.TagsList && e !== void 0 ? `tag-${this.base.guid}-${e.text.replace(/\s+/g, "-")}` : `option-${this.base.guid}-${d}`;
2897
2889
  return /* @__PURE__ */ o.createElement(
2898
2890
  es,
2899
2891
  {
@@ -2910,7 +2902,7 @@ const ds = 500, ts = (i) => {
2910
2902
  expanded: this.opened,
2911
2903
  owns: this.base.listBoxId,
2912
2904
  role: "combobox",
2913
- activedescendant: f,
2905
+ activedescendant: u,
2914
2906
  ariaDescribedBy: `tagslist-${this.base.guid}${p ? " " + p : ""}`,
2915
2907
  ariaLabelledBy: this.props.ariaLabelledBy,
2916
2908
  ariaRequired: this.required
@@ -2943,7 +2935,7 @@ const ds = 500, ts = (i) => {
2943
2935
  bt(r, h.data, a), this.triggerOnChange(r, t);
2944
2936
  }
2945
2937
  }
2946
- c !== s && (t.data.focusedTag = c, t.data.activedescendant = it.TagsList), this.applyState(t);
2938
+ c !== s && (t.data.focusedTag = c, t.data.activedescendant = st.TagsList), this.applyState(t);
2947
2939
  }
2948
2940
  triggerOnChange(i, t) {
2949
2941
  this.props.value === void 0 && (t.data.value = [...i]), this._valueItemsDuringOnChange = [], this.setItems(i, this._valueItemsDuringOnChange), t.events.push({ type: "onChange" });
@@ -2956,7 +2948,7 @@ const ds = 500, ts = (i) => {
2956
2948
  t.length = 0, t.push(...i);
2957
2949
  }
2958
2950
  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 = Be, skipDisabledItems: d } = this.props, r = a && a.skip || 0;
2951
+ 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
2952
  let h;
2961
2953
  if (i !== void 0)
2962
2954
  return {
@@ -2965,7 +2957,7 @@ const ds = 500, ts = (i) => {
2965
2957
  focusedType: 1
2966
2958
  /* ListItem */
2967
2959
  };
2968
- const f = this.value;
2960
+ const u = this.value;
2969
2961
  if (e && t)
2970
2962
  return {
2971
2963
  focusedItem: null,
@@ -2980,19 +2972,19 @@ const ds = 500, ts = (i) => {
2980
2972
  focusedType: 1
2981
2973
  /* ListItem */
2982
2974
  };
2983
- if (f.length) {
2984
- const u = f[f.length - 1];
2985
- return h = s.findIndex((m) => R(m, u, n)), s[h] !== void 0 ? {
2975
+ if (u.length) {
2976
+ const f = u[u.length - 1];
2977
+ return h = s.findIndex((m) => R(m, f, n)), s[h] !== void 0 ? {
2986
2978
  focusedIndex: h + r,
2987
2979
  focusedItem: s[h],
2988
2980
  focusedType: 1
2989
2981
  /* ListItem */
2990
2982
  } : { focusedType: 0, focusedIndex: -1 };
2991
2983
  } else if (d && p && !t && r === 0) {
2992
- const u = s.findIndex((m) => !m.disabled && m[p]);
2984
+ const f = s.findIndex((m) => !m.disabled && m[p]);
2993
2985
  return {
2994
- focusedIndex: u,
2995
- focusedItem: s[u - r],
2986
+ focusedIndex: f,
2987
+ focusedItem: s[f - r],
2996
2988
  focusedType: 1
2997
2989
  /* ListItem */
2998
2990
  };
@@ -3069,9 +3061,9 @@ Nt.defaultProps = {
3069
3061
  prefix: void 0,
3070
3062
  suffix: void 0
3071
3063
  };
3072
- const fi = Ke(), gi = Et(Dt(fi, Nt));
3073
- gi.displayName = "KendoReactMultiSelect";
3074
- const mi = (i) => /* @__PURE__ */ o.createElement(
3064
+ const ui = Be(), fi = Et(Dt(ui, Nt));
3065
+ fi.displayName = "KendoReactMultiSelect";
3066
+ const gi = (i) => /* @__PURE__ */ o.createElement(
3075
3067
  je,
3076
3068
  {
3077
3069
  ...i,
@@ -3084,15 +3076,15 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3084
3076
  ),
3085
3077
  listStyle: { ...i.listStyle }
3086
3078
  }
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(), {
3079
+ ), mi = (i, t) => i ? typeof i == "number" ? i + "px" : i : t, vi = Be(), ss = o.forwardRef((i, t) => {
3080
+ const e = Ut(vi, i), s = o.useRef(null), n = o.useRef(null), a = Ds(), {
3089
3081
  columns: p = Ae.columns,
3090
3082
  popupSettings: c = Ae.popupSettings,
3091
3083
  className: d,
3092
3084
  size: r,
3093
3085
  prefix: h = void 0,
3094
- suffix: f = void 0,
3095
- onOpen: u,
3086
+ suffix: u = void 0,
3087
+ onOpen: f,
3096
3088
  onClose: m,
3097
3089
  onFocus: v,
3098
3090
  onBlur: b,
@@ -3120,95 +3112,95 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3120
3112
  return V(e.data[0], e.groupField);
3121
3113
  },
3122
3114
  [e.data, e.groupField]
3123
- ), [_, S] = o.useState(N), [F, C] = o.useState(!0), [E] = h ? Ne(e.prefix || o.Fragment) : [], [M] = f ? Ne(e.suffix || o.Fragment) : [], W = o.useMemo(
3115
+ ), [_, S] = o.useState(N), [F, C] = o.useState(!0), [E] = h ? Ne(e.prefix || o.Fragment) : [], [M] = u ? Ne(e.suffix || o.Fragment) : [], A = o.useMemo(
3124
3116
  () => {
3125
3117
  const P = /* @__PURE__ */ o.createElement("th", { className: "k-table-th", colSpan: p.length }, _);
3126
3118
  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(
3127
- (q, be) => /* @__PURE__ */ o.createElement(
3119
+ (W, ge) => /* @__PURE__ */ o.createElement(
3128
3120
  "col",
3129
3121
  {
3130
- key: q.uniqueKey ? q.uniqueKey : be,
3131
- style: { width: q.width ? q.width : Ae.width }
3122
+ key: W.uniqueKey ? W.uniqueKey : ge,
3123
+ style: { width: W.width ? W.width : Ae.width }
3132
3124
  }
3133
3125
  )
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 || " "))), _ && F && /* @__PURE__ */ o.createElement("tr", { className: "k-table-group-row" }, e.groupStickyHeaderItemRender ? e.groupStickyHeaderItemRender.call(void 0, P, {}) : P)))));
3126
+ )), /* @__PURE__ */ o.createElement("thead", { className: "k-table-thead" }, /* @__PURE__ */ o.createElement("tr", { className: "k-table-row" }, p.map((W, ge) => /* @__PURE__ */ o.createElement("th", { className: "k-table-th", key: W.uniqueKey ? W.uniqueKey : ge }, W.header || " "))), _ && F && /* @__PURE__ */ o.createElement("tr", { className: "k-table-group-row" }, e.groupStickyHeaderItemRender ? e.groupStickyHeaderItemRender.call(void 0, P, {}) : P)))));
3135
3127
  },
3136
3128
  [e.header, p, _, F]
3137
3129
  ), j = o.useMemo(
3138
3130
  () => (
3139
3131
  // These additional 4px are coming from the child elements side borders (fixes horizontal scrollbar)
3140
- `calc(${p.map((P) => vi(P.width, Ae.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3132
+ `calc(${p.map((P) => mi(P.width, Ae.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3141
3133
  ),
3142
3134
  [p, a]
3143
- ), Y = e.virtual ? e.virtual.skip : 0, ee = o.useCallback(
3144
- (P, q) => {
3145
- const be = p.map((Z, Je) => /* @__PURE__ */ o.createElement(
3135
+ ), Y = e.virtual ? e.virtual.skip : 0, Z = o.useCallback(
3136
+ (P, W) => {
3137
+ const ge = p.map((ee, ct) => /* @__PURE__ */ o.createElement(
3146
3138
  "span",
3147
3139
  {
3148
3140
  className: e.itemRender ? void 0 : "k-table-td",
3149
- style: e.itemRender ? void 0 : { width: Z.width ? Z.width : Ae.width },
3150
- key: Z.uniqueKey ? Z.uniqueKey : Je
3141
+ style: e.itemRender ? void 0 : { width: ee.width ? ee.width : Ae.width },
3142
+ key: ee.uniqueKey ? ee.uniqueKey : ct
3151
3143
  },
3152
- Z.field ? String(Ct(Z.field)(q.dataItem)) : ""
3144
+ ee.field ? String(Ct(ee.field)(W.dataItem)) : ""
3153
3145
  ));
3154
- let ke, z, X, le, H = e.data || [];
3155
- const Ee = q.index - Y;
3156
- e.groupField !== void 0 && (le = Ct(e.groupField), z = le(H[Ee]), X = le(H[Ee - 1]), z && X && z !== X && (ke = z)), ke && e.groupMode === "classic" && be.push(/* @__PURE__ */ o.createElement("div", { key: "group", className: "k-table-td k-table-group-td" }, /* @__PURE__ */ o.createElement("span", null, ke)));
3157
- const re = o.cloneElement(P, {
3146
+ let z, J, ke, le, q = e.data || [];
3147
+ const re = W.index - Y;
3148
+ e.groupField !== void 0 && (le = Ct(e.groupField), J = le(q[re]), ke = le(q[re - 1]), J && ke && J !== ke && (z = J)), z && e.groupMode === "classic" && ge.push(/* @__PURE__ */ o.createElement("div", { key: "group", className: "k-table-td k-table-group-td" }, /* @__PURE__ */ o.createElement("span", null, z)));
3149
+ const Se = o.cloneElement(P, {
3158
3150
  ...P.props,
3159
3151
  className: B("k-table-row", {
3160
- "k-table-alt-row": q.index % 2 !== 0,
3161
- "k-focus": q.focused,
3162
- "k-selected": q.selected,
3163
- "k-first": !!ke,
3164
- "k-disabled": q.dataItem.disabled
3152
+ "k-table-alt-row": W.index % 2 !== 0,
3153
+ "k-focus": W.focused,
3154
+ "k-selected": W.selected,
3155
+ "k-first": !!z,
3156
+ "k-disabled": W.dataItem.disabled
3165
3157
  })
3166
- }, be);
3167
- return e.itemRender ? e.itemRender.call(void 0, re, q) : re;
3158
+ }, ge);
3159
+ return e.itemRender ? e.itemRender.call(void 0, Se, W) : Se;
3168
3160
  },
3169
3161
  [p, e.groupField, e.itemRender, e.data, Y]
3170
3162
  ), K = o.useCallback(
3171
- (P, q) => {
3163
+ (P, W) => {
3172
3164
  P && P.call(void 0, {
3173
- ...q,
3165
+ ...W,
3174
3166
  target: s.current
3175
3167
  });
3176
3168
  },
3177
3169
  []
3178
- ), ve = o.useCallback((P) => (e.virtual || S(N), K(u, P)), [K, u, e.virtual, N]), Q = o.useCallback((P) => K(m, P), [m]), J = o.useCallback((P) => K(v, P), [v]), ae = o.useCallback((P) => K(b, P), [b]), Le = o.useCallback((P) => K(w, P), [w]), Oe = o.useCallback((P) => K(D, P), [D]), ze = o.useCallback((P) => (S(N), K(k, {
3170
+ ), be = o.useCallback((P) => (e.virtual || S(N), K(f, P)), [K, f, e.virtual, N]), X = o.useCallback((P) => K(m, P), [m]), Q = o.useCallback((P) => K(v, P), [v]), ae = o.useCallback((P) => K(b, P), [b]), Ke = o.useCallback((P) => K(w, P), [w]), Oe = o.useCallback((P) => K(D, P), [D]), Le = o.useCallback((P) => (S(N), K(k, {
3179
3171
  ...P,
3180
3172
  mobileMode: P.target.mobileMode
3181
- })), [k]), A = o.useCallback(
3173
+ })), [k]), H = o.useCallback(
3182
3174
  (P) => {
3183
3175
  S(P.group);
3184
3176
  },
3185
3177
  []
3186
3178
  );
3187
3179
  o.useEffect(() => {
3188
- Ts();
3180
+ Fs();
3189
3181
  }), o.useEffect(() => {
3190
3182
  const P = e.data;
3191
3183
  S(N), P && P.length !== 0 ? C(!0) : C(!1);
3192
3184
  }, [e.data]);
3193
- const Pe = o.useCallback((P) => /* @__PURE__ */ o.createElement(mi, { ...P }), []);
3185
+ const ze = o.useCallback((P) => /* @__PURE__ */ o.createElement(gi, { ...P }), []);
3194
3186
  return /* @__PURE__ */ o.createElement(
3195
- _s.Provider,
3187
+ Ps.Provider,
3196
3188
  {
3197
3189
  value: (P) => ({ ...P, popupClass: `k-dropdowngrid-popup ${c.popupClass}` })
3198
3190
  },
3199
3191
  /* @__PURE__ */ o.createElement(
3200
- Is,
3192
+ ys,
3201
3193
  {
3202
3194
  ...O,
3203
- list: Pe,
3195
+ list: ze,
3204
3196
  popupSettings: {
3205
- width: j,
3206
3197
  ...c,
3198
+ width: c.width || j,
3207
3199
  className: c.className
3208
3200
  },
3209
3201
  ref: n,
3210
- header: W,
3211
- itemRender: ee,
3202
+ header: A,
3203
+ itemRender: Z,
3212
3204
  groupHeaderItemRender: e.groupHeaderItemRender,
3213
3205
  size: e.size,
3214
3206
  rounded: e.rounded,
@@ -3216,14 +3208,14 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3216
3208
  groupMode: e.groupMode,
3217
3209
  groupField: e.groupField,
3218
3210
  isMultiColumn: !0,
3219
- onOpen: ve,
3220
- onClose: Q,
3221
- onFocus: J,
3211
+ onOpen: be,
3212
+ onClose: X,
3213
+ onFocus: Q,
3222
3214
  onBlur: ae,
3223
- onChange: Le,
3224
- onFilterChange: ze,
3215
+ onChange: Ke,
3216
+ onFilterChange: Le,
3225
3217
  onPageChange: Oe,
3226
- onGroupScroll: A,
3218
+ onGroupScroll: H,
3227
3219
  className: B("k-dropdowngrid", d),
3228
3220
  required: e.required,
3229
3221
  adaptive: e.adaptive,
@@ -3236,8 +3228,8 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3236
3228
  }
3237
3229
  )
3238
3230
  );
3239
- }), yi = {
3240
- ...ct.propTypes,
3231
+ }), bi = {
3232
+ ...dt.propTypes,
3241
3233
  columns: l.any.isRequired
3242
3234
  }, Ae = {
3243
3235
  columns: [],
@@ -3248,9 +3240,9 @@ const mi = (i) => /* @__PURE__ */ o.createElement(
3248
3240
  fillMode: "solid"
3249
3241
  };
3250
3242
  ss.displayName = "KendoMultiColumnComboBox";
3251
- ss.propTypes = yi;
3243
+ ss.propTypes = bi;
3252
3244
  ss.defaultProps = Ae;
3253
- function Cs(i, t, e) {
3245
+ function yi(i, t, e) {
3254
3246
  const [s, n] = o.useState(t);
3255
3247
  return o.useEffect(
3256
3248
  () => {
@@ -3259,14 +3251,18 @@ function Cs(i, t, e) {
3259
3251
  e
3260
3252
  ), s;
3261
3253
  }
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) => {
3254
+ function xs(i, t, e, s) {
3255
+ const n = e.width !== void 0 && e.width !== t.popupSettings.width, a = s.width !== void 0, p = n ? e.width : a ? s.width : t.popupSettings.width, c = yi(i, p);
3256
+ return n || a ? p : c && c > t.popupSettings.width ? c : t.popupSettings.width;
3257
+ }
3258
+ const Cs = (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), ps = (i) => i.split("_").map((t) => parseInt(t, 10)), Si = (i, t) => {
3263
3259
  const { validationMessage: e, valid: s, required: n } = i;
3264
3260
  return {
3265
3261
  customError: e !== void 0,
3266
3262
  valid: !!(s !== void 0 ? s : !n || t),
3267
3263
  valueMissing: !t
3268
3264
  };
3269
- }, us = {
3265
+ }, hs = {
3270
3266
  selectField: "selected",
3271
3267
  subItemsField: "items",
3272
3268
  popupSettings: {
@@ -3281,19 +3277,19 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3281
3277
  size: "medium",
3282
3278
  rounded: "medium",
3283
3279
  fillMode: "solid"
3284
- }, wi = Ke(), Ss = o.forwardRef((i, t) => {
3280
+ }, wi = Be(), ks = o.forwardRef((i, t) => {
3285
3281
  $e(Ye);
3286
3282
  const e = Ut(wi, i), s = {
3287
- ...us,
3283
+ ...hs,
3288
3284
  ...e
3289
- }, n = ms(), a = s.id || n, {
3285
+ }, n = gs(), a = s.id || n, {
3290
3286
  data: p,
3291
3287
  dataItemKey: c,
3292
- popupSettings: d,
3288
+ popupSettings: d = {},
3293
3289
  style: r,
3294
3290
  opened: h,
3295
- disabled: f,
3296
- onOpen: u = Fe,
3291
+ disabled: u,
3292
+ onOpen: f = Fe,
3297
3293
  onClose: m = Fe,
3298
3294
  placeholder: v,
3299
3295
  label: b,
@@ -3304,19 +3300,19 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3304
3300
  valid: N,
3305
3301
  required: _,
3306
3302
  validityStyles: S
3307
- } = s, F = Gt(s.tabIndex, f), C = o.useRef(null), E = o.useRef(null), M = o.useRef(null), W = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), ee = o.useRef(!1), [K, ve] = o.useState(void 0), Q = s.value !== void 0, J = Q ? s.value : K !== void 0 ? K : s.defaultValue, ae = U(J), Le = ae ? V(J, s.textField) : "", Oe = Si({ validationMessage: O, valid: N, required: _ }, ae), ze = o.useCallback(() => E.current && E.current.focus(), []);
3303
+ } = s, F = Gt(s.tabIndex, u), C = o.useRef(null), E = o.useRef(null), M = o.useRef(null), A = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), Z = o.useRef(!1), [K, be] = o.useState(void 0), X = s.value !== void 0, Q = X ? s.value : K !== void 0 ? K : s.defaultValue, ae = U(Q), Ke = ae ? V(Q, s.textField) : "", Oe = Si({ validationMessage: O, valid: N, required: _ }, ae), Le = o.useCallback(() => E.current && E.current.focus(), []);
3308
3304
  o.useImperativeHandle(
3309
3305
  C,
3310
3306
  () => ({
3311
3307
  props: s,
3312
3308
  element: E.current,
3313
- focus: ze
3309
+ focus: Le
3314
3310
  })
3315
3311
  ), o.useImperativeHandle(t, () => C.current);
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
- ...A !== void 0 ? { direction: A } : {}
3319
- }, [be, ke] = o.useState(!1), z = h !== void 0 ? h : be, [X, le] = o.useState(!1), [H, Ee] = o.useState(), re = !!(H && H <= we && s.adaptive), [Z, Je] = o.useState(""), ns = o.useCallback(
3312
+ const H = ms(E, s.dir), P = {
3313
+ width: xs(E, hs, d, r),
3314
+ ...H !== void 0 ? { direction: H } : {}
3315
+ }, [W, ge] = o.useState(!1), z = h !== void 0 ? h : W, [J, ke] = o.useState(!1), [le, q] = o.useState(), re = !!(le && le <= Ee && s.adaptive), [Se, ee] = o.useState(""), ct = o.useCallback(
3320
3316
  () => {
3321
3317
  j.current && j.current.setCustomValidity && j.current.setCustomValidity(
3322
3318
  Oe.valid ? "" : O === void 0 ? Ci : O
@@ -3324,7 +3320,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3324
3320
  },
3325
3321
  [O, Oe]
3326
3322
  );
3327
- o.useEffect(ns), o.useEffect(() => {
3323
+ o.useEffect(ct), o.useEffect(() => {
3328
3324
  const I = Me && window.ResizeObserver && new window.ResizeObserver(Vt.bind(void 0));
3329
3325
  return document != null && document.body && I && I.observe(document.body), () => {
3330
3326
  document != null && document.body && I && I.disconnect();
@@ -3333,24 +3329,24 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3333
3329
  const pt = o.useCallback(
3334
3330
  (I) => {
3335
3331
  if (!z) {
3336
- if (u) {
3332
+ if (f) {
3337
3333
  const T = { ...I };
3338
- u.call(void 0, T);
3334
+ f.call(void 0, T);
3339
3335
  }
3340
- h === void 0 && ke(!0);
3336
+ h === void 0 && ge(!0);
3341
3337
  }
3342
3338
  },
3343
- [z, h, u]
3344
- ), Se = o.useCallback(
3339
+ [z, h, f]
3340
+ ), we = o.useCallback(
3345
3341
  (I) => {
3346
3342
  if (z) {
3347
3343
  if (m) {
3348
3344
  const T = { ...I };
3349
3345
  m.call(void 0, T);
3350
3346
  }
3351
- h === void 0 && (ke(!1), re && setTimeout(() => {
3347
+ h === void 0 && (ge(!1), re && setTimeout(() => {
3352
3348
  var T;
3353
- $((T = W.current) == null ? void 0 : T.element);
3349
+ $((T = A.current) == null ? void 0 : T.element);
3354
3350
  }, 300));
3355
3351
  }
3356
3352
  },
@@ -3358,19 +3354,19 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3358
3354
  ), Ot = o.useCallback(
3359
3355
  (I) => {
3360
3356
  if (!I.isDefaultPrevented() && C.current) {
3361
- le(!0);
3357
+ ke(!0);
3362
3358
  const T = {
3363
3359
  syntheticEvent: I,
3364
3360
  nativeEvent: I.nativeEvent,
3365
3361
  target: C.current
3366
3362
  };
3367
- (z ? Se : pt)(T);
3363
+ (z ? we : pt)(T);
3368
3364
  }
3369
3365
  },
3370
- [z, h, u, m]
3366
+ [z, h, f, m]
3371
3367
  ), ne = o.useCallback(
3372
3368
  (I) => {
3373
- ee.current = !0, I(), window.setTimeout(() => ee.current = !1, 0);
3369
+ Z.current = !0, I(), window.setTimeout(() => Z.current = !1, 0);
3374
3370
  },
3375
3371
  []
3376
3372
  ), He = o.useCallback(
@@ -3386,7 +3382,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3386
3382
  };
3387
3383
  if (z)
3388
3384
  if (T === g.esc || G && T === g.up)
3389
- I.preventDefault(), Se(y);
3385
+ I.preventDefault(), we(y);
3390
3386
  else if (pe && pe.querySelector(".k-focus") && (T === g.up || T === g.down || T === g.left || T === g.right || T === g.home || T === g.end)) {
3391
3387
  if (T === g.up && ((L = M.current) != null && L.element)) {
3392
3388
  const se = Array.from(pe.querySelectorAll(".k-treeview-item")), Ie = [...se].reverse().find((xe) => !!(xe && xe.querySelector(".k-focus")));
@@ -3405,8 +3401,8 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3405
3401
  else
3406
3402
  G && T === g.down ? (I.preventDefault(), pt(y)) : z || T === g.esc && ft(I);
3407
3403
  },
3408
- [z, h, u, m]
3409
- ), _e = o.useCallback(
3404
+ [z, h, f, m]
3405
+ ), Pe = o.useCallback(
3410
3406
  (I) => {
3411
3407
  const { keyCode: T, altKey: G } = I;
3412
3408
  G || T !== g.up && T !== g.down || (I.preventDefault(), ne(
@@ -3426,17 +3422,17 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3426
3422
  ), fe = o.useCallback(
3427
3423
  () => {
3428
3424
  var I;
3429
- !X && z && !h ? Se({ target: C.current }) : e.filterable ? $((I = M.current) == null ? void 0 : I.element) : $(Y.current && Y.current.element);
3425
+ !J && z && !h ? we({ target: C.current }) : e.filterable ? $((I = M.current) == null ? void 0 : I.element) : $(Y.current && Y.current.element);
3430
3426
  },
3431
- [m, e.filterable, X, h, z]
3427
+ [m, e.filterable, J, h, z]
3432
3428
  ), te = o.useCallback(
3433
3429
  () => {
3434
- X && $(E.current);
3430
+ J && $(E.current);
3435
3431
  },
3436
- [X]
3432
+ [J]
3437
3433
  ), Pt = o.useCallback(
3438
3434
  (I) => {
3439
- if (!X && !ee.current && (le(!0), e.onFocus && C.current)) {
3435
+ if (!J && !Z.current && (ke(!0), e.onFocus && C.current)) {
3440
3436
  const T = {
3441
3437
  syntheticEvent: I,
3442
3438
  nativeEvent: I.nativeEvent,
@@ -3445,11 +3441,11 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3445
3441
  e.onFocus.call(void 0, T);
3446
3442
  }
3447
3443
  },
3448
- [X, e.onFocus]
3444
+ [J, e.onFocus]
3449
3445
  ), _t = o.useCallback(
3450
3446
  (I) => {
3451
- if (X && !ee.current && C.current) {
3452
- le(!1);
3447
+ if (J && !Z.current && C.current) {
3448
+ ke(!1);
3453
3449
  const T = {
3454
3450
  syntheticEvent: I,
3455
3451
  nativeEvent: I.nativeEvent,
@@ -3459,43 +3455,43 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3459
3455
  const G = { ...T };
3460
3456
  e.onBlur.call(void 0, G);
3461
3457
  }
3462
- re || Se(T);
3458
+ re || we(T);
3463
3459
  }
3464
3460
  },
3465
- [X, e.onBlur, z, h, m]
3461
+ [J, e.onBlur, z, h, m]
3466
3462
  ), Rt = o.useCallback(
3467
3463
  () => {
3468
- X && ne(Fe), re && setTimeout(() => {
3464
+ J && ne(Fe), re && setTimeout(() => {
3469
3465
  var I;
3470
- $((I = W.current) == null ? void 0 : I.element);
3466
+ $((I = A.current) == null ? void 0 : I.element);
3471
3467
  }, 300);
3472
3468
  },
3473
- [X, re]
3469
+ [J, re]
3474
3470
  ), ht = o.useCallback(
3475
3471
  (I, T, G) => {
3476
3472
  if (e.onChange) {
3477
3473
  const pe = {
3478
3474
  value: T,
3479
- level: G ? hs(G) : [],
3475
+ level: G ? ps(G) : [],
3480
3476
  ...I
3481
3477
  };
3482
3478
  e.onChange.call(void 0, pe);
3483
3479
  }
3484
- Q || ve(T);
3480
+ X || be(T);
3485
3481
  },
3486
- [e.onChange, Q]
3482
+ [e.onChange, X]
3487
3483
  ), ut = o.useCallback(
3488
3484
  (I) => {
3489
- if (R(I.item, J, c) || !C.current)
3485
+ if (R(I.item, Q, c) || !C.current)
3490
3486
  return;
3491
3487
  const { item: T, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3492
3488
  syntheticEvent: y,
3493
3489
  nativeEvent: pe,
3494
3490
  target: C.current
3495
3491
  };
3496
- ht(x, T, G), Se(x);
3492
+ ht(x, T, G), we(x);
3497
3493
  },
3498
- [Q, J, e.onChange, c, z, h, m]
3494
+ [X, Q, e.onChange, c, z, h, m]
3499
3495
  ), ft = o.useCallback(
3500
3496
  (I) => {
3501
3497
  if (!C.current)
@@ -3505,14 +3501,14 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3505
3501
  nativeEvent: I.nativeEvent,
3506
3502
  target: C.current
3507
3503
  };
3508
- ht(T, null), Se(T), I.preventDefault();
3504
+ ht(T, null), we(T), I.preventDefault();
3509
3505
  },
3510
- [Q, e.onChange, z, h, m]
3506
+ [X, e.onChange, z, h, m]
3511
3507
  ), gt = o.useCallback(
3512
3508
  (I) => {
3513
3509
  if (I.syntheticEvent.stopPropagation(), e.onExpandChange && C.current) {
3514
3510
  const { item: T, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3515
- level: hs(G),
3511
+ level: ps(G),
3516
3512
  item: T,
3517
3513
  nativeEvent: pe,
3518
3514
  syntheticEvent: y,
@@ -3522,7 +3518,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3522
3518
  }
3523
3519
  },
3524
3520
  [e.onExpandChange]
3525
- ), Qe = o.useCallback(
3521
+ ), Je = o.useCallback(
3526
3522
  (I) => {
3527
3523
  if (e.onFilterChange && C.current) {
3528
3524
  const G = {
@@ -3531,35 +3527,35 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3531
3527
  nativeEvent: I.nativeEvent,
3532
3528
  target: C.current
3533
3529
  };
3534
- e.onFilterChange.call(void 0, G), e.filter === void 0 && Je(I.target.value);
3530
+ e.onFilterChange.call(void 0, G), e.filter === void 0 && ee(I.target.value);
3535
3531
  }
3536
3532
  },
3537
3533
  [e.onFilterChange, e.filter, e.textField]
3538
- ), Xe = () => {
3534
+ ), Qe = () => {
3539
3535
  const I = s.filterable ? /* @__PURE__ */ o.createElement(
3540
- Ve,
3536
+ Re,
3541
3537
  {
3542
- value: s.filter === void 0 ? Z : s.filter,
3543
- ref: W,
3544
- onChange: Qe,
3545
- onKeyDown: _e,
3546
- size: ge,
3538
+ value: s.filter === void 0 ? Se : s.filter,
3539
+ ref: A,
3540
+ onChange: Je,
3541
+ onKeyDown: Pe,
3542
+ size: me,
3547
3543
  rounded: ye,
3548
3544
  fillMode: De
3549
3545
  }
3550
3546
  ) : null, T = {
3551
3547
  adaptiveTitle: s.adaptiveTitle,
3552
3548
  expand: z,
3553
- onClose: (G) => Se(G),
3554
- windowWidth: H,
3549
+ onClose: (G) => we(G),
3550
+ windowWidth: le,
3555
3551
  mobileFilter: I
3556
3552
  };
3557
- return /* @__PURE__ */ o.createElement(ts, { ...T }, /* @__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(
3553
+ return /* @__PURE__ */ o.createElement(ts, { ...T }, /* @__PURE__ */ o.createElement(lt, { 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
3554
  kt,
3559
3555
  {
3560
3556
  ref: Y,
3561
3557
  tabIndex: F,
3562
- data: Ze,
3558
+ data: Xe,
3563
3559
  focusIdField: c,
3564
3560
  textField: s.textField,
3565
3561
  selectField: k,
@@ -3568,36 +3564,36 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3568
3564
  expandIcons: !0,
3569
3565
  onItemClick: ut,
3570
3566
  onExpandChange: gt,
3571
- size: ge,
3567
+ size: me,
3572
3568
  item: s.item,
3573
- dir: A
3569
+ dir: H
3574
3570
  }
3575
- ) : /* @__PURE__ */ o.createElement(et, null, tt.toLanguageString(me, ce[me]))))));
3571
+ ) : /* @__PURE__ */ o.createElement(Ze, null, et.toLanguageString(ve, ce[ve]))))));
3576
3572
  }, Vt = o.useCallback(
3577
3573
  (I) => {
3578
3574
  for (let T of I)
3579
- Ee(T.target.clientWidth);
3575
+ q(T.target.clientWidth);
3580
3576
  },
3581
3577
  []
3582
- ), Ze = o.useMemo(
3583
- () => Q || !ae ? p : Ms(
3578
+ ), Xe = o.useMemo(
3579
+ () => X || !ae ? p : Ts(
3584
3580
  p,
3585
3581
  D,
3586
- (I) => Ns(
3582
+ (I) => Ms(
3587
3583
  I,
3588
3584
  D,
3589
- { [k]: R(I, J, c) }
3585
+ { [k]: R(I, Q, c) }
3590
3586
  )
3591
3587
  ),
3592
- [p, J, Q, ae, k, D]
3593
- ), et = s.listNoData || ks, mt = s.valueHolder || ki, tt = ys(), vt = !S || Oe.valid, { size: ge, rounded: ye, fillMode: De } = s, de = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3588
+ [p, Q, X, ae, k, D]
3589
+ ), Ze = s.listNoData || Cs, mt = s.valueHolder || ki, et = bs(), vt = !S || Oe.valid, { size: me, rounded: ye, fillMode: De } = s, de = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3594
3590
  "span",
3595
3591
  {
3596
3592
  className: B("k-dropdowntree k-picker", s.className, {
3597
- [`k-picker-${Ii[ge] || ge}`]: ge,
3593
+ [`k-picker-${Ii[me] || me}`]: me,
3598
3594
  [`k-rounded-${xi[ye] || ye}`]: ye,
3599
3595
  [`k-picker-${De}`]: De,
3600
- "k-focus": X,
3596
+ "k-focus": J,
3601
3597
  "k-invalid": !vt,
3602
3598
  "k-loading": s.loading,
3603
3599
  "k-required": _,
@@ -3607,35 +3603,35 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3607
3603
  accessKey: s.accessKey,
3608
3604
  id: a,
3609
3605
  style: b ? { ...r, width: void 0 } : r,
3610
- dir: A,
3606
+ dir: H,
3611
3607
  ref: E,
3612
- onKeyDown: f ? void 0 : He,
3608
+ onKeyDown: u ? void 0 : He,
3613
3609
  onMouseDown: Rt,
3614
- onClick: f ? void 0 : Ot,
3610
+ onClick: u ? void 0 : Ot,
3615
3611
  onFocus: Pt,
3616
3612
  onBlur: _t,
3617
3613
  role: "combobox",
3618
3614
  "aria-haspopup": "tree",
3619
3615
  "aria-expanded": z,
3620
- "aria-disabled": f,
3616
+ "aria-disabled": u,
3621
3617
  "aria-label": b,
3622
3618
  "aria-labelledby": s.ariaLabelledBy,
3623
3619
  "aria-describedby": s.ariaDescribedBy,
3624
3620
  "aria-required": _
3625
3621
  },
3626
- /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(mt, { item: J }, Le || v)),
3622
+ /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(mt, { item: Q }, Ke || v)),
3627
3623
  s.loading && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
3628
- ae && !f && /* @__PURE__ */ o.createElement(
3624
+ ae && !u && /* @__PURE__ */ o.createElement(
3629
3625
  "span",
3630
3626
  {
3631
3627
  onClick: ft,
3632
3628
  className: "k-clear-value",
3633
- title: tt.toLanguageString(nt, ce[nt]),
3629
+ title: et.toLanguageString(it, ce[it]),
3634
3630
  role: "button",
3635
3631
  tabIndex: -1,
3636
3632
  onMouseDown: (I) => I.preventDefault()
3637
3633
  },
3638
- /* @__PURE__ */ o.createElement(Ce, { name: "x", icon: lt })
3634
+ /* @__PURE__ */ o.createElement(Ce, { name: "x", icon: at })
3639
3635
  ),
3640
3636
  /* @__PURE__ */ o.createElement(
3641
3637
  Te,
@@ -3644,7 +3640,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3644
3640
  type: "button",
3645
3641
  "aria-label": "select",
3646
3642
  className: "k-input-button",
3647
- size: ge,
3643
+ size: me,
3648
3644
  fillMode: De,
3649
3645
  themeColor: "base",
3650
3646
  rounded: null,
@@ -3662,32 +3658,28 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3662
3658
  title: b,
3663
3659
  style: { opacity: 0, width: 1, border: 0, zIndex: -1, position: "absolute", left: "50%" }
3664
3660
  },
3665
- /* @__PURE__ */ o.createElement("option", { value: s.valueMap ? s.valueMap.call(void 0, J) : J })
3661
+ /* @__PURE__ */ o.createElement("option", { value: s.valueMap ? s.valueMap.call(void 0, Q) : Q })
3666
3662
  ),
3667
3663
  !re && /* @__PURE__ */ o.createElement(
3668
3664
  Yt,
3669
3665
  {
3670
- className: B(d.className, { "k-rtl": A === "rtl" }),
3671
- popupClass: B(
3672
- d.popupClass,
3673
- "k-dropdowntree-popup"
3674
- ),
3675
- style: q,
3676
- animate: d.animate,
3677
- anchor: E.current,
3666
+ ...d,
3667
+ className: B(d.className, { "k-rtl": H === "rtl" }),
3668
+ popupClass: B(d.popupClass, "k-dropdowntree-popup"),
3669
+ style: P,
3670
+ anchor: d.anchor || E.current,
3678
3671
  show: z,
3679
3672
  onOpen: fe,
3680
- onClose: te,
3681
- appendTo: d.appendTo
3673
+ onClose: te
3682
3674
  },
3683
3675
  s.filterable && /* @__PURE__ */ o.createElement(
3684
- Ve,
3676
+ Re,
3685
3677
  {
3686
- value: s.filter === void 0 ? Z : s.filter,
3678
+ value: s.filter === void 0 ? Se : s.filter,
3687
3679
  ref: M,
3688
- onChange: Qe,
3689
- onKeyDown: _e,
3690
- size: ge,
3680
+ onChange: Je,
3681
+ onKeyDown: Pe,
3682
+ size: me,
3691
3683
  rounded: ye,
3692
3684
  fillMode: De
3693
3685
  }
@@ -3695,9 +3687,10 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3695
3687
  p.length > 0 ? /* @__PURE__ */ o.createElement(
3696
3688
  kt,
3697
3689
  {
3690
+ style: { height: d.height },
3698
3691
  ref: Y,
3699
3692
  tabIndex: F,
3700
- data: Ze,
3693
+ data: Xe,
3701
3694
  focusIdField: c,
3702
3695
  textField: s.textField,
3703
3696
  selectField: k,
@@ -3706,25 +3699,25 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3706
3699
  expandIcons: !0,
3707
3700
  onItemClick: ut,
3708
3701
  onExpandChange: gt,
3709
- size: ge,
3702
+ size: me,
3710
3703
  item: s.item,
3711
- dir: A
3704
+ dir: H
3712
3705
  }
3713
- ) : /* @__PURE__ */ o.createElement(et, null, tt.toLanguageString(me, ce[me]))
3706
+ ) : /* @__PURE__ */ o.createElement(Ze, null, et.toLanguageString(ve, ce[ve]))
3714
3707
  )
3715
- ), re && Xe());
3708
+ ), re && Qe());
3716
3709
  return b ? /* @__PURE__ */ o.createElement(
3717
3710
  Ue,
3718
3711
  {
3719
3712
  label: b,
3720
- editorValue: Le,
3713
+ editorValue: Ke,
3721
3714
  editorPlaceholder: v,
3722
3715
  editorValid: vt,
3723
- editorDisabled: f,
3716
+ editorDisabled: u,
3724
3717
  editorId: a,
3725
3718
  style: { width: r ? r.width : void 0 },
3726
3719
  children: de,
3727
- dir: A
3720
+ dir: H
3728
3721
  }
3729
3722
  ) : de;
3730
3723
  }), Ei = {
@@ -3780,16 +3773,16 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3780
3773
  adaptiveTitle: l.string,
3781
3774
  adaptive: l.bool
3782
3775
  };
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) => {
3776
+ ks.displayName = "KendoReactDropDownTree";
3777
+ ks.propTypes = Ei;
3778
+ const Di = "Please select a value from the list!", { sizeMap: us, roundedMap: Fi } = Ge, Ti = (i) => i.split("_").map((t) => parseInt(t, 10)), Mi = (i, t) => {
3786
3779
  const { validationMessage: e, valid: s, required: n } = i;
3787
3780
  return {
3788
3781
  customError: e !== void 0,
3789
3782
  valid: !!(s !== void 0 ? s : !n || t),
3790
3783
  valueMissing: !t
3791
3784
  };
3792
- }, Re = {
3785
+ }, _e = {
3793
3786
  checkField: "checkField",
3794
3787
  checkIndeterminateField: "checkIndeterminateField",
3795
3788
  subItemsField: "items",
@@ -3803,49 +3796,49 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
3803
3796
  fillMode: "solid",
3804
3797
  required: !1,
3805
3798
  validityStyles: !0
3806
- }, Ni = Ke(), is = o.forwardRef((i, t) => {
3799
+ }, Ni = Be(), is = o.forwardRef((i, t) => {
3807
3800
  const e = Ut(Ni, i);
3808
3801
  $e(Ye);
3809
- const s = ms(), n = e.id || s, {
3802
+ const s = gs(), n = e.id || s, {
3810
3803
  data: a = [],
3811
3804
  dataItemKey: p,
3812
3805
  popupSettings: c = {},
3813
3806
  style: d = {},
3814
3807
  opened: r,
3815
3808
  disabled: h,
3816
- onOpen: f = Fe,
3817
- onClose: u = Fe,
3809
+ onOpen: u = Fe,
3810
+ onClose: f = Fe,
3818
3811
  placeholder: m,
3819
3812
  label: v,
3820
3813
  name: b,
3821
- checkField: w = Re.checkField,
3822
- checkIndeterminateField: k = Re.checkIndeterminateField,
3823
- subItemsField: D = Re.subItemsField,
3814
+ checkField: w = _e.checkField,
3815
+ checkIndeterminateField: k = _e.checkIndeterminateField,
3816
+ subItemsField: D = _e.subItemsField,
3824
3817
  validationMessage: O,
3825
3818
  valid: N,
3826
3819
  tags: _,
3827
3820
  value: S,
3828
- required: F = Re.required,
3829
- validityStyles: C = Re.validityStyles
3830
- } = e, E = Gt(e.tabIndex, h), M = o.useRef(null), W = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), ee = o.useRef(null), K = o.useRef(null), ve = o.useRef(!1), Q = o.useRef([]), J = 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([]), [z, X] = o.useState(""), le = !!(P && P <= we && e.adaptive), H = r !== void 0 ? r : Oe, Ee = !!(Array.isArray(S) && S.length), re = Mi({ validationMessage: O, valid: N, required: F }, Ee), Z = vs(W, e.dir), Je = c.width !== void 0 ? c.width : d.width !== void 0 ? d.width : Re.popupSettings.width, pt = {
3831
- width: Cs(W, Je),
3832
- ...Z !== void 0 ? { direction: Z } : {}
3833
- }, Se = o.useCallback(() => W.current && W.current.focus(), []);
3834
- Q.current = _ === void 0 ? (S || []).map((y) => ({ text: V(y, e.textField), data: [y] })) : [..._], o.useImperativeHandle(
3821
+ required: F = _e.required,
3822
+ validityStyles: C = _e.validityStyles
3823
+ } = e, E = Gt(e.tabIndex, h), M = o.useRef(null), A = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), Z = o.useRef(null), K = o.useRef(null), be = o.useRef(!1), X = o.useRef([]), Q = o.useRef(null), [ae, Ke] = o.useState(), [Oe, Le] = o.useState(!1), [H, ze] = o.useState(!1), [P, W] = o.useState(), [ge, z] = o.useState([]), [J, ke] = o.useState(""), le = !!(P && P <= Ee && e.adaptive), q = r !== void 0 ? r : Oe, re = !!(Array.isArray(S) && S.length), Se = Mi({ validationMessage: O, valid: N, required: F }, re), ee = ms(A, e.dir), pt = {
3824
+ width: xs(A, _e, c, d),
3825
+ ...ee !== void 0 ? { direction: ee } : {}
3826
+ }, we = o.useCallback(() => A.current && A.current.focus(), []);
3827
+ X.current = _ === void 0 ? (S || []).map((y) => ({ text: V(y, e.textField), data: [y] })) : [..._], o.useImperativeHandle(
3835
3828
  M,
3836
3829
  () => ({
3837
3830
  props: e,
3838
- element: W.current,
3839
- focus: Se
3831
+ element: A.current,
3832
+ focus: we
3840
3833
  })
3841
3834
  ), o.useImperativeHandle(t, () => M.current);
3842
3835
  const Ot = o.useCallback(
3843
3836
  () => {
3844
- ee.current && ee.current.setCustomValidity && ee.current.setCustomValidity(
3845
- re.valid ? "" : O === void 0 ? Di : O
3837
+ Z.current && Z.current.setCustomValidity && Z.current.setCustomValidity(
3838
+ Se.valid ? "" : O === void 0 ? Di : O
3846
3839
  );
3847
3840
  },
3848
- [O, re]
3841
+ [O, Se]
3849
3842
  );
3850
3843
  o.useEffect(Ot), o.useEffect(() => {
3851
3844
  const y = Me && window.ResizeObserver && new window.ResizeObserver(vt.bind(void 0));
@@ -3854,9 +3847,9 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
3854
3847
  };
3855
3848
  }, []), o.useEffect(
3856
3849
  () => {
3857
- J.current && H && J.current.setPosition(J.current._popup);
3850
+ Q.current && q && Q.current.setPosition(Q.current._popup);
3858
3851
  },
3859
- [S, H]
3852
+ [S, q]
3860
3853
  );
3861
3854
  const ne = o.useCallback(
3862
3855
  (y, x, L) => {
@@ -3882,34 +3875,34 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
3882
3875
  ne(Ie, [x], "toggle");
3883
3876
  },
3884
3877
  [S, p, ne]
3885
- ), _e = o.useCallback(
3878
+ ), Pe = o.useCallback(
3886
3879
  (y) => {
3887
- if (!H) {
3888
- if (f) {
3880
+ if (!q) {
3881
+ if (u) {
3889
3882
  const x = { ...y };
3890
- f.call(void 0, x);
3883
+ u.call(void 0, x);
3891
3884
  }
3892
- r === void 0 && (ze(!0), ke(S || []), le && setTimeout(() => {
3885
+ r === void 0 && (Le(!0), z(S || []), le && setTimeout(() => {
3893
3886
  var x;
3894
3887
  te((x = Y.current) == null ? void 0 : x.element);
3895
3888
  }, 300));
3896
3889
  }
3897
3890
  },
3898
- [H, r, f, le, Y]
3891
+ [q, r, u, le, Y]
3899
3892
  ), $ = o.useCallback(
3900
3893
  (y) => {
3901
- if (H) {
3902
- if (u) {
3894
+ if (q) {
3895
+ if (f) {
3903
3896
  const x = { ...y };
3904
- u.call(void 0, x);
3897
+ f.call(void 0, x);
3905
3898
  }
3906
- r === void 0 && ze(!1);
3899
+ r === void 0 && Le(!1);
3907
3900
  }
3908
3901
  },
3909
- [H, r, u]
3902
+ [q, r, f]
3910
3903
  ), fe = o.useCallback(
3911
3904
  (y) => {
3912
- ve.current = !0, y(), window.setTimeout(() => ve.current = !1, 0);
3905
+ be.current = !0, y(), window.setTimeout(() => be.current = !1, 0);
3913
3906
  },
3914
3907
  []
3915
3908
  ), te = o.useCallback(
@@ -3920,17 +3913,17 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
3920
3913
  ), Pt = o.useCallback(
3921
3914
  () => {
3922
3915
  var y;
3923
- !A && H ? $({ target: M.current }) : e.filterable ? te((y = j.current) == null ? void 0 : y.element) : te(K.current && K.current.element);
3916
+ !H && q ? $({ target: M.current }) : e.filterable ? te((y = j.current) == null ? void 0 : y.element) : te(K.current && K.current.element);
3924
3917
  },
3925
- [A, H, te, $, e.filterable]
3918
+ [H, q, te, $, e.filterable]
3926
3919
  ), _t = o.useCallback(
3927
3920
  () => {
3928
- A && te(W.current);
3921
+ H && te(A.current);
3929
3922
  },
3930
- [A, te]
3923
+ [H, te]
3931
3924
  ), Rt = o.useCallback(
3932
3925
  (y) => {
3933
- if (!A && !ve.current && (Pe(!0), e.onFocus && M.current)) {
3926
+ if (!H && !be.current && (ze(!0), e.onFocus && M.current)) {
3934
3927
  const x = {
3935
3928
  syntheticEvent: y,
3936
3929
  nativeEvent: y.nativeEvent,
@@ -3939,11 +3932,11 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
3939
3932
  e.onFocus.call(void 0, x);
3940
3933
  }
3941
3934
  },
3942
- [A, e.onFocus]
3935
+ [H, e.onFocus]
3943
3936
  ), ht = o.useCallback(
3944
3937
  (y) => {
3945
- if (A && !ve.current && M.current) {
3946
- Pe(!1);
3938
+ if (H && !be.current && M.current) {
3939
+ ze(!1);
3947
3940
  const x = {
3948
3941
  syntheticEvent: y,
3949
3942
  nativeEvent: y.nativeEvent,
@@ -3956,28 +3949,28 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
3956
3949
  le || $(x);
3957
3950
  }
3958
3951
  },
3959
- [A, e.onBlur, H, r, u]
3952
+ [H, e.onBlur, q, r, f]
3960
3953
  ), ut = o.useCallback(
3961
3954
  () => {
3962
- A && fe(Fe);
3955
+ H && fe(Fe);
3963
3956
  },
3964
- [A, fe]
3957
+ [H, fe]
3965
3958
  ), ft = o.useCallback(
3966
3959
  (y) => {
3967
3960
  if (!y.isDefaultPrevented() && M.current) {
3968
- Pe(!0);
3961
+ ze(!0);
3969
3962
  const x = {
3970
3963
  syntheticEvent: y,
3971
3964
  nativeEvent: y.nativeEvent,
3972
3965
  target: M.current
3973
3966
  };
3974
- H || _e(x);
3967
+ q || Pe(x);
3975
3968
  }
3976
3969
  },
3977
- [H, _e]
3970
+ [q, Pe]
3978
3971
  ), gt = o.useCallback(
3979
3972
  (y) => {
3980
- var xe, os;
3973
+ var xe, ns;
3981
3974
  const { keyCode: x, altKey: L } = y, se = K.current && K.current.element;
3982
3975
  if (!M.current || y.isDefaultPrevented() && ((xe = j.current) == null ? void 0 : xe.element) === y.target)
3983
3976
  return;
@@ -3987,16 +3980,16 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
3987
3980
  target: M.current
3988
3981
  };
3989
3982
  if (S && S.length > 0 && (x === g.left || x === g.right || x === g.home || x === g.end || x === g.delete)) {
3990
- const ie = Q.current;
3991
- let he = ae ? ie.findIndex((ws) => St(ws, ae, p)) : -1, ue;
3983
+ const ie = X.current;
3984
+ let he = ae ? ie.findIndex((Ss) => St(Ss, ae, p)) : -1, ue;
3992
3985
  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);
3986
+ 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 && Ke(ue);
3994
3987
  }
3995
- if (H)
3988
+ if (q)
3996
3989
  if (x === g.esc || L && x === g.up)
3997
3990
  y.preventDefault(), $(Ie);
3998
3991
  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 && ((os = j.current) != null && os.element)) {
3992
+ if (x === g.up && ((ns = j.current) != null && ns.element)) {
4000
3993
  const ie = Array.from(se.querySelectorAll(".k-treeview-item")), he = [...ie].reverse().find((ue) => !!(ue && ue.querySelector(".k-focus")));
4001
3994
  if (he && ie.indexOf(he) === 0)
4002
3995
  return fe(() => {
@@ -4011,22 +4004,22 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4011
4004
  te(((ie = j.current) == null ? void 0 : ie.element) || se);
4012
4005
  });
4013
4006
  else
4014
- L && x === g.down && (y.preventDefault(), _e(Ie));
4007
+ L && x === g.down && (y.preventDefault(), Pe(Ie));
4015
4008
  },
4016
- [H, $, te, fe, _e, ae, p, S, ne]
4017
- ), Qe = o.useCallback(
4009
+ [q, $, te, fe, Pe, ae, p, S, ne]
4010
+ ), Je = o.useCallback(
4018
4011
  (y) => {
4019
4012
  const { keyCode: x, altKey: L } = y;
4020
4013
  L || x !== g.up && x !== g.down || (y.preventDefault(), fe(
4021
4014
  x === g.up ? () => {
4022
- te(W.current);
4015
+ te(A.current);
4023
4016
  } : () => {
4024
4017
  te(K.current && K.current.element);
4025
4018
  }
4026
4019
  ));
4027
4020
  },
4028
4021
  [te, fe]
4029
- ), Xe = o.useCallback(
4022
+ ), Qe = o.useCallback(
4030
4023
  (y) => {
4031
4024
  if (!M.current)
4032
4025
  return;
@@ -4041,14 +4034,14 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4041
4034
  ), Vt = o.useCallback(
4042
4035
  (y, x) => {
4043
4036
  var L;
4044
- $({ target: M.current }), A || te((L = j.current) == null ? void 0 : L.element), ne({
4037
+ $({ target: M.current }), H || te((L = j.current) == null ? void 0 : L.element), ne({
4045
4038
  syntheticEvent: x,
4046
4039
  nativeEvent: x.nativeEvent,
4047
4040
  target: M.current
4048
4041
  }, y, "delete");
4049
4042
  },
4050
- [ne, $, te, A]
4051
- ), Ze = o.useCallback(
4043
+ [ne, $, te, H]
4044
+ ), Xe = o.useCallback(
4052
4045
  (y) => {
4053
4046
  if (e.onExpandChange && M.current) {
4054
4047
  const { item: x, itemHierarchicalIndex: L, nativeEvent: se, syntheticEvent: Ie } = y, xe = {
@@ -4062,7 +4055,7 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4062
4055
  }
4063
4056
  },
4064
4057
  [e.onExpandChange]
4065
- ), et = o.useCallback(
4058
+ ), Ze = o.useCallback(
4066
4059
  (y) => {
4067
4060
  if (e.onFilterChange && M.current) {
4068
4061
  const L = {
@@ -4071,7 +4064,7 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4071
4064
  nativeEvent: y.nativeEvent,
4072
4065
  target: M.current
4073
4066
  };
4074
- e.onFilterChange.call(void 0, L), e.filter === void 0 && X(y.target.value);
4067
+ e.onFilterChange.call(void 0, L), e.filter === void 0 && ke(y.target.value);
4075
4068
  }
4076
4069
  },
4077
4070
  [e.onFilterChange, e.filter, e.textField]
@@ -4087,32 +4080,32 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4087
4080
  e.onCancel && e.onCancel.call(void 0, x), $(x), y.preventDefault();
4088
4081
  },
4089
4082
  [e.onCancel, $]
4090
- ), tt = () => {
4083
+ ), et = () => {
4091
4084
  const y = e.filterable ? /* @__PURE__ */ o.createElement(
4092
- Ve,
4085
+ Re,
4093
4086
  {
4094
- value: e.filter === void 0 ? z : e.filter,
4087
+ value: e.filter === void 0 ? J : e.filter,
4095
4088
  ref: Y,
4096
- onChange: et,
4097
- onKeyDown: Qe,
4089
+ onChange: Ze,
4090
+ onKeyDown: Je,
4098
4091
  size: de,
4099
4092
  rounded: I,
4100
4093
  fillMode: T
4101
4094
  }
4102
4095
  ) : null, x = {
4103
4096
  adaptiveTitle: e.adaptiveTitle,
4104
- expand: H,
4105
- onClose: (L) => e.onCancel ? mt(L) : Xe(L),
4097
+ expand: q,
4098
+ onClose: (L) => e.onCancel ? mt(L) : Qe(L),
4106
4099
  windowWidth: P,
4107
4100
  mobileFilter: y,
4108
4101
  footer: {
4109
- cancelText: ye.toLanguageString(at, ce[at]),
4110
- onCancel: (L) => e.onCancel ? mt(L) : Xe(L),
4111
- applyText: ye.toLanguageString(ot, ce[ot]),
4102
+ cancelText: ye.toLanguageString(ot, ce[ot]),
4103
+ onCancel: (L) => e.onCancel ? mt(L) : Qe(L),
4104
+ applyText: ye.toLanguageString(nt, ce[nt]),
4112
4105
  onApply: (L) => $(L)
4113
4106
  }
4114
4107
  };
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(
4108
+ return /* @__PURE__ */ o.createElement(ts, { ...x }, /* @__PURE__ */ o.createElement(lt, { 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
4109
  kt,
4117
4110
  {
4118
4111
  ref: K,
@@ -4127,27 +4120,27 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4127
4120
  expandIcons: !0,
4128
4121
  onItemClick: He,
4129
4122
  onCheckChange: He,
4130
- onExpandChange: Ze,
4123
+ onExpandChange: Xe,
4131
4124
  checkboxes: !0,
4132
4125
  size: de,
4133
4126
  item: e.item,
4134
- dir: Z
4127
+ dir: ee
4135
4128
  }
4136
- ) : /* @__PURE__ */ o.createElement(ge, null, ye.toLanguageString(me, ce[me]))))));
4129
+ ) : /* @__PURE__ */ o.createElement(me, null, ye.toLanguageString(ve, ce[ve]))))));
4137
4130
  }, vt = o.useCallback(
4138
4131
  (y) => {
4139
4132
  for (let x of y)
4140
- q(x.target.clientWidth);
4133
+ W(x.target.clientWidth);
4141
4134
  },
4142
4135
  []
4143
- ), ge = e.listNoData || ks, ye = ys(), De = !C || re.valid, { size: de, rounded: I, fillMode: T } = e, G = le && H ? be : Q.current, pe = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4136
+ ), me = e.listNoData || Cs, ye = bs(), De = !C || Se.valid, { size: de, rounded: I, fillMode: T } = e, G = le && q ? ge : X.current, pe = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4144
4137
  "span",
4145
4138
  {
4146
4139
  className: B("k-multiselecttree k-input", e.className, {
4147
- [`k-input-${fs[de] || de}`]: de,
4140
+ [`k-input-${us[de] || de}`]: de,
4148
4141
  [`k-rounded-${Fi[I] || I}`]: I,
4149
4142
  [`k-input-${T}`]: T,
4150
- "k-focus": A && !h,
4143
+ "k-focus": H && !h,
4151
4144
  "k-invalid": !De,
4152
4145
  "k-disabled": h,
4153
4146
  "k-loading": e.loading,
@@ -4157,15 +4150,15 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4157
4150
  accessKey: e.accessKey,
4158
4151
  id: n,
4159
4152
  style: v ? { ...d, width: void 0 } : d,
4160
- dir: Z,
4161
- ref: W,
4153
+ dir: ee,
4154
+ ref: A,
4162
4155
  onKeyDown: h ? void 0 : gt,
4163
4156
  onMouseDown: ut,
4164
4157
  onFocus: Rt,
4165
4158
  onBlur: ht,
4166
4159
  role: "combobox",
4167
4160
  "aria-haspopup": "tree",
4168
- "aria-expanded": H,
4161
+ "aria-expanded": q,
4169
4162
  "aria-disabled": h,
4170
4163
  "aria-label": v,
4171
4164
  "aria-labelledby": e.ariaLabelledBy,
@@ -4178,29 +4171,29 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4178
4171
  {
4179
4172
  id: "tagslist-" + n,
4180
4173
  className: B("k-input-values k-chip-list k-selection-multiple", {
4181
- [`k-chip-list-${fs[de] || de}`]: de
4174
+ [`k-chip-list-${us[de] || de}`]: de
4182
4175
  })
4183
4176
  },
4184
4177
  G.length > 0 && /* @__PURE__ */ o.createElement(
4185
- xs,
4178
+ Is,
4186
4179
  {
4187
4180
  tag: e.tag,
4188
4181
  onTagDelete: Vt,
4189
4182
  data: G,
4190
4183
  guid: n,
4191
- focused: ae ? Q.current.find((y) => St(y, ae, p)) : void 0,
4184
+ focused: ae ? X.current.find((y) => St(y, ae, p)) : void 0,
4192
4185
  size: de
4193
4186
  }
4194
4187
  )
4195
4188
  ),
4196
4189
  /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, G.length === 0 && /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)),
4197
4190
  e.loading && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
4198
- Ee && !h && G.length > 0 && /* @__PURE__ */ o.createElement(dt, { onClick: Xe }),
4191
+ re && !h && G.length > 0 && /* @__PURE__ */ o.createElement(rt, { onClick: Qe }),
4199
4192
  /* @__PURE__ */ o.createElement(
4200
4193
  "select",
4201
4194
  {
4202
4195
  name: b,
4203
- ref: ee,
4196
+ ref: Z,
4204
4197
  tabIndex: -1,
4205
4198
  "aria-hidden": !0,
4206
4199
  title: v,
@@ -4216,27 +4209,26 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4216
4209
  !le && /* @__PURE__ */ o.createElement(
4217
4210
  Yt,
4218
4211
  {
4212
+ ...c,
4219
4213
  popupClass: B(
4220
4214
  c.popupClass,
4221
4215
  "k-multiselecttree-popup"
4222
4216
  ),
4223
- className: B(c.className, { "k-rtl": Z === "rtl" }),
4217
+ className: B(c.className, { "k-rtl": ee === "rtl" }),
4224
4218
  style: pt,
4225
- animate: c.animate,
4226
- anchor: W.current,
4227
- show: H,
4219
+ anchor: c.anchor || A.current,
4220
+ show: q,
4228
4221
  onOpen: Pt,
4229
4222
  onClose: _t,
4230
- appendTo: c.appendTo,
4231
- ref: J
4223
+ ref: Q
4232
4224
  },
4233
4225
  e.filterable && /* @__PURE__ */ o.createElement(
4234
- Ve,
4226
+ Re,
4235
4227
  {
4236
- value: e.filter === void 0 ? z : e.filter,
4228
+ value: e.filter === void 0 ? J : e.filter,
4237
4229
  ref: j,
4238
- onChange: et,
4239
- onKeyDown: Qe,
4230
+ onChange: Ze,
4231
+ onKeyDown: Je,
4240
4232
  tabIndex: E,
4241
4233
  size: de,
4242
4234
  rounded: I,
@@ -4246,6 +4238,7 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4246
4238
  a.length > 0 ? /* @__PURE__ */ o.createElement(
4247
4239
  kt,
4248
4240
  {
4241
+ style: { height: c.height },
4249
4242
  ref: K,
4250
4243
  tabIndex: E,
4251
4244
  data: a,
@@ -4258,27 +4251,27 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4258
4251
  expandIcons: !0,
4259
4252
  onItemClick: He,
4260
4253
  onCheckChange: He,
4261
- onExpandChange: Ze,
4254
+ onExpandChange: Xe,
4262
4255
  checkboxes: !0,
4263
4256
  size: de,
4264
4257
  item: e.item,
4265
- dir: Z
4258
+ dir: ee
4266
4259
  }
4267
- ) : /* @__PURE__ */ o.createElement(ge, null, ye.toLanguageString(me, ce[me]))
4260
+ ) : /* @__PURE__ */ o.createElement(me, null, ye.toLanguageString(ve, ce[ve]))
4268
4261
  )
4269
- ), le && tt());
4262
+ ), le && et());
4270
4263
  return v ? /* @__PURE__ */ o.createElement(
4271
4264
  Ue,
4272
4265
  {
4273
4266
  label: v,
4274
- editorValue: Ee,
4267
+ editorValue: re,
4275
4268
  editorPlaceholder: m,
4276
4269
  editorValid: De,
4277
4270
  editorDisabled: h,
4278
4271
  editorId: n,
4279
4272
  style: { width: d ? d.width : void 0 },
4280
4273
  children: pe,
4281
- dir: Z
4274
+ dir: ee
4282
4275
  }
4283
4276
  ) : pe;
4284
4277
  }), Oi = {
@@ -4340,9 +4333,9 @@ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi
4340
4333
  adaptive: l.bool
4341
4334
  };
4342
4335
  is.displayName = "KendoReactMultiSelectTree";
4343
- is.defaultProps = Re;
4336
+ is.defaultProps = _e;
4344
4337
  is.propTypes = Oi;
4345
- const st = (i, t) => {
4338
+ const tt = (i, t) => {
4346
4339
  const e = {};
4347
4340
  return i && i.length && i.forEach((s) => {
4348
4341
  e[t(s)] = !0;
@@ -4354,46 +4347,46 @@ const st = (i, t) => {
4354
4347
  value: n,
4355
4348
  subItemsField: a = "items",
4356
4349
  operation: p
4357
- } = t, c = Ct(s), d = st(n, c);
4350
+ } = t, c = Ct(s), d = tt(n, c);
4358
4351
  if (p === "clear")
4359
4352
  return [];
4360
4353
  if (p === "delete") {
4361
- const N = st(e, c);
4354
+ const N = tt(e, c);
4362
4355
  return n.filter((_) => !N[c(_)]);
4363
4356
  }
4364
- const r = e[0], h = c(r), f = Ct(a), u = [...i], m = [];
4357
+ const r = e[0], h = c(r), u = Ct(a), f = [...i], m = [];
4365
4358
  let v = [], b;
4366
- for (; u.length; ) {
4367
- const N = u.pop();
4359
+ for (; f.length; ) {
4360
+ const N = f.pop();
4368
4361
  if (h === c(N)) {
4369
4362
  v = m.map((_) => _.item), b = N;
4370
4363
  break;
4371
4364
  } else {
4372
- m && m.length && m[m.length - 1].parentPosition === u.length && m.pop();
4373
- const _ = f(N);
4374
- _ && _.length && (m.push({ item: N, parentPosition: u.length }), u.push(..._));
4365
+ m && m.length && m[m.length - 1].parentPosition === f.length && m.pop();
4366
+ const _ = u(N);
4367
+ _ && _.length && (m.push({ item: N, parentPosition: f.length }), f.push(..._));
4375
4368
  }
4376
4369
  }
4377
- const w = [...f(b) || []];
4370
+ const w = [...u(b) || []];
4378
4371
  let k = [];
4379
4372
  for (; w.length; ) {
4380
4373
  const N = w.pop();
4381
4374
  k.push(N);
4382
- const _ = f(N);
4375
+ const _ = u(N);
4383
4376
  _ && _.length && w.push(..._);
4384
4377
  }
4385
4378
  const D = !d[h], O = [];
4386
4379
  if (D) {
4387
4380
  O.push(...n), O.push(b), O.push(...k.filter((S) => !d[c(S)]));
4388
- const N = v.filter((S) => !d[c(S)]), _ = st(O, c);
4381
+ const N = v.filter((S) => !d[c(S)]), _ = tt(O, c);
4389
4382
  for (let S = N.length - 1; S > -1; S--) {
4390
- const F = N[S], C = f(F);
4383
+ const F = N[S], C = u(F);
4391
4384
  if (C.filter((M) => _[c(M)]).length < C.length)
4392
4385
  break;
4393
4386
  O.push(F), _[c(F)] = !0;
4394
4387
  }
4395
4388
  } else {
4396
- const N = c(b), _ = st(k, c), S = st(v, c);
4389
+ const N = c(b), _ = tt(k, c), S = tt(v, c);
4397
4390
  O.push(
4398
4391
  ...n.filter((F) => {
4399
4392
  const C = c(F);
@@ -4404,36 +4397,36 @@ const st = (i, t) => {
4404
4397
  return O;
4405
4398
  };
4406
4399
  export {
4407
- di as AutoComplete,
4408
- ri as AutoCompletePropsContext,
4400
+ ri as AutoComplete,
4401
+ li as AutoCompletePropsContext,
4409
4402
  Mt as AutoCompleteWithoutContext,
4410
- Is as ComboBox,
4411
- oi as ComboBoxPropsContext,
4412
- ct as ComboBoxWithoutContext,
4413
- ti as DropDownList,
4403
+ ys as ComboBox,
4404
+ ni as ComboBoxPropsContext,
4405
+ dt as ComboBoxWithoutContext,
4406
+ ei as DropDownList,
4414
4407
  Tt as DropDownListClassComponent,
4415
- ei as DropDownListPropsContext,
4408
+ Zs as DropDownListPropsContext,
4416
4409
  Tt as DropDownListWithoutContext,
4417
- Ss as DropDownTree,
4410
+ ks as DropDownTree,
4418
4411
  wi as DropDownTreePropsContext,
4419
4412
  je as List,
4420
4413
  Ft as ListContainer,
4421
- Ve as ListFilter,
4422
- Us as ListItem,
4414
+ Re as ListFilter,
4415
+ Gs as ListItem,
4423
4416
  ss as MultiColumnComboBox,
4424
- bi as MultiColumnComboBoxPropsContext,
4425
- gi as MultiSelect,
4426
- fi as MultiSelectPropsContext,
4417
+ vi as MultiColumnComboBoxPropsContext,
4418
+ fi as MultiSelect,
4419
+ ui as MultiSelectPropsContext,
4427
4420
  is as MultiSelectTree,
4428
4421
  Ni as MultiSelectTreePropsContext,
4429
4422
  Nt as MultiSelectWithoutContext,
4430
4423
  es as SearchBar,
4431
- xs as TagList,
4424
+ Is as TagList,
4432
4425
  ce as dropdownsMessages,
4433
4426
  Wi as findByFieldValue,
4434
4427
  V as getItemValue,
4435
4428
  qi as getMultiSelectTreeValue,
4436
- st as getValueMap,
4437
- me as nodata,
4438
- Hs as scrollToItem
4429
+ tt as getValueMap,
4430
+ ve as nodata,
4431
+ zs as scrollToItem
4439
4432
  };