@progress/kendo-react-dropdowns 7.0.0-develop.8 → 7.0.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
@@ -2,17 +2,18 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ "use client";
5
6
  import * as o from "react";
6
7
  import * as l from "prop-types";
7
- import { IconWrap as ke, classNames as B, Keys as f, guid as Fe, svgIconPropType as gs, createPropsContext as Ke, withPropsContext as wt, validatePackage as qe, canUseDOM as Me, getTabIndex as $t, kendoThemeMaps as $e, getActiveElement as Ss, usePropsContext as Gt, getScrollbarWidth as ws, getter as kt, setScrollbarWidth as Es, useRtl as fs, noop as De, mapTree as Ds, extendDataItem as Ts } from "@progress/kendo-react-common";
8
- import { FloatingLabel as Ge } from "@progress/kendo-react-labels";
9
- import { searchIcon as Fs, caretAltDownIcon as Ut, xIcon as at, plusIcon as Ms } from "@progress/kendo-svg-icons";
10
- import { Popup as jt, PopupPropsContext as Ns } from "@progress/kendo-react-popup";
11
- import { TextBox as Os, InputPrefix as Ps } from "@progress/kendo-react-inputs";
12
- import { provideLocalizationService as Ae, registerForLocalization as ms, useLocalization as vs } from "@progress/kendo-react-intl";
13
- import { Button as Te, Chip as _s } from "@progress/kendo-react-buttons";
14
- import { ActionSheet as Yt, ActionSheetHeader as Jt, ActionSheetContent as lt, ActionSheetFooter as Rs } from "@progress/kendo-react-layout";
15
- import { TreeView as Ct } from "@progress/kendo-react-treeview";
8
+ import { IconWrap as ke, classNames as V, Keys as f, svgIconPropType as gs, createPropsContext as Be, withIdHOC as St, withPropsContext as wt, validatePackage as We, canUseDOM as Fe, getTabIndex as $t, kendoThemeMaps as qe, getActiveElement as ws, usePropsContext as Gt, getScrollbarWidth as Es, getter as It, setScrollbarWidth as Ds, useId as fs, useRtl as ms, noop as De, mapTree as Ts, extendDataItem as Fs } from "@progress/kendo-react-common";
9
+ import { FloatingLabel as $e } from "@progress/kendo-react-labels";
10
+ import { searchIcon as Ms, caretAltDownIcon as Ut, xIcon as ot, plusIcon as Ns } from "@progress/kendo-svg-icons";
11
+ import { Popup as jt, PopupPropsContext as Os } from "@progress/kendo-react-popup";
12
+ import { TextBox as Ps, InputPrefix as _s } from "@progress/kendo-react-inputs";
13
+ import { provideLocalizationService as He, registerForLocalization as vs, useLocalization as bs } from "@progress/kendo-react-intl";
14
+ import { Button as Te, Chip as Rs } from "@progress/kendo-react-buttons";
15
+ import { ActionSheet as Yt, ActionSheetHeader as Jt, ActionSheetContent as at, ActionSheetFooter as Vs } from "@progress/kendo-react-layout";
16
+ import { TreeView as kt } from "@progress/kendo-react-treeview";
16
17
  class Et extends o.Component {
17
18
  render() {
18
19
  const {
@@ -39,7 +40,7 @@ const Qt = o.forwardRef((i, t) => {
39
40
  t,
40
41
  () => e.current
41
42
  ), /* @__PURE__ */ o.createElement("div", { className: "k-list-filter" }, /* @__PURE__ */ o.createElement(
42
- Os,
43
+ Ps,
43
44
  {
44
45
  ...i,
45
46
  ref: e,
@@ -51,7 +52,7 @@ const Qt = o.forwardRef((i, t) => {
51
52
  size: i.size,
52
53
  fillMode: i.fillMode,
53
54
  rounded: i.rounded,
54
- prefix: () => /* @__PURE__ */ o.createElement(Ps, null, /* @__PURE__ */ o.createElement(ke, { name: "search", icon: Fs }))
55
+ prefix: () => /* @__PURE__ */ o.createElement(_s, null, /* @__PURE__ */ o.createElement(ke, { name: "search", icon: Ms }))
55
56
  }
56
57
  ));
57
58
  });
@@ -65,8 +66,8 @@ Qt.propTypes = {
65
66
  fillMode: l.oneOf([null, "solid", "flat", "outline"])
66
67
  };
67
68
  Qt.displayName = "KendoReactListFilter";
68
- const Be = Qt;
69
- class We extends o.Component {
69
+ const Re = Qt;
70
+ class Ae extends o.Component {
70
71
  render() {
71
72
  const {
72
73
  group: t,
@@ -81,7 +82,7 @@ const G = (i) => i != null, Bs = (i, t) => {
81
82
  if (i.charAt(e) !== t)
82
83
  return !1;
83
84
  return !0;
84
- }, Vs = (i, t, e) => {
85
+ }, Ks = (i, t, e) => {
85
86
  let s = i;
86
87
  return e && (s = [e].concat(s)), s.slice(t).concat(s.slice(0, t));
87
88
  }, os = (i, t, e) => {
@@ -89,7 +90,7 @@ const G = (i) => i != null, Bs = (i, t) => {
89
90
  return !1;
90
91
  let s = String(i);
91
92
  return e && (s = s.toLowerCase()), s.indexOf(t) === 0;
92
- }, Ks = (i, t, e, s, n) => {
93
+ }, Ls = (i, t, e, s, n) => {
93
94
  const a = i.offsetHeight, p = t.children.item(e), c = p.offsetTop + (n ? s - i.scrollTop : 0), d = p.offsetHeight;
94
95
  if (n) {
95
96
  let r = 0;
@@ -101,7 +102,7 @@ const G = (i) => i != null, Bs = (i, t) => {
101
102
  if (t) {
102
103
  t = t.toLowerCase();
103
104
  for (let n = 0; n < i.length; n++) {
104
- const a = (V(i[n], e) || "") + "";
105
+ const a = (B(i[n], e) || "") + "";
105
106
  if (a && a.toLowerCase().startsWith(t)) {
106
107
  s = n;
107
108
  break;
@@ -111,8 +112,8 @@ const G = (i) => i != null, Bs = (i, t) => {
111
112
  return s;
112
113
  }, Kt = (i, t, e, s = !1) => {
113
114
  const n = (a) => s ? a : a.toLowerCase();
114
- return i.findIndex((a) => e ? n(V(a, e)) === n(t) : n(t) === n(a.toString()));
115
- }, V = (i, t) => {
115
+ return i.findIndex((a) => e ? n(B(a, e)) === n(t) : n(t) === n(a.toString()));
116
+ }, B = (i, t) => {
116
117
  if (t && G(i)) {
117
118
  const e = t.split(".");
118
119
  let s = i;
@@ -121,7 +122,7 @@ const G = (i) => i != null, Bs = (i, t) => {
121
122
  }), s;
122
123
  }
123
124
  return i;
124
- }, Ls = (i = [], t = [], e) => {
125
+ }, zs = (i = [], t = [], e) => {
125
126
  if (i === t)
126
127
  return !0;
127
128
  if (i.length !== t.length)
@@ -130,31 +131,31 @@ const G = (i) => i != null, Bs = (i, t) => {
130
131
  if (!R(i[s], t[s], e))
131
132
  return !1;
132
133
  return !0;
133
- }, vt = (i, t, e) => {
134
+ }, mt = (i, t, e) => {
134
135
  t.forEach((s) => {
135
136
  const n = i.findIndex((a) => R(a, s, e));
136
137
  n !== -1 && i.splice(n, 1);
137
138
  });
138
- }, R = (i, t, e) => i === t || G(i) === G(t) && V(i, e) === V(t, e), as = (i, t, e) => {
139
+ }, R = (i, t, e) => i === t || G(i) === G(t) && B(i, e) === B(t, e), as = (i, t, e) => {
139
140
  if (t) {
140
141
  const s = Kt(i, t, e, !0);
141
142
  return s !== -1 ? i[s] : i[Ve(i, t, e)];
142
143
  }
143
144
  return i[0];
144
- }, zs = (i, t = [], e) => {
145
+ }, Hs = (i, t = [], e) => {
145
146
  let s = "";
146
147
  if (i) {
147
148
  const n = t[Ve(t, i, e)];
148
149
  if (n) {
149
- const a = V(n, e);
150
+ const a = B(n, e);
150
151
  i.toLowerCase() !== a.toLowerCase() && (s = a.substring(i.length));
151
152
  }
152
153
  }
153
154
  return s;
154
- }, Hs = (i) => {
155
+ }, As = (i) => {
155
156
  i.target.nodeName !== "INPUT" && i.preventDefault();
156
- }, xt = (i, t, e) => !!i != !!t || i.text !== t.text ? !1 : i === t || Ls(i.data, t.data, e), As = (i) => i.preventDefault();
157
- class Ws extends o.Component {
157
+ }, Ct = (i, t, e) => !!i != !!t || i.text !== t.text ? !1 : i === t || zs(i.data, t.data, e), Ws = (i) => i.preventDefault();
158
+ class qs extends o.Component {
158
159
  render() {
159
160
  const {
160
161
  selected: t,
@@ -165,17 +166,17 @@ class Ws extends o.Component {
165
166
  "div",
166
167
  {
167
168
  onClick: this.props.onClick,
168
- onMouseDown: As,
169
+ onMouseDown: Ws,
169
170
  style: { position: "unset" },
170
- className: B("k-list-optionlabel", {
171
+ className: V("k-list-optionlabel", {
171
172
  "k-selected": t
172
173
  })
173
174
  },
174
- V(e, s) || ""
175
+ B(e, s) || ""
175
176
  );
176
177
  }
177
178
  }
178
- class qs extends o.Component {
179
+ class $s extends o.Component {
179
180
  constructor() {
180
181
  super(...arguments), this.handleClick = (t) => this.props.onClick(this.props.index, t);
181
182
  }
@@ -195,7 +196,7 @@ class qs extends o.Component {
195
196
  role: "option",
196
197
  "aria-selected": t,
197
198
  "aria-disabled": p ? !0 : void 0,
198
- className: B("k-list-item", {
199
+ className: V("k-list-item", {
199
200
  "k-selected": t,
200
201
  "k-focus": this.props.focused,
201
202
  "k-first": !!e && a === "classic",
@@ -204,13 +205,13 @@ class qs extends o.Component {
204
205
  onClick: this.handleClick,
205
206
  style: { position: n ? "relative" : "unset" }
206
207
  },
207
- /* @__PURE__ */ o.createElement("span", { className: "k-list-item-text" }, V(s, this.props.textField).toString()),
208
+ /* @__PURE__ */ o.createElement("span", { className: "k-list-item-text" }, B(s, this.props.textField).toString()),
208
209
  e !== void 0 && a === "classic" ? /* @__PURE__ */ o.createElement("div", { className: "k-list-item-group-label" }, e) : null
209
210
  );
210
211
  return c !== void 0 ? c.call(void 0, d, this.props) : d;
211
212
  }
212
213
  }
213
- class $s extends o.Component {
214
+ class Gs extends o.Component {
214
215
  render() {
215
216
  const {
216
217
  group: t,
@@ -230,16 +231,16 @@ class $s extends o.Component {
230
231
  return s !== void 0 ? s.call(void 0, a, this.props) : a;
231
232
  }
232
233
  }
233
- const fe = "dropdowns.nodata", it = "dropdowns.clear", Lt = "dropdowns.comboArrowBtnAriaLabelExpand", zt = "dropdowns.comboArrowBtnAriaLabelCollapse", Ht = "dropdowns.dropDownListArrowBtnAriaLabel", nt = "dropdowns.apply", ot = "dropdowns.cancel", le = {
234
- [it]: "clear",
234
+ const fe = "dropdowns.nodata", st = "dropdowns.clear", Lt = "dropdowns.comboArrowBtnAriaLabelExpand", zt = "dropdowns.comboArrowBtnAriaLabelCollapse", Ht = "dropdowns.dropDownListArrowBtnAriaLabel", it = "dropdowns.apply", nt = "dropdowns.cancel", le = {
235
+ [st]: "clear",
235
236
  [fe]: "NO DATA FOUND.",
236
237
  [Lt]: "expand combobox",
237
238
  [zt]: "collapse combobox",
238
239
  [Ht]: "select",
239
- [nt]: "Apply",
240
- [ot]: "Cancel"
240
+ [it]: "Apply",
241
+ [nt]: "Cancel"
241
242
  };
242
- class Ue extends o.Component {
243
+ class Ge extends o.Component {
243
244
  renderItems() {
244
245
  const {
245
246
  textField: t,
@@ -261,9 +262,9 @@ class Ue extends o.Component {
261
262
  return g.map((S, D) => {
262
263
  const N = c + D, O = c + D + w, _ = S.disabled ? !1 : h && (!b && R(S, u, e) || b && u.findIndex((E) => R(E, S, e)) !== -1);
263
264
  let C, F, x;
264
- return D > 0 && s !== void 0 && (F = V(S, s), x = V(g[D - 1], s), F && x && F !== x && (C = F)), C !== void 0 && n === "modern" && (w += 1), [
265
+ return D > 0 && s !== void 0 && (F = B(S, s), x = B(g[D - 1], s), F && x && F !== x && (C = F)), C !== void 0 && n === "modern" && (w += 1), [
265
266
  C !== void 0 && n === "modern" && /* @__PURE__ */ o.createElement(
266
- $s,
267
+ Gs,
267
268
  {
268
269
  id: `option-${p}-${O}`,
269
270
  virtual: d,
@@ -274,7 +275,7 @@ class Ue extends o.Component {
274
275
  }
275
276
  ),
276
277
  /* @__PURE__ */ o.createElement(
277
- qs,
278
+ $s,
278
279
  {
279
280
  id: `option-${p}-${C !== void 0 && n === "modern" ? O + 1 : O}`,
280
281
  virtual: d,
@@ -299,7 +300,7 @@ class Ue extends o.Component {
299
300
  return e ? e.call(void 0, s) : s;
300
301
  }
301
302
  render() {
302
- const t = Ae(this), {
303
+ const t = He(this), {
303
304
  id: e,
304
305
  show: s,
305
306
  wrapperCssClass: n,
@@ -338,9 +339,9 @@ class Ue extends o.Component {
338
339
  ) : this.renderNoValueElement(t);
339
340
  }
340
341
  }
341
- ms(Ue);
342
- const Gs = 1533915;
343
- class Us {
342
+ vs(Ge);
343
+ const Us = 1533915;
344
+ class js {
344
345
  constructor() {
345
346
  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) => {
346
347
  const e = this;
@@ -348,7 +349,7 @@ class Us {
348
349
  }, this.calcScrollElementHeight = () => {
349
350
  this.scrollSyncing = !0;
350
351
  let t = !1;
351
- this.itemHeight = this.list ? this.list.children[0].offsetHeight : this.itemHeight, this.containerHeight = Math.min(Gs, this.itemHeight * this.total);
352
+ this.itemHeight = this.list ? this.list.children[0].offsetHeight : this.itemHeight, this.containerHeight = Math.min(Us, this.itemHeight * this.total);
352
353
  const e = this.containerHeight;
353
354
  return this.scrollElement && (t = this.scrollElement.style.height !== e + "px", t && (this.scrollElement.style.height = e + "px")), this.scrollSyncing = !1, t;
354
355
  }, this.scrollHandler = this.scrollHandler.bind(this);
@@ -404,7 +405,7 @@ class Us {
404
405
  return t = Math.max(0, t), t = Math.min(this.containerHeight, t), t;
405
406
  }
406
407
  }
407
- class js {
408
+ class Ys {
408
409
  navigate(t) {
409
410
  const e = t.keyCode;
410
411
  if (e === f.up || e === f.left)
@@ -422,7 +423,7 @@ class js {
422
423
  }
423
424
  const Xt = class {
424
425
  constructor(i) {
425
- this.wrapper = null, this.list = null, this.vs = new Us(), this.navigation = new js(), this.handleItemClick = (t, e) => {
426
+ this.wrapper = null, this.list = null, this.vs = new js(), this.navigation = new Ys(), this.handleItemClick = (t, e) => {
426
427
  const s = this.initState();
427
428
  s.syntheticEvent = e, e.stopPropagation(), this.component.handleItemSelect(t, s), this.togglePopup(s), this.applyState(s);
428
429
  }, this.handleFocus = (t) => {
@@ -473,7 +474,7 @@ const Xt = class {
473
474
  );
474
475
  }, this.resetGroupStickyHeader = (t, e) => {
475
476
  t !== e.state.group && e.setState({ ...e.state, group: t });
476
- }, this.listBoxId = Fe(), this.guid = Fe(), this.component = i, this.vs.PageChange = this.pageChange;
477
+ }, this.listBoxId = i.props.id + "list", this.guid = i.props.id, this.component = i, this.vs.PageChange = this.pageChange;
477
478
  }
478
479
  didMount() {
479
480
  const i = this.component.props, t = i.popupSettings || {}, e = i.style || {}, s = t.width;
@@ -493,7 +494,7 @@ const Xt = class {
493
494
  this.scrollToItem(i, t, !0);
494
495
  }, 10), s && i >= 0) {
495
496
  const n = this.vs, a = n.container || s.parentNode, p = t !== void 0 ? t : n.enabled;
496
- Ks(a, s, i, n.translate, p);
497
+ Ls(a, s, i, n.translate, p);
497
498
  }
498
499
  }
499
500
  initState() {
@@ -600,16 +601,16 @@ ie.defaultProps = {
600
601
  required: !1,
601
602
  validityStyles: !0
602
603
  };
603
- const je = {
604
+ const Ue = {
604
605
  name: "@progress/kendo-react-dropdowns",
605
606
  productName: "KendoReact",
606
607
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
607
- publishDate: 1701260123,
608
+ publishDate: 1702304807,
608
609
  version: "",
609
610
  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"
610
- }, St = 500, Se = 768, Ys = "Please select a value from the list!", { sizeMap: Vt, roundedMap: Js } = $e, At = class extends o.Component {
611
+ }, xt = 500, Se = 768, Js = "Please select a value from the list!", { sizeMap: Bt, roundedMap: Qs } = qe, At = class extends o.Component {
611
612
  constructor(i) {
612
- super(i), this.state = {}, this._element = null, this.base = new ie(this), this.searchState = { word: "", last: "" }, this._select = null, this._skipFocusEvent = !1, this._filterInput = null, this._navigated = !1, this._lastKeypressIsFilter = !1, this._inputId = Fe(), this.itemHeight = 0, this.focus = () => {
613
+ super(i), this.state = {}, this._element = null, this.base = new ie(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 = () => {
613
614
  this.base.wrapper && this.base.wrapper.focus();
614
615
  }, this.handleItemSelect = (t, e) => {
615
616
  const { data: s = [], virtual: n, dataItemKey: a, defaultItem: p } = this.props, c = n ? n.skip : 0, d = t === -1 && p !== void 0 ? p : s[t - c], r = !R(d, this.value, a);
@@ -639,7 +640,7 @@ const je = {
639
640
  dir: s !== void 0 ? s : r.dirCalculated,
640
641
  width: g,
641
642
  popupSettings: {
642
- popupClass: B(
643
+ popupClass: V(
643
644
  h.popupClass,
644
645
  "k-list-container",
645
646
  "k-dropdownlist-popup"
@@ -655,19 +656,19 @@ const je = {
655
656
  itemsCount: [n.length]
656
657
  };
657
658
  let { group: v } = this.state;
658
- return v === void 0 && p !== void 0 && (v = V(n[0], p)), /* @__PURE__ */ o.createElement(Et, { ...m }, this.renderListFilter(), t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
659
+ return v === void 0 && p !== void 0 && (v = B(n[0], p)), /* @__PURE__ */ o.createElement(Et, { ...m }, this.renderListFilter(), t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
659
660
  "div",
660
661
  {
661
- className: B(
662
+ className: V(
662
663
  "k-list",
663
664
  {
664
- [`k-list-${Vt[a] || a}`]: a,
665
+ [`k-list-${Bt[a] || a}`]: a,
665
666
  "k-virtual-list": this.base.vs.enabled
666
667
  }
667
668
  )
668
669
  },
669
670
  this.renderDefaultItem(),
670
- !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: v, groupMode: "modern", render: c }),
671
+ !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: v, groupMode: "modern", render: c }),
671
672
  this.renderList()
672
673
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e));
673
674
  }, this.renderList = () => {
@@ -681,16 +682,16 @@ const je = {
681
682
  itemRender: c
682
683
  } = 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(), g = `translateY(${d.translate}px)`;
683
684
  return /* @__PURE__ */ o.createElement(
684
- Ue,
685
+ Ge,
685
686
  {
686
- id: this.base.listBoxId,
687
+ id: this._listboxId,
687
688
  show: h,
688
689
  data: t.slice(),
689
690
  focusedIndex: this.getFocusedIndex(),
690
691
  value: this.value,
691
692
  textField: e,
692
693
  valueField: s,
693
- optionsGuid: this.base.guid,
694
+ optionsGuid: this._guid,
694
695
  groupField: this.props.groupField,
695
696
  groupMode: "modern",
696
697
  listRef: (m) => d.list = this.base.list = m,
@@ -727,7 +728,7 @@ const je = {
727
728
  }, this.renderListFilter = () => {
728
729
  const t = this.props.filter !== void 0 ? this.props.filter : this.state.text;
729
730
  return this.props.filterable && /* @__PURE__ */ o.createElement(
730
- Be,
731
+ Re,
731
732
  {
732
733
  value: t,
733
734
  ref: (e) => this._filterInput = e && e.element,
@@ -741,7 +742,7 @@ const je = {
741
742
  }, this.renderDefaultItem = () => {
742
743
  const { textField: t, defaultItem: e, dataItemKey: s } = this.props;
743
744
  return e !== void 0 && /* @__PURE__ */ o.createElement(
744
- Ws,
745
+ qs,
745
746
  {
746
747
  defaultItem: e,
747
748
  textField: t,
@@ -757,11 +758,11 @@ const je = {
757
758
  let n = e.map((S, D) => ({ item: S, itemIndex: D }));
758
759
  const a = this.searchState.word, p = this.searchState.last, c = Bs(a, p);
759
760
  let d = n.length, r = Math.max(0, e.findIndex((S) => R(S, this.value, s))), h;
760
- this.props.defaultItem && (h = { item: this.props.defaultItem, itemIndex: -1 }, d += 1, r += 1), r += c ? 1 : 0, n = Vs(n, r, h);
761
+ this.props.defaultItem && (h = { item: this.props.defaultItem, itemIndex: -1 }, d += 1, r += 1), r += c ? 1 : 0, n = Ks(n, r, h);
761
762
  let u, g, m, v = 0;
762
763
  const { textField: b, ignoreCase: w } = this.props;
763
764
  for (; v < d; v++)
764
- if (u = V(n[v].item, b), g = c && os(u, p, w), m = os(u, a, w), g || m) {
765
+ if (u = B(n[v].item, b), g = c && os(u, p, w), m = os(u, a, w), g || m) {
765
766
  v = n[v].itemIndex;
766
767
  break;
767
768
  }
@@ -896,12 +897,21 @@ const je = {
896
897
  );
897
898
  }, this.setValidity = () => {
898
899
  this._select && this._select.setCustomValidity && this._select.setCustomValidity(
899
- this.validity.valid ? "" : this.props.validationMessage || Ys
900
+ this.validity.valid ? "" : this.props.validationMessage || Js
900
901
  );
901
- }, qe(je);
902
+ }, We(Ue);
903
+ }
904
+ get _inputId() {
905
+ return this.props.id + "-accessibility-id";
906
+ }
907
+ get _listboxId() {
908
+ return this.props.id + "-listbox-id";
909
+ }
910
+ get _guid() {
911
+ return this.props.id + "-guid";
902
912
  }
903
913
  get document() {
904
- if (Me)
914
+ if (Fe)
905
915
  return this.element && this.element.ownerDocument || document;
906
916
  }
907
917
  /**
@@ -974,7 +984,7 @@ const je = {
974
984
  */
975
985
  componentDidMount() {
976
986
  var i;
977
- this.observerResize = Me && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (i = this.document) != null && i.body && this.observerResize && this.observerResize.observe(this.document.body);
987
+ this.observerResize = Fe && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (i = this.document) != null && i.body && this.observerResize && this.observerResize.observe(this.document.body);
978
988
  }
979
989
  /** @hidden */
980
990
  componentWillUnmount() {
@@ -985,7 +995,7 @@ const je = {
985
995
  * @hidden
986
996
  */
987
997
  render() {
988
- const i = Ae(this).toLanguageString(Ht, le[Ht]), { 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, g = this.value, m = V(g, this.props.textField), v = !this.validityStyles || this.validity.valid, b = this.base, w = b.vs, S = h <= Se && r;
998
+ const i = He(this).toLanguageString(Ht, le[Ht]), { 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, g = this.value, m = B(g, this.props.textField), v = !this.validityStyles || this.validity.valid, b = this.base, w = b.vs, S = h <= Se && r;
989
999
  w.enabled = a !== void 0, a !== void 0 && (b.vs.skip = a.skip, b.vs.total = a.total, b.vs.pageSize = a.pageSize);
990
1000
  const {
991
1001
  dataItemKey: D,
@@ -999,12 +1009,12 @@ const je = {
999
1009
  "span",
1000
1010
  {
1001
1011
  ref: this.componentRef,
1002
- className: B(
1012
+ className: V(
1003
1013
  "k-dropdownlist k-picker",
1004
1014
  e,
1005
1015
  {
1006
- [`k-picker-${Vt[p] || p}`]: p,
1007
- [`k-rounded-${Js[c] || c}`]: c,
1016
+ [`k-picker-${Bt[p] || p}`]: p,
1017
+ [`k-rounded-${Qs[c] || c}`]: c,
1008
1018
  [`k-picker-${d}`]: d,
1009
1019
  "k-focus": E,
1010
1020
  "k-disabled": O,
@@ -1030,8 +1040,8 @@ const je = {
1030
1040
  "aria-disabled": O || void 0,
1031
1041
  "aria-haspopup": "listbox",
1032
1042
  "aria-expanded": u || !1,
1033
- "aria-owns": this.base.listBoxId,
1034
- "aria-activedescendant": u ? "option-" + this.base.guid + "-" + (M + (a ? a.skip : 0)) : void 0,
1043
+ "aria-owns": this._listboxId,
1044
+ "aria-activedescendant": u ? "option-" + this._guid + "-" + (M + (a ? a.skip : 0)) : void 0,
1035
1045
  "aria-label": this.props.ariaLabel || this.props.label,
1036
1046
  "aria-labelledby": this.props.ariaLabelledBy,
1037
1047
  "aria-describedby": this.props.ariaDescribedBy || this._inputId,
@@ -1062,7 +1072,7 @@ const je = {
1062
1072
  !S && this.renderListContainer()
1063
1073
  ), S && this.renderAdaptiveListContainer());
1064
1074
  return s ? /* @__PURE__ */ o.createElement(
1065
- Ge,
1075
+ $e,
1066
1076
  {
1067
1077
  label: s,
1068
1078
  editorValue: m,
@@ -1098,11 +1108,11 @@ const je = {
1098
1108
  expand: r,
1099
1109
  animation: !0,
1100
1110
  onClose: (g) => this.handleWrapperClick(g),
1101
- animationStyles: i <= St ? { top: 0, width: "100%", height: "100%" } : void 0,
1102
- className: i <= St ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1111
+ animationStyles: i <= xt ? { top: 0, width: "100%", height: "100%" } : void 0,
1112
+ className: i <= xt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1103
1113
  };
1104
1114
  let { group: u } = this.state;
1105
- return u === void 0 && a !== void 0 && (u = V(d[0], a)), /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(Yt, { ...h }, /* @__PURE__ */ o.createElement(Jt, { 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(
1115
+ return u === void 0 && a !== void 0 && (u = B(d[0], a)), /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(Yt, { ...h }, /* @__PURE__ */ o.createElement(Jt, { 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(
1106
1116
  Te,
1107
1117
  {
1108
1118
  tabIndex: 0,
@@ -1112,21 +1122,21 @@ const je = {
1112
1122
  fillMode: "flat",
1113
1123
  onClick: this.handleWrapperClick,
1114
1124
  icon: "x",
1115
- svgIcon: at
1125
+ svgIcon: ot
1116
1126
  }
1117
- ))), /* @__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(
1127
+ ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderListFilter())), /* @__PURE__ */ o.createElement(at, { className: "!k-overflow-hidden" }, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
1118
1128
  "div",
1119
1129
  {
1120
- className: B(
1130
+ className: V(
1121
1131
  "k-list",
1122
1132
  {
1123
- [`k-list-${Vt[s] || s}`]: s,
1133
+ [`k-list-${Bt[s] || s}`]: s,
1124
1134
  "k-virtual-list": this.base.vs.enabled
1125
1135
  }
1126
1136
  )
1127
1137
  },
1128
1138
  this.renderDefaultItem(),
1129
- !c && u && d.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: u, groupMode: "modern", render: p }),
1139
+ !c && u && d.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: u, groupMode: "modern", render: p }),
1130
1140
  this.renderList()
1131
1141
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e))));
1132
1142
  }
@@ -1197,11 +1207,11 @@ Dt.defaultProps = {
1197
1207
  fillMode: "solid",
1198
1208
  groupMode: "modern"
1199
1209
  };
1200
- const Qs = Ke(), Xs = wt(
1201
- Qs,
1210
+ const Xs = Be(), Zs = St(wt(
1211
+ Xs,
1202
1212
  Dt
1203
- );
1204
- Xs.displayName = "KendoReactDropDownList";
1213
+ ));
1214
+ Zs.displayName = "KendoReactDropDownList";
1205
1215
  class Zt extends o.Component {
1206
1216
  constructor() {
1207
1217
  super(...arguments), this._input = null;
@@ -1213,7 +1223,7 @@ class Zt extends o.Component {
1213
1223
  return this._input;
1214
1224
  }
1215
1225
  componentDidUpdate(t) {
1216
- 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 = Ss(document);
1226
+ 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);
1217
1227
  p && c && h !== c && c.focus(), a && d && !r && c && c.setSelectionRange(n.length - a.length, n.length);
1218
1228
  }
1219
1229
  render() {
@@ -1254,12 +1264,12 @@ class Zt extends o.Component {
1254
1264
  return n ? n.call(void 0, a) : a;
1255
1265
  }
1256
1266
  }
1257
- class rt extends o.Component {
1267
+ class lt extends o.Component {
1258
1268
  constructor() {
1259
1269
  super(...arguments), this.onMouseDown = (t) => t.preventDefault();
1260
1270
  }
1261
1271
  render() {
1262
- const t = Ae(this).toLanguageString(it, le[it]);
1272
+ const t = He(this).toLanguageString(st, le[st]);
1263
1273
  return /* @__PURE__ */ o.createElement(
1264
1274
  "span",
1265
1275
  {
@@ -1271,14 +1281,14 @@ class rt extends o.Component {
1271
1281
  title: t,
1272
1282
  key: "clearbutton"
1273
1283
  },
1274
- /* @__PURE__ */ o.createElement(ke, { name: "x", icon: at })
1284
+ /* @__PURE__ */ o.createElement(ke, { name: "x", icon: ot })
1275
1285
  );
1276
1286
  }
1277
1287
  }
1278
- ms(rt);
1279
- const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e, It = class extends o.Component {
1288
+ vs(lt);
1289
+ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe, yt = class extends o.Component {
1280
1290
  constructor(i) {
1281
- super(i), this.state = {}, this.base = new ie(this), this._element = null, this._inputId = Fe(), this._suggested = "", this._skipBlur = !1, this._input = null, this._adaptiveFilterInput = null, this.itemHeight = 0, this.focus = () => {
1291
+ super(i), this.state = {}, this.base = new ie(this), this._element = null, this._suggested = "", this._skipBlur = !1, this._input = null, this._adaptiveFilterInput = null, this.itemHeight = 0, this.focus = () => {
1282
1292
  this._input && this._input.focus();
1283
1293
  }, this.handleItemSelect = (t, e) => {
1284
1294
  const { data: s = [], virtual: n, dataItemKey: a } = this.props, p = n ? n.skip : 0, c = s[t - p], d = !R(c, this.value, a);
@@ -1297,9 +1307,9 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1297
1307
  }
1298
1308
  this.applyState(d);
1299
1309
  }, this.renderMobileListFilter = () => {
1300
- const t = this.props.adaptiveFilter !== void 0 ? this.props.adaptiveFilter : this.state.text, e = V(this.value, this.props.textField), s = G(t) ? t : e;
1310
+ const t = this.props.adaptiveFilter !== void 0 ? this.props.adaptiveFilter : this.state.text, e = B(this.value, this.props.textField), s = G(t) ? t : e;
1301
1311
  return /* @__PURE__ */ o.createElement(
1302
- Be,
1312
+ Re,
1303
1313
  {
1304
1314
  value: s,
1305
1315
  ref: (n) => this._adaptiveFilterInput = n && n.element,
@@ -1400,7 +1410,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1400
1410
  if (this.props.suggest) {
1401
1411
  const p = n.selectionEnd === a.length;
1402
1412
  let c = this.props.filter !== void 0 ? this.props.filter : this.state.text;
1403
- G(c) || (c = V(this.value, this.props.textField) || "");
1413
+ G(c) || (c = B(this.value, this.props.textField) || "");
1404
1414
  const d = c && c === a, r = c && c.length > a.length;
1405
1415
  d || r || !p ? this._suggested = "" : this.suggestValue(a);
1406
1416
  }
@@ -1419,12 +1429,15 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1419
1429
  e.syntheticEvent = t, t.stopPropagation(), this.clearValue();
1420
1430
  }, this.setValidity = () => {
1421
1431
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
1422
- this.validity.valid ? "" : this.props.validationMessage || Zs
1432
+ this.validity.valid ? "" : this.props.validationMessage || ei
1423
1433
  );
1424
- }, qe(je);
1434
+ }, We(Ue);
1435
+ }
1436
+ get _inputId() {
1437
+ return this.props.id;
1425
1438
  }
1426
1439
  get document() {
1427
- if (Me)
1440
+ if (Fe)
1428
1441
  return this.element && this.element.ownerDocument || document;
1429
1442
  }
1430
1443
  /** @hidden */
@@ -1475,11 +1488,11 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1475
1488
  };
1476
1489
  }
1477
1490
  get validityStyles() {
1478
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : It.defaultProps.validityStyles;
1491
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : yt.defaultProps.validityStyles;
1479
1492
  }
1480
1493
  /** @hidden */
1481
1494
  get required() {
1482
- return this.props.required !== void 0 ? this.props.required : It.defaultProps.required;
1495
+ return this.props.required !== void 0 ? this.props.required : yt.defaultProps.required;
1483
1496
  }
1484
1497
  /** @hidden */
1485
1498
  componentDidUpdate(i, t) {
@@ -1499,7 +1512,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1499
1512
  /** @hidden */
1500
1513
  componentDidMount() {
1501
1514
  var i;
1502
- this.observerResize = Me && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (i = this.document) != null && i.body && this.observerResize && this.observerResize.observe(this.document.body);
1515
+ this.observerResize = Fe && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (i = this.document) != null && i.body && this.observerResize && this.observerResize.observe(this.document.body);
1503
1516
  }
1504
1517
  /** @hidden */
1505
1518
  componentWillUnmount() {
@@ -1508,13 +1521,13 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1508
1521
  }
1509
1522
  /** @hidden */
1510
1523
  render() {
1511
- const i = Ae(this).toLanguageString(Lt, le[Lt]), t = Ae(this).toLanguageString(
1524
+ const i = He(this).toLanguageString(Lt, le[Lt]), t = He(this).toLanguageString(
1512
1525
  zt,
1513
1526
  le[zt]
1514
1527
  ), {
1515
1528
  dir: e,
1516
1529
  disabled: s,
1517
- clearButton: n = It.defaultProps.clearButton,
1530
+ clearButton: n = yt.defaultProps.clearButton,
1518
1531
  label: a,
1519
1532
  textField: p,
1520
1533
  adaptive: c,
@@ -1528,16 +1541,16 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1528
1541
  fillMode: b,
1529
1542
  opened: w = this.state.opened,
1530
1543
  placeholder: S
1531
- } = this.props, { windowWidth: D = 0 } = this.state, N = !this.validityStyles || this.validity.valid, O = this.props.filter !== void 0 ? this.props.filter : this.state.text, _ = V(this.value, p), C = G(O) ? O : _, F = n && (!!C || G(this.value)), E = this.base.vs, M = this.props.id || this._inputId, K = D <= Se && c;
1544
+ } = this.props, { windowWidth: D = 0 } = this.state, N = !this.validityStyles || this.validity.valid, O = this.props.filter !== void 0 ? this.props.filter : this.state.text, _ = B(this.value, p), C = G(O) ? O : _, F = n && (!!C || G(this.value)), E = this.base.vs, M = this.props.id || this._inputId, K = D <= Se && c;
1532
1545
  E.enabled = g !== void 0, g !== void 0 && (E.skip = g.skip, E.total = g.total, E.pageSize = g.pageSize);
1533
1546
  const U = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1534
1547
  "span",
1535
1548
  {
1536
- className: B(
1549
+ className: V(
1537
1550
  "k-combobox k-input",
1538
1551
  {
1539
- [`k-input-${bt[m] || m}`]: m,
1540
- [`k-rounded-${ei[v] || v}`]: v,
1552
+ [`k-input-${vt[m] || m}`]: m,
1553
+ [`k-rounded-${ti[v] || v}`]: v,
1541
1554
  [`k-input-${b}`]: b,
1542
1555
  "k-invalid": !N,
1543
1556
  "k-loading": h,
@@ -1551,7 +1564,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1551
1564
  dir: e
1552
1565
  },
1553
1566
  this.renderSearchBar(C || "", M, S),
1554
- F && !h && /* @__PURE__ */ o.createElement(rt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1567
+ F && !h && /* @__PURE__ */ o.createElement(lt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1555
1568
  h && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
1556
1569
  /* @__PURE__ */ o.createElement(
1557
1570
  Te,
@@ -1574,7 +1587,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1574
1587
  !K && this.renderListContainer()
1575
1588
  ), K && this.renderAdaptiveListContainer());
1576
1589
  return a ? /* @__PURE__ */ o.createElement(
1577
- Ge,
1590
+ $e,
1578
1591
  {
1579
1592
  label: a,
1580
1593
  editorId: M,
@@ -1609,7 +1622,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1609
1622
  return i && t && t[e] && t[e].disabled;
1610
1623
  }
1611
1624
  applyValueOnEnter(i, t) {
1612
- const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, c = V(this.value, s) === i ? this.index : Kt(e, i, s), d = c !== -1;
1625
+ const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, c = B(this.value, s) === i ? this.index : Kt(e, i, s), d = c !== -1;
1613
1626
  let r;
1614
1627
  if (this._suggested = "", d)
1615
1628
  r = e[c];
@@ -1620,7 +1633,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1620
1633
  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);
1621
1634
  }
1622
1635
  applyValueOnRejectSuggestions(i, t) {
1623
- 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 <= Se;
1636
+ const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, p = B(this.value, s), c = this.state.windowWidth && this.state.windowWidth <= Se;
1624
1637
  if (this._suggested = "", i === p || i === "" && !G(p))
1625
1638
  return a && !c && this.base.togglePopup(t), this.applyState(t);
1626
1639
  const d = Kt(e, i, s, !0), r = d !== -1;
@@ -1634,15 +1647,15 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1634
1647
  renderAdaptiveListContainer() {
1635
1648
  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;
1636
1649
  let { group: g } = this.state;
1637
- g === void 0 && a !== void 0 && (g = V(n[0], a));
1650
+ g === void 0 && a !== void 0 && (g = B(n[0], a));
1638
1651
  const m = {
1639
1652
  navigatable: !1,
1640
1653
  navigatableElements: [],
1641
1654
  expand: u,
1642
1655
  animation: !0,
1643
1656
  onClose: (v) => this.toggleBtnClick(v),
1644
- animationStyles: i <= St ? { top: 0, width: "100%", height: "100%" } : void 0,
1645
- className: i <= St ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1657
+ animationStyles: i <= xt ? { top: 0, width: "100%", height: "100%" } : void 0,
1658
+ className: i <= xt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1646
1659
  };
1647
1660
  return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(Yt, { ...m }, /* @__PURE__ */ o.createElement(Jt, { 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(
1648
1661
  Te,
@@ -1654,22 +1667,22 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1654
1667
  fillMode: "flat",
1655
1668
  onClick: this.toggleBtnClick,
1656
1669
  icon: "x",
1657
- svgIcon: at
1670
+ svgIcon: ot
1658
1671
  }
1659
- ))), /* @__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(
1672
+ ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderMobileListFilter())), /* @__PURE__ */ o.createElement(at, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: V(
1660
1673
  {
1661
1674
  ["k-list"]: !c,
1662
1675
  ["k-list-lg"]: !0,
1663
1676
  ["k-virtual-list"]: d,
1664
1677
  ["k-data-table"]: c,
1665
- [`k-table-${bt[s] || s}`]: c && s
1678
+ [`k-table-${vt[s] || s}`]: c && s
1666
1679
  }
1667
- ) }, t && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, t), !c && g && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: g, groupMode: p, render: h }), this.renderList(), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e))))));
1680
+ ) }, t && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, t), !c && g && n.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: g, groupMode: p, render: h }), this.renderList(), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e))))));
1668
1681
  }
1669
1682
  renderListContainer() {
1670
1683
  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, g = i.getPopupSettings(), m = g.width !== void 0 ? g.width : i.popupWidth;
1671
1684
  let { group: v } = this.state;
1672
- return v === void 0 && a !== void 0 && (v = V(n[0], a)), /* @__PURE__ */ o.createElement(
1685
+ return v === void 0 && a !== void 0 && (v = B(n[0], a)), /* @__PURE__ */ o.createElement(
1673
1686
  Et,
1674
1687
  {
1675
1688
  width: m,
@@ -1677,7 +1690,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1677
1690
  animate: g.animate,
1678
1691
  anchor: this.element,
1679
1692
  show: u,
1680
- popupClass: B(
1693
+ popupClass: V(
1681
1694
  g.popupClass,
1682
1695
  "k-list-container",
1683
1696
  "k-combobox-popup"
@@ -1688,15 +1701,15 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1688
1701
  dir: t !== void 0 ? t : this.base.dirCalculated,
1689
1702
  itemsCount: [n.length]
1690
1703
  },
1691
- /* @__PURE__ */ o.createElement("div", { className: B(
1704
+ /* @__PURE__ */ o.createElement("div", { className: V(
1692
1705
  {
1693
1706
  ["k-list"]: !d,
1694
- [`k-list-${bt[c] || c}`]: !d && c,
1707
+ [`k-list-${vt[c] || c}`]: !d && c,
1695
1708
  ["k-virtual-list"]: r,
1696
1709
  ["k-data-table"]: d,
1697
- [`k-table-${bt[c] || c}`]: d && c
1710
+ [`k-table-${vt[c] || c}`]: d && c
1698
1711
  }
1699
- ) }, e && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, e), !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: v, groupMode: p, render: h }), this.renderList(), s && /* @__PURE__ */ o.createElement("div", { className: B(
1712
+ ) }, e && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, e), !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: v, groupMode: p, render: h }), this.renderList(), s && /* @__PURE__ */ o.createElement("div", { className: V(
1700
1713
  {
1701
1714
  ["k-list-footer"]: !this.props.footerClassName
1702
1715
  },
@@ -1713,7 +1726,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1713
1726
  groupHeaderItemRender: a,
1714
1727
  data: p = [],
1715
1728
  virtual: c = { skip: 0, total: void 0 }
1716
- } = this.props, d = i.getPopupSettings(), r = i.vs, h = c.skip, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, g = `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 = G(v) && v !== b ? null : this.value, S = this.props.list || Ue;
1729
+ } = this.props, d = i.getPopupSettings(), r = i.vs, h = c.skip, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, g = `translateY(${r.translate}px)`, m = u ? this.getFocusedIndex() : void 0, v = this.props.filter !== void 0 ? this.props.filter : this.state.text, b = B(this.value, t), w = G(v) && v !== b ? null : this.value, S = this.props.list || Ge;
1717
1730
  return /* @__PURE__ */ o.createElement(
1718
1731
  S,
1719
1732
  {
@@ -1733,7 +1746,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1733
1746
  r.list = this.base.list = D, this.itemHeight = 0;
1734
1747
  },
1735
1748
  wrapperStyle: this.state.windowWidth && this.state.windowWidth > Se ? { maxHeight: d.height } : {},
1736
- wrapperCssClass: B(
1749
+ wrapperCssClass: V(
1737
1750
  "k-list-content",
1738
1751
  {
1739
1752
  ["k-list-scroller"]: !c
@@ -1807,7 +1820,7 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1807
1820
  }
1808
1821
  suggestValue(i) {
1809
1822
  const { data: t, textField: e } = this.props;
1810
- this._suggested = zs(i, t, e);
1823
+ this._suggested = Hs(i, t, e);
1811
1824
  }
1812
1825
  applyState(i) {
1813
1826
  this.base.applyState(i), this._valueDuringOnChange = void 0;
@@ -1817,9 +1830,9 @@ const Zs = "Please enter a valid value!", { sizeMap: bt, roundedMap: ei } = $e,
1817
1830
  this.setState({ windowWidth: t.target.clientWidth });
1818
1831
  }
1819
1832
  };
1820
- let dt = It;
1821
- dt.displayName = "ComboBox";
1822
- dt.propTypes = {
1833
+ let rt = yt;
1834
+ rt.displayName = "ComboBox";
1835
+ rt.propTypes = {
1823
1836
  ...ie.propTypes,
1824
1837
  size: l.oneOf([null, "small", "medium", "large"]),
1825
1838
  rounded: l.oneOf([null, "small", "medium", "large", "full"]),
@@ -1844,7 +1857,7 @@ dt.propTypes = {
1844
1857
  valueRender: l.func,
1845
1858
  skipDisabledItems: l.bool
1846
1859
  };
1847
- dt.defaultProps = {
1860
+ rt.defaultProps = {
1848
1861
  ...ie.defaultProps,
1849
1862
  size: "medium",
1850
1863
  rounded: "medium",
@@ -1856,14 +1869,14 @@ dt.defaultProps = {
1856
1869
  isMultiColumn: !1,
1857
1870
  skipDisabledItems: !0
1858
1871
  };
1859
- const ti = Ke(), bs = wt(ti, dt);
1860
- bs.displayName = "KendoReactComboBox";
1861
- const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e, Wt = class extends o.Component {
1872
+ const si = Be(), ys = St(wt(si, rt));
1873
+ ys.displayName = "KendoReactComboBox";
1874
+ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe, Wt = class extends o.Component {
1862
1875
  constructor(i) {
1863
- super(i), this.state = {}, this.base = new ie(this), this._element = null, this._inputId = Fe(), this._suggested = "", this._input = null, this._isScrolling = !1, this.itemHeight = 0, this.focus = () => {
1876
+ super(i), this.state = {}, this.base = new ie(this), this._element = null, this._suggested = "", this._input = null, this._isScrolling = !1, this.itemHeight = 0, this.focus = () => {
1864
1877
  this._input && this._input.focus();
1865
1878
  }, this.handleItemSelect = (t, e) => {
1866
- const { data: s = [] } = this.props, n = V(s[t], this.props.textField);
1879
+ const { data: s = [] } = this.props, n = B(s[t], this.props.textField);
1867
1880
  this.triggerOnChange(n, e);
1868
1881
  }, this.itemFocus = (t, e) => {
1869
1882
  const { data: s = [], textField: n } = this.props, a = s[t];
@@ -1872,7 +1885,7 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
1872
1885
  this.base.togglePopup(t);
1873
1886
  }, this.setValidity = () => {
1874
1887
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
1875
- this.validity.valid ? "" : this.props.validationMessage || si
1888
+ this.validity.valid ? "" : this.props.validationMessage || ii
1876
1889
  );
1877
1890
  }, this.onScroll = (t) => {
1878
1891
  this._isScrolling = !0;
@@ -1982,7 +1995,10 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
1982
1995
  const e = this.base.initState();
1983
1996
  e.data.focused = !1, e.events.push({ type: "onBlur" }), e.syntheticEvent = t, this.applyInputValue(t.currentTarget.value, e);
1984
1997
  }
1985
- }, qe(je);
1998
+ }, We(Ue);
1999
+ }
2000
+ get _inputId() {
2001
+ return this.props.id + "-accessibility-id";
1986
2002
  }
1987
2003
  /**
1988
2004
  * @hidden
@@ -2054,12 +2070,12 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2054
2070
  const b = /* @__PURE__ */ o.createElement(
2055
2071
  "span",
2056
2072
  {
2057
- className: B(
2073
+ className: V(
2058
2074
  "k-autocomplete k-input",
2059
2075
  s,
2060
2076
  {
2061
2077
  [`k-input-${ls[c] || c}`]: c,
2062
- [`k-rounded-${ii[d] || d}`]: d,
2078
+ [`k-rounded-${ni[d] || d}`]: d,
2063
2079
  [`k-input-${r}`]: r,
2064
2080
  "k-invalid": !h,
2065
2081
  "k-loading": a,
@@ -2075,11 +2091,11 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2075
2091
  },
2076
2092
  this.renderSearchBar(g || "", v),
2077
2093
  a && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
2078
- m && !a && /* @__PURE__ */ o.createElement(rt, { onClick: this.clearButtonClick, key: "clearbutton" }),
2094
+ m && !a && /* @__PURE__ */ o.createElement(lt, { onClick: this.clearButtonClick, key: "clearbutton" }),
2079
2095
  this.renderListContainer()
2080
2096
  );
2081
2097
  return e ? /* @__PURE__ */ o.createElement(
2082
- Ge,
2098
+ $e,
2083
2099
  {
2084
2100
  label: e,
2085
2101
  editorId: v,
@@ -2110,7 +2126,7 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2110
2126
  applyInputValue(i, t, e) {
2111
2127
  const s = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { data: n = [], textField: a } = this.props, p = this.focusedIndex(), c = n[p];
2112
2128
  if (this._suggested = "", s && e === f.enter && c && !c.disabled) {
2113
- const d = V(n[this.focusedIndex(i)], a);
2129
+ const d = B(n[this.focusedIndex(i)], a);
2114
2130
  this.triggerOnChange(d, t);
2115
2131
  }
2116
2132
  s && this.togglePopup(t), this.applyState(t);
@@ -2158,7 +2174,7 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2158
2174
  groupStickyHeaderItemRender: d
2159
2175
  } = 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;
2160
2176
  let { group: g } = this.state;
2161
- return g === void 0 && p !== void 0 && (g = V(n[0], p)), /* @__PURE__ */ o.createElement(
2177
+ return g === void 0 && p !== void 0 && (g = B(n[0], p)), /* @__PURE__ */ o.createElement(
2162
2178
  Et,
2163
2179
  {
2164
2180
  width: u,
@@ -2166,7 +2182,7 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2166
2182
  animate: r.animate,
2167
2183
  anchor: this.element,
2168
2184
  show: h,
2169
- popupClass: B(
2185
+ popupClass: V(
2170
2186
  r.popupClass,
2171
2187
  "k-list-container",
2172
2188
  "k-autocomplete-popup"
@@ -2181,14 +2197,14 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2181
2197
  /* @__PURE__ */ o.createElement(
2182
2198
  "div",
2183
2199
  {
2184
- className: B(
2200
+ className: V(
2185
2201
  "k-list",
2186
2202
  {
2187
2203
  [`k-list-${ls[a] || a}`]: a
2188
2204
  }
2189
2205
  )
2190
2206
  },
2191
- !c && g && n.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: g, groupMode: "modern", render: d }),
2207
+ !c && g && n.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: g, groupMode: "modern", render: d }),
2192
2208
  this.renderList()
2193
2209
  ),
2194
2210
  s && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, s)
@@ -2203,7 +2219,7 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2203
2219
  groupHeaderItemRender: p
2204
2220
  } = this.props, c = this.value, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
2205
2221
  return /* @__PURE__ */ o.createElement(
2206
- Ue,
2222
+ Ge,
2207
2223
  {
2208
2224
  id: i.listBoxId,
2209
2225
  show: d,
@@ -2238,7 +2254,7 @@ const si = "Please enter a valid value!", { sizeMap: ls, roundedMap: ii } = $e,
2238
2254
  if (this._suggested = "", i) {
2239
2255
  const { data: t = [], textField: e } = this.props, s = t[Ve(t, i, e)];
2240
2256
  if (s) {
2241
- const n = V(s, e);
2257
+ const n = B(s, e);
2242
2258
  i.toLowerCase() !== n.toLowerCase() && (this._suggested = n.substring(i.length));
2243
2259
  }
2244
2260
  }
@@ -2285,10 +2301,10 @@ Tt.defaultProps = {
2285
2301
  fillMode: "solid",
2286
2302
  skipDisabledItems: !0
2287
2303
  };
2288
- const ni = Ke(), oi = wt(ni, Tt);
2289
- oi.displayName = "KendoReactAutoComplete";
2290
- const ai = (i) => i.syntheticEvent.preventDefault(), li = (i) => i.syntheticEvent.stopPropagation();
2291
- class ys extends o.Component {
2304
+ const oi = Be(), ai = St(wt(oi, Tt));
2305
+ ai.displayName = "KendoReactAutoComplete";
2306
+ const li = (i) => i.syntheticEvent.preventDefault(), ri = (i) => i.syntheticEvent.stopPropagation();
2307
+ class Is extends o.Component {
2292
2308
  render() {
2293
2309
  const { data: t, guid: e, focused: s, tagRender: n, tag: a, onTagDelete: p, size: c } = this.props;
2294
2310
  return /* @__PURE__ */ o.createElement(o.Fragment, null, t.map((d, r) => {
@@ -2302,7 +2318,7 @@ class ys extends o.Component {
2302
2318
  onTagDelete: p
2303
2319
  }
2304
2320
  ) : /* @__PURE__ */ o.createElement(
2305
- _s,
2321
+ Rs,
2306
2322
  {
2307
2323
  id: `tag-${e}-${d.text.replace(/\s+/g, "-")}`,
2308
2324
  "aria-selected": !0,
@@ -2312,8 +2328,8 @@ class ys extends o.Component {
2312
2328
  text: d.text,
2313
2329
  removable: !0,
2314
2330
  onRemove: (u) => p.call(void 0, d.data, u.syntheticEvent),
2315
- onMouseDown: ai,
2316
- onClick: li,
2331
+ onMouseDown: li,
2332
+ onClick: ri,
2317
2333
  className: d === s ? "k-focus" : void 0,
2318
2334
  size: c
2319
2335
  }
@@ -2322,7 +2338,7 @@ class ys extends o.Component {
2322
2338
  }), this.props.children);
2323
2339
  }
2324
2340
  }
2325
- var st = /* @__PURE__ */ ((i) => (i[i.PopupList = 0] = "PopupList", i[i.TagsList = 1] = "TagsList", i))(st || {});
2341
+ var tt = /* @__PURE__ */ ((i) => (i[i.PopupList = 0] = "PopupList", i[i.TagsList = 1] = "TagsList", i))(tt || {});
2326
2342
  const rs = 500, es = (i) => {
2327
2343
  const {
2328
2344
  footer: t,
@@ -2353,10 +2369,10 @@ const rs = 500, es = (i) => {
2353
2369
  type: "button",
2354
2370
  fillMode: "flat",
2355
2371
  icon: "x",
2356
- svgIcon: at,
2372
+ svgIcon: ot,
2357
2373
  onClick: d
2358
2374
  }
2359
- ))), h && /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, h)), e, t && /* @__PURE__ */ o.createElement(Rs, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ o.createElement(
2375
+ ))), h && /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, h)), e, t && /* @__PURE__ */ o.createElement(Vs, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ o.createElement(
2360
2376
  Te,
2361
2377
  {
2362
2378
  size: "large",
@@ -2380,12 +2396,12 @@ const rs = 500, es = (i) => {
2380
2396
  },
2381
2397
  t.applyText
2382
2398
  )));
2383
- }, { sizeMap: yt, roundedMap: ri } = $e, di = "Please enter a valid value!", ds = (i) => i.preventDefault(), cs = (i) => i === 2, qt = class extends o.Component {
2399
+ }, { sizeMap: bt, roundedMap: di } = qe, ci = "Please enter a valid value!", ds = (i) => i.preventDefault(), cs = (i) => i === 2, qt = class extends o.Component {
2384
2400
  constructor(i) {
2385
2401
  super(i), this.state = {
2386
- activedescendant: st.PopupList,
2402
+ activedescendant: tt.PopupList,
2387
2403
  currentValue: []
2388
- }, this._element = null, this._valueItemsDuringOnChange = null, this._inputId = Fe(), this.base = new ie(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 = () => {
2404
+ }, this._element = null, this._valueItemsDuringOnChange = null, this.base = new ie(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 = () => {
2389
2405
  this._input && this._input.focus();
2390
2406
  }, this.handleItemSelect = (t, e) => {
2391
2407
  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));
@@ -2396,10 +2412,10 @@ const rs = 500, es = (i) => {
2396
2412
  const s = this.base.initState();
2397
2413
  s.syntheticEvent = e, this.opened && this.base.togglePopup(s), !this.state.focused && !this.mobileMode && (s.data.focused = !0, this.focus());
2398
2414
  const n = this.value;
2399
- vt(n, t, this.props.dataItemKey), this.triggerOnChange(n, s), this.applyState(s);
2415
+ mt(n, t, this.props.dataItemKey), this.triggerOnChange(n, s), this.applyState(s);
2400
2416
  }, this.itemFocus = (t, e) => {
2401
2417
  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];
2402
- 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);
2418
+ h && d !== t ? this.state.focusedIndex !== t && (e.data.focusedIndex = t, e.data.activedescendant = tt.PopupList) : r && t === -1 && this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.base.triggerPageChangeCornerItems(h, e);
2403
2419
  }, this.componentRef = (t) => {
2404
2420
  this._element = t, this.base.wrapper = t;
2405
2421
  }, this.searchbarRef = (t) => {
@@ -2497,8 +2513,8 @@ const rs = 500, es = (i) => {
2497
2513
  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(
2498
2514
  "div",
2499
2515
  {
2500
- className: B("k-list", {
2501
- [`k-list-${yt[n] || n}`]: n
2516
+ className: V("k-list", {
2517
+ [`k-list-${bt[n] || n}`]: n
2502
2518
  }),
2503
2519
  key: "customitem",
2504
2520
  onClick: this.customItemSelect,
@@ -2507,26 +2523,26 @@ const rs = 500, es = (i) => {
2507
2523
  /* @__PURE__ */ o.createElement(
2508
2524
  "div",
2509
2525
  {
2510
- className: B("k-list-item k-custom-item", { "k-focus": cs(h) }),
2526
+ className: V("k-list-item k-custom-item", { "k-focus": cs(h) }),
2511
2527
  style: { fontStyle: "italic" }
2512
2528
  },
2513
2529
  r,
2514
- /* @__PURE__ */ o.createElement(ke, { name: "plus", icon: Ms, style: { position: "absolute", right: "0.5em" } })
2530
+ /* @__PURE__ */ o.createElement(ke, { name: "plus", icon: Ns, style: { position: "absolute", right: "0.5em" } })
2515
2531
  )
2516
2532
  );
2517
2533
  let { group: g } = this.state;
2518
- return g === void 0 && c !== void 0 && (g = V(a[0], c)), /* @__PURE__ */ o.createElement(o.Fragment, null, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), u, /* @__PURE__ */ o.createElement(
2534
+ return g === void 0 && c !== void 0 && (g = B(a[0], c)), /* @__PURE__ */ o.createElement(o.Fragment, null, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), u, /* @__PURE__ */ o.createElement(
2519
2535
  "div",
2520
2536
  {
2521
- className: B(
2537
+ className: V(
2522
2538
  "k-list",
2523
2539
  {
2524
- [`k-list-${this.mobileMode ? "lg" : yt[n] || n}`]: n,
2540
+ [`k-list-${this.mobileMode ? "lg" : bt[n] || n}`]: n,
2525
2541
  "k-virtual-list": this.base.vs.enabled
2526
2542
  }
2527
2543
  )
2528
2544
  },
2529
- !d && g && a.length !== 0 && /* @__PURE__ */ o.createElement(We, { group: g, groupMode: "modern", render: p }),
2545
+ !d && g && a.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: g, groupMode: "modern", render: p }),
2530
2546
  this.renderList()
2531
2547
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e));
2532
2548
  }, this.renderListContainer = () => {
@@ -2534,7 +2550,7 @@ const rs = 500, es = (i) => {
2534
2550
  dir: e !== void 0 ? e : t.dirCalculated,
2535
2551
  width: a,
2536
2552
  popupSettings: {
2537
- popupClass: B(
2553
+ popupClass: V(
2538
2554
  n.popupClass,
2539
2555
  "k-list-container",
2540
2556
  "k-multiselect-popup"
@@ -2552,9 +2568,9 @@ const rs = 500, es = (i) => {
2552
2568
  return /* @__PURE__ */ o.createElement(Et, { ...p }, this.listContainerContent());
2553
2569
  }, this.renderAdaptiveListContainer = () => {
2554
2570
  const { adaptiveTitle: t, filterable: e, filter: s } = this.props, { windowWidth: n = 0 } = this.state, a = s !== void 0 ? s : this.state.text;
2555
- this.localization = Ae(this);
2571
+ this.localization = He(this);
2556
2572
  const p = e ? /* @__PURE__ */ o.createElement(
2557
- Be,
2573
+ Re,
2558
2574
  {
2559
2575
  value: a,
2560
2576
  ref: (d) => this._adaptiveInput = d && d.element,
@@ -2571,13 +2587,13 @@ const rs = 500, es = (i) => {
2571
2587
  windowWidth: n,
2572
2588
  mobileFilter: p,
2573
2589
  footer: {
2574
- cancelText: this.localization.toLanguageString(ot, le[ot]),
2590
+ cancelText: this.localization.toLanguageString(nt, le[nt]),
2575
2591
  onCancel: this.onCancel,
2576
- applyText: this.localization.toLanguageString(nt, le[nt]),
2592
+ applyText: this.localization.toLanguageString(it, le[it]),
2577
2593
  onApply: this.closePopup
2578
2594
  }
2579
2595
  };
2580
- return /* @__PURE__ */ o.createElement(es, { ...c }, /* @__PURE__ */ o.createElement(lt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, this.listContainerContent())));
2596
+ return /* @__PURE__ */ o.createElement(es, { ...c }, /* @__PURE__ */ o.createElement(at, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, this.listContainerContent())));
2581
2597
  }, this.closePopup = (t) => {
2582
2598
  const e = this.base.initState();
2583
2599
  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" });
@@ -2599,7 +2615,7 @@ const rs = 500, es = (i) => {
2599
2615
  virtual: c = { skip: 0, total: void 0 }
2600
2616
  } = this.props, d = this.base.vs, { focusedIndex: r } = this.getFocusedState(), h = this.base.getPopupSettings(), u = `translateY(${d.translate}px)`;
2601
2617
  return /* @__PURE__ */ o.createElement(
2602
- Ue,
2618
+ Ge,
2603
2619
  {
2604
2620
  id: this.base.listBoxId,
2605
2621
  show: this.opened,
@@ -2679,12 +2695,15 @@ const rs = 500, es = (i) => {
2679
2695
  }, 0);
2680
2696
  }, this.setValidity = () => {
2681
2697
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
2682
- this.validity.valid ? "" : this.props.validationMessage || di
2698
+ this.validity.valid ? "" : this.props.validationMessage || ci
2683
2699
  );
2684
- }, qe(je);
2700
+ }, We(Ue);
2701
+ }
2702
+ get _inputId() {
2703
+ return this.props.id;
2685
2704
  }
2686
2705
  get document() {
2687
- if (Me)
2706
+ if (Fe)
2688
2707
  return this.element && this.element.ownerDocument || document;
2689
2708
  }
2690
2709
  /** @hidden */
@@ -2700,7 +2719,7 @@ const rs = 500, es = (i) => {
2700
2719
  const { tags: i, textField: t } = this.props;
2701
2720
  let e = [];
2702
2721
  return i === void 0 ? this.value.forEach((s) => {
2703
- e.push({ text: V(s, t), data: [s] });
2722
+ e.push({ text: B(s, t), data: [s] });
2704
2723
  }) : e.push(...i), e;
2705
2724
  }
2706
2725
  /**
@@ -2755,7 +2774,7 @@ const rs = 500, es = (i) => {
2755
2774
  /** @hidden */
2756
2775
  componentDidMount() {
2757
2776
  var i;
2758
- this.observerResize = Me && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (i = this.document) != null && i.body && this.observerResize && this.observerResize.observe(this.document.body);
2777
+ this.observerResize = Fe && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (i = this.document) != null && i.body && this.observerResize && this.observerResize.observe(this.document.body);
2759
2778
  }
2760
2779
  /** @hidden */
2761
2780
  componentWillUnmount() {
@@ -2803,9 +2822,9 @@ const rs = 500, es = (i) => {
2803
2822
  "div",
2804
2823
  {
2805
2824
  ref: this.componentRef,
2806
- className: B("k-multiselect k-input", t, {
2807
- [`k-input-${yt[d] || d}`]: d,
2808
- [`k-rounded-${ri[r] || r}`]: r,
2825
+ className: V("k-multiselect k-input", t, {
2826
+ [`k-input-${bt[d] || d}`]: d,
2827
+ [`k-rounded-${di[r] || r}`]: r,
2809
2828
  [`k-input-${h}`]: h,
2810
2829
  "k-focus": v && !n,
2811
2830
  "k-invalid": !O,
@@ -2818,40 +2837,40 @@ const rs = 500, es = (i) => {
2818
2837
  onFocus: this.handleFocus,
2819
2838
  onBlur: this.handleBlur,
2820
2839
  onClick: this.handleWrapperClick,
2821
- onMouseDown: Hs
2840
+ onMouseDown: As
2822
2841
  },
2823
- /* @__PURE__ */ o.createElement("div", { className: B("k-input-values") }, /* @__PURE__ */ o.createElement(
2842
+ /* @__PURE__ */ o.createElement("div", { className: V("k-input-values") }, /* @__PURE__ */ o.createElement(
2824
2843
  "div",
2825
2844
  {
2826
- className: B(
2845
+ className: V(
2827
2846
  "k-chip-list",
2828
- { [`k-chip-list-${yt[d] || d}`]: d }
2847
+ { [`k-chip-list-${bt[d] || d}`]: d }
2829
2848
  ),
2830
2849
  role: "listbox",
2831
2850
  id: "tagslist-" + this.base.guid
2832
2851
  },
2833
2852
  N && N.length > 0 && /* @__PURE__ */ o.createElement(
2834
- ys,
2853
+ Is,
2835
2854
  {
2836
2855
  tagRender: this.props.tagRender,
2837
2856
  onTagDelete: this.onTagDelete,
2838
2857
  data: N,
2839
2858
  guid: this.base.guid,
2840
- focused: b ? N.find((F) => xt(F, b, p)) : void 0,
2859
+ focused: b ? N.find((F) => Ct(F, b, p)) : void 0,
2841
2860
  size: d
2842
2861
  }
2843
2862
  )
2844
2863
  ), this.renderSearchBar(D)),
2845
2864
  u && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
2846
- _ && /* @__PURE__ */ o.createElement(rt, { onClick: this.clearButtonClick }),
2865
+ _ && /* @__PURE__ */ o.createElement(lt, { onClick: this.clearButtonClick }),
2847
2866
  !this.mobileMode && this.renderListContainer()
2848
2867
  ), this.mobileMode && this.renderAdaptiveListContainer());
2849
2868
  return e ? /* @__PURE__ */ o.createElement(
2850
- Ge,
2869
+ $e,
2851
2870
  {
2852
2871
  label: e,
2853
2872
  editorId: D,
2854
- editorValue: m || V(this.value[0], a),
2873
+ editorValue: m || B(this.value[0], a),
2855
2874
  editorValid: O,
2856
2875
  editorDisabled: n,
2857
2876
  style: { width: i ? i.width : void 0 },
@@ -2860,7 +2879,7 @@ const rs = 500, es = (i) => {
2860
2879
  ) : C;
2861
2880
  }
2862
2881
  renderSearchBar(i) {
2863
- 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}`;
2882
+ 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 === tt.TagsList && e !== void 0 ? `tag-${this.base.guid}-${e.text.replace(/\s+/g, "-")}` : `option-${this.base.guid}-${d}`;
2864
2883
  return /* @__PURE__ */ o.createElement(
2865
2884
  Zt,
2866
2885
  {
@@ -2886,7 +2905,7 @@ const rs = 500, es = (i) => {
2886
2905
  }
2887
2906
  onTagsNavigate(i, t) {
2888
2907
  const e = i.keyCode, { focusedTag: s } = this.state, n = this._tags, a = this.props.dataItemKey;
2889
- let p = s ? n.findIndex((r) => xt(r, s, a)) : -1, c;
2908
+ let p = s ? n.findIndex((r) => Ct(r, s, a)) : -1, c;
2890
2909
  const d = p !== -1;
2891
2910
  if (e === f.left)
2892
2911
  d ? p = Math.max(0, p - 1) : p = n.length - 1, c = n[p];
@@ -2899,18 +2918,18 @@ const rs = 500, es = (i) => {
2899
2918
  else if (e === f.delete) {
2900
2919
  if (d) {
2901
2920
  const r = this.value;
2902
- vt(r, n[p].data, a), this.triggerOnChange(r, t);
2921
+ mt(r, n[p].data, a), this.triggerOnChange(r, t);
2903
2922
  }
2904
2923
  } else if (e === f.backspace) {
2905
2924
  const r = this.value;
2906
2925
  if (d)
2907
- vt(r, n[p].data, a), this.triggerOnChange(r, t);
2926
+ mt(r, n[p].data, a), this.triggerOnChange(r, t);
2908
2927
  else if (!d && n.length) {
2909
2928
  const h = n.pop();
2910
- vt(r, h.data, a), this.triggerOnChange(r, t);
2929
+ mt(r, h.data, a), this.triggerOnChange(r, t);
2911
2930
  }
2912
2931
  }
2913
- c !== s && (t.data.focusedTag = c, t.data.activedescendant = st.TagsList), this.applyState(t);
2932
+ c !== s && (t.data.focusedTag = c, t.data.activedescendant = tt.TagsList), this.applyState(t);
2914
2933
  }
2915
2934
  triggerOnChange(i, t) {
2916
2935
  this.props.value === void 0 && (t.data.value = [...i]), this._valueItemsDuringOnChange = [], this.setItems(i, this._valueItemsDuringOnChange), t.events.push({ type: "onChange" });
@@ -3034,14 +3053,14 @@ Ft.defaultProps = {
3034
3053
  groupMode: "modern",
3035
3054
  skipDisabledItems: !0
3036
3055
  };
3037
- const ci = Ke(), pi = wt(ci, Ft);
3038
- pi.displayName = "KendoReactMultiSelect";
3039
- const hi = (i) => /* @__PURE__ */ o.createElement(
3040
- Ue,
3056
+ const pi = Be(), hi = St(wt(pi, Ft));
3057
+ hi.displayName = "KendoReactMultiSelect";
3058
+ const ui = (i) => /* @__PURE__ */ o.createElement(
3059
+ Ge,
3041
3060
  {
3042
3061
  ...i,
3043
3062
  wrapperCssClass: "k-table-body k-table-scroller",
3044
- listClassName: B(
3063
+ listClassName: V(
3045
3064
  "k-table k-table-list",
3046
3065
  {
3047
3066
  "k-virtual-table": i.virtual !== void 0
@@ -3049,10 +3068,10 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3049
3068
  ),
3050
3069
  listStyle: { ...i.listStyle }
3051
3070
  }
3052
- ), ui = (i, t) => i ? typeof i == "number" ? i + "px" : i : t, gi = Ke(), ts = o.forwardRef((i, t) => {
3053
- const e = Gt(gi, i), s = o.useRef(null), n = o.useRef(null), a = ws(), {
3054
- columns: p = He.columns,
3055
- popupSettings: c = He.popupSettings,
3071
+ ), gi = (i, t) => i ? typeof i == "number" ? i + "px" : i : t, fi = Be(), ts = o.forwardRef((i, t) => {
3072
+ const e = Gt(fi, i), s = o.useRef(null), n = o.useRef(null), a = Es(), {
3073
+ columns: p = ze.columns,
3074
+ popupSettings: c = ze.popupSettings,
3056
3075
  className: d,
3057
3076
  size: r,
3058
3077
  onOpen: h,
@@ -3080,7 +3099,7 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3080
3099
  const D = o.useMemo(
3081
3100
  () => {
3082
3101
  if (e.groupField !== void 0 && e.data)
3083
- return V(e.data[0], e.groupField);
3102
+ return B(e.data[0], e.groupField);
3084
3103
  },
3085
3104
  [e.data, e.groupField]
3086
3105
  ), [N, O] = o.useState(D), [_, C] = o.useState(!0), F = o.useMemo(
@@ -3091,7 +3110,7 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3091
3110
  "col",
3092
3111
  {
3093
3112
  key: H.uniqueKey ? H.uniqueKey : L,
3094
- style: { width: H.width ? H.width : He.width }
3113
+ style: { width: H.width ? H.width : ze.width }
3095
3114
  }
3096
3115
  )
3097
3116
  )), /* @__PURE__ */ o.createElement("thead", { className: "k-table-thead" }, /* @__PURE__ */ o.createElement("tr", { className: "k-table-row" }, p.map((H, L) => /* @__PURE__ */ o.createElement("th", { className: "k-table-th", key: H.uniqueKey ? H.uniqueKey : L }, H.header || " "))), N && _ && /* @__PURE__ */ o.createElement("tr", { className: "k-table-group-row" }, e.groupStickyHeaderItemRender ? e.groupStickyHeaderItemRender.call(void 0, P, {}) : P)))));
@@ -3100,7 +3119,7 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3100
3119
  ), x = o.useMemo(
3101
3120
  () => (
3102
3121
  // These additional 4px are coming from the child elements side borders (fixes horizontal scrollbar)
3103
- `calc(${p.map((P) => ui(P.width, He.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3122
+ `calc(${p.map((P) => gi(P.width, ze.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3104
3123
  ),
3105
3124
  [p, a]
3106
3125
  ), E = e.virtual ? e.virtual.skip : 0, M = o.useCallback(
@@ -3109,17 +3128,17 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3109
3128
  "span",
3110
3129
  {
3111
3130
  className: e.itemRender ? void 0 : "k-table-td",
3112
- style: e.itemRender ? void 0 : { width: J.width ? J.width : He.width },
3131
+ style: e.itemRender ? void 0 : { width: J.width ? J.width : ze.width },
3113
3132
  key: J.uniqueKey ? J.uniqueKey : W
3114
3133
  },
3115
- J.field ? String(kt(J.field)(H.dataItem)) : ""
3134
+ J.field ? String(It(J.field)(H.dataItem)) : ""
3116
3135
  ));
3117
- let me, Ce, Ne, Oe, Pe = e.data || [];
3136
+ let me, Ce, Me, Ne, Oe = e.data || [];
3118
3137
  const A = H.index - E;
3119
- e.groupField !== void 0 && (Oe = kt(e.groupField), Ce = Oe(Pe[A]), Ne = Oe(Pe[A - 1]), Ce && Ne && Ce !== Ne && (me = Ce)), me && e.groupMode === "classic" && L.push(/* @__PURE__ */ o.createElement("div", { key: "group", className: "k-table-td k-table-group-td" }, /* @__PURE__ */ o.createElement("span", null, me)));
3138
+ e.groupField !== void 0 && (Ne = It(e.groupField), Ce = Ne(Oe[A]), Me = Ne(Oe[A - 1]), Ce && Me && Ce !== Me && (me = Ce)), me && e.groupMode === "classic" && L.push(/* @__PURE__ */ o.createElement("div", { key: "group", className: "k-table-td k-table-group-td" }, /* @__PURE__ */ o.createElement("span", null, me)));
3120
3139
  const X = o.cloneElement(P, {
3121
3140
  ...P.props,
3122
- className: B("k-table-row", {
3141
+ className: V("k-table-row", {
3123
3142
  "k-table-alt-row": H.index % 2 !== 0,
3124
3143
  "k-focus": H.focused,
3125
3144
  "k-selected": H.selected,
@@ -3148,22 +3167,22 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3148
3167
  []
3149
3168
  );
3150
3169
  o.useEffect(() => {
3151
- Es();
3170
+ Ds();
3152
3171
  }), o.useEffect(() => {
3153
3172
  const P = e.data;
3154
3173
  O(D), P && P.length !== 0 ? C(!0) : C(!1);
3155
3174
  }, [e.data]);
3156
- const Le = o.useCallback((P) => /* @__PURE__ */ o.createElement(hi, { ...P }), []);
3175
+ const Ke = o.useCallback((P) => /* @__PURE__ */ o.createElement(ui, { ...P }), []);
3157
3176
  return /* @__PURE__ */ o.createElement(
3158
- Ns.Provider,
3177
+ Os.Provider,
3159
3178
  {
3160
3179
  value: (P) => ({ ...P, popupClass: `k-dropdowngrid-popup ${c.popupClass}` })
3161
3180
  },
3162
3181
  /* @__PURE__ */ o.createElement(
3163
- bs,
3182
+ ys,
3164
3183
  {
3165
3184
  ...S,
3166
- list: Le,
3185
+ list: Ke,
3167
3186
  popupSettings: {
3168
3187
  width: x,
3169
3188
  ...c,
@@ -3187,7 +3206,7 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3187
3206
  onFilterChange: Q,
3188
3207
  onPageChange: ne,
3189
3208
  onGroupScroll: oe,
3190
- className: B("k-dropdowngrid", d),
3209
+ className: V("k-dropdowngrid", d),
3191
3210
  required: e.required,
3192
3211
  adaptive: e.adaptive,
3193
3212
  adaptiveFilter: e.adaptiveFilter,
@@ -3197,10 +3216,10 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3197
3216
  }
3198
3217
  )
3199
3218
  );
3200
- }), fi = {
3201
- ...dt.propTypes,
3219
+ }), mi = {
3220
+ ...rt.propTypes,
3202
3221
  columns: l.any.isRequired
3203
- }, He = {
3222
+ }, ze = {
3204
3223
  columns: [],
3205
3224
  popupSettings: {},
3206
3225
  width: "200px",
@@ -3209,9 +3228,9 @@ const hi = (i) => /* @__PURE__ */ o.createElement(
3209
3228
  fillMode: "solid"
3210
3229
  };
3211
3230
  ts.displayName = "KendoMultiColumnComboBox";
3212
- ts.propTypes = fi;
3213
- ts.defaultProps = He;
3214
- function Is(i, t, e) {
3231
+ ts.propTypes = mi;
3232
+ ts.defaultProps = ze;
3233
+ function ks(i, t, e) {
3215
3234
  const [s, n] = o.useState(t);
3216
3235
  return o.useEffect(
3217
3236
  () => {
@@ -3220,7 +3239,7 @@ function Is(i, t, e) {
3220
3239
  e
3221
3240
  ), s;
3222
3241
  }
3223
- const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, i.children)), { sizeMap: mi, roundedMap: vi } = $e, bi = "Please select a value from the list!", yi = (i) => /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, i.children), ps = (i) => i.split("_").map((t) => parseInt(t, 10)), Ii = (i, t) => {
3242
+ const Cs = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, i.children)), { sizeMap: vi, roundedMap: bi } = qe, yi = "Please select a value from the list!", Ii = (i) => /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, i.children), ps = (i) => i.split("_").map((t) => parseInt(t, 10)), ki = (i, t) => {
3224
3243
  const { validationMessage: e, valid: s, required: n } = i;
3225
3244
  return {
3226
3245
  customError: e !== void 0,
@@ -3242,12 +3261,12 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3242
3261
  size: "medium",
3243
3262
  rounded: "medium",
3244
3263
  fillMode: "solid"
3245
- }, ki = Ke(), Cs = o.forwardRef((i, t) => {
3246
- qe(je);
3247
- const e = Gt(ki, i), s = {
3264
+ }, Ci = Be(), xs = o.forwardRef((i, t) => {
3265
+ We(Ue);
3266
+ const e = Gt(Ci, i), s = {
3248
3267
  ...hs,
3249
3268
  ...e
3250
- }, n = o.useMemo(() => Fe(), []), a = s.id || n, {
3269
+ }, n = fs(), a = s.id || n, {
3251
3270
  data: p,
3252
3271
  dataItemKey: c,
3253
3272
  popupSettings: d,
@@ -3265,7 +3284,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3265
3284
  valid: O,
3266
3285
  required: _,
3267
3286
  validityStyles: C
3268
- } = s, F = $t(s.tabIndex, u), x = o.useRef(null), E = o.useRef(null), M = o.useRef(null), K = o.useRef(null), U = o.useRef(null), j = o.useRef(null), Y = o.useRef(!1), [re, we] = o.useState(void 0), ne = s.value !== void 0, Q = ne ? s.value : re !== void 0 ? re : s.defaultValue, oe = G(Q), Le = oe ? V(Q, s.textField) : "", P = Ii({ validationMessage: N, valid: O, required: _ }, oe), H = o.useCallback(() => E.current && E.current.focus(), []);
3287
+ } = s, F = $t(s.tabIndex, u), x = o.useRef(null), E = o.useRef(null), M = o.useRef(null), K = o.useRef(null), U = o.useRef(null), j = o.useRef(null), Y = o.useRef(!1), [re, we] = o.useState(void 0), ne = s.value !== void 0, Q = ne ? s.value : re !== void 0 ? re : s.defaultValue, oe = G(Q), Ke = oe ? B(Q, s.textField) : "", P = ki({ validationMessage: N, valid: O, required: _ }, oe), H = o.useCallback(() => E.current && E.current.focus(), []);
3269
3288
  o.useImperativeHandle(
3270
3289
  x,
3271
3290
  () => ({
@@ -3274,31 +3293,31 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3274
3293
  focus: H
3275
3294
  })
3276
3295
  ), o.useImperativeHandle(t, () => x.current);
3277
- const L = fs(E, s.dir), me = d.width !== void 0 ? d.width : r.width !== void 0 ? r.width : hs.popupSettings.width, Ne = {
3278
- width: Is(E, me),
3296
+ const L = ms(E, s.dir), me = d.width !== void 0 ? d.width : r.width !== void 0 ? r.width : hs.popupSettings.width, Me = {
3297
+ width: ks(E, me),
3279
3298
  ...L !== void 0 ? { direction: L } : {}
3280
- }, [Oe, Pe] = o.useState(!1), A = h !== void 0 ? h : Oe, [X, J] = o.useState(!1), [W, Ye] = o.useState(), ue = !!(W && W <= Se && s.adaptive), [ve, Mt] = o.useState(""), is = o.useCallback(
3299
+ }, [Ne, Oe] = o.useState(!1), A = h !== void 0 ? h : Ne, [X, J] = o.useState(!1), [W, je] = o.useState(), ue = !!(W && W <= Se && s.adaptive), [ve, Mt] = o.useState(""), is = o.useCallback(
3281
3300
  () => {
3282
3301
  U.current && U.current.setCustomValidity && U.current.setCustomValidity(
3283
- P.valid ? "" : N === void 0 ? bi : N
3302
+ P.valid ? "" : N === void 0 ? yi : N
3284
3303
  );
3285
3304
  },
3286
3305
  [N, P]
3287
3306
  );
3288
3307
  o.useEffect(is), o.useEffect(() => {
3289
- const I = Me && window.ResizeObserver && new window.ResizeObserver(Rt.bind(void 0));
3308
+ const I = Fe && window.ResizeObserver && new window.ResizeObserver(Rt.bind(void 0));
3290
3309
  return document != null && document.body && I && I.observe(document.body), () => {
3291
3310
  document != null && document.body && I && I.disconnect();
3292
3311
  };
3293
3312
  }, []);
3294
- const ct = o.useCallback(
3313
+ const dt = o.useCallback(
3295
3314
  (I) => {
3296
3315
  if (!A) {
3297
3316
  if (g) {
3298
3317
  const T = { ...I };
3299
3318
  g.call(void 0, T);
3300
3319
  }
3301
- h === void 0 && Pe(!0);
3320
+ h === void 0 && Oe(!0);
3302
3321
  }
3303
3322
  },
3304
3323
  [A, h, g]
@@ -3309,7 +3328,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3309
3328
  const T = { ...I };
3310
3329
  m.call(void 0, T);
3311
3330
  }
3312
- h === void 0 && (Pe(!1), ue && setTimeout(() => {
3331
+ h === void 0 && (Oe(!1), ue && setTimeout(() => {
3313
3332
  var T;
3314
3333
  q((T = K.current) == null ? void 0 : T.element);
3315
3334
  }, 300));
@@ -3325,7 +3344,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3325
3344
  nativeEvent: I.nativeEvent,
3326
3345
  target: x.current
3327
3346
  };
3328
- (A ? xe : ct)(T);
3347
+ (A ? xe : dt)(T);
3329
3348
  }
3330
3349
  },
3331
3350
  [A, h, g, m]
@@ -3334,7 +3353,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3334
3353
  Y.current = !0, I(), window.setTimeout(() => Y.current = !1, 0);
3335
3354
  },
3336
3355
  []
3337
- ), ze = o.useCallback(
3356
+ ), Le = o.useCallback(
3338
3357
  (I) => {
3339
3358
  var k, z;
3340
3359
  const { keyCode: T, altKey: $ } = I, de = j.current && j.current.element;
@@ -3364,10 +3383,10 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3364
3383
  q(((ee = M.current) == null ? void 0 : ee.element) || de);
3365
3384
  });
3366
3385
  else
3367
- $ && T === f.down ? (I.preventDefault(), ct(y)) : A || T === f.esc && ut(I);
3386
+ $ && T === f.down ? (I.preventDefault(), dt(y)) : A || T === f.esc && ht(I);
3368
3387
  },
3369
3388
  [A, h, g, m]
3370
- ), _e = o.useCallback(
3389
+ ), Pe = o.useCallback(
3371
3390
  (I) => {
3372
3391
  const { keyCode: T, altKey: $ } = I;
3373
3392
  $ || T !== f.up && T !== f.down || (I.preventDefault(), se(
@@ -3432,7 +3451,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3432
3451
  }, 300);
3433
3452
  },
3434
3453
  [X, ue]
3435
- ), pt = o.useCallback(
3454
+ ), ct = o.useCallback(
3436
3455
  (I, T, $) => {
3437
3456
  if (e.onChange) {
3438
3457
  const de = {
@@ -3445,7 +3464,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3445
3464
  ne || we(T);
3446
3465
  },
3447
3466
  [e.onChange, ne]
3448
- ), ht = o.useCallback(
3467
+ ), pt = o.useCallback(
3449
3468
  (I) => {
3450
3469
  if (R(I.item, Q, c) || !x.current)
3451
3470
  return;
@@ -3454,10 +3473,10 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3454
3473
  nativeEvent: de,
3455
3474
  target: x.current
3456
3475
  };
3457
- pt(k, T, $), xe(k);
3476
+ ct(k, T, $), xe(k);
3458
3477
  },
3459
3478
  [ne, Q, e.onChange, c, A, h, m]
3460
- ), ut = o.useCallback(
3479
+ ), ht = o.useCallback(
3461
3480
  (I) => {
3462
3481
  if (!x.current)
3463
3482
  return;
@@ -3466,10 +3485,10 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3466
3485
  nativeEvent: I.nativeEvent,
3467
3486
  target: x.current
3468
3487
  };
3469
- pt(T, null), xe(T), I.preventDefault();
3488
+ ct(T, null), xe(T), I.preventDefault();
3470
3489
  },
3471
3490
  [ne, e.onChange, A, h, m]
3472
- ), gt = o.useCallback(
3491
+ ), ut = o.useCallback(
3473
3492
  (I) => {
3474
3493
  if (I.syntheticEvent.stopPropagation(), e.onExpandChange && x.current) {
3475
3494
  const { item: T, itemHierarchicalIndex: $, nativeEvent: de, syntheticEvent: y } = I, k = {
@@ -3483,7 +3502,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3483
3502
  }
3484
3503
  },
3485
3504
  [e.onExpandChange]
3486
- ), Je = o.useCallback(
3505
+ ), Ye = o.useCallback(
3487
3506
  (I) => {
3488
3507
  if (e.onFilterChange && x.current) {
3489
3508
  const $ = {
@@ -3496,14 +3515,14 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3496
3515
  }
3497
3516
  },
3498
3517
  [e.onFilterChange, e.filter, e.textField]
3499
- ), Qe = () => {
3518
+ ), Je = () => {
3500
3519
  const I = s.filterable ? /* @__PURE__ */ o.createElement(
3501
- Be,
3520
+ Re,
3502
3521
  {
3503
3522
  value: s.filter === void 0 ? ve : s.filter,
3504
3523
  ref: K,
3505
- onChange: Je,
3506
- onKeyDown: _e,
3524
+ onChange: Ye,
3525
+ onKeyDown: Pe,
3507
3526
  size: ge,
3508
3527
  rounded: be,
3509
3528
  fillMode: Ee
@@ -3515,51 +3534,51 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3515
3534
  windowWidth: W,
3516
3535
  mobileFilter: I
3517
3536
  };
3518
- return /* @__PURE__ */ o.createElement(es, { ...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(
3519
- Ct,
3537
+ return /* @__PURE__ */ o.createElement(es, { ...T }, /* @__PURE__ */ o.createElement(at, { 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(
3538
+ kt,
3520
3539
  {
3521
3540
  ref: j,
3522
3541
  tabIndex: F,
3523
- data: Xe,
3542
+ data: Qe,
3524
3543
  focusIdField: c,
3525
3544
  textField: s.textField,
3526
3545
  selectField: S,
3527
3546
  expandField: s.expandField,
3528
3547
  childrenField: D,
3529
3548
  expandIcons: !0,
3530
- onItemClick: ht,
3531
- onExpandChange: gt,
3549
+ onItemClick: pt,
3550
+ onExpandChange: ut,
3532
3551
  size: ge,
3533
3552
  item: s.item,
3534
3553
  dir: L
3535
3554
  }
3536
- ) : /* @__PURE__ */ o.createElement(Ze, null, et.toLanguageString(fe, le[fe]))))));
3555
+ ) : /* @__PURE__ */ o.createElement(Xe, null, Ze.toLanguageString(fe, le[fe]))))));
3537
3556
  }, Rt = o.useCallback(
3538
3557
  (I) => {
3539
3558
  for (let T of I)
3540
- Ye(T.target.clientWidth);
3559
+ je(T.target.clientWidth);
3541
3560
  },
3542
3561
  []
3543
- ), Xe = o.useMemo(
3544
- () => ne || !oe ? p : Ds(
3562
+ ), Qe = o.useMemo(
3563
+ () => ne || !oe ? p : Ts(
3545
3564
  p,
3546
3565
  D,
3547
- (I) => Ts(
3566
+ (I) => Fs(
3548
3567
  I,
3549
3568
  D,
3550
3569
  { [S]: R(I, Q, c) }
3551
3570
  )
3552
3571
  ),
3553
3572
  [p, Q, ne, oe, S, D]
3554
- ), Ze = s.listNoData || ks, ft = s.valueHolder || yi, et = vs(), mt = !C || P.valid, { size: ge, rounded: be, fillMode: Ee } = s, ae = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3573
+ ), Xe = s.listNoData || Cs, gt = s.valueHolder || Ii, Ze = bs(), ft = !C || P.valid, { size: ge, rounded: be, fillMode: Ee } = s, ae = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3555
3574
  "span",
3556
3575
  {
3557
- className: B("k-dropdowntree k-picker", s.className, {
3558
- [`k-picker-${mi[ge] || ge}`]: ge,
3559
- [`k-rounded-${vi[be] || be}`]: be,
3576
+ className: V("k-dropdowntree k-picker", s.className, {
3577
+ [`k-picker-${vi[ge] || ge}`]: ge,
3578
+ [`k-rounded-${bi[be] || be}`]: be,
3560
3579
  [`k-picker-${Ee}`]: Ee,
3561
3580
  "k-focus": X,
3562
- "k-invalid": !mt,
3581
+ "k-invalid": !ft,
3563
3582
  "k-loading": s.loading,
3564
3583
  "k-required": _,
3565
3584
  "k-disabled": s.disabled
@@ -3570,7 +3589,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3570
3589
  style: b ? { ...r, width: void 0 } : r,
3571
3590
  dir: L,
3572
3591
  ref: E,
3573
- onKeyDown: u ? void 0 : ze,
3592
+ onKeyDown: u ? void 0 : Le,
3574
3593
  onMouseDown: _t,
3575
3594
  onClick: u ? void 0 : Nt,
3576
3595
  onFocus: Ot,
@@ -3584,19 +3603,19 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3584
3603
  "aria-describedby": s.ariaDescribedBy,
3585
3604
  "aria-required": _
3586
3605
  },
3587
- /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(ft, { item: Q }, Le || v)),
3606
+ /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(gt, { item: Q }, Ke || v)),
3588
3607
  s.loading && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
3589
3608
  oe && !u && /* @__PURE__ */ o.createElement(
3590
3609
  "span",
3591
3610
  {
3592
- onClick: ut,
3611
+ onClick: ht,
3593
3612
  className: "k-clear-value",
3594
- title: et.toLanguageString(it, le[it]),
3613
+ title: Ze.toLanguageString(st, le[st]),
3595
3614
  role: "button",
3596
3615
  tabIndex: -1,
3597
3616
  onMouseDown: (I) => I.preventDefault()
3598
3617
  },
3599
- /* @__PURE__ */ o.createElement(ke, { name: "x", icon: at })
3618
+ /* @__PURE__ */ o.createElement(ke, { name: "x", icon: ot })
3600
3619
  ),
3601
3620
  /* @__PURE__ */ o.createElement(
3602
3621
  Te,
@@ -3628,12 +3647,12 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3628
3647
  !ue && /* @__PURE__ */ o.createElement(
3629
3648
  jt,
3630
3649
  {
3631
- className: B(d.className, { "k-rtl": L === "rtl" }),
3632
- popupClass: B(
3650
+ className: V(d.className, { "k-rtl": L === "rtl" }),
3651
+ popupClass: V(
3633
3652
  d.popupClass,
3634
3653
  "k-dropdowntree-popup"
3635
3654
  ),
3636
- style: Ne,
3655
+ style: Me,
3637
3656
  animate: d.animate,
3638
3657
  anchor: E.current,
3639
3658
  show: A,
@@ -3642,45 +3661,45 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3642
3661
  appendTo: d.appendTo
3643
3662
  },
3644
3663
  s.filterable && /* @__PURE__ */ o.createElement(
3645
- Be,
3664
+ Re,
3646
3665
  {
3647
3666
  value: s.filter === void 0 ? ve : s.filter,
3648
3667
  ref: M,
3649
- onChange: Je,
3650
- onKeyDown: _e,
3668
+ onChange: Ye,
3669
+ onKeyDown: Pe,
3651
3670
  size: ge,
3652
3671
  rounded: be,
3653
3672
  fillMode: Ee
3654
3673
  }
3655
3674
  ),
3656
3675
  p.length > 0 ? /* @__PURE__ */ o.createElement(
3657
- Ct,
3676
+ kt,
3658
3677
  {
3659
3678
  ref: j,
3660
3679
  tabIndex: F,
3661
- data: Xe,
3680
+ data: Qe,
3662
3681
  focusIdField: c,
3663
3682
  textField: s.textField,
3664
3683
  selectField: S,
3665
3684
  expandField: s.expandField,
3666
3685
  childrenField: D,
3667
3686
  expandIcons: !0,
3668
- onItemClick: ht,
3669
- onExpandChange: gt,
3687
+ onItemClick: pt,
3688
+ onExpandChange: ut,
3670
3689
  size: ge,
3671
3690
  item: s.item,
3672
3691
  dir: L
3673
3692
  }
3674
- ) : /* @__PURE__ */ o.createElement(Ze, null, et.toLanguageString(fe, le[fe]))
3693
+ ) : /* @__PURE__ */ o.createElement(Xe, null, Ze.toLanguageString(fe, le[fe]))
3675
3694
  )
3676
- ), ue && Qe());
3695
+ ), ue && Je());
3677
3696
  return b ? /* @__PURE__ */ o.createElement(
3678
- Ge,
3697
+ $e,
3679
3698
  {
3680
3699
  label: b,
3681
- editorValue: Le,
3700
+ editorValue: Ke,
3682
3701
  editorPlaceholder: v,
3683
- editorValid: mt,
3702
+ editorValid: ft,
3684
3703
  editorDisabled: u,
3685
3704
  editorId: a,
3686
3705
  style: { width: r ? r.width : void 0 },
@@ -3688,7 +3707,7 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3688
3707
  dir: L
3689
3708
  }
3690
3709
  ) : ae;
3691
- }), Ci = {
3710
+ }), xi = {
3692
3711
  opened: l.bool,
3693
3712
  disabled: l.bool,
3694
3713
  dir: l.string,
@@ -3741,16 +3760,16 @@ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3741
3760
  adaptiveTitle: l.string,
3742
3761
  adaptive: l.bool
3743
3762
  };
3744
- Cs.displayName = "KendoReactDropDownTree";
3745
- Cs.propTypes = Ci;
3746
- const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si } = $e, wi = (i) => i.split("_").map((t) => parseInt(t, 10)), Ei = (i, t) => {
3763
+ xs.displayName = "KendoReactDropDownTree";
3764
+ xs.propTypes = xi;
3765
+ const Si = "Please select a value from the list!", { sizeMap: us, roundedMap: wi } = qe, Ei = (i) => i.split("_").map((t) => parseInt(t, 10)), Di = (i, t) => {
3747
3766
  const { validationMessage: e, valid: s, required: n } = i;
3748
3767
  return {
3749
3768
  customError: e !== void 0,
3750
3769
  valid: !!(s !== void 0 ? s : !n || t),
3751
3770
  valueMissing: !t
3752
3771
  };
3753
- }, Re = {
3772
+ }, _e = {
3754
3773
  checkField: "checkField",
3755
3774
  checkIndeterminateField: "checkIndeterminateField",
3756
3775
  subItemsField: "items",
@@ -3764,10 +3783,10 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3764
3783
  fillMode: "solid",
3765
3784
  required: !1,
3766
3785
  validityStyles: !0
3767
- }, Di = Ke(), ss = o.forwardRef((i, t) => {
3768
- const e = Gt(Di, i);
3769
- qe(je);
3770
- const s = o.useMemo(() => Fe(), []), n = e.id || s, {
3786
+ }, Ti = Be(), ss = o.forwardRef((i, t) => {
3787
+ const e = Gt(Ti, i);
3788
+ We(Ue);
3789
+ const s = fs(), n = e.id || s, {
3771
3790
  data: a = [],
3772
3791
  dataItemKey: p,
3773
3792
  popupSettings: c = {},
@@ -3779,20 +3798,20 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3779
3798
  placeholder: m,
3780
3799
  label: v,
3781
3800
  name: b,
3782
- checkField: w = Re.checkField,
3783
- checkIndeterminateField: S = Re.checkIndeterminateField,
3784
- subItemsField: D = Re.subItemsField,
3801
+ checkField: w = _e.checkField,
3802
+ checkIndeterminateField: S = _e.checkIndeterminateField,
3803
+ subItemsField: D = _e.subItemsField,
3785
3804
  validationMessage: N,
3786
3805
  valid: O,
3787
3806
  tags: _,
3788
3807
  value: C,
3789
- required: F = Re.required,
3790
- validityStyles: x = Re.validityStyles
3791
- } = e, E = $t(e.tabIndex, h), M = o.useRef(null), K = o.useRef(null), U = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), re = o.useRef(null), we = o.useRef(!1), ne = o.useRef([]), Q = o.useRef(null), [oe, Le] = o.useState(), [P, H] = o.useState(!1), [L, me] = o.useState(!1), [Ce, Ne] = o.useState(), [Oe, Pe] = o.useState([]), [A, X] = o.useState(""), J = !!(Ce && Ce <= Se && e.adaptive), W = r !== void 0 ? r : P, Ye = !!(Array.isArray(C) && C.length), ue = Ei({ validationMessage: N, valid: O, required: F }, Ye), ve = fs(K, e.dir), Mt = c.width !== void 0 ? c.width : d.width !== void 0 ? d.width : Re.popupSettings.width, ct = {
3792
- width: Is(K, Mt),
3808
+ required: F = _e.required,
3809
+ validityStyles: x = _e.validityStyles
3810
+ } = e, E = $t(e.tabIndex, h), M = o.useRef(null), K = o.useRef(null), U = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), re = o.useRef(null), we = o.useRef(!1), ne = o.useRef([]), Q = o.useRef(null), [oe, Ke] = o.useState(), [P, H] = o.useState(!1), [L, me] = o.useState(!1), [Ce, Me] = o.useState(), [Ne, Oe] = o.useState([]), [A, X] = o.useState(""), J = !!(Ce && Ce <= Se && e.adaptive), W = r !== void 0 ? r : P, je = !!(Array.isArray(C) && C.length), ue = Di({ validationMessage: N, valid: O, required: F }, je), ve = ms(K, e.dir), Mt = c.width !== void 0 ? c.width : d.width !== void 0 ? d.width : _e.popupSettings.width, dt = {
3811
+ width: ks(K, Mt),
3793
3812
  ...ve !== void 0 ? { direction: ve } : {}
3794
3813
  }, xe = o.useCallback(() => K.current && K.current.focus(), []);
3795
- ne.current = _ === void 0 ? (C || []).map((y) => ({ text: V(y, e.textField), data: [y] })) : [..._], o.useImperativeHandle(
3814
+ ne.current = _ === void 0 ? (C || []).map((y) => ({ text: B(y, e.textField), data: [y] })) : [..._], o.useImperativeHandle(
3796
3815
  M,
3797
3816
  () => ({
3798
3817
  props: e,
@@ -3803,13 +3822,13 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3803
3822
  const Nt = o.useCallback(
3804
3823
  () => {
3805
3824
  Y.current && Y.current.setCustomValidity && Y.current.setCustomValidity(
3806
- ue.valid ? "" : N === void 0 ? xi : N
3825
+ ue.valid ? "" : N === void 0 ? Si : N
3807
3826
  );
3808
3827
  },
3809
3828
  [N, ue]
3810
3829
  );
3811
3830
  o.useEffect(Nt), o.useEffect(() => {
3812
- const y = Me && window.ResizeObserver && new window.ResizeObserver(mt.bind(void 0));
3831
+ const y = Fe && window.ResizeObserver && new window.ResizeObserver(ft.bind(void 0));
3813
3832
  return document != null && document.body && y && y.observe(document.body), () => {
3814
3833
  y && y.disconnect();
3815
3834
  };
@@ -3831,7 +3850,7 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3831
3850
  }
3832
3851
  },
3833
3852
  [e.onChange]
3834
- ), ze = o.useCallback(
3853
+ ), Le = o.useCallback(
3835
3854
  (y) => {
3836
3855
  if (R(y.item, C, p) || !M.current)
3837
3856
  return;
@@ -3843,14 +3862,14 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3843
3862
  se(ye, [k], "toggle");
3844
3863
  },
3845
3864
  [C, p, se]
3846
- ), _e = o.useCallback(
3865
+ ), Pe = o.useCallback(
3847
3866
  (y) => {
3848
3867
  if (!W) {
3849
3868
  if (u) {
3850
3869
  const k = { ...y };
3851
3870
  u.call(void 0, k);
3852
3871
  }
3853
- r === void 0 && (H(!0), Pe(C || []), J && setTimeout(() => {
3872
+ r === void 0 && (H(!0), Oe(C || []), J && setTimeout(() => {
3854
3873
  var k;
3855
3874
  Z((k = j.current) == null ? void 0 : k.element);
3856
3875
  }, 300));
@@ -3901,7 +3920,7 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3901
3920
  }
3902
3921
  },
3903
3922
  [L, e.onFocus]
3904
- ), pt = o.useCallback(
3923
+ ), ct = o.useCallback(
3905
3924
  (y) => {
3906
3925
  if (L && !we.current && M.current) {
3907
3926
  me(!1);
@@ -3918,12 +3937,12 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3918
3937
  }
3919
3938
  },
3920
3939
  [L, e.onBlur, W, r, g]
3921
- ), ht = o.useCallback(
3940
+ ), pt = o.useCallback(
3922
3941
  () => {
3923
3942
  L && he(De);
3924
3943
  },
3925
3944
  [L, he]
3926
- ), ut = o.useCallback(
3945
+ ), ht = o.useCallback(
3927
3946
  (y) => {
3928
3947
  if (!y.isDefaultPrevented() && M.current) {
3929
3948
  me(!0);
@@ -3932,11 +3951,11 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3932
3951
  nativeEvent: y.nativeEvent,
3933
3952
  target: M.current
3934
3953
  };
3935
- W || _e(k);
3954
+ W || Pe(k);
3936
3955
  }
3937
3956
  },
3938
- [W, _e]
3939
- ), gt = o.useCallback(
3957
+ [W, Pe]
3958
+ ), ut = o.useCallback(
3940
3959
  (y) => {
3941
3960
  var Ie, ns;
3942
3961
  const { keyCode: k, altKey: z } = y, ee = re.current && re.current.element;
@@ -3949,9 +3968,9 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3949
3968
  };
3950
3969
  if (C && C.length > 0 && (k === f.left || k === f.right || k === f.home || k === f.end || k === f.delete)) {
3951
3970
  const te = ne.current;
3952
- let ce = oe ? te.findIndex((xs) => xt(xs, oe, p)) : -1, pe;
3953
- const Bt = ce !== -1;
3954
- k === f.left ? (Bt ? ce = Math.max(0, ce - 1) : ce = te.length - 1, pe = te[ce]) : k === f.right ? ce === te.length - 1 ? pe = void 0 : Bt && (ce = Math.min(te.length - 1, ce + 1), pe = te[ce]) : k === f.home ? pe = te[0] : k === f.end ? pe = te[te.length - 1] : k === f.delete && Bt && se(ye, te[ce].data, "delete"), pe !== oe && Le(pe);
3971
+ let ce = oe ? te.findIndex((Ss) => Ct(Ss, oe, p)) : -1, pe;
3972
+ const Vt = ce !== -1;
3973
+ k === f.left ? (Vt ? ce = Math.max(0, ce - 1) : ce = te.length - 1, pe = te[ce]) : k === f.right ? ce === te.length - 1 ? pe = void 0 : Vt && (ce = Math.min(te.length - 1, ce + 1), pe = te[ce]) : k === f.home ? pe = te[0] : k === f.end ? pe = te[te.length - 1] : k === f.delete && Vt && se(ye, te[ce].data, "delete"), pe !== oe && Ke(pe);
3955
3974
  }
3956
3975
  if (W)
3957
3976
  if (k === f.esc || z && k === f.up)
@@ -3972,10 +3991,10 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3972
3991
  Z(((te = U.current) == null ? void 0 : te.element) || ee);
3973
3992
  });
3974
3993
  else
3975
- z && k === f.down && (y.preventDefault(), _e(ye));
3994
+ z && k === f.down && (y.preventDefault(), Pe(ye));
3976
3995
  },
3977
- [W, q, Z, he, _e, oe, p, C, se]
3978
- ), Je = o.useCallback(
3996
+ [W, q, Z, he, Pe, oe, p, C, se]
3997
+ ), Ye = o.useCallback(
3979
3998
  (y) => {
3980
3999
  const { keyCode: k, altKey: z } = y;
3981
4000
  z || k !== f.up && k !== f.down || (y.preventDefault(), he(
@@ -3987,7 +4006,7 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
3987
4006
  ));
3988
4007
  },
3989
4008
  [Z, he]
3990
- ), Qe = o.useCallback(
4009
+ ), Je = o.useCallback(
3991
4010
  (y) => {
3992
4011
  if (!M.current)
3993
4012
  return;
@@ -4009,11 +4028,11 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4009
4028
  }, y, "delete");
4010
4029
  },
4011
4030
  [se, q, Z, L]
4012
- ), Xe = o.useCallback(
4031
+ ), Qe = o.useCallback(
4013
4032
  (y) => {
4014
4033
  if (e.onExpandChange && M.current) {
4015
4034
  const { item: k, itemHierarchicalIndex: z, nativeEvent: ee, syntheticEvent: ye } = y, Ie = {
4016
- level: wi(z),
4035
+ level: Ei(z),
4017
4036
  item: k,
4018
4037
  nativeEvent: ee,
4019
4038
  syntheticEvent: ye,
@@ -4023,7 +4042,7 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4023
4042
  }
4024
4043
  },
4025
4044
  [e.onExpandChange]
4026
- ), Ze = o.useCallback(
4045
+ ), Xe = o.useCallback(
4027
4046
  (y) => {
4028
4047
  if (e.onFilterChange && M.current) {
4029
4048
  const z = {
@@ -4036,7 +4055,7 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4036
4055
  }
4037
4056
  },
4038
4057
  [e.onFilterChange, e.filter, e.textField]
4039
- ), ft = o.useCallback(
4058
+ ), gt = o.useCallback(
4040
4059
  (y) => {
4041
4060
  if (!M.current)
4042
4061
  return;
@@ -4048,14 +4067,14 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4048
4067
  e.onCancel && e.onCancel.call(void 0, k), q(k), y.preventDefault();
4049
4068
  },
4050
4069
  [e.onCancel, q]
4051
- ), et = () => {
4070
+ ), Ze = () => {
4052
4071
  const y = e.filterable ? /* @__PURE__ */ o.createElement(
4053
- Be,
4072
+ Re,
4054
4073
  {
4055
4074
  value: e.filter === void 0 ? A : e.filter,
4056
4075
  ref: j,
4057
- onChange: Ze,
4058
- onKeyDown: Je,
4076
+ onChange: Xe,
4077
+ onKeyDown: Ye,
4059
4078
  size: ae,
4060
4079
  rounded: I,
4061
4080
  fillMode: T
@@ -4063,18 +4082,18 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4063
4082
  ) : null, k = {
4064
4083
  adaptiveTitle: e.adaptiveTitle,
4065
4084
  expand: W,
4066
- onClose: (z) => e.onCancel ? ft(z) : Qe(z),
4085
+ onClose: (z) => e.onCancel ? gt(z) : Je(z),
4067
4086
  windowWidth: Ce,
4068
4087
  mobileFilter: y,
4069
4088
  footer: {
4070
- cancelText: be.toLanguageString(ot, le[ot]),
4071
- onCancel: (z) => e.onCancel ? ft(z) : Qe(z),
4072
- applyText: be.toLanguageString(nt, le[nt]),
4089
+ cancelText: be.toLanguageString(nt, le[nt]),
4090
+ onCancel: (z) => e.onCancel ? gt(z) : Je(z),
4091
+ applyText: be.toLanguageString(it, le[it]),
4073
4092
  onApply: (z) => q(z)
4074
4093
  }
4075
4094
  };
4076
- return /* @__PURE__ */ o.createElement(es, { ...k }, /* @__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(
4077
- Ct,
4095
+ return /* @__PURE__ */ o.createElement(es, { ...k }, /* @__PURE__ */ o.createElement(at, { 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(
4096
+ kt,
4078
4097
  {
4079
4098
  ref: re,
4080
4099
  tabIndex: E,
@@ -4086,27 +4105,27 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4086
4105
  expandField: e.expandField,
4087
4106
  childrenField: D,
4088
4107
  expandIcons: !0,
4089
- onItemClick: ze,
4090
- onCheckChange: ze,
4091
- onExpandChange: Xe,
4108
+ onItemClick: Le,
4109
+ onCheckChange: Le,
4110
+ onExpandChange: Qe,
4092
4111
  checkboxes: !0,
4093
4112
  size: ae,
4094
4113
  item: e.item,
4095
4114
  dir: ve
4096
4115
  }
4097
4116
  ) : /* @__PURE__ */ o.createElement(ge, null, be.toLanguageString(fe, le[fe]))))));
4098
- }, mt = o.useCallback(
4117
+ }, ft = o.useCallback(
4099
4118
  (y) => {
4100
4119
  for (let k of y)
4101
- Ne(k.target.clientWidth);
4120
+ Me(k.target.clientWidth);
4102
4121
  },
4103
4122
  []
4104
- ), ge = e.listNoData || ks, be = vs(), Ee = !x || ue.valid, { size: ae, rounded: I, fillMode: T } = e, $ = J && W ? Oe : ne.current, de = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4123
+ ), ge = e.listNoData || Cs, be = bs(), Ee = !x || ue.valid, { size: ae, rounded: I, fillMode: T } = e, $ = J && W ? Ne : ne.current, de = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4105
4124
  "span",
4106
4125
  {
4107
- className: B("k-multiselecttree k-input", e.className, {
4126
+ className: V("k-multiselecttree k-input", e.className, {
4108
4127
  [`k-input-${us[ae] || ae}`]: ae,
4109
- [`k-rounded-${Si[I] || I}`]: I,
4128
+ [`k-rounded-${wi[I] || I}`]: I,
4110
4129
  [`k-input-${T}`]: T,
4111
4130
  "k-focus": L && !h,
4112
4131
  "k-invalid": !Ee,
@@ -4120,10 +4139,10 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4120
4139
  style: v ? { ...d, width: void 0 } : d,
4121
4140
  dir: ve,
4122
4141
  ref: K,
4123
- onKeyDown: h ? void 0 : gt,
4124
- onMouseDown: ht,
4142
+ onKeyDown: h ? void 0 : ut,
4143
+ onMouseDown: pt,
4125
4144
  onFocus: _t,
4126
- onBlur: pt,
4145
+ onBlur: ct,
4127
4146
  role: "combobox",
4128
4147
  "aria-haspopup": "tree",
4129
4148
  "aria-expanded": W,
@@ -4132,31 +4151,31 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4132
4151
  "aria-labelledby": e.ariaLabelledBy,
4133
4152
  "aria-describedby": e.ariaDescribedBy ? e.ariaDescribedBy : "tagslist-" + n,
4134
4153
  "aria-required": e.required,
4135
- onClick: h ? void 0 : ut
4154
+ onClick: h ? void 0 : ht
4136
4155
  },
4137
4156
  /* @__PURE__ */ o.createElement(
4138
4157
  "div",
4139
4158
  {
4140
4159
  id: "tagslist-" + n,
4141
- className: B("k-input-values k-chip-list k-selection-multiple", {
4160
+ className: V("k-input-values k-chip-list k-selection-multiple", {
4142
4161
  [`k-chip-list-${us[ae] || ae}`]: ae
4143
4162
  })
4144
4163
  },
4145
4164
  $.length > 0 ? /* @__PURE__ */ o.createElement(
4146
- ys,
4165
+ Is,
4147
4166
  {
4148
4167
  tag: e.tag,
4149
4168
  onTagDelete: Rt,
4150
4169
  data: $,
4151
4170
  guid: n,
4152
- focused: oe ? ne.current.find((y) => xt(y, oe, p)) : void 0,
4171
+ focused: oe ? ne.current.find((y) => Ct(y, oe, p)) : void 0,
4153
4172
  size: ae
4154
4173
  }
4155
4174
  ) : m
4156
4175
  ),
4157
4176
  /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, " ")),
4158
4177
  e.loading && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
4159
- Ye && !h && $.length > 0 && /* @__PURE__ */ o.createElement(rt, { onClick: Qe }),
4178
+ je && !h && $.length > 0 && /* @__PURE__ */ o.createElement(lt, { onClick: Je }),
4160
4179
  /* @__PURE__ */ o.createElement(
4161
4180
  "select",
4162
4181
  {
@@ -4177,12 +4196,12 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4177
4196
  !J && /* @__PURE__ */ o.createElement(
4178
4197
  jt,
4179
4198
  {
4180
- popupClass: B(
4199
+ popupClass: V(
4181
4200
  c.popupClass,
4182
4201
  "k-multiselecttree-popup"
4183
4202
  ),
4184
- className: B(c.className, { "k-rtl": ve === "rtl" }),
4185
- style: ct,
4203
+ className: V(c.className, { "k-rtl": ve === "rtl" }),
4204
+ style: dt,
4186
4205
  animate: c.animate,
4187
4206
  anchor: K.current,
4188
4207
  show: W,
@@ -4192,12 +4211,12 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4192
4211
  ref: Q
4193
4212
  },
4194
4213
  e.filterable && /* @__PURE__ */ o.createElement(
4195
- Be,
4214
+ Re,
4196
4215
  {
4197
4216
  value: e.filter === void 0 ? A : e.filter,
4198
4217
  ref: U,
4199
- onChange: Ze,
4200
- onKeyDown: Je,
4218
+ onChange: Xe,
4219
+ onKeyDown: Ye,
4201
4220
  tabIndex: E,
4202
4221
  size: ae,
4203
4222
  rounded: I,
@@ -4205,7 +4224,7 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4205
4224
  }
4206
4225
  ),
4207
4226
  a.length > 0 ? /* @__PURE__ */ o.createElement(
4208
- Ct,
4227
+ kt,
4209
4228
  {
4210
4229
  ref: re,
4211
4230
  tabIndex: E,
@@ -4217,9 +4236,9 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4217
4236
  expandField: e.expandField,
4218
4237
  childrenField: D,
4219
4238
  expandIcons: !0,
4220
- onItemClick: ze,
4221
- onCheckChange: ze,
4222
- onExpandChange: Xe,
4239
+ onItemClick: Le,
4240
+ onCheckChange: Le,
4241
+ onExpandChange: Qe,
4223
4242
  checkboxes: !0,
4224
4243
  size: ae,
4225
4244
  item: e.item,
@@ -4227,12 +4246,12 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4227
4246
  }
4228
4247
  ) : /* @__PURE__ */ o.createElement(ge, null, be.toLanguageString(fe, le[fe]))
4229
4248
  )
4230
- ), J && et());
4249
+ ), J && Ze());
4231
4250
  return v ? /* @__PURE__ */ o.createElement(
4232
- Ge,
4251
+ $e,
4233
4252
  {
4234
4253
  label: v,
4235
- editorValue: Ye,
4254
+ editorValue: je,
4236
4255
  editorPlaceholder: m,
4237
4256
  editorValid: Ee,
4238
4257
  editorDisabled: h,
@@ -4242,7 +4261,7 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4242
4261
  dir: ve
4243
4262
  }
4244
4263
  ) : de;
4245
- }), Ti = {
4264
+ }), Fi = {
4246
4265
  opened: l.bool,
4247
4266
  disabled: l.bool,
4248
4267
  dir: l.string,
@@ -4301,28 +4320,28 @@ const xi = "Please select a value from the list!", { sizeMap: us, roundedMap: Si
4301
4320
  adaptive: l.bool
4302
4321
  };
4303
4322
  ss.displayName = "KendoReactMultiSelectTree";
4304
- ss.defaultProps = Re;
4305
- ss.propTypes = Ti;
4306
- const tt = (i, t) => {
4323
+ ss.defaultProps = _e;
4324
+ ss.propTypes = Fi;
4325
+ const et = (i, t) => {
4307
4326
  const e = {};
4308
4327
  return i && i.length && i.forEach((s) => {
4309
4328
  e[t(s)] = !0;
4310
4329
  }), e;
4311
- }, Ki = (i, t) => {
4330
+ }, Li = (i, t) => {
4312
4331
  const {
4313
4332
  items: e,
4314
4333
  dataItemKey: s,
4315
4334
  value: n,
4316
4335
  subItemsField: a = "items",
4317
4336
  operation: p
4318
- } = t, c = kt(s), d = tt(n, c);
4337
+ } = t, c = It(s), d = et(n, c);
4319
4338
  if (p === "clear")
4320
4339
  return [];
4321
4340
  if (p === "delete") {
4322
- const O = tt(e, c);
4341
+ const O = et(e, c);
4323
4342
  return n.filter((_) => !O[c(_)]);
4324
4343
  }
4325
- const r = e[0], h = c(r), u = kt(a), g = [...i], m = [];
4344
+ const r = e[0], h = c(r), u = It(a), g = [...i], m = [];
4326
4345
  let v = [], b;
4327
4346
  for (; g.length; ) {
4328
4347
  const O = g.pop();
@@ -4346,7 +4365,7 @@ const tt = (i, t) => {
4346
4365
  const D = !d[h], N = [];
4347
4366
  if (D) {
4348
4367
  N.push(...n), N.push(b), N.push(...S.filter((C) => !d[c(C)]));
4349
- const O = v.filter((C) => !d[c(C)]), _ = tt(N, c);
4368
+ const O = v.filter((C) => !d[c(C)]), _ = et(N, c);
4350
4369
  for (let C = O.length - 1; C > -1; C--) {
4351
4370
  const F = O[C], x = u(F);
4352
4371
  if (x.filter((M) => _[c(M)]).length < x.length)
@@ -4354,7 +4373,7 @@ const tt = (i, t) => {
4354
4373
  N.push(F), _[c(F)] = !0;
4355
4374
  }
4356
4375
  } else {
4357
- const O = c(b), _ = tt(S, c), C = tt(v, c);
4376
+ const O = c(b), _ = et(S, c), C = et(v, c);
4358
4377
  N.push(
4359
4378
  ...n.filter((F) => {
4360
4379
  const x = c(F);
@@ -4365,33 +4384,34 @@ const tt = (i, t) => {
4365
4384
  return N;
4366
4385
  };
4367
4386
  export {
4368
- oi as AutoComplete,
4369
- ni as AutoCompletePropsContext,
4387
+ ai as AutoComplete,
4388
+ oi as AutoCompletePropsContext,
4370
4389
  Tt as AutoCompleteWithoutContext,
4371
- bs as ComboBox,
4372
- ti as ComboBoxPropsContext,
4373
- dt as ComboBoxWithoutContext,
4374
- Xs as DropDownList,
4375
- Qs as DropDownListPropsContext,
4390
+ ys as ComboBox,
4391
+ si as ComboBoxPropsContext,
4392
+ rt as ComboBoxWithoutContext,
4393
+ Zs as DropDownList,
4394
+ Dt as DropDownListClassComponent,
4395
+ Xs as DropDownListPropsContext,
4376
4396
  Dt as DropDownListWithoutContext,
4377
- Cs as DropDownTree,
4378
- ki as DropDownTreePropsContext,
4379
- Ue as List,
4397
+ xs as DropDownTree,
4398
+ Ci as DropDownTreePropsContext,
4399
+ Ge as List,
4380
4400
  Et as ListContainer,
4381
- Be as ListFilter,
4382
- qs as ListItem,
4401
+ Re as ListFilter,
4402
+ $s as ListItem,
4383
4403
  ts as MultiColumnComboBox,
4384
- gi as MultiColumnComboBoxPropsContext,
4385
- pi as MultiSelect,
4386
- ci as MultiSelectPropsContext,
4404
+ fi as MultiColumnComboBoxPropsContext,
4405
+ hi as MultiSelect,
4406
+ pi as MultiSelectPropsContext,
4387
4407
  ss as MultiSelectTree,
4388
- Di as MultiSelectTreePropsContext,
4408
+ Ti as MultiSelectTreePropsContext,
4389
4409
  Ft as MultiSelectWithoutContext,
4390
4410
  Zt as SearchBar,
4391
- ys as TagList,
4411
+ Is as TagList,
4392
4412
  le as dropdownsMessages,
4393
- Ki as getMultiSelectTreeValue,
4394
- tt as getValueMap,
4413
+ Li as getMultiSelectTreeValue,
4414
+ et as getValueMap,
4395
4415
  fe as nodata,
4396
- Ks as scrollToItem
4416
+ Ls as scrollToItem
4397
4417
  };