@progress/kendo-vue-dateinputs 3.7.4-dev.202212300853 → 3.7.4-dev.202301091431
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 +5 -0
- package/dist/es/dateinput/DateInput.js +6 -1
- package/dist/es/dateinput/models/DateInputSettings.d.ts +1 -1
- package/dist/es/datepicker/DatePicker.js +15 -6
- package/dist/es/datepicker/interfaces/DatePickerProps.d.ts +4 -0
- package/dist/es/daterangepicker/DateRangePicker.js +4 -1
- package/dist/es/datetimepicker/DateTimePicker.js +3 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/TimePicker.js +3 -0
- package/dist/esm/calendar/components/Header.js +5 -0
- package/dist/esm/dateinput/DateInput.js +6 -1
- package/dist/esm/dateinput/models/DateInputSettings.d.ts +1 -1
- package/dist/esm/datepicker/DatePicker.js +15 -6
- package/dist/esm/datepicker/interfaces/DatePickerProps.d.ts +4 -0
- package/dist/esm/daterangepicker/DateRangePicker.js +4 -1
- package/dist/esm/datetimepicker/DateTimePicker.js +3 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/timepicker/TimePicker.js +3 -0
- package/dist/npm/calendar/components/Header.js +5 -0
- package/dist/npm/dateinput/DateInput.js +6 -1
- package/dist/npm/dateinput/models/DateInputSettings.d.ts +1 -1
- package/dist/npm/datepicker/DatePicker.js +15 -6
- package/dist/npm/datepicker/interfaces/DatePickerProps.d.ts +4 -0
- package/dist/npm/daterangepicker/DateRangePicker.js +4 -1
- package/dist/npm/datetimepicker/DateTimePicker.js +3 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/timepicker/TimePicker.js +3 -0
- package/package.json +11 -9
|
@@ -13,6 +13,7 @@ import { Action } from '../models/main';
|
|
|
13
13
|
import { getToday, isInRange, dateInRange, MAX_DATE } from '../../utils';
|
|
14
14
|
import { MIN_DATE } from '../../defaults';
|
|
15
15
|
import { classNames, Keys, getTemplate } from '@progress/kendo-vue-common';
|
|
16
|
+
import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
@@ -207,6 +208,7 @@ var HeaderVue2 = {
|
|
|
207
208
|
attrs: this.v3 ? undefined : {
|
|
208
209
|
type: "button",
|
|
209
210
|
icon: 'chevron-left',
|
|
211
|
+
svgIcon: chevronLeftIcon,
|
|
210
212
|
size: this.$props.size,
|
|
211
213
|
fillMode: 'flat',
|
|
212
214
|
desabled: isPrevDisabled,
|
|
@@ -214,6 +216,7 @@ var HeaderVue2 = {
|
|
|
214
216
|
title: prevViewTitle
|
|
215
217
|
},
|
|
216
218
|
icon: 'chevron-left',
|
|
219
|
+
svgIcon: chevronLeftIcon,
|
|
217
220
|
size: this.$props.size,
|
|
218
221
|
fillMode: 'flat',
|
|
219
222
|
"class": "k-calendar-nav-pre",
|
|
@@ -243,6 +246,7 @@ var HeaderVue2 = {
|
|
|
243
246
|
attrs: this.v3 ? undefined : {
|
|
244
247
|
type: "button",
|
|
245
248
|
icon: 'chevron-right',
|
|
249
|
+
svgIcon: chevronRightIcon,
|
|
246
250
|
size: this.$props.size,
|
|
247
251
|
fillMode: 'flat',
|
|
248
252
|
desabled: isNextDisabled,
|
|
@@ -250,6 +254,7 @@ var HeaderVue2 = {
|
|
|
250
254
|
title: nextViewTittle
|
|
251
255
|
},
|
|
252
256
|
icon: 'chevron-right',
|
|
257
|
+
svgIcon: chevronRightIcon,
|
|
253
258
|
size: this.$props.size,
|
|
254
259
|
fillMode: 'flat',
|
|
255
260
|
"class": "k-calendar-nav-next",
|
|
@@ -17,6 +17,7 @@ import { messages, increaseValue, decreaseValue } from '../messages/main';
|
|
|
17
17
|
import { isInTimeRange } from '../timepicker/utils';
|
|
18
18
|
import { MIN_TIME, MAX_TIME } from '../defaults';
|
|
19
19
|
import { FloatingLabel } from '@progress/kendo-vue-labels';
|
|
20
|
+
import { caretAltDownIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';
|
|
20
21
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
21
22
|
/**
|
|
22
23
|
* @hidden
|
|
@@ -147,7 +148,7 @@ var DateInputVue2 = {
|
|
|
147
148
|
default: undefined
|
|
148
149
|
},
|
|
149
150
|
ariaHasPopup: {
|
|
150
|
-
type:
|
|
151
|
+
type: String,
|
|
151
152
|
default: undefined
|
|
152
153
|
}
|
|
153
154
|
},
|
|
@@ -611,6 +612,7 @@ var DateInputVue2 = {
|
|
|
611
612
|
type: "button",
|
|
612
613
|
tabIndex: -1,
|
|
613
614
|
icon: 'caret-alt-up',
|
|
615
|
+
svgIcon: caretAltUpIcon,
|
|
614
616
|
size: this.$props.size,
|
|
615
617
|
fillMode: this.$props.fillMode,
|
|
616
618
|
"aria-label": localizationService.toLanguageString(increaseValue, messages[increaseValue]),
|
|
@@ -618,6 +620,7 @@ var DateInputVue2 = {
|
|
|
618
620
|
},
|
|
619
621
|
tabIndex: -1,
|
|
620
622
|
icon: 'caret-alt-up',
|
|
623
|
+
svgIcon: caretAltUpIcon,
|
|
621
624
|
size: this.$props.size,
|
|
622
625
|
fillMode: this.$props.fillMode,
|
|
623
626
|
"class": "k-spinner-increase",
|
|
@@ -635,6 +638,7 @@ var DateInputVue2 = {
|
|
|
635
638
|
type: "button",
|
|
636
639
|
tabIndex: -1,
|
|
637
640
|
icon: 'caret-alt-down',
|
|
641
|
+
svgIcon: caretAltDownIcon,
|
|
638
642
|
size: this.$props.size,
|
|
639
643
|
fillMode: this.$props.fillMode,
|
|
640
644
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -643,6 +647,7 @@ var DateInputVue2 = {
|
|
|
643
647
|
tabIndex: -1,
|
|
644
648
|
"class": "k-spinner-decrease",
|
|
645
649
|
icon: 'caret-alt-down',
|
|
650
|
+
svgIcon: caretAltDownIcon,
|
|
646
651
|
size: this.$props.size,
|
|
647
652
|
fillMode: this.$props.fillMode,
|
|
648
653
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -5,6 +5,7 @@ var gh = allVue.h;
|
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
var inject = allVue.inject;
|
|
8
|
+
import { calendarIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
import { Popup } from '@progress/kendo-vue-popup';
|
|
9
10
|
import { getDate, cloneDate } from '@progress/kendo-date-math';
|
|
10
11
|
import { classNames, guid, Keys, templateRendering, getListeners, getTemplate, validatePackage, canUseDOM, kendoThemeMaps, getDefaultSlots, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
@@ -159,7 +160,8 @@ var DatePickerVue2 = {
|
|
|
159
160
|
valid: {
|
|
160
161
|
type: Boolean,
|
|
161
162
|
default: undefined
|
|
162
|
-
}
|
|
163
|
+
},
|
|
164
|
+
ariaLabel: String
|
|
163
165
|
},
|
|
164
166
|
data: function data() {
|
|
165
167
|
return {
|
|
@@ -398,7 +400,8 @@ var DatePickerVue2 = {
|
|
|
398
400
|
validityStyles = _b.validityStyles,
|
|
399
401
|
size = _b.size,
|
|
400
402
|
fillMode = _b.fillMode,
|
|
401
|
-
rounded = _b.rounded
|
|
403
|
+
rounded = _b.rounded,
|
|
404
|
+
ariaLabel = _b.ariaLabel;
|
|
402
405
|
var _c = this.$props.popupSettings,
|
|
403
406
|
popupClass = _c.popupClass,
|
|
404
407
|
animate = _c.animate,
|
|
@@ -417,12 +420,14 @@ var DatePickerVue2 = {
|
|
|
417
420
|
type: "button",
|
|
418
421
|
tabIndex: -1,
|
|
419
422
|
icon: "calendar",
|
|
423
|
+
svgIcon: calendarIcon,
|
|
420
424
|
title: provideLocalizationService(this).toLanguageString(toggleCalendar, messages[toggleCalendar]),
|
|
421
425
|
"aria-label": provideLocalizationService(this).toLanguageString(toggleCalendar, messages[toggleCalendar]),
|
|
422
426
|
rounded: null
|
|
423
427
|
},
|
|
424
428
|
tabIndex: -1,
|
|
425
429
|
icon: "calendar",
|
|
430
|
+
svgIcon: calendarIcon,
|
|
426
431
|
onMousedown: this.handleIconMouseDown,
|
|
427
432
|
on: this.v3 ? undefined : {
|
|
428
433
|
"mousedown": this.handleIconMouseDown,
|
|
@@ -441,8 +446,10 @@ var DatePickerVue2 = {
|
|
|
441
446
|
defaultSlots: h(Icon, {
|
|
442
447
|
name: "calendar",
|
|
443
448
|
attrs: this.v3 ? undefined : {
|
|
444
|
-
name: "calendar"
|
|
445
|
-
|
|
449
|
+
name: "calendar",
|
|
450
|
+
icon: calendarIcon
|
|
451
|
+
},
|
|
452
|
+
icon: calendarIcon
|
|
446
453
|
}),
|
|
447
454
|
additionalListeners: {
|
|
448
455
|
click: this.handleIconClick
|
|
@@ -476,7 +483,8 @@ var DatePickerVue2 = {
|
|
|
476
483
|
ariaHasPopup: 'grid',
|
|
477
484
|
ariaExpanded: show,
|
|
478
485
|
ariaRole: "combobox",
|
|
479
|
-
ariaControls: this._popupId
|
|
486
|
+
ariaControls: this._popupId,
|
|
487
|
+
ariaLabel: ariaLabel
|
|
480
488
|
},
|
|
481
489
|
disabled: disabled,
|
|
482
490
|
format: format,
|
|
@@ -502,7 +510,8 @@ var DatePickerVue2 = {
|
|
|
502
510
|
ariaHasPopup: 'grid',
|
|
503
511
|
ariaExpanded: show,
|
|
504
512
|
ariaRole: "combobox",
|
|
505
|
-
ariaControls: this._popupId
|
|
513
|
+
ariaControls: this._popupId,
|
|
514
|
+
ariaLabel: ariaLabel
|
|
506
515
|
});
|
|
507
516
|
var dateInputRendering = getTemplate.call(this, {
|
|
508
517
|
h: h,
|
|
@@ -28,6 +28,7 @@ import { Calendar } from '../calendar/components/Calendar';
|
|
|
28
28
|
import { EMPTY_SELECTIONRANGE } from '../calendar/models/main';
|
|
29
29
|
import { MIN_DATE, MAX_DATE } from '../defaults';
|
|
30
30
|
import { swapStartEnd, start, end, separator, messages } from '../messages/main';
|
|
31
|
+
import { arrowsSwapIcon } from '@progress/kendo-svg-icons';
|
|
31
32
|
var WRAPPER_STYLES = {
|
|
32
33
|
display: 'inline-block'
|
|
33
34
|
};
|
|
@@ -412,8 +413,10 @@ var DateRangePickerVue2 = {
|
|
|
412
413
|
}, [h(Icon, {
|
|
413
414
|
name: 'arrows-swap',
|
|
414
415
|
attrs: this.v3 ? undefined : {
|
|
415
|
-
name: 'arrows-swap'
|
|
416
|
+
name: 'arrows-swap',
|
|
417
|
+
icon: arrowsSwapIcon
|
|
416
418
|
},
|
|
419
|
+
icon: arrowsSwapIcon,
|
|
417
420
|
style: {
|
|
418
421
|
transform: 'rotate(90deg)'
|
|
419
422
|
},
|
|
@@ -19,6 +19,7 @@ import { DateTimeSelector } from './DateTimeSelector';
|
|
|
19
19
|
import { isInTimeRange } from '../timepicker/utils';
|
|
20
20
|
import { MIN_TIME } from '../defaults';
|
|
21
21
|
import { defaultFormatPlaceholder } from '../dateinput/utils';
|
|
22
|
+
import { calendarIcon } from '@progress/kendo-svg-icons';
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
24
25
|
*/
|
|
@@ -493,6 +494,7 @@ var DateTimePickerVue2 = {
|
|
|
493
494
|
type: "button",
|
|
494
495
|
tabIndex: -1,
|
|
495
496
|
icon: 'calendar',
|
|
497
|
+
svgIcon: calendarIcon,
|
|
496
498
|
title: provideLocalizationService(this).toLanguageString(toggleDateTimeSelector, messages[toggleDateTimeSelector]),
|
|
497
499
|
rounded: null,
|
|
498
500
|
"aria-controls": this._popupId,
|
|
@@ -500,6 +502,7 @@ var DateTimePickerVue2 = {
|
|
|
500
502
|
},
|
|
501
503
|
tabIndex: -1,
|
|
502
504
|
icon: 'calendar',
|
|
505
|
+
svgIcon: calendarIcon,
|
|
503
506
|
onMousedown: this.handleIconMouseDown,
|
|
504
507
|
on: this.v3 ? undefined : {
|
|
505
508
|
"mousedown": this.handleIconMouseDown,
|
|
@@ -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: 1673273820,
|
|
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
|
};
|
|
@@ -29,6 +29,7 @@ import { TimeSelector } from './TimeSelector';
|
|
|
29
29
|
import { MIDNIGHT_DATE, MIN_TIME, MAX_TIME, setTime } from '../utils';
|
|
30
30
|
import { isInRange, isSmallerThanMin, isBiggerThanMax } from './utils';
|
|
31
31
|
import { defaultFormatPlaceholder } from '../dateinput/utils';
|
|
32
|
+
import { clockIcon } from '@progress/kendo-svg-icons';
|
|
32
33
|
/**
|
|
33
34
|
* @hidden
|
|
34
35
|
*/
|
|
@@ -489,6 +490,7 @@ var TimePickerVue2 = {
|
|
|
489
490
|
type: "button",
|
|
490
491
|
tabIndex: -1,
|
|
491
492
|
icon: 'clock',
|
|
493
|
+
svgIcon: clockIcon,
|
|
492
494
|
title: toggleTimeMessage,
|
|
493
495
|
rounded: null,
|
|
494
496
|
"aria-controls": this._popupId,
|
|
@@ -496,6 +498,7 @@ var TimePickerVue2 = {
|
|
|
496
498
|
},
|
|
497
499
|
tabIndex: -1,
|
|
498
500
|
icon: 'clock',
|
|
501
|
+
svgIcon: clockIcon,
|
|
499
502
|
onMousedown: this.handleIconMouseDown,
|
|
500
503
|
on: this.v3 ? undefined : {
|
|
501
504
|
"mousedown": this.handleIconMouseDown,
|
|
@@ -13,6 +13,7 @@ import { Action } from '../models/main.js';
|
|
|
13
13
|
import { getToday, isInRange, dateInRange, MAX_DATE } from '../../utils.js';
|
|
14
14
|
import { MIN_DATE } from '../../defaults.js';
|
|
15
15
|
import { classNames, Keys, getTemplate } from '@progress/kendo-vue-common';
|
|
16
|
+
import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
@@ -207,6 +208,7 @@ var HeaderVue2 = {
|
|
|
207
208
|
attrs: this.v3 ? undefined : {
|
|
208
209
|
type: "button",
|
|
209
210
|
icon: 'chevron-left',
|
|
211
|
+
svgIcon: chevronLeftIcon,
|
|
210
212
|
size: this.$props.size,
|
|
211
213
|
fillMode: 'flat',
|
|
212
214
|
desabled: isPrevDisabled,
|
|
@@ -214,6 +216,7 @@ var HeaderVue2 = {
|
|
|
214
216
|
title: prevViewTitle
|
|
215
217
|
},
|
|
216
218
|
icon: 'chevron-left',
|
|
219
|
+
svgIcon: chevronLeftIcon,
|
|
217
220
|
size: this.$props.size,
|
|
218
221
|
fillMode: 'flat',
|
|
219
222
|
"class": "k-calendar-nav-pre",
|
|
@@ -243,6 +246,7 @@ var HeaderVue2 = {
|
|
|
243
246
|
attrs: this.v3 ? undefined : {
|
|
244
247
|
type: "button",
|
|
245
248
|
icon: 'chevron-right',
|
|
249
|
+
svgIcon: chevronRightIcon,
|
|
246
250
|
size: this.$props.size,
|
|
247
251
|
fillMode: 'flat',
|
|
248
252
|
desabled: isNextDisabled,
|
|
@@ -250,6 +254,7 @@ var HeaderVue2 = {
|
|
|
250
254
|
title: nextViewTittle
|
|
251
255
|
},
|
|
252
256
|
icon: 'chevron-right',
|
|
257
|
+
svgIcon: chevronRightIcon,
|
|
253
258
|
size: this.$props.size,
|
|
254
259
|
fillMode: 'flat',
|
|
255
260
|
"class": "k-calendar-nav-next",
|
|
@@ -17,6 +17,7 @@ import { messages, increaseValue, decreaseValue } from '../messages/main.js';
|
|
|
17
17
|
import { isInTimeRange } from '../timepicker/utils.js';
|
|
18
18
|
import { MIN_TIME, MAX_TIME } from '../defaults.js';
|
|
19
19
|
import { FloatingLabel } from '@progress/kendo-vue-labels';
|
|
20
|
+
import { caretAltDownIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';
|
|
20
21
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
21
22
|
/**
|
|
22
23
|
* @hidden
|
|
@@ -147,7 +148,7 @@ var DateInputVue2 = {
|
|
|
147
148
|
default: undefined
|
|
148
149
|
},
|
|
149
150
|
ariaHasPopup: {
|
|
150
|
-
type:
|
|
151
|
+
type: String,
|
|
151
152
|
default: undefined
|
|
152
153
|
}
|
|
153
154
|
},
|
|
@@ -611,6 +612,7 @@ var DateInputVue2 = {
|
|
|
611
612
|
type: "button",
|
|
612
613
|
tabIndex: -1,
|
|
613
614
|
icon: 'caret-alt-up',
|
|
615
|
+
svgIcon: caretAltUpIcon,
|
|
614
616
|
size: this.$props.size,
|
|
615
617
|
fillMode: this.$props.fillMode,
|
|
616
618
|
"aria-label": localizationService.toLanguageString(increaseValue, messages[increaseValue]),
|
|
@@ -618,6 +620,7 @@ var DateInputVue2 = {
|
|
|
618
620
|
},
|
|
619
621
|
tabIndex: -1,
|
|
620
622
|
icon: 'caret-alt-up',
|
|
623
|
+
svgIcon: caretAltUpIcon,
|
|
621
624
|
size: this.$props.size,
|
|
622
625
|
fillMode: this.$props.fillMode,
|
|
623
626
|
"class": "k-spinner-increase",
|
|
@@ -635,6 +638,7 @@ var DateInputVue2 = {
|
|
|
635
638
|
type: "button",
|
|
636
639
|
tabIndex: -1,
|
|
637
640
|
icon: 'caret-alt-down',
|
|
641
|
+
svgIcon: caretAltDownIcon,
|
|
638
642
|
size: this.$props.size,
|
|
639
643
|
fillMode: this.$props.fillMode,
|
|
640
644
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -643,6 +647,7 @@ var DateInputVue2 = {
|
|
|
643
647
|
tabIndex: -1,
|
|
644
648
|
"class": "k-spinner-decrease",
|
|
645
649
|
icon: 'caret-alt-down',
|
|
650
|
+
svgIcon: caretAltDownIcon,
|
|
646
651
|
size: this.$props.size,
|
|
647
652
|
fillMode: this.$props.fillMode,
|
|
648
653
|
"aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
|
|
@@ -5,6 +5,7 @@ var gh = allVue.h;
|
|
|
5
5
|
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
6
|
var ref = allVue.ref;
|
|
7
7
|
var inject = allVue.inject;
|
|
8
|
+
import { calendarIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
import { Popup } from '@progress/kendo-vue-popup';
|
|
9
10
|
import { getDate, cloneDate } from '@progress/kendo-date-math';
|
|
10
11
|
import { classNames, guid, Keys, templateRendering, getListeners, getTemplate, validatePackage, canUseDOM, kendoThemeMaps, getDefaultSlots, setRef, getRef, Icon } from '@progress/kendo-vue-common';
|
|
@@ -159,7 +160,8 @@ var DatePickerVue2 = {
|
|
|
159
160
|
valid: {
|
|
160
161
|
type: Boolean,
|
|
161
162
|
default: undefined
|
|
162
|
-
}
|
|
163
|
+
},
|
|
164
|
+
ariaLabel: String
|
|
163
165
|
},
|
|
164
166
|
data: function data() {
|
|
165
167
|
return {
|
|
@@ -398,7 +400,8 @@ var DatePickerVue2 = {
|
|
|
398
400
|
validityStyles = _b.validityStyles,
|
|
399
401
|
size = _b.size,
|
|
400
402
|
fillMode = _b.fillMode,
|
|
401
|
-
rounded = _b.rounded
|
|
403
|
+
rounded = _b.rounded,
|
|
404
|
+
ariaLabel = _b.ariaLabel;
|
|
402
405
|
var _c = this.$props.popupSettings,
|
|
403
406
|
popupClass = _c.popupClass,
|
|
404
407
|
animate = _c.animate,
|
|
@@ -417,12 +420,14 @@ var DatePickerVue2 = {
|
|
|
417
420
|
type: "button",
|
|
418
421
|
tabIndex: -1,
|
|
419
422
|
icon: "calendar",
|
|
423
|
+
svgIcon: calendarIcon,
|
|
420
424
|
title: provideLocalizationService(this).toLanguageString(toggleCalendar, messages[toggleCalendar]),
|
|
421
425
|
"aria-label": provideLocalizationService(this).toLanguageString(toggleCalendar, messages[toggleCalendar]),
|
|
422
426
|
rounded: null
|
|
423
427
|
},
|
|
424
428
|
tabIndex: -1,
|
|
425
429
|
icon: "calendar",
|
|
430
|
+
svgIcon: calendarIcon,
|
|
426
431
|
onMousedown: this.handleIconMouseDown,
|
|
427
432
|
on: this.v3 ? undefined : {
|
|
428
433
|
"mousedown": this.handleIconMouseDown,
|
|
@@ -441,8 +446,10 @@ var DatePickerVue2 = {
|
|
|
441
446
|
defaultSlots: h(Icon, {
|
|
442
447
|
name: "calendar",
|
|
443
448
|
attrs: this.v3 ? undefined : {
|
|
444
|
-
name: "calendar"
|
|
445
|
-
|
|
449
|
+
name: "calendar",
|
|
450
|
+
icon: calendarIcon
|
|
451
|
+
},
|
|
452
|
+
icon: calendarIcon
|
|
446
453
|
}),
|
|
447
454
|
additionalListeners: {
|
|
448
455
|
click: this.handleIconClick
|
|
@@ -476,7 +483,8 @@ var DatePickerVue2 = {
|
|
|
476
483
|
ariaHasPopup: 'grid',
|
|
477
484
|
ariaExpanded: show,
|
|
478
485
|
ariaRole: "combobox",
|
|
479
|
-
ariaControls: this._popupId
|
|
486
|
+
ariaControls: this._popupId,
|
|
487
|
+
ariaLabel: ariaLabel
|
|
480
488
|
},
|
|
481
489
|
disabled: disabled,
|
|
482
490
|
format: format,
|
|
@@ -502,7 +510,8 @@ var DatePickerVue2 = {
|
|
|
502
510
|
ariaHasPopup: 'grid',
|
|
503
511
|
ariaExpanded: show,
|
|
504
512
|
ariaRole: "combobox",
|
|
505
|
-
ariaControls: this._popupId
|
|
513
|
+
ariaControls: this._popupId,
|
|
514
|
+
ariaLabel: ariaLabel
|
|
506
515
|
});
|
|
507
516
|
var dateInputRendering = getTemplate.call(this, {
|
|
508
517
|
h: h,
|
|
@@ -28,6 +28,7 @@ import { Calendar } from '../calendar/components/Calendar.js';
|
|
|
28
28
|
import { EMPTY_SELECTIONRANGE } from '../calendar/models/main.js';
|
|
29
29
|
import { MIN_DATE, MAX_DATE } from '../defaults.js';
|
|
30
30
|
import { swapStartEnd, start, end, separator, messages } from '../messages/main.js';
|
|
31
|
+
import { arrowsSwapIcon } from '@progress/kendo-svg-icons';
|
|
31
32
|
var WRAPPER_STYLES = {
|
|
32
33
|
display: 'inline-block'
|
|
33
34
|
};
|
|
@@ -412,8 +413,10 @@ var DateRangePickerVue2 = {
|
|
|
412
413
|
}, [h(Icon, {
|
|
413
414
|
name: 'arrows-swap',
|
|
414
415
|
attrs: this.v3 ? undefined : {
|
|
415
|
-
name: 'arrows-swap'
|
|
416
|
+
name: 'arrows-swap',
|
|
417
|
+
icon: arrowsSwapIcon
|
|
416
418
|
},
|
|
419
|
+
icon: arrowsSwapIcon,
|
|
417
420
|
style: {
|
|
418
421
|
transform: 'rotate(90deg)'
|
|
419
422
|
},
|
|
@@ -19,6 +19,7 @@ import { DateTimeSelector } from './DateTimeSelector.js';
|
|
|
19
19
|
import { isInTimeRange } from '../timepicker/utils.js';
|
|
20
20
|
import { MIN_TIME } from '../defaults.js';
|
|
21
21
|
import { defaultFormatPlaceholder } from '../dateinput/utils.js';
|
|
22
|
+
import { calendarIcon } from '@progress/kendo-svg-icons';
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
24
25
|
*/
|
|
@@ -493,6 +494,7 @@ var DateTimePickerVue2 = {
|
|
|
493
494
|
type: "button",
|
|
494
495
|
tabIndex: -1,
|
|
495
496
|
icon: 'calendar',
|
|
497
|
+
svgIcon: calendarIcon,
|
|
496
498
|
title: provideLocalizationService(this).toLanguageString(toggleDateTimeSelector, messages[toggleDateTimeSelector]),
|
|
497
499
|
rounded: null,
|
|
498
500
|
"aria-controls": this._popupId,
|
|
@@ -500,6 +502,7 @@ var DateTimePickerVue2 = {
|
|
|
500
502
|
},
|
|
501
503
|
tabIndex: -1,
|
|
502
504
|
icon: 'calendar',
|
|
505
|
+
svgIcon: calendarIcon,
|
|
503
506
|
onMousedown: this.handleIconMouseDown,
|
|
504
507
|
on: this.v3 ? undefined : {
|
|
505
508
|
"mousedown": this.handleIconMouseDown,
|
|
@@ -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: 1673273820,
|
|
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
|
};
|
|
@@ -29,6 +29,7 @@ import { TimeSelector } from './TimeSelector.js';
|
|
|
29
29
|
import { MIDNIGHT_DATE, MIN_TIME, MAX_TIME, setTime } from '../utils.js';
|
|
30
30
|
import { isInRange, isSmallerThanMin, isBiggerThanMax } from './utils.js';
|
|
31
31
|
import { defaultFormatPlaceholder } from '../dateinput/utils.js';
|
|
32
|
+
import { clockIcon } from '@progress/kendo-svg-icons';
|
|
32
33
|
/**
|
|
33
34
|
* @hidden
|
|
34
35
|
*/
|
|
@@ -489,6 +490,7 @@ var TimePickerVue2 = {
|
|
|
489
490
|
type: "button",
|
|
490
491
|
tabIndex: -1,
|
|
491
492
|
icon: 'clock',
|
|
493
|
+
svgIcon: clockIcon,
|
|
492
494
|
title: toggleTimeMessage,
|
|
493
495
|
rounded: null,
|
|
494
496
|
"aria-controls": this._popupId,
|
|
@@ -496,6 +498,7 @@ var TimePickerVue2 = {
|
|
|
496
498
|
},
|
|
497
499
|
tabIndex: -1,
|
|
498
500
|
icon: 'clock',
|
|
501
|
+
svgIcon: clockIcon,
|
|
499
502
|
onMousedown: this.handleIconMouseDown,
|
|
500
503
|
on: this.v3 ? undefined : {
|
|
501
504
|
"mousedown": this.handleIconMouseDown,
|
|
@@ -19,6 +19,7 @@ var main_2 = require("../models/main");
|
|
|
19
19
|
var utils_1 = require("../../utils");
|
|
20
20
|
var defaults_1 = require("../../defaults");
|
|
21
21
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
22
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
24
25
|
*/
|
|
@@ -213,6 +214,7 @@ var HeaderVue2 = {
|
|
|
213
214
|
attrs: this.v3 ? undefined : {
|
|
214
215
|
type: "button",
|
|
215
216
|
icon: 'chevron-left',
|
|
217
|
+
svgIcon: kendo_svg_icons_1.chevronLeftIcon,
|
|
216
218
|
size: this.$props.size,
|
|
217
219
|
fillMode: 'flat',
|
|
218
220
|
desabled: isPrevDisabled,
|
|
@@ -220,6 +222,7 @@ var HeaderVue2 = {
|
|
|
220
222
|
title: prevViewTitle
|
|
221
223
|
},
|
|
222
224
|
icon: 'chevron-left',
|
|
225
|
+
svgIcon: kendo_svg_icons_1.chevronLeftIcon,
|
|
223
226
|
size: this.$props.size,
|
|
224
227
|
fillMode: 'flat',
|
|
225
228
|
"class": "k-calendar-nav-pre",
|
|
@@ -249,6 +252,7 @@ var HeaderVue2 = {
|
|
|
249
252
|
attrs: this.v3 ? undefined : {
|
|
250
253
|
type: "button",
|
|
251
254
|
icon: 'chevron-right',
|
|
255
|
+
svgIcon: kendo_svg_icons_1.chevronRightIcon,
|
|
252
256
|
size: this.$props.size,
|
|
253
257
|
fillMode: 'flat',
|
|
254
258
|
desabled: isNextDisabled,
|
|
@@ -256,6 +260,7 @@ var HeaderVue2 = {
|
|
|
256
260
|
title: nextViewTittle
|
|
257
261
|
},
|
|
258
262
|
icon: 'chevron-right',
|
|
263
|
+
svgIcon: kendo_svg_icons_1.chevronRightIcon,
|
|
259
264
|
size: this.$props.size,
|
|
260
265
|
fillMode: 'flat',
|
|
261
266
|
"class": "k-calendar-nav-next",
|
|
@@ -23,6 +23,7 @@ var main_2 = require("../messages/main");
|
|
|
23
23
|
var utils_3 = require("../timepicker/utils");
|
|
24
24
|
var defaults_1 = require("../defaults");
|
|
25
25
|
var kendo_vue_labels_1 = require("@progress/kendo-vue-labels");
|
|
26
|
+
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
26
27
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
27
28
|
/**
|
|
28
29
|
* @hidden
|
|
@@ -153,7 +154,7 @@ var DateInputVue2 = {
|
|
|
153
154
|
default: undefined
|
|
154
155
|
},
|
|
155
156
|
ariaHasPopup: {
|
|
156
|
-
type:
|
|
157
|
+
type: String,
|
|
157
158
|
default: undefined
|
|
158
159
|
}
|
|
159
160
|
},
|
|
@@ -617,6 +618,7 @@ var DateInputVue2 = {
|
|
|
617
618
|
type: "button",
|
|
618
619
|
tabIndex: -1,
|
|
619
620
|
icon: 'caret-alt-up',
|
|
621
|
+
svgIcon: kendo_svg_icons_1.caretAltUpIcon,
|
|
620
622
|
size: this.$props.size,
|
|
621
623
|
fillMode: this.$props.fillMode,
|
|
622
624
|
"aria-label": localizationService.toLanguageString(main_2.increaseValue, main_2.messages[main_2.increaseValue]),
|
|
@@ -624,6 +626,7 @@ var DateInputVue2 = {
|
|
|
624
626
|
},
|
|
625
627
|
tabIndex: -1,
|
|
626
628
|
icon: 'caret-alt-up',
|
|
629
|
+
svgIcon: kendo_svg_icons_1.caretAltUpIcon,
|
|
627
630
|
size: this.$props.size,
|
|
628
631
|
fillMode: this.$props.fillMode,
|
|
629
632
|
"class": "k-spinner-increase",
|
|
@@ -641,6 +644,7 @@ var DateInputVue2 = {
|
|
|
641
644
|
type: "button",
|
|
642
645
|
tabIndex: -1,
|
|
643
646
|
icon: 'caret-alt-down',
|
|
647
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
644
648
|
size: this.$props.size,
|
|
645
649
|
fillMode: this.$props.fillMode,
|
|
646
650
|
"aria-label": localizationService.toLanguageString(main_2.decreaseValue, main_2.messages[main_2.decreaseValue]),
|
|
@@ -649,6 +653,7 @@ var DateInputVue2 = {
|
|
|
649
653
|
tabIndex: -1,
|
|
650
654
|
"class": "k-spinner-decrease",
|
|
651
655
|
icon: 'caret-alt-down',
|
|
656
|
+
svgIcon: kendo_svg_icons_1.caretAltDownIcon,
|
|
652
657
|
size: this.$props.size,
|
|
653
658
|
fillMode: this.$props.fillMode,
|
|
654
659
|
"aria-label": localizationService.toLanguageString(main_2.decreaseValue, main_2.messages[main_2.decreaseValue]),
|