@progress/kendo-vue-scheduler 3.1.4 → 3.2.0-dev.202204120815

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 (76) hide show
  1. package/dist/cdn/js/kendo-vue-scheduler.js +2 -2
  2. package/dist/es/components/SchedulerActionButtons.js +7 -1
  3. package/dist/es/components/SchedulerForm.js +68 -9
  4. package/dist/es/components/SchedulerOccurrenceDialog.js +52 -7
  5. package/dist/es/components/SchedulerRemoveDialog.js +52 -7
  6. package/dist/es/editors/ResourceEditor.js +13 -11
  7. package/dist/es/editors/SchedulerFormEditor.js +689 -334
  8. package/dist/es/editors/ZonedDateTime.d.ts +1 -0
  9. package/dist/es/editors/ZonedDateTime.js +5 -2
  10. package/dist/es/items/SchedulerEditItem.js +401 -211
  11. package/dist/es/items/SchedulerItem.js +104 -95
  12. package/dist/es/items/SchedulerViewItem.js +8 -2
  13. package/dist/es/items/hooks/use-drag-item.d.ts +2 -6
  14. package/dist/es/items/hooks/use-drag-item.js +228 -153
  15. package/dist/es/items/hooks/use-show-occurrence-dialog.d.ts +1 -0
  16. package/dist/es/items/hooks/use-show-occurrence-dialog.js +1 -2
  17. package/dist/es/items/hooks/use-show-remove-item-dialog.d.ts +1 -0
  18. package/dist/es/items/hooks/use-show-remove-item-dialog.js +1 -2
  19. package/dist/es/messages/index.js +1 -1
  20. package/dist/es/package-metadata.js +1 -1
  21. package/dist/es/recurrence/RecurrenceEditor.d.ts +1 -0
  22. package/dist/es/recurrence/RecurrenceEditor.js +5 -0
  23. package/dist/es/recurrence/RecurrenceFrequencyEditor.js +4 -0
  24. package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.js +4 -0
  25. package/dist/es/tasks/SchedulerEditTask.d.ts +9 -0
  26. package/dist/es/tasks/SchedulerEditTask.js +118 -35
  27. package/dist/es/tasks/SchedulerTask.js +3 -2
  28. package/dist/es/tasks/SchedulerViewTask.js +15 -3
  29. package/dist/es/views/agenda/AgendaView.js +21 -9
  30. package/dist/es/views/agenda/AgendaViewBody.d.ts +1 -0
  31. package/dist/es/views/agenda/AgendaViewBody.js +6 -1
  32. package/dist/es/views/common/SchedulerDrag.js +62 -11
  33. package/dist/es/views/day/DayView.js +4 -0
  34. package/dist/es/views/month/MonthView.js +9 -13
  35. package/dist/es/views/time/MultiDayTimelineView.js +28 -9
  36. package/dist/es/views/time/TimelineView.js +4 -0
  37. package/dist/es/views/week/WeekView.js +12 -2
  38. package/dist/es/views/week/WorkWeekView.js +12 -2
  39. package/dist/npm/components/SchedulerActionButtons.js +7 -1
  40. package/dist/npm/components/SchedulerForm.js +68 -9
  41. package/dist/npm/components/SchedulerOccurrenceDialog.js +52 -7
  42. package/dist/npm/components/SchedulerRemoveDialog.js +52 -7
  43. package/dist/npm/editors/ResourceEditor.js +12 -10
  44. package/dist/npm/editors/SchedulerFormEditor.js +674 -319
  45. package/dist/npm/editors/ZonedDateTime.d.ts +1 -0
  46. package/dist/npm/editors/ZonedDateTime.js +4 -1
  47. package/dist/npm/items/SchedulerEditItem.js +400 -207
  48. package/dist/npm/items/SchedulerItem.js +104 -95
  49. package/dist/npm/items/SchedulerViewItem.js +8 -2
  50. package/dist/npm/items/hooks/use-drag-item.d.ts +2 -6
  51. package/dist/npm/items/hooks/use-drag-item.js +231 -153
  52. package/dist/npm/items/hooks/use-show-occurrence-dialog.d.ts +1 -0
  53. package/dist/npm/items/hooks/use-show-occurrence-dialog.js +2 -2
  54. package/dist/npm/items/hooks/use-show-remove-item-dialog.d.ts +1 -0
  55. package/dist/npm/items/hooks/use-show-remove-item-dialog.js +2 -2
  56. package/dist/npm/messages/index.js +1 -1
  57. package/dist/npm/package-metadata.js +1 -1
  58. package/dist/npm/recurrence/RecurrenceEditor.d.ts +1 -0
  59. package/dist/npm/recurrence/RecurrenceEditor.js +5 -0
  60. package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +4 -0
  61. package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.js +4 -0
  62. package/dist/npm/tasks/SchedulerEditTask.d.ts +9 -0
  63. package/dist/npm/tasks/SchedulerEditTask.js +120 -35
  64. package/dist/npm/tasks/SchedulerTask.js +3 -2
  65. package/dist/npm/tasks/SchedulerViewTask.js +15 -3
  66. package/dist/npm/views/agenda/AgendaView.js +21 -9
  67. package/dist/npm/views/agenda/AgendaViewBody.d.ts +1 -0
  68. package/dist/npm/views/agenda/AgendaViewBody.js +6 -1
  69. package/dist/npm/views/common/SchedulerDrag.js +62 -11
  70. package/dist/npm/views/day/DayView.js +4 -0
  71. package/dist/npm/views/month/MonthView.js +9 -13
  72. package/dist/npm/views/time/MultiDayTimelineView.js +27 -8
  73. package/dist/npm/views/time/TimelineView.js +4 -0
  74. package/dist/npm/views/week/WeekView.js +12 -2
  75. package/dist/npm/views/week/WorkWeekView.js +12 -2
  76. package/package.json +12 -12
@@ -32,13 +32,16 @@ var SchedulerDragVue2 = {
32
32
  inject: {
33
33
  ks: {
34
34
  default: null
35
+ },
36
+ bv: {
37
+ default: null
35
38
  }
36
39
  },
37
40
  computed: {
38
41
  occurrences: function occurrences() {
39
42
  return toOccurrences([this.$props.dataItem], {
40
- dateRange: this.dateRange,
41
- fields: this.fields,
43
+ dateRange: this.ks.dateRange,
44
+ fields: this.ks.fields,
42
45
  timezone: this.ks.timezone
43
46
  });
44
47
  },
@@ -46,8 +49,8 @@ var SchedulerDragVue2 = {
46
49
  return toItems(this.occurrences, {
47
50
  timezone: this.ks.timezone
48
51
  }, {
49
- groups: this.groups,
50
- ranges: this.ranges
52
+ groups: this.ks.groups,
53
+ ranges: this.bv.ranges
51
54
  });
52
55
  }
53
56
  },
@@ -67,22 +70,70 @@ var SchedulerDragVue2 = {
67
70
  // const dateRange = useSchedulerDateRangeContext();
68
71
  // const [viewSlots] = useSchedulerViewSlotsContext();
69
72
 
70
- var slots = (this.viewSlots || []).map(function (s) {
71
- return s.current.props;
73
+ var slots = (this.bv.slots || []).map(function (s) {
74
+ return s;
72
75
  });
73
76
  mapItemsToSlots(this.items, slots);
74
77
  return (// fragment
75
- h("div", [this.items.map(function (_item, idx) {
78
+ h("div", [this.items.map(function (item, idx) {
76
79
  return h(SchedulerViewItem, {
77
- key: idx // {...item}
78
- ,
79
- item: this.$props.item,
80
+ key: idx,
81
+ uid: item.uid,
80
82
  attrs: this.v3 ? undefined : {
81
- item: this.$props.item,
83
+ uid: item.uid,
84
+ start: item.start,
85
+ end: item.end,
86
+ originalStart: item.originalStart,
87
+ startTimezone: item.startTimezone,
88
+ endTimezone: item.endTimezone,
89
+ isAllDay: item.isAllDay,
90
+ title: item.title,
91
+ description: item.description,
92
+ occurrenceId: item.occurrenceId,
93
+ recurrenceExceptions: item.recurrenceExceptions,
94
+ recurrenceRule: item.recurrenceRule,
95
+ recurrenceId: item.recurrenceId,
96
+ dataItem: item.dataItem,
97
+ itemRef: item.itemRef,
98
+ head: item.head,
99
+ tail: item.tail,
100
+ order: item.order,
101
+ zonedStart: item.zonedStart,
102
+ zonedEnd: item.zonedEnd,
103
+ slots: item.slots,
104
+ group: item.group,
105
+ range: item.range,
106
+ isException: item.isException,
107
+ isRecurring: item.isRecurring // item={this.$props.item}
108
+ ,
82
109
  dragHint: true,
83
110
  vertical: this.$props.vertical,
84
111
  ignoreIsAllDay: this.$props.ignoreIsAllDay
85
112
  },
113
+ start: item.start,
114
+ end: item.end,
115
+ originalStart: item.originalStart,
116
+ startTimezone: item.startTimezone,
117
+ endTimezone: item.endTimezone,
118
+ isAllDay: item.isAllDay,
119
+ title: item.title,
120
+ description: item.description,
121
+ occurrenceId: item.occurrenceId,
122
+ recurrenceExceptions: item.recurrenceExceptions,
123
+ recurrenceRule: item.recurrenceRule,
124
+ recurrenceId: item.recurrenceId,
125
+ dataItem: item.dataItem,
126
+ itemRef: item.itemRef,
127
+ head: item.head,
128
+ tail: item.tail,
129
+ order: item.order,
130
+ zonedStart: item.zonedStart,
131
+ zonedEnd: item.zonedEnd,
132
+ slots: item.slots,
133
+ group: item.group,
134
+ range: item.range,
135
+ isException: item.isException,
136
+ isRecurring: item.isRecurring,
86
137
  dragHint: true,
87
138
  vertical: this.$props.vertical,
88
139
  ignoreIsAllDay: this.$props.ignoreIsAllDay
@@ -10,6 +10,10 @@ import { Day } from '@progress/kendo-date-math'; // tslint:enable:max-line-lengt
10
10
 
11
11
  var DayViewVue2 = {
12
12
  name: 'KendoDayView',
13
+ // @ts-ignore
14
+ emits: {
15
+ dataaction: null
16
+ },
13
17
  props: {
14
18
  name: {
15
19
  type: String,
@@ -62,7 +62,11 @@ var MonthViewVue2 = {
62
62
  default: '{0:Y}'
63
63
  },
64
64
  slotRender: [String, Function, Object],
65
- item: [String, Function, Object]
65
+ item: [String, Function, Object],
66
+ editable: {
67
+ type: [Boolean, Object],
68
+ default: false
69
+ }
66
70
  },
67
71
  inject: {
68
72
  ks: {
@@ -107,8 +111,8 @@ var MonthViewVue2 = {
107
111
  groups: this.ks.groups,
108
112
  ranges: this.ranges
109
113
  });
110
- mapItemsToSlots(items, this.monthSlots, false);
111
- mapSlotsToItems(items, this.monthSlots, false);
114
+ mapItemsToSlots(items, this.monthSlots, true);
115
+ mapSlotsToItems(items, this.monthSlots, true);
112
116
  return items;
113
117
  }
114
118
  },
@@ -134,16 +138,8 @@ var MonthViewVue2 = {
134
138
  var EditItem = this.$props.editItem || SchedulerEditItem;
135
139
  var EditSlot = this.$props.editSlot || SchedulerEditSlot;
136
140
  var items = this.items;
137
- var monthSlots = this.monthSlots; // const [dataItems] = useSchedulerDataContext();
138
- // const [, setDate] = useSchedulerDateContext();
139
- // const [, setView] = useSchedulerActiveViewContext();
140
- // const views = useSchedulerViewsContext();
141
- // const groups = useSchedulerGroupsContext();
142
- // const orientation = useSchedulerOrientationContext();
143
- // const dateRange = useSchedulerDateRangeContext();
144
-
145
- this.intl = provideIntlService(this); // const fields = useSchedulerFieldsContext();
146
-
141
+ var monthSlots = this.monthSlots;
142
+ this.intl = provideIntlService(this);
147
143
  var itemsPerSlot = this.$props.itemsPerSlot;
148
144
  var body = this.ks.orientation === 'horizontal' ? this.ranges.map(function (_, rangeIndex) {
149
145
  var _this = this;
@@ -1,4 +1,18 @@
1
- // @ts-ignore
1
+ var __spreadArrays = this && this.__spreadArrays || function () {
2
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
3
+ s += arguments[i].length;
4
+ }
5
+
6
+ for (var r = Array(s), k = 0, i = 0; i < il; i++) {
7
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
8
+ r[k] = a[j];
9
+ }
10
+ }
11
+
12
+ return r;
13
+ }; // @ts-ignore
14
+
15
+
2
16
  import * as Vue from 'vue';
3
17
  var allVue = Vue;
4
18
  var gh = allVue.h;
@@ -107,7 +121,11 @@ var MultiDayTimelineViewVue2 = {
107
121
  default: 100
108
122
  },
109
123
  slotRender: [String, Function, Object],
110
- item: [String, Function, Object]
124
+ item: [String, Function, Object],
125
+ editable: {
126
+ type: [Boolean, Object],
127
+ default: false
128
+ }
111
129
  },
112
130
  inject: {
113
131
  ks: {
@@ -166,9 +184,9 @@ var MultiDayTimelineViewVue2 = {
166
184
  ranges: this.ranges
167
185
  }).filter(function (item) {
168
186
  return _this.viewStart.getTime() === _this.viewEnd.getTime() || isInTimeRange(item.zonedStart, _this.viewStart, _this.viewEnd) || isInTimeRange(item.zonedEnd, _this.viewStart, _this.viewEnd) || isInTimeRange(new Date(item.zonedEnd.getTime() - (item.zonedEnd.getTime() - item.zonedStart.getTime()) / 2), _this.viewStart, _this.viewEnd);
169
- }); // mapItemsToSlots(items, this.timelineSlots, false);
170
- // mapSlotsToItems(items, this.timelineSlots, false);
171
-
187
+ });
188
+ mapItemsToSlots(items, this.timelineSlots, true);
189
+ mapSlotsToItems(items, this.timelineSlots, true);
172
190
  return items;
173
191
  }
174
192
  },
@@ -222,10 +240,11 @@ var MultiDayTimelineViewVue2 = {
222
240
  var slotDuration = this.$props.slotDuration;
223
241
  var workDayStart = intl.parseDate(this.$props.workDayStart);
224
242
  var workDayEnd = intl.parseDate(this.$props.workDayEnd);
225
- var items = this.items;
226
- var timelineSlots = this.timelineSlots;
227
- mapItemsToSlots(items, timelineSlots, true);
228
- mapSlotsToItems(items, timelineSlots, true);
243
+
244
+ var items = __spreadArrays(this.items);
245
+
246
+ var timelineSlots = __spreadArrays(this.timelineSlots);
247
+
229
248
  var width = (this.ks.orientation === 'horizontal' ? timelineSlots.length : timelineSlots.length / this.ks.groups.length) * (this.$props.columnWidth + BORDER_WIDTH);
230
249
  var head = [h("div", {
231
250
  "class": "k-scheduler-row"
@@ -8,6 +8,10 @@ import { Day } from '@progress/kendo-date-math'; // tslint:enable:max-line-lengt
8
8
 
9
9
  var TimelineViewVue2 = {
10
10
  name: 'KendoTimelineView',
11
+ // @ts-ignore
12
+ emits: {
13
+ dataaction: null
14
+ },
11
15
  props: {
12
16
  name: {
13
17
  type: String,
@@ -12,6 +12,10 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl'; // tslint
12
12
 
13
13
  var WeekViewVue2 = {
14
14
  name: 'KendoWeekView',
15
+ // @ts-ignore
16
+ emits: {
17
+ dataaction: null
18
+ },
15
19
  props: {
16
20
  name: {
17
21
  type: String,
@@ -82,7 +86,11 @@ var WeekViewVue2 = {
82
86
  },
83
87
  timeHeaderCell: String,
84
88
  slotRender: [String, Function, Object],
85
- item: [String, Function, Object]
89
+ item: [String, Function, Object],
90
+ editable: {
91
+ type: [Boolean, Object],
92
+ default: false
93
+ }
86
94
  },
87
95
  inject: {
88
96
  kendoLocalizationService: {
@@ -124,7 +132,8 @@ var WeekViewVue2 = {
124
132
  defaultShowWorkHours: this.$props.defaultShowWorkHours,
125
133
  timeHeaderCell: this.$props.timeHeaderCell,
126
134
  slotRender: this.$props.slotRender,
127
- item: this.$props.item
135
+ item: this.$props.item,
136
+ editable: this.$props.editable
128
137
  },
129
138
  dateRange: this.$props.dateRange,
130
139
  numberOfDays: this.$props.numberOfDays,
@@ -146,6 +155,7 @@ var WeekViewVue2 = {
146
155
  timeHeaderCell: this.$props.timeHeaderCell,
147
156
  slotRender: this.$props.slotRender,
148
157
  item: this.$props.item,
158
+ editable: this.$props.editable,
149
159
  onDataaction: this.handleDataAction,
150
160
  on: this.v3 ? undefined : {
151
161
  "dataaction": this.handleDataAction
@@ -26,6 +26,10 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl'; // tslint
26
26
 
27
27
  var WorkWeekViewVue2 = {
28
28
  name: 'KendoWorkWeekView',
29
+ // @ts-ignore
30
+ emits: {
31
+ dataaction: null
32
+ },
29
33
  props: {
30
34
  name: {
31
35
  type: String,
@@ -71,7 +75,11 @@ var WorkWeekViewVue2 = {
71
75
  default: true
72
76
  },
73
77
  slotRender: [String, Function, Object],
74
- item: [String, Function, Object]
78
+ item: [String, Function, Object],
79
+ editable: {
80
+ type: [Boolean, Object],
81
+ default: false
82
+ }
75
83
  },
76
84
  inject: {
77
85
  kendoLocalizationService: {
@@ -109,7 +117,8 @@ var WorkWeekViewVue2 = {
109
117
  title: title,
110
118
  step: DAYS_IN_WEEK_COUNT,
111
119
  slotRender: this.$props.slotRender,
112
- item: this.$props.item
120
+ item: this.$props.item,
121
+ editable: this.$props.editable
113
122
  },
114
123
  dateRange: this.$props.dateRange,
115
124
  numberOfDays: numberOfDays,
@@ -122,6 +131,7 @@ var WorkWeekViewVue2 = {
122
131
  step: DAYS_IN_WEEK_COUNT,
123
132
  slotRender: this.$props.slotRender,
124
133
  item: this.$props.item,
134
+ editable: this.$props.editable,
125
135
  onDataaction: this.handleDataAction,
126
136
  on: this.v3 ? undefined : {
127
137
  "dataaction": this.handleDataAction
@@ -39,7 +39,13 @@ var SchedulerActionButtonsVue2 = {
39
39
 
40
40
  var h = gh || createElement;
41
41
  return (// @ts-ignore function children
42
- h(kendo_vue_dialogs_1.DialogActionsBar, this.v3 ? function () {
42
+ h(kendo_vue_dialogs_1.DialogActionsBar, {
43
+ buttonGroupClass: false,
44
+ attrs: this.v3 ? undefined : {
45
+ buttonGroupClass: false
46
+ },
47
+ "class": 'k-form-buttons'
48
+ }, this.v3 ? function () {
43
49
  return [// @ts-ignore function children
44
50
  h(kendo_vue_buttons_1.Button, {
45
51
  type: "submit",
@@ -43,6 +43,12 @@ var messages_1 = require("../messages"); // tslint:enable:max-line-length
43
43
 
44
44
  var SchedulerFormVue2 = {
45
45
  name: 'KendoSchedulerForm',
46
+ // @ts-ignore
47
+ emits: {
48
+ cancel: null,
49
+ close: null,
50
+ submit: null
51
+ },
46
52
  props: {
47
53
  dataItem: Object,
48
54
  renderForm: Object,
@@ -119,13 +125,27 @@ var SchedulerFormVue2 = {
119
125
  },
120
126
  validator: _this.formValidator
121
127
  }, _this.v3 ? function () {
122
- return [h(SchedulerFormEditor_1.SchedulerFormEditor, {
128
+ return [// @ts-ignore function children
129
+ h(SchedulerFormEditor_1.SchedulerFormEditor, {
123
130
  // {...this.renderProps}
124
131
  as: Editor,
125
132
  attrs: _this.v3 ? undefined : {
126
133
  as: Editor
127
134
  }
128
- }), h(SchedulerActionButtons_1.SchedulerActionButtons, {
135
+ }, _this.v3 ? function () {
136
+ return [h(SchedulerActionButtons_1.SchedulerActionButtons, {
137
+ editSaveMessage: editSaveMessage,
138
+ attrs: _this.v3 ? undefined : {
139
+ editSaveMessage: editSaveMessage,
140
+ editCancelMessage: editCancelMessage
141
+ },
142
+ editCancelMessage: editCancelMessage,
143
+ onCancel: _this.handleCancel,
144
+ on: _this.v3 ? undefined : {
145
+ "cancel": _this.handleCancel
146
+ }
147
+ })];
148
+ } : [h(SchedulerActionButtons_1.SchedulerActionButtons, {
129
149
  editSaveMessage: editSaveMessage,
130
150
  attrs: _this.v3 ? undefined : {
131
151
  editSaveMessage: editSaveMessage,
@@ -136,13 +156,26 @@ var SchedulerFormVue2 = {
136
156
  on: _this.v3 ? undefined : {
137
157
  "cancel": _this.handleCancel
138
158
  }
139
- })];
159
+ })])];
140
160
  } : [h(SchedulerFormEditor_1.SchedulerFormEditor, {
141
161
  as: Editor,
142
162
  attrs: _this.v3 ? undefined : {
143
163
  as: Editor
144
164
  }
145
- }), h(SchedulerActionButtons_1.SchedulerActionButtons, {
165
+ }, _this.v3 ? function () {
166
+ return [h(SchedulerActionButtons_1.SchedulerActionButtons, {
167
+ editSaveMessage: editSaveMessage,
168
+ attrs: _this.v3 ? undefined : {
169
+ editSaveMessage: editSaveMessage,
170
+ editCancelMessage: editCancelMessage
171
+ },
172
+ editCancelMessage: editCancelMessage,
173
+ onCancel: _this.handleCancel,
174
+ on: _this.v3 ? undefined : {
175
+ "cancel": _this.handleCancel
176
+ }
177
+ })];
178
+ } : [h(SchedulerActionButtons_1.SchedulerActionButtons, {
146
179
  editSaveMessage: editSaveMessage,
147
180
  attrs: _this.v3 ? undefined : {
148
181
  editSaveMessage: editSaveMessage,
@@ -153,7 +186,7 @@ var SchedulerFormVue2 = {
153
186
  on: _this.v3 ? undefined : {
154
187
  "cancel": _this.handleCancel
155
188
  }
156
- })])];
189
+ })])])];
157
190
  } : [h(kendo_vue_form_1.Form, {
158
191
  initialValues: _this.$props.dataItem,
159
192
  attrs: _this.v3 ? undefined : {
@@ -171,7 +204,20 @@ var SchedulerFormVue2 = {
171
204
  attrs: _this.v3 ? undefined : {
172
205
  as: Editor
173
206
  }
174
- }), h(SchedulerActionButtons_1.SchedulerActionButtons, {
207
+ }, _this.v3 ? function () {
208
+ return [h(SchedulerActionButtons_1.SchedulerActionButtons, {
209
+ editSaveMessage: editSaveMessage,
210
+ attrs: _this.v3 ? undefined : {
211
+ editSaveMessage: editSaveMessage,
212
+ editCancelMessage: editCancelMessage
213
+ },
214
+ editCancelMessage: editCancelMessage,
215
+ onCancel: _this.handleCancel,
216
+ on: _this.v3 ? undefined : {
217
+ "cancel": _this.handleCancel
218
+ }
219
+ })];
220
+ } : [h(SchedulerActionButtons_1.SchedulerActionButtons, {
175
221
  editSaveMessage: editSaveMessage,
176
222
  attrs: _this.v3 ? undefined : {
177
223
  editSaveMessage: editSaveMessage,
@@ -182,13 +228,26 @@ var SchedulerFormVue2 = {
182
228
  on: _this.v3 ? undefined : {
183
229
  "cancel": _this.handleCancel
184
230
  }
185
- })];
231
+ })])];
186
232
  } : [h(SchedulerFormEditor_1.SchedulerFormEditor, {
187
233
  as: Editor,
188
234
  attrs: _this.v3 ? undefined : {
189
235
  as: Editor
190
236
  }
191
- }), h(SchedulerActionButtons_1.SchedulerActionButtons, {
237
+ }, _this.v3 ? function () {
238
+ return [h(SchedulerActionButtons_1.SchedulerActionButtons, {
239
+ editSaveMessage: editSaveMessage,
240
+ attrs: _this.v3 ? undefined : {
241
+ editSaveMessage: editSaveMessage,
242
+ editCancelMessage: editCancelMessage
243
+ },
244
+ editCancelMessage: editCancelMessage,
245
+ onCancel: _this.handleCancel,
246
+ on: _this.v3 ? undefined : {
247
+ "cancel": _this.handleCancel
248
+ }
249
+ })];
250
+ } : [h(SchedulerActionButtons_1.SchedulerActionButtons, {
192
251
  editSaveMessage: editSaveMessage,
193
252
  attrs: _this.v3 ? undefined : {
194
253
  editSaveMessage: editSaveMessage,
@@ -199,7 +258,7 @@ var SchedulerFormVue2 = {
199
258
  on: _this.v3 ? undefined : {
200
259
  "cancel": _this.handleCancel
201
260
  }
202
- })])])
261
+ })])])])
203
262
  );
204
263
  },
205
264
  methods: {
@@ -68,35 +68,80 @@ var SchedulerOccurrenceDialogVue2 = {
68
68
  h(kendo_vue_dialogs_1.Dialog, {
69
69
  title: titleMessage,
70
70
  attrs: this.v3 ? undefined : {
71
- title: titleMessage
71
+ title: titleMessage,
72
+ appendTo: 'body'
72
73
  },
74
+ appendTo: 'body',
73
75
  onClose: this.handleClose,
74
76
  on: this.v3 ? undefined : {
75
77
  "close": this.handleClose
76
78
  }
77
79
  }, this.v3 ? function () {
78
- return [confirmationMessage, h(kendo_vue_dialogs_1.DialogActionsBar, [h(kendo_vue_buttons_1.Button, {
80
+ return [confirmationMessage, // @ts-ignore function children
81
+ h(kendo_vue_dialogs_1.DialogActionsBar, _this.v3 ? function () {
82
+ return [// @ts-ignore function children
83
+ h(kendo_vue_buttons_1.Button, {
84
+ onClick: _this.handleOccurrenceClick,
85
+ on: _this.v3 ? undefined : {
86
+ "click": _this.handleOccurrenceClick
87
+ }
88
+ }, _this.v3 ? function () {
89
+ return [occurrenceMessage];
90
+ } : [occurrenceMessage]), // @ts-ignore function children
91
+ h(kendo_vue_buttons_1.Button, {
92
+ onClick: _this.handleSeriesClick,
93
+ on: _this.v3 ? undefined : {
94
+ "click": _this.handleSeriesClick
95
+ }
96
+ }, _this.v3 ? function () {
97
+ return [seriesMessage];
98
+ } : [seriesMessage])];
99
+ } : [h(kendo_vue_buttons_1.Button, {
79
100
  onClick: _this.handleOccurrenceClick,
80
101
  on: _this.v3 ? undefined : {
81
102
  "click": _this.handleOccurrenceClick
82
103
  }
83
- }, [occurrenceMessage]), h(kendo_vue_buttons_1.Button, {
104
+ }, _this.v3 ? function () {
105
+ return [occurrenceMessage];
106
+ } : [occurrenceMessage]), h(kendo_vue_buttons_1.Button, {
84
107
  onClick: _this.handleSeriesClick,
85
108
  on: _this.v3 ? undefined : {
86
109
  "click": _this.handleSeriesClick
87
110
  }
88
- }, [seriesMessage])])];
89
- } : [confirmationMessage, h(kendo_vue_dialogs_1.DialogActionsBar, [h(kendo_vue_buttons_1.Button, {
111
+ }, _this.v3 ? function () {
112
+ return [seriesMessage];
113
+ } : [seriesMessage])])];
114
+ } : [confirmationMessage, h(kendo_vue_dialogs_1.DialogActionsBar, _this.v3 ? function () {
115
+ return [h(kendo_vue_buttons_1.Button, {
116
+ onClick: _this.handleOccurrenceClick,
117
+ on: _this.v3 ? undefined : {
118
+ "click": _this.handleOccurrenceClick
119
+ }
120
+ }, _this.v3 ? function () {
121
+ return [occurrenceMessage];
122
+ } : [occurrenceMessage]), h(kendo_vue_buttons_1.Button, {
123
+ onClick: _this.handleSeriesClick,
124
+ on: _this.v3 ? undefined : {
125
+ "click": _this.handleSeriesClick
126
+ }
127
+ }, _this.v3 ? function () {
128
+ return [seriesMessage];
129
+ } : [seriesMessage])];
130
+ } : [h(kendo_vue_buttons_1.Button, {
90
131
  onClick: _this.handleOccurrenceClick,
91
132
  on: _this.v3 ? undefined : {
92
133
  "click": _this.handleOccurrenceClick
93
134
  }
94
- }, [occurrenceMessage]), h(kendo_vue_buttons_1.Button, {
135
+ }, _this.v3 ? function () {
136
+ return [occurrenceMessage];
137
+ } : [occurrenceMessage]), h(kendo_vue_buttons_1.Button, {
95
138
  onClick: _this.handleSeriesClick,
96
139
  on: _this.v3 ? undefined : {
97
140
  "click": _this.handleSeriesClick
98
141
  }
99
- }, [seriesMessage])])])
142
+ }, _this.v3 ? function () {
143
+ return [seriesMessage];
144
+ } : [seriesMessage])])])
100
145
  );
101
146
  },
102
147
  methods: {
@@ -53,35 +53,80 @@ var SchedulerRemoveDialogVue2 = {
53
53
  h(kendo_vue_dialogs_1.Dialog, {
54
54
  title: deleteDialogTitleMessage,
55
55
  attrs: this.v3 ? undefined : {
56
- title: deleteDialogTitleMessage
56
+ title: deleteDialogTitleMessage,
57
+ appendTo: 'body'
57
58
  },
59
+ appendTo: 'body',
58
60
  onClose: this.handleClose,
59
61
  on: this.v3 ? undefined : {
60
62
  "close": this.handleClose
61
63
  }
62
64
  }, this.v3 ? function () {
63
- return [removeMessage, h(kendo_vue_dialogs_1.DialogActionsBar, [h(kendo_vue_buttons_1.Button, {
65
+ return [removeMessage, // @ts-ignore function children
66
+ h(kendo_vue_dialogs_1.DialogActionsBar, _this.v3 ? function () {
67
+ return [// @ts-ignore function children
68
+ h(kendo_vue_buttons_1.Button, {
69
+ onClick: _this.handleCancel,
70
+ on: _this.v3 ? undefined : {
71
+ "click": _this.handleCancel
72
+ }
73
+ }, _this.v3 ? function () {
74
+ return [removeCancelMessage];
75
+ } : [removeCancelMessage]), // @ts-ignore function children
76
+ h(kendo_vue_buttons_1.Button, {
77
+ onClick: _this.handleConfirm,
78
+ on: _this.v3 ? undefined : {
79
+ "click": _this.handleConfirm
80
+ }
81
+ }, _this.v3 ? function () {
82
+ return [removeConfirmMessage];
83
+ } : [removeConfirmMessage])];
84
+ } : [h(kendo_vue_buttons_1.Button, {
64
85
  onClick: _this.handleCancel,
65
86
  on: _this.v3 ? undefined : {
66
87
  "click": _this.handleCancel
67
88
  }
68
- }, [removeCancelMessage]), h(kendo_vue_buttons_1.Button, {
89
+ }, _this.v3 ? function () {
90
+ return [removeCancelMessage];
91
+ } : [removeCancelMessage]), h(kendo_vue_buttons_1.Button, {
69
92
  onClick: _this.handleConfirm,
70
93
  on: _this.v3 ? undefined : {
71
94
  "click": _this.handleConfirm
72
95
  }
73
- }, [removeConfirmMessage])])];
74
- } : [removeMessage, h(kendo_vue_dialogs_1.DialogActionsBar, [h(kendo_vue_buttons_1.Button, {
96
+ }, _this.v3 ? function () {
97
+ return [removeConfirmMessage];
98
+ } : [removeConfirmMessage])])];
99
+ } : [removeMessage, h(kendo_vue_dialogs_1.DialogActionsBar, _this.v3 ? function () {
100
+ return [h(kendo_vue_buttons_1.Button, {
101
+ onClick: _this.handleCancel,
102
+ on: _this.v3 ? undefined : {
103
+ "click": _this.handleCancel
104
+ }
105
+ }, _this.v3 ? function () {
106
+ return [removeCancelMessage];
107
+ } : [removeCancelMessage]), h(kendo_vue_buttons_1.Button, {
108
+ onClick: _this.handleConfirm,
109
+ on: _this.v3 ? undefined : {
110
+ "click": _this.handleConfirm
111
+ }
112
+ }, _this.v3 ? function () {
113
+ return [removeConfirmMessage];
114
+ } : [removeConfirmMessage])];
115
+ } : [h(kendo_vue_buttons_1.Button, {
75
116
  onClick: _this.handleCancel,
76
117
  on: _this.v3 ? undefined : {
77
118
  "click": _this.handleCancel
78
119
  }
79
- }, [removeCancelMessage]), h(kendo_vue_buttons_1.Button, {
120
+ }, _this.v3 ? function () {
121
+ return [removeCancelMessage];
122
+ } : [removeCancelMessage]), h(kendo_vue_buttons_1.Button, {
80
123
  onClick: _this.handleConfirm,
81
124
  on: _this.v3 ? undefined : {
82
125
  "click": _this.handleConfirm
83
126
  }
84
- }, [removeConfirmMessage])])])
127
+ }, _this.v3 ? function () {
128
+ return [removeConfirmMessage];
129
+ } : [removeConfirmMessage])])])
85
130
  );
86
131
  },
87
132
  methods: {