@progress/kendo-vue-scheduler 3.5.3 → 3.5.4
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 +0 -1
- package/dist/es/components/footer/bussiness-hours/BusinessHours.js +10 -14
- package/dist/es/components/header/navigation/NavigationDatePicker.js +194 -18
- package/dist/es/components/header/navigation/SchedulerNavigation.js +16 -16
- package/dist/es/components/header/view-selector/ViewSelectorList.js +2 -2
- package/dist/es/items/SchedulerItem.js +8 -8
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tasks/SchedulerTask.js +2 -2
- package/dist/es/views/agenda/AgendaViewBody.js +2 -2
- package/dist/esm/Scheduler.js +0 -1
- package/dist/esm/components/footer/bussiness-hours/BusinessHours.js +10 -14
- package/dist/esm/components/header/navigation/NavigationDatePicker.js +194 -18
- package/dist/esm/components/header/navigation/SchedulerNavigation.js +16 -16
- package/dist/esm/components/header/view-selector/ViewSelectorList.js +2 -2
- package/dist/esm/items/SchedulerItem.js +8 -8
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/tasks/SchedulerTask.js +2 -2
- package/dist/esm/views/agenda/AgendaViewBody.js +2 -2
- package/dist/npm/Scheduler.js +0 -1
- package/dist/npm/components/footer/bussiness-hours/BusinessHours.js +10 -14
- package/dist/npm/components/header/navigation/NavigationDatePicker.js +200 -20
- package/dist/npm/components/header/navigation/SchedulerNavigation.js +16 -16
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +2 -2
- package/dist/npm/items/SchedulerItem.js +8 -8
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tasks/SchedulerTask.js +2 -2
- package/dist/npm/views/agenda/AgendaViewBody.js +2 -2
- package/package.json +12 -12
package/dist/es/Scheduler.js
CHANGED
|
@@ -52,35 +52,31 @@ var BusinessHoursVue2 = {
|
|
|
52
52
|
h(Button, {
|
|
53
53
|
tabIndex: -1,
|
|
54
54
|
attrs: _this.v3 ? undefined : {
|
|
55
|
-
tabIndex: -1
|
|
55
|
+
tabIndex: -1,
|
|
56
|
+
icon: 'clock'
|
|
56
57
|
},
|
|
58
|
+
icon: 'clock',
|
|
57
59
|
onClick: _this.handleShowWorkHoursClick,
|
|
58
60
|
on: _this.v3 ? undefined : {
|
|
59
61
|
"click": _this.handleShowWorkHoursClick
|
|
60
62
|
}
|
|
61
63
|
}, _this.v3 ? function () {
|
|
62
|
-
return [
|
|
63
|
-
|
|
64
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
65
|
-
} : [h("span", {
|
|
66
|
-
"class": "k-icon k-i-clock"
|
|
67
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])];
|
|
64
|
+
return [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
65
|
+
} : [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])];
|
|
68
66
|
} : [defaultSlot ? defaultSlot : h(Button, {
|
|
69
67
|
tabIndex: -1,
|
|
70
68
|
attrs: _this.v3 ? undefined : {
|
|
71
|
-
tabIndex: -1
|
|
69
|
+
tabIndex: -1,
|
|
70
|
+
icon: 'clock'
|
|
72
71
|
},
|
|
72
|
+
icon: 'clock',
|
|
73
73
|
onClick: _this.handleShowWorkHoursClick,
|
|
74
74
|
on: _this.v3 ? undefined : {
|
|
75
75
|
"click": _this.handleShowWorkHoursClick
|
|
76
76
|
}
|
|
77
77
|
}, _this.v3 ? function () {
|
|
78
|
-
return [
|
|
79
|
-
|
|
80
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
81
|
-
} : [h("span", {
|
|
82
|
-
"class": "k-icon k-i-clock"
|
|
83
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])]) : null;
|
|
78
|
+
return [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
79
|
+
} : [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])]) : null;
|
|
84
80
|
},
|
|
85
81
|
methods: {
|
|
86
82
|
handleShowWorkHoursClick: function handleShowWorkHoursClick(e) {
|
|
@@ -19,10 +19,14 @@ import * as Vue from 'vue';
|
|
|
19
19
|
var allVue = Vue;
|
|
20
20
|
var gh = allVue.h;
|
|
21
21
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
22
|
-
import {
|
|
23
|
-
import { DatePickerToggleButton } from './DatePickerToggleButton';
|
|
22
|
+
import { Calendar } from '@progress/kendo-vue-dateinputs';
|
|
24
23
|
import { ZonedDate, getDate } from '@progress/kendo-date-math';
|
|
24
|
+
import { Popup } from '@progress/kendo-vue-popup';
|
|
25
|
+
import { provideIntlService } from '@progress/kendo-vue-intl';
|
|
26
|
+
import { MS_PER_DAY } from '../../../constants/main';
|
|
27
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
25
28
|
import { toUTCDateTime } from '../../../utils/main';
|
|
29
|
+
import { canUseDOM, guid, Keys } from '@progress/kendo-vue-common';
|
|
26
30
|
|
|
27
31
|
var EMPTY_DATE_INPUT = function EMPTY_DATE_INPUT() {
|
|
28
32
|
return null;
|
|
@@ -34,14 +38,52 @@ var EMPTY_DATE_INPUT = function EMPTY_DATE_INPUT() {
|
|
|
34
38
|
|
|
35
39
|
var NavigationDatePickerVue2 = {
|
|
36
40
|
name: 'KendoNavigationDatePicker',
|
|
37
|
-
props:
|
|
41
|
+
props: {
|
|
38
42
|
value: [Date, Object]
|
|
39
|
-
}
|
|
43
|
+
},
|
|
40
44
|
inject: {
|
|
45
|
+
kendoIntlService: {
|
|
46
|
+
default: null
|
|
47
|
+
},
|
|
41
48
|
ks: {
|
|
42
49
|
default: null
|
|
43
50
|
}
|
|
44
51
|
},
|
|
52
|
+
created: function created() {
|
|
53
|
+
this.buttonId = guid();
|
|
54
|
+
this._popupId = 'popup' + guid();
|
|
55
|
+
},
|
|
56
|
+
data: function data() {
|
|
57
|
+
return {
|
|
58
|
+
show: false,
|
|
59
|
+
focused: false,
|
|
60
|
+
media: 'desktop'
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
mounted: function mounted() {
|
|
64
|
+
this.buttonRef = this.$refs.button;
|
|
65
|
+
this.calculateMedia();
|
|
66
|
+
this.observer = new window.ResizeObserver(this.calculateMedia);
|
|
67
|
+
this.observer.observe(this.ks.scheduler.$el);
|
|
68
|
+
},
|
|
69
|
+
destroyed: !!isV3 ? undefined : function () {
|
|
70
|
+
if (this.observer) {
|
|
71
|
+
this.observer.disconnect();
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
// @ts-ignore
|
|
75
|
+
unmounted: function unmounted() {
|
|
76
|
+
if (this.observer) {
|
|
77
|
+
this.observer.disconnect();
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
updated: function updated() {
|
|
81
|
+
if (this.show && this.focused) {
|
|
82
|
+
if (this.$refs.calendar) {
|
|
83
|
+
this.$refs.calendar.focus();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
45
87
|
// @ts-ignore
|
|
46
88
|
setup: !isV3 ? undefined : function () {
|
|
47
89
|
var v3 = !!isV3;
|
|
@@ -51,27 +93,120 @@ var NavigationDatePickerVue2 = {
|
|
|
51
93
|
},
|
|
52
94
|
// @ts-ignore
|
|
53
95
|
render: function render(createElement) {
|
|
96
|
+
var _this2 = this;
|
|
97
|
+
|
|
54
98
|
var h = gh || createElement;
|
|
55
99
|
var normalized = ZonedDate.fromLocalDate(this.$props.value || this.ks.currentDate, this.ks.timezone);
|
|
56
100
|
var value = getDate(normalized);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
101
|
+
var show = this.show;
|
|
102
|
+
var isMonthView = this.ks.dateRange.end.getTime() - this.ks.dateRange.start.getTime() > MS_PER_DAY * 27;
|
|
103
|
+
var intl = provideIntlService(this);
|
|
104
|
+
var text = intl.format(this.ks.dateFormat, isMonthView ? this.ks.currentDate : this.ks.dateRange.zonedStart, isMonthView ? this.ks.currentDate : this.ks.dateRange.zonedEnd.addDays(-1));
|
|
105
|
+
var shortText = intl.format(this.ks.shortDateFormat, isMonthView ? this.ks.currentDate : this.ks.dateRange.zonedStart, isMonthView ? this.ks.currentDate : this.ks.dateRange.zonedEnd.addDays(-1));
|
|
106
|
+
return (// @ts-ignore function children
|
|
107
|
+
h(Button, {
|
|
108
|
+
ref: 'button',
|
|
109
|
+
id: this.buttonId,
|
|
63
110
|
attrs: this.v3 ? undefined : {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
111
|
+
id: this.buttonId,
|
|
112
|
+
fillMode: 'flat',
|
|
113
|
+
tabIndex: -1,
|
|
114
|
+
icon: "calendar"
|
|
67
115
|
},
|
|
68
|
-
|
|
69
|
-
value: value,
|
|
70
|
-
onChange: this.handleChange,
|
|
116
|
+
onFocus: this.onFocus,
|
|
71
117
|
on: this.v3 ? undefined : {
|
|
72
|
-
"
|
|
118
|
+
"focus": this.onFocus,
|
|
119
|
+
"blur": this.onBlur,
|
|
120
|
+
"click": this.handleClick
|
|
121
|
+
},
|
|
122
|
+
onBlur: this.onBlur,
|
|
123
|
+
fillMode: 'flat',
|
|
124
|
+
"class": 'k-nav-current',
|
|
125
|
+
tabIndex: -1,
|
|
126
|
+
icon: "calendar",
|
|
127
|
+
onClick: this.handleClick
|
|
128
|
+
}, this.v3 ? function () {
|
|
129
|
+
return [_this2.media === 'desktop' ? text : shortText, // @ts-ignore function children
|
|
130
|
+
h(Popup, {
|
|
131
|
+
id: _this2._popupId,
|
|
132
|
+
attrs: _this2.v3 ? undefined : {
|
|
133
|
+
id: _this2._popupId,
|
|
134
|
+
anchor: _this2.buttonId,
|
|
135
|
+
show: show
|
|
136
|
+
},
|
|
137
|
+
anchor: _this2.buttonId,
|
|
138
|
+
show: show
|
|
139
|
+
}, _this2.v3 ? function () {
|
|
140
|
+
return [h(Calendar, {
|
|
141
|
+
ref: 'calendar',
|
|
142
|
+
onBlur: _this2.onCalendarBlur,
|
|
143
|
+
on: _this2.v3 ? undefined : {
|
|
144
|
+
"blur": _this2.onCalendarBlur,
|
|
145
|
+
"change": _this2.handleChange,
|
|
146
|
+
"keydown": _this2.calendarKeydown
|
|
147
|
+
},
|
|
148
|
+
onChange: _this2.handleChange,
|
|
149
|
+
onKeydown: _this2.calendarKeydown,
|
|
150
|
+
value: value,
|
|
151
|
+
attrs: _this2.v3 ? undefined : {
|
|
152
|
+
value: value
|
|
153
|
+
}
|
|
154
|
+
})];
|
|
155
|
+
} : [h(Calendar, {
|
|
156
|
+
ref: 'calendar',
|
|
157
|
+
onBlur: _this2.onCalendarBlur,
|
|
158
|
+
on: _this2.v3 ? undefined : {
|
|
159
|
+
"blur": _this2.onCalendarBlur,
|
|
160
|
+
"change": _this2.handleChange,
|
|
161
|
+
"keydown": _this2.calendarKeydown
|
|
162
|
+
},
|
|
163
|
+
onChange: _this2.handleChange,
|
|
164
|
+
onKeydown: _this2.calendarKeydown,
|
|
165
|
+
value: value,
|
|
166
|
+
attrs: _this2.v3 ? undefined : {
|
|
167
|
+
value: value
|
|
168
|
+
}
|
|
169
|
+
})])];
|
|
170
|
+
} : [_this2.media === 'desktop' ? text : shortText, h(Popup, {
|
|
171
|
+
id: _this2._popupId,
|
|
172
|
+
attrs: _this2.v3 ? undefined : {
|
|
173
|
+
id: _this2._popupId,
|
|
174
|
+
anchor: _this2.buttonId,
|
|
175
|
+
show: show
|
|
176
|
+
},
|
|
177
|
+
anchor: _this2.buttonId,
|
|
178
|
+
show: show
|
|
179
|
+
}, _this2.v3 ? function () {
|
|
180
|
+
return [h(Calendar, {
|
|
181
|
+
ref: 'calendar',
|
|
182
|
+
onBlur: _this2.onCalendarBlur,
|
|
183
|
+
on: _this2.v3 ? undefined : {
|
|
184
|
+
"blur": _this2.onCalendarBlur,
|
|
185
|
+
"change": _this2.handleChange,
|
|
186
|
+
"keydown": _this2.calendarKeydown
|
|
187
|
+
},
|
|
188
|
+
onChange: _this2.handleChange,
|
|
189
|
+
onKeydown: _this2.calendarKeydown,
|
|
190
|
+
value: value,
|
|
191
|
+
attrs: _this2.v3 ? undefined : {
|
|
192
|
+
value: value
|
|
193
|
+
}
|
|
194
|
+
})];
|
|
195
|
+
} : [h(Calendar, {
|
|
196
|
+
ref: 'calendar',
|
|
197
|
+
onBlur: _this2.onCalendarBlur,
|
|
198
|
+
on: _this2.v3 ? undefined : {
|
|
199
|
+
"blur": _this2.onCalendarBlur,
|
|
200
|
+
"change": _this2.handleChange,
|
|
201
|
+
"keydown": _this2.calendarKeydown
|
|
202
|
+
},
|
|
203
|
+
onChange: _this2.handleChange,
|
|
204
|
+
onKeydown: _this2.calendarKeydown,
|
|
205
|
+
value: value,
|
|
206
|
+
attrs: _this2.v3 ? undefined : {
|
|
207
|
+
value: value
|
|
73
208
|
}
|
|
74
|
-
})
|
|
209
|
+
})])])
|
|
75
210
|
);
|
|
76
211
|
},
|
|
77
212
|
methods: {
|
|
@@ -80,6 +215,47 @@ var NavigationDatePickerVue2 = {
|
|
|
80
215
|
this.$emit('change', __assign(__assign({}, event), {
|
|
81
216
|
value: normalizedValue
|
|
82
217
|
}));
|
|
218
|
+
this.hideAndFocusButton();
|
|
219
|
+
},
|
|
220
|
+
handleClick: function handleClick() {
|
|
221
|
+
this.show = !this.show;
|
|
222
|
+
},
|
|
223
|
+
onFocus: function onFocus() {
|
|
224
|
+
clearTimeout(this._blurTimeout);
|
|
225
|
+
this.focused = true;
|
|
226
|
+
},
|
|
227
|
+
onBlur: function onBlur() {
|
|
228
|
+
this.focused = false;
|
|
229
|
+
},
|
|
230
|
+
onCalendarBlur: function onCalendarBlur() {
|
|
231
|
+
clearTimeout(this._blurTimeout);
|
|
232
|
+
this.createBlurTimeout();
|
|
233
|
+
},
|
|
234
|
+
createBlurTimeout: function createBlurTimeout() {
|
|
235
|
+
var _this = this;
|
|
236
|
+
|
|
237
|
+
var that = this;
|
|
238
|
+
this._blurTimeout = setTimeout(function () {
|
|
239
|
+
_this.focused = false;
|
|
240
|
+
var isInPopup = document.activeElement && document.activeElement.closest("#".concat(that._popupId));
|
|
241
|
+
var isButtonActive = canUseDOM && document.activeElement !== that.$refs.button.$el;
|
|
242
|
+
|
|
243
|
+
if (isButtonActive && !isInPopup) {
|
|
244
|
+
that.show = false;
|
|
245
|
+
}
|
|
246
|
+
}, 200);
|
|
247
|
+
},
|
|
248
|
+
calendarKeydown: function calendarKeydown(e) {
|
|
249
|
+
if (e.keyCode === Keys.esc) {
|
|
250
|
+
this.hideAndFocusButton();
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
hideAndFocusButton: function hideAndFocusButton() {
|
|
254
|
+
this.show = false;
|
|
255
|
+
this.$refs.button.focus();
|
|
256
|
+
},
|
|
257
|
+
calculateMedia: function calculateMedia() {
|
|
258
|
+
this.media = window.matchMedia('(min-width: 1024px)').matches ? 'desktop' : 'mobile';
|
|
83
259
|
}
|
|
84
260
|
}
|
|
85
261
|
};
|
|
@@ -85,12 +85,12 @@ var SchedulerNavigationVue2 = {
|
|
|
85
85
|
return [h("span", {
|
|
86
86
|
"class": "k-button-text"
|
|
87
87
|
}, [h("span", {
|
|
88
|
-
"class": "k-icon k-i-
|
|
88
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
89
89
|
})])];
|
|
90
90
|
} : [h("span", {
|
|
91
91
|
"class": "k-button-text"
|
|
92
92
|
}, [h("span", {
|
|
93
|
-
"class": "k-icon k-i-
|
|
93
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
94
94
|
})])]), // @ts-ignore function children
|
|
95
95
|
h(Button, {
|
|
96
96
|
role: "button",
|
|
@@ -112,12 +112,12 @@ var SchedulerNavigationVue2 = {
|
|
|
112
112
|
return [h("span", {
|
|
113
113
|
"class": "k-button-text"
|
|
114
114
|
}, [h("span", {
|
|
115
|
-
"class": "k-icon k-i-
|
|
115
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
116
116
|
})])];
|
|
117
117
|
} : [h("span", {
|
|
118
118
|
"class": "k-button-text"
|
|
119
119
|
}, [h("span", {
|
|
120
|
-
"class": "k-icon k-i-
|
|
120
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
121
121
|
})])])];
|
|
122
122
|
} : [h(Button, {
|
|
123
123
|
role: "button",
|
|
@@ -156,12 +156,12 @@ var SchedulerNavigationVue2 = {
|
|
|
156
156
|
return [h("span", {
|
|
157
157
|
"class": "k-button-text"
|
|
158
158
|
}, [h("span", {
|
|
159
|
-
"class": "k-icon k-i-
|
|
159
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
160
160
|
})])];
|
|
161
161
|
} : [h("span", {
|
|
162
162
|
"class": "k-button-text"
|
|
163
163
|
}, [h("span", {
|
|
164
|
-
"class": "k-icon k-i-
|
|
164
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
165
165
|
})])]), h(Button, {
|
|
166
166
|
role: "button",
|
|
167
167
|
attrs: _this.v3 ? undefined : {
|
|
@@ -182,12 +182,12 @@ var SchedulerNavigationVue2 = {
|
|
|
182
182
|
return [h("span", {
|
|
183
183
|
"class": "k-button-text"
|
|
184
184
|
}, [h("span", {
|
|
185
|
-
"class": "k-icon k-i-
|
|
185
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
186
186
|
})])];
|
|
187
187
|
} : [h("span", {
|
|
188
188
|
"class": "k-button-text"
|
|
189
189
|
}, [h("span", {
|
|
190
|
-
"class": "k-icon k-i-
|
|
190
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
191
191
|
})])])])];
|
|
192
192
|
} : [h(ButtonGroup, {
|
|
193
193
|
"class": "k-scheduler-navigation"
|
|
@@ -229,12 +229,12 @@ var SchedulerNavigationVue2 = {
|
|
|
229
229
|
return [h("span", {
|
|
230
230
|
"class": "k-button-text"
|
|
231
231
|
}, [h("span", {
|
|
232
|
-
"class": "k-icon k-i-
|
|
232
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
233
233
|
})])];
|
|
234
234
|
} : [h("span", {
|
|
235
235
|
"class": "k-button-text"
|
|
236
236
|
}, [h("span", {
|
|
237
|
-
"class": "k-icon k-i-
|
|
237
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
238
238
|
})])]), h(Button, {
|
|
239
239
|
role: "button",
|
|
240
240
|
attrs: _this.v3 ? undefined : {
|
|
@@ -255,12 +255,12 @@ var SchedulerNavigationVue2 = {
|
|
|
255
255
|
return [h("span", {
|
|
256
256
|
"class": "k-button-text"
|
|
257
257
|
}, [h("span", {
|
|
258
|
-
"class": "k-icon k-i-
|
|
258
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
259
259
|
})])];
|
|
260
260
|
} : [h("span", {
|
|
261
261
|
"class": "k-button-text"
|
|
262
262
|
}, [h("span", {
|
|
263
|
-
"class": "k-icon k-i-
|
|
263
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
264
264
|
})])])];
|
|
265
265
|
} : [h(Button, {
|
|
266
266
|
role: "button",
|
|
@@ -299,12 +299,12 @@ var SchedulerNavigationVue2 = {
|
|
|
299
299
|
return [h("span", {
|
|
300
300
|
"class": "k-button-text"
|
|
301
301
|
}, [h("span", {
|
|
302
|
-
"class": "k-icon k-i-
|
|
302
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
303
303
|
})])];
|
|
304
304
|
} : [h("span", {
|
|
305
305
|
"class": "k-button-text"
|
|
306
306
|
}, [h("span", {
|
|
307
|
-
"class": "k-icon k-i-
|
|
307
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
308
308
|
})])]), h(Button, {
|
|
309
309
|
role: "button",
|
|
310
310
|
attrs: _this.v3 ? undefined : {
|
|
@@ -325,12 +325,12 @@ var SchedulerNavigationVue2 = {
|
|
|
325
325
|
return [h("span", {
|
|
326
326
|
"class": "k-button-text"
|
|
327
327
|
}, [h("span", {
|
|
328
|
-
"class": "k-icon k-i-
|
|
328
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
329
329
|
})])];
|
|
330
330
|
} : [h("span", {
|
|
331
331
|
"class": "k-button-text"
|
|
332
332
|
}, [h("span", {
|
|
333
|
-
"class": "k-icon k-i-
|
|
333
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
334
334
|
})])])])])
|
|
335
335
|
);
|
|
336
336
|
},
|
|
@@ -125,10 +125,10 @@ var ViewSelectorListVue2 = {
|
|
|
125
125
|
text: activeView.title || activeName
|
|
126
126
|
}, this.v3 ? function () {
|
|
127
127
|
return [h("span", {
|
|
128
|
-
"class": "k-icon k-i-
|
|
128
|
+
"class": "k-icon k-i-caret-alt-down"
|
|
129
129
|
})];
|
|
130
130
|
} : [h("span", {
|
|
131
|
-
"class": "k-icon k-i-
|
|
131
|
+
"class": "k-icon k-i-caret-alt-down"
|
|
132
132
|
})]), this.media === 'desktop' && // @ts-ignore function children
|
|
133
133
|
h(ButtonGroup, {
|
|
134
134
|
"class": "k-scheduler-views"
|
|
@@ -308,11 +308,11 @@ var SchedulerItemVue2 = {
|
|
|
308
308
|
}, [!_this2.$props.resizeHint && h("span", {
|
|
309
309
|
"class": "k-event-actions"
|
|
310
310
|
}, [_this2.$props.tail && h("span", {
|
|
311
|
-
"class": "k-icon k-i-
|
|
311
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
312
312
|
}), _this2.$props.isRecurring && !_this2.$props.isException && h("span", {
|
|
313
|
-
"class": "k-icon k-i-
|
|
313
|
+
"class": "k-icon k-i-arrow-rotate-cw"
|
|
314
314
|
}), !_this2.$props.isRecurring && _this2.$props.isException && h("span", {
|
|
315
|
-
"class": "k-icon k-i-
|
|
315
|
+
"class": "k-icon k-i-arrows-no-repeat"
|
|
316
316
|
})]), _this2.formItem && !_this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerForm, {
|
|
317
317
|
dataItem: _this2.formItem,
|
|
318
318
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -375,7 +375,7 @@ var SchedulerItemVue2 = {
|
|
|
375
375
|
}, [h("span", {
|
|
376
376
|
"class": "k-icon k-i-close"
|
|
377
377
|
})]), _this2.$props.head && h("span", {
|
|
378
|
-
"class": "k-icon k-i-
|
|
378
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
379
379
|
})]), _this2.currentEditable.resize && _this2.$props.vertical && [// @ts-ignore function children
|
|
380
380
|
h(Draggable, {
|
|
381
381
|
onPress: _this2.handleResizePress,
|
|
@@ -501,11 +501,11 @@ var SchedulerItemVue2 = {
|
|
|
501
501
|
}, [!_this2.$props.resizeHint && h("span", {
|
|
502
502
|
"class": "k-event-actions"
|
|
503
503
|
}, [_this2.$props.tail && h("span", {
|
|
504
|
-
"class": "k-icon k-i-
|
|
504
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
505
505
|
}), _this2.$props.isRecurring && !_this2.$props.isException && h("span", {
|
|
506
|
-
"class": "k-icon k-i-
|
|
506
|
+
"class": "k-icon k-i-arrow-rotate-cw"
|
|
507
507
|
}), !_this2.$props.isRecurring && _this2.$props.isException && h("span", {
|
|
508
|
-
"class": "k-icon k-i-
|
|
508
|
+
"class": "k-icon k-i-arrows-no-repeat"
|
|
509
509
|
})]), _this2.formItem && !_this2.showOccurrenceDialog && _this2.currentEditable.edit && h(SchedulerForm, {
|
|
510
510
|
dataItem: _this2.formItem,
|
|
511
511
|
attrs: _this2.v3 ? undefined : {
|
|
@@ -568,7 +568,7 @@ var SchedulerItemVue2 = {
|
|
|
568
568
|
}, [h("span", {
|
|
569
569
|
"class": "k-icon k-i-close"
|
|
570
570
|
})]), _this2.$props.head && h("span", {
|
|
571
|
-
"class": "k-icon k-i-
|
|
571
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
572
572
|
})]), _this2.currentEditable.resize && _this2.$props.vertical && [h(Draggable, {
|
|
573
573
|
onPress: _this2.handleResizePress,
|
|
574
574
|
on: _this2.v3 ? undefined : {
|
|
@@ -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: 1662729534,
|
|
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
|
};
|
|
@@ -137,9 +137,9 @@ var SchedulerTaskVue2 = {
|
|
|
137
137
|
backgroundColor: color
|
|
138
138
|
}
|
|
139
139
|
}), this.$props.isRecurring && h("span", {
|
|
140
|
-
"class": "k-icon k-i-
|
|
140
|
+
"class": "k-icon k-i-arrow-rotate-cw"
|
|
141
141
|
}), this.$props.isException && h("span", {
|
|
142
|
-
"class": "k-icon k-i-
|
|
142
|
+
"class": "k-icon k-i-arrows-no-repeat"
|
|
143
143
|
}), this.$props.title, defaultSlot, editable.remove && h("a", {
|
|
144
144
|
"class": "k-link k-event-delete",
|
|
145
145
|
title: deleteMessage,
|
|
@@ -123,9 +123,9 @@ var AgendaViewBodyVue2 = {
|
|
|
123
123
|
}, [h("div", {
|
|
124
124
|
"class": "k-scheduler-cell k-scheduler-timecolumn"
|
|
125
125
|
}, [h("div", [item.tail && h("span", {
|
|
126
|
-
"class": "k-icon k-i-
|
|
126
|
+
"class": "k-icon k-i-caret-alt-left"
|
|
127
127
|
}), item.isAllDay ? localization.toLanguageString(allDay, messages[allDay]) : getTimeFormat(this.intl, item), item.head && h("span", {
|
|
128
|
-
"class": "k-icon k-i-
|
|
128
|
+
"class": "k-icon k-i-caret-alt-right"
|
|
129
129
|
})])]), h("div", {
|
|
130
130
|
"class": "k-scheduler-cell"
|
|
131
131
|
}, [h(EditTask, {
|
package/dist/esm/Scheduler.js
CHANGED
|
@@ -52,35 +52,31 @@ var BusinessHoursVue2 = {
|
|
|
52
52
|
h(Button, {
|
|
53
53
|
tabIndex: -1,
|
|
54
54
|
attrs: _this.v3 ? undefined : {
|
|
55
|
-
tabIndex: -1
|
|
55
|
+
tabIndex: -1,
|
|
56
|
+
icon: 'clock'
|
|
56
57
|
},
|
|
58
|
+
icon: 'clock',
|
|
57
59
|
onClick: _this.handleShowWorkHoursClick,
|
|
58
60
|
on: _this.v3 ? undefined : {
|
|
59
61
|
"click": _this.handleShowWorkHoursClick
|
|
60
62
|
}
|
|
61
63
|
}, _this.v3 ? function () {
|
|
62
|
-
return [
|
|
63
|
-
|
|
64
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
65
|
-
} : [h("span", {
|
|
66
|
-
"class": "k-icon k-i-clock"
|
|
67
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])];
|
|
64
|
+
return [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
65
|
+
} : [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])];
|
|
68
66
|
} : [defaultSlot ? defaultSlot : h(Button, {
|
|
69
67
|
tabIndex: -1,
|
|
70
68
|
attrs: _this.v3 ? undefined : {
|
|
71
|
-
tabIndex: -1
|
|
69
|
+
tabIndex: -1,
|
|
70
|
+
icon: 'clock'
|
|
72
71
|
},
|
|
72
|
+
icon: 'clock',
|
|
73
73
|
onClick: _this.handleShowWorkHoursClick,
|
|
74
74
|
on: _this.v3 ? undefined : {
|
|
75
75
|
"click": _this.handleShowWorkHoursClick
|
|
76
76
|
}
|
|
77
77
|
}, _this.v3 ? function () {
|
|
78
|
-
return [
|
|
79
|
-
|
|
80
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
81
|
-
} : [h("span", {
|
|
82
|
-
"class": "k-icon k-i-clock"
|
|
83
|
-
}), _this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])]) : null;
|
|
78
|
+
return [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])];
|
|
79
|
+
} : [_this.localization.toLanguageString(_this.ks.showWorkHours ? showFullDay : showWorkDay, messages[_this.ks.showWorkHours ? showFullDay : showWorkDay])])]) : null;
|
|
84
80
|
},
|
|
85
81
|
methods: {
|
|
86
82
|
handleShowWorkHoursClick: function handleShowWorkHoursClick(e) {
|