@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
|
@@ -214,11 +214,13 @@ var DateTimeSelector = {
|
|
|
214
214
|
}, this.v3 ? function () {
|
|
215
215
|
return [// @ts-ignore function children
|
|
216
216
|
h(kendo_vue_buttons_1.Button, {
|
|
217
|
-
|
|
217
|
+
type: "button",
|
|
218
218
|
attrs: _this2.v3 ? undefined : {
|
|
219
|
+
type: "button",
|
|
219
220
|
selected: _this2.currentTab === 'date',
|
|
220
221
|
togglable: true
|
|
221
222
|
},
|
|
223
|
+
selected: _this2.currentTab === 'date',
|
|
222
224
|
togglable: true,
|
|
223
225
|
onClick: _this2.handleDateClick,
|
|
224
226
|
on: _this2.v3 ? undefined : {
|
|
@@ -228,11 +230,13 @@ var DateTimeSelector = {
|
|
|
228
230
|
return [dateMessage];
|
|
229
231
|
} : [dateMessage]), // @ts-ignore function children
|
|
230
232
|
h(kendo_vue_buttons_1.Button, {
|
|
231
|
-
|
|
233
|
+
type: "button",
|
|
232
234
|
attrs: _this2.v3 ? undefined : {
|
|
235
|
+
type: "button",
|
|
233
236
|
selected: _this2.currentTab === 'time',
|
|
234
237
|
togglable: true
|
|
235
238
|
},
|
|
239
|
+
selected: _this2.currentTab === 'time',
|
|
236
240
|
togglable: true,
|
|
237
241
|
onClick: _this2.handleTimeClick,
|
|
238
242
|
on: _this2.v3 ? undefined : {
|
|
@@ -242,11 +246,13 @@ var DateTimeSelector = {
|
|
|
242
246
|
return [timeMessage];
|
|
243
247
|
} : [timeMessage])];
|
|
244
248
|
} : [h(kendo_vue_buttons_1.Button, {
|
|
245
|
-
|
|
249
|
+
type: "button",
|
|
246
250
|
attrs: _this2.v3 ? undefined : {
|
|
251
|
+
type: "button",
|
|
247
252
|
selected: _this2.currentTab === 'date',
|
|
248
253
|
togglable: true
|
|
249
254
|
},
|
|
255
|
+
selected: _this2.currentTab === 'date',
|
|
250
256
|
togglable: true,
|
|
251
257
|
onClick: _this2.handleDateClick,
|
|
252
258
|
on: _this2.v3 ? undefined : {
|
|
@@ -255,11 +261,13 @@ var DateTimeSelector = {
|
|
|
255
261
|
}, _this2.v3 ? function () {
|
|
256
262
|
return [dateMessage];
|
|
257
263
|
} : [dateMessage]), h(kendo_vue_buttons_1.Button, {
|
|
258
|
-
|
|
264
|
+
type: "button",
|
|
259
265
|
attrs: _this2.v3 ? undefined : {
|
|
266
|
+
type: "button",
|
|
260
267
|
selected: _this2.currentTab === 'time',
|
|
261
268
|
togglable: true
|
|
262
269
|
},
|
|
270
|
+
selected: _this2.currentTab === 'time',
|
|
263
271
|
togglable: true,
|
|
264
272
|
onClick: _this2.handleTimeClick,
|
|
265
273
|
on: _this2.v3 ? undefined : {
|
|
@@ -308,6 +316,12 @@ var DateTimeSelector = {
|
|
|
308
316
|
"class": "k-datetime-footer k-actions k-actions-stretched"
|
|
309
317
|
}, [cancelButton && // @ts-ignore function children
|
|
310
318
|
h(kendo_vue_buttons_1.Button, {
|
|
319
|
+
type: "button",
|
|
320
|
+
attrs: this.v3 ? undefined : {
|
|
321
|
+
type: "button",
|
|
322
|
+
title: cancelMessage,
|
|
323
|
+
"aria-label": cancelMessage
|
|
324
|
+
},
|
|
311
325
|
ref: 'cancelButton',
|
|
312
326
|
"class": "k-time-cancel",
|
|
313
327
|
onClick: this.handleReject,
|
|
@@ -315,23 +329,21 @@ var DateTimeSelector = {
|
|
|
315
329
|
"click": this.handleReject
|
|
316
330
|
},
|
|
317
331
|
title: cancelMessage,
|
|
318
|
-
attrs: this.v3 ? undefined : {
|
|
319
|
-
title: cancelMessage,
|
|
320
|
-
"aria-label": cancelMessage
|
|
321
|
-
},
|
|
322
332
|
"aria-label": cancelMessage
|
|
323
333
|
}, this.v3 ? function () {
|
|
324
334
|
return [cancelMessage];
|
|
325
335
|
} : [cancelMessage]), // @ts-ignore function children
|
|
326
336
|
h(kendo_vue_buttons_1.Button, {
|
|
327
|
-
|
|
328
|
-
disabled: !this.hasDateValue,
|
|
337
|
+
type: "button",
|
|
329
338
|
attrs: this.v3 ? undefined : {
|
|
339
|
+
type: "button",
|
|
330
340
|
disabled: !this.hasDateValue,
|
|
331
341
|
themeColor: 'primary',
|
|
332
342
|
title: setMessage,
|
|
333
343
|
"aria-label": setMessage
|
|
334
344
|
},
|
|
345
|
+
ref: 'acceptButton',
|
|
346
|
+
disabled: !this.hasDateValue,
|
|
335
347
|
themeColor: 'primary',
|
|
336
348
|
"class": 'k-time-accept',
|
|
337
349
|
onClick: this.handleAccept,
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-dateinputs',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1643351577,
|
|
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
|
};
|
|
@@ -178,14 +178,16 @@ var TimePart = {
|
|
|
178
178
|
"class": "k-title"
|
|
179
179
|
}, [this.intl.formatDate(this.computedValue, this.dateFormatParts.reduce(this.timeFormatReducer, ''))]), this.showNowButton() && // @ts-ignore function children
|
|
180
180
|
h(kendo_vue_buttons_1.Button, {
|
|
181
|
-
|
|
182
|
-
fillMode: 'flat',
|
|
181
|
+
type: "button",
|
|
183
182
|
attrs: this.v3 ? undefined : {
|
|
183
|
+
type: "button",
|
|
184
184
|
fillMode: 'flat',
|
|
185
185
|
title: selectNowMessage,
|
|
186
186
|
"aria-label": selectNowMessage,
|
|
187
187
|
tabIndex: disabled ? -1 : 0
|
|
188
188
|
},
|
|
189
|
+
ref: 'nowButton',
|
|
190
|
+
fillMode: 'flat',
|
|
189
191
|
"class": "k-time-now",
|
|
190
192
|
title: selectNowMessage,
|
|
191
193
|
"aria-label": selectNowMessage,
|
|
@@ -500,14 +500,16 @@ var TimePicker = {
|
|
|
500
500
|
} : this._anchor
|
|
501
501
|
}, [dateInputRendering, // @ts-ignore
|
|
502
502
|
h(kendo_vue_buttons_1.Button, {
|
|
503
|
-
|
|
503
|
+
type: "button",
|
|
504
504
|
attrs: this.v3 ? undefined : {
|
|
505
|
+
type: "button",
|
|
505
506
|
tabIndex: -1,
|
|
506
507
|
icon: 'clock',
|
|
507
508
|
title: toggleTimeMessage,
|
|
508
509
|
"aria-controls": this._popupId,
|
|
509
510
|
"aria-label": toggleClockMessage
|
|
510
511
|
},
|
|
512
|
+
tabIndex: -1,
|
|
511
513
|
icon: 'clock',
|
|
512
514
|
onMousedown: this.handleIconMouseDown,
|
|
513
515
|
on: this.v3 ? undefined : {
|
|
@@ -593,6 +595,8 @@ var TimePicker = {
|
|
|
593
595
|
this.valueDuringOnChange = event.value;
|
|
594
596
|
this.showDuringOnChange = false;
|
|
595
597
|
this.shouldFocusDateInput = true;
|
|
598
|
+
this.$emit('changemodel', this.computedValue);
|
|
599
|
+
this.$emit('update:modelValue', this.computedValue);
|
|
596
600
|
this.$emit('change', {
|
|
597
601
|
event: event.event,
|
|
598
602
|
value: this.computedValue,
|
|
@@ -604,8 +608,6 @@ var TimePicker = {
|
|
|
604
608
|
valueAsDate: this.computedValue
|
|
605
609
|
}
|
|
606
610
|
});
|
|
607
|
-
this.$emit('changemodel', this.computedValue);
|
|
608
|
-
this.$emit('update:modelValue', this.computedValue);
|
|
609
611
|
this.valueDuringOnChange = undefined;
|
|
610
612
|
this.showDuringOnChange = undefined;
|
|
611
613
|
},
|
|
@@ -212,6 +212,12 @@ var TimeSelector = {
|
|
|
212
212
|
"class": "k-time-footer k-actions k-actions-stretched"
|
|
213
213
|
}, [cancelButton && // @ts-ignore function children
|
|
214
214
|
h(kendo_vue_buttons_1.Button, {
|
|
215
|
+
type: "button",
|
|
216
|
+
attrs: this.v3 ? undefined : {
|
|
217
|
+
type: "button",
|
|
218
|
+
title: cancelMessage,
|
|
219
|
+
"aria-label": cancelMessage
|
|
220
|
+
},
|
|
215
221
|
ref: 'cancelButton',
|
|
216
222
|
"class": "k-time-cancel",
|
|
217
223
|
onClick: this.handleReject,
|
|
@@ -219,22 +225,20 @@ var TimeSelector = {
|
|
|
219
225
|
"click": this.handleReject
|
|
220
226
|
},
|
|
221
227
|
title: cancelMessage,
|
|
222
|
-
attrs: this.v3 ? undefined : {
|
|
223
|
-
title: cancelMessage,
|
|
224
|
-
"aria-label": cancelMessage
|
|
225
|
-
},
|
|
226
228
|
"aria-label": cancelMessage
|
|
227
229
|
}, this.v3 ? function () {
|
|
228
230
|
return [cancelMessage];
|
|
229
231
|
} : [cancelMessage]), // @ts-ignore function children
|
|
230
232
|
h(kendo_vue_buttons_1.Button, {
|
|
231
|
-
|
|
232
|
-
themeColor: 'primary',
|
|
233
|
+
type: "button",
|
|
233
234
|
attrs: this.v3 ? undefined : {
|
|
235
|
+
type: "button",
|
|
234
236
|
themeColor: 'primary',
|
|
235
237
|
title: setMessage,
|
|
236
238
|
"aria-label": setMessage
|
|
237
239
|
},
|
|
240
|
+
ref: 'acceptButton',
|
|
241
|
+
themeColor: 'primary',
|
|
238
242
|
"class": "k-time-accept",
|
|
239
243
|
onClick: this.handleAccept,
|
|
240
244
|
on: this.v3 ? undefined : {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-dateinputs",
|
|
3
3
|
"description": "Kendo UI for Vue Date Inputs package",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.3-dev.202201280639",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -46,16 +46,16 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@progress/kendo-date-math": "1.5.1",
|
|
49
|
-
"@progress/kendo-vue-buttons": "3.0.
|
|
50
|
-
"@progress/kendo-vue-common": "3.0.
|
|
51
|
-
"@progress/kendo-vue-labels": "3.0.
|
|
52
|
-
"@progress/kendo-vue-popup": "3.0.
|
|
49
|
+
"@progress/kendo-vue-buttons": "3.0.3-dev.202201280639",
|
|
50
|
+
"@progress/kendo-vue-common": "3.0.3-dev.202201280639",
|
|
51
|
+
"@progress/kendo-vue-labels": "3.0.3-dev.202201280639",
|
|
52
|
+
"@progress/kendo-vue-popup": "3.0.3-dev.202201280639"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@progress/kendo-data-query": "^1.5.4",
|
|
56
56
|
"@progress/kendo-licensing": "^1.1.0",
|
|
57
|
-
"@progress/kendo-vue-dropdowns": "3.0.
|
|
58
|
-
"@progress/kendo-vue-intl": "3.0.
|
|
57
|
+
"@progress/kendo-vue-dropdowns": "3.0.3-dev.202201280639",
|
|
58
|
+
"@progress/kendo-vue-intl": "3.0.3-dev.202201280639"
|
|
59
59
|
},
|
|
60
60
|
"author": "Progress",
|
|
61
61
|
"license": "SEE LICENSE IN LICENSE.md",
|