@progress/kendo-vue-dropdowns 3.5.0-dev.202208020811 → 3.5.1-dev.202208110751

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 (89) hide show
  1. package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
  2. package/dist/es/AutoComplete/AutoComplete.js +3 -3
  3. package/dist/es/AutoComplete/AutoCompleteProps.js +1 -0
  4. package/dist/es/ComboBox/ComboBox.js +4 -4
  5. package/dist/es/ComboBox/ComboBoxProps.d.ts +1 -1
  6. package/dist/es/ComboBox/ComboBoxProps.js +1 -0
  7. package/dist/es/DropDownList/DropDownList.js +5 -13
  8. package/dist/es/DropDownList/DropDownListProps.js +1 -0
  9. package/dist/es/MultiSelect/MultiSelect.js +16 -20
  10. package/dist/es/MultiSelect/MultiSelectProps.d.ts +1 -1
  11. package/dist/es/MultiSelect/MultiSelectProps.js +1 -0
  12. package/dist/es/MultiSelect/TagList.js +3 -3
  13. package/dist/es/common/List.js +2 -2
  14. package/dist/es/common/ListFilter.js +1 -1
  15. package/dist/es/common/events.js +1 -0
  16. package/dist/es/common/filterDescriptor.js +1 -0
  17. package/dist/es/package-metadata.js +1 -1
  18. package/dist/esm/AutoComplete/AutoComplete.d.ts +107 -0
  19. package/dist/esm/AutoComplete/AutoComplete.js +761 -0
  20. package/dist/esm/AutoComplete/AutoCompleteProps.d.ts +202 -0
  21. package/dist/esm/AutoComplete/AutoCompleteProps.js +2 -0
  22. package/dist/esm/ComboBox/ComboBox.d.ts +99 -0
  23. package/dist/esm/ComboBox/ComboBox.js +1063 -0
  24. package/dist/esm/ComboBox/ComboBoxProps.d.ts +244 -0
  25. package/dist/esm/ComboBox/ComboBoxProps.js +2 -0
  26. package/dist/esm/DropDownList/DropDownList.d.ts +100 -0
  27. package/dist/esm/DropDownList/DropDownList.js +1088 -0
  28. package/dist/esm/DropDownList/DropDownListProps.d.ts +274 -0
  29. package/dist/esm/DropDownList/DropDownListProps.js +2 -0
  30. package/dist/esm/MultiSelect/MultiSelect.d.ts +115 -0
  31. package/dist/esm/MultiSelect/MultiSelect.js +1249 -0
  32. package/dist/esm/MultiSelect/MultiSelectProps.d.ts +262 -0
  33. package/dist/esm/MultiSelect/MultiSelectProps.js +2 -0
  34. package/dist/esm/MultiSelect/TagList.d.ts +51 -0
  35. package/dist/esm/MultiSelect/TagList.js +180 -0
  36. package/dist/esm/additionalTypes.ts +21 -0
  37. package/dist/esm/common/ClearButton.d.ts +21 -0
  38. package/dist/esm/common/ClearButton.js +68 -0
  39. package/dist/esm/common/DropDownBase.d.ts +84 -0
  40. package/dist/esm/common/DropDownBase.js +303 -0
  41. package/dist/esm/common/List.d.ts +58 -0
  42. package/dist/esm/common/List.js +176 -0
  43. package/dist/esm/common/ListContainer.d.ts +40 -0
  44. package/dist/esm/common/ListContainer.js +131 -0
  45. package/dist/esm/common/ListDefaultItem.d.ts +29 -0
  46. package/dist/esm/common/ListDefaultItem.js +62 -0
  47. package/dist/esm/common/ListFilter.d.ts +46 -0
  48. package/dist/esm/common/ListFilter.js +112 -0
  49. package/dist/esm/common/ListItem.d.ts +71 -0
  50. package/dist/esm/common/ListItem.js +105 -0
  51. package/dist/esm/common/Navigation.d.ts +12 -0
  52. package/dist/esm/common/Navigation.js +34 -0
  53. package/dist/esm/common/SearchBar.d.ts +65 -0
  54. package/dist/esm/common/SearchBar.js +177 -0
  55. package/dist/esm/common/VirtualScroll.d.ts +42 -0
  56. package/dist/esm/common/VirtualScroll.js +196 -0
  57. package/dist/esm/common/events.d.ts +63 -0
  58. package/dist/esm/common/events.js +1 -0
  59. package/dist/esm/common/filterDescriptor.d.ts +41 -0
  60. package/dist/esm/common/filterDescriptor.js +2 -0
  61. package/dist/esm/common/settings.d.ts +102 -0
  62. package/dist/esm/common/settings.js +8 -0
  63. package/dist/esm/common/utils.d.ts +57 -0
  64. package/dist/esm/common/utils.js +184 -0
  65. package/dist/esm/main.d.ts +13 -0
  66. package/dist/esm/main.js +5 -0
  67. package/dist/esm/messages/index.d.ts +20 -0
  68. package/dist/esm/messages/index.js +21 -0
  69. package/dist/esm/package-metadata.d.ts +5 -0
  70. package/dist/esm/package-metadata.js +11 -0
  71. package/dist/esm/package.json +3 -0
  72. package/dist/npm/AutoComplete/AutoComplete.js +18 -18
  73. package/dist/npm/ComboBox/ComboBox.js +36 -36
  74. package/dist/npm/ComboBox/ComboBoxProps.d.ts +1 -1
  75. package/dist/npm/DropDownList/DropDownList.js +36 -44
  76. package/dist/npm/MultiSelect/MultiSelect.js +34 -38
  77. package/dist/npm/MultiSelect/MultiSelectProps.d.ts +1 -1
  78. package/dist/npm/MultiSelect/TagList.js +3 -3
  79. package/dist/npm/common/ClearButton.js +1 -1
  80. package/dist/npm/common/DropDownBase.js +6 -6
  81. package/dist/npm/common/List.js +8 -8
  82. package/dist/npm/common/ListContainer.js +1 -1
  83. package/dist/npm/common/ListDefaultItem.js +2 -2
  84. package/dist/npm/common/ListFilter.js +3 -3
  85. package/dist/npm/common/ListItem.js +2 -2
  86. package/dist/npm/common/Navigation.js +1 -1
  87. package/dist/npm/common/SearchBar.js +2 -2
  88. package/dist/npm/package-metadata.js +1 -1
  89. package/package.json +11 -5
@@ -222,8 +222,8 @@ var DropDownListVue2 = {
222
222
  this.currentFocused = undefined;
223
223
  this.currentOpened = undefined;
224
224
  this.base = new DropDownBase_1.default(this);
225
- this.anchor = kendo_vue_common_1.guid();
226
- this.inputId = kendo_vue_common_1.guid();
225
+ this.anchor = (0, kendo_vue_common_1.guid)();
226
+ this.inputId = (0, kendo_vue_common_1.guid)();
227
227
  },
228
228
  // @ts-ignore
229
229
  setup: !isV3 ? undefined : function () {
@@ -240,8 +240,8 @@ var DropDownListVue2 = {
240
240
  },
241
241
  mounted: function mounted() {
242
242
  this.hasMounted = true;
243
- this.select = kendo_vue_common_1.getRef(this, 'select');
244
- this.base.wrapper = kendo_vue_common_1.getRef(this, 'kendoAnchor', this.anchor);
243
+ this.select = (0, kendo_vue_common_1.getRef)(this, 'select');
244
+ this.base.wrapper = (0, kendo_vue_common_1.getRef)(this, 'kendoAnchor', this.anchor);
245
245
  this.base.didMount();
246
246
  this.setValidity();
247
247
  },
@@ -297,9 +297,9 @@ var DropDownListVue2 = {
297
297
  var selectedItem_1 = this.computedValue();
298
298
  var prevSelectedItem = this.prevCurrentValue;
299
299
  var selectedItemIndex = dataItems.findIndex(function (i) {
300
- return utils_1.areSame(i, selectedItem_1, dataItemKey);
300
+ return (0, utils_1.areSame)(i, selectedItem_1, dataItemKey);
301
301
  });
302
- var selectedItemChanged = !utils_1.areSame(prevSelectedItem, selectedItem_1, dataItemKey);
302
+ var selectedItemChanged = !(0, utils_1.areSame)(prevSelectedItem, selectedItem_1, dataItemKey);
303
303
 
304
304
  if (opening && virtual) {
305
305
  this.base.scrollToVirtualItem(virtual, selectedItemIndex);
@@ -332,7 +332,7 @@ var DropDownListVue2 = {
332
332
  var value = this.computedValue(); // TO DO: deprecate it!
333
333
 
334
334
  return dataItems.findIndex(function (i) {
335
- return utils_1.areSame(i, value, dataItemKey);
335
+ return (0, utils_1.areSame)(i, value, dataItemKey);
336
336
  });
337
337
  }
338
338
  },
@@ -370,7 +370,7 @@ var DropDownListVue2 = {
370
370
  value = this.$props.defaultValue;
371
371
  }
372
372
 
373
- if (!utils_1.isPresent(value) && this.$props.defaultItem !== undefined) {
373
+ if (!(0, utils_1.isPresent)(value) && this.$props.defaultItem !== undefined) {
374
374
  value = this.$props.defaultItem;
375
375
  }
376
376
 
@@ -378,13 +378,13 @@ var DropDownListVue2 = {
378
378
  },
379
379
  findByFieldValue: function findByFieldValue(field, value) {
380
380
  var index = this.dataItems.findIndex(function (i) {
381
- return utils_1.getItemValue(i, field) === value;
381
+ return (0, utils_1.getItemValue)(i, field) === value;
382
382
  });
383
383
  return this.dataItems[index];
384
384
  },
385
385
  primitiveValue: function primitiveValue() {
386
386
  var value = this.computedValue();
387
- return this.valuePrimitive ? utils_1.getItemValue(value, this.valueField) : value;
387
+ return this.valuePrimitive ? (0, utils_1.getItemValue)(value, this.valueField) : value;
388
388
  },
389
389
  validity: function validity() {
390
390
  var customError = this.$props.validationMessage !== undefined;
@@ -405,7 +405,7 @@ var DropDownListVue2 = {
405
405
  defaultItem = _a.defaultItem;
406
406
  var skip = virtual ? virtual.skip : 0;
407
407
  var item = index === -1 && defaultItem !== undefined ? defaultItem : dataItems[index - skip];
408
- var newSelected = !utils_1.areSame(item, this.computedValue(), dataItemKey);
408
+ var newSelected = !(0, utils_1.areSame)(item, this.computedValue(), dataItemKey);
409
409
  this.triggerOnChange(item, state);
410
410
 
411
411
  if (newSelected) {
@@ -427,7 +427,7 @@ var DropDownListVue2 = {
427
427
  var vs = this.base.vs;
428
428
  var value = this.computedValue();
429
429
  var index = dataItems.findIndex(function (i) {
430
- return utils_1.areSame(i, value, dataItemKey);
430
+ return (0, utils_1.areSame)(i, value, dataItemKey);
431
431
  });
432
432
  var newIndex = this.base.navigation.navigate({
433
433
  current: virtual.skip + index,
@@ -469,10 +469,10 @@ var DropDownListVue2 = {
469
469
  });
470
470
  var word = this.searchState.word;
471
471
  var last = this.searchState.last;
472
- var isInLoop = utils_1.sameCharsOnly(word, last);
472
+ var isInLoop = (0, utils_1.sameCharsOnly)(word, last);
473
473
  var dataLength = mappedData.length;
474
474
  var startIndex = Math.max(0, dataItems.findIndex(function (i) {
475
- return utils_1.areSame(i, _this.computedValue(), dataItemKey);
475
+ return (0, utils_1.areSame)(i, _this.computedValue(), dataItemKey);
476
476
  }));
477
477
  var defaultItem;
478
478
 
@@ -486,7 +486,7 @@ var DropDownListVue2 = {
486
486
  }
487
487
 
488
488
  startIndex += isInLoop ? 1 : 0;
489
- mappedData = utils_1.shuffleData(mappedData, startIndex, defaultItem);
489
+ mappedData = (0, utils_1.shuffleData)(mappedData, startIndex, defaultItem);
490
490
  var text,
491
491
  loopMatch,
492
492
  nextMatch,
@@ -496,9 +496,9 @@ var DropDownListVue2 = {
496
496
  ignoreCase = _c.ignoreCase;
497
497
 
498
498
  for (; index < dataLength; index++) {
499
- text = utils_1.getItemValue(mappedData[index].item, textField);
500
- loopMatch = isInLoop && utils_1.matchText(text, last, ignoreCase);
501
- nextMatch = utils_1.matchText(text, word, ignoreCase);
499
+ text = (0, utils_1.getItemValue)(mappedData[index].item, textField);
500
+ loopMatch = isInLoop && (0, utils_1.matchText)(text, last, ignoreCase);
501
+ nextMatch = (0, utils_1.matchText)(text, word, ignoreCase);
502
502
 
503
503
  if (loopMatch || nextMatch) {
504
504
  index = mappedData[index].itemIndex;
@@ -674,7 +674,7 @@ var DropDownListVue2 = {
674
674
  }
675
675
  },
676
676
  focusedIndex: function focusedIndex() {
677
- var filterText = utils_1.isPresent(this.$props.filter) ? this.$props.filter : this.currentText;
677
+ var filterText = (0, utils_1.isPresent)(this.$props.filter) ? this.$props.filter : this.currentText;
678
678
  var _a = this.$props,
679
679
  _b = _a.dataItems,
680
680
  dataItems = _b === void 0 ? [] : _b,
@@ -687,12 +687,12 @@ var DropDownListVue2 = {
687
687
  focusedItemIndex = _a.focusedItemIndex;
688
688
  var value = this.computedValue();
689
689
  var selectedIndex = dataItems.findIndex(function (i) {
690
- return utils_1.areSame(i, value, dataItemKey);
690
+ return (0, utils_1.areSame)(i, value, dataItemKey);
691
691
  });
692
692
  var hasSelected = !(selectedIndex < 0 && !this.$props.defaultItem);
693
693
 
694
694
  if (!hasSelected && filterText && virtual.skip === 0) {
695
- return focusedItemIndex ? focusedItemIndex(dataItems, filterText, textField) : dataItems.indexOf(utils_1.getFocusedItem(dataItems, filterText, textField));
695
+ return focusedItemIndex ? focusedItemIndex(dataItems, filterText, textField) : dataItems.indexOf((0, utils_1.getFocusedItem)(dataItems, filterText, textField));
696
696
  } else {
697
697
  return !hasSelected && virtual.skip === 0 ? 0 : undefined;
698
698
  }
@@ -712,7 +712,7 @@ var DropDownListVue2 = {
712
712
  }
713
713
  },
714
714
  triggerOnChange: function triggerOnChange(item, state) {
715
- if (utils_1.areSame(this.computedValue(), item, this.$props.dataItemKey)) {
715
+ if ((0, utils_1.areSame)(this.computedValue(), item, this.$props.dataItemKey)) {
716
716
  return;
717
717
  }
718
718
 
@@ -747,7 +747,7 @@ var DropDownListVue2 = {
747
747
  rounded = _b.rounded,
748
748
  fillMode = _b.fillMode;
749
749
  var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
750
- var text = utils_1.getItemValue(this.computedValue(), this.$props.textField);
750
+ var text = (0, utils_1.getItemValue)(this.computedValue(), this.$props.textField);
751
751
  var isValid = !this.$props.validityStyles || this.validity().valid;
752
752
  var base = this.base;
753
753
  var vs = base.vs;
@@ -769,7 +769,7 @@ var DropDownListVue2 = {
769
769
  var focused = this.currentFocused;
770
770
  var value = this.primitiveValue();
771
771
  var selectedIndex = dataItems.findIndex(function (i) {
772
- return utils_1.areSame(i, value, dataItemKey);
772
+ return (0, utils_1.areSame)(i, value, dataItemKey);
773
773
  });
774
774
  var valueDefaultRendering = h("span", {
775
775
  "class": "k-input-inner"
@@ -797,7 +797,7 @@ var DropDownListVue2 = {
797
797
  title: this.$props.label
798
798
  },
799
799
  id: id,
800
- ref: kendo_vue_common_1.setRef(this, 'select'),
800
+ ref: (0, kendo_vue_common_1.setRef)(this, 'select'),
801
801
  tabindex: -1,
802
802
  "aria-hidden": true,
803
803
  title: this.$props.label,
@@ -827,10 +827,10 @@ var DropDownListVue2 = {
827
827
  attrs: this.v3 ? undefined : {
828
828
  defaultItem: defaultItem,
829
829
  textField: textField,
830
- selected: utils_1.areSame(this.computedValue(), defaultItem, dataItemKey)
830
+ selected: (0, utils_1.areSame)(this.computedValue(), defaultItem, dataItemKey)
831
831
  },
832
832
  textField: textField,
833
- selected: utils_1.areSame(this.computedValue(), defaultItem, dataItemKey),
833
+ selected: (0, utils_1.areSame)(this.computedValue(), defaultItem, dataItemKey),
834
834
  key: "defaultitemkey",
835
835
  onDefaultitemclick: this.handleDefaultItemClick,
836
836
  on: this.v3 ? undefined : {
@@ -846,7 +846,7 @@ var DropDownListVue2 = {
846
846
  var itemRender = kendo_vue_common_1.templateRendering.call(this, this.$props.itemRender, kendo_vue_common_1.getListeners.call(this));
847
847
  var listNoDataRender = kendo_vue_common_1.templateRendering.call(this, this.$props.listNoDataRender, kendo_vue_common_1.getListeners.call(this));
848
848
  var skip = virtual.skip;
849
- var translate = "translateY(" + vs.translate + "px)";
849
+ var translate = "translateY(".concat(vs.translate, "px)");
850
850
  return (// @ts-ignore function children
851
851
  h(List_1.List, {
852
852
  id: this.base.listBoxId,
@@ -963,7 +963,7 @@ var DropDownListVue2 = {
963
963
  width: popupWidth // @ts-ignore
964
964
  ,
965
965
  popupSettings: {
966
- popupClass: kendo_vue_common_1.classNames(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-" + (sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
966
+ popupClass: (0, kendo_vue_common_1.classNames)(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
967
967
  className: popupSettings.className,
968
968
  animate: popupSettings.animate,
969
969
  anchor: this.anchor,
@@ -972,7 +972,7 @@ var DropDownListVue2 = {
972
972
  },
973
973
  width: popupWidth,
974
974
  popupSettings: {
975
- popupClass: kendo_vue_common_1.classNames(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-" + (sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
975
+ popupClass: (0, kendo_vue_common_1.classNames)(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
976
976
  className: popupSettings.className,
977
977
  animate: popupSettings.animate,
978
978
  anchor: this.anchor,
@@ -1004,15 +1004,15 @@ var DropDownListVue2 = {
1004
1004
  }
1005
1005
 
1006
1006
  var dropdownlist = h("span", {
1007
- ref: kendo_vue_common_1.setRef(this, 'kendoAnchor', this.anchor),
1008
- "class": kendo_vue_common_1.classNames('k-dropdownlist k-picker', className, (_a = {}, _a["k-picker-" + (sizeMap[size] || size)] = size, _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded, _a["k-picker-" + fillMode] = fillMode, _a['k-focus'] = focused, _a['k-disabled'] = disabled, _a['k-invalid'] = !isValid, _a['k-loading'] = loading, _a['k-required'] = this.required, _a)),
1007
+ ref: (0, kendo_vue_common_1.setRef)(this, 'kendoAnchor', this.anchor),
1008
+ "class": (0, kendo_vue_common_1.classNames)('k-dropdownlist k-picker', className, (_a = {}, _a["k-picker-".concat(sizeMap[size] || size)] = size, _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded, _a["k-picker-".concat(fillMode)] = fillMode, _a['k-focus'] = focused, _a['k-disabled'] = disabled, _a['k-invalid'] = !isValid, _a['k-loading'] = loading, _a['k-required'] = this.required, _a)),
1009
1009
  style: !label ? style : __assign(__assign({}, style), {
1010
1010
  width: undefined
1011
1011
  }),
1012
1012
  dir: dir,
1013
1013
  attrs: this.v3 ? undefined : {
1014
1014
  dir: dir,
1015
- tabindex: kendo_vue_common_1.getTabIndex(tabIndex, disabled),
1015
+ tabindex: (0, kendo_vue_common_1.getTabIndex)(tabIndex, disabled),
1016
1016
  accesskey: this.$props.accessKey,
1017
1017
  role: 'listbox',
1018
1018
  "aria-disabled": disabled || undefined,
@@ -1037,7 +1037,7 @@ var DropDownListVue2 = {
1037
1037
  },
1038
1038
  onFocusin: this.handleFocus,
1039
1039
  onFocusout: this.handleBlur,
1040
- tabindex: kendo_vue_common_1.getTabIndex(tabIndex, disabled),
1040
+ tabindex: (0, kendo_vue_common_1.getTabIndex)(tabIndex, disabled),
1041
1041
  accesskey: this.$props.accessKey,
1042
1042
  onKeydown: this.handleKeyDown,
1043
1043
  onKeypress: this.handleKeyPress,
@@ -1065,22 +1065,14 @@ var DropDownListVue2 = {
1065
1065
  size: size,
1066
1066
  fillMode: fillMode,
1067
1067
  rounded: null,
1068
- iconClass: kendo_vue_common_1.classNames('k-icon k-i-arrow-s', iconClassName)
1068
+ iconClass: (0, kendo_vue_common_1.classNames)('k-icon k-i-arrow-s', iconClassName)
1069
1069
  },
1070
1070
  tabIndex: -1,
1071
1071
  size: size,
1072
1072
  fillMode: fillMode,
1073
1073
  rounded: null,
1074
1074
  "class": 'k-input-button',
1075
- iconClass: kendo_vue_common_1.classNames('k-icon k-i-arrow-s', iconClassName),
1076
- onMousedown: function onMousedown(e) {
1077
- return e.preventDefault();
1078
- },
1079
- on: this.v3 ? undefined : {
1080
- "mousedown": function onMousedown(e) {
1081
- return e.preventDefault();
1082
- }
1083
- }
1075
+ iconClass: (0, kendo_vue_common_1.classNames)('k-icon k-i-arrow-s', iconClassName)
1084
1076
  }), dummySelect.call(this, value), renderListContainer.call(this)]);
1085
1077
  return label ? h("span", {
1086
1078
  "class": this.spanClassNames,
@@ -16,18 +16,14 @@ var __assign = undefined && undefined.__assign || function () {
16
16
  return __assign.apply(this, arguments);
17
17
  };
18
18
 
19
- var __spreadArrays = undefined && undefined.__spreadArrays || function () {
20
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
21
- s += arguments[i].length;
22
- }
23
-
24
- for (var r = Array(s), k = 0, i = 0; i < il; i++) {
25
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
26
- r[k] = a[j];
19
+ var __spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
20
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
21
+ if (ar || !(i in from)) {
22
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
23
+ ar[i] = from[i];
27
24
  }
28
25
  }
29
-
30
- return r;
26
+ return to.concat(ar || Array.prototype.slice.call(from));
31
27
  };
32
28
 
33
29
  Object.defineProperty(exports, "__esModule", {
@@ -74,7 +70,7 @@ var matchTags = function matchTags(tag1, tag2, key) {
74
70
  return false;
75
71
  }
76
72
 
77
- return tag1 === tag2 || utils_1.matchDataCollections(tag1.data, tag2.data, key);
73
+ return tag1 === tag2 || (0, utils_1.matchDataCollections)(tag1.data, tag2.data, key);
78
74
  };
79
75
 
80
76
  var isCustom = function isCustom(type) {
@@ -230,7 +226,7 @@ var MultiSelectVue2 = {
230
226
  spanClassNames: {
231
227
  get: function get() {
232
228
  var isValid = !this.hasMounted || !this.$props.validityStyles || this.validity().valid;
233
- var editorValue = this.currentText || utils_1.getItemValue(this.computedValue()[0], this.$props.textField);
229
+ var editorValue = this.currentText || (0, utils_1.getItemValue)(this.computedValue()[0], this.$props.textField);
234
230
  return {
235
231
  'k-floating-label-container': true,
236
232
  'k-focus': this.currentFocused,
@@ -247,8 +243,8 @@ var MultiSelectVue2 = {
247
243
  this._skipFocusEvent = false;
248
244
  this.scrollToFocused = false;
249
245
  this.base = new DropDownBase_1.default(this);
250
- this.anchor = kendo_vue_common_1.guid();
251
- this.inputId = kendo_vue_common_1.guid();
246
+ this.anchor = (0, kendo_vue_common_1.guid)();
247
+ this.inputId = (0, kendo_vue_common_1.guid)();
252
248
  },
253
249
  data: function data() {
254
250
  return {
@@ -342,8 +338,8 @@ var MultiSelectVue2 = {
342
338
  this.hasMounted = true; // @ts-ignore
343
339
 
344
340
  this.input = this.v3 ? this.inputRef.input : this.$refs.input.input;
345
- this.base.wrapper = kendo_vue_common_1.getRef(this, 'kendoAnchor', this.anchor);
346
- this.element = kendo_vue_common_1.getRef(this, 'kendoAnchor', this.anchor);
341
+ this.base.wrapper = (0, kendo_vue_common_1.getRef)(this, 'kendoAnchor', this.anchor);
342
+ this.element = (0, kendo_vue_common_1.getRef)(this, 'kendoAnchor', this.anchor);
347
343
  this.base.didMount();
348
344
  this.searchBarRef();
349
345
  this.setValidity();
@@ -371,7 +367,7 @@ var MultiSelectVue2 = {
371
367
 
372
368
  var newResult = result.map(function (currentValue) {
373
369
  var index = _this.dataItems.findIndex(function (i) {
374
- return utils_1.getItemValue(i, field) === currentValue;
370
+ return (0, utils_1.getItemValue)(i, field) === currentValue;
375
371
  });
376
372
 
377
373
  return _this.dataItems[index] || currentValue;
@@ -383,7 +379,7 @@ var MultiSelectVue2 = {
383
379
 
384
380
  var computed = this.computedValue();
385
381
  var value = computed.map(function (v) {
386
- return utils_1.getItemValue(v, _this.valueField);
382
+ return (0, utils_1.getItemValue)(v, _this.valueField);
387
383
  });
388
384
  return this.valuePrimitive ? value : computed;
389
385
  },
@@ -408,7 +404,7 @@ var MultiSelectVue2 = {
408
404
  var skip = virtual ? virtual.skip : 0;
409
405
  var dataItem = dataItems[index - skip];
410
406
  var indexInValue = value.findIndex(function (i) {
411
- return utils_1.areSame(i, dataItem, dataItemKey);
407
+ return (0, utils_1.areSame)(i, dataItem, dataItemKey);
412
408
  });
413
409
  var newItems = [];
414
410
 
@@ -417,7 +413,7 @@ var MultiSelectVue2 = {
417
413
  newItems = value;
418
414
  newItems.splice(indexInValue, 1);
419
415
  } else {
420
- newItems = __spreadArrays(value, [dataItem]);
416
+ newItems = __spreadArray(__spreadArray([], value, true), [dataItem], false);
421
417
  }
422
418
 
423
419
  var text = this.$props.filter !== undefined ? this.$props.filter : this.currentText;
@@ -451,7 +447,7 @@ var MultiSelectVue2 = {
451
447
  }
452
448
 
453
449
  var selected = this.computedValue();
454
- utils_1.removeDataItems(selected, itemsToRemove, this.$props.dataItemKey);
450
+ (0, utils_1.removeDataItems)(selected, itemsToRemove, this.$props.dataItemKey);
455
451
  this.triggerOnChange(selected, state);
456
452
  this.applyState(state);
457
453
  },
@@ -565,7 +561,7 @@ var MultiSelectVue2 = {
565
561
 
566
562
  var text = this.$props.filter !== undefined ? this.$props.filter : this.currentText;
567
563
 
568
- if (utils_1.isPresent(text) && text !== '') {
564
+ if ((0, utils_1.isPresent)(text) && text !== '') {
569
565
  this.base.filterChanged('', state);
570
566
  }
571
567
 
@@ -651,18 +647,18 @@ var MultiSelectVue2 = {
651
647
  } else if (keyCode === kendo_vue_common_1.Keys.delete) {
652
648
  if (hasFocused) {
653
649
  var items = this.computedValue();
654
- utils_1.removeDataItems(items, tags[focusedIndex].data, itemsKey);
650
+ (0, utils_1.removeDataItems)(items, tags[focusedIndex].data, itemsKey);
655
651
  this.triggerOnChange(items, state);
656
652
  }
657
653
  } else if (keyCode === kendo_vue_common_1.Keys.backspace) {
658
654
  var items = this.computedValue();
659
655
 
660
656
  if (hasFocused) {
661
- utils_1.removeDataItems(items, tags[focusedIndex].data, itemsKey);
657
+ (0, utils_1.removeDataItems)(items, tags[focusedIndex].data, itemsKey);
662
658
  this.triggerOnChange(items, state);
663
659
  } else if (!hasFocused && tags.length) {
664
660
  var removed = tags.pop();
665
- utils_1.removeDataItems(items, removed.data, itemsKey);
661
+ (0, utils_1.removeDataItems)(items, removed.data, itemsKey);
666
662
  this.triggerOnChange(items, state);
667
663
  }
668
664
  }
@@ -676,7 +672,7 @@ var MultiSelectVue2 = {
676
672
  },
677
673
  triggerOnChange: function triggerOnChange(items, state) {
678
674
  if (this.$props.value === undefined) {
679
- state.data.currentValue = __spreadArrays(items);
675
+ state.data.currentValue = __spreadArray([], items, true);
680
676
  }
681
677
 
682
678
  this.valuesItemsDuringOnChange = [];
@@ -742,7 +738,7 @@ var MultiSelectVue2 = {
742
738
  } else if (selected.length) {
743
739
  var last_1 = selected[selected.length - 1];
744
740
  focusedInd = dataItems.findIndex(function (i) {
745
- return utils_1.areSame(i, last_1, dataItemKey);
741
+ return (0, utils_1.areSame)(i, last_1, dataItemKey);
746
742
  });
747
743
 
748
744
  if (dataItems[focusedInd] !== undefined) {
@@ -789,7 +785,7 @@ var MultiSelectVue2 = {
789
785
  state.data.currentFocusedIndex = undefined;
790
786
  this.base.filterChanged('', state);
791
787
 
792
- var newItems = __spreadArrays(this.computedValue(), [item]);
788
+ var newItems = __spreadArray(__spreadArray([], this.computedValue(), true), [item], false);
793
789
 
794
790
  this.triggerOnChange(newItems, state);
795
791
  this.base.togglePopup(state);
@@ -949,7 +945,7 @@ var MultiSelectVue2 = {
949
945
  if (tags === undefined) {
950
946
  this.computedValue().forEach(function (item) {
951
947
  tagsToRender.push({
952
- text: utils_1.getItemValue(item, textField),
948
+ text: (0, utils_1.getItemValue)(item, textField),
953
949
  data: [item]
954
950
  });
955
951
  });
@@ -993,7 +989,7 @@ var MultiSelectVue2 = {
993
989
  var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
994
990
  var focusedIndex = this.getFocusedState().focusedIndex;
995
991
  var placeholderToShow = value.length === 0 && !searchText ? placeholder : undefined;
996
- var ariaActivedescendant = activedescendant === settings_1.ActiveDescendant.TagsList && focusedTag !== undefined ? "tag-" + this.base.guid + "-" + focusedTag.text.replace(/\s+/g, '-') : "option-" + this.base.guid + "-" + focusedIndex;
992
+ var ariaActivedescendant = activedescendant === settings_1.ActiveDescendant.TagsList && focusedTag !== undefined ? "tag-".concat(this.base.guid, "-").concat(focusedTag.text.replace(/\s+/g, '-')) : "option-".concat(this.base.guid, "-").concat(focusedIndex);
997
993
  return (// @ts-ignore function children
998
994
  h(SearchBar_1.SearchBar, {
999
995
  id: searchId,
@@ -1008,7 +1004,7 @@ var MultiSelectVue2 = {
1008
1004
  expanded: opened,
1009
1005
  owns: this.base.listBoxId,
1010
1006
  activedescendant: ariaActivedescendant,
1011
- "aria-describedBy": "tagslist-" + this.base.guid + " " + (this.$props.ariaDescribedBy || ''),
1007
+ "aria-describedBy": "tagslist-".concat(this.base.guid, " ").concat(this.$props.ariaDescribedBy || ''),
1012
1008
  "aria-labelledBy": this.$props.ariaLabelledBy
1013
1009
  },
1014
1010
  size: Math.max((placeholderToShow || '').length, searchText.length, 1),
@@ -1031,7 +1027,7 @@ var MultiSelectVue2 = {
1031
1027
  expanded: opened,
1032
1028
  owns: this.base.listBoxId,
1033
1029
  activedescendant: ariaActivedescendant,
1034
- "aria-describedBy": "tagslist-" + this.base.guid + " " + (this.$props.ariaDescribedBy || ''),
1030
+ "aria-describedBy": "tagslist-".concat(this.base.guid, " ").concat(this.$props.ariaDescribedBy || ''),
1035
1031
  "aria-labelledBy": this.$props.ariaLabelledBy
1036
1032
  })
1037
1033
  );
@@ -1047,7 +1043,7 @@ var MultiSelectVue2 = {
1047
1043
  var skip = virtual ? virtual.skip : 0;
1048
1044
  var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
1049
1045
  var focusedIndex = this.getFocusedState().focusedIndex;
1050
- var translate = "translateY(" + vs.translate + "px)";
1046
+ var translate = "translateY(".concat(vs.translate, "px)");
1051
1047
  return (// @ts-ignore function children
1052
1048
  h(List_1.List, {
1053
1049
  id: this.base.listBoxId,
@@ -1141,7 +1137,7 @@ var MultiSelectVue2 = {
1141
1137
  "click": this.customItemSelect
1142
1138
  }
1143
1139
  }, [h("div", {
1144
- "class": kendo_vue_common_1.classNames('k-item k-custom-item', {
1140
+ "class": (0, kendo_vue_common_1.classNames)('k-item k-custom-item', {
1145
1141
  'k-focus': isCustom(focusedType)
1146
1142
  })
1147
1143
  }, [currentText, h("span", {
@@ -1168,7 +1164,7 @@ var MultiSelectVue2 = {
1168
1164
  show: opened,
1169
1165
  onOpen: this.onPopupOpened,
1170
1166
  onClose: this.onPopupClosed,
1171
- popupClass: kendo_vue_common_1.classNames(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-" + (sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
1167
+ popupClass: (0, kendo_vue_common_1.classNames)(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
1172
1168
  className: popupSettings.className,
1173
1169
  appendTo: popupSettings.appendTo
1174
1170
  },
@@ -1182,7 +1178,7 @@ var MultiSelectVue2 = {
1182
1178
  show: opened,
1183
1179
  onOpen: this.onPopupOpened,
1184
1180
  onClose: this.onPopupClosed,
1185
- popupClass: kendo_vue_common_1.classNames(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-" + (sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
1181
+ popupClass: (0, kendo_vue_common_1.classNames)(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
1186
1182
  className: popupSettings.className,
1187
1183
  appendTo: popupSettings.appendTo
1188
1184
  },
@@ -1202,8 +1198,8 @@ var MultiSelectVue2 = {
1202
1198
  };
1203
1199
 
1204
1200
  var component = h("span", {
1205
- ref: kendo_vue_common_1.setRef(this, 'kendoAnchor', this.anchor),
1206
- "class": kendo_vue_common_1.classNames('k-multiselect', 'k-input', (_a = {}, _a["k-input-" + (sizeMap[size] || size)] = size, _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded, _a["k-input-" + fillMode] = fillMode, _a['k-focus'] = focused && !disabled, _a['k-disabled'] = disabled, _a['k-invalid'] = !isValid, _a['k-loading'] = loading, _a['k-required'] = this.required, _a)),
1201
+ ref: (0, kendo_vue_common_1.setRef)(this, 'kendoAnchor', this.anchor),
1202
+ "class": (0, kendo_vue_common_1.classNames)('k-multiselect', 'k-input', (_a = {}, _a["k-input-".concat(sizeMap[size] || size)] = size, _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded, _a["k-input-".concat(fillMode)] = fillMode, _a['k-focus'] = focused && !disabled, _a['k-disabled'] = disabled, _a['k-invalid'] = !isValid, _a['k-loading'] = loading, _a['k-required'] = this.required, _a)),
1207
1203
  style: !label ? style : __assign(__assign({}, style), {
1208
1204
  width: undefined
1209
1205
  }),
@@ -128,7 +128,7 @@ export interface MultiSelectProps extends FormComponentProps {
128
128
  */
129
129
  focusedItemIndex?: (data: any, inputText: string, textField?: string) => number;
130
130
  /**
131
- * Sets the value of filtering input. Useful for making the filtering input a [controlled component](https://reactjs.org/docs/forms.html#controlled-components).
131
+ * Sets the value of filtering input. Useful for making the filtering input a controlled component.
132
132
  */
133
133
  filter?: string;
134
134
  /**
@@ -80,7 +80,7 @@ var TagListVue2 = {
80
80
  disabled = _b.disabled;
81
81
  return _a = {
82
82
  'k-chip-list': true
83
- }, _a["k-chip-list-" + (kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-selection-single'] = true, _a['k-disabled'] = disabled, _a;
83
+ }, _a["k-chip-list-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-selection-single'] = true, _a['k-disabled'] = disabled, _a;
84
84
  },
85
85
  chipClass: function chipClass() {
86
86
  var _a;
@@ -93,7 +93,7 @@ var TagListVue2 = {
93
93
  return _a = {
94
94
  'k-chip': true,
95
95
  'k-disabled': disabled
96
- }, _a["k-chip-" + (kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-rounded-" + (kendo_vue_common_1.kendoThemeMaps.roundedMap[tagsRounded] || tagsRounded)] = tagsRounded, _a["k-chip-" + fillMode] = fillMode, _a["k-chip-" + fillMode + "-base"] = Boolean(fillMode), _a;
96
+ }, _a["k-chip-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-rounded-".concat(kendo_vue_common_1.kendoThemeMaps.roundedMap[tagsRounded] || tagsRounded)] = tagsRounded, _a["k-chip-".concat(fillMode)] = fillMode, _a["k-chip-".concat(fillMode, "-base")] = Boolean(fillMode), _a;
97
97
  }
98
98
  },
99
99
  // @ts-ignore
@@ -124,7 +124,7 @@ var TagListVue2 = {
124
124
  }, [dataItems.map(function (tagData, index) {
125
125
  var _this = this;
126
126
 
127
- var uniqueId = "tag-" + guid + "-" + tagData.text.toString().replace(/\s+/g, '-');
127
+ var uniqueId = "tag-".concat(guid, "-").concat(tagData.text.toString().replace(/\s+/g, '-'));
128
128
  var defaultRendering = h("div", {
129
129
  "class": __assign(__assign({}, this.chipClass), {
130
130
  'k-focus': tagData === this.$props.focused
@@ -47,7 +47,7 @@ var ClearButtonVue2 = {
47
47
  // @ts-ignore
48
48
  render: function render(createElement) {
49
49
  var h = gh || createElement;
50
- var title = kendo_vue_intl_1.provideLocalizationService(this).toLanguageString(messages_1.clear, messages_1.messages[messages_1.clear]);
50
+ var title = (0, kendo_vue_intl_1.provideLocalizationService)(this).toLanguageString(messages_1.clear, messages_1.messages[messages_1.clear]);
51
51
  return h("span", {
52
52
  "class": "k-clear-value",
53
53
  role: "button",
@@ -156,9 +156,9 @@ function () {
156
156
  }, 10);
157
157
  };
158
158
 
159
- kendo_vue_common_1.validatePackage(package_metadata_1.packageMetadata);
160
- this.listBoxId = kendo_vue_common_1.guid();
161
- this.guid = kendo_vue_common_1.guid();
159
+ (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
160
+ this.listBoxId = (0, kendo_vue_common_1.guid)();
161
+ this.guid = (0, kendo_vue_common_1.guid)();
162
162
  this.component = component;
163
163
  this.vs.PageChange = this.pageChange;
164
164
  this.vs.ScrollChange = this.scrollChange;
@@ -209,7 +209,7 @@ function () {
209
209
 
210
210
  if (scrollElement) {
211
211
  var virtualScroll = vsEnabled !== undefined ? vsEnabled : vs.enabled;
212
- utils_1.scrollToItem(scrollElement, item.offsetHeight, itemIndex, vs.translate, virtualScroll);
212
+ (0, utils_1.scrollToItem)(scrollElement, item.offsetHeight, itemIndex, vs.translate, virtualScroll);
213
213
  }
214
214
  }
215
215
  };
@@ -292,9 +292,9 @@ function () {
292
292
  var opened = props.opened !== undefined ? props.opened : this.component.currentOpened;
293
293
 
294
294
  if (item && virtual && this.vs.enabled) {
295
- if (virtual.skip > 0 && utils_1.areSame(item, dataItems[0], dataItemKey)) {
295
+ if (virtual.skip > 0 && (0, utils_1.areSame)(item, dataItems[0], dataItemKey)) {
296
296
  this.triggerOnPageChange(state, virtual.skip - 1, virtual.pageSize);
297
- } else if (!opened && virtual.skip + virtual.pageSize < virtual.total && utils_1.areSame(item, dataItems[dataItems.length - 1], dataItemKey)) {
297
+ } else if (!opened && virtual.skip + virtual.pageSize < virtual.total && (0, utils_1.areSame)(item, dataItems[dataItems.length - 1], dataItemKey)) {
298
298
  this.triggerOnPageChange(state, virtual.skip + 1, virtual.pageSize);
299
299
  }
300
300
  }
@@ -72,7 +72,7 @@ var ListVue2 = {
72
72
  };
73
73
  },
74
74
  mounted: function mounted() {
75
- this.list = kendo_vue_common_1.getRef(this, 'list');
75
+ this.list = (0, kendo_vue_common_1.getRef)(this, 'list');
76
76
  },
77
77
  methods: {
78
78
  handleClick: function handleClick(index, e) {
@@ -85,8 +85,8 @@ var ListVue2 = {
85
85
  // @ts-ignore
86
86
  render: function render(createElement) {
87
87
  var h = gh || createElement;
88
- var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
89
- var localizationService = kendo_vue_intl_1.provideLocalizationService(this);
88
+ var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
89
+ var localizationService = (0, kendo_vue_intl_1.provideLocalizationService)(this);
90
90
  var _a = this.$props,
91
91
  id = _a.id,
92
92
  show = _a.show,
@@ -121,14 +121,14 @@ var ListVue2 = {
121
121
  var isArray = Array.isArray(value);
122
122
  return this.$props.dataItems.map(function (item, index) {
123
123
  var realIndex = skip + index;
124
- var selected = highlightSelected && (!isArray && utils_1.areSame(item, value, valueField) || isArray && value.findIndex(function (i) {
125
- return utils_1.areSame(i, item, valueField);
124
+ var selected = highlightSelected && (!isArray && (0, utils_1.areSame)(item, value, valueField) || isArray && value.findIndex(function (i) {
125
+ return (0, utils_1.areSame)(i, item, valueField);
126
126
  }) !== -1);
127
127
  return (// @ts-ignore
128
128
  h(ListItem_1.ListItem, {
129
- id: "option-" + optionsGuid + "-" + realIndex,
129
+ id: "option-".concat(optionsGuid, "-").concat(realIndex),
130
130
  attrs: this.v3 ? undefined : {
131
- id: "option-" + optionsGuid + "-" + realIndex,
131
+ id: "option-".concat(optionsGuid, "-").concat(realIndex),
132
132
  dataItem: item,
133
133
  selected: selected,
134
134
  focused: focusedIndex === index,
@@ -176,7 +176,7 @@ var ListVue2 = {
176
176
  "aria-live": "polite",
177
177
  "aria-hidden": !show ? true : undefined,
178
178
  "class": 'k-list-ul',
179
- ref: kendo_vue_common_1.setRef(this, 'list'),
179
+ ref: (0, kendo_vue_common_1.setRef)(this, 'list'),
180
180
  style: listStyle
181
181
  }, [items]), defaultSlot]) : renderNoValueElement.call(this);
182
182
  }
@@ -71,7 +71,7 @@ var ListContainerVue2 = {
71
71
  var _this = this;
72
72
 
73
73
  var h = gh || createElement;
74
- var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
74
+ var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
75
75
  var _a = this.$props,
76
76
  onMouseDown = _a.onMouseDown,
77
77
  onBlur = _a.onBlur,