@progress/kendo-vue-scheduler 3.1.5-dev.202204110939 → 3.1.5
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/editors/SchedulerFormEditor.js +16 -16
- package/dist/es/messages/index.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/views/month/MonthView.js +4 -12
- package/dist/npm/editors/SchedulerFormEditor.js +1 -1
- package/dist/npm/messages/index.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/views/month/MonthView.js +4 -12
- package/package.json +12 -12
|
@@ -17,10 +17,10 @@ var allVue = Vue;
|
|
|
17
17
|
var gh = allVue.h;
|
|
18
18
|
var inject = allVue.inject;
|
|
19
19
|
import { timezoneNames } from '@progress/kendo-date-math';
|
|
20
|
-
import { Error, Label } from '@progress/kendo-vue-labels';
|
|
20
|
+
import { Error, Label as KLabel } from '@progress/kendo-vue-labels';
|
|
21
21
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
22
22
|
import { Field } from '@progress/kendo-vue-form';
|
|
23
|
-
import { Input, Checkbox, TextArea } from '@progress/kendo-vue-inputs';
|
|
23
|
+
import { Input as KInput, Checkbox, TextArea } from '@progress/kendo-vue-inputs';
|
|
24
24
|
import { messages, editorEventTitle, editorEventStart, editorEventEnd, editorEventDescription, editorEventAllDay, editorEventTimeZone, editorEventSeparateTimeZones, editorEventStartTimeZone, editorEventEndTimeZone, editorValidationRequired } from '../messages'; // import { useSchedulerPropsContext, useSchedulerFieldsContext } from '../context';
|
|
25
25
|
|
|
26
26
|
import { FilterableComboBox } from './FilterableComboBox';
|
|
@@ -37,7 +37,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
37
37
|
titleLabel: {
|
|
38
38
|
type: [String, Function, Object],
|
|
39
39
|
default: function _default() {
|
|
40
|
-
return
|
|
40
|
+
return KLabel;
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
titleError: {
|
|
@@ -49,13 +49,13 @@ var SchedulerFormEditorVue2 = {
|
|
|
49
49
|
titleEditor: {
|
|
50
50
|
type: [String, Function, Object],
|
|
51
51
|
default: function _default() {
|
|
52
|
-
return
|
|
52
|
+
return KInput;
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
startLabel: {
|
|
56
56
|
type: [String, Function, Object],
|
|
57
57
|
default: function _default() {
|
|
58
|
-
return
|
|
58
|
+
return KLabel;
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
startError: {
|
|
@@ -73,7 +73,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
73
73
|
startTimezoneLabel: {
|
|
74
74
|
type: [String, Function, Object],
|
|
75
75
|
default: function _default() {
|
|
76
|
-
return
|
|
76
|
+
return KLabel;
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
startTimezoneError: {
|
|
@@ -91,7 +91,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
91
91
|
startTimezoneCheckedLabel: {
|
|
92
92
|
type: [String, Function, Object],
|
|
93
93
|
default: function _default() {
|
|
94
|
-
return
|
|
94
|
+
return KLabel;
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
startTimezoneCheckedEditor: {
|
|
@@ -103,7 +103,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
103
103
|
endLabel: {
|
|
104
104
|
type: [String, Function, Object],
|
|
105
105
|
default: function _default() {
|
|
106
|
-
return
|
|
106
|
+
return KLabel;
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
endError: {
|
|
@@ -121,7 +121,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
121
121
|
endTimezoneLabel: {
|
|
122
122
|
type: [String, Function, Object],
|
|
123
123
|
default: function _default() {
|
|
124
|
-
return
|
|
124
|
+
return KLabel;
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
endTimezoneError: {
|
|
@@ -139,7 +139,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
139
139
|
endTimezoneCheckedLabel: {
|
|
140
140
|
type: [String, Function, Object],
|
|
141
141
|
default: function _default() {
|
|
142
|
-
return
|
|
142
|
+
return KLabel;
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
endTimezoneCheckedEditor: {
|
|
@@ -151,7 +151,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
151
151
|
allDayLabel: {
|
|
152
152
|
type: [String, Function, Object],
|
|
153
153
|
default: function _default() {
|
|
154
|
-
return
|
|
154
|
+
return KLabel;
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
allDayEditor: {
|
|
@@ -169,7 +169,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
169
169
|
descriptionLabel: {
|
|
170
170
|
type: [String, Function, Object],
|
|
171
171
|
default: function _default() {
|
|
172
|
-
return
|
|
172
|
+
return KLabel;
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
175
|
descriptionError: {
|
|
@@ -187,13 +187,13 @@ var SchedulerFormEditorVue2 = {
|
|
|
187
187
|
resourceLabel: {
|
|
188
188
|
type: [String, Function, Object],
|
|
189
189
|
default: function _default() {
|
|
190
|
-
return
|
|
190
|
+
return KLabel;
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
resourcesError: {
|
|
194
194
|
type: [String, Function, Object],
|
|
195
195
|
default: function _default() {
|
|
196
|
-
return
|
|
196
|
+
return KLabel;
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
resourceEditor: {
|
|
@@ -538,9 +538,9 @@ var SchedulerFormEditorVue2 = {
|
|
|
538
538
|
name: this.ks.fields.isAllDay,
|
|
539
539
|
attrs: this.v3 ? undefined : {
|
|
540
540
|
name: this.ks.fields.isAllDay,
|
|
541
|
-
component:
|
|
541
|
+
component: KLabel
|
|
542
542
|
},
|
|
543
|
-
component:
|
|
543
|
+
component: KLabel
|
|
544
544
|
}), h("div", {
|
|
545
545
|
"class": "k-form-field-wrap"
|
|
546
546
|
}, [h(Field, {
|
|
@@ -156,7 +156,7 @@ export var noEvents = 'scheduler.noEvents';
|
|
|
156
156
|
*/
|
|
157
157
|
export var messages = (_a = {},
|
|
158
158
|
_a[editorValidationRequired] = 'Field is required.',
|
|
159
|
-
_a[editorValidationStart] = 'Start time must be
|
|
159
|
+
_a[editorValidationStart] = 'Start time must be before End time.',
|
|
160
160
|
_a[editorValidationEnd] = 'End time must be after Start time.',
|
|
161
161
|
_a[allEvents] = 'All events',
|
|
162
162
|
_a[allDay] = 'all day',
|
|
@@ -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: 1649686874,
|
|
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
|
};
|
|
@@ -111,8 +111,8 @@ var MonthViewVue2 = {
|
|
|
111
111
|
groups: this.ks.groups,
|
|
112
112
|
ranges: this.ranges
|
|
113
113
|
});
|
|
114
|
-
mapItemsToSlots(items, this.monthSlots,
|
|
115
|
-
mapSlotsToItems(items, this.monthSlots,
|
|
114
|
+
mapItemsToSlots(items, this.monthSlots, true);
|
|
115
|
+
mapSlotsToItems(items, this.monthSlots, true);
|
|
116
116
|
return items;
|
|
117
117
|
}
|
|
118
118
|
},
|
|
@@ -138,16 +138,8 @@ var MonthViewVue2 = {
|
|
|
138
138
|
var EditItem = this.$props.editItem || SchedulerEditItem;
|
|
139
139
|
var EditSlot = this.$props.editSlot || SchedulerEditSlot;
|
|
140
140
|
var items = this.items;
|
|
141
|
-
var monthSlots = this.monthSlots;
|
|
142
|
-
|
|
143
|
-
// const [, setView] = useSchedulerActiveViewContext();
|
|
144
|
-
// const views = useSchedulerViewsContext();
|
|
145
|
-
// const groups = useSchedulerGroupsContext();
|
|
146
|
-
// const orientation = useSchedulerOrientationContext();
|
|
147
|
-
// const dateRange = useSchedulerDateRangeContext();
|
|
148
|
-
|
|
149
|
-
this.intl = provideIntlService(this); // const fields = useSchedulerFieldsContext();
|
|
150
|
-
|
|
141
|
+
var monthSlots = this.monthSlots;
|
|
142
|
+
this.intl = provideIntlService(this);
|
|
151
143
|
var itemsPerSlot = this.$props.itemsPerSlot;
|
|
152
144
|
var body = this.ks.orientation === 'horizontal' ? this.ranges.map(function (_, rangeIndex) {
|
|
153
145
|
var _this = this;
|
|
@@ -649,7 +649,7 @@ var SchedulerFormEditorVue2 = {
|
|
|
649
649
|
},
|
|
650
650
|
component: ResourceLabel
|
|
651
651
|
}), // @ts-ignore function children
|
|
652
|
-
h(
|
|
652
|
+
h(Label, this.v3 ? function () {
|
|
653
653
|
return [resource.name];
|
|
654
654
|
} : [resource.name]), h(kendo_vue_form_1.Field, {
|
|
655
655
|
name: resource.field,
|
|
@@ -159,7 +159,7 @@ exports.noEvents = 'scheduler.noEvents';
|
|
|
159
159
|
*/
|
|
160
160
|
exports.messages = (_a = {},
|
|
161
161
|
_a[exports.editorValidationRequired] = 'Field is required.',
|
|
162
|
-
_a[exports.editorValidationStart] = 'Start time must be
|
|
162
|
+
_a[exports.editorValidationStart] = 'Start time must be before End time.',
|
|
163
163
|
_a[exports.editorValidationEnd] = 'End time must be after Start time.',
|
|
164
164
|
_a[exports.allEvents] = 'All events',
|
|
165
165
|
_a[exports.allDay] = 'all day',
|
|
@@ -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: 1649686874,
|
|
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
|
};
|
|
@@ -135,8 +135,8 @@ var MonthViewVue2 = {
|
|
|
135
135
|
groups: this.ks.groups,
|
|
136
136
|
ranges: this.ranges
|
|
137
137
|
});
|
|
138
|
-
utils_1.mapItemsToSlots(items, this.monthSlots,
|
|
139
|
-
utils_1.mapSlotsToItems(items, this.monthSlots,
|
|
138
|
+
utils_1.mapItemsToSlots(items, this.monthSlots, true);
|
|
139
|
+
utils_1.mapSlotsToItems(items, this.monthSlots, true);
|
|
140
140
|
return items;
|
|
141
141
|
}
|
|
142
142
|
},
|
|
@@ -162,16 +162,8 @@ var MonthViewVue2 = {
|
|
|
162
162
|
var EditItem = this.$props.editItem || SchedulerEditItem_1.SchedulerEditItem;
|
|
163
163
|
var EditSlot = this.$props.editSlot || SchedulerEditSlot_1.SchedulerEditSlot;
|
|
164
164
|
var items = this.items;
|
|
165
|
-
var monthSlots = this.monthSlots;
|
|
166
|
-
|
|
167
|
-
// const [, setView] = useSchedulerActiveViewContext();
|
|
168
|
-
// const views = useSchedulerViewsContext();
|
|
169
|
-
// const groups = useSchedulerGroupsContext();
|
|
170
|
-
// const orientation = useSchedulerOrientationContext();
|
|
171
|
-
// const dateRange = useSchedulerDateRangeContext();
|
|
172
|
-
|
|
173
|
-
this.intl = kendo_vue_intl_1.provideIntlService(this); // const fields = useSchedulerFieldsContext();
|
|
174
|
-
|
|
165
|
+
var monthSlots = this.monthSlots;
|
|
166
|
+
this.intl = kendo_vue_intl_1.provideIntlService(this);
|
|
175
167
|
var itemsPerSlot = this.$props.itemsPerSlot;
|
|
176
168
|
var body = this.ks.orientation === 'horizontal' ? this.ranges.map(function (_, rangeIndex) {
|
|
177
169
|
var _this = this;
|
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.5
|
|
4
|
+
"version": "3.1.5",
|
|
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.5
|
|
45
|
+
"@progress/kendo-vue-common": "3.1.5",
|
|
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.5
|
|
62
|
-
"@progress/kendo-vue-dateinputs": "3.1.5
|
|
63
|
-
"@progress/kendo-vue-dialogs": "3.1.5
|
|
64
|
-
"@progress/kendo-vue-dropdowns": "3.1.5
|
|
65
|
-
"@progress/kendo-vue-form": "3.1.5
|
|
66
|
-
"@progress/kendo-vue-inputs": "3.1.5
|
|
67
|
-
"@progress/kendo-vue-intl": "3.1.5
|
|
68
|
-
"@progress/kendo-vue-labels": "3.1.5
|
|
69
|
-
"@progress/kendo-vue-popup": "3.1.5
|
|
70
|
-
"@progress/kendo-vue-progressbars": "3.1.5
|
|
61
|
+
"@progress/kendo-vue-buttons": "3.1.5",
|
|
62
|
+
"@progress/kendo-vue-dateinputs": "3.1.5",
|
|
63
|
+
"@progress/kendo-vue-dialogs": "3.1.5",
|
|
64
|
+
"@progress/kendo-vue-dropdowns": "3.1.5",
|
|
65
|
+
"@progress/kendo-vue-form": "3.1.5",
|
|
66
|
+
"@progress/kendo-vue-inputs": "3.1.5",
|
|
67
|
+
"@progress/kendo-vue-intl": "3.1.5",
|
|
68
|
+
"@progress/kendo-vue-labels": "3.1.5",
|
|
69
|
+
"@progress/kendo-vue-popup": "3.1.5",
|
|
70
|
+
"@progress/kendo-vue-progressbars": "3.1.5",
|
|
71
71
|
"cldr-core": "36.0.0",
|
|
72
72
|
"cldr-dates-full": "36.0.0",
|
|
73
73
|
"cldr-numbers-full": "36.0.0"
|