@progress/kendo-react-dropdowns 5.4.0-dev.202205271059 → 5.4.0-dev.202206090823

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.
Files changed (72) hide show
  1. package/dist/cdn/js/kendo-react-dropdowns.js +1 -1
  2. package/dist/es/AutoComplete/AutoComplete.d.ts +6 -6
  3. package/dist/es/AutoComplete/AutoComplete.js +6 -4
  4. package/dist/es/ComboBox/ComboBox.d.ts +6 -6
  5. package/dist/es/ComboBox/ComboBox.js +12 -10
  6. package/dist/es/DropDownList/DropDownList.d.ts +3 -6
  7. package/dist/es/DropDownList/DropDownList.js +10 -8
  8. package/dist/es/DropDownTree/DropDownTree.d.ts +1 -1
  9. package/dist/es/DropDownTree/DropDownTree.js +17 -13
  10. package/dist/es/MultiColumnComboBox/MultiColumnComboBox.d.ts +2 -2
  11. package/dist/es/MultiColumnComboBox/MultiColumnComboBox.js +1 -1
  12. package/dist/es/MultiSelect/MultiSelect.d.ts +5 -5
  13. package/dist/es/MultiSelect/MultiSelect.js +23 -17
  14. package/dist/es/MultiSelect/TagList.d.ts +1 -0
  15. package/dist/es/MultiSelect/TagList.js +1 -1
  16. package/dist/es/MultiSelectTree/MultiSelectTree.d.ts +1 -1
  17. package/dist/es/MultiSelectTree/MultiSelectTree.js +16 -12
  18. package/dist/es/MultiSelectTree/utils.d.ts +3 -3
  19. package/dist/es/MultiSelectTree/utils.js +11 -7
  20. package/dist/es/common/DropDownBase.d.ts +1 -1
  21. package/dist/es/common/DropDownBase.js +2 -0
  22. package/dist/es/common/List.d.ts +2 -2
  23. package/dist/es/common/List.js +1 -1
  24. package/dist/es/common/ListContainer.d.ts +1 -0
  25. package/dist/es/common/ListFilter.js +6 -4
  26. package/dist/es/common/ListItem.d.ts +1 -1
  27. package/dist/es/common/MultiColumnList.d.ts +2 -1
  28. package/dist/es/common/Navigation.d.ts +1 -1
  29. package/dist/es/common/SearchBar.d.ts +1 -1
  30. package/dist/es/common/SearchBar.js +3 -1
  31. package/dist/es/common/VirtualScroll.d.ts +1 -1
  32. package/dist/es/common/VirtualScroll.js +5 -1
  33. package/dist/es/package-metadata.js +1 -1
  34. package/dist/npm/AutoComplete/AutoComplete.d.ts +6 -6
  35. package/dist/npm/AutoComplete/AutoComplete.js +21 -19
  36. package/dist/npm/ComboBox/ComboBox.d.ts +6 -6
  37. package/dist/npm/ComboBox/ComboBox.js +46 -44
  38. package/dist/npm/DropDownList/DropDownList.d.ts +3 -6
  39. package/dist/npm/DropDownList/DropDownList.js +37 -35
  40. package/dist/npm/DropDownTree/DropDownTree.d.ts +1 -1
  41. package/dist/npm/DropDownTree/DropDownTree.js +33 -29
  42. package/dist/npm/MultiColumnComboBox/MultiColumnComboBox.d.ts +2 -2
  43. package/dist/npm/MultiColumnComboBox/MultiColumnComboBox.js +10 -10
  44. package/dist/npm/MultiSelect/MultiSelect.d.ts +5 -5
  45. package/dist/npm/MultiSelect/MultiSelect.js +43 -37
  46. package/dist/npm/MultiSelect/TagList.d.ts +1 -0
  47. package/dist/npm/MultiSelect/TagList.js +1 -1
  48. package/dist/npm/MultiSelectTree/MultiSelectTree.d.ts +1 -1
  49. package/dist/npm/MultiSelectTree/MultiSelectTree.js +30 -26
  50. package/dist/npm/MultiSelectTree/utils.d.ts +3 -3
  51. package/dist/npm/MultiSelectTree/utils.js +18 -14
  52. package/dist/npm/common/ClearButton.js +2 -2
  53. package/dist/npm/common/DropDownBase.d.ts +1 -1
  54. package/dist/npm/common/DropDownBase.js +7 -5
  55. package/dist/npm/common/List.d.ts +2 -2
  56. package/dist/npm/common/List.js +7 -7
  57. package/dist/npm/common/ListContainer.d.ts +1 -0
  58. package/dist/npm/common/ListDefaultItem.js +2 -2
  59. package/dist/npm/common/ListFilter.js +7 -5
  60. package/dist/npm/common/ListItem.d.ts +1 -1
  61. package/dist/npm/common/ListItem.js +2 -2
  62. package/dist/npm/common/MultiColumnList.d.ts +2 -1
  63. package/dist/npm/common/Navigation.d.ts +1 -1
  64. package/dist/npm/common/Navigation.js +1 -1
  65. package/dist/npm/common/SearchBar.d.ts +1 -1
  66. package/dist/npm/common/SearchBar.js +3 -1
  67. package/dist/npm/common/VirtualScroll.d.ts +1 -1
  68. package/dist/npm/common/VirtualScroll.js +5 -1
  69. package/dist/npm/main.js +5 -1
  70. package/dist/npm/package-metadata.js +1 -1
  71. package/dist/systemjs/kendo-react-dropdowns.js +1 -1
  72. package/package.json +13 -13
@@ -24,9 +24,9 @@ export declare class AutoCompleteWithoutContext extends React.Component<AutoComp
24
24
  * @hidden
25
25
  */
26
26
  static propTypes: {
27
- size: PropTypes.Requireable<"small" | "medium" | "large">;
28
- rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
29
- fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
27
+ size: PropTypes.Requireable<"small" | "medium" | "large" | null | undefined>;
28
+ rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large" | null | undefined>;
29
+ fillMode: PropTypes.Requireable<"flat" | "outline" | "solid" | null | undefined>;
30
30
  suggest: PropTypes.Requireable<string | boolean>;
31
31
  placeholder: PropTypes.Requireable<string>;
32
32
  value: PropTypes.Requireable<string>;
@@ -77,9 +77,9 @@ export declare class AutoCompleteWithoutContext extends React.Component<AutoComp
77
77
  * @hidden
78
78
  */
79
79
  static defaultProps: {
80
- size: "small" | "medium" | "large";
81
- rounded: "small" | "medium" | "full" | "large";
82
- fillMode: "flat" | "solid" | "outline";
80
+ size: "small" | "medium" | "large" | null | undefined;
81
+ rounded: "small" | "medium" | "full" | "large" | null | undefined;
82
+ fillMode: "flat" | "outline" | "solid" | null | undefined;
83
83
  popupSettings: {
84
84
  height: string;
85
85
  };
@@ -48,8 +48,10 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
48
48
  */
49
49
  _this.state = {};
50
50
  _this.base = new DropDownBase(_this);
51
+ _this._element = null;
51
52
  _this._inputId = guid();
52
53
  _this._suggested = '';
54
+ _this._input = null;
53
55
  /**
54
56
  * @hidden
55
57
  */
@@ -303,9 +305,9 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
303
305
  this._suggested = suggest;
304
306
  }
305
307
  var autoComplete = (React.createElement("span", { className: classNames('k-autocomplete k-input', className, (_a = {},
306
- _a["k-input-" + (sizeMap[size] || size)] = size,
307
- _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
308
- _a["k-input-" + fillMode] = fillMode,
308
+ _a["k-input-".concat(sizeMap[size] || size)] = size,
309
+ _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded,
310
+ _a["k-input-".concat(fillMode)] = fillMode,
309
311
  _a['k-invalid'] = !isValid,
310
312
  _a['k-loading'] = loading,
311
313
  _a['k-required'] = this.required,
@@ -382,7 +384,7 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
382
384
  anchor: this.element,
383
385
  show: opened,
384
386
  popupClass: classNames(popupSettings.popupClass, 'k-list', (_a = {},
385
- _a["k-list-" + (sizeMap[size] || size)] = size,
387
+ _a["k-list-".concat(sizeMap[size] || size)] = size,
386
388
  _a)),
387
389
  className: popupSettings.className,
388
390
  appendTo: popupSettings.appendTo
@@ -24,9 +24,9 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
24
24
  * @hidden
25
25
  */
26
26
  static propTypes: {
27
- size: PropTypes.Requireable<"small" | "medium" | "large">;
28
- rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large">;
29
- fillMode: PropTypes.Requireable<"flat" | "solid" | "outline">;
27
+ size: PropTypes.Requireable<"small" | "medium" | "large" | null | undefined>;
28
+ rounded: PropTypes.Requireable<"small" | "medium" | "full" | "large" | null | undefined>;
29
+ fillMode: PropTypes.Requireable<"flat" | "outline" | "solid" | null | undefined>;
30
30
  dataItemKey: PropTypes.Requireable<string>;
31
31
  groupField: PropTypes.Requireable<string>;
32
32
  suggest: PropTypes.Requireable<boolean>;
@@ -88,9 +88,9 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
88
88
  * @hidden
89
89
  */
90
90
  static defaultProps: {
91
- size: "small" | "medium" | "large";
92
- rounded: "small" | "medium" | "full" | "large";
93
- fillMode: "flat" | "solid" | "outline";
91
+ size: "small" | "medium" | "large" | null | undefined;
92
+ rounded: "small" | "medium" | "full" | "large" | null | undefined;
93
+ fillMode: "flat" | "outline" | "solid" | null | undefined;
94
94
  allowCustom: boolean;
95
95
  clearButton: boolean;
96
96
  required: boolean;
@@ -48,8 +48,10 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
48
48
  */
49
49
  _this.state = {};
50
50
  _this.base = new DropDownBase(_this);
51
+ _this._element = null;
51
52
  _this._inputId = guid();
52
53
  _this._suggested = '';
54
+ _this._input = null;
53
55
  _this.itemHeight = 0;
54
56
  /**
55
57
  * @hidden
@@ -376,9 +378,9 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
376
378
  vs.pageSize = virtual.pageSize;
377
379
  }
378
380
  var combobox = (React.createElement("span", { className: classNames('k-combobox k-input', (_a = {},
379
- _a["k-input-" + (sizeMap[size] || size)] = size,
380
- _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
381
- _a["k-input-" + fillMode] = fillMode,
381
+ _a["k-input-".concat(sizeMap[size] || size)] = size,
382
+ _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded,
383
+ _a["k-input-".concat(fillMode)] = fillMode,
382
384
  _a['k-invalid'] = !isValid,
383
385
  _a['k-loading'] = loading,
384
386
  _a['k-required'] = this.required,
@@ -388,9 +390,9 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
388
390
  renderClearButton && !loading && React.createElement(ClearButton, { onClick: this.clearButtonClick, key: "clearbutton" }),
389
391
  loading && React.createElement("span", { className: "k-icon k-i-loading k-input-loading-icon", key: "loading" }),
390
392
  React.createElement("button", { tabIndex: -1, type: "button", className: classNames('k-input-button k-button k-icon-button', (_b = {},
391
- _b["k-button-" + (sizeMap[size] || size)] = size,
392
- _b["k-button-" + fillMode] = fillMode,
393
- _b["k-button-" + fillMode + "-base"] = fillMode,
393
+ _b["k-button-".concat(sizeMap[size] || size)] = size,
394
+ _b["k-button-".concat(fillMode)] = fillMode,
395
+ _b["k-button-".concat(fillMode, "-base")] = fillMode,
394
396
  _b)), onClick: this.toggleBtnClick, onMouseDown: function (e) { return e.preventDefault(); } },
395
397
  React.createElement("span", { className: classNames('k-button-icon k-icon k-i-arrow-s', iconClassName) })),
396
398
  this.renderListContainer()));
@@ -529,10 +531,10 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
529
531
  }, dir: dir !== undefined ? dir : this.base.dirCalculated, itemsCount: [data.length] },
530
532
  React.createElement("div", { className: classNames((_a = {},
531
533
  _a['k-list'] = !list,
532
- _a["k-list-" + (sizeMap[size] || size)] = !list && size,
534
+ _a["k-list-".concat(sizeMap[size] || size)] = !list && size,
533
535
  _a['k-virtual-list'] = virtual,
534
536
  _a['k-data-table'] = list,
535
- _a["k-table-" + (sizeMap[size] || size)] = list && size,
537
+ _a["k-table-".concat(sizeMap[size] || size)] = list && size,
536
538
  _a)) },
537
539
  header && React.createElement("div", { className: "k-table-header" }, header),
538
540
  !list && group && React.createElement("div", { className: "k-list-group-sticky-header" }, group),
@@ -548,7 +550,7 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
548
550
  var vs = base.vs;
549
551
  var skip = virtual.skip;
550
552
  var opened = this.props.opened !== undefined ? this.props.opened : this.state.opened;
551
- var translate = "translateY(" + vs.translate + "px)";
553
+ var translate = "translateY(".concat(vs.translate, "px)");
552
554
  var focusedIndex = opened ? this.getFocusedIndex() : undefined;
553
555
  var text = this.props.filter !== undefined ? this.props.filter : this.state.text;
554
556
  var selectedItemText = getItemValue(this.value, textField);
@@ -568,7 +570,7 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
568
570
  if (this._suggested && !areSame(this._valueOnDidUpdate, value, dataItemKey)) {
569
571
  this._suggested = '';
570
572
  }
571
- return (React.createElement(SearchBar, { id: id, placeholder: placeholder, tabIndex: tabIndex || undefined, accessKey: this.props.accessKey, value: text + this._suggested, suggestedText: this._suggested, ref: function (el) { return _this._input = el && el.input; }, onKeyDown: this.onInputKeyDown, onChange: this.inputOnChange, onFocus: this.base.handleFocus, onBlur: this.handleBlur, disabled: disabled, expanded: opened, owns: this.base.listBoxId, activedescendant: "option-" + this.base.guid + "-" + (selectedIndex + virtual.skip), role: "combobox", ariaLabelledBy: this.props.ariaLabelledBy, ariaDescribedBy: this.props.ariaDescribedBy, render: this.props.valueRender }));
573
+ return (React.createElement(SearchBar, { id: id, placeholder: placeholder, tabIndex: tabIndex || undefined, accessKey: this.props.accessKey, value: text + this._suggested, suggestedText: this._suggested, ref: function (el) { return _this._input = el && el.input; }, onKeyDown: this.onInputKeyDown, onChange: this.inputOnChange, onFocus: this.base.handleFocus, onBlur: this.handleBlur, disabled: disabled, expanded: opened, owns: this.base.listBoxId, activedescendant: "option-".concat(this.base.guid, "-").concat(selectedIndex + virtual.skip), role: "combobox", ariaLabelledBy: this.props.ariaLabelledBy, ariaDescribedBy: this.props.ariaDescribedBy, render: this.props.valueRender }));
572
574
  };
573
575
  ComboBoxWithoutContext.prototype.triggerOnChange = function (item, state) {
574
576
  var value = this.value;
@@ -19,9 +19,6 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
19
19
  */
20
20
  static propTypes: {
21
21
  value: PropTypes.Requireable<any>;
22
- /**
23
- * @hidden
24
- */
25
22
  defaultValue: PropTypes.Requireable<any>;
26
23
  filterable: PropTypes.Requireable<boolean>;
27
24
  filter: PropTypes.Requireable<string>;
@@ -83,9 +80,9 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
83
80
  */
84
81
  static defaultProps: {
85
82
  required: boolean;
86
- size: "small" | "medium" | "large";
87
- rounded: "small" | "medium" | "full" | "large";
88
- fillMode: "flat" | "solid" | "outline";
83
+ size: "small" | "medium" | "large" | null | undefined;
84
+ rounded: "small" | "medium" | "full" | "large" | null | undefined;
85
+ fillMode: "flat" | "outline" | "solid" | null | undefined;
89
86
  popupSettings: {
90
87
  height: string;
91
88
  };
@@ -49,8 +49,10 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
49
49
  * @hidden
50
50
  */
51
51
  _this.state = {};
52
+ _this._element = null;
52
53
  _this.base = new DropDownBase(_this);
53
54
  _this.searchState = { word: '', last: '' };
55
+ _this._select = null;
54
56
  _this._skipFocusEvent = false;
55
57
  _this._filterInput = null;
56
58
  _this._navigated = false;
@@ -97,7 +99,7 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
97
99
  width: popupWidth,
98
100
  popupSettings: {
99
101
  popupClass: classNames(popupSettings.popupClass, 'k-list', (_a = {},
100
- _a["k-list-" + (sizeMap[size] || size)] = size,
102
+ _a["k-list-".concat(sizeMap[size] || size)] = size,
101
103
  _a['k-virtual-list'] = _this.base.vs.enabled,
102
104
  _a)),
103
105
  className: popupSettings.className,
@@ -123,7 +125,7 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
123
125
  var skip = virtual.skip;
124
126
  var opened = _this.props.opened !== undefined ? _this.props.opened : _this.state.opened;
125
127
  var popupSettings = _this.base.getPopupSettings();
126
- var translate = "translateY(" + vs.translate + "px)";
128
+ var translate = "translateY(".concat(vs.translate, "px)");
127
129
  return (React.createElement(List, { id: _this.base.listBoxId, show: opened, data: data.slice(), focusedIndex: _this.focusedIndex(), value: _this.value, textField: textField, valueField: dataItemKey, optionsGuid: _this.base.guid, listRef: function (list) { return vs.list = _this.base.list = list; }, wrapperStyle: { maxHeight: popupSettings.height }, wrapperCssClass: "k-list-content", listStyle: vs.enabled ? { transform: translate } : undefined, key: "listkey", skip: skip, onClick: _this.handleItemClick, itemRender: itemRender, noDataRender: listNoDataRender, onScroll: function (e) {
128
130
  vs.scrollHandler(e);
129
131
  }, wrapperRef: vs.scrollerRef, scroller: _this.base.renderScrollElement() }));
@@ -506,9 +508,9 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
506
508
  var valueElement = valueRender !== undefined ?
507
509
  valueRender.call(undefined, valueDefaultRendering, value) : valueDefaultRendering;
508
510
  var dropdownlist = (React.createElement("span", { ref: this.componentRef, className: classNames('k-dropdownlist k-picker', className, (_a = {},
509
- _a["k-picker-" + (sizeMap[size] || size)] = size,
510
- _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
511
- _a["k-picker-" + fillMode] = fillMode,
511
+ _a["k-picker-".concat(sizeMap[size] || size)] = size,
512
+ _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded,
513
+ _a["k-picker-".concat(fillMode)] = fillMode,
512
514
  _a['k-focus'] = focused,
513
515
  _a['k-disabled'] = disabled,
514
516
  _a['k-invalid'] = !isValid,
@@ -520,9 +522,9 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
520
522
  valueElement,
521
523
  loading && React.createElement("span", { className: "k-icon k-i-loading k-input-loading-icon", key: "loading" }),
522
524
  React.createElement("button", { tabIndex: -1, type: "button", "aria-hidden": true, className: classNames('k-input-button k-button k-icon-button', (_b = {},
523
- _b["k-button-" + (sizeMap[size] || size)] = size,
524
- _b["k-button-" + fillMode] = fillMode,
525
- _b["k-button-" + fillMode + "-base"] = fillMode,
525
+ _b["k-button-".concat(sizeMap[size] || size)] = size,
526
+ _b["k-button-".concat(fillMode)] = fillMode,
527
+ _b["k-button-".concat(fillMode, "-base")] = fillMode,
526
528
  _b)), onMouseDown: function (e) { return e.preventDefault(); } },
527
529
  React.createElement("span", { className: classNames('k-button-icon k-icon k-i-arrow-s', iconClassName) })),
528
530
  this.dummySelect(value),
@@ -13,4 +13,4 @@ export declare const DropDownTreePropsContext: React.Context<(p: DropDownTreePro
13
13
  * Accepts properties of type [DropDownTreeProps]({% slug api_dropdowns_dropdowntreeprops %}).
14
14
  * Obtaining the `ref` returns an object of type [DropDownTreeHandle]({% slug api_dropdowns_dropdowntreehandle %}).
15
15
  */
16
- export declare const DropDownTree: React.ForwardRefExoticComponent<DropDownTreeProps & React.RefAttributes<DropDownTreeHandle>>;
16
+ export declare const DropDownTree: React.ForwardRefExoticComponent<DropDownTreeProps & React.RefAttributes<DropDownTreeHandle | null>>;
@@ -9,10 +9,14 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __spreadArray = (this && this.__spreadArray) || function (to, from) {
13
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
14
- to[j] = from[i];
15
- return to;
12
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
+ if (ar || !(i in from)) {
15
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
+ ar[i] = from[i];
17
+ }
18
+ }
19
+ return to.concat(ar || Array.prototype.slice.call(from));
16
20
  };
17
21
  import * as React from 'react';
18
22
  import * as PropTypes from 'prop-types';
@@ -36,8 +40,8 @@ var ValueHolder = function (props) {
36
40
  var toLevel = function (hierarchicalIndex) {
37
41
  return hierarchicalIndex.split('_').map(function (i) { return parseInt(i, 10); });
38
42
  };
39
- var getValidity = function (_a, hasValue) {
40
- var validationMessage = _a.validationMessage, valid = _a.valid, required = _a.required;
43
+ var getValidity = function (parameters, hasValue) {
44
+ var validationMessage = parameters.validationMessage, valid = parameters.valid, required = parameters.required;
41
45
  return ({
42
46
  customError: validationMessage !== undefined,
43
47
  valid: Boolean(valid !== undefined ? valid : (!required || hasValue)),
@@ -175,7 +179,7 @@ export var DropDownTree = React.forwardRef(function (directProps, ref) {
175
179
  keyCode === Keys.home || keyCode === Keys.end)) {
176
180
  if (keyCode === Keys.up && inputRef.current) {
177
181
  var items = Array.from(treeview.querySelectorAll('.k-treeview-item'));
178
- var focusedItem = __spreadArray([], items).reverse().find(function (i) { return Boolean(i && i.querySelector('.k-focus')); });
182
+ var focusedItem = __spreadArray([], items, true).reverse().find(function (i) { return Boolean(i && i.querySelector('.k-focus')); });
179
183
  if (focusedItem && items.indexOf(focusedItem) === 0) {
180
184
  return switchFocus(function () { focusElement(inputRef.current); });
181
185
  }
@@ -338,9 +342,9 @@ export var DropDownTree = React.forwardRef(function (directProps, ref) {
338
342
  var isValid = !validityStyles || validity.valid;
339
343
  var size = props.size, rounded = props.rounded, fillMode = props.fillMode;
340
344
  var dropdowntree = (React.createElement("span", { className: classNames('k-dropdowntree k-picker', props.className, (_a = {},
341
- _a["k-picker-" + (sizeMap[size] || size)] = size,
342
- _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
343
- _a["k-picker-" + fillMode] = fillMode,
345
+ _a["k-picker-".concat(sizeMap[size] || size)] = size,
346
+ _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded,
347
+ _a["k-picker-".concat(fillMode)] = fillMode,
344
348
  _a['k-focus'] = focused,
345
349
  _a['k-invalid'] = !isValid,
346
350
  _a['k-loading'] = props.loading,
@@ -353,9 +357,9 @@ export var DropDownTree = React.forwardRef(function (directProps, ref) {
353
357
  hasValue && !disabled && (React.createElement("span", { onClick: onClear, className: "k-clear-value", title: localization.toLanguageString(clear, messages[clear]), role: "button", tabIndex: -1, onMouseDown: function (e) { return e.preventDefault(); } },
354
358
  React.createElement("span", { className: "k-icon k-i-x" }))),
355
359
  React.createElement("button", { tabIndex: -1, type: "button", "aria-label": "select", className: classNames('k-input-button k-button k-icon-button', (_b = {},
356
- _b["k-button-" + (sizeMap[size] || size)] = size,
357
- _b["k-button-" + fillMode] = fillMode,
358
- _b["k-button-" + fillMode + "-base"] = fillMode,
360
+ _b["k-button-".concat(sizeMap[size] || size)] = size,
361
+ _b["k-button-".concat(fillMode)] = fillMode,
362
+ _b["k-button-".concat(fillMode, "-base")] = fillMode,
359
363
  _b)) },
360
364
  React.createElement("span", { className: "k-button-icon k-icon k-i-arrow-s" })),
361
365
  React.createElement("select", { name: name, ref: selectRef, tabIndex: -1, "aria-hidden": true, title: label, style: { opacity: 0, width: 1, border: 0, zIndex: -1, position: 'absolute', left: '50%' } },
@@ -143,7 +143,7 @@ export interface MultiColumnComboBoxProps extends ComboBoxProps {
143
143
  * @hidden
144
144
  */
145
145
  onGroupScroll?: (event: {
146
- group: string;
146
+ group?: string;
147
147
  }) => void;
148
148
  /**
149
149
  * Fires when a MultiColumnComboBox list item is about to be rendered. Used to override the default appearance of the list items.
@@ -247,4 +247,4 @@ export declare const MultiColumnComboBoxPropsContext: React.Context<(p: MultiCol
247
247
  * Obtaining the `ref` returns an object of type [MultiColumnComboBoxHandle]({% slug api_dropdowns_multicolumncomboboxhandle %}).
248
248
  *
249
249
  */
250
- export declare const MultiColumnComboBox: React.ForwardRefExoticComponent<MultiColumnComboBoxProps & React.RefAttributes<MultiColumnComboBoxHandle>>;
250
+ export declare const MultiColumnComboBox: React.ForwardRefExoticComponent<MultiColumnComboBoxProps & React.RefAttributes<MultiColumnComboBoxHandle | null>>;
@@ -89,7 +89,7 @@ export var MultiColumnComboBox = React.forwardRef(function (directProps, ref) {
89
89
  }, [props.header, columns, groupHeader]);
90
90
  var popupWidth = React.useMemo(function () {
91
91
  // These additional 4px are coming from the child elements side borders (fixes horizontal scrollbar)
92
- return "calc(" + columns.map(function (column) { return columnWidth(column.width, defaultProps.width); }).filter(Boolean).join(' + ') + " + " + scrollbarWidth + "px + 4px)";
92
+ return "calc(".concat(columns.map(function (column) { return columnWidth(column.width, defaultProps.width); }).filter(Boolean).join(' + '), " + ").concat(scrollbarWidth, "px + 4px)");
93
93
  }, [columns, scrollbarWidth]);
94
94
  var skip = props.virtual ? props.virtual.skip : 0;
95
95
  var itemRender = React.useCallback(function (li, liProps) {
@@ -33,10 +33,10 @@ export declare class MultiSelectWithoutContext extends React.Component<MultiSele
33
33
  defaultValue: PropTypes.Requireable<any[]>;
34
34
  dataItemKey: PropTypes.Requireable<string>;
35
35
  placeholder: PropTypes.Requireable<string>;
36
- tags: PropTypes.Requireable<PropTypes.InferProps<{
36
+ tags: PropTypes.Requireable<(PropTypes.InferProps<{
37
37
  text: PropTypes.Requireable<string>;
38
38
  data: PropTypes.Requireable<any[]>;
39
- }>[]>;
39
+ }> | null | undefined)[]>;
40
40
  tagRender: PropTypes.Requireable<(...args: any[]) => any>;
41
41
  id: PropTypes.Requireable<string>;
42
42
  ariaLabelledBy: PropTypes.Requireable<string>;
@@ -88,9 +88,9 @@ export declare class MultiSelectWithoutContext extends React.Component<MultiSele
88
88
  static defaultProps: {
89
89
  autoClose: boolean;
90
90
  required: boolean;
91
- size: "small" | "medium" | "large";
92
- rounded: "small" | "medium" | "full" | "large";
93
- fillMode: "flat" | "solid" | "outline";
91
+ size: "small" | "medium" | "large" | null | undefined;
92
+ rounded: "small" | "medium" | "full" | "large" | null | undefined;
93
+ fillMode: "flat" | "outline" | "solid" | null | undefined;
94
94
  popupSettings: {
95
95
  height: string;
96
96
  };
@@ -24,10 +24,14 @@ var __assign = (this && this.__assign) || function () {
24
24
  };
25
25
  return __assign.apply(this, arguments);
26
26
  };
27
- var __spreadArray = (this && this.__spreadArray) || function (to, from) {
28
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
29
- to[j] = from[i];
30
- return to;
27
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
28
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
29
+ if (ar || !(i in from)) {
30
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
31
+ ar[i] = from[i];
32
+ }
33
+ }
34
+ return to.concat(ar || Array.prototype.slice.call(from));
31
35
  };
32
36
  import * as React from 'react';
33
37
  import * as PropTypes from 'prop-types';
@@ -64,10 +68,12 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
64
68
  _this.state = {
65
69
  activedescendant: ActiveDescendant.PopupList
66
70
  };
71
+ _this._element = null;
67
72
  _this._valueItemsDuringOnChange = null;
68
73
  _this._inputId = guid();
69
74
  _this.base = new DropDownBase(_this);
70
75
  _this._tags = [];
76
+ _this._input = null;
71
77
  _this._skipFocusEvent = false;
72
78
  _this.scrollToFocused = false;
73
79
  /**
@@ -92,7 +98,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
92
98
  newItems.splice(indexInValue, 1);
93
99
  }
94
100
  else {
95
- newItems = __spreadArray(__spreadArray([], _this.value), [dataItem]);
101
+ newItems = __spreadArray(__spreadArray([], _this.value, true), [dataItem], false);
96
102
  }
97
103
  var text = _this.props.filter !== undefined ? _this.props.filter : _this.state.text;
98
104
  if (text) {
@@ -253,7 +259,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
253
259
  width: popupWidth,
254
260
  popupSettings: {
255
261
  popupClass: classNames(popupSettings.popupClass, 'k-list', (_a = {},
256
- _a["k-list-" + (sizeMap[size] || size)] = size,
262
+ _a["k-list-".concat(sizeMap[size] || size)] = size,
257
263
  _a['k-virtual-list'] = _this.base.vs.enabled,
258
264
  _a)),
259
265
  className: popupSettings.className,
@@ -268,7 +274,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
268
274
  };
269
275
  var focusedType = _this.getFocusedState().focusedType;
270
276
  var customItem = allowCustom && text && (React.createElement("div", { className: classNames('k-list', (_b = {},
271
- _b["k-list-" + (sizeMap[size] || size)] = size,
277
+ _b["k-list-".concat(sizeMap[size] || size)] = size,
272
278
  _b)), key: "customitem", onClick: _this.customItemSelect, onMouseDown: preventDefault },
273
279
  React.createElement("div", { className: classNames('k-list-item k-custom-item', { 'k-focus': isCustom(focusedType) }), style: { fontStyle: 'italic' } },
274
280
  text,
@@ -286,7 +292,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
286
292
  var opened = _this.props.opened !== undefined ? _this.props.opened : _this.state.opened;
287
293
  var focusedIndex = _this.getFocusedState().focusedIndex;
288
294
  var popupSettings = _this.base.getPopupSettings();
289
- var translate = "translateY(" + vs.translate + "px)";
295
+ var translate = "translateY(".concat(vs.translate, "px)");
290
296
  return (React.createElement(List, { id: _this.base.listBoxId, show: opened, data: data.slice(), focusedIndex: focusedIndex - skip, value: _this.value, textField: textField, valueField: dataItemKey, optionsGuid: _this.base.guid, listRef: function (list) { vs.list = _this.base.list = list; }, wrapperStyle: { maxHeight: popupSettings.height }, wrapperCssClass: "k-list-content", listStyle: vs.enabled ? { transform: translate } : undefined, key: "listKey", skip: skip, onClick: _this.handleItemClick, itemRender: itemRender, noDataRender: listNoDataRender, onMouseDown: preventDefault, onBlur: _this.handleBlur, onScroll: function (e) {
291
297
  vs.scrollHandler(e);
292
298
  }, wrapperRef: vs.scrollerRef, scroller: _this.base.renderScrollElement() }));
@@ -306,7 +312,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
306
312
  }
307
313
  state.data.focusedIndex = undefined;
308
314
  _this.base.filterChanged('', state);
309
- var newItems = __spreadArray(__spreadArray([], _this.value), [item]);
315
+ var newItems = __spreadArray(__spreadArray([], _this.value, true), [item], false);
310
316
  _this.triggerOnChange(newItems, state);
311
317
  _this.base.togglePopup(state);
312
318
  _this.applyState(state);
@@ -567,9 +573,9 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
567
573
  var isValid = !this.validityStyles || this.validity.valid;
568
574
  var clearButton = Boolean(filter !== undefined ? filter : text) || this.value.length > 0;
569
575
  var component = (React.createElement("div", { ref: this.componentRef, className: classNames('k-multiselect k-input', className, (_a = {},
570
- _a["k-input-" + (sizeMap[size] || size)] = size,
571
- _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
572
- _a["k-input-" + fillMode] = fillMode,
576
+ _a["k-input-".concat(sizeMap[size] || size)] = size,
577
+ _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded,
578
+ _a["k-input-".concat(fillMode)] = fillMode,
573
579
  _a['k-focus'] = focused && !disabled,
574
580
  _a['k-invalid'] = !isValid,
575
581
  _a['k-disabled'] = disabled,
@@ -579,7 +585,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
579
585
  ? style
580
586
  : __assign(__assign({}, style), { width: undefined }), dir: dir, onFocus: this.handleFocus, onBlur: this.handleBlur, onClick: this.handleWrapperClick, onMouseDown: preventDefaultNonInputs },
581
587
  React.createElement("div", { className: classNames('k-input-values k-chip-list k-selection-multiple', (_b = {},
582
- _b["k-chip-list-" + (sizeMap[size] || size)] = size,
588
+ _b["k-chip-list-".concat(sizeMap[size] || size)] = size,
583
589
  _b)), role: "listbox", id: 'tagslist-' + this.base.guid },
584
590
  tagsToRender.length > 0 && React.createElement(TagList, { tagRender: this.props.tagRender, onTagDelete: this.onTagDelete, data: tagsToRender, guid: this.base.guid, focused: focusedTag ? tagsToRender.find(function (t) { return matchTags(t, focusedTag, dataItemKey); }) : undefined, size: size }),
585
591
  this.renderSearchbar(id)),
@@ -596,9 +602,9 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
596
602
  var focusedIndex = this.getFocusedState().focusedIndex;
597
603
  var placeholderToShow = this.value.length === 0 && !text ? placeholder : undefined;
598
604
  var ariaActivedescendant = activedescendant === ActiveDescendant.TagsList && focusedTag !== undefined ?
599
- "tag-" + this.base.guid + "-" + focusedTag.text.replace(/\s+/g, '-') :
600
- "option-" + this.base.guid + "-" + focusedIndex;
601
- return (React.createElement(SearchBar, { id: id, size: Math.max((placeholderToShow || '').length, text.length, 1), tabIndex: this.props.tabIndex, accessKey: this.props.accessKey, placeholder: placeholderToShow, value: text, onChange: this.onChangeHandler, onKeyDown: this.onInputKeyDown, ref: this.searchbarRef, disabled: disabled, expanded: opened, owns: this.base.listBoxId, activedescendant: ariaActivedescendant, ariaDescribedBy: "tagslist-" + this.base.guid + (ariaDescribedBy ? (' ' + ariaDescribedBy) : ''), ariaLabelledBy: this.props.ariaLabelledBy }));
605
+ "tag-".concat(this.base.guid, "-").concat(focusedTag.text.replace(/\s+/g, '-')) :
606
+ "option-".concat(this.base.guid, "-").concat(focusedIndex);
607
+ return (React.createElement(SearchBar, { id: id, size: Math.max((placeholderToShow || '').length, text.length, 1), tabIndex: this.props.tabIndex, accessKey: this.props.accessKey, placeholder: placeholderToShow, value: text, onChange: this.onChangeHandler, onKeyDown: this.onInputKeyDown, ref: this.searchbarRef, disabled: disabled, expanded: opened, owns: this.base.listBoxId, activedescendant: ariaActivedescendant, ariaDescribedBy: "tagslist-".concat(this.base.guid).concat(ariaDescribedBy ? (' ' + ariaDescribedBy) : ''), ariaLabelledBy: this.props.ariaLabelledBy }));
602
608
  };
603
609
  MultiSelectWithoutContext.prototype.onTagsNavigate = function (event, state) {
604
610
  var keyCode = event.keyCode;
@@ -660,7 +666,7 @@ var MultiSelectWithoutContext = /** @class */ (function (_super) {
660
666
  };
661
667
  MultiSelectWithoutContext.prototype.triggerOnChange = function (items, state) {
662
668
  if (this.props.value === undefined) {
663
- state.data.value = __spreadArray([], items);
669
+ state.data.value = __spreadArray([], items, true);
664
670
  }
665
671
  this._valueItemsDuringOnChange = [];
666
672
  this.setItems(items, this._valueItemsDuringOnChange);
@@ -16,6 +16,7 @@ export interface TagData {
16
16
  * @hidden
17
17
  */
18
18
  export interface TagListProps {
19
+ children?: React.ReactNode;
19
20
  data: Array<TagData>;
20
21
  guid: string;
21
22
  focused?: TagData;
@@ -29,7 +29,7 @@ var TagList = /** @class */ (function (_super) {
29
29
  var _a = this.props, data = _a.data, guid = _a.guid, focused = _a.focused, tagRender = _a.tagRender, TagComponent = _a.tag, onTagDelete = _a.onTagDelete, size = _a.size;
30
30
  return (React.createElement(React.Fragment, null,
31
31
  data.map(function (tagData, index) {
32
- var tag = TagComponent ? (React.createElement(TagComponent, { key: tagData.text + index, tagData: tagData, guid: guid, focusedTag: focused, onTagDelete: onTagDelete })) : (React.createElement(Chip, { id: "tag-" + guid + "-" + tagData.text.replace(/\s+/g, '-'), "aria-selected": true, role: "option", "aria-setsize": data.length, key: tagData.text + index, text: tagData.text, removable: true, removeIcon: 'k-i-close', onRemove: function (e) { return onTagDelete.call(undefined, tagData.data, e.syntheticEvent); }, onMouseDown: preventDefault, onClick: stopPropagation, className: tagData === focused ? 'k-focus' : undefined, size: size }));
32
+ var tag = TagComponent ? (React.createElement(TagComponent, { key: tagData.text + index, tagData: tagData, guid: guid, focusedTag: focused, onTagDelete: onTagDelete })) : (React.createElement(Chip, { id: "tag-".concat(guid, "-").concat(tagData.text.replace(/\s+/g, '-')), "aria-selected": true, role: "option", "aria-setsize": data.length, key: tagData.text + index, text: tagData.text, removable: true, removeIcon: 'k-i-close', onRemove: function (e) { return onTagDelete.call(undefined, tagData.data, e.syntheticEvent); }, onMouseDown: preventDefault, onClick: stopPropagation, className: tagData === focused ? 'k-focus' : undefined, size: size }));
33
33
  return tagRender ? tagRender(tagData, tag) : tag;
34
34
  }),
35
35
  this.props.children));
@@ -13,4 +13,4 @@ export declare const MultiSelectTreePropsContext: React.Context<(p: MultiSelectT
13
13
  * Accepts properties of type [MultiSelectTreeProps]({% slug api_dropdowns_multiselecttreeprops %}).
14
14
  * Obtaining the `ref` returns an object of type [MultiSelectTreeHandle]({% slug api_dropdowns_multiselecttreehandle %}).
15
15
  */
16
- export declare const MultiSelectTree: React.ForwardRefExoticComponent<MultiSelectTreeProps & React.RefAttributes<MultiSelectTreeHandle>>;
16
+ export declare const MultiSelectTree: React.ForwardRefExoticComponent<MultiSelectTreeProps & React.RefAttributes<MultiSelectTreeHandle | null>>;
@@ -9,10 +9,14 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __spreadArray = (this && this.__spreadArray) || function (to, from) {
13
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
14
- to[j] = from[i];
15
- return to;
12
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
+ if (ar || !(i in from)) {
15
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
+ ar[i] = from[i];
17
+ }
18
+ }
19
+ return to.concat(ar || Array.prototype.slice.call(from));
16
20
  };
17
21
  import * as React from 'react';
18
22
  import * as PropTypes from 'prop-types';
@@ -35,8 +39,8 @@ var sizeMap = kendoThemeMaps.sizeMap, roundedMap = kendoThemeMaps.roundedMap;
35
39
  var toLevel = function (hierarchicalIndex) {
36
40
  return hierarchicalIndex.split('_').map(function (i) { return parseInt(i, 10); });
37
41
  };
38
- var getValidity = function (_a, hasValue) {
39
- var validationMessage = _a.validationMessage, valid = _a.valid, required = _a.required;
42
+ var getValidity = function (parameters, hasValue) {
43
+ var validationMessage = parameters.validationMessage, valid = parameters.valid, required = parameters.required;
40
44
  return ({
41
45
  customError: validationMessage !== undefined,
42
46
  valid: Boolean(valid !== undefined ? valid : (!required || hasValue)),
@@ -101,7 +105,7 @@ export var MultiSelectTree = React.forwardRef(function (directProps, ref) {
101
105
  var popupStyles = __assign({ width: popupWidth }, (dir !== undefined ? { direction: dir } : {}));
102
106
  var focus = React.useCallback(function () { return elementRef.current && elementRef.current.focus(); }, []);
103
107
  tagsToRenderRef.current = tags === undefined ?
104
- (value || []).map(function (item) { return ({ text: getItemValue(item, props.textField), data: [item] }); }) : __spreadArray([], tags);
108
+ (value || []).map(function (item) { return ({ text: getItemValue(item, props.textField), data: [item] }); }) : __spreadArray([], tags, true);
105
109
  React.useImperativeHandle(targetRef, function () { return ({
106
110
  props: props,
107
111
  element: elementRef.current,
@@ -301,7 +305,7 @@ export var MultiSelectTree = React.forwardRef(function (directProps, ref) {
301
305
  keyCode === Keys.home || keyCode === Keys.end)) {
302
306
  if (keyCode === Keys.up && inputRef.current) {
303
307
  var items = Array.from(treeviewElement.querySelectorAll('.k-treeview-item'));
304
- var focusedItem = __spreadArray([], items).reverse().find(function (i) { return Boolean(i && i.querySelector('.k-focus')); });
308
+ var focusedItem = __spreadArray([], items, true).reverse().find(function (i) { return Boolean(i && i.querySelector('.k-focus')); });
305
309
  if (focusedItem && items.indexOf(focusedItem) === 0) {
306
310
  return switchFocus(function () { focusElement(inputRef.current); });
307
311
  }
@@ -386,9 +390,9 @@ export var MultiSelectTree = React.forwardRef(function (directProps, ref) {
386
390
  var isValid = !validityStyles || validity.valid;
387
391
  var size = props.size, rounded = props.rounded, fillMode = props.fillMode;
388
392
  var multiselecttree = (React.createElement("span", { className: classNames('k-multiselect k-input', props.className, (_a = {},
389
- _a["k-input-" + (sizeMap[size] || size)] = size,
390
- _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
391
- _a["k-input-" + fillMode] = fillMode,
393
+ _a["k-input-".concat(sizeMap[size] || size)] = size,
394
+ _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded,
395
+ _a["k-input-".concat(fillMode)] = fillMode,
392
396
  _a['k-focus'] = focusedState && !disabled,
393
397
  _a['k-invalid'] = !isValid,
394
398
  _a['k-disabled'] = disabled,
@@ -396,7 +400,7 @@ export var MultiSelectTree = React.forwardRef(function (directProps, ref) {
396
400
  _a['k-required'] = required,
397
401
  _a)), tabIndex: tabIndex, accessKey: props.accessKey, id: id, style: label ? __assign(__assign({}, style), { width: undefined }) : style, dir: dir, ref: elementRef, onKeyDown: disabled ? undefined : onWrapperKeyDown, onMouseDown: onWrapperMouseDown, onFocus: onFocus, onBlur: onBlur, role: "listbox", "aria-haspopup": "true", "aria-expanded": isOpen, "aria-disabled": disabled, "aria-label": label, "aria-labelledby": props.ariaLabelledBy, "aria-describedby": props.ariaDescribedBy, onClick: disabled ? undefined : onWrapperClick },
398
402
  tagsToRenderRef.current.length > 0 && (React.createElement("div", { className: classNames('k-input-values k-chip-list k-selection-multiple', (_b = {},
399
- _b["k-chip-list-" + (sizeMap[size] || size)] = size,
403
+ _b["k-chip-list-".concat(sizeMap[size] || size)] = size,
400
404
  _b)), role: "listbox", id: 'tagslist-' + id },
401
405
  React.createElement(TagList, { tag: props.tag, onTagDelete: onTagDelete, data: tagsToRenderRef.current, guid: id, focused: focusedTagState ? tagsToRenderRef.current.find(function (t) { return matchTags(t, focusedTagState, dataItemKey); }) : undefined, size: size }))),
402
406
  !hasValue && React.createElement("span", { className: "k-input-inner" },
@@ -1,6 +1,6 @@
1
1
  import { MultiSelectTreeChangeEventOperation } from './MultiSelectTreeProps';
2
2
  /** @hidden */
3
- export declare const getValueMap: (value: any, idGetter: any) => {};
3
+ export declare const getValueMap: (value: any[], idGetter: any) => any;
4
4
  /**
5
5
  * Get MultiSelectTree new value from the component `onChange` event.
6
6
  *
@@ -8,8 +8,8 @@ export declare const getValueMap: (value: any, idGetter: any) => {};
8
8
  * @param {object} options
9
9
  * @returns {any[]}
10
10
  */
11
- export declare const getMultiSelectTreeValue: (data: any, options: {
12
- subItemsField?: string;
11
+ export declare const getMultiSelectTreeValue: (data: any[], options: {
12
+ subItemsField?: string | undefined;
13
13
  dataItemKey: string;
14
14
  items: any;
15
15
  value: Array<any>;