@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
|
@@ -8,6 +8,7 @@ import { ToolbarItem } from '@progress/kendo-vue-buttons';
|
|
|
8
8
|
import { getDefaultSlots } from '@progress/kendo-vue-common';
|
|
9
9
|
import { messages, today, previousTitle, nextTitle } from '../../../messages/main.js';
|
|
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,56 +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
|
-
},
|
|
87
|
-
return [h("span", {
|
|
88
|
-
"class": "k-button-text"
|
|
89
|
-
}, [h("span", {
|
|
90
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
91
|
-
})])];
|
|
92
|
-
} : [h("span", {
|
|
93
|
-
"class": "k-button-text"
|
|
94
|
-
}, [h("span", {
|
|
95
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
96
|
-
})])]),
|
|
92
|
+
}),
|
|
97
93
|
// @ts-ignore function children
|
|
98
94
|
h(Button, {
|
|
99
95
|
role: "button",
|
|
100
96
|
attrs: _this.v3 ? undefined : {
|
|
101
97
|
role: "button",
|
|
102
98
|
tabIndex: -1,
|
|
99
|
+
icon: 'caret-alt-right',
|
|
100
|
+
svgIcon: caretAltRightIcon,
|
|
103
101
|
title: nextText,
|
|
104
102
|
"aria-label": nextText
|
|
105
103
|
},
|
|
106
104
|
tabIndex: -1,
|
|
107
|
-
"class": "k-button-icon",
|
|
105
|
+
"class": "k-button-icon k-nav-next",
|
|
106
|
+
icon: 'caret-alt-right',
|
|
107
|
+
svgIcon: caretAltRightIcon,
|
|
108
108
|
title: nextText,
|
|
109
109
|
"aria-label": nextText,
|
|
110
110
|
onClick: _this.handleNextClick,
|
|
111
111
|
on: _this.v3 ? undefined : {
|
|
112
112
|
"click": _this.handleNextClick
|
|
113
113
|
}
|
|
114
|
-
}
|
|
115
|
-
return [h("span", {
|
|
116
|
-
"class": "k-button-text"
|
|
117
|
-
}, [h("span", {
|
|
118
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
119
|
-
})])];
|
|
120
|
-
} : [h("span", {
|
|
121
|
-
"class": "k-button-text"
|
|
122
|
-
}, [h("span", {
|
|
123
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
124
|
-
})])])];
|
|
114
|
+
})];
|
|
125
115
|
} : [h(Button, {
|
|
126
116
|
role: "button",
|
|
127
117
|
attrs: _this.v3 ? undefined : {
|
|
@@ -130,6 +120,7 @@ var SchedulerNavigationVue2 = {
|
|
|
130
120
|
title: todayText,
|
|
131
121
|
"aria-label": todayText
|
|
132
122
|
},
|
|
123
|
+
"class": "k-nav-today",
|
|
133
124
|
tabIndex: -1,
|
|
134
125
|
title: todayText,
|
|
135
126
|
"aria-label": todayText,
|
|
@@ -144,54 +135,42 @@ var SchedulerNavigationVue2 = {
|
|
|
144
135
|
attrs: _this.v3 ? undefined : {
|
|
145
136
|
role: "button",
|
|
146
137
|
tabIndex: -1,
|
|
138
|
+
icon: 'caret-alt-left',
|
|
139
|
+
svgIcon: caretAltLeftIcon,
|
|
147
140
|
title: previousText,
|
|
148
141
|
"aria-label": previousText
|
|
149
142
|
},
|
|
150
143
|
tabIndex: -1,
|
|
151
|
-
"class": "k-button-icon",
|
|
144
|
+
"class": "k-button-icon k-nav-prev",
|
|
145
|
+
icon: 'caret-alt-left',
|
|
146
|
+
svgIcon: caretAltLeftIcon,
|
|
152
147
|
title: previousText,
|
|
153
148
|
"aria-label": previousText,
|
|
154
149
|
onClick: _this.handlePrevClick,
|
|
155
150
|
on: _this.v3 ? undefined : {
|
|
156
151
|
"click": _this.handlePrevClick
|
|
157
152
|
}
|
|
158
|
-
},
|
|
159
|
-
return [h("span", {
|
|
160
|
-
"class": "k-button-text"
|
|
161
|
-
}, [h("span", {
|
|
162
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
163
|
-
})])];
|
|
164
|
-
} : [h("span", {
|
|
165
|
-
"class": "k-button-text"
|
|
166
|
-
}, [h("span", {
|
|
167
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
168
|
-
})])]), h(Button, {
|
|
153
|
+
}), h(Button, {
|
|
169
154
|
role: "button",
|
|
170
155
|
attrs: _this.v3 ? undefined : {
|
|
171
156
|
role: "button",
|
|
172
157
|
tabIndex: -1,
|
|
158
|
+
icon: 'caret-alt-right',
|
|
159
|
+
svgIcon: caretAltRightIcon,
|
|
173
160
|
title: nextText,
|
|
174
161
|
"aria-label": nextText
|
|
175
162
|
},
|
|
176
163
|
tabIndex: -1,
|
|
177
|
-
"class": "k-button-icon",
|
|
164
|
+
"class": "k-button-icon k-nav-next",
|
|
165
|
+
icon: 'caret-alt-right',
|
|
166
|
+
svgIcon: caretAltRightIcon,
|
|
178
167
|
title: nextText,
|
|
179
168
|
"aria-label": nextText,
|
|
180
169
|
onClick: _this.handleNextClick,
|
|
181
170
|
on: _this.v3 ? undefined : {
|
|
182
171
|
"click": _this.handleNextClick
|
|
183
172
|
}
|
|
184
|
-
}
|
|
185
|
-
return [h("span", {
|
|
186
|
-
"class": "k-button-text"
|
|
187
|
-
}, [h("span", {
|
|
188
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
189
|
-
})])];
|
|
190
|
-
} : [h("span", {
|
|
191
|
-
"class": "k-button-text"
|
|
192
|
-
}, [h("span", {
|
|
193
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
194
|
-
})])])])];
|
|
173
|
+
})])];
|
|
195
174
|
} : [h(ButtonGroup, {
|
|
196
175
|
"class": "k-scheduler-navigation"
|
|
197
176
|
}, _this.v3 ? function () {
|
|
@@ -203,6 +182,7 @@ var SchedulerNavigationVue2 = {
|
|
|
203
182
|
title: todayText,
|
|
204
183
|
"aria-label": todayText
|
|
205
184
|
},
|
|
185
|
+
"class": "k-nav-today",
|
|
206
186
|
tabIndex: -1,
|
|
207
187
|
title: todayText,
|
|
208
188
|
"aria-label": todayText,
|
|
@@ -217,54 +197,42 @@ var SchedulerNavigationVue2 = {
|
|
|
217
197
|
attrs: _this.v3 ? undefined : {
|
|
218
198
|
role: "button",
|
|
219
199
|
tabIndex: -1,
|
|
200
|
+
icon: 'caret-alt-left',
|
|
201
|
+
svgIcon: caretAltLeftIcon,
|
|
220
202
|
title: previousText,
|
|
221
203
|
"aria-label": previousText
|
|
222
204
|
},
|
|
223
205
|
tabIndex: -1,
|
|
224
|
-
"class": "k-button-icon",
|
|
206
|
+
"class": "k-button-icon k-nav-prev",
|
|
207
|
+
icon: 'caret-alt-left',
|
|
208
|
+
svgIcon: caretAltLeftIcon,
|
|
225
209
|
title: previousText,
|
|
226
210
|
"aria-label": previousText,
|
|
227
211
|
onClick: _this.handlePrevClick,
|
|
228
212
|
on: _this.v3 ? undefined : {
|
|
229
213
|
"click": _this.handlePrevClick
|
|
230
214
|
}
|
|
231
|
-
},
|
|
232
|
-
return [h("span", {
|
|
233
|
-
"class": "k-button-text"
|
|
234
|
-
}, [h("span", {
|
|
235
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
236
|
-
})])];
|
|
237
|
-
} : [h("span", {
|
|
238
|
-
"class": "k-button-text"
|
|
239
|
-
}, [h("span", {
|
|
240
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
241
|
-
})])]), h(Button, {
|
|
215
|
+
}), h(Button, {
|
|
242
216
|
role: "button",
|
|
243
217
|
attrs: _this.v3 ? undefined : {
|
|
244
218
|
role: "button",
|
|
245
219
|
tabIndex: -1,
|
|
220
|
+
icon: 'caret-alt-right',
|
|
221
|
+
svgIcon: caretAltRightIcon,
|
|
246
222
|
title: nextText,
|
|
247
223
|
"aria-label": nextText
|
|
248
224
|
},
|
|
249
225
|
tabIndex: -1,
|
|
250
|
-
"class": "k-button-icon",
|
|
226
|
+
"class": "k-button-icon k-nav-next",
|
|
227
|
+
icon: 'caret-alt-right',
|
|
228
|
+
svgIcon: caretAltRightIcon,
|
|
251
229
|
title: nextText,
|
|
252
230
|
"aria-label": nextText,
|
|
253
231
|
onClick: _this.handleNextClick,
|
|
254
232
|
on: _this.v3 ? undefined : {
|
|
255
233
|
"click": _this.handleNextClick
|
|
256
234
|
}
|
|
257
|
-
}
|
|
258
|
-
return [h("span", {
|
|
259
|
-
"class": "k-button-text"
|
|
260
|
-
}, [h("span", {
|
|
261
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
262
|
-
})])];
|
|
263
|
-
} : [h("span", {
|
|
264
|
-
"class": "k-button-text"
|
|
265
|
-
}, [h("span", {
|
|
266
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
267
|
-
})])])];
|
|
235
|
+
})];
|
|
268
236
|
} : [h(Button, {
|
|
269
237
|
role: "button",
|
|
270
238
|
attrs: _this.v3 ? undefined : {
|
|
@@ -273,6 +241,7 @@ var SchedulerNavigationVue2 = {
|
|
|
273
241
|
title: todayText,
|
|
274
242
|
"aria-label": todayText
|
|
275
243
|
},
|
|
244
|
+
"class": "k-nav-today",
|
|
276
245
|
tabIndex: -1,
|
|
277
246
|
title: todayText,
|
|
278
247
|
"aria-label": todayText,
|
|
@@ -287,54 +256,42 @@ var SchedulerNavigationVue2 = {
|
|
|
287
256
|
attrs: _this.v3 ? undefined : {
|
|
288
257
|
role: "button",
|
|
289
258
|
tabIndex: -1,
|
|
259
|
+
icon: 'caret-alt-left',
|
|
260
|
+
svgIcon: caretAltLeftIcon,
|
|
290
261
|
title: previousText,
|
|
291
262
|
"aria-label": previousText
|
|
292
263
|
},
|
|
293
264
|
tabIndex: -1,
|
|
294
|
-
"class": "k-button-icon",
|
|
265
|
+
"class": "k-button-icon k-nav-prev",
|
|
266
|
+
icon: 'caret-alt-left',
|
|
267
|
+
svgIcon: caretAltLeftIcon,
|
|
295
268
|
title: previousText,
|
|
296
269
|
"aria-label": previousText,
|
|
297
270
|
onClick: _this.handlePrevClick,
|
|
298
271
|
on: _this.v3 ? undefined : {
|
|
299
272
|
"click": _this.handlePrevClick
|
|
300
273
|
}
|
|
301
|
-
},
|
|
302
|
-
return [h("span", {
|
|
303
|
-
"class": "k-button-text"
|
|
304
|
-
}, [h("span", {
|
|
305
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
306
|
-
})])];
|
|
307
|
-
} : [h("span", {
|
|
308
|
-
"class": "k-button-text"
|
|
309
|
-
}, [h("span", {
|
|
310
|
-
"class": "k-icon k-i-caret-alt-left"
|
|
311
|
-
})])]), h(Button, {
|
|
274
|
+
}), h(Button, {
|
|
312
275
|
role: "button",
|
|
313
276
|
attrs: _this.v3 ? undefined : {
|
|
314
277
|
role: "button",
|
|
315
278
|
tabIndex: -1,
|
|
279
|
+
icon: 'caret-alt-right',
|
|
280
|
+
svgIcon: caretAltRightIcon,
|
|
316
281
|
title: nextText,
|
|
317
282
|
"aria-label": nextText
|
|
318
283
|
},
|
|
319
284
|
tabIndex: -1,
|
|
320
|
-
"class": "k-button-icon",
|
|
285
|
+
"class": "k-button-icon k-nav-next",
|
|
286
|
+
icon: 'caret-alt-right',
|
|
287
|
+
svgIcon: caretAltRightIcon,
|
|
321
288
|
title: nextText,
|
|
322
289
|
"aria-label": nextText,
|
|
323
290
|
onClick: _this.handleNextClick,
|
|
324
291
|
on: _this.v3 ? undefined : {
|
|
325
292
|
"click": _this.handleNextClick
|
|
326
293
|
}
|
|
327
|
-
}
|
|
328
|
-
return [h("span", {
|
|
329
|
-
"class": "k-button-text"
|
|
330
|
-
}, [h("span", {
|
|
331
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
332
|
-
})])];
|
|
333
|
-
} : [h("span", {
|
|
334
|
-
"class": "k-button-text"
|
|
335
|
-
}, [h("span", {
|
|
336
|
-
"class": "k-icon k-i-caret-alt-right"
|
|
337
|
-
})])])])])
|
|
294
|
+
})])])
|
|
338
295
|
);
|
|
339
296
|
},
|
|
340
297
|
methods: {
|
|
@@ -18,7 +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.js';
|
|
20
20
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
21
|
-
import { messages } from '../../../messages/main.js';
|
|
21
|
+
import { messages, dropdownlistSelectViewAriaLabel } from '../../../messages/main.js';
|
|
22
|
+
import { Icon } from '@progress/kendo-vue-common';
|
|
23
|
+
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
22
24
|
/**
|
|
23
25
|
* @hidden
|
|
24
26
|
*/
|
|
@@ -81,8 +83,9 @@ var ViewSelectorListVue2 = {
|
|
|
81
83
|
// @ts-ignore function children
|
|
82
84
|
h(DropDownButton, {
|
|
83
85
|
"class": "k-views-dropdown",
|
|
84
|
-
|
|
86
|
+
"aria-label": this.localization.toLanguageString(dropdownlistSelectViewAriaLabel, messages[dropdownlistSelectViewAriaLabel]),
|
|
85
87
|
attrs: this.v3 ? undefined : {
|
|
88
|
+
"aria-label": this.localization.toLanguageString(dropdownlistSelectViewAriaLabel, messages[dropdownlistSelectViewAriaLabel]),
|
|
86
89
|
tabIndex: -1,
|
|
87
90
|
popupSettings: {
|
|
88
91
|
popupClass: 'k-scheduler-toolbar'
|
|
@@ -99,6 +102,7 @@ var ViewSelectorListVue2 = {
|
|
|
99
102
|
}, this),
|
|
100
103
|
text: activeView.title || activeName
|
|
101
104
|
},
|
|
105
|
+
tabIndex: -1,
|
|
102
106
|
onItemclick: this.handleItemClick,
|
|
103
107
|
on: this.v3 ? undefined : {
|
|
104
108
|
"itemclick": this.handleItemClick
|
|
@@ -118,11 +122,21 @@ var ViewSelectorListVue2 = {
|
|
|
118
122
|
}, this),
|
|
119
123
|
text: activeView.title || activeName
|
|
120
124
|
}, this.v3 ? function () {
|
|
121
|
-
return [h(
|
|
122
|
-
|
|
125
|
+
return [h(Icon, {
|
|
126
|
+
name: "caret-alt-down",
|
|
127
|
+
attrs: _this2.v3 ? undefined : {
|
|
128
|
+
name: "caret-alt-down",
|
|
129
|
+
icon: caretAltDownIcon
|
|
130
|
+
},
|
|
131
|
+
icon: caretAltDownIcon
|
|
123
132
|
})];
|
|
124
|
-
} : [h(
|
|
125
|
-
|
|
133
|
+
} : [h(Icon, {
|
|
134
|
+
name: "caret-alt-down",
|
|
135
|
+
attrs: _this2.v3 ? undefined : {
|
|
136
|
+
name: "caret-alt-down",
|
|
137
|
+
icon: caretAltDownIcon
|
|
138
|
+
},
|
|
139
|
+
icon: caretAltDownIcon
|
|
126
140
|
})]), this.media === 'desktop' &&
|
|
127
141
|
// @ts-ignore function children
|
|
128
142
|
h(ButtonGroup, {
|
|
@@ -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.js';
|
|
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.js';
|
|
23
23
|
import { useEditable } from '../hooks/main.js';
|
|
@@ -25,6 +25,7 @@ import { formatEventTime } from '../utils/main.js';
|
|
|
25
25
|
import { SchedulerOccurrenceDialog } from '../components/SchedulerOccurrenceDialog.js';
|
|
26
26
|
import { SchedulerRemoveDialog } from '../components/SchedulerRemoveDialog.js';
|
|
27
27
|
import { SchedulerForm } from '../components/SchedulerForm.js';
|
|
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;
|
|
@@ -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.js';
|
|
21
|
-
import { getDefaultSlots } from '@progress/kendo-vue-common';
|
|
21
|
+
import { getDefaultSlots, Icon } from '@progress/kendo-vue-common';
|
|
22
22
|
import { useEditable } from '../hooks/main.js';
|
|
23
23
|
import { SchedulerOccurrenceDialog } from '../components/SchedulerOccurrenceDialog.js';
|
|
24
24
|
import { SchedulerRemoveDialog } from '../components/SchedulerRemoveDialog.js';
|
|
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"
|