@progress/kendo-vue-scheduler 3.7.4-dev.202211041243 → 3.7.4-dev.202211280833
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 +1 -1
- package/dist/es/Scheduler.js +1 -1
- package/dist/es/components/header/navigation/NavigationDatePicker.js +6 -4
- package/dist/es/items/SchedulerViewItem.js +9 -5
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slots/SchedulerSlot.js +9 -1
- package/dist/es/slots/SchedulerViewSlot.js +5 -3
- package/dist/es/views/agenda/AgendaViewBody.js +10 -6
- package/dist/es/views/common/HorizontalResourceIterator.js +3 -3
- package/dist/es/views/common/VerticalResourceIterator.js +3 -2
- package/dist/es/views/common/utils.js +7 -0
- package/dist/es/views/day/DayViewAllDaySlots.js +5 -5
- package/dist/es/views/day/MultiDayView.js +10 -6
- package/dist/es/views/month/MonthView.js +6 -6
- package/dist/es/views/time/MultiDayTimelineView.js +4 -5
- package/dist/esm/Scheduler.js +1 -1
- package/dist/esm/components/header/navigation/NavigationDatePicker.js +6 -4
- package/dist/esm/items/SchedulerViewItem.js +9 -5
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/slots/SchedulerSlot.js +9 -1
- package/dist/esm/slots/SchedulerViewSlot.js +5 -3
- package/dist/esm/views/agenda/AgendaViewBody.js +10 -6
- package/dist/esm/views/common/HorizontalResourceIterator.js +3 -3
- package/dist/esm/views/common/VerticalResourceIterator.js +3 -2
- package/dist/esm/views/common/utils.js +7 -0
- package/dist/esm/views/day/DayViewAllDaySlots.js +5 -5
- package/dist/esm/views/day/MultiDayView.js +10 -6
- package/dist/esm/views/month/MonthView.js +6 -6
- package/dist/esm/views/time/MultiDayTimelineView.js +4 -5
- package/dist/npm/Scheduler.js +1 -1
- package/dist/npm/components/header/navigation/NavigationDatePicker.js +6 -4
- package/dist/npm/items/SchedulerViewItem.js +8 -4
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slots/SchedulerSlot.js +9 -1
- package/dist/npm/slots/SchedulerViewSlot.js +4 -2
- package/dist/npm/views/agenda/AgendaViewBody.js +10 -6
- package/dist/npm/views/common/HorizontalResourceIterator.js +3 -3
- package/dist/npm/views/common/VerticalResourceIterator.js +3 -2
- package/dist/npm/views/common/utils.js +7 -0
- package/dist/npm/views/day/DayViewAllDaySlots.js +5 -5
- package/dist/npm/views/day/MultiDayView.js +10 -6
- package/dist/npm/views/month/MonthView.js +6 -6
- package/dist/npm/views/time/MultiDayTimelineView.js +4 -5
- package/package.json +12 -12
|
@@ -271,10 +271,14 @@ var MultiDayViewVue2 = {
|
|
|
271
271
|
},
|
|
272
272
|
data: function data() {
|
|
273
273
|
return {
|
|
274
|
+
hasMounted: false,
|
|
274
275
|
currentDragItem: undefined,
|
|
275
276
|
currentResizeItem: undefined
|
|
276
277
|
};
|
|
277
278
|
},
|
|
279
|
+
mounted: function mounted() {
|
|
280
|
+
this.hasMounted = true;
|
|
281
|
+
},
|
|
278
282
|
created: function created() {
|
|
279
283
|
this.intl = (0, kendo_vue_intl_1.provideIntlService)(this);
|
|
280
284
|
},
|
|
@@ -479,7 +483,7 @@ var MultiDayViewVue2 = {
|
|
|
479
483
|
on: _this2.v3 ? undefined : {
|
|
480
484
|
"dataaction": _this2.handleDataAction
|
|
481
485
|
}
|
|
482
|
-
})]), dayItems.map(function (item) {
|
|
486
|
+
})]), _this2.hasMounted && dayItems.map(function (item) {
|
|
483
487
|
return h(EditItem, {
|
|
484
488
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
|
|
485
489
|
uid: item.uid,
|
|
@@ -757,7 +761,7 @@ var MultiDayViewVue2 = {
|
|
|
757
761
|
timeSlots: timeSlots,
|
|
758
762
|
dayRanges: _this2.dayRanges,
|
|
759
763
|
editable: _this2.$props.editable
|
|
760
|
-
})]), dayItems.map(function (item) {
|
|
764
|
+
})]), _this2.hasMounted && dayItems.map(function (item) {
|
|
761
765
|
return h(EditItem, {
|
|
762
766
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index, " : ").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index),
|
|
763
767
|
uid: item.uid,
|
|
@@ -831,7 +835,7 @@ var MultiDayViewVue2 = {
|
|
|
831
835
|
editable: this.$props.editable,
|
|
832
836
|
vertical: false
|
|
833
837
|
});
|
|
834
|
-
}, _this2), _this2.compDragItem && _this2.compDragItem.isAllDay && dragItemClue.call(_this2, true), _this2.compResizeItem && _this2.compResizeItem.isAllDay && resizeItemClue.call(_this2, true)], timeItems.map(function (item) {
|
|
838
|
+
}, _this2), _this2.compDragItem && _this2.compDragItem.isAllDay && dragItemClue.call(_this2, true), _this2.compResizeItem && _this2.compResizeItem.isAllDay && resizeItemClue.call(_this2, true)], _this2.hasMounted && timeItems.map(function (item) {
|
|
835
839
|
return h(EditItem, {
|
|
836
840
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
|
|
837
841
|
uid: item.uid,
|
|
@@ -998,7 +1002,7 @@ var MultiDayViewVue2 = {
|
|
|
998
1002
|
on: _this2.v3 ? undefined : {
|
|
999
1003
|
"dataaction": _this2.handleDataAction
|
|
1000
1004
|
}
|
|
1001
|
-
})]), dayItems.map(function (item) {
|
|
1005
|
+
})]), _this2.hasMounted && dayItems.map(function (item) {
|
|
1002
1006
|
return h(EditItem, {
|
|
1003
1007
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
|
|
1004
1008
|
uid: item.uid,
|
|
@@ -1269,7 +1273,7 @@ var MultiDayViewVue2 = {
|
|
|
1269
1273
|
timeSlots: timeSlots,
|
|
1270
1274
|
dayRanges: _this2.dayRanges,
|
|
1271
1275
|
editable: _this2.$props.editable
|
|
1272
|
-
})]), dayItems.map(function (item) {
|
|
1276
|
+
})]), _this2.hasMounted && dayItems.map(function (item) {
|
|
1273
1277
|
return h(EditItem, {
|
|
1274
1278
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index, " : ").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index),
|
|
1275
1279
|
uid: item.uid,
|
|
@@ -1343,7 +1347,7 @@ var MultiDayViewVue2 = {
|
|
|
1343
1347
|
editable: this.$props.editable,
|
|
1344
1348
|
vertical: false
|
|
1345
1349
|
});
|
|
1346
|
-
}, _this2), _this2.compDragItem && _this2.compDragItem.isAllDay && dragItemClue.call(_this2, true), _this2.compResizeItem && _this2.compResizeItem.isAllDay && resizeItemClue.call(_this2, true)], timeItems.map(function (item) {
|
|
1350
|
+
}, _this2), _this2.compDragItem && _this2.compDragItem.isAllDay && dragItemClue.call(_this2, true), _this2.compResizeItem && _this2.compResizeItem.isAllDay && resizeItemClue.call(_this2, true)], _this2.hasMounted && timeItems.map(function (item) {
|
|
1347
1351
|
return h(EditItem, {
|
|
1348
1352
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
|
|
1349
1353
|
uid: item.uid,
|
|
@@ -21,7 +21,6 @@ var Vue = require("vue");
|
|
|
21
21
|
var allVue = Vue;
|
|
22
22
|
var gh = allVue.h;
|
|
23
23
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
24
|
-
var inject = allVue.inject;
|
|
25
24
|
var BaseView_1 = require("../../components/BaseView");
|
|
26
25
|
var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
27
26
|
var VerticalResourceIterator_1 = require("../common/VerticalResourceIterator");
|
|
@@ -40,9 +39,6 @@ var MonthViewBody_1 = require("./MonthViewBody");
|
|
|
40
39
|
var SchedulerEditItem_1 = require("../../items/SchedulerEditItem");
|
|
41
40
|
var SchedulerResize_1 = require("../common/SchedulerResize");
|
|
42
41
|
var SchedulerDrag_1 = require("../../views/common/SchedulerDrag");
|
|
43
|
-
var DAY_FORMAT = {
|
|
44
|
-
skeleton: 'dd'
|
|
45
|
-
};
|
|
46
42
|
/** @hidden */
|
|
47
43
|
var MonthViewVue2 = {
|
|
48
44
|
name: 'KendoMonthView',
|
|
@@ -119,8 +115,12 @@ var MonthViewVue2 = {
|
|
|
119
115
|
created: function created() {
|
|
120
116
|
this.intl = (0, kendo_vue_intl_1.provideIntlService)(this);
|
|
121
117
|
},
|
|
118
|
+
mounted: function mounted() {
|
|
119
|
+
this.hasMounted = true;
|
|
120
|
+
},
|
|
122
121
|
data: function data() {
|
|
123
122
|
return {
|
|
123
|
+
hasMounted: false,
|
|
124
124
|
currentDragItem: undefined,
|
|
125
125
|
currentResizeItem: undefined
|
|
126
126
|
};
|
|
@@ -402,7 +402,7 @@ var MonthViewVue2 = {
|
|
|
402
402
|
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
403
403
|
})])]), h("div", {
|
|
404
404
|
"class": "k-scheduler-body"
|
|
405
|
-
}, [body, items.filter(function (item) {
|
|
405
|
+
}, [body, _this2.hasMounted && items.filter(function (item) {
|
|
406
406
|
return item.order === null || item.order < itemsPerSlot;
|
|
407
407
|
}).sort(main_1.orderSort).map(function (item) {
|
|
408
408
|
return h(EditItem, {
|
|
@@ -536,7 +536,7 @@ var MonthViewVue2 = {
|
|
|
536
536
|
dateHeaderCell: _this2.$props.dateHeaderCell
|
|
537
537
|
})])]), h("div", {
|
|
538
538
|
"class": "k-scheduler-body"
|
|
539
|
-
}, [body, items.filter(function (item) {
|
|
539
|
+
}, [body, _this2.hasMounted && items.filter(function (item) {
|
|
540
540
|
return item.order === null || item.order < itemsPerSlot;
|
|
541
541
|
}).sort(main_1.orderSort).map(function (item) {
|
|
542
542
|
return h(EditItem, {
|
|
@@ -30,7 +30,6 @@ var Vue = require("vue");
|
|
|
30
30
|
var allVue = Vue;
|
|
31
31
|
var gh = allVue.h;
|
|
32
32
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
33
|
-
var inject = allVue.inject;
|
|
34
33
|
var BaseView_1 = require("../../components/BaseView");
|
|
35
34
|
var main_1 = require("../../hooks/main");
|
|
36
35
|
var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
@@ -161,6 +160,7 @@ var MultiDayTimelineViewVue2 = {
|
|
|
161
160
|
},
|
|
162
161
|
data: function data() {
|
|
163
162
|
return {
|
|
163
|
+
hasMounted: false,
|
|
164
164
|
currentDragItem: undefined,
|
|
165
165
|
currentResizeItem: undefined
|
|
166
166
|
};
|
|
@@ -235,6 +235,7 @@ var MultiDayTimelineViewVue2 = {
|
|
|
235
235
|
mounted: function mounted() {
|
|
236
236
|
this.timeRef = null;
|
|
237
237
|
this.bodyRef = null;
|
|
238
|
+
this.hasMounted = true;
|
|
238
239
|
(0, main_1.useCellSync)({
|
|
239
240
|
element: this.$el,
|
|
240
241
|
selector: '.k-resource-cell',
|
|
@@ -276,8 +277,6 @@ var MultiDayTimelineViewVue2 = {
|
|
|
276
277
|
var _this2 = this;
|
|
277
278
|
var h = gh || createElement;
|
|
278
279
|
var intl = (0, kendo_vue_intl_1.provideIntlService)(this);
|
|
279
|
-
var showWorkHours = this.$props.showWorkHours;
|
|
280
|
-
var slotDivisions = this.$props.slotDivisions;
|
|
281
280
|
var slotDuration = this.$props.slotDuration;
|
|
282
281
|
var workDayStart = intl.parseDate(this.$props.workDayStart);
|
|
283
282
|
var workDayEnd = intl.parseDate(this.$props.workDayEnd);
|
|
@@ -536,7 +535,7 @@ var MultiDayTimelineViewVue2 = {
|
|
|
536
535
|
viewSlot: _this2.$props.viewSlot,
|
|
537
536
|
currentTimeMarker: _this2.$props.currentTimeMarker
|
|
538
537
|
}
|
|
539
|
-
}), items.sort(main_2.orderSort).map(function (item) {
|
|
538
|
+
}), _this2.hasMounted && items.sort(main_2.orderSort).map(function (item) {
|
|
540
539
|
return h(SchedulerEditItem_1.SchedulerEditItem, {
|
|
541
540
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
|
|
542
541
|
uid: item.uid,
|
|
@@ -736,7 +735,7 @@ var MultiDayTimelineViewVue2 = {
|
|
|
736
735
|
viewSlot: _this2.$props.viewSlot,
|
|
737
736
|
currentTimeMarker: _this2.$props.currentTimeMarker
|
|
738
737
|
}
|
|
739
|
-
}), items.sort(main_2.orderSort).map(function (item) {
|
|
738
|
+
}), _this2.hasMounted && items.sort(main_2.orderSort).map(function (item) {
|
|
740
739
|
return h(SchedulerEditItem_1.SchedulerEditItem, {
|
|
741
740
|
key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
|
|
742
741
|
uid: item.uid,
|
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.7.4-dev.
|
|
4
|
+
"version": "3.7.4-dev.202211280833",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@progress/kendo-data-query": "^1.5.1",
|
|
50
50
|
"@progress/kendo-draggable": "^3.0.1",
|
|
51
51
|
"@progress/kendo-recurrence": "^1.0.1",
|
|
52
|
-
"@progress/kendo-vue-common": "3.7.4-dev.
|
|
52
|
+
"@progress/kendo-vue-common": "3.7.4-dev.202211280833"
|
|
53
53
|
},
|
|
54
54
|
"@progress": {
|
|
55
55
|
"friendlyName": "Scheduler",
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
"@progress/kendo-date-math": "^1.4.1",
|
|
65
65
|
"@progress/kendo-drawing": "^1.8.0",
|
|
66
66
|
"@progress/kendo-licensing": "^1.0.1",
|
|
67
|
-
"@progress/kendo-vue-buttons": "3.7.4-dev.
|
|
68
|
-
"@progress/kendo-vue-dateinputs": "3.7.4-dev.
|
|
69
|
-
"@progress/kendo-vue-dialogs": "3.7.4-dev.
|
|
70
|
-
"@progress/kendo-vue-dropdowns": "3.7.4-dev.
|
|
71
|
-
"@progress/kendo-vue-form": "3.7.4-dev.
|
|
72
|
-
"@progress/kendo-vue-inputs": "3.7.4-dev.
|
|
73
|
-
"@progress/kendo-vue-intl": "3.7.4-dev.
|
|
74
|
-
"@progress/kendo-vue-labels": "3.7.4-dev.
|
|
75
|
-
"@progress/kendo-vue-popup": "3.7.4-dev.
|
|
76
|
-
"@progress/kendo-vue-progressbars": "3.7.4-dev.
|
|
67
|
+
"@progress/kendo-vue-buttons": "3.7.4-dev.202211280833",
|
|
68
|
+
"@progress/kendo-vue-dateinputs": "3.7.4-dev.202211280833",
|
|
69
|
+
"@progress/kendo-vue-dialogs": "3.7.4-dev.202211280833",
|
|
70
|
+
"@progress/kendo-vue-dropdowns": "3.7.4-dev.202211280833",
|
|
71
|
+
"@progress/kendo-vue-form": "3.7.4-dev.202211280833",
|
|
72
|
+
"@progress/kendo-vue-inputs": "3.7.4-dev.202211280833",
|
|
73
|
+
"@progress/kendo-vue-intl": "3.7.4-dev.202211280833",
|
|
74
|
+
"@progress/kendo-vue-labels": "3.7.4-dev.202211280833",
|
|
75
|
+
"@progress/kendo-vue-popup": "3.7.4-dev.202211280833",
|
|
76
|
+
"@progress/kendo-vue-progressbars": "3.7.4-dev.202211280833",
|
|
77
77
|
"cldr-core": "^41.0.0",
|
|
78
78
|
"cldr-dates-full": "^41.0.0",
|
|
79
79
|
"cldr-numbers-full": "^41.0.0"
|