@progress/kendo-vue-scheduler 3.7.4-dev.202212020747 → 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.
- package/README.md +1 -1
- 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 +17 -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 +53 -96
- package/dist/es/components/header/view-selector/ViewSelectorList.js +20 -6
- package/dist/es/items/SchedulerItem.js +78 -26
- 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 +23 -7
- package/dist/es/views/agenda/AgendaView.js +4 -2
- package/dist/es/views/agenda/AgendaViewBody.js +16 -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 +17 -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 +53 -96
- package/dist/esm/components/header/view-selector/ViewSelectorList.js +20 -6
- package/dist/esm/items/SchedulerItem.js +78 -26
- 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 +23 -7
- package/dist/esm/views/agenda/AgendaView.js +4 -2
- package/dist/esm/views/agenda/AgendaViewBody.js +16 -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 +17 -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 -96
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +19 -5
- package/dist/npm/items/SchedulerItem.js +77 -25
- 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 +22 -6
- package/dist/npm/views/agenda/AgendaView.js +4 -2
- package/dist/npm/views/agenda/AgendaViewBody.js +16 -4
- package/package.json +16 -14
|
@@ -17,7 +17,7 @@ var gh = allVue.h;
|
|
|
17
17
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
18
18
|
var inject = allVue.inject;
|
|
19
19
|
import { COLLECTION_ACTION, toSchedulerGroups } from '../utils/main';
|
|
20
|
-
import { Draggable, getDefaultSlots, getTemplate } from '@progress/kendo-vue-common';
|
|
20
|
+
import { Draggable, getDefaultSlots, getTemplate, Icon } from '@progress/kendo-vue-common';
|
|
21
21
|
import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
22
22
|
import { messages, deleteTitle } from '../messages/main';
|
|
23
23
|
import { useEditable } from '../hooks/main';
|
|
@@ -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,
|
|
@@ -304,12 +306,27 @@ var SchedulerItemVue2 = {
|
|
|
304
306
|
"data-range-index": _this2.$props.range.index
|
|
305
307
|
}, [!_this2.$props.resizeHint && h("span", {
|
|
306
308
|
"class": "k-event-actions"
|
|
307
|
-
}, [_this2.$props.tail && h(
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
309
|
+
}, [_this2.$props.tail && h(Icon, {
|
|
310
|
+
name: "caret-alt-left",
|
|
311
|
+
attrs: _this2.v3 ? undefined : {
|
|
312
|
+
name: "caret-alt-left",
|
|
313
|
+
icon: caretAltLeftIcon
|
|
314
|
+
},
|
|
315
|
+
icon: caretAltLeftIcon
|
|
316
|
+
}), _this2.$props.isRecurring && !_this2.$props.isException && h(Icon, {
|
|
317
|
+
name: "arrow-rotate-cw",
|
|
318
|
+
attrs: _this2.v3 ? undefined : {
|
|
319
|
+
name: "arrow-rotate-cw",
|
|
320
|
+
icon: arrowRotateCwIcon
|
|
321
|
+
},
|
|
322
|
+
icon: arrowRotateCwIcon
|
|
323
|
+
}), !_this2.$props.isRecurring && _this2.$props.isException && h(Icon, {
|
|
324
|
+
name: "arrows-no-repeat",
|
|
325
|
+
attrs: _this2.v3 ? undefined : {
|
|
326
|
+
name: "arrows-no-repeat",
|
|
327
|
+
icon: arrowsNoRepeatIcon
|
|
328
|
+
},
|
|
329
|
+
icon: arrowsNoRepeatIcon
|
|
313
330
|
})]), _this2.formItem && !_this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerForm, {
|
|
314
331
|
dataItem: _this2.formItem,
|
|
315
332
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -369,10 +386,20 @@ var SchedulerItemVue2 = {
|
|
|
369
386
|
on: _this2.v3 ? undefined : {
|
|
370
387
|
"click": _this2.handleRemoveClick
|
|
371
388
|
}
|
|
372
|
-
}, [h(
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
389
|
+
}, [h(Icon, {
|
|
390
|
+
name: "x",
|
|
391
|
+
attrs: _this2.v3 ? undefined : {
|
|
392
|
+
name: "x",
|
|
393
|
+
icon: xIcon
|
|
394
|
+
},
|
|
395
|
+
icon: xIcon
|
|
396
|
+
})]), _this2.$props.head && h(Icon, {
|
|
397
|
+
name: "caret-alt-right",
|
|
398
|
+
attrs: _this2.v3 ? undefined : {
|
|
399
|
+
name: "caret-alt-right",
|
|
400
|
+
icon: caretAltRightIcon
|
|
401
|
+
},
|
|
402
|
+
icon: caretAltRightIcon
|
|
376
403
|
})]), _this2.currentEditable.resize && _this2.$props.vertical && [
|
|
377
404
|
// @ts-ignore function children
|
|
378
405
|
h(Draggable, {
|
|
@@ -459,16 +486,16 @@ var SchedulerItemVue2 = {
|
|
|
459
486
|
attrs: _this2.v3 ? undefined : {
|
|
460
487
|
id: _this2.$props.id,
|
|
461
488
|
tabindex: _this2.currentTabIndex,
|
|
489
|
+
role: 'button',
|
|
462
490
|
"aria-label": _this2.eventLabel,
|
|
463
|
-
"aria-selected": _this2.$props.selected,
|
|
464
491
|
"data-group-index": _this2.$props.group.index,
|
|
465
492
|
"data-range-index": _this2.$props.range.index
|
|
466
493
|
},
|
|
467
494
|
style: _this2.computedStyle,
|
|
468
495
|
tabindex: _this2.currentTabIndex,
|
|
469
496
|
"class": _this2.itemClassName,
|
|
497
|
+
role: 'button',
|
|
470
498
|
"aria-label": _this2.eventLabel,
|
|
471
|
-
"aria-selected": _this2.$props.selected,
|
|
472
499
|
onFocusin: _this2.handleFocus,
|
|
473
500
|
on: _this2.v3 ? undefined : {
|
|
474
501
|
"focusin": _this2.handleFocus,
|
|
@@ -501,12 +528,27 @@ var SchedulerItemVue2 = {
|
|
|
501
528
|
"data-range-index": _this2.$props.range.index
|
|
502
529
|
}, [!_this2.$props.resizeHint && h("span", {
|
|
503
530
|
"class": "k-event-actions"
|
|
504
|
-
}, [_this2.$props.tail && h(
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
531
|
+
}, [_this2.$props.tail && h(Icon, {
|
|
532
|
+
name: "caret-alt-left",
|
|
533
|
+
attrs: _this2.v3 ? undefined : {
|
|
534
|
+
name: "caret-alt-left",
|
|
535
|
+
icon: caretAltLeftIcon
|
|
536
|
+
},
|
|
537
|
+
icon: caretAltLeftIcon
|
|
538
|
+
}), _this2.$props.isRecurring && !_this2.$props.isException && h(Icon, {
|
|
539
|
+
name: "arrow-rotate-cw",
|
|
540
|
+
attrs: _this2.v3 ? undefined : {
|
|
541
|
+
name: "arrow-rotate-cw",
|
|
542
|
+
icon: arrowRotateCwIcon
|
|
543
|
+
},
|
|
544
|
+
icon: arrowRotateCwIcon
|
|
545
|
+
}), !_this2.$props.isRecurring && _this2.$props.isException && h(Icon, {
|
|
546
|
+
name: "arrows-no-repeat",
|
|
547
|
+
attrs: _this2.v3 ? undefined : {
|
|
548
|
+
name: "arrows-no-repeat",
|
|
549
|
+
icon: arrowsNoRepeatIcon
|
|
550
|
+
},
|
|
551
|
+
icon: arrowsNoRepeatIcon
|
|
510
552
|
})]), _this2.formItem && !_this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerForm, {
|
|
511
553
|
dataItem: _this2.formItem,
|
|
512
554
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -566,10 +608,20 @@ var SchedulerItemVue2 = {
|
|
|
566
608
|
on: _this2.v3 ? undefined : {
|
|
567
609
|
"click": _this2.handleRemoveClick
|
|
568
610
|
}
|
|
569
|
-
}, [h(
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
611
|
+
}, [h(Icon, {
|
|
612
|
+
name: "x",
|
|
613
|
+
attrs: _this2.v3 ? undefined : {
|
|
614
|
+
name: "x",
|
|
615
|
+
icon: xIcon
|
|
616
|
+
},
|
|
617
|
+
icon: xIcon
|
|
618
|
+
})]), _this2.$props.head && h(Icon, {
|
|
619
|
+
name: "caret-alt-right",
|
|
620
|
+
attrs: _this2.v3 ? undefined : {
|
|
621
|
+
name: "caret-alt-right",
|
|
622
|
+
icon: caretAltRightIcon
|
|
623
|
+
},
|
|
624
|
+
icon: caretAltRightIcon
|
|
573
625
|
})]), _this2.currentEditable.resize && _this2.$props.vertical && [h(Draggable, {
|
|
574
626
|
onPress: _this2.handleResizePress,
|
|
575
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: 1673274192,
|
|
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,
|
|
@@ -18,10 +18,11 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
18
18
|
var inject = allVue.inject;
|
|
19
19
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
20
20
|
import { deleteTitle, messages } from '../messages/main';
|
|
21
|
-
import { getDefaultSlots } from '@progress/kendo-vue-common';
|
|
21
|
+
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
|
*/
|
|
@@ -131,10 +132,20 @@ var SchedulerTaskVue2 = {
|
|
|
131
132
|
color: color,
|
|
132
133
|
backgroundColor: color
|
|
133
134
|
}
|
|
134
|
-
}), this.$props.isRecurring && h(
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
}), this.$props.isRecurring && h(Icon, {
|
|
136
|
+
name: "arrow-rotate-cw",
|
|
137
|
+
attrs: this.v3 ? undefined : {
|
|
138
|
+
name: "arrow-rotate-cw",
|
|
139
|
+
icon: arrowRotateCwIcon
|
|
140
|
+
},
|
|
141
|
+
icon: arrowRotateCwIcon
|
|
142
|
+
}), this.$props.isException && h(Icon, {
|
|
143
|
+
name: "arrows-no-repeat",
|
|
144
|
+
attrs: this.v3 ? undefined : {
|
|
145
|
+
name: "arrows-no-repeat",
|
|
146
|
+
icon: arrowsNoRepeatIcon
|
|
147
|
+
},
|
|
148
|
+
icon: arrowsNoRepeatIcon
|
|
138
149
|
}), this.$props.title, defaultSlot, editable.remove && h("a", {
|
|
139
150
|
"class": "k-link k-event-delete",
|
|
140
151
|
title: deleteMessage,
|
|
@@ -147,8 +158,13 @@ var SchedulerTaskVue2 = {
|
|
|
147
158
|
on: this.v3 ? undefined : {
|
|
148
159
|
"click": this.handleRemoveClick
|
|
149
160
|
}
|
|
150
|
-
}, [h(
|
|
151
|
-
|
|
161
|
+
}, [h(Icon, {
|
|
162
|
+
name: "x",
|
|
163
|
+
attrs: this.v3 ? undefined : {
|
|
164
|
+
name: "x",
|
|
165
|
+
icon: xIcon
|
|
166
|
+
},
|
|
167
|
+
icon: xIcon
|
|
152
168
|
})]), this.showOccurrenceDialog && h(SchedulerOccurrenceDialog, {
|
|
153
169
|
dataItem: this.removeItem,
|
|
154
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"
|
|
@@ -7,6 +7,8 @@ import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
|
|
|
7
7
|
import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
8
8
|
import { SchedulerEditTask } from '../../tasks/SchedulerEditTask';
|
|
9
9
|
import { messages, noEvents, allDay } from '../../messages/main';
|
|
10
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
11
|
+
import { caretAltLeftIcon, caretAltRightIcon } from '@progress/kendo-svg-icons';
|
|
10
12
|
/**
|
|
11
13
|
* @hidden
|
|
12
14
|
*/
|
|
@@ -124,10 +126,20 @@ var AgendaViewBodyVue2 = {
|
|
|
124
126
|
key: itemIndex
|
|
125
127
|
}, [h("div", {
|
|
126
128
|
"class": "k-scheduler-cell k-scheduler-timecolumn"
|
|
127
|
-
}, [h("div", [item.tail && h(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
}, [h("div", [item.tail && h(Icon, {
|
|
130
|
+
name: "caret-alt-left",
|
|
131
|
+
attrs: this.v3 ? undefined : {
|
|
132
|
+
name: "caret-alt-left",
|
|
133
|
+
icon: caretAltLeftIcon
|
|
134
|
+
},
|
|
135
|
+
icon: caretAltLeftIcon
|
|
136
|
+
}), item.isAllDay ? localization.toLanguageString(allDay, messages[allDay]) : getTimeFormat(this.intl, item), item.head && h(Icon, {
|
|
137
|
+
name: "caret-alt-right",
|
|
138
|
+
attrs: this.v3 ? undefined : {
|
|
139
|
+
name: "caret-alt-right",
|
|
140
|
+
icon: caretAltRightIcon
|
|
141
|
+
},
|
|
142
|
+
icon: caretAltRightIcon
|
|
131
143
|
})])]), h("div", {
|
|
132
144
|
"class": "k-scheduler-cell"
|
|
133
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 [
|
|
@@ -5,6 +5,8 @@ var gh = allVue.h;
|
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var inject = allVue.inject;
|
|
7
7
|
import { Button } from '@progress/kendo-vue-buttons';
|
|
8
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
9
|
+
import { moreHorizontalIcon } from '@progress/kendo-svg-icons';
|
|
8
10
|
/**
|
|
9
11
|
* @hidden
|
|
10
12
|
*/
|
|
@@ -29,6 +31,7 @@ var ShowMoreItemsButtonVue2 = {
|
|
|
29
31
|
},
|
|
30
32
|
// @ts-ignore
|
|
31
33
|
render: function render(createElement) {
|
|
34
|
+
var _this = this;
|
|
32
35
|
var h = gh || createElement;
|
|
33
36
|
return (
|
|
34
37
|
// @ts-ignore function children
|
|
@@ -43,11 +46,21 @@ var ShowMoreItemsButtonVue2 = {
|
|
|
43
46
|
"click": this.handleClick
|
|
44
47
|
}
|
|
45
48
|
}, this.v3 ? function () {
|
|
46
|
-
return [h(
|
|
47
|
-
|
|
49
|
+
return [h(Icon, {
|
|
50
|
+
name: "more-horizontal",
|
|
51
|
+
attrs: _this.v3 ? undefined : {
|
|
52
|
+
name: "more-horizontal",
|
|
53
|
+
icon: moreHorizontalIcon
|
|
54
|
+
},
|
|
55
|
+
icon: moreHorizontalIcon
|
|
48
56
|
})];
|
|
49
|
-
} : [h(
|
|
50
|
-
|
|
57
|
+
} : [h(Icon, {
|
|
58
|
+
name: "more-horizontal",
|
|
59
|
+
attrs: _this.v3 ? undefined : {
|
|
60
|
+
name: "more-horizontal",
|
|
61
|
+
icon: moreHorizontalIcon
|
|
62
|
+
},
|
|
63
|
+
icon: moreHorizontalIcon
|
|
51
64
|
})])
|
|
52
65
|
);
|
|
53
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,
|