@progress/kendo-vue-scheduler 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-scheduler.js +1 -1
- package/dist/es/Scheduler.js +10 -2
- package/dist/es/components/BaseView.d.ts +1 -0
- package/dist/es/components/BaseView.js +7 -3
- package/dist/es/components/SchedulerActionButtons.js +0 -4
- package/dist/es/components/ShowMoreItemsButton.js +9 -4
- package/dist/es/components/footer/bussiness-hours/BusinessHours.js +7 -2
- package/dist/es/components/header/navigation/DatePickerToggleButton.js +3 -0
- package/dist/es/components/header/navigation/NavigationDatePicker.js +6 -1
- package/dist/es/components/header/navigation/SchedulerNavigation.js +54 -145
- package/dist/es/components/header/view-selector/ViewSelectorList.js +13 -6
- package/dist/es/items/SchedulerItem.js +49 -27
- package/dist/es/messages/main.d.ts +3 -0
- package/dist/es/messages/main.js +3 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slots/SchedulerSlot.js +0 -6
- package/dist/es/tasks/SchedulerTask.js +14 -7
- package/dist/es/views/agenda/AgendaView.js +4 -2
- package/dist/es/views/agenda/AgendaViewBody.js +9 -4
- package/dist/esm/Scheduler.js +10 -2
- package/dist/esm/components/BaseView.d.ts +1 -0
- package/dist/esm/components/BaseView.js +7 -3
- package/dist/esm/components/SchedulerActionButtons.js +0 -4
- package/dist/esm/components/ShowMoreItemsButton.js +9 -4
- package/dist/esm/components/footer/bussiness-hours/BusinessHours.js +7 -2
- package/dist/esm/components/header/navigation/DatePickerToggleButton.js +3 -0
- package/dist/esm/components/header/navigation/NavigationDatePicker.js +6 -1
- package/dist/esm/components/header/navigation/SchedulerNavigation.js +54 -145
- package/dist/esm/components/header/view-selector/ViewSelectorList.js +13 -6
- package/dist/esm/items/SchedulerItem.js +49 -27
- package/dist/esm/messages/main.d.ts +3 -0
- package/dist/esm/messages/main.js +3 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/slots/SchedulerSlot.js +0 -6
- package/dist/esm/tasks/SchedulerTask.js +14 -7
- package/dist/esm/views/agenda/AgendaView.js +4 -2
- package/dist/esm/views/agenda/AgendaViewBody.js +9 -4
- package/dist/npm/Scheduler.js +10 -2
- package/dist/npm/components/BaseView.d.ts +1 -0
- package/dist/npm/components/BaseView.js +7 -3
- package/dist/npm/components/SchedulerActionButtons.js +0 -4
- package/dist/npm/components/ShowMoreItemsButton.js +9 -4
- package/dist/npm/components/footer/bussiness-hours/BusinessHours.js +7 -2
- package/dist/npm/components/header/navigation/DatePickerToggleButton.js +3 -0
- package/dist/npm/components/header/navigation/NavigationDatePicker.js +6 -1
- package/dist/npm/components/header/navigation/SchedulerNavigation.js +53 -144
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +12 -5
- package/dist/npm/items/SchedulerItem.js +49 -27
- package/dist/npm/messages/main.d.ts +3 -0
- package/dist/npm/messages/main.js +5 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slots/SchedulerSlot.js +0 -6
- package/dist/npm/tasks/SchedulerTask.js +14 -7
- package/dist/npm/views/agenda/AgendaView.js +4 -2
- package/dist/npm/views/agenda/AgendaViewBody.js +9 -4
- package/package.json +16 -14
|
@@ -25,6 +25,7 @@ import { formatEventTime } from '../utils/main';
|
|
|
25
25
|
import { SchedulerOccurrenceDialog } from '../components/SchedulerOccurrenceDialog';
|
|
26
26
|
import { SchedulerRemoveDialog } from '../components/SchedulerRemoveDialog';
|
|
27
27
|
import { SchedulerForm } from '../components/SchedulerForm';
|
|
28
|
+
import { arrowRotateCwIcon, arrowsNoRepeatIcon, caretAltLeftIcon, caretAltRightIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
28
29
|
/**
|
|
29
30
|
* @hidden
|
|
30
31
|
*/
|
|
@@ -254,9 +255,10 @@ var SchedulerItemVue2 = {
|
|
|
254
255
|
attrs: _this2.v3 ? undefined : {
|
|
255
256
|
id: _this2.$props.id,
|
|
256
257
|
tabindex: _this2.currentTabIndex,
|
|
258
|
+
role: 'button'
|
|
257
259
|
// Aria
|
|
258
|
-
|
|
259
|
-
"aria-
|
|
260
|
+
,
|
|
261
|
+
"aria-label": _this2.eventLabel
|
|
260
262
|
// Focus
|
|
261
263
|
,
|
|
262
264
|
|
|
@@ -266,8 +268,8 @@ var SchedulerItemVue2 = {
|
|
|
266
268
|
style: _this2.computedStyle,
|
|
267
269
|
tabindex: _this2.currentTabIndex,
|
|
268
270
|
"class": _this2.itemClassName,
|
|
271
|
+
role: 'button',
|
|
269
272
|
"aria-label": _this2.eventLabel,
|
|
270
|
-
"aria-selected": _this2.$props.selected,
|
|
271
273
|
onFocusin: _this2.handleFocus,
|
|
272
274
|
on: _this2.v3 ? undefined : {
|
|
273
275
|
"focusin": _this2.handleFocus,
|
|
@@ -307,18 +309,24 @@ var SchedulerItemVue2 = {
|
|
|
307
309
|
}, [_this2.$props.tail && h(Icon, {
|
|
308
310
|
name: "caret-alt-left",
|
|
309
311
|
attrs: _this2.v3 ? undefined : {
|
|
310
|
-
name: "caret-alt-left"
|
|
311
|
-
|
|
312
|
+
name: "caret-alt-left",
|
|
313
|
+
icon: caretAltLeftIcon
|
|
314
|
+
},
|
|
315
|
+
icon: caretAltLeftIcon
|
|
312
316
|
}), _this2.$props.isRecurring && !_this2.$props.isException && h(Icon, {
|
|
313
317
|
name: "arrow-rotate-cw",
|
|
314
318
|
attrs: _this2.v3 ? undefined : {
|
|
315
|
-
name: "arrow-rotate-cw"
|
|
316
|
-
|
|
319
|
+
name: "arrow-rotate-cw",
|
|
320
|
+
icon: arrowRotateCwIcon
|
|
321
|
+
},
|
|
322
|
+
icon: arrowRotateCwIcon
|
|
317
323
|
}), !_this2.$props.isRecurring && _this2.$props.isException && h(Icon, {
|
|
318
324
|
name: "arrows-no-repeat",
|
|
319
325
|
attrs: _this2.v3 ? undefined : {
|
|
320
|
-
name: "arrows-no-repeat"
|
|
321
|
-
|
|
326
|
+
name: "arrows-no-repeat",
|
|
327
|
+
icon: arrowsNoRepeatIcon
|
|
328
|
+
},
|
|
329
|
+
icon: arrowsNoRepeatIcon
|
|
322
330
|
})]), _this2.formItem && !_this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerForm, {
|
|
323
331
|
dataItem: _this2.formItem,
|
|
324
332
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -379,15 +387,19 @@ var SchedulerItemVue2 = {
|
|
|
379
387
|
"click": _this2.handleRemoveClick
|
|
380
388
|
}
|
|
381
389
|
}, [h(Icon, {
|
|
382
|
-
name: "
|
|
390
|
+
name: "x",
|
|
383
391
|
attrs: _this2.v3 ? undefined : {
|
|
384
|
-
name: "
|
|
385
|
-
|
|
392
|
+
name: "x",
|
|
393
|
+
icon: xIcon
|
|
394
|
+
},
|
|
395
|
+
icon: xIcon
|
|
386
396
|
})]), _this2.$props.head && h(Icon, {
|
|
387
397
|
name: "caret-alt-right",
|
|
388
398
|
attrs: _this2.v3 ? undefined : {
|
|
389
|
-
name: "caret-alt-right"
|
|
390
|
-
|
|
399
|
+
name: "caret-alt-right",
|
|
400
|
+
icon: caretAltRightIcon
|
|
401
|
+
},
|
|
402
|
+
icon: caretAltRightIcon
|
|
391
403
|
})]), _this2.currentEditable.resize && _this2.$props.vertical && [
|
|
392
404
|
// @ts-ignore function children
|
|
393
405
|
h(Draggable, {
|
|
@@ -474,16 +486,16 @@ var SchedulerItemVue2 = {
|
|
|
474
486
|
attrs: _this2.v3 ? undefined : {
|
|
475
487
|
id: _this2.$props.id,
|
|
476
488
|
tabindex: _this2.currentTabIndex,
|
|
489
|
+
role: 'button',
|
|
477
490
|
"aria-label": _this2.eventLabel,
|
|
478
|
-
"aria-selected": _this2.$props.selected,
|
|
479
491
|
"data-group-index": _this2.$props.group.index,
|
|
480
492
|
"data-range-index": _this2.$props.range.index
|
|
481
493
|
},
|
|
482
494
|
style: _this2.computedStyle,
|
|
483
495
|
tabindex: _this2.currentTabIndex,
|
|
484
496
|
"class": _this2.itemClassName,
|
|
497
|
+
role: 'button',
|
|
485
498
|
"aria-label": _this2.eventLabel,
|
|
486
|
-
"aria-selected": _this2.$props.selected,
|
|
487
499
|
onFocusin: _this2.handleFocus,
|
|
488
500
|
on: _this2.v3 ? undefined : {
|
|
489
501
|
"focusin": _this2.handleFocus,
|
|
@@ -519,18 +531,24 @@ var SchedulerItemVue2 = {
|
|
|
519
531
|
}, [_this2.$props.tail && h(Icon, {
|
|
520
532
|
name: "caret-alt-left",
|
|
521
533
|
attrs: _this2.v3 ? undefined : {
|
|
522
|
-
name: "caret-alt-left"
|
|
523
|
-
|
|
534
|
+
name: "caret-alt-left",
|
|
535
|
+
icon: caretAltLeftIcon
|
|
536
|
+
},
|
|
537
|
+
icon: caretAltLeftIcon
|
|
524
538
|
}), _this2.$props.isRecurring && !_this2.$props.isException && h(Icon, {
|
|
525
539
|
name: "arrow-rotate-cw",
|
|
526
540
|
attrs: _this2.v3 ? undefined : {
|
|
527
|
-
name: "arrow-rotate-cw"
|
|
528
|
-
|
|
541
|
+
name: "arrow-rotate-cw",
|
|
542
|
+
icon: arrowRotateCwIcon
|
|
543
|
+
},
|
|
544
|
+
icon: arrowRotateCwIcon
|
|
529
545
|
}), !_this2.$props.isRecurring && _this2.$props.isException && h(Icon, {
|
|
530
546
|
name: "arrows-no-repeat",
|
|
531
547
|
attrs: _this2.v3 ? undefined : {
|
|
532
|
-
name: "arrows-no-repeat"
|
|
533
|
-
|
|
548
|
+
name: "arrows-no-repeat",
|
|
549
|
+
icon: arrowsNoRepeatIcon
|
|
550
|
+
},
|
|
551
|
+
icon: arrowsNoRepeatIcon
|
|
534
552
|
})]), _this2.formItem && !_this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerForm, {
|
|
535
553
|
dataItem: _this2.formItem,
|
|
536
554
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -591,15 +609,19 @@ var SchedulerItemVue2 = {
|
|
|
591
609
|
"click": _this2.handleRemoveClick
|
|
592
610
|
}
|
|
593
611
|
}, [h(Icon, {
|
|
594
|
-
name: "
|
|
612
|
+
name: "x",
|
|
595
613
|
attrs: _this2.v3 ? undefined : {
|
|
596
|
-
name: "
|
|
597
|
-
|
|
614
|
+
name: "x",
|
|
615
|
+
icon: xIcon
|
|
616
|
+
},
|
|
617
|
+
icon: xIcon
|
|
598
618
|
})]), _this2.$props.head && h(Icon, {
|
|
599
619
|
name: "caret-alt-right",
|
|
600
620
|
attrs: _this2.v3 ? undefined : {
|
|
601
|
-
name: "caret-alt-right"
|
|
602
|
-
|
|
621
|
+
name: "caret-alt-right",
|
|
622
|
+
icon: caretAltRightIcon
|
|
623
|
+
},
|
|
624
|
+
icon: caretAltRightIcon
|
|
603
625
|
})]), _this2.currentEditable.resize && _this2.$props.vertical && [h(Draggable, {
|
|
604
626
|
onPress: _this2.handleResizePress,
|
|
605
627
|
on: _this2.v3 ? undefined : {
|
|
@@ -5,6 +5,8 @@ export declare const allDay = "scheduler.allDay";
|
|
|
5
5
|
/** @hidden */
|
|
6
6
|
export declare const today = "scheduler.today";
|
|
7
7
|
/** @hidden */
|
|
8
|
+
export declare const dropdownlistSelectViewAriaLabel = "scheduler.dropdownlistSelectViewAriaLabel";
|
|
9
|
+
/** @hidden */
|
|
8
10
|
export declare const timelineViewTitle = "scheduler.timelineViewTitle";
|
|
9
11
|
/** @hidden */
|
|
10
12
|
export declare const weekViewTitle = "scheduler.weekViewTitle";
|
|
@@ -160,6 +162,7 @@ export declare const messages: {
|
|
|
160
162
|
"scheduler.allEvents": string;
|
|
161
163
|
"scheduler.allDay": string;
|
|
162
164
|
"scheduler.today": string;
|
|
165
|
+
"scheduler.dropdownlistSelectViewAriaLabel": string;
|
|
163
166
|
"scheduler.dayViewTitle": string;
|
|
164
167
|
"scheduler.monthViewTitle": string;
|
|
165
168
|
"scheduler.weekViewTitle": string;
|
package/dist/es/messages/main.js
CHANGED
|
@@ -6,6 +6,8 @@ export var allDay = 'scheduler.allDay';
|
|
|
6
6
|
/** @hidden */
|
|
7
7
|
export var today = 'scheduler.today';
|
|
8
8
|
/** @hidden */
|
|
9
|
+
export var dropdownlistSelectViewAriaLabel = 'scheduler.dropdownlistSelectViewAriaLabel';
|
|
10
|
+
/** @hidden */
|
|
9
11
|
export var timelineViewTitle = 'scheduler.timelineViewTitle';
|
|
10
12
|
/** @hidden */
|
|
11
13
|
export var weekViewTitle = 'scheduler.weekViewTitle';
|
|
@@ -161,6 +163,7 @@ export var messages = (_a = {},
|
|
|
161
163
|
_a[allEvents] = 'All events',
|
|
162
164
|
_a[allDay] = 'all day',
|
|
163
165
|
_a[today] = 'Today',
|
|
166
|
+
_a[dropdownlistSelectViewAriaLabel] = 'Select View',
|
|
164
167
|
_a[dayViewTitle] = 'Day',
|
|
165
168
|
_a[monthViewTitle] = 'Month',
|
|
166
169
|
_a[weekViewTitle] = 'Week',
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-scheduler',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1673512824,
|
|
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
|
};
|
|
@@ -157,10 +157,6 @@ var SchedulerSlotVue2 = {
|
|
|
157
157
|
attrs: this.v3 ? undefined : {
|
|
158
158
|
id: this.$props.id,
|
|
159
159
|
tabindex: this.currentTabIndex
|
|
160
|
-
// Aria
|
|
161
|
-
,
|
|
162
|
-
"aria-label": this.slotLabel,
|
|
163
|
-
"aria-selected": this.$props.selected
|
|
164
160
|
// Focus
|
|
165
161
|
,
|
|
166
162
|
|
|
@@ -177,8 +173,6 @@ var SchedulerSlotVue2 = {
|
|
|
177
173
|
},
|
|
178
174
|
"class": this.slotClass,
|
|
179
175
|
tabindex: this.currentTabIndex,
|
|
180
|
-
"aria-label": this.slotLabel,
|
|
181
|
-
"aria-selected": this.$props.selected,
|
|
182
176
|
onFocus: this.handleFocus,
|
|
183
177
|
on: this.v3 ? undefined : {
|
|
184
178
|
"focus": this.handleFocus,
|
|
@@ -22,6 +22,7 @@ import { getDefaultSlots, Icon } from '@progress/kendo-vue-common';
|
|
|
22
22
|
import { useEditable } from '../hooks/main';
|
|
23
23
|
import { SchedulerOccurrenceDialog } from '../components/SchedulerOccurrenceDialog';
|
|
24
24
|
import { SchedulerRemoveDialog } from '../components/SchedulerRemoveDialog';
|
|
25
|
+
import { arrowRotateCwIcon, arrowsNoRepeatIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
25
26
|
/**
|
|
26
27
|
* @hidden
|
|
27
28
|
*/
|
|
@@ -134,13 +135,17 @@ var SchedulerTaskVue2 = {
|
|
|
134
135
|
}), this.$props.isRecurring && h(Icon, {
|
|
135
136
|
name: "arrow-rotate-cw",
|
|
136
137
|
attrs: this.v3 ? undefined : {
|
|
137
|
-
name: "arrow-rotate-cw"
|
|
138
|
-
|
|
138
|
+
name: "arrow-rotate-cw",
|
|
139
|
+
icon: arrowRotateCwIcon
|
|
140
|
+
},
|
|
141
|
+
icon: arrowRotateCwIcon
|
|
139
142
|
}), this.$props.isException && h(Icon, {
|
|
140
143
|
name: "arrows-no-repeat",
|
|
141
144
|
attrs: this.v3 ? undefined : {
|
|
142
|
-
name: "arrows-no-repeat"
|
|
143
|
-
|
|
145
|
+
name: "arrows-no-repeat",
|
|
146
|
+
icon: arrowsNoRepeatIcon
|
|
147
|
+
},
|
|
148
|
+
icon: arrowsNoRepeatIcon
|
|
144
149
|
}), this.$props.title, defaultSlot, editable.remove && h("a", {
|
|
145
150
|
"class": "k-link k-event-delete",
|
|
146
151
|
title: deleteMessage,
|
|
@@ -154,10 +159,12 @@ var SchedulerTaskVue2 = {
|
|
|
154
159
|
"click": this.handleRemoveClick
|
|
155
160
|
}
|
|
156
161
|
}, [h(Icon, {
|
|
157
|
-
name: "
|
|
162
|
+
name: "x",
|
|
158
163
|
attrs: this.v3 ? undefined : {
|
|
159
|
-
name: "
|
|
160
|
-
|
|
164
|
+
name: "x",
|
|
165
|
+
icon: xIcon
|
|
166
|
+
},
|
|
167
|
+
icon: xIcon
|
|
161
168
|
})]), this.showOccurrenceDialog && h(SchedulerOccurrenceDialog, {
|
|
162
169
|
dataItem: this.removeItem,
|
|
163
170
|
attrs: this.v3 ? undefined : {
|
|
@@ -174,12 +174,14 @@ var AgendaViewVue2 = {
|
|
|
174
174
|
id: this.$props.id,
|
|
175
175
|
viewProps: __assign({}, this.$props),
|
|
176
176
|
baseSlots: this.items,
|
|
177
|
-
ranges: this.ranges
|
|
177
|
+
ranges: this.ranges,
|
|
178
|
+
isAgendaView: true
|
|
178
179
|
},
|
|
179
180
|
"class": 'k-scheduler-agendaview',
|
|
180
181
|
viewProps: __assign({}, this.$props),
|
|
181
182
|
baseSlots: this.items,
|
|
182
|
-
ranges: this.ranges
|
|
183
|
+
ranges: this.ranges,
|
|
184
|
+
isAgendaView: true
|
|
183
185
|
}, this.v3 ? function () {
|
|
184
186
|
return [h("div", {
|
|
185
187
|
"class": "k-scheduler-head"
|
|
@@ -8,6 +8,7 @@ import { provideIntlService, provideLocalizationService } from '@progress/kendo-
|
|
|
8
8
|
import { SchedulerEditTask } from '../../tasks/SchedulerEditTask';
|
|
9
9
|
import { messages, noEvents, allDay } from '../../messages/main';
|
|
10
10
|
import { Icon } from '@progress/kendo-vue-common';
|
|
11
|
+
import { caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -128,13 +129,17 @@ var AgendaViewBodyVue2 = {
|
|
|
128
129
|
}, [h("div", [item.tail && h(Icon, {
|
|
129
130
|
name: "caret-alt-left",
|
|
130
131
|
attrs: this.v3 ? undefined : {
|
|
131
|
-
name: "caret-alt-left"
|
|
132
|
-
|
|
132
|
+
name: "caret-alt-left",
|
|
133
|
+
icon: caretAltLeftIcon
|
|
134
|
+
},
|
|
135
|
+
icon: caretAltLeftIcon
|
|
133
136
|
}), item.isAllDay ? localization.toLanguageString(allDay, messages[allDay]) : getTimeFormat(this.intl, item), item.head && h(Icon, {
|
|
134
137
|
name: "caret-alt-right",
|
|
135
138
|
attrs: this.v3 ? undefined : {
|
|
136
|
-
name: "caret-alt-right"
|
|
137
|
-
|
|
139
|
+
name: "caret-alt-right",
|
|
140
|
+
icon: caretAltRightIcon
|
|
141
|
+
},
|
|
142
|
+
icon: caretAltRightIcon
|
|
138
143
|
})])]), h("div", {
|
|
139
144
|
"class": "k-scheduler-cell"
|
|
140
145
|
}, [h(EditTask, {
|
package/dist/esm/Scheduler.js
CHANGED
|
@@ -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,
|
|
@@ -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:
|
|
72
|
+
role: this.$props.isAgendaView ? 'grid' : 'presentation',
|
|
69
73
|
attrs: this.v3 ? undefined : {
|
|
70
|
-
role:
|
|
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.js';
|
|
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.js';
|
|
|
23
23
|
import { Button } from '@progress/kendo-vue-buttons';
|
|
24
24
|
import { toUTCDateTime } from '../../../utils/main.js';
|
|
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,
|