@progress/kendo-vue-scheduler 4.4.0-dev.202405091413 → 5.0.0-dev.202405130538
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 -4
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/views/day/MultiDayView.js +2 -1
- package/dist/es/views/month/MonthViewBody.js +11 -1
- package/dist/esm/Scheduler.js +1 -4
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/views/day/MultiDayView.js +2 -1
- package/dist/esm/views/month/MonthViewBody.js +11 -1
- package/dist/npm/Scheduler.js +1 -4
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/views/day/MultiDayView.js +2 -1
- package/dist/npm/views/month/MonthViewBody.js +11 -1
- package/package.json +12 -12
package/dist/es/Scheduler.js
CHANGED
|
@@ -127,10 +127,7 @@ var SchedulerVue2 = {
|
|
|
127
127
|
wrapperClassName: function wrapperClassName() {
|
|
128
128
|
return {
|
|
129
129
|
'k-rtl': this.isRtl,
|
|
130
|
-
'k-
|
|
131
|
-
'k-scheduler': true,
|
|
132
|
-
'k-floatwrap': true,
|
|
133
|
-
'k-pos-relative': true
|
|
130
|
+
'k-scheduler': true
|
|
134
131
|
};
|
|
135
132
|
},
|
|
136
133
|
fields: function fields() {
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-scheduler',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1715578520,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -305,6 +305,7 @@ var MultiDayViewVue2 = {
|
|
|
305
305
|
var timeItems = this.timeItems;
|
|
306
306
|
var daySlots = this.daySlots;
|
|
307
307
|
var timeSlots = this.timeSlots;
|
|
308
|
+
var isWeekView = this.ks.view.name === 'workweek' || this.ks.view.name === 'week';
|
|
308
309
|
var dragItemClue = function dragItemClue(vertical) {
|
|
309
310
|
return this.compDragItem && this.$props.editable.drag && (Array.isArray(this.compDragItem) ? this.compDragItem.map(function (di, idx) {
|
|
310
311
|
return h(SchedulerDrag, {
|
|
@@ -380,7 +381,7 @@ var MultiDayViewVue2 = {
|
|
|
380
381
|
baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
|
|
381
382
|
},
|
|
382
383
|
viewProps: __assign({}, this.$props),
|
|
383
|
-
"class": 'k-scheduler-
|
|
384
|
+
"class": isWeekView ? 'k-scheduler-weekview' : 'k-scheduler-dayview',
|
|
384
385
|
ranges: __spreadArray(__spreadArray([], this.dayRanges, true), this.timeRanges, true),
|
|
385
386
|
baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
|
|
386
387
|
}, this.v3 ? function () {
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot';
|
|
7
|
+
import { classNames } from '@progress/kendo-vue-common';
|
|
7
8
|
import { provideIntlService } from '@progress/kendo-vue-intl';
|
|
8
9
|
/** @hidden */
|
|
9
10
|
var MonthViewBodyVue2 = {
|
|
@@ -89,8 +90,13 @@ var MonthViewBodyVue2 = {
|
|
|
89
90
|
return (
|
|
90
91
|
// @ts-ignore function children
|
|
91
92
|
h(EditSlot, {
|
|
92
|
-
|
|
93
|
+
className: classNames({
|
|
94
|
+
'k-other-month': this.isOtherMonth(slot, this.ks.currentDate)
|
|
95
|
+
}),
|
|
93
96
|
attrs: this.v3 ? undefined : {
|
|
97
|
+
className: classNames({
|
|
98
|
+
'k-other-month': this.isOtherMonth(slot, this.ks.currentDate)
|
|
99
|
+
}),
|
|
94
100
|
slotRender: this.$props.slotRender,
|
|
95
101
|
viewSlot: that.$props.viewSlot,
|
|
96
102
|
form: that.$props.form,
|
|
@@ -105,6 +111,7 @@ var MonthViewBodyVue2 = {
|
|
|
105
111
|
row: that.ks.orientation === 'horizontal' ? that.rangeIndex : that.ranges.length * (groupIndex || 0) + that.rangeIndex,
|
|
106
112
|
editable: that.$props.editable
|
|
107
113
|
},
|
|
114
|
+
slotRender: this.$props.slotRender,
|
|
108
115
|
viewSlot: that.$props.viewSlot,
|
|
109
116
|
form: that.$props.form,
|
|
110
117
|
index: slotIndex,
|
|
@@ -144,6 +151,9 @@ var MonthViewBodyVue2 = {
|
|
|
144
151
|
},
|
|
145
152
|
handleDataAction: function handleDataAction(action) {
|
|
146
153
|
this.$emit('dataaction', action);
|
|
154
|
+
},
|
|
155
|
+
isOtherMonth: function isOtherMonth(slot, currentDate) {
|
|
156
|
+
return slot.start.getMonth() < currentDate.getMonth() || slot.start.getMonth() > currentDate.getMonth();
|
|
147
157
|
}
|
|
148
158
|
}
|
|
149
159
|
};
|
package/dist/esm/Scheduler.js
CHANGED
|
@@ -127,10 +127,7 @@ var SchedulerVue2 = {
|
|
|
127
127
|
wrapperClassName: function wrapperClassName() {
|
|
128
128
|
return {
|
|
129
129
|
'k-rtl': this.isRtl,
|
|
130
|
-
'k-
|
|
131
|
-
'k-scheduler': true,
|
|
132
|
-
'k-floatwrap': true,
|
|
133
|
-
'k-pos-relative': true
|
|
130
|
+
'k-scheduler': true
|
|
134
131
|
};
|
|
135
132
|
},
|
|
136
133
|
fields: function fields() {
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-scheduler',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1715578520,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -305,6 +305,7 @@ var MultiDayViewVue2 = {
|
|
|
305
305
|
var timeItems = this.timeItems;
|
|
306
306
|
var daySlots = this.daySlots;
|
|
307
307
|
var timeSlots = this.timeSlots;
|
|
308
|
+
var isWeekView = this.ks.view.name === 'workweek' || this.ks.view.name === 'week';
|
|
308
309
|
var dragItemClue = function dragItemClue(vertical) {
|
|
309
310
|
return this.compDragItem && this.$props.editable.drag && (Array.isArray(this.compDragItem) ? this.compDragItem.map(function (di, idx) {
|
|
310
311
|
return h(SchedulerDrag, {
|
|
@@ -380,7 +381,7 @@ var MultiDayViewVue2 = {
|
|
|
380
381
|
baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
|
|
381
382
|
},
|
|
382
383
|
viewProps: __assign({}, this.$props),
|
|
383
|
-
"class": 'k-scheduler-
|
|
384
|
+
"class": isWeekView ? 'k-scheduler-weekview' : 'k-scheduler-dayview',
|
|
384
385
|
ranges: __spreadArray(__spreadArray([], this.dayRanges, true), this.timeRanges, true),
|
|
385
386
|
baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
|
|
386
387
|
}, this.v3 ? function () {
|
|
@@ -4,6 +4,7 @@ var allVue = Vue;
|
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
import { SchedulerEditSlot } from '../../slots/SchedulerEditSlot.js';
|
|
7
|
+
import { classNames } from '@progress/kendo-vue-common';
|
|
7
8
|
import { provideIntlService } from '@progress/kendo-vue-intl';
|
|
8
9
|
/** @hidden */
|
|
9
10
|
var MonthViewBodyVue2 = {
|
|
@@ -89,8 +90,13 @@ var MonthViewBodyVue2 = {
|
|
|
89
90
|
return (
|
|
90
91
|
// @ts-ignore function children
|
|
91
92
|
h(EditSlot, {
|
|
92
|
-
|
|
93
|
+
className: classNames({
|
|
94
|
+
'k-other-month': this.isOtherMonth(slot, this.ks.currentDate)
|
|
95
|
+
}),
|
|
93
96
|
attrs: this.v3 ? undefined : {
|
|
97
|
+
className: classNames({
|
|
98
|
+
'k-other-month': this.isOtherMonth(slot, this.ks.currentDate)
|
|
99
|
+
}),
|
|
94
100
|
slotRender: this.$props.slotRender,
|
|
95
101
|
viewSlot: that.$props.viewSlot,
|
|
96
102
|
form: that.$props.form,
|
|
@@ -105,6 +111,7 @@ var MonthViewBodyVue2 = {
|
|
|
105
111
|
row: that.ks.orientation === 'horizontal' ? that.rangeIndex : that.ranges.length * (groupIndex || 0) + that.rangeIndex,
|
|
106
112
|
editable: that.$props.editable
|
|
107
113
|
},
|
|
114
|
+
slotRender: this.$props.slotRender,
|
|
108
115
|
viewSlot: that.$props.viewSlot,
|
|
109
116
|
form: that.$props.form,
|
|
110
117
|
index: slotIndex,
|
|
@@ -144,6 +151,9 @@ var MonthViewBodyVue2 = {
|
|
|
144
151
|
},
|
|
145
152
|
handleDataAction: function handleDataAction(action) {
|
|
146
153
|
this.$emit('dataaction', action);
|
|
154
|
+
},
|
|
155
|
+
isOtherMonth: function isOtherMonth(slot, currentDate) {
|
|
156
|
+
return slot.start.getMonth() < currentDate.getMonth() || slot.start.getMonth() > currentDate.getMonth();
|
|
147
157
|
}
|
|
148
158
|
}
|
|
149
159
|
};
|
package/dist/npm/Scheduler.js
CHANGED
|
@@ -133,10 +133,7 @@ var SchedulerVue2 = {
|
|
|
133
133
|
wrapperClassName: function wrapperClassName() {
|
|
134
134
|
return {
|
|
135
135
|
'k-rtl': this.isRtl,
|
|
136
|
-
'k-
|
|
137
|
-
'k-scheduler': true,
|
|
138
|
-
'k-floatwrap': true,
|
|
139
|
-
'k-pos-relative': true
|
|
136
|
+
'k-scheduler': true
|
|
140
137
|
};
|
|
141
138
|
},
|
|
142
139
|
fields: function fields() {
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-scheduler',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1715578520,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
|
@@ -311,6 +311,7 @@ var MultiDayViewVue2 = {
|
|
|
311
311
|
var timeItems = this.timeItems;
|
|
312
312
|
var daySlots = this.daySlots;
|
|
313
313
|
var timeSlots = this.timeSlots;
|
|
314
|
+
var isWeekView = this.ks.view.name === 'workweek' || this.ks.view.name === 'week';
|
|
314
315
|
var dragItemClue = function dragItemClue(vertical) {
|
|
315
316
|
return this.compDragItem && this.$props.editable.drag && (Array.isArray(this.compDragItem) ? this.compDragItem.map(function (di, idx) {
|
|
316
317
|
return h(SchedulerDrag_1.SchedulerDrag, {
|
|
@@ -385,7 +386,7 @@ var MultiDayViewVue2 = {
|
|
|
385
386
|
baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
|
|
386
387
|
},
|
|
387
388
|
viewProps: __assign({}, this.$props),
|
|
388
|
-
"class": 'k-scheduler-
|
|
389
|
+
"class": isWeekView ? 'k-scheduler-weekview' : 'k-scheduler-dayview',
|
|
389
390
|
ranges: __spreadArray(__spreadArray([], this.dayRanges, true), this.timeRanges, true),
|
|
390
391
|
baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
|
|
391
392
|
}, this.v3 ? function () {
|
|
@@ -10,6 +10,7 @@ var allVue = Vue;
|
|
|
10
10
|
var gh = allVue.h;
|
|
11
11
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
12
12
|
var SchedulerEditSlot_1 = require("../../slots/SchedulerEditSlot");
|
|
13
|
+
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
13
14
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
14
15
|
/** @hidden */
|
|
15
16
|
var MonthViewBodyVue2 = {
|
|
@@ -95,8 +96,13 @@ var MonthViewBodyVue2 = {
|
|
|
95
96
|
return (
|
|
96
97
|
// @ts-ignore function children
|
|
97
98
|
h(EditSlot, {
|
|
98
|
-
|
|
99
|
+
className: (0, kendo_vue_common_1.classNames)({
|
|
100
|
+
'k-other-month': this.isOtherMonth(slot, this.ks.currentDate)
|
|
101
|
+
}),
|
|
99
102
|
attrs: this.v3 ? undefined : {
|
|
103
|
+
className: (0, kendo_vue_common_1.classNames)({
|
|
104
|
+
'k-other-month': this.isOtherMonth(slot, this.ks.currentDate)
|
|
105
|
+
}),
|
|
100
106
|
slotRender: this.$props.slotRender,
|
|
101
107
|
viewSlot: that.$props.viewSlot,
|
|
102
108
|
form: that.$props.form,
|
|
@@ -111,6 +117,7 @@ var MonthViewBodyVue2 = {
|
|
|
111
117
|
row: that.ks.orientation === 'horizontal' ? that.rangeIndex : that.ranges.length * (groupIndex || 0) + that.rangeIndex,
|
|
112
118
|
editable: that.$props.editable
|
|
113
119
|
},
|
|
120
|
+
slotRender: this.$props.slotRender,
|
|
114
121
|
viewSlot: that.$props.viewSlot,
|
|
115
122
|
form: that.$props.form,
|
|
116
123
|
index: slotIndex,
|
|
@@ -150,6 +157,9 @@ var MonthViewBodyVue2 = {
|
|
|
150
157
|
},
|
|
151
158
|
handleDataAction: function handleDataAction(action) {
|
|
152
159
|
this.$emit('dataaction', action);
|
|
160
|
+
},
|
|
161
|
+
isOtherMonth: function isOtherMonth(slot, currentDate) {
|
|
162
|
+
return slot.start.getMonth() < currentDate.getMonth() || slot.start.getMonth() > currentDate.getMonth();
|
|
153
163
|
}
|
|
154
164
|
}
|
|
155
165
|
};
|
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": "
|
|
4
|
+
"version": "5.0.0-dev.202405130538",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@progress/kendo-data-query": "^1.5.1",
|
|
52
52
|
"@progress/kendo-draggable": "^3.0.1",
|
|
53
53
|
"@progress/kendo-recurrence": "^1.0.1",
|
|
54
|
-
"@progress/kendo-vue-common": "
|
|
54
|
+
"@progress/kendo-vue-common": "5.0.0-dev.202405130538"
|
|
55
55
|
},
|
|
56
56
|
"@progress": {
|
|
57
57
|
"friendlyName": "Scheduler",
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
"@progress/kendo-drawing": "^1.8.0",
|
|
68
68
|
"@progress/kendo-licensing": "^1.3.0",
|
|
69
69
|
"@progress/kendo-svg-icons": "^2.0.0",
|
|
70
|
-
"@progress/kendo-vue-buttons": "
|
|
71
|
-
"@progress/kendo-vue-dateinputs": "
|
|
72
|
-
"@progress/kendo-vue-dialogs": "
|
|
73
|
-
"@progress/kendo-vue-dropdowns": "
|
|
74
|
-
"@progress/kendo-vue-form": "
|
|
75
|
-
"@progress/kendo-vue-inputs": "
|
|
76
|
-
"@progress/kendo-vue-intl": "
|
|
77
|
-
"@progress/kendo-vue-labels": "
|
|
78
|
-
"@progress/kendo-vue-popup": "
|
|
79
|
-
"@progress/kendo-vue-progressbars": "
|
|
70
|
+
"@progress/kendo-vue-buttons": "5.0.0-dev.202405130538",
|
|
71
|
+
"@progress/kendo-vue-dateinputs": "5.0.0-dev.202405130538",
|
|
72
|
+
"@progress/kendo-vue-dialogs": "5.0.0-dev.202405130538",
|
|
73
|
+
"@progress/kendo-vue-dropdowns": "5.0.0-dev.202405130538",
|
|
74
|
+
"@progress/kendo-vue-form": "5.0.0-dev.202405130538",
|
|
75
|
+
"@progress/kendo-vue-inputs": "5.0.0-dev.202405130538",
|
|
76
|
+
"@progress/kendo-vue-intl": "5.0.0-dev.202405130538",
|
|
77
|
+
"@progress/kendo-vue-labels": "5.0.0-dev.202405130538",
|
|
78
|
+
"@progress/kendo-vue-popup": "5.0.0-dev.202405130538",
|
|
79
|
+
"@progress/kendo-vue-progressbars": "5.0.0-dev.202405130538",
|
|
80
80
|
"cldr-core": "^41.0.0",
|
|
81
81
|
"cldr-dates-full": "^41.0.0",
|
|
82
82
|
"cldr-numbers-full": "^41.0.0"
|