@progress/kendo-react-dropdowns 8.2.1-develop.5 → 8.3.0-develop.2

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.
@@ -6,12 +6,12 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import * as h from "react";
10
- import m from "prop-types";
9
+ import * as p from "react";
10
+ import b from "prop-types";
11
11
  import B from "../common/DropDownBase.mjs";
12
- import { Keys as I, validatePackage as ie, svgIconPropType as oe, canUseDOM as R, classNames as w, IconWrap as ae, createPropsContext as ne, withIdHOC as le, withPropsContext as re, kendoThemeMaps as pe } from "@progress/kendo-react-common";
13
- import { FloatingLabel as de } from "@progress/kendo-react-labels";
14
- import { getPlainDataDuplicates as he, getFilteredData as y, areSame as C, getItemValue as D, isPresent as S, getItemIndexByText as A, suggestValue as ce, itemIndexStartsWith as K } from "../common/utils.mjs";
12
+ import { Keys as I, validatePackage as ie, svgIconPropType as oe, canUseDOM as A, classNames as w, IconWrap as ae, createPropsContext as ne, withIdHOC as le, withPropsContext as re, kendoThemeMaps as de } from "@progress/kendo-react-common";
13
+ import { FloatingLabel as pe } from "@progress/kendo-react-labels";
14
+ import { getPlainDataDuplicates as he, getFilteredData as k, areSame as S, getItemValue as D, isPresent as C, getItemIndexByText as R, suggestValue as ce, itemIndexStartsWith as K } from "../common/utils.mjs";
15
15
  import ue from "../common/SearchBar.mjs";
16
16
  import ge from "../common/ListContainer.mjs";
17
17
  import me from "../common/List.mjs";
@@ -23,10 +23,10 @@ import { Button as H } from "@progress/kendo-react-buttons";
23
23
  import { caretAltDownIcon as xe, xIcon as Ie } from "@progress/kendo-svg-icons";
24
24
  import { comboArrowBtnAriaLabelExpand as q, messages as $, comboArrowBtnAriaLabelCollapse as G } from "../messages/index.mjs";
25
25
  import { provideLocalizationService as U } from "@progress/kendo-react-intl";
26
- import { ActionSheet as ye, ActionSheetHeader as ke, ActionSheetContent as Se } from "@progress/kendo-react-layout";
26
+ import { ActionSheet as ke, ActionSheetHeader as ye, ActionSheetContent as Ce } from "@progress/kendo-react-layout";
27
27
  import { MOBILE_MEDIUM_DEVISE as W, MOBILE_SMALL_DEVISE as j } from "../common/constants.mjs";
28
28
  import Y from "../common/withCustomComponent.mjs";
29
- const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E = class E extends h.Component {
29
+ const Se = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = de, E = class E extends p.Component {
30
30
  constructor(s) {
31
31
  super(s), this.state = {}, this.base = new B(this), this._element = null, this._suggested = "", this._skipBlur = !1, this._input = null, this._adaptiveFilterInput = null, this.itemHeight = 0, this.duplicates = [], this.hasDuplicates = !1, this.focus = () => {
32
32
  this._input && this._input.focus();
@@ -37,8 +37,8 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
37
37
  this.duplicates = he(o), this.hasDuplicates = this.duplicates.length > 0;
38
38
  }
39
39
  }, this.handleItemSelect = (e, t) => {
40
- const { virtual: o, dataItemKey: n } = this.props, l = y(this.props), a = o ? o.skip : 0, r = l[e - a], p = this.hasDuplicates || !C(r, this.value, n);
41
- this.triggerOnChange(r, t), this.state.text !== void 0 && (t.data.text = void 0), p && this.base.triggerPageChangeCornerItems(r, t);
40
+ const { virtual: o, dataItemKey: n } = this.props, l = k(this.props), a = o ? o.skip : 0, r = l[e - a], d = this.hasDuplicates || !S(r, this.value, n);
41
+ this.triggerOnChange(r, t), this.state.text !== void 0 && (t.data.text = void 0), d && this.base.triggerPageChangeCornerItems(r, t);
42
42
  }, this.onPopupOpened = () => {
43
43
  setTimeout(() => {
44
44
  this.mobileMode && this._adaptiveFilterInput && (this._skipBlur = !0, this._adaptiveFilterInput.focus(), this._skipBlur = !1);
@@ -46,17 +46,17 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
46
46
  }, this.componentRef = (e) => {
47
47
  this._element = e, this.base.wrapper = e;
48
48
  }, this.toggleBtnClick = (e) => {
49
- const { skipDisabledItems: t, textField: o } = this.props, n = y(this.props), l = this.getFocusedIndex(), a = this.getCurrentValueDisabledStatus(o, n, l), r = this.props.opened !== void 0 ? this.props.opened : this.state.opened, p = this.base.initState();
50
- if (p.syntheticEvent = e, !t && o && a && this.clearValueOnToggleBtnClick(e), this.base.togglePopup(p), !r && this.mobileMode) {
49
+ const { skipDisabledItems: t, textField: o } = this.props, n = k(this.props), l = this.getFocusedIndex(), a = this.getCurrentValueDisabledStatus(o, n, l), r = this.props.opened !== void 0 ? this.props.opened : this.state.opened, d = this.base.initState();
50
+ if (d.syntheticEvent = e, !t && o && a && this.clearValueOnToggleBtnClick(e), this.base.togglePopup(d), !r && this.mobileMode) {
51
51
  const i = this.props.adaptiveFilter !== void 0 ? this.props.adaptiveFilter : this.state.text || null;
52
- this.base.filterChanged(i, p);
52
+ this.base.filterChanged(i, d);
53
53
  }
54
- this.applyState(p);
54
+ this.applyState(d);
55
55
  }, this.closeOpenedApplyStateNonMobileMode = (e, t) => {
56
56
  t && !this.mobileMode && this.base.togglePopup(e);
57
57
  }, this.renderMobileListFilter = () => {
58
- const e = this.props.adaptiveFilter !== void 0 ? this.props.adaptiveFilter : this.state.text, t = D(this.value, this.props.textField), o = S(e) ? e : t;
59
- return /* @__PURE__ */ h.createElement(
58
+ const e = this.props.adaptiveFilter !== void 0 ? this.props.adaptiveFilter : this.state.text, t = D(this.value, this.props.textField), o = C(e) ? e : t;
59
+ return /* @__PURE__ */ p.createElement(
60
60
  ve,
61
61
  {
62
62
  value: o,
@@ -75,13 +75,13 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
75
75
  const { vs: t, list: o } = this.base;
76
76
  t.scrollHandler(e);
77
77
  const { groupField: n } = this.props;
78
- let l = y(this.props);
78
+ let l = k(this.props);
79
79
  if (!n || !l.length)
80
80
  return;
81
- const a = this.itemHeight = this.itemHeight || (t.enabled ? t.itemHeight : o ? o.children[0].offsetHeight : 0), p = e.target.scrollTop - t.skip * a;
81
+ const a = this.itemHeight = this.itemHeight || (t.enabled ? t.itemHeight : o ? o.children[0].offsetHeight : 0), d = e.target.scrollTop - t.skip * a;
82
82
  this.props.groupMode === "modern" && (l = this.base.getGroupedDataModernMode(l, n));
83
83
  let i = l[0][n];
84
- for (let c = 1; c < l.length && !(a * c > p); c++)
84
+ for (let c = 1; c < l.length && !(a * c > d); c++)
85
85
  l[c] && l[c][n] && (i = l[c][n]);
86
86
  i !== this.state.group && (this.setState({
87
87
  group: i
@@ -90,7 +90,7 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
90
90
  this.navigationIndex = e, this.base.handleItemClick(e, t), this._valueDuringOnChange = void 0;
91
91
  }, this.handleBlur = (e) => {
92
92
  if (this.state.focused && !this._skipBlur) {
93
- const t = this.base.initState(), { textField: o } = this.props, n = y(this.props), l = this.getFocusedIndex(), r = !(l === -1) && this.getCurrentValueDisabledStatus(o, n, l);
93
+ const t = this.base.initState(), { textField: o } = this.props, n = k(this.props), l = this.getFocusedIndex(), r = !(l === -1) && this.getCurrentValueDisabledStatus(o, n, l);
94
94
  t.data.focused = !1, t.events.push({ type: "onBlur" }), t.syntheticEvent = e, o && r && this.clearValueOnBlur(e), this.applyValueOnRejectSuggestions(e.currentTarget.value, t);
95
95
  }
96
96
  }, this.onInputClick = (e) => {
@@ -100,57 +100,57 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
100
100
  n.syntheticEvent = e, this.base.togglePopup(n), this.base.filterChanged(o, n), this.applyState(n);
101
101
  }
102
102
  }, this.onInputKeyDown = (e) => {
103
- const { skipDisabledItems: t, textField: o, dataItemKey: n, groupField: l } = this.props, a = y(this.props), r = this.value, p = Math.max(0, a.findIndex((u) => C(u, r, n))), i = e.keyCode, c = this.props.opened !== void 0 ? this.props.opened : this.state.opened, d = this.base.initState();
104
- if (d.syntheticEvent = e, !e.altKey && (i === I.up || i === I.down)) {
103
+ const { skipDisabledItems: t, textField: o, dataItemKey: n, groupField: l } = this.props, a = k(this.props), r = this.value, d = Math.max(0, a.findIndex((u) => S(u, r, n))), i = e.keyCode, c = this.props.opened !== void 0 ? this.props.opened : this.state.opened, h = this.base.initState();
104
+ if (h.syntheticEvent = e, !e.altKey && (i === I.up || i === I.down)) {
105
105
  if (e.preventDefault(), l !== "" && o)
106
106
  if (!this.props.skipDisabledItems && c)
107
- this.onNavigate(d, i);
107
+ this.onNavigate(h, i);
108
108
  else {
109
109
  let u = 0;
110
110
  if (i === I.down || i === I.right) {
111
- const g = a.slice(p + 1 < a.length ? p + 1 : p).find((b) => !b.disabled && b[o]);
112
- u = g && a.findIndex((b) => b[o] === g[o]);
111
+ const f = a.slice(d + 1 < a.length ? d + 1 : d).find((x) => !x.disabled && x[o]);
112
+ u = f && a.findIndex((x) => x[o] === f[o]);
113
113
  } else if (i === I.up || i === I.left) {
114
- let g;
115
- if (p === 0)
116
- g = a, u = a.findIndex((b) => !b.disabled && b[o]);
114
+ let f;
115
+ if (d === 0)
116
+ f = a, u = a.findIndex((x) => !x.disabled && x[o]);
117
117
  else {
118
- g = a.slice(0, p);
119
- let b = g.pop();
120
- for (; b && b.disabled; )
121
- b = g.pop();
122
- u = b && a.findIndex((M) => M[o] === b[o]);
118
+ f = a.slice(0, d);
119
+ let x = f.pop();
120
+ for (; x && x.disabled; )
121
+ x = f.pop();
122
+ u = x && a.findIndex((M) => M[o] === x[o]);
123
123
  }
124
124
  }
125
125
  if (u !== void 0) {
126
- const g = u - p;
127
- this.onNavigate(d, i, g);
126
+ const f = u - d;
127
+ this.onNavigate(h, i, f);
128
128
  } else
129
- u === void 0 && a.findIndex((g) => g[o] === r[o]) === a.length - 1 && this.onNavigate(d, i);
129
+ u === void 0 && a.findIndex((f) => f[o] === r[o]) === a.length - 1 && this.onNavigate(h, i);
130
130
  }
131
131
  else if (!this.props.skipDisabledItems && c)
132
- this.onNavigate(d, i);
132
+ this.onNavigate(h, i);
133
133
  else {
134
134
  let u = null;
135
135
  if (i === I.down || i === I.right)
136
- u = a.slice(p + 1).find((g) => !g.disabled);
136
+ u = a.slice(d + 1).find((f) => !f.disabled);
137
137
  else if (i === I.up || i === I.left) {
138
- const g = a.slice(0, p);
139
- for (u = g.pop(); u && u.disabled; )
140
- u = g.pop();
138
+ const f = a.slice(0, d);
139
+ for (u = f.pop(); u && u.disabled; )
140
+ u = f.pop();
141
141
  }
142
142
  if (u) {
143
- const g = u.id - p - 1;
144
- this.onNavigate(d, i, g);
143
+ const f = u.id - d - 1;
144
+ this.onNavigate(h, i, f);
145
145
  } else
146
- this.onNavigate(d, i);
146
+ this.onNavigate(h, i);
147
147
  }
148
- this.applyState(d);
148
+ this.applyState(h);
149
149
  }
150
- const v = () => {
151
- e.preventDefault(), this.base.togglePopup(d), this.applyState(d);
152
- }, x = this.getFocusedIndex(), f = x === -1, k = !f && this.getCurrentValueDisabledStatus(o, a, x);
153
- c ? i === I.pageUp ? (e.preventDefault(), this.base.scrollPopupByPageSize(-1)) : i === I.pageDown ? (e.preventDefault(), this.base.scrollPopupByPageSize(1)) : e.altKey && i === I.up ? v() : i === I.enter ? (e.preventDefault(), (o && !f && e.currentTarget.value ? a[x][o] : void 0) ? !t && o && k ? this.clearValueOnEnterOrEsc(e) : k || this.applyValueOnEnter(e.currentTarget.value, d) : this.applyValueOnEnter(e.currentTarget.value, d)) : i === I.esc && (!t && o && k && this.clearValueOnEnterOrEsc(e), this.applyValueOnRejectSuggestions(e.currentTarget.value, d)) : !c && i === I.esc ? this.clearValueOnEnterOrEsc(e) : e.altKey && i === I.down && v();
150
+ const g = () => {
151
+ e.preventDefault(), this.base.togglePopup(h), this.applyState(h);
152
+ }, v = this.getFocusedIndex(), m = v === -1, y = !m && this.getCurrentValueDisabledStatus(o, a, v);
153
+ c ? i === I.pageUp ? (e.preventDefault(), this.base.scrollPopupByPageSize(-1)) : i === I.pageDown ? (e.preventDefault(), this.base.scrollPopupByPageSize(1)) : e.altKey && i === I.up ? g() : i === I.enter ? (e.preventDefault(), (o && !m && e.currentTarget.value ? a[v][o] : void 0) ? !t && o && y ? this.clearValueOnEnterOrEsc(e) : y || this.applyValueOnEnter(e.currentTarget.value, h) : this.applyValueOnEnter(e.currentTarget.value, h)) : i === I.esc && (!t && o && y && this.clearValueOnEnterOrEsc(e), this.applyValueOnRejectSuggestions(e.currentTarget.value, h)) : !c && i === I.esc ? this.clearValueOnEnterOrEsc(e) : e.altKey && i === I.down && g();
154
154
  }, this.inputOnChange = (e) => {
155
155
  const t = this.base.initState();
156
156
  t.syntheticEvent = e;
@@ -158,9 +158,9 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
158
158
  if (this.props.suggest) {
159
159
  const a = n.selectionEnd === l.length;
160
160
  let r = this.props.filter !== void 0 ? this.props.filter : this.state.text;
161
- S(r) || (r = D(this.value, this.props.textField) || "");
162
- const p = r && r === l, i = r && r.length > l.length;
163
- p || i || !a ? this._suggested = "" : this.suggestValue(l);
161
+ C(r) || (r = D(this.value, this.props.textField) || "");
162
+ const d = r && r === l, i = r && r.length > l.length;
163
+ d || i || !a ? this._suggested = "" : this.suggestValue(l);
164
164
  }
165
165
  this.props.filter === void 0 && (t.data.text = l), this.state.focusedItem !== void 0 && (t.data.focusedItem = void 0), o || this.base.togglePopup(t), this.base.filterChanged(l, t), this.applyState(t), this.setState({ group: void 0 });
166
166
  }, this.clearButtonClick = (e) => {
@@ -177,7 +177,7 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
177
177
  t.syntheticEvent = e, e.stopPropagation(), this.clearValue();
178
178
  }, this.setValidity = () => {
179
179
  this._input && this._input.setCustomValidity && this._input.setCustomValidity(
180
- this.validity.valid ? "" : this.props.validationMessage || Ce
180
+ this.validity.valid ? "" : this.props.validationMessage || Se
181
181
  );
182
182
  }, ie(fe);
183
183
  }
@@ -185,7 +185,7 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
185
185
  return this.props.id;
186
186
  }
187
187
  get document() {
188
- if (R)
188
+ if (A)
189
189
  return this.element && this.element.ownerDocument || document;
190
190
  }
191
191
  /** @hidden */
@@ -215,8 +215,8 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
215
215
  * The index of the selected item.
216
216
  */
217
217
  get index() {
218
- const { dataItemKey: s } = this.props, e = y(this.props), t = this.value;
219
- return e.findIndex((o) => C(o, t, s));
218
+ const { dataItemKey: s } = this.props, e = k(this.props), t = this.value;
219
+ return e.findIndex((o) => S(o, t, s));
220
220
  }
221
221
  /**
222
222
  * Gets the `name` property of the ComboBox.
@@ -244,25 +244,25 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
244
244
  }
245
245
  /** @hidden */
246
246
  componentDidUpdate(s, e) {
247
- var v;
248
- const { dataItemKey: t, virtual: o, groupField: n = "", textField: l } = this.props, a = y(this.props), r = s.virtual ? s.virtual.total : 0, p = this.props.opened !== void 0 ? this.props.opened : this.state.opened, i = s.opened !== void 0 ? s.opened : e.opened;
247
+ var g;
248
+ const { dataItemKey: t, virtual: o, groupField: n = "", textField: l } = this.props, a = k(this.props), r = s.virtual ? s.virtual.total : 0, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, i = s.opened !== void 0 ? s.opened : e.opened;
249
249
  s.data !== a && this.checkForDuplicatePlainTextRecords();
250
- const c = !i && p, d = this.value;
251
- if (this._valueOnDidUpdate = d, this.base.didUpdate(), o && o.total !== r)
250
+ const c = !i && d, h = this.value;
251
+ if (this._valueOnDidUpdate = h, this.base.didUpdate(), o && o.total !== r)
252
252
  this.base.vs.calcScrollElementHeight(), this.base.vs.reset();
253
253
  else {
254
- const x = s.value !== void 0 ? s.value : e.value;
255
- let f = this.hasDuplicates ? this.navigationIndex || 0 : a.findIndex((u) => C(u, d, t));
256
- this.props.groupMode === "modern" && l && d && (f = (v = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : v.map((u) => u[l]).indexOf(d[l]));
257
- const k = !C(x, d, t);
258
- c && o ? this.base.scrollToVirtualItem(o, f) : c && !o ? (this.onPopupOpened(), a && a.length !== 0 && this.base.resetGroupStickyHeader(a[0][n], this), this.base.scrollToItem(f)) : (this.hasDuplicates || p && i && d && k) && this.base.scrollToItem(f);
254
+ const v = s.value !== void 0 ? s.value : e.value;
255
+ let m = this.hasDuplicates ? this.navigationIndex || 0 : a.findIndex((u) => S(u, h, t));
256
+ this.props.groupMode === "modern" && l && h && (m = (g = this.base.getGroupedDataModernMode(a, n)) == null ? void 0 : g.map((u) => u[l]).indexOf(h[l]));
257
+ const y = !S(v, h, t);
258
+ c && o ? this.base.scrollToVirtualItem(o, m) : c && !o ? (this.onPopupOpened(), a && a.length !== 0 && this.base.resetGroupStickyHeader(a[0][n], this), this.base.scrollToItem(m)) : (this.hasDuplicates || d && i && h && y) && this.base.scrollToItem(m);
259
259
  }
260
260
  c && this._input && this._input.focus(), this.setValidity();
261
261
  }
262
262
  /** @hidden */
263
263
  componentDidMount() {
264
264
  var s;
265
- this.observerResize = R && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (s = this.document) != null && s.body && this.observerResize && this.observerResize.observe(this.document.body), this.checkForDuplicatePlainTextRecords();
265
+ this.observerResize = A && window.ResizeObserver && new window.ResizeObserver(this.calculateMedia.bind(this)), this.base.didMount(), this.setValidity(), (s = this.document) != null && s.body && this.observerResize && this.observerResize.observe(this.document.body), this.checkForDuplicatePlainTextRecords();
266
266
  }
267
267
  /** @hidden */
268
268
  componentWillUnmount() {
@@ -281,55 +281,55 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
281
281
  label: l,
282
282
  textField: a,
283
283
  adaptive: r,
284
- className: p,
284
+ className: d,
285
285
  style: i,
286
286
  loading: c,
287
- iconClassName: d,
288
- virtual: v,
289
- size: x,
290
- rounded: f,
291
- fillMode: k,
287
+ iconClassName: h,
288
+ virtual: g,
289
+ size: v,
290
+ rounded: m,
291
+ fillMode: y,
292
292
  opened: u = this.state.opened,
293
- placeholder: g,
294
- svgIcon: b
295
- } = this.props, M = !this.validityStyles || this.validity.valid, _ = this.props.filter !== void 0 ? this.props.filter : this.state.text, J = D(this.value, a), V = S(_) ? _ : J, Q = n && (!!V || S(this.value)), F = this.base.vs, N = this.props.id || this._inputId, P = this.mobileMode;
296
- F.enabled = v !== void 0, v !== void 0 && (F.skip = v.skip, F.total = v.total, F.pageSize = v.pageSize);
297
- const [X, Z] = Y(this.props.prefix || h.Fragment), [ee, te] = Y(this.props.suffix || h.Fragment), L = /* @__PURE__ */ h.createElement(h.Fragment, null, /* @__PURE__ */ h.createElement(
293
+ placeholder: f,
294
+ svgIcon: x
295
+ } = this.props, M = !this.validityStyles || this.validity.valid, _ = this.props.filter !== void 0 ? this.props.filter : this.state.text, J = D(this.value, a), V = C(_) ? _ : J, Q = n && (!!V || C(this.value)), F = this.base.vs, N = this.props.id || this._inputId, P = this.mobileMode;
296
+ F.enabled = g !== void 0, g !== void 0 && (F.skip = g.skip, F.total = g.total, F.pageSize = g.pageSize);
297
+ const [X, Z] = Y(this.props.prefix || p.Fragment), [ee, te] = Y(this.props.suffix || p.Fragment), L = /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement(
298
298
  "span",
299
299
  {
300
300
  className: w(
301
301
  "k-combobox k-input",
302
302
  {
303
- [`k-input-${O[x] || x}`]: x,
304
- [`k-rounded-${De[f] || f}`]: f,
305
- [`k-input-${k}`]: k,
303
+ [`k-input-${O[v] || v}`]: v,
304
+ [`k-rounded-${De[m] || m}`]: m,
305
+ [`k-input-${y}`]: y,
306
306
  "k-invalid": !M,
307
307
  "k-loading": c,
308
308
  "k-required": this.required,
309
309
  "k-disabled": o
310
310
  },
311
- p
311
+ d
312
312
  ),
313
313
  ref: this.componentRef,
314
314
  style: l ? { ...i, width: void 0 } : i,
315
315
  dir: t
316
316
  },
317
- this.props.prefix && /* @__PURE__ */ h.createElement(X, { ...Z }),
318
- this.renderSearchBar(V || "", N, g),
319
- Q && !c && /* @__PURE__ */ h.createElement(be, { onClick: this.clearButtonClick, key: "clearbutton" }),
320
- c && /* @__PURE__ */ h.createElement(ae, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
321
- this.props.suffix && /* @__PURE__ */ h.createElement(ee, { ...te }),
322
- /* @__PURE__ */ h.createElement(
317
+ this.props.prefix && /* @__PURE__ */ p.createElement(X, { ...Z }),
318
+ this.renderSearchBar(V || "", N, f),
319
+ Q && !c && /* @__PURE__ */ p.createElement(be, { onClick: this.clearButtonClick, key: "clearbutton" }),
320
+ c && /* @__PURE__ */ p.createElement(ae, { className: "k-input-loading-icon", name: "loading", key: "loading" }),
321
+ this.props.suffix && /* @__PURE__ */ p.createElement(ee, { ...te }),
322
+ /* @__PURE__ */ p.createElement(
323
323
  H,
324
324
  {
325
325
  tabIndex: -1,
326
326
  type: "button",
327
327
  "aria-label": u ? e : s,
328
- icon: d ? void 0 : "caret-alt-down",
329
- svgIcon: b || xe,
330
- iconClass: d,
331
- size: x,
332
- fillMode: k,
328
+ icon: h ? void 0 : "caret-alt-down",
329
+ svgIcon: x || xe,
330
+ iconClass: h,
331
+ size: v,
332
+ fillMode: y,
333
333
  rounded: null,
334
334
  themeColor: "base",
335
335
  className: "k-input-button",
@@ -339,8 +339,8 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
339
339
  ),
340
340
  !P && this.renderListContainer()
341
341
  ), P && this.renderAdaptiveListContainer());
342
- return l ? /* @__PURE__ */ h.createElement(
343
- de,
342
+ return l ? /* @__PURE__ */ p.createElement(
343
+ pe,
344
344
  {
345
345
  label: l,
346
346
  editorId: N,
@@ -354,21 +354,21 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
354
354
  }
355
355
  /** @hidden */
356
356
  onNavigate(s, e, t) {
357
- const { virtual: o = { skip: 0 } } = this.props, n = y(this.props), l = this.props.filter ? this.props.filter : this.state.text;
357
+ const { virtual: o = { skip: 0 } } = this.props, n = k(this.props), l = this.props.filter ? this.props.filter : this.state.text;
358
358
  let a = -1, r;
359
- const p = this.base.vs, i = this.value;
359
+ const d = this.base.vs, i = this.value;
360
360
  this._suggested = "";
361
361
  const c = this.hasDuplicates && this.duplicates.indexOf(i) !== -1;
362
- if (a = this.getFocusedIndex(c), a !== -1 && !S(i))
362
+ if (a = this.getFocusedIndex(c), a !== -1 && !C(i))
363
363
  this.handleItemSelect(a, s);
364
364
  else if (l === "")
365
365
  this.handleItemSelect(0, s);
366
366
  else {
367
- const d = o.skip + a;
367
+ const h = o.skip + a;
368
368
  r = this.base.navigation.navigate({
369
369
  keyCode: e,
370
- current: d,
371
- max: (p.enabled ? p.total : n.length) - 1,
370
+ current: h,
371
+ max: (d.enabled ? d.total : n.length) - 1,
372
372
  min: 0,
373
373
  skipItems: t || void 0
374
374
  }), r !== void 0 && this.handleItemSelect(r, s);
@@ -379,9 +379,9 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
379
379
  return s && e && e[t] && e[t].disabled;
380
380
  }
381
381
  applyValueOnEnter(s, e) {
382
- const { textField: t, allowCustom: o } = this.props, n = y(this.props), l = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = D(this.value, t) === s ? this.index : A(n, s, t), p = r !== -1;
382
+ const { textField: t, allowCustom: o } = this.props, n = k(this.props), l = this.props.opened !== void 0 ? this.props.opened : this.state.opened, r = D(this.value, t) === s ? this.index : R(n, s, t), d = r !== -1;
383
383
  let i;
384
- if (this._suggested = "", p)
384
+ if (this._suggested = "", d)
385
385
  i = n[r];
386
386
  else if (o)
387
387
  i = t !== void 0 ? { [t]: s } : s;
@@ -390,31 +390,31 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
390
390
  this.triggerOnChange(i, e), l && this.base.togglePopup(e), this.props.filter === void 0 && this.state.text !== void 0 && (e.data.text = void 0), this.applyState(e);
391
391
  }
392
392
  applyValueOnRejectSuggestions(s, e) {
393
- const { textField: t, allowCustom: o } = this.props, n = y(this.props), l = this.props.opened !== void 0 ? this.props.opened : this.state.opened, a = D(this.value, t);
394
- if (this._suggested = "", s === a || s === "" && !S(a))
393
+ const { textField: t, allowCustom: o } = this.props, n = k(this.props), l = this.props.opened !== void 0 ? this.props.opened : this.state.opened, a = D(this.value, t);
394
+ if (this._suggested = "", s === a || s === "" && !C(a))
395
395
  return this.closeOpenedApplyStateNonMobileMode(e, l), this.applyState(e);
396
- const r = A(n, s, t, !0), p = r !== -1;
396
+ const r = R(n, s, t, !0), d = r !== -1;
397
397
  let i = null;
398
- p ? i = n[r] : o && (i = s ? t ? { [t]: s } : s : null), this.triggerOnChange(i, e), this.state.text !== void 0 && (e.data.text = void 0, this.base.filterChanged("", e)), this.closeOpenedApplyStateNonMobileMode(e, l), this.applyState(e);
398
+ d ? i = n[r] : o && (i = s ? t ? { [t]: s } : s : null), this.triggerOnChange(i, e), this.state.text !== void 0 && (e.data.text = void 0, this.base.filterChanged("", e)), this.closeOpenedApplyStateNonMobileMode(e, l), this.applyState(e);
399
399
  }
400
400
  selectFocusedItem(s, e) {
401
- const t = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { textField: o, virtual: n = { skip: 0 }, focusedItemIndex: l = K } = this.props, a = y(this.props), r = n.skip, p = s === "" && r === 0 ? 0 : l(a, s, o);
402
- return p !== -1 ? this.handleItemSelect(p + r, e) : (this.triggerOnChange(null, e), this.state.text !== void 0 && (e.data.text = void 0)), t && this.base.togglePopup(e), this.applyState(e);
401
+ const t = this.props.opened !== void 0 ? this.props.opened : this.state.opened, { textField: o, virtual: n = { skip: 0 }, focusedItemIndex: l = K } = this.props, a = k(this.props), r = n.skip, d = s === "" && r === 0 ? 0 : l(a, s, o);
402
+ return d !== -1 ? this.handleItemSelect(d + r, e) : (this.triggerOnChange(null, e), this.state.text !== void 0 && (e.data.text = void 0)), t && this.base.togglePopup(e), this.applyState(e);
403
403
  }
404
404
  renderAdaptiveListContainer() {
405
- const { windowWidth: s = 0 } = this.state, { header: e, footer: t, size: o, groupField: n, groupMode: l, list: a, virtual: r, adaptiveTitle: p, groupStickyHeaderItemRender: i } = this.props, c = y(this.props), d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, v = this.base.getAdaptiveAnimation();
406
- let { group: x } = this.state;
407
- x === void 0 && n !== void 0 && (x = D(c[0], n));
408
- const f = {
405
+ const { windowWidth: s = 0 } = this.state, { header: e, footer: t, size: o, groupField: n, groupMode: l, list: a, virtual: r, adaptiveTitle: d, groupStickyHeaderItemRender: i } = this.props, c = k(this.props), h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, g = this.base.getAdaptiveAnimation();
406
+ let { group: v } = this.state;
407
+ v === void 0 && n !== void 0 && (v = D(c[0], n));
408
+ const m = {
409
409
  navigatable: !1,
410
410
  navigatableElements: [],
411
- expand: d,
412
- animation: v,
413
- onClose: (k) => this.toggleBtnClick(k),
411
+ expand: h,
412
+ animation: g,
413
+ onClose: (y) => this.toggleBtnClick(y),
414
414
  animationStyles: s <= j ? { top: 0, width: "100%", height: "100%" } : void 0,
415
415
  className: s <= j ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom k-actionsheet"
416
416
  };
417
- return /* @__PURE__ */ h.createElement(ye, { ...f }, /* @__PURE__ */ h.createElement(ke, null, /* @__PURE__ */ h.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ h.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ h.createElement("div", { className: "k-text-center" }, p), /* @__PURE__ */ h.createElement("div", { className: "k-actionsheet-subtitle k-text-center" })), /* @__PURE__ */ h.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ h.createElement(
417
+ return /* @__PURE__ */ p.createElement(ke, { ...m }, /* @__PURE__ */ p.createElement(ye, null, /* @__PURE__ */ p.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ p.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ p.createElement("div", { className: "k-text-center" }, d), /* @__PURE__ */ p.createElement("div", { className: "k-actionsheet-subtitle k-text-center" })), /* @__PURE__ */ p.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ p.createElement(
418
418
  H,
419
419
  {
420
420
  tabIndex: 0,
@@ -428,7 +428,7 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
428
428
  icon: "x",
429
429
  svgIcon: Ie
430
430
  }
431
- ))), /* @__PURE__ */ h.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderMobileListFilter())), /* @__PURE__ */ h.createElement(Se, { className: "!k-overflow-hidden" }, /* @__PURE__ */ h.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ h.createElement("div", { className: w(
431
+ ))), /* @__PURE__ */ p.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, this.renderMobileListFilter())), /* @__PURE__ */ p.createElement(Ce, { className: "!k-overflow-hidden" }, /* @__PURE__ */ p.createElement("div", { className: "k-list-container" }, /* @__PURE__ */ p.createElement("div", { className: w(
432
432
  {
433
433
  "k-list": !a,
434
434
  "k-list-lg": !0,
@@ -436,21 +436,21 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
436
436
  "k-data-table": a,
437
437
  [`k-table-${O[o] || o}`]: a && o
438
438
  }
439
- ) }, e && /* @__PURE__ */ h.createElement("div", { className: "k-table-header" }, e), !a && x && c.length !== 0 && /* @__PURE__ */ h.createElement(z, { group: x, groupMode: l, render: i }), this.renderList(), t && /* @__PURE__ */ h.createElement("div", { className: "k-list-footer" }, t)))));
439
+ ) }, e && /* @__PURE__ */ p.createElement("div", { className: "k-table-header" }, e), !a && v && c.length !== 0 && /* @__PURE__ */ p.createElement(z, { group: v, groupMode: l, render: i }), this.renderList(), t && /* @__PURE__ */ p.createElement("div", { className: "k-list-footer" }, t)))));
440
440
  }
441
441
  renderListContainer() {
442
- const s = this.base, { dir: e, header: t, footer: o, groupField: n, groupMode: l, size: a, list: r, virtual: p, groupStickyHeaderItemRender: i } = this.props, c = y(this.props), d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, v = s.getPopupSettings(), x = v.width !== void 0 ? v.width : s.popupWidth;
443
- let { group: f } = this.state;
444
- return f === void 0 && n !== void 0 && (f = D(c[0], n)), /* @__PURE__ */ h.createElement(
442
+ const s = this.base, { dir: e, header: t, footer: o, groupField: n, groupMode: l, size: a, list: r, virtual: d, groupStickyHeaderItemRender: i } = this.props, c = k(this.props), h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, g = s.getPopupSettings(), v = g.width !== void 0 ? g.width : s.popupWidth;
443
+ let { group: m } = this.state;
444
+ return m === void 0 && n !== void 0 && (m = D(c[0], n)), /* @__PURE__ */ p.createElement(
445
445
  ge,
446
446
  {
447
- width: x,
447
+ width: v,
448
448
  popupSettings: {
449
- ...v,
450
- anchor: v.anchor || this.element,
451
- show: d,
449
+ ...g,
450
+ anchor: g.anchor || this.element,
451
+ show: h,
452
452
  popupClass: w(
453
- v.popupClass,
453
+ g.popupClass,
454
454
  "k-list-container",
455
455
  "k-combobox-popup"
456
456
  )
@@ -458,15 +458,15 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
458
458
  dir: e !== void 0 ? e : this.base.dirCalculated,
459
459
  itemsCount: [c.length]
460
460
  },
461
- /* @__PURE__ */ h.createElement("div", { className: w(
461
+ /* @__PURE__ */ p.createElement("div", { className: w(
462
462
  {
463
463
  "k-list": !r,
464
464
  [`k-list-${O[a] || a}`]: !r && a,
465
- "k-virtual-list": p,
465
+ "k-virtual-list": d,
466
466
  "k-data-table": r,
467
467
  [`k-table-${O[a] || a}`]: r && a
468
468
  }
469
- ) }, t && /* @__PURE__ */ h.createElement("div", { className: "k-table-header" }, t), !r && f && c.length !== 0 && /* @__PURE__ */ h.createElement(z, { group: f, groupMode: l, render: i }), this.renderList(), o && /* @__PURE__ */ h.createElement("div", { className: w(
469
+ ) }, t && /* @__PURE__ */ p.createElement("div", { className: "k-table-header" }, t), !r && m && c.length !== 0 && /* @__PURE__ */ p.createElement(z, { group: m, groupMode: l, render: i }), this.renderList(), o && /* @__PURE__ */ p.createElement("div", { className: w(
470
470
  {
471
471
  "k-list-footer": !this.props.footerClassName
472
472
  },
@@ -482,15 +482,15 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
482
482
  itemRender: n,
483
483
  groupHeaderItemRender: l,
484
484
  virtual: a = { skip: 0, total: void 0 }
485
- } = this.props, r = y(this.props), p = s.getPopupSettings(), i = s.vs, c = a.skip, d = this.props.opened !== void 0 ? this.props.opened : this.state.opened, v = `translateY(${i.translate}px)`, x = d ? this.getFocusedIndex(this.hasDuplicates) : void 0, f = this.props.filter !== void 0 ? this.props.filter : this.state.text, k = D(this.value, e), u = S(f) && f !== k ? null : this.value, g = this.props.list || me;
486
- return /* @__PURE__ */ h.createElement(
487
- g,
485
+ } = this.props, r = k(this.props), d = s.getPopupSettings(), i = s.vs, c = a.skip, h = this.props.opened !== void 0 ? this.props.opened : this.state.opened, g = `translateY(${i.translate}px)`, v = h ? this.getFocusedIndex(this.hasDuplicates) : void 0, m = this.props.filter !== void 0 ? this.props.filter : this.state.text, y = D(this.value, e), u = C(m) && m !== y ? null : this.value, f = this.props.list || me;
486
+ return /* @__PURE__ */ p.createElement(
487
+ f,
488
488
  {
489
489
  id: s.listBoxId,
490
490
  virtual: !!a,
491
- show: d,
491
+ show: h,
492
492
  data: r,
493
- focusedIndex: x,
493
+ focusedIndex: v,
494
494
  value: u,
495
495
  textField: e,
496
496
  valueField: t,
@@ -499,24 +499,24 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
499
499
  isMultiColumn: this.props.isMultiColumn,
500
500
  optionsGuid: s.guid,
501
501
  hasDuplicates: this.hasDuplicates,
502
- listRef: (b) => {
503
- i.list = this.base.list = b, this.itemHeight = 0;
502
+ listRef: (x) => {
503
+ i.list = this.base.list = x, this.itemHeight = 0;
504
504
  },
505
- wrapperStyle: this.state.windowWidth && this.state.windowWidth > W ? { maxHeight: p.height } : {},
505
+ wrapperStyle: this.state.windowWidth && this.state.windowWidth > W ? { maxHeight: d.height } : {},
506
506
  wrapperCssClass: w(
507
507
  "k-list-content",
508
508
  {
509
509
  "k-list-scroller": !a
510
510
  }
511
511
  ),
512
- listStyle: i.enabled ? { transform: v } : void 0,
512
+ listStyle: i.enabled ? { transform: g } : void 0,
513
513
  key: "listkey",
514
514
  skip: c,
515
515
  onClick: this.handleItemClick,
516
516
  itemRender: n,
517
517
  groupHeaderItemRender: l,
518
518
  noDataRender: o,
519
- onMouseDown: (b) => b.preventDefault(),
519
+ onMouseDown: (x) => x.preventDefault(),
520
520
  onScroll: this.onScroll,
521
521
  wrapperRef: i.scrollerRef,
522
522
  scroller: this.base.renderScrollElement(),
@@ -528,36 +528,45 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
528
528
  const {
529
529
  tabIndex: o,
530
530
  disabled: n,
531
- dataItemKey: l,
532
- virtual: a = { skip: 0 }
533
- } = this.props, r = y(this.props), p = this.props.opened !== void 0 ? this.props.opened : this.state.opened, i = this.value, c = Math.max(0, r.findIndex((d) => C(d, i, l)));
534
- return this._suggested && !C(this._valueOnDidUpdate, i, l) && (this._suggested = ""), /* @__PURE__ */ h.createElement(
531
+ title: l,
532
+ ariaLabelledBy: a,
533
+ ariaDescribedBy: r,
534
+ dataItemKey: d,
535
+ virtual: i = { skip: 0 },
536
+ accessKey: c
537
+ } = this.props, h = k(this.props), g = this.props.opened !== void 0 ? this.props.opened : this.state.opened, v = this.value, m = Math.max(0, h.findIndex((u) => S(u, v, d)));
538
+ this._suggested && !S(this._valueOnDidUpdate, v, d) && (this._suggested = "");
539
+ const y = {
540
+ accessKey: c
541
+ };
542
+ return /* @__PURE__ */ p.createElement(
535
543
  ue,
536
544
  {
537
545
  id: e,
538
- readOnly: p && this.mobileMode,
546
+ readOnly: g && this.mobileMode,
539
547
  placeholder: t,
540
548
  tabIndex: o,
541
- title: this.props.title,
542
- accessKey: this.props.accessKey,
549
+ title: l,
543
550
  value: s + this._suggested,
544
551
  suggestedText: this._suggested,
545
- ref: (d) => this._input = d && d.input,
552
+ ref: (u) => this._input = u && u.input,
546
553
  onClick: this.onInputClick,
547
554
  onKeyDown: this.onInputKeyDown,
548
555
  onChange: this.inputOnChange,
549
556
  onFocus: this.base.handleFocus,
550
557
  onBlur: this.handleBlur,
551
558
  disabled: n,
552
- expanded: p,
559
+ expanded: g,
553
560
  owns: this.base.listBoxId,
554
- activedescendant: `option-${this.base.guid}-${c + a.skip}`,
561
+ activedescendant: `option-${this.base.guid}-${m + i.skip}`,
555
562
  role: "combobox",
556
- ariaLabelledBy: this.props.ariaLabelledBy,
563
+ ariaLabelledBy: a,
557
564
  ariaLabel: this.props.ariaLabel,
558
- ariaDescribedBy: this.props.ariaDescribedBy,
565
+ ariaDescribedBy: r,
559
566
  ariaRequired: this.required,
560
- render: this.props.valueRender
567
+ render: this.props.valueRender,
568
+ ariaControls: this.base.listBoxId,
569
+ ...y
561
570
  }
562
571
  );
563
572
  }
@@ -569,11 +578,11 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
569
578
  }
570
579
  triggerOnChange(s, e) {
571
580
  const t = this.value;
572
- !this.hasDuplicates && (!S(t) && !S(s) || C(t, s, this.props.dataItemKey)) || (this.props.value === void 0 && (e.data.value = s), this._valueDuringOnChange = s, e.events.push({ type: "onChange" }));
581
+ !this.hasDuplicates && (!C(t) && !C(s) || S(t, s, this.props.dataItemKey)) || (this.props.value === void 0 && (e.data.value = s), this._valueDuringOnChange = s, e.events.push({ type: "onChange" }));
573
582
  }
574
583
  getFocusedIndex(s) {
575
- const e = this.value, { textField: t, dataItemKey: o, virtual: n = { skip: 0 }, focusedItemIndex: l = K, skipDisabledItems: a } = this.props, r = y(this.props), p = this.props.filter ? this.props.filter : this.state.text;
576
- return s && this.navigationIndex !== void 0 ? this.navigationIndex : S(e) && p === void 0 ? r.findIndex((i) => C(i, e, o)) : p ? l(r, p, t) : a && t && !p && n.skip === 0 ? r.findIndex((i) => !i.disabled && i[t]) : n.skip === 0 ? 0 : -1;
584
+ const e = this.value, { textField: t, dataItemKey: o, virtual: n = { skip: 0 }, focusedItemIndex: l = K, skipDisabledItems: a } = this.props, r = k(this.props), d = this.props.filter ? this.props.filter : this.state.text;
585
+ return s && this.navigationIndex !== void 0 ? this.navigationIndex : C(e) && d === void 0 ? r.findIndex((i) => S(i, e, o)) : d ? l(r, d, t) : a && t && !d && n.skip === 0 ? r.findIndex((i) => !i.disabled && i[t]) : n.skip === 0 ? 0 : -1;
577
586
  }
578
587
  suggestValue(s) {
579
588
  const { data: e, textField: t } = this.props;
@@ -589,29 +598,29 @@ const Ce = "Please enter a valid value!", { sizeMap: O, roundedMap: De } = pe, E
589
598
  };
590
599
  E.displayName = "ComboBox", E.propTypes = {
591
600
  ...B.propTypes,
592
- size: m.oneOf([null, "small", "medium", "large"]),
593
- rounded: m.oneOf([null, "small", "medium", "large", "full"]),
594
- fillMode: m.oneOf([null, "solid", "flat", "outline"]),
595
- dataItemKey: m.string,
596
- groupField: m.string,
597
- groupMode: m.oneOf([void 0, "classic", "modern"]),
598
- isMultiColumn: m.bool,
599
- suggest: m.bool,
600
- placeholder: m.string,
601
- title: m.string,
602
- allowCustom: m.bool,
603
- clearButton: m.bool,
604
- iconClassName: m.string,
601
+ size: b.oneOf([null, "small", "medium", "large"]),
602
+ rounded: b.oneOf([null, "small", "medium", "large", "full"]),
603
+ fillMode: b.oneOf([null, "solid", "flat", "outline"]),
604
+ dataItemKey: b.string,
605
+ groupField: b.string,
606
+ groupMode: b.oneOf([void 0, "classic", "modern"]),
607
+ isMultiColumn: b.bool,
608
+ suggest: b.bool,
609
+ placeholder: b.string,
610
+ title: b.string,
611
+ allowCustom: b.bool,
612
+ clearButton: b.bool,
613
+ iconClassName: b.string,
605
614
  svgIcon: oe,
606
- validationMessage: m.string,
607
- required: m.bool,
608
- id: m.string,
609
- ariaLabelledBy: m.string,
610
- ariaLabel: m.string,
611
- ariaDescribedBy: m.string,
612
- list: m.any,
613
- valueRender: m.func,
614
- skipDisabledItems: m.bool
615
+ validationMessage: b.string,
616
+ required: b.bool,
617
+ id: b.string,
618
+ ariaLabelledBy: b.string,
619
+ ariaLabel: b.string,
620
+ ariaDescribedBy: b.string,
621
+ list: b.any,
622
+ valueRender: b.func,
623
+ skipDisabledItems: b.bool
615
624
  }, E.defaultProps = {
616
625
  ...B.defaultProps,
617
626
  size: "medium",