@progress/kendo-vue-scheduler 3.1.1 → 3.1.3-dev.202203311441

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 (82) hide show
  1. package/dist/cdn/js/kendo-vue-scheduler.js +2 -2
  2. package/dist/es/Scheduler.js +4 -1
  3. package/dist/es/components/SchedulerActionButtons.d.ts +42 -0
  4. package/dist/es/components/SchedulerActionButtons.js +89 -0
  5. package/dist/es/components/SchedulerForm.js +58 -81
  6. package/dist/es/components/header/view-selector/ViewSelectorItem.js +1 -1
  7. package/dist/es/components/header/view-selector/ViewSelectorList.js +3 -3
  8. package/dist/es/editors/SchedulerFormEditor.js +331 -130
  9. package/dist/es/editors/ZonedDateTime.d.ts +2 -4
  10. package/dist/es/editors/ZonedDateTime.js +32 -15
  11. package/dist/es/package-metadata.js +1 -1
  12. package/dist/es/recurrence/RecurrenceEditor.d.ts +3 -0
  13. package/dist/es/recurrence/RecurrenceEditor.js +307 -457
  14. package/dist/es/recurrence/RecurrenceFrequencyEditor.js +38 -12
  15. package/dist/es/slots/SchedulerEditSlot.js +41 -12
  16. package/dist/es/slots/SchedulerSlot.js +1 -0
  17. package/dist/es/slots/SchedulerViewSlot.js +13 -4
  18. package/dist/es/views/agenda/AgendaView.d.ts +1 -1
  19. package/dist/es/views/agenda/AgendaView.js +39 -9
  20. package/dist/es/views/agenda/AgendaViewBody.d.ts +1 -0
  21. package/dist/es/views/agenda/AgendaViewBody.js +2 -1
  22. package/dist/es/views/common/VerticalResourceIterator.js +12 -6
  23. package/dist/es/views/day/DayView.js +18 -3
  24. package/dist/es/views/day/DayViewAllDaySlots.d.ts +1 -0
  25. package/dist/es/views/day/DayViewAllDaySlots.js +9 -3
  26. package/dist/es/views/day/DayViewMiddleRow.d.ts +12 -0
  27. package/dist/es/views/day/DayViewMiddleRow.js +1 -0
  28. package/dist/es/views/day/DayViewVerticalRow.d.ts +1 -0
  29. package/dist/es/views/day/DayViewVerticalRow.js +5 -2
  30. package/dist/es/views/day/DayViewVerticalSlotsRow.d.ts +1 -0
  31. package/dist/es/views/day/DayViewVerticalSlotsRow.js +1 -0
  32. package/dist/es/views/day/MultiDayView.js +65 -29
  33. package/dist/es/views/month/MonthView.js +10 -4
  34. package/dist/es/views/month/MonthViewBody.d.ts +1 -0
  35. package/dist/es/views/month/MonthViewBody.js +1 -0
  36. package/dist/es/views/time/MultiDayTimelineView.js +12 -4
  37. package/dist/es/views/time/TimelineView.js +15 -3
  38. package/dist/es/views/time/TimelineViewBody.d.ts +1 -0
  39. package/dist/es/views/time/TimelineViewBody.js +1 -0
  40. package/dist/es/views/week/WeekView.js +10 -1
  41. package/dist/es/views/week/WorkWeekView.js +10 -1
  42. package/dist/npm/Scheduler.js +4 -1
  43. package/dist/npm/components/SchedulerActionButtons.d.ts +42 -0
  44. package/dist/npm/components/SchedulerActionButtons.js +100 -0
  45. package/dist/npm/components/SchedulerForm.js +57 -80
  46. package/dist/npm/components/header/view-selector/ViewSelectorItem.js +1 -1
  47. package/dist/npm/components/header/view-selector/ViewSelectorList.js +3 -3
  48. package/dist/npm/editors/SchedulerFormEditor.js +336 -129
  49. package/dist/npm/editors/ZonedDateTime.d.ts +2 -4
  50. package/dist/npm/editors/ZonedDateTime.js +32 -15
  51. package/dist/npm/package-metadata.js +1 -1
  52. package/dist/npm/recurrence/RecurrenceEditor.d.ts +3 -0
  53. package/dist/npm/recurrence/RecurrenceEditor.js +307 -457
  54. package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +38 -12
  55. package/dist/npm/slots/SchedulerEditSlot.js +42 -12
  56. package/dist/npm/slots/SchedulerSlot.js +1 -0
  57. package/dist/npm/slots/SchedulerViewSlot.js +13 -4
  58. package/dist/npm/views/agenda/AgendaView.d.ts +1 -1
  59. package/dist/npm/views/agenda/AgendaView.js +39 -9
  60. package/dist/npm/views/agenda/AgendaViewBody.d.ts +1 -0
  61. package/dist/npm/views/agenda/AgendaViewBody.js +2 -1
  62. package/dist/npm/views/common/VerticalResourceIterator.js +12 -6
  63. package/dist/npm/views/day/DayView.js +18 -3
  64. package/dist/npm/views/day/DayViewAllDaySlots.d.ts +1 -0
  65. package/dist/npm/views/day/DayViewAllDaySlots.js +9 -3
  66. package/dist/npm/views/day/DayViewMiddleRow.d.ts +12 -0
  67. package/dist/npm/views/day/DayViewMiddleRow.js +1 -0
  68. package/dist/npm/views/day/DayViewVerticalRow.d.ts +1 -0
  69. package/dist/npm/views/day/DayViewVerticalRow.js +5 -2
  70. package/dist/npm/views/day/DayViewVerticalSlotsRow.d.ts +1 -0
  71. package/dist/npm/views/day/DayViewVerticalSlotsRow.js +1 -0
  72. package/dist/npm/views/day/MultiDayView.js +65 -29
  73. package/dist/npm/views/month/MonthView.js +10 -4
  74. package/dist/npm/views/month/MonthViewBody.d.ts +1 -0
  75. package/dist/npm/views/month/MonthViewBody.js +1 -0
  76. package/dist/npm/views/time/MultiDayTimelineView.js +12 -4
  77. package/dist/npm/views/time/TimelineView.js +15 -3
  78. package/dist/npm/views/time/TimelineViewBody.d.ts +1 -0
  79. package/dist/npm/views/time/TimelineViewBody.js +1 -0
  80. package/dist/npm/views/week/WeekView.js +10 -1
  81. package/dist/npm/views/week/WorkWeekView.js +10 -1
  82. package/package.json +12 -12
@@ -136,7 +136,11 @@ var MultiDayViewVue2 = {
136
136
  },
137
137
  timeHeaderCell: String,
138
138
  slotRender: [String, Function, Object],
139
- item: [String, Function, Object]
139
+ item: [String, Function, Object],
140
+ editable: {
141
+ type: [Boolean, Object],
142
+ default: false
143
+ }
140
144
  },
141
145
  inject: {
142
146
  kendoIntlService: {
@@ -335,8 +339,9 @@ var MultiDayViewVue2 = {
335
339
  childRowContent: DayViewAllDayRowContent
336
340
  }, _this2.v3 ? function () {
337
341
  return [h(DayViewAllDaySlots, {
338
- dayRanges: _this2.dayRanges,
342
+ editable: _this2.$props.editable,
339
343
  attrs: _this2.v3 ? undefined : {
344
+ editable: _this2.$props.editable,
340
345
  dayRanges: _this2.dayRanges,
341
346
  daySlots: daySlots,
342
347
  slotRender: _this2.$props.slotRender,
@@ -344,6 +349,7 @@ var MultiDayViewVue2 = {
344
349
  workWeekStart: workWeekStart,
345
350
  workWeekEnd: workWeekEnd
346
351
  },
352
+ dayRanges: _this2.dayRanges,
347
353
  daySlots: daySlots,
348
354
  slotRender: _this2.$props.slotRender,
349
355
  numberOfDays: numberOfDays,
@@ -355,8 +361,9 @@ var MultiDayViewVue2 = {
355
361
  }
356
362
  })];
357
363
  } : [h(DayViewAllDaySlots, {
358
- dayRanges: _this2.dayRanges,
364
+ editable: _this2.$props.editable,
359
365
  attrs: _this2.v3 ? undefined : {
366
+ editable: _this2.$props.editable,
360
367
  dayRanges: _this2.dayRanges,
361
368
  daySlots: daySlots,
362
369
  slotRender: _this2.$props.slotRender,
@@ -364,6 +371,7 @@ var MultiDayViewVue2 = {
364
371
  workWeekStart: workWeekStart,
365
372
  workWeekEnd: workWeekEnd
366
373
  },
374
+ dayRanges: _this2.dayRanges,
367
375
  daySlots: daySlots,
368
376
  slotRender: _this2.$props.slotRender,
369
377
  numberOfDays: numberOfDays,
@@ -449,10 +457,12 @@ var MultiDayViewVue2 = {
449
457
  attrs: _this2.v3 ? undefined : {
450
458
  group: _this2.ks.props.group,
451
459
  resources: _this2.ks.props.resources,
452
- emptyCell: true
460
+ emptyCell: true,
461
+ editable: _this2.$props.editable
453
462
  },
454
463
  resources: _this2.ks.props.resources,
455
- emptyCell: true
464
+ emptyCell: true,
465
+ editable: _this2.$props.editable
456
466
  }, _this2.v3 ? function () {
457
467
  return [h(DayViewHead, {
458
468
  timeRanges: _this2.timeRanges,
@@ -515,7 +525,8 @@ var MultiDayViewVue2 = {
515
525
  workDayStart: workDayStart,
516
526
  workDayEnd: workDayEnd,
517
527
  workWeekStart: workWeekStart,
518
- workWeekEnd: workWeekEnd
528
+ workWeekEnd: workWeekEnd,
529
+ editable: _this3.$props.editable
519
530
  },
520
531
  timeRanges: _this3.timeRanges,
521
532
  timeSlots: timeSlots,
@@ -530,7 +541,8 @@ var MultiDayViewVue2 = {
530
541
  onDataaction: _this3.handleDataAction,
531
542
  on: _this3.v3 ? undefined : {
532
543
  "dataaction": _this3.handleDataAction
533
- }
544
+ },
545
+ editable: _this3.$props.editable
534
546
  })];
535
547
  } : [h(DayViewMiddleRow, {
536
548
  slotRender: _this3.$props.slotRender,
@@ -545,7 +557,8 @@ var MultiDayViewVue2 = {
545
557
  workDayStart: workDayStart,
546
558
  workDayEnd: workDayEnd,
547
559
  workWeekStart: workWeekStart,
548
- workWeekEnd: workWeekEnd
560
+ workWeekEnd: workWeekEnd,
561
+ editable: _this3.$props.editable
549
562
  },
550
563
  timeRanges: _this3.timeRanges,
551
564
  timeSlots: timeSlots,
@@ -560,7 +573,8 @@ var MultiDayViewVue2 = {
560
573
  onDataaction: _this3.handleDataAction,
561
574
  on: _this3.v3 ? undefined : {
562
575
  "dataaction": _this3.handleDataAction
563
- }
576
+ },
577
+ editable: _this3.$props.editable
564
578
  })])
565
579
  );
566
580
  }, _this2), _this2.$props.currentTimeMarker && intersects(first(_this2.timeRanges).start, last(_this2.timeRanges).end, new Date(), new Date(), true) && h(CurrentTimeMarker)] : [// @ts-ignore function children
@@ -578,7 +592,8 @@ var MultiDayViewVue2 = {
578
592
  numberOfDays: numberOfDays,
579
593
  workWeekStart: workWeekStart,
580
594
  workWeekEnd: workWeekEnd,
581
- slotRender: _this2.$props.slotRender
595
+ slotRender: _this2.$props.slotRender,
596
+ editable: _this2.$props.editable
582
597
  }
583
598
  },
584
599
  group: _this2.ks.props.group,
@@ -595,7 +610,8 @@ var MultiDayViewVue2 = {
595
610
  numberOfDays: numberOfDays,
596
611
  workWeekStart: workWeekStart,
597
612
  workWeekEnd: workWeekEnd,
598
- slotRender: _this2.$props.slotRender
613
+ slotRender: _this2.$props.slotRender,
614
+ editable: _this2.$props.editable
599
615
  }
600
616
  }, _this2.v3 ? function () {
601
617
  return [h(DayViewVerticalRow, {
@@ -607,10 +623,12 @@ var MultiDayViewVue2 = {
607
623
  attrs: _this2.v3 ? undefined : {
608
624
  daySlots: daySlots,
609
625
  timeSlots: timeSlots,
610
- dayRanges: _this2.dayRanges
626
+ dayRanges: _this2.dayRanges,
627
+ editable: _this2.$props.editable
611
628
  },
612
629
  timeSlots: timeSlots,
613
- dayRanges: _this2.dayRanges
630
+ dayRanges: _this2.dayRanges,
631
+ editable: _this2.$props.editable
614
632
  })];
615
633
  } : [h(DayViewVerticalRow, {
616
634
  onDataaction: _this2.handleDataAction,
@@ -621,10 +639,12 @@ var MultiDayViewVue2 = {
621
639
  attrs: _this2.v3 ? undefined : {
622
640
  daySlots: daySlots,
623
641
  timeSlots: timeSlots,
624
- dayRanges: _this2.dayRanges
642
+ dayRanges: _this2.dayRanges,
643
+ editable: _this2.$props.editable
625
644
  },
626
645
  timeSlots: timeSlots,
627
- dayRanges: _this2.dayRanges
646
+ dayRanges: _this2.dayRanges,
647
+ editable: _this2.$props.editable
628
648
  })]), // { (
629
649
  // (this.$props.currentTimeMarker
630
650
  // && intersects(
@@ -822,8 +842,9 @@ var MultiDayViewVue2 = {
822
842
  childRowContent: DayViewAllDayRowContent
823
843
  }, _this2.v3 ? function () {
824
844
  return [h(DayViewAllDaySlots, {
825
- dayRanges: _this2.dayRanges,
845
+ editable: _this2.$props.editable,
826
846
  attrs: _this2.v3 ? undefined : {
847
+ editable: _this2.$props.editable,
827
848
  dayRanges: _this2.dayRanges,
828
849
  daySlots: daySlots,
829
850
  slotRender: _this2.$props.slotRender,
@@ -831,6 +852,7 @@ var MultiDayViewVue2 = {
831
852
  workWeekStart: workWeekStart,
832
853
  workWeekEnd: workWeekEnd
833
854
  },
855
+ dayRanges: _this2.dayRanges,
834
856
  daySlots: daySlots,
835
857
  slotRender: _this2.$props.slotRender,
836
858
  numberOfDays: numberOfDays,
@@ -842,8 +864,9 @@ var MultiDayViewVue2 = {
842
864
  }
843
865
  })];
844
866
  } : [h(DayViewAllDaySlots, {
845
- dayRanges: _this2.dayRanges,
867
+ editable: _this2.$props.editable,
846
868
  attrs: _this2.v3 ? undefined : {
869
+ editable: _this2.$props.editable,
847
870
  dayRanges: _this2.dayRanges,
848
871
  daySlots: daySlots,
849
872
  slotRender: _this2.$props.slotRender,
@@ -851,6 +874,7 @@ var MultiDayViewVue2 = {
851
874
  workWeekStart: workWeekStart,
852
875
  workWeekEnd: workWeekEnd
853
876
  },
877
+ dayRanges: _this2.dayRanges,
854
878
  daySlots: daySlots,
855
879
  slotRender: _this2.$props.slotRender,
856
880
  numberOfDays: numberOfDays,
@@ -935,10 +959,12 @@ var MultiDayViewVue2 = {
935
959
  attrs: _this2.v3 ? undefined : {
936
960
  group: _this2.ks.props.group,
937
961
  resources: _this2.ks.props.resources,
938
- emptyCell: true
962
+ emptyCell: true,
963
+ editable: _this2.$props.editable
939
964
  },
940
965
  resources: _this2.ks.props.resources,
941
- emptyCell: true
966
+ emptyCell: true,
967
+ editable: _this2.$props.editable
942
968
  }, _this2.v3 ? function () {
943
969
  return [h(DayViewHead, {
944
970
  timeRanges: _this2.timeRanges,
@@ -1000,7 +1026,8 @@ var MultiDayViewVue2 = {
1000
1026
  workDayStart: workDayStart,
1001
1027
  workDayEnd: workDayEnd,
1002
1028
  workWeekStart: workWeekStart,
1003
- workWeekEnd: workWeekEnd
1029
+ workWeekEnd: workWeekEnd,
1030
+ editable: _this3.$props.editable
1004
1031
  },
1005
1032
  timeRanges: _this3.timeRanges,
1006
1033
  timeSlots: timeSlots,
@@ -1015,7 +1042,8 @@ var MultiDayViewVue2 = {
1015
1042
  onDataaction: _this3.handleDataAction,
1016
1043
  on: _this3.v3 ? undefined : {
1017
1044
  "dataaction": _this3.handleDataAction
1018
- }
1045
+ },
1046
+ editable: _this3.$props.editable
1019
1047
  })];
1020
1048
  } : [h(DayViewMiddleRow, {
1021
1049
  slotRender: _this3.$props.slotRender,
@@ -1030,7 +1058,8 @@ var MultiDayViewVue2 = {
1030
1058
  workDayStart: workDayStart,
1031
1059
  workDayEnd: workDayEnd,
1032
1060
  workWeekStart: workWeekStart,
1033
- workWeekEnd: workWeekEnd
1061
+ workWeekEnd: workWeekEnd,
1062
+ editable: _this3.$props.editable
1034
1063
  },
1035
1064
  timeRanges: _this3.timeRanges,
1036
1065
  timeSlots: timeSlots,
@@ -1045,7 +1074,8 @@ var MultiDayViewVue2 = {
1045
1074
  onDataaction: _this3.handleDataAction,
1046
1075
  on: _this3.v3 ? undefined : {
1047
1076
  "dataaction": _this3.handleDataAction
1048
- }
1077
+ },
1078
+ editable: _this3.$props.editable
1049
1079
  })]);
1050
1080
  }, _this2), _this2.$props.currentTimeMarker && intersects(first(_this2.timeRanges).start, last(_this2.timeRanges).end, new Date(), new Date(), true) && h(CurrentTimeMarker)] : [h(VerticalResourceIterator, {
1051
1081
  nested: true,
@@ -1061,7 +1091,8 @@ var MultiDayViewVue2 = {
1061
1091
  numberOfDays: numberOfDays,
1062
1092
  workWeekStart: workWeekStart,
1063
1093
  workWeekEnd: workWeekEnd,
1064
- slotRender: _this2.$props.slotRender
1094
+ slotRender: _this2.$props.slotRender,
1095
+ editable: _this2.$props.editable
1065
1096
  }
1066
1097
  },
1067
1098
  group: _this2.ks.props.group,
@@ -1078,7 +1109,8 @@ var MultiDayViewVue2 = {
1078
1109
  numberOfDays: numberOfDays,
1079
1110
  workWeekStart: workWeekStart,
1080
1111
  workWeekEnd: workWeekEnd,
1081
- slotRender: _this2.$props.slotRender
1112
+ slotRender: _this2.$props.slotRender,
1113
+ editable: _this2.$props.editable
1082
1114
  }
1083
1115
  }, _this2.v3 ? function () {
1084
1116
  return [h(DayViewVerticalRow, {
@@ -1090,10 +1122,12 @@ var MultiDayViewVue2 = {
1090
1122
  attrs: _this2.v3 ? undefined : {
1091
1123
  daySlots: daySlots,
1092
1124
  timeSlots: timeSlots,
1093
- dayRanges: _this2.dayRanges
1125
+ dayRanges: _this2.dayRanges,
1126
+ editable: _this2.$props.editable
1094
1127
  },
1095
1128
  timeSlots: timeSlots,
1096
- dayRanges: _this2.dayRanges
1129
+ dayRanges: _this2.dayRanges,
1130
+ editable: _this2.$props.editable
1097
1131
  })];
1098
1132
  } : [h(DayViewVerticalRow, {
1099
1133
  onDataaction: _this2.handleDataAction,
@@ -1104,10 +1138,12 @@ var MultiDayViewVue2 = {
1104
1138
  attrs: _this2.v3 ? undefined : {
1105
1139
  daySlots: daySlots,
1106
1140
  timeSlots: timeSlots,
1107
- dayRanges: _this2.dayRanges
1141
+ dayRanges: _this2.dayRanges,
1142
+ editable: _this2.$props.editable
1108
1143
  },
1109
1144
  timeSlots: timeSlots,
1110
- dayRanges: _this2.dayRanges
1145
+ dayRanges: _this2.dayRanges,
1146
+ editable: _this2.$props.editable
1111
1147
  })]), dayItems.map(function (item) {
1112
1148
  return h(EditItem, {
1113
1149
  key: item.isRecurring ? item.uid + ":" + item.group.index + " : " + item.range.index + " : " + item.originalStart : item.uid + ":" + item.group.index + " : " + item.range.index,
@@ -158,13 +158,15 @@ var MonthViewVue2 = {
158
158
  group: this.ks.props.group
159
159
  }, this.v3 ? function () {
160
160
  return [h(MonthViewBody, {
161
- slotRender: _this.$props.slotRender,
161
+ editable: _this.$props.editable,
162
162
  attrs: _this.v3 ? undefined : {
163
+ editable: _this.$props.editable,
163
164
  slotRender: _this.$props.slotRender,
164
165
  monthSlots: monthSlots,
165
166
  rangeIndex: rangeIndex,
166
167
  itemsPerSlot: itemsPerSlot
167
168
  },
169
+ slotRender: _this.$props.slotRender,
168
170
  monthSlots: monthSlots,
169
171
  rangeIndex: rangeIndex,
170
172
  itemsPerSlot: itemsPerSlot,
@@ -174,13 +176,15 @@ var MonthViewVue2 = {
174
176
  }
175
177
  })];
176
178
  } : [h(MonthViewBody, {
177
- slotRender: _this.$props.slotRender,
179
+ editable: _this.$props.editable,
178
180
  attrs: _this.v3 ? undefined : {
181
+ editable: _this.$props.editable,
179
182
  slotRender: _this.$props.slotRender,
180
183
  monthSlots: monthSlots,
181
184
  rangeIndex: rangeIndex,
182
185
  itemsPerSlot: itemsPerSlot
183
186
  },
187
+ slotRender: _this.$props.slotRender,
184
188
  monthSlots: monthSlots,
185
189
  rangeIndex: rangeIndex,
186
190
  itemsPerSlot: itemsPerSlot,
@@ -201,7 +205,8 @@ var MonthViewVue2 = {
201
205
  slotRender: this.$props.slotRender,
202
206
  monthSlots: monthSlots,
203
207
  ranges: this.ranges,
204
- itemsPerSlot: itemsPerSlot
208
+ itemsPerSlot: itemsPerSlot,
209
+ editable: this.$props.editable
205
210
  }
206
211
  },
207
212
  resources: this.ks.props.resources,
@@ -214,7 +219,8 @@ var MonthViewVue2 = {
214
219
  slotRender: this.$props.slotRender,
215
220
  monthSlots: monthSlots,
216
221
  ranges: this.ranges,
217
- itemsPerSlot: itemsPerSlot
222
+ itemsPerSlot: itemsPerSlot,
223
+ editable: this.$props.editable
218
224
  }
219
225
  });
220
226
  return (// @ts-ignore function children
@@ -5,6 +5,7 @@ declare type DefaultMethods<V> = {
5
5
  };
6
6
  /** @hidden */
7
7
  export interface MonthViewBodyProps {
8
+ editable?: object | boolean;
8
9
  groupIndex?: number;
9
10
  rangeIndex: number;
10
11
  itemsPerSlot: number;
@@ -8,6 +8,7 @@ import { provideIntlService } from '@progress/kendo-vue-intl'; // tslint:enable:
8
8
  var MonthViewBodyVue2 = {
9
9
  name: 'KendoMonthViewBody',
10
10
  props: {
11
+ editable: [Object, Boolean],
11
12
  groupIndex: Number,
12
13
  rangeIndex: Number,
13
14
  itemsPerSlot: Number,
@@ -332,14 +332,16 @@ var MultiDayTimelineViewVue2 = {
332
332
  }, _this2.v3 ? function () {
333
333
  return [// @ts-ignore function children
334
334
  h(TimelineViewBody, {
335
- slotRender: _this2.$props.slotRender,
335
+ editable: _this2.$props.editable,
336
336
  attrs: _this2.v3 ? undefined : {
337
+ editable: _this2.$props.editable,
337
338
  slotRender: _this2.$props.slotRender,
338
339
  ranges: _this2.ranges,
339
340
  workDayStart: workDayStart,
340
341
  workDayEnd: workDayEnd,
341
342
  timelineSlots: timelineSlots
342
343
  },
344
+ slotRender: _this2.$props.slotRender,
343
345
  ranges: _this2.ranges,
344
346
  workDayStart: workDayStart,
345
347
  workDayEnd: workDayEnd,
@@ -350,14 +352,16 @@ var MultiDayTimelineViewVue2 = {
350
352
  }
351
353
  })];
352
354
  } : [h(TimelineViewBody, {
353
- slotRender: _this2.$props.slotRender,
355
+ editable: _this2.$props.editable,
354
356
  attrs: _this2.v3 ? undefined : {
357
+ editable: _this2.$props.editable,
355
358
  slotRender: _this2.$props.slotRender,
356
359
  ranges: _this2.ranges,
357
360
  workDayStart: workDayStart,
358
361
  workDayEnd: workDayEnd,
359
362
  timelineSlots: timelineSlots
360
363
  },
364
+ slotRender: _this2.$props.slotRender,
361
365
  ranges: _this2.ranges,
362
366
  workDayStart: workDayStart,
363
367
  workDayEnd: workDayEnd,
@@ -517,14 +521,16 @@ var MultiDayTimelineViewVue2 = {
517
521
  rowContent: TimelineViewAllEventsRowContent
518
522
  }, _this2.v3 ? function () {
519
523
  return [h(TimelineViewBody, {
520
- slotRender: _this2.$props.slotRender,
524
+ editable: _this2.$props.editable,
521
525
  attrs: _this2.v3 ? undefined : {
526
+ editable: _this2.$props.editable,
522
527
  slotRender: _this2.$props.slotRender,
523
528
  ranges: _this2.ranges,
524
529
  workDayStart: workDayStart,
525
530
  workDayEnd: workDayEnd,
526
531
  timelineSlots: timelineSlots
527
532
  },
533
+ slotRender: _this2.$props.slotRender,
528
534
  ranges: _this2.ranges,
529
535
  workDayStart: workDayStart,
530
536
  workDayEnd: workDayEnd,
@@ -535,14 +541,16 @@ var MultiDayTimelineViewVue2 = {
535
541
  }
536
542
  })];
537
543
  } : [h(TimelineViewBody, {
538
- slotRender: _this2.$props.slotRender,
544
+ editable: _this2.$props.editable,
539
545
  attrs: _this2.v3 ? undefined : {
546
+ editable: _this2.$props.editable,
540
547
  slotRender: _this2.$props.slotRender,
541
548
  ranges: _this2.ranges,
542
549
  workDayStart: workDayStart,
543
550
  workDayEnd: workDayEnd,
544
551
  timelineSlots: timelineSlots
545
552
  },
553
+ slotRender: _this2.$props.slotRender,
546
554
  ranges: _this2.ranges,
547
555
  workDayStart: workDayStart,
548
556
  workDayEnd: workDayEnd,
@@ -89,7 +89,8 @@ var TimelineViewVue2 = {
89
89
  default: 100
90
90
  },
91
91
  slotRender: [String, Function, Object],
92
- item: [String, Function, Object]
92
+ item: [String, Function, Object],
93
+ editable: [Object, Boolean]
93
94
  },
94
95
  // @ts-ignore
95
96
  setup: !gh ? undefined : function () {
@@ -123,7 +124,8 @@ var TimelineViewVue2 = {
123
124
  workWeekStart: this.$props.workWeekStart,
124
125
  workWeekEnd: this.$props.workWeekEnd,
125
126
  slotRender: this.$props.slotRender,
126
- item: this.$props.item
127
+ item: this.$props.item,
128
+ editable: this.$props.editable
127
129
  },
128
130
  dateRange: this.$props.dateRange,
129
131
  step: this.$props.step,
@@ -143,8 +145,18 @@ var TimelineViewVue2 = {
143
145
  workWeekStart: this.$props.workWeekStart,
144
146
  workWeekEnd: this.$props.workWeekEnd,
145
147
  slotRender: this.$props.slotRender,
146
- item: this.$props.item
148
+ item: this.$props.item,
149
+ editable: this.$props.editable,
150
+ onDataaction: this.handleDataAction,
151
+ on: this.v3 ? undefined : {
152
+ "dataaction": this.handleDataAction
153
+ }
147
154
  });
155
+ },
156
+ methods: {
157
+ handleDataAction: function handleDataAction(action) {
158
+ this.$emit('dataaction', action);
159
+ }
148
160
  }
149
161
  };
150
162
  var TimelineView = TimelineViewVue2;
@@ -11,6 +11,7 @@ export interface TimelineViewBodyProps {
11
11
  workDayStart: any;
12
12
  workDayEnd: any;
13
13
  slotRender: any;
14
+ editable?: boolean | object;
14
15
  }
15
16
  /**
16
17
  * @hidden
@@ -14,6 +14,7 @@ var TimelineViewBodyVue2 = {
14
14
  ranges: Array,
15
15
  workDayStart: Date,
16
16
  workDayEnd: Date,
17
+ editable: [Object, Boolean],
17
18
  slotRender: [String, Function, Object]
18
19
  },
19
20
  inject: {
@@ -145,8 +145,17 @@ var WeekViewVue2 = {
145
145
  defaultShowWorkHours: this.$props.defaultShowWorkHours,
146
146
  timeHeaderCell: this.$props.timeHeaderCell,
147
147
  slotRender: this.$props.slotRender,
148
- item: this.$props.item
148
+ item: this.$props.item,
149
+ onDataaction: this.handleDataAction,
150
+ on: this.v3 ? undefined : {
151
+ "dataaction": this.handleDataAction
152
+ }
149
153
  });
154
+ },
155
+ methods: {
156
+ handleDataAction: function handleDataAction(action) {
157
+ this.$emit('dataaction', action);
158
+ }
150
159
  }
151
160
  };
152
161
 
@@ -121,8 +121,17 @@ var WorkWeekViewVue2 = {
121
121
  title: title,
122
122
  step: DAYS_IN_WEEK_COUNT,
123
123
  slotRender: this.$props.slotRender,
124
- item: this.$props.item
124
+ item: this.$props.item,
125
+ onDataaction: this.handleDataAction,
126
+ on: this.v3 ? undefined : {
127
+ "dataaction": this.handleDataAction
128
+ }
125
129
  });
130
+ },
131
+ methods: {
132
+ handleDataAction: function handleDataAction(action) {
133
+ this.$emit('dataaction', action);
134
+ }
126
135
  }
127
136
  };
128
137
 
@@ -184,7 +184,7 @@ var SchedulerVue2 = {
184
184
  currentDate: currentDate,
185
185
  showWorkHours: view.showWorkHours !== undefined ? view.showWorkHours : true,
186
186
  timezone: this.$props.timezone,
187
- props: this.$props,
187
+ props: __assign({}, this.$props),
188
188
  views: this.views,
189
189
  view: view,
190
190
  fields: utils_1.getModelFields(this.$props.modelFields).fields,
@@ -208,6 +208,9 @@ var SchedulerVue2 = {
208
208
  timezone: function timezone(newName) {
209
209
  this.ks.timezone = newName;
210
210
  this.updatePassedState();
211
+ },
212
+ dataItems: function dataItems(newDataItems) {
213
+ this.ks.dataItems = newDataItems;
211
214
  }
212
215
  },
213
216
  // @ts-ignore
@@ -0,0 +1,42 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ /**
7
+ * Represents the properties of [SchedulerActionButtons]({% slug api_scheduler_dateheadercell %}) component.
8
+ */
9
+ export interface SchedulerActionButtonsProps {
10
+ editSaveMessage: string;
11
+ editCancelMessage: string;
12
+ }
13
+ /**
14
+ * @hidden
15
+ */
16
+ export interface SchedulerActionButtonsState {
17
+ }
18
+ /**
19
+ * @hidden
20
+ */
21
+ export interface SchedulerActionButtonsComputed {
22
+ [key: string]: any;
23
+ }
24
+ /**
25
+ * @hidden
26
+ */
27
+ export interface SchedulerActionButtonsMethods {
28
+ [key: string]: any;
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ export interface SchedulerActionButtonsData {
34
+ }
35
+ /**
36
+ * @hidden
37
+ */
38
+ export interface SchedulerActionButtonsAll extends Vue2type, SchedulerActionButtonsMethods, SchedulerActionButtonsData, SchedulerActionButtonsComputed, SchedulerActionButtonsState {
39
+ }
40
+ declare let SchedulerActionButtonsVue2: ComponentOptions<SchedulerActionButtonsAll, DefaultData<SchedulerActionButtonsData>, DefaultMethods<SchedulerActionButtonsAll>, SchedulerActionButtonsComputed, RecordPropsDefinition<SchedulerActionButtonsProps>>;
41
+ declare const SchedulerActionButtons: DefineComponent<SchedulerActionButtonsProps, any, SchedulerActionButtonsData, SchedulerActionButtonsComputed, SchedulerActionButtonsMethods, {}, {}, {}, string, SchedulerActionButtonsProps, SchedulerActionButtonsProps, {}>;
42
+ export { SchedulerActionButtons, SchedulerActionButtonsVue2 };