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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -5,16 +5,16 @@
5
5
  "use client";
6
6
  import * as o from "react";
7
7
  import l from "prop-types";
8
- import { IconWrap as ke, classNames as B, 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";
8
+ import { IconWrap as Ce, classNames as B, Keys as g, svgIconPropType as gs, createPropsContext as Ke, withIdHOC as Et, withPropsContext as Dt, validatePackage as $e, canUseDOM as Me, getTabIndex as Gt, kendoThemeMaps as Ge, getActiveElement as Es, useCustomComponent as Ds, usePropsContext as Ut, getScrollbarWidth as Fs, getter as Ct, setScrollbarWidth as Ts, useId as ms, useRtl as vs, noop as Fe, mapTree as Ms, extendDataItem as Ns } from "@progress/kendo-react-common";
9
+ import { FloatingLabel as Ue } from "@progress/kendo-react-labels";
10
+ import { searchIcon as Os, caretAltDownIcon as jt, xIcon as lt, plusIcon as Ps } from "@progress/kendo-svg-icons";
11
+ import { Popup as Yt, PopupPropsContext as _s } from "@progress/kendo-react-popup";
12
+ import { TextBox as Rs, InputPrefix as Vs } from "@progress/kendo-react-inputs";
13
+ import { provideLocalizationService as We, registerForLocalization as bs, useLocalization as ys } from "@progress/kendo-react-intl";
14
+ import { Button as Te, Chip as Bs } from "@progress/kendo-react-buttons";
15
+ import { ActionSheet as Jt, ActionSheetHeader as Qt, ActionSheetContent as rt, ActionSheetFooter as Ks } from "@progress/kendo-react-layout";
16
16
  import { TreeView as kt } from "@progress/kendo-react-treeview";
17
- class Et extends o.Component {
17
+ class Ft extends o.Component {
18
18
  render() {
19
19
  const {
20
20
  children: t,
@@ -24,7 +24,7 @@ class Et extends o.Component {
24
24
  popupSettings: a
25
25
  } = this.props;
26
26
  return /* @__PURE__ */ o.createElement(
27
- jt,
27
+ Yt,
28
28
  {
29
29
  style: { width: e, direction: s },
30
30
  contentKey: n && n.join(),
@@ -34,13 +34,13 @@ class Et extends o.Component {
34
34
  );
35
35
  }
36
36
  }
37
- const Qt = o.forwardRef((i, t) => {
37
+ const Xt = o.forwardRef((i, t) => {
38
38
  const e = o.useRef(null);
39
39
  return o.useImperativeHandle(
40
40
  t,
41
41
  () => e.current
42
42
  ), /* @__PURE__ */ o.createElement("div", { className: "k-list-filter" }, /* @__PURE__ */ o.createElement(
43
- Ps,
43
+ Rs,
44
44
  {
45
45
  ...i,
46
46
  ref: e,
@@ -52,11 +52,11 @@ const Qt = o.forwardRef((i, t) => {
52
52
  size: i.size,
53
53
  fillMode: i.fillMode,
54
54
  rounded: i.rounded,
55
- prefix: () => /* @__PURE__ */ o.createElement(_s, null, /* @__PURE__ */ o.createElement(ke, { name: "search", icon: Ms }))
55
+ prefix: () => /* @__PURE__ */ o.createElement(Vs, null, /* @__PURE__ */ o.createElement(Ce, { name: "search", icon: Os }))
56
56
  }
57
57
  ));
58
58
  });
59
- Qt.propTypes = {
59
+ Xt.propTypes = {
60
60
  value: l.oneOfType([l.string, l.number, l.array]),
61
61
  tabIndex: l.number,
62
62
  onChange: l.func,
@@ -65,9 +65,9 @@ Qt.propTypes = {
65
65
  rounded: l.oneOf([null, "small", "medium", "large", "full"]),
66
66
  fillMode: l.oneOf([null, "solid", "flat", "outline"])
67
67
  };
68
- Qt.displayName = "KendoReactListFilter";
69
- const Re = Qt;
70
- class Ae extends o.Component {
68
+ Xt.displayName = "KendoReactListFilter";
69
+ const Ve = Xt;
70
+ class qe extends o.Component {
71
71
  render() {
72
72
  const {
73
73
  group: t,
@@ -77,27 +77,27 @@ class Ae extends o.Component {
77
77
  return s !== void 0 ? s.call(void 0, n, this.props) : n;
78
78
  }
79
79
  }
80
- const G = (i) => i != null, Bs = (i, t) => {
80
+ const U = (i) => i != null, Ls = (i, t) => {
81
81
  for (let e = 0; e < i.length; e++)
82
82
  if (i.charAt(e) !== t)
83
83
  return !1;
84
84
  return !0;
85
- }, Ks = (i, t, e) => {
85
+ }, zs = (i, t, e) => {
86
86
  let s = i;
87
87
  return e && (s = [e].concat(s)), s.slice(t).concat(s.slice(0, t));
88
- }, os = (i, t, e) => {
89
- if (!G(i))
88
+ }, as = (i, t, e) => {
89
+ if (!U(i))
90
90
  return !1;
91
91
  let s = String(i);
92
92
  return e && (s = s.toLowerCase()), s.indexOf(t) === 0;
93
- }, Ls = (i, t, e, s, n) => {
93
+ }, Hs = (i, t, e, s, n) => {
94
94
  const a = i.offsetHeight, p = t.children.item(e), c = p.offsetTop + (n ? s - i.scrollTop : 0), d = p.offsetHeight;
95
95
  if (n) {
96
96
  let r = 0;
97
97
  c + d > a ? r = c + d - a : c < 0 && (r = c), r !== 0 ? i.scrollTop += r : i.scrollTop === 0 && s !== 0 && (i.scrollTop = s);
98
98
  } else
99
99
  c + d > a + i.scrollTop ? i.scrollTop = c + d - a : c < i.scrollTop && (i.scrollTop -= i.scrollTop - c);
100
- }, Ve = (i, t, e) => {
100
+ }, Be = (i, t, e) => {
101
101
  let s = -1;
102
102
  if (t) {
103
103
  t = t.toLowerCase();
@@ -110,11 +110,11 @@ const G = (i) => i != null, Bs = (i, t) => {
110
110
  }
111
111
  }
112
112
  return s;
113
- }, Kt = (i, t, e, s = !1) => {
113
+ }, Lt = (i, t, e, s = !1) => {
114
114
  const n = (a) => s ? a : a.toLowerCase();
115
115
  return i.findIndex((a) => e ? n(V(a, e)) === n(t) : n(t) === n(a.toString()));
116
116
  }, V = (i, t) => {
117
- if (t && G(i)) {
117
+ if (t && U(i)) {
118
118
  const e = t.split(".");
119
119
  let s = i;
120
120
  return e.forEach((n) => {
@@ -122,12 +122,12 @@ const G = (i) => i != null, Bs = (i, t) => {
122
122
  }), s;
123
123
  }
124
124
  return i;
125
- }, zi = (i, t, e) => {
125
+ }, Wi = (i, t, e) => {
126
126
  if (!i)
127
127
  return;
128
128
  const s = i.findIndex((n) => V(n, t) === e);
129
129
  return i[s];
130
- }, zs = (i = [], t = [], e) => {
130
+ }, As = (i = [], t = [], e) => {
131
131
  if (i === t)
132
132
  return !0;
133
133
  if (i.length !== t.length)
@@ -136,31 +136,31 @@ const G = (i) => i != null, Bs = (i, t) => {
136
136
  if (!R(i[s], t[s], e))
137
137
  return !1;
138
138
  return !0;
139
- }, mt = (i, t, e) => {
139
+ }, bt = (i, t, e) => {
140
140
  t.forEach((s) => {
141
141
  const n = i.findIndex((a) => R(a, s, e));
142
142
  n !== -1 && i.splice(n, 1);
143
143
  });
144
- }, R = (i, t, e) => i === t || G(i) === G(t) && V(i, e) === V(t, e), as = (i, t, e) => {
144
+ }, R = (i, t, e) => i === t || U(i) === U(t) && V(i, e) === V(t, e), ls = (i, t, e) => {
145
145
  if (t) {
146
- const s = Kt(i, t, e, !0);
147
- return s !== -1 ? i[s] : i[Ve(i, t, e)];
146
+ const s = Lt(i, t, e, !0);
147
+ return s !== -1 ? i[s] : i[Be(i, t, e)];
148
148
  }
149
149
  return i[0];
150
- }, Hs = (i, t = [], e) => {
150
+ }, Ws = (i, t = [], e) => {
151
151
  let s = "";
152
152
  if (i) {
153
- const n = t[Ve(t, i, e)];
153
+ const n = t[Be(t, i, e)];
154
154
  if (n) {
155
155
  const a = V(n, e);
156
156
  i.toLowerCase() !== a.toLowerCase() && (s = a.substring(i.length));
157
157
  }
158
158
  }
159
159
  return s;
160
- }, As = (i) => {
160
+ }, qs = (i) => {
161
161
  i.target.nodeName !== "INPUT" && i.preventDefault();
162
- }, Ct = (i, t, e) => !!i != !!t || i.text !== t.text ? !1 : i === t || zs(i.data, t.data, e), Ws = (i) => i.preventDefault();
163
- class qs extends o.Component {
162
+ }, St = (i, t, e) => !!i != !!t || i.text !== t.text ? !1 : i === t || As(i.data, t.data, e), $s = (i) => i.preventDefault();
163
+ class Gs extends o.Component {
164
164
  render() {
165
165
  const {
166
166
  selected: t,
@@ -171,7 +171,7 @@ class qs extends o.Component {
171
171
  "div",
172
172
  {
173
173
  onClick: this.props.onClick,
174
- onMouseDown: Ws,
174
+ onMouseDown: $s,
175
175
  style: { position: "unset" },
176
176
  className: B("k-list-optionlabel", {
177
177
  "k-selected": t
@@ -181,7 +181,7 @@ class qs extends o.Component {
181
181
  );
182
182
  }
183
183
  }
184
- class $s extends o.Component {
184
+ class Us extends o.Component {
185
185
  constructor() {
186
186
  super(...arguments), this.handleClick = (t) => this.props.onClick(this.props.index, t);
187
187
  }
@@ -216,7 +216,7 @@ class $s extends o.Component {
216
216
  return c !== void 0 ? c.call(void 0, d, this.props) : d;
217
217
  }
218
218
  }
219
- class Gs extends o.Component {
219
+ class js extends o.Component {
220
220
  render() {
221
221
  const {
222
222
  group: t,
@@ -236,16 +236,16 @@ class Gs extends o.Component {
236
236
  return s !== void 0 ? s.call(void 0, a, this.props) : a;
237
237
  }
238
238
  }
239
- const fe = "dropdowns.nodata", st = "dropdowns.clear", Lt = "dropdowns.comboArrowBtnAriaLabelExpand", zt = "dropdowns.comboArrowBtnAriaLabelCollapse", Ht = "dropdowns.dropDownListArrowBtnAriaLabel", it = "dropdowns.apply", nt = "dropdowns.cancel", le = {
240
- [st]: "clear",
241
- [fe]: "NO DATA FOUND.",
242
- [Lt]: "expand combobox",
243
- [zt]: "collapse combobox",
244
- [Ht]: "select",
245
- [it]: "Apply",
246
- [nt]: "Cancel"
239
+ const ve = "dropdowns.nodata", nt = "dropdowns.clear", zt = "dropdowns.comboArrowBtnAriaLabelExpand", Ht = "dropdowns.comboArrowBtnAriaLabelCollapse", At = "dropdowns.dropDownListArrowBtnAriaLabel", ot = "dropdowns.apply", at = "dropdowns.cancel", ce = {
240
+ [nt]: "clear",
241
+ [ve]: "NO DATA FOUND.",
242
+ [zt]: "expand combobox",
243
+ [Ht]: "collapse combobox",
244
+ [At]: "select",
245
+ [ot]: "Apply",
246
+ [at]: "Cancel"
247
247
  };
248
- class Ge extends o.Component {
248
+ class je extends o.Component {
249
249
  renderItems() {
250
250
  const {
251
251
  textField: t,
@@ -259,53 +259,53 @@ class Ge extends o.Component {
259
259
  focusedIndex: r,
260
260
  highlightSelected: h = !0,
261
261
  value: u,
262
- data: g,
262
+ data: f,
263
263
  itemRender: m,
264
264
  groupHeaderItemRender: v
265
265
  } = this.props, b = Array.isArray(u);
266
266
  let w = 0;
267
- return g.map((S, D) => {
268
- 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);
269
- let C, F, x;
270
- 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), [
271
- C !== void 0 && n === "modern" && /* @__PURE__ */ o.createElement(
272
- Gs,
267
+ return f.map((k, D) => {
268
+ const O = c + D, N = c + D + w, _ = k.disabled ? !1 : h && (!b && R(k, u, e) || b && u.findIndex((E) => R(E, k, e)) !== -1);
269
+ let S, T, C;
270
+ return D > 0 && s !== void 0 && (T = V(k, s), C = V(f[D - 1], s), T && C && T !== C && (S = T)), S !== void 0 && n === "modern" && (w += 1), [
271
+ S !== void 0 && n === "modern" && /* @__PURE__ */ o.createElement(
272
+ js,
273
273
  {
274
- id: `option-${p}-${O}`,
274
+ id: `option-${p}-${N}`,
275
275
  virtual: d,
276
- key: N + "-group-item",
277
- group: C,
276
+ key: O + "-group-item",
277
+ group: S,
278
278
  isMultiColumn: a,
279
279
  render: v
280
280
  }
281
281
  ),
282
282
  /* @__PURE__ */ o.createElement(
283
- $s,
283
+ Us,
284
284
  {
285
- id: `option-${p}-${C !== void 0 && n === "modern" ? O + 1 : O}`,
285
+ id: `option-${p}-${S !== void 0 && n === "modern" ? N + 1 : N}`,
286
286
  virtual: d,
287
- dataItem: S,
287
+ dataItem: k,
288
288
  groupMode: n,
289
289
  selected: _,
290
290
  focused: r === D,
291
- index: N,
292
- key: N,
291
+ index: O,
292
+ key: O,
293
293
  onClick: this.props.onClick,
294
294
  textField: t,
295
- group: C,
295
+ group: S,
296
296
  render: m,
297
- disabled: S.disabled
297
+ disabled: k.disabled
298
298
  }
299
299
  )
300
300
  ];
301
301
  });
302
302
  }
303
303
  renderNoValueElement(t) {
304
- const e = this.props.noDataRender, s = /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, t.toLanguageString(fe, le[fe])));
304
+ const e = this.props.noDataRender, s = /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, t.toLanguageString(ve, ce[ve])));
305
305
  return e ? e.call(void 0, s) : s;
306
306
  }
307
307
  render() {
308
- const t = He(this), {
308
+ const t = We(this), {
309
309
  id: e,
310
310
  show: s,
311
311
  wrapperCssClass: n,
@@ -344,9 +344,9 @@ class Ge extends o.Component {
344
344
  ) : this.renderNoValueElement(t);
345
345
  }
346
346
  }
347
- vs(Ge);
348
- const Us = 1533915;
349
- class js {
347
+ bs(je);
348
+ const Ys = 1533915;
349
+ class Js {
350
350
  constructor() {
351
351
  this.container = null, this.scrollElement = null, this.list = null, this.containerHeight = 0, this.skip = 0, this.total = 0, this.enabled = !1, this.pageSize = 0, this.itemHeight = 0, this.PageChange = null, this.prevScrollPos = 0, this.listTranslate = 0, this.scrollSyncing = !1, this.scrollerRef = (t) => {
352
352
  const e = this;
@@ -354,7 +354,7 @@ class js {
354
354
  }, this.calcScrollElementHeight = () => {
355
355
  this.scrollSyncing = !0;
356
356
  let t = !1;
357
- this.itemHeight = this.list ? this.list.children[0].offsetHeight : this.itemHeight, this.containerHeight = Math.min(Us, this.itemHeight * this.total);
357
+ this.itemHeight = this.list ? this.list.children[0].offsetHeight : this.itemHeight, this.containerHeight = Math.min(Ys, this.itemHeight * this.total);
358
358
  const e = this.containerHeight;
359
359
  return this.scrollElement && (t = this.scrollElement.style.height !== e + "px", t && (this.scrollElement.style.height = e + "px")), this.scrollSyncing = !1, t;
360
360
  }, this.scrollHandler = this.scrollHandler.bind(this);
@@ -410,25 +410,25 @@ class js {
410
410
  return t = Math.max(0, t), t = Math.min(this.containerHeight, t), t;
411
411
  }
412
412
  }
413
- class Ys {
413
+ class Qs {
414
414
  navigate(t) {
415
415
  const e = t.keyCode;
416
- if (e === f.up || e === f.left)
416
+ if (e === g.up || e === g.left)
417
417
  return this.next({ current: t.current, min: t.min, max: t.max, step: t.skipItems ? t.skipItems : -1 });
418
- if (e === f.down || e === f.right)
418
+ if (e === g.down || e === g.right)
419
419
  return this.next({ current: t.current, min: t.min, max: t.max, step: t.skipItems ? t.skipItems : 1 });
420
- if (e === f.home)
420
+ if (e === g.home)
421
421
  return 0;
422
- if (e === f.end)
422
+ if (e === g.end)
423
423
  return t.max;
424
424
  }
425
425
  next(t) {
426
- return G(t.current) ? Math.min(t.max, Math.max(t.current + t.step, t.min)) : t.min;
426
+ return U(t.current) ? Math.min(t.max, Math.max(t.current + t.step, t.min)) : t.min;
427
427
  }
428
428
  }
429
- const Xt = class {
429
+ const Zt = class {
430
430
  constructor(i) {
431
- this.wrapper = null, this.list = null, this.vs = new js(), this.navigation = new Ys(), this.handleItemClick = (t, e) => {
431
+ this.wrapper = null, this.list = null, this.vs = new Js(), this.navigation = new Qs(), this.handleItemClick = (t, e) => {
432
432
  const s = this.initState();
433
433
  s.syntheticEvent = e, e.stopPropagation(), this.component.handleItemSelect(t, s), this.togglePopup(s), this.applyState(s);
434
434
  }, this.handleFocus = (t) => {
@@ -499,7 +499,7 @@ const Xt = class {
499
499
  this.scrollToItem(i, t, !0);
500
500
  }, 10), s && i >= 0) {
501
501
  const n = this.vs, a = n.container || s.parentNode, p = t !== void 0 ? t : n.enabled;
502
- Ls(a, s, i, n.translate, p);
502
+ Hs(a, s, i, n.translate, p);
503
503
  }
504
504
  }
505
505
  initState() {
@@ -542,7 +542,7 @@ const Xt = class {
542
542
  i && a && this.vs.enabled && (a.skip > 0 && R(i, s[0], n) ? this.triggerOnPageChange(t, a.skip - 1, a.pageSize) : !p && a.skip + a.pageSize < a.total && R(i, s[s.length - 1], n) && this.triggerOnPageChange(t, a.skip + 1, a.pageSize));
543
543
  }
544
544
  getPopupSettings() {
545
- return Object.assign({}, Xt.defaultProps.popupSettings, this.component.props.popupSettings);
545
+ return Object.assign({}, Zt.defaultProps.popupSettings, this.component.props.popupSettings);
546
546
  }
547
547
  getGroupedDataModernMode(i, t) {
548
548
  let e = [];
@@ -551,8 +551,8 @@ const Xt = class {
551
551
  }), e;
552
552
  }
553
553
  };
554
- let ie = Xt;
555
- ie.basicPropTypes = {
554
+ let oe = Zt;
555
+ oe.basicPropTypes = {
556
556
  opened: l.bool,
557
557
  disabled: l.bool,
558
558
  dir: l.string,
@@ -585,8 +585,8 @@ ie.basicPropTypes = {
585
585
  header: l.node,
586
586
  footer: l.node
587
587
  };
588
- ie.propTypes = {
589
- ...Xt.basicPropTypes,
588
+ oe.propTypes = {
589
+ ...Zt.basicPropTypes,
590
590
  value: l.any,
591
591
  defaultValue: l.any,
592
592
  filterable: l.bool,
@@ -599,23 +599,23 @@ ie.propTypes = {
599
599
  onFilterChange: l.func,
600
600
  onPageChange: l.func
601
601
  };
602
- ie.defaultProps = {
602
+ oe.defaultProps = {
603
603
  popupSettings: {
604
604
  height: "200px"
605
605
  },
606
606
  required: !1,
607
607
  validityStyles: !0
608
608
  };
609
- const Ue = {
609
+ const Ye = {
610
610
  name: "@progress/kendo-react-dropdowns",
611
611
  productName: "KendoReact",
612
612
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
613
- publishDate: 1705940158,
613
+ publishDate: 1706619200,
614
614
  version: "",
615
615
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
616
- }, xt = 500, Se = 768, Js = "Please select a value from the list!", { sizeMap: Bt, roundedMap: Qs } = qe, At = class extends o.Component {
616
+ }, wt = 500, we = 768, Xs = "Please select a value from the list!", { sizeMap: Kt, roundedMap: Zs } = Ge, Wt = class extends o.Component {
617
617
  constructor(i) {
618
- 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 = () => {
618
+ super(i), this.state = {}, this._element = null, this.base = new oe(this), this.searchState = { word: "", last: "" }, this._select = null, this._skipFocusEvent = !1, this._filterInput = null, this._navigated = !1, this._lastKeypressIsFilter = !1, this.itemHeight = 0, this.focus = () => {
619
619
  this.base.wrapper && this.base.wrapper.focus();
620
620
  }, this.handleItemSelect = (t, e) => {
621
621
  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);
@@ -641,9 +641,9 @@ const Ue = {
641
641
  }
642
642
  )
643
643
  ), this.renderListContainer = () => {
644
- const { header: t, footer: e, dir: s, data: n = [], size: a, groupField: p, groupStickyHeaderItemRender: c, list: d } = this.props, r = this.base, h = r.getPopupSettings(), u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, g = h.width !== void 0 ? h.width : r.popupWidth, m = {
644
+ const { header: t, footer: e, dir: s, data: n = [], size: a, groupField: p, groupStickyHeaderItemRender: c, list: d } = this.props, r = this.base, h = r.getPopupSettings(), u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = h.width !== void 0 ? h.width : r.popupWidth, m = {
645
645
  dir: s !== void 0 ? s : r.dirCalculated,
646
- width: g,
646
+ width: f,
647
647
  popupSettings: {
648
648
  popupClass: B(
649
649
  h.popupClass,
@@ -661,19 +661,19 @@ const Ue = {
661
661
  itemsCount: [n.length]
662
662
  };
663
663
  let { group: v } = this.state;
664
- return v === void 0 && p !== void 0 && (v = V(n[0], p)), /* @__PURE__ */ o.createElement(Et, { ...m }, this.renderListFilter(), t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
664
+ return v === void 0 && p !== void 0 && (v = V(n[0], p)), /* @__PURE__ */ o.createElement(Ft, { ...m }, this.renderListFilter(), t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
665
665
  "div",
666
666
  {
667
667
  className: B(
668
668
  "k-list",
669
669
  {
670
- [`k-list-${Bt[a] || a}`]: a,
670
+ [`k-list-${Kt[a] || a}`]: a,
671
671
  "k-virtual-list": this.base.vs.enabled
672
672
  }
673
673
  )
674
674
  },
675
675
  this.renderDefaultItem(),
676
- !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: v, groupMode: "modern", render: c }),
676
+ !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: v, groupMode: "modern", render: c }),
677
677
  this.renderList()
678
678
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e));
679
679
  }, this.renderList = () => {
@@ -685,9 +685,9 @@ const Ue = {
685
685
  groupHeaderItemRender: a,
686
686
  listNoDataRender: p,
687
687
  itemRender: c
688
- } = this.props, d = this.base.vs, r = n.skip, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.base.getPopupSettings(), g = `translateY(${d.translate}px)`;
688
+ } = this.props, d = this.base.vs, r = n.skip, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.base.getPopupSettings(), f = `translateY(${d.translate}px)`;
689
689
  return /* @__PURE__ */ o.createElement(
690
- Ge,
690
+ je,
691
691
  {
692
692
  id: this._listboxId,
693
693
  show: h,
@@ -702,7 +702,7 @@ const Ue = {
702
702
  listRef: (m) => d.list = this.base.list = m,
703
703
  wrapperStyle: { maxHeight: u.height },
704
704
  wrapperCssClass: "k-list-content",
705
- listStyle: d.enabled ? { transform: g } : void 0,
705
+ listStyle: d.enabled ? { transform: f } : void 0,
706
706
  key: "listkey",
707
707
  skip: r,
708
708
  onClick: this.handleItemClick,
@@ -733,7 +733,7 @@ const Ue = {
733
733
  }, this.renderListFilter = () => {
734
734
  const t = this.props.filter !== void 0 ? this.props.filter : this.state.text;
735
735
  return this.props.filterable && /* @__PURE__ */ o.createElement(
736
- Re,
736
+ Ve,
737
737
  {
738
738
  value: t,
739
739
  ref: (e) => this._filterInput = e && e.element,
@@ -747,7 +747,7 @@ const Ue = {
747
747
  }, this.renderDefaultItem = () => {
748
748
  const { textField: t, defaultItem: e, dataItemKey: s } = this.props;
749
749
  return e !== void 0 && /* @__PURE__ */ o.createElement(
750
- qs,
750
+ Gs,
751
751
  {
752
752
  defaultItem: e,
753
753
  textField: t,
@@ -760,20 +760,20 @@ const Ue = {
760
760
  clearTimeout(this._typingTimeout), this.props.filterable || (this._typingTimeout = window.setTimeout(() => this.searchState.word = "", this.props.delay), this.selectNext(t));
761
761
  }, this.selectNext = (t) => {
762
762
  const { data: e = [], dataItemKey: s } = this.props;
763
- let n = e.map((S, D) => ({ item: S, itemIndex: D }));
764
- const a = this.searchState.word, p = this.searchState.last, c = Bs(a, p);
765
- let d = n.length, r = Math.max(0, e.findIndex((S) => R(S, this.value, s))), h;
766
- this.props.defaultItem && (h = { item: this.props.defaultItem, itemIndex: -1 }, d += 1, r += 1), r += c ? 1 : 0, n = Ks(n, r, h);
767
- let u, g, m, v = 0;
763
+ let n = e.map((k, D) => ({ item: k, itemIndex: D }));
764
+ const a = this.searchState.word, p = this.searchState.last, c = Ls(a, p);
765
+ let d = n.length, r = Math.max(0, e.findIndex((k) => R(k, this.value, s))), h;
766
+ this.props.defaultItem && (h = { item: this.props.defaultItem, itemIndex: -1 }, d += 1, r += 1), r += c ? 1 : 0, n = zs(n, r, h);
767
+ let u, f, m, v = 0;
768
768
  const { textField: b, ignoreCase: w } = this.props;
769
769
  for (; v < d; v++)
770
- if (u = V(n[v].item, b), g = c && os(u, p, w), m = os(u, a, w), g || m) {
770
+ if (u = V(n[v].item, b), f = c && as(u, p, w), m = as(u, a, w), f || m) {
771
771
  v = n[v].itemIndex;
772
772
  break;
773
773
  }
774
774
  if (v !== d) {
775
- const S = this.base.initState();
776
- S.syntheticEvent = t, this.handleItemSelect(v, S), this.applyState(S), this._valueDuringOnChange = void 0;
775
+ const k = this.base.initState();
776
+ k.syntheticEvent = t, this.handleItemSelect(v, k), this.applyState(k), this._valueDuringOnChange = void 0;
777
777
  }
778
778
  }, this.handleKeyDown = (t) => {
779
779
  t && t.target instanceof Element && t.target.nodeName === "INPUT" && t.stopPropagation && t.stopPropagation();
@@ -788,79 +788,79 @@ const Ue = {
788
788
  groupField: r = "",
789
789
  textField: h,
790
790
  skipDisabledItems: u = !0
791
- } = this.props, g = this.value, m = e.findIndex((F) => R(F, g, d)), v = this.props.opened !== void 0 ? this.props.opened : this.state.opened, b = t.keyCode, w = b === f.home || b === f.end, S = b === f.up || b === f.down, D = !v && (t.altKey && b === f.down || b === f.enter || b === f.space), N = v && (t.altKey && b === f.up || b === f.esc), O = p && (b === f.left || b === f.right), _ = S || O && !s || w, C = this.base.initState();
792
- if (C.syntheticEvent = t, !n) {
791
+ } = this.props, f = this.value, m = e.findIndex((T) => R(T, f, d)), v = this.props.opened !== void 0 ? this.props.opened : this.state.opened, b = t.keyCode, w = b === g.home || b === g.end, k = b === g.up || b === g.down, D = !v && (t.altKey && b === g.down || b === g.enter || b === g.space), O = v && (t.altKey && b === g.up || b === g.esc), N = p && (b === g.left || b === g.right), _ = k || N && !s || w, S = this.base.initState();
792
+ if (S.syntheticEvent = t, !n) {
793
793
  if (w && this.base.vs.enabled)
794
- b === f.home ? c.skip !== 0 ? (this.base.triggerOnPageChange(C, 0, c.pageSize), this._navigated = !0) : this.triggerOnChange(e[0], C) : c.skip < c.total - c.pageSize ? (this.base.triggerOnPageChange(C, c.total - c.pageSize, c.pageSize), this._navigated = !0) : this.triggerOnChange(e[e.length - 1], C);
795
- else if (v && b === f.pageUp)
794
+ b === g.home ? c.skip !== 0 ? (this.base.triggerOnPageChange(S, 0, c.pageSize), this._navigated = !0) : this.triggerOnChange(e[0], S) : c.skip < c.total - c.pageSize ? (this.base.triggerOnPageChange(S, c.total - c.pageSize, c.pageSize), this._navigated = !0) : this.triggerOnChange(e[e.length - 1], S);
795
+ else if (v && b === g.pageUp)
796
796
  this.base.scrollPopupByPageSize(-1);
797
- else if (v && b === f.pageDown)
797
+ else if (v && b === g.pageDown)
798
798
  this.base.scrollPopupByPageSize(1);
799
- else if (v && b === f.enter) {
800
- const F = this.getFocusedIndex();
801
- this.haveFocusedItemAndDataNotEmpty(e, F) ? (this.triggerOnChange(null, C), this.applyState(C)) : this.handleItemSelect(F, C), this.base.togglePopup(C), t.preventDefault();
802
- } else if (D || N)
803
- N && this.resetValueIfDisabledItem(), this.base.togglePopup(C), t.preventDefault();
799
+ else if (v && b === g.enter) {
800
+ const T = this.getFocusedIndex();
801
+ this.haveFocusedItemAndDataNotEmpty(e, T) ? (this.triggerOnChange(null, S), this.applyState(S)) : this.handleItemSelect(T, S), this.base.togglePopup(S), t.preventDefault();
802
+ } else if (D || O)
803
+ O && this.resetValueIfDisabledItem(), this.base.togglePopup(S), t.preventDefault();
804
804
  else if (_) {
805
805
  if (this._lastKeypressIsFilter = !1, r !== "" && h)
806
806
  if (!u && v)
807
- this.onNavigate(C, b);
807
+ this.onNavigate(S, b);
808
808
  else {
809
- let F;
810
- if (b === f.down || b === f.right) {
811
- const x = e.slice(m + 1).find((E) => !E.disabled && E[h]);
812
- F = x && e.findIndex((E) => E[h] === x[h]);
813
- } else if (b === f.up || b === f.left) {
814
- let x;
809
+ let T;
810
+ if (b === g.down || b === g.right) {
811
+ const C = e.slice(m + 1).find((E) => !E.disabled && E[h]);
812
+ T = C && e.findIndex((E) => E[h] === C[h]);
813
+ } else if (b === g.up || b === g.left) {
814
+ let C;
815
815
  if (m === 0 && a)
816
- F = -1;
816
+ T = -1;
817
817
  else if (m === -1)
818
- x = e, F = e.findIndex((E) => !E.disabled && E[h]);
818
+ C = e, T = e.findIndex((E) => !E.disabled && E[h]);
819
819
  else {
820
- x = e.slice(0, m);
821
- let E = x.pop();
820
+ C = e.slice(0, m);
821
+ let E = C.pop();
822
822
  for (; E && E.disabled; )
823
- E = x.pop();
824
- F = E && e.findIndex((M) => M[h] === E[h]);
823
+ E = C.pop();
824
+ T = E && e.findIndex((M) => M[h] === E[h]);
825
825
  }
826
826
  }
827
- if (F !== void 0) {
828
- const x = F - m;
829
- this.onNavigate(C, b, x);
827
+ if (T !== void 0) {
828
+ const C = T - m;
829
+ this.onNavigate(S, b, C);
830
830
  } else
831
- F === void 0 && e.findIndex((x) => x[h] === g[h]) === e.length - 1 && this.onNavigate(C, b);
831
+ T === void 0 && e.findIndex((C) => C[h] === f[h]) === e.length - 1 && this.onNavigate(S, b);
832
832
  }
833
833
  else if (!u && v || w)
834
- this.onNavigate(C, b);
834
+ this.onNavigate(S, b);
835
835
  else if (h) {
836
- let F;
837
- if (b === f.down || b === f.right) {
838
- const x = e.slice(m + 1).find((E) => !E.disabled && E[h]);
839
- F = x && e.findIndex((E) => E[h] === x[h]);
840
- } else if (b === f.up || b === f.left) {
841
- let x;
836
+ let T;
837
+ if (b === g.down || b === g.right) {
838
+ const C = e.slice(m + 1).find((E) => !E.disabled && E[h]);
839
+ T = C && e.findIndex((E) => E[h] === C[h]);
840
+ } else if (b === g.up || b === g.left) {
841
+ let C;
842
842
  if (m === 0 && a)
843
- F = -1;
843
+ T = -1;
844
844
  else if (m === -1)
845
- x = e, F = e.find((E) => !E.disabled && E[h]);
845
+ C = e, T = e.find((E) => !E.disabled && E[h]);
846
846
  else {
847
- x = e.slice(0, m);
848
- let E = x.pop();
847
+ C = e.slice(0, m);
848
+ let E = C.pop();
849
849
  for (; E && E.disabled; )
850
- E = x.pop();
851
- F = E && e.findIndex((M) => M[h] === E[h]);
850
+ E = C.pop();
851
+ T = E && e.findIndex((M) => M[h] === E[h]);
852
852
  }
853
853
  }
854
- if (F !== void 0) {
855
- const x = F - m;
856
- this.onNavigate(C, b, x);
854
+ if (T !== void 0) {
855
+ const C = T - m;
856
+ this.onNavigate(S, b, C);
857
857
  } else
858
- F === void 0 && e.findIndex((x) => x[h] === g[h]) === e.length - 1 && this.onNavigate(C, b);
858
+ T === void 0 && e.findIndex((C) => C[h] === f[h]) === e.length - 1 && this.onNavigate(S, b);
859
859
  } else
860
- this.onNavigate(C, b);
860
+ this.onNavigate(S, b);
861
861
  t.preventDefault();
862
862
  }
863
- this.applyState(C);
863
+ this.applyState(S);
864
864
  }
865
865
  }, this.handleItemClick = (t, e) => {
866
866
  this.base.handleItemClick(t, e), this._valueDuringOnChange = void 0;
@@ -869,7 +869,7 @@ const Ue = {
869
869
  }, this.handleBlur = (t) => {
870
870
  if (this._skipFocusEvent || !this.state.focused)
871
871
  return;
872
- const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { adaptive: s } = this.props, { windowWidth: n = 0 } = this.state, a = n <= Se && s, p = this.base.initState();
872
+ const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { adaptive: s } = this.props, { windowWidth: n = 0 } = this.state, a = n <= we && s, p = this.base.initState();
873
873
  p.syntheticEvent = t, p.data.focused = !1, p.events.push({ type: "onBlur" }), e && this.resetValueIfDisabledItem(), e && !a && this.base.togglePopup(p), this.applyState(p);
874
874
  }, this.handleDefaultItemClick = (t) => {
875
875
  const e = this.base.initState();
@@ -880,7 +880,7 @@ const Ue = {
880
880
  const e = this.base.initState();
881
881
  e.syntheticEvent = t, this.state.focused || (e.data.focused = !0), this.resetValueIfDisabledItem(), this.base.togglePopup(e), this.applyState(e);
882
882
  }, this.handleKeyPress = (t) => {
883
- if (this.props.filterable || t.which === 0 || t.keyCode === f.enter)
883
+ if (this.props.filterable || t.which === 0 || t.keyCode === g.enter)
884
884
  return;
885
885
  let e = String.fromCharCode(t.charCode || t.keyCode);
886
886
  this.props.ignoreCase && (e = e.toLowerCase()), e === " " && t.preventDefault(), this.searchState = {
@@ -902,9 +902,9 @@ const Ue = {
902
902
  );
903
903
  }, this.setValidity = () => {
904
904
  this._select && this._select.setCustomValidity && this._select.setCustomValidity(
905
- this.validity.valid ? "" : this.props.validationMessage || Js
905
+ this.validity.valid ? "" : this.props.validationMessage || Xs
906
906
  );
907
- }, We(Ue);
907
+ }, $e(Ye);
908
908
  }
909
909
  get _inputId() {
910
910
  return this.props.id + "-accessibility-id";
@@ -916,7 +916,7 @@ const Ue = {
916
916
  return this.props.id + "-guid";
917
917
  }
918
918
  get document() {
919
- if (Fe)
919
+ if (Me)
920
920
  return this.element && this.element.ownerDocument || document;
921
921
  }
922
922
  /**
@@ -930,7 +930,7 @@ const Ue = {
930
930
  */
931
931
  get value() {
932
932
  let i;
933
- return this._valueDuringOnChange !== void 0 ? i = this._valueDuringOnChange : this.props.value !== void 0 ? i = this.props.value : this.state.value !== void 0 ? i = this.state.value : this.props.defaultValue !== void 0 && (i = this.props.defaultValue), !G(i) && this.props.defaultItem !== void 0 && (i = this.props.defaultItem), i;
933
+ return this._valueDuringOnChange !== void 0 ? i = this._valueDuringOnChange : this.props.value !== void 0 ? i = this.props.value : this.state.value !== void 0 ? i = this.state.value : this.props.defaultValue !== void 0 && (i = this.props.defaultValue), !U(i) && this.props.defaultItem !== void 0 && (i = this.props.defaultItem), i;
934
934
  }
935
935
  /**
936
936
  * The index of the selected item.
@@ -957,13 +957,13 @@ const Ue = {
957
957
  };
958
958
  }
959
959
  get validityStyles() {
960
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : At.defaultProps.validityStyles;
960
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : Wt.defaultProps.validityStyles;
961
961
  }
962
962
  /**
963
963
  * @hidden
964
964
  */
965
965
  get required() {
966
- return this.props.required !== void 0 ? this.props.required : At.defaultProps.required;
966
+ return this.props.required !== void 0 ? this.props.required : Wt.defaultProps.required;
967
967
  }
968
968
  /**
969
969
  * @hidden
@@ -976,11 +976,11 @@ const Ue = {
976
976
  if (this.base.getPopupSettings().animate || h && this.onPopupOpened(), s && s.total !== c)
977
977
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
978
978
  else {
979
- const g = this.value, m = i.value !== void 0 ? i.value : t.value;
980
- let v = p.findIndex((w) => R(w, g, e));
981
- n !== "" && g && a && (v = (u = this.base.getGroupedDataModernMode(p, n)) == null ? void 0 : u.map((w) => w[a]).indexOf(g[a]));
982
- const b = !R(m, g, e);
983
- h && s ? this.base.scrollToVirtualItem(s, v) : h && !s ? (this.onPopupOpened(), p && p.length !== 0 && this.base.resetGroupStickyHeader(p[0][n], this), this.base.scrollToItem(v)) : d && r && g && b && !this._navigated ? this.base.scrollToItem(v) : d && r && this._navigated && (this._navigated && s && s.skip === 0 ? this.base.vs.reset() : this._navigated && s && s.skip === s.total - s.pageSize && this.base.vs.scrollToEnd());
979
+ const f = this.value, m = i.value !== void 0 ? i.value : t.value;
980
+ let v = p.findIndex((w) => R(w, f, e));
981
+ n !== "" && f && a && (v = (u = this.base.getGroupedDataModernMode(p, n)) == null ? void 0 : u.map((w) => w[a]).indexOf(f[a]));
982
+ const b = !R(m, f, e);
983
+ h && s ? this.base.scrollToVirtualItem(s, v) : h && !s ? (this.onPopupOpened(), p && p.length !== 0 && this.base.resetGroupStickyHeader(p[0][n], this), this.base.scrollToItem(v)) : d && r && f && b && !this._navigated ? this.base.scrollToItem(v) : d && r && this._navigated && (this._navigated && s && s.skip === 0 ? this.base.vs.reset() : this._navigated && s && s.skip === s.total - s.pageSize && this.base.vs.scrollToEnd());
984
984
  }
985
985
  this._navigated = !1, this.setValidity();
986
986
  }
@@ -989,7 +989,7 @@ const Ue = {
989
989
  */
990
990
  componentDidMount() {
991
991
  var i;
992
- 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);
992
+ 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);
993
993
  }
994
994
  /** @hidden */
995
995
  componentWillUnmount() {
@@ -1000,17 +1000,17 @@ const Ue = {
1000
1000
  * @hidden
1001
1001
  */
1002
1002
  render() {
1003
- 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 = V(g, this.props.textField), v = !this.validityStyles || this.validity.valid, b = this.base, w = b.vs, S = h <= Se && r;
1003
+ const i = We(this).toLanguageString(At, ce[At]), { style: t, className: e, label: s, dir: n, virtual: a, size: p, rounded: c, fillMode: d, adaptive: r } = this.props, { windowWidth: h = 0 } = this.state, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = this.value, m = V(f, this.props.textField), v = !this.validityStyles || this.validity.valid, b = this.base, w = b.vs, k = h <= we && r;
1004
1004
  w.enabled = a !== void 0, a !== void 0 && (b.vs.skip = a.skip, b.vs.total = a.total, b.vs.pageSize = a.pageSize);
1005
1005
  const {
1006
1006
  dataItemKey: D,
1007
- data: N = [],
1008
- disabled: O,
1007
+ data: O = [],
1008
+ disabled: N,
1009
1009
  tabIndex: _,
1010
- loading: C,
1011
- iconClassName: F,
1012
- valueRender: x
1013
- } = this.props, { focused: E } = this.state, M = N.findIndex((Y) => R(Y, g, D)), K = /* @__PURE__ */ o.createElement("span", { id: this._inputId, className: "k-input-inner" }, /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)), U = x !== void 0 ? x.call(void 0, K, g) : K, j = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1010
+ loading: S,
1011
+ iconClassName: T,
1012
+ valueRender: C
1013
+ } = this.props, { focused: E } = this.state, M = O.findIndex((Y) => R(Y, f, D)), H = /* @__PURE__ */ o.createElement("span", { id: this._inputId, className: "k-input-inner" }, /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)), J = C !== void 0 ? C.call(void 0, H, f) : H, j = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1014
1014
  "span",
1015
1015
  {
1016
1016
  ref: this.componentRef,
@@ -1018,13 +1018,13 @@ const Ue = {
1018
1018
  "k-dropdownlist k-picker",
1019
1019
  e,
1020
1020
  {
1021
- [`k-picker-${Bt[p] || p}`]: p,
1022
- [`k-rounded-${Qs[c] || c}`]: c,
1021
+ [`k-picker-${Kt[p] || p}`]: p,
1022
+ [`k-rounded-${Zs[c] || c}`]: c,
1023
1023
  [`k-picker-${d}`]: d,
1024
1024
  "k-focus": E,
1025
- "k-disabled": O,
1025
+ "k-disabled": N,
1026
1026
  "k-invalid": !v,
1027
- "k-loading": C,
1027
+ "k-loading": S,
1028
1028
  "k-required": this.required
1029
1029
  }
1030
1030
  ),
@@ -1035,14 +1035,14 @@ const Ue = {
1035
1035
  } : void 0,
1036
1036
  onFocus: this.handleFocus,
1037
1037
  onBlur: this.handleBlur,
1038
- tabIndex: $t(_, O),
1038
+ tabIndex: Gt(_, N),
1039
1039
  accessKey: this.props.accessKey,
1040
1040
  onKeyDown: this.handleKeyDown,
1041
1041
  onKeyPress: this.handleKeyPress,
1042
- onClick: O ? void 0 : this.handleWrapperClick,
1042
+ onClick: N ? void 0 : this.handleWrapperClick,
1043
1043
  role: "combobox",
1044
1044
  "aria-required": this.required,
1045
- "aria-disabled": O || void 0,
1045
+ "aria-disabled": N || void 0,
1046
1046
  "aria-haspopup": "listbox",
1047
1047
  "aria-expanded": u || !1,
1048
1048
  "aria-owns": this._listboxId,
@@ -1053,8 +1053,8 @@ const Ue = {
1053
1053
  id: this.props.id,
1054
1054
  title: this.props.title
1055
1055
  },
1056
- U,
1057
- C && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
1056
+ J,
1057
+ S && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
1058
1058
  /* @__PURE__ */ o.createElement(
1059
1059
  Te,
1060
1060
  {
@@ -1064,20 +1064,20 @@ const Ue = {
1064
1064
  "aria-hidden": !0,
1065
1065
  size: p,
1066
1066
  fillMode: d,
1067
- iconClass: F,
1067
+ iconClass: T,
1068
1068
  className: "k-input-button",
1069
1069
  rounded: null,
1070
1070
  themeColor: "base",
1071
- icon: F ? void 0 : "caret-alt-down",
1072
- svgIcon: F ? this.props.svgIcon : Ut,
1071
+ icon: T ? void 0 : "caret-alt-down",
1072
+ svgIcon: T ? this.props.svgIcon : jt,
1073
1073
  onMouseDown: (Y) => this.state.focused && Y.preventDefault()
1074
1074
  }
1075
1075
  ),
1076
- this.dummySelect(g),
1077
- !S && this.renderListContainer()
1078
- ), S && this.renderAdaptiveListContainer());
1076
+ this.dummySelect(f),
1077
+ !k && this.renderListContainer()
1078
+ ), k && this.renderAdaptiveListContainer());
1079
1079
  return s ? /* @__PURE__ */ o.createElement(
1080
- $e,
1080
+ Ue,
1081
1081
  {
1082
1082
  label: s,
1083
1083
  editorValue: m,
@@ -1112,12 +1112,12 @@ const Ue = {
1112
1112
  navigatableElements: [],
1113
1113
  expand: r,
1114
1114
  animation: !0,
1115
- onClose: (g) => this.handleWrapperClick(g),
1116
- animationStyles: i <= xt ? { top: 0, width: "100%", height: "100%" } : void 0,
1117
- className: i <= xt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1115
+ onClose: (f) => this.handleWrapperClick(f),
1116
+ animationStyles: i <= wt ? { top: 0, width: "100%", height: "100%" } : void 0,
1117
+ className: i <= wt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1118
1118
  };
1119
1119
  let { group: u } = this.state;
1120
- return u === void 0 && a !== void 0 && (u = V(d[0], a)), /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(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(
1120
+ return u === void 0 && a !== void 0 && (u = V(d[0], a)), /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(Jt, { ...h }, /* @__PURE__ */ o.createElement(Qt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, n)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
1121
1121
  Te,
1122
1122
  {
1123
1123
  tabIndex: 0,
@@ -1127,21 +1127,21 @@ const Ue = {
1127
1127
  fillMode: "flat",
1128
1128
  onClick: this.handleWrapperClick,
1129
1129
  icon: "x",
1130
- svgIcon: ot
1130
+ svgIcon: lt
1131
1131
  }
1132
- ))), /* @__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(
1132
+ ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderListFilter())), /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), /* @__PURE__ */ o.createElement(
1133
1133
  "div",
1134
1134
  {
1135
1135
  className: B(
1136
1136
  "k-list",
1137
1137
  {
1138
- [`k-list-${Bt[s] || s}`]: s,
1138
+ [`k-list-${Kt[s] || s}`]: s,
1139
1139
  "k-virtual-list": this.base.vs.enabled
1140
1140
  }
1141
1141
  )
1142
1142
  },
1143
1143
  this.renderDefaultItem(),
1144
- !c && u && d.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: u, groupMode: "modern", render: p }),
1144
+ !c && u && d.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: u, groupMode: "modern", render: p }),
1145
1145
  this.renderList()
1146
1146
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e))));
1147
1147
  }
@@ -1151,11 +1151,11 @@ const Ue = {
1151
1151
  textField: e,
1152
1152
  dataItemKey: s,
1153
1153
  virtual: n = { skip: 0 },
1154
- focusedItemIndex: a = Ve,
1154
+ focusedItemIndex: a = Be,
1155
1155
  filterable: p,
1156
1156
  skipDisabledItems: c = !0
1157
1157
  } = this.props, d = this.props.filter ? this.props.filter : this.state.text;
1158
- return c && e && !d && !i ? t.findIndex((r) => !r.disabled && r[e]) : G(i) && d === void 0 || p && d === "" ? t.findIndex((r) => R(r, i, s)) : d ? this._lastKeypressIsFilter ? a(t, d, e) : t.findIndex((r) => R(r, i, s)) : n.skip === 0 ? 0 : -1;
1158
+ return c && e && !d && !i ? t.findIndex((r) => !r.disabled && r[e]) : U(i) && d === void 0 || p && d === "" ? t.findIndex((r) => R(r, i, s)) : d ? this._lastKeypressIsFilter ? a(t, d, e) : t.findIndex((r) => R(r, i, s)) : n.skip === 0 ? 0 : -1;
1159
1159
  }
1160
1160
  focusElement(i) {
1161
1161
  this._skipFocusEvent = !0, i.focus(), window.setTimeout(() => this._skipFocusEvent = !1, 30);
@@ -1178,9 +1178,9 @@ const Ue = {
1178
1178
  return t !== void 0 && t !== -1 && i && i.length > 0 && i[t].disabled;
1179
1179
  }
1180
1180
  };
1181
- let Dt = At;
1182
- Dt.displayName = "DropDownList";
1183
- Dt.propTypes = {
1181
+ let Tt = Wt;
1182
+ Tt.displayName = "DropDownList";
1183
+ Tt.propTypes = {
1184
1184
  delay: l.number,
1185
1185
  ignoreCase: l.bool,
1186
1186
  iconClassName: l.string,
@@ -1199,25 +1199,25 @@ Dt.propTypes = {
1199
1199
  groupField: l.string,
1200
1200
  list: l.any,
1201
1201
  skipDisabledItems: l.bool,
1202
- ...ie.propTypes
1202
+ ...oe.propTypes
1203
1203
  };
1204
- Dt.defaultProps = {
1204
+ Tt.defaultProps = {
1205
1205
  delay: 500,
1206
1206
  tabIndex: 0,
1207
1207
  ignoreCase: !0,
1208
- ...ie.defaultProps,
1208
+ ...oe.defaultProps,
1209
1209
  required: !1,
1210
1210
  size: "medium",
1211
1211
  rounded: "medium",
1212
1212
  fillMode: "solid",
1213
1213
  groupMode: "modern"
1214
1214
  };
1215
- const Xs = Be(), Zs = St(wt(
1216
- Xs,
1217
- Dt
1215
+ const ei = Ke(), ti = Et(Dt(
1216
+ ei,
1217
+ Tt
1218
1218
  ));
1219
- Zs.displayName = "KendoReactDropDownList";
1220
- class Zt extends o.Component {
1219
+ ti.displayName = "KendoReactDropDownList";
1220
+ class es extends o.Component {
1221
1221
  constructor() {
1222
1222
  super(...arguments), this._input = null;
1223
1223
  }
@@ -1228,7 +1228,7 @@ class Zt extends o.Component {
1228
1228
  return this._input;
1229
1229
  }
1230
1230
  componentDidUpdate(t) {
1231
- const e = t.value, s = t.suggestedText, { value: n, suggestedText: a, focused: p } = this.props, c = this.input, d = e !== n || a !== s, r = d && e.startsWith(n) && !(s && a && s.endsWith(a)), h = ws(document);
1231
+ const e = t.value, s = t.suggestedText, { value: n, suggestedText: a, focused: p } = this.props, c = this.input, d = e !== n || a !== s, r = d && e.startsWith(n) && !(s && a && s.endsWith(a)), h = Es(document);
1232
1232
  p && c && h !== c && c.focus(), a && d && !r && c && c.setSelectionRange(n.length - a.length, n.length);
1233
1233
  }
1234
1234
  render() {
@@ -1269,12 +1269,12 @@ class Zt extends o.Component {
1269
1269
  return n ? n.call(void 0, a) : a;
1270
1270
  }
1271
1271
  }
1272
- class lt extends o.Component {
1272
+ class dt extends o.Component {
1273
1273
  constructor() {
1274
1274
  super(...arguments), this.onMouseDown = (t) => t.preventDefault();
1275
1275
  }
1276
1276
  render() {
1277
- const t = He(this).toLanguageString(st, le[st]);
1277
+ const t = We(this).toLanguageString(nt, ce[nt]);
1278
1278
  return /* @__PURE__ */ o.createElement(
1279
1279
  "span",
1280
1280
  {
@@ -1286,14 +1286,14 @@ class lt extends o.Component {
1286
1286
  title: t,
1287
1287
  key: "clearbutton"
1288
1288
  },
1289
- /* @__PURE__ */ o.createElement(ke, { name: "x", icon: ot })
1289
+ /* @__PURE__ */ o.createElement(Ce, { name: "x", icon: lt })
1290
1290
  );
1291
1291
  }
1292
1292
  }
1293
- vs(lt);
1294
- const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe, yt = class extends o.Component {
1293
+ bs(dt);
1294
+ const si = Ds, Ne = si, ii = "Please enter a valid value!", { sizeMap: yt, roundedMap: ni } = Ge, xt = class extends o.Component {
1295
1295
  constructor(i) {
1296
- 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 = () => {
1296
+ super(i), this.state = {}, this.base = new oe(this), this._element = null, this._suggested = "", this._skipBlur = !1, this._input = null, this._adaptiveFilterInput = null, this.itemHeight = 0, this.focus = () => {
1297
1297
  this._input && this._input.focus();
1298
1298
  }, this.handleItemSelect = (t, e) => {
1299
1299
  const { data: s = [], virtual: n, dataItemKey: a } = this.props, p = n ? n.skip : 0, c = s[t - p], d = !R(c, this.value, a);
@@ -1312,9 +1312,9 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1312
1312
  }
1313
1313
  this.applyState(d);
1314
1314
  }, this.renderMobileListFilter = () => {
1315
- 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;
1315
+ const t = this.props.adaptiveFilter !== void 0 ? this.props.adaptiveFilter : this.state.text, e = V(this.value, this.props.textField), s = U(t) ? t : e;
1316
1316
  return /* @__PURE__ */ o.createElement(
1317
- Re,
1317
+ Ve,
1318
1318
  {
1319
1319
  value: s,
1320
1320
  ref: (n) => this._adaptiveFilterInput = n && n.element,
@@ -1358,56 +1358,56 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1358
1358
  }
1359
1359
  }, this.onInputKeyDown = (t) => {
1360
1360
  const { data: e = [], skipDisabledItems: s, textField: n, dataItemKey: a, groupField: p } = this.props, c = this.value, d = Math.max(0, e.findIndex((w) => R(w, c, a))), r = t.keyCode, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.base.initState();
1361
- if (u.syntheticEvent = t, !t.altKey && (r === f.up || r === f.down)) {
1361
+ if (u.syntheticEvent = t, !t.altKey && (r === g.up || r === g.down)) {
1362
1362
  if (t.preventDefault(), p !== "" && n)
1363
1363
  if (!this.props.skipDisabledItems && h)
1364
1364
  this.onNavigate(u, r);
1365
1365
  else {
1366
1366
  let w = 0;
1367
- if (r === f.down || r === f.right) {
1368
- const S = e.slice(d + 1).find((D) => !D.disabled && D[n]);
1369
- w = S && e.findIndex((D) => D[n] === S[n]);
1370
- } else if (r === f.up || r === f.left) {
1371
- let S;
1367
+ if (r === g.down || r === g.right) {
1368
+ const k = e.slice(d + 1).find((D) => !D.disabled && D[n]);
1369
+ w = k && e.findIndex((D) => D[n] === k[n]);
1370
+ } else if (r === g.up || r === g.left) {
1371
+ let k;
1372
1372
  if (d === 0)
1373
- S = e, w = e.findIndex((D) => !D.disabled && D[n]);
1373
+ k = e, w = e.findIndex((D) => !D.disabled && D[n]);
1374
1374
  else {
1375
- S = e.slice(0, d);
1376
- let D = S.pop();
1375
+ k = e.slice(0, d);
1376
+ let D = k.pop();
1377
1377
  for (; D && D.disabled; )
1378
- D = S.pop();
1379
- w = D && e.findIndex((N) => N[n] === D[n]);
1378
+ D = k.pop();
1379
+ w = D && e.findIndex((O) => O[n] === D[n]);
1380
1380
  }
1381
1381
  }
1382
1382
  if (w !== void 0) {
1383
- const S = w - d;
1384
- this.onNavigate(u, r, S);
1383
+ const k = w - d;
1384
+ this.onNavigate(u, r, k);
1385
1385
  } else
1386
- w === void 0 && e.findIndex((S) => S[n] === c[n]) === e.length - 1 && this.onNavigate(u, r);
1386
+ w === void 0 && e.findIndex((k) => k[n] === c[n]) === e.length - 1 && this.onNavigate(u, r);
1387
1387
  }
1388
1388
  else if (!this.props.skipDisabledItems && h)
1389
1389
  this.onNavigate(u, r);
1390
1390
  else {
1391
1391
  let w = null;
1392
- if (r === f.down || r === f.right)
1393
- w = e.slice(d + 1).find((S) => !S.disabled);
1394
- else if (r === f.up || r === f.left) {
1395
- const S = e.slice(0, d);
1396
- for (w = S.pop(); w && w.disabled; )
1397
- w = S.pop();
1392
+ if (r === g.down || r === g.right)
1393
+ w = e.slice(d + 1).find((k) => !k.disabled);
1394
+ else if (r === g.up || r === g.left) {
1395
+ const k = e.slice(0, d);
1396
+ for (w = k.pop(); w && w.disabled; )
1397
+ w = k.pop();
1398
1398
  }
1399
1399
  if (w) {
1400
- const S = w.id - d - 1;
1401
- this.onNavigate(u, r, S);
1400
+ const k = w.id - d - 1;
1401
+ this.onNavigate(u, r, k);
1402
1402
  } else
1403
1403
  this.onNavigate(u, r);
1404
1404
  }
1405
1405
  this.applyState(u);
1406
1406
  }
1407
- const g = () => {
1407
+ const f = () => {
1408
1408
  t.preventDefault(), this.base.togglePopup(u), this.applyState(u);
1409
1409
  }, m = this.getFocusedIndex(), v = m === -1, b = !v && this.getCurrentValueDisabledStatus(n, e, m);
1410
- h ? r === f.pageUp ? this.base.scrollPopupByPageSize(-1) : r === f.pageDown ? this.base.scrollPopupByPageSize(1) : t.altKey && r === f.up ? g() : r === f.enter ? (t.preventDefault(), (n && !v && t.currentTarget.value ? e[m][n] : void 0) ? !s && n && b ? this.clearValueOnEnterOrEsc(t) : b || this.applyValueOnEnter(t.currentTarget.value, u) : this.applyValueOnEnter(t.currentTarget.value, u)) : r === f.esc && (!s && n && b && this.clearValueOnEnterOrEsc(t), this.applyValueOnRejectSuggestions(t.currentTarget.value, u)) : !h && r === f.esc ? this.clearValueOnEnterOrEsc(t) : t.altKey && r === f.down && g();
1410
+ h ? r === g.pageUp ? this.base.scrollPopupByPageSize(-1) : r === g.pageDown ? this.base.scrollPopupByPageSize(1) : t.altKey && r === g.up ? f() : r === g.enter ? (t.preventDefault(), (n && !v && t.currentTarget.value ? e[m][n] : void 0) ? !s && n && b ? this.clearValueOnEnterOrEsc(t) : b || this.applyValueOnEnter(t.currentTarget.value, u) : this.applyValueOnEnter(t.currentTarget.value, u)) : r === g.esc && (!s && n && b && this.clearValueOnEnterOrEsc(t), this.applyValueOnRejectSuggestions(t.currentTarget.value, u)) : !h && r === g.esc ? this.clearValueOnEnterOrEsc(t) : t.altKey && r === g.down && f();
1411
1411
  }, this.inputOnChange = (t) => {
1412
1412
  const e = this.base.initState();
1413
1413
  e.syntheticEvent = t;
@@ -1415,7 +1415,7 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1415
1415
  if (this.props.suggest) {
1416
1416
  const p = n.selectionEnd === a.length;
1417
1417
  let c = this.props.filter !== void 0 ? this.props.filter : this.state.text;
1418
- G(c) || (c = V(this.value, this.props.textField) || "");
1418
+ U(c) || (c = V(this.value, this.props.textField) || "");
1419
1419
  const d = c && c === a, r = c && c.length > a.length;
1420
1420
  d || r || !p ? this._suggested = "" : this.suggestValue(a);
1421
1421
  }
@@ -1434,15 +1434,15 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1434
1434
  e.syntheticEvent = t, t.stopPropagation(), this.clearValue();
1435
1435
  }, this.setValidity = () => {
1436
1436
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
1437
- this.validity.valid ? "" : this.props.validationMessage || ei
1437
+ this.validity.valid ? "" : this.props.validationMessage || ii
1438
1438
  );
1439
- }, We(Ue);
1439
+ }, $e(Ye);
1440
1440
  }
1441
1441
  get _inputId() {
1442
1442
  return this.props.id;
1443
1443
  }
1444
1444
  get document() {
1445
- if (Fe)
1445
+ if (Me)
1446
1446
  return this.element && this.element.ownerDocument || document;
1447
1447
  }
1448
1448
  /** @hidden */
@@ -1453,7 +1453,7 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1453
1453
  * The mobile mode of the ComboBox.
1454
1454
  */
1455
1455
  get mobileMode() {
1456
- return !!(this.state.windowWidth && this.state.windowWidth <= Se && this.props.adaptive);
1456
+ return !!(this.state.windowWidth && this.state.windowWidth <= we && this.props.adaptive);
1457
1457
  }
1458
1458
  /**
1459
1459
  * The value of the ComboBox.
@@ -1493,22 +1493,22 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1493
1493
  };
1494
1494
  }
1495
1495
  get validityStyles() {
1496
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : yt.defaultProps.validityStyles;
1496
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : xt.defaultProps.validityStyles;
1497
1497
  }
1498
1498
  /** @hidden */
1499
1499
  get required() {
1500
- return this.props.required !== void 0 ? this.props.required : yt.defaultProps.required;
1500
+ return this.props.required !== void 0 ? this.props.required : xt.defaultProps.required;
1501
1501
  }
1502
1502
  /** @hidden */
1503
1503
  componentDidUpdate(i, t) {
1504
- var g;
1504
+ var f;
1505
1505
  const { dataItemKey: e, virtual: s, groupField: n = "", data: a = [], textField: p } = this.props, c = i.virtual ? i.virtual.total : 0, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = i.opened !== void 0 ? i.opened : t.opened, h = !r && d, u = this.value;
1506
1506
  if (this._valueOnDidUpdate = u, s && s.total !== c)
1507
1507
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
1508
1508
  else {
1509
1509
  const m = i.value !== void 0 ? i.value : t.value;
1510
1510
  let v = a.findIndex((w) => R(w, u, e));
1511
- this.props.groupMode === "modern" && p && u && (v = (g = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : g.map((w) => w[p]).indexOf(u[p]));
1511
+ this.props.groupMode === "modern" && p && u && (v = (f = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : f.map((w) => w[p]).indexOf(u[p]));
1512
1512
  const b = !R(m, u, e);
1513
1513
  h && s ? this.base.scrollToVirtualItem(s, v) : h && !s ? (this.onPopupOpened(), a && a.length !== 0 && this.base.resetGroupStickyHeader(a[0][n], this), this.base.scrollToItem(v)) : d && r && u && b && this.base.scrollToItem(v);
1514
1514
  }
@@ -1517,7 +1517,7 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1517
1517
  /** @hidden */
1518
1518
  componentDidMount() {
1519
1519
  var i;
1520
- 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);
1520
+ 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);
1521
1521
  }
1522
1522
  /** @hidden */
1523
1523
  componentWillUnmount() {
@@ -1526,13 +1526,13 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1526
1526
  }
1527
1527
  /** @hidden */
1528
1528
  render() {
1529
- const i = He(this).toLanguageString(Lt, le[Lt]), t = He(this).toLanguageString(
1530
- zt,
1531
- le[zt]
1529
+ const i = We(this).toLanguageString(zt, ce[zt]), t = We(this).toLanguageString(
1530
+ Ht,
1531
+ ce[Ht]
1532
1532
  ), {
1533
1533
  dir: e,
1534
1534
  disabled: s,
1535
- clearButton: n = yt.defaultProps.clearButton,
1535
+ clearButton: n = xt.defaultProps.clearButton,
1536
1536
  label: a,
1537
1537
  textField: p,
1538
1538
  adaptive: c,
@@ -1540,24 +1540,24 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1540
1540
  style: r,
1541
1541
  loading: h,
1542
1542
  iconClassName: u,
1543
- virtual: g,
1543
+ virtual: f,
1544
1544
  size: m,
1545
1545
  rounded: v,
1546
1546
  fillMode: b,
1547
1547
  opened: w = this.state.opened,
1548
- placeholder: S
1549
- } = 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;
1550
- E.enabled = g !== void 0, g !== void 0 && (E.skip = g.skip, E.total = g.total, E.pageSize = g.pageSize);
1551
- const U = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1548
+ placeholder: k
1549
+ } = this.props, { windowWidth: D = 0 } = this.state, O = !this.validityStyles || this.validity.valid, N = this.props.filter !== void 0 ? this.props.filter : this.state.text, _ = V(this.value, p), S = U(N) ? N : _, T = n && (!!S || U(this.value)), E = this.base.vs, M = this.props.id || this._inputId, H = D <= we && c;
1550
+ E.enabled = f !== void 0, f !== void 0 && (E.skip = f.skip, E.total = f.total, E.pageSize = f.pageSize);
1551
+ const [J, j] = Ne(this.props.prefix || o.Fragment), [Y, W] = Ne(this.props.suffix || o.Fragment), ge = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
1552
1552
  "span",
1553
1553
  {
1554
1554
  className: B(
1555
1555
  "k-combobox k-input",
1556
1556
  {
1557
- [`k-input-${vt[m] || m}`]: m,
1558
- [`k-rounded-${ti[v] || v}`]: v,
1557
+ [`k-input-${yt[m] || m}`]: m,
1558
+ [`k-rounded-${ni[v] || v}`]: v,
1559
1559
  [`k-input-${b}`]: b,
1560
- "k-invalid": !N,
1560
+ "k-invalid": !O,
1561
1561
  "k-loading": h,
1562
1562
  "k-required": this.required,
1563
1563
  "k-disabled": s
@@ -1568,9 +1568,11 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1568
1568
  style: a ? { ...r, width: void 0 } : r,
1569
1569
  dir: e
1570
1570
  },
1571
- this.renderSearchBar(C || "", M, S),
1572
- F && !h && /* @__PURE__ */ o.createElement(lt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1573
- h && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
1571
+ this.props.prefix && /* @__PURE__ */ o.createElement(J, { ...j }),
1572
+ this.renderSearchBar(S || "", M, k),
1573
+ T && !h && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick, key: "clearbutton" }),
1574
+ h && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
1575
+ this.props.suffix && /* @__PURE__ */ o.createElement(Y, { ...W }),
1574
1576
  /* @__PURE__ */ o.createElement(
1575
1577
  Te,
1576
1578
  {
@@ -1578,7 +1580,7 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1578
1580
  type: "button",
1579
1581
  "aria-label": w ? t : i,
1580
1582
  icon: u ? void 0 : "caret-alt-down",
1581
- svgIcon: u ? this.props.svgIcon : Ut,
1583
+ svgIcon: u ? this.props.svgIcon : jt,
1582
1584
  iconClass: u,
1583
1585
  size: m,
1584
1586
  fillMode: b,
@@ -1586,34 +1588,33 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1586
1588
  themeColor: "base",
1587
1589
  className: "k-input-button",
1588
1590
  onClick: this.toggleBtnClick,
1589
- onMouseDown: (j) => j.preventDefault()
1591
+ onMouseDown: (Z) => Z.preventDefault()
1590
1592
  }
1591
1593
  ),
1592
- !K && this.renderListContainer()
1593
- ), K && this.renderAdaptiveListContainer());
1594
+ !H && this.renderListContainer()
1595
+ ), H && this.renderAdaptiveListContainer());
1594
1596
  return a ? /* @__PURE__ */ o.createElement(
1595
- $e,
1597
+ Ue,
1596
1598
  {
1597
1599
  label: a,
1598
1600
  editorId: M,
1599
- editorValue: C,
1600
- editorValid: N,
1601
+ editorValue: S,
1602
+ editorValid: O,
1601
1603
  editorDisabled: s,
1602
1604
  style: { width: r ? r.width : void 0 },
1603
- children: U
1605
+ children: ge
1604
1606
  }
1605
- ) : U;
1607
+ ) : ge;
1606
1608
  }
1607
1609
  /** @hidden */
1608
1610
  onNavigate(i, t, e) {
1609
1611
  const { data: s = [], virtual: n = { skip: 0 } } = this.props, a = this.props.filter ? this.props.filter : this.state.text, p = this.getFocusedIndex(), c = this.base.vs, d = this.value;
1610
- if (this._suggested = "", p !== -1 && !G(d))
1612
+ if (this._suggested = "", p !== -1 && !U(d))
1611
1613
  this.handleItemSelect(p, i);
1612
1614
  else if (a === "")
1613
1615
  this.handleItemSelect(0, i);
1614
1616
  else {
1615
- let r = n.skip + p;
1616
- const h = this.base.navigation.navigate({
1617
+ const r = n.skip + p, h = this.base.navigation.navigate({
1617
1618
  keyCode: t,
1618
1619
  current: r,
1619
1620
  max: (c.enabled ? c.total : s.length) - 1,
@@ -1627,7 +1628,7 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1627
1628
  return i && t && t[e] && t[e].disabled;
1628
1629
  }
1629
1630
  applyValueOnEnter(i, t) {
1630
- 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;
1631
+ const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, c = V(this.value, s) === i ? this.index : Lt(e, i, s), d = c !== -1;
1631
1632
  let r;
1632
1633
  if (this._suggested = "", d)
1633
1634
  r = e[c];
@@ -1638,31 +1639,31 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1638
1639
  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);
1639
1640
  }
1640
1641
  applyValueOnRejectSuggestions(i, t) {
1641
- 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;
1642
- if (this._suggested = "", i === p || i === "" && !G(p))
1642
+ const { data: e = [], textField: s, allowCustom: n } = this.props, a = this.props.opened !== void 0 ? this.props.opened : this.state.opened, p = V(this.value, s), c = this.state.windowWidth && this.state.windowWidth <= we;
1643
+ if (this._suggested = "", i === p || i === "" && !U(p))
1643
1644
  return a && !c && this.base.togglePopup(t), this.applyState(t);
1644
- const d = Kt(e, i, s, !0), r = d !== -1;
1645
+ const d = Lt(e, i, s, !0), r = d !== -1;
1645
1646
  let h = null;
1646
1647
  r ? h = e[d] : n && (h = i ? s ? { [s]: i } : i : null), this.triggerOnChange(h, t), this.state.text !== void 0 && (t.data.text = void 0, this.base.filterChanged("", t)), a && !c && this.base.togglePopup(t), this.applyState(t);
1647
1648
  }
1648
1649
  selectFocusedItem(i, t) {
1649
- const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { data: s = [], textField: n, virtual: a = { skip: 0 }, focusedItemIndex: p = Ve } = this.props, c = a.skip, d = i === "" && c === 0 ? 0 : p(s, i, n);
1650
+ const e = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { data: s = [], textField: n, virtual: a = { skip: 0 }, focusedItemIndex: p = Be } = this.props, c = a.skip, d = i === "" && c === 0 ? 0 : p(s, i, n);
1650
1651
  return d !== -1 ? this.handleItemSelect(d + c, t) : (this.triggerOnChange(null, t), this.state.text !== void 0 && (t.data.text = void 0)), e && this.base.togglePopup(t), this.applyState(t);
1651
1652
  }
1652
1653
  renderAdaptiveListContainer() {
1653
1654
  const { windowWidth: i = 0 } = this.state, { header: t, footer: e, size: s, data: n = [], groupField: a, groupMode: p, list: c, virtual: d, adaptiveTitle: r, groupStickyHeaderItemRender: h } = this.props, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1654
- let { group: g } = this.state;
1655
- g === void 0 && a !== void 0 && (g = V(n[0], a));
1655
+ let { group: f } = this.state;
1656
+ f === void 0 && a !== void 0 && (f = V(n[0], a));
1656
1657
  const m = {
1657
1658
  navigatable: !1,
1658
1659
  navigatableElements: [],
1659
1660
  expand: u,
1660
1661
  animation: !0,
1661
1662
  onClose: (v) => this.toggleBtnClick(v),
1662
- animationStyles: i <= xt ? { top: 0, width: "100%", height: "100%" } : void 0,
1663
- className: i <= xt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1663
+ animationStyles: i <= wt ? { top: 0, width: "100%", height: "100%" } : void 0,
1664
+ className: i <= wt ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
1664
1665
  };
1665
- 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(
1666
+ return /* @__PURE__ */ o.createElement(Jt, { ...m }, /* @__PURE__ */ o.createElement(Qt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, r)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
1666
1667
  Te,
1667
1668
  {
1668
1669
  tabIndex: 0,
@@ -1672,51 +1673,51 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1672
1673
  fillMode: "flat",
1673
1674
  onClick: this.toggleBtnClick,
1674
1675
  icon: "x",
1675
- svgIcon: ot
1676
+ svgIcon: lt
1676
1677
  }
1677
- ))), /* @__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: B(
1678
+ ))), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderMobileListFilter())), /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: B(
1678
1679
  {
1679
- ["k-list"]: !c,
1680
- ["k-list-lg"]: !0,
1681
- ["k-virtual-list"]: d,
1682
- ["k-data-table"]: c,
1683
- [`k-table-${vt[s] || s}`]: c && s
1680
+ "k-list": !c,
1681
+ "k-list-lg": !0,
1682
+ "k-virtual-list": d,
1683
+ "k-data-table": c,
1684
+ [`k-table-${yt[s] || s}`]: c && s
1684
1685
  }
1685
- ) }, 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))))));
1686
+ ) }, t && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, t), !c && f && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: p, render: h }), this.renderList(), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e)))));
1686
1687
  }
1687
1688
  renderListContainer() {
1688
- 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;
1689
+ const i = this.base, { dir: t, header: e, footer: s, data: n = [], groupField: a, groupMode: p, size: c, list: d, virtual: r, groupStickyHeaderItemRender: h } = this.props, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = i.getPopupSettings(), m = f.width !== void 0 ? f.width : i.popupWidth;
1689
1690
  let { group: v } = this.state;
1690
1691
  return v === void 0 && a !== void 0 && (v = V(n[0], a)), /* @__PURE__ */ o.createElement(
1691
- Et,
1692
+ Ft,
1692
1693
  {
1693
1694
  width: m,
1694
1695
  popupSettings: {
1695
- animate: g.animate,
1696
+ animate: f.animate,
1696
1697
  anchor: this.element,
1697
1698
  show: u,
1698
1699
  popupClass: B(
1699
- g.popupClass,
1700
+ f.popupClass,
1700
1701
  "k-list-container",
1701
1702
  "k-combobox-popup"
1702
1703
  ),
1703
- className: g.className,
1704
- appendTo: g.appendTo
1704
+ className: f.className,
1705
+ appendTo: f.appendTo
1705
1706
  },
1706
1707
  dir: t !== void 0 ? t : this.base.dirCalculated,
1707
1708
  itemsCount: [n.length]
1708
1709
  },
1709
1710
  /* @__PURE__ */ o.createElement("div", { className: B(
1710
1711
  {
1711
- ["k-list"]: !d,
1712
- [`k-list-${vt[c] || c}`]: !d && c,
1713
- ["k-virtual-list"]: r,
1714
- ["k-data-table"]: d,
1715
- [`k-table-${vt[c] || c}`]: d && c
1712
+ "k-list": !d,
1713
+ [`k-list-${yt[c] || c}`]: !d && c,
1714
+ "k-virtual-list": r,
1715
+ "k-data-table": d,
1716
+ [`k-table-${yt[c] || c}`]: d && c
1716
1717
  }
1717
- ) }, 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: B(
1718
+ ) }, e && /* @__PURE__ */ o.createElement("div", { className: "k-table-header" }, e), !d && v && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: v, groupMode: p, render: h }), this.renderList(), s && /* @__PURE__ */ o.createElement("div", { className: B(
1718
1719
  {
1719
- ["k-list-footer"]: !this.props.footerClassName
1720
+ "k-list-footer": !this.props.footerClassName
1720
1721
  },
1721
1722
  this.props.footerClassName
1722
1723
  ) }, s))
@@ -1731,9 +1732,9 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1731
1732
  groupHeaderItemRender: a,
1732
1733
  data: p = [],
1733
1734
  virtual: c = { skip: 0, total: void 0 }
1734
- } = 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 || Ge;
1735
+ } = this.props, d = i.getPopupSettings(), r = i.vs, h = c.skip, u = this.props.opened !== void 0 ? this.props.opened : this.state.opened, f = `translateY(${r.translate}px)`, m = u ? this.getFocusedIndex() : void 0, v = this.props.filter !== void 0 ? this.props.filter : this.state.text, b = V(this.value, t), w = U(v) && v !== b ? null : this.value, k = this.props.list || je;
1735
1736
  return /* @__PURE__ */ o.createElement(
1736
- S,
1737
+ k,
1737
1738
  {
1738
1739
  id: i.listBoxId,
1739
1740
  virtual: !!c,
@@ -1750,14 +1751,14 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1750
1751
  listRef: (D) => {
1751
1752
  r.list = this.base.list = D, this.itemHeight = 0;
1752
1753
  },
1753
- wrapperStyle: this.state.windowWidth && this.state.windowWidth > Se ? { maxHeight: d.height } : {},
1754
+ wrapperStyle: this.state.windowWidth && this.state.windowWidth > we ? { maxHeight: d.height } : {},
1754
1755
  wrapperCssClass: B(
1755
1756
  "k-list-content",
1756
1757
  {
1757
- ["k-list-scroller"]: !c
1758
+ "k-list-scroller": !c
1758
1759
  }
1759
1760
  ),
1760
- listStyle: r.enabled ? { transform: g } : void 0,
1761
+ listStyle: r.enabled ? { transform: f } : void 0,
1761
1762
  key: "listkey",
1762
1763
  skip: h,
1763
1764
  onClick: this.handleItemClick,
@@ -1781,7 +1782,7 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1781
1782
  virtual: c = { skip: 0 }
1782
1783
  } = this.props, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = this.value, h = Math.max(0, a.findIndex((u) => R(u, r, p)));
1783
1784
  return this._suggested && !R(this._valueOnDidUpdate, r, p) && (this._suggested = ""), /* @__PURE__ */ o.createElement(
1784
- Zt,
1785
+ es,
1785
1786
  {
1786
1787
  id: t,
1787
1788
  readOnly: d && this.mobileMode,
@@ -1817,28 +1818,28 @@ const ei = "Please enter a valid value!", { sizeMap: vt, roundedMap: ti } = qe,
1817
1818
  }
1818
1819
  triggerOnChange(i, t) {
1819
1820
  const e = this.value;
1820
- !G(e) && !G(i) || R(e, i, this.props.dataItemKey) || (this.props.value === void 0 && (t.data.value = i), this._valueDuringOnChange = i, t.events.push({ type: "onChange" }));
1821
+ !U(e) && !U(i) || R(e, i, this.props.dataItemKey) || (this.props.value === void 0 && (t.data.value = i), this._valueDuringOnChange = i, t.events.push({ type: "onChange" }));
1821
1822
  }
1822
1823
  getFocusedIndex() {
1823
- const i = this.value, { data: t = [], textField: e, dataItemKey: s, virtual: n = { skip: 0 }, focusedItemIndex: a = Ve, skipDisabledItems: p } = this.props, c = this.props.filter ? this.props.filter : this.state.text;
1824
- return G(i) && c === void 0 ? t.findIndex((d) => R(d, i, s)) : c ? a(t, c, e) : p && e && !c && n.skip === 0 ? t.findIndex((d) => !d.disabled && d[e]) : n.skip === 0 ? 0 : -1;
1824
+ const i = this.value, { data: t = [], textField: e, dataItemKey: s, virtual: n = { skip: 0 }, focusedItemIndex: a = Be, skipDisabledItems: p } = this.props, c = this.props.filter ? this.props.filter : this.state.text;
1825
+ return U(i) && c === void 0 ? t.findIndex((d) => R(d, i, s)) : c ? a(t, c, e) : p && e && !c && n.skip === 0 ? t.findIndex((d) => !d.disabled && d[e]) : n.skip === 0 ? 0 : -1;
1825
1826
  }
1826
1827
  suggestValue(i) {
1827
1828
  const { data: t, textField: e } = this.props;
1828
- this._suggested = Hs(i, t, e);
1829
+ this._suggested = Ws(i, t, e);
1829
1830
  }
1830
1831
  applyState(i) {
1831
1832
  this.base.applyState(i), this._valueDuringOnChange = void 0;
1832
1833
  }
1833
1834
  calculateMedia(i) {
1834
- for (let t of i)
1835
+ for (const t of i)
1835
1836
  this.setState({ windowWidth: t.target.clientWidth });
1836
1837
  }
1837
1838
  };
1838
- let rt = yt;
1839
- rt.displayName = "ComboBox";
1840
- rt.propTypes = {
1841
- ...ie.propTypes,
1839
+ let ct = xt;
1840
+ ct.displayName = "ComboBox";
1841
+ ct.propTypes = {
1842
+ ...oe.propTypes,
1842
1843
  size: l.oneOf([null, "small", "medium", "large"]),
1843
1844
  rounded: l.oneOf([null, "small", "medium", "large", "full"]),
1844
1845
  fillMode: l.oneOf([null, "solid", "flat", "outline"]),
@@ -1862,8 +1863,8 @@ rt.propTypes = {
1862
1863
  valueRender: l.func,
1863
1864
  skipDisabledItems: l.bool
1864
1865
  };
1865
- rt.defaultProps = {
1866
- ...ie.defaultProps,
1866
+ ct.defaultProps = {
1867
+ ...oe.defaultProps,
1867
1868
  size: "medium",
1868
1869
  rounded: "medium",
1869
1870
  fillMode: "solid",
@@ -1872,13 +1873,15 @@ rt.defaultProps = {
1872
1873
  required: !1,
1873
1874
  groupMode: "modern",
1874
1875
  isMultiColumn: !1,
1875
- skipDisabledItems: !0
1876
+ skipDisabledItems: !0,
1877
+ prefix: void 0,
1878
+ suffix: void 0
1876
1879
  };
1877
- const si = Be(), ys = St(wt(si, rt));
1878
- ys.displayName = "KendoReactComboBox";
1879
- const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe, Wt = class extends o.Component {
1880
+ const oi = Ke(), Is = Et(Dt(oi, ct));
1881
+ Is.displayName = "KendoReactComboBox";
1882
+ const ai = "Please enter a valid value!", { sizeMap: rs, roundedMap: li } = Ge, qt = class extends o.Component {
1880
1883
  constructor(i) {
1881
- 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 = () => {
1884
+ super(i), this.state = {}, this.base = new oe(this), this._element = null, this._suggested = "", this._input = null, this._isScrolling = !1, this.itemHeight = 0, this.focus = () => {
1882
1885
  this._input && this._input.focus();
1883
1886
  }, this.handleItemSelect = (t, e) => {
1884
1887
  const { data: s = [] } = this.props, n = V(s[t], this.props.textField);
@@ -1890,7 +1893,7 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
1890
1893
  this.base.togglePopup(t);
1891
1894
  }, this.setValidity = () => {
1892
1895
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
1893
- this.validity.valid ? "" : this.props.validationMessage || ii
1896
+ this.validity.valid ? "" : this.props.validationMessage || ai
1894
1897
  );
1895
1898
  }, this.onScroll = (t) => {
1896
1899
  this._isScrolling = !0;
@@ -1911,8 +1914,8 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
1911
1914
  }, this.onChangeHandler = (t) => {
1912
1915
  const s = this.base.initState(), n = t.currentTarget, a = n.value, p = n.selectionEnd === a.length;
1913
1916
  s.syntheticEvent = t;
1914
- const c = this._suggested, d = this.value, r = d && d.substring(0, d.length - c.length), h = r && r === a, u = r && r.length > a.length, { suggest: g } = this.props, m = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1915
- if (g !== void 0 && g !== !1) {
1917
+ const c = this._suggested, d = this.value, r = d && d.substring(0, d.length - c.length), h = r && r === a, u = r && r.length > a.length, { suggest: f } = this.props, m = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
1918
+ if (f !== void 0 && f !== !1) {
1916
1919
  h || u || !p ? this._suggested = "" : this.suggestValue(a);
1917
1920
  const v = a + this._suggested, b = { userInput: a, value: this._suggested };
1918
1921
  this.triggerOnChange(v, s, { suggestion: b });
@@ -1929,36 +1932,36 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
1929
1932
  this._isScrolling && (this._isScrolling = !1);
1930
1933
  const p = this.focusedIndex(), c = e[p], d = t.keyCode, r = t.altKey, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = this.base.initState();
1931
1934
  u.syntheticEvent = t;
1932
- const g = () => {
1935
+ const f = () => {
1933
1936
  h && t.preventDefault();
1934
1937
  };
1935
- if (r && d === f.down)
1938
+ if (r && d === g.down)
1936
1939
  this.setState({
1937
1940
  opened: !0
1938
1941
  });
1939
- else if (r && d === f.up)
1942
+ else if (r && d === g.up)
1940
1943
  this.setState({
1941
1944
  opened: !1
1942
1945
  });
1943
- else if (h && d === f.pageUp)
1946
+ else if (h && d === g.pageUp)
1944
1947
  this.base.scrollPopupByPageSize(-1);
1945
- else if (h && d === f.pageDown)
1948
+ else if (h && d === g.pageDown)
1946
1949
  this.base.scrollPopupByPageSize(1);
1947
- else if (h && (d === f.enter || d === f.esc))
1948
- g(), s === !1 && c && c.disabled ? (h && this.togglePopup(u), this.applyState(u)) : this.applyInputValue(t.currentTarget.value, u, t.keyCode);
1949
- else if (!h && d === f.esc) {
1950
+ else if (h && (d === g.enter || d === g.esc))
1951
+ f(), s === !1 && c && c.disabled ? (h && this.togglePopup(u), this.applyState(u)) : this.applyInputValue(t.currentTarget.value, u, t.keyCode);
1952
+ else if (!h && d === g.esc) {
1950
1953
  const m = "";
1951
1954
  this._suggested = "", this.triggerOnChange(m, u), this.state.focusedItem !== void 0 && (u.data.focusedItem = void 0), this.applyState(u);
1952
- } else if (d === f.up || d === f.down) {
1955
+ } else if (d === g.up || d === g.down) {
1953
1956
  if (n !== "" && a)
1954
1957
  if (!this.props.skipDisabledItems && h)
1955
1958
  this.onNavigate(u, d);
1956
1959
  else {
1957
1960
  let m = 0;
1958
- if (d === f.down || d === f.right) {
1961
+ if (d === g.down || d === g.right) {
1959
1962
  const v = e.slice(p + 1).find((b) => !b.disabled && b[a]);
1960
1963
  m = v && e.findIndex((b) => b[a] === v[a]);
1961
- } else if (d === f.up || d === f.left) {
1964
+ } else if (d === g.up || d === g.left) {
1962
1965
  let v;
1963
1966
  if (p === -1)
1964
1967
  v = e, m = e.findIndex((b) => !b.disabled && b[a]);
@@ -1980,9 +1983,9 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
1980
1983
  this.onNavigate(u, d);
1981
1984
  else {
1982
1985
  let m = null;
1983
- if (d === f.down || d === f.right)
1986
+ if (d === g.down || d === g.right)
1984
1987
  m = e.slice(p + 1).find((v) => !v.disabled);
1985
- else if (d === f.up || d === f.left) {
1988
+ else if (d === g.up || d === g.left) {
1986
1989
  const v = e.slice(0, p);
1987
1990
  for (m = v.pop(); m && m.disabled; )
1988
1991
  m = v.pop();
@@ -1993,14 +1996,14 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
1993
1996
  } else
1994
1997
  this.onNavigate(u, d);
1995
1998
  }
1996
- this.applyState(u), g();
1999
+ this.applyState(u), f();
1997
2000
  }
1998
2001
  }, this.handleBlur = (t) => {
1999
2002
  if (this.state.focused) {
2000
2003
  const e = this.base.initState();
2001
2004
  e.data.focused = !1, e.events.push({ type: "onBlur" }), e.syntheticEvent = t, this.applyInputValue(t.currentTarget.value, e);
2002
2005
  }
2003
- }, We(Ue);
2006
+ }, $e(Ye);
2004
2007
  }
2005
2008
  get _inputId() {
2006
2009
  return this.props.id + "-accessibility-id";
@@ -2038,24 +2041,24 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2038
2041
  * @hidden
2039
2042
  */
2040
2043
  get validityStyles() {
2041
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : Wt.defaultProps.validityStyles;
2044
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : qt.defaultProps.validityStyles;
2042
2045
  }
2043
2046
  /**
2044
2047
  * @hidden
2045
2048
  */
2046
2049
  get required() {
2047
- return this.props.required !== void 0 ? this.props.required : Wt.defaultProps.required;
2050
+ return this.props.required !== void 0 ? this.props.required : qt.defaultProps.required;
2048
2051
  }
2049
2052
  /**
2050
2053
  * @hidden
2051
2054
  */
2052
2055
  componentDidUpdate(i, t) {
2053
- var g;
2056
+ var f;
2054
2057
  const { groupField: e = "", data: s = [] } = this.props, { data: n = [] } = i, a = this.focusedIndex(), p = s[a], c = n !== s, d = p !== void 0 && t.focusedItem !== p, r = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = i.opened !== void 0 ? i.opened : t.opened, u = !h && r;
2055
2058
  if (e === "")
2056
2059
  (r && (d || c) || u) && this.base.scrollToItem(a);
2057
2060
  else if (!this._isScrolling) {
2058
- let m = (g = this.base.getGroupedDataModernMode(s, e)) == null ? void 0 : g.indexOf(p);
2061
+ let m = (f = this.base.getGroupedDataModernMode(s, e)) == null ? void 0 : f.indexOf(p);
2059
2062
  u && (s && s.length !== 0 && this.base.resetGroupStickyHeader(s[0][e], this), this.base.scrollToItem(m)), r && h && d && this.base.scrollToItem(m);
2060
2063
  }
2061
2064
  this.setValidity();
@@ -2070,17 +2073,17 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2070
2073
  * @hidden
2071
2074
  */
2072
2075
  render() {
2073
- const { dir: i, disabled: t, label: e, className: s, style: n, loading: a, suggest: p, size: c, rounded: d, fillMode: r } = this.props, h = !this.validityStyles || this.validity.valid, u = this.base, g = this.value, m = this.props.clearButton !== !1 && !a && !!g, v = this.props.id || this._inputId;
2076
+ const { dir: i, disabled: t, label: e, className: s, style: n, loading: a, suggest: p, size: c, rounded: d, fillMode: r } = this.props, h = !this.validityStyles || this.validity.valid, u = this.base, f = this.value, m = this.props.clearButton !== !1 && !a && !!f, v = this.props.id || this._inputId;
2074
2077
  typeof p == "string" && (this._suggested = p);
2075
- const b = /* @__PURE__ */ o.createElement(
2078
+ const [b, w] = Ne(this.props.prefix || o.Fragment), [k, D] = Ne(this.props.suffix || o.Fragment), O = /* @__PURE__ */ o.createElement(
2076
2079
  "span",
2077
2080
  {
2078
2081
  className: B(
2079
2082
  "k-autocomplete k-input",
2080
2083
  s,
2081
2084
  {
2082
- [`k-input-${ls[c] || c}`]: c,
2083
- [`k-rounded-${ni[d] || d}`]: d,
2085
+ [`k-input-${rs[c] || c}`]: c,
2086
+ [`k-rounded-${li[d] || d}`]: d,
2084
2087
  [`k-input-${r}`]: r,
2085
2088
  "k-invalid": !h,
2086
2089
  "k-loading": a,
@@ -2088,35 +2091,37 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2088
2091
  "k-disabled": t
2089
2092
  }
2090
2093
  ),
2091
- ref: (w) => {
2092
- this._element = w, u.wrapper = w;
2094
+ ref: (N) => {
2095
+ this._element = N, u.wrapper = N;
2093
2096
  },
2094
2097
  style: e ? { ...n, width: void 0 } : n,
2095
2098
  dir: i
2096
2099
  },
2097
- this.renderSearchBar(g || "", v),
2098
- a && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
2099
- m && !a && /* @__PURE__ */ o.createElement(lt, { onClick: this.clearButtonClick, key: "clearbutton" }),
2100
+ this.props.prefix && /* @__PURE__ */ o.createElement(b, { ...w }),
2101
+ this.renderSearchBar(f || "", v),
2102
+ a && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2103
+ m && !a && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick, key: "clearbutton" }),
2104
+ this.props.suffix && /* @__PURE__ */ o.createElement(k, { ...D }),
2100
2105
  this.renderListContainer()
2101
2106
  );
2102
2107
  return e ? /* @__PURE__ */ o.createElement(
2103
- $e,
2108
+ Ue,
2104
2109
  {
2105
2110
  label: e,
2106
2111
  editorId: v,
2107
- editorValue: g,
2112
+ editorValue: f,
2108
2113
  editorValid: h,
2109
2114
  editorDisabled: t,
2110
2115
  style: { width: n ? n.width : void 0 },
2111
- children: b
2116
+ children: O
2112
2117
  }
2113
- ) : b;
2118
+ ) : O;
2114
2119
  }
2115
2120
  /**
2116
2121
  * @hidden
2117
2122
  */
2118
2123
  onNavigate(i, t, e) {
2119
- const s = this.value, { data: n = [], textField: a, focusedItemIndex: p } = this.props, c = this.state.focusedItem !== void 0 ? n.findIndex((r) => R(r, this.state.focusedItem, a)) : p ? p(n, s, a) : n.indexOf(as(n, s, a)), d = this.base.navigation.navigate({
2124
+ const s = this.value, { data: n = [], textField: a, focusedItemIndex: p } = this.props, c = this.state.focusedItem !== void 0 ? n.findIndex((r) => R(r, this.state.focusedItem, a)) : p ? p(n, s, a) : n.indexOf(ls(n, s, a)), d = this.base.navigation.navigate({
2120
2125
  keyCode: t,
2121
2126
  current: c,
2122
2127
  max: n.length - 1,
@@ -2130,7 +2135,7 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2130
2135
  */
2131
2136
  applyInputValue(i, t, e) {
2132
2137
  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];
2133
- if (this._suggested = "", s && e === f.enter && c && !c.disabled) {
2138
+ if (this._suggested = "", s && e === g.enter && c && !c.disabled) {
2134
2139
  const d = V(n[this.focusedIndex(i)], a);
2135
2140
  this.triggerOnChange(d, t);
2136
2141
  }
@@ -2139,7 +2144,7 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2139
2144
  renderSearchBar(i, t) {
2140
2145
  const e = this.base, { placeholder: s, tabIndex: n, disabled: a, readonly: p } = this.props, { focused: c } = this.state, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
2141
2146
  return /* @__PURE__ */ o.createElement(
2142
- Zt,
2147
+ es,
2143
2148
  {
2144
2149
  id: t,
2145
2150
  placeholder: s,
@@ -2178,9 +2183,9 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2178
2183
  list: c,
2179
2184
  groupStickyHeaderItemRender: d
2180
2185
  } = this.props, r = i.getPopupSettings(), h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, u = r.width !== void 0 ? r.width : i.popupWidth;
2181
- let { group: g } = this.state;
2182
- return g === void 0 && p !== void 0 && (g = V(n[0], p)), /* @__PURE__ */ o.createElement(
2183
- Et,
2186
+ let { group: f } = this.state;
2187
+ return f === void 0 && p !== void 0 && (f = V(n[0], p)), /* @__PURE__ */ o.createElement(
2188
+ Ft,
2184
2189
  {
2185
2190
  width: u,
2186
2191
  popupSettings: {
@@ -2205,11 +2210,11 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2205
2210
  className: B(
2206
2211
  "k-list",
2207
2212
  {
2208
- [`k-list-${ls[a] || a}`]: a
2213
+ [`k-list-${rs[a] || a}`]: a
2209
2214
  }
2210
2215
  )
2211
2216
  },
2212
- !c && g && n.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: g, groupMode: "modern", render: d }),
2217
+ !c && f && n.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: "modern", render: d }),
2213
2218
  this.renderList()
2214
2219
  ),
2215
2220
  s && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, s)
@@ -2224,7 +2229,7 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2224
2229
  groupHeaderItemRender: p
2225
2230
  } = this.props, c = this.value, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened;
2226
2231
  return /* @__PURE__ */ o.createElement(
2227
- Ge,
2232
+ je,
2228
2233
  {
2229
2234
  id: i.listBoxId,
2230
2235
  show: d,
@@ -2257,7 +2262,7 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2257
2262
  }
2258
2263
  suggestValue(i) {
2259
2264
  if (this._suggested = "", i) {
2260
- const { data: t = [], textField: e } = this.props, s = t[Ve(t, i, e)];
2265
+ const { data: t = [], textField: e } = this.props, s = t[Be(t, i, e)];
2261
2266
  if (s) {
2262
2267
  const n = V(s, e);
2263
2268
  i.toLowerCase() !== n.toLowerCase() && (this._suggested = n.substring(i.length));
@@ -2271,15 +2276,15 @@ const ii = "Please enter a valid value!", { sizeMap: ls, roundedMap: ni } = qe,
2271
2276
  if (s)
2272
2277
  return s(t, a, e);
2273
2278
  {
2274
- const p = t.indexOf(as(t, a, e));
2279
+ const p = t.indexOf(ls(t, a, e));
2275
2280
  return n && e && p === -1 ? t.findIndex((c) => !c.disabled && c[e]) : Math.max(0, p);
2276
2281
  }
2277
2282
  }
2278
2283
  };
2279
- let Tt = Wt;
2280
- Tt.displayName = "AutoComplete";
2281
- Tt.propTypes = {
2282
- ...ie.basicPropTypes,
2284
+ let Mt = qt;
2285
+ Mt.displayName = "AutoComplete";
2286
+ Mt.propTypes = {
2287
+ ...oe.basicPropTypes,
2283
2288
  size: l.oneOf([null, "small", "medium", "large"]),
2284
2289
  rounded: l.oneOf([null, "small", "medium", "large", "full"]),
2285
2290
  fillMode: l.oneOf([null, "solid", "flat", "outline"]),
@@ -2299,17 +2304,19 @@ Tt.propTypes = {
2299
2304
  list: l.any,
2300
2305
  skipDisabledItems: l.bool
2301
2306
  };
2302
- Tt.defaultProps = {
2303
- ...ie.defaultProps,
2307
+ Mt.defaultProps = {
2308
+ ...oe.defaultProps,
2304
2309
  size: "medium",
2305
2310
  rounded: "medium",
2306
2311
  fillMode: "solid",
2307
- skipDisabledItems: !0
2312
+ skipDisabledItems: !0,
2313
+ prefix: void 0,
2314
+ suffix: void 0
2308
2315
  };
2309
- const oi = Be(), ai = St(wt(oi, Tt));
2310
- ai.displayName = "KendoReactAutoComplete";
2311
- const li = (i) => i.syntheticEvent.preventDefault(), ri = (i) => i.syntheticEvent.stopPropagation();
2312
- class Is extends o.Component {
2316
+ const ri = Ke(), di = Et(Dt(ri, Mt));
2317
+ di.displayName = "KendoReactAutoComplete";
2318
+ const ci = (i) => i.syntheticEvent.preventDefault(), pi = (i) => i.syntheticEvent.stopPropagation();
2319
+ class xs extends o.Component {
2313
2320
  render() {
2314
2321
  const { data: t, guid: e, focused: s, tagRender: n, tag: a, onTagDelete: p, size: c } = this.props;
2315
2322
  return /* @__PURE__ */ o.createElement(o.Fragment, null, t.map((d, r) => {
@@ -2323,7 +2330,7 @@ class Is extends o.Component {
2323
2330
  onTagDelete: p
2324
2331
  }
2325
2332
  ) : /* @__PURE__ */ o.createElement(
2326
- Rs,
2333
+ Bs,
2327
2334
  {
2328
2335
  id: `tag-${e}-${d.text.replace(/\s+/g, "-")}`,
2329
2336
  "aria-selected": !0,
@@ -2333,8 +2340,8 @@ class Is extends o.Component {
2333
2340
  text: d.text,
2334
2341
  removable: !0,
2335
2342
  onRemove: (u) => p.call(void 0, d.data, u.syntheticEvent),
2336
- onMouseDown: li,
2337
- onClick: ri,
2343
+ onMouseDown: ci,
2344
+ onClick: pi,
2338
2345
  className: d === s ? "k-focus" : void 0,
2339
2346
  size: c
2340
2347
  }
@@ -2343,8 +2350,8 @@ class Is extends o.Component {
2343
2350
  }), this.props.children);
2344
2351
  }
2345
2352
  }
2346
- var tt = /* @__PURE__ */ ((i) => (i[i.PopupList = 0] = "PopupList", i[i.TagsList = 1] = "TagsList", i))(tt || {});
2347
- const rs = 500, es = (i) => {
2353
+ var it = /* @__PURE__ */ ((i) => (i[i.PopupList = 0] = "PopupList", i[i.TagsList = 1] = "TagsList", i))(it || {});
2354
+ const ds = 500, ts = (i) => {
2348
2355
  const {
2349
2356
  footer: t,
2350
2357
  children: e,
@@ -2362,10 +2369,10 @@ const rs = 500, es = (i) => {
2362
2369
  expand: p,
2363
2370
  animation: c !== !1,
2364
2371
  onClose: d,
2365
- animationStyles: s <= rs ? { top: 0, width: "100%", height: "100%" } : void 0,
2366
- className: s <= rs ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
2372
+ animationStyles: s <= ds ? { top: 0, width: "100%", height: "100%" } : void 0,
2373
+ className: s <= ds ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom"
2367
2374
  };
2368
- return /* @__PURE__ */ o.createElement(Yt, { ...u }, /* @__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(
2375
+ return /* @__PURE__ */ o.createElement(Jt, { ...u }, /* @__PURE__ */ o.createElement(Qt, { className: "k-text-center" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ o.createElement("div", null, r)), /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ o.createElement(
2369
2376
  Te,
2370
2377
  {
2371
2378
  tabIndex: 0,
@@ -2374,10 +2381,10 @@ const rs = 500, es = (i) => {
2374
2381
  type: "button",
2375
2382
  fillMode: "flat",
2376
2383
  icon: "x",
2377
- svgIcon: ot,
2384
+ svgIcon: lt,
2378
2385
  onClick: d
2379
2386
  }
2380
- ))), 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(
2387
+ ))), h && /* @__PURE__ */ o.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, h)), e, t && /* @__PURE__ */ o.createElement(Ks, { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ o.createElement(
2381
2388
  Te,
2382
2389
  {
2383
2390
  size: "large",
@@ -2401,12 +2408,12 @@ const rs = 500, es = (i) => {
2401
2408
  },
2402
2409
  t.applyText
2403
2410
  )));
2404
- }, { sizeMap: bt, roundedMap: di } = qe, ci = "Please enter a valid value!", ds = (i) => i.preventDefault(), cs = (i) => i === 2, qt = class extends o.Component {
2411
+ }, { sizeMap: It, roundedMap: hi } = Ge, ui = "Please enter a valid value!", cs = (i) => i.preventDefault(), ps = (i) => i === 2, $t = class extends o.Component {
2405
2412
  constructor(i) {
2406
2413
  super(i), this.state = {
2407
- activedescendant: tt.PopupList,
2414
+ activedescendant: it.PopupList,
2408
2415
  currentValue: []
2409
- }, 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 = () => {
2416
+ }, this._element = null, this._valueItemsDuringOnChange = null, this.base = new oe(this), this._tags = [], this._input = null, this._adaptiveInput = null, this._skipFocusEvent = !1, this._lastSelectedOrDeslectedItemIndex = null, this.itemHeight = 0, this.scrollToFocused = !1, this.localization = null, this.focus = () => {
2410
2417
  this._input && this._input.focus();
2411
2418
  }, this.handleItemSelect = (t, e) => {
2412
2419
  const { data: s = [], dataItemKey: n, virtual: a } = this.props, p = a ? a.skip : 0, c = s[t - p], d = this.value.findIndex((u) => R(u, c, n));
@@ -2417,10 +2424,10 @@ const rs = 500, es = (i) => {
2417
2424
  const s = this.base.initState();
2418
2425
  s.syntheticEvent = e, this.opened && this.base.togglePopup(s), !this.state.focused && !this.mobileMode && (s.data.focused = !0, this.focus());
2419
2426
  const n = this.value;
2420
- mt(n, t, this.props.dataItemKey), this.triggerOnChange(n, s), this.applyState(s);
2427
+ bt(n, t, this.props.dataItemKey), this.triggerOnChange(n, s), this.applyState(s);
2421
2428
  }, this.itemFocus = (t, e) => {
2422
2429
  const { data: s = [], allowCustom: n, virtual: a } = this.props, p = a ? a.skip : 0, c = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedIndex: d } = this.getFocusedState(), r = n && c, h = s[t - p];
2423
- 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);
2430
+ h && d !== t ? this.state.focusedIndex !== t && (e.data.focusedIndex = t, e.data.activedescendant = it.PopupList) : r && t === -1 && this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.base.triggerPageChangeCornerItems(h, e);
2424
2431
  }, this.componentRef = (t) => {
2425
2432
  this._element = t, this.base.wrapper = t;
2426
2433
  }, this.searchbarRef = (t) => {
@@ -2433,121 +2440,121 @@ const rs = 500, es = (i) => {
2433
2440
  const e = this.base.initState();
2434
2441
  e.syntheticEvent = t, t.stopPropagation(), this.value.length > 0 && this.triggerOnChange([], e), this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.opened && this.base.togglePopup(e);
2435
2442
  const s = this.props.filter !== void 0 ? this.props.filter : this.state.text;
2436
- G(s) && s !== "" && this.base.filterChanged("", e), this.state.text && (e.data.text = ""), this._lastSelectedOrDeslectedItemIndex = null, this.applyState(e);
2443
+ U(s) && s !== "" && this.base.filterChanged("", e), this.state.text && (e.data.text = ""), this._lastSelectedOrDeslectedItemIndex = null, this.applyState(e);
2437
2444
  }, this.onInputKeyDown = (t) => {
2438
2445
  const { data: e = [], textField: s, groupField: n } = this.props, a = t.keyCode, p = this.props.filter !== void 0 ? this.props.filter : this.state.text, c = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { focusedItem: d, focusedIndex: r } = this.getFocusedState(), h = this.base.initState();
2439
- if (h.syntheticEvent = t, !p && this.value.length > 0 && (a === f.left || a === f.right || a === f.home || a === f.end || a === f.delete || a === f.backspace) && !t.shiftKey)
2446
+ if (h.syntheticEvent = t, !p && this.value.length > 0 && (a === g.left || a === g.right || a === g.home || a === g.end || a === g.delete || a === g.backspace) && !t.shiftKey)
2440
2447
  return this.onTagsNavigate(t, h);
2441
2448
  const u = () => {
2442
2449
  t.preventDefault(), this.base.togglePopup(h), this.applyState(h);
2443
2450
  };
2444
2451
  if (this.opened)
2445
- if (a === f.pageUp)
2452
+ if (a === g.pageUp)
2446
2453
  this.base.scrollPopupByPageSize(-1);
2447
- else if (a === f.pageDown)
2454
+ else if (a === g.pageDown)
2448
2455
  this.base.scrollPopupByPageSize(1);
2449
2456
  else if ((t.ctrlKey || t.metaKey) && t.code === "KeyA") {
2450
2457
  const m = (this.state.value && this.state.value.length) === e.length ? [] : e;
2451
2458
  this.updateStateOnKeyboardNavigation(m, h);
2452
- } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === f.end) {
2453
- const g = e.slice(this.getFocusedState().focusedIndex);
2454
- this.itemFocus(e.length - 1, h), this.updateStateOnKeyboardNavigation(g, h);
2455
- } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === f.home) {
2456
- const g = e.slice(0, this.getFocusedState().focusedIndex + 1);
2457
- this.itemFocus(0, h), this.updateStateOnKeyboardNavigation(g, h);
2458
- } else if (t.shiftKey && t.keyCode === f.up) {
2459
- let g;
2459
+ } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === g.end) {
2460
+ const f = e.slice(this.getFocusedState().focusedIndex);
2461
+ this.itemFocus(e.length - 1, h), this.updateStateOnKeyboardNavigation(f, h);
2462
+ } else if ((t.ctrlKey || t.metaKey) && t.shiftKey && t.keyCode === g.home) {
2463
+ const f = e.slice(0, this.getFocusedState().focusedIndex + 1);
2464
+ this.itemFocus(0, h), this.updateStateOnKeyboardNavigation(f, h);
2465
+ } else if (t.shiftKey && t.keyCode === g.up) {
2466
+ let f;
2460
2467
  const m = this.getLastSelectedOrDeselectedIndex(1, r);
2461
- m === null ? g = r !== 0 ? e.slice(r - 1, r) : [e[r]] : m === r ? g = [e[m - 1]] : r >= 0 && (g = m > r ? e.slice(r - 1, m) : e.slice(m - 1, r)), g && g.length > 0 && (r >= 1 && this.itemFocus(r - 1, h), this.updateStateOnKeyboardNavigation(g, h));
2462
- } else if (t.shiftKey && t.keyCode === f.down) {
2463
- let g;
2468
+ m === null ? f = r !== 0 ? e.slice(r - 1, r) : [e[r]] : m === r ? f = [e[m - 1]] : r >= 0 && (f = m > r ? e.slice(r - 1, m) : e.slice(m - 1, r)), f && f.length > 0 && (r >= 1 && this.itemFocus(r - 1, h), this.updateStateOnKeyboardNavigation(f, h));
2469
+ } else if (t.shiftKey && t.keyCode === g.down) {
2470
+ let f;
2464
2471
  const m = this.getLastSelectedOrDeselectedIndex(0, r);
2465
- m === null ? g = r !== e.length - 1 ? e.slice(r, r + 1) : [e[r]] : m === r ? g = e.slice(r, r + 2) : r >= 0 && (g = m > r ? e.slice(r + 1, m + 1) : e.slice(m, r + 2)), g && g.length >= 1 && (this.itemFocus(r + 1, h), this.updateStateOnKeyboardNavigation(g, h));
2466
- } else if (t.altKey && a === f.up)
2472
+ m === null ? f = r !== e.length - 1 ? e.slice(r, r + 1) : [e[r]] : m === r ? f = e.slice(r, r + 2) : r >= 0 && (f = m > r ? e.slice(r + 1, m + 1) : e.slice(m, r + 2)), f && f.length >= 1 && (this.itemFocus(r + 1, h), this.updateStateOnKeyboardNavigation(f, h));
2473
+ } else if (t.altKey && a === g.up)
2467
2474
  u();
2468
- else if (a === f.up || a === f.down) {
2475
+ else if (a === g.up || a === g.down) {
2469
2476
  if (n !== "" && s)
2470
2477
  if (!this.props.skipDisabledItems && c)
2471
2478
  this.onNavigate(h, a);
2472
2479
  else {
2473
- let g = 0;
2474
- if (a === f.down || a === f.right) {
2480
+ let f = 0;
2481
+ if (a === g.down || a === g.right) {
2475
2482
  const m = e.slice(r + 1).find((v) => !v.disabled && v[s]);
2476
- g = m && e.findIndex((v) => v[s] === m[s]);
2477
- } else if (a === f.up || a === f.left) {
2483
+ f = m && e.findIndex((v) => v[s] === m[s]);
2484
+ } else if (a === g.up || a === g.left) {
2478
2485
  let m;
2479
2486
  if (r === -1)
2480
- m = e, g = e.findIndex((v) => !v.disabled && v[s]);
2487
+ m = e, f = e.findIndex((v) => !v.disabled && v[s]);
2481
2488
  else {
2482
2489
  m = e.slice(0, r);
2483
2490
  let v = m.pop();
2484
2491
  for (; v && v.disabled; )
2485
2492
  v = m.pop();
2486
- g = v && e.findIndex((b) => b[s] === v[s]);
2493
+ f = v && e.findIndex((b) => b[s] === v[s]);
2487
2494
  }
2488
2495
  }
2489
- if (g) {
2490
- const m = g - r;
2496
+ if (f) {
2497
+ const m = f - r;
2491
2498
  this.onNavigate(h, a, m);
2492
2499
  } else
2493
- g !== void 0 && this.onNavigate(h, a);
2500
+ f !== void 0 && this.onNavigate(h, a);
2494
2501
  }
2495
2502
  else if (!this.props.skipDisabledItems && c)
2496
2503
  this.onNavigate(h, a);
2497
2504
  else {
2498
- let g = null;
2499
- if (a === f.down || a === f.right)
2500
- g = e.slice(r + 1).find((m) => !m.disabled);
2501
- else if (a === f.up || a === f.left) {
2505
+ let f = null;
2506
+ if (a === g.down || a === g.right)
2507
+ f = e.slice(r + 1).find((m) => !m.disabled);
2508
+ else if (a === g.up || a === g.left) {
2502
2509
  const m = e.slice(0, r);
2503
- for (g = m.pop(); g && g.disabled; )
2504
- g = m.pop();
2510
+ for (f = m.pop(); f && f.disabled; )
2511
+ f = m.pop();
2505
2512
  }
2506
- if (g) {
2507
- const m = g.id - r - 1;
2513
+ if (f) {
2514
+ const m = f.id - r - 1;
2508
2515
  this.onNavigate(h, a, m);
2509
2516
  } else
2510
2517
  this.onNavigate(h, a);
2511
2518
  }
2512
2519
  this.applyState(h), t.preventDefault();
2513
2520
  } else
2514
- a === f.enter ? (t.preventDefault(), this.props.allowCustom && p && d === null ? this.customItemSelect(t) : d && d.disabled ? u() : this.selectFocusedItem(t)) : a === f.esc && u();
2521
+ a === g.enter ? (t.preventDefault(), this.props.allowCustom && p && d === null ? this.customItemSelect(t) : d && d.disabled ? u() : this.selectFocusedItem(t)) : a === g.esc && u();
2515
2522
  else
2516
- t.altKey && a === f.down && u();
2523
+ t.altKey && a === g.down && u();
2517
2524
  }, this.listContainerContent = () => {
2518
2525
  const { header: t, footer: e, allowCustom: s, size: n, data: a = [], groupStickyHeaderItemRender: p, groupField: c, list: d } = this.props, r = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedType: h } = this.getFocusedState(), u = s && r && /* @__PURE__ */ o.createElement(
2519
2526
  "div",
2520
2527
  {
2521
2528
  className: B("k-list", {
2522
- [`k-list-${bt[n] || n}`]: n
2529
+ [`k-list-${It[n] || n}`]: n
2523
2530
  }),
2524
2531
  key: "customitem",
2525
2532
  onClick: this.customItemSelect,
2526
- onMouseDown: ds
2533
+ onMouseDown: cs
2527
2534
  },
2528
2535
  /* @__PURE__ */ o.createElement(
2529
2536
  "div",
2530
2537
  {
2531
- className: B("k-list-item k-custom-item", { "k-focus": cs(h) }),
2538
+ className: B("k-list-item k-custom-item", { "k-focus": ps(h) }),
2532
2539
  style: { fontStyle: "italic" }
2533
2540
  },
2534
2541
  r,
2535
- /* @__PURE__ */ o.createElement(ke, { name: "plus", icon: Ns, style: { position: "absolute", right: "0.5em" } })
2542
+ /* @__PURE__ */ o.createElement(Ce, { name: "plus", icon: Ps, style: { position: "absolute", right: "0.5em" } })
2536
2543
  )
2537
2544
  );
2538
- let { group: g } = this.state;
2539
- 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(
2545
+ let { group: f } = this.state;
2546
+ return f === void 0 && c !== void 0 && (f = V(a[0], c)), /* @__PURE__ */ o.createElement(o.Fragment, null, t && /* @__PURE__ */ o.createElement("div", { className: "k-list-header" }, t), u, /* @__PURE__ */ o.createElement(
2540
2547
  "div",
2541
2548
  {
2542
2549
  className: B(
2543
2550
  "k-list",
2544
2551
  {
2545
- [`k-list-${this.mobileMode ? "lg" : bt[n] || n}`]: n,
2552
+ [`k-list-${this.mobileMode ? "lg" : It[n] || n}`]: n,
2546
2553
  "k-virtual-list": this.base.vs.enabled
2547
2554
  }
2548
2555
  )
2549
2556
  },
2550
- !d && g && a.length !== 0 && /* @__PURE__ */ o.createElement(Ae, { group: g, groupMode: "modern", render: p }),
2557
+ !d && f && a.length !== 0 && /* @__PURE__ */ o.createElement(qe, { group: f, groupMode: "modern", render: p }),
2551
2558
  this.renderList()
2552
2559
  ), e && /* @__PURE__ */ o.createElement("div", { className: "k-list-footer" }, e));
2553
2560
  }, this.renderListContainer = () => {
@@ -2570,12 +2577,12 @@ const rs = 500, es = (i) => {
2570
2577
  },
2571
2578
  itemsCount: [s.length, this.value.length]
2572
2579
  };
2573
- return /* @__PURE__ */ o.createElement(Et, { ...p }, this.listContainerContent());
2580
+ return /* @__PURE__ */ o.createElement(Ft, { ...p }, this.listContainerContent());
2574
2581
  }, this.renderAdaptiveListContainer = () => {
2575
2582
  const { adaptiveTitle: t, filterable: e, filter: s } = this.props, { windowWidth: n = 0 } = this.state, a = s !== void 0 ? s : this.state.text;
2576
- this.localization = He(this);
2583
+ this.localization = We(this);
2577
2584
  const p = e ? /* @__PURE__ */ o.createElement(
2578
- Re,
2585
+ Ve,
2579
2586
  {
2580
2587
  value: a,
2581
2588
  ref: (d) => this._adaptiveInput = d && d.element,
@@ -2592,23 +2599,23 @@ const rs = 500, es = (i) => {
2592
2599
  windowWidth: n,
2593
2600
  mobileFilter: p,
2594
2601
  footer: {
2595
- cancelText: this.localization.toLanguageString(nt, le[nt]),
2602
+ cancelText: this.localization.toLanguageString(at, ce[at]),
2596
2603
  onCancel: this.onCancel,
2597
- applyText: this.localization.toLanguageString(it, le[it]),
2604
+ applyText: this.localization.toLanguageString(ot, ce[ot]),
2598
2605
  onApply: this.closePopup
2599
2606
  }
2600
2607
  };
2601
- return /* @__PURE__ */ o.createElement(es, { ...c }, /* @__PURE__ */ o.createElement(at, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, this.listContainerContent())));
2608
+ return /* @__PURE__ */ o.createElement(ts, { ...c }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, this.listContainerContent())));
2602
2609
  }, this.closePopup = (t) => {
2603
2610
  const e = this.base.initState();
2604
2611
  e.syntheticEvent = t, t.stopPropagation(), this.state.focusedIndex !== void 0 && (e.data.focusedIndex = void 0), this.opened && this.base.togglePopup(e), e.events.push({ type: "onClose" });
2605
2612
  const s = this.props.filter !== void 0 ? this.props.filter : this.state.text;
2606
- G(s) && s !== "" && this.base.filterChanged("", e), this.state.text && (e.data.text = ""), this.applyState(e);
2613
+ U(s) && s !== "" && this.base.filterChanged("", e), this.state.text && (e.data.text = ""), this.applyState(e);
2607
2614
  }, this.onCancel = (t) => {
2608
2615
  const e = this.base.initState();
2609
2616
  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: "onCancel" });
2610
2617
  const s = this.props.filter !== void 0 ? this.props.filter : this.state.text;
2611
- G(s) && s !== "" && this.base.filterChanged("", e), this.state.text && (e.data.text = ""), this.applyState(e);
2618
+ U(s) && s !== "" && this.base.filterChanged("", e), this.state.text && (e.data.text = ""), this.applyState(e);
2612
2619
  }, this.renderList = () => {
2613
2620
  const {
2614
2621
  data: t = [],
@@ -2620,7 +2627,7 @@ const rs = 500, es = (i) => {
2620
2627
  virtual: c = { skip: 0, total: void 0 }
2621
2628
  } = this.props, d = this.base.vs, { focusedIndex: r } = this.getFocusedState(), h = this.base.getPopupSettings(), u = `translateY(${d.translate}px)`;
2622
2629
  return /* @__PURE__ */ o.createElement(
2623
- Ge,
2630
+ je,
2624
2631
  {
2625
2632
  id: this.base.listBoxId,
2626
2633
  show: this.opened,
@@ -2632,8 +2639,8 @@ const rs = 500, es = (i) => {
2632
2639
  optionsGuid: this.base.guid,
2633
2640
  groupField: this.props.groupField,
2634
2641
  groupMode: "modern",
2635
- listRef: (g) => {
2636
- d.list = this.base.list = g;
2642
+ listRef: (f) => {
2643
+ d.list = this.base.list = f;
2637
2644
  },
2638
2645
  wrapperStyle: this.mobileMode ? {} : { maxHeight: h.height },
2639
2646
  wrapperCssClass: "k-list-content",
@@ -2644,7 +2651,7 @@ const rs = 500, es = (i) => {
2644
2651
  itemRender: n,
2645
2652
  groupHeaderItemRender: a,
2646
2653
  noDataRender: s,
2647
- onMouseDown: ds,
2654
+ onMouseDown: cs,
2648
2655
  onBlur: this.handleBlur,
2649
2656
  onScroll: this.onScroll,
2650
2657
  wrapperRef: d.scrollerRef,
@@ -2700,15 +2707,15 @@ const rs = 500, es = (i) => {
2700
2707
  }, 0);
2701
2708
  }, this.setValidity = () => {
2702
2709
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
2703
- this.validity.valid ? "" : this.props.validationMessage || ci
2710
+ this.validity.valid ? "" : this.props.validationMessage || ui
2704
2711
  );
2705
- }, We(Ue);
2712
+ }, $e(Ye);
2706
2713
  }
2707
2714
  get _inputId() {
2708
2715
  return this.props.id;
2709
2716
  }
2710
2717
  get document() {
2711
- if (Fe)
2718
+ if (Me)
2712
2719
  return this.element && this.element.ownerDocument || document;
2713
2720
  }
2714
2721
  /** @hidden */
@@ -2731,7 +2738,7 @@ const rs = 500, es = (i) => {
2731
2738
  * The mobile mode of the ComboBox.
2732
2739
  */
2733
2740
  get mobileMode() {
2734
- return !!(this.state.windowWidth && this.state.windowWidth <= Se && this.props.adaptive);
2741
+ return !!(this.state.windowWidth && this.state.windowWidth <= we && this.props.adaptive);
2735
2742
  }
2736
2743
  /**
2737
2744
  * Represents the value of the MultiSelect.
@@ -2759,10 +2766,10 @@ const rs = 500, es = (i) => {
2759
2766
  }
2760
2767
  /** @hidden */
2761
2768
  get required() {
2762
- return this.props.required !== void 0 ? this.props.required : qt.defaultProps.required;
2769
+ return this.props.required !== void 0 ? this.props.required : $t.defaultProps.required;
2763
2770
  }
2764
2771
  get validityStyles() {
2765
- return this.props.validityStyles !== void 0 ? this.props.validityStyles : qt.defaultProps.validityStyles;
2772
+ return this.props.validityStyles !== void 0 ? this.props.validityStyles : $t.defaultProps.validityStyles;
2766
2773
  }
2767
2774
  /** @hidden */
2768
2775
  componentDidUpdate(i, t) {
@@ -2771,15 +2778,15 @@ const rs = 500, es = (i) => {
2771
2778
  if (!this.base.getPopupSettings().animate && r && this.onPopupClosed(), e && e.total !== p)
2772
2779
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
2773
2780
  else {
2774
- let { focusedItem: g, focusedIndex: m } = this.getFocusedState();
2775
- s !== "" && (m = (u = this.base.getGroupedDataModernMode(n, s)) == null ? void 0 : u.indexOf(g)), d && e ? this.base.scrollToVirtualItem(e, m - a) : d && !e ? (n && n.length !== 0 && this.base.resetGroupStickyHeader(n[0][s], this), this.base.scrollToItem(m)) : this.opened && c && g && this.scrollToFocused && this.base.scrollToItem(m - a);
2781
+ let { focusedItem: f, focusedIndex: m } = this.getFocusedState();
2782
+ s !== "" && (m = (u = this.base.getGroupedDataModernMode(n, s)) == null ? void 0 : u.indexOf(f)), d && e ? this.base.scrollToVirtualItem(e, m - a) : d && !e ? (n && n.length !== 0 && this.base.resetGroupStickyHeader(n[0][s], this), this.base.scrollToItem(m)) : this.opened && c && f && this.scrollToFocused && this.base.scrollToItem(m - a);
2776
2783
  }
2777
2784
  this.scrollToFocused = !1, this.setValidity();
2778
2785
  }
2779
2786
  /** @hidden */
2780
2787
  componentDidMount() {
2781
2788
  var i;
2782
- 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);
2789
+ 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);
2783
2790
  }
2784
2791
  /** @hidden */
2785
2792
  componentWillUnmount() {
@@ -2788,18 +2795,18 @@ const rs = 500, es = (i) => {
2788
2795
  }
2789
2796
  /** @hidden */
2790
2797
  onNavigate(i, t, e) {
2791
- const { allowCustom: s, data: n = [] } = this.props, a = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedType: p, focusedIndex: c } = this.getFocusedState(), d = s && a, r = cs(p), h = this.base, u = h.vs;
2792
- if (this.opened && t === f.up && r)
2798
+ const { allowCustom: s, data: n = [] } = this.props, a = this.props.filter !== void 0 ? this.props.filter : this.state.text, { focusedType: p, focusedIndex: c } = this.getFocusedState(), d = s && a, r = ps(p), h = this.base, u = h.vs;
2799
+ if (this.opened && t === g.up && r)
2793
2800
  this.state.focusedIndex !== void 0 && (i.data.focusedIndex = void 0);
2794
2801
  else {
2795
- const g = h.navigation.navigate({
2802
+ const f = h.navigation.navigate({
2796
2803
  keyCode: t,
2797
2804
  current: c,
2798
2805
  max: (u.enabled ? u.total : n.length) - 1,
2799
2806
  min: d ? -1 : 0,
2800
2807
  skipItems: e || void 0
2801
2808
  });
2802
- g !== void 0 && (this.itemFocus(g, i), this.scrollToFocused = !0);
2809
+ f !== void 0 && (this.itemFocus(f, i), this.scrollToFocused = !0);
2803
2810
  }
2804
2811
  this.applyState(i);
2805
2812
  }
@@ -2818,21 +2825,21 @@ const rs = 500, es = (i) => {
2818
2825
  rounded: r,
2819
2826
  fillMode: h,
2820
2827
  loading: u,
2821
- filter: g
2822
- } = this.props, { text: m, focused: v, focusedTag: b, currentValue: w } = this.state, S = this.base.vs, D = this.props.id || this._inputId;
2823
- S.enabled = c !== void 0, c !== void 0 && (S.skip = c.skip, S.total = c.total, S.pageSize = c.pageSize);
2824
- const N = this.mobileMode && this.opened ? w : this.tagsToRender;
2828
+ filter: f
2829
+ } = this.props, { text: m, focused: v, focusedTag: b, currentValue: w } = this.state, k = this.base.vs, D = this.props.id || this._inputId;
2830
+ k.enabled = c !== void 0, c !== void 0 && (k.skip = c.skip, k.total = c.total, k.pageSize = c.pageSize);
2831
+ const O = this.mobileMode && this.opened ? w : this.tagsToRender;
2825
2832
  this.setItems(this.tagsToRender, this._tags);
2826
- const O = !this.validityStyles || this.validity.valid, _ = !!(g !== void 0 ? g : m) || N && N.length > 0, C = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
2833
+ const N = !this.validityStyles || this.validity.valid, _ = !!(f !== void 0 ? f : m) || O && O.length > 0, [S, T] = Ne(this.props.prefix || o.Fragment), [C, E] = Ne(this.props.suffix || o.Fragment), M = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
2827
2834
  "div",
2828
2835
  {
2829
2836
  ref: this.componentRef,
2830
2837
  className: B("k-multiselect k-input", t, {
2831
- [`k-input-${bt[d] || d}`]: d,
2832
- [`k-rounded-${di[r] || r}`]: r,
2838
+ [`k-input-${It[d] || d}`]: d,
2839
+ [`k-rounded-${hi[r] || r}`]: r,
2833
2840
  [`k-input-${h}`]: h,
2834
2841
  "k-focus": v && !n,
2835
- "k-invalid": !O,
2842
+ "k-invalid": !N,
2836
2843
  "k-disabled": n,
2837
2844
  "k-loading": u,
2838
2845
  "k-required": this.required
@@ -2842,51 +2849,53 @@ const rs = 500, es = (i) => {
2842
2849
  onFocus: this.handleFocus,
2843
2850
  onBlur: this.handleBlur,
2844
2851
  onClick: this.handleWrapperClick,
2845
- onMouseDown: As
2852
+ onMouseDown: qs
2846
2853
  },
2854
+ this.props.prefix && /* @__PURE__ */ o.createElement(S, { ...T }),
2847
2855
  /* @__PURE__ */ o.createElement("div", { className: B("k-input-values") }, /* @__PURE__ */ o.createElement(
2848
2856
  "div",
2849
2857
  {
2850
2858
  className: B(
2851
2859
  "k-chip-list",
2852
- { [`k-chip-list-${bt[d] || d}`]: d }
2860
+ { [`k-chip-list-${It[d] || d}`]: d }
2853
2861
  ),
2854
2862
  role: "listbox",
2855
2863
  id: "tagslist-" + this.base.guid
2856
2864
  },
2857
- N && N.length > 0 && /* @__PURE__ */ o.createElement(
2858
- Is,
2865
+ O && O.length > 0 && /* @__PURE__ */ o.createElement(
2866
+ xs,
2859
2867
  {
2860
2868
  tagRender: this.props.tagRender,
2861
2869
  onTagDelete: this.onTagDelete,
2862
- data: N,
2870
+ data: O,
2863
2871
  guid: this.base.guid,
2864
- focused: b ? N.find((F) => Ct(F, b, p)) : void 0,
2872
+ focused: b ? O.find((H) => St(H, b, p)) : void 0,
2865
2873
  size: d
2866
2874
  }
2867
2875
  )
2868
2876
  ), this.renderSearchBar(D)),
2869
- u && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
2870
- _ && /* @__PURE__ */ o.createElement(lt, { onClick: this.clearButtonClick }),
2877
+ u && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
2878
+ this.props.suffix && /* @__PURE__ */ o.createElement(C, { ...E }),
2879
+ _ && /* @__PURE__ */ o.createElement(dt, { onClick: this.clearButtonClick }),
2871
2880
  !this.mobileMode && this.renderListContainer()
2872
2881
  ), this.mobileMode && this.renderAdaptiveListContainer());
2873
2882
  return e ? /* @__PURE__ */ o.createElement(
2874
- $e,
2883
+ Ue,
2875
2884
  {
2876
2885
  label: e,
2877
2886
  editorId: D,
2878
2887
  editorValue: m || V(this.value[0], a),
2879
- editorValid: O,
2888
+ editorValid: N,
2880
2889
  editorDisabled: n,
2881
2890
  style: { width: i ? i.width : void 0 },
2882
- children: C
2891
+ children: M
2883
2892
  }
2884
- ) : C;
2893
+ ) : M;
2885
2894
  }
2886
2895
  renderSearchBar(i) {
2887
- 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}`;
2896
+ const { activedescendant: t, focusedTag: e, currentValue: s } = this.state, { disabled: n, placeholder: a, ariaDescribedBy: p } = this.props, c = !this.mobileMode && (this.props.filter !== void 0 ? this.props.filter : this.state.text) || "", { focusedIndex: d } = this.getFocusedState(), r = this.value.length === 0 && !c ? a : void 0, h = s && s.length > 0 ? void 0 : a, u = t === it.TagsList && e !== void 0 ? `tag-${this.base.guid}-${e.text.replace(/\s+/g, "-")}` : `option-${this.base.guid}-${d}`;
2888
2897
  return /* @__PURE__ */ o.createElement(
2889
- Zt,
2898
+ es,
2890
2899
  {
2891
2900
  id: i,
2892
2901
  size: Math.max((r || "").length, c.length, 1),
@@ -2910,31 +2919,31 @@ const rs = 500, es = (i) => {
2910
2919
  }
2911
2920
  onTagsNavigate(i, t) {
2912
2921
  const e = i.keyCode, { focusedTag: s } = this.state, n = this._tags, a = this.props.dataItemKey;
2913
- let p = s ? n.findIndex((r) => Ct(r, s, a)) : -1, c;
2922
+ let p = s ? n.findIndex((r) => St(r, s, a)) : -1, c;
2914
2923
  const d = p !== -1;
2915
- if (e === f.left)
2924
+ if (e === g.left)
2916
2925
  d ? p = Math.max(0, p - 1) : p = n.length - 1, c = n[p];
2917
- else if (e === f.right)
2926
+ else if (e === g.right)
2918
2927
  p === n.length - 1 ? c = void 0 : d && (p = Math.min(n.length - 1, p + 1), c = n[p]);
2919
- else if (e === f.home && !i.shiftKey)
2928
+ else if (e === g.home && !i.shiftKey)
2920
2929
  c = n[0];
2921
- else if (e === f.end && !i.shiftKey)
2930
+ else if (e === g.end && !i.shiftKey)
2922
2931
  c = n[n.length - 1];
2923
- else if (e === f.delete) {
2932
+ else if (e === g.delete) {
2924
2933
  if (d) {
2925
2934
  const r = this.value;
2926
- mt(r, n[p].data, a), this.triggerOnChange(r, t);
2935
+ bt(r, n[p].data, a), this.triggerOnChange(r, t);
2927
2936
  }
2928
- } else if (e === f.backspace) {
2937
+ } else if (e === g.backspace) {
2929
2938
  const r = this.value;
2930
2939
  if (d)
2931
- mt(r, n[p].data, a), this.triggerOnChange(r, t);
2940
+ bt(r, n[p].data, a), this.triggerOnChange(r, t);
2932
2941
  else if (!d && n.length) {
2933
2942
  const h = n.pop();
2934
- mt(r, h.data, a), this.triggerOnChange(r, t);
2943
+ bt(r, h.data, a), this.triggerOnChange(r, t);
2935
2944
  }
2936
2945
  }
2937
- c !== s && (t.data.focusedTag = c, t.data.activedescendant = tt.TagsList), this.applyState(t);
2946
+ c !== s && (t.data.focusedTag = c, t.data.activedescendant = it.TagsList), this.applyState(t);
2938
2947
  }
2939
2948
  triggerOnChange(i, t) {
2940
2949
  this.props.value === void 0 && (t.data.value = [...i]), this._valueItemsDuringOnChange = [], this.setItems(i, this._valueItemsDuringOnChange), t.events.push({ type: "onChange" });
@@ -2947,7 +2956,7 @@ const rs = 500, es = (i) => {
2947
2956
  t.length = 0, t.push(...i);
2948
2957
  }
2949
2958
  getFocusedState() {
2950
- const { focusedIndex: i } = this.state, t = this.props.filter !== void 0 ? this.props.filter : this.state.text, { allowCustom: e, data: s = [], dataItemKey: n, virtual: a, textField: p, focusedItemIndex: c = Ve, skipDisabledItems: d } = this.props, r = a && a.skip || 0;
2959
+ const { focusedIndex: i } = this.state, t = this.props.filter !== void 0 ? this.props.filter : this.state.text, { allowCustom: e, data: s = [], dataItemKey: n, virtual: a, textField: p, focusedItemIndex: c = Be, skipDisabledItems: d } = this.props, r = a && a.skip || 0;
2951
2960
  let h;
2952
2961
  if (i !== void 0)
2953
2962
  return {
@@ -2972,18 +2981,18 @@ const rs = 500, es = (i) => {
2972
2981
  /* ListItem */
2973
2982
  };
2974
2983
  if (u.length) {
2975
- const g = u[u.length - 1];
2976
- return h = s.findIndex((m) => R(m, g, n)), s[h] !== void 0 ? {
2984
+ const f = u[u.length - 1];
2985
+ return h = s.findIndex((m) => R(m, f, n)), s[h] !== void 0 ? {
2977
2986
  focusedIndex: h + r,
2978
2987
  focusedItem: s[h],
2979
2988
  focusedType: 1
2980
2989
  /* ListItem */
2981
2990
  } : { focusedType: 0, focusedIndex: -1 };
2982
2991
  } else if (d && p && !t && r === 0) {
2983
- const g = s.findIndex((m) => !m.disabled && m[p]);
2992
+ const f = s.findIndex((m) => !m.disabled && m[p]);
2984
2993
  return {
2985
- focusedIndex: g,
2986
- focusedItem: s[g - r],
2994
+ focusedIndex: f,
2995
+ focusedItem: s[f - r],
2987
2996
  focusedType: 1
2988
2997
  /* ListItem */
2989
2998
  };
@@ -3024,10 +3033,10 @@ const rs = 500, es = (i) => {
3024
3033
  return this._lastSelectedOrDeslectedItemIndex === null && (this._lastSelectedOrDeslectedItemIndex = t), this._lastSelectedOrDeslectedItemIndex !== null ? this._lastSelectedOrDeslectedItemIndex + i : null;
3025
3034
  }
3026
3035
  };
3027
- let Ft = qt;
3028
- Ft.displayName = "MultiSelect";
3029
- Ft.propTypes = {
3030
- ...ie.propTypes,
3036
+ let Nt = $t;
3037
+ Nt.displayName = "MultiSelect";
3038
+ Nt.propTypes = {
3039
+ ...oe.propTypes,
3031
3040
  autoClose: l.bool,
3032
3041
  value: l.arrayOf(l.any),
3033
3042
  defaultValue: l.arrayOf(l.any),
@@ -3048,20 +3057,22 @@ Ft.propTypes = {
3048
3057
  onCancel: l.func,
3049
3058
  skipDisabledItems: l.bool
3050
3059
  };
3051
- Ft.defaultProps = {
3052
- ...ie.defaultProps,
3060
+ Nt.defaultProps = {
3061
+ ...oe.defaultProps,
3053
3062
  autoClose: !0,
3054
3063
  required: !1,
3055
3064
  size: "medium",
3056
3065
  rounded: "medium",
3057
3066
  fillMode: "solid",
3058
3067
  groupMode: "modern",
3059
- skipDisabledItems: !0
3068
+ skipDisabledItems: !0,
3069
+ prefix: void 0,
3070
+ suffix: void 0
3060
3071
  };
3061
- const pi = Be(), hi = St(wt(pi, Ft));
3062
- hi.displayName = "KendoReactMultiSelect";
3063
- const ui = (i) => /* @__PURE__ */ o.createElement(
3064
- Ge,
3072
+ const fi = Ke(), gi = Et(Dt(fi, Nt));
3073
+ gi.displayName = "KendoReactMultiSelect";
3074
+ const mi = (i) => /* @__PURE__ */ o.createElement(
3075
+ je,
3065
3076
  {
3066
3077
  ...i,
3067
3078
  wrapperCssClass: "k-table-body k-table-scroller",
@@ -3073,20 +3084,22 @@ const ui = (i) => /* @__PURE__ */ o.createElement(
3073
3084
  ),
3074
3085
  listStyle: { ...i.listStyle }
3075
3086
  }
3076
- ), gi = (i, t) => i ? typeof i == "number" ? i + "px" : i : t, fi = Be(), ts = o.forwardRef((i, t) => {
3077
- const e = Gt(fi, i), s = o.useRef(null), n = o.useRef(null), a = Es(), {
3078
- columns: p = ze.columns,
3079
- popupSettings: c = ze.popupSettings,
3087
+ ), vi = (i, t) => i ? typeof i == "number" ? i + "px" : i : t, bi = Ke(), ss = o.forwardRef((i, t) => {
3088
+ const e = Ut(bi, i), s = o.useRef(null), n = o.useRef(null), a = Fs(), {
3089
+ columns: p = Ae.columns,
3090
+ popupSettings: c = Ae.popupSettings,
3080
3091
  className: d,
3081
3092
  size: r,
3082
- onOpen: h,
3083
- onClose: u,
3084
- onFocus: g,
3085
- onBlur: m,
3086
- onChange: v,
3087
- onFilterChange: b,
3088
- onPageChange: w,
3089
- ...S
3093
+ prefix: h = void 0,
3094
+ suffix: u = void 0,
3095
+ onOpen: f,
3096
+ onClose: m,
3097
+ onFocus: v,
3098
+ onBlur: b,
3099
+ onChange: w,
3100
+ onFilterChange: k,
3101
+ onPageChange: D,
3102
+ ...O
3090
3103
  } = e;
3091
3104
  o.useImperativeHandle(s, () => ({
3092
3105
  element: n.current && n.current.element,
@@ -3101,101 +3114,101 @@ const ui = (i) => /* @__PURE__ */ o.createElement(
3101
3114
  },
3102
3115
  props: e
3103
3116
  })), o.useImperativeHandle(t, () => s.current);
3104
- const D = o.useMemo(
3117
+ const N = o.useMemo(
3105
3118
  () => {
3106
3119
  if (e.groupField !== void 0 && e.data)
3107
3120
  return V(e.data[0], e.groupField);
3108
3121
  },
3109
3122
  [e.data, e.groupField]
3110
- ), [N, O] = o.useState(D), [_, C] = o.useState(!0), F = o.useMemo(
3123
+ ), [_, S] = o.useState(N), [T, C] = o.useState(!0), [E] = h ? Ne(e.prefix || o.Fragment) : [], [M] = u ? Ne(e.suffix || o.Fragment) : [], H = o.useMemo(
3111
3124
  () => {
3112
- const P = /* @__PURE__ */ o.createElement("th", { className: "k-table-th", colSpan: p.length }, N);
3125
+ const P = /* @__PURE__ */ o.createElement("th", { className: "k-table-th", colSpan: p.length }, _);
3113
3126
  return /* @__PURE__ */ o.createElement(o.Fragment, null, e.header, /* @__PURE__ */ o.createElement("div", { className: "k-table-header-wrap" }, /* @__PURE__ */ o.createElement("table", { className: "k-table", role: "presentation" }, /* @__PURE__ */ o.createElement("colgroup", null, p.map(
3114
- (H, L) => /* @__PURE__ */ o.createElement(
3127
+ (q, be) => /* @__PURE__ */ o.createElement(
3115
3128
  "col",
3116
3129
  {
3117
- key: H.uniqueKey ? H.uniqueKey : L,
3118
- style: { width: H.width ? H.width : ze.width }
3130
+ key: q.uniqueKey ? q.uniqueKey : be,
3131
+ style: { width: q.width ? q.width : Ae.width }
3119
3132
  }
3120
3133
  )
3121
- )), /* @__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)))));
3134
+ )), /* @__PURE__ */ o.createElement("thead", { className: "k-table-thead" }, /* @__PURE__ */ o.createElement("tr", { className: "k-table-row" }, p.map((q, be) => /* @__PURE__ */ o.createElement("th", { className: "k-table-th", key: q.uniqueKey ? q.uniqueKey : be }, q.header || " "))), _ && T && /* @__PURE__ */ o.createElement("tr", { className: "k-table-group-row" }, e.groupStickyHeaderItemRender ? e.groupStickyHeaderItemRender.call(void 0, P, {}) : P)))));
3122
3135
  },
3123
- [e.header, p, N, _]
3124
- ), x = o.useMemo(
3136
+ [e.header, p, _, T]
3137
+ ), J = o.useMemo(
3125
3138
  () => (
3126
3139
  // These additional 4px are coming from the child elements side borders (fixes horizontal scrollbar)
3127
- `calc(${p.map((P) => gi(P.width, ze.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3140
+ `calc(${p.map((P) => vi(P.width, Ae.width)).filter(Boolean).join(" + ")} + ${a}px + 4px)`
3128
3141
  ),
3129
3142
  [p, a]
3130
- ), E = e.virtual ? e.virtual.skip : 0, M = o.useCallback(
3131
- (P, H) => {
3132
- const L = p.map((J, W) => /* @__PURE__ */ o.createElement(
3143
+ ), j = e.virtual ? e.virtual.skip : 0, Y = o.useCallback(
3144
+ (P, q) => {
3145
+ const be = p.map((X, Je) => /* @__PURE__ */ o.createElement(
3133
3146
  "span",
3134
3147
  {
3135
3148
  className: e.itemRender ? void 0 : "k-table-td",
3136
- style: e.itemRender ? void 0 : { width: J.width ? J.width : ze.width },
3137
- key: J.uniqueKey ? J.uniqueKey : W
3149
+ style: e.itemRender ? void 0 : { width: X.width ? X.width : Ae.width },
3150
+ key: X.uniqueKey ? X.uniqueKey : Je
3138
3151
  },
3139
- J.field ? String(It(J.field)(H.dataItem)) : ""
3152
+ X.field ? String(Ct(X.field)(q.dataItem)) : ""
3140
3153
  ));
3141
- let me, Ce, Me, Ne, Oe = e.data || [];
3142
- const A = H.index - E;
3143
- 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)));
3144
- const X = o.cloneElement(P, {
3154
+ let ke, L, Q, le, z = e.data || [];
3155
+ const Ee = q.index - j;
3156
+ e.groupField !== void 0 && (le = Ct(e.groupField), L = le(z[Ee]), Q = le(z[Ee - 1]), L && Q && L !== Q && (ke = L)), ke && e.groupMode === "classic" && be.push(/* @__PURE__ */ o.createElement("div", { key: "group", className: "k-table-td k-table-group-td" }, /* @__PURE__ */ o.createElement("span", null, ke)));
3157
+ const re = o.cloneElement(P, {
3145
3158
  ...P.props,
3146
3159
  className: B("k-table-row", {
3147
- "k-table-alt-row": H.index % 2 !== 0,
3148
- "k-focus": H.focused,
3149
- "k-selected": H.selected,
3150
- "k-first": !!me,
3151
- "k-disabled": H.dataItem.disabled
3160
+ "k-table-alt-row": q.index % 2 !== 0,
3161
+ "k-focus": q.focused,
3162
+ "k-selected": q.selected,
3163
+ "k-first": !!ke,
3164
+ "k-disabled": q.dataItem.disabled
3152
3165
  })
3153
- }, L);
3154
- return e.itemRender ? e.itemRender.call(void 0, X, H) : X;
3166
+ }, be);
3167
+ return e.itemRender ? e.itemRender.call(void 0, re, q) : re;
3155
3168
  },
3156
- [p, e.groupField, e.itemRender, e.data, E]
3157
- ), K = o.useCallback(
3158
- (P, H) => {
3169
+ [p, e.groupField, e.itemRender, e.data, j]
3170
+ ), W = o.useCallback(
3171
+ (P, q) => {
3159
3172
  P && P.call(void 0, {
3160
- ...H,
3173
+ ...q,
3161
3174
  target: s.current
3162
3175
  });
3163
3176
  },
3164
3177
  []
3165
- ), U = o.useCallback((P) => (e.virtual || O(D), K(h, P)), [K, h, e.virtual, D]), j = o.useCallback((P) => K(u, P), [u]), Y = o.useCallback((P) => K(g, P), [g]), re = o.useCallback((P) => K(m, P), [m]), we = o.useCallback((P) => K(v, P), [v]), ne = o.useCallback((P) => K(w, P), [w]), Q = o.useCallback((P) => (O(D), K(b, {
3178
+ ), ge = o.useCallback((P) => (e.virtual || S(N), W(f, P)), [W, f, e.virtual, N]), Z = o.useCallback((P) => W(m, P), [m]), ee = o.useCallback((P) => W(v, P), [v]), ae = o.useCallback((P) => W(b, P), [b]), Le = o.useCallback((P) => W(w, P), [w]), Oe = o.useCallback((P) => W(D, P), [D]), ze = o.useCallback((P) => (S(N), W(k, {
3166
3179
  ...P,
3167
3180
  mobileMode: P.target.mobileMode
3168
- })), [b]), oe = o.useCallback(
3181
+ })), [k]), A = o.useCallback(
3169
3182
  (P) => {
3170
- O(P.group);
3183
+ S(P.group);
3171
3184
  },
3172
3185
  []
3173
3186
  );
3174
3187
  o.useEffect(() => {
3175
- Ds();
3188
+ Ts();
3176
3189
  }), o.useEffect(() => {
3177
3190
  const P = e.data;
3178
- O(D), P && P.length !== 0 ? C(!0) : C(!1);
3191
+ S(N), P && P.length !== 0 ? C(!0) : C(!1);
3179
3192
  }, [e.data]);
3180
- const Ke = o.useCallback((P) => /* @__PURE__ */ o.createElement(ui, { ...P }), []);
3193
+ const Pe = o.useCallback((P) => /* @__PURE__ */ o.createElement(mi, { ...P }), []);
3181
3194
  return /* @__PURE__ */ o.createElement(
3182
- Os.Provider,
3195
+ _s.Provider,
3183
3196
  {
3184
3197
  value: (P) => ({ ...P, popupClass: `k-dropdowngrid-popup ${c.popupClass}` })
3185
3198
  },
3186
3199
  /* @__PURE__ */ o.createElement(
3187
- ys,
3200
+ Is,
3188
3201
  {
3189
- ...S,
3190
- list: Ke,
3202
+ ...O,
3203
+ list: Pe,
3191
3204
  popupSettings: {
3192
- width: x,
3205
+ width: J,
3193
3206
  ...c,
3194
3207
  className: c.className
3195
3208
  },
3196
3209
  ref: n,
3197
- header: F,
3198
- itemRender: M,
3210
+ header: H,
3211
+ itemRender: Y,
3199
3212
  groupHeaderItemRender: e.groupHeaderItemRender,
3200
3213
  size: e.size,
3201
3214
  rounded: e.rounded,
@@ -3203,28 +3216,30 @@ const ui = (i) => /* @__PURE__ */ o.createElement(
3203
3216
  groupMode: e.groupMode,
3204
3217
  groupField: e.groupField,
3205
3218
  isMultiColumn: !0,
3206
- onOpen: U,
3207
- onClose: j,
3208
- onFocus: Y,
3209
- onBlur: re,
3210
- onChange: we,
3211
- onFilterChange: Q,
3212
- onPageChange: ne,
3213
- onGroupScroll: oe,
3219
+ onOpen: ge,
3220
+ onClose: Z,
3221
+ onFocus: ee,
3222
+ onBlur: ae,
3223
+ onChange: Le,
3224
+ onFilterChange: ze,
3225
+ onPageChange: Oe,
3226
+ onGroupScroll: A,
3214
3227
  className: B("k-dropdowngrid", d),
3215
3228
  required: e.required,
3216
3229
  adaptive: e.adaptive,
3217
3230
  adaptiveFilter: e.adaptiveFilter,
3218
3231
  adaptiveTitle: e.adaptiveTitle,
3219
3232
  footer: e.footer,
3220
- footerClassName: "k-table-footer"
3233
+ footerClassName: "k-table-footer",
3234
+ prefix: E,
3235
+ suffix: M
3221
3236
  }
3222
3237
  )
3223
3238
  );
3224
- }), mi = {
3225
- ...rt.propTypes,
3239
+ }), yi = {
3240
+ ...ct.propTypes,
3226
3241
  columns: l.any.isRequired
3227
- }, ze = {
3242
+ }, Ae = {
3228
3243
  columns: [],
3229
3244
  popupSettings: {},
3230
3245
  width: "200px",
@@ -3232,10 +3247,10 @@ const ui = (i) => /* @__PURE__ */ o.createElement(
3232
3247
  rounded: "medium",
3233
3248
  fillMode: "solid"
3234
3249
  };
3235
- ts.displayName = "KendoMultiColumnComboBox";
3236
- ts.propTypes = mi;
3237
- ts.defaultProps = ze;
3238
- function ks(i, t, e) {
3250
+ ss.displayName = "KendoMultiColumnComboBox";
3251
+ ss.propTypes = yi;
3252
+ ss.defaultProps = Ae;
3253
+ function Cs(i, t, e) {
3239
3254
  const [s, n] = o.useState(t);
3240
3255
  return o.useEffect(
3241
3256
  () => {
@@ -3244,14 +3259,14 @@ function ks(i, t, e) {
3244
3259
  e
3245
3260
  ), s;
3246
3261
  }
3247
- 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) => {
3262
+ const ks = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata" }, /* @__PURE__ */ o.createElement("div", null, i.children)), { sizeMap: Ii, roundedMap: xi } = Ge, Ci = "Please select a value from the list!", ki = (i) => /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, i.children), hs = (i) => i.split("_").map((t) => parseInt(t, 10)), Si = (i, t) => {
3248
3263
  const { validationMessage: e, valid: s, required: n } = i;
3249
3264
  return {
3250
3265
  customError: e !== void 0,
3251
3266
  valid: !!(s !== void 0 ? s : !n || t),
3252
3267
  valueMissing: !t
3253
3268
  };
3254
- }, hs = {
3269
+ }, us = {
3255
3270
  selectField: "selected",
3256
3271
  subItemsField: "items",
3257
3272
  popupSettings: {
@@ -3266,361 +3281,361 @@ const Cs = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3266
3281
  size: "medium",
3267
3282
  rounded: "medium",
3268
3283
  fillMode: "solid"
3269
- }, Ci = Be(), xs = o.forwardRef((i, t) => {
3270
- We(Ue);
3271
- const e = Gt(Ci, i), s = {
3272
- ...hs,
3284
+ }, wi = Ke(), Ss = o.forwardRef((i, t) => {
3285
+ $e(Ye);
3286
+ const e = Ut(wi, i), s = {
3287
+ ...us,
3273
3288
  ...e
3274
- }, n = fs(), a = s.id || n, {
3289
+ }, n = ms(), a = s.id || n, {
3275
3290
  data: p,
3276
3291
  dataItemKey: c,
3277
3292
  popupSettings: d,
3278
3293
  style: r,
3279
3294
  opened: h,
3280
3295
  disabled: u,
3281
- onOpen: g = De,
3282
- onClose: m = De,
3296
+ onOpen: f = Fe,
3297
+ onClose: m = Fe,
3283
3298
  placeholder: v,
3284
3299
  label: b,
3285
3300
  name: w,
3286
- selectField: S,
3301
+ selectField: k,
3287
3302
  subItemsField: D,
3288
- validationMessage: N,
3289
- valid: O,
3303
+ validationMessage: O,
3304
+ valid: N,
3290
3305
  required: _,
3291
- validityStyles: C
3292
- } = 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 ? V(Q, s.textField) : "", P = ki({ validationMessage: N, valid: O, required: _ }, oe), H = o.useCallback(() => E.current && E.current.focus(), []);
3306
+ validityStyles: S
3307
+ } = s, T = Gt(s.tabIndex, u), C = o.useRef(null), E = o.useRef(null), M = o.useRef(null), H = o.useRef(null), J = o.useRef(null), j = o.useRef(null), Y = o.useRef(!1), [W, ge] = o.useState(void 0), Z = s.value !== void 0, ee = Z ? s.value : W !== void 0 ? W : s.defaultValue, ae = U(ee), Le = ae ? V(ee, s.textField) : "", Oe = Si({ validationMessage: O, valid: N, required: _ }, ae), ze = o.useCallback(() => E.current && E.current.focus(), []);
3293
3308
  o.useImperativeHandle(
3294
- x,
3309
+ C,
3295
3310
  () => ({
3296
3311
  props: s,
3297
3312
  element: E.current,
3298
- focus: H
3313
+ focus: ze
3299
3314
  })
3300
- ), o.useImperativeHandle(t, () => x.current);
3301
- const L = ms(E, s.dir), me = d.width !== void 0 ? d.width : r.width !== void 0 ? r.width : hs.popupSettings.width, Me = {
3302
- width: ks(E, me),
3303
- ...L !== void 0 ? { direction: L } : {}
3304
- }, [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(
3315
+ ), o.useImperativeHandle(t, () => C.current);
3316
+ const A = vs(E, s.dir), Pe = d.width !== void 0 ? d.width : r.width !== void 0 ? r.width : us.popupSettings.width, q = {
3317
+ width: Cs(E, Pe),
3318
+ ...A !== void 0 ? { direction: A } : {}
3319
+ }, [be, ke] = o.useState(!1), L = h !== void 0 ? h : be, [Q, le] = o.useState(!1), [z, Ee] = o.useState(), re = !!(z && z <= we && s.adaptive), [X, Je] = o.useState(""), ns = o.useCallback(
3305
3320
  () => {
3306
- U.current && U.current.setCustomValidity && U.current.setCustomValidity(
3307
- P.valid ? "" : N === void 0 ? yi : N
3321
+ J.current && J.current.setCustomValidity && J.current.setCustomValidity(
3322
+ Oe.valid ? "" : O === void 0 ? Ci : O
3308
3323
  );
3309
3324
  },
3310
- [N, P]
3325
+ [O, Oe]
3311
3326
  );
3312
- o.useEffect(is), o.useEffect(() => {
3313
- const I = Fe && window.ResizeObserver && new window.ResizeObserver(Rt.bind(void 0));
3327
+ o.useEffect(ns), o.useEffect(() => {
3328
+ const I = Me && window.ResizeObserver && new window.ResizeObserver(Vt.bind(void 0));
3314
3329
  return document != null && document.body && I && I.observe(document.body), () => {
3315
3330
  document != null && document.body && I && I.disconnect();
3316
3331
  };
3317
3332
  }, []);
3318
- const dt = o.useCallback(
3333
+ const pt = o.useCallback(
3319
3334
  (I) => {
3320
- if (!A) {
3321
- if (g) {
3322
- const T = { ...I };
3323
- g.call(void 0, T);
3335
+ if (!L) {
3336
+ if (f) {
3337
+ const F = { ...I };
3338
+ f.call(void 0, F);
3324
3339
  }
3325
- h === void 0 && Oe(!0);
3340
+ h === void 0 && ke(!0);
3326
3341
  }
3327
3342
  },
3328
- [A, h, g]
3329
- ), xe = o.useCallback(
3343
+ [L, h, f]
3344
+ ), Se = o.useCallback(
3330
3345
  (I) => {
3331
- if (A) {
3346
+ if (L) {
3332
3347
  if (m) {
3333
- const T = { ...I };
3334
- m.call(void 0, T);
3348
+ const F = { ...I };
3349
+ m.call(void 0, F);
3335
3350
  }
3336
- h === void 0 && (Oe(!1), ue && setTimeout(() => {
3337
- var T;
3338
- q((T = K.current) == null ? void 0 : T.element);
3351
+ h === void 0 && (ke(!1), re && setTimeout(() => {
3352
+ var F;
3353
+ $((F = H.current) == null ? void 0 : F.element);
3339
3354
  }, 300));
3340
3355
  }
3341
3356
  },
3342
- [A, h, m, ue]
3343
- ), Nt = o.useCallback(
3357
+ [L, h, m, re]
3358
+ ), Ot = o.useCallback(
3344
3359
  (I) => {
3345
- if (!I.isDefaultPrevented() && x.current) {
3346
- J(!0);
3347
- const T = {
3360
+ if (!I.isDefaultPrevented() && C.current) {
3361
+ le(!0);
3362
+ const F = {
3348
3363
  syntheticEvent: I,
3349
3364
  nativeEvent: I.nativeEvent,
3350
- target: x.current
3365
+ target: C.current
3351
3366
  };
3352
- (A ? xe : dt)(T);
3367
+ (L ? Se : pt)(F);
3353
3368
  }
3354
3369
  },
3355
- [A, h, g, m]
3356
- ), se = o.useCallback(
3370
+ [L, h, f, m]
3371
+ ), ne = o.useCallback(
3357
3372
  (I) => {
3358
3373
  Y.current = !0, I(), window.setTimeout(() => Y.current = !1, 0);
3359
3374
  },
3360
3375
  []
3361
- ), Le = o.useCallback(
3376
+ ), He = o.useCallback(
3362
3377
  (I) => {
3363
- var k, z;
3364
- const { keyCode: T, altKey: $ } = I, de = j.current && j.current.element;
3365
- if (!x.current || I.isDefaultPrevented() && ((k = M.current) == null ? void 0 : k.element) === I.target)
3378
+ var x, K;
3379
+ const { keyCode: F, altKey: G } = I, pe = j.current && j.current.element;
3380
+ if (!C.current || I.isDefaultPrevented() && ((x = M.current) == null ? void 0 : x.element) === I.target)
3366
3381
  return;
3367
3382
  const y = {
3368
3383
  syntheticEvent: I,
3369
3384
  nativeEvent: I.nativeEvent,
3370
- target: x.current
3385
+ target: C.current
3371
3386
  };
3372
- if (A)
3373
- if (T === f.esc || $ && T === f.up)
3374
- I.preventDefault(), xe(y);
3375
- else if (de && de.querySelector(".k-focus") && (T === f.up || T === f.down || T === f.left || T === f.right || T === f.home || T === f.end)) {
3376
- if (T === f.up && ((z = M.current) != null && z.element)) {
3377
- const ee = Array.from(de.querySelectorAll(".k-treeview-item")), ye = [...ee].reverse().find((Ie) => !!(Ie && Ie.querySelector(".k-focus")));
3378
- if (ye && ee.indexOf(ye) === 0)
3379
- return se(() => {
3380
- var Ie;
3381
- q((Ie = M.current) == null ? void 0 : Ie.element);
3387
+ if (L)
3388
+ if (F === g.esc || G && F === g.up)
3389
+ I.preventDefault(), Se(y);
3390
+ else if (pe && pe.querySelector(".k-focus") && (F === g.up || F === g.down || F === g.left || F === g.right || F === g.home || F === g.end)) {
3391
+ if (F === g.up && ((K = M.current) != null && K.element)) {
3392
+ const se = Array.from(pe.querySelectorAll(".k-treeview-item")), Ie = [...se].reverse().find((xe) => !!(xe && xe.querySelector(".k-focus")));
3393
+ if (Ie && se.indexOf(Ie) === 0)
3394
+ return ne(() => {
3395
+ var xe;
3396
+ $((xe = M.current) == null ? void 0 : xe.element);
3382
3397
  });
3383
3398
  }
3384
- se(De);
3399
+ ne(Fe);
3385
3400
  } else
3386
- T === f.down && se(() => {
3387
- var ee;
3388
- q(((ee = M.current) == null ? void 0 : ee.element) || de);
3401
+ F === g.down && ne(() => {
3402
+ var se;
3403
+ $(((se = M.current) == null ? void 0 : se.element) || pe);
3389
3404
  });
3390
3405
  else
3391
- $ && T === f.down ? (I.preventDefault(), dt(y)) : A || T === f.esc && ht(I);
3406
+ G && F === g.down ? (I.preventDefault(), pt(y)) : L || F === g.esc && ft(I);
3392
3407
  },
3393
- [A, h, g, m]
3394
- ), Pe = o.useCallback(
3408
+ [L, h, f, m]
3409
+ ), _e = o.useCallback(
3395
3410
  (I) => {
3396
- const { keyCode: T, altKey: $ } = I;
3397
- $ || T !== f.up && T !== f.down || (I.preventDefault(), se(
3398
- T === f.up ? () => {
3399
- q(E.current);
3411
+ const { keyCode: F, altKey: G } = I;
3412
+ G || F !== g.up && F !== g.down || (I.preventDefault(), ne(
3413
+ F === g.up ? () => {
3414
+ $(E.current);
3400
3415
  } : () => {
3401
- q(j.current && j.current.element);
3416
+ $(j.current && j.current.element);
3402
3417
  }
3403
3418
  ));
3404
3419
  },
3405
3420
  []
3406
- ), q = o.useCallback(
3421
+ ), $ = o.useCallback(
3407
3422
  (I) => {
3408
- I && se(() => I.focus());
3423
+ I && ne(() => I.focus());
3409
3424
  },
3410
3425
  []
3411
- ), he = o.useCallback(
3426
+ ), fe = o.useCallback(
3412
3427
  () => {
3413
3428
  var I;
3414
- !X && A && !h ? xe({ target: x.current }) : e.filterable ? q((I = M.current) == null ? void 0 : I.element) : q(j.current && j.current.element);
3429
+ !Q && L && !h ? Se({ target: C.current }) : e.filterable ? $((I = M.current) == null ? void 0 : I.element) : $(j.current && j.current.element);
3415
3430
  },
3416
- [m, e.filterable, X, h, A]
3417
- ), Z = o.useCallback(
3431
+ [m, e.filterable, Q, h, L]
3432
+ ), te = o.useCallback(
3418
3433
  () => {
3419
- X && q(E.current);
3434
+ Q && $(E.current);
3420
3435
  },
3421
- [X]
3422
- ), Ot = o.useCallback(
3436
+ [Q]
3437
+ ), Pt = o.useCallback(
3423
3438
  (I) => {
3424
- if (!X && !Y.current && (J(!0), e.onFocus && x.current)) {
3425
- const T = {
3439
+ if (!Q && !Y.current && (le(!0), e.onFocus && C.current)) {
3440
+ const F = {
3426
3441
  syntheticEvent: I,
3427
3442
  nativeEvent: I.nativeEvent,
3428
- target: x.current
3443
+ target: C.current
3429
3444
  };
3430
- e.onFocus.call(void 0, T);
3445
+ e.onFocus.call(void 0, F);
3431
3446
  }
3432
3447
  },
3433
- [X, e.onFocus]
3434
- ), Pt = o.useCallback(
3448
+ [Q, e.onFocus]
3449
+ ), _t = o.useCallback(
3435
3450
  (I) => {
3436
- if (X && !Y.current && x.current) {
3437
- J(!1);
3438
- const T = {
3451
+ if (Q && !Y.current && C.current) {
3452
+ le(!1);
3453
+ const F = {
3439
3454
  syntheticEvent: I,
3440
3455
  nativeEvent: I.nativeEvent,
3441
- target: x.current
3456
+ target: C.current
3442
3457
  };
3443
3458
  if (e.onBlur) {
3444
- const $ = { ...T };
3445
- e.onBlur.call(void 0, $);
3459
+ const G = { ...F };
3460
+ e.onBlur.call(void 0, G);
3446
3461
  }
3447
- ue || xe(T);
3462
+ re || Se(F);
3448
3463
  }
3449
3464
  },
3450
- [X, e.onBlur, A, h, m]
3451
- ), _t = o.useCallback(
3465
+ [Q, e.onBlur, L, h, m]
3466
+ ), Rt = o.useCallback(
3452
3467
  () => {
3453
- X && se(De), ue && setTimeout(() => {
3468
+ Q && ne(Fe), re && setTimeout(() => {
3454
3469
  var I;
3455
- q((I = K.current) == null ? void 0 : I.element);
3470
+ $((I = H.current) == null ? void 0 : I.element);
3456
3471
  }, 300);
3457
3472
  },
3458
- [X, ue]
3459
- ), ct = o.useCallback(
3460
- (I, T, $) => {
3473
+ [Q, re]
3474
+ ), ht = o.useCallback(
3475
+ (I, F, G) => {
3461
3476
  if (e.onChange) {
3462
- const de = {
3463
- value: T,
3464
- level: $ ? ps($) : [],
3477
+ const pe = {
3478
+ value: F,
3479
+ level: G ? hs(G) : [],
3465
3480
  ...I
3466
3481
  };
3467
- e.onChange.call(void 0, de);
3482
+ e.onChange.call(void 0, pe);
3468
3483
  }
3469
- ne || we(T);
3484
+ Z || ge(F);
3470
3485
  },
3471
- [e.onChange, ne]
3472
- ), pt = o.useCallback(
3486
+ [e.onChange, Z]
3487
+ ), ut = o.useCallback(
3473
3488
  (I) => {
3474
- if (R(I.item, Q, c) || !x.current)
3489
+ if (R(I.item, ee, c) || !C.current)
3475
3490
  return;
3476
- const { item: T, itemHierarchicalIndex: $, nativeEvent: de, syntheticEvent: y } = I, k = {
3491
+ const { item: F, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3477
3492
  syntheticEvent: y,
3478
- nativeEvent: de,
3479
- target: x.current
3493
+ nativeEvent: pe,
3494
+ target: C.current
3480
3495
  };
3481
- ct(k, T, $), xe(k);
3496
+ ht(x, F, G), Se(x);
3482
3497
  },
3483
- [ne, Q, e.onChange, c, A, h, m]
3484
- ), ht = o.useCallback(
3498
+ [Z, ee, e.onChange, c, L, h, m]
3499
+ ), ft = o.useCallback(
3485
3500
  (I) => {
3486
- if (!x.current)
3501
+ if (!C.current)
3487
3502
  return;
3488
- const T = {
3503
+ const F = {
3489
3504
  syntheticEvent: I,
3490
3505
  nativeEvent: I.nativeEvent,
3491
- target: x.current
3506
+ target: C.current
3492
3507
  };
3493
- ct(T, null), xe(T), I.preventDefault();
3508
+ ht(F, null), Se(F), I.preventDefault();
3494
3509
  },
3495
- [ne, e.onChange, A, h, m]
3496
- ), ut = o.useCallback(
3510
+ [Z, e.onChange, L, h, m]
3511
+ ), gt = o.useCallback(
3497
3512
  (I) => {
3498
- if (I.syntheticEvent.stopPropagation(), e.onExpandChange && x.current) {
3499
- const { item: T, itemHierarchicalIndex: $, nativeEvent: de, syntheticEvent: y } = I, k = {
3500
- level: ps($),
3501
- item: T,
3502
- nativeEvent: de,
3513
+ if (I.syntheticEvent.stopPropagation(), e.onExpandChange && C.current) {
3514
+ const { item: F, itemHierarchicalIndex: G, nativeEvent: pe, syntheticEvent: y } = I, x = {
3515
+ level: hs(G),
3516
+ item: F,
3517
+ nativeEvent: pe,
3503
3518
  syntheticEvent: y,
3504
- target: x.current
3519
+ target: C.current
3505
3520
  };
3506
- e.onExpandChange.call(void 0, k);
3521
+ e.onExpandChange.call(void 0, x);
3507
3522
  }
3508
3523
  },
3509
3524
  [e.onExpandChange]
3510
- ), Ye = o.useCallback(
3525
+ ), Qe = o.useCallback(
3511
3526
  (I) => {
3512
- if (e.onFilterChange && x.current) {
3513
- const $ = {
3527
+ if (e.onFilterChange && C.current) {
3528
+ const G = {
3514
3529
  filter: { field: e.textField, operator: "contains", value: I.target.value },
3515
3530
  syntheticEvent: I.syntheticEvent,
3516
3531
  nativeEvent: I.nativeEvent,
3517
- target: x.current
3532
+ target: C.current
3518
3533
  };
3519
- e.onFilterChange.call(void 0, $), e.filter === void 0 && Mt(I.target.value);
3534
+ e.onFilterChange.call(void 0, G), e.filter === void 0 && Je(I.target.value);
3520
3535
  }
3521
3536
  },
3522
3537
  [e.onFilterChange, e.filter, e.textField]
3523
- ), Je = () => {
3538
+ ), Xe = () => {
3524
3539
  const I = s.filterable ? /* @__PURE__ */ o.createElement(
3525
- Re,
3540
+ Ve,
3526
3541
  {
3527
- value: s.filter === void 0 ? ve : s.filter,
3528
- ref: K,
3529
- onChange: Ye,
3530
- onKeyDown: Pe,
3531
- size: ge,
3532
- rounded: be,
3533
- fillMode: Ee
3542
+ value: s.filter === void 0 ? X : s.filter,
3543
+ ref: H,
3544
+ onChange: Qe,
3545
+ onKeyDown: _e,
3546
+ size: me,
3547
+ rounded: ye,
3548
+ fillMode: De
3534
3549
  }
3535
- ) : null, T = {
3550
+ ) : null, F = {
3536
3551
  adaptiveTitle: s.adaptiveTitle,
3537
- expand: A,
3538
- onClose: ($) => xe($),
3539
- windowWidth: W,
3552
+ expand: L,
3553
+ onClose: (G) => Se(G),
3554
+ windowWidth: z,
3540
3555
  mobileFilter: I
3541
3556
  };
3542
- 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(
3557
+ return /* @__PURE__ */ o.createElement(ts, { ...F }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: "k-list k-list-lg" }, p.length > 0 ? /* @__PURE__ */ o.createElement(
3543
3558
  kt,
3544
3559
  {
3545
3560
  ref: j,
3546
- tabIndex: F,
3547
- data: Qe,
3561
+ tabIndex: T,
3562
+ data: Ze,
3548
3563
  focusIdField: c,
3549
3564
  textField: s.textField,
3550
- selectField: S,
3565
+ selectField: k,
3551
3566
  expandField: s.expandField,
3552
3567
  childrenField: D,
3553
3568
  expandIcons: !0,
3554
- onItemClick: pt,
3555
- onExpandChange: ut,
3556
- size: ge,
3569
+ onItemClick: ut,
3570
+ onExpandChange: gt,
3571
+ size: me,
3557
3572
  item: s.item,
3558
- dir: L
3573
+ dir: A
3559
3574
  }
3560
- ) : /* @__PURE__ */ o.createElement(Xe, null, Ze.toLanguageString(fe, le[fe]))))));
3561
- }, Rt = o.useCallback(
3575
+ ) : /* @__PURE__ */ o.createElement(et, null, tt.toLanguageString(ve, ce[ve]))))));
3576
+ }, Vt = o.useCallback(
3562
3577
  (I) => {
3563
- for (let T of I)
3564
- je(T.target.clientWidth);
3578
+ for (let F of I)
3579
+ Ee(F.target.clientWidth);
3565
3580
  },
3566
3581
  []
3567
- ), Qe = o.useMemo(
3568
- () => ne || !oe ? p : Ts(
3582
+ ), Ze = o.useMemo(
3583
+ () => Z || !ae ? p : Ms(
3569
3584
  p,
3570
3585
  D,
3571
- (I) => Fs(
3586
+ (I) => Ns(
3572
3587
  I,
3573
3588
  D,
3574
- { [S]: R(I, Q, c) }
3589
+ { [k]: R(I, ee, c) }
3575
3590
  )
3576
3591
  ),
3577
- [p, Q, ne, oe, S, D]
3578
- ), 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(
3592
+ [p, ee, Z, ae, k, D]
3593
+ ), et = s.listNoData || ks, mt = s.valueHolder || ki, tt = ys(), vt = !S || Oe.valid, { size: me, rounded: ye, fillMode: De } = s, de = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
3579
3594
  "span",
3580
3595
  {
3581
3596
  className: B("k-dropdowntree k-picker", s.className, {
3582
- [`k-picker-${vi[ge] || ge}`]: ge,
3583
- [`k-rounded-${bi[be] || be}`]: be,
3584
- [`k-picker-${Ee}`]: Ee,
3585
- "k-focus": X,
3586
- "k-invalid": !ft,
3597
+ [`k-picker-${Ii[me] || me}`]: me,
3598
+ [`k-rounded-${xi[ye] || ye}`]: ye,
3599
+ [`k-picker-${De}`]: De,
3600
+ "k-focus": Q,
3601
+ "k-invalid": !vt,
3587
3602
  "k-loading": s.loading,
3588
3603
  "k-required": _,
3589
3604
  "k-disabled": s.disabled
3590
3605
  }),
3591
- tabIndex: F,
3606
+ tabIndex: T,
3592
3607
  accessKey: s.accessKey,
3593
3608
  id: a,
3594
3609
  style: b ? { ...r, width: void 0 } : r,
3595
- dir: L,
3610
+ dir: A,
3596
3611
  ref: E,
3597
- onKeyDown: u ? void 0 : Le,
3598
- onMouseDown: _t,
3599
- onClick: u ? void 0 : Nt,
3600
- onFocus: Ot,
3601
- onBlur: Pt,
3612
+ onKeyDown: u ? void 0 : He,
3613
+ onMouseDown: Rt,
3614
+ onClick: u ? void 0 : Ot,
3615
+ onFocus: Pt,
3616
+ onBlur: _t,
3602
3617
  role: "combobox",
3603
3618
  "aria-haspopup": "tree",
3604
- "aria-expanded": A,
3619
+ "aria-expanded": L,
3605
3620
  "aria-disabled": u,
3606
3621
  "aria-label": b,
3607
3622
  "aria-labelledby": s.ariaLabelledBy,
3608
3623
  "aria-describedby": s.ariaDescribedBy,
3609
3624
  "aria-required": _
3610
3625
  },
3611
- /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(gt, { item: Q }, Ke || v)),
3612
- s.loading && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
3613
- oe && !u && /* @__PURE__ */ o.createElement(
3626
+ /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, /* @__PURE__ */ o.createElement(mt, { item: ee }, Le || v)),
3627
+ s.loading && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
3628
+ ae && !u && /* @__PURE__ */ o.createElement(
3614
3629
  "span",
3615
3630
  {
3616
- onClick: ht,
3631
+ onClick: ft,
3617
3632
  className: "k-clear-value",
3618
- title: Ze.toLanguageString(st, le[st]),
3633
+ title: tt.toLanguageString(nt, ce[nt]),
3619
3634
  role: "button",
3620
3635
  tabIndex: -1,
3621
3636
  onMouseDown: (I) => I.preventDefault()
3622
3637
  },
3623
- /* @__PURE__ */ o.createElement(ke, { name: "x", icon: ot })
3638
+ /* @__PURE__ */ o.createElement(Ce, { name: "x", icon: lt })
3624
3639
  ),
3625
3640
  /* @__PURE__ */ o.createElement(
3626
3641
  Te,
@@ -3629,90 +3644,90 @@ const Cs = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3629
3644
  type: "button",
3630
3645
  "aria-label": "select",
3631
3646
  className: "k-input-button",
3632
- size: ge,
3633
- fillMode: Ee,
3647
+ size: me,
3648
+ fillMode: De,
3634
3649
  themeColor: "base",
3635
3650
  rounded: null,
3636
3651
  icon: "caret-alt-down",
3637
- svgIcon: Ut
3652
+ svgIcon: jt
3638
3653
  }
3639
3654
  ),
3640
3655
  /* @__PURE__ */ o.createElement(
3641
3656
  "select",
3642
3657
  {
3643
3658
  name: w,
3644
- ref: U,
3659
+ ref: J,
3645
3660
  tabIndex: -1,
3646
3661
  "aria-hidden": !0,
3647
3662
  title: b,
3648
3663
  style: { opacity: 0, width: 1, border: 0, zIndex: -1, position: "absolute", left: "50%" }
3649
3664
  },
3650
- /* @__PURE__ */ o.createElement("option", { value: s.valueMap ? s.valueMap.call(void 0, Q) : Q })
3665
+ /* @__PURE__ */ o.createElement("option", { value: s.valueMap ? s.valueMap.call(void 0, ee) : ee })
3651
3666
  ),
3652
- !ue && /* @__PURE__ */ o.createElement(
3653
- jt,
3667
+ !re && /* @__PURE__ */ o.createElement(
3668
+ Yt,
3654
3669
  {
3655
- className: B(d.className, { "k-rtl": L === "rtl" }),
3670
+ className: B(d.className, { "k-rtl": A === "rtl" }),
3656
3671
  popupClass: B(
3657
3672
  d.popupClass,
3658
3673
  "k-dropdowntree-popup"
3659
3674
  ),
3660
- style: Me,
3675
+ style: q,
3661
3676
  animate: d.animate,
3662
3677
  anchor: E.current,
3663
- show: A,
3664
- onOpen: he,
3665
- onClose: Z,
3678
+ show: L,
3679
+ onOpen: fe,
3680
+ onClose: te,
3666
3681
  appendTo: d.appendTo
3667
3682
  },
3668
3683
  s.filterable && /* @__PURE__ */ o.createElement(
3669
- Re,
3684
+ Ve,
3670
3685
  {
3671
- value: s.filter === void 0 ? ve : s.filter,
3686
+ value: s.filter === void 0 ? X : s.filter,
3672
3687
  ref: M,
3673
- onChange: Ye,
3674
- onKeyDown: Pe,
3675
- size: ge,
3676
- rounded: be,
3677
- fillMode: Ee
3688
+ onChange: Qe,
3689
+ onKeyDown: _e,
3690
+ size: me,
3691
+ rounded: ye,
3692
+ fillMode: De
3678
3693
  }
3679
3694
  ),
3680
3695
  p.length > 0 ? /* @__PURE__ */ o.createElement(
3681
3696
  kt,
3682
3697
  {
3683
3698
  ref: j,
3684
- tabIndex: F,
3685
- data: Qe,
3699
+ tabIndex: T,
3700
+ data: Ze,
3686
3701
  focusIdField: c,
3687
3702
  textField: s.textField,
3688
- selectField: S,
3703
+ selectField: k,
3689
3704
  expandField: s.expandField,
3690
3705
  childrenField: D,
3691
3706
  expandIcons: !0,
3692
- onItemClick: pt,
3693
- onExpandChange: ut,
3694
- size: ge,
3707
+ onItemClick: ut,
3708
+ onExpandChange: gt,
3709
+ size: me,
3695
3710
  item: s.item,
3696
- dir: L
3711
+ dir: A
3697
3712
  }
3698
- ) : /* @__PURE__ */ o.createElement(Xe, null, Ze.toLanguageString(fe, le[fe]))
3713
+ ) : /* @__PURE__ */ o.createElement(et, null, tt.toLanguageString(ve, ce[ve]))
3699
3714
  )
3700
- ), ue && Je());
3715
+ ), re && Xe());
3701
3716
  return b ? /* @__PURE__ */ o.createElement(
3702
- $e,
3717
+ Ue,
3703
3718
  {
3704
3719
  label: b,
3705
- editorValue: Ke,
3720
+ editorValue: Le,
3706
3721
  editorPlaceholder: v,
3707
- editorValid: ft,
3722
+ editorValid: vt,
3708
3723
  editorDisabled: u,
3709
3724
  editorId: a,
3710
3725
  style: { width: r ? r.width : void 0 },
3711
- children: ae,
3712
- dir: L
3726
+ children: de,
3727
+ dir: A
3713
3728
  }
3714
- ) : ae;
3715
- }), xi = {
3729
+ ) : de;
3730
+ }), Ei = {
3716
3731
  opened: l.bool,
3717
3732
  disabled: l.bool,
3718
3733
  dir: l.string,
@@ -3765,16 +3780,16 @@ const Cs = (i) => /* @__PURE__ */ o.createElement("div", { className: "k-nodata"
3765
3780
  adaptiveTitle: l.string,
3766
3781
  adaptive: l.bool
3767
3782
  };
3768
- xs.displayName = "KendoReactDropDownTree";
3769
- xs.propTypes = xi;
3770
- 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) => {
3783
+ Ss.displayName = "KendoReactDropDownTree";
3784
+ Ss.propTypes = Ei;
3785
+ const Di = "Please select a value from the list!", { sizeMap: fs, roundedMap: Fi } = Ge, Ti = (i) => i.split("_").map((t) => parseInt(t, 10)), Mi = (i, t) => {
3771
3786
  const { validationMessage: e, valid: s, required: n } = i;
3772
3787
  return {
3773
3788
  customError: e !== void 0,
3774
3789
  valid: !!(s !== void 0 ? s : !n || t),
3775
3790
  valueMissing: !t
3776
3791
  };
3777
- }, _e = {
3792
+ }, Re = {
3778
3793
  checkField: "checkField",
3779
3794
  checkIndeterminateField: "checkIndeterminateField",
3780
3795
  subItemsField: "items",
@@ -3788,399 +3803,399 @@ const Si = "Please select a value from the list!", { sizeMap: us, roundedMap: wi
3788
3803
  fillMode: "solid",
3789
3804
  required: !1,
3790
3805
  validityStyles: !0
3791
- }, Ti = Be(), ss = o.forwardRef((i, t) => {
3792
- const e = Gt(Ti, i);
3793
- We(Ue);
3794
- const s = fs(), n = e.id || s, {
3806
+ }, Ni = Ke(), is = o.forwardRef((i, t) => {
3807
+ const e = Ut(Ni, i);
3808
+ $e(Ye);
3809
+ const s = ms(), n = e.id || s, {
3795
3810
  data: a = [],
3796
3811
  dataItemKey: p,
3797
3812
  popupSettings: c = {},
3798
3813
  style: d = {},
3799
3814
  opened: r,
3800
3815
  disabled: h,
3801
- onOpen: u = De,
3802
- onClose: g = De,
3816
+ onOpen: u = Fe,
3817
+ onClose: f = Fe,
3803
3818
  placeholder: m,
3804
3819
  label: v,
3805
3820
  name: b,
3806
- checkField: w = _e.checkField,
3807
- checkIndeterminateField: S = _e.checkIndeterminateField,
3808
- subItemsField: D = _e.subItemsField,
3809
- validationMessage: N,
3810
- valid: O,
3821
+ checkField: w = Re.checkField,
3822
+ checkIndeterminateField: k = Re.checkIndeterminateField,
3823
+ subItemsField: D = Re.subItemsField,
3824
+ validationMessage: O,
3825
+ valid: N,
3811
3826
  tags: _,
3812
- value: C,
3813
- required: F = _e.required,
3814
- validityStyles: x = _e.validityStyles
3815
- } = 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 = {
3816
- width: ks(K, Mt),
3817
- ...ve !== void 0 ? { direction: ve } : {}
3818
- }, xe = o.useCallback(() => K.current && K.current.focus(), []);
3819
- ne.current = _ === void 0 ? (C || []).map((y) => ({ text: V(y, e.textField), data: [y] })) : [..._], o.useImperativeHandle(
3827
+ value: S,
3828
+ required: T = Re.required,
3829
+ validityStyles: C = Re.validityStyles
3830
+ } = e, E = Gt(e.tabIndex, h), M = o.useRef(null), H = o.useRef(null), J = o.useRef(null), j = o.useRef(null), Y = o.useRef(null), W = o.useRef(null), ge = o.useRef(!1), Z = o.useRef([]), ee = o.useRef(null), [ae, Le] = o.useState(), [Oe, ze] = o.useState(!1), [A, Pe] = o.useState(!1), [P, q] = o.useState(), [be, ke] = o.useState([]), [L, Q] = o.useState(""), le = !!(P && P <= we && e.adaptive), z = r !== void 0 ? r : Oe, Ee = !!(Array.isArray(S) && S.length), re = Mi({ validationMessage: O, valid: N, required: T }, Ee), X = vs(H, e.dir), Je = c.width !== void 0 ? c.width : d.width !== void 0 ? d.width : Re.popupSettings.width, pt = {
3831
+ width: Cs(H, Je),
3832
+ ...X !== void 0 ? { direction: X } : {}
3833
+ }, Se = o.useCallback(() => H.current && H.current.focus(), []);
3834
+ Z.current = _ === void 0 ? (S || []).map((y) => ({ text: V(y, e.textField), data: [y] })) : [..._], o.useImperativeHandle(
3820
3835
  M,
3821
3836
  () => ({
3822
3837
  props: e,
3823
- element: K.current,
3824
- focus: xe
3838
+ element: H.current,
3839
+ focus: Se
3825
3840
  })
3826
3841
  ), o.useImperativeHandle(t, () => M.current);
3827
- const Nt = o.useCallback(
3842
+ const Ot = o.useCallback(
3828
3843
  () => {
3829
3844
  Y.current && Y.current.setCustomValidity && Y.current.setCustomValidity(
3830
- ue.valid ? "" : N === void 0 ? Si : N
3845
+ re.valid ? "" : O === void 0 ? Di : O
3831
3846
  );
3832
3847
  },
3833
- [N, ue]
3848
+ [O, re]
3834
3849
  );
3835
- o.useEffect(Nt), o.useEffect(() => {
3836
- const y = Fe && window.ResizeObserver && new window.ResizeObserver(ft.bind(void 0));
3850
+ o.useEffect(Ot), o.useEffect(() => {
3851
+ const y = Me && window.ResizeObserver && new window.ResizeObserver(vt.bind(void 0));
3837
3852
  return document != null && document.body && y && y.observe(document.body), () => {
3838
3853
  y && y.disconnect();
3839
3854
  };
3840
3855
  }, []), o.useEffect(
3841
3856
  () => {
3842
- Q.current && W && Q.current.setPosition(Q.current._popup);
3857
+ ee.current && z && ee.current.setPosition(ee.current._popup);
3843
3858
  },
3844
- [C, W]
3859
+ [S, z]
3845
3860
  );
3846
- const se = o.useCallback(
3847
- (y, k, z) => {
3861
+ const ne = o.useCallback(
3862
+ (y, x, K) => {
3848
3863
  if (e.onChange) {
3849
- const ee = {
3850
- items: k,
3851
- operation: z,
3864
+ const se = {
3865
+ items: x,
3866
+ operation: K,
3852
3867
  ...y
3853
3868
  };
3854
- e.onChange.call(void 0, ee);
3869
+ e.onChange.call(void 0, se);
3855
3870
  }
3856
3871
  },
3857
3872
  [e.onChange]
3858
- ), Le = o.useCallback(
3873
+ ), He = o.useCallback(
3859
3874
  (y) => {
3860
- if (R(y.item, C, p) || !M.current)
3875
+ if (R(y.item, S, p) || !M.current)
3861
3876
  return;
3862
- const { item: k, nativeEvent: z, syntheticEvent: ee } = y, ye = {
3863
- syntheticEvent: ee,
3864
- nativeEvent: z,
3877
+ const { item: x, nativeEvent: K, syntheticEvent: se } = y, Ie = {
3878
+ syntheticEvent: se,
3879
+ nativeEvent: K,
3865
3880
  target: M.current
3866
3881
  };
3867
- se(ye, [k], "toggle");
3882
+ ne(Ie, [x], "toggle");
3868
3883
  },
3869
- [C, p, se]
3870
- ), Pe = o.useCallback(
3884
+ [S, p, ne]
3885
+ ), _e = o.useCallback(
3871
3886
  (y) => {
3872
- if (!W) {
3887
+ if (!z) {
3873
3888
  if (u) {
3874
- const k = { ...y };
3875
- u.call(void 0, k);
3889
+ const x = { ...y };
3890
+ u.call(void 0, x);
3876
3891
  }
3877
- r === void 0 && (H(!0), Oe(C || []), J && setTimeout(() => {
3878
- var k;
3879
- Z((k = j.current) == null ? void 0 : k.element);
3892
+ r === void 0 && (ze(!0), ke(S || []), le && setTimeout(() => {
3893
+ var x;
3894
+ te((x = j.current) == null ? void 0 : x.element);
3880
3895
  }, 300));
3881
3896
  }
3882
3897
  },
3883
- [W, r, u, J, j]
3884
- ), q = o.useCallback(
3898
+ [z, r, u, le, j]
3899
+ ), $ = o.useCallback(
3885
3900
  (y) => {
3886
- if (W) {
3887
- if (g) {
3888
- const k = { ...y };
3889
- g.call(void 0, k);
3901
+ if (z) {
3902
+ if (f) {
3903
+ const x = { ...y };
3904
+ f.call(void 0, x);
3890
3905
  }
3891
- r === void 0 && H(!1);
3906
+ r === void 0 && ze(!1);
3892
3907
  }
3893
3908
  },
3894
- [W, r, g]
3895
- ), he = o.useCallback(
3909
+ [z, r, f]
3910
+ ), fe = o.useCallback(
3896
3911
  (y) => {
3897
- we.current = !0, y(), window.setTimeout(() => we.current = !1, 0);
3912
+ ge.current = !0, y(), window.setTimeout(() => ge.current = !1, 0);
3898
3913
  },
3899
3914
  []
3900
- ), Z = o.useCallback(
3915
+ ), te = o.useCallback(
3901
3916
  (y) => {
3902
- y && he(() => y.focus());
3917
+ y && fe(() => y.focus());
3903
3918
  },
3904
- [he]
3905
- ), Ot = o.useCallback(
3919
+ [fe]
3920
+ ), Pt = o.useCallback(
3906
3921
  () => {
3907
3922
  var y;
3908
- !L && W ? q({ target: M.current }) : e.filterable ? Z((y = U.current) == null ? void 0 : y.element) : Z(re.current && re.current.element);
3923
+ !A && z ? $({ target: M.current }) : e.filterable ? te((y = J.current) == null ? void 0 : y.element) : te(W.current && W.current.element);
3909
3924
  },
3910
- [L, W, Z, q, e.filterable]
3911
- ), Pt = o.useCallback(
3925
+ [A, z, te, $, e.filterable]
3926
+ ), _t = o.useCallback(
3912
3927
  () => {
3913
- L && Z(K.current);
3928
+ A && te(H.current);
3914
3929
  },
3915
- [L, Z]
3916
- ), _t = o.useCallback(
3930
+ [A, te]
3931
+ ), Rt = o.useCallback(
3917
3932
  (y) => {
3918
- if (!L && !we.current && (me(!0), e.onFocus && M.current)) {
3919
- const k = {
3933
+ if (!A && !ge.current && (Pe(!0), e.onFocus && M.current)) {
3934
+ const x = {
3920
3935
  syntheticEvent: y,
3921
3936
  nativeEvent: y.nativeEvent,
3922
3937
  target: M.current
3923
3938
  };
3924
- e.onFocus.call(void 0, k);
3939
+ e.onFocus.call(void 0, x);
3925
3940
  }
3926
3941
  },
3927
- [L, e.onFocus]
3928
- ), ct = o.useCallback(
3942
+ [A, e.onFocus]
3943
+ ), ht = o.useCallback(
3929
3944
  (y) => {
3930
- if (L && !we.current && M.current) {
3931
- me(!1);
3932
- const k = {
3945
+ if (A && !ge.current && M.current) {
3946
+ Pe(!1);
3947
+ const x = {
3933
3948
  syntheticEvent: y,
3934
3949
  nativeEvent: y.nativeEvent,
3935
3950
  target: M.current
3936
3951
  };
3937
3952
  if (e.onBlur) {
3938
- const z = { ...k };
3939
- e.onBlur.call(void 0, z);
3953
+ const K = { ...x };
3954
+ e.onBlur.call(void 0, K);
3940
3955
  }
3941
- J || q(k);
3956
+ le || $(x);
3942
3957
  }
3943
3958
  },
3944
- [L, e.onBlur, W, r, g]
3945
- ), pt = o.useCallback(
3959
+ [A, e.onBlur, z, r, f]
3960
+ ), ut = o.useCallback(
3946
3961
  () => {
3947
- L && he(De);
3962
+ A && fe(Fe);
3948
3963
  },
3949
- [L, he]
3950
- ), ht = o.useCallback(
3964
+ [A, fe]
3965
+ ), ft = o.useCallback(
3951
3966
  (y) => {
3952
3967
  if (!y.isDefaultPrevented() && M.current) {
3953
- me(!0);
3954
- const k = {
3968
+ Pe(!0);
3969
+ const x = {
3955
3970
  syntheticEvent: y,
3956
3971
  nativeEvent: y.nativeEvent,
3957
3972
  target: M.current
3958
3973
  };
3959
- W || Pe(k);
3974
+ z || _e(x);
3960
3975
  }
3961
3976
  },
3962
- [W, Pe]
3963
- ), ut = o.useCallback(
3977
+ [z, _e]
3978
+ ), gt = o.useCallback(
3964
3979
  (y) => {
3965
- var Ie, ns;
3966
- const { keyCode: k, altKey: z } = y, ee = re.current && re.current.element;
3967
- if (!M.current || y.isDefaultPrevented() && ((Ie = U.current) == null ? void 0 : Ie.element) === y.target)
3980
+ var xe, os;
3981
+ const { keyCode: x, altKey: K } = y, se = W.current && W.current.element;
3982
+ if (!M.current || y.isDefaultPrevented() && ((xe = J.current) == null ? void 0 : xe.element) === y.target)
3968
3983
  return;
3969
- const ye = {
3984
+ const Ie = {
3970
3985
  syntheticEvent: y,
3971
3986
  nativeEvent: y.nativeEvent,
3972
3987
  target: M.current
3973
3988
  };
3974
- if (C && C.length > 0 && (k === f.left || k === f.right || k === f.home || k === f.end || k === f.delete)) {
3975
- const te = ne.current;
3976
- let ce = oe ? te.findIndex((Ss) => Ct(Ss, oe, p)) : -1, pe;
3977
- const Vt = ce !== -1;
3978
- 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);
3989
+ if (S && S.length > 0 && (x === g.left || x === g.right || x === g.home || x === g.end || x === g.delete)) {
3990
+ const ie = Z.current;
3991
+ let he = ae ? ie.findIndex((ws) => St(ws, ae, p)) : -1, ue;
3992
+ const Bt = he !== -1;
3993
+ x === g.left ? (Bt ? he = Math.max(0, he - 1) : he = ie.length - 1, ue = ie[he]) : x === g.right ? he === ie.length - 1 ? ue = void 0 : Bt && (he = Math.min(ie.length - 1, he + 1), ue = ie[he]) : x === g.home ? ue = ie[0] : x === g.end ? ue = ie[ie.length - 1] : x === g.delete && Bt && ne(Ie, ie[he].data, "delete"), ue !== ae && Le(ue);
3979
3994
  }
3980
- if (W)
3981
- if (k === f.esc || z && k === f.up)
3982
- y.preventDefault(), q(ye);
3983
- else if (ee && ee.querySelector(".k-focus") && (k === f.up || k === f.down || k === f.left || k === f.right || k === f.home || k === f.end)) {
3984
- if (k === f.up && ((ns = U.current) != null && ns.element)) {
3985
- const te = Array.from(ee.querySelectorAll(".k-treeview-item")), ce = [...te].reverse().find((pe) => !!(pe && pe.querySelector(".k-focus")));
3986
- if (ce && te.indexOf(ce) === 0)
3987
- return he(() => {
3988
- var pe;
3989
- Z((pe = U.current) == null ? void 0 : pe.element);
3995
+ if (z)
3996
+ if (x === g.esc || K && x === g.up)
3997
+ y.preventDefault(), $(Ie);
3998
+ else if (se && se.querySelector(".k-focus") && (x === g.up || x === g.down || x === g.left || x === g.right || x === g.home || x === g.end)) {
3999
+ if (x === g.up && ((os = J.current) != null && os.element)) {
4000
+ const ie = Array.from(se.querySelectorAll(".k-treeview-item")), he = [...ie].reverse().find((ue) => !!(ue && ue.querySelector(".k-focus")));
4001
+ if (he && ie.indexOf(he) === 0)
4002
+ return fe(() => {
4003
+ var ue;
4004
+ te((ue = J.current) == null ? void 0 : ue.element);
3990
4005
  });
3991
4006
  }
3992
- he(De);
4007
+ fe(Fe);
3993
4008
  } else
3994
- k === f.down && he(() => {
3995
- var te;
3996
- Z(((te = U.current) == null ? void 0 : te.element) || ee);
4009
+ x === g.down && fe(() => {
4010
+ var ie;
4011
+ te(((ie = J.current) == null ? void 0 : ie.element) || se);
3997
4012
  });
3998
4013
  else
3999
- z && k === f.down && (y.preventDefault(), Pe(ye));
4014
+ K && x === g.down && (y.preventDefault(), _e(Ie));
4000
4015
  },
4001
- [W, q, Z, he, Pe, oe, p, C, se]
4002
- ), Ye = o.useCallback(
4016
+ [z, $, te, fe, _e, ae, p, S, ne]
4017
+ ), Qe = o.useCallback(
4003
4018
  (y) => {
4004
- const { keyCode: k, altKey: z } = y;
4005
- z || k !== f.up && k !== f.down || (y.preventDefault(), he(
4006
- k === f.up ? () => {
4007
- Z(K.current);
4019
+ const { keyCode: x, altKey: K } = y;
4020
+ K || x !== g.up && x !== g.down || (y.preventDefault(), fe(
4021
+ x === g.up ? () => {
4022
+ te(H.current);
4008
4023
  } : () => {
4009
- Z(re.current && re.current.element);
4024
+ te(W.current && W.current.element);
4010
4025
  }
4011
4026
  ));
4012
4027
  },
4013
- [Z, he]
4014
- ), Je = o.useCallback(
4028
+ [te, fe]
4029
+ ), Xe = o.useCallback(
4015
4030
  (y) => {
4016
4031
  if (!M.current)
4017
4032
  return;
4018
- const k = {
4033
+ const x = {
4019
4034
  syntheticEvent: y,
4020
4035
  nativeEvent: y.nativeEvent,
4021
4036
  target: M.current
4022
4037
  };
4023
- se(k, [], "clear"), q(k), y.preventDefault();
4038
+ ne(x, [], "clear"), $(x), y.preventDefault();
4024
4039
  },
4025
- [se, q]
4026
- ), Rt = o.useCallback(
4027
- (y, k) => {
4028
- var z;
4029
- q({ target: M.current }), L || Z((z = U.current) == null ? void 0 : z.element), se({
4030
- syntheticEvent: k,
4031
- nativeEvent: k.nativeEvent,
4040
+ [ne, $]
4041
+ ), Vt = o.useCallback(
4042
+ (y, x) => {
4043
+ var K;
4044
+ $({ target: M.current }), A || te((K = J.current) == null ? void 0 : K.element), ne({
4045
+ syntheticEvent: x,
4046
+ nativeEvent: x.nativeEvent,
4032
4047
  target: M.current
4033
4048
  }, y, "delete");
4034
4049
  },
4035
- [se, q, Z, L]
4036
- ), Qe = o.useCallback(
4050
+ [ne, $, te, A]
4051
+ ), Ze = o.useCallback(
4037
4052
  (y) => {
4038
4053
  if (e.onExpandChange && M.current) {
4039
- const { item: k, itemHierarchicalIndex: z, nativeEvent: ee, syntheticEvent: ye } = y, Ie = {
4040
- level: Ei(z),
4041
- item: k,
4042
- nativeEvent: ee,
4043
- syntheticEvent: ye,
4054
+ const { item: x, itemHierarchicalIndex: K, nativeEvent: se, syntheticEvent: Ie } = y, xe = {
4055
+ level: Ti(K),
4056
+ item: x,
4057
+ nativeEvent: se,
4058
+ syntheticEvent: Ie,
4044
4059
  target: M.current
4045
4060
  };
4046
- e.onExpandChange.call(void 0, Ie);
4061
+ e.onExpandChange.call(void 0, xe);
4047
4062
  }
4048
4063
  },
4049
4064
  [e.onExpandChange]
4050
- ), Xe = o.useCallback(
4065
+ ), et = o.useCallback(
4051
4066
  (y) => {
4052
4067
  if (e.onFilterChange && M.current) {
4053
- const z = {
4068
+ const K = {
4054
4069
  filter: { field: e.textField, operator: "contains", value: y.target.value },
4055
4070
  syntheticEvent: y.syntheticEvent,
4056
4071
  nativeEvent: y.nativeEvent,
4057
4072
  target: M.current
4058
4073
  };
4059
- e.onFilterChange.call(void 0, z), e.filter === void 0 && X(y.target.value);
4074
+ e.onFilterChange.call(void 0, K), e.filter === void 0 && Q(y.target.value);
4060
4075
  }
4061
4076
  },
4062
4077
  [e.onFilterChange, e.filter, e.textField]
4063
- ), gt = o.useCallback(
4078
+ ), mt = o.useCallback(
4064
4079
  (y) => {
4065
4080
  if (!M.current)
4066
4081
  return;
4067
- const k = {
4082
+ const x = {
4068
4083
  syntheticEvent: y,
4069
4084
  nativeEvent: y.nativeEvent,
4070
4085
  target: M.current
4071
4086
  };
4072
- e.onCancel && e.onCancel.call(void 0, k), q(k), y.preventDefault();
4087
+ e.onCancel && e.onCancel.call(void 0, x), $(x), y.preventDefault();
4073
4088
  },
4074
- [e.onCancel, q]
4075
- ), Ze = () => {
4089
+ [e.onCancel, $]
4090
+ ), tt = () => {
4076
4091
  const y = e.filterable ? /* @__PURE__ */ o.createElement(
4077
- Re,
4092
+ Ve,
4078
4093
  {
4079
- value: e.filter === void 0 ? A : e.filter,
4094
+ value: e.filter === void 0 ? L : e.filter,
4080
4095
  ref: j,
4081
- onChange: Xe,
4082
- onKeyDown: Ye,
4083
- size: ae,
4096
+ onChange: et,
4097
+ onKeyDown: Qe,
4098
+ size: de,
4084
4099
  rounded: I,
4085
- fillMode: T
4100
+ fillMode: F
4086
4101
  }
4087
- ) : null, k = {
4102
+ ) : null, x = {
4088
4103
  adaptiveTitle: e.adaptiveTitle,
4089
- expand: W,
4090
- onClose: (z) => e.onCancel ? gt(z) : Je(z),
4091
- windowWidth: Ce,
4104
+ expand: z,
4105
+ onClose: (K) => e.onCancel ? mt(K) : Xe(K),
4106
+ windowWidth: P,
4092
4107
  mobileFilter: y,
4093
4108
  footer: {
4094
- cancelText: be.toLanguageString(nt, le[nt]),
4095
- onCancel: (z) => e.onCancel ? gt(z) : Je(z),
4096
- applyText: be.toLanguageString(it, le[it]),
4097
- onApply: (z) => q(z)
4109
+ cancelText: ye.toLanguageString(at, ce[at]),
4110
+ onCancel: (K) => e.onCancel ? mt(K) : Xe(K),
4111
+ applyText: ye.toLanguageString(ot, ce[ot]),
4112
+ onApply: (K) => $(K)
4098
4113
  }
4099
4114
  };
4100
- 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(
4115
+ return /* @__PURE__ */ o.createElement(ts, { ...x }, /* @__PURE__ */ o.createElement(rt, { className: "!k-overflow-hidden" }, /* @__PURE__ */ o.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ o.createElement("div", { className: "k-list k-list-lg" }, a.length > 0 ? /* @__PURE__ */ o.createElement(
4101
4116
  kt,
4102
4117
  {
4103
- ref: re,
4118
+ ref: W,
4104
4119
  tabIndex: E,
4105
4120
  data: a,
4106
4121
  focusIdField: p,
4107
4122
  textField: e.textField,
4108
4123
  checkField: w,
4109
- checkIndeterminateField: S,
4124
+ checkIndeterminateField: k,
4110
4125
  expandField: e.expandField,
4111
4126
  childrenField: D,
4112
4127
  expandIcons: !0,
4113
- onItemClick: Le,
4114
- onCheckChange: Le,
4115
- onExpandChange: Qe,
4128
+ onItemClick: He,
4129
+ onCheckChange: He,
4130
+ onExpandChange: Ze,
4116
4131
  checkboxes: !0,
4117
- size: ae,
4132
+ size: de,
4118
4133
  item: e.item,
4119
- dir: ve
4134
+ dir: X
4120
4135
  }
4121
- ) : /* @__PURE__ */ o.createElement(ge, null, be.toLanguageString(fe, le[fe]))))));
4122
- }, ft = o.useCallback(
4136
+ ) : /* @__PURE__ */ o.createElement(me, null, ye.toLanguageString(ve, ce[ve]))))));
4137
+ }, vt = o.useCallback(
4123
4138
  (y) => {
4124
- for (let k of y)
4125
- Me(k.target.clientWidth);
4139
+ for (let x of y)
4140
+ q(x.target.clientWidth);
4126
4141
  },
4127
4142
  []
4128
- ), 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(
4143
+ ), me = e.listNoData || ks, ye = ys(), De = !C || re.valid, { size: de, rounded: I, fillMode: F } = e, G = le && z ? be : Z.current, pe = /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(
4129
4144
  "span",
4130
4145
  {
4131
4146
  className: B("k-multiselecttree k-input", e.className, {
4132
- [`k-input-${us[ae] || ae}`]: ae,
4133
- [`k-rounded-${wi[I] || I}`]: I,
4134
- [`k-input-${T}`]: T,
4135
- "k-focus": L && !h,
4136
- "k-invalid": !Ee,
4147
+ [`k-input-${fs[de] || de}`]: de,
4148
+ [`k-rounded-${Fi[I] || I}`]: I,
4149
+ [`k-input-${F}`]: F,
4150
+ "k-focus": A && !h,
4151
+ "k-invalid": !De,
4137
4152
  "k-disabled": h,
4138
4153
  "k-loading": e.loading,
4139
- "k-required": F
4154
+ "k-required": T
4140
4155
  }),
4141
4156
  tabIndex: E,
4142
4157
  accessKey: e.accessKey,
4143
4158
  id: n,
4144
4159
  style: v ? { ...d, width: void 0 } : d,
4145
- dir: ve,
4146
- ref: K,
4147
- onKeyDown: h ? void 0 : ut,
4148
- onMouseDown: pt,
4149
- onFocus: _t,
4150
- onBlur: ct,
4160
+ dir: X,
4161
+ ref: H,
4162
+ onKeyDown: h ? void 0 : gt,
4163
+ onMouseDown: ut,
4164
+ onFocus: Rt,
4165
+ onBlur: ht,
4151
4166
  role: "combobox",
4152
4167
  "aria-haspopup": "tree",
4153
- "aria-expanded": W,
4168
+ "aria-expanded": z,
4154
4169
  "aria-disabled": h,
4155
4170
  "aria-label": v,
4156
4171
  "aria-labelledby": e.ariaLabelledBy,
4157
4172
  "aria-describedby": e.ariaDescribedBy ? e.ariaDescribedBy : "tagslist-" + n,
4158
4173
  "aria-required": e.required,
4159
- onClick: h ? void 0 : ht
4174
+ onClick: h ? void 0 : ft
4160
4175
  },
4161
4176
  /* @__PURE__ */ o.createElement(
4162
4177
  "div",
4163
4178
  {
4164
4179
  id: "tagslist-" + n,
4165
4180
  className: B("k-input-values k-chip-list k-selection-multiple", {
4166
- [`k-chip-list-${us[ae] || ae}`]: ae
4181
+ [`k-chip-list-${fs[de] || de}`]: de
4167
4182
  })
4168
4183
  },
4169
- $.length > 0 && /* @__PURE__ */ o.createElement(
4170
- Is,
4184
+ G.length > 0 && /* @__PURE__ */ o.createElement(
4185
+ xs,
4171
4186
  {
4172
4187
  tag: e.tag,
4173
- onTagDelete: Rt,
4174
- data: $,
4188
+ onTagDelete: Vt,
4189
+ data: G,
4175
4190
  guid: n,
4176
- focused: oe ? ne.current.find((y) => Ct(y, oe, p)) : void 0,
4177
- size: ae
4191
+ focused: ae ? Z.current.find((y) => St(y, ae, p)) : void 0,
4192
+ size: de
4178
4193
  }
4179
4194
  )
4180
4195
  ),
4181
- /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, $.length === 0 && /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)),
4182
- e.loading && /* @__PURE__ */ o.createElement(ke, { className: "k-input-loading-icon", name: "loading" }),
4183
- je && !h && $.length > 0 && /* @__PURE__ */ o.createElement(lt, { onClick: Je }),
4196
+ /* @__PURE__ */ o.createElement("span", { className: "k-input-inner" }, G.length === 0 && /* @__PURE__ */ o.createElement("span", { className: "k-input-value-text" }, m)),
4197
+ e.loading && /* @__PURE__ */ o.createElement(Ce, { className: "k-input-loading-icon", name: "loading" }),
4198
+ Ee && !h && G.length > 0 && /* @__PURE__ */ o.createElement(dt, { onClick: Xe }),
4184
4199
  /* @__PURE__ */ o.createElement(
4185
4200
  "select",
4186
4201
  {
@@ -4194,79 +4209,79 @@ const Si = "Please select a value from the list!", { sizeMap: us, roundedMap: wi
4194
4209
  /* @__PURE__ */ o.createElement(
4195
4210
  "option",
4196
4211
  {
4197
- value: e.valueMap ? e.valueMap.call(void 0, C) : C
4212
+ value: e.valueMap ? e.valueMap.call(void 0, S) : S
4198
4213
  }
4199
4214
  )
4200
4215
  ),
4201
- !J && /* @__PURE__ */ o.createElement(
4202
- jt,
4216
+ !le && /* @__PURE__ */ o.createElement(
4217
+ Yt,
4203
4218
  {
4204
4219
  popupClass: B(
4205
4220
  c.popupClass,
4206
4221
  "k-multiselecttree-popup"
4207
4222
  ),
4208
- className: B(c.className, { "k-rtl": ve === "rtl" }),
4209
- style: dt,
4223
+ className: B(c.className, { "k-rtl": X === "rtl" }),
4224
+ style: pt,
4210
4225
  animate: c.animate,
4211
- anchor: K.current,
4212
- show: W,
4213
- onOpen: Ot,
4214
- onClose: Pt,
4226
+ anchor: H.current,
4227
+ show: z,
4228
+ onOpen: Pt,
4229
+ onClose: _t,
4215
4230
  appendTo: c.appendTo,
4216
- ref: Q
4231
+ ref: ee
4217
4232
  },
4218
4233
  e.filterable && /* @__PURE__ */ o.createElement(
4219
- Re,
4234
+ Ve,
4220
4235
  {
4221
- value: e.filter === void 0 ? A : e.filter,
4222
- ref: U,
4223
- onChange: Xe,
4224
- onKeyDown: Ye,
4236
+ value: e.filter === void 0 ? L : e.filter,
4237
+ ref: J,
4238
+ onChange: et,
4239
+ onKeyDown: Qe,
4225
4240
  tabIndex: E,
4226
- size: ae,
4241
+ size: de,
4227
4242
  rounded: I,
4228
- fillMode: T
4243
+ fillMode: F
4229
4244
  }
4230
4245
  ),
4231
4246
  a.length > 0 ? /* @__PURE__ */ o.createElement(
4232
4247
  kt,
4233
4248
  {
4234
- ref: re,
4249
+ ref: W,
4235
4250
  tabIndex: E,
4236
4251
  data: a,
4237
4252
  focusIdField: p,
4238
4253
  textField: e.textField,
4239
4254
  checkField: w,
4240
- checkIndeterminateField: S,
4255
+ checkIndeterminateField: k,
4241
4256
  expandField: e.expandField,
4242
4257
  childrenField: D,
4243
4258
  expandIcons: !0,
4244
- onItemClick: Le,
4245
- onCheckChange: Le,
4246
- onExpandChange: Qe,
4259
+ onItemClick: He,
4260
+ onCheckChange: He,
4261
+ onExpandChange: Ze,
4247
4262
  checkboxes: !0,
4248
- size: ae,
4263
+ size: de,
4249
4264
  item: e.item,
4250
- dir: ve
4265
+ dir: X
4251
4266
  }
4252
- ) : /* @__PURE__ */ o.createElement(ge, null, be.toLanguageString(fe, le[fe]))
4267
+ ) : /* @__PURE__ */ o.createElement(me, null, ye.toLanguageString(ve, ce[ve]))
4253
4268
  )
4254
- ), J && Ze());
4269
+ ), le && tt());
4255
4270
  return v ? /* @__PURE__ */ o.createElement(
4256
- $e,
4271
+ Ue,
4257
4272
  {
4258
4273
  label: v,
4259
- editorValue: je,
4274
+ editorValue: Ee,
4260
4275
  editorPlaceholder: m,
4261
- editorValid: Ee,
4276
+ editorValid: De,
4262
4277
  editorDisabled: h,
4263
4278
  editorId: n,
4264
4279
  style: { width: d ? d.width : void 0 },
4265
- children: de,
4266
- dir: ve
4280
+ children: pe,
4281
+ dir: X
4267
4282
  }
4268
- ) : de;
4269
- }), Fi = {
4283
+ ) : pe;
4284
+ }), Oi = {
4270
4285
  opened: l.bool,
4271
4286
  disabled: l.bool,
4272
4287
  dir: l.string,
@@ -4324,101 +4339,101 @@ const Si = "Please select a value from the list!", { sizeMap: us, roundedMap: wi
4324
4339
  adaptiveTitle: l.string,
4325
4340
  adaptive: l.bool
4326
4341
  };
4327
- ss.displayName = "KendoReactMultiSelectTree";
4328
- ss.defaultProps = _e;
4329
- ss.propTypes = Fi;
4330
- const et = (i, t) => {
4342
+ is.displayName = "KendoReactMultiSelectTree";
4343
+ is.defaultProps = Re;
4344
+ is.propTypes = Oi;
4345
+ const st = (i, t) => {
4331
4346
  const e = {};
4332
4347
  return i && i.length && i.forEach((s) => {
4333
4348
  e[t(s)] = !0;
4334
4349
  }), e;
4335
- }, Hi = (i, t) => {
4350
+ }, qi = (i, t) => {
4336
4351
  const {
4337
4352
  items: e,
4338
4353
  dataItemKey: s,
4339
4354
  value: n,
4340
4355
  subItemsField: a = "items",
4341
4356
  operation: p
4342
- } = t, c = It(s), d = et(n, c);
4357
+ } = t, c = Ct(s), d = st(n, c);
4343
4358
  if (p === "clear")
4344
4359
  return [];
4345
4360
  if (p === "delete") {
4346
- const O = et(e, c);
4347
- return n.filter((_) => !O[c(_)]);
4361
+ const N = st(e, c);
4362
+ return n.filter((_) => !N[c(_)]);
4348
4363
  }
4349
- const r = e[0], h = c(r), u = It(a), g = [...i], m = [];
4364
+ const r = e[0], h = c(r), u = Ct(a), f = [...i], m = [];
4350
4365
  let v = [], b;
4351
- for (; g.length; ) {
4352
- const O = g.pop();
4353
- if (h === c(O)) {
4354
- v = m.map((_) => _.item), b = O;
4366
+ for (; f.length; ) {
4367
+ const N = f.pop();
4368
+ if (h === c(N)) {
4369
+ v = m.map((_) => _.item), b = N;
4355
4370
  break;
4356
4371
  } else {
4357
- m && m.length && m[m.length - 1].parentPosition === g.length && m.pop();
4358
- const _ = u(O);
4359
- _ && _.length && (m.push({ item: O, parentPosition: g.length }), g.push(..._));
4372
+ m && m.length && m[m.length - 1].parentPosition === f.length && m.pop();
4373
+ const _ = u(N);
4374
+ _ && _.length && (m.push({ item: N, parentPosition: f.length }), f.push(..._));
4360
4375
  }
4361
4376
  }
4362
4377
  const w = [...u(b) || []];
4363
- let S = [];
4378
+ let k = [];
4364
4379
  for (; w.length; ) {
4365
- const O = w.pop();
4366
- S.push(O);
4367
- const _ = u(O);
4380
+ const N = w.pop();
4381
+ k.push(N);
4382
+ const _ = u(N);
4368
4383
  _ && _.length && w.push(..._);
4369
4384
  }
4370
- const D = !d[h], N = [];
4385
+ const D = !d[h], O = [];
4371
4386
  if (D) {
4372
- N.push(...n), N.push(b), N.push(...S.filter((C) => !d[c(C)]));
4373
- const O = v.filter((C) => !d[c(C)]), _ = et(N, c);
4374
- for (let C = O.length - 1; C > -1; C--) {
4375
- const F = O[C], x = u(F);
4376
- if (x.filter((M) => _[c(M)]).length < x.length)
4387
+ O.push(...n), O.push(b), O.push(...k.filter((S) => !d[c(S)]));
4388
+ const N = v.filter((S) => !d[c(S)]), _ = st(O, c);
4389
+ for (let S = N.length - 1; S > -1; S--) {
4390
+ const T = N[S], C = u(T);
4391
+ if (C.filter((M) => _[c(M)]).length < C.length)
4377
4392
  break;
4378
- N.push(F), _[c(F)] = !0;
4393
+ O.push(T), _[c(T)] = !0;
4379
4394
  }
4380
4395
  } else {
4381
- const O = c(b), _ = et(S, c), C = et(v, c);
4382
- N.push(
4383
- ...n.filter((F) => {
4384
- const x = c(F);
4385
- return !_[x] && O !== x && !C[x];
4396
+ const N = c(b), _ = st(k, c), S = st(v, c);
4397
+ O.push(
4398
+ ...n.filter((T) => {
4399
+ const C = c(T);
4400
+ return !_[C] && N !== C && !S[C];
4386
4401
  })
4387
4402
  );
4388
4403
  }
4389
- return N;
4404
+ return O;
4390
4405
  };
4391
4406
  export {
4392
- ai as AutoComplete,
4393
- oi as AutoCompletePropsContext,
4394
- Tt as AutoCompleteWithoutContext,
4395
- ys as ComboBox,
4396
- si as ComboBoxPropsContext,
4397
- rt as ComboBoxWithoutContext,
4398
- Zs as DropDownList,
4399
- Dt as DropDownListClassComponent,
4400
- Xs as DropDownListPropsContext,
4401
- Dt as DropDownListWithoutContext,
4402
- xs as DropDownTree,
4403
- Ci as DropDownTreePropsContext,
4404
- Ge as List,
4405
- Et as ListContainer,
4406
- Re as ListFilter,
4407
- $s as ListItem,
4408
- ts as MultiColumnComboBox,
4409
- fi as MultiColumnComboBoxPropsContext,
4410
- hi as MultiSelect,
4411
- pi as MultiSelectPropsContext,
4412
- ss as MultiSelectTree,
4413
- Ti as MultiSelectTreePropsContext,
4414
- Ft as MultiSelectWithoutContext,
4415
- Zt as SearchBar,
4416
- Is as TagList,
4417
- le as dropdownsMessages,
4418
- zi as findByFieldValue,
4407
+ di as AutoComplete,
4408
+ ri as AutoCompletePropsContext,
4409
+ Mt as AutoCompleteWithoutContext,
4410
+ Is as ComboBox,
4411
+ oi as ComboBoxPropsContext,
4412
+ ct as ComboBoxWithoutContext,
4413
+ ti as DropDownList,
4414
+ Tt as DropDownListClassComponent,
4415
+ ei as DropDownListPropsContext,
4416
+ Tt as DropDownListWithoutContext,
4417
+ Ss as DropDownTree,
4418
+ wi as DropDownTreePropsContext,
4419
+ je as List,
4420
+ Ft as ListContainer,
4421
+ Ve as ListFilter,
4422
+ Us as ListItem,
4423
+ ss as MultiColumnComboBox,
4424
+ bi as MultiColumnComboBoxPropsContext,
4425
+ gi as MultiSelect,
4426
+ fi as MultiSelectPropsContext,
4427
+ is as MultiSelectTree,
4428
+ Ni as MultiSelectTreePropsContext,
4429
+ Nt as MultiSelectWithoutContext,
4430
+ es as SearchBar,
4431
+ xs as TagList,
4432
+ ce as dropdownsMessages,
4433
+ Wi as findByFieldValue,
4419
4434
  V as getItemValue,
4420
- Hi as getMultiSelectTreeValue,
4421
- et as getValueMap,
4422
- fe as nodata,
4423
- Ls as scrollToItem
4435
+ qi as getMultiSelectTreeValue,
4436
+ st as getValueMap,
4437
+ ve as nodata,
4438
+ Hs as scrollToItem
4424
4439
  };