@progress/kendo-vue-dropdowns 3.7.4-dev.202212020747 → 3.7.4-dev.202212300853
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/README.md +1 -1
- package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
- package/dist/es/AutoComplete/AutoComplete.js +3 -3
- package/dist/es/ComboBox/ComboBox.js +7 -3
- package/dist/es/DropDownList/DropDownList.js +17 -3
- package/dist/es/MultiSelect/MultiSelect.js +14 -7
- package/dist/es/common/ClearButton.js +6 -2
- package/dist/es/common/ListFilter.js +7 -3
- package/dist/es/messages/main.d.ts +5 -0
- package/dist/es/messages/main.js +5 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/AutoComplete/AutoComplete.js +3 -3
- package/dist/esm/ComboBox/ComboBox.js +7 -3
- package/dist/esm/DropDownList/DropDownList.js +17 -3
- package/dist/esm/MultiSelect/MultiSelect.js +14 -7
- package/dist/esm/common/ClearButton.js +6 -2
- package/dist/esm/common/ListFilter.js +7 -3
- package/dist/esm/messages/main.d.ts +5 -0
- package/dist/esm/messages/main.js +5 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/AutoComplete/AutoComplete.js +2 -2
- package/dist/npm/ComboBox/ComboBox.js +6 -2
- package/dist/npm/DropDownList/DropDownList.js +16 -2
- package/dist/npm/MultiSelect/MultiSelect.js +13 -6
- package/dist/npm/common/ClearButton.js +6 -2
- package/dist/npm/common/ListFilter.js +6 -2
- package/dist/npm/messages/main.d.ts +5 -0
- package/dist/npm/messages/main.js +6 -1
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +5 -5
|
@@ -22,7 +22,7 @@ import { List } from './../common/List';
|
|
|
22
22
|
import DropDownBase from '../common/DropDownBase';
|
|
23
23
|
import { ClearButton } from '../common/ClearButton';
|
|
24
24
|
import { itemIndexStartsWith, getItemValue, areSame, getFocusedItem } from '../common/utils';
|
|
25
|
-
import { guid, Keys, classNames, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef } from '@progress/kendo-vue-common';
|
|
25
|
+
import { guid, Keys, classNames, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
26
26
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
27
27
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
28
28
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
@@ -676,8 +676,8 @@ var AutoCompleteVue2 = {
|
|
|
676
676
|
};
|
|
677
677
|
var renderLoading = function renderLoading(cloading) {
|
|
678
678
|
if (cloading) {
|
|
679
|
-
return h(
|
|
680
|
-
"class": "k-
|
|
679
|
+
return h(Icon, {
|
|
680
|
+
"class": "k-input-loading-icon"
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
683
|
return h("span");
|
|
@@ -18,7 +18,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
18
18
|
var ref = allVue.ref;
|
|
19
19
|
var inject = allVue.inject;
|
|
20
20
|
import DropDownBase from '../common/DropDownBase';
|
|
21
|
-
import { guid, classNames, Keys, templateRendering, getListeners, getTemplate, kendoThemeMaps, getRef, setRef } from '@progress/kendo-vue-common';
|
|
21
|
+
import { guid, classNames, Keys, templateRendering, getListeners, getTemplate, kendoThemeMaps, getRef, setRef, Icon } from '@progress/kendo-vue-common';
|
|
22
22
|
import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
23
23
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
24
24
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
@@ -930,8 +930,12 @@ var ComboBoxVue2 = {
|
|
|
930
930
|
"clearclick": this.clearButtonClick
|
|
931
931
|
},
|
|
932
932
|
key: "clearbutton"
|
|
933
|
-
}), loading && h(
|
|
934
|
-
|
|
933
|
+
}), loading && h(Icon, {
|
|
934
|
+
name: 'loading',
|
|
935
|
+
attrs: this.v3 ? undefined : {
|
|
936
|
+
name: 'loading'
|
|
937
|
+
},
|
|
938
|
+
"class": "k-input-loading-icon",
|
|
935
939
|
key: "loading"
|
|
936
940
|
}),
|
|
937
941
|
// @ts-ignore
|
|
@@ -16,7 +16,7 @@ var allVue = Vue;
|
|
|
16
16
|
var gh = allVue.h;
|
|
17
17
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
18
18
|
var ref = allVue.ref;
|
|
19
|
-
import { templateRendering, getListeners, classNames, Keys, guid, noop, getTemplate, kendoThemeMaps, getTabIndex, setRef, getRef } from '@progress/kendo-vue-common';
|
|
19
|
+
import { templateRendering, getListeners, classNames, Keys, guid, noop, getTemplate, kendoThemeMaps, getTabIndex, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
20
20
|
import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
21
21
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
22
22
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
@@ -25,6 +25,8 @@ import { ListFilter } from '../common/ListFilter';
|
|
|
25
25
|
import { ListDefaultItem } from '../common/ListDefaultItem';
|
|
26
26
|
import { List } from '../common/List';
|
|
27
27
|
import DropDownBase from '../common/DropDownBase';
|
|
28
|
+
import { selectButton, messages } from '../messages/main';
|
|
29
|
+
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
28
30
|
import { isPresent, getItemValue, sameCharsOnly, shuffleData, matchText, areSame, preventDefaultNonInputs, getFocusedItem } from '../common/utils';
|
|
29
31
|
var VALIDATION_MESSAGE = 'Please select a value from the list!';
|
|
30
32
|
/**
|
|
@@ -160,6 +162,11 @@ var DropDownListVue2 = {
|
|
|
160
162
|
}
|
|
161
163
|
}
|
|
162
164
|
},
|
|
165
|
+
inject: {
|
|
166
|
+
kendoLocalizationService: {
|
|
167
|
+
default: null
|
|
168
|
+
}
|
|
169
|
+
},
|
|
163
170
|
data: function data() {
|
|
164
171
|
return {
|
|
165
172
|
hasMounted: false,
|
|
@@ -695,6 +702,7 @@ var DropDownListVue2 = {
|
|
|
695
702
|
animate: true,
|
|
696
703
|
height: '200px'
|
|
697
704
|
}, this.$props.popupSettings);
|
|
705
|
+
var ariaLabelSelectButton = provideLocalizationService(this).toLanguageString(selectButton, messages[selectButton]);
|
|
698
706
|
var _d = this.$props,
|
|
699
707
|
dataItemKey = _d.dataItemKey,
|
|
700
708
|
_e = _d.dataItems,
|
|
@@ -982,8 +990,12 @@ var DropDownListVue2 = {
|
|
|
982
990
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
983
991
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
984
992
|
title: this.$props.title
|
|
985
|
-
}, [valueElement, loading && h(
|
|
986
|
-
|
|
993
|
+
}, [valueElement, loading && h(Icon, {
|
|
994
|
+
name: 'loading',
|
|
995
|
+
attrs: this.v3 ? undefined : {
|
|
996
|
+
name: 'loading'
|
|
997
|
+
},
|
|
998
|
+
"class": "k-input-loading-icon",
|
|
987
999
|
key: "loading"
|
|
988
1000
|
}),
|
|
989
1001
|
// @ts-ignore
|
|
@@ -995,6 +1007,7 @@ var DropDownListVue2 = {
|
|
|
995
1007
|
size: size,
|
|
996
1008
|
fillMode: fillMode,
|
|
997
1009
|
rounded: null,
|
|
1010
|
+
ariaLabel: ariaLabelSelectButton,
|
|
998
1011
|
iconClass: classNames('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
|
|
999
1012
|
"aria-hidden": true
|
|
1000
1013
|
},
|
|
@@ -1002,6 +1015,7 @@ var DropDownListVue2 = {
|
|
|
1002
1015
|
size: size,
|
|
1003
1016
|
fillMode: fillMode,
|
|
1004
1017
|
rounded: null,
|
|
1018
|
+
ariaLabel: ariaLabelSelectButton,
|
|
1005
1019
|
"class": 'k-input-button',
|
|
1006
1020
|
iconClass: classNames('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
|
|
1007
1021
|
"aria-hidden": true
|
|
@@ -25,7 +25,7 @@ var allVue = Vue;
|
|
|
25
25
|
var gh = allVue.h;
|
|
26
26
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
27
27
|
var ref = allVue.ref;
|
|
28
|
-
import { classNames, Keys, guid, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef } from '@progress/kendo-vue-common';
|
|
28
|
+
import { classNames, Keys, guid, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
29
29
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
30
30
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
31
31
|
import { ListContainer } from '../common/ListContainer';
|
|
@@ -860,8 +860,12 @@ var MultiSelectVue2 = {
|
|
|
860
860
|
};
|
|
861
861
|
var renderLoading = function renderLoading(cloading) {
|
|
862
862
|
if (cloading) {
|
|
863
|
-
return h(
|
|
864
|
-
|
|
863
|
+
return h(Icon, {
|
|
864
|
+
name: 'loading',
|
|
865
|
+
attrs: this.v3 ? undefined : {
|
|
866
|
+
name: 'loading'
|
|
867
|
+
},
|
|
868
|
+
"class": "k-input-loading-icon"
|
|
865
869
|
});
|
|
866
870
|
}
|
|
867
871
|
return h("span");
|
|
@@ -889,7 +893,7 @@ var MultiSelectVue2 = {
|
|
|
889
893
|
expanded: opened,
|
|
890
894
|
owns: this.base.listBoxId,
|
|
891
895
|
activedescendant: ariaActivedescendant,
|
|
892
|
-
"aria-describedBy": "tagslist-".concat(this.base.guid
|
|
896
|
+
"aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
|
|
893
897
|
"aria-labelledBy": this.$props.ariaLabelledBy
|
|
894
898
|
},
|
|
895
899
|
size: Math.max((placeholderToShow || '').length, searchText.length, 1),
|
|
@@ -912,7 +916,7 @@ var MultiSelectVue2 = {
|
|
|
912
916
|
expanded: opened,
|
|
913
917
|
owns: this.base.listBoxId,
|
|
914
918
|
activedescendant: ariaActivedescendant,
|
|
915
|
-
"aria-describedBy": "tagslist-".concat(this.base.guid
|
|
919
|
+
"aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
|
|
916
920
|
"aria-labelledBy": this.$props.ariaLabelledBy
|
|
917
921
|
})
|
|
918
922
|
);
|
|
@@ -1020,8 +1024,11 @@ var MultiSelectVue2 = {
|
|
|
1020
1024
|
"class": classNames('k-item k-custom-item', {
|
|
1021
1025
|
'k-focus': isCustom(focusedType)
|
|
1022
1026
|
})
|
|
1023
|
-
}, [currentText, h(
|
|
1024
|
-
|
|
1027
|
+
}, [currentText, h(Icon, {
|
|
1028
|
+
name: "plus",
|
|
1029
|
+
attrs: this.v3 ? undefined : {
|
|
1030
|
+
name: "plus"
|
|
1031
|
+
},
|
|
1025
1032
|
style: {
|
|
1026
1033
|
float: 'right'
|
|
1027
1034
|
}
|
|
@@ -6,6 +6,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
6
6
|
var inject = allVue.inject;
|
|
7
7
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
8
8
|
import { messages, clear } from '../messages/main';
|
|
9
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
@@ -54,8 +55,11 @@ var ClearButtonVue2 = {
|
|
|
54
55
|
tabindex: -1,
|
|
55
56
|
title: title,
|
|
56
57
|
key: "clearbutton"
|
|
57
|
-
}, [h(
|
|
58
|
-
|
|
58
|
+
}, [h(Icon, {
|
|
59
|
+
name: "x",
|
|
60
|
+
attrs: this.v3 ? undefined : {
|
|
61
|
+
name: "x"
|
|
62
|
+
}
|
|
59
63
|
})]);
|
|
60
64
|
}
|
|
61
65
|
};
|
|
@@ -4,7 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
|
-
import { getRef, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
7
|
+
import { getRef, Icon, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
8
8
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
9
9
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
10
10
|
/**
|
|
@@ -80,8 +80,12 @@ var ListFilterVue2 = {
|
|
|
80
80
|
"class": "k-list-filter"
|
|
81
81
|
}, [h("span", {
|
|
82
82
|
"class": this.spanClass
|
|
83
|
-
}, [h(
|
|
84
|
-
|
|
83
|
+
}, [h(Icon, {
|
|
84
|
+
name: "search",
|
|
85
|
+
attrs: this.v3 ? undefined : {
|
|
86
|
+
name: "search"
|
|
87
|
+
},
|
|
88
|
+
"class": "k-input-icon"
|
|
85
89
|
}), h("input", {
|
|
86
90
|
ref: setRef(this, 'input'),
|
|
87
91
|
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
|
};
|
package/dist/es/messages/main.js
CHANGED
|
@@ -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:
|
|
8
|
+
publishDate: 1672389577,
|
|
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
|
};
|
|
@@ -22,7 +22,7 @@ import { List } from './../common/List.js';
|
|
|
22
22
|
import DropDownBase from '../common/DropDownBase.js';
|
|
23
23
|
import { ClearButton } from '../common/ClearButton.js';
|
|
24
24
|
import { itemIndexStartsWith, getItemValue, areSame, getFocusedItem } from '../common/utils.js';
|
|
25
|
-
import { guid, Keys, classNames, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef } from '@progress/kendo-vue-common';
|
|
25
|
+
import { guid, Keys, classNames, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
26
26
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
27
27
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
28
28
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
@@ -676,8 +676,8 @@ var AutoCompleteVue2 = {
|
|
|
676
676
|
};
|
|
677
677
|
var renderLoading = function renderLoading(cloading) {
|
|
678
678
|
if (cloading) {
|
|
679
|
-
return h(
|
|
680
|
-
"class": "k-
|
|
679
|
+
return h(Icon, {
|
|
680
|
+
"class": "k-input-loading-icon"
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
683
|
return h("span");
|
|
@@ -18,7 +18,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
18
18
|
var ref = allVue.ref;
|
|
19
19
|
var inject = allVue.inject;
|
|
20
20
|
import DropDownBase from '../common/DropDownBase.js';
|
|
21
|
-
import { guid, classNames, Keys, templateRendering, getListeners, getTemplate, kendoThemeMaps, getRef, setRef } from '@progress/kendo-vue-common';
|
|
21
|
+
import { guid, classNames, Keys, templateRendering, getListeners, getTemplate, kendoThemeMaps, getRef, setRef, Icon } from '@progress/kendo-vue-common';
|
|
22
22
|
import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
23
23
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
24
24
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
@@ -930,8 +930,12 @@ var ComboBoxVue2 = {
|
|
|
930
930
|
"clearclick": this.clearButtonClick
|
|
931
931
|
},
|
|
932
932
|
key: "clearbutton"
|
|
933
|
-
}), loading && h(
|
|
934
|
-
|
|
933
|
+
}), loading && h(Icon, {
|
|
934
|
+
name: 'loading',
|
|
935
|
+
attrs: this.v3 ? undefined : {
|
|
936
|
+
name: 'loading'
|
|
937
|
+
},
|
|
938
|
+
"class": "k-input-loading-icon",
|
|
935
939
|
key: "loading"
|
|
936
940
|
}),
|
|
937
941
|
// @ts-ignore
|
|
@@ -16,7 +16,7 @@ var allVue = Vue;
|
|
|
16
16
|
var gh = allVue.h;
|
|
17
17
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
18
18
|
var ref = allVue.ref;
|
|
19
|
-
import { templateRendering, getListeners, classNames, Keys, guid, noop, getTemplate, kendoThemeMaps, getTabIndex, setRef, getRef } from '@progress/kendo-vue-common';
|
|
19
|
+
import { templateRendering, getListeners, classNames, Keys, guid, noop, getTemplate, kendoThemeMaps, getTabIndex, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
20
20
|
import { Button as KButton } from '@progress/kendo-vue-buttons';
|
|
21
21
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
22
22
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
@@ -25,6 +25,8 @@ import { ListFilter } from '../common/ListFilter.js';
|
|
|
25
25
|
import { ListDefaultItem } from '../common/ListDefaultItem.js';
|
|
26
26
|
import { List } from '../common/List.js';
|
|
27
27
|
import DropDownBase from '../common/DropDownBase.js';
|
|
28
|
+
import { selectButton, messages } from '../messages/main.js';
|
|
29
|
+
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
28
30
|
import { isPresent, getItemValue, sameCharsOnly, shuffleData, matchText, areSame, preventDefaultNonInputs, getFocusedItem } from '../common/utils.js';
|
|
29
31
|
var VALIDATION_MESSAGE = 'Please select a value from the list!';
|
|
30
32
|
/**
|
|
@@ -160,6 +162,11 @@ var DropDownListVue2 = {
|
|
|
160
162
|
}
|
|
161
163
|
}
|
|
162
164
|
},
|
|
165
|
+
inject: {
|
|
166
|
+
kendoLocalizationService: {
|
|
167
|
+
default: null
|
|
168
|
+
}
|
|
169
|
+
},
|
|
163
170
|
data: function data() {
|
|
164
171
|
return {
|
|
165
172
|
hasMounted: false,
|
|
@@ -695,6 +702,7 @@ var DropDownListVue2 = {
|
|
|
695
702
|
animate: true,
|
|
696
703
|
height: '200px'
|
|
697
704
|
}, this.$props.popupSettings);
|
|
705
|
+
var ariaLabelSelectButton = provideLocalizationService(this).toLanguageString(selectButton, messages[selectButton]);
|
|
698
706
|
var _d = this.$props,
|
|
699
707
|
dataItemKey = _d.dataItemKey,
|
|
700
708
|
_e = _d.dataItems,
|
|
@@ -982,8 +990,12 @@ var DropDownListVue2 = {
|
|
|
982
990
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
983
991
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
984
992
|
title: this.$props.title
|
|
985
|
-
}, [valueElement, loading && h(
|
|
986
|
-
|
|
993
|
+
}, [valueElement, loading && h(Icon, {
|
|
994
|
+
name: 'loading',
|
|
995
|
+
attrs: this.v3 ? undefined : {
|
|
996
|
+
name: 'loading'
|
|
997
|
+
},
|
|
998
|
+
"class": "k-input-loading-icon",
|
|
987
999
|
key: "loading"
|
|
988
1000
|
}),
|
|
989
1001
|
// @ts-ignore
|
|
@@ -995,6 +1007,7 @@ var DropDownListVue2 = {
|
|
|
995
1007
|
size: size,
|
|
996
1008
|
fillMode: fillMode,
|
|
997
1009
|
rounded: null,
|
|
1010
|
+
ariaLabel: ariaLabelSelectButton,
|
|
998
1011
|
iconClass: classNames('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
|
|
999
1012
|
"aria-hidden": true
|
|
1000
1013
|
},
|
|
@@ -1002,6 +1015,7 @@ var DropDownListVue2 = {
|
|
|
1002
1015
|
size: size,
|
|
1003
1016
|
fillMode: fillMode,
|
|
1004
1017
|
rounded: null,
|
|
1018
|
+
ariaLabel: ariaLabelSelectButton,
|
|
1005
1019
|
"class": 'k-input-button',
|
|
1006
1020
|
iconClass: classNames('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
|
|
1007
1021
|
"aria-hidden": true
|
|
@@ -25,7 +25,7 @@ var allVue = Vue;
|
|
|
25
25
|
var gh = allVue.h;
|
|
26
26
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
27
27
|
var ref = allVue.ref;
|
|
28
|
-
import { classNames, Keys, guid, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef } from '@progress/kendo-vue-common';
|
|
28
|
+
import { classNames, Keys, guid, templateRendering, getListeners, getTemplate, kendoThemeMaps, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
29
29
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
30
30
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
31
31
|
import { ListContainer } from '../common/ListContainer.js';
|
|
@@ -860,8 +860,12 @@ var MultiSelectVue2 = {
|
|
|
860
860
|
};
|
|
861
861
|
var renderLoading = function renderLoading(cloading) {
|
|
862
862
|
if (cloading) {
|
|
863
|
-
return h(
|
|
864
|
-
|
|
863
|
+
return h(Icon, {
|
|
864
|
+
name: 'loading',
|
|
865
|
+
attrs: this.v3 ? undefined : {
|
|
866
|
+
name: 'loading'
|
|
867
|
+
},
|
|
868
|
+
"class": "k-input-loading-icon"
|
|
865
869
|
});
|
|
866
870
|
}
|
|
867
871
|
return h("span");
|
|
@@ -889,7 +893,7 @@ var MultiSelectVue2 = {
|
|
|
889
893
|
expanded: opened,
|
|
890
894
|
owns: this.base.listBoxId,
|
|
891
895
|
activedescendant: ariaActivedescendant,
|
|
892
|
-
"aria-describedBy": "tagslist-".concat(this.base.guid
|
|
896
|
+
"aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
|
|
893
897
|
"aria-labelledBy": this.$props.ariaLabelledBy
|
|
894
898
|
},
|
|
895
899
|
size: Math.max((placeholderToShow || '').length, searchText.length, 1),
|
|
@@ -912,7 +916,7 @@ var MultiSelectVue2 = {
|
|
|
912
916
|
expanded: opened,
|
|
913
917
|
owns: this.base.listBoxId,
|
|
914
918
|
activedescendant: ariaActivedescendant,
|
|
915
|
-
"aria-describedBy": "tagslist-".concat(this.base.guid
|
|
919
|
+
"aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
|
|
916
920
|
"aria-labelledBy": this.$props.ariaLabelledBy
|
|
917
921
|
})
|
|
918
922
|
);
|
|
@@ -1020,8 +1024,11 @@ var MultiSelectVue2 = {
|
|
|
1020
1024
|
"class": classNames('k-item k-custom-item', {
|
|
1021
1025
|
'k-focus': isCustom(focusedType)
|
|
1022
1026
|
})
|
|
1023
|
-
}, [currentText, h(
|
|
1024
|
-
|
|
1027
|
+
}, [currentText, h(Icon, {
|
|
1028
|
+
name: "plus",
|
|
1029
|
+
attrs: this.v3 ? undefined : {
|
|
1030
|
+
name: "plus"
|
|
1031
|
+
},
|
|
1025
1032
|
style: {
|
|
1026
1033
|
float: 'right'
|
|
1027
1034
|
}
|
|
@@ -6,6 +6,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
6
6
|
var inject = allVue.inject;
|
|
7
7
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
8
8
|
import { messages, clear } from '../messages/main.js';
|
|
9
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
@@ -54,8 +55,11 @@ var ClearButtonVue2 = {
|
|
|
54
55
|
tabindex: -1,
|
|
55
56
|
title: title,
|
|
56
57
|
key: "clearbutton"
|
|
57
|
-
}, [h(
|
|
58
|
-
|
|
58
|
+
}, [h(Icon, {
|
|
59
|
+
name: "x",
|
|
60
|
+
attrs: this.v3 ? undefined : {
|
|
61
|
+
name: "x"
|
|
62
|
+
}
|
|
59
63
|
})]);
|
|
60
64
|
}
|
|
61
65
|
};
|
|
@@ -4,7 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
|
-
import { getRef, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
7
|
+
import { getRef, Icon, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
8
8
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
9
9
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
10
10
|
/**
|
|
@@ -80,8 +80,12 @@ var ListFilterVue2 = {
|
|
|
80
80
|
"class": "k-list-filter"
|
|
81
81
|
}, [h("span", {
|
|
82
82
|
"class": this.spanClass
|
|
83
|
-
}, [h(
|
|
84
|
-
|
|
83
|
+
}, [h(Icon, {
|
|
84
|
+
name: "search",
|
|
85
|
+
attrs: this.v3 ? undefined : {
|
|
86
|
+
name: "search"
|
|
87
|
+
},
|
|
88
|
+
"class": "k-input-icon"
|
|
85
89
|
}), h("input", {
|
|
86
90
|
ref: setRef(this, 'input'),
|
|
87
91
|
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
|
};
|
|
@@ -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:
|
|
8
|
+
publishDate: 1672389577,
|
|
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(
|
|
686
|
-
"class": "k-
|
|
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(
|
|
940
|
-
|
|
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,
|
|
@@ -701,6 +708,7 @@ var DropDownListVue2 = {
|
|
|
701
708
|
animate: true,
|
|
702
709
|
height: '200px'
|
|
703
710
|
}, this.$props.popupSettings);
|
|
711
|
+
var ariaLabelSelectButton = (0, kendo_vue_intl_1.provideLocalizationService)(this).toLanguageString(main_1.selectButton, main_1.messages[main_1.selectButton]);
|
|
704
712
|
var _d = this.$props,
|
|
705
713
|
dataItemKey = _d.dataItemKey,
|
|
706
714
|
_e = _d.dataItems,
|
|
@@ -988,8 +996,12 @@ var DropDownListVue2 = {
|
|
|
988
996
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
989
997
|
"aria-describedby": this.$props.ariaDescribedBy,
|
|
990
998
|
title: this.$props.title
|
|
991
|
-
}, [valueElement, loading && h(
|
|
992
|
-
|
|
999
|
+
}, [valueElement, loading && h(kendo_vue_common_1.Icon, {
|
|
1000
|
+
name: 'loading',
|
|
1001
|
+
attrs: this.v3 ? undefined : {
|
|
1002
|
+
name: 'loading'
|
|
1003
|
+
},
|
|
1004
|
+
"class": "k-input-loading-icon",
|
|
993
1005
|
key: "loading"
|
|
994
1006
|
}),
|
|
995
1007
|
// @ts-ignore
|
|
@@ -1001,6 +1013,7 @@ var DropDownListVue2 = {
|
|
|
1001
1013
|
size: size,
|
|
1002
1014
|
fillMode: fillMode,
|
|
1003
1015
|
rounded: null,
|
|
1016
|
+
ariaLabel: ariaLabelSelectButton,
|
|
1004
1017
|
iconClass: (0, kendo_vue_common_1.classNames)('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
|
|
1005
1018
|
"aria-hidden": true
|
|
1006
1019
|
},
|
|
@@ -1008,6 +1021,7 @@ var DropDownListVue2 = {
|
|
|
1008
1021
|
size: size,
|
|
1009
1022
|
fillMode: fillMode,
|
|
1010
1023
|
rounded: null,
|
|
1024
|
+
ariaLabel: ariaLabelSelectButton,
|
|
1011
1025
|
"class": 'k-input-button',
|
|
1012
1026
|
iconClass: (0, kendo_vue_common_1.classNames)('k-icon', iconClassName ? iconClassName : 'k-i-caret-alt-down'),
|
|
1013
1027
|
"aria-hidden": true
|
|
@@ -866,8 +866,12 @@ var MultiSelectVue2 = {
|
|
|
866
866
|
};
|
|
867
867
|
var renderLoading = function renderLoading(cloading) {
|
|
868
868
|
if (cloading) {
|
|
869
|
-
return h(
|
|
870
|
-
|
|
869
|
+
return h(kendo_vue_common_1.Icon, {
|
|
870
|
+
name: 'loading',
|
|
871
|
+
attrs: this.v3 ? undefined : {
|
|
872
|
+
name: 'loading'
|
|
873
|
+
},
|
|
874
|
+
"class": "k-input-loading-icon"
|
|
871
875
|
});
|
|
872
876
|
}
|
|
873
877
|
return h("span");
|
|
@@ -895,7 +899,7 @@ var MultiSelectVue2 = {
|
|
|
895
899
|
expanded: opened,
|
|
896
900
|
owns: this.base.listBoxId,
|
|
897
901
|
activedescendant: ariaActivedescendant,
|
|
898
|
-
"aria-describedBy": "tagslist-".concat(this.base.guid
|
|
902
|
+
"aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
|
|
899
903
|
"aria-labelledBy": this.$props.ariaLabelledBy
|
|
900
904
|
},
|
|
901
905
|
size: Math.max((placeholderToShow || '').length, searchText.length, 1),
|
|
@@ -918,7 +922,7 @@ var MultiSelectVue2 = {
|
|
|
918
922
|
expanded: opened,
|
|
919
923
|
owns: this.base.listBoxId,
|
|
920
924
|
activedescendant: ariaActivedescendant,
|
|
921
|
-
"aria-describedBy": "tagslist-".concat(this.base.guid
|
|
925
|
+
"aria-describedBy": "tagslist-".concat(this.base.guid).concat(this.$props.ariaDescribedBy ? ' ' + this.$props.ariaDescribedBy : ''),
|
|
922
926
|
"aria-labelledBy": this.$props.ariaLabelledBy
|
|
923
927
|
})
|
|
924
928
|
);
|
|
@@ -1026,8 +1030,11 @@ var MultiSelectVue2 = {
|
|
|
1026
1030
|
"class": (0, kendo_vue_common_1.classNames)('k-item k-custom-item', {
|
|
1027
1031
|
'k-focus': isCustom(focusedType)
|
|
1028
1032
|
})
|
|
1029
|
-
}, [currentText, h(
|
|
1030
|
-
|
|
1033
|
+
}, [currentText, h(kendo_vue_common_1.Icon, {
|
|
1034
|
+
name: "plus",
|
|
1035
|
+
attrs: this.v3 ? undefined : {
|
|
1036
|
+
name: "plus"
|
|
1037
|
+
},
|
|
1031
1038
|
style: {
|
|
1032
1039
|
float: 'right'
|
|
1033
1040
|
}
|