@progress/kendo-vue-dateinputs 3.0.2 → 3.0.4-dev.202202011210
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/CalendarHeaderTitle.js +3 -1
- package/dist/es/calendar/components/Header.js +6 -2
- package/dist/es/calendar/components/interfaces/CalendarProps.d.ts +3 -3
- package/dist/es/dateinput/DateInput.js +6 -2
- package/dist/es/dateinput/interfaces/DateInputProps.d.ts +1 -1
- package/dist/es/datepicker/interfaces/DatePickerProps.d.ts +2 -2
- package/dist/es/datepicker/models/DatePickerSettings.d.ts +2 -2
- package/dist/es/daterangepicker/models/DateRangePickerSettings.d.ts +2 -2
- package/dist/es/datetimepicker/DateTimePicker.js +3 -1
- package/dist/es/datetimepicker/DateTimeSelector.js +22 -10
- package/dist/es/datetimepicker/models/DateTimePickerSettings.d.ts +3 -3
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/TimePart.js +4 -2
- package/dist/es/timepicker/TimePicker.js +3 -1
- package/dist/es/timepicker/TimeSelector.js +10 -6
- package/dist/es/timepicker/models/TimePickerSettings.d.ts +3 -3
- package/dist/npm/calendar/components/CalendarHeaderTitle.js +3 -1
- package/dist/npm/calendar/components/Header.js +6 -2
- package/dist/npm/calendar/components/interfaces/CalendarProps.d.ts +3 -3
- package/dist/npm/dateinput/DateInput.js +6 -2
- package/dist/npm/dateinput/interfaces/DateInputProps.d.ts +1 -1
- package/dist/npm/datepicker/interfaces/DatePickerProps.d.ts +2 -2
- package/dist/npm/datepicker/models/DatePickerSettings.d.ts +2 -2
- package/dist/npm/daterangepicker/models/DateRangePickerSettings.d.ts +2 -2
- package/dist/npm/datetimepicker/DateTimePicker.js +3 -1
- package/dist/npm/datetimepicker/DateTimeSelector.js +22 -10
- package/dist/npm/datetimepicker/models/DateTimePickerSettings.d.ts +3 -3
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/timepicker/TimePart.js +4 -2
- package/dist/npm/timepicker/TimePicker.js +3 -1
- package/dist/npm/timepicker/TimeSelector.js +10 -6
- package/dist/npm/timepicker/models/TimePickerSettings.d.ts +3 -3
- package/package.json +7 -7
|
@@ -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",
|
|
@@ -26,15 +26,15 @@ export interface CalendarProps extends CalendarSettings {
|
|
|
26
26
|
/**
|
|
27
27
|
* An event that is called after the value of the Calendar has changed.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
onChange?: (event: CalendarChangeEvent) => void;
|
|
30
30
|
/**
|
|
31
31
|
* An event called when the week number cell is clicked.
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
onWeekcellclick?: (event: CalendarWeekCellClickEvent) => void;
|
|
34
34
|
/**
|
|
35
35
|
* An event called when the week name cell is clicked.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
onWeeknameclick?: (event: CalendarWeekNameClickEvent) => void;
|
|
38
38
|
/**
|
|
39
39
|
* Sets the value of the Calendar.
|
|
40
40
|
*/
|
|
@@ -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,
|
|
@@ -27,5 +27,5 @@ export interface DateInputProps extends FormComponentProps, DateInputSettings {
|
|
|
27
27
|
/**
|
|
28
28
|
* Determines the event handler that will be fired when the user edits the value ([see example]({% slug dateranges_dateinput_native %}).
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
onChange?: (event: any) => void;
|
|
31
31
|
}
|
|
@@ -16,11 +16,11 @@ export interface DatePickerProps extends DatePickerSettings, FormComponentProps
|
|
|
16
16
|
/**
|
|
17
17
|
* Fires each time the user selects a new value ([see example]({% slug controlled_datepicker_native %}#toc-controlling-the-date-value)).
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
onChange?: (event: DatePickerChangeEvent) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Fires when the icon element is clicked.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
onIconclick?: (event: any) => void;
|
|
24
24
|
/**
|
|
25
25
|
* Renders a floating label for the DatePicker.
|
|
26
26
|
*/
|
|
@@ -108,11 +108,11 @@ export interface DatePickerSettings {
|
|
|
108
108
|
/**
|
|
109
109
|
* Fires each time any of the DatePicker elements gets blurred.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
onBlur?: (event: any) => void;
|
|
112
112
|
/**
|
|
113
113
|
* Fires each time the user focuses any of the DatePicker elements.
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
onFocus?: (event: any) => void;
|
|
116
116
|
/**
|
|
117
117
|
* Configures the popup options of the DatePicker.
|
|
118
118
|
*
|
|
@@ -120,11 +120,11 @@ export interface DateRangePickerSettings {
|
|
|
120
120
|
/**
|
|
121
121
|
* Fires each time any of the DateRangePicker elements gets blurred.
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
onBlur?: (event: any) => void;
|
|
124
124
|
/**
|
|
125
125
|
* Fires each time the user focuses any of the DateRangePicker elements.
|
|
126
126
|
*/
|
|
127
|
-
|
|
127
|
+
onFocus?: (event: any) => void;
|
|
128
128
|
/**
|
|
129
129
|
* Represents the additional props that will be passed to the [Popup]({% slug overview_popup %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-the-popup)).
|
|
130
130
|
*/
|
|
@@ -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 : {
|
|
@@ -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,
|
|
@@ -134,15 +134,15 @@ export interface DateTimePickerSettings {
|
|
|
134
134
|
/**
|
|
135
135
|
* Fires each time any of the DateTimePicker elements gets blurred.
|
|
136
136
|
*/
|
|
137
|
-
|
|
137
|
+
onBlur?: (event: any) => void;
|
|
138
138
|
/**
|
|
139
139
|
* Fires each time the user focuses any of the DateTimePicker elements.
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
onFocus?: (event: any) => void;
|
|
142
142
|
/**
|
|
143
143
|
* Fires when the icon element is clicked.
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
onIconclick?: (event: any) => void;
|
|
146
146
|
/**
|
|
147
147
|
* Specifies if the popup will be displayed
|
|
148
148
|
* ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-popup-state)).
|
|
@@ -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: 1643717057,
|
|
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 : {
|
|
@@ -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 : {
|
|
@@ -107,15 +107,15 @@ export interface TimePickerSettings {
|
|
|
107
107
|
/**
|
|
108
108
|
* Fires each time any of the TimePicker elements gets blurred.
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
onBlur?: (event: any) => void;
|
|
111
111
|
/**
|
|
112
112
|
* Fires each time the user focuses any of the TimePicker elements.
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
onFocus?: (event: any) => void;
|
|
115
115
|
/**
|
|
116
116
|
* Fires when the icon element is clicked.
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
onIconclick?: (event: any) => void;
|
|
119
119
|
/**
|
|
120
120
|
* Configures the popup options of the TimePicker.
|
|
121
121
|
*
|
|
@@ -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",
|
|
@@ -26,15 +26,15 @@ export interface CalendarProps extends CalendarSettings {
|
|
|
26
26
|
/**
|
|
27
27
|
* An event that is called after the value of the Calendar has changed.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
onChange?: (event: CalendarChangeEvent) => void;
|
|
30
30
|
/**
|
|
31
31
|
* An event called when the week number cell is clicked.
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
onWeekcellclick?: (event: CalendarWeekCellClickEvent) => void;
|
|
34
34
|
/**
|
|
35
35
|
* An event called when the week name cell is clicked.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
onWeeknameclick?: (event: CalendarWeekNameClickEvent) => void;
|
|
38
38
|
/**
|
|
39
39
|
* Sets the value of the Calendar.
|
|
40
40
|
*/
|
|
@@ -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,
|
|
@@ -27,5 +27,5 @@ export interface DateInputProps extends FormComponentProps, DateInputSettings {
|
|
|
27
27
|
/**
|
|
28
28
|
* Determines the event handler that will be fired when the user edits the value ([see example]({% slug dateranges_dateinput_native %}).
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
onChange?: (event: any) => void;
|
|
31
31
|
}
|
|
@@ -16,11 +16,11 @@ export interface DatePickerProps extends DatePickerSettings, FormComponentProps
|
|
|
16
16
|
/**
|
|
17
17
|
* Fires each time the user selects a new value ([see example]({% slug controlled_datepicker_native %}#toc-controlling-the-date-value)).
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
onChange?: (event: DatePickerChangeEvent) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Fires when the icon element is clicked.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
onIconclick?: (event: any) => void;
|
|
24
24
|
/**
|
|
25
25
|
* Renders a floating label for the DatePicker.
|
|
26
26
|
*/
|
|
@@ -108,11 +108,11 @@ export interface DatePickerSettings {
|
|
|
108
108
|
/**
|
|
109
109
|
* Fires each time any of the DatePicker elements gets blurred.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
onBlur?: (event: any) => void;
|
|
112
112
|
/**
|
|
113
113
|
* Fires each time the user focuses any of the DatePicker elements.
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
onFocus?: (event: any) => void;
|
|
116
116
|
/**
|
|
117
117
|
* Configures the popup options of the DatePicker.
|
|
118
118
|
*
|
|
@@ -120,11 +120,11 @@ export interface DateRangePickerSettings {
|
|
|
120
120
|
/**
|
|
121
121
|
* Fires each time any of the DateRangePicker elements gets blurred.
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
onBlur?: (event: any) => void;
|
|
124
124
|
/**
|
|
125
125
|
* Fires each time the user focuses any of the DateRangePicker elements.
|
|
126
126
|
*/
|
|
127
|
-
|
|
127
|
+
onFocus?: (event: any) => void;
|
|
128
128
|
/**
|
|
129
129
|
* Represents the additional props that will be passed to the [Popup]({% slug overview_popup %}) inside the DateRangePicker ([see example]({% slug child_settings_daterangepicker %}#toc-configuring-the-popup)).
|
|
130
130
|
*/
|
|
@@ -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 : {
|