@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.
- package/dist/cdn/js/kendo-vue-scheduler.js +2 -2
- package/dist/es/Scheduler.js +4 -1
- package/dist/es/components/SchedulerActionButtons.d.ts +42 -0
- package/dist/es/components/SchedulerActionButtons.js +89 -0
- package/dist/es/components/SchedulerForm.js +58 -81
- package/dist/es/components/header/view-selector/ViewSelectorItem.js +1 -1
- package/dist/es/components/header/view-selector/ViewSelectorList.js +3 -3
- package/dist/es/editors/SchedulerFormEditor.js +331 -130
- package/dist/es/editors/ZonedDateTime.d.ts +2 -4
- package/dist/es/editors/ZonedDateTime.js +32 -15
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/recurrence/RecurrenceEditor.d.ts +3 -0
- package/dist/es/recurrence/RecurrenceEditor.js +307 -457
- package/dist/es/recurrence/RecurrenceFrequencyEditor.js +38 -12
- package/dist/es/slots/SchedulerEditSlot.js +41 -12
- package/dist/es/slots/SchedulerSlot.js +1 -0
- package/dist/es/slots/SchedulerViewSlot.js +13 -4
- package/dist/es/views/agenda/AgendaView.d.ts +1 -1
- package/dist/es/views/agenda/AgendaView.js +39 -9
- package/dist/es/views/agenda/AgendaViewBody.d.ts +1 -0
- package/dist/es/views/agenda/AgendaViewBody.js +2 -1
- package/dist/es/views/common/VerticalResourceIterator.js +12 -6
- package/dist/es/views/day/DayView.js +18 -3
- package/dist/es/views/day/DayViewAllDaySlots.d.ts +1 -0
- package/dist/es/views/day/DayViewAllDaySlots.js +9 -3
- package/dist/es/views/day/DayViewMiddleRow.d.ts +12 -0
- package/dist/es/views/day/DayViewMiddleRow.js +1 -0
- package/dist/es/views/day/DayViewVerticalRow.d.ts +1 -0
- package/dist/es/views/day/DayViewVerticalRow.js +5 -2
- package/dist/es/views/day/DayViewVerticalSlotsRow.d.ts +1 -0
- package/dist/es/views/day/DayViewVerticalSlotsRow.js +1 -0
- package/dist/es/views/day/MultiDayView.js +65 -29
- package/dist/es/views/month/MonthView.js +10 -4
- package/dist/es/views/month/MonthViewBody.d.ts +1 -0
- package/dist/es/views/month/MonthViewBody.js +1 -0
- package/dist/es/views/time/MultiDayTimelineView.js +12 -4
- package/dist/es/views/time/TimelineView.js +15 -3
- package/dist/es/views/time/TimelineViewBody.d.ts +1 -0
- package/dist/es/views/time/TimelineViewBody.js +1 -0
- package/dist/es/views/week/WeekView.js +10 -1
- package/dist/es/views/week/WorkWeekView.js +10 -1
- package/dist/npm/Scheduler.js +4 -1
- package/dist/npm/components/SchedulerActionButtons.d.ts +42 -0
- package/dist/npm/components/SchedulerActionButtons.js +100 -0
- package/dist/npm/components/SchedulerForm.js +57 -80
- package/dist/npm/components/header/view-selector/ViewSelectorItem.js +1 -1
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +3 -3
- package/dist/npm/editors/SchedulerFormEditor.js +336 -129
- package/dist/npm/editors/ZonedDateTime.d.ts +2 -4
- package/dist/npm/editors/ZonedDateTime.js +32 -15
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/recurrence/RecurrenceEditor.d.ts +3 -0
- package/dist/npm/recurrence/RecurrenceEditor.js +307 -457
- package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +38 -12
- package/dist/npm/slots/SchedulerEditSlot.js +42 -12
- package/dist/npm/slots/SchedulerSlot.js +1 -0
- package/dist/npm/slots/SchedulerViewSlot.js +13 -4
- package/dist/npm/views/agenda/AgendaView.d.ts +1 -1
- package/dist/npm/views/agenda/AgendaView.js +39 -9
- package/dist/npm/views/agenda/AgendaViewBody.d.ts +1 -0
- package/dist/npm/views/agenda/AgendaViewBody.js +2 -1
- package/dist/npm/views/common/VerticalResourceIterator.js +12 -6
- package/dist/npm/views/day/DayView.js +18 -3
- package/dist/npm/views/day/DayViewAllDaySlots.d.ts +1 -0
- package/dist/npm/views/day/DayViewAllDaySlots.js +9 -3
- package/dist/npm/views/day/DayViewMiddleRow.d.ts +12 -0
- package/dist/npm/views/day/DayViewMiddleRow.js +1 -0
- package/dist/npm/views/day/DayViewVerticalRow.d.ts +1 -0
- package/dist/npm/views/day/DayViewVerticalRow.js +5 -2
- package/dist/npm/views/day/DayViewVerticalSlotsRow.d.ts +1 -0
- package/dist/npm/views/day/DayViewVerticalSlotsRow.js +1 -0
- package/dist/npm/views/day/MultiDayView.js +65 -29
- package/dist/npm/views/month/MonthView.js +10 -4
- package/dist/npm/views/month/MonthViewBody.d.ts +1 -0
- package/dist/npm/views/month/MonthViewBody.js +1 -0
- package/dist/npm/views/time/MultiDayTimelineView.js +12 -4
- package/dist/npm/views/time/TimelineView.js +15 -3
- package/dist/npm/views/time/TimelineViewBody.d.ts +1 -0
- package/dist/npm/views/time/TimelineViewBody.js +1 -0
- package/dist/npm/views/week/WeekView.js +10 -1
- package/dist/npm/views/week/WorkWeekView.js +10 -1
- package/package.json +12 -12
|
@@ -162,7 +162,11 @@ var MultiDayViewVue2 = {
|
|
|
162
162
|
},
|
|
163
163
|
timeHeaderCell: String,
|
|
164
164
|
slotRender: [String, Function, Object],
|
|
165
|
-
item: [String, Function, Object]
|
|
165
|
+
item: [String, Function, Object],
|
|
166
|
+
editable: {
|
|
167
|
+
type: [Boolean, Object],
|
|
168
|
+
default: false
|
|
169
|
+
}
|
|
166
170
|
},
|
|
167
171
|
inject: {
|
|
168
172
|
kendoIntlService: {
|
|
@@ -361,8 +365,9 @@ var MultiDayViewVue2 = {
|
|
|
361
365
|
childRowContent: DayViewAllDayRowContent_1.DayViewAllDayRowContent
|
|
362
366
|
}, _this2.v3 ? function () {
|
|
363
367
|
return [h(DayViewAllDaySlots_1.DayViewAllDaySlots, {
|
|
364
|
-
|
|
368
|
+
editable: _this2.$props.editable,
|
|
365
369
|
attrs: _this2.v3 ? undefined : {
|
|
370
|
+
editable: _this2.$props.editable,
|
|
366
371
|
dayRanges: _this2.dayRanges,
|
|
367
372
|
daySlots: daySlots,
|
|
368
373
|
slotRender: _this2.$props.slotRender,
|
|
@@ -370,6 +375,7 @@ var MultiDayViewVue2 = {
|
|
|
370
375
|
workWeekStart: workWeekStart,
|
|
371
376
|
workWeekEnd: workWeekEnd
|
|
372
377
|
},
|
|
378
|
+
dayRanges: _this2.dayRanges,
|
|
373
379
|
daySlots: daySlots,
|
|
374
380
|
slotRender: _this2.$props.slotRender,
|
|
375
381
|
numberOfDays: numberOfDays,
|
|
@@ -381,8 +387,9 @@ var MultiDayViewVue2 = {
|
|
|
381
387
|
}
|
|
382
388
|
})];
|
|
383
389
|
} : [h(DayViewAllDaySlots_1.DayViewAllDaySlots, {
|
|
384
|
-
|
|
390
|
+
editable: _this2.$props.editable,
|
|
385
391
|
attrs: _this2.v3 ? undefined : {
|
|
392
|
+
editable: _this2.$props.editable,
|
|
386
393
|
dayRanges: _this2.dayRanges,
|
|
387
394
|
daySlots: daySlots,
|
|
388
395
|
slotRender: _this2.$props.slotRender,
|
|
@@ -390,6 +397,7 @@ var MultiDayViewVue2 = {
|
|
|
390
397
|
workWeekStart: workWeekStart,
|
|
391
398
|
workWeekEnd: workWeekEnd
|
|
392
399
|
},
|
|
400
|
+
dayRanges: _this2.dayRanges,
|
|
393
401
|
daySlots: daySlots,
|
|
394
402
|
slotRender: _this2.$props.slotRender,
|
|
395
403
|
numberOfDays: numberOfDays,
|
|
@@ -475,10 +483,12 @@ var MultiDayViewVue2 = {
|
|
|
475
483
|
attrs: _this2.v3 ? undefined : {
|
|
476
484
|
group: _this2.ks.props.group,
|
|
477
485
|
resources: _this2.ks.props.resources,
|
|
478
|
-
emptyCell: true
|
|
486
|
+
emptyCell: true,
|
|
487
|
+
editable: _this2.$props.editable
|
|
479
488
|
},
|
|
480
489
|
resources: _this2.ks.props.resources,
|
|
481
|
-
emptyCell: true
|
|
490
|
+
emptyCell: true,
|
|
491
|
+
editable: _this2.$props.editable
|
|
482
492
|
}, _this2.v3 ? function () {
|
|
483
493
|
return [h(DayViewHead_1.DayViewHead, {
|
|
484
494
|
timeRanges: _this2.timeRanges,
|
|
@@ -541,7 +551,8 @@ var MultiDayViewVue2 = {
|
|
|
541
551
|
workDayStart: workDayStart,
|
|
542
552
|
workDayEnd: workDayEnd,
|
|
543
553
|
workWeekStart: workWeekStart,
|
|
544
|
-
workWeekEnd: workWeekEnd
|
|
554
|
+
workWeekEnd: workWeekEnd,
|
|
555
|
+
editable: _this3.$props.editable
|
|
545
556
|
},
|
|
546
557
|
timeRanges: _this3.timeRanges,
|
|
547
558
|
timeSlots: timeSlots,
|
|
@@ -556,7 +567,8 @@ var MultiDayViewVue2 = {
|
|
|
556
567
|
onDataaction: _this3.handleDataAction,
|
|
557
568
|
on: _this3.v3 ? undefined : {
|
|
558
569
|
"dataaction": _this3.handleDataAction
|
|
559
|
-
}
|
|
570
|
+
},
|
|
571
|
+
editable: _this3.$props.editable
|
|
560
572
|
})];
|
|
561
573
|
} : [h(DayViewMiddleRow_1.DayViewMiddleRow, {
|
|
562
574
|
slotRender: _this3.$props.slotRender,
|
|
@@ -571,7 +583,8 @@ var MultiDayViewVue2 = {
|
|
|
571
583
|
workDayStart: workDayStart,
|
|
572
584
|
workDayEnd: workDayEnd,
|
|
573
585
|
workWeekStart: workWeekStart,
|
|
574
|
-
workWeekEnd: workWeekEnd
|
|
586
|
+
workWeekEnd: workWeekEnd,
|
|
587
|
+
editable: _this3.$props.editable
|
|
575
588
|
},
|
|
576
589
|
timeRanges: _this3.timeRanges,
|
|
577
590
|
timeSlots: timeSlots,
|
|
@@ -586,7 +599,8 @@ var MultiDayViewVue2 = {
|
|
|
586
599
|
onDataaction: _this3.handleDataAction,
|
|
587
600
|
on: _this3.v3 ? undefined : {
|
|
588
601
|
"dataaction": _this3.handleDataAction
|
|
589
|
-
}
|
|
602
|
+
},
|
|
603
|
+
editable: _this3.$props.editable
|
|
590
604
|
})])
|
|
591
605
|
);
|
|
592
606
|
}, _this2), _this2.$props.currentTimeMarker && utils_1.intersects(utils_1.first(_this2.timeRanges).start, utils_1.last(_this2.timeRanges).end, new Date(), new Date(), true) && h(CurrentTimeMarket_1.CurrentTimeMarker)] : [// @ts-ignore function children
|
|
@@ -604,7 +618,8 @@ var MultiDayViewVue2 = {
|
|
|
604
618
|
numberOfDays: numberOfDays,
|
|
605
619
|
workWeekStart: workWeekStart,
|
|
606
620
|
workWeekEnd: workWeekEnd,
|
|
607
|
-
slotRender: _this2.$props.slotRender
|
|
621
|
+
slotRender: _this2.$props.slotRender,
|
|
622
|
+
editable: _this2.$props.editable
|
|
608
623
|
}
|
|
609
624
|
},
|
|
610
625
|
group: _this2.ks.props.group,
|
|
@@ -621,7 +636,8 @@ var MultiDayViewVue2 = {
|
|
|
621
636
|
numberOfDays: numberOfDays,
|
|
622
637
|
workWeekStart: workWeekStart,
|
|
623
638
|
workWeekEnd: workWeekEnd,
|
|
624
|
-
slotRender: _this2.$props.slotRender
|
|
639
|
+
slotRender: _this2.$props.slotRender,
|
|
640
|
+
editable: _this2.$props.editable
|
|
625
641
|
}
|
|
626
642
|
}, _this2.v3 ? function () {
|
|
627
643
|
return [h(DayViewVerticalRow_1.DayViewVerticalRow, {
|
|
@@ -633,10 +649,12 @@ var MultiDayViewVue2 = {
|
|
|
633
649
|
attrs: _this2.v3 ? undefined : {
|
|
634
650
|
daySlots: daySlots,
|
|
635
651
|
timeSlots: timeSlots,
|
|
636
|
-
dayRanges: _this2.dayRanges
|
|
652
|
+
dayRanges: _this2.dayRanges,
|
|
653
|
+
editable: _this2.$props.editable
|
|
637
654
|
},
|
|
638
655
|
timeSlots: timeSlots,
|
|
639
|
-
dayRanges: _this2.dayRanges
|
|
656
|
+
dayRanges: _this2.dayRanges,
|
|
657
|
+
editable: _this2.$props.editable
|
|
640
658
|
})];
|
|
641
659
|
} : [h(DayViewVerticalRow_1.DayViewVerticalRow, {
|
|
642
660
|
onDataaction: _this2.handleDataAction,
|
|
@@ -647,10 +665,12 @@ var MultiDayViewVue2 = {
|
|
|
647
665
|
attrs: _this2.v3 ? undefined : {
|
|
648
666
|
daySlots: daySlots,
|
|
649
667
|
timeSlots: timeSlots,
|
|
650
|
-
dayRanges: _this2.dayRanges
|
|
668
|
+
dayRanges: _this2.dayRanges,
|
|
669
|
+
editable: _this2.$props.editable
|
|
651
670
|
},
|
|
652
671
|
timeSlots: timeSlots,
|
|
653
|
-
dayRanges: _this2.dayRanges
|
|
672
|
+
dayRanges: _this2.dayRanges,
|
|
673
|
+
editable: _this2.$props.editable
|
|
654
674
|
})]), // { (
|
|
655
675
|
// (this.$props.currentTimeMarker
|
|
656
676
|
// && intersects(
|
|
@@ -848,8 +868,9 @@ var MultiDayViewVue2 = {
|
|
|
848
868
|
childRowContent: DayViewAllDayRowContent_1.DayViewAllDayRowContent
|
|
849
869
|
}, _this2.v3 ? function () {
|
|
850
870
|
return [h(DayViewAllDaySlots_1.DayViewAllDaySlots, {
|
|
851
|
-
|
|
871
|
+
editable: _this2.$props.editable,
|
|
852
872
|
attrs: _this2.v3 ? undefined : {
|
|
873
|
+
editable: _this2.$props.editable,
|
|
853
874
|
dayRanges: _this2.dayRanges,
|
|
854
875
|
daySlots: daySlots,
|
|
855
876
|
slotRender: _this2.$props.slotRender,
|
|
@@ -857,6 +878,7 @@ var MultiDayViewVue2 = {
|
|
|
857
878
|
workWeekStart: workWeekStart,
|
|
858
879
|
workWeekEnd: workWeekEnd
|
|
859
880
|
},
|
|
881
|
+
dayRanges: _this2.dayRanges,
|
|
860
882
|
daySlots: daySlots,
|
|
861
883
|
slotRender: _this2.$props.slotRender,
|
|
862
884
|
numberOfDays: numberOfDays,
|
|
@@ -868,8 +890,9 @@ var MultiDayViewVue2 = {
|
|
|
868
890
|
}
|
|
869
891
|
})];
|
|
870
892
|
} : [h(DayViewAllDaySlots_1.DayViewAllDaySlots, {
|
|
871
|
-
|
|
893
|
+
editable: _this2.$props.editable,
|
|
872
894
|
attrs: _this2.v3 ? undefined : {
|
|
895
|
+
editable: _this2.$props.editable,
|
|
873
896
|
dayRanges: _this2.dayRanges,
|
|
874
897
|
daySlots: daySlots,
|
|
875
898
|
slotRender: _this2.$props.slotRender,
|
|
@@ -877,6 +900,7 @@ var MultiDayViewVue2 = {
|
|
|
877
900
|
workWeekStart: workWeekStart,
|
|
878
901
|
workWeekEnd: workWeekEnd
|
|
879
902
|
},
|
|
903
|
+
dayRanges: _this2.dayRanges,
|
|
880
904
|
daySlots: daySlots,
|
|
881
905
|
slotRender: _this2.$props.slotRender,
|
|
882
906
|
numberOfDays: numberOfDays,
|
|
@@ -961,10 +985,12 @@ var MultiDayViewVue2 = {
|
|
|
961
985
|
attrs: _this2.v3 ? undefined : {
|
|
962
986
|
group: _this2.ks.props.group,
|
|
963
987
|
resources: _this2.ks.props.resources,
|
|
964
|
-
emptyCell: true
|
|
988
|
+
emptyCell: true,
|
|
989
|
+
editable: _this2.$props.editable
|
|
965
990
|
},
|
|
966
991
|
resources: _this2.ks.props.resources,
|
|
967
|
-
emptyCell: true
|
|
992
|
+
emptyCell: true,
|
|
993
|
+
editable: _this2.$props.editable
|
|
968
994
|
}, _this2.v3 ? function () {
|
|
969
995
|
return [h(DayViewHead_1.DayViewHead, {
|
|
970
996
|
timeRanges: _this2.timeRanges,
|
|
@@ -1026,7 +1052,8 @@ var MultiDayViewVue2 = {
|
|
|
1026
1052
|
workDayStart: workDayStart,
|
|
1027
1053
|
workDayEnd: workDayEnd,
|
|
1028
1054
|
workWeekStart: workWeekStart,
|
|
1029
|
-
workWeekEnd: workWeekEnd
|
|
1055
|
+
workWeekEnd: workWeekEnd,
|
|
1056
|
+
editable: _this3.$props.editable
|
|
1030
1057
|
},
|
|
1031
1058
|
timeRanges: _this3.timeRanges,
|
|
1032
1059
|
timeSlots: timeSlots,
|
|
@@ -1041,7 +1068,8 @@ var MultiDayViewVue2 = {
|
|
|
1041
1068
|
onDataaction: _this3.handleDataAction,
|
|
1042
1069
|
on: _this3.v3 ? undefined : {
|
|
1043
1070
|
"dataaction": _this3.handleDataAction
|
|
1044
|
-
}
|
|
1071
|
+
},
|
|
1072
|
+
editable: _this3.$props.editable
|
|
1045
1073
|
})];
|
|
1046
1074
|
} : [h(DayViewMiddleRow_1.DayViewMiddleRow, {
|
|
1047
1075
|
slotRender: _this3.$props.slotRender,
|
|
@@ -1056,7 +1084,8 @@ var MultiDayViewVue2 = {
|
|
|
1056
1084
|
workDayStart: workDayStart,
|
|
1057
1085
|
workDayEnd: workDayEnd,
|
|
1058
1086
|
workWeekStart: workWeekStart,
|
|
1059
|
-
workWeekEnd: workWeekEnd
|
|
1087
|
+
workWeekEnd: workWeekEnd,
|
|
1088
|
+
editable: _this3.$props.editable
|
|
1060
1089
|
},
|
|
1061
1090
|
timeRanges: _this3.timeRanges,
|
|
1062
1091
|
timeSlots: timeSlots,
|
|
@@ -1071,7 +1100,8 @@ var MultiDayViewVue2 = {
|
|
|
1071
1100
|
onDataaction: _this3.handleDataAction,
|
|
1072
1101
|
on: _this3.v3 ? undefined : {
|
|
1073
1102
|
"dataaction": _this3.handleDataAction
|
|
1074
|
-
}
|
|
1103
|
+
},
|
|
1104
|
+
editable: _this3.$props.editable
|
|
1075
1105
|
})]);
|
|
1076
1106
|
}, _this2), _this2.$props.currentTimeMarker && utils_1.intersects(utils_1.first(_this2.timeRanges).start, utils_1.last(_this2.timeRanges).end, new Date(), new Date(), true) && h(CurrentTimeMarket_1.CurrentTimeMarker)] : [h(VerticalResourceIterator_1.VerticalResourceIterator, {
|
|
1077
1107
|
nested: true,
|
|
@@ -1087,7 +1117,8 @@ var MultiDayViewVue2 = {
|
|
|
1087
1117
|
numberOfDays: numberOfDays,
|
|
1088
1118
|
workWeekStart: workWeekStart,
|
|
1089
1119
|
workWeekEnd: workWeekEnd,
|
|
1090
|
-
slotRender: _this2.$props.slotRender
|
|
1120
|
+
slotRender: _this2.$props.slotRender,
|
|
1121
|
+
editable: _this2.$props.editable
|
|
1091
1122
|
}
|
|
1092
1123
|
},
|
|
1093
1124
|
group: _this2.ks.props.group,
|
|
@@ -1104,7 +1135,8 @@ var MultiDayViewVue2 = {
|
|
|
1104
1135
|
numberOfDays: numberOfDays,
|
|
1105
1136
|
workWeekStart: workWeekStart,
|
|
1106
1137
|
workWeekEnd: workWeekEnd,
|
|
1107
|
-
slotRender: _this2.$props.slotRender
|
|
1138
|
+
slotRender: _this2.$props.slotRender,
|
|
1139
|
+
editable: _this2.$props.editable
|
|
1108
1140
|
}
|
|
1109
1141
|
}, _this2.v3 ? function () {
|
|
1110
1142
|
return [h(DayViewVerticalRow_1.DayViewVerticalRow, {
|
|
@@ -1116,10 +1148,12 @@ var MultiDayViewVue2 = {
|
|
|
1116
1148
|
attrs: _this2.v3 ? undefined : {
|
|
1117
1149
|
daySlots: daySlots,
|
|
1118
1150
|
timeSlots: timeSlots,
|
|
1119
|
-
dayRanges: _this2.dayRanges
|
|
1151
|
+
dayRanges: _this2.dayRanges,
|
|
1152
|
+
editable: _this2.$props.editable
|
|
1120
1153
|
},
|
|
1121
1154
|
timeSlots: timeSlots,
|
|
1122
|
-
dayRanges: _this2.dayRanges
|
|
1155
|
+
dayRanges: _this2.dayRanges,
|
|
1156
|
+
editable: _this2.$props.editable
|
|
1123
1157
|
})];
|
|
1124
1158
|
} : [h(DayViewVerticalRow_1.DayViewVerticalRow, {
|
|
1125
1159
|
onDataaction: _this2.handleDataAction,
|
|
@@ -1130,10 +1164,12 @@ var MultiDayViewVue2 = {
|
|
|
1130
1164
|
attrs: _this2.v3 ? undefined : {
|
|
1131
1165
|
daySlots: daySlots,
|
|
1132
1166
|
timeSlots: timeSlots,
|
|
1133
|
-
dayRanges: _this2.dayRanges
|
|
1167
|
+
dayRanges: _this2.dayRanges,
|
|
1168
|
+
editable: _this2.$props.editable
|
|
1134
1169
|
},
|
|
1135
1170
|
timeSlots: timeSlots,
|
|
1136
|
-
dayRanges: _this2.dayRanges
|
|
1171
|
+
dayRanges: _this2.dayRanges,
|
|
1172
|
+
editable: _this2.$props.editable
|
|
1137
1173
|
})]), dayItems.map(function (item) {
|
|
1138
1174
|
return h(EditItem, {
|
|
1139
1175
|
key: item.isRecurring ? item.uid + ":" + item.group.index + " : " + item.range.index + " : " + item.originalStart : item.uid + ":" + item.group.index + " : " + item.range.index,
|
|
@@ -182,13 +182,15 @@ var MonthViewVue2 = {
|
|
|
182
182
|
group: this.ks.props.group
|
|
183
183
|
}, this.v3 ? function () {
|
|
184
184
|
return [h(MonthViewBody_1.MonthViewBody, {
|
|
185
|
-
|
|
185
|
+
editable: _this.$props.editable,
|
|
186
186
|
attrs: _this.v3 ? undefined : {
|
|
187
|
+
editable: _this.$props.editable,
|
|
187
188
|
slotRender: _this.$props.slotRender,
|
|
188
189
|
monthSlots: monthSlots,
|
|
189
190
|
rangeIndex: rangeIndex,
|
|
190
191
|
itemsPerSlot: itemsPerSlot
|
|
191
192
|
},
|
|
193
|
+
slotRender: _this.$props.slotRender,
|
|
192
194
|
monthSlots: monthSlots,
|
|
193
195
|
rangeIndex: rangeIndex,
|
|
194
196
|
itemsPerSlot: itemsPerSlot,
|
|
@@ -198,13 +200,15 @@ var MonthViewVue2 = {
|
|
|
198
200
|
}
|
|
199
201
|
})];
|
|
200
202
|
} : [h(MonthViewBody_1.MonthViewBody, {
|
|
201
|
-
|
|
203
|
+
editable: _this.$props.editable,
|
|
202
204
|
attrs: _this.v3 ? undefined : {
|
|
205
|
+
editable: _this.$props.editable,
|
|
203
206
|
slotRender: _this.$props.slotRender,
|
|
204
207
|
monthSlots: monthSlots,
|
|
205
208
|
rangeIndex: rangeIndex,
|
|
206
209
|
itemsPerSlot: itemsPerSlot
|
|
207
210
|
},
|
|
211
|
+
slotRender: _this.$props.slotRender,
|
|
208
212
|
monthSlots: monthSlots,
|
|
209
213
|
rangeIndex: rangeIndex,
|
|
210
214
|
itemsPerSlot: itemsPerSlot,
|
|
@@ -225,7 +229,8 @@ var MonthViewVue2 = {
|
|
|
225
229
|
slotRender: this.$props.slotRender,
|
|
226
230
|
monthSlots: monthSlots,
|
|
227
231
|
ranges: this.ranges,
|
|
228
|
-
itemsPerSlot: itemsPerSlot
|
|
232
|
+
itemsPerSlot: itemsPerSlot,
|
|
233
|
+
editable: this.$props.editable
|
|
229
234
|
}
|
|
230
235
|
},
|
|
231
236
|
resources: this.ks.props.resources,
|
|
@@ -238,7 +243,8 @@ var MonthViewVue2 = {
|
|
|
238
243
|
slotRender: this.$props.slotRender,
|
|
239
244
|
monthSlots: monthSlots,
|
|
240
245
|
ranges: this.ranges,
|
|
241
|
-
itemsPerSlot: itemsPerSlot
|
|
246
|
+
itemsPerSlot: itemsPerSlot,
|
|
247
|
+
editable: this.$props.editable
|
|
242
248
|
}
|
|
243
249
|
});
|
|
244
250
|
return (// @ts-ignore function children
|
|
@@ -358,14 +358,16 @@ var MultiDayTimelineViewVue2 = {
|
|
|
358
358
|
}, _this2.v3 ? function () {
|
|
359
359
|
return [// @ts-ignore function children
|
|
360
360
|
h(TimelineViewBody_1.TimelineViewBody, {
|
|
361
|
-
|
|
361
|
+
editable: _this2.$props.editable,
|
|
362
362
|
attrs: _this2.v3 ? undefined : {
|
|
363
|
+
editable: _this2.$props.editable,
|
|
363
364
|
slotRender: _this2.$props.slotRender,
|
|
364
365
|
ranges: _this2.ranges,
|
|
365
366
|
workDayStart: workDayStart,
|
|
366
367
|
workDayEnd: workDayEnd,
|
|
367
368
|
timelineSlots: timelineSlots
|
|
368
369
|
},
|
|
370
|
+
slotRender: _this2.$props.slotRender,
|
|
369
371
|
ranges: _this2.ranges,
|
|
370
372
|
workDayStart: workDayStart,
|
|
371
373
|
workDayEnd: workDayEnd,
|
|
@@ -376,14 +378,16 @@ var MultiDayTimelineViewVue2 = {
|
|
|
376
378
|
}
|
|
377
379
|
})];
|
|
378
380
|
} : [h(TimelineViewBody_1.TimelineViewBody, {
|
|
379
|
-
|
|
381
|
+
editable: _this2.$props.editable,
|
|
380
382
|
attrs: _this2.v3 ? undefined : {
|
|
383
|
+
editable: _this2.$props.editable,
|
|
381
384
|
slotRender: _this2.$props.slotRender,
|
|
382
385
|
ranges: _this2.ranges,
|
|
383
386
|
workDayStart: workDayStart,
|
|
384
387
|
workDayEnd: workDayEnd,
|
|
385
388
|
timelineSlots: timelineSlots
|
|
386
389
|
},
|
|
390
|
+
slotRender: _this2.$props.slotRender,
|
|
387
391
|
ranges: _this2.ranges,
|
|
388
392
|
workDayStart: workDayStart,
|
|
389
393
|
workDayEnd: workDayEnd,
|
|
@@ -543,14 +547,16 @@ var MultiDayTimelineViewVue2 = {
|
|
|
543
547
|
rowContent: TimelineViewAllEventsRowContent_1.TimelineViewAllEventsRowContent
|
|
544
548
|
}, _this2.v3 ? function () {
|
|
545
549
|
return [h(TimelineViewBody_1.TimelineViewBody, {
|
|
546
|
-
|
|
550
|
+
editable: _this2.$props.editable,
|
|
547
551
|
attrs: _this2.v3 ? undefined : {
|
|
552
|
+
editable: _this2.$props.editable,
|
|
548
553
|
slotRender: _this2.$props.slotRender,
|
|
549
554
|
ranges: _this2.ranges,
|
|
550
555
|
workDayStart: workDayStart,
|
|
551
556
|
workDayEnd: workDayEnd,
|
|
552
557
|
timelineSlots: timelineSlots
|
|
553
558
|
},
|
|
559
|
+
slotRender: _this2.$props.slotRender,
|
|
554
560
|
ranges: _this2.ranges,
|
|
555
561
|
workDayStart: workDayStart,
|
|
556
562
|
workDayEnd: workDayEnd,
|
|
@@ -561,14 +567,16 @@ var MultiDayTimelineViewVue2 = {
|
|
|
561
567
|
}
|
|
562
568
|
})];
|
|
563
569
|
} : [h(TimelineViewBody_1.TimelineViewBody, {
|
|
564
|
-
|
|
570
|
+
editable: _this2.$props.editable,
|
|
565
571
|
attrs: _this2.v3 ? undefined : {
|
|
572
|
+
editable: _this2.$props.editable,
|
|
566
573
|
slotRender: _this2.$props.slotRender,
|
|
567
574
|
ranges: _this2.ranges,
|
|
568
575
|
workDayStart: workDayStart,
|
|
569
576
|
workDayEnd: workDayEnd,
|
|
570
577
|
timelineSlots: timelineSlots
|
|
571
578
|
},
|
|
579
|
+
slotRender: _this2.$props.slotRender,
|
|
572
580
|
ranges: _this2.ranges,
|
|
573
581
|
workDayStart: workDayStart,
|
|
574
582
|
workDayEnd: workDayEnd,
|
|
@@ -99,7 +99,8 @@ var TimelineViewVue2 = {
|
|
|
99
99
|
default: 100
|
|
100
100
|
},
|
|
101
101
|
slotRender: [String, Function, Object],
|
|
102
|
-
item: [String, Function, Object]
|
|
102
|
+
item: [String, Function, Object],
|
|
103
|
+
editable: [Object, Boolean]
|
|
103
104
|
},
|
|
104
105
|
// @ts-ignore
|
|
105
106
|
setup: !gh ? undefined : function () {
|
|
@@ -133,7 +134,8 @@ var TimelineViewVue2 = {
|
|
|
133
134
|
workWeekStart: this.$props.workWeekStart,
|
|
134
135
|
workWeekEnd: this.$props.workWeekEnd,
|
|
135
136
|
slotRender: this.$props.slotRender,
|
|
136
|
-
item: this.$props.item
|
|
137
|
+
item: this.$props.item,
|
|
138
|
+
editable: this.$props.editable
|
|
137
139
|
},
|
|
138
140
|
dateRange: this.$props.dateRange,
|
|
139
141
|
step: this.$props.step,
|
|
@@ -153,8 +155,18 @@ var TimelineViewVue2 = {
|
|
|
153
155
|
workWeekStart: this.$props.workWeekStart,
|
|
154
156
|
workWeekEnd: this.$props.workWeekEnd,
|
|
155
157
|
slotRender: this.$props.slotRender,
|
|
156
|
-
item: this.$props.item
|
|
158
|
+
item: this.$props.item,
|
|
159
|
+
editable: this.$props.editable,
|
|
160
|
+
onDataaction: this.handleDataAction,
|
|
161
|
+
on: this.v3 ? undefined : {
|
|
162
|
+
"dataaction": this.handleDataAction
|
|
163
|
+
}
|
|
157
164
|
});
|
|
165
|
+
},
|
|
166
|
+
methods: {
|
|
167
|
+
handleDataAction: function handleDataAction(action) {
|
|
168
|
+
this.$emit('dataaction', action);
|
|
169
|
+
}
|
|
158
170
|
}
|
|
159
171
|
};
|
|
160
172
|
exports.TimelineViewVue2 = TimelineViewVue2;
|
|
@@ -159,8 +159,17 @@ var WeekViewVue2 = {
|
|
|
159
159
|
defaultShowWorkHours: this.$props.defaultShowWorkHours,
|
|
160
160
|
timeHeaderCell: this.$props.timeHeaderCell,
|
|
161
161
|
slotRender: this.$props.slotRender,
|
|
162
|
-
item: this.$props.item
|
|
162
|
+
item: this.$props.item,
|
|
163
|
+
onDataaction: this.handleDataAction,
|
|
164
|
+
on: this.v3 ? undefined : {
|
|
165
|
+
"dataaction": this.handleDataAction
|
|
166
|
+
}
|
|
163
167
|
});
|
|
168
|
+
},
|
|
169
|
+
methods: {
|
|
170
|
+
handleDataAction: function handleDataAction(action) {
|
|
171
|
+
this.$emit('dataaction', action);
|
|
172
|
+
}
|
|
164
173
|
}
|
|
165
174
|
};
|
|
166
175
|
exports.WeekViewVue2 = WeekViewVue2;
|
|
@@ -135,8 +135,17 @@ var WorkWeekViewVue2 = {
|
|
|
135
135
|
title: title,
|
|
136
136
|
step: constants_1.DAYS_IN_WEEK_COUNT,
|
|
137
137
|
slotRender: this.$props.slotRender,
|
|
138
|
-
item: this.$props.item
|
|
138
|
+
item: this.$props.item,
|
|
139
|
+
onDataaction: this.handleDataAction,
|
|
140
|
+
on: this.v3 ? undefined : {
|
|
141
|
+
"dataaction": this.handleDataAction
|
|
142
|
+
}
|
|
139
143
|
});
|
|
144
|
+
},
|
|
145
|
+
methods: {
|
|
146
|
+
handleDataAction: function handleDataAction(action) {
|
|
147
|
+
this.$emit('dataaction', action);
|
|
148
|
+
}
|
|
140
149
|
}
|
|
141
150
|
};
|
|
142
151
|
exports.WorkWeekViewVue2 = WorkWeekViewVue2;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-scheduler",
|
|
3
3
|
"description": "Kendo UI for Vue Scheduler package",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.3-dev.202203311441",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@progress/kendo-data-query": "^1.5.1",
|
|
44
44
|
"@progress/kendo-recurrence": "^1.0.1",
|
|
45
|
-
"@progress/kendo-vue-common": "3.1.
|
|
45
|
+
"@progress/kendo-vue-common": "3.1.3-dev.202203311441",
|
|
46
46
|
"@telerik/kendo-draggable": "^2.2.1"
|
|
47
47
|
},
|
|
48
48
|
"@progress": {
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"@progress/kendo-date-math": "^1.4.1",
|
|
59
59
|
"@progress/kendo-drawing": "^1.8.0",
|
|
60
60
|
"@progress/kendo-licensing": "^1.0.1",
|
|
61
|
-
"@progress/kendo-vue-buttons": "3.1.
|
|
62
|
-
"@progress/kendo-vue-dateinputs": "3.1.
|
|
63
|
-
"@progress/kendo-vue-dialogs": "3.1.
|
|
64
|
-
"@progress/kendo-vue-dropdowns": "3.1.
|
|
65
|
-
"@progress/kendo-vue-form": "3.1.
|
|
66
|
-
"@progress/kendo-vue-inputs": "3.1.
|
|
67
|
-
"@progress/kendo-vue-intl": "3.1.
|
|
68
|
-
"@progress/kendo-vue-labels": "3.1.
|
|
69
|
-
"@progress/kendo-vue-popup": "3.1.
|
|
70
|
-
"@progress/kendo-vue-progressbars": "3.1.
|
|
61
|
+
"@progress/kendo-vue-buttons": "3.1.3-dev.202203311441",
|
|
62
|
+
"@progress/kendo-vue-dateinputs": "3.1.3-dev.202203311441",
|
|
63
|
+
"@progress/kendo-vue-dialogs": "3.1.3-dev.202203311441",
|
|
64
|
+
"@progress/kendo-vue-dropdowns": "3.1.3-dev.202203311441",
|
|
65
|
+
"@progress/kendo-vue-form": "3.1.3-dev.202203311441",
|
|
66
|
+
"@progress/kendo-vue-inputs": "3.1.3-dev.202203311441",
|
|
67
|
+
"@progress/kendo-vue-intl": "3.1.3-dev.202203311441",
|
|
68
|
+
"@progress/kendo-vue-labels": "3.1.3-dev.202203311441",
|
|
69
|
+
"@progress/kendo-vue-popup": "3.1.3-dev.202203311441",
|
|
70
|
+
"@progress/kendo-vue-progressbars": "3.1.3-dev.202203311441",
|
|
71
71
|
"cldr-core": "36.0.0",
|
|
72
72
|
"cldr-dates-full": "36.0.0",
|
|
73
73
|
"cldr-numbers-full": "36.0.0"
|