@progress/kendo-vue-dateinputs 3.0.1-dev.202201201352 → 3.0.3-dev.202201280639
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-dateinputs.js +1 -1
- package/dist/es/calendar/components/Calendar.js +1 -1
- package/dist/es/calendar/components/CalendarHeaderTitle.js +3 -1
- package/dist/es/calendar/components/Header.js +6 -2
- package/dist/es/dateinput/DateInput.js +9 -5
- package/dist/es/datepicker/DatePicker.js +2 -2
- package/dist/es/daterangepicker/DateRangePicker.js +1 -1
- package/dist/es/datetimepicker/DateTimePicker.js +5 -3
- package/dist/es/datetimepicker/DateTimeSelector.js +22 -10
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/TimePart.js +4 -2
- package/dist/es/timepicker/TimePicker.js +5 -3
- package/dist/es/timepicker/TimeSelector.js +10 -6
- package/dist/npm/calendar/components/Calendar.js +1 -1
- package/dist/npm/calendar/components/CalendarHeaderTitle.js +3 -1
- package/dist/npm/calendar/components/Header.js +6 -2
- package/dist/npm/dateinput/DateInput.js +9 -5
- package/dist/npm/datepicker/DatePicker.js +2 -2
- package/dist/npm/daterangepicker/DateRangePicker.js +1 -1
- package/dist/npm/datetimepicker/DateTimePicker.js +5 -3
- package/dist/npm/datetimepicker/DateTimeSelector.js +22 -10
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/timepicker/TimePart.js +4 -2
- package/dist/npm/timepicker/TimePicker.js +5 -3
- package/dist/npm/timepicker/TimeSelector.js +10 -6
- package/package.json +7 -7
|
@@ -350,9 +350,9 @@ var Calendar = {
|
|
|
350
350
|
valueAsDate: value
|
|
351
351
|
}
|
|
352
352
|
};
|
|
353
|
-
this.$emit('change', args);
|
|
354
353
|
this.$emit('changemodel', value);
|
|
355
354
|
this.$emit('update:modelValue', value);
|
|
355
|
+
this.$emit('change', args);
|
|
356
356
|
this.$data.valueDuringOnChange = undefined;
|
|
357
357
|
},
|
|
358
358
|
handleMouseDown: function handleMouseDown(event) {
|
|
@@ -44,13 +44,15 @@ var CalendarHeaderTitle = {
|
|
|
44
44
|
var defaultSlot = getDefaultSlots(this);
|
|
45
45
|
return (// @ts-ignore function children
|
|
46
46
|
h(KButton, {
|
|
47
|
-
|
|
47
|
+
type: "button",
|
|
48
48
|
attrs: this.v3 ? undefined : {
|
|
49
|
+
type: "button",
|
|
49
50
|
value: this.$props.value,
|
|
50
51
|
id: this.$props.id,
|
|
51
52
|
fillMode: 'flat',
|
|
52
53
|
tabIndex: 0
|
|
53
54
|
},
|
|
55
|
+
value: this.$props.value,
|
|
54
56
|
id: this.$props.id,
|
|
55
57
|
fillMode: 'flat',
|
|
56
58
|
onClick: this.handleClick,
|
|
@@ -213,8 +213,9 @@ var Header = {
|
|
|
213
213
|
"class": 'k-calendar-nav k-hstack'
|
|
214
214
|
}, [// @ts-ignore
|
|
215
215
|
h(KButton, {
|
|
216
|
-
|
|
216
|
+
type: "button",
|
|
217
217
|
attrs: this.v3 ? undefined : {
|
|
218
|
+
type: "button",
|
|
218
219
|
icon: 'arrow-60-left',
|
|
219
220
|
size: this.$props.size,
|
|
220
221
|
fillMode: 'flat',
|
|
@@ -222,6 +223,7 @@ var Header = {
|
|
|
222
223
|
"aria-label": prevViewTitle,
|
|
223
224
|
title: prevViewTitle
|
|
224
225
|
},
|
|
226
|
+
icon: 'arrow-60-left',
|
|
225
227
|
size: this.$props.size,
|
|
226
228
|
fillMode: 'flat',
|
|
227
229
|
"class": "k-prev-view",
|
|
@@ -246,8 +248,9 @@ var Header = {
|
|
|
246
248
|
onClick: this.handleTodayClick
|
|
247
249
|
}, [todayMessage]), // @ts-ignore
|
|
248
250
|
h(KButton, {
|
|
249
|
-
|
|
251
|
+
type: "button",
|
|
250
252
|
attrs: this.v3 ? undefined : {
|
|
253
|
+
type: "button",
|
|
251
254
|
icon: 'arrow-60-right',
|
|
252
255
|
size: this.$props.size,
|
|
253
256
|
fillMode: 'flat',
|
|
@@ -255,6 +258,7 @@ var Header = {
|
|
|
255
258
|
"aria-label": nextViewTittle,
|
|
256
259
|
title: nextViewTittle
|
|
257
260
|
},
|
|
261
|
+
icon: 'arrow-60-right',
|
|
258
262
|
size: this.$props.size,
|
|
259
263
|
fillMode: 'flat',
|
|
260
264
|
"class": "k-next-view",
|
|
@@ -363,7 +363,9 @@ var DateInput = {
|
|
|
363
363
|
this.$data.valueDuringOnChange = this.computedValue;
|
|
364
364
|
|
|
365
365
|
if (!isEqual(oldValue, this.computedValue)) {
|
|
366
|
-
|
|
366
|
+
this.$emit('changemodel', this.computedValue);
|
|
367
|
+
this.$emit('update:modelValue', this.computedValue); // isEqual works with null
|
|
368
|
+
|
|
367
369
|
this.$emit('change', {
|
|
368
370
|
event: event,
|
|
369
371
|
value: this.computedValue,
|
|
@@ -375,8 +377,6 @@ var DateInput = {
|
|
|
375
377
|
},
|
|
376
378
|
validity: this.validity()
|
|
377
379
|
});
|
|
378
|
-
this.$emit('changemodel', this.computedValue);
|
|
379
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
this.$data.valueDuringOnChange = undefined;
|
|
@@ -631,8 +631,9 @@ var DateInput = {
|
|
|
631
631
|
}
|
|
632
632
|
}, [// @ts-ignore
|
|
633
633
|
h(KButton, {
|
|
634
|
-
|
|
634
|
+
type: "button",
|
|
635
635
|
attrs: this.v3 ? undefined : {
|
|
636
|
+
type: "button",
|
|
636
637
|
tabIndex: -1,
|
|
637
638
|
icon: 'arrow-n',
|
|
638
639
|
size: this.$props.size,
|
|
@@ -640,6 +641,7 @@ var DateInput = {
|
|
|
640
641
|
"aria-label": localizationService.toLanguageString(increaseValue, messages[increaseValue]),
|
|
641
642
|
title: localizationService.toLanguageString(increaseValue, messages[increaseValue])
|
|
642
643
|
},
|
|
644
|
+
tabIndex: -1,
|
|
643
645
|
icon: 'arrow-n',
|
|
644
646
|
size: this.$props.size,
|
|
645
647
|
fillMode: this.$props.fillMode,
|
|
@@ -652,8 +654,9 @@ var DateInput = {
|
|
|
652
654
|
}
|
|
653
655
|
}), // @ts-ignore
|
|
654
656
|
h(KButton, {
|
|
655
|
-
|
|
657
|
+
type: "button",
|
|
656
658
|
attrs: this.v3 ? undefined : {
|
|
659
|
+
type: "button",
|
|
657
660
|
tabIndex: -1,
|
|
658
661
|
icon: 'arrow-s',
|
|
659
662
|
size: this.$props.size,
|
|
@@ -661,6 +664,7 @@ var DateInput = {
|
|
|
661
664
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
662
665
|
title: localizationService.toLanguageString(decreaseValue, messages[decreaseValue])
|
|
663
666
|
},
|
|
667
|
+
tabIndex: -1,
|
|
664
668
|
"class": "k-spinner-decrease",
|
|
665
669
|
icon: 'arrow-s',
|
|
666
670
|
size: this.$props.size,
|
|
@@ -323,6 +323,8 @@ var DatePicker = {
|
|
|
323
323
|
this.$data.valueDuringOnChange = value;
|
|
324
324
|
this.$data.showDuringOnChange = false;
|
|
325
325
|
this.$data.shouldFocusDateInput = true;
|
|
326
|
+
this.$emit('changemodel', this.computedValue);
|
|
327
|
+
this.$emit('update:modelValue', this.computedValue);
|
|
326
328
|
this.$emit('change', {
|
|
327
329
|
event: event.event,
|
|
328
330
|
value: this.computedValue,
|
|
@@ -335,8 +337,6 @@ var DatePicker = {
|
|
|
335
337
|
},
|
|
336
338
|
validity: this.validity()
|
|
337
339
|
});
|
|
338
|
-
this.$emit('changemodel', this.computedValue);
|
|
339
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
340
340
|
this.$data.valueDuringOnChange = undefined;
|
|
341
341
|
this.$data.showDuringOnChange = undefined;
|
|
342
342
|
},
|
|
@@ -625,9 +625,9 @@ var DateRangePicker = {
|
|
|
625
625
|
show: this.computedShow
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
|
-
this.$emit('change', args);
|
|
629
628
|
this.$emit('changemodel', this.computedValue);
|
|
630
629
|
this.$emit('update:modelValue', this.computedValue);
|
|
630
|
+
this.$emit('change', args);
|
|
631
631
|
this.valueDuringOnChange = undefined;
|
|
632
632
|
}
|
|
633
633
|
}
|
|
@@ -483,14 +483,16 @@ var DateTimePicker = {
|
|
|
483
483
|
onFocusout: this.handleBlur
|
|
484
484
|
}, [dateInputRendering, // @ts-ignore
|
|
485
485
|
h(Button, {
|
|
486
|
-
|
|
486
|
+
type: "button",
|
|
487
487
|
attrs: this.v3 ? undefined : {
|
|
488
|
+
type: "button",
|
|
488
489
|
tabIndex: -1,
|
|
489
490
|
icon: 'calendar',
|
|
490
491
|
title: provideLocalizationService(this).toLanguageString(toggleDateTimeSelector, messages[toggleDateTimeSelector]),
|
|
491
492
|
"aria-controls": this._popupId,
|
|
492
493
|
"aria-label": provideLocalizationService(this).toLanguageString(toggleDateTimeSelector, messages[toggleDateTimeSelector])
|
|
493
494
|
},
|
|
495
|
+
tabIndex: -1,
|
|
494
496
|
icon: 'calendar',
|
|
495
497
|
onMousedown: this.handleIconMouseDown,
|
|
496
498
|
on: this.v3 ? undefined : {
|
|
@@ -566,6 +568,8 @@ var DateTimePicker = {
|
|
|
566
568
|
this.valueDuringOnChange = event.value;
|
|
567
569
|
this.showDuringOnChange = false;
|
|
568
570
|
this.shouldFocusDateInput = true;
|
|
571
|
+
this.$emit('changemodel', this.computedValue);
|
|
572
|
+
this.$emit('update:modelValue', this.computedValue);
|
|
569
573
|
this.$emit('change', {
|
|
570
574
|
event: event.event,
|
|
571
575
|
value: this.computedValue,
|
|
@@ -577,8 +581,6 @@ var DateTimePicker = {
|
|
|
577
581
|
valueAsDate: this.computedValue
|
|
578
582
|
}
|
|
579
583
|
});
|
|
580
|
-
this.$emit('changemodel', this.computedValue);
|
|
581
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
582
584
|
this.valueDuringOnChange = undefined;
|
|
583
585
|
this.showDuringOnChange = undefined;
|
|
584
586
|
},
|
|
@@ -196,11 +196,13 @@ var DateTimeSelector = {
|
|
|
196
196
|
}, this.v3 ? function () {
|
|
197
197
|
return [// @ts-ignore function children
|
|
198
198
|
h(Button, {
|
|
199
|
-
|
|
199
|
+
type: "button",
|
|
200
200
|
attrs: _this2.v3 ? undefined : {
|
|
201
|
+
type: "button",
|
|
201
202
|
selected: _this2.currentTab === 'date',
|
|
202
203
|
togglable: true
|
|
203
204
|
},
|
|
205
|
+
selected: _this2.currentTab === 'date',
|
|
204
206
|
togglable: true,
|
|
205
207
|
onClick: _this2.handleDateClick,
|
|
206
208
|
on: _this2.v3 ? undefined : {
|
|
@@ -210,11 +212,13 @@ var DateTimeSelector = {
|
|
|
210
212
|
return [dateMessage];
|
|
211
213
|
} : [dateMessage]), // @ts-ignore function children
|
|
212
214
|
h(Button, {
|
|
213
|
-
|
|
215
|
+
type: "button",
|
|
214
216
|
attrs: _this2.v3 ? undefined : {
|
|
217
|
+
type: "button",
|
|
215
218
|
selected: _this2.currentTab === 'time',
|
|
216
219
|
togglable: true
|
|
217
220
|
},
|
|
221
|
+
selected: _this2.currentTab === 'time',
|
|
218
222
|
togglable: true,
|
|
219
223
|
onClick: _this2.handleTimeClick,
|
|
220
224
|
on: _this2.v3 ? undefined : {
|
|
@@ -224,11 +228,13 @@ var DateTimeSelector = {
|
|
|
224
228
|
return [timeMessage];
|
|
225
229
|
} : [timeMessage])];
|
|
226
230
|
} : [h(Button, {
|
|
227
|
-
|
|
231
|
+
type: "button",
|
|
228
232
|
attrs: _this2.v3 ? undefined : {
|
|
233
|
+
type: "button",
|
|
229
234
|
selected: _this2.currentTab === 'date',
|
|
230
235
|
togglable: true
|
|
231
236
|
},
|
|
237
|
+
selected: _this2.currentTab === 'date',
|
|
232
238
|
togglable: true,
|
|
233
239
|
onClick: _this2.handleDateClick,
|
|
234
240
|
on: _this2.v3 ? undefined : {
|
|
@@ -237,11 +243,13 @@ var DateTimeSelector = {
|
|
|
237
243
|
}, _this2.v3 ? function () {
|
|
238
244
|
return [dateMessage];
|
|
239
245
|
} : [dateMessage]), h(Button, {
|
|
240
|
-
|
|
246
|
+
type: "button",
|
|
241
247
|
attrs: _this2.v3 ? undefined : {
|
|
248
|
+
type: "button",
|
|
242
249
|
selected: _this2.currentTab === 'time',
|
|
243
250
|
togglable: true
|
|
244
251
|
},
|
|
252
|
+
selected: _this2.currentTab === 'time',
|
|
245
253
|
togglable: true,
|
|
246
254
|
onClick: _this2.handleTimeClick,
|
|
247
255
|
on: _this2.v3 ? undefined : {
|
|
@@ -290,6 +298,12 @@ var DateTimeSelector = {
|
|
|
290
298
|
"class": "k-datetime-footer k-actions k-actions-stretched"
|
|
291
299
|
}, [cancelButton && // @ts-ignore function children
|
|
292
300
|
h(Button, {
|
|
301
|
+
type: "button",
|
|
302
|
+
attrs: this.v3 ? undefined : {
|
|
303
|
+
type: "button",
|
|
304
|
+
title: cancelMessage,
|
|
305
|
+
"aria-label": cancelMessage
|
|
306
|
+
},
|
|
293
307
|
ref: 'cancelButton',
|
|
294
308
|
"class": "k-time-cancel",
|
|
295
309
|
onClick: this.handleReject,
|
|
@@ -297,23 +311,21 @@ var DateTimeSelector = {
|
|
|
297
311
|
"click": this.handleReject
|
|
298
312
|
},
|
|
299
313
|
title: cancelMessage,
|
|
300
|
-
attrs: this.v3 ? undefined : {
|
|
301
|
-
title: cancelMessage,
|
|
302
|
-
"aria-label": cancelMessage
|
|
303
|
-
},
|
|
304
314
|
"aria-label": cancelMessage
|
|
305
315
|
}, this.v3 ? function () {
|
|
306
316
|
return [cancelMessage];
|
|
307
317
|
} : [cancelMessage]), // @ts-ignore function children
|
|
308
318
|
h(Button, {
|
|
309
|
-
|
|
310
|
-
disabled: !this.hasDateValue,
|
|
319
|
+
type: "button",
|
|
311
320
|
attrs: this.v3 ? undefined : {
|
|
321
|
+
type: "button",
|
|
312
322
|
disabled: !this.hasDateValue,
|
|
313
323
|
themeColor: 'primary',
|
|
314
324
|
title: setMessage,
|
|
315
325
|
"aria-label": setMessage
|
|
316
326
|
},
|
|
327
|
+
ref: 'acceptButton',
|
|
328
|
+
disabled: !this.hasDateValue,
|
|
317
329
|
themeColor: 'primary',
|
|
318
330
|
"class": 'k-time-accept',
|
|
319
331
|
onClick: this.handleAccept,
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-dateinputs',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1643351577,
|
|
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
|
};
|
|
@@ -161,14 +161,16 @@ var TimePart = {
|
|
|
161
161
|
"class": "k-title"
|
|
162
162
|
}, [this.intl.formatDate(this.computedValue, this.dateFormatParts.reduce(this.timeFormatReducer, ''))]), this.showNowButton() && // @ts-ignore function children
|
|
163
163
|
h(Button, {
|
|
164
|
-
|
|
165
|
-
fillMode: 'flat',
|
|
164
|
+
type: "button",
|
|
166
165
|
attrs: this.v3 ? undefined : {
|
|
166
|
+
type: "button",
|
|
167
167
|
fillMode: 'flat',
|
|
168
168
|
title: selectNowMessage,
|
|
169
169
|
"aria-label": selectNowMessage,
|
|
170
170
|
tabIndex: disabled ? -1 : 0
|
|
171
171
|
},
|
|
172
|
+
ref: 'nowButton',
|
|
173
|
+
fillMode: 'flat',
|
|
172
174
|
"class": "k-time-now",
|
|
173
175
|
title: selectNowMessage,
|
|
174
176
|
"aria-label": selectNowMessage,
|
|
@@ -480,14 +480,16 @@ var TimePicker = {
|
|
|
480
480
|
} : this._anchor
|
|
481
481
|
}, [dateInputRendering, // @ts-ignore
|
|
482
482
|
h(KButton, {
|
|
483
|
-
|
|
483
|
+
type: "button",
|
|
484
484
|
attrs: this.v3 ? undefined : {
|
|
485
|
+
type: "button",
|
|
485
486
|
tabIndex: -1,
|
|
486
487
|
icon: 'clock',
|
|
487
488
|
title: toggleTimeMessage,
|
|
488
489
|
"aria-controls": this._popupId,
|
|
489
490
|
"aria-label": toggleClockMessage
|
|
490
491
|
},
|
|
492
|
+
tabIndex: -1,
|
|
491
493
|
icon: 'clock',
|
|
492
494
|
onMousedown: this.handleIconMouseDown,
|
|
493
495
|
on: this.v3 ? undefined : {
|
|
@@ -573,6 +575,8 @@ var TimePicker = {
|
|
|
573
575
|
this.valueDuringOnChange = event.value;
|
|
574
576
|
this.showDuringOnChange = false;
|
|
575
577
|
this.shouldFocusDateInput = true;
|
|
578
|
+
this.$emit('changemodel', this.computedValue);
|
|
579
|
+
this.$emit('update:modelValue', this.computedValue);
|
|
576
580
|
this.$emit('change', {
|
|
577
581
|
event: event.event,
|
|
578
582
|
value: this.computedValue,
|
|
@@ -584,8 +588,6 @@ var TimePicker = {
|
|
|
584
588
|
valueAsDate: this.computedValue
|
|
585
589
|
}
|
|
586
590
|
});
|
|
587
|
-
this.$emit('changemodel', this.computedValue);
|
|
588
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
589
591
|
this.valueDuringOnChange = undefined;
|
|
590
592
|
this.showDuringOnChange = undefined;
|
|
591
593
|
},
|
|
@@ -196,6 +196,12 @@ var TimeSelector = {
|
|
|
196
196
|
"class": "k-time-footer k-actions k-actions-stretched"
|
|
197
197
|
}, [cancelButton && // @ts-ignore function children
|
|
198
198
|
h(Button, {
|
|
199
|
+
type: "button",
|
|
200
|
+
attrs: this.v3 ? undefined : {
|
|
201
|
+
type: "button",
|
|
202
|
+
title: cancelMessage,
|
|
203
|
+
"aria-label": cancelMessage
|
|
204
|
+
},
|
|
199
205
|
ref: 'cancelButton',
|
|
200
206
|
"class": "k-time-cancel",
|
|
201
207
|
onClick: this.handleReject,
|
|
@@ -203,22 +209,20 @@ var TimeSelector = {
|
|
|
203
209
|
"click": this.handleReject
|
|
204
210
|
},
|
|
205
211
|
title: cancelMessage,
|
|
206
|
-
attrs: this.v3 ? undefined : {
|
|
207
|
-
title: cancelMessage,
|
|
208
|
-
"aria-label": cancelMessage
|
|
209
|
-
},
|
|
210
212
|
"aria-label": cancelMessage
|
|
211
213
|
}, this.v3 ? function () {
|
|
212
214
|
return [cancelMessage];
|
|
213
215
|
} : [cancelMessage]), // @ts-ignore function children
|
|
214
216
|
h(Button, {
|
|
215
|
-
|
|
216
|
-
themeColor: 'primary',
|
|
217
|
+
type: "button",
|
|
217
218
|
attrs: this.v3 ? undefined : {
|
|
219
|
+
type: "button",
|
|
218
220
|
themeColor: 'primary',
|
|
219
221
|
title: setMessage,
|
|
220
222
|
"aria-label": setMessage
|
|
221
223
|
},
|
|
224
|
+
ref: 'acceptButton',
|
|
225
|
+
themeColor: 'primary',
|
|
222
226
|
"class": "k-time-accept",
|
|
223
227
|
onClick: this.handleAccept,
|
|
224
228
|
on: this.v3 ? undefined : {
|
|
@@ -369,9 +369,9 @@ var Calendar = {
|
|
|
369
369
|
valueAsDate: value
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
|
-
this.$emit('change', args);
|
|
373
372
|
this.$emit('changemodel', value);
|
|
374
373
|
this.$emit('update:modelValue', value);
|
|
374
|
+
this.$emit('change', args);
|
|
375
375
|
this.$data.valueDuringOnChange = undefined;
|
|
376
376
|
},
|
|
377
377
|
handleMouseDown: function handleMouseDown(event) {
|
|
@@ -54,13 +54,15 @@ var CalendarHeaderTitle = {
|
|
|
54
54
|
var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
|
|
55
55
|
return (// @ts-ignore function children
|
|
56
56
|
h(kendo_vue_buttons_1.Button, {
|
|
57
|
-
|
|
57
|
+
type: "button",
|
|
58
58
|
attrs: this.v3 ? undefined : {
|
|
59
|
+
type: "button",
|
|
59
60
|
value: this.$props.value,
|
|
60
61
|
id: this.$props.id,
|
|
61
62
|
fillMode: 'flat',
|
|
62
63
|
tabIndex: 0
|
|
63
64
|
},
|
|
65
|
+
value: this.$props.value,
|
|
64
66
|
id: this.$props.id,
|
|
65
67
|
fillMode: 'flat',
|
|
66
68
|
onClick: this.handleClick,
|
|
@@ -230,8 +230,9 @@ var Header = {
|
|
|
230
230
|
"class": 'k-calendar-nav k-hstack'
|
|
231
231
|
}, [// @ts-ignore
|
|
232
232
|
h(kendo_vue_buttons_1.Button, {
|
|
233
|
-
|
|
233
|
+
type: "button",
|
|
234
234
|
attrs: this.v3 ? undefined : {
|
|
235
|
+
type: "button",
|
|
235
236
|
icon: 'arrow-60-left',
|
|
236
237
|
size: this.$props.size,
|
|
237
238
|
fillMode: 'flat',
|
|
@@ -239,6 +240,7 @@ var Header = {
|
|
|
239
240
|
"aria-label": prevViewTitle,
|
|
240
241
|
title: prevViewTitle
|
|
241
242
|
},
|
|
243
|
+
icon: 'arrow-60-left',
|
|
242
244
|
size: this.$props.size,
|
|
243
245
|
fillMode: 'flat',
|
|
244
246
|
"class": "k-prev-view",
|
|
@@ -263,8 +265,9 @@ var Header = {
|
|
|
263
265
|
onClick: this.handleTodayClick
|
|
264
266
|
}, [todayMessage]), // @ts-ignore
|
|
265
267
|
h(kendo_vue_buttons_1.Button, {
|
|
266
|
-
|
|
268
|
+
type: "button",
|
|
267
269
|
attrs: this.v3 ? undefined : {
|
|
270
|
+
type: "button",
|
|
268
271
|
icon: 'arrow-60-right',
|
|
269
272
|
size: this.$props.size,
|
|
270
273
|
fillMode: 'flat',
|
|
@@ -272,6 +275,7 @@ var Header = {
|
|
|
272
275
|
"aria-label": nextViewTittle,
|
|
273
276
|
title: nextViewTittle
|
|
274
277
|
},
|
|
278
|
+
icon: 'arrow-60-right',
|
|
275
279
|
size: this.$props.size,
|
|
276
280
|
fillMode: 'flat',
|
|
277
281
|
"class": "k-next-view",
|
|
@@ -383,7 +383,9 @@ var DateInput = {
|
|
|
383
383
|
this.$data.valueDuringOnChange = this.computedValue;
|
|
384
384
|
|
|
385
385
|
if (!kendo_date_math_1.isEqual(oldValue, this.computedValue)) {
|
|
386
|
-
|
|
386
|
+
this.$emit('changemodel', this.computedValue);
|
|
387
|
+
this.$emit('update:modelValue', this.computedValue); // isEqual works with null
|
|
388
|
+
|
|
387
389
|
this.$emit('change', {
|
|
388
390
|
event: event,
|
|
389
391
|
value: this.computedValue,
|
|
@@ -395,8 +397,6 @@ var DateInput = {
|
|
|
395
397
|
},
|
|
396
398
|
validity: this.validity()
|
|
397
399
|
});
|
|
398
|
-
this.$emit('changemodel', this.computedValue);
|
|
399
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
this.$data.valueDuringOnChange = undefined;
|
|
@@ -651,8 +651,9 @@ var DateInput = {
|
|
|
651
651
|
}
|
|
652
652
|
}, [// @ts-ignore
|
|
653
653
|
h(kendo_vue_buttons_1.Button, {
|
|
654
|
-
|
|
654
|
+
type: "button",
|
|
655
655
|
attrs: this.v3 ? undefined : {
|
|
656
|
+
type: "button",
|
|
656
657
|
tabIndex: -1,
|
|
657
658
|
icon: 'arrow-n',
|
|
658
659
|
size: this.$props.size,
|
|
@@ -660,6 +661,7 @@ var DateInput = {
|
|
|
660
661
|
"aria-label": localizationService.toLanguageString(messages_1.increaseValue, messages_1.messages[messages_1.increaseValue]),
|
|
661
662
|
title: localizationService.toLanguageString(messages_1.increaseValue, messages_1.messages[messages_1.increaseValue])
|
|
662
663
|
},
|
|
664
|
+
tabIndex: -1,
|
|
663
665
|
icon: 'arrow-n',
|
|
664
666
|
size: this.$props.size,
|
|
665
667
|
fillMode: this.$props.fillMode,
|
|
@@ -672,8 +674,9 @@ var DateInput = {
|
|
|
672
674
|
}
|
|
673
675
|
}), // @ts-ignore
|
|
674
676
|
h(kendo_vue_buttons_1.Button, {
|
|
675
|
-
|
|
677
|
+
type: "button",
|
|
676
678
|
attrs: this.v3 ? undefined : {
|
|
679
|
+
type: "button",
|
|
677
680
|
tabIndex: -1,
|
|
678
681
|
icon: 'arrow-s',
|
|
679
682
|
size: this.$props.size,
|
|
@@ -681,6 +684,7 @@ var DateInput = {
|
|
|
681
684
|
"aria-label": localizationService.toLanguageString(messages_1.decreaseValue, messages_1.messages[messages_1.decreaseValue]),
|
|
682
685
|
title: localizationService.toLanguageString(messages_1.decreaseValue, messages_1.messages[messages_1.decreaseValue])
|
|
683
686
|
},
|
|
687
|
+
tabIndex: -1,
|
|
684
688
|
"class": "k-spinner-decrease",
|
|
685
689
|
icon: 'arrow-s',
|
|
686
690
|
size: this.$props.size,
|
|
@@ -343,6 +343,8 @@ var DatePicker = {
|
|
|
343
343
|
this.$data.valueDuringOnChange = value;
|
|
344
344
|
this.$data.showDuringOnChange = false;
|
|
345
345
|
this.$data.shouldFocusDateInput = true;
|
|
346
|
+
this.$emit('changemodel', this.computedValue);
|
|
347
|
+
this.$emit('update:modelValue', this.computedValue);
|
|
346
348
|
this.$emit('change', {
|
|
347
349
|
event: event.event,
|
|
348
350
|
value: this.computedValue,
|
|
@@ -355,8 +357,6 @@ var DatePicker = {
|
|
|
355
357
|
},
|
|
356
358
|
validity: this.validity()
|
|
357
359
|
});
|
|
358
|
-
this.$emit('changemodel', this.computedValue);
|
|
359
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
360
360
|
this.$data.valueDuringOnChange = undefined;
|
|
361
361
|
this.$data.showDuringOnChange = undefined;
|
|
362
362
|
},
|
|
@@ -644,9 +644,9 @@ var DateRangePicker = {
|
|
|
644
644
|
show: this.computedShow
|
|
645
645
|
}
|
|
646
646
|
};
|
|
647
|
-
this.$emit('change', args);
|
|
648
647
|
this.$emit('changemodel', this.computedValue);
|
|
649
648
|
this.$emit('update:modelValue', this.computedValue);
|
|
649
|
+
this.$emit('change', args);
|
|
650
650
|
this.valueDuringOnChange = undefined;
|
|
651
651
|
}
|
|
652
652
|
}
|
|
@@ -505,14 +505,16 @@ var DateTimePicker = {
|
|
|
505
505
|
onFocusout: this.handleBlur
|
|
506
506
|
}, [dateInputRendering, // @ts-ignore
|
|
507
507
|
h(kendo_vue_buttons_1.Button, {
|
|
508
|
-
|
|
508
|
+
type: "button",
|
|
509
509
|
attrs: this.v3 ? undefined : {
|
|
510
|
+
type: "button",
|
|
510
511
|
tabIndex: -1,
|
|
511
512
|
icon: 'calendar',
|
|
512
513
|
title: kendo_vue_intl_1.provideLocalizationService(this).toLanguageString(messages_1.toggleDateTimeSelector, messages_1.messages[messages_1.toggleDateTimeSelector]),
|
|
513
514
|
"aria-controls": this._popupId,
|
|
514
515
|
"aria-label": kendo_vue_intl_1.provideLocalizationService(this).toLanguageString(messages_1.toggleDateTimeSelector, messages_1.messages[messages_1.toggleDateTimeSelector])
|
|
515
516
|
},
|
|
517
|
+
tabIndex: -1,
|
|
516
518
|
icon: 'calendar',
|
|
517
519
|
onMousedown: this.handleIconMouseDown,
|
|
518
520
|
on: this.v3 ? undefined : {
|
|
@@ -588,6 +590,8 @@ var DateTimePicker = {
|
|
|
588
590
|
this.valueDuringOnChange = event.value;
|
|
589
591
|
this.showDuringOnChange = false;
|
|
590
592
|
this.shouldFocusDateInput = true;
|
|
593
|
+
this.$emit('changemodel', this.computedValue);
|
|
594
|
+
this.$emit('update:modelValue', this.computedValue);
|
|
591
595
|
this.$emit('change', {
|
|
592
596
|
event: event.event,
|
|
593
597
|
value: this.computedValue,
|
|
@@ -599,8 +603,6 @@ var DateTimePicker = {
|
|
|
599
603
|
valueAsDate: this.computedValue
|
|
600
604
|
}
|
|
601
605
|
});
|
|
602
|
-
this.$emit('changemodel', this.computedValue);
|
|
603
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
604
606
|
this.valueDuringOnChange = undefined;
|
|
605
607
|
this.showDuringOnChange = undefined;
|
|
606
608
|
},
|