@progress/kendo-vue-dropdowns 5.2.0 → 5.3.0-dev.202408221437

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.
@@ -1099,7 +1099,9 @@ var DropDownListVue2 = {
1099
1099
  value: filterText,
1100
1100
  size: this.$props.size,
1101
1101
  rounded: this.$props.rounded,
1102
- fillMode: this.$props.fillMode
1102
+ fillMode: this.$props.fillMode,
1103
+ ariaControlsId: this.base.listBoxId,
1104
+ ariaActivedescendantId: "option-".concat(this.base.guid, "-").concat(this.focusedIndex())
1103
1105
  },
1104
1106
  ref: 'filterInput',
1105
1107
  onChange: this.handleListFilterChange,
@@ -1110,7 +1112,9 @@ var DropDownListVue2 = {
1110
1112
  onKeydown: this.handleKeyDown,
1111
1113
  size: this.$props.size,
1112
1114
  rounded: this.$props.rounded,
1113
- fillMode: this.$props.fillMode
1115
+ fillMode: this.$props.fillMode,
1116
+ ariaControlsId: this.base.listBoxId,
1117
+ ariaActivedescendantId: "option-".concat(this.base.guid, "-").concat(this.focusedIndex())
1114
1118
  });
1115
1119
  };
1116
1120
  var renderScrollElement = function renderScrollElement() {
@@ -14,6 +14,8 @@ export interface ListFilterProps {
14
14
  rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
15
15
  fillMode?: null | 'solid' | 'flat' | 'outline' | string;
16
16
  adaptiveMode?: boolean;
17
+ ariaControlsId?: string;
18
+ ariaActivedescendantId?: string;
17
19
  }
18
20
  /**
19
21
  * @hidden
@@ -19,6 +19,8 @@ var ref = allVue.ref;
19
19
  import { getRef, Icon, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
20
20
  import { searchIcon } from '@progress/kendo-svg-icons';
21
21
  import { TextBox } from '@progress/kendo-vue-inputs';
22
+ import { provideLocalizationService } from '@progress/kendo-vue-intl';
23
+ import { filterLabel, messages } from '../messages/main';
22
24
  var sizeMap = kendoThemeMaps.sizeMap,
23
25
  roundedMap = kendoThemeMaps.roundedMap;
24
26
  /**
@@ -59,7 +61,9 @@ var ListFilterVue2 = {
59
61
  adaptiveMode: {
60
62
  type: Boolean,
61
63
  default: false
62
- }
64
+ },
65
+ ariaControlsId: String,
66
+ ariaActivedescendantId: String
63
67
  },
64
68
  computed: {
65
69
  spanClass: function spanClass() {
@@ -116,7 +120,10 @@ var ListFilterVue2 = {
116
120
  size = _a.size,
117
121
  rounded = _a.rounded,
118
122
  fillMode = _a.fillMode,
119
- adaptiveMode = _a.adaptiveMode;
123
+ adaptiveMode = _a.adaptiveMode,
124
+ ariaControlsId = _a.ariaControlsId,
125
+ ariaActivedescendantId = _a.ariaActivedescendantId;
126
+ var ariaLabel = provideLocalizationService(this).toLanguageString(filterLabel, messages[filterLabel]);
120
127
  var listFilterComponent = function listFilterComponent() {
121
128
  return h(TextBox, {
122
129
  ref: setRef(this, 'input'),
@@ -126,7 +133,13 @@ var ListFilterVue2 = {
126
133
  size: size,
127
134
  fillMode: fillMode,
128
135
  rounded: rounded,
129
- inputPrefix: this.prefixRender
136
+ inputPrefix: this.prefixRender,
137
+ role: "searchbox",
138
+ "aria-label": ariaLabel,
139
+ "aria-haspopup": "listbox",
140
+ "aria-autocomplete": "list",
141
+ "aria-activedescendant": ariaActivedescendantId,
142
+ "aria-controls": ariaControlsId
130
143
  },
131
144
  onInput: this.onChange,
132
145
  on: this.v3 ? undefined : {
@@ -141,7 +154,13 @@ var ListFilterVue2 = {
141
154
  size: size,
142
155
  fillMode: fillMode,
143
156
  rounded: rounded,
144
- inputPrefix: this.prefixRender
157
+ inputPrefix: this.prefixRender,
158
+ role: "searchbox",
159
+ "aria-label": ariaLabel,
160
+ "aria-haspopup": "listbox",
161
+ "aria-autocomplete": "list",
162
+ "aria-activedescendant": ariaActivedescendantId,
163
+ "aria-controls": ariaControlsId
145
164
  });
146
165
  };
147
166
  return !adaptiveMode ? h("div", {
@@ -14,6 +14,10 @@ export declare const clear = "dropdowns.clear";
14
14
  * @hidden
15
15
  */
16
16
  export declare const selectButton = "dropdowns.select";
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const filterLabel = "dropdowns.defaultLabel";
17
21
  /**
18
22
  * @hidden
19
23
  */
@@ -30,6 +34,7 @@ export declare const messages: {
30
34
  "dropdowns.expandbutton": string;
31
35
  "dropdowns.nodata": string;
32
36
  "dropdowns.select": string;
37
+ "dropdowns.defaultLabel": string;
33
38
  "dropdowns.adaptiveModeFooterApply": string;
34
39
  "dropdowns.adaptiveModeFooterCancel": string;
35
40
  };
@@ -15,6 +15,10 @@ export var clear = 'dropdowns.clear';
15
15
  * @hidden
16
16
  */
17
17
  export var selectButton = 'dropdowns.select';
18
+ /**
19
+ * @hidden
20
+ */
21
+ export var filterLabel = 'dropdowns.defaultLabel';
18
22
  /**
19
23
  * @hidden
20
24
  */
@@ -31,6 +35,7 @@ export var messages = (_a = {},
31
35
  _a[expandButton] = 'expand button',
32
36
  _a[nodata] = 'NO DATA FOUND.',
33
37
  _a[selectButton] = 'Select',
38
+ _a[filterLabel] = 'Filter',
34
39
  _a[adaptiveModeFooterApply] = 'Apply',
35
40
  _a[adaptiveModeFooterCancel] = 'Cancel',
36
41
  _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: 1722941610,
8
+ publishDate: 1724336903,
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
  };
@@ -1099,7 +1099,9 @@ var DropDownListVue2 = {
1099
1099
  value: filterText,
1100
1100
  size: this.$props.size,
1101
1101
  rounded: this.$props.rounded,
1102
- fillMode: this.$props.fillMode
1102
+ fillMode: this.$props.fillMode,
1103
+ ariaControlsId: this.base.listBoxId,
1104
+ ariaActivedescendantId: "option-".concat(this.base.guid, "-").concat(this.focusedIndex())
1103
1105
  },
1104
1106
  ref: 'filterInput',
1105
1107
  onChange: this.handleListFilterChange,
@@ -1110,7 +1112,9 @@ var DropDownListVue2 = {
1110
1112
  onKeydown: this.handleKeyDown,
1111
1113
  size: this.$props.size,
1112
1114
  rounded: this.$props.rounded,
1113
- fillMode: this.$props.fillMode
1115
+ fillMode: this.$props.fillMode,
1116
+ ariaControlsId: this.base.listBoxId,
1117
+ ariaActivedescendantId: "option-".concat(this.base.guid, "-").concat(this.focusedIndex())
1114
1118
  });
1115
1119
  };
1116
1120
  var renderScrollElement = function renderScrollElement() {
@@ -14,6 +14,8 @@ export interface ListFilterProps {
14
14
  rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
15
15
  fillMode?: null | 'solid' | 'flat' | 'outline' | string;
16
16
  adaptiveMode?: boolean;
17
+ ariaControlsId?: string;
18
+ ariaActivedescendantId?: string;
17
19
  }
18
20
  /**
19
21
  * @hidden
@@ -19,6 +19,8 @@ var ref = allVue.ref;
19
19
  import { getRef, Icon, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
20
20
  import { searchIcon } from '@progress/kendo-svg-icons';
21
21
  import { TextBox } from '@progress/kendo-vue-inputs';
22
+ import { provideLocalizationService } from '@progress/kendo-vue-intl';
23
+ import { filterLabel, messages } from '../messages/main.js';
22
24
  var sizeMap = kendoThemeMaps.sizeMap,
23
25
  roundedMap = kendoThemeMaps.roundedMap;
24
26
  /**
@@ -59,7 +61,9 @@ var ListFilterVue2 = {
59
61
  adaptiveMode: {
60
62
  type: Boolean,
61
63
  default: false
62
- }
64
+ },
65
+ ariaControlsId: String,
66
+ ariaActivedescendantId: String
63
67
  },
64
68
  computed: {
65
69
  spanClass: function spanClass() {
@@ -116,7 +120,10 @@ var ListFilterVue2 = {
116
120
  size = _a.size,
117
121
  rounded = _a.rounded,
118
122
  fillMode = _a.fillMode,
119
- adaptiveMode = _a.adaptiveMode;
123
+ adaptiveMode = _a.adaptiveMode,
124
+ ariaControlsId = _a.ariaControlsId,
125
+ ariaActivedescendantId = _a.ariaActivedescendantId;
126
+ var ariaLabel = provideLocalizationService(this).toLanguageString(filterLabel, messages[filterLabel]);
120
127
  var listFilterComponent = function listFilterComponent() {
121
128
  return h(TextBox, {
122
129
  ref: setRef(this, 'input'),
@@ -126,7 +133,13 @@ var ListFilterVue2 = {
126
133
  size: size,
127
134
  fillMode: fillMode,
128
135
  rounded: rounded,
129
- inputPrefix: this.prefixRender
136
+ inputPrefix: this.prefixRender,
137
+ role: "searchbox",
138
+ "aria-label": ariaLabel,
139
+ "aria-haspopup": "listbox",
140
+ "aria-autocomplete": "list",
141
+ "aria-activedescendant": ariaActivedescendantId,
142
+ "aria-controls": ariaControlsId
130
143
  },
131
144
  onInput: this.onChange,
132
145
  on: this.v3 ? undefined : {
@@ -141,7 +154,13 @@ var ListFilterVue2 = {
141
154
  size: size,
142
155
  fillMode: fillMode,
143
156
  rounded: rounded,
144
- inputPrefix: this.prefixRender
157
+ inputPrefix: this.prefixRender,
158
+ role: "searchbox",
159
+ "aria-label": ariaLabel,
160
+ "aria-haspopup": "listbox",
161
+ "aria-autocomplete": "list",
162
+ "aria-activedescendant": ariaActivedescendantId,
163
+ "aria-controls": ariaControlsId
145
164
  });
146
165
  };
147
166
  return !adaptiveMode ? h("div", {
@@ -14,6 +14,10 @@ export declare const clear = "dropdowns.clear";
14
14
  * @hidden
15
15
  */
16
16
  export declare const selectButton = "dropdowns.select";
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const filterLabel = "dropdowns.defaultLabel";
17
21
  /**
18
22
  * @hidden
19
23
  */
@@ -30,6 +34,7 @@ export declare const messages: {
30
34
  "dropdowns.expandbutton": string;
31
35
  "dropdowns.nodata": string;
32
36
  "dropdowns.select": string;
37
+ "dropdowns.defaultLabel": string;
33
38
  "dropdowns.adaptiveModeFooterApply": string;
34
39
  "dropdowns.adaptiveModeFooterCancel": string;
35
40
  };
@@ -15,6 +15,10 @@ export var clear = 'dropdowns.clear';
15
15
  * @hidden
16
16
  */
17
17
  export var selectButton = 'dropdowns.select';
18
+ /**
19
+ * @hidden
20
+ */
21
+ export var filterLabel = 'dropdowns.defaultLabel';
18
22
  /**
19
23
  * @hidden
20
24
  */
@@ -31,6 +35,7 @@ export var messages = (_a = {},
31
35
  _a[expandButton] = 'expand button',
32
36
  _a[nodata] = 'NO DATA FOUND.',
33
37
  _a[selectButton] = 'Select',
38
+ _a[filterLabel] = 'Filter',
34
39
  _a[adaptiveModeFooterApply] = 'Apply',
35
40
  _a[adaptiveModeFooterCancel] = 'Cancel',
36
41
  _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: 1722941610,
8
+ publishDate: 1724336903,
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
  };
@@ -1105,7 +1105,9 @@ var DropDownListVue2 = {
1105
1105
  value: filterText,
1106
1106
  size: this.$props.size,
1107
1107
  rounded: this.$props.rounded,
1108
- fillMode: this.$props.fillMode
1108
+ fillMode: this.$props.fillMode,
1109
+ ariaControlsId: this.base.listBoxId,
1110
+ ariaActivedescendantId: "option-".concat(this.base.guid, "-").concat(this.focusedIndex())
1109
1111
  },
1110
1112
  ref: 'filterInput',
1111
1113
  onChange: this.handleListFilterChange,
@@ -1116,7 +1118,9 @@ var DropDownListVue2 = {
1116
1118
  onKeydown: this.handleKeyDown,
1117
1119
  size: this.$props.size,
1118
1120
  rounded: this.$props.rounded,
1119
- fillMode: this.$props.fillMode
1121
+ fillMode: this.$props.fillMode,
1122
+ ariaControlsId: this.base.listBoxId,
1123
+ ariaActivedescendantId: "option-".concat(this.base.guid, "-").concat(this.focusedIndex())
1120
1124
  });
1121
1125
  };
1122
1126
  var renderScrollElement = function renderScrollElement() {
@@ -14,6 +14,8 @@ export interface ListFilterProps {
14
14
  rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
15
15
  fillMode?: null | 'solid' | 'flat' | 'outline' | string;
16
16
  adaptiveMode?: boolean;
17
+ ariaControlsId?: string;
18
+ ariaActivedescendantId?: string;
17
19
  }
18
20
  /**
19
21
  * @hidden
@@ -25,6 +25,8 @@ var ref = allVue.ref;
25
25
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
26
26
  var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
27
27
  var kendo_vue_inputs_1 = require("@progress/kendo-vue-inputs");
28
+ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
29
+ var main_1 = require("../messages/main");
28
30
  var sizeMap = kendo_vue_common_1.kendoThemeMaps.sizeMap,
29
31
  roundedMap = kendo_vue_common_1.kendoThemeMaps.roundedMap;
30
32
  /**
@@ -65,7 +67,9 @@ var ListFilterVue2 = {
65
67
  adaptiveMode: {
66
68
  type: Boolean,
67
69
  default: false
68
- }
70
+ },
71
+ ariaControlsId: String,
72
+ ariaActivedescendantId: String
69
73
  },
70
74
  computed: {
71
75
  spanClass: function spanClass() {
@@ -122,7 +126,10 @@ var ListFilterVue2 = {
122
126
  size = _a.size,
123
127
  rounded = _a.rounded,
124
128
  fillMode = _a.fillMode,
125
- adaptiveMode = _a.adaptiveMode;
129
+ adaptiveMode = _a.adaptiveMode,
130
+ ariaControlsId = _a.ariaControlsId,
131
+ ariaActivedescendantId = _a.ariaActivedescendantId;
132
+ var ariaLabel = (0, kendo_vue_intl_1.provideLocalizationService)(this).toLanguageString(main_1.filterLabel, main_1.messages[main_1.filterLabel]);
126
133
  var listFilterComponent = function listFilterComponent() {
127
134
  return h(kendo_vue_inputs_1.TextBox, {
128
135
  ref: (0, kendo_vue_common_1.setRef)(this, 'input'),
@@ -132,7 +139,13 @@ var ListFilterVue2 = {
132
139
  size: size,
133
140
  fillMode: fillMode,
134
141
  rounded: rounded,
135
- inputPrefix: this.prefixRender
142
+ inputPrefix: this.prefixRender,
143
+ role: "searchbox",
144
+ "aria-label": ariaLabel,
145
+ "aria-haspopup": "listbox",
146
+ "aria-autocomplete": "list",
147
+ "aria-activedescendant": ariaActivedescendantId,
148
+ "aria-controls": ariaControlsId
136
149
  },
137
150
  onInput: this.onChange,
138
151
  on: this.v3 ? undefined : {
@@ -147,7 +160,13 @@ var ListFilterVue2 = {
147
160
  size: size,
148
161
  fillMode: fillMode,
149
162
  rounded: rounded,
150
- inputPrefix: this.prefixRender
163
+ inputPrefix: this.prefixRender,
164
+ role: "searchbox",
165
+ "aria-label": ariaLabel,
166
+ "aria-haspopup": "listbox",
167
+ "aria-autocomplete": "list",
168
+ "aria-activedescendant": ariaActivedescendantId,
169
+ "aria-controls": ariaControlsId
151
170
  });
152
171
  };
153
172
  return !adaptiveMode ? h("div", {
@@ -14,6 +14,10 @@ export declare const clear = "dropdowns.clear";
14
14
  * @hidden
15
15
  */
16
16
  export declare const selectButton = "dropdowns.select";
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const filterLabel = "dropdowns.defaultLabel";
17
21
  /**
18
22
  * @hidden
19
23
  */
@@ -30,6 +34,7 @@ export declare const messages: {
30
34
  "dropdowns.expandbutton": string;
31
35
  "dropdowns.nodata": string;
32
36
  "dropdowns.select": string;
37
+ "dropdowns.defaultLabel": string;
33
38
  "dropdowns.adaptiveModeFooterApply": string;
34
39
  "dropdowns.adaptiveModeFooterCancel": string;
35
40
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.messages = exports.adaptiveModeFooterCancel = exports.adaptiveModeFooterApply = exports.selectButton = exports.clear = exports.expandButton = exports.nodata = void 0;
4
+ exports.messages = exports.adaptiveModeFooterCancel = exports.adaptiveModeFooterApply = exports.filterLabel = exports.selectButton = exports.clear = exports.expandButton = exports.nodata = void 0;
5
5
  /**
6
6
  * @hidden
7
7
  */
@@ -18,6 +18,10 @@ exports.clear = 'dropdowns.clear';
18
18
  * @hidden
19
19
  */
20
20
  exports.selectButton = 'dropdowns.select';
21
+ /**
22
+ * @hidden
23
+ */
24
+ exports.filterLabel = 'dropdowns.defaultLabel';
21
25
  /**
22
26
  * @hidden
23
27
  */
@@ -34,6 +38,7 @@ exports.messages = (_a = {},
34
38
  _a[exports.expandButton] = 'expand button',
35
39
  _a[exports.nodata] = 'NO DATA FOUND.',
36
40
  _a[exports.selectButton] = 'Select',
41
+ _a[exports.filterLabel] = 'Filter',
37
42
  _a[exports.adaptiveModeFooterApply] = 'Apply',
38
43
  _a[exports.adaptiveModeFooterCancel] = 'Cancel',
39
44
  _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: 1722941610,
11
+ publishDate: 1724336903,
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": "5.2.0",
4
+ "version": "5.3.0-dev.202408221437",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -54,21 +54,21 @@
54
54
  "vue": "^2.6.12 || ^3.0.2"
55
55
  },
56
56
  "dependencies": {
57
- "@progress/kendo-vue-buttons": "5.2.0",
58
- "@progress/kendo-vue-common": "5.2.0",
59
- "@progress/kendo-vue-layout": "5.2.0",
60
- "@progress/kendo-vue-popup": "5.2.0"
57
+ "@progress/kendo-vue-buttons": "5.3.0-dev.202408221437",
58
+ "@progress/kendo-vue-common": "5.3.0-dev.202408221437",
59
+ "@progress/kendo-vue-layout": "5.3.0-dev.202408221437",
60
+ "@progress/kendo-vue-popup": "5.3.0-dev.202408221437"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@progress/kendo-data-query": "^1.7.0",
64
64
  "@progress/kendo-licensing": "^1.3.0",
65
65
  "@progress/kendo-svg-icons": "^3.0.0",
66
- "@progress/kendo-vue-data-tools": "5.2.0",
67
- "@progress/kendo-vue-inputs": "5.2.0",
68
- "@progress/kendo-vue-intl": "5.2.0",
69
- "@progress/kendo-vue-labels": "5.2.0",
70
- "@progress/kendo-vue-layout": "5.2.0",
71
- "@progress/kendo-vue-treeview": "5.2.0"
66
+ "@progress/kendo-vue-data-tools": "5.3.0-dev.202408221437",
67
+ "@progress/kendo-vue-inputs": "5.3.0-dev.202408221437",
68
+ "@progress/kendo-vue-intl": "5.3.0-dev.202408221437",
69
+ "@progress/kendo-vue-labels": "5.3.0-dev.202408221437",
70
+ "@progress/kendo-vue-layout": "5.3.0-dev.202408221437",
71
+ "@progress/kendo-vue-treeview": "5.3.0-dev.202408221437"
72
72
  },
73
73
  "author": "Progress",
74
74
  "license": "SEE LICENSE IN LICENSE.md",