@progress/kendo-vue-scheduler 4.3.1 → 4.3.2-dev.202403070957

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.
@@ -15,7 +15,6 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- var inject = allVue.inject;
19
18
  import { COLLECTION_ACTION, toSchedulerGroups } from '../utils/main';
20
19
  import { Draggable, getDefaultSlots, getTemplate, Icon } from '@progress/kendo-vue-common';
21
20
  import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -54,7 +53,10 @@ var SchedulerItemVue2 = {
54
53
  'resizepress': null,
55
54
  'resizestartdrag': null,
56
55
  'resizeenddrag': null,
57
- 'resizerelease': null
56
+ 'resizerelease': null,
57
+ 'cancel': null,
58
+ 'close': null,
59
+ 'formsubmit': null
58
60
  },
59
61
  props: {
60
62
  uid: [String, Number],
@@ -338,14 +340,14 @@ var SchedulerItemVue2 = {
338
340
  attrs: _this2.v3 ? undefined : {
339
341
  dataItem: _this2.formItem
340
342
  },
341
- onSubmit: _this2.ksFormSubmit,
343
+ onSubmit: _this2.handleFormSubmit,
342
344
  on: _this2.v3 ? undefined : {
343
- "submit": _this2.ksFormSubmit,
344
- "close": _this2.ksCancel,
345
- "cancel": _this2.ksCancel
345
+ "submit": _this2.handleFormSubmit,
346
+ "close": _this2.handleFormClose,
347
+ "cancel": _this2.handleFormCancel
346
348
  },
347
- onClose: _this2.ksCancel,
348
- onCancel: _this2.ksCancel
349
+ onClose: _this2.handleFormClose,
350
+ onCancel: _this2.handleFormCancel
349
351
  }), _this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerOccurrenceDialog, {
350
352
  dataItem: _this2.formItem || _this2.dragItem || _this2.resizeItem || _this2.removeItem,
351
353
  attrs: _this2.v3 ? undefined : {
@@ -570,14 +572,14 @@ var SchedulerItemVue2 = {
570
572
  attrs: _this2.v3 ? undefined : {
571
573
  dataItem: _this2.formItem
572
574
  },
573
- onSubmit: _this2.ksFormSubmit,
575
+ onSubmit: _this2.handleFormSubmit,
574
576
  on: _this2.v3 ? undefined : {
575
- "submit": _this2.ksFormSubmit,
576
- "close": _this2.ksCancel,
577
- "cancel": _this2.ksCancel
577
+ "submit": _this2.handleFormSubmit,
578
+ "close": _this2.handleFormClose,
579
+ "cancel": _this2.handleFormCancel
578
580
  },
579
- onClose: _this2.ksCancel,
580
- onCancel: _this2.ksCancel
581
+ onClose: _this2.handleFormClose,
582
+ onCancel: _this2.handleFormCancel
581
583
  }), _this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerOccurrenceDialog, {
582
584
  dataItem: _this2.formItem || _this2.dragItem || _this2.resizeItem || _this2.removeItem,
583
585
  attrs: _this2.v3 ? undefined : {
@@ -923,6 +925,18 @@ var SchedulerItemVue2 = {
923
925
  element: this.element
924
926
  }
925
927
  });
928
+ },
929
+ handleFormClose: function handleFormClose(event) {
930
+ this.ksCancel(event);
931
+ this.$emit('close', event);
932
+ },
933
+ handleFormSubmit: function handleFormSubmit(event) {
934
+ this.ksFormSubmit(event);
935
+ this.$emit('formsubmit', event);
936
+ },
937
+ handleFormCancel: function handleFormCancel(event) {
938
+ this.ksCancel(event);
939
+ this.$emit('cancel', event);
926
940
  }
927
941
  }
928
942
  };
@@ -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: 1708438585,
8
+ publishDate: 1709805236,
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
  };
@@ -225,19 +225,19 @@ var SchedulerEditSlotVue2 = {
225
225
  defaultRendering: editSlotRenderDefaultRendering,
226
226
  defaultSlots: defaultSlot,
227
227
  additionalProps: __assign(__assign({}, this.cSlot), {
228
- isAllDay: this.isAllDay,
228
+ isAllDay: this.cSlot.isAllDay,
229
229
  expandable: this.expandable,
230
230
  editable: this.editable,
231
231
  items: items,
232
- row: row,
233
- group: group,
234
- range: range,
232
+ row: this.cSlot.row,
233
+ group: this.cSlot.group,
234
+ range: this.cSlot.range,
235
235
  isWorkDay: isWorkDay,
236
236
  isWorkHour: isWorkHour,
237
- col: col,
237
+ col: this.cSlot.col,
238
238
  index: index,
239
- start: start,
240
- end: end,
239
+ start: this.cSlot.start,
240
+ end: this.cSlot.end,
241
241
  zonedStart: zonedStart,
242
242
  zonedEnd: zonedEnd,
243
243
  selected: selected,
@@ -43,7 +43,10 @@ var SchedulerSlotVue2 = {
43
43
  doubleclick: null,
44
44
  keydown: null,
45
45
  keypress: null,
46
- keyup: null
46
+ keyup: null,
47
+ 'cancel': null,
48
+ 'close': null,
49
+ 'formsubmit': null
47
50
  },
48
51
  props: {
49
52
  refTo: [Function, Object],
@@ -230,14 +233,14 @@ var SchedulerSlotVue2 = {
230
233
  attrs: this.v3 ? undefined : {
231
234
  dataItem: this.formItem
232
235
  },
233
- onSubmit: this.ksEditFormSubmit,
236
+ onSubmit: this.handleFormSubmit,
234
237
  on: this.v3 ? undefined : {
235
- "submit": this.ksEditFormSubmit,
236
- "close": this.ksEditFormClose,
237
- "cancel": this.ksEditFormCancel
238
+ "submit": this.handleFormSubmit,
239
+ "close": this.handleFormClose,
240
+ "cancel": this.handleFormCancel
238
241
  },
239
- onClose: this.ksEditFormClose,
240
- onCancel: this.ksEditFormCancel
242
+ onClose: this.handleFormClose,
243
+ onCancel: this.handleFormCancel
241
244
  })]);
242
245
  },
243
246
  methods: {
@@ -346,6 +349,18 @@ var SchedulerSlotVue2 = {
346
349
  element: this.$el
347
350
  }
348
351
  });
352
+ },
353
+ handleFormClose: function handleFormClose(event) {
354
+ this.ksEditFormClose(event);
355
+ this.$emit('close', event);
356
+ },
357
+ handleFormSubmit: function handleFormSubmit(event) {
358
+ this.ksEditFormSubmit(event);
359
+ this.$emit('formsubmit', event);
360
+ },
361
+ handleFormCancel: function handleFormCancel(event) {
362
+ this.ksEditFormCancel(event);
363
+ this.$emit('cancel', event);
349
364
  }
350
365
  }
351
366
  };
@@ -425,10 +425,12 @@ var MultiDayTimelineViewVue2 = {
425
425
  attrs: _this2.v3 ? undefined : {
426
426
  wrapGroup: true,
427
427
  group: _this2.ks.props.group,
428
- resources: _this2.ks.props.resources
428
+ resources: _this2.ks.props.resources,
429
+ editable: _this2.$props.editable
429
430
  },
430
431
  group: _this2.ks.props.group,
431
- resources: _this2.ks.props.resources
432
+ resources: _this2.ks.props.resources,
433
+ editable: _this2.$props.editable
432
434
  }, _this2.v3 ? function () {
433
435
  return [head];
434
436
  } : [head])]), h("div", {
@@ -510,6 +512,7 @@ var MultiDayTimelineViewVue2 = {
510
512
  timelineSlots: timelineSlots,
511
513
  slotRender: _this2.$props.slotRender,
512
514
  viewSlot: _this2.$props.viewSlot,
515
+ editable: _this2.$props.editable,
513
516
  currentTimeMarker: _this2.$props.currentTimeMarker
514
517
  }
515
518
  },
@@ -527,6 +530,7 @@ var MultiDayTimelineViewVue2 = {
527
530
  timelineSlots: timelineSlots,
528
531
  slotRender: _this2.$props.slotRender,
529
532
  viewSlot: _this2.$props.viewSlot,
533
+ editable: _this2.$props.editable,
530
534
  currentTimeMarker: _this2.$props.currentTimeMarker
531
535
  }
532
536
  }), _this2.hasMounted && items.sort(orderSort).map(function (item) {
@@ -631,10 +635,12 @@ var MultiDayTimelineViewVue2 = {
631
635
  attrs: _this2.v3 ? undefined : {
632
636
  wrapGroup: true,
633
637
  group: _this2.ks.props.group,
634
- resources: _this2.ks.props.resources
638
+ resources: _this2.ks.props.resources,
639
+ editable: _this2.$props.editable
635
640
  },
636
641
  group: _this2.ks.props.group,
637
- resources: _this2.ks.props.resources
642
+ resources: _this2.ks.props.resources,
643
+ editable: _this2.$props.editable
638
644
  }, _this2.v3 ? function () {
639
645
  return [head];
640
646
  } : [head])]), h("div", {
@@ -710,6 +716,7 @@ var MultiDayTimelineViewVue2 = {
710
716
  timelineSlots: timelineSlots,
711
717
  slotRender: _this2.$props.slotRender,
712
718
  viewSlot: _this2.$props.viewSlot,
719
+ editable: _this2.$props.editable,
713
720
  currentTimeMarker: _this2.$props.currentTimeMarker
714
721
  }
715
722
  },
@@ -727,6 +734,7 @@ var MultiDayTimelineViewVue2 = {
727
734
  timelineSlots: timelineSlots,
728
735
  slotRender: _this2.$props.slotRender,
729
736
  viewSlot: _this2.$props.viewSlot,
737
+ editable: _this2.$props.editable,
730
738
  currentTimeMarker: _this2.$props.currentTimeMarker
731
739
  }
732
740
  }), _this2.hasMounted && items.sort(orderSort).map(function (item) {
@@ -15,7 +15,6 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- var inject = allVue.inject;
19
18
  import { COLLECTION_ACTION, toSchedulerGroups } from '../utils/main.js';
20
19
  import { Draggable, getDefaultSlots, getTemplate, Icon } from '@progress/kendo-vue-common';
21
20
  import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -54,7 +53,10 @@ var SchedulerItemVue2 = {
54
53
  'resizepress': null,
55
54
  'resizestartdrag': null,
56
55
  'resizeenddrag': null,
57
- 'resizerelease': null
56
+ 'resizerelease': null,
57
+ 'cancel': null,
58
+ 'close': null,
59
+ 'formsubmit': null
58
60
  },
59
61
  props: {
60
62
  uid: [String, Number],
@@ -338,14 +340,14 @@ var SchedulerItemVue2 = {
338
340
  attrs: _this2.v3 ? undefined : {
339
341
  dataItem: _this2.formItem
340
342
  },
341
- onSubmit: _this2.ksFormSubmit,
343
+ onSubmit: _this2.handleFormSubmit,
342
344
  on: _this2.v3 ? undefined : {
343
- "submit": _this2.ksFormSubmit,
344
- "close": _this2.ksCancel,
345
- "cancel": _this2.ksCancel
345
+ "submit": _this2.handleFormSubmit,
346
+ "close": _this2.handleFormClose,
347
+ "cancel": _this2.handleFormCancel
346
348
  },
347
- onClose: _this2.ksCancel,
348
- onCancel: _this2.ksCancel
349
+ onClose: _this2.handleFormClose,
350
+ onCancel: _this2.handleFormCancel
349
351
  }), _this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerOccurrenceDialog, {
350
352
  dataItem: _this2.formItem || _this2.dragItem || _this2.resizeItem || _this2.removeItem,
351
353
  attrs: _this2.v3 ? undefined : {
@@ -570,14 +572,14 @@ var SchedulerItemVue2 = {
570
572
  attrs: _this2.v3 ? undefined : {
571
573
  dataItem: _this2.formItem
572
574
  },
573
- onSubmit: _this2.ksFormSubmit,
575
+ onSubmit: _this2.handleFormSubmit,
574
576
  on: _this2.v3 ? undefined : {
575
- "submit": _this2.ksFormSubmit,
576
- "close": _this2.ksCancel,
577
- "cancel": _this2.ksCancel
577
+ "submit": _this2.handleFormSubmit,
578
+ "close": _this2.handleFormClose,
579
+ "cancel": _this2.handleFormCancel
578
580
  },
579
- onClose: _this2.ksCancel,
580
- onCancel: _this2.ksCancel
581
+ onClose: _this2.handleFormClose,
582
+ onCancel: _this2.handleFormCancel
581
583
  }), _this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerOccurrenceDialog, {
582
584
  dataItem: _this2.formItem || _this2.dragItem || _this2.resizeItem || _this2.removeItem,
583
585
  attrs: _this2.v3 ? undefined : {
@@ -923,6 +925,18 @@ var SchedulerItemVue2 = {
923
925
  element: this.element
924
926
  }
925
927
  });
928
+ },
929
+ handleFormClose: function handleFormClose(event) {
930
+ this.ksCancel(event);
931
+ this.$emit('close', event);
932
+ },
933
+ handleFormSubmit: function handleFormSubmit(event) {
934
+ this.ksFormSubmit(event);
935
+ this.$emit('formsubmit', event);
936
+ },
937
+ handleFormCancel: function handleFormCancel(event) {
938
+ this.ksCancel(event);
939
+ this.$emit('cancel', event);
926
940
  }
927
941
  }
928
942
  };
@@ -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: 1708438585,
8
+ publishDate: 1709805236,
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
  };
@@ -225,19 +225,19 @@ var SchedulerEditSlotVue2 = {
225
225
  defaultRendering: editSlotRenderDefaultRendering,
226
226
  defaultSlots: defaultSlot,
227
227
  additionalProps: __assign(__assign({}, this.cSlot), {
228
- isAllDay: this.isAllDay,
228
+ isAllDay: this.cSlot.isAllDay,
229
229
  expandable: this.expandable,
230
230
  editable: this.editable,
231
231
  items: items,
232
- row: row,
233
- group: group,
234
- range: range,
232
+ row: this.cSlot.row,
233
+ group: this.cSlot.group,
234
+ range: this.cSlot.range,
235
235
  isWorkDay: isWorkDay,
236
236
  isWorkHour: isWorkHour,
237
- col: col,
237
+ col: this.cSlot.col,
238
238
  index: index,
239
- start: start,
240
- end: end,
239
+ start: this.cSlot.start,
240
+ end: this.cSlot.end,
241
241
  zonedStart: zonedStart,
242
242
  zonedEnd: zonedEnd,
243
243
  selected: selected,
@@ -43,7 +43,10 @@ var SchedulerSlotVue2 = {
43
43
  doubleclick: null,
44
44
  keydown: null,
45
45
  keypress: null,
46
- keyup: null
46
+ keyup: null,
47
+ 'cancel': null,
48
+ 'close': null,
49
+ 'formsubmit': null
47
50
  },
48
51
  props: {
49
52
  refTo: [Function, Object],
@@ -230,14 +233,14 @@ var SchedulerSlotVue2 = {
230
233
  attrs: this.v3 ? undefined : {
231
234
  dataItem: this.formItem
232
235
  },
233
- onSubmit: this.ksEditFormSubmit,
236
+ onSubmit: this.handleFormSubmit,
234
237
  on: this.v3 ? undefined : {
235
- "submit": this.ksEditFormSubmit,
236
- "close": this.ksEditFormClose,
237
- "cancel": this.ksEditFormCancel
238
+ "submit": this.handleFormSubmit,
239
+ "close": this.handleFormClose,
240
+ "cancel": this.handleFormCancel
238
241
  },
239
- onClose: this.ksEditFormClose,
240
- onCancel: this.ksEditFormCancel
242
+ onClose: this.handleFormClose,
243
+ onCancel: this.handleFormCancel
241
244
  })]);
242
245
  },
243
246
  methods: {
@@ -346,6 +349,18 @@ var SchedulerSlotVue2 = {
346
349
  element: this.$el
347
350
  }
348
351
  });
352
+ },
353
+ handleFormClose: function handleFormClose(event) {
354
+ this.ksEditFormClose(event);
355
+ this.$emit('close', event);
356
+ },
357
+ handleFormSubmit: function handleFormSubmit(event) {
358
+ this.ksEditFormSubmit(event);
359
+ this.$emit('formsubmit', event);
360
+ },
361
+ handleFormCancel: function handleFormCancel(event) {
362
+ this.ksEditFormCancel(event);
363
+ this.$emit('cancel', event);
349
364
  }
350
365
  }
351
366
  };
@@ -425,10 +425,12 @@ var MultiDayTimelineViewVue2 = {
425
425
  attrs: _this2.v3 ? undefined : {
426
426
  wrapGroup: true,
427
427
  group: _this2.ks.props.group,
428
- resources: _this2.ks.props.resources
428
+ resources: _this2.ks.props.resources,
429
+ editable: _this2.$props.editable
429
430
  },
430
431
  group: _this2.ks.props.group,
431
- resources: _this2.ks.props.resources
432
+ resources: _this2.ks.props.resources,
433
+ editable: _this2.$props.editable
432
434
  }, _this2.v3 ? function () {
433
435
  return [head];
434
436
  } : [head])]), h("div", {
@@ -510,6 +512,7 @@ var MultiDayTimelineViewVue2 = {
510
512
  timelineSlots: timelineSlots,
511
513
  slotRender: _this2.$props.slotRender,
512
514
  viewSlot: _this2.$props.viewSlot,
515
+ editable: _this2.$props.editable,
513
516
  currentTimeMarker: _this2.$props.currentTimeMarker
514
517
  }
515
518
  },
@@ -527,6 +530,7 @@ var MultiDayTimelineViewVue2 = {
527
530
  timelineSlots: timelineSlots,
528
531
  slotRender: _this2.$props.slotRender,
529
532
  viewSlot: _this2.$props.viewSlot,
533
+ editable: _this2.$props.editable,
530
534
  currentTimeMarker: _this2.$props.currentTimeMarker
531
535
  }
532
536
  }), _this2.hasMounted && items.sort(orderSort).map(function (item) {
@@ -631,10 +635,12 @@ var MultiDayTimelineViewVue2 = {
631
635
  attrs: _this2.v3 ? undefined : {
632
636
  wrapGroup: true,
633
637
  group: _this2.ks.props.group,
634
- resources: _this2.ks.props.resources
638
+ resources: _this2.ks.props.resources,
639
+ editable: _this2.$props.editable
635
640
  },
636
641
  group: _this2.ks.props.group,
637
- resources: _this2.ks.props.resources
642
+ resources: _this2.ks.props.resources,
643
+ editable: _this2.$props.editable
638
644
  }, _this2.v3 ? function () {
639
645
  return [head];
640
646
  } : [head])]), h("div", {
@@ -710,6 +716,7 @@ var MultiDayTimelineViewVue2 = {
710
716
  timelineSlots: timelineSlots,
711
717
  slotRender: _this2.$props.slotRender,
712
718
  viewSlot: _this2.$props.viewSlot,
719
+ editable: _this2.$props.editable,
713
720
  currentTimeMarker: _this2.$props.currentTimeMarker
714
721
  }
715
722
  },
@@ -727,6 +734,7 @@ var MultiDayTimelineViewVue2 = {
727
734
  timelineSlots: timelineSlots,
728
735
  slotRender: _this2.$props.slotRender,
729
736
  viewSlot: _this2.$props.viewSlot,
737
+ editable: _this2.$props.editable,
730
738
  currentTimeMarker: _this2.$props.currentTimeMarker
731
739
  }
732
740
  }), _this2.hasMounted && items.sort(orderSort).map(function (item) {
@@ -21,7 +21,6 @@ var Vue = require("vue");
21
21
  var allVue = Vue;
22
22
  var gh = allVue.h;
23
23
  var isV3 = allVue.version && allVue.version[0] === '3';
24
- var inject = allVue.inject;
25
24
  var main_1 = require("../utils/main");
26
25
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
27
26
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
@@ -60,7 +59,10 @@ var SchedulerItemVue2 = {
60
59
  'resizepress': null,
61
60
  'resizestartdrag': null,
62
61
  'resizeenddrag': null,
63
- 'resizerelease': null
62
+ 'resizerelease': null,
63
+ 'cancel': null,
64
+ 'close': null,
65
+ 'formsubmit': null
64
66
  },
65
67
  props: {
66
68
  uid: [String, Number],
@@ -344,14 +346,14 @@ var SchedulerItemVue2 = {
344
346
  attrs: _this2.v3 ? undefined : {
345
347
  dataItem: _this2.formItem
346
348
  },
347
- onSubmit: _this2.ksFormSubmit,
349
+ onSubmit: _this2.handleFormSubmit,
348
350
  on: _this2.v3 ? undefined : {
349
- "submit": _this2.ksFormSubmit,
350
- "close": _this2.ksCancel,
351
- "cancel": _this2.ksCancel
351
+ "submit": _this2.handleFormSubmit,
352
+ "close": _this2.handleFormClose,
353
+ "cancel": _this2.handleFormCancel
352
354
  },
353
- onClose: _this2.ksCancel,
354
- onCancel: _this2.ksCancel
355
+ onClose: _this2.handleFormClose,
356
+ onCancel: _this2.handleFormCancel
355
357
  }), _this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerOccurrenceDialog_1.SchedulerOccurrenceDialog, {
356
358
  dataItem: _this2.formItem || _this2.dragItem || _this2.resizeItem || _this2.removeItem,
357
359
  attrs: _this2.v3 ? undefined : {
@@ -576,14 +578,14 @@ var SchedulerItemVue2 = {
576
578
  attrs: _this2.v3 ? undefined : {
577
579
  dataItem: _this2.formItem
578
580
  },
579
- onSubmit: _this2.ksFormSubmit,
581
+ onSubmit: _this2.handleFormSubmit,
580
582
  on: _this2.v3 ? undefined : {
581
- "submit": _this2.ksFormSubmit,
582
- "close": _this2.ksCancel,
583
- "cancel": _this2.ksCancel
583
+ "submit": _this2.handleFormSubmit,
584
+ "close": _this2.handleFormClose,
585
+ "cancel": _this2.handleFormCancel
584
586
  },
585
- onClose: _this2.ksCancel,
586
- onCancel: _this2.ksCancel
587
+ onClose: _this2.handleFormClose,
588
+ onCancel: _this2.handleFormCancel
587
589
  }), _this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerOccurrenceDialog_1.SchedulerOccurrenceDialog, {
588
590
  dataItem: _this2.formItem || _this2.dragItem || _this2.resizeItem || _this2.removeItem,
589
591
  attrs: _this2.v3 ? undefined : {
@@ -929,6 +931,18 @@ var SchedulerItemVue2 = {
929
931
  element: this.element
930
932
  }
931
933
  });
934
+ },
935
+ handleFormClose: function handleFormClose(event) {
936
+ this.ksCancel(event);
937
+ this.$emit('close', event);
938
+ },
939
+ handleFormSubmit: function handleFormSubmit(event) {
940
+ this.ksFormSubmit(event);
941
+ this.$emit('formsubmit', event);
942
+ },
943
+ handleFormCancel: function handleFormCancel(event) {
944
+ this.ksCancel(event);
945
+ this.$emit('cancel', event);
932
946
  }
933
947
  }
934
948
  };
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-scheduler',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1708438585,
11
+ publishDate: 1709805236,
12
12
  version: '',
13
13
  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'
14
14
  };
@@ -231,19 +231,19 @@ var SchedulerEditSlotVue2 = {
231
231
  defaultRendering: editSlotRenderDefaultRendering,
232
232
  defaultSlots: defaultSlot,
233
233
  additionalProps: __assign(__assign({}, this.cSlot), {
234
- isAllDay: this.isAllDay,
234
+ isAllDay: this.cSlot.isAllDay,
235
235
  expandable: this.expandable,
236
236
  editable: this.editable,
237
237
  items: items,
238
- row: row,
239
- group: group,
240
- range: range,
238
+ row: this.cSlot.row,
239
+ group: this.cSlot.group,
240
+ range: this.cSlot.range,
241
241
  isWorkDay: isWorkDay,
242
242
  isWorkHour: isWorkHour,
243
- col: col,
243
+ col: this.cSlot.col,
244
244
  index: index,
245
- start: start,
246
- end: end,
245
+ start: this.cSlot.start,
246
+ end: this.cSlot.end,
247
247
  zonedStart: zonedStart,
248
248
  zonedEnd: zonedEnd,
249
249
  selected: selected,
@@ -49,7 +49,10 @@ var SchedulerSlotVue2 = {
49
49
  doubleclick: null,
50
50
  keydown: null,
51
51
  keypress: null,
52
- keyup: null
52
+ keyup: null,
53
+ 'cancel': null,
54
+ 'close': null,
55
+ 'formsubmit': null
53
56
  },
54
57
  props: {
55
58
  refTo: [Function, Object],
@@ -236,14 +239,14 @@ var SchedulerSlotVue2 = {
236
239
  attrs: this.v3 ? undefined : {
237
240
  dataItem: this.formItem
238
241
  },
239
- onSubmit: this.ksEditFormSubmit,
242
+ onSubmit: this.handleFormSubmit,
240
243
  on: this.v3 ? undefined : {
241
- "submit": this.ksEditFormSubmit,
242
- "close": this.ksEditFormClose,
243
- "cancel": this.ksEditFormCancel
244
+ "submit": this.handleFormSubmit,
245
+ "close": this.handleFormClose,
246
+ "cancel": this.handleFormCancel
244
247
  },
245
- onClose: this.ksEditFormClose,
246
- onCancel: this.ksEditFormCancel
248
+ onClose: this.handleFormClose,
249
+ onCancel: this.handleFormCancel
247
250
  })]);
248
251
  },
249
252
  methods: {
@@ -352,6 +355,18 @@ var SchedulerSlotVue2 = {
352
355
  element: this.$el
353
356
  }
354
357
  });
358
+ },
359
+ handleFormClose: function handleFormClose(event) {
360
+ this.ksEditFormClose(event);
361
+ this.$emit('close', event);
362
+ },
363
+ handleFormSubmit: function handleFormSubmit(event) {
364
+ this.ksEditFormSubmit(event);
365
+ this.$emit('formsubmit', event);
366
+ },
367
+ handleFormCancel: function handleFormCancel(event) {
368
+ this.ksEditFormCancel(event);
369
+ this.$emit('cancel', event);
355
370
  }
356
371
  }
357
372
  };