@progress/kendo-vue-scheduler 3.9.1 → 3.9.2-dev.202304050903

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 (38) hide show
  1. package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
  2. package/dist/es/components/BaseView.js +2 -1
  3. package/dist/es/package-metadata.js +1 -1
  4. package/dist/es/slots/SchedulerEditSlot.js +1 -0
  5. package/dist/es/slots/SchedulerSlot.js +15 -1
  6. package/dist/es/slots/SchedulerViewSlot.js +1 -0
  7. package/dist/es/views/agenda/AgendaViewBody.js +0 -14
  8. package/dist/es/views/day/DayViewAllDaySlots.js +0 -14
  9. package/dist/es/views/day/DayViewMiddleRow.js +0 -14
  10. package/dist/es/views/day/DayViewVerticalRow.js +0 -14
  11. package/dist/es/views/day/DayViewVerticalSlotsRow.js +0 -14
  12. package/dist/es/views/month/MonthViewBody.js +0 -14
  13. package/dist/es/views/time/TimelineViewBody.js +0 -14
  14. package/dist/esm/components/BaseView.js +2 -1
  15. package/dist/esm/package-metadata.js +1 -1
  16. package/dist/esm/slots/SchedulerEditSlot.js +1 -0
  17. package/dist/esm/slots/SchedulerSlot.js +15 -1
  18. package/dist/esm/slots/SchedulerViewSlot.js +1 -0
  19. package/dist/esm/views/agenda/AgendaViewBody.js +0 -14
  20. package/dist/esm/views/day/DayViewAllDaySlots.js +0 -14
  21. package/dist/esm/views/day/DayViewMiddleRow.js +0 -14
  22. package/dist/esm/views/day/DayViewVerticalRow.js +0 -14
  23. package/dist/esm/views/day/DayViewVerticalSlotsRow.js +0 -14
  24. package/dist/esm/views/month/MonthViewBody.js +0 -14
  25. package/dist/esm/views/time/TimelineViewBody.js +0 -14
  26. package/dist/npm/components/BaseView.js +2 -1
  27. package/dist/npm/package-metadata.js +1 -1
  28. package/dist/npm/slots/SchedulerEditSlot.js +1 -0
  29. package/dist/npm/slots/SchedulerSlot.js +15 -1
  30. package/dist/npm/slots/SchedulerViewSlot.js +1 -0
  31. package/dist/npm/views/agenda/AgendaViewBody.js +3 -17
  32. package/dist/npm/views/day/DayViewAllDaySlots.js +0 -14
  33. package/dist/npm/views/day/DayViewMiddleRow.js +3 -17
  34. package/dist/npm/views/day/DayViewVerticalRow.js +0 -14
  35. package/dist/npm/views/day/DayViewVerticalSlotsRow.js +4 -18
  36. package/dist/npm/views/month/MonthViewBody.js +0 -14
  37. package/dist/npm/views/time/TimelineViewBody.js +4 -18
  38. package/package.json +12 -12
@@ -127,7 +127,8 @@ var BaseViewVue2 = {
127
127
  this.bv.slots.push(action.item);
128
128
  break;
129
129
  case COLLECTION_ACTION.remove:
130
- this.bv.slots = [];
130
+ var index = this.bv.slots.indexOf(action.item);
131
+ this.bv.slots.splice(index, 1);
131
132
  break;
132
133
  default:
133
134
  break;
@@ -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: 1680002145,
8
+ publishDate: 1680685135,
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
  };
@@ -213,6 +213,7 @@ var SchedulerEditSlotVue2 = {
213
213
  template: this.$props.viewSlot,
214
214
  defaultRendering: editSlotRenderDefaultRendering,
215
215
  defaultSlots: defaultSlot,
216
+ additionalProps: this.cSlot,
216
217
  additionalListeners: {
217
218
  focus: this.handleFocus,
218
219
  doubleclick: this.handleDoubleClick,
@@ -77,7 +77,8 @@ var SchedulerSlotVue2 = {
77
77
  },
78
78
  computed: {
79
79
  cSlot: function cSlot() {
80
- return this.ksSlots.cSlots ? this.ksSlots.cSlots[this.index] : {};
80
+ var slots = this.ksSlots.cSlots;
81
+ return slots ? slots[this.index] ? slots[this.index] : slots.length ? slots[0] : {} : {};
81
82
  },
82
83
  currentTabIndex: function currentTabIndex() {
83
84
  return this.$props.tabIndex !== undefined ? this.$props.tabIndex === null ? undefined : this.$props.tabIndex : this.$props.selected ? 0 : -1;
@@ -131,6 +132,19 @@ var SchedulerSlotVue2 = {
131
132
  item: this
132
133
  });
133
134
  },
135
+ destroyed: !!isV3 ? undefined : function () {
136
+ this.setSlots({
137
+ type: COLLECTION_ACTION.remove,
138
+ item: this
139
+ });
140
+ },
141
+ // @ts-ignore
142
+ unmounted: function unmounted() {
143
+ this.setSlots({
144
+ type: COLLECTION_ACTION.remove,
145
+ item: this
146
+ });
147
+ },
134
148
  // @ts-ignore
135
149
  setup: !isV3 ? undefined : function () {
136
150
  var v3 = !!isV3;
@@ -188,6 +188,7 @@ var SchedulerViewSlotVue2 = {
188
188
  template: this.$props.slotRender,
189
189
  defaultRendering: slotRenderDefaultRendering,
190
190
  defaultSlots: defaultSlot,
191
+ additionalProps: this.cSlot,
191
192
  additionalListeners: {
192
193
  showmoreitems: this.handleShowMoreItemsClick
193
194
  }
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main';
7
6
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
8
7
  import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
9
8
  import { SchedulerEditTask } from '../../tasks/SchedulerEditTask';
@@ -69,19 +68,6 @@ var AgendaViewBodyVue2 = {
69
68
  });
70
69
  }
71
70
  },
72
- destroyed: !!isV3 ? undefined : function () {
73
- this.setSlots({
74
- type: COLLECTION_ACTION.remove,
75
- item: this
76
- });
77
- },
78
- // @ts-ignore
79
- unmounted: function unmounted() {
80
- this.setSlots({
81
- type: COLLECTION_ACTION.remove,
82
- item: this
83
- });
84
- },
85
71
  mounted: function mounted() {
86
72
  this.hasMounted = true;
87
73
  },
@@ -4,7 +4,6 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  var inject = allVue.inject;
7
- import { COLLECTION_ACTION } from '../../utils/main';
8
7
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
9
8
  /** @hidden */
10
9
  var DayViewAllDaySlotsVue2 = {
@@ -59,19 +58,6 @@ var DayViewAllDaySlotsVue2 = {
59
58
  return this.calculateRanges(daySlots, groupIndex, this.dayRanges);
60
59
  }
61
60
  },
62
- destroyed: !!isV3 ? undefined : function () {
63
- this.setSlots({
64
- type: COLLECTION_ACTION.remove,
65
- item: this
66
- });
67
- },
68
- // @ts-ignore
69
- unmounted: function unmounted() {
70
- this.setSlots({
71
- type: COLLECTION_ACTION.remove,
72
- item: this
73
- });
74
- },
75
61
  // @ts-ignore
76
62
  setup: !isV3 ? undefined : function () {
77
63
  var v3 = !!isV3;
@@ -4,7 +4,6 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  var inject = allVue.inject;
7
- import { COLLECTION_ACTION } from '../../utils/main';
8
7
  import { classNames } from '@progress/kendo-vue-common';
9
8
  import { GRID_OFFSET } from './MultiDayView';
10
9
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
@@ -68,19 +67,6 @@ var DayViewMiddleRowVue2 = {
68
67
  return this.calculateRanges(timeSlots, groupIndex, this.timeRanges, root);
69
68
  }
70
69
  },
71
- destroyed: !!isV3 ? undefined : function () {
72
- this.setSlots({
73
- type: COLLECTION_ACTION.remove,
74
- item: this
75
- });
76
- },
77
- // @ts-ignore
78
- unmounted: function unmounted() {
79
- this.setSlots({
80
- type: COLLECTION_ACTION.remove,
81
- item: this
82
- });
83
- },
84
70
  // @ts-ignore
85
71
  setup: !isV3 ? undefined : function () {
86
72
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main';
7
6
  import { GRID_OFFSET } from './MultiDayView';
8
7
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
9
8
  import { DayViewAllDayRowContent } from './DayViewAllDayRowContent';
@@ -51,19 +50,6 @@ var DayViewVerticalRowVue2 = {
51
50
  return this.calculateRanges(daySlots, groupIndex, this.dayRanges);
52
51
  }
53
52
  },
54
- destroyed: !!isV3 ? undefined : function () {
55
- this.setSlots({
56
- type: COLLECTION_ACTION.remove,
57
- item: this
58
- });
59
- },
60
- // @ts-ignore
61
- unmounted: function unmounted() {
62
- this.setSlots({
63
- type: COLLECTION_ACTION.remove,
64
- item: this
65
- });
66
- },
67
53
  // @ts-ignore
68
54
  setup: !isV3 ? undefined : function () {
69
55
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main';
7
6
  import { GRID_OFFSET } from './MultiDayView';
8
7
  import { isInTimeRange, intersects, first, last } from '../../utils/main';
9
8
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
@@ -74,19 +73,6 @@ var DayViewVerticalSlotsRowVue2 = {
74
73
  return this.calculateRanges(timeSlots, groupIndex, this.timeRanges, root);
75
74
  }
76
75
  },
77
- destroyed: !!isV3 ? undefined : function () {
78
- this.setSlots({
79
- type: COLLECTION_ACTION.remove,
80
- item: this
81
- });
82
- },
83
- // @ts-ignore
84
- unmounted: function unmounted() {
85
- this.setSlots({
86
- type: COLLECTION_ACTION.remove,
87
- item: this
88
- });
89
- },
90
76
  // @ts-ignore
91
77
  setup: !isV3 ? undefined : function () {
92
78
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main';
7
6
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
8
7
  import { provideIntlService } from '@progress/kendo-vue-intl';
9
8
  /** @hidden */
@@ -69,19 +68,6 @@ var MonthViewBodyVue2 = {
69
68
  });
70
69
  }
71
70
  },
72
- destroyed: !!isV3 ? undefined : function () {
73
- this.setSlots({
74
- type: COLLECTION_ACTION.remove,
75
- item: this
76
- });
77
- },
78
- // @ts-ignore
79
- unmounted: function unmounted() {
80
- this.setSlots({
81
- type: COLLECTION_ACTION.remove,
82
- item: this
83
- });
84
- },
85
71
  // @ts-ignore
86
72
  setup: !isV3 ? undefined : function () {
87
73
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main';
7
6
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
8
7
  import { isInTimeRange, intersects, first, last } from '../../utils/main';
9
8
  import { CurrentTimeMarker } from '../../components/CurrentTimeMarker';
@@ -61,19 +60,6 @@ var TimelineViewBodyVue2 = {
61
60
  return this.calculateRanges(timelineSlots, groupIndex, this.ranges);
62
61
  }
63
62
  },
64
- destroyed: !!isV3 ? undefined : function () {
65
- this.setSlots({
66
- type: COLLECTION_ACTION.remove,
67
- item: this
68
- });
69
- },
70
- // @ts-ignore
71
- unmounted: function unmounted() {
72
- this.setSlots({
73
- type: COLLECTION_ACTION.remove,
74
- item: this
75
- });
76
- },
77
63
  // @ts-ignore
78
64
  setup: !isV3 ? undefined : function () {
79
65
  var v3 = !!isV3;
@@ -127,7 +127,8 @@ var BaseViewVue2 = {
127
127
  this.bv.slots.push(action.item);
128
128
  break;
129
129
  case COLLECTION_ACTION.remove:
130
- this.bv.slots = [];
130
+ var index = this.bv.slots.indexOf(action.item);
131
+ this.bv.slots.splice(index, 1);
131
132
  break;
132
133
  default:
133
134
  break;
@@ -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: 1680002145,
8
+ publishDate: 1680685135,
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
  };
@@ -213,6 +213,7 @@ var SchedulerEditSlotVue2 = {
213
213
  template: this.$props.viewSlot,
214
214
  defaultRendering: editSlotRenderDefaultRendering,
215
215
  defaultSlots: defaultSlot,
216
+ additionalProps: this.cSlot,
216
217
  additionalListeners: {
217
218
  focus: this.handleFocus,
218
219
  doubleclick: this.handleDoubleClick,
@@ -77,7 +77,8 @@ var SchedulerSlotVue2 = {
77
77
  },
78
78
  computed: {
79
79
  cSlot: function cSlot() {
80
- return this.ksSlots.cSlots ? this.ksSlots.cSlots[this.index] : {};
80
+ var slots = this.ksSlots.cSlots;
81
+ return slots ? slots[this.index] ? slots[this.index] : slots.length ? slots[0] : {} : {};
81
82
  },
82
83
  currentTabIndex: function currentTabIndex() {
83
84
  return this.$props.tabIndex !== undefined ? this.$props.tabIndex === null ? undefined : this.$props.tabIndex : this.$props.selected ? 0 : -1;
@@ -131,6 +132,19 @@ var SchedulerSlotVue2 = {
131
132
  item: this
132
133
  });
133
134
  },
135
+ destroyed: !!isV3 ? undefined : function () {
136
+ this.setSlots({
137
+ type: COLLECTION_ACTION.remove,
138
+ item: this
139
+ });
140
+ },
141
+ // @ts-ignore
142
+ unmounted: function unmounted() {
143
+ this.setSlots({
144
+ type: COLLECTION_ACTION.remove,
145
+ item: this
146
+ });
147
+ },
134
148
  // @ts-ignore
135
149
  setup: !isV3 ? undefined : function () {
136
150
  var v3 = !!isV3;
@@ -188,6 +188,7 @@ var SchedulerViewSlotVue2 = {
188
188
  template: this.$props.slotRender,
189
189
  defaultRendering: slotRenderDefaultRendering,
190
190
  defaultSlots: defaultSlot,
191
+ additionalProps: this.cSlot,
191
192
  additionalListeners: {
192
193
  showmoreitems: this.handleShowMoreItemsClick
193
194
  }
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main.js';
7
6
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
8
7
  import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
9
8
  import { SchedulerEditTask } from '../../tasks/SchedulerEditTask.js';
@@ -69,19 +68,6 @@ var AgendaViewBodyVue2 = {
69
68
  });
70
69
  }
71
70
  },
72
- destroyed: !!isV3 ? undefined : function () {
73
- this.setSlots({
74
- type: COLLECTION_ACTION.remove,
75
- item: this
76
- });
77
- },
78
- // @ts-ignore
79
- unmounted: function unmounted() {
80
- this.setSlots({
81
- type: COLLECTION_ACTION.remove,
82
- item: this
83
- });
84
- },
85
71
  mounted: function mounted() {
86
72
  this.hasMounted = true;
87
73
  },
@@ -4,7 +4,6 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  var inject = allVue.inject;
7
- import { COLLECTION_ACTION } from '../../utils/main.js';
8
7
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
9
8
  /** @hidden */
10
9
  var DayViewAllDaySlotsVue2 = {
@@ -59,19 +58,6 @@ var DayViewAllDaySlotsVue2 = {
59
58
  return this.calculateRanges(daySlots, groupIndex, this.dayRanges);
60
59
  }
61
60
  },
62
- destroyed: !!isV3 ? undefined : function () {
63
- this.setSlots({
64
- type: COLLECTION_ACTION.remove,
65
- item: this
66
- });
67
- },
68
- // @ts-ignore
69
- unmounted: function unmounted() {
70
- this.setSlots({
71
- type: COLLECTION_ACTION.remove,
72
- item: this
73
- });
74
- },
75
61
  // @ts-ignore
76
62
  setup: !isV3 ? undefined : function () {
77
63
  var v3 = !!isV3;
@@ -4,7 +4,6 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  var inject = allVue.inject;
7
- import { COLLECTION_ACTION } from '../../utils/main.js';
8
7
  import { classNames } from '@progress/kendo-vue-common';
9
8
  import { GRID_OFFSET } from './MultiDayView.js';
10
9
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
@@ -68,19 +67,6 @@ var DayViewMiddleRowVue2 = {
68
67
  return this.calculateRanges(timeSlots, groupIndex, this.timeRanges, root);
69
68
  }
70
69
  },
71
- destroyed: !!isV3 ? undefined : function () {
72
- this.setSlots({
73
- type: COLLECTION_ACTION.remove,
74
- item: this
75
- });
76
- },
77
- // @ts-ignore
78
- unmounted: function unmounted() {
79
- this.setSlots({
80
- type: COLLECTION_ACTION.remove,
81
- item: this
82
- });
83
- },
84
70
  // @ts-ignore
85
71
  setup: !isV3 ? undefined : function () {
86
72
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main.js';
7
6
  import { GRID_OFFSET } from './MultiDayView.js';
8
7
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
9
8
  import { DayViewAllDayRowContent } from './DayViewAllDayRowContent.js';
@@ -51,19 +50,6 @@ var DayViewVerticalRowVue2 = {
51
50
  return this.calculateRanges(daySlots, groupIndex, this.dayRanges);
52
51
  }
53
52
  },
54
- destroyed: !!isV3 ? undefined : function () {
55
- this.setSlots({
56
- type: COLLECTION_ACTION.remove,
57
- item: this
58
- });
59
- },
60
- // @ts-ignore
61
- unmounted: function unmounted() {
62
- this.setSlots({
63
- type: COLLECTION_ACTION.remove,
64
- item: this
65
- });
66
- },
67
53
  // @ts-ignore
68
54
  setup: !isV3 ? undefined : function () {
69
55
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main.js';
7
6
  import { GRID_OFFSET } from './MultiDayView.js';
8
7
  import { isInTimeRange, intersects, first, last } from '../../utils/main.js';
9
8
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
@@ -74,19 +73,6 @@ var DayViewVerticalSlotsRowVue2 = {
74
73
  return this.calculateRanges(timeSlots, groupIndex, this.timeRanges, root);
75
74
  }
76
75
  },
77
- destroyed: !!isV3 ? undefined : function () {
78
- this.setSlots({
79
- type: COLLECTION_ACTION.remove,
80
- item: this
81
- });
82
- },
83
- // @ts-ignore
84
- unmounted: function unmounted() {
85
- this.setSlots({
86
- type: COLLECTION_ACTION.remove,
87
- item: this
88
- });
89
- },
90
76
  // @ts-ignore
91
77
  setup: !isV3 ? undefined : function () {
92
78
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main.js';
7
6
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
8
7
  import { provideIntlService } from '@progress/kendo-vue-intl';
9
8
  /** @hidden */
@@ -69,19 +68,6 @@ var MonthViewBodyVue2 = {
69
68
  });
70
69
  }
71
70
  },
72
- destroyed: !!isV3 ? undefined : function () {
73
- this.setSlots({
74
- type: COLLECTION_ACTION.remove,
75
- item: this
76
- });
77
- },
78
- // @ts-ignore
79
- unmounted: function unmounted() {
80
- this.setSlots({
81
- type: COLLECTION_ACTION.remove,
82
- item: this
83
- });
84
- },
85
71
  // @ts-ignore
86
72
  setup: !isV3 ? undefined : function () {
87
73
  var v3 = !!isV3;
@@ -3,7 +3,6 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { COLLECTION_ACTION } from '../../utils/main.js';
7
6
  import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
8
7
  import { isInTimeRange, intersects, first, last } from '../../utils/main.js';
9
8
  import { CurrentTimeMarker } from '../../components/CurrentTimeMarker.js';
@@ -61,19 +60,6 @@ var TimelineViewBodyVue2 = {
61
60
  return this.calculateRanges(timelineSlots, groupIndex, this.ranges);
62
61
  }
63
62
  },
64
- destroyed: !!isV3 ? undefined : function () {
65
- this.setSlots({
66
- type: COLLECTION_ACTION.remove,
67
- item: this
68
- });
69
- },
70
- // @ts-ignore
71
- unmounted: function unmounted() {
72
- this.setSlots({
73
- type: COLLECTION_ACTION.remove,
74
- item: this
75
- });
76
- },
77
63
  // @ts-ignore
78
64
  setup: !isV3 ? undefined : function () {
79
65
  var v3 = !!isV3;
@@ -133,7 +133,8 @@ var BaseViewVue2 = {
133
133
  this.bv.slots.push(action.item);
134
134
  break;
135
135
  case main_2.COLLECTION_ACTION.remove:
136
- this.bv.slots = [];
136
+ var index = this.bv.slots.indexOf(action.item);
137
+ this.bv.slots.splice(index, 1);
137
138
  break;
138
139
  default:
139
140
  break;
@@ -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: 1680002145,
11
+ publishDate: 1680685135,
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
  };
@@ -219,6 +219,7 @@ var SchedulerEditSlotVue2 = {
219
219
  template: this.$props.viewSlot,
220
220
  defaultRendering: editSlotRenderDefaultRendering,
221
221
  defaultSlots: defaultSlot,
222
+ additionalProps: this.cSlot,
222
223
  additionalListeners: {
223
224
  focus: this.handleFocus,
224
225
  doubleclick: this.handleDoubleClick,
@@ -83,7 +83,8 @@ var SchedulerSlotVue2 = {
83
83
  },
84
84
  computed: {
85
85
  cSlot: function cSlot() {
86
- return this.ksSlots.cSlots ? this.ksSlots.cSlots[this.index] : {};
86
+ var slots = this.ksSlots.cSlots;
87
+ return slots ? slots[this.index] ? slots[this.index] : slots.length ? slots[0] : {} : {};
87
88
  },
88
89
  currentTabIndex: function currentTabIndex() {
89
90
  return this.$props.tabIndex !== undefined ? this.$props.tabIndex === null ? undefined : this.$props.tabIndex : this.$props.selected ? 0 : -1;
@@ -137,6 +138,19 @@ var SchedulerSlotVue2 = {
137
138
  item: this
138
139
  });
139
140
  },
141
+ destroyed: !!isV3 ? undefined : function () {
142
+ this.setSlots({
143
+ type: main_1.COLLECTION_ACTION.remove,
144
+ item: this
145
+ });
146
+ },
147
+ // @ts-ignore
148
+ unmounted: function unmounted() {
149
+ this.setSlots({
150
+ type: main_1.COLLECTION_ACTION.remove,
151
+ item: this
152
+ });
153
+ },
140
154
  // @ts-ignore
141
155
  setup: !isV3 ? undefined : function () {
142
156
  var v3 = !!isV3;
@@ -194,6 +194,7 @@ var SchedulerViewSlotVue2 = {
194
194
  template: this.$props.slotRender,
195
195
  defaultRendering: slotRenderDefaultRendering,
196
196
  defaultSlots: defaultSlot,
197
+ additionalProps: this.cSlot,
197
198
  additionalListeners: {
198
199
  showmoreitems: this.handleShowMoreItemsClick
199
200
  }
@@ -9,11 +9,10 @@ var Vue = require("vue");
9
9
  var allVue = Vue;
10
10
  var gh = allVue.h;
11
11
  var isV3 = allVue.version && allVue.version[0] === '3';
12
- var main_1 = require("../../utils/main");
13
12
  var SchedulerEditSlot_1 = require("../../slots/SchedulerEditSlot");
14
13
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
15
14
  var SchedulerEditTask_1 = require("../../tasks/SchedulerEditTask");
16
- var main_2 = require("../../messages/main");
15
+ var main_1 = require("../../messages/main");
17
16
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
18
17
  var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
19
18
  /**
@@ -75,19 +74,6 @@ var AgendaViewBodyVue2 = {
75
74
  });
76
75
  }
77
76
  },
78
- destroyed: !!isV3 ? undefined : function () {
79
- this.setSlots({
80
- type: main_1.COLLECTION_ACTION.remove,
81
- item: this
82
- });
83
- },
84
- // @ts-ignore
85
- unmounted: function unmounted() {
86
- this.setSlots({
87
- type: main_1.COLLECTION_ACTION.remove,
88
- item: this
89
- });
90
- },
91
77
  mounted: function mounted() {
92
78
  this.hasMounted = true;
93
79
  },
@@ -161,7 +147,7 @@ var AgendaViewBodyVue2 = {
161
147
  icon: kendo_svg_icons_1.caretAltLeftIcon
162
148
  },
163
149
  icon: kendo_svg_icons_1.caretAltLeftIcon
164
- }), item.isAllDay ? localization.toLanguageString(main_2.allDay, main_2.messages[main_2.allDay]) : getTimeFormat(this.intl, item), item.head && h(kendo_vue_common_1.Icon, {
150
+ }), item.isAllDay ? localization.toLanguageString(main_1.allDay, main_1.messages[main_1.allDay]) : getTimeFormat(this.intl, item), item.head && h(kendo_vue_common_1.Icon, {
165
151
  name: "caret-alt-right",
166
152
  attrs: this.v3 ? undefined : {
167
153
  name: "caret-alt-right",
@@ -237,7 +223,7 @@ var AgendaViewBodyVue2 = {
237
223
  })])]);
238
224
  }, this) : h("div", {
239
225
  "class": "k-scheduler-cell k-heading-cell k-group-cell"
240
- }, [localization.toLanguageString(main_2.noEvents, main_2.messages[main_2.noEvents])])])]);
226
+ }, [localization.toLanguageString(main_1.noEvents, main_1.messages[main_1.noEvents])])])]);
241
227
  }, this)]);
242
228
  },
243
229
  methods: {