@progress/kendo-vue-dateinputs 3.5.2 → 3.5.4-dev.202209071223
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/Header.js +7 -7
- package/dist/es/calendar/components/ViewList.js +3 -4
- package/dist/es/dateinput/DateInput.js +4 -4
- package/dist/es/daterangepicker/DateRangePicker.js +0 -19
- package/dist/es/datetimepicker/DateTimePicker.js +3 -2
- package/dist/es/main.js +0 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/TimeSelector.js +1 -1
- package/dist/esm/calendar/components/Header.js +7 -7
- package/dist/esm/calendar/components/ViewList.js +3 -4
- package/dist/esm/dateinput/DateInput.js +4 -4
- package/dist/esm/daterangepicker/DateRangePicker.js +0 -19
- package/dist/esm/datetimepicker/DateTimePicker.js +3 -2
- package/dist/esm/main.js +0 -1
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/timepicker/TimeSelector.js +1 -1
- package/dist/npm/calendar/components/Header.js +7 -7
- package/dist/npm/calendar/components/ViewList.js +3 -3
- package/dist/npm/dateinput/DateInput.js +4 -4
- package/dist/npm/daterangepicker/DateRangePicker.js +0 -19
- package/dist/npm/datetimepicker/DateTimePicker.js +3 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/timepicker/TimeSelector.js +1 -1
- package/package.json +7 -7
|
@@ -181,7 +181,7 @@ var HeaderVue2 = {
|
|
|
181
181
|
var titleClassNames = classNames('k-calendar-title', 'k-title', {
|
|
182
182
|
'k-disabled': !this.navigate
|
|
183
183
|
});
|
|
184
|
-
var todayClassNames = classNames('k-nav-today', {
|
|
184
|
+
var todayClassNames = classNames('k-calendar-nav-today', {
|
|
185
185
|
'k-disabled': !this.todayIsInRange
|
|
186
186
|
});
|
|
187
187
|
var headerTitle;
|
|
@@ -217,17 +217,17 @@ var HeaderVue2 = {
|
|
|
217
217
|
type: "button",
|
|
218
218
|
attrs: this.v3 ? undefined : {
|
|
219
219
|
type: "button",
|
|
220
|
-
icon: '
|
|
220
|
+
icon: 'chevron-left',
|
|
221
221
|
size: this.$props.size,
|
|
222
222
|
fillMode: 'flat',
|
|
223
223
|
desabled: isPrevDisabled,
|
|
224
224
|
"aria-label": prevViewTitle,
|
|
225
225
|
title: prevViewTitle
|
|
226
226
|
},
|
|
227
|
-
icon: '
|
|
227
|
+
icon: 'chevron-left',
|
|
228
228
|
size: this.$props.size,
|
|
229
229
|
fillMode: 'flat',
|
|
230
|
-
"class": "k-
|
|
230
|
+
"class": "k-calendar-nav-pre",
|
|
231
231
|
desabled: isPrevDisabled,
|
|
232
232
|
"aria-label": prevViewTitle,
|
|
233
233
|
title: prevViewTitle,
|
|
@@ -252,17 +252,17 @@ var HeaderVue2 = {
|
|
|
252
252
|
type: "button",
|
|
253
253
|
attrs: this.v3 ? undefined : {
|
|
254
254
|
type: "button",
|
|
255
|
-
icon: '
|
|
255
|
+
icon: 'chevron-right',
|
|
256
256
|
size: this.$props.size,
|
|
257
257
|
fillMode: 'flat',
|
|
258
258
|
desabled: isNextDisabled,
|
|
259
259
|
"aria-label": nextViewTittle,
|
|
260
260
|
title: nextViewTittle
|
|
261
261
|
},
|
|
262
|
-
icon: '
|
|
262
|
+
icon: 'chevron-right',
|
|
263
263
|
size: this.$props.size,
|
|
264
264
|
fillMode: 'flat',
|
|
265
|
-
"class": "k-next
|
|
265
|
+
"class": "k-calendar-nav-next",
|
|
266
266
|
desabled: isNextDisabled,
|
|
267
267
|
"aria-label": nextViewTittle,
|
|
268
268
|
title: nextViewTittle,
|
|
@@ -6,8 +6,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
6
6
|
var inject = allVue.inject;
|
|
7
7
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
8
8
|
import { provideIntlService } from '@progress/kendo-vue-intl';
|
|
9
|
-
var DEFAULT_FETCH_MONTHS_COUNT = 1;
|
|
10
|
-
|
|
9
|
+
var DEFAULT_FETCH_MONTHS_COUNT = 1;
|
|
11
10
|
import { View } from './View';
|
|
12
11
|
import { shiftWeekNames } from '../../utils';
|
|
13
12
|
import { CalendarViewEnum } from '../models/main';
|
|
@@ -228,7 +227,7 @@ var ViewListVue2 = {
|
|
|
228
227
|
'k-calendar-decadeview': this.$props.activeView === CalendarViewEnum.decade,
|
|
229
228
|
'k-calendar-centuryview': this.$props.activeView === CalendarViewEnum.century
|
|
230
229
|
});
|
|
231
|
-
var tableClassNames = classNames('k-calendar-table',
|
|
230
|
+
var tableClassNames = classNames('k-calendar-table', {
|
|
232
231
|
'k-month': this.$props.activeView === CalendarViewEnum.month,
|
|
233
232
|
'k-year': this.$props.activeView === CalendarViewEnum.year,
|
|
234
233
|
'k-decade': this.$props.activeView === CalendarViewEnum.decade,
|
|
@@ -243,7 +242,7 @@ var ViewListVue2 = {
|
|
|
243
242
|
"class": 'k-calendar-tr k-calendar-weekdays'
|
|
244
243
|
}, [weekNames.map(function (name, idx) {
|
|
245
244
|
return h("th", {
|
|
246
|
-
"class": 'k-calendar-
|
|
245
|
+
"class": 'k-calendar-caption',
|
|
247
246
|
key: idx,
|
|
248
247
|
onClick: function onClick(ev) {
|
|
249
248
|
return that.handleWeekNameClick(ev, name);
|
|
@@ -636,14 +636,14 @@ var DateInputVue2 = {
|
|
|
636
636
|
attrs: this.v3 ? undefined : {
|
|
637
637
|
type: "button",
|
|
638
638
|
tabIndex: -1,
|
|
639
|
-
icon: '
|
|
639
|
+
icon: 'caret-alt-up',
|
|
640
640
|
size: this.$props.size,
|
|
641
641
|
fillMode: this.$props.fillMode,
|
|
642
642
|
"aria-label": localizationService.toLanguageString(increaseValue, messages[increaseValue]),
|
|
643
643
|
title: localizationService.toLanguageString(increaseValue, messages[increaseValue])
|
|
644
644
|
},
|
|
645
645
|
tabIndex: -1,
|
|
646
|
-
icon: '
|
|
646
|
+
icon: 'caret-alt-up',
|
|
647
647
|
size: this.$props.size,
|
|
648
648
|
fillMode: this.$props.fillMode,
|
|
649
649
|
"class": "k-spinner-increase",
|
|
@@ -659,7 +659,7 @@ var DateInputVue2 = {
|
|
|
659
659
|
attrs: this.v3 ? undefined : {
|
|
660
660
|
type: "button",
|
|
661
661
|
tabIndex: -1,
|
|
662
|
-
icon: '
|
|
662
|
+
icon: 'caret-alt-down',
|
|
663
663
|
size: this.$props.size,
|
|
664
664
|
fillMode: this.$props.fillMode,
|
|
665
665
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -667,7 +667,7 @@ var DateInputVue2 = {
|
|
|
667
667
|
},
|
|
668
668
|
tabIndex: -1,
|
|
669
669
|
"class": "k-spinner-decrease",
|
|
670
|
-
icon: '
|
|
670
|
+
icon: 'caret-alt-down',
|
|
671
671
|
size: this.$props.size,
|
|
672
672
|
fillMode: this.$props.fillMode,
|
|
673
673
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -520,21 +520,10 @@ var DateRangePickerVue2 = {
|
|
|
520
520
|
event.preventDefault();
|
|
521
521
|
},
|
|
522
522
|
handleFocus: function handleFocus(event) {
|
|
523
|
-
var startInput = this.getStartInput();
|
|
524
|
-
var endInput = this.getEndInput();
|
|
525
|
-
|
|
526
523
|
if (!this.shouldFocusDateInput) {
|
|
527
524
|
this.setShow(true);
|
|
528
525
|
}
|
|
529
526
|
|
|
530
|
-
if (startInput) {
|
|
531
|
-
startInput.classList.add('k-focus');
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
if (endInput) {
|
|
535
|
-
endInput.classList.add('k-focus');
|
|
536
|
-
}
|
|
537
|
-
|
|
538
527
|
this.$emit('focus', event);
|
|
539
528
|
},
|
|
540
529
|
calendarBlur: function calendarBlur() {
|
|
@@ -554,14 +543,6 @@ var DateRangePickerVue2 = {
|
|
|
554
543
|
|
|
555
544
|
var endInput = _this.getEndInput();
|
|
556
545
|
|
|
557
|
-
if (startInput) {
|
|
558
|
-
startInput.classList.remove('k-focus');
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
if (endInput) {
|
|
562
|
-
endInput.classList.remove('k-focus');
|
|
563
|
-
}
|
|
564
|
-
|
|
565
546
|
if (startInput && endInput && canUseDOM && startInput && document.activeElement !== endInput) {
|
|
566
547
|
_this.setShow(false);
|
|
567
548
|
}
|
|
@@ -428,7 +428,7 @@ var DateTimePickerVue2 = {
|
|
|
428
428
|
onBlur: this.timeSelectorBlur,
|
|
429
429
|
onKeydown: this.handleKeyDown
|
|
430
430
|
});
|
|
431
|
-
var popupClassNames = classNames('k-datetime-container k-
|
|
431
|
+
var popupClassNames = classNames('k-datetime-container k-reset', popupClass);
|
|
432
432
|
var popup = this.$props.popup ? templateRendering.call(this, this.$props.popup, getListeners.call(this)) : undefined;
|
|
433
433
|
var popupDefaultRendering = // @ts-ignore function children
|
|
434
434
|
h(Popup, {
|
|
@@ -436,6 +436,7 @@ var DateTimePickerVue2 = {
|
|
|
436
436
|
attrs: this.v3 ? undefined : {
|
|
437
437
|
show: this.computedShow,
|
|
438
438
|
anchor: this._anchor,
|
|
439
|
+
popupClass: popupClassNames,
|
|
439
440
|
id: this._popupId,
|
|
440
441
|
anchorAlign: {
|
|
441
442
|
horizontal: 'left',
|
|
@@ -449,7 +450,7 @@ var DateTimePickerVue2 = {
|
|
|
449
450
|
animate: animate
|
|
450
451
|
},
|
|
451
452
|
anchor: this._anchor,
|
|
452
|
-
|
|
453
|
+
popupClass: popupClassNames,
|
|
453
454
|
id: this._popupId,
|
|
454
455
|
anchorAlign: {
|
|
455
456
|
horizontal: 'left',
|
package/dist/es/main.js
CHANGED
|
@@ -10,5 +10,4 @@ import { CalendarViewEnum } from './calendar/models/main';
|
|
|
10
10
|
import { DateTimePicker, DateTimePickerVue2 } from './datetimepicker/DateTimePicker';
|
|
11
11
|
import { ToggleButton, ToggleButtonVue2 } from './datepicker/ToggleButton';
|
|
12
12
|
import { PickerWrap, PickerWrapVue2 } from './common/PickerWrap';
|
|
13
|
-
// import { FormComponentValidity } from '@progress/kendo-vue-common';
|
|
14
13
|
export { PickerWrap, PickerWrapVue2, ToggleButton, ToggleButtonVue2, Calendar, CalendarVue2, CalendarViewEnum, CalendarCell, CalendarCellVue2, CalendarWeekCell, CalendarWeekCellVue2, CalendarHeaderTitle, CalendarHeaderTitleVue2, DateInput, DateInputVue2, DatePicker, DatePickerVue2, TimePicker, TimePickerVue2, DateRangePicker, DateTimePicker, DateTimePickerVue2 };
|
|
@@ -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: 1662552967,
|
|
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
|
};
|
|
@@ -157,7 +157,7 @@ var TimeSelectorVue2 = {
|
|
|
157
157
|
attrs: this.v3 ? undefined : {
|
|
158
158
|
tabindex: !disabled ? tabIndex || 0 : undefined
|
|
159
159
|
},
|
|
160
|
-
"class": classNames('k-timeselector
|
|
160
|
+
"class": classNames('k-timeselector', {
|
|
161
161
|
'k-disabled': disabled
|
|
162
162
|
}),
|
|
163
163
|
onKeydown: this.handleKeyDown,
|
|
@@ -181,7 +181,7 @@ var HeaderVue2 = {
|
|
|
181
181
|
var titleClassNames = classNames('k-calendar-title', 'k-title', {
|
|
182
182
|
'k-disabled': !this.navigate
|
|
183
183
|
});
|
|
184
|
-
var todayClassNames = classNames('k-nav-today', {
|
|
184
|
+
var todayClassNames = classNames('k-calendar-nav-today', {
|
|
185
185
|
'k-disabled': !this.todayIsInRange
|
|
186
186
|
});
|
|
187
187
|
var headerTitle;
|
|
@@ -217,17 +217,17 @@ var HeaderVue2 = {
|
|
|
217
217
|
type: "button",
|
|
218
218
|
attrs: this.v3 ? undefined : {
|
|
219
219
|
type: "button",
|
|
220
|
-
icon: '
|
|
220
|
+
icon: 'chevron-left',
|
|
221
221
|
size: this.$props.size,
|
|
222
222
|
fillMode: 'flat',
|
|
223
223
|
desabled: isPrevDisabled,
|
|
224
224
|
"aria-label": prevViewTitle,
|
|
225
225
|
title: prevViewTitle
|
|
226
226
|
},
|
|
227
|
-
icon: '
|
|
227
|
+
icon: 'chevron-left',
|
|
228
228
|
size: this.$props.size,
|
|
229
229
|
fillMode: 'flat',
|
|
230
|
-
"class": "k-
|
|
230
|
+
"class": "k-calendar-nav-pre",
|
|
231
231
|
desabled: isPrevDisabled,
|
|
232
232
|
"aria-label": prevViewTitle,
|
|
233
233
|
title: prevViewTitle,
|
|
@@ -252,17 +252,17 @@ var HeaderVue2 = {
|
|
|
252
252
|
type: "button",
|
|
253
253
|
attrs: this.v3 ? undefined : {
|
|
254
254
|
type: "button",
|
|
255
|
-
icon: '
|
|
255
|
+
icon: 'chevron-right',
|
|
256
256
|
size: this.$props.size,
|
|
257
257
|
fillMode: 'flat',
|
|
258
258
|
desabled: isNextDisabled,
|
|
259
259
|
"aria-label": nextViewTittle,
|
|
260
260
|
title: nextViewTittle
|
|
261
261
|
},
|
|
262
|
-
icon: '
|
|
262
|
+
icon: 'chevron-right',
|
|
263
263
|
size: this.$props.size,
|
|
264
264
|
fillMode: 'flat',
|
|
265
|
-
"class": "k-next
|
|
265
|
+
"class": "k-calendar-nav-next",
|
|
266
266
|
desabled: isNextDisabled,
|
|
267
267
|
"aria-label": nextViewTittle,
|
|
268
268
|
title: nextViewTittle,
|
|
@@ -6,8 +6,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
6
6
|
var inject = allVue.inject;
|
|
7
7
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
8
8
|
import { provideIntlService } from '@progress/kendo-vue-intl';
|
|
9
|
-
var DEFAULT_FETCH_MONTHS_COUNT = 1;
|
|
10
|
-
|
|
9
|
+
var DEFAULT_FETCH_MONTHS_COUNT = 1;
|
|
11
10
|
import { View } from './View.js';
|
|
12
11
|
import { shiftWeekNames } from '../../utils.js';
|
|
13
12
|
import { CalendarViewEnum } from '../models/main.js';
|
|
@@ -228,7 +227,7 @@ var ViewListVue2 = {
|
|
|
228
227
|
'k-calendar-decadeview': this.$props.activeView === CalendarViewEnum.decade,
|
|
229
228
|
'k-calendar-centuryview': this.$props.activeView === CalendarViewEnum.century
|
|
230
229
|
});
|
|
231
|
-
var tableClassNames = classNames('k-calendar-table',
|
|
230
|
+
var tableClassNames = classNames('k-calendar-table', {
|
|
232
231
|
'k-month': this.$props.activeView === CalendarViewEnum.month,
|
|
233
232
|
'k-year': this.$props.activeView === CalendarViewEnum.year,
|
|
234
233
|
'k-decade': this.$props.activeView === CalendarViewEnum.decade,
|
|
@@ -243,7 +242,7 @@ var ViewListVue2 = {
|
|
|
243
242
|
"class": 'k-calendar-tr k-calendar-weekdays'
|
|
244
243
|
}, [weekNames.map(function (name, idx) {
|
|
245
244
|
return h("th", {
|
|
246
|
-
"class": 'k-calendar-
|
|
245
|
+
"class": 'k-calendar-caption',
|
|
247
246
|
key: idx,
|
|
248
247
|
onClick: function onClick(ev) {
|
|
249
248
|
return that.handleWeekNameClick(ev, name);
|
|
@@ -636,14 +636,14 @@ var DateInputVue2 = {
|
|
|
636
636
|
attrs: this.v3 ? undefined : {
|
|
637
637
|
type: "button",
|
|
638
638
|
tabIndex: -1,
|
|
639
|
-
icon: '
|
|
639
|
+
icon: 'caret-alt-up',
|
|
640
640
|
size: this.$props.size,
|
|
641
641
|
fillMode: this.$props.fillMode,
|
|
642
642
|
"aria-label": localizationService.toLanguageString(increaseValue, messages[increaseValue]),
|
|
643
643
|
title: localizationService.toLanguageString(increaseValue, messages[increaseValue])
|
|
644
644
|
},
|
|
645
645
|
tabIndex: -1,
|
|
646
|
-
icon: '
|
|
646
|
+
icon: 'caret-alt-up',
|
|
647
647
|
size: this.$props.size,
|
|
648
648
|
fillMode: this.$props.fillMode,
|
|
649
649
|
"class": "k-spinner-increase",
|
|
@@ -659,7 +659,7 @@ var DateInputVue2 = {
|
|
|
659
659
|
attrs: this.v3 ? undefined : {
|
|
660
660
|
type: "button",
|
|
661
661
|
tabIndex: -1,
|
|
662
|
-
icon: '
|
|
662
|
+
icon: 'caret-alt-down',
|
|
663
663
|
size: this.$props.size,
|
|
664
664
|
fillMode: this.$props.fillMode,
|
|
665
665
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -667,7 +667,7 @@ var DateInputVue2 = {
|
|
|
667
667
|
},
|
|
668
668
|
tabIndex: -1,
|
|
669
669
|
"class": "k-spinner-decrease",
|
|
670
|
-
icon: '
|
|
670
|
+
icon: 'caret-alt-down',
|
|
671
671
|
size: this.$props.size,
|
|
672
672
|
fillMode: this.$props.fillMode,
|
|
673
673
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -520,21 +520,10 @@ var DateRangePickerVue2 = {
|
|
|
520
520
|
event.preventDefault();
|
|
521
521
|
},
|
|
522
522
|
handleFocus: function handleFocus(event) {
|
|
523
|
-
var startInput = this.getStartInput();
|
|
524
|
-
var endInput = this.getEndInput();
|
|
525
|
-
|
|
526
523
|
if (!this.shouldFocusDateInput) {
|
|
527
524
|
this.setShow(true);
|
|
528
525
|
}
|
|
529
526
|
|
|
530
|
-
if (startInput) {
|
|
531
|
-
startInput.classList.add('k-focus');
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
if (endInput) {
|
|
535
|
-
endInput.classList.add('k-focus');
|
|
536
|
-
}
|
|
537
|
-
|
|
538
527
|
this.$emit('focus', event);
|
|
539
528
|
},
|
|
540
529
|
calendarBlur: function calendarBlur() {
|
|
@@ -554,14 +543,6 @@ var DateRangePickerVue2 = {
|
|
|
554
543
|
|
|
555
544
|
var endInput = _this.getEndInput();
|
|
556
545
|
|
|
557
|
-
if (startInput) {
|
|
558
|
-
startInput.classList.remove('k-focus');
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
if (endInput) {
|
|
562
|
-
endInput.classList.remove('k-focus');
|
|
563
|
-
}
|
|
564
|
-
|
|
565
546
|
if (startInput && endInput && canUseDOM && startInput && document.activeElement !== endInput) {
|
|
566
547
|
_this.setShow(false);
|
|
567
548
|
}
|
|
@@ -428,7 +428,7 @@ var DateTimePickerVue2 = {
|
|
|
428
428
|
onBlur: this.timeSelectorBlur,
|
|
429
429
|
onKeydown: this.handleKeyDown
|
|
430
430
|
});
|
|
431
|
-
var popupClassNames = classNames('k-datetime-container k-
|
|
431
|
+
var popupClassNames = classNames('k-datetime-container k-reset', popupClass);
|
|
432
432
|
var popup = this.$props.popup ? templateRendering.call(this, this.$props.popup, getListeners.call(this)) : undefined;
|
|
433
433
|
var popupDefaultRendering = // @ts-ignore function children
|
|
434
434
|
h(Popup, {
|
|
@@ -436,6 +436,7 @@ var DateTimePickerVue2 = {
|
|
|
436
436
|
attrs: this.v3 ? undefined : {
|
|
437
437
|
show: this.computedShow,
|
|
438
438
|
anchor: this._anchor,
|
|
439
|
+
popupClass: popupClassNames,
|
|
439
440
|
id: this._popupId,
|
|
440
441
|
anchorAlign: {
|
|
441
442
|
horizontal: 'left',
|
|
@@ -449,7 +450,7 @@ var DateTimePickerVue2 = {
|
|
|
449
450
|
animate: animate
|
|
450
451
|
},
|
|
451
452
|
anchor: this._anchor,
|
|
452
|
-
|
|
453
|
+
popupClass: popupClassNames,
|
|
453
454
|
id: this._popupId,
|
|
454
455
|
anchorAlign: {
|
|
455
456
|
horizontal: 'left',
|
package/dist/esm/main.js
CHANGED
|
@@ -10,5 +10,4 @@ import { CalendarViewEnum } from './calendar/models/main.js';
|
|
|
10
10
|
import { DateTimePicker, DateTimePickerVue2 } from './datetimepicker/DateTimePicker.js';
|
|
11
11
|
import { ToggleButton, ToggleButtonVue2 } from './datepicker/ToggleButton.js';
|
|
12
12
|
import { PickerWrap, PickerWrapVue2 } from './common/PickerWrap.js';
|
|
13
|
-
// import { FormComponentValidity } from '@progress/kendo-vue-common';
|
|
14
13
|
export { PickerWrap, PickerWrapVue2, ToggleButton, ToggleButtonVue2, Calendar, CalendarVue2, CalendarViewEnum, CalendarCell, CalendarCellVue2, CalendarWeekCell, CalendarWeekCellVue2, CalendarHeaderTitle, CalendarHeaderTitleVue2, DateInput, DateInputVue2, DatePicker, DatePickerVue2, TimePicker, TimePickerVue2, DateRangePicker, DateTimePicker, DateTimePickerVue2 };
|
|
@@ -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: 1662552967,
|
|
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
|
};
|
|
@@ -157,7 +157,7 @@ var TimeSelectorVue2 = {
|
|
|
157
157
|
attrs: this.v3 ? undefined : {
|
|
158
158
|
tabindex: !disabled ? tabIndex || 0 : undefined
|
|
159
159
|
},
|
|
160
|
-
"class": classNames('k-timeselector
|
|
160
|
+
"class": classNames('k-timeselector', {
|
|
161
161
|
'k-disabled': disabled
|
|
162
162
|
}),
|
|
163
163
|
onKeydown: this.handleKeyDown,
|
|
@@ -198,7 +198,7 @@ var HeaderVue2 = {
|
|
|
198
198
|
var titleClassNames = (0, kendo_vue_common_1.classNames)('k-calendar-title', 'k-title', {
|
|
199
199
|
'k-disabled': !this.navigate
|
|
200
200
|
});
|
|
201
|
-
var todayClassNames = (0, kendo_vue_common_1.classNames)('k-nav-today', {
|
|
201
|
+
var todayClassNames = (0, kendo_vue_common_1.classNames)('k-calendar-nav-today', {
|
|
202
202
|
'k-disabled': !this.todayIsInRange
|
|
203
203
|
});
|
|
204
204
|
var headerTitle;
|
|
@@ -234,17 +234,17 @@ var HeaderVue2 = {
|
|
|
234
234
|
type: "button",
|
|
235
235
|
attrs: this.v3 ? undefined : {
|
|
236
236
|
type: "button",
|
|
237
|
-
icon: '
|
|
237
|
+
icon: 'chevron-left',
|
|
238
238
|
size: this.$props.size,
|
|
239
239
|
fillMode: 'flat',
|
|
240
240
|
desabled: isPrevDisabled,
|
|
241
241
|
"aria-label": prevViewTitle,
|
|
242
242
|
title: prevViewTitle
|
|
243
243
|
},
|
|
244
|
-
icon: '
|
|
244
|
+
icon: 'chevron-left',
|
|
245
245
|
size: this.$props.size,
|
|
246
246
|
fillMode: 'flat',
|
|
247
|
-
"class": "k-
|
|
247
|
+
"class": "k-calendar-nav-pre",
|
|
248
248
|
desabled: isPrevDisabled,
|
|
249
249
|
"aria-label": prevViewTitle,
|
|
250
250
|
title: prevViewTitle,
|
|
@@ -269,17 +269,17 @@ var HeaderVue2 = {
|
|
|
269
269
|
type: "button",
|
|
270
270
|
attrs: this.v3 ? undefined : {
|
|
271
271
|
type: "button",
|
|
272
|
-
icon: '
|
|
272
|
+
icon: 'chevron-right',
|
|
273
273
|
size: this.$props.size,
|
|
274
274
|
fillMode: 'flat',
|
|
275
275
|
desabled: isNextDisabled,
|
|
276
276
|
"aria-label": nextViewTittle,
|
|
277
277
|
title: nextViewTittle
|
|
278
278
|
},
|
|
279
|
-
icon: '
|
|
279
|
+
icon: 'chevron-right',
|
|
280
280
|
size: this.$props.size,
|
|
281
281
|
fillMode: 'flat',
|
|
282
|
-
"class": "k-next
|
|
282
|
+
"class": "k-calendar-nav-next",
|
|
283
283
|
desabled: isNextDisabled,
|
|
284
284
|
"aria-label": nextViewTittle,
|
|
285
285
|
title: nextViewTittle,
|
|
@@ -16,7 +16,7 @@ var kendo_date_math_1 = require("@progress/kendo-date-math");
|
|
|
16
16
|
|
|
17
17
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
18
18
|
|
|
19
|
-
var DEFAULT_FETCH_MONTHS_COUNT = 1;
|
|
19
|
+
var DEFAULT_FETCH_MONTHS_COUNT = 1;
|
|
20
20
|
|
|
21
21
|
var View_1 = require("./View");
|
|
22
22
|
|
|
@@ -242,7 +242,7 @@ var ViewListVue2 = {
|
|
|
242
242
|
'k-calendar-decadeview': this.$props.activeView === main_1.CalendarViewEnum.decade,
|
|
243
243
|
'k-calendar-centuryview': this.$props.activeView === main_1.CalendarViewEnum.century
|
|
244
244
|
});
|
|
245
|
-
var tableClassNames = (0, kendo_vue_common_1.classNames)('k-calendar-table',
|
|
245
|
+
var tableClassNames = (0, kendo_vue_common_1.classNames)('k-calendar-table', {
|
|
246
246
|
'k-month': this.$props.activeView === main_1.CalendarViewEnum.month,
|
|
247
247
|
'k-year': this.$props.activeView === main_1.CalendarViewEnum.year,
|
|
248
248
|
'k-decade': this.$props.activeView === main_1.CalendarViewEnum.decade,
|
|
@@ -257,7 +257,7 @@ var ViewListVue2 = {
|
|
|
257
257
|
"class": 'k-calendar-tr k-calendar-weekdays'
|
|
258
258
|
}, [weekNames.map(function (name, idx) {
|
|
259
259
|
return h("th", {
|
|
260
|
-
"class": 'k-calendar-
|
|
260
|
+
"class": 'k-calendar-caption',
|
|
261
261
|
key: idx,
|
|
262
262
|
onClick: function onClick(ev) {
|
|
263
263
|
return that.handleWeekNameClick(ev, name);
|
|
@@ -656,14 +656,14 @@ var DateInputVue2 = {
|
|
|
656
656
|
attrs: this.v3 ? undefined : {
|
|
657
657
|
type: "button",
|
|
658
658
|
tabIndex: -1,
|
|
659
|
-
icon: '
|
|
659
|
+
icon: 'caret-alt-up',
|
|
660
660
|
size: this.$props.size,
|
|
661
661
|
fillMode: this.$props.fillMode,
|
|
662
662
|
"aria-label": localizationService.toLanguageString(main_2.increaseValue, main_2.messages[main_2.increaseValue]),
|
|
663
663
|
title: localizationService.toLanguageString(main_2.increaseValue, main_2.messages[main_2.increaseValue])
|
|
664
664
|
},
|
|
665
665
|
tabIndex: -1,
|
|
666
|
-
icon: '
|
|
666
|
+
icon: 'caret-alt-up',
|
|
667
667
|
size: this.$props.size,
|
|
668
668
|
fillMode: this.$props.fillMode,
|
|
669
669
|
"class": "k-spinner-increase",
|
|
@@ -679,7 +679,7 @@ var DateInputVue2 = {
|
|
|
679
679
|
attrs: this.v3 ? undefined : {
|
|
680
680
|
type: "button",
|
|
681
681
|
tabIndex: -1,
|
|
682
|
-
icon: '
|
|
682
|
+
icon: 'caret-alt-down',
|
|
683
683
|
size: this.$props.size,
|
|
684
684
|
fillMode: this.$props.fillMode,
|
|
685
685
|
"aria-label": localizationService.toLanguageString(main_2.decreaseValue, main_2.messages[main_2.decreaseValue]),
|
|
@@ -687,7 +687,7 @@ var DateInputVue2 = {
|
|
|
687
687
|
},
|
|
688
688
|
tabIndex: -1,
|
|
689
689
|
"class": "k-spinner-decrease",
|
|
690
|
-
icon: '
|
|
690
|
+
icon: 'caret-alt-down',
|
|
691
691
|
size: this.$props.size,
|
|
692
692
|
fillMode: this.$props.fillMode,
|
|
693
693
|
"aria-label": localizationService.toLanguageString(main_2.decreaseValue, main_2.messages[main_2.decreaseValue]),
|
|
@@ -539,21 +539,10 @@ var DateRangePickerVue2 = {
|
|
|
539
539
|
event.preventDefault();
|
|
540
540
|
},
|
|
541
541
|
handleFocus: function handleFocus(event) {
|
|
542
|
-
var startInput = this.getStartInput();
|
|
543
|
-
var endInput = this.getEndInput();
|
|
544
|
-
|
|
545
542
|
if (!this.shouldFocusDateInput) {
|
|
546
543
|
this.setShow(true);
|
|
547
544
|
}
|
|
548
545
|
|
|
549
|
-
if (startInput) {
|
|
550
|
-
startInput.classList.add('k-focus');
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
if (endInput) {
|
|
554
|
-
endInput.classList.add('k-focus');
|
|
555
|
-
}
|
|
556
|
-
|
|
557
546
|
this.$emit('focus', event);
|
|
558
547
|
},
|
|
559
548
|
calendarBlur: function calendarBlur() {
|
|
@@ -573,14 +562,6 @@ var DateRangePickerVue2 = {
|
|
|
573
562
|
|
|
574
563
|
var endInput = _this.getEndInput();
|
|
575
564
|
|
|
576
|
-
if (startInput) {
|
|
577
|
-
startInput.classList.remove('k-focus');
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
if (endInput) {
|
|
581
|
-
endInput.classList.remove('k-focus');
|
|
582
|
-
}
|
|
583
|
-
|
|
584
565
|
if (startInput && endInput && kendo_vue_common_1.canUseDOM && startInput && document.activeElement !== endInput) {
|
|
585
566
|
_this.setShow(false);
|
|
586
567
|
}
|
|
@@ -450,7 +450,7 @@ var DateTimePickerVue2 = {
|
|
|
450
450
|
onBlur: this.timeSelectorBlur,
|
|
451
451
|
onKeydown: this.handleKeyDown
|
|
452
452
|
});
|
|
453
|
-
var popupClassNames = (0, kendo_vue_common_1.classNames)('k-datetime-container k-
|
|
453
|
+
var popupClassNames = (0, kendo_vue_common_1.classNames)('k-datetime-container k-reset', popupClass);
|
|
454
454
|
var popup = this.$props.popup ? kendo_vue_common_1.templateRendering.call(this, this.$props.popup, kendo_vue_common_1.getListeners.call(this)) : undefined;
|
|
455
455
|
var popupDefaultRendering = // @ts-ignore function children
|
|
456
456
|
h(kendo_vue_popup_1.Popup, {
|
|
@@ -458,6 +458,7 @@ var DateTimePickerVue2 = {
|
|
|
458
458
|
attrs: this.v3 ? undefined : {
|
|
459
459
|
show: this.computedShow,
|
|
460
460
|
anchor: this._anchor,
|
|
461
|
+
popupClass: popupClassNames,
|
|
461
462
|
id: this._popupId,
|
|
462
463
|
anchorAlign: {
|
|
463
464
|
horizontal: 'left',
|
|
@@ -471,7 +472,7 @@ var DateTimePickerVue2 = {
|
|
|
471
472
|
animate: animate
|
|
472
473
|
},
|
|
473
474
|
anchor: this._anchor,
|
|
474
|
-
|
|
475
|
+
popupClass: popupClassNames,
|
|
475
476
|
id: this._popupId,
|
|
476
477
|
anchorAlign: {
|
|
477
478
|
horizontal: 'left',
|
|
@@ -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: 1662552967,
|
|
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
|
};
|
|
@@ -173,7 +173,7 @@ var TimeSelectorVue2 = {
|
|
|
173
173
|
attrs: this.v3 ? undefined : {
|
|
174
174
|
tabindex: !disabled ? tabIndex || 0 : undefined
|
|
175
175
|
},
|
|
176
|
-
"class": (0, kendo_vue_common_1.classNames)('k-timeselector
|
|
176
|
+
"class": (0, kendo_vue_common_1.classNames)('k-timeselector', {
|
|
177
177
|
'k-disabled': disabled
|
|
178
178
|
}),
|
|
179
179
|
onKeydown: this.handleKeyDown,
|
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.5.
|
|
4
|
+
"version": "3.5.4-dev.202209071223",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@progress/kendo-date-math": "1.5.1",
|
|
55
|
-
"@progress/kendo-vue-buttons": "3.5.
|
|
56
|
-
"@progress/kendo-vue-common": "3.5.
|
|
57
|
-
"@progress/kendo-vue-labels": "3.5.
|
|
58
|
-
"@progress/kendo-vue-popup": "3.5.
|
|
55
|
+
"@progress/kendo-vue-buttons": "3.5.4-dev.202209071223",
|
|
56
|
+
"@progress/kendo-vue-common": "3.5.4-dev.202209071223",
|
|
57
|
+
"@progress/kendo-vue-labels": "3.5.4-dev.202209071223",
|
|
58
|
+
"@progress/kendo-vue-popup": "3.5.4-dev.202209071223"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@progress/kendo-data-query": "^1.5.4",
|
|
62
62
|
"@progress/kendo-licensing": "^1.1.0",
|
|
63
|
-
"@progress/kendo-vue-dropdowns": "3.5.
|
|
64
|
-
"@progress/kendo-vue-intl": "3.5.
|
|
63
|
+
"@progress/kendo-vue-dropdowns": "3.5.4-dev.202209071223",
|
|
64
|
+
"@progress/kendo-vue-intl": "3.5.4-dev.202209071223"
|
|
65
65
|
},
|
|
66
66
|
"author": "Progress",
|
|
67
67
|
"license": "SEE LICENSE IN LICENSE.md",
|