@progress/kendo-vue-dropdowns 3.7.4-dev.202212020747 → 3.7.4-dev.202301091431

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 (33) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
  3. package/dist/es/AutoComplete/AutoComplete.js +3 -3
  4. package/dist/es/ComboBox/ComboBox.js +7 -3
  5. package/dist/es/DropDownList/DropDownList.js +29 -6
  6. package/dist/es/MultiSelect/MultiSelect.js +17 -7
  7. package/dist/es/MultiSelect/TagList.js +4 -3
  8. package/dist/es/common/ClearButton.js +9 -2
  9. package/dist/es/common/ListFilter.js +10 -3
  10. package/dist/es/messages/main.d.ts +5 -0
  11. package/dist/es/messages/main.js +5 -0
  12. package/dist/es/package-metadata.js +1 -1
  13. package/dist/esm/AutoComplete/AutoComplete.js +3 -3
  14. package/dist/esm/ComboBox/ComboBox.js +7 -3
  15. package/dist/esm/DropDownList/DropDownList.js +29 -6
  16. package/dist/esm/MultiSelect/MultiSelect.js +17 -7
  17. package/dist/esm/MultiSelect/TagList.js +4 -3
  18. package/dist/esm/common/ClearButton.js +9 -2
  19. package/dist/esm/common/ListFilter.js +10 -3
  20. package/dist/esm/messages/main.d.ts +5 -0
  21. package/dist/esm/messages/main.js +5 -0
  22. package/dist/esm/package-metadata.js +1 -1
  23. package/dist/npm/AutoComplete/AutoComplete.js +2 -2
  24. package/dist/npm/ComboBox/ComboBox.js +6 -2
  25. package/dist/npm/DropDownList/DropDownList.js +28 -5
  26. package/dist/npm/MultiSelect/MultiSelect.js +16 -6
  27. package/dist/npm/MultiSelect/TagList.js +4 -3
  28. package/dist/npm/common/ClearButton.js +9 -2
  29. package/dist/npm/common/ListFilter.js +9 -2
  30. package/dist/npm/messages/main.d.ts +5 -0
  31. package/dist/npm/messages/main.js +6 -1
  32. package/dist/npm/package-metadata.js +1 -1
  33. package/package.json +9 -7
@@ -11,6 +11,10 @@ export var expandButton = 'dropdowns.expandbutton';
11
11
  * @hidden
12
12
  */
13
13
  export var clear = 'dropdowns.clear';
14
+ /**
15
+ * @hidden
16
+ */
17
+ export var selectButton = 'dropdowns.select';
14
18
  /**
15
19
  * @hidden
16
20
  */
@@ -18,4 +22,5 @@ export var messages = (_a = {},
18
22
  _a[clear] = 'clear',
19
23
  _a[expandButton] = 'expand button',
20
24
  _a[nodata] = 'NO DATA FOUND.',
25
+ _a[selectButton] = 'Select',
21
26
  _a);
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dropdowns',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1669966396,
8
+ publishDate: 1673273441,
9
9
  version: '',
10
10
  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'
11
11
  };
@@ -682,8 +682,8 @@ var AutoCompleteVue2 = {
682
682
  };
683
683
  var renderLoading = function renderLoading(cloading) {
684
684
  if (cloading) {
685
- return h("span", {
686
- "class": "k-icon k-input-loading-icon k-i-loading"
685
+ return h(kendo_vue_common_1.Icon, {
686
+ "class": "k-input-loading-icon"
687
687
  });
688
688
  }
689
689
  return h("span");
@@ -936,8 +936,12 @@ var ComboBoxVue2 = {
936
936
  "clearclick": this.clearButtonClick
937
937
  },
938
938
  key: "clearbutton"
939
- }), loading && h("span", {
940
- "class": "k-icon k-input-loading-icon k-i-loading",
939
+ }), loading && h(kendo_vue_common_1.Icon, {
940
+ name: 'loading',
941
+ attrs: this.v3 ? undefined : {
942
+ name: 'loading'
943
+ },
944
+ "class": "k-input-loading-icon",
941
945
  key: "loading"
942
946
  }),
943
947
  // @ts-ignore
@@ -31,6 +31,8 @@ var ListFilter_1 = require("../common/ListFilter");
31
31
  var ListDefaultItem_1 = require("../common/ListDefaultItem");
32
32
  var List_1 = require("../common/List");
33
33
  var DropDownBase_1 = require("../common/DropDownBase");
34
+ var main_1 = require("../messages/main");
35
+ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
34
36
  var utils_1 = require("../common/utils");
35
37
  var VALIDATION_MESSAGE = 'Please select a value from the list!';
36
38
  /**
@@ -166,6 +168,11 @@ var DropDownListVue2 = {
166
168
  }
167
169
  }
168
170
  },
171
+ inject: {
172
+ kendoLocalizationService: {
173
+ default: null
174
+ }
175
+ },
169
176
  data: function data() {
170
177
  return {
171
178
  hasMounted: false,
@@ -324,6 +331,11 @@ var DropDownListVue2 = {
324
331
  'k-rtl': this.$props.dir === 'rtl'
325
332
  };
326
333
  }
334
+ },
335
+ dropDownListId: {
336
+ get: function get() {
337
+ return "value-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : '');
338
+ }
327
339
  }
328
340
  },
329
341
  methods: {
@@ -701,6 +713,7 @@ var DropDownListVue2 = {
701
713
  animate: true,
702
714
  height: '200px'
703
715
  }, this.$props.popupSettings);
716
+ var ariaLabelSelectButton = (0, kendo_vue_intl_1.provideLocalizationService)(this).toLanguageString(main_1.selectButton, main_1.messages[main_1.selectButton]);
704
717
  var _d = this.$props,
705
718
  dataItemKey = _d.dataItemKey,
706
719
  _e = _d.dataItems,
@@ -716,7 +729,11 @@ var DropDownListVue2 = {
716
729
  return (0, utils_1.areSame)(i, value, dataItemKey);
717
730
  });
718
731
  var valueDefaultRendering = h("span", {
719
- "class": "k-input-inner"
732
+ "class": "k-input-inner",
733
+ id: this.dropDownListId,
734
+ attrs: this.v3 ? undefined : {
735
+ id: this.dropDownListId
736
+ }
720
737
  }, [h("span", {
721
738
  "class": "k-input-value-text"
722
739
  }, [text])]);
@@ -959,7 +976,7 @@ var DropDownListVue2 = {
959
976
  "aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
960
977
  "aria-label": this.$props.ariaLabel || this.$props.label,
961
978
  "aria-labelledby": this.$props.ariaLabelledBy,
962
- "aria-describedby": this.$props.ariaDescribedBy,
979
+ "aria-describedBy": this.dropDownListId,
963
980
  title: this.$props.title
964
981
  },
965
982
  onMousedown: opened ? utils_1.preventDefaultNonInputs : kendo_vue_common_1.noop,
@@ -986,10 +1003,14 @@ var DropDownListVue2 = {
986
1003
  "aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
987
1004
  "aria-label": this.$props.ariaLabel || this.$props.label,
988
1005
  "aria-labelledby": this.$props.ariaLabelledBy,
989
- "aria-describedby": this.$props.ariaDescribedBy,
1006
+ "aria-describedBy": this.dropDownListId,
990
1007
  title: this.$props.title
991
- }, [valueElement, loading && h("span", {
992
- "class": "k-icon k-input-loading-icon k-i-loading",
1008
+ }, [valueElement, loading && h(kendo_vue_common_1.Icon, {
1009
+ name: 'loading',
1010
+ attrs: this.v3 ? undefined : {
1011
+ name: 'loading'
1012
+ },
1013
+ "class": "k-input-loading-icon",
993
1014
  key: "loading"
994
1015
  }),
995
1016
  // @ts-ignore
@@ -1001,6 +1022,7 @@ var DropDownListVue2 = {
1001
1022
  size: size,
1002
1023
  fillMode: fillMode,
1003
1024
  rounded: null,
1025
+ ariaLabel: ariaLabelSelectButton,
1004
1026
  iconClass: (0, kendo_vue_common_1.classNames)('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
1005
1027
  "aria-hidden": true
1006
1028
  },
@@ -1008,6 +1030,7 @@ var DropDownListVue2 = {
1008
1030
  size: size,
1009
1031
  fillMode: fillMode,
1010
1032
  rounded: null,
1033
+ ariaLabel: ariaLabelSelectButton,
1011
1034
  "class": 'k-input-button',
1012
1035
  iconClass: (0, kendo_vue_common_1.classNames)('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
1013
1036
  "aria-hidden": true
@@ -42,6 +42,7 @@ var DropDownBase_1 = require("../common/DropDownBase");
42
42
  var ClearButton_1 = require("../common/ClearButton");
43
43
  var settings_1 = require("./../common/settings");
44
44
  var utils_1 = require("../common/utils");
45
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
45
46
  var VALIDATION_MESSAGE = 'Please enter a valid value!';
46
47
  var preventDefault = function preventDefault(event) {
47
48
  return event.preventDefault();
@@ -866,8 +867,12 @@ var MultiSelectVue2 = {
866
867
  };
867
868
  var renderLoading = function renderLoading(cloading) {
868
869
  if (cloading) {
869
- return h("span", {
870
- "class": "k-icon k-input-loading-icon k-i-loading"
870
+ return h(kendo_vue_common_1.Icon, {
871
+ name: 'loading',
872
+ attrs: this.v3 ? undefined : {
873
+ name: 'loading'
874
+ },
875
+ "class": "k-input-loading-icon"
871
876
  });
872
877
  }
873
878
  return h("span");
@@ -895,7 +900,7 @@ var MultiSelectVue2 = {
895
900
  expanded: opened,
896
901
  owns: this.base.listBoxId,
897
902
  activedescendant: ariaActivedescendant,
898
- "aria-describedBy": "tagslist-".concat(this.base.guid, " ").concat(this.$props.ariaDescribedBy || ''),
903
+ "aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
899
904
  "aria-labelledBy": this.$props.ariaLabelledBy
900
905
  },
901
906
  size: Math.max((placeholderToShow || '').length, searchText.length, 1),
@@ -918,7 +923,7 @@ var MultiSelectVue2 = {
918
923
  expanded: opened,
919
924
  owns: this.base.listBoxId,
920
925
  activedescendant: ariaActivedescendant,
921
- "aria-describedBy": "tagslist-".concat(this.base.guid, " ").concat(this.$props.ariaDescribedBy || ''),
926
+ "aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
922
927
  "aria-labelledBy": this.$props.ariaLabelledBy
923
928
  })
924
929
  );
@@ -1026,8 +1031,13 @@ var MultiSelectVue2 = {
1026
1031
  "class": (0, kendo_vue_common_1.classNames)('k-item k-custom-item', {
1027
1032
  'k-focus': isCustom(focusedType)
1028
1033
  })
1029
- }, [currentText, h("span", {
1030
- "class": "k-icon k-i-plus",
1034
+ }, [currentText, h(kendo_vue_common_1.Icon, {
1035
+ name: "plus",
1036
+ attrs: this.v3 ? undefined : {
1037
+ name: "plus",
1038
+ icon: kendo_svg_icons_1.plusIcon
1039
+ },
1040
+ icon: kendo_svg_icons_1.plusIcon,
1031
1041
  style: {
1032
1042
  float: 'right'
1033
1043
  }
@@ -70,9 +70,8 @@ var TagListVue2 = {
70
70
  size = _b.size,
71
71
  disabled = _b.disabled;
72
72
  return _a = {
73
- 'k-input-values': true,
74
73
  'k-chip-list': true
75
- }, _a["k-chip-list-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-selection-multiple'] = true, _a['k-disabled'] = disabled, _a;
74
+ }, _a["k-chip-list-".concat(kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-disabled'] = disabled, _a;
76
75
  }
77
76
  },
78
77
  // @ts-ignore
@@ -98,6 +97,8 @@ var TagListVue2 = {
98
97
  tagsRounded = _a.tagsRounded,
99
98
  removeTagIcon = _a.removeTagIcon;
100
99
  return h("div", {
100
+ "class": 'k-input-values'
101
+ }, [h("div", {
101
102
  "class": this.wrapperClass,
102
103
  role: "listbox",
103
104
  attrs: this.v3 ? undefined : {
@@ -158,7 +159,7 @@ var TagListVue2 = {
158
159
  tagdelete: this.onTagDelete
159
160
  }
160
161
  });
161
- }, this), defaultSlot]);
162
+ }, this), defaultSlot])]);
162
163
  }
163
164
  };
164
165
  exports.TagListVue2 = TagListVue2;
@@ -10,8 +10,10 @@ var allVue = Vue;
10
10
  var gh = allVue.h;
11
11
  var isV3 = allVue.version && allVue.version[0] === '3';
12
12
  var inject = allVue.inject;
13
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
13
14
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
14
15
  var main_1 = require("../messages/main");
16
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
15
17
  /**
16
18
  * @hidden
17
19
  */
@@ -60,8 +62,13 @@ var ClearButtonVue2 = {
60
62
  tabindex: -1,
61
63
  title: title,
62
64
  key: "clearbutton"
63
- }, [h("span", {
64
- "class": "k-icon k-i-x"
65
+ }, [h(kendo_vue_common_1.Icon, {
66
+ name: "x",
67
+ attrs: this.v3 ? undefined : {
68
+ name: "x",
69
+ icon: kendo_svg_icons_1.xIcon
70
+ },
71
+ icon: kendo_svg_icons_1.xIcon
65
72
  })]);
66
73
  }
67
74
  };
@@ -11,6 +11,7 @@ var gh = allVue.h;
11
11
  var isV3 = allVue.version && allVue.version[0] === '3';
12
12
  var ref = allVue.ref;
13
13
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
14
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
14
15
  var sizeMap = kendo_vue_common_1.kendoThemeMaps.sizeMap,
15
16
  roundedMap = kendo_vue_common_1.kendoThemeMaps.roundedMap;
16
17
  /**
@@ -86,8 +87,14 @@ var ListFilterVue2 = {
86
87
  "class": "k-list-filter"
87
88
  }, [h("span", {
88
89
  "class": this.spanClass
89
- }, [h("span", {
90
- "class": "k-input-icon k-icon k-i-search"
90
+ }, [h(kendo_vue_common_1.Icon, {
91
+ name: "search",
92
+ attrs: this.v3 ? undefined : {
93
+ name: "search",
94
+ icon: kendo_svg_icons_1.searchIcon
95
+ },
96
+ icon: kendo_svg_icons_1.searchIcon,
97
+ "class": "k-input-icon"
91
98
  }), h("input", {
92
99
  ref: (0, kendo_vue_common_1.setRef)(this, 'input'),
93
100
  type: "text",
@@ -10,6 +10,10 @@ export declare const expandButton = "dropdowns.expandbutton";
10
10
  * @hidden
11
11
  */
12
12
  export declare const clear = "dropdowns.clear";
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare const selectButton = "dropdowns.select";
13
17
  /**
14
18
  * @hidden
15
19
  */
@@ -17,4 +21,5 @@ export declare const messages: {
17
21
  "dropdowns.clear": string;
18
22
  "dropdowns.expandbutton": string;
19
23
  "dropdowns.nodata": string;
24
+ "dropdowns.select": string;
20
25
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.messages = exports.clear = exports.expandButton = exports.nodata = void 0;
4
+ exports.messages = exports.selectButton = exports.clear = exports.expandButton = exports.nodata = void 0;
5
5
  /**
6
6
  * @hidden
7
7
  */
@@ -14,6 +14,10 @@ exports.expandButton = 'dropdowns.expandbutton';
14
14
  * @hidden
15
15
  */
16
16
  exports.clear = 'dropdowns.clear';
17
+ /**
18
+ * @hidden
19
+ */
20
+ exports.selectButton = 'dropdowns.select';
17
21
  /**
18
22
  * @hidden
19
23
  */
@@ -21,4 +25,5 @@ exports.messages = (_a = {},
21
25
  _a[exports.clear] = 'clear',
22
26
  _a[exports.expandButton] = 'expand button',
23
27
  _a[exports.nodata] = 'NO DATA FOUND.',
28
+ _a[exports.selectButton] = 'Select',
24
29
  _a);
@@ -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: 1669966396,
11
+ publishDate: 1673273441,
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.7.4-dev.202212020747",
4
+ "version": "3.7.4-dev.202301091431",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -44,19 +44,21 @@
44
44
  "framework": "Kendo UI for Vue"
45
45
  },
46
46
  "peerDependencies": {
47
- "@progress/kendo-licensing": "^1.1.0",
47
+ "@progress/kendo-licensing": "^1.3.0",
48
+ "@progress/kendo-svg-icons": "^1.0.0",
48
49
  "@progress/kendo-vue-intl": "^3.6.0",
49
50
  "vue": "^2.6.12 || ^3.0.2"
50
51
  },
51
52
  "dependencies": {
52
- "@progress/kendo-vue-buttons": "3.7.4-dev.202212020747",
53
- "@progress/kendo-vue-common": "3.7.4-dev.202212020747",
54
- "@progress/kendo-vue-popup": "3.7.4-dev.202212020747"
53
+ "@progress/kendo-vue-buttons": "3.7.4-dev.202301091431",
54
+ "@progress/kendo-vue-common": "3.7.4-dev.202301091431",
55
+ "@progress/kendo-vue-popup": "3.7.4-dev.202301091431"
55
56
  },
56
57
  "devDependencies": {
57
58
  "@progress/kendo-data-query": "^1.5.4",
58
- "@progress/kendo-licensing": "^1.1.0",
59
- "@progress/kendo-vue-intl": "3.7.4-dev.202212020747"
59
+ "@progress/kendo-licensing": "^1.3.0",
60
+ "@progress/kendo-svg-icons": "^1.0.0",
61
+ "@progress/kendo-vue-intl": "3.7.4-dev.202301091431"
60
62
  },
61
63
  "author": "Progress",
62
64
  "license": "SEE LICENSE IN LICENSE.md",