@progress/kendo-vue-scheduler 3.2.7-dev.202205021145 → 3.2.8

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.
@@ -119,6 +119,7 @@ var SchedulerVue2 = {
119
119
  footer: [String, Function, Object],
120
120
  slotRender: [String, Function, Object],
121
121
  item: [String, Function, Object],
122
+ viewItem: [String, Function, Object],
122
123
  task: [String, Function, Object]
123
124
  },
124
125
  computed: {
@@ -228,6 +229,7 @@ var SchedulerVue2 = {
228
229
  var footer = templateRendering.call(this, view.footer || this.$props.footer, getListeners.call(this));
229
230
  var slotRender = templateRendering.call(this, view.slot || this.$props.slotRender, {});
230
231
  var item = templateRendering.call(this, view.item || this.$props.item, {});
232
+ var viewItem = templateRendering.call(this, view.viewItem || this.$props.viewItem, {});
231
233
  var task = templateRendering.call(this, view.task || this.$props.task, {});
232
234
  var ViewSelector = SchedulerViewSelector;
233
235
  var viewComponent = this.getViewComponentByName(this.ks.activeViewName || view.name);
@@ -240,6 +242,7 @@ var SchedulerVue2 = {
240
242
  dateRange: this.ks.dateRange,
241
243
  slotRender: slotRender,
242
244
  item: item,
245
+ viewItem: viewItem,
243
246
  task: task
244
247
  });
245
248
 
@@ -20,7 +20,7 @@ var allVue = Vue;
20
20
  var gh = allVue.h;
21
21
  var inject = allVue.inject;
22
22
  import { DATA_ACTION } from '../Scheduler';
23
- import { clone, Keys } from '@progress/kendo-vue-common';
23
+ import { clone, Keys, getDefaultSlots, getTemplate } from '@progress/kendo-vue-common';
24
24
  import { SchedulerViewItem } from './SchedulerViewItem';
25
25
  import { ITEMS_FOCUS_ACTION, SLOTS_FOCUS_ACTION, useEditable } from '../hooks';
26
26
  import { FORM_ITEM_ACTION } from './hooks/use-form-item';
@@ -193,7 +193,8 @@ var SchedulerEditItemVue2 = {
193
193
  render: function render(createElement) {
194
194
  var _this = this;
195
195
 
196
- var h = gh || createElement; // tslint:enable:max-line-length
196
+ var h = gh || createElement;
197
+ var defaultSlot = getDefaultSlots(this); // tslint:enable:max-line-length
197
198
 
198
199
  var _a = this.$props,
199
200
  onDataaction = _a.onDataaction,
@@ -269,56 +270,12 @@ var SchedulerEditItemVue2 = {
269
270
  var selected = Boolean(this.bv.selectedItems && this.bv.selectedItems.some(function (si) {
270
271
  return compareItems(si, _this, _this.ignoreIsAllDay);
271
272
  }));
272
- return (// @ts-ignore function children
273
- h(SchedulerViewItem, {
273
+ var itemRender;
274
+ var itemRenderDefaultRendering = // @ts-ignore function children
275
+ h(SchedulerViewItem, {
276
+ ignoreIsAllDay: this.ignoreIsAllDay,
277
+ attrs: this.v3 ? undefined : {
274
278
  ignoreIsAllDay: this.ignoreIsAllDay,
275
- attrs: this.v3 ? undefined : {
276
- ignoreIsAllDay: this.ignoreIsAllDay,
277
- item: this.item,
278
- uid: this.uid,
279
- start: this.start,
280
- end: this.end,
281
- originalStart: this.originalStart,
282
- startTimezone: this.startTimezone,
283
- endTimezone: this.endTimezone,
284
- isAllDay: this.isAllDay,
285
- title: this.title,
286
- description: this.description,
287
- occurrenceId: this.occurrenceId,
288
- recurrenceExceptions: this.recurrenceExceptions,
289
- recurrenceRule: this.recurrenceRule,
290
- recurrenceId: this.recurrenceId,
291
- dataItem: this.dataItem,
292
- head: this.head,
293
- tail: this.tail,
294
- order: this.order,
295
- zonedStart: this.zonedStart,
296
- zonedEnd: this.zonedEnd,
297
- slots: this.slots,
298
- group: this.group,
299
- range: this.range,
300
- isException: this.isException,
301
- isRecurring: this.isRecurring,
302
- id: this.id,
303
- className: this.className,
304
- itemStyle: this.itemStyle,
305
- editable: this.editable,
306
- vertical: this.vertical,
307
- dragHint: this.dragHint,
308
- resizeHint: this.resizeHint,
309
- format: this.format,
310
- showOccurrenceDialog: this.compShowOccurrenceDialog,
311
- showRemoveDialog: this.compShowRemoveDialog,
312
- formItem: this.compFormItem,
313
- dragItem: this.compDragItem,
314
- resizeItem: this.compResizeItem,
315
- removeItem: this.compRemoveItem // refTo={this}
316
- ,
317
- itemRef: this.item,
318
- selected: selected,
319
- tabIndex: this.currentTabIndex // Keyboard
320
-
321
- },
322
279
  item: this.item,
323
280
  uid: this.uid,
324
281
  start: this.start,
@@ -357,48 +314,120 @@ var SchedulerEditItemVue2 = {
357
314
  formItem: this.compFormItem,
358
315
  dragItem: this.compDragItem,
359
316
  resizeItem: this.compResizeItem,
360
- removeItem: this.compRemoveItem,
317
+ removeItem: this.compRemoveItem // refTo={this}
318
+ ,
361
319
  itemRef: this.item,
362
320
  selected: selected,
363
- tabIndex: this.currentTabIndex,
364
- onKeydown: this.handleKeyDown,
365
- on: this.v3 ? undefined : {
366
- "keydown": this.handleKeyDown,
367
- "keyup": this.handleKeyUp,
368
- "focus": this.handleFocus,
369
- "mouseup": this.handleMouseUp,
370
- "mousedown": this.handleMouseDown,
371
- "click": this.handleClick,
372
- "doubleclick": this.handleDoubleClick,
373
- "removeclick": this.handleRemoveClick,
374
- "press": this.handlePress,
375
- "drag": this.handleDrag,
376
- "release": this.handleRelease,
377
- "resizepress": this.handleResizePress,
378
- "resizeenddrag": this.handleResizeEndDrag,
379
- "resizestartdrag": this.handleResizeStartDrag,
380
- "resizerelease": this.handleResizeRelease
381
- },
382
- onKeyup: this.handleKeyUp // Focus
383
- ,
384
- onFocus: this.handleFocus // Mouse
385
- ,
386
- onMouseup: this.handleMouseUp,
387
- onMousedown: this.handleMouseDown,
388
- onClick: this.handleClick,
389
- onDoubleclick: this.handleDoubleClick,
390
- onRemoveclick: this.handleRemoveClick // Drag
391
- ,
392
- onPress: this.handlePress,
393
- onDrag: this.handleDrag,
394
- onRelease: this.handleRelease // Resize
395
- ,
396
- onResizepress: this.handleResizePress,
397
- onResizeenddrag: this.handleResizeEndDrag,
398
- onResizestartdrag: this.handleResizeStartDrag,
399
- onResizerelease: this.handleResizeRelease
400
- })
401
- );
321
+ tabIndex: this.currentTabIndex // Keyboard
322
+
323
+ },
324
+ item: this.item,
325
+ uid: this.uid,
326
+ start: this.start,
327
+ end: this.end,
328
+ originalStart: this.originalStart,
329
+ startTimezone: this.startTimezone,
330
+ endTimezone: this.endTimezone,
331
+ isAllDay: this.isAllDay,
332
+ title: this.title,
333
+ description: this.description,
334
+ occurrenceId: this.occurrenceId,
335
+ recurrenceExceptions: this.recurrenceExceptions,
336
+ recurrenceRule: this.recurrenceRule,
337
+ recurrenceId: this.recurrenceId,
338
+ dataItem: this.dataItem,
339
+ head: this.head,
340
+ tail: this.tail,
341
+ order: this.order,
342
+ zonedStart: this.zonedStart,
343
+ zonedEnd: this.zonedEnd,
344
+ slots: this.slots,
345
+ group: this.group,
346
+ range: this.range,
347
+ isException: this.isException,
348
+ isRecurring: this.isRecurring,
349
+ id: this.id,
350
+ className: this.className,
351
+ itemStyle: this.itemStyle,
352
+ editable: this.editable,
353
+ vertical: this.vertical,
354
+ dragHint: this.dragHint,
355
+ resizeHint: this.resizeHint,
356
+ format: this.format,
357
+ showOccurrenceDialog: this.compShowOccurrenceDialog,
358
+ showRemoveDialog: this.compShowRemoveDialog,
359
+ formItem: this.compFormItem,
360
+ dragItem: this.compDragItem,
361
+ resizeItem: this.compResizeItem,
362
+ removeItem: this.compRemoveItem,
363
+ itemRef: this.item,
364
+ selected: selected,
365
+ tabIndex: this.currentTabIndex,
366
+ onKeydown: this.handleKeyDown,
367
+ on: this.v3 ? undefined : {
368
+ "keydown": this.handleKeyDown,
369
+ "keyup": this.handleKeyUp,
370
+ "focus": this.handleFocus,
371
+ "mouseup": this.handleMouseUp,
372
+ "mousedown": this.handleMouseDown,
373
+ "click": this.handleClick,
374
+ "doubleclick": this.handleDoubleClick,
375
+ "removeclick": this.handleRemoveClick,
376
+ "press": this.handlePress,
377
+ "drag": this.handleDrag,
378
+ "release": this.handleRelease,
379
+ "resizepress": this.handleResizePress,
380
+ "resizeenddrag": this.handleResizeEndDrag,
381
+ "resizestartdrag": this.handleResizeStartDrag,
382
+ "resizerelease": this.handleResizeRelease
383
+ },
384
+ onKeyup: this.handleKeyUp // Focus
385
+ ,
386
+ onFocus: this.handleFocus // Mouse
387
+ ,
388
+ onMouseup: this.handleMouseUp,
389
+ onMousedown: this.handleMouseDown,
390
+ onClick: this.handleClick,
391
+ onDoubleclick: this.handleDoubleClick,
392
+ onRemoveclick: this.handleRemoveClick // Drag
393
+ ,
394
+ onPress: this.handlePress,
395
+ onDrag: this.handleDrag,
396
+ onRelease: this.handleRelease // Resize
397
+ ,
398
+ onResizepress: this.handleResizePress,
399
+ onResizeenddrag: this.handleResizeEndDrag,
400
+ onResizestartdrag: this.handleResizeStartDrag,
401
+ onResizerelease: this.handleResizeRelease
402
+ });
403
+ itemRender = getTemplate.call(this, {
404
+ h: h,
405
+ template: this.$props.viewItem,
406
+ defaultRendering: itemRenderDefaultRendering,
407
+ defaultSlots: defaultSlot,
408
+ additionalListeners: {
409
+ // keydown: this.handleKeyDown,
410
+ // keyup: this.handleKeyUp,
411
+ // Focus
412
+ // focus: this.handleFocus,
413
+ // Mouse
414
+ // mouseup: this.handleMouseUp,
415
+ // mousedown: this.handleMouseDown,
416
+ // click: this.handleClick,
417
+ doubleclick: this.handleDoubleClick,
418
+ removeclick: this.handleRemoveClick,
419
+ // Drag
420
+ press: this.handlePress,
421
+ drag: this.handleDrag,
422
+ release: this.handleRelease,
423
+ // Resize
424
+ resizepress: this.handleResizePress,
425
+ resizeenddrag: this.handleResizeEndDrag,
426
+ resizestartdrag: this.handleResizeStartDrag,
427
+ resizerelease: this.handleResizeRelease
428
+ }
429
+ });
430
+ return itemRender;
402
431
  },
403
432
  methods: {
404
433
  dispatchSeries: function dispatchSeries(action, _event) {
@@ -53,7 +53,7 @@ var SchedulerItemVue2 = {
53
53
  'resizepress': null,
54
54
  'resizestartdrag': null,
55
55
  'resizeenddrag': null,
56
- 'resizeenrelease': null
56
+ 'resizerelease': null
57
57
  },
58
58
  props: {
59
59
  uid: [String, Number],
@@ -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: 1651491665,
8
+ publishDate: 1651574121,
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
  };
@@ -17,6 +17,7 @@ import { mapItemsToSlots } from '../../utils'; // tslint:enable:max-line-length
17
17
 
18
18
  var SchedulerResizeVue2 = {
19
19
  name: 'KendoSchedulerResize',
20
+ inheritAttrs: false,
20
21
  props: {
21
22
  ignoreIsAllDay: Boolean,
22
23
  dataItem: Object,
@@ -89,6 +89,7 @@ var DayViewVue2 = {
89
89
  timeHeaderCell: String,
90
90
  slotRender: [String, Function, Object],
91
91
  item: [String, Function, Object],
92
+ viewItem: [String, Function, Object],
92
93
  editable: {
93
94
  type: [Boolean, Object],
94
95
  default: false
@@ -136,6 +137,7 @@ var DayViewVue2 = {
136
137
  timeHeaderCell: this.$props.timeHeaderCell,
137
138
  slotRender: this.$props.slotRender,
138
139
  item: this.$props.item,
140
+ viewItem: this.$props.viewItem,
139
141
  editable: this.$props.editable
140
142
  },
141
143
  dateRange: this.$props.dateRange,
@@ -158,6 +160,7 @@ var DayViewVue2 = {
158
160
  timeHeaderCell: this.$props.timeHeaderCell,
159
161
  slotRender: this.$props.slotRender,
160
162
  item: this.$props.item,
163
+ viewItem: this.$props.viewItem,
161
164
  editable: this.$props.editable,
162
165
  onDataaction: this.handleDataAction,
163
166
  on: this.v3 ? undefined : {
@@ -155,6 +155,7 @@ var MultiDayViewVue2 = {
155
155
  timeHeaderCell: String,
156
156
  slotRender: [String, Function, Object],
157
157
  item: [String, Function, Object],
158
+ viewItem: [String, Function, Object],
158
159
  editable: {
159
160
  type: [Boolean, Object],
160
161
  default: false
@@ -63,6 +63,7 @@ var MonthViewVue2 = {
63
63
  },
64
64
  slotRender: [String, Function, Object],
65
65
  item: [String, Function, Object],
66
+ viewItem: [String, Function, Object],
66
67
  editable: {
67
68
  type: [Boolean, Object],
68
69
  default: false
@@ -122,6 +122,7 @@ var MultiDayTimelineViewVue2 = {
122
122
  },
123
123
  slotRender: [String, Function, Object],
124
124
  item: [String, Function, Object],
125
+ viewItem: [String, Function, Object],
125
126
  editable: {
126
127
  type: [Boolean, Object],
127
128
  default: false
@@ -94,6 +94,7 @@ var TimelineViewVue2 = {
94
94
  },
95
95
  slotRender: [String, Function, Object],
96
96
  item: [String, Function, Object],
97
+ viewItem: [String, Function, Object],
97
98
  editable: [Object, Boolean]
98
99
  },
99
100
  // @ts-ignore
@@ -129,6 +130,7 @@ var TimelineViewVue2 = {
129
130
  workWeekEnd: this.$props.workWeekEnd,
130
131
  slotRender: this.$props.slotRender,
131
132
  item: this.$props.item,
133
+ viewItem: this.$props.viewItem,
132
134
  editable: this.$props.editable
133
135
  },
134
136
  dateRange: this.$props.dateRange,
@@ -150,6 +152,7 @@ var TimelineViewVue2 = {
150
152
  workWeekEnd: this.$props.workWeekEnd,
151
153
  slotRender: this.$props.slotRender,
152
154
  item: this.$props.item,
155
+ viewItem: this.$props.viewItem,
153
156
  editable: this.$props.editable,
154
157
  onDataaction: this.handleDataAction,
155
158
  on: this.v3 ? undefined : {
@@ -87,6 +87,7 @@ var WeekViewVue2 = {
87
87
  timeHeaderCell: String,
88
88
  slotRender: [String, Function, Object],
89
89
  item: [String, Function, Object],
90
+ viewItem: [String, Function, Object],
90
91
  editable: {
91
92
  type: [Boolean, Object],
92
93
  default: false
@@ -134,6 +135,7 @@ var WeekViewVue2 = {
134
135
  timeHeaderCell: this.$props.timeHeaderCell,
135
136
  slotRender: this.$props.slotRender,
136
137
  item: this.$props.item,
138
+ viewItem: this.$props.viewItem,
137
139
  editable: this.$props.editable
138
140
  },
139
141
  dateRange: this.$props.dateRange,
@@ -156,6 +158,7 @@ var WeekViewVue2 = {
156
158
  timeHeaderCell: this.$props.timeHeaderCell,
157
159
  slotRender: this.$props.slotRender,
158
160
  item: this.$props.item,
161
+ viewItem: this.$props.viewItem,
159
162
  editable: this.$props.editable,
160
163
  onDataaction: this.handleDataAction,
161
164
  on: this.v3 ? undefined : {
@@ -76,6 +76,7 @@ var WorkWeekViewVue2 = {
76
76
  },
77
77
  slotRender: [String, Function, Object],
78
78
  item: [String, Function, Object],
79
+ viewItem: [String, Function, Object],
79
80
  editable: {
80
81
  type: [Boolean, Object],
81
82
  default: false
@@ -118,6 +119,7 @@ var WorkWeekViewVue2 = {
118
119
  step: DAYS_IN_WEEK_COUNT,
119
120
  slotRender: this.$props.slotRender,
120
121
  item: this.$props.item,
122
+ viewItem: this.$props.viewItem,
121
123
  editable: this.$props.editable
122
124
  },
123
125
  dateRange: this.$props.dateRange,
@@ -131,6 +133,7 @@ var WorkWeekViewVue2 = {
131
133
  step: DAYS_IN_WEEK_COUNT,
132
134
  slotRender: this.$props.slotRender,
133
135
  item: this.$props.item,
136
+ viewItem: this.$props.viewItem,
134
137
  editable: this.$props.editable,
135
138
  onDataaction: this.handleDataAction,
136
139
  on: this.v3 ? undefined : {
@@ -143,6 +143,7 @@ var SchedulerVue2 = {
143
143
  footer: [String, Function, Object],
144
144
  slotRender: [String, Function, Object],
145
145
  item: [String, Function, Object],
146
+ viewItem: [String, Function, Object],
146
147
  task: [String, Function, Object]
147
148
  },
148
149
  computed: {
@@ -252,6 +253,7 @@ var SchedulerVue2 = {
252
253
  var footer = kendo_vue_common_1.templateRendering.call(this, view.footer || this.$props.footer, kendo_vue_common_1.getListeners.call(this));
253
254
  var slotRender = kendo_vue_common_1.templateRendering.call(this, view.slot || this.$props.slotRender, {});
254
255
  var item = kendo_vue_common_1.templateRendering.call(this, view.item || this.$props.item, {});
256
+ var viewItem = kendo_vue_common_1.templateRendering.call(this, view.viewItem || this.$props.viewItem, {});
255
257
  var task = kendo_vue_common_1.templateRendering.call(this, view.task || this.$props.task, {});
256
258
  var ViewSelector = SchedulerViewSelector_1.SchedulerViewSelector;
257
259
  var viewComponent = this.getViewComponentByName(this.ks.activeViewName || view.name);
@@ -264,6 +266,7 @@ var SchedulerVue2 = {
264
266
  dateRange: this.ks.dateRange,
265
267
  slotRender: slotRender,
266
268
  item: item,
269
+ viewItem: viewItem,
267
270
  task: task
268
271
  });
269
272
 
@@ -214,7 +214,8 @@ var SchedulerEditItemVue2 = {
214
214
  render: function render(createElement) {
215
215
  var _this = this;
216
216
 
217
- var h = gh || createElement; // tslint:enable:max-line-length
217
+ var h = gh || createElement;
218
+ var defaultSlot = kendo_vue_common_1.getDefaultSlots(this); // tslint:enable:max-line-length
218
219
 
219
220
  var _a = this.$props,
220
221
  onDataaction = _a.onDataaction,
@@ -290,56 +291,12 @@ var SchedulerEditItemVue2 = {
290
291
  var selected = Boolean(this.bv.selectedItems && this.bv.selectedItems.some(function (si) {
291
292
  return utils_1.compareItems(si, _this, _this.ignoreIsAllDay);
292
293
  }));
293
- return (// @ts-ignore function children
294
- h(SchedulerViewItem_1.SchedulerViewItem, {
294
+ var itemRender;
295
+ var itemRenderDefaultRendering = // @ts-ignore function children
296
+ h(SchedulerViewItem_1.SchedulerViewItem, {
297
+ ignoreIsAllDay: this.ignoreIsAllDay,
298
+ attrs: this.v3 ? undefined : {
295
299
  ignoreIsAllDay: this.ignoreIsAllDay,
296
- attrs: this.v3 ? undefined : {
297
- ignoreIsAllDay: this.ignoreIsAllDay,
298
- item: this.item,
299
- uid: this.uid,
300
- start: this.start,
301
- end: this.end,
302
- originalStart: this.originalStart,
303
- startTimezone: this.startTimezone,
304
- endTimezone: this.endTimezone,
305
- isAllDay: this.isAllDay,
306
- title: this.title,
307
- description: this.description,
308
- occurrenceId: this.occurrenceId,
309
- recurrenceExceptions: this.recurrenceExceptions,
310
- recurrenceRule: this.recurrenceRule,
311
- recurrenceId: this.recurrenceId,
312
- dataItem: this.dataItem,
313
- head: this.head,
314
- tail: this.tail,
315
- order: this.order,
316
- zonedStart: this.zonedStart,
317
- zonedEnd: this.zonedEnd,
318
- slots: this.slots,
319
- group: this.group,
320
- range: this.range,
321
- isException: this.isException,
322
- isRecurring: this.isRecurring,
323
- id: this.id,
324
- className: this.className,
325
- itemStyle: this.itemStyle,
326
- editable: this.editable,
327
- vertical: this.vertical,
328
- dragHint: this.dragHint,
329
- resizeHint: this.resizeHint,
330
- format: this.format,
331
- showOccurrenceDialog: this.compShowOccurrenceDialog,
332
- showRemoveDialog: this.compShowRemoveDialog,
333
- formItem: this.compFormItem,
334
- dragItem: this.compDragItem,
335
- resizeItem: this.compResizeItem,
336
- removeItem: this.compRemoveItem // refTo={this}
337
- ,
338
- itemRef: this.item,
339
- selected: selected,
340
- tabIndex: this.currentTabIndex // Keyboard
341
-
342
- },
343
300
  item: this.item,
344
301
  uid: this.uid,
345
302
  start: this.start,
@@ -378,48 +335,120 @@ var SchedulerEditItemVue2 = {
378
335
  formItem: this.compFormItem,
379
336
  dragItem: this.compDragItem,
380
337
  resizeItem: this.compResizeItem,
381
- removeItem: this.compRemoveItem,
338
+ removeItem: this.compRemoveItem // refTo={this}
339
+ ,
382
340
  itemRef: this.item,
383
341
  selected: selected,
384
- tabIndex: this.currentTabIndex,
385
- onKeydown: this.handleKeyDown,
386
- on: this.v3 ? undefined : {
387
- "keydown": this.handleKeyDown,
388
- "keyup": this.handleKeyUp,
389
- "focus": this.handleFocus,
390
- "mouseup": this.handleMouseUp,
391
- "mousedown": this.handleMouseDown,
392
- "click": this.handleClick,
393
- "doubleclick": this.handleDoubleClick,
394
- "removeclick": this.handleRemoveClick,
395
- "press": this.handlePress,
396
- "drag": this.handleDrag,
397
- "release": this.handleRelease,
398
- "resizepress": this.handleResizePress,
399
- "resizeenddrag": this.handleResizeEndDrag,
400
- "resizestartdrag": this.handleResizeStartDrag,
401
- "resizerelease": this.handleResizeRelease
402
- },
403
- onKeyup: this.handleKeyUp // Focus
404
- ,
405
- onFocus: this.handleFocus // Mouse
406
- ,
407
- onMouseup: this.handleMouseUp,
408
- onMousedown: this.handleMouseDown,
409
- onClick: this.handleClick,
410
- onDoubleclick: this.handleDoubleClick,
411
- onRemoveclick: this.handleRemoveClick // Drag
412
- ,
413
- onPress: this.handlePress,
414
- onDrag: this.handleDrag,
415
- onRelease: this.handleRelease // Resize
416
- ,
417
- onResizepress: this.handleResizePress,
418
- onResizeenddrag: this.handleResizeEndDrag,
419
- onResizestartdrag: this.handleResizeStartDrag,
420
- onResizerelease: this.handleResizeRelease
421
- })
422
- );
342
+ tabIndex: this.currentTabIndex // Keyboard
343
+
344
+ },
345
+ item: this.item,
346
+ uid: this.uid,
347
+ start: this.start,
348
+ end: this.end,
349
+ originalStart: this.originalStart,
350
+ startTimezone: this.startTimezone,
351
+ endTimezone: this.endTimezone,
352
+ isAllDay: this.isAllDay,
353
+ title: this.title,
354
+ description: this.description,
355
+ occurrenceId: this.occurrenceId,
356
+ recurrenceExceptions: this.recurrenceExceptions,
357
+ recurrenceRule: this.recurrenceRule,
358
+ recurrenceId: this.recurrenceId,
359
+ dataItem: this.dataItem,
360
+ head: this.head,
361
+ tail: this.tail,
362
+ order: this.order,
363
+ zonedStart: this.zonedStart,
364
+ zonedEnd: this.zonedEnd,
365
+ slots: this.slots,
366
+ group: this.group,
367
+ range: this.range,
368
+ isException: this.isException,
369
+ isRecurring: this.isRecurring,
370
+ id: this.id,
371
+ className: this.className,
372
+ itemStyle: this.itemStyle,
373
+ editable: this.editable,
374
+ vertical: this.vertical,
375
+ dragHint: this.dragHint,
376
+ resizeHint: this.resizeHint,
377
+ format: this.format,
378
+ showOccurrenceDialog: this.compShowOccurrenceDialog,
379
+ showRemoveDialog: this.compShowRemoveDialog,
380
+ formItem: this.compFormItem,
381
+ dragItem: this.compDragItem,
382
+ resizeItem: this.compResizeItem,
383
+ removeItem: this.compRemoveItem,
384
+ itemRef: this.item,
385
+ selected: selected,
386
+ tabIndex: this.currentTabIndex,
387
+ onKeydown: this.handleKeyDown,
388
+ on: this.v3 ? undefined : {
389
+ "keydown": this.handleKeyDown,
390
+ "keyup": this.handleKeyUp,
391
+ "focus": this.handleFocus,
392
+ "mouseup": this.handleMouseUp,
393
+ "mousedown": this.handleMouseDown,
394
+ "click": this.handleClick,
395
+ "doubleclick": this.handleDoubleClick,
396
+ "removeclick": this.handleRemoveClick,
397
+ "press": this.handlePress,
398
+ "drag": this.handleDrag,
399
+ "release": this.handleRelease,
400
+ "resizepress": this.handleResizePress,
401
+ "resizeenddrag": this.handleResizeEndDrag,
402
+ "resizestartdrag": this.handleResizeStartDrag,
403
+ "resizerelease": this.handleResizeRelease
404
+ },
405
+ onKeyup: this.handleKeyUp // Focus
406
+ ,
407
+ onFocus: this.handleFocus // Mouse
408
+ ,
409
+ onMouseup: this.handleMouseUp,
410
+ onMousedown: this.handleMouseDown,
411
+ onClick: this.handleClick,
412
+ onDoubleclick: this.handleDoubleClick,
413
+ onRemoveclick: this.handleRemoveClick // Drag
414
+ ,
415
+ onPress: this.handlePress,
416
+ onDrag: this.handleDrag,
417
+ onRelease: this.handleRelease // Resize
418
+ ,
419
+ onResizepress: this.handleResizePress,
420
+ onResizeenddrag: this.handleResizeEndDrag,
421
+ onResizestartdrag: this.handleResizeStartDrag,
422
+ onResizerelease: this.handleResizeRelease
423
+ });
424
+ itemRender = kendo_vue_common_1.getTemplate.call(this, {
425
+ h: h,
426
+ template: this.$props.viewItem,
427
+ defaultRendering: itemRenderDefaultRendering,
428
+ defaultSlots: defaultSlot,
429
+ additionalListeners: {
430
+ // keydown: this.handleKeyDown,
431
+ // keyup: this.handleKeyUp,
432
+ // Focus
433
+ // focus: this.handleFocus,
434
+ // Mouse
435
+ // mouseup: this.handleMouseUp,
436
+ // mousedown: this.handleMouseDown,
437
+ // click: this.handleClick,
438
+ doubleclick: this.handleDoubleClick,
439
+ removeclick: this.handleRemoveClick,
440
+ // Drag
441
+ press: this.handlePress,
442
+ drag: this.handleDrag,
443
+ release: this.handleRelease,
444
+ // Resize
445
+ resizepress: this.handleResizePress,
446
+ resizeenddrag: this.handleResizeEndDrag,
447
+ resizestartdrag: this.handleResizeStartDrag,
448
+ resizerelease: this.handleResizeRelease
449
+ }
450
+ });
451
+ return itemRender;
423
452
  },
424
453
  methods: {
425
454
  dispatchSeries: function dispatchSeries(action, _event) {