@progress/kendo-vue-dropdowns 3.7.4-dev.202212300853 → 3.7.4-dev.202301120847
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.
- package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
- package/dist/es/ComboBox/ComboBox.js +7 -2
- package/dist/es/DropDownList/DropDownList.js +19 -5
- package/dist/es/MultiSelect/MultiSelect.js +4 -1
- package/dist/es/MultiSelect/TagList.js +4 -3
- package/dist/es/common/ClearButton.js +5 -2
- package/dist/es/common/ListFilter.js +4 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/ComboBox/ComboBox.js +7 -2
- package/dist/esm/DropDownList/DropDownList.js +19 -5
- package/dist/esm/MultiSelect/MultiSelect.js +4 -1
- package/dist/esm/MultiSelect/TagList.js +4 -3
- package/dist/esm/common/ClearButton.js +5 -2
- package/dist/esm/common/ListFilter.js +4 -1
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/ComboBox/ComboBox.js +7 -2
- package/dist/npm/DropDownList/DropDownList.js +19 -5
- package/dist/npm/MultiSelect/MultiSelect.js +4 -1
- package/dist/npm/MultiSelect/TagList.js +4 -3
- package/dist/npm/common/ClearButton.js +5 -2
- package/dist/npm/common/ListFilter.js +4 -1
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +9 -7
|
@@ -29,6 +29,7 @@ import { List } from '../common/List';
|
|
|
29
29
|
import { ClearButton } from '../common/ClearButton';
|
|
30
30
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
31
31
|
import { expandButton, messages } from '../messages/main';
|
|
32
|
+
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
32
33
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
33
34
|
/**
|
|
34
35
|
* @hidden
|
|
@@ -948,7 +949,9 @@ var ComboBoxVue2 = {
|
|
|
948
949
|
size: size,
|
|
949
950
|
fillMode: fillMode,
|
|
950
951
|
rounded: null,
|
|
951
|
-
|
|
952
|
+
icon: 'caret-alt-down',
|
|
953
|
+
svgIcon: caretAltDownIcon,
|
|
954
|
+
iconClass: iconClassName
|
|
952
955
|
},
|
|
953
956
|
tabIndex: -1,
|
|
954
957
|
"aria-label": ariaLabelExpandButton,
|
|
@@ -956,7 +959,9 @@ var ComboBoxVue2 = {
|
|
|
956
959
|
fillMode: fillMode,
|
|
957
960
|
rounded: null,
|
|
958
961
|
"class": 'k-input-button',
|
|
959
|
-
|
|
962
|
+
icon: 'caret-alt-down',
|
|
963
|
+
svgIcon: caretAltDownIcon,
|
|
964
|
+
iconClass: iconClassName,
|
|
960
965
|
onClick: this.toggleBtnClick,
|
|
961
966
|
on: this.v3 ? undefined : {
|
|
962
967
|
"click": this.toggleBtnClick,
|
|
@@ -28,6 +28,7 @@ import DropDownBase from '../common/DropDownBase';
|
|
|
28
28
|
import { selectButton, messages } from '../messages/main';
|
|
29
29
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
30
30
|
import { isPresent, getItemValue, sameCharsOnly, shuffleData, matchText, areSame, preventDefaultNonInputs, getFocusedItem } from '../common/utils';
|
|
31
|
+
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
31
32
|
var VALIDATION_MESSAGE = 'Please select a value from the list!';
|
|
32
33
|
/**
|
|
33
34
|
* @hidden
|
|
@@ -325,6 +326,11 @@ var DropDownListVue2 = {
|
|
|
325
326
|
'k-rtl': this.$props.dir === 'rtl'
|
|
326
327
|
};
|
|
327
328
|
}
|
|
329
|
+
},
|
|
330
|
+
dropDownListId: {
|
|
331
|
+
get: function get() {
|
|
332
|
+
return "value-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : '');
|
|
333
|
+
}
|
|
328
334
|
}
|
|
329
335
|
},
|
|
330
336
|
methods: {
|
|
@@ -718,7 +724,11 @@ var DropDownListVue2 = {
|
|
|
718
724
|
return areSame(i, value, dataItemKey);
|
|
719
725
|
});
|
|
720
726
|
var valueDefaultRendering = h("span", {
|
|
721
|
-
"class": "k-input-inner"
|
|
727
|
+
"class": "k-input-inner",
|
|
728
|
+
id: this.dropDownListId,
|
|
729
|
+
attrs: this.v3 ? undefined : {
|
|
730
|
+
id: this.dropDownListId
|
|
731
|
+
}
|
|
722
732
|
}, [h("span", {
|
|
723
733
|
"class": "k-input-value-text"
|
|
724
734
|
}, [text])]);
|
|
@@ -961,7 +971,7 @@ var DropDownListVue2 = {
|
|
|
961
971
|
"aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
|
|
962
972
|
"aria-label": this.$props.ariaLabel || this.$props.label,
|
|
963
973
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
964
|
-
"aria-
|
|
974
|
+
"aria-describedBy": this.dropDownListId,
|
|
965
975
|
title: this.$props.title
|
|
966
976
|
},
|
|
967
977
|
onMousedown: opened ? preventDefaultNonInputs : noop,
|
|
@@ -988,7 +998,7 @@ var DropDownListVue2 = {
|
|
|
988
998
|
"aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
|
|
989
999
|
"aria-label": this.$props.ariaLabel || this.$props.label,
|
|
990
1000
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
991
|
-
"aria-
|
|
1001
|
+
"aria-describedBy": this.dropDownListId,
|
|
992
1002
|
title: this.$props.title
|
|
993
1003
|
}, [valueElement, loading && h(Icon, {
|
|
994
1004
|
name: 'loading',
|
|
@@ -1008,7 +1018,9 @@ var DropDownListVue2 = {
|
|
|
1008
1018
|
fillMode: fillMode,
|
|
1009
1019
|
rounded: null,
|
|
1010
1020
|
ariaLabel: ariaLabelSelectButton,
|
|
1011
|
-
|
|
1021
|
+
icon: 'caret-alt-down',
|
|
1022
|
+
svgIcon: caretAltDownIcon,
|
|
1023
|
+
iconClass: iconClassName,
|
|
1012
1024
|
"aria-hidden": true
|
|
1013
1025
|
},
|
|
1014
1026
|
tabIndex: -1,
|
|
@@ -1017,7 +1029,9 @@ var DropDownListVue2 = {
|
|
|
1017
1029
|
rounded: null,
|
|
1018
1030
|
ariaLabel: ariaLabelSelectButton,
|
|
1019
1031
|
"class": 'k-input-button',
|
|
1020
|
-
|
|
1032
|
+
icon: 'caret-alt-down',
|
|
1033
|
+
svgIcon: caretAltDownIcon,
|
|
1034
|
+
iconClass: iconClassName,
|
|
1021
1035
|
"aria-hidden": true
|
|
1022
1036
|
}), dummySelect.call(this, value), renderListContainer.call(this)]);
|
|
1023
1037
|
return label ? h("span", {
|
|
@@ -36,6 +36,7 @@ import DropDownBase from '../common/DropDownBase';
|
|
|
36
36
|
import { ClearButton } from '../common/ClearButton';
|
|
37
37
|
import { ActiveDescendant } from './../common/settings';
|
|
38
38
|
import { itemIndexStartsWith, getItemValue, areSame, matchDataCollections, removeDataItems, isPresent, preventDefaultNonInputs } from '../common/utils';
|
|
39
|
+
import { plusIcon } from '@progress/kendo-svg-icons';
|
|
39
40
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
40
41
|
var preventDefault = function preventDefault(event) {
|
|
41
42
|
return event.preventDefault();
|
|
@@ -1027,8 +1028,10 @@ var MultiSelectVue2 = {
|
|
|
1027
1028
|
}, [currentText, h(Icon, {
|
|
1028
1029
|
name: "plus",
|
|
1029
1030
|
attrs: this.v3 ? undefined : {
|
|
1030
|
-
name: "plus"
|
|
1031
|
+
name: "plus",
|
|
1032
|
+
icon: plusIcon
|
|
1031
1033
|
},
|
|
1034
|
+
icon: plusIcon,
|
|
1032
1035
|
style: {
|
|
1033
1036
|
float: 'right'
|
|
1034
1037
|
}
|
|
@@ -64,9 +64,8 @@ var TagListVue2 = {
|
|
|
64
64
|
size = _b.size,
|
|
65
65
|
disabled = _b.disabled;
|
|
66
66
|
return _a = {
|
|
67
|
-
'k-input-values': true,
|
|
68
67
|
'k-chip-list': true
|
|
69
|
-
}, _a["k-chip-list-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-
|
|
68
|
+
}, _a["k-chip-list-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-disabled'] = disabled, _a;
|
|
70
69
|
}
|
|
71
70
|
},
|
|
72
71
|
// @ts-ignore
|
|
@@ -92,6 +91,8 @@ var TagListVue2 = {
|
|
|
92
91
|
tagsRounded = _a.tagsRounded,
|
|
93
92
|
removeTagIcon = _a.removeTagIcon;
|
|
94
93
|
return h("div", {
|
|
94
|
+
"class": 'k-input-values'
|
|
95
|
+
}, [h("div", {
|
|
95
96
|
"class": this.wrapperClass,
|
|
96
97
|
role: "listbox",
|
|
97
98
|
attrs: this.v3 ? undefined : {
|
|
@@ -152,7 +153,7 @@ var TagListVue2 = {
|
|
|
152
153
|
tagdelete: this.onTagDelete
|
|
153
154
|
}
|
|
154
155
|
});
|
|
155
|
-
}, this), defaultSlot]);
|
|
156
|
+
}, this), defaultSlot])]);
|
|
156
157
|
}
|
|
157
158
|
};
|
|
158
159
|
/**
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var inject = allVue.inject;
|
|
7
|
+
import { xIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
8
9
|
import { messages, clear } from '../messages/main';
|
|
9
10
|
import { Icon } from '@progress/kendo-vue-common';
|
|
@@ -58,8 +59,10 @@ var ClearButtonVue2 = {
|
|
|
58
59
|
}, [h(Icon, {
|
|
59
60
|
name: "x",
|
|
60
61
|
attrs: this.v3 ? undefined : {
|
|
61
|
-
name: "x"
|
|
62
|
-
|
|
62
|
+
name: "x",
|
|
63
|
+
icon: xIcon
|
|
64
|
+
},
|
|
65
|
+
icon: xIcon
|
|
63
66
|
})]);
|
|
64
67
|
}
|
|
65
68
|
};
|
|
@@ -5,6 +5,7 @@ var gh = allVue.h;
|
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
import { getRef, Icon, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
8
|
+
import { searchIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
9
10
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
10
11
|
/**
|
|
@@ -83,8 +84,10 @@ var ListFilterVue2 = {
|
|
|
83
84
|
}, [h(Icon, {
|
|
84
85
|
name: "search",
|
|
85
86
|
attrs: this.v3 ? undefined : {
|
|
86
|
-
name: "search"
|
|
87
|
+
name: "search",
|
|
88
|
+
icon: searchIcon
|
|
87
89
|
},
|
|
90
|
+
icon: searchIcon,
|
|
88
91
|
"class": "k-input-icon"
|
|
89
92
|
}), h("input", {
|
|
90
93
|
ref: setRef(this, 'input'),
|
|
@@ -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:
|
|
8
|
+
publishDate: 1673512056,
|
|
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
|
};
|
|
@@ -29,6 +29,7 @@ import { List } from '../common/List.js';
|
|
|
29
29
|
import { ClearButton } from '../common/ClearButton.js';
|
|
30
30
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
31
31
|
import { expandButton, messages } from '../messages/main.js';
|
|
32
|
+
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
32
33
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
33
34
|
/**
|
|
34
35
|
* @hidden
|
|
@@ -948,7 +949,9 @@ var ComboBoxVue2 = {
|
|
|
948
949
|
size: size,
|
|
949
950
|
fillMode: fillMode,
|
|
950
951
|
rounded: null,
|
|
951
|
-
|
|
952
|
+
icon: 'caret-alt-down',
|
|
953
|
+
svgIcon: caretAltDownIcon,
|
|
954
|
+
iconClass: iconClassName
|
|
952
955
|
},
|
|
953
956
|
tabIndex: -1,
|
|
954
957
|
"aria-label": ariaLabelExpandButton,
|
|
@@ -956,7 +959,9 @@ var ComboBoxVue2 = {
|
|
|
956
959
|
fillMode: fillMode,
|
|
957
960
|
rounded: null,
|
|
958
961
|
"class": 'k-input-button',
|
|
959
|
-
|
|
962
|
+
icon: 'caret-alt-down',
|
|
963
|
+
svgIcon: caretAltDownIcon,
|
|
964
|
+
iconClass: iconClassName,
|
|
960
965
|
onClick: this.toggleBtnClick,
|
|
961
966
|
on: this.v3 ? undefined : {
|
|
962
967
|
"click": this.toggleBtnClick,
|
|
@@ -28,6 +28,7 @@ import DropDownBase from '../common/DropDownBase.js';
|
|
|
28
28
|
import { selectButton, messages } from '../messages/main.js';
|
|
29
29
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
30
30
|
import { isPresent, getItemValue, sameCharsOnly, shuffleData, matchText, areSame, preventDefaultNonInputs, getFocusedItem } from '../common/utils.js';
|
|
31
|
+
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
31
32
|
var VALIDATION_MESSAGE = 'Please select a value from the list!';
|
|
32
33
|
/**
|
|
33
34
|
* @hidden
|
|
@@ -325,6 +326,11 @@ var DropDownListVue2 = {
|
|
|
325
326
|
'k-rtl': this.$props.dir === 'rtl'
|
|
326
327
|
};
|
|
327
328
|
}
|
|
329
|
+
},
|
|
330
|
+
dropDownListId: {
|
|
331
|
+
get: function get() {
|
|
332
|
+
return "value-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : '');
|
|
333
|
+
}
|
|
328
334
|
}
|
|
329
335
|
},
|
|
330
336
|
methods: {
|
|
@@ -718,7 +724,11 @@ var DropDownListVue2 = {
|
|
|
718
724
|
return areSame(i, value, dataItemKey);
|
|
719
725
|
});
|
|
720
726
|
var valueDefaultRendering = h("span", {
|
|
721
|
-
"class": "k-input-inner"
|
|
727
|
+
"class": "k-input-inner",
|
|
728
|
+
id: this.dropDownListId,
|
|
729
|
+
attrs: this.v3 ? undefined : {
|
|
730
|
+
id: this.dropDownListId
|
|
731
|
+
}
|
|
722
732
|
}, [h("span", {
|
|
723
733
|
"class": "k-input-value-text"
|
|
724
734
|
}, [text])]);
|
|
@@ -961,7 +971,7 @@ var DropDownListVue2 = {
|
|
|
961
971
|
"aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
|
|
962
972
|
"aria-label": this.$props.ariaLabel || this.$props.label,
|
|
963
973
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
964
|
-
"aria-
|
|
974
|
+
"aria-describedBy": this.dropDownListId,
|
|
965
975
|
title: this.$props.title
|
|
966
976
|
},
|
|
967
977
|
onMousedown: opened ? preventDefaultNonInputs : noop,
|
|
@@ -988,7 +998,7 @@ var DropDownListVue2 = {
|
|
|
988
998
|
"aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
|
|
989
999
|
"aria-label": this.$props.ariaLabel || this.$props.label,
|
|
990
1000
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
991
|
-
"aria-
|
|
1001
|
+
"aria-describedBy": this.dropDownListId,
|
|
992
1002
|
title: this.$props.title
|
|
993
1003
|
}, [valueElement, loading && h(Icon, {
|
|
994
1004
|
name: 'loading',
|
|
@@ -1008,7 +1018,9 @@ var DropDownListVue2 = {
|
|
|
1008
1018
|
fillMode: fillMode,
|
|
1009
1019
|
rounded: null,
|
|
1010
1020
|
ariaLabel: ariaLabelSelectButton,
|
|
1011
|
-
|
|
1021
|
+
icon: 'caret-alt-down',
|
|
1022
|
+
svgIcon: caretAltDownIcon,
|
|
1023
|
+
iconClass: iconClassName,
|
|
1012
1024
|
"aria-hidden": true
|
|
1013
1025
|
},
|
|
1014
1026
|
tabIndex: -1,
|
|
@@ -1017,7 +1029,9 @@ var DropDownListVue2 = {
|
|
|
1017
1029
|
rounded: null,
|
|
1018
1030
|
ariaLabel: ariaLabelSelectButton,
|
|
1019
1031
|
"class": 'k-input-button',
|
|
1020
|
-
|
|
1032
|
+
icon: 'caret-alt-down',
|
|
1033
|
+
svgIcon: caretAltDownIcon,
|
|
1034
|
+
iconClass: iconClassName,
|
|
1021
1035
|
"aria-hidden": true
|
|
1022
1036
|
}), dummySelect.call(this, value), renderListContainer.call(this)]);
|
|
1023
1037
|
return label ? h("span", {
|
|
@@ -36,6 +36,7 @@ import DropDownBase from '../common/DropDownBase.js';
|
|
|
36
36
|
import { ClearButton } from '../common/ClearButton.js';
|
|
37
37
|
import { ActiveDescendant } from './../common/settings.js';
|
|
38
38
|
import { itemIndexStartsWith, getItemValue, areSame, matchDataCollections, removeDataItems, isPresent, preventDefaultNonInputs } from '../common/utils.js';
|
|
39
|
+
import { plusIcon } from '@progress/kendo-svg-icons';
|
|
39
40
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
40
41
|
var preventDefault = function preventDefault(event) {
|
|
41
42
|
return event.preventDefault();
|
|
@@ -1027,8 +1028,10 @@ var MultiSelectVue2 = {
|
|
|
1027
1028
|
}, [currentText, h(Icon, {
|
|
1028
1029
|
name: "plus",
|
|
1029
1030
|
attrs: this.v3 ? undefined : {
|
|
1030
|
-
name: "plus"
|
|
1031
|
+
name: "plus",
|
|
1032
|
+
icon: plusIcon
|
|
1031
1033
|
},
|
|
1034
|
+
icon: plusIcon,
|
|
1032
1035
|
style: {
|
|
1033
1036
|
float: 'right'
|
|
1034
1037
|
}
|
|
@@ -64,9 +64,8 @@ var TagListVue2 = {
|
|
|
64
64
|
size = _b.size,
|
|
65
65
|
disabled = _b.disabled;
|
|
66
66
|
return _a = {
|
|
67
|
-
'k-input-values': true,
|
|
68
67
|
'k-chip-list': true
|
|
69
|
-
}, _a["k-chip-list-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-
|
|
68
|
+
}, _a["k-chip-list-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a['k-disabled'] = disabled, _a;
|
|
70
69
|
}
|
|
71
70
|
},
|
|
72
71
|
// @ts-ignore
|
|
@@ -92,6 +91,8 @@ var TagListVue2 = {
|
|
|
92
91
|
tagsRounded = _a.tagsRounded,
|
|
93
92
|
removeTagIcon = _a.removeTagIcon;
|
|
94
93
|
return h("div", {
|
|
94
|
+
"class": 'k-input-values'
|
|
95
|
+
}, [h("div", {
|
|
95
96
|
"class": this.wrapperClass,
|
|
96
97
|
role: "listbox",
|
|
97
98
|
attrs: this.v3 ? undefined : {
|
|
@@ -152,7 +153,7 @@ var TagListVue2 = {
|
|
|
152
153
|
tagdelete: this.onTagDelete
|
|
153
154
|
}
|
|
154
155
|
});
|
|
155
|
-
}, this), defaultSlot]);
|
|
156
|
+
}, this), defaultSlot])]);
|
|
156
157
|
}
|
|
157
158
|
};
|
|
158
159
|
/**
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var inject = allVue.inject;
|
|
7
|
+
import { xIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
8
9
|
import { messages, clear } from '../messages/main.js';
|
|
9
10
|
import { Icon } from '@progress/kendo-vue-common';
|
|
@@ -58,8 +59,10 @@ var ClearButtonVue2 = {
|
|
|
58
59
|
}, [h(Icon, {
|
|
59
60
|
name: "x",
|
|
60
61
|
attrs: this.v3 ? undefined : {
|
|
61
|
-
name: "x"
|
|
62
|
-
|
|
62
|
+
name: "x",
|
|
63
|
+
icon: xIcon
|
|
64
|
+
},
|
|
65
|
+
icon: xIcon
|
|
63
66
|
})]);
|
|
64
67
|
}
|
|
65
68
|
};
|
|
@@ -5,6 +5,7 @@ var gh = allVue.h;
|
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
import { getRef, Icon, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
8
|
+
import { searchIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
9
10
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
10
11
|
/**
|
|
@@ -83,8 +84,10 @@ var ListFilterVue2 = {
|
|
|
83
84
|
}, [h(Icon, {
|
|
84
85
|
name: "search",
|
|
85
86
|
attrs: this.v3 ? undefined : {
|
|
86
|
-
name: "search"
|
|
87
|
+
name: "search",
|
|
88
|
+
icon: searchIcon
|
|
87
89
|
},
|
|
90
|
+
icon: searchIcon,
|
|
88
91
|
"class": "k-input-icon"
|
|
89
92
|
}), h("input", {
|
|
90
93
|
ref: setRef(this, 'input'),
|
|
@@ -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:
|
|
8
|
+
publishDate: 1673512056,
|
|
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
|
};
|
|
@@ -35,6 +35,7 @@ var List_1 = require("../common/List");
|
|
|
35
35
|
var ClearButton_1 = require("../common/ClearButton");
|
|
36
36
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
37
37
|
var main_1 = require("../messages/main");
|
|
38
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
38
39
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
39
40
|
/**
|
|
40
41
|
* @hidden
|
|
@@ -954,7 +955,9 @@ var ComboBoxVue2 = {
|
|
|
954
955
|
size: size,
|
|
955
956
|
fillMode: fillMode,
|
|
956
957
|
rounded: null,
|
|
957
|
-
|
|
958
|
+
icon: 'caret-alt-down',
|
|
959
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
960
|
+
iconClass: iconClassName
|
|
958
961
|
},
|
|
959
962
|
tabIndex: -1,
|
|
960
963
|
"aria-label": ariaLabelExpandButton,
|
|
@@ -962,7 +965,9 @@ var ComboBoxVue2 = {
|
|
|
962
965
|
fillMode: fillMode,
|
|
963
966
|
rounded: null,
|
|
964
967
|
"class": 'k-input-button',
|
|
965
|
-
|
|
968
|
+
icon: 'caret-alt-down',
|
|
969
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
970
|
+
iconClass: iconClassName,
|
|
966
971
|
onClick: this.toggleBtnClick,
|
|
967
972
|
on: this.v3 ? undefined : {
|
|
968
973
|
"click": this.toggleBtnClick,
|
|
@@ -34,6 +34,7 @@ var DropDownBase_1 = require("../common/DropDownBase");
|
|
|
34
34
|
var main_1 = require("../messages/main");
|
|
35
35
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
36
36
|
var utils_1 = require("../common/utils");
|
|
37
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
37
38
|
var VALIDATION_MESSAGE = 'Please select a value from the list!';
|
|
38
39
|
/**
|
|
39
40
|
* @hidden
|
|
@@ -331,6 +332,11 @@ var DropDownListVue2 = {
|
|
|
331
332
|
'k-rtl': this.$props.dir === 'rtl'
|
|
332
333
|
};
|
|
333
334
|
}
|
|
335
|
+
},
|
|
336
|
+
dropDownListId: {
|
|
337
|
+
get: function get() {
|
|
338
|
+
return "value-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : '');
|
|
339
|
+
}
|
|
334
340
|
}
|
|
335
341
|
},
|
|
336
342
|
methods: {
|
|
@@ -724,7 +730,11 @@ var DropDownListVue2 = {
|
|
|
724
730
|
return (0, utils_1.areSame)(i, value, dataItemKey);
|
|
725
731
|
});
|
|
726
732
|
var valueDefaultRendering = h("span", {
|
|
727
|
-
"class": "k-input-inner"
|
|
733
|
+
"class": "k-input-inner",
|
|
734
|
+
id: this.dropDownListId,
|
|
735
|
+
attrs: this.v3 ? undefined : {
|
|
736
|
+
id: this.dropDownListId
|
|
737
|
+
}
|
|
728
738
|
}, [h("span", {
|
|
729
739
|
"class": "k-input-value-text"
|
|
730
740
|
}, [text])]);
|
|
@@ -967,7 +977,7 @@ var DropDownListVue2 = {
|
|
|
967
977
|
"aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
|
|
968
978
|
"aria-label": this.$props.ariaLabel || this.$props.label,
|
|
969
979
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
970
|
-
"aria-
|
|
980
|
+
"aria-describedBy": this.dropDownListId,
|
|
971
981
|
title: this.$props.title
|
|
972
982
|
},
|
|
973
983
|
onMousedown: opened ? utils_1.preventDefaultNonInputs : kendo_vue_common_1.noop,
|
|
@@ -994,7 +1004,7 @@ var DropDownListVue2 = {
|
|
|
994
1004
|
"aria-activedescendant": opened ? 'option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0)) : undefined,
|
|
995
1005
|
"aria-label": this.$props.ariaLabel || this.$props.label,
|
|
996
1006
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
997
|
-
"aria-
|
|
1007
|
+
"aria-describedBy": this.dropDownListId,
|
|
998
1008
|
title: this.$props.title
|
|
999
1009
|
}, [valueElement, loading && h(kendo_vue_common_1.Icon, {
|
|
1000
1010
|
name: 'loading',
|
|
@@ -1014,7 +1024,9 @@ var DropDownListVue2 = {
|
|
|
1014
1024
|
fillMode: fillMode,
|
|
1015
1025
|
rounded: null,
|
|
1016
1026
|
ariaLabel: ariaLabelSelectButton,
|
|
1017
|
-
|
|
1027
|
+
icon: 'caret-alt-down',
|
|
1028
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
1029
|
+
iconClass: iconClassName,
|
|
1018
1030
|
"aria-hidden": true
|
|
1019
1031
|
},
|
|
1020
1032
|
tabIndex: -1,
|
|
@@ -1023,7 +1035,9 @@ var DropDownListVue2 = {
|
|
|
1023
1035
|
rounded: null,
|
|
1024
1036
|
ariaLabel: ariaLabelSelectButton,
|
|
1025
1037
|
"class": 'k-input-button',
|
|
1026
|
-
|
|
1038
|
+
icon: 'caret-alt-down',
|
|
1039
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
1040
|
+
iconClass: iconClassName,
|
|
1027
1041
|
"aria-hidden": true
|
|
1028
1042
|
}), dummySelect.call(this, value), renderListContainer.call(this)]);
|
|
1029
1043
|
return label ? h("span", {
|
|
@@ -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();
|
|
@@ -1033,8 +1034,10 @@ var MultiSelectVue2 = {
|
|
|
1033
1034
|
}, [currentText, h(kendo_vue_common_1.Icon, {
|
|
1034
1035
|
name: "plus",
|
|
1035
1036
|
attrs: this.v3 ? undefined : {
|
|
1036
|
-
name: "plus"
|
|
1037
|
+
name: "plus",
|
|
1038
|
+
icon: kendo_svg_icons_1.plusIcon
|
|
1037
1039
|
},
|
|
1040
|
+
icon: kendo_svg_icons_1.plusIcon,
|
|
1038
1041
|
style: {
|
|
1039
1042
|
float: 'right'
|
|
1040
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-
|
|
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,6 +10,7 @@ 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");
|
|
15
16
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
@@ -64,8 +65,10 @@ var ClearButtonVue2 = {
|
|
|
64
65
|
}, [h(kendo_vue_common_1.Icon, {
|
|
65
66
|
name: "x",
|
|
66
67
|
attrs: this.v3 ? undefined : {
|
|
67
|
-
name: "x"
|
|
68
|
-
|
|
68
|
+
name: "x",
|
|
69
|
+
icon: kendo_svg_icons_1.xIcon
|
|
70
|
+
},
|
|
71
|
+
icon: kendo_svg_icons_1.xIcon
|
|
69
72
|
})]);
|
|
70
73
|
}
|
|
71
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
|
/**
|
|
@@ -89,8 +90,10 @@ var ListFilterVue2 = {
|
|
|
89
90
|
}, [h(kendo_vue_common_1.Icon, {
|
|
90
91
|
name: "search",
|
|
91
92
|
attrs: this.v3 ? undefined : {
|
|
92
|
-
name: "search"
|
|
93
|
+
name: "search",
|
|
94
|
+
icon: kendo_svg_icons_1.searchIcon
|
|
93
95
|
},
|
|
96
|
+
icon: kendo_svg_icons_1.searchIcon,
|
|
94
97
|
"class": "k-input-icon"
|
|
95
98
|
}), h("input", {
|
|
96
99
|
ref: (0, kendo_vue_common_1.setRef)(this, 'input'),
|
|
@@ -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:
|
|
11
|
+
publishDate: 1673512056,
|
|
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.
|
|
4
|
+
"version": "3.7.4-dev.202301120847",
|
|
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.
|
|
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.
|
|
53
|
-
"@progress/kendo-vue-common": "3.7.4-dev.
|
|
54
|
-
"@progress/kendo-vue-popup": "3.7.4-dev.
|
|
53
|
+
"@progress/kendo-vue-buttons": "3.7.4-dev.202301120847",
|
|
54
|
+
"@progress/kendo-vue-common": "3.7.4-dev.202301120847",
|
|
55
|
+
"@progress/kendo-vue-popup": "3.7.4-dev.202301120847"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@progress/kendo-data-query": "^1.5.4",
|
|
58
|
-
"@progress/kendo-licensing": "^1.
|
|
59
|
-
"@progress/kendo-
|
|
59
|
+
"@progress/kendo-licensing": "^1.3.0",
|
|
60
|
+
"@progress/kendo-svg-icons": "^1.0.0",
|
|
61
|
+
"@progress/kendo-vue-intl": "3.7.4-dev.202301120847"
|
|
60
62
|
},
|
|
61
63
|
"author": "Progress",
|
|
62
64
|
"license": "SEE LICENSE IN LICENSE.md",
|