@progress/kendo-react-dropdowns 9.5.0 → 10.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,64 +7,71 @@
7
7
  */
8
8
  import * as i from "react";
9
9
  import k from "prop-types";
10
- import { validatePackage as Gt, useUnstyled as Yt, useId as $t, usePropsContext as jt, canUseDOM as rt, useAdaptiveModeContext as Jt, classNames as C, uDropDownList as b, getTabIndex as Qt, IconWrap as Xt, svgIconPropType as Zt, createPropsContext as Rt, Keys as w, uDropDownsActionSheet as J } from "@progress/kendo-react-common";
11
- import { FloatingLabel as en } from "@progress/kendo-react-labels";
12
- import { caretAltDownIcon as tn, xIcon as nn } from "@progress/kendo-svg-icons";
13
- import rn from "../common/ListContainer.mjs";
14
- import on from "../common/ListFilter.mjs";
15
- import ot from "../common/GroupStickyHeader.mjs";
16
- import an from "../common/ListDefaultItem.mjs";
17
- import ln from "../common/List.mjs";
18
- import dt from "../common/DropDownBase.mjs";
19
- import { getFilteredData as P, areSame as N, getItemValue as fe, isPresent as it, itemIndexStartsWith as sn, sameCharsOnly as dn, shuffleData as cn, matchText as at } from "../common/utils.mjs";
20
- import { packageMetadata as un } from "../package-metadata.mjs";
21
- import { Button as lt } from "@progress/kendo-react-buttons";
22
- import { useLocalization as pn } from "@progress/kendo-react-intl";
23
- import { dropDownListArrowBtnAriaLabel as st, messages as mn } from "../messages/index.mjs";
24
- import { ActionSheet as fn, ActionSheetHeader as vn, ActionSheetContent as gn } from "@progress/kendo-react-layout";
25
- const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) => {
26
- Gt(un);
27
- const F = Yt(), ve = $t(E.id), r = jt(In, E), {
28
- delay: ut = z.delay,
29
- tabIndex: pt = z.tabIndex,
10
+ import { validatePackage as Yt, useUnstyled as $t, useId as jt, usePropsContext as Jt, canUseDOM as ot, useAdaptiveModeContext as Qt, classNames as E, uDropDownList as b, getTabIndex as Xt, IconWrap as Zt, svgIconPropType as Rt, createPropsContext as en, Keys as y, uDropDownsActionSheet as J, WatermarkOverlay as tn } from "@progress/kendo-react-common";
11
+ import { FloatingLabel as nn } from "@progress/kendo-react-labels";
12
+ import { caretAltDownIcon as rn, xIcon as on } from "@progress/kendo-svg-icons";
13
+ import an from "../common/ListContainer.mjs";
14
+ import ln from "../common/ListFilter.mjs";
15
+ import it from "../common/GroupStickyHeader.mjs";
16
+ import sn from "../common/ListDefaultItem.mjs";
17
+ import dn from "../common/List.mjs";
18
+ import ct from "../common/DropDownBase.mjs";
19
+ import { getFilteredData as P, areSame as N, getItemValue as fe, isPresent as at, itemIndexStartsWith as cn, sameCharsOnly as un, shuffleData as pn, matchText as lt } from "../common/utils.mjs";
20
+ import { packageMetadata as mn } from "../package-metadata.mjs";
21
+ import { Button as st } from "@progress/kendo-react-buttons";
22
+ import { useLocalization as fn } from "@progress/kendo-react-intl";
23
+ import { dropDownListArrowBtnAriaLabel as dt, messages as vn } from "../messages/index.mjs";
24
+ import { ActionSheet as gn, ActionSheetHeader as hn, ActionSheetContent as In } from "@progress/kendo-react-layout";
25
+ const wn = "Please select a value from the list!", Te = i.forwardRef((D, ut) => {
26
+ let ze = !1;
27
+ if (D.filterable || D.virtual) {
28
+ const e = [];
29
+ D.filterable && e.push("filterable"), D.virtual && e.push("virtualization"), ze = !Yt(mn, {
30
+ component: "DropDownList",
31
+ features: e
32
+ });
33
+ }
34
+ const F = $t(), ve = jt(D.id), r = Jt(yn, D), {
35
+ delay: pt = z.delay,
36
+ tabIndex: mt = z.tabIndex,
30
37
  ignoreCase: ge = z.ignoreCase,
31
38
  size: Q = z.size,
32
- rounded: ze = z.rounded,
39
+ rounded: Oe = z.rounded,
33
40
  fillMode: he = z.fillMode,
34
- groupMode: yn = z.groupMode
41
+ groupMode: xn = z.groupMode
35
42
  } = r, Ie = () => {
36
43
  var e;
37
- if (rt)
44
+ if (ot)
38
45
  return ((e = Z.current) == null ? void 0 : e.ownerDocument) || window.document;
39
- }, mt = () => {
46
+ }, ft = () => {
40
47
  var e, n;
41
48
  (e = t == null ? void 0 : t.current) != null && e.wrapper && ((n = t == null ? void 0 : t.current) == null || n.wrapper.focus({ preventScroll: !0 }));
42
49
  }, L = () => {
43
50
  let e;
44
- return H.current !== void 0 && H.current !== null ? e = H.current : r.value !== void 0 ? e = r.value : p.value !== void 0 && p.value !== null ? e = p.value : r.defaultValue !== void 0 && r.defaultValue !== null && (e = r.defaultValue), !it(e) && r.defaultItem !== void 0 && r.defaultItem !== null && (e = r.defaultItem), e;
45
- }, ft = () => {
46
- const { dataItemKey: e } = r, n = P(E), a = L();
51
+ return H.current !== void 0 && H.current !== null ? e = H.current : r.value !== void 0 ? e = r.value : p.value !== void 0 && p.value !== null ? e = p.value : r.defaultValue !== void 0 && r.defaultValue !== null && (e = r.defaultValue), !at(e) && r.defaultItem !== void 0 && r.defaultItem !== null && (e = r.defaultItem), e;
52
+ }, vt = () => {
53
+ const { dataItemKey: e } = r, n = P(D), a = L();
47
54
  return n.findIndex((c) => N(c, a, e));
48
- }, ye = () => r.required !== void 0 ? r.required : z.required, we = () => {
49
- const e = r.validationMessage !== void 0, n = L(), a = !ye() || n !== null && n !== "" && n !== void 0, c = r.valid !== void 0 ? r.valid : a;
55
+ }, we = () => r.required !== void 0 ? r.required : z.required, ye = () => {
56
+ const e = r.validationMessage !== void 0, n = L(), a = !we() || n !== null && n !== "" && n !== void 0, c = r.valid !== void 0 ? r.valid : a;
50
57
  return {
51
58
  customError: e,
52
59
  valid: c,
53
60
  valueMissing: n === null
54
61
  };
55
- }, vt = () => r.validityStyles !== void 0 ? r.validityStyles : z.validityStyles, oe = (e) => {
62
+ }, gt = () => r.validityStyles !== void 0 ? r.validityStyles : z.validityStyles, oe = (e) => {
56
63
  ie.current = !0, e.focus(), window.setTimeout(() => ie.current = !1, 30);
57
64
  }, xe = () => {
58
65
  R.current && oe(R.current), r.adaptive && setTimeout(() => {
59
66
  R.current && oe(R.current);
60
67
  }, 300);
61
- }, gt = i.useCallback((e) => {
68
+ }, ht = i.useCallback((e) => {
62
69
  for (const n of e)
63
- Tt(n.target.clientWidth);
64
- }, []), Oe = () => {
70
+ zt(n.target.clientWidth);
71
+ }, []), Ae = () => {
65
72
  var e;
66
73
  (e = Ee.current) != null && e.setCustomValidity && Ee.current.setCustomValidity(
67
- we().valid ? "" : r.validationMessage || hn
74
+ ye().valid ? "" : r.validationMessage || wn
68
75
  );
69
76
  }, q = (e, n) => {
70
77
  const a = L();
@@ -74,11 +81,11 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
74
81
  (n = t == null ? void 0 : t.current) == null || n.applyState(e), H.current = void 0;
75
82
  }, X = (e, n) => {
76
83
  var s;
77
- const { virtual: a, dataItemKey: c, defaultItem: u } = r, m = P(E), v = a ? a.skip : 0, f = L(), o = e === -1 && u !== void 0 ? u : m[e - v], d = !N(o, f, c);
84
+ const { virtual: a, dataItemKey: c, defaultItem: u } = r, m = P(D), v = a ? a.skip : 0, f = L(), o = e === -1 && u !== void 0 ? u : m[e - v], d = !N(o, f, c);
78
85
  q(o, n), d && ((s = t == null ? void 0 : t.current) == null || s.triggerPageChangeCornerItems(o, n));
79
86
  }, A = (e, n, a) => {
80
87
  var I, h;
81
- const { defaultItem: c, dataItemKey: u, virtual: m = { skip: 0, total: 0, pageSize: 0 } } = r, v = L(), f = P(E), o = (I = t == null ? void 0 : t.current) == null ? void 0 : I.vs, d = f.findIndex((y) => N(y, v, u)), s = (h = t == null ? void 0 : t.current) == null ? void 0 : h.navigation.navigate({
88
+ const { defaultItem: c, dataItemKey: u, virtual: m = { skip: 0, total: 0, pageSize: 0 } } = r, v = L(), f = P(D), o = (I = t == null ? void 0 : t.current) == null ? void 0 : I.vs, d = f.findIndex((w) => N(w, v, u)), s = (h = t == null ? void 0 : t.current) == null ? void 0 : h.navigation.navigate({
82
89
  current: m.skip + d,
83
90
  max: (o != null && o.enabled ? m.total : f.length) - 1,
84
91
  min: c !== void 0 ? -1 : 0,
@@ -86,9 +93,9 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
86
93
  skipItems: a || void 0
87
94
  });
88
95
  s !== void 0 && X(s, e), K(e);
89
- }, ht = (e) => {
96
+ }, It = (e) => {
90
97
  Z.current = e, t.current.wrapper = e;
91
- }, It = (e) => /* @__PURE__ */ i.createElement(
98
+ }, wt = (e) => /* @__PURE__ */ i.createElement(
92
99
  "select",
93
100
  {
94
101
  name: r.name,
@@ -101,26 +108,26 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
101
108
  style: { opacity: 0, width: 1, border: 0, zIndex: -1, position: "absolute", left: "50%" }
102
109
  },
103
110
  /* @__PURE__ */ i.createElement("option", { value: r.valueMap ? r.valueMap.call(void 0, e) : e })
104
- ), Se = () => {
111
+ ), De = () => {
105
112
  const {
106
113
  textField: e,
107
114
  dataItemKey: n,
108
115
  virtual: a = { skip: 0 },
109
- focusedItemIndex: c = sn,
116
+ focusedItemIndex: c = cn,
110
117
  filterable: u,
111
118
  skipDisabledItems: m = !0
112
- } = r, v = L(), f = P(E), o = r.filter ? r.filter : p.text;
113
- return m && e && !o && !v ? f.findIndex((d) => !d.disabled && d[e]) : it(v) && o === void 0 || u && o === "" ? f.findIndex((d) => N(d, v, n)) : o ? ke.current ? c(f, o, e) : f.findIndex((d) => N(d, v, n)) : a.skip === 0 ? 0 : -1;
114
- }, Ae = (e, n) => n !== void 0 && n !== -1 && e && e.length > 0 && e[n].disabled, De = () => {
115
- const e = P(E), n = t.current.initState(), a = Se();
116
- Ae(e, a) && (q(null, n), K(n));
119
+ } = r, v = L(), f = P(D), o = r.filter ? r.filter : p.text;
120
+ return m && e && !o && !v ? f.findIndex((d) => !d.disabled && d[e]) : at(v) && o === void 0 || u && o === "" ? f.findIndex((d) => N(d, v, n)) : o ? ke.current ? c(f, o, e) : f.findIndex((d) => N(d, v, n)) : a.skip === 0 ? 0 : -1;
121
+ }, He = (e, n) => n !== void 0 && n !== -1 && e && e.length > 0 && e[n].disabled, Se = () => {
122
+ const e = P(D), n = t.current.initState(), a = De();
123
+ He(e, a) && (q(null, n), K(n));
117
124
  }, Ce = (e) => {
118
125
  if (e.isPropagationStopped())
119
126
  return;
120
127
  const n = t.current.initState();
121
- n.syntheticEvent = e, p.focused || (n.data.focused = !0), De(), t.current.togglePopup(n), K(n);
122
- }, He = (e) => {
123
- var O, pe, _, me, j, tt, nt;
128
+ n.syntheticEvent = e, p.focused || (n.data.focused = !0), Se(), t.current.togglePopup(n), K(n);
129
+ }, Ve = (e) => {
130
+ var O, pe, _, me, j, nt, rt;
124
131
  e && e.target instanceof Element && e.target.nodeName === "INPUT" && e.stopPropagation && e.stopPropagation();
125
132
  const {
126
133
  filterable: n,
@@ -132,78 +139,78 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
132
139
  groupField: f = "",
133
140
  textField: o,
134
141
  skipDisabledItems: d = !0
135
- } = r, s = P(E), I = L(), h = s.findIndex((D) => N(D, I, v)), y = r.opened !== void 0 ? r.opened : p.opened, l = e.keyCode, T = l === w.home || l === w.end, M = l === w.up || l === w.down, $ = !y && (e.altKey && l === w.down || l === w.enter || l === w.space), re = y && (e.altKey && l === w.up || l === w.esc), ce = u && (l === w.left || l === w.right), ue = M || ce && !n || T, S = t.current.initState();
142
+ } = r, s = P(D), I = L(), h = s.findIndex((C) => N(C, I, v)), w = r.opened !== void 0 ? r.opened : p.opened, l = e.keyCode, T = l === y.home || l === y.end, M = l === y.up || l === y.down, $ = !w && (e.altKey && l === y.down || l === y.enter || l === y.space), re = w && (e.altKey && l === y.up || l === y.esc), ce = u && (l === y.left || l === y.right), ue = M || ce && !n || T, S = t.current.initState();
136
143
  if (S.syntheticEvent = e, !a) {
137
144
  if (T && ((O = t == null ? void 0 : t.current) != null && O.vs.enabled))
138
- l === w.home ? m.skip !== 0 ? ((pe = t == null ? void 0 : t.current) == null || pe.triggerOnPageChange(S, 0, m.pageSize), V.current = !0) : q(s[0], S) : m.skip < m.total - m.pageSize ? ((_ = t == null ? void 0 : t.current) == null || _.triggerOnPageChange(
145
+ l === y.home ? m.skip !== 0 ? ((pe = t == null ? void 0 : t.current) == null || pe.triggerOnPageChange(S, 0, m.pageSize), V.current = !0) : q(s[0], S) : m.skip < m.total - m.pageSize ? ((_ = t == null ? void 0 : t.current) == null || _.triggerOnPageChange(
139
146
  S,
140
147
  m.total - m.pageSize,
141
148
  m.pageSize
142
149
  ), V.current = !0) : q(s[s.length - 1], S);
143
- else if (y && l === w.pageUp)
150
+ else if (w && l === y.pageUp)
144
151
  e.preventDefault(), (me = t == null ? void 0 : t.current) == null || me.scrollPopupByPageSize(-1);
145
- else if (y && l === w.pageDown)
152
+ else if (w && l === y.pageDown)
146
153
  e.preventDefault(), (j = t == null ? void 0 : t.current) == null || j.scrollPopupByPageSize(1);
147
- else if (y && l === w.enter) {
148
- const D = Se();
149
- Ae(s, D) ? (q(null, S), K(S)) : X(D, S), (tt = t == null ? void 0 : t.current) == null || tt.togglePopup(S), e.preventDefault();
154
+ else if (w && l === y.enter) {
155
+ const C = De();
156
+ He(s, C) ? (q(null, S), K(S)) : X(C, S), (nt = t == null ? void 0 : t.current) == null || nt.togglePopup(S), e.preventDefault();
150
157
  } else if ($ || re)
151
- re && De(), (nt = t == null ? void 0 : t.current) == null || nt.togglePopup(S), e.preventDefault();
158
+ re && Se(), (rt = t == null ? void 0 : t.current) == null || rt.togglePopup(S), e.preventDefault();
152
159
  else if (ue) {
153
160
  if (ke.current = !1, f !== "" && o)
154
- if (!d && y)
161
+ if (!d && w)
155
162
  A(S, l);
156
163
  else {
157
- let D;
158
- if (l === w.down || l === w.right) {
164
+ let C;
165
+ if (l === y.down || l === y.right) {
159
166
  const x = s.slice(h + 1).find((g) => !g.disabled && g[o]);
160
- D = x && s.findIndex((g) => g[o] === x[o]);
161
- } else if (l === w.up || l === w.left) {
167
+ C = x && s.findIndex((g) => g[o] === x[o]);
168
+ } else if (l === y.up || l === y.left) {
162
169
  let x;
163
170
  if (h === 0 && c)
164
- D = -1;
171
+ C = -1;
165
172
  else if (h === -1)
166
- x = s, D = s.findIndex((g) => !g.disabled && g[o]);
173
+ x = s, C = s.findIndex((g) => !g.disabled && g[o]);
167
174
  else {
168
175
  x = s.slice(0, h);
169
176
  let g = x.pop();
170
177
  for (; g && g.disabled; )
171
178
  g = x.pop();
172
- D = g && s.findIndex((Ke) => Ke[o] === g[o]);
179
+ C = g && s.findIndex((Ke) => Ke[o] === g[o]);
173
180
  }
174
181
  }
175
- if (D !== void 0) {
176
- const x = D - h;
182
+ if (C !== void 0) {
183
+ const x = C - h;
177
184
  A(S, l, x);
178
185
  } else
179
- D === void 0 && s.findIndex((x) => x[o] === I[o]) === s.length - 1 && A(S, l);
186
+ C === void 0 && s.findIndex((x) => x[o] === I[o]) === s.length - 1 && A(S, l);
180
187
  }
181
- else if (!d && y || T)
188
+ else if (!d && w || T)
182
189
  A(S, l);
183
190
  else if (o) {
184
- let D;
185
- if (l === w.down || l === w.right) {
191
+ let C;
192
+ if (l === y.down || l === y.right) {
186
193
  const x = s.slice(h + 1).find((g) => !g.disabled && g[o]);
187
- D = x && s.findIndex((g) => g[o] === x[o]);
188
- } else if (l === w.up || l === w.left) {
194
+ C = x && s.findIndex((g) => g[o] === x[o]);
195
+ } else if (l === y.up || l === y.left) {
189
196
  let x;
190
197
  if (h === 0 && c)
191
- D = -1;
198
+ C = -1;
192
199
  else if (h === -1)
193
- x = s, D = s.find((g) => !g.disabled && g[o]);
200
+ x = s, C = s.find((g) => !g.disabled && g[o]);
194
201
  else {
195
202
  x = s.slice(0, h);
196
203
  let g = x.pop();
197
204
  for (; g && g.disabled; )
198
205
  g = x.pop();
199
- D = g && s.findIndex((Ke) => Ke[o] === g[o]);
206
+ C = g && s.findIndex((Ke) => Ke[o] === g[o]);
200
207
  }
201
208
  }
202
- if (D !== void 0) {
203
- const x = D - h;
209
+ if (C !== void 0) {
210
+ const x = C - h;
204
211
  A(S, l, x);
205
212
  } else
206
- D === void 0 && s.findIndex((x) => x[o] === I[o]) === s.length - 1 && A(S, l);
213
+ C === void 0 && s.findIndex((x) => x[o] === I[o]) === s.length - 1 && A(S, l);
207
214
  } else
208
215
  A(S, l);
209
216
  e.preventDefault();
@@ -213,54 +220,54 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
213
220
  }, yt = (e) => {
214
221
  const n = t.current.initState();
215
222
  n.syntheticEvent = e.syntheticEvent, r.filter === void 0 && (n.data.text = e.target.value), t.current.filterChanged(e.target.value, n), ke.current = !0, K(n), te({ group: void 0, text: String(e.target.value) });
216
- }, Ve = () => {
223
+ }, Be = () => {
217
224
  const e = r.filter !== void 0 ? r.filter : p.text;
218
225
  return r.filterable && /* @__PURE__ */ i.createElement(
219
- on,
226
+ ln,
220
227
  {
221
228
  value: e,
222
229
  ref: (n) => R.current = n && n.element,
223
230
  onChange: yt,
224
- onKeyDown: He,
231
+ onKeyDown: Ve,
225
232
  size: Q,
226
- rounded: ze,
233
+ rounded: Oe,
227
234
  fillMode: he,
228
235
  renderListFilterWrapper: !0
229
236
  }
230
237
  );
231
- }, wt = (e) => {
238
+ }, xt = (e) => {
232
239
  var a;
233
240
  const n = t.current.initState();
234
241
  n.syntheticEvent = e, (a = t == null ? void 0 : t.current) == null || a.togglePopup(n), q(r.defaultItem, n), K(n);
235
- }, Be = () => {
242
+ }, We = () => {
236
243
  const { textField: e, defaultItem: n, dataItemKey: a } = r, c = L();
237
244
  return n !== void 0 && /* @__PURE__ */ i.createElement(
238
- an,
245
+ sn,
239
246
  {
240
247
  defaultItem: n,
241
248
  textField: e,
242
249
  selected: N(c, n, a),
243
250
  key: "defaultitemkey",
244
- onClick: wt
251
+ onClick: xt
245
252
  }
246
253
  );
247
- }, xt = (e, n) => {
254
+ }, Dt = (e, n) => {
248
255
  var a;
249
256
  (a = t == null ? void 0 : t.current) == null || a.handleItemClick(e, n), H.current = void 0;
250
257
  }, St = (e) => {
251
258
  const { vs: n, list: a } = t.current;
252
259
  n.scrollHandler(e);
253
260
  const { groupField: c } = r;
254
- let u = P(E);
261
+ let u = P(D);
255
262
  if (!(!c || !u.length) && c) {
256
- const m = Ue.current = Ue.current || (n.enabled ? n.itemHeight : a ? a.children[0].offsetHeight : 0), f = e.target.scrollTop - n.skip * m;
263
+ const m = Ge.current = Ge.current || (n.enabled ? n.itemHeight : a ? a.children[0].offsetHeight : 0), f = e.target.scrollTop - n.skip * m;
257
264
  u = t.current.getGroupedDataModernMode(u, c);
258
265
  let o = u[0][c];
259
266
  for (let d = 1; d < u.length && !(m * d > f); d++)
260
267
  u[d] && u[d][c] && (o = u[d][c]);
261
268
  o !== p.group && te({ group: o });
262
269
  }
263
- }, We = () => {
270
+ }, _e = () => {
264
271
  var l;
265
272
  const {
266
273
  textField: e,
@@ -269,27 +276,27 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
269
276
  groupHeaderItemRender: c,
270
277
  listNoDataRender: u,
271
278
  itemRender: m
272
- } = r, v = P(E), f = F && F.uDropDownList, o = t.current.vs, d = a.skip, s = r.opened !== void 0 ? r.opened : p.opened, I = t.current.getPopupSettings(), h = `translateY(${o.translate}px)`, y = L();
279
+ } = r, v = P(D), f = F && F.uDropDownList, o = t.current.vs, d = a.skip, s = r.opened !== void 0 ? r.opened : p.opened, I = t.current.getPopupSettings(), h = `translateY(${o.translate}px)`, w = L();
273
280
  return /* @__PURE__ */ i.createElement(
274
- ln,
281
+ dn,
275
282
  {
276
283
  id: be,
277
284
  show: s,
278
285
  data: v.slice(),
279
- focusedIndex: Se(),
280
- value: y,
286
+ focusedIndex: De(),
287
+ value: w,
281
288
  textField: e,
282
289
  valueField: n,
283
- optionsGuid: $e,
290
+ optionsGuid: je,
284
291
  groupField: r.groupField,
285
292
  groupMode: "modern",
286
293
  listRef: (T) => o.list = t.current.list = T,
287
294
  wrapperStyle: { maxHeight: I.height },
288
- wrapperCssClass: C(b.listContent({ c: f })),
295
+ wrapperCssClass: E(b.listContent({ c: f })),
289
296
  listStyle: o.enabled ? { transform: h } : void 0,
290
297
  key: "listkey",
291
298
  skip: d,
292
- onClick: xt,
299
+ onClick: Dt,
293
300
  itemRender: m,
294
301
  groupHeaderItemRender: c,
295
302
  noDataRender: u,
@@ -299,15 +306,15 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
299
306
  ariaSetSize: a.total
300
307
  }
301
308
  );
302
- }, Dt = () => {
309
+ }, Ct = () => {
303
310
  var h;
304
- const { header: e, footer: n, adaptiveTitle: a, groupField: c, groupStickyHeaderItemRender: u, list: m } = r, v = P(E), f = r.opened !== void 0 ? r.opened : p.opened, o = F && F.uDropDownList, d = F && F.uDropDownsActionSheet, s = {
311
+ const { header: e, footer: n, adaptiveTitle: a, groupField: c, groupStickyHeaderItemRender: u, list: m } = r, v = P(D), f = r.opened !== void 0 ? r.opened : p.opened, o = F && F.uDropDownList, d = F && F.uDropDownsActionSheet, s = {
305
312
  navigatable: !1,
306
313
  navigatableElements: [],
307
314
  expand: f,
308
315
  animation: !0,
309
- onClose: (y) => Ce(y),
310
- className: C(
316
+ onClose: (w) => Ce(w),
317
+ className: E(
311
318
  J.wrapper({
312
319
  c: d
313
320
  }),
@@ -317,8 +324,8 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
317
324
  position: G && Y && G <= Y.small ? "fullscreen" : void 0
318
325
  };
319
326
  let { group: I } = p;
320
- return I === void 0 && c !== void 0 && (I = fe(v[0], c)), /* @__PURE__ */ i.createElement(fn, { ...s }, /* @__PURE__ */ i.createElement(vn, { className: C(J.header({ c: d })) }, /* @__PURE__ */ i.createElement("div", { className: C(J.titleBar({ c: d })) }, /* @__PURE__ */ i.createElement("div", { className: C(J.title({ c: d })) }, /* @__PURE__ */ i.createElement("div", null, a)), /* @__PURE__ */ i.createElement("div", { className: C(J.actions({ c: d })) }, /* @__PURE__ */ i.createElement(
321
- lt,
327
+ return I === void 0 && c !== void 0 && (I = fe(v[0], c)), /* @__PURE__ */ i.createElement(gn, { ...s }, /* @__PURE__ */ i.createElement(hn, { className: E(J.header({ c: d })) }, /* @__PURE__ */ i.createElement("div", { className: E(J.titleBar({ c: d })) }, /* @__PURE__ */ i.createElement("div", { className: E(J.title({ c: d })) }, /* @__PURE__ */ i.createElement("div", null, a)), /* @__PURE__ */ i.createElement("div", { className: E(J.actions({ c: d })) }, /* @__PURE__ */ i.createElement(
328
+ st,
322
329
  {
323
330
  tabIndex: 0,
324
331
  "aria-label": "Cancel",
@@ -327,12 +334,12 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
327
334
  fillMode: "flat",
328
335
  onClick: Ce,
329
336
  icon: "x",
330
- svgIcon: nn
337
+ svgIcon: on
331
338
  }
332
- ))), /* @__PURE__ */ i.createElement("div", { className: C(J.titleBarGroup({ c: d })) }, Ve())), /* @__PURE__ */ i.createElement(gn, { overflowHidden: !0 }, e && /* @__PURE__ */ i.createElement("div", { className: C(b.listHeader({ c: o })) }, e), /* @__PURE__ */ i.createElement(
339
+ ))), /* @__PURE__ */ i.createElement("div", { className: E(J.titleBarGroup({ c: d })) }, Be())), /* @__PURE__ */ i.createElement(In, { overflowHidden: !0 }, e && /* @__PURE__ */ i.createElement("div", { className: E(b.listHeader({ c: o })) }, e), /* @__PURE__ */ i.createElement(
333
340
  "div",
334
341
  {
335
- className: C(
342
+ className: E(
336
343
  b.list({
337
344
  c: o,
338
345
  size: Q,
@@ -340,31 +347,31 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
340
347
  })
341
348
  )
342
349
  },
343
- Be(),
350
+ We(),
344
351
  !m && I && v.length !== 0 && /* @__PURE__ */ i.createElement(
345
- ot,
352
+ it,
346
353
  {
347
354
  group: I,
348
355
  groupMode: "modern",
349
356
  render: u
350
357
  }
351
358
  ),
352
- We()
353
- ), n && /* @__PURE__ */ i.createElement("div", { className: C(b.listFooter({ c: o })) }, n)));
354
- }, Ct = () => {
359
+ _e()
360
+ ), n && /* @__PURE__ */ i.createElement("div", { className: E(b.listFooter({ c: o })) }, n)));
361
+ }, Et = () => {
355
362
  p.focused && window.setTimeout(() => {
356
363
  p.focused && t.current.wrapper && oe(t.current.wrapper);
357
364
  });
358
- }, Et = (e) => {
365
+ }, kt = (e) => {
359
366
  var n;
360
367
  (n = r.popupSettings) != null && n.onMouseDownOutside && r.popupSettings.onMouseDownOutside.call(void 0, e);
361
- }, kt = () => {
362
- const { header: e, footer: n, dir: a, groupField: c, groupStickyHeaderItemRender: u, list: m } = r, v = P(E), f = t.current, o = f.getPopupSettings(), d = r.opened !== void 0 ? r.opened : p.opened, s = o.width !== void 0 ? o.width : f.popupWidth, I = F && F.uDropDownList, h = {
368
+ }, Lt = () => {
369
+ const { header: e, footer: n, dir: a, groupField: c, groupStickyHeaderItemRender: u, list: m } = r, v = P(D), f = t.current, o = f.getPopupSettings(), d = r.opened !== void 0 ? r.opened : p.opened, s = o.width !== void 0 ? o.width : f.popupWidth, I = F && F.uDropDownList, h = {
363
370
  dir: a !== void 0 ? a : f.dirCalculated,
364
371
  width: s,
365
372
  popupSettings: {
366
373
  ...o,
367
- popupClass: C(
374
+ popupClass: E(
368
375
  o.popupClass,
369
376
  b.listContainer({
370
377
  c: I
@@ -373,16 +380,16 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
373
380
  anchor: o.anchor || Z.current,
374
381
  show: d,
375
382
  onOpen: xe,
376
- onClose: Ct,
377
- onMouseDownOutside: Et
383
+ onClose: Et,
384
+ onMouseDownOutside: kt
378
385
  },
379
386
  itemsCount: [v.length]
380
387
  };
381
- let { group: y } = p;
382
- return y === void 0 && c !== void 0 && (y = fe(v[0], c)), /* @__PURE__ */ i.createElement(rn, { ...h }, Ve(), e && /* @__PURE__ */ i.createElement("div", { className: C(b.listHeader({ c: I })) }, e), /* @__PURE__ */ i.createElement(
388
+ let { group: w } = p;
389
+ return w === void 0 && c !== void 0 && (w = fe(v[0], c)), /* @__PURE__ */ i.createElement(an, { ...h }, Be(), e && /* @__PURE__ */ i.createElement("div", { className: E(b.listHeader({ c: I })) }, e), /* @__PURE__ */ i.createElement(
383
390
  "div",
384
391
  {
385
- className: C(
392
+ className: E(
386
393
  b.list({
387
394
  c: I,
388
395
  size: Q,
@@ -390,23 +397,23 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
390
397
  })
391
398
  )
392
399
  },
393
- Be(),
394
- !m && y && v.length !== 0 && /* @__PURE__ */ i.createElement(ot, { group: y, groupMode: "modern", render: u }),
395
- We()
396
- ), n && /* @__PURE__ */ i.createElement("div", { className: C(b.listFooter({ c: I })) }, n));
397
- }, Lt = (e) => {
398
- const { dataItemKey: n } = r, a = P(E), c = L();
400
+ We(),
401
+ !m && w && v.length !== 0 && /* @__PURE__ */ i.createElement(it, { group: w, groupMode: "modern", render: u }),
402
+ _e()
403
+ ), n && /* @__PURE__ */ i.createElement("div", { className: E(b.listFooter({ c: I })) }, n), ze && /* @__PURE__ */ i.createElement(tn, null));
404
+ }, bt = (e) => {
405
+ const { dataItemKey: n } = r, a = P(D), c = L();
399
406
  let u = a.map((M, $) => ({ item: M, itemIndex: $ }));
400
- const m = U.current.word, v = U.current.last, f = dn(m, v);
407
+ const m = U.current.word, v = U.current.last, f = un(m, v);
401
408
  let o = u.length, d = Math.max(
402
409
  0,
403
410
  a.findIndex((M) => N(M, c, n))
404
411
  ), s;
405
- r.defaultItem && (s = { item: r.defaultItem, itemIndex: -1 }, o += 1, d += 1), d += f ? 1 : 0, u = cn(u, d, s);
406
- let I, h, y, l = 0;
412
+ r.defaultItem && (s = { item: r.defaultItem, itemIndex: -1 }, o += 1, d += 1), d += f ? 1 : 0, u = pn(u, d, s);
413
+ let I, h, w, l = 0;
407
414
  const { textField: T } = r;
408
415
  for (; l < o; ) {
409
- if (I = fe(u[l].item, T), h = f && at(I, v, ge), y = at(I, m, ge), h || y) {
416
+ if (I = fe(u[l].item, T), h = f && lt(I, v, ge), w = lt(I, m, ge), h || w) {
410
417
  l = u[l].itemIndex;
411
418
  break;
412
419
  }
@@ -416,41 +423,41 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
416
423
  const M = t.current.initState();
417
424
  M.syntheticEvent = e, X(l, M), K(M), H.current = void 0;
418
425
  }
419
- }, bt = (e) => {
420
- clearTimeout(qe.current), r.filterable || (qe.current = window.setTimeout(() => U.current.word = "", ut), Lt(e));
421
426
  }, Pt = (e) => {
422
- ie.current || t.current.handleFocus(e);
427
+ clearTimeout(Ue.current), r.filterable || (Ue.current = window.setTimeout(() => U.current.word = "", pt), bt(e));
423
428
  }, Mt = (e) => {
429
+ ie.current || t.current.handleFocus(e);
430
+ }, Nt = (e) => {
424
431
  if (ie.current || !p.focused)
425
432
  return;
426
433
  const n = r.opened !== void 0 ? r.opened : p.opened, a = t.current.initState();
427
- a.syntheticEvent = e, a.data.focused = !1, a.events.push({ type: "onBlur" }), n && De(), n && !Fe && t.current.togglePopup(a), K(a);
428
- }, Nt = (e) => {
429
- if (r.filterable || e.which === 0 || e.keyCode === w.enter)
434
+ a.syntheticEvent = e, a.data.focused = !1, a.events.push({ type: "onBlur" }), n && Se(), n && !Fe && t.current.togglePopup(a), K(a);
435
+ }, Ft = (e) => {
436
+ if (r.filterable || e.which === 0 || e.keyCode === y.enter)
430
437
  return;
431
438
  let n = String.fromCharCode(e.charCode || e.keyCode);
432
439
  ge && (n = n.toLowerCase()), n === " " && e.preventDefault(), U.current = {
433
440
  word: U.current.word + n,
434
441
  last: U.current.last + n
435
- }, bt(e);
436
- }, Ft = () => {
442
+ }, Pt(e);
443
+ }, Kt = () => {
437
444
  const e = t.current.initState();
438
445
  e.data.opened = p.opened, t.current.togglePopup(e), K(e);
439
- }, _e = i.useRef(null), Z = i.useRef(null), Ee = i.useRef(), R = i.useRef(null);
446
+ }, qe = i.useRef(null), Z = i.useRef(null), Ee = i.useRef(), R = i.useRef(null);
440
447
  i.useImperativeHandle(
441
- _e,
448
+ qe,
442
449
  () => ({
443
450
  get element() {
444
451
  return Z.current;
445
452
  },
446
453
  get index() {
447
- return ft();
454
+ return vt();
448
455
  },
449
456
  get name() {
450
457
  return r.name;
451
458
  },
452
459
  get validity() {
453
- return we();
460
+ return ye();
454
461
  },
455
462
  get value() {
456
463
  return L();
@@ -461,17 +468,17 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
461
468
  get opened() {
462
469
  return p.opened;
463
470
  },
464
- focus: mt,
471
+ focus: ft,
465
472
  props: r,
466
- togglePopup: Ft
473
+ togglePopup: Kt
467
474
  })
468
475
  ), i.useImperativeHandle(
469
- ct,
470
- () => _e.current
476
+ ut,
477
+ () => qe.current
471
478
  );
472
- const qe = i.useRef(null), U = i.useRef({ word: "", last: "" }), ie = i.useRef(!1), H = i.useRef(null), V = i.useRef(!1), ke = i.useRef(!1), B = i.useRef({}), Le = i.useRef({}), t = i.useRef(
473
- new dt({
474
- props: E,
479
+ const Ue = i.useRef(null), U = i.useRef({ word: "", last: "" }), ie = i.useRef(!1), H = i.useRef(null), V = i.useRef(!1), ke = i.useRef(!1), B = i.useRef({}), Le = i.useRef({}), t = i.useRef(
480
+ new ct({
481
+ props: D,
475
482
  setState: () => {
476
483
  },
477
484
  state: {},
@@ -482,28 +489,28 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
482
489
  handleItemSelect: () => {
483
490
  }
484
491
  })
485
- ), Ue = i.useRef(0), ee = i.useRef(null), [p, Kt] = i.useState({}), [G, Tt] = i.useState(), [, Ge] = i.useReducer((e) => e, !0), zt = pn(), te = (e) => {
486
- Kt({ ...p, ...e });
492
+ ), Ge = i.useRef(0), ee = i.useRef(null), [p, Tt] = i.useState({}), [G, zt] = i.useState(), [, Ye] = i.useReducer((e) => e, !0), Ot = fn(), te = (e) => {
493
+ Tt({ ...p, ...e });
487
494
  };
488
495
  i.useEffect(() => {
489
496
  t.current.updateComponentArgs({
490
- props: E,
497
+ props: D,
491
498
  setState: te,
492
499
  state: p,
493
- forceUpdate: Ge,
500
+ forceUpdate: Ye,
494
501
  element: Z.current,
495
502
  handleItemSelect: X,
496
503
  value: L()
497
504
  });
498
- }, [te, p, Ge, X, L]), i.useEffect(() => {
499
- var d, s, I, h, y, l, T, M, $, re, ce, ue, S;
500
- const { dataItemKey: e, virtual: n, groupField: a = "", textField: c } = r, u = P(E), m = B.current.virtual ? B.current.virtual.total : 0, v = r.opened !== void 0 ? r.opened : p.opened, f = B.current.opened !== void 0 ? B.current.opened : Le.current.opened, o = !f && v;
505
+ }, [te, p, Ye, X, L]), i.useEffect(() => {
506
+ var d, s, I, h, w, l, T, M, $, re, ce, ue, S;
507
+ const { dataItemKey: e, virtual: n, groupField: a = "", textField: c } = r, u = P(D), m = B.current.virtual ? B.current.virtual.total : 0, v = r.opened !== void 0 ? r.opened : p.opened, f = B.current.opened !== void 0 ? B.current.opened : Le.current.opened, o = !f && v;
501
508
  if ((d = t == null ? void 0 : t.current) == null || d.didUpdate(), (s = t == null ? void 0 : t.current) != null && s.getPopupSettings().animate || o && xe(), n && n.total !== m)
502
509
  (I = t == null ? void 0 : t.current) == null || I.vs.calcScrollElementHeight(), (h = t == null ? void 0 : t.current) == null || h.vs.reset();
503
510
  else {
504
511
  const O = L(), pe = B.current.value !== void 0 ? B.current.value : Le.current.value;
505
512
  let _ = u.findIndex((j) => N(j, O, e));
506
- a !== "" && O && c && (_ = (l = (y = t == null ? void 0 : t.current) == null ? void 0 : y.getGroupedDataModernMode(u, a)) == null ? void 0 : l.map((j) => j[c]).indexOf(O[c]));
513
+ a !== "" && O && c && (_ = (l = (w = t == null ? void 0 : t.current) == null ? void 0 : w.getGroupedDataModernMode(u, a)) == null ? void 0 : l.map((j) => j[c]).indexOf(O[c]));
507
514
  const me = !N(pe, O, e);
508
515
  o && n ? (T = t == null ? void 0 : t.current) == null || T.scrollToVirtualItem(n, _) : o && !n ? (xe(), u && u.length !== 0 && ((M = t == null ? void 0 : t.current) == null || M.resetGroupStickyHeader(u[0][a], {
509
516
  setState: te,
@@ -511,117 +518,117 @@ const hn = "Please select a value from the list!", Te = i.forwardRef((E, ct) =>
511
518
  state: p
512
519
  })), ($ = t == null ? void 0 : t.current) == null || $.scrollToItem(_)) : v && f && O && me && !V.current ? (ce = t == null ? void 0 : t.current) == null || ce.scrollToItem(_, (re = t == null ? void 0 : t.current) == null ? void 0 : re.vs.enabled) : v && f && V.current && (V.current && n && n.skip === 0 ? (ue = t == null ? void 0 : t.current) == null || ue.vs.reset() : V.current && n && n.skip === n.total - n.pageSize && ((S = t == null ? void 0 : t.current) == null || S.vs.scrollToEnd()));
513
520
  }
514
- V.current = !1, Le.current = p, B.current = r, Oe();
521
+ V.current = !1, Le.current = p, B.current = r, Ae();
515
522
  }), i.useEffect(() => {
516
523
  var e, n;
517
- return ee.current = rt && window.ResizeObserver && new window.ResizeObserver(gt.bind(void 0)), (e = t == null ? void 0 : t.current) == null || e.didMount(), Oe(), (n = Ie()) != null && n.body && ee.current && ee.current.observe(Ie().body), () => {
524
+ return ee.current = ot && window.ResizeObserver && new window.ResizeObserver(ht.bind(void 0)), (e = t == null ? void 0 : t.current) == null || e.didMount(), Ae(), (n = Ie()) != null && n.body && ee.current && ee.current.observe(Ie().body), () => {
518
525
  var a;
519
526
  (a = Ie()) != null && a.body && ee.current && ee.current.disconnect();
520
527
  };
521
528
  }, []);
522
- const Ye = ve + "-accessibility-id", be = ve + "-listbox-id", $e = ve + "-guid", Ot = zt.toLanguageString(
523
- st,
524
- mn[st]
529
+ const $e = ve + "-accessibility-id", be = ve + "-listbox-id", je = ve + "-guid", At = Ot.toLanguageString(
530
+ dt,
531
+ vn[dt]
525
532
  ), {
526
533
  style: ae,
527
- className: At,
534
+ className: Ht,
528
535
  label: Pe,
529
- dir: Ht,
536
+ dir: Vt,
530
537
  virtual: W,
531
- adaptive: wn,
532
- dataItemKey: Vt,
538
+ adaptive: Dn,
539
+ dataItemKey: Bt,
533
540
  disabled: le,
534
- loading: je,
535
- iconClassName: Je,
536
- svgIcon: Qe,
537
- valueRender: Xe
538
- } = r, Me = r.opened !== void 0 ? r.opened : p.opened, se = L(), Ne = fe(se, r.textField), Ze = !vt() || we().valid, de = t.current, Bt = de.vs, ne = F && F.uDropDownList;
539
- Bt.enabled = W !== void 0;
540
- const Y = Jt(), Fe = !!(G && Y && G <= Y.medium && E.adaptive);
541
+ loading: Je,
542
+ iconClassName: Qe,
543
+ svgIcon: Xe,
544
+ valueRender: Ze
545
+ } = r, Me = r.opened !== void 0 ? r.opened : p.opened, se = L(), Ne = fe(se, r.textField), Re = !gt() || ye().valid, de = t.current, Wt = de.vs, ne = F && F.uDropDownList;
546
+ Wt.enabled = W !== void 0;
547
+ const Y = Qt(), Fe = !!(G && Y && G <= Y.medium && D.adaptive);
541
548
  W !== void 0 && (de.vs.skip = W.skip, de.vs.total = W.total, de.vs.pageSize = W.pageSize);
542
- const Wt = P(E), { focused: _t } = p, qt = Wt.findIndex((e) => N(e, se, Vt)), Re = /* @__PURE__ */ i.createElement("span", { id: Ye, className: C(b.inputInner({ c: ne })) }, Ne && /* @__PURE__ */ i.createElement("span", { className: C(b.inputText({ c: ne })) }, Ne)), Ut = Xe !== void 0 ? Xe.call(void 0, Re, se) : Re, et = /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(
549
+ const _t = P(D), { focused: qt } = p, Ut = _t.findIndex((e) => N(e, se, Bt)), et = /* @__PURE__ */ i.createElement("span", { id: $e, className: E(b.inputInner({ c: ne })) }, Ne && /* @__PURE__ */ i.createElement("span", { className: E(b.inputText({ c: ne })) }, Ne)), Gt = Ze !== void 0 ? Ze.call(void 0, et, se) : et, tt = /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(
543
550
  "span",
544
551
  {
545
- ref: ht,
546
- className: C(
552
+ ref: It,
553
+ className: E(
547
554
  b.wrapper({
548
555
  c: ne,
549
556
  size: Q,
550
- rounded: ze,
557
+ rounded: Oe,
551
558
  fillMode: he,
552
- focused: _t,
559
+ focused: qt,
553
560
  disabled: le,
554
- invalid: !Ze,
555
- loading: je,
556
- required: ye()
561
+ invalid: !Re,
562
+ loading: Je,
563
+ required: we()
557
564
  }),
558
- At
565
+ Ht
559
566
  ),
560
567
  style: Pe ? { ...ae, width: void 0 } : ae,
561
- dir: Ht,
568
+ dir: Vt,
562
569
  onMouseDown: Me ? (e) => {
563
570
  e.target.nodeName !== "INPUT" && (oe(t.current.wrapper), e.preventDefault());
564
571
  } : void 0,
565
- onFocus: Pt,
566
- onBlur: Mt,
567
- tabIndex: Qt(pt, le),
572
+ onFocus: Mt,
573
+ onBlur: Nt,
574
+ tabIndex: Xt(mt, le),
568
575
  accessKey: r.accessKey,
569
- onKeyDown: He,
570
- onKeyPress: Nt,
576
+ onKeyDown: Ve,
577
+ onKeyPress: Ft,
571
578
  onClick: le ? void 0 : Ce,
572
579
  role: "combobox",
573
- "aria-required": ye(),
580
+ "aria-required": we(),
574
581
  "aria-disabled": le || void 0,
575
582
  "aria-haspopup": "listbox",
576
583
  "aria-expanded": Me || !1,
577
584
  "aria-owns": be,
578
- "aria-activedescendant": Me ? "option-" + $e + "-" + (qt + (W ? W.skip : 0)) : void 0,
585
+ "aria-activedescendant": Me ? "option-" + je + "-" + (Ut + (W ? W.skip : 0)) : void 0,
579
586
  "aria-label": r.ariaLabel || r.label,
580
587
  "aria-labelledby": r.ariaLabelledBy,
581
- "aria-describedby": r.ariaDescribedBy || Ye,
588
+ "aria-describedby": r.ariaDescribedBy || $e,
582
589
  "aria-controls": be,
583
590
  id: r.id,
584
591
  title: r.title
585
592
  },
586
- Ut,
587
- je && /* @__PURE__ */ i.createElement(Xt, { className: C(b.loadingIcon({ c: ne })), name: "loading" }),
593
+ Gt,
594
+ Je && /* @__PURE__ */ i.createElement(Zt, { className: E(b.loadingIcon({ c: ne })), name: "loading" }),
588
595
  /* @__PURE__ */ i.createElement(
589
- lt,
596
+ st,
590
597
  {
591
598
  tabIndex: -1,
592
599
  type: "button",
593
- "aria-label": Ot,
600
+ "aria-label": At,
594
601
  size: Q,
595
602
  fillMode: he,
596
- iconClass: Je,
597
- className: C(b.inputButton({ c: ne })),
603
+ iconClass: Qe,
604
+ className: E(b.inputButton({ c: ne })),
598
605
  rounded: null,
599
606
  themeColor: "base",
600
- icon: Je ? void 0 : "caret-alt-down",
601
- svgIcon: Qe || tn,
607
+ icon: Qe ? void 0 : "caret-alt-down",
608
+ svgIcon: Xe || rn,
602
609
  onMouseDown: (e) => p.focused && e.preventDefault()
603
610
  }
604
611
  ),
605
- It(se),
606
- !Fe && kt()
607
- ), Fe && Dt());
612
+ wt(se),
613
+ !Fe && Lt()
614
+ ), Fe && Ct());
608
615
  return Pe ? /* @__PURE__ */ i.createElement(
609
- en,
616
+ nn,
610
617
  {
611
618
  label: Pe,
612
619
  editorValue: Ne,
613
- editorValid: Ze,
620
+ editorValid: Re,
614
621
  editorDisabled: r.disabled,
615
622
  style: { width: ae ? ae.width : void 0 },
616
- children: et
623
+ children: tt
617
624
  }
618
- ) : et;
625
+ ) : tt;
619
626
  });
620
627
  Te.propTypes = {
621
628
  delay: k.number,
622
629
  ignoreCase: k.bool,
623
630
  iconClassName: k.string,
624
- svgIcon: Zt,
631
+ svgIcon: Rt,
625
632
  defaultItem: k.any,
626
633
  valueRender: k.func,
627
634
  valueMap: k.func,
@@ -641,7 +648,7 @@ const z = {
641
648
  delay: 500,
642
649
  tabIndex: 0,
643
650
  ignoreCase: !0,
644
- ...dt.defaultProps,
651
+ ...ct.defaultProps,
645
652
  required: !1,
646
653
  size: "medium",
647
654
  rounded: "medium",
@@ -649,10 +656,10 @@ const z = {
649
656
  groupMode: "modern"
650
657
  };
651
658
  Te.displayName = "KendoReactDropDownList";
652
- const In = Rt();
659
+ const yn = en();
653
660
  Te.displayName = "KendoReactDropDownList";
654
661
  export {
655
662
  Te as DropDownList,
656
- In as DropDownListPropsContext,
663
+ yn as DropDownListPropsContext,
657
664
  z as dropDownListDefaultProps
658
665
  };