@progress/kendo-vue-scheduler 3.7.4-dev.202212300853 → 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 (56) hide show
  1. package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
  2. package/dist/es/Scheduler.js +10 -2
  3. package/dist/es/components/BaseView.d.ts +1 -0
  4. package/dist/es/components/BaseView.js +7 -3
  5. package/dist/es/components/SchedulerActionButtons.js +0 -4
  6. package/dist/es/components/ShowMoreItemsButton.js +9 -4
  7. package/dist/es/components/footer/bussiness-hours/BusinessHours.js +7 -2
  8. package/dist/es/components/header/navigation/DatePickerToggleButton.js +3 -0
  9. package/dist/es/components/header/navigation/NavigationDatePicker.js +6 -1
  10. package/dist/es/components/header/navigation/SchedulerNavigation.js +54 -145
  11. package/dist/es/components/header/view-selector/ViewSelectorList.js +13 -6
  12. package/dist/es/items/SchedulerItem.js +49 -27
  13. package/dist/es/messages/main.d.ts +3 -0
  14. package/dist/es/messages/main.js +3 -0
  15. package/dist/es/package-metadata.js +1 -1
  16. package/dist/es/slots/SchedulerSlot.js +0 -6
  17. package/dist/es/tasks/SchedulerTask.js +14 -7
  18. package/dist/es/views/agenda/AgendaView.js +4 -2
  19. package/dist/es/views/agenda/AgendaViewBody.js +9 -4
  20. package/dist/esm/Scheduler.js +10 -2
  21. package/dist/esm/components/BaseView.d.ts +1 -0
  22. package/dist/esm/components/BaseView.js +7 -3
  23. package/dist/esm/components/SchedulerActionButtons.js +0 -4
  24. package/dist/esm/components/ShowMoreItemsButton.js +9 -4
  25. package/dist/esm/components/footer/bussiness-hours/BusinessHours.js +7 -2
  26. package/dist/esm/components/header/navigation/DatePickerToggleButton.js +3 -0
  27. package/dist/esm/components/header/navigation/NavigationDatePicker.js +6 -1
  28. package/dist/esm/components/header/navigation/SchedulerNavigation.js +54 -145
  29. package/dist/esm/components/header/view-selector/ViewSelectorList.js +13 -6
  30. package/dist/esm/items/SchedulerItem.js +49 -27
  31. package/dist/esm/messages/main.d.ts +3 -0
  32. package/dist/esm/messages/main.js +3 -0
  33. package/dist/esm/package-metadata.js +1 -1
  34. package/dist/esm/slots/SchedulerSlot.js +0 -6
  35. package/dist/esm/tasks/SchedulerTask.js +14 -7
  36. package/dist/esm/views/agenda/AgendaView.js +4 -2
  37. package/dist/esm/views/agenda/AgendaViewBody.js +9 -4
  38. package/dist/npm/Scheduler.js +10 -2
  39. package/dist/npm/components/BaseView.d.ts +1 -0
  40. package/dist/npm/components/BaseView.js +7 -3
  41. package/dist/npm/components/SchedulerActionButtons.js +0 -4
  42. package/dist/npm/components/ShowMoreItemsButton.js +9 -4
  43. package/dist/npm/components/footer/bussiness-hours/BusinessHours.js +7 -2
  44. package/dist/npm/components/header/navigation/DatePickerToggleButton.js +3 -0
  45. package/dist/npm/components/header/navigation/NavigationDatePicker.js +6 -1
  46. package/dist/npm/components/header/navigation/SchedulerNavigation.js +53 -144
  47. package/dist/npm/components/header/view-selector/ViewSelectorList.js +12 -5
  48. package/dist/npm/items/SchedulerItem.js +49 -27
  49. package/dist/npm/messages/main.d.ts +3 -0
  50. package/dist/npm/messages/main.js +5 -2
  51. package/dist/npm/package-metadata.js +1 -1
  52. package/dist/npm/slots/SchedulerSlot.js +0 -6
  53. package/dist/npm/tasks/SchedulerTask.js +14 -7
  54. package/dist/npm/views/agenda/AgendaView.js +4 -2
  55. package/dist/npm/views/agenda/AgendaViewBody.js +9 -4
  56. package/package.json +16 -14
@@ -148,6 +148,14 @@ var SchedulerVue2 = {
148
148
  ksModifyInitialFormValues: this.modifyInitialFormValues
149
149
  };
150
150
  },
151
+ inject: {
152
+ kendoLocalizationService: {
153
+ default: null
154
+ },
155
+ kendoIntlService: {
156
+ default: null
157
+ }
158
+ },
151
159
  data: function data() {
152
160
  this.intl = provideIntlService(this);
153
161
  this.localization = provideLocalizationService(this);
@@ -350,7 +358,7 @@ var SchedulerVue2 = {
350
358
  // Aria
351
359
  // dir={dir}
352
360
  ,
353
- role: this.$props.role,
361
+ role: this.$props.role || 'application',
354
362
  "aria-label": this.$props.ariaLabel,
355
363
  "aria-labelledby": this.$props.ariaLabelledby
356
364
  // Handlers
@@ -360,7 +368,7 @@ var SchedulerVue2 = {
360
368
  },
361
369
  "class": this.wrapperClassName,
362
370
  tabindex: this.$props.tabIndex,
363
- role: this.$props.role,
371
+ role: this.$props.role || 'application',
364
372
  "aria-label": this.$props.ariaLabel,
365
373
  "aria-labelledby": this.$props.ariaLabelledby,
366
374
  onFocusin: this.handleFocus,
@@ -12,6 +12,7 @@ export interface BaseViewProps {
12
12
  baseSlots: any[];
13
13
  ranges: Range[];
14
14
  id?: string;
15
+ isAgendaView?: Boolean;
15
16
  }
16
17
  /**
17
18
  * @hidden
@@ -24,7 +24,11 @@ var BaseViewVue2 = {
24
24
  viewProps: Object,
25
25
  baseSlots: Array,
26
26
  ranges: Array,
27
- id: String
27
+ id: String,
28
+ isAgendaView: {
29
+ type: Boolean,
30
+ default: false
31
+ }
28
32
  },
29
33
  provide: function provide() {
30
34
  return {
@@ -65,9 +69,9 @@ var BaseViewVue2 = {
65
69
  var defaultSlot = getDefaultSlots(this);
66
70
  return h("div", {
67
71
  "class": 'k-scheduler-layout k-scheduler-layout-flex',
68
- role: "presentation",
72
+ role: this.$props.isAgendaView ? 'grid' : 'presentation',
69
73
  attrs: this.v3 ? undefined : {
70
- role: "presentation"
74
+ role: this.$props.isAgendaView ? 'grid' : 'presentation'
71
75
  }
72
76
  }, [defaultSlot]);
73
77
  },
@@ -33,10 +33,6 @@ var SchedulerActionButtonsVue2 = {
33
33
  return (
34
34
  // @ts-ignore function children
35
35
  h(DialogActionsBar, {
36
- buttonGroupClass: false,
37
- attrs: this.v3 ? undefined : {
38
- buttonGroupClass: false
39
- },
40
36
  "class": 'k-form-buttons'
41
37
  }, this.v3 ? function () {
42
38
  return [
@@ -6,6 +6,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  var inject = allVue.inject;
7
7
  import { Button } from '@progress/kendo-vue-buttons';
8
8
  import { Icon } from '@progress/kendo-vue-common';
9
+ import { moreHorizontalIcon } from '@progress/kendo-svg-icons';
9
10
  /**
10
11
  * @hidden
11
12
  */
@@ -48,14 +49,18 @@ var ShowMoreItemsButtonVue2 = {
48
49
  return [h(Icon, {
49
50
  name: "more-horizontal",
50
51
  attrs: _this.v3 ? undefined : {
51
- name: "more-horizontal"
52
- }
52
+ name: "more-horizontal",
53
+ icon: moreHorizontalIcon
54
+ },
55
+ icon: moreHorizontalIcon
53
56
  })];
54
57
  } : [h(Icon, {
55
58
  name: "more-horizontal",
56
59
  attrs: _this.v3 ? undefined : {
57
- name: "more-horizontal"
58
- }
60
+ name: "more-horizontal",
61
+ icon: moreHorizontalIcon
62
+ },
63
+ icon: moreHorizontalIcon
59
64
  })])
60
65
  );
61
66
  },
@@ -8,6 +8,7 @@ import { ToolbarItem } from '@progress/kendo-vue-buttons';
8
8
  import { getDefaultSlots } from '@progress/kendo-vue-common';
9
9
  import { Button } from '@progress/kendo-vue-buttons';
10
10
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
11
+ import { clockIcon } from '@progress/kendo-svg-icons';
11
12
  /**
12
13
  * @hidden
13
14
  */
@@ -54,9 +55,11 @@ var BusinessHoursVue2 = {
54
55
  tabIndex: -1,
55
56
  attrs: _this.v3 ? undefined : {
56
57
  tabIndex: -1,
57
- icon: 'clock'
58
+ icon: 'clock',
59
+ svgIcon: clockIcon
58
60
  },
59
61
  icon: 'clock',
62
+ svgIcon: clockIcon,
60
63
  onClick: _this.handleShowWorkHoursClick,
61
64
  on: _this.v3 ? undefined : {
62
65
  "click": _this.handleShowWorkHoursClick
@@ -68,9 +71,11 @@ var BusinessHoursVue2 = {
68
71
  tabIndex: -1,
69
72
  attrs: _this.v3 ? undefined : {
70
73
  tabIndex: -1,
71
- icon: 'clock'
74
+ icon: 'clock',
75
+ svgIcon: clockIcon
72
76
  },
73
77
  icon: 'clock',
78
+ svgIcon: clockIcon,
74
79
  onClick: _this.handleShowWorkHoursClick,
75
80
  on: _this.v3 ? undefined : {
76
81
  "click": _this.handleShowWorkHoursClick
@@ -18,6 +18,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
18
18
  import { provideIntlService } from '@progress/kendo-vue-intl';
19
19
  import { MS_PER_DAY } from '../../../constants/main';
20
20
  import { Button } from '@progress/kendo-vue-buttons';
21
+ import { calendarIcon } from '@progress/kendo-svg-icons';
21
22
  /**
22
23
  * @hidden
23
24
  */
@@ -62,9 +63,11 @@ var DatePickerToggleButtonVue2 = {
62
63
  icon: "calendar",
63
64
  attrs: this.v3 ? undefined : {
64
65
  icon: "calendar",
66
+ svgIcon: calendarIcon,
65
67
  tabIndex: -1,
66
68
  fillMode: 'flat'
67
69
  },
70
+ svgIcon: calendarIcon,
68
71
  "class": "k-nav-current",
69
72
  tabIndex: -1,
70
73
  fillMode: 'flat'
@@ -23,6 +23,7 @@ import { MS_PER_DAY } from '../../../constants/main';
23
23
  import { Button } from '@progress/kendo-vue-buttons';
24
24
  import { toUTCDateTime } from '../../../utils/main';
25
25
  import { canUseDOM, guid, Keys } from '@progress/kendo-vue-common';
26
+ import { calendarIcon } from '@progress/kendo-svg-icons';
26
27
  var EMPTY_DATE_INPUT = function EMPTY_DATE_INPUT() {
27
28
  return null;
28
29
  };
@@ -105,8 +106,10 @@ var NavigationDatePickerVue2 = {
105
106
  attrs: this.v3 ? undefined : {
106
107
  id: this.buttonId,
107
108
  fillMode: 'flat',
109
+ "aria-live": 'polite',
108
110
  tabIndex: -1,
109
- icon: "calendar"
111
+ icon: "calendar",
112
+ svgIcon: calendarIcon
110
113
  },
111
114
  onFocus: this.onFocus,
112
115
  on: this.v3 ? undefined : {
@@ -117,8 +120,10 @@ var NavigationDatePickerVue2 = {
117
120
  onBlur: this.onBlur,
118
121
  fillMode: 'flat',
119
122
  "class": 'k-nav-current',
123
+ "aria-live": 'polite',
120
124
  tabIndex: -1,
121
125
  icon: "calendar",
126
+ svgIcon: calendarIcon,
122
127
  onClick: this.handleClick
123
128
  }, this.v3 ? function () {
124
129
  return [_this2.media === 'desktop' ? text : shortText,
@@ -5,9 +5,10 @@ var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  import { Button, ButtonGroup } from '@progress/kendo-vue-buttons';
7
7
  import { ToolbarItem } from '@progress/kendo-vue-buttons';
8
- import { getDefaultSlots, Icon } from '@progress/kendo-vue-common';
8
+ import { getDefaultSlots } from '@progress/kendo-vue-common';
9
9
  import { messages, today, previousTitle, nextTitle } from '../../../messages/main';
10
10
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
11
+ import { caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
11
12
  /**
12
13
  * @hidden
13
14
  */
@@ -56,6 +57,7 @@ var SchedulerNavigationVue2 = {
56
57
  title: todayText,
57
58
  "aria-label": todayText
58
59
  },
60
+ "class": "k-nav-today",
59
61
  tabIndex: -1,
60
62
  title: todayText,
61
63
  "aria-label": todayText,
@@ -72,68 +74,44 @@ var SchedulerNavigationVue2 = {
72
74
  attrs: _this.v3 ? undefined : {
73
75
  role: "button",
74
76
  tabIndex: -1,
77
+ icon: 'caret-alt-left',
78
+ svgIcon: caretAltLeftIcon,
75
79
  title: previousText,
76
80
  "aria-label": previousText
77
81
  },
78
82
  tabIndex: -1,
79
- "class": "k-button-icon",
83
+ "class": "k-button-icon k-nav-prev",
84
+ icon: 'caret-alt-left',
85
+ svgIcon: caretAltLeftIcon,
80
86
  title: previousText,
81
87
  "aria-label": previousText,
82
88
  onClick: _this.handlePrevClick,
83
89
  on: _this.v3 ? undefined : {
84
90
  "click": _this.handlePrevClick
85
91
  }
86
- }, _this.v3 ? function () {
87
- return [h("span", {
88
- "class": "k-button-text"
89
- }, [h(Icon, {
90
- name: "caret-alt-left",
91
- attrs: _this.v3 ? undefined : {
92
- name: "caret-alt-left"
93
- }
94
- })])];
95
- } : [h("span", {
96
- "class": "k-button-text"
97
- }, [h(Icon, {
98
- name: "caret-alt-left",
99
- attrs: _this.v3 ? undefined : {
100
- name: "caret-alt-left"
101
- }
102
- })])]),
92
+ }),
103
93
  // @ts-ignore function children
104
94
  h(Button, {
105
95
  role: "button",
106
96
  attrs: _this.v3 ? undefined : {
107
97
  role: "button",
108
98
  tabIndex: -1,
99
+ icon: 'caret-alt-right',
100
+ svgIcon: caretAltRightIcon,
109
101
  title: nextText,
110
102
  "aria-label": nextText
111
103
  },
112
104
  tabIndex: -1,
113
- "class": "k-button-icon",
105
+ "class": "k-button-icon k-nav-next",
106
+ icon: 'caret-alt-right',
107
+ svgIcon: caretAltRightIcon,
114
108
  title: nextText,
115
109
  "aria-label": nextText,
116
110
  onClick: _this.handleNextClick,
117
111
  on: _this.v3 ? undefined : {
118
112
  "click": _this.handleNextClick
119
113
  }
120
- }, _this.v3 ? function () {
121
- return [h("span", {
122
- "class": "k-button-text"
123
- }, [h(Icon, {
124
- name: "caret-alt-right",
125
- attrs: _this.v3 ? undefined : {
126
- name: "caret-alt-right"
127
- }
128
- })])];
129
- } : [h("span", {
130
- "class": "k-button-text"
131
- }, [h(Icon, {
132
- name: "caret-alt-right",
133
- attrs: _this.v3 ? undefined : {
134
- name: "caret-alt-right"
135
- }
136
- })])])];
114
+ })];
137
115
  } : [h(Button, {
138
116
  role: "button",
139
117
  attrs: _this.v3 ? undefined : {
@@ -142,6 +120,7 @@ var SchedulerNavigationVue2 = {
142
120
  title: todayText,
143
121
  "aria-label": todayText
144
122
  },
123
+ "class": "k-nav-today",
145
124
  tabIndex: -1,
146
125
  title: todayText,
147
126
  "aria-label": todayText,
@@ -156,66 +135,42 @@ var SchedulerNavigationVue2 = {
156
135
  attrs: _this.v3 ? undefined : {
157
136
  role: "button",
158
137
  tabIndex: -1,
138
+ icon: 'caret-alt-left',
139
+ svgIcon: caretAltLeftIcon,
159
140
  title: previousText,
160
141
  "aria-label": previousText
161
142
  },
162
143
  tabIndex: -1,
163
- "class": "k-button-icon",
144
+ "class": "k-button-icon k-nav-prev",
145
+ icon: 'caret-alt-left',
146
+ svgIcon: caretAltLeftIcon,
164
147
  title: previousText,
165
148
  "aria-label": previousText,
166
149
  onClick: _this.handlePrevClick,
167
150
  on: _this.v3 ? undefined : {
168
151
  "click": _this.handlePrevClick
169
152
  }
170
- }, _this.v3 ? function () {
171
- return [h("span", {
172
- "class": "k-button-text"
173
- }, [h(Icon, {
174
- name: "caret-alt-left",
175
- attrs: _this.v3 ? undefined : {
176
- name: "caret-alt-left"
177
- }
178
- })])];
179
- } : [h("span", {
180
- "class": "k-button-text"
181
- }, [h(Icon, {
182
- name: "caret-alt-left",
183
- attrs: _this.v3 ? undefined : {
184
- name: "caret-alt-left"
185
- }
186
- })])]), h(Button, {
153
+ }), h(Button, {
187
154
  role: "button",
188
155
  attrs: _this.v3 ? undefined : {
189
156
  role: "button",
190
157
  tabIndex: -1,
158
+ icon: 'caret-alt-right',
159
+ svgIcon: caretAltRightIcon,
191
160
  title: nextText,
192
161
  "aria-label": nextText
193
162
  },
194
163
  tabIndex: -1,
195
- "class": "k-button-icon",
164
+ "class": "k-button-icon k-nav-next",
165
+ icon: 'caret-alt-right',
166
+ svgIcon: caretAltRightIcon,
196
167
  title: nextText,
197
168
  "aria-label": nextText,
198
169
  onClick: _this.handleNextClick,
199
170
  on: _this.v3 ? undefined : {
200
171
  "click": _this.handleNextClick
201
172
  }
202
- }, _this.v3 ? function () {
203
- return [h("span", {
204
- "class": "k-button-text"
205
- }, [h(Icon, {
206
- name: "caret-alt-right",
207
- attrs: _this.v3 ? undefined : {
208
- name: "caret-alt-right"
209
- }
210
- })])];
211
- } : [h("span", {
212
- "class": "k-button-text"
213
- }, [h(Icon, {
214
- name: "caret-alt-right",
215
- attrs: _this.v3 ? undefined : {
216
- name: "caret-alt-right"
217
- }
218
- })])])])];
173
+ })])];
219
174
  } : [h(ButtonGroup, {
220
175
  "class": "k-scheduler-navigation"
221
176
  }, _this.v3 ? function () {
@@ -227,6 +182,7 @@ var SchedulerNavigationVue2 = {
227
182
  title: todayText,
228
183
  "aria-label": todayText
229
184
  },
185
+ "class": "k-nav-today",
230
186
  tabIndex: -1,
231
187
  title: todayText,
232
188
  "aria-label": todayText,
@@ -241,66 +197,42 @@ var SchedulerNavigationVue2 = {
241
197
  attrs: _this.v3 ? undefined : {
242
198
  role: "button",
243
199
  tabIndex: -1,
200
+ icon: 'caret-alt-left',
201
+ svgIcon: caretAltLeftIcon,
244
202
  title: previousText,
245
203
  "aria-label": previousText
246
204
  },
247
205
  tabIndex: -1,
248
- "class": "k-button-icon",
206
+ "class": "k-button-icon k-nav-prev",
207
+ icon: 'caret-alt-left',
208
+ svgIcon: caretAltLeftIcon,
249
209
  title: previousText,
250
210
  "aria-label": previousText,
251
211
  onClick: _this.handlePrevClick,
252
212
  on: _this.v3 ? undefined : {
253
213
  "click": _this.handlePrevClick
254
214
  }
255
- }, _this.v3 ? function () {
256
- return [h("span", {
257
- "class": "k-button-text"
258
- }, [h(Icon, {
259
- name: "caret-alt-left",
260
- attrs: _this.v3 ? undefined : {
261
- name: "caret-alt-left"
262
- }
263
- })])];
264
- } : [h("span", {
265
- "class": "k-button-text"
266
- }, [h(Icon, {
267
- name: "caret-alt-left",
268
- attrs: _this.v3 ? undefined : {
269
- name: "caret-alt-left"
270
- }
271
- })])]), h(Button, {
215
+ }), h(Button, {
272
216
  role: "button",
273
217
  attrs: _this.v3 ? undefined : {
274
218
  role: "button",
275
219
  tabIndex: -1,
220
+ icon: 'caret-alt-right',
221
+ svgIcon: caretAltRightIcon,
276
222
  title: nextText,
277
223
  "aria-label": nextText
278
224
  },
279
225
  tabIndex: -1,
280
- "class": "k-button-icon",
226
+ "class": "k-button-icon k-nav-next",
227
+ icon: 'caret-alt-right',
228
+ svgIcon: caretAltRightIcon,
281
229
  title: nextText,
282
230
  "aria-label": nextText,
283
231
  onClick: _this.handleNextClick,
284
232
  on: _this.v3 ? undefined : {
285
233
  "click": _this.handleNextClick
286
234
  }
287
- }, _this.v3 ? function () {
288
- return [h("span", {
289
- "class": "k-button-text"
290
- }, [h(Icon, {
291
- name: "caret-alt-right",
292
- attrs: _this.v3 ? undefined : {
293
- name: "caret-alt-right"
294
- }
295
- })])];
296
- } : [h("span", {
297
- "class": "k-button-text"
298
- }, [h(Icon, {
299
- name: "caret-alt-right",
300
- attrs: _this.v3 ? undefined : {
301
- name: "caret-alt-right"
302
- }
303
- })])])];
235
+ })];
304
236
  } : [h(Button, {
305
237
  role: "button",
306
238
  attrs: _this.v3 ? undefined : {
@@ -309,6 +241,7 @@ var SchedulerNavigationVue2 = {
309
241
  title: todayText,
310
242
  "aria-label": todayText
311
243
  },
244
+ "class": "k-nav-today",
312
245
  tabIndex: -1,
313
246
  title: todayText,
314
247
  "aria-label": todayText,
@@ -323,66 +256,42 @@ var SchedulerNavigationVue2 = {
323
256
  attrs: _this.v3 ? undefined : {
324
257
  role: "button",
325
258
  tabIndex: -1,
259
+ icon: 'caret-alt-left',
260
+ svgIcon: caretAltLeftIcon,
326
261
  title: previousText,
327
262
  "aria-label": previousText
328
263
  },
329
264
  tabIndex: -1,
330
- "class": "k-button-icon",
265
+ "class": "k-button-icon k-nav-prev",
266
+ icon: 'caret-alt-left',
267
+ svgIcon: caretAltLeftIcon,
331
268
  title: previousText,
332
269
  "aria-label": previousText,
333
270
  onClick: _this.handlePrevClick,
334
271
  on: _this.v3 ? undefined : {
335
272
  "click": _this.handlePrevClick
336
273
  }
337
- }, _this.v3 ? function () {
338
- return [h("span", {
339
- "class": "k-button-text"
340
- }, [h(Icon, {
341
- name: "caret-alt-left",
342
- attrs: _this.v3 ? undefined : {
343
- name: "caret-alt-left"
344
- }
345
- })])];
346
- } : [h("span", {
347
- "class": "k-button-text"
348
- }, [h(Icon, {
349
- name: "caret-alt-left",
350
- attrs: _this.v3 ? undefined : {
351
- name: "caret-alt-left"
352
- }
353
- })])]), h(Button, {
274
+ }), h(Button, {
354
275
  role: "button",
355
276
  attrs: _this.v3 ? undefined : {
356
277
  role: "button",
357
278
  tabIndex: -1,
279
+ icon: 'caret-alt-right',
280
+ svgIcon: caretAltRightIcon,
358
281
  title: nextText,
359
282
  "aria-label": nextText
360
283
  },
361
284
  tabIndex: -1,
362
- "class": "k-button-icon",
285
+ "class": "k-button-icon k-nav-next",
286
+ icon: 'caret-alt-right',
287
+ svgIcon: caretAltRightIcon,
363
288
  title: nextText,
364
289
  "aria-label": nextText,
365
290
  onClick: _this.handleNextClick,
366
291
  on: _this.v3 ? undefined : {
367
292
  "click": _this.handleNextClick
368
293
  }
369
- }, _this.v3 ? function () {
370
- return [h("span", {
371
- "class": "k-button-text"
372
- }, [h(Icon, {
373
- name: "caret-alt-right",
374
- attrs: _this.v3 ? undefined : {
375
- name: "caret-alt-right"
376
- }
377
- })])];
378
- } : [h("span", {
379
- "class": "k-button-text"
380
- }, [h(Icon, {
381
- name: "caret-alt-right",
382
- attrs: _this.v3 ? undefined : {
383
- name: "caret-alt-right"
384
- }
385
- })])])])])
294
+ })])])
386
295
  );
387
296
  },
388
297
  methods: {
@@ -18,8 +18,9 @@ var isV3 = allVue.version && allVue.version[0] === '3';
18
18
  import { DropDownButton, ButtonGroup } from '@progress/kendo-vue-buttons';
19
19
  import { ViewSelectorItem } from './ViewSelectorItem';
20
20
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
21
- import { messages } from '../../../messages/main';
21
+ import { messages, dropdownlistSelectViewAriaLabel } from '../../../messages/main';
22
22
  import { Icon } from '@progress/kendo-vue-common';
23
+ import { caretAltDownIcon } from '@progress/kendo-svg-icons';
23
24
  /**
24
25
  * @hidden
25
26
  */
@@ -82,8 +83,9 @@ var ViewSelectorListVue2 = {
82
83
  // @ts-ignore function children
83
84
  h(DropDownButton, {
84
85
  "class": "k-views-dropdown",
85
- tabIndex: -1,
86
+ "aria-label": this.localization.toLanguageString(dropdownlistSelectViewAriaLabel, messages[dropdownlistSelectViewAriaLabel]),
86
87
  attrs: this.v3 ? undefined : {
88
+ "aria-label": this.localization.toLanguageString(dropdownlistSelectViewAriaLabel, messages[dropdownlistSelectViewAriaLabel]),
87
89
  tabIndex: -1,
88
90
  popupSettings: {
89
91
  popupClass: 'k-scheduler-toolbar'
@@ -100,6 +102,7 @@ var ViewSelectorListVue2 = {
100
102
  }, this),
101
103
  text: activeView.title || activeName
102
104
  },
105
+ tabIndex: -1,
103
106
  onItemclick: this.handleItemClick,
104
107
  on: this.v3 ? undefined : {
105
108
  "itemclick": this.handleItemClick
@@ -122,14 +125,18 @@ var ViewSelectorListVue2 = {
122
125
  return [h(Icon, {
123
126
  name: "caret-alt-down",
124
127
  attrs: _this2.v3 ? undefined : {
125
- name: "caret-alt-down"
126
- }
128
+ name: "caret-alt-down",
129
+ icon: caretAltDownIcon
130
+ },
131
+ icon: caretAltDownIcon
127
132
  })];
128
133
  } : [h(Icon, {
129
134
  name: "caret-alt-down",
130
135
  attrs: _this2.v3 ? undefined : {
131
- name: "caret-alt-down"
132
- }
136
+ name: "caret-alt-down",
137
+ icon: caretAltDownIcon
138
+ },
139
+ icon: caretAltDownIcon
133
140
  })]), this.media === 'desktop' &&
134
141
  // @ts-ignore function children
135
142
  h(ButtonGroup, {