@progress/kendo-vue-scheduler 3.1.0 → 3.1.1-dev.202203151205

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 (104) hide show
  1. package/dist/cdn/js/kendo-vue-scheduler.js +2 -2
  2. package/dist/es/Scheduler.d.ts +1 -1
  3. package/dist/es/Scheduler.js +104 -682
  4. package/dist/es/components/ShowMoreItemsButton.js +1 -2
  5. package/dist/es/components/footer/bussiness-hours/{BussinessHours.d.ts → BusinessHours.d.ts} +1 -0
  6. package/dist/es/components/footer/bussiness-hours/BusinessHours.js +88 -0
  7. package/dist/es/components/header/navigation/NavigationDatePicker.js +2 -3
  8. package/dist/es/components/header/navigation/SchedulerNavigation.js +319 -3
  9. package/dist/es/components/header/view-selector/SchedulerViewSelector.js +4 -3
  10. package/dist/es/context/SchedulerResourceIteratorContext.js +2 -2
  11. package/dist/es/items/SchedulerEditItem.js +3 -1
  12. package/dist/es/items/SchedulerItem.d.ts +2 -0
  13. package/dist/es/items/SchedulerItem.js +11 -2
  14. package/dist/es/items/SchedulerViewItem.js +80 -92
  15. package/dist/es/main.d.ts +5 -1
  16. package/dist/es/main.js +5 -11
  17. package/dist/es/package-metadata.js +1 -1
  18. package/dist/es/slots/SchedulerEditSlot.js +23 -9
  19. package/dist/es/slots/SchedulerSlot.d.ts +4 -0
  20. package/dist/es/slots/SchedulerSlot.js +19 -3
  21. package/dist/es/slots/SchedulerViewSlot.d.ts +1 -1
  22. package/dist/es/slots/SchedulerViewSlot.js +53 -30
  23. package/dist/es/tasks/SchedulerEditTask.js +56 -49
  24. package/dist/es/tasks/SchedulerTask.js +3 -1
  25. package/dist/es/tasks/SchedulerViewTask.js +17 -22
  26. package/dist/es/views/agenda/AgendaView.js +18 -9
  27. package/dist/es/views/agenda/AgendaViewBody.d.ts +1 -0
  28. package/dist/es/views/agenda/AgendaViewBody.js +2 -1
  29. package/dist/es/views/common/VerticalResourceIterator.d.ts +1 -0
  30. package/dist/es/views/common/VerticalResourceIterator.js +104 -17
  31. package/dist/es/views/day/DayView.js +9 -3
  32. package/dist/es/views/day/DayViewAllDaySlots.d.ts +1 -0
  33. package/dist/es/views/day/DayViewAllDaySlots.js +3 -2
  34. package/dist/es/views/day/DayViewMiddleRow.js +12 -9
  35. package/dist/es/views/day/DayViewVerticalRow.d.ts +41 -0
  36. package/dist/es/views/day/DayViewVerticalRow.js +101 -0
  37. package/dist/es/views/day/DayViewVerticalSlotsRow.d.ts +50 -0
  38. package/dist/es/views/day/DayViewVerticalSlotsRow.js +132 -0
  39. package/dist/es/views/day/MultiDayView.d.ts +1 -1
  40. package/dist/es/views/day/MultiDayView.js +167 -284
  41. package/dist/es/views/month/MonthView.d.ts +1 -1
  42. package/dist/es/views/month/MonthView.js +56 -65
  43. package/dist/es/views/month/MonthViewBody.d.ts +2 -0
  44. package/dist/es/views/month/MonthViewBody.js +36 -51
  45. package/dist/es/views/time/MultiDayTimelineView.d.ts +2 -2
  46. package/dist/es/views/time/MultiDayTimelineView.js +52 -41
  47. package/dist/es/views/time/TimelineView.js +9 -3
  48. package/dist/es/views/time/TimelineViewBody.d.ts +2 -0
  49. package/dist/es/views/time/TimelineViewBody.js +6 -2
  50. package/dist/es/views/week/WeekView.js +9 -3
  51. package/dist/es/views/week/WorkWeekView.js +9 -3
  52. package/dist/npm/Scheduler.d.ts +1 -1
  53. package/dist/npm/Scheduler.js +102 -682
  54. package/dist/npm/components/ShowMoreItemsButton.js +1 -2
  55. package/dist/npm/components/footer/bussiness-hours/{BussinessHours.d.ts → BusinessHours.d.ts} +1 -0
  56. package/dist/npm/components/footer/bussiness-hours/BusinessHours.js +102 -0
  57. package/dist/npm/components/header/navigation/NavigationDatePicker.js +2 -3
  58. package/dist/npm/components/header/navigation/SchedulerNavigation.js +323 -4
  59. package/dist/npm/components/header/view-selector/SchedulerViewSelector.js +5 -3
  60. package/dist/npm/context/SchedulerResourceIteratorContext.js +2 -2
  61. package/dist/npm/items/SchedulerEditItem.js +3 -1
  62. package/dist/npm/items/SchedulerItem.d.ts +2 -0
  63. package/dist/npm/items/SchedulerItem.js +11 -2
  64. package/dist/npm/items/SchedulerViewItem.js +81 -92
  65. package/dist/npm/main.d.ts +5 -1
  66. package/dist/npm/main.js +9 -11
  67. package/dist/npm/package-metadata.js +1 -1
  68. package/dist/npm/slots/SchedulerEditSlot.js +23 -9
  69. package/dist/npm/slots/SchedulerSlot.d.ts +4 -0
  70. package/dist/npm/slots/SchedulerSlot.js +20 -3
  71. package/dist/npm/slots/SchedulerViewSlot.d.ts +1 -1
  72. package/dist/npm/slots/SchedulerViewSlot.js +52 -29
  73. package/dist/npm/tasks/SchedulerEditTask.js +57 -49
  74. package/dist/npm/tasks/SchedulerTask.js +4 -1
  75. package/dist/npm/tasks/SchedulerViewTask.js +17 -21
  76. package/dist/npm/views/agenda/AgendaView.js +18 -9
  77. package/dist/npm/views/agenda/AgendaViewBody.d.ts +1 -0
  78. package/dist/npm/views/agenda/AgendaViewBody.js +2 -1
  79. package/dist/npm/views/common/VerticalResourceIterator.d.ts +1 -0
  80. package/dist/npm/views/common/VerticalResourceIterator.js +107 -17
  81. package/dist/npm/views/day/DayView.js +9 -3
  82. package/dist/npm/views/day/DayViewAllDaySlots.d.ts +1 -0
  83. package/dist/npm/views/day/DayViewAllDaySlots.js +3 -2
  84. package/dist/npm/views/day/DayViewMiddleRow.js +12 -9
  85. package/dist/npm/views/day/DayViewVerticalRow.d.ts +41 -0
  86. package/dist/npm/views/day/DayViewVerticalRow.js +113 -0
  87. package/dist/npm/views/day/DayViewVerticalSlotsRow.d.ts +50 -0
  88. package/dist/npm/views/day/DayViewVerticalSlotsRow.js +145 -0
  89. package/dist/npm/views/day/MultiDayView.d.ts +1 -1
  90. package/dist/npm/views/day/MultiDayView.js +168 -285
  91. package/dist/npm/views/month/MonthView.d.ts +1 -1
  92. package/dist/npm/views/month/MonthView.js +56 -65
  93. package/dist/npm/views/month/MonthViewBody.d.ts +2 -0
  94. package/dist/npm/views/month/MonthViewBody.js +36 -52
  95. package/dist/npm/views/time/MultiDayTimelineView.d.ts +2 -2
  96. package/dist/npm/views/time/MultiDayTimelineView.js +52 -41
  97. package/dist/npm/views/time/TimelineView.js +9 -3
  98. package/dist/npm/views/time/TimelineViewBody.d.ts +2 -0
  99. package/dist/npm/views/time/TimelineViewBody.js +6 -2
  100. package/dist/npm/views/week/WeekView.js +9 -3
  101. package/dist/npm/views/week/WorkWeekView.js +9 -3
  102. package/package.json +12 -12
  103. package/dist/es/components/footer/bussiness-hours/BussinessHours.js +0 -33
  104. package/dist/npm/components/footer/bussiness-hours/BussinessHours.js +0 -44
@@ -7,8 +7,7 @@ import { Button } from '@progress/kendo-vue-buttons'; // tslint:enable:max-line-
7
7
 
8
8
  var ShowMoreItemsButtonVue2 = {
9
9
  name: 'KendoShowMoreItemsButton',
10
- props: {
11
- currentSlot: Object
10
+ props: {// currentSlot: Object
12
11
  },
13
12
  inject: {
14
13
  kendoLocalizationService: {
@@ -5,6 +5,7 @@ declare type DefaultMethods<V> = {
5
5
  };
6
6
  /** @hidden */
7
7
  export interface BusinessHoursProps {
8
+ slotDuration?: number;
8
9
  }
9
10
  /** @hidden */
10
11
  export interface BusinessHoursHandle {
@@ -0,0 +1,88 @@
1
+ // @ts-ignore
2
+ import * as Vue from 'vue';
3
+ var allVue = Vue;
4
+ var gh = allVue.h;
5
+ import { showFullDay, showWorkDay, messages } from '../../../messages';
6
+ import { ToolbarItem } from '@progress/kendo-vue-buttons';
7
+ import { getDefaultSlots } from '@progress/kendo-vue-common';
8
+ import { Button } from '@progress/kendo-vue-buttons';
9
+ import { provideLocalizationService } from '@progress/kendo-vue-intl'; // tslint:enable:max-line-length
10
+
11
+ var BusinessHoursVue2 = {
12
+ name: 'KendoBusinessHours',
13
+ // @ts-ignore
14
+ emits: {
15
+ click: null
16
+ },
17
+ inject: {
18
+ ks: {
19
+ default: null
20
+ },
21
+ kendoLocalizationService: {
22
+ default: null
23
+ }
24
+ },
25
+ props: {
26
+ slotDuration: Number
27
+ },
28
+ // @ts-ignore
29
+ setup: !gh ? undefined : function () {
30
+ var v3 = !!gh;
31
+ return {
32
+ v3: v3
33
+ };
34
+ },
35
+ // @ts-ignore
36
+ render: function render(createElement) {
37
+ var _this = this;
38
+
39
+ var h = gh || createElement;
40
+ var defaultSlot = getDefaultSlots(this);
41
+ this.localization = provideLocalizationService(this);
42
+ return this.slotDuration && this.slotDuration < 24 * 60 ? // @ts-ignore function children
43
+ h(ToolbarItem // ref={(item) => { if (item) { element.current = item.element; } }}
44
+ , {
45
+ "class": 'k-scheduler-navigation'
46
+ }, this.v3 ? function () {
47
+ return [defaultSlot ? defaultSlot : // @ts-ignore function children
48
+ h(Button, {
49
+ tabIndex: -1,
50
+ attrs: _this.v3 ? undefined : {
51
+ tabIndex: -1
52
+ },
53
+ onClick: _this.handleShowWorkHoursClick,
54
+ on: _this.v3 ? undefined : {
55
+ "click": _this.handleShowWorkHoursClick
56
+ }
57
+ }, _this.v3 ? function () {
58
+ return [h("span", {
59
+ "class": "k-icon k-i-clock"
60
+ }), "\xA0", _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
61
+ } : [h("span", {
62
+ "class": "k-icon k-i-clock"
63
+ }), "\xA0", _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])];
64
+ } : [defaultSlot ? defaultSlot : h(Button, {
65
+ tabIndex: -1,
66
+ attrs: _this.v3 ? undefined : {
67
+ tabIndex: -1
68
+ },
69
+ onClick: _this.handleShowWorkHoursClick,
70
+ on: _this.v3 ? undefined : {
71
+ "click": _this.handleShowWorkHoursClick
72
+ }
73
+ }, _this.v3 ? function () {
74
+ return [h("span", {
75
+ "class": "k-icon k-i-clock"
76
+ }), "\xA0", _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
77
+ } : [h("span", {
78
+ "class": "k-icon k-i-clock"
79
+ }), "\xA0", _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])]) : null;
80
+ },
81
+ methods: {
82
+ handleShowWorkHoursClick: function handleShowWorkHoursClick(e) {
83
+ this.$emit('click', e);
84
+ }
85
+ }
86
+ };
87
+ var BusinessHours = BusinessHoursVue2;
88
+ export { BusinessHours, BusinessHoursVue2 };
@@ -54,7 +54,7 @@ var NavigationDatePickerVue2 = {
54
54
  // @ts-ignore
55
55
  render: function render(createElement) {
56
56
  var h = gh || createElement;
57
- var normalized = ZonedDate.fromLocalDate(this.$props.value, this.ks.timezone);
57
+ var normalized = ZonedDate.fromLocalDate(this.$props.value || this.ks.currentDate, this.ks.timezone);
58
58
  var value = getDate(normalized);
59
59
  return (// @ts-ignore
60
60
  h(DatePicker, {
@@ -64,8 +64,7 @@ var NavigationDatePickerVue2 = {
64
64
  dateInput: EMPTY_DATE_INPUT,
65
65
  attrs: this.v3 ? undefined : {
66
66
  dateInput: EMPTY_DATE_INPUT,
67
- toggleButton: DatePickerToggleButton // {...props}
68
- ,
67
+ toggleButton: DatePickerToggleButton,
69
68
  value: value
70
69
  },
71
70
  toggleButton: DatePickerToggleButton,
@@ -2,12 +2,23 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
+ import { Button, ButtonGroup } from '@progress/kendo-vue-buttons';
5
6
  import { ToolbarItem } from '@progress/kendo-vue-buttons';
6
- import { getDefaultSlots } from '@progress/kendo-vue-common'; // tslint:enable:max-line-length
7
+ import { getDefaultSlots } from '@progress/kendo-vue-common';
8
+ import { messages, today, previousTitle, nextTitle } from '../../../messages';
9
+ import { provideLocalizationService } from '@progress/kendo-vue-intl'; // tslint:enable:max-line-length
7
10
 
8
11
  var SchedulerNavigationVue2 = {
9
12
  name: 'KendoSchedulerNavigation',
10
13
  props: {},
14
+ inject: {
15
+ ks: {
16
+ default: null
17
+ },
18
+ kendoLocalizationService: {
19
+ default: null
20
+ }
21
+ },
11
22
  // @ts-ignore
12
23
  setup: !gh ? undefined : function () {
13
24
  var v3 = !!gh;
@@ -17,13 +28,318 @@ var SchedulerNavigationVue2 = {
17
28
  },
18
29
  // @ts-ignore
19
30
  render: function render(createElement) {
31
+ var _this = this;
32
+
20
33
  var h = gh || createElement;
21
34
  var defaultSlot = getDefaultSlots(this);
35
+ this.localization = provideLocalizationService(this);
36
+ var todayText = this.localization.toLanguageString(today, messages[today]);
37
+ var previousText = this.localization.toLanguageString(previousTitle, messages[previousTitle]);
38
+ var nextText = this.localization.toLanguageString(nextTitle, messages[nextTitle]);
22
39
  return (// @ts-ignore function children
23
40
  h(ToolbarItem, this.v3 ? function () {
24
- return [defaultSlot];
25
- } : [defaultSlot])
41
+ return [// @ts-ignore function children
42
+ h(ButtonGroup, {
43
+ "class": "k-scheduler-navigation"
44
+ }, _this.v3 ? function () {
45
+ return [// @ts-ignore function children
46
+ h(Button, {
47
+ role: "button",
48
+ attrs: _this.v3 ? undefined : {
49
+ role: "button",
50
+ tabIndex: -1,
51
+ title: todayText,
52
+ "aria-label": todayText
53
+ },
54
+ tabIndex: -1,
55
+ title: todayText,
56
+ "aria-label": todayText,
57
+ onClick: _this.handleTodayClick,
58
+ on: _this.v3 ? undefined : {
59
+ "click": _this.handleTodayClick
60
+ }
61
+ }, _this.v3 ? function () {
62
+ return [todayText];
63
+ } : [todayText]), // @ts-ignore function children
64
+ h(Button, {
65
+ role: "button",
66
+ attrs: _this.v3 ? undefined : {
67
+ role: "button",
68
+ tabIndex: -1,
69
+ title: previousText,
70
+ "aria-label": previousText
71
+ },
72
+ tabIndex: -1,
73
+ "class": "k-button-icon",
74
+ title: previousText,
75
+ "aria-label": previousText,
76
+ onClick: _this.handlePrevClick,
77
+ on: _this.v3 ? undefined : {
78
+ "click": _this.handlePrevClick
79
+ }
80
+ }, _this.v3 ? function () {
81
+ return [h("span", {
82
+ "class": "k-button-text"
83
+ }, [h("span", {
84
+ "class": "k-icon k-i-arrow-60-left"
85
+ })])];
86
+ } : [h("span", {
87
+ "class": "k-button-text"
88
+ }, [h("span", {
89
+ "class": "k-icon k-i-arrow-60-left"
90
+ })])]), // @ts-ignore function children
91
+ h(Button, {
92
+ role: "button",
93
+ attrs: _this.v3 ? undefined : {
94
+ role: "button",
95
+ tabIndex: -1,
96
+ title: nextText,
97
+ "aria-label": nextText
98
+ },
99
+ tabIndex: -1,
100
+ "class": "k-button-icon",
101
+ title: nextText,
102
+ "aria-label": nextText,
103
+ onClick: _this.handleNextClick,
104
+ on: _this.v3 ? undefined : {
105
+ "click": _this.handleNextClick
106
+ }
107
+ }, _this.v3 ? function () {
108
+ return [h("span", {
109
+ "class": "k-button-text"
110
+ }, [h("span", {
111
+ "class": "k-icon k-i-arrow-60-right"
112
+ })])];
113
+ } : [h("span", {
114
+ "class": "k-button-text"
115
+ }, [h("span", {
116
+ "class": "k-icon k-i-arrow-60-right"
117
+ })])])];
118
+ } : [h(Button, {
119
+ role: "button",
120
+ attrs: _this.v3 ? undefined : {
121
+ role: "button",
122
+ tabIndex: -1,
123
+ title: todayText,
124
+ "aria-label": todayText
125
+ },
126
+ tabIndex: -1,
127
+ title: todayText,
128
+ "aria-label": todayText,
129
+ onClick: _this.handleTodayClick,
130
+ on: _this.v3 ? undefined : {
131
+ "click": _this.handleTodayClick
132
+ }
133
+ }, _this.v3 ? function () {
134
+ return [todayText];
135
+ } : [todayText]), h(Button, {
136
+ role: "button",
137
+ attrs: _this.v3 ? undefined : {
138
+ role: "button",
139
+ tabIndex: -1,
140
+ title: previousText,
141
+ "aria-label": previousText
142
+ },
143
+ tabIndex: -1,
144
+ "class": "k-button-icon",
145
+ title: previousText,
146
+ "aria-label": previousText,
147
+ onClick: _this.handlePrevClick,
148
+ on: _this.v3 ? undefined : {
149
+ "click": _this.handlePrevClick
150
+ }
151
+ }, _this.v3 ? function () {
152
+ return [h("span", {
153
+ "class": "k-button-text"
154
+ }, [h("span", {
155
+ "class": "k-icon k-i-arrow-60-left"
156
+ })])];
157
+ } : [h("span", {
158
+ "class": "k-button-text"
159
+ }, [h("span", {
160
+ "class": "k-icon k-i-arrow-60-left"
161
+ })])]), h(Button, {
162
+ role: "button",
163
+ attrs: _this.v3 ? undefined : {
164
+ role: "button",
165
+ tabIndex: -1,
166
+ title: nextText,
167
+ "aria-label": nextText
168
+ },
169
+ tabIndex: -1,
170
+ "class": "k-button-icon",
171
+ title: nextText,
172
+ "aria-label": nextText,
173
+ onClick: _this.handleNextClick,
174
+ on: _this.v3 ? undefined : {
175
+ "click": _this.handleNextClick
176
+ }
177
+ }, _this.v3 ? function () {
178
+ return [h("span", {
179
+ "class": "k-button-text"
180
+ }, [h("span", {
181
+ "class": "k-icon k-i-arrow-60-right"
182
+ })])];
183
+ } : [h("span", {
184
+ "class": "k-button-text"
185
+ }, [h("span", {
186
+ "class": "k-icon k-i-arrow-60-right"
187
+ })])])])];
188
+ } : [h(ButtonGroup, {
189
+ "class": "k-scheduler-navigation"
190
+ }, _this.v3 ? function () {
191
+ return [h(Button, {
192
+ role: "button",
193
+ attrs: _this.v3 ? undefined : {
194
+ role: "button",
195
+ tabIndex: -1,
196
+ title: todayText,
197
+ "aria-label": todayText
198
+ },
199
+ tabIndex: -1,
200
+ title: todayText,
201
+ "aria-label": todayText,
202
+ onClick: _this.handleTodayClick,
203
+ on: _this.v3 ? undefined : {
204
+ "click": _this.handleTodayClick
205
+ }
206
+ }, _this.v3 ? function () {
207
+ return [todayText];
208
+ } : [todayText]), h(Button, {
209
+ role: "button",
210
+ attrs: _this.v3 ? undefined : {
211
+ role: "button",
212
+ tabIndex: -1,
213
+ title: previousText,
214
+ "aria-label": previousText
215
+ },
216
+ tabIndex: -1,
217
+ "class": "k-button-icon",
218
+ title: previousText,
219
+ "aria-label": previousText,
220
+ onClick: _this.handlePrevClick,
221
+ on: _this.v3 ? undefined : {
222
+ "click": _this.handlePrevClick
223
+ }
224
+ }, _this.v3 ? function () {
225
+ return [h("span", {
226
+ "class": "k-button-text"
227
+ }, [h("span", {
228
+ "class": "k-icon k-i-arrow-60-left"
229
+ })])];
230
+ } : [h("span", {
231
+ "class": "k-button-text"
232
+ }, [h("span", {
233
+ "class": "k-icon k-i-arrow-60-left"
234
+ })])]), h(Button, {
235
+ role: "button",
236
+ attrs: _this.v3 ? undefined : {
237
+ role: "button",
238
+ tabIndex: -1,
239
+ title: nextText,
240
+ "aria-label": nextText
241
+ },
242
+ tabIndex: -1,
243
+ "class": "k-button-icon",
244
+ title: nextText,
245
+ "aria-label": nextText,
246
+ onClick: _this.handleNextClick,
247
+ on: _this.v3 ? undefined : {
248
+ "click": _this.handleNextClick
249
+ }
250
+ }, _this.v3 ? function () {
251
+ return [h("span", {
252
+ "class": "k-button-text"
253
+ }, [h("span", {
254
+ "class": "k-icon k-i-arrow-60-right"
255
+ })])];
256
+ } : [h("span", {
257
+ "class": "k-button-text"
258
+ }, [h("span", {
259
+ "class": "k-icon k-i-arrow-60-right"
260
+ })])])];
261
+ } : [h(Button, {
262
+ role: "button",
263
+ attrs: _this.v3 ? undefined : {
264
+ role: "button",
265
+ tabIndex: -1,
266
+ title: todayText,
267
+ "aria-label": todayText
268
+ },
269
+ tabIndex: -1,
270
+ title: todayText,
271
+ "aria-label": todayText,
272
+ onClick: _this.handleTodayClick,
273
+ on: _this.v3 ? undefined : {
274
+ "click": _this.handleTodayClick
275
+ }
276
+ }, _this.v3 ? function () {
277
+ return [todayText];
278
+ } : [todayText]), h(Button, {
279
+ role: "button",
280
+ attrs: _this.v3 ? undefined : {
281
+ role: "button",
282
+ tabIndex: -1,
283
+ title: previousText,
284
+ "aria-label": previousText
285
+ },
286
+ tabIndex: -1,
287
+ "class": "k-button-icon",
288
+ title: previousText,
289
+ "aria-label": previousText,
290
+ onClick: _this.handlePrevClick,
291
+ on: _this.v3 ? undefined : {
292
+ "click": _this.handlePrevClick
293
+ }
294
+ }, _this.v3 ? function () {
295
+ return [h("span", {
296
+ "class": "k-button-text"
297
+ }, [h("span", {
298
+ "class": "k-icon k-i-arrow-60-left"
299
+ })])];
300
+ } : [h("span", {
301
+ "class": "k-button-text"
302
+ }, [h("span", {
303
+ "class": "k-icon k-i-arrow-60-left"
304
+ })])]), h(Button, {
305
+ role: "button",
306
+ attrs: _this.v3 ? undefined : {
307
+ role: "button",
308
+ tabIndex: -1,
309
+ title: nextText,
310
+ "aria-label": nextText
311
+ },
312
+ tabIndex: -1,
313
+ "class": "k-button-icon",
314
+ title: nextText,
315
+ "aria-label": nextText,
316
+ onClick: _this.handleNextClick,
317
+ on: _this.v3 ? undefined : {
318
+ "click": _this.handleNextClick
319
+ }
320
+ }, _this.v3 ? function () {
321
+ return [h("span", {
322
+ "class": "k-button-text"
323
+ }, [h("span", {
324
+ "class": "k-icon k-i-arrow-60-right"
325
+ })])];
326
+ } : [h("span", {
327
+ "class": "k-button-text"
328
+ }, [h("span", {
329
+ "class": "k-icon k-i-arrow-60-right"
330
+ })])])])])
26
331
  );
332
+ },
333
+ methods: {
334
+ handleTodayClick: function handleTodayClick(e) {
335
+ this.$emit('todayclick', e);
336
+ },
337
+ handlePrevClick: function handlePrevClick(e) {
338
+ this.$emit('prevclick', e);
339
+ },
340
+ handleNextClick: function handleNextClick(e) {
341
+ this.$emit('nextclick', e);
342
+ }
27
343
  }
28
344
  };
29
345
  var SchedulerNavigation = SchedulerNavigationVue2;
@@ -3,7 +3,8 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  import { ToolbarItem } from '@progress/kendo-vue-buttons';
6
- import { getDefaultSlots } from '@progress/kendo-vue-common'; // tslint:enable:max-line-length
6
+ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
+ import { ViewSelectorList } from './ViewSelectorList'; // tslint:enable:max-line-length
7
8
 
8
9
  var SchedulerViewSelectorVue2 = {
9
10
  name: 'KendoSchedulerViewSelector',
@@ -24,8 +25,8 @@ var SchedulerViewSelectorVue2 = {
24
25
  , {
25
26
  "class": 'k-scheduler-views'
26
27
  }, this.v3 ? function () {
27
- return [defaultSlot];
28
- } : [defaultSlot])
28
+ return [h(ViewSelectorList)];
29
+ } : [h(ViewSelectorList)])
29
30
  );
30
31
  }
31
32
  };
@@ -44,9 +44,9 @@ var SchedulerResourceIteratorContextVue2 = {
44
44
  render: function render(createElement) {
45
45
  var h = gh || createElement;
46
46
  var defaultSlot = getDefaultSlots(this);
47
- return this.$props.noWrap ? defaultSlot[0] : h("div", {
47
+ return defaultSlot ? this.$props.noWrap && defaultSlot ? defaultSlot[0] : h("div", {
48
48
  "class": "k-scheduler-cell k-group-cell"
49
- }, [defaultSlot]);
49
+ }, [defaultSlot]) : null;
50
50
  }
51
51
  };
52
52
  var SchedulerResourceIteratorContext = SchedulerResourceIteratorContextVue2;
@@ -19,6 +19,7 @@ var SchedulerEditItemVue2 = {
19
19
  name: 'KendoSchedulerEditItem',
20
20
  props: {
21
21
  tabIndex: Number,
22
+ item: [String, Function, Object],
22
23
  viewItem: [String, Function, Object],
23
24
  drag: [String, Function, Object],
24
25
  resize: [String, Function, Object],
@@ -89,7 +90,8 @@ var SchedulerEditItemVue2 = {
89
90
  showOccurrenceDialog: this.showOccurrenceDialog
90
91
  },
91
92
  currentTabIndex: this.$props.tabIndex,
92
- item: null
93
+ currentItem: null // item: null
94
+
93
95
  };
94
96
  },
95
97
  computed: {
@@ -177,6 +177,8 @@ export interface SchedulerItemProps extends Item {
177
177
  onResizeRelease?: (event: SchedulerItemDragEvent) => void;
178
178
  /** @hidden */
179
179
  maxSiblingsPerSlot?: number;
180
+ /** @hidden */
181
+ itemTitle?: string;
180
182
  }
181
183
  /**
182
184
  * Represents the object which is returned from the `ref` callback of the [SchedulerItem]({% slug api_scheduler_scheduleritem %}).
@@ -87,7 +87,8 @@ var SchedulerItemVue2 = {
87
87
  dragHint: Boolean,
88
88
  resizeHint: Boolean,
89
89
  format: String,
90
- maxSiblingsPerSlot: Number
90
+ maxSiblingsPerSlot: Number,
91
+ itemTitle: String
91
92
  },
92
93
  data: function data() {
93
94
  return {
@@ -265,7 +266,15 @@ var SchedulerItemVue2 = {
265
266
  onKeyup: this.handleKeyUp,
266
267
  "data-group-index": this.$props.group.index,
267
268
  "data-range-index": this.$props.range.index
268
- }, [defaultSlot, !this.$props.resizeHint && h("span", {
269
+ }, [!this.$props.resizeHint && h("span", {
270
+ "class": "k-event-actions"
271
+ }, [this.$props.tail && h("span", {
272
+ "class": "k-icon k-i-arrow-60-left"
273
+ }), this.$props.isRecurring && !this.$props.isException && h("span", {
274
+ "class": "k-icon k-i-reload"
275
+ }), !this.$props.isRecurring && this.$props.isException && h("span", {
276
+ "class": "k-icon k-i-non-recurrence"
277
+ })]), defaultSlot, !this.$props.resizeHint && h("span", {
269
278
  "class": "k-event-actions"
270
279
  }, [editable.remove && h("a", {
271
280
  tabIndex: -1,