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

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 (90) hide show
  1. package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
  2. package/dist/es/AutoComplete/AutoComplete.js +9 -13
  3. package/dist/es/AutoComplete/AutoCompleteProps.js +1 -0
  4. package/dist/es/ComboBox/ComboBox.js +11 -14
  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 +11 -21
  8. package/dist/es/DropDownList/DropDownListProps.js +1 -0
  9. package/dist/es/MultiSelect/MultiSelect.js +23 -30
  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/ListContainer.js +8 -5
  15. package/dist/es/common/ListFilter.js +1 -1
  16. package/dist/es/common/events.js +1 -0
  17. package/dist/es/common/filterDescriptor.js +1 -0
  18. package/dist/es/package-metadata.js +1 -1
  19. package/dist/esm/AutoComplete/AutoComplete.d.ts +107 -0
  20. package/dist/esm/AutoComplete/AutoComplete.js +757 -0
  21. package/dist/esm/AutoComplete/AutoCompleteProps.d.ts +202 -0
  22. package/dist/esm/AutoComplete/AutoCompleteProps.js +2 -0
  23. package/dist/esm/ComboBox/ComboBox.d.ts +99 -0
  24. package/dist/esm/ComboBox/ComboBox.js +1060 -0
  25. package/dist/esm/ComboBox/ComboBoxProps.d.ts +244 -0
  26. package/dist/esm/ComboBox/ComboBoxProps.js +2 -0
  27. package/dist/esm/DropDownList/DropDownList.d.ts +100 -0
  28. package/dist/esm/DropDownList/DropDownList.js +1086 -0
  29. package/dist/esm/DropDownList/DropDownListProps.d.ts +274 -0
  30. package/dist/esm/DropDownList/DropDownListProps.js +2 -0
  31. package/dist/esm/MultiSelect/MultiSelect.d.ts +115 -0
  32. package/dist/esm/MultiSelect/MultiSelect.js +1246 -0
  33. package/dist/esm/MultiSelect/MultiSelectProps.d.ts +262 -0
  34. package/dist/esm/MultiSelect/MultiSelectProps.js +2 -0
  35. package/dist/esm/MultiSelect/TagList.d.ts +51 -0
  36. package/dist/esm/MultiSelect/TagList.js +180 -0
  37. package/dist/esm/additionalTypes.ts +21 -0
  38. package/dist/esm/common/ClearButton.d.ts +21 -0
  39. package/dist/esm/common/ClearButton.js +68 -0
  40. package/dist/esm/common/DropDownBase.d.ts +84 -0
  41. package/dist/esm/common/DropDownBase.js +303 -0
  42. package/dist/esm/common/List.d.ts +58 -0
  43. package/dist/esm/common/List.js +176 -0
  44. package/dist/esm/common/ListContainer.d.ts +40 -0
  45. package/dist/esm/common/ListContainer.js +134 -0
  46. package/dist/esm/common/ListDefaultItem.d.ts +29 -0
  47. package/dist/esm/common/ListDefaultItem.js +62 -0
  48. package/dist/esm/common/ListFilter.d.ts +46 -0
  49. package/dist/esm/common/ListFilter.js +112 -0
  50. package/dist/esm/common/ListItem.d.ts +71 -0
  51. package/dist/esm/common/ListItem.js +105 -0
  52. package/dist/esm/common/Navigation.d.ts +12 -0
  53. package/dist/esm/common/Navigation.js +34 -0
  54. package/dist/esm/common/SearchBar.d.ts +65 -0
  55. package/dist/esm/common/SearchBar.js +177 -0
  56. package/dist/esm/common/VirtualScroll.d.ts +42 -0
  57. package/dist/esm/common/VirtualScroll.js +196 -0
  58. package/dist/esm/common/events.d.ts +63 -0
  59. package/dist/esm/common/events.js +1 -0
  60. package/dist/esm/common/filterDescriptor.d.ts +41 -0
  61. package/dist/esm/common/filterDescriptor.js +2 -0
  62. package/dist/esm/common/settings.d.ts +102 -0
  63. package/dist/esm/common/settings.js +8 -0
  64. package/dist/esm/common/utils.d.ts +57 -0
  65. package/dist/esm/common/utils.js +184 -0
  66. package/dist/esm/main.d.ts +13 -0
  67. package/dist/esm/main.js +5 -0
  68. package/dist/esm/messages/index.d.ts +20 -0
  69. package/dist/esm/messages/index.js +21 -0
  70. package/dist/esm/package-metadata.d.ts +5 -0
  71. package/dist/esm/package-metadata.js +11 -0
  72. package/dist/esm/package.json +3 -0
  73. package/dist/npm/AutoComplete/AutoComplete.js +24 -28
  74. package/dist/npm/ComboBox/ComboBox.js +43 -46
  75. package/dist/npm/ComboBox/ComboBoxProps.d.ts +1 -1
  76. package/dist/npm/DropDownList/DropDownList.js +42 -52
  77. package/dist/npm/MultiSelect/MultiSelect.js +41 -48
  78. package/dist/npm/MultiSelect/MultiSelectProps.d.ts +1 -1
  79. package/dist/npm/MultiSelect/TagList.js +3 -3
  80. package/dist/npm/common/ClearButton.js +1 -1
  81. package/dist/npm/common/DropDownBase.js +6 -6
  82. package/dist/npm/common/List.js +8 -8
  83. package/dist/npm/common/ListContainer.js +9 -6
  84. package/dist/npm/common/ListDefaultItem.js +2 -2
  85. package/dist/npm/common/ListFilter.js +3 -3
  86. package/dist/npm/common/ListItem.js +2 -2
  87. package/dist/npm/common/Navigation.js +1 -1
  88. package/dist/npm/common/SearchBar.js +2 -2
  89. package/dist/npm/package-metadata.js +1 -1
  90. package/package.json +11 -5
@@ -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) {
@@ -101,6 +97,7 @@ var MultiSelectVue2 = {
101
97
  'update:modelValue': null,
102
98
  'filterchange': null,
103
99
  change: null,
100
+ pagechange: null,
104
101
  focus: null,
105
102
  blur: null,
106
103
  open: null,
@@ -230,7 +227,7 @@ var MultiSelectVue2 = {
230
227
  spanClassNames: {
231
228
  get: function get() {
232
229
  var isValid = !this.hasMounted || !this.$props.validityStyles || this.validity().valid;
233
- var editorValue = this.currentText || utils_1.getItemValue(this.computedValue()[0], this.$props.textField);
230
+ var editorValue = this.currentText || (0, utils_1.getItemValue)(this.computedValue()[0], this.$props.textField);
234
231
  return {
235
232
  'k-floating-label-container': true,
236
233
  'k-focus': this.currentFocused,
@@ -247,8 +244,8 @@ var MultiSelectVue2 = {
247
244
  this._skipFocusEvent = false;
248
245
  this.scrollToFocused = false;
249
246
  this.base = new DropDownBase_1.default(this);
250
- this.anchor = kendo_vue_common_1.guid();
251
- this.inputId = kendo_vue_common_1.guid();
247
+ this.anchor = (0, kendo_vue_common_1.guid)();
248
+ this.inputId = (0, kendo_vue_common_1.guid)();
252
249
  },
253
250
  data: function data() {
254
251
  return {
@@ -342,8 +339,8 @@ var MultiSelectVue2 = {
342
339
  this.hasMounted = true; // @ts-ignore
343
340
 
344
341
  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);
342
+ this.base.wrapper = (0, kendo_vue_common_1.getRef)(this, 'kendoAnchor', this.anchor);
343
+ this.element = (0, kendo_vue_common_1.getRef)(this, 'kendoAnchor', this.anchor);
347
344
  this.base.didMount();
348
345
  this.searchBarRef();
349
346
  this.setValidity();
@@ -371,7 +368,7 @@ var MultiSelectVue2 = {
371
368
 
372
369
  var newResult = result.map(function (currentValue) {
373
370
  var index = _this.dataItems.findIndex(function (i) {
374
- return utils_1.getItemValue(i, field) === currentValue;
371
+ return (0, utils_1.getItemValue)(i, field) === currentValue;
375
372
  });
376
373
 
377
374
  return _this.dataItems[index] || currentValue;
@@ -383,7 +380,7 @@ var MultiSelectVue2 = {
383
380
 
384
381
  var computed = this.computedValue();
385
382
  var value = computed.map(function (v) {
386
- return utils_1.getItemValue(v, _this.valueField);
383
+ return (0, utils_1.getItemValue)(v, _this.valueField);
387
384
  });
388
385
  return this.valuePrimitive ? value : computed;
389
386
  },
@@ -408,7 +405,7 @@ var MultiSelectVue2 = {
408
405
  var skip = virtual ? virtual.skip : 0;
409
406
  var dataItem = dataItems[index - skip];
410
407
  var indexInValue = value.findIndex(function (i) {
411
- return utils_1.areSame(i, dataItem, dataItemKey);
408
+ return (0, utils_1.areSame)(i, dataItem, dataItemKey);
412
409
  });
413
410
  var newItems = [];
414
411
 
@@ -417,7 +414,7 @@ var MultiSelectVue2 = {
417
414
  newItems = value;
418
415
  newItems.splice(indexInValue, 1);
419
416
  } else {
420
- newItems = __spreadArrays(value, [dataItem]);
417
+ newItems = __spreadArray(__spreadArray([], value, true), [dataItem], false);
421
418
  }
422
419
 
423
420
  var text = this.$props.filter !== undefined ? this.$props.filter : this.currentText;
@@ -451,7 +448,7 @@ var MultiSelectVue2 = {
451
448
  }
452
449
 
453
450
  var selected = this.computedValue();
454
- utils_1.removeDataItems(selected, itemsToRemove, this.$props.dataItemKey);
451
+ (0, utils_1.removeDataItems)(selected, itemsToRemove, this.$props.dataItemKey);
455
452
  this.triggerOnChange(selected, state);
456
453
  this.applyState(state);
457
454
  },
@@ -565,7 +562,7 @@ var MultiSelectVue2 = {
565
562
 
566
563
  var text = this.$props.filter !== undefined ? this.$props.filter : this.currentText;
567
564
 
568
- if (utils_1.isPresent(text) && text !== '') {
565
+ if ((0, utils_1.isPresent)(text) && text !== '') {
569
566
  this.base.filterChanged('', state);
570
567
  }
571
568
 
@@ -651,18 +648,18 @@ var MultiSelectVue2 = {
651
648
  } else if (keyCode === kendo_vue_common_1.Keys.delete) {
652
649
  if (hasFocused) {
653
650
  var items = this.computedValue();
654
- utils_1.removeDataItems(items, tags[focusedIndex].data, itemsKey);
651
+ (0, utils_1.removeDataItems)(items, tags[focusedIndex].data, itemsKey);
655
652
  this.triggerOnChange(items, state);
656
653
  }
657
654
  } else if (keyCode === kendo_vue_common_1.Keys.backspace) {
658
655
  var items = this.computedValue();
659
656
 
660
657
  if (hasFocused) {
661
- utils_1.removeDataItems(items, tags[focusedIndex].data, itemsKey);
658
+ (0, utils_1.removeDataItems)(items, tags[focusedIndex].data, itemsKey);
662
659
  this.triggerOnChange(items, state);
663
660
  } else if (!hasFocused && tags.length) {
664
661
  var removed = tags.pop();
665
- utils_1.removeDataItems(items, removed.data, itemsKey);
662
+ (0, utils_1.removeDataItems)(items, removed.data, itemsKey);
666
663
  this.triggerOnChange(items, state);
667
664
  }
668
665
  }
@@ -676,7 +673,7 @@ var MultiSelectVue2 = {
676
673
  },
677
674
  triggerOnChange: function triggerOnChange(items, state) {
678
675
  if (this.$props.value === undefined) {
679
- state.data.currentValue = __spreadArrays(items);
676
+ state.data.currentValue = __spreadArray([], items, true);
680
677
  }
681
678
 
682
679
  this.valuesItemsDuringOnChange = [];
@@ -742,7 +739,7 @@ var MultiSelectVue2 = {
742
739
  } else if (selected.length) {
743
740
  var last_1 = selected[selected.length - 1];
744
741
  focusedInd = dataItems.findIndex(function (i) {
745
- return utils_1.areSame(i, last_1, dataItemKey);
742
+ return (0, utils_1.areSame)(i, last_1, dataItemKey);
746
743
  });
747
744
 
748
745
  if (dataItems[focusedInd] !== undefined) {
@@ -789,7 +786,7 @@ var MultiSelectVue2 = {
789
786
  state.data.currentFocusedIndex = undefined;
790
787
  this.base.filterChanged('', state);
791
788
 
792
- var newItems = __spreadArrays(this.computedValue(), [item]);
789
+ var newItems = __spreadArray(__spreadArray([], this.computedValue(), true), [item], false);
793
790
 
794
791
  this.triggerOnChange(newItems, state);
795
792
  this.base.togglePopup(state);
@@ -949,7 +946,7 @@ var MultiSelectVue2 = {
949
946
  if (tags === undefined) {
950
947
  this.computedValue().forEach(function (item) {
951
948
  tagsToRender.push({
952
- text: utils_1.getItemValue(item, textField),
949
+ text: (0, utils_1.getItemValue)(item, textField),
953
950
  data: [item]
954
951
  });
955
952
  });
@@ -993,7 +990,7 @@ var MultiSelectVue2 = {
993
990
  var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
994
991
  var focusedIndex = this.getFocusedState().focusedIndex;
995
992
  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;
993
+ 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
994
  return (// @ts-ignore function children
998
995
  h(SearchBar_1.SearchBar, {
999
996
  id: searchId,
@@ -1008,7 +1005,7 @@ var MultiSelectVue2 = {
1008
1005
  expanded: opened,
1009
1006
  owns: this.base.listBoxId,
1010
1007
  activedescendant: ariaActivedescendant,
1011
- "aria-describedBy": "tagslist-" + this.base.guid + " " + (this.$props.ariaDescribedBy || ''),
1008
+ "aria-describedBy": "tagslist-".concat(this.base.guid, " ").concat(this.$props.ariaDescribedBy || ''),
1012
1009
  "aria-labelledBy": this.$props.ariaLabelledBy
1013
1010
  },
1014
1011
  size: Math.max((placeholderToShow || '').length, searchText.length, 1),
@@ -1031,7 +1028,7 @@ var MultiSelectVue2 = {
1031
1028
  expanded: opened,
1032
1029
  owns: this.base.listBoxId,
1033
1030
  activedescendant: ariaActivedescendant,
1034
- "aria-describedBy": "tagslist-" + this.base.guid + " " + (this.$props.ariaDescribedBy || ''),
1031
+ "aria-describedBy": "tagslist-".concat(this.base.guid, " ").concat(this.$props.ariaDescribedBy || ''),
1035
1032
  "aria-labelledBy": this.$props.ariaLabelledBy
1036
1033
  })
1037
1034
  );
@@ -1047,7 +1044,7 @@ var MultiSelectVue2 = {
1047
1044
  var skip = virtual ? virtual.skip : 0;
1048
1045
  var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
1049
1046
  var focusedIndex = this.getFocusedState().focusedIndex;
1050
- var translate = "translateY(" + vs.translate + "px)";
1047
+ var translate = "translateY(".concat(vs.translate, "px)");
1051
1048
  return (// @ts-ignore function children
1052
1049
  h(List_1.List, {
1053
1050
  id: this.base.listBoxId,
@@ -1141,7 +1138,7 @@ var MultiSelectVue2 = {
1141
1138
  "click": this.customItemSelect
1142
1139
  }
1143
1140
  }, [h("div", {
1144
- "class": kendo_vue_common_1.classNames('k-item k-custom-item', {
1141
+ "class": (0, kendo_vue_common_1.classNames)('k-item k-custom-item', {
1145
1142
  'k-focus': isCustom(focusedType)
1146
1143
  })
1147
1144
  }, [currentText, h("span", {
@@ -1162,30 +1159,26 @@ var MultiSelectVue2 = {
1162
1159
  attrs: this.v3 ? undefined : {
1163
1160
  dir: dir !== undefined ? dir : base.dirCalculated,
1164
1161
  width: popupWidth,
1165
- popupSettings: {
1166
- animate: popupSettings.animate,
1162
+ popupSettings: __assign(__assign({}, popupSettings), {
1167
1163
  anchor: this.anchor,
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)),
1172
- className: popupSettings.className,
1173
- appendTo: popupSettings.appendTo
1174
- },
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)),
1168
+ className: (0, kendo_vue_common_1.classNames)('k-list-container', popupSettings.className)
1169
+ }),
1175
1170
  itemsCount: dataItems.length
1176
1171
  },
1177
1172
  onBlur: this.handleBlur,
1178
1173
  width: popupWidth,
1179
- popupSettings: {
1180
- animate: popupSettings.animate,
1174
+ popupSettings: __assign(__assign({}, popupSettings), {
1181
1175
  anchor: this.anchor,
1182
1176
  show: opened,
1183
1177
  onOpen: this.onPopupOpened,
1184
1178
  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)),
1186
- className: popupSettings.className,
1187
- appendTo: popupSettings.appendTo
1188
- },
1179
+ 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)),
1180
+ className: (0, kendo_vue_common_1.classNames)('k-list-container', popupSettings.className)
1181
+ }),
1189
1182
  itemsCount: dataItems.length
1190
1183
  }, this.v3 ? function () {
1191
1184
  return [header && h("div", {
@@ -1202,8 +1195,8 @@ var MultiSelectVue2 = {
1202
1195
  };
1203
1196
 
1204
1197
  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)),
1198
+ ref: (0, kendo_vue_common_1.setRef)(this, 'kendoAnchor', this.anchor),
1199
+ "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
1200
  style: !label ? style : __assign(__assign({}, style), {
1208
1201
  width: undefined
1209
1202
  }),
@@ -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,
@@ -86,20 +86,22 @@ var ListContainerVue2 = {
86
86
  show = popupSettings.show,
87
87
  open = popupSettings.open,
88
88
  close = popupSettings.close,
89
- itemsCount = popupSettings.itemsCount;
89
+ itemsCount = popupSettings.itemsCount,
90
+ appendTo = popupSettings.appendTo;
90
91
  return (// @ts-ignore function children
91
92
  h(kendo_vue_popup_1.Popup, {
92
93
  style: {
93
94
  width: width,
94
95
  direction: dir
95
96
  },
96
- className: className,
97
+ popupClass: className,
97
98
  attrs: this.v3 ? undefined : {
98
- className: className,
99
+ popupClass: className,
99
100
  animate: animate,
100
101
  anchor: anchor,
101
102
  show: show,
102
- contentKey: itemsCount
103
+ contentKey: itemsCount,
104
+ appendTo: appendTo
103
105
  },
104
106
  animate: animate,
105
107
  anchor: anchor,
@@ -110,7 +112,8 @@ var ListContainerVue2 = {
110
112
  "open": this.onOpen,
111
113
  "close": this.onClose
112
114
  },
113
- onClose: this.onClose
115
+ onClose: this.onClose,
116
+ appendTo: appendTo
114
117
  }, this.v3 ? function () {
115
118
  return [h("div", {
116
119
  "class": popupClass,
@@ -58,10 +58,10 @@ var ListDefaultItemVue2 = {
58
58
  style: {
59
59
  position: 'unset'
60
60
  },
61
- "class": kendo_vue_common_1.classNames('k-list-optionlabel', {
61
+ "class": (0, kendo_vue_common_1.classNames)('k-list-optionlabel', {
62
62
  'k-selected': selected
63
63
  })
64
- }, [utils_1.getItemValue(defaultItem, textField) || '']);
64
+ }, [(0, utils_1.getItemValue)(defaultItem, textField) || '']);
65
65
  }
66
66
  };
67
67
  exports.ListDefaultItemVue2 = ListDefaultItemVue2;
@@ -61,7 +61,7 @@ var ListFilterVue2 = {
61
61
  fillMode = _b.fillMode;
62
62
  return _a = {
63
63
  'k-searchbox k-input': true
64
- }, _a["k-input-" + (sizeMap[size] || size)] = size, _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded, _a["k-input-" + fillMode] = fillMode, _a;
64
+ }, _a["k-input-".concat(sizeMap[size] || size)] = size, _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded, _a["k-input-".concat(fillMode)] = fillMode, _a;
65
65
  }
66
66
  },
67
67
  // @ts-ignore
@@ -82,7 +82,7 @@ var ListFilterVue2 = {
82
82
  }
83
83
  },
84
84
  mounted: function mounted() {
85
- this.input = kendo_vue_common_1.getRef(this, 'input');
85
+ this.input = (0, kendo_vue_common_1.getRef)(this, 'input');
86
86
  },
87
87
  // @ts-ignore
88
88
  render: function render(createElement) {
@@ -94,7 +94,7 @@ var ListFilterVue2 = {
94
94
  }, [h("span", {
95
95
  "class": "k-input-icon k-icon k-i-search"
96
96
  }), h("input", {
97
- ref: kendo_vue_common_1.setRef(this, 'input'),
97
+ ref: (0, kendo_vue_common_1.setRef)(this, 'input'),
98
98
  type: "text",
99
99
  attrs: this.v3 ? undefined : {
100
100
  type: "text"
@@ -80,7 +80,7 @@ var ListItemVue2 = {
80
80
  },
81
81
  role: "option",
82
82
  "aria-selected": selected,
83
- "class": kendo_vue_common_1.classNames('k-list-item', {
83
+ "class": (0, kendo_vue_common_1.classNames)('k-list-item', {
84
84
  'k-selected': selected,
85
85
  'k-focus': this.$props.focused
86
86
  }),
@@ -93,7 +93,7 @@ var ListItemVue2 = {
93
93
  }
94
94
  }, [h("span", {
95
95
  "class": "k-list-item-text"
96
- }, [utils_1.getItemValue(this.$props.dataItem, this.$props.textField).toString()])]);
96
+ }, [(0, utils_1.getItemValue)(this.$props.dataItem, this.$props.textField).toString()])]);
97
97
  return kendo_vue_common_1.getTemplate.call(this, {
98
98
  h: h,
99
99
  template: this.$props.render,
@@ -25,7 +25,7 @@ var Navigation = /** @class */ (function () {
25
25
  }
26
26
  };
27
27
  Navigation.prototype.next = function (args) {
28
- if (!utils_1.isPresent(args.current)) {
28
+ if (!(0, utils_1.isPresent)(args.current)) {
29
29
  return args.min;
30
30
  }
31
31
  else {
@@ -95,7 +95,7 @@ var SearchBarVue2 = {
95
95
  };
96
96
  },
97
97
  mounted: function mounted() {
98
- this.input = kendo_vue_common_1.getRef(this, 'input');
98
+ this.input = (0, kendo_vue_common_1.getRef)(this, 'input');
99
99
  },
100
100
  methods: {
101
101
  onChange: function onChange(e) {
@@ -161,7 +161,7 @@ var SearchBarVue2 = {
161
161
  "focusin": this.onFocus,
162
162
  "blur": this.onBlur
163
163
  },
164
- ref: kendo_vue_common_1.setRef(this, 'input'),
164
+ ref: (0, kendo_vue_common_1.setRef)(this, 'input'),
165
165
  onKeydown: this.onKeyDown,
166
166
  onFocusin: this.onFocus,
167
167
  onBlur: this.onBlur,
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-dropdowns',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1659428851,
11
+ publishDate: 1660543182,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
14
14
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-dropdowns",
3
3
  "description": "Kendo UI for Vue Dropdowns package",
4
- "version": "3.5.0",
4
+ "version": "3.5.1-dev.202208150613",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -10,6 +10,12 @@
10
10
  "types": "dist/npm/main.d.ts",
11
11
  "module": "dist/es/main.js",
12
12
  "jsnext:main": "dist/es/main.js",
13
+ "exports": {
14
+ "node": "./dist/esm/main.js",
15
+ "import": "./dist/es/main.js",
16
+ "require": "./dist/npm/main.js",
17
+ "default": "./dist/npm/main.js"
18
+ },
13
19
  "scripts": {
14
20
  "test": "cd ../../ && npm run test -- --testPathPattern=/packages/dropdowns/.*",
15
21
  "start": "gulp start",
@@ -43,14 +49,14 @@
43
49
  "vue": "^2.6.12 || ^3.0.2"
44
50
  },
45
51
  "dependencies": {
46
- "@progress/kendo-vue-buttons": "3.5.0",
47
- "@progress/kendo-vue-common": "3.5.0",
48
- "@progress/kendo-vue-popup": "3.5.0"
52
+ "@progress/kendo-vue-buttons": "3.5.1-dev.202208150613",
53
+ "@progress/kendo-vue-common": "3.5.1-dev.202208150613",
54
+ "@progress/kendo-vue-popup": "3.5.1-dev.202208150613"
49
55
  },
50
56
  "devDependencies": {
51
57
  "@progress/kendo-data-query": "^1.5.4",
52
58
  "@progress/kendo-licensing": "^1.1.0",
53
- "@progress/kendo-vue-intl": "3.5.0"
59
+ "@progress/kendo-vue-intl": "3.5.1-dev.202208150613"
54
60
  },
55
61
  "author": "Progress",
56
62
  "license": "SEE LICENSE IN LICENSE.md",