@progress/kendo-vue-dateinputs 8.0.3-develop.2 → 8.0.3-develop.3

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.
Files changed (120) hide show
  1. package/PopupSettings.d.ts +21 -0
  2. package/calendar/components/Calendar.d.ts +206 -0
  3. package/calendar/components/CalendarCell.d.ts +70 -0
  4. package/calendar/components/CalendarHeaderTitle.d.ts +35 -0
  5. package/calendar/components/CalendarWeekCell.d.ts +35 -0
  6. package/calendar/components/Header.d.ts +175 -0
  7. package/calendar/components/View.d.ts +204 -0
  8. package/calendar/components/ViewList.d.ts +226 -0
  9. package/calendar/components/interfaces/CalendarComputed.d.ts +17 -0
  10. package/calendar/components/interfaces/CalendarData.d.ts +17 -0
  11. package/calendar/components/interfaces/CalendarEventArguments.d.ts +63 -0
  12. package/calendar/components/interfaces/CalendarMethods.d.ts +40 -0
  13. package/calendar/components/interfaces/CalendarProps.d.ts +66 -0
  14. package/calendar/components/interfaces/CalendarState.d.ts +32 -0
  15. package/calendar/models/ActiveView.d.ts +11 -0
  16. package/calendar/models/CalendarMode.d.ts +16 -0
  17. package/calendar/models/CalendarSettings.d.ts +84 -0
  18. package/calendar/models/CalendarViewEnum.d.ts +16 -0
  19. package/calendar/models/CellContext.d.ts +26 -0
  20. package/calendar/models/NavigationAction.d.ts +22 -0
  21. package/calendar/models/SelectionRange.d.ts +24 -0
  22. package/calendar/models/SelectionRangeEnd.d.ts +11 -0
  23. package/calendar/models/ViewService.d.ts +32 -0
  24. package/calendar/models/main.d.ts +17 -0
  25. package/calendar/services/BusViewService.d.ts +28 -0
  26. package/calendar/services/CenturyViewService.d.ts +32 -0
  27. package/calendar/services/DOMService.d.ts +36 -0
  28. package/calendar/services/DecadeViewService.d.ts +34 -0
  29. package/calendar/services/MonthViewService.d.ts +40 -0
  30. package/calendar/services/NavigationService.d.ts +20 -0
  31. package/calendar/services/WeekNamesService.d.ts +16 -0
  32. package/calendar/services/YearViewService.d.ts +38 -0
  33. package/calendar/services/main.d.ts +16 -0
  34. package/calendar/utils/main.d.ts +33 -0
  35. package/common/PickerWrap.d.ts +23 -0
  36. package/dateinput/DateInput.d.ts +260 -0
  37. package/dateinput/DateInput.mjs +3 -3
  38. package/dateinput/interfaces/DateInputBlurEvent.d.ts +16 -0
  39. package/dateinput/interfaces/DateInputComputed.d.ts +15 -0
  40. package/dateinput/interfaces/DateInputData.d.ts +18 -0
  41. package/dateinput/interfaces/DateInputEventArguments.d.ts +17 -0
  42. package/dateinput/interfaces/DateInputFocusEvent.d.ts +16 -0
  43. package/dateinput/interfaces/DateInputMethods.d.ts +37 -0
  44. package/dateinput/interfaces/DateInputProps.d.ts +38 -0
  45. package/dateinput/interfaces/DateInputState.d.ts +16 -0
  46. package/dateinput/models/DateInputSettings.d.ts +160 -0
  47. package/dateinput/models/format-placeholder.d.ts +46 -0
  48. package/dateinput/models/incremental-steps.d.ts +18 -0
  49. package/dateinput/models/kendo-date.d.ts +60 -0
  50. package/dateinput/models/main.d.ts +14 -0
  51. package/dateinput/models/mask.d.ts +14 -0
  52. package/dateinput/models/selection.d.ts +14 -0
  53. package/dateinput/utils.d.ts +37 -0
  54. package/datepicker/DatePicker.d.ts +280 -0
  55. package/datepicker/DatePicker.js +1 -1
  56. package/datepicker/DatePicker.mjs +11 -10
  57. package/datepicker/ToggleButton.d.ts +151 -0
  58. package/datepicker/interfaces/DatePickerComputed.d.ts +15 -0
  59. package/datepicker/interfaces/DatePickerData.d.ts +15 -0
  60. package/datepicker/interfaces/DatePickerEventArguments.d.ts +29 -0
  61. package/datepicker/interfaces/DatePickerFocusBlurEvents.d.ts +25 -0
  62. package/datepicker/interfaces/DatePickerMethods.d.ts +34 -0
  63. package/datepicker/interfaces/DatePickerProps.d.ts +53 -0
  64. package/datepicker/interfaces/DatePickerState.d.ts +23 -0
  65. package/datepicker/models/DatePickerSettings.d.ts +157 -0
  66. package/datepicker/models/main.d.ts +9 -0
  67. package/daterangepicker/DateRangePicker.d.ts +315 -0
  68. package/daterangepicker/interfaces/DateRangePickerFocusBlurEvents.d.ts +25 -0
  69. package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +13 -0
  70. package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +13 -0
  71. package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +13 -0
  72. package/daterangepicker/models/DateRangePickerSettings.d.ts +162 -0
  73. package/daterangepicker/models/main.d.ts +12 -0
  74. package/datetimepicker/DateTimePicker.d.ts +380 -0
  75. package/datetimepicker/DateTimePicker.js +1 -1
  76. package/datetimepicker/DateTimePicker.mjs +17 -16
  77. package/datetimepicker/DateTimeSelector.d.ts +188 -0
  78. package/datetimepicker/interfaces/DateTimePickerFocusBlurEvents.d.ts +25 -0
  79. package/datetimepicker/models/DateTimePickerSettings.d.ts +199 -0
  80. package/datetimepicker/models/main.d.ts +9 -0
  81. package/defaults.d.ts +27 -0
  82. package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
  83. package/index.d.mts +30 -3477
  84. package/index.d.ts +30 -3477
  85. package/messages/main.d.ts +117 -0
  86. package/package-metadata.d.ts +12 -0
  87. package/package-metadata.js +1 -1
  88. package/package-metadata.mjs +2 -2
  89. package/package.json +16 -10
  90. package/timepicker/TimeList.d.ts +129 -0
  91. package/timepicker/TimePart.d.ts +177 -0
  92. package/timepicker/TimePart.js +1 -1
  93. package/timepicker/TimePart.mjs +2 -2
  94. package/timepicker/TimePicker.d.ts +369 -0
  95. package/timepicker/TimePicker.js +1 -1
  96. package/timepicker/TimePicker.mjs +1 -0
  97. package/timepicker/TimeSelector.d.ts +185 -0
  98. package/timepicker/interfaces/TimePickerFocusBlurEvents.d.ts +25 -0
  99. package/timepicker/models/IncrementalSteps.d.ts +15 -0
  100. package/timepicker/models/ListItem.d.ts +14 -0
  101. package/timepicker/models/ListService.d.ts +22 -0
  102. package/timepicker/models/ListServiceSettings.d.ts +19 -0
  103. package/timepicker/models/TimePart.d.ts +17 -0
  104. package/timepicker/models/TimePickerSettings.d.ts +180 -0
  105. package/timepicker/models/main.d.ts +14 -0
  106. package/timepicker/services/DOMService.d.ts +17 -0
  107. package/timepicker/services/DayPeriodService.d.ts +54 -0
  108. package/timepicker/services/HoursService.d.ts +40 -0
  109. package/timepicker/services/MinutesService.d.ts +39 -0
  110. package/timepicker/services/SecondsService.d.ts +39 -0
  111. package/timepicker/services/main.d.ts +13 -0
  112. package/timepicker/utils.d.ts +63 -0
  113. package/utils.d.ts +77 -0
  114. package/utils.mjs +1 -1
  115. package/virtualization/Virtualization.d.ts +186 -0
  116. package/virtualization/Virtualization.js +1 -1
  117. package/virtualization/Virtualization.mjs +2 -2
  118. package/virtualization/services/RowHeightService.d.ts +25 -0
  119. package/virtualization/services/ScrollerService.d.ts +56 -0
  120. package/virtualization/services/main.d.ts +10 -0
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * The interface which defines all possible incremental steps in the DateInput.
10
+ */
11
+ export interface DateInputIncrementalSteps {
12
+ year?: number;
13
+ month?: number;
14
+ day?: number;
15
+ hour?: number;
16
+ minute?: number;
17
+ second?: number;
18
+ }
@@ -0,0 +1,60 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DateInputFormatPlaceholder } from './format-placeholder';
9
+ import { IntlService, DateFormatOptions } from '@progress/kendo-vue-intl';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface DatePart {
14
+ value: Date | null;
15
+ }
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare class KendoDate {
20
+ year: boolean;
21
+ month: boolean;
22
+ date: boolean;
23
+ hours: boolean;
24
+ minutes: boolean;
25
+ seconds: boolean;
26
+ milliseconds: boolean;
27
+ formatPlaceholder: DateInputFormatPlaceholder;
28
+ format: string | DateFormatOptions;
29
+ private leadingZero;
30
+ private monthNames;
31
+ private typedMonthPart;
32
+ private knownParts;
33
+ private symbols;
34
+ private intlProvider;
35
+ get intl(): IntlService;
36
+ private _value;
37
+ get value(): Date;
38
+ constructor(intlProvider: any, formatPlaceholder: DateInputFormatPlaceholder, format: string | DateFormatOptions);
39
+ setValue(value: Date | null): void;
40
+ hasValue(): boolean;
41
+ getDateObject(): Date | null;
42
+ getTextAndFormat(): {
43
+ text: string;
44
+ format: string;
45
+ };
46
+ modifyExisting(value: boolean): void;
47
+ getExisting(symbol: string): boolean;
48
+ setExisting(symbol: string, value: boolean): void;
49
+ modifyPart(symbol: string, offset: number): void;
50
+ parsePart(symbol: string, currentChar: string): DatePart;
51
+ symbolMap(symbol: string): string;
52
+ resetLeadingZero(): boolean;
53
+ private isAbbrMonth;
54
+ private partPattern;
55
+ private matchMonth;
56
+ private allFormatedMonths;
57
+ private dateFormatString;
58
+ private merge;
59
+ private dateFieldName;
60
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DateInputFormatPlaceholder, DateInputCustomFormatPlaceholder } from './format-placeholder';
9
+ import { DateInputIncrementalSteps } from './incremental-steps';
10
+ import { DateInputSettings } from './DateInputSettings';
11
+ import { DatePart, KendoDate } from './kendo-date';
12
+ import { Mask } from './mask';
13
+ import { Selection } from './selection';
14
+ export { type DateInputFormatPlaceholder, type DateInputCustomFormatPlaceholder, type DateInputIncrementalSteps, type DateInputSettings, type DatePart, KendoDate, Mask, type Selection };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class Mask {
12
+ symbols: string;
13
+ partMap: any[];
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export type Selection = {
12
+ start: number;
13
+ end: number;
14
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare const defaultFormat = "d";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare const defaultFormatPlaceholder = "wide";
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const padZero: (length: any) => string;
20
+ /**
21
+ * @hidden
22
+ */
23
+ export declare const approximateStringMatching: (oldTextOrigin: string, oldFormat: string, newTextOrigin: string, selectionStart: number) => any[];
24
+ /**
25
+ * @hidden
26
+ */
27
+ export declare const dateSymbolMap: (map: any, part: any) => Function;
28
+ /**
29
+ * @hidden
30
+ */
31
+ export declare const isInRange: (candidate: Date | null, min: Date, max: Date) => boolean;
32
+ /**
33
+ * @hidden
34
+ */
35
+ export declare const invalidClasses: string[];
36
+ /** @hidden */
37
+ export declare const wrapperClasses: string[];
@@ -0,0 +1,280 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { FormComponentValidity } from '@progress/kendo-vue-common';
9
+ import { DateInputChangeEvent } from '../dateinput/interfaces/DateInputEventArguments';
10
+ import { CalendarChangeEvent } from '../calendar/components/interfaces/CalendarEventArguments';
11
+ import { DatePickerProps } from './interfaces/DatePickerProps';
12
+ import { DatePickerChangeEvent, DatePickerOpenEvent, DatePickerCloseEvent } from './interfaces/DatePickerEventArguments';
13
+ import { DatePickerFocusEvent, DatePickerBlurEvent } from './interfaces/DatePickerFocusBlurEvents';
14
+ import { PropType } from 'vue';
15
+ /**
16
+ * @hidden
17
+ */
18
+ declare const DatePicker: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
19
+ defaultShow: {
20
+ type: PropType<boolean>;
21
+ default: boolean;
22
+ };
23
+ modelValue: {
24
+ type: PropType<Date>;
25
+ default: any;
26
+ };
27
+ defaultValue: {
28
+ type: PropType<Date>;
29
+ default: any;
30
+ };
31
+ disabled: {
32
+ type: PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ dateInput: {
36
+ type: PropType<any>;
37
+ default: () => any;
38
+ };
39
+ calendar: {
40
+ type: PropType<any>;
41
+ default: () => any;
42
+ };
43
+ toggleButton: {
44
+ type: PropType<any>;
45
+ default: () => any;
46
+ };
47
+ label: PropType<string>;
48
+ placeholder: PropType<string>;
49
+ popup: {
50
+ type: PropType<any>;
51
+ default: () => any;
52
+ };
53
+ rounded: {
54
+ type: PropType<string>;
55
+ validator: (value: string) => boolean;
56
+ };
57
+ fillMode: {
58
+ type: PropType<string>;
59
+ validator: (value: string) => boolean;
60
+ };
61
+ size: {
62
+ type: PropType<"small" | "medium" | "large">;
63
+ validator: (value: string) => boolean;
64
+ };
65
+ focusedDate: PropType<Date>;
66
+ format: {
67
+ type: PropType<string | import('@progress/kendo-vue-intl').DateFormatOptions>;
68
+ default: () => string | object;
69
+ };
70
+ formatPlaceholder: PropType<import('..').DateInputFormatPlaceholder>;
71
+ id: PropType<string>;
72
+ max: {
73
+ type: PropType<Date>;
74
+ default: () => Date;
75
+ };
76
+ min: {
77
+ type: PropType<Date>;
78
+ default: () => Date;
79
+ };
80
+ name: PropType<string>;
81
+ popupSettings: {
82
+ type: PropType<import('../PopupSettings').DateInputsPopupSettings>;
83
+ default: () => {};
84
+ };
85
+ show: {
86
+ type: PropType<boolean>;
87
+ default: any;
88
+ };
89
+ tabIndex: {
90
+ type: PropType<number>;
91
+ default: number;
92
+ };
93
+ title: {
94
+ type: PropType<string>;
95
+ default: () => "";
96
+ };
97
+ value: PropType<Date>;
98
+ weekNumber: PropType<boolean>;
99
+ width: PropType<string | number>;
100
+ validityStyles: {
101
+ type: PropType<boolean>;
102
+ default: boolean;
103
+ };
104
+ validationMessage: PropType<string>;
105
+ required: PropType<boolean>;
106
+ validate: PropType<boolean>;
107
+ valid: {
108
+ type: PropType<boolean>;
109
+ default: any;
110
+ };
111
+ ariaLabel: PropType<string>;
112
+ inputAttributes: PropType<Object>;
113
+ }>, {
114
+ listRef: import('vue').Ref<any, any>;
115
+ kendoAnchorRef: import('vue').Ref<any, any>;
116
+ kendoLocalizationService: {};
117
+ }, {
118
+ isFocused: boolean;
119
+ currentValue: any;
120
+ currentShow: any;
121
+ valueDuringOnChange: any;
122
+ showDuringOnChange: any;
123
+ shouldFocusDateInput: boolean;
124
+ }, {
125
+ computedValue(): Date | null;
126
+ computedShow(): boolean;
127
+ }, {
128
+ focus(): void;
129
+ handleFocus(event: FocusEvent): void;
130
+ handleBlur(event: FocusEvent): void;
131
+ calendarBlur(event: FocusEvent): void;
132
+ calendarFocus(event: FocusEvent): void;
133
+ createBlurTimeout(): void;
134
+ validity(): FormComponentValidity;
135
+ nextValue(nextProps: DatePickerProps, nextState: any): any;
136
+ nextShow(nextProps: DatePickerProps, nextState: any): any;
137
+ setShow(show: boolean): void;
138
+ mergeTime(value: Date | null): Date | null;
139
+ handleInputValueChange(event: DateInputChangeEvent): void;
140
+ handleCalendarValueChange(event: CalendarChangeEvent): void;
141
+ getDateInputText(): any;
142
+ handleValueChange(value: Date | null, event: DateInputChangeEvent | CalendarChangeEvent): void;
143
+ handleIconClick(event: any): void;
144
+ handleIconMouseDown(event: any): void;
145
+ handleKeyDown(event: any): void;
146
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
147
+ change: (event: DatePickerChangeEvent) => true;
148
+ changemodel: (value: Date | null) => true;
149
+ 'update:modelValue': (value: Date | null) => true;
150
+ iconclick: (event: Event) => true;
151
+ focus: (event: DatePickerFocusEvent) => true;
152
+ blur: (event: DatePickerBlurEvent) => true;
153
+ keydown: (event: KeyboardEvent) => true;
154
+ open: (event: DatePickerOpenEvent) => true;
155
+ close: (event: DatePickerCloseEvent) => true;
156
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
157
+ defaultShow: {
158
+ type: PropType<boolean>;
159
+ default: boolean;
160
+ };
161
+ modelValue: {
162
+ type: PropType<Date>;
163
+ default: any;
164
+ };
165
+ defaultValue: {
166
+ type: PropType<Date>;
167
+ default: any;
168
+ };
169
+ disabled: {
170
+ type: PropType<boolean>;
171
+ default: boolean;
172
+ };
173
+ dateInput: {
174
+ type: PropType<any>;
175
+ default: () => any;
176
+ };
177
+ calendar: {
178
+ type: PropType<any>;
179
+ default: () => any;
180
+ };
181
+ toggleButton: {
182
+ type: PropType<any>;
183
+ default: () => any;
184
+ };
185
+ label: PropType<string>;
186
+ placeholder: PropType<string>;
187
+ popup: {
188
+ type: PropType<any>;
189
+ default: () => any;
190
+ };
191
+ rounded: {
192
+ type: PropType<string>;
193
+ validator: (value: string) => boolean;
194
+ };
195
+ fillMode: {
196
+ type: PropType<string>;
197
+ validator: (value: string) => boolean;
198
+ };
199
+ size: {
200
+ type: PropType<"small" | "medium" | "large">;
201
+ validator: (value: string) => boolean;
202
+ };
203
+ focusedDate: PropType<Date>;
204
+ format: {
205
+ type: PropType<string | import('@progress/kendo-vue-intl').DateFormatOptions>;
206
+ default: () => string | object;
207
+ };
208
+ formatPlaceholder: PropType<import('..').DateInputFormatPlaceholder>;
209
+ id: PropType<string>;
210
+ max: {
211
+ type: PropType<Date>;
212
+ default: () => Date;
213
+ };
214
+ min: {
215
+ type: PropType<Date>;
216
+ default: () => Date;
217
+ };
218
+ name: PropType<string>;
219
+ popupSettings: {
220
+ type: PropType<import('../PopupSettings').DateInputsPopupSettings>;
221
+ default: () => {};
222
+ };
223
+ show: {
224
+ type: PropType<boolean>;
225
+ default: any;
226
+ };
227
+ tabIndex: {
228
+ type: PropType<number>;
229
+ default: number;
230
+ };
231
+ title: {
232
+ type: PropType<string>;
233
+ default: () => "";
234
+ };
235
+ value: PropType<Date>;
236
+ weekNumber: PropType<boolean>;
237
+ width: PropType<string | number>;
238
+ validityStyles: {
239
+ type: PropType<boolean>;
240
+ default: boolean;
241
+ };
242
+ validationMessage: PropType<string>;
243
+ required: PropType<boolean>;
244
+ validate: PropType<boolean>;
245
+ valid: {
246
+ type: PropType<boolean>;
247
+ default: any;
248
+ };
249
+ ariaLabel: PropType<string>;
250
+ inputAttributes: PropType<Object>;
251
+ }>> & Readonly<{
252
+ onBlur?: (event: DatePickerBlurEvent) => any;
253
+ onChange?: (event: DatePickerChangeEvent) => any;
254
+ onClose?: (event: DatePickerCloseEvent) => any;
255
+ onFocus?: (event: DatePickerFocusEvent) => any;
256
+ onKeydown?: (event: KeyboardEvent) => any;
257
+ onOpen?: (event: DatePickerOpenEvent) => any;
258
+ onChangemodel?: (value: Date) => any;
259
+ "onUpdate:modelValue"?: (value: Date) => any;
260
+ onIconclick?: (event: Event) => any;
261
+ }>, {
262
+ title: string;
263
+ tabIndex: number;
264
+ calendar: any;
265
+ popup: any;
266
+ disabled: boolean;
267
+ format: string | object;
268
+ max: Date;
269
+ min: Date;
270
+ defaultValue: Date;
271
+ show: boolean;
272
+ popupSettings: import('../PopupSettings').DateInputsPopupSettings;
273
+ modelValue: Date;
274
+ validityStyles: boolean;
275
+ valid: boolean;
276
+ defaultShow: boolean;
277
+ dateInput: any;
278
+ toggleButton: any;
279
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
280
+ export { DatePicker };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),w=require("@progress/kendo-svg-icons"),J=require("@progress/kendo-vue-popup"),l=require("@progress/kendo-date-math"),t=require("@progress/kendo-vue-common"),Q=require("../package-metadata.js"),W=require("../dateinput/DateInput.js"),Y=require("../calendar/components/Calendar.js"),r=require("../utils.js"),o=require("../messages/main.js"),D=require("@progress/kendo-vue-intl"),Z=require("./ToggleButton.js"),ee=require("@progress/kendo-vue-labels");function b(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!a.isVNode(e)}const te=a.defineComponent({name:"DatePicker",inject:{kendoLocalizationService:{default:null}},model:{event:"changemodel"},emits:{change:e=>!0,changemodel:e=>!0,"update:modelValue":e=>!0,iconclick:e=>!0,focus:e=>!0,blur:e=>!0,keydown:e=>!0,open:e=>!0,close:e=>!0},props:{defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:void 0},disabled:{type:Boolean,default:!1},dateInput:{type:[String,Object,Function],default:function(){}},calendar:{type:[String,Object,Function],default:function(){}},toggleButton:{type:[String,Object,Function],default:function(){}},label:String,placeholder:String,popup:{type:[String,Object,Function],default:function(){}},rounded:{type:String,validator:function(e){return["none","small","medium","large","full"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,validator:function(e){return["small","medium","large"].includes(e)}},focusedDate:Date,format:{type:[Object,String],default:function(){return"d"}},formatPlaceholder:[Object,String],id:String,max:{type:Date,default:function(){return l.cloneDate(r.MAX_DATE)}},min:{type:Date,default:function(){return l.cloneDate(r.MIN_DATE)}},name:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},title:{type:String,default:function(){return""}},value:Date,weekNumber:Boolean,width:[Number,String],validityStyles:{type:Boolean,default:!0},validationMessage:String,required:Boolean,validate:Boolean,valid:{type:Boolean,default:void 0},ariaLabel:String,inputAttributes:Object},data:function(){return{isFocused:!1,currentValue:void 0,currentShow:void 0,valueDuringOnChange:void 0,showDuringOnChange:void 0,shouldFocusDateInput:!1}},created(){t.validatePackage(Q.packageMetadata),this._popupId=t.guid(),this._anchor=t.guid(),this._dateInput=null,this._calendar=null,this.$data.currentValue=this.$props.defaultValue,this.$data.currentShow=this.$props.defaultShow},mounted(){this._dateInput=t.getRef(this,"dateInput"),(this.$refs.calendar||this.calendarRef)&&(this._calendar=t.getRef(this,"calendar")),this.computedShow&&this.$forceUpdate()},updated(){(this.$refs.calendar||this.calendarRef)&&(this._calendar=t.getRef(this,"calendar")),this.computedShow?this._calendar&&this._calendar.$el&&!this._oldShow&&this._calendar.focus({preventScroll:!0}):this._dateInput&&this._dateInput.$el&&this.$data.shouldFocusDateInput&&this._dateInput.focus({preventScroll:!0}),this.$data.shouldFocusDateInput=!1},watch:{show:function(e,n){this._oldShow=n},currentShow:function(e,n){this._oldShow=n}},computed:{computedValue(){const e=this.$data.valueDuringOnChange!==void 0?this.$data.valueDuringOnChange:this.$props.value!==void 0?this.$props.value:this.$props.modelValue!==void 0?this.$props.modelValue:this.$data.currentValue;return e!==null?l.cloneDate(e):null},computedShow(){return this.$data.showDuringOnChange!==void 0?this.$data.showDuringOnChange:this.$props.show!==void 0?this.$props.show:this.$data.currentShow}},methods:{focus(){this._dateInput&&this._dateInput.focus()},handleFocus(e){this._oldShow=this.computedShow,this.$data.isFocused=!0,this.$emit("focus",{event:e})},handleBlur(e){this.$data.isFocused=!1,this.createBlurTimeout(),this.$emit("blur",{event:e})},calendarBlur(e){this.$emit("blur",{event:e}),clearTimeout(this._blurTimeout),this.createBlurTimeout()},calendarFocus(e){this.$emit("focus",{event:e}),clearTimeout(this._blurTimeout)},createBlurTimeout(){this._blurTimeout=setTimeout(()=>{this._dateInput&&t.canUseDOM&&document.activeElement!==this._dateInput._element&&this.setShow(!1)},200)},validity(){const e=this.computedValue,n=r.isInDateRange(e,this.$props.min,this.$props.max),i=this.$props.validationMessage!==void 0,s=(!this.$props.required||e!==null)&&n,h=this.$props.valid!==void 0?this.$props.valid:s;return{customError:i,rangeOverflow:e&&this.$props.max.getTime()<e.getTime()||!1,rangeUnderflow:e&&e.getTime()<this.$props.min.getTime()||!1,valid:h,valueMissing:e===null}},nextValue(e,n){return e.value!==void 0?e.value:n.value},nextShow(e,n){return e.show!==void 0?e.show:n.show},setShow(e){this.computedShow!==e&&(this.$data.currentShow=e,this.$emit(e?"open":"close",{component:this}))},mergeTime(e){return this.computedValue&&e?r.setTime(e,this.computedValue):e},handleInputValueChange(e){this.handleValueChange(e.value,e)},handleCalendarValueChange(e){const n=this.mergeTime(e.value);this.handleValueChange(n,e)},getDateInputText(){return this.computedValue?!0:this._dateInput?this._dateInput._element.value:""},handleValueChange(e,n){this.$data.currentValue=l.cloneDate(e||void 0),this.$data.valueDuringOnChange=e,this.$data.showDuringOnChange=!1,this.$data.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:n.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue},validity:this.validity()}),this.$data.valueDuringOnChange=void 0,this.$data.showDuringOnChange=void 0,this.setShow(!1)},handleIconClick(e){e.stopPropagation(),e.preventDefault(),!this.$props.disabled&&(this.$data.shouldFocusDateInput=!0,this.$emit("iconclick",e),this.setShow(!this.computedShow))},handleIconMouseDown(e){e.stopPropagation(),e.preventDefault()},handleKeyDown(e){const{altKey:n,keyCode:i}=e;if(i===t.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element){e.preventDefault(),this.$data.shouldFocusDateInput=!0,this.setShow(!1);return}if(i===t.Keys.esc){this.$data.shouldFocusDateInput=!0,this.setShow(!1);return}n&&(i===t.Keys.up||i===t.Keys.down)&&(e.preventDefault(),e.stopPropagation(),this.$data.shouldFocusDateInput=i===t.Keys.up,this.setShow(i===t.Keys.down)),this.$emit("keydown",e)}},setup(){const e=a.ref(null),n=a.ref(null),i=a.inject("kendoLocalizationService",{});return{listRef:e,kendoAnchorRef:n,kendoLocalizationService:i}},render(){t.getDefaultSlots(this);const{disabled:e,tabIndex:n,title:i,id:s,format:h,formatPlaceholder:I,min:m,max:$,weekNumber:y,focusedDate:k,width:V,name:_,validationMessage:C,required:T,validityStyles:R,size:c,fillMode:v,rounded:p,ariaLabel:B,inputAttributes:F}=this.$props,{popupClass:O,animate:M,appendTo:q}=this.$props.popupSettings,f=this.computedShow,g=this.computedValue,L=g&&l.getDate(g),S=!this.$props.validityStyles||this.validity().valid,N=t.classNames("k-calendar-container k-group k-reset",O),j=this.$props.toggleButton?t.templateRendering.call(this,this.$props.toggleButton,t.getListeners.call(this)):void 0,x=a.createVNode(Z.ToggleButton,{type:"button",tabIndex:-1,icon:"calendar",svgIcon:w.calendarIcon,onMousedown:this.handleIconMouseDown,onClick:this.handleIconClick,title:D.provideLocalizationService(this).toLanguageString(o.toggleCalendar,o.messages[o.toggleCalendar]),"aria-label":D.provideLocalizationService(this).toLanguageString(o.toggleCalendar,o.messages[o.toggleCalendar]),rounded:null,class:"k-input-button"},null),P=t.getTemplate.call(this,{h:a.h,template:j,defaultRendering:x,defaultSlots:a.createVNode(t.Icon,{name:"calendar",icon:w.calendarIcon},null),additionalListeners:{click:this.handleIconClick}}),z=this.$props.dateInput?t.templateRendering.call(this,this.$props.dateInput,t.getListeners.call(this)):void 0,K=a.createVNode(W.DateInput,{ref:t.setRef(this,"dateInput"),placeholder:this.$props.placeholder,disabled:e,format:h,formatPlaceholder:I,id:s,max:$,min:m,name:_,size:null,rounded:null,fillMode:null,onChange:this.handleInputValueChange,required:T,tabIndex:f?-1:n,title:i,valid:this.validity().valid,validationMessage:C,validityStyles:R,value:g,ariaHasPopup:"grid",ariaExpanded:f,ariaRole:"combobox",ariaControls:this._popupId,ariaLabel:B,inputAttributes:F},null),A=t.getTemplate.call(this,{h:a.h,template:z,defaultRendering:K}),E=this.$props.calendar?t.templateRendering.call(this,this.$props.calendar,t.getListeners.call(this)):void 0,U=a.createVNode(Y.Calendar,{ref:t.setRef(this,"calendar"),onKeydown:this.handleKeyDown,onFocus:this.calendarFocus,onBlur:this.calendarBlur,disabled:e,value:L,min:m,max:$,weekNumber:y,focusedDate:k,onChange:this.handleCalendarValueChange},null),u=t.getTemplate.call(this,{h:a.h,template:E,defaultRendering:U}),H=this.$props.popup?t.templateRendering.call(this,this.$props.popup,t.getListeners.call(this)):void 0,X=a.createVNode(J.Popup,{show:f,anchor:this._anchor,class:N,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:M,appendTo:q},b(u)?u:{default:()=>[u]}),G=t.getTemplate.call(this,{h:a.h,template:H,defaultRendering:X,defaultSlots:u}),d=a.createVNode("span",{ref:t.setRef(this,"kendoAnchor"),role:"group",class:t.classNames("k-input","k-datepicker",{[`k-input-${t.kendoThemeMaps.sizeMap[c]||c}`]:c,[`k-input-${v}`]:v,[`k-rounded-${t.kendoThemeMaps.roundedMap[p]||p}`]:p,"k-invalid":!S,"k-required":this.required,"k-disabled":this.$props.disabled,"k-focus":this.$data.isFocused}),onKeydown:this.handleKeyDown,onFocusin:this.handleFocus,onFocusout:this.handleBlur},[A,P,G]);return this.$props.label?a.createVNode(ee.FloatingLabel,{label:this.$props.label,editorId:s,editorValid:S,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:V}},b(d)?d:{default:()=>[d]}):d}});exports.DatePicker=te;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),w=require("@progress/kendo-svg-icons"),J=require("@progress/kendo-vue-popup"),l=require("@progress/kendo-date-math"),t=require("@progress/kendo-vue-common"),Q=require("../package-metadata.js"),W=require("../dateinput/DateInput.js"),Y=require("../calendar/components/Calendar.js"),r=require("../utils.js"),o=require("../messages/main.js"),D=require("@progress/kendo-vue-intl"),Z=require("./ToggleButton.js"),ee=require("@progress/kendo-vue-labels");function b(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!a.isVNode(e)}const te=a.defineComponent({name:"DatePicker",inject:{kendoLocalizationService:{default:null}},model:{event:"changemodel"},emits:{change:e=>!0,changemodel:e=>!0,"update:modelValue":e=>!0,iconclick:e=>!0,focus:e=>!0,blur:e=>!0,keydown:e=>!0,open:e=>!0,close:e=>!0},props:{defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:void 0},disabled:{type:Boolean,default:!1},dateInput:{type:[String,Object,Function],default:function(){}},calendar:{type:[String,Object,Function],default:function(){}},toggleButton:{type:[String,Object,Function],default:function(){}},label:String,placeholder:String,popup:{type:[String,Object,Function],default:function(){}},rounded:{type:String,validator:function(e){return["none","small","medium","large","full"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,validator:function(e){return["small","medium","large"].includes(e)}},focusedDate:Date,format:{type:[Object,String],default:function(){return"d"}},formatPlaceholder:[Object,String],id:String,max:{type:Date,default:function(){return l.cloneDate(r.MAX_DATE)}},min:{type:Date,default:function(){return l.cloneDate(r.MIN_DATE)}},name:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},title:{type:String,default:function(){return""}},value:Date,weekNumber:Boolean,width:[Number,String],validityStyles:{type:Boolean,default:!0},validationMessage:String,required:Boolean,validate:Boolean,valid:{type:Boolean,default:void 0},ariaLabel:String,inputAttributes:Object},data:function(){return{isFocused:!1,currentValue:void 0,currentShow:void 0,valueDuringOnChange:void 0,showDuringOnChange:void 0,shouldFocusDateInput:!1}},created(){t.validatePackage(Q.packageMetadata),this._popupId=t.guid(),this._anchor=t.guid(),this._dateInput=null,this._calendar=null,this.$data.currentValue=this.$props.defaultValue,this.$data.currentShow=this.$props.defaultShow},mounted(){this._dateInput=t.getRef(this,"dateInput"),(this.$refs.calendar||this.calendarRef)&&(this._calendar=t.getRef(this,"calendar")),this.computedShow&&this.$forceUpdate()},updated(){(this.$refs.calendar||this.calendarRef)&&(this._calendar=t.getRef(this,"calendar")),this.computedShow?this._calendar&&this._calendar.$el&&!this._oldShow&&this._calendar.focus({preventScroll:!0}):this._dateInput&&this._dateInput.$el&&this.$data.shouldFocusDateInput&&this._dateInput.focus({preventScroll:!0}),this.$data.shouldFocusDateInput=!1},watch:{show:function(e,n){this._oldShow=n},currentShow:function(e,n){this._oldShow=n}},computed:{computedValue(){const e=this.$data.valueDuringOnChange!==void 0?this.$data.valueDuringOnChange:this.$props.value!==void 0?this.$props.value:this.$props.modelValue!==void 0?this.$props.modelValue:this.$data.currentValue;return e!==null?l.cloneDate(e):null},computedShow(){return this.$data.showDuringOnChange!==void 0?this.$data.showDuringOnChange:this.$props.show!==void 0?this.$props.show:this.$data.currentShow}},methods:{focus(){this._dateInput&&this._dateInput.focus()},handleFocus(e){this._oldShow=this.computedShow,this.$data.isFocused=!0,this.$emit("focus",{event:e})},handleBlur(e){this.$data.isFocused=!1,this.createBlurTimeout(),this.$emit("blur",{event:e})},calendarBlur(e){this.$emit("blur",{event:e}),clearTimeout(this._blurTimeout),this.createBlurTimeout()},calendarFocus(e){this.$emit("focus",{event:e}),clearTimeout(this._blurTimeout)},createBlurTimeout(){this._blurTimeout=setTimeout(()=>{this._dateInput&&t.canUseDOM&&document.activeElement!==this._dateInput._element&&this.setShow(!1)},200)},validity(){const e=this.computedValue,n=r.isInDateRange(e,this.$props.min,this.$props.max),i=this.$props.validationMessage!==void 0,s=(!this.$props.required||e!==null)&&n,h=this.$props.valid!==void 0?this.$props.valid:s;return{customError:i,rangeOverflow:e&&this.$props.max.getTime()<e.getTime()||!1,rangeUnderflow:e&&e.getTime()<this.$props.min.getTime()||!1,valid:h,valueMissing:e===null}},nextValue(e,n){return e.value!==void 0?e.value:n.value},nextShow(e,n){return e.show!==void 0?e.show:n.show},setShow(e){this.computedShow!==e&&(this.$data.currentShow=e,this.$emit(e?"open":"close",{component:this}))},mergeTime(e){return this.computedValue&&e?r.setTime(e,this.computedValue):e},handleInputValueChange(e){this.handleValueChange(e.value,e)},handleCalendarValueChange(e){const n=this.mergeTime(e.value);this.handleValueChange(n,e)},getDateInputText(){return this.computedValue?!0:this._dateInput?this._dateInput._element.value:""},handleValueChange(e,n){this.$data.currentValue=l.cloneDate(e||void 0),this.$data.valueDuringOnChange=e,this.$data.showDuringOnChange=!1,this.$data.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:n.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue},validity:this.validity()}),this.$data.valueDuringOnChange=void 0,this.$data.showDuringOnChange=void 0,this.setShow(!1)},handleIconClick(e){e.stopPropagation(),e.preventDefault(),!this.$props.disabled&&(this.$data.shouldFocusDateInput=!0,this.$emit("iconclick",e),this.setShow(!this.computedShow))},handleIconMouseDown(e){e.stopPropagation(),e.preventDefault()},handleKeyDown(e){const{altKey:n,keyCode:i}=e;if(i===t.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element){e.preventDefault(),this.$data.shouldFocusDateInput=!0,this.setShow(!1);return}if(i===t.Keys.esc){this.$data.shouldFocusDateInput=!0,this.setShow(!1);return}n&&(i===t.Keys.up||i===t.Keys.down)&&(e.preventDefault(),e.stopPropagation(),this.$data.shouldFocusDateInput=i===t.Keys.up,this.setShow(i===t.Keys.down)),this.$emit("keydown",e)}},setup(){const e=a.ref(null),n=a.ref(null),i=a.inject("kendoLocalizationService",{});return{listRef:e,kendoAnchorRef:n,kendoLocalizationService:i}},render(){t.getDefaultSlots(this);const{disabled:e,tabIndex:n,title:i,id:s,format:h,formatPlaceholder:I,min:m,max:$,weekNumber:y,focusedDate:k,width:V,name:_,validationMessage:C,required:T,validityStyles:R,size:c,fillMode:v,rounded:p,ariaLabel:B,inputAttributes:F}=this.$props,{popupClass:O,animate:M,appendTo:q}=this.$props.popupSettings,f=this.computedShow,g=this.computedValue,L=g&&l.getDate(g),S=!this.$props.validityStyles||this.validity().valid,N=t.classNames("k-calendar-container k-group k-reset",O),j=this.$props.toggleButton?t.templateRendering.call(this,this.$props.toggleButton,t.getListeners.call(this)):void 0,x=a.createVNode(Z.ToggleButton,{type:"button",tabIndex:-1,icon:"calendar",svgIcon:w.calendarIcon,onMousedown:this.handleIconMouseDown,onClick:this.handleIconClick,title:D.provideLocalizationService(this).toLanguageString(o.toggleCalendar,o.messages[o.toggleCalendar]),"aria-label":D.provideLocalizationService(this).toLanguageString(o.toggleCalendar,o.messages[o.toggleCalendar]),rounded:null,disabled:e,class:"k-input-button"},null),P=t.getTemplate.call(this,{h:a.h,template:j,defaultRendering:x,defaultSlots:a.createVNode(t.Icon,{name:"calendar",icon:w.calendarIcon},null),additionalListeners:{click:this.handleIconClick}}),z=this.$props.dateInput?t.templateRendering.call(this,this.$props.dateInput,t.getListeners.call(this)):void 0,K=a.createVNode(W.DateInput,{ref:t.setRef(this,"dateInput"),placeholder:this.$props.placeholder,disabled:e,format:h,formatPlaceholder:I,id:s,max:$,min:m,name:_,size:null,rounded:null,fillMode:null,onChange:this.handleInputValueChange,required:T,tabIndex:f?-1:n,title:i,valid:this.validity().valid,validationMessage:C,validityStyles:R,value:g,ariaHasPopup:"grid",ariaExpanded:f,ariaRole:"combobox",ariaControls:this._popupId,ariaLabel:B,inputAttributes:F},null),A=t.getTemplate.call(this,{h:a.h,template:z,defaultRendering:K}),E=this.$props.calendar?t.templateRendering.call(this,this.$props.calendar,t.getListeners.call(this)):void 0,U=a.createVNode(Y.Calendar,{ref:t.setRef(this,"calendar"),onKeydown:this.handleKeyDown,onFocus:this.calendarFocus,onBlur:this.calendarBlur,disabled:e,value:L,min:m,max:$,weekNumber:y,focusedDate:k,onChange:this.handleCalendarValueChange},null),u=t.getTemplate.call(this,{h:a.h,template:E,defaultRendering:U}),H=this.$props.popup?t.templateRendering.call(this,this.$props.popup,t.getListeners.call(this)):void 0,X=a.createVNode(J.Popup,{show:f,anchor:this._anchor,class:N,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:M,appendTo:q},b(u)?u:{default:()=>[u]}),G=t.getTemplate.call(this,{h:a.h,template:H,defaultRendering:X,defaultSlots:u}),d=a.createVNode("span",{ref:t.setRef(this,"kendoAnchor"),role:"group",class:t.classNames("k-input","k-datepicker",{[`k-input-${t.kendoThemeMaps.sizeMap[c]||c}`]:c,[`k-input-${v}`]:v,[`k-rounded-${t.kendoThemeMaps.roundedMap[p]||p}`]:p,"k-invalid":!S,"k-required":this.required,"k-disabled":this.$props.disabled,"k-focus":this.$data.isFocused}),onKeydown:this.handleKeyDown,onFocusin:this.handleFocus,onFocusout:this.handleBlur},[A,P,G]);return this.$props.label?a.createVNode(ee.FloatingLabel,{label:this.$props.label,editorId:s,editorValid:S,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:V}},b(d)?d:{default:()=>[d]}):d}});exports.DatePicker=te;
@@ -16,8 +16,8 @@ import { Calendar as ge } from "../calendar/components/Calendar.mjs";
16
16
  import { setTime as $e, isInDateRange as ve, MIN_DATE as Se, MAX_DATE as we } from "../utils.mjs";
17
17
  import { toggleCalendar as c, messages as F } from "../messages/main.mjs";
18
18
  import { provideLocalizationService as B } from "@progress/kendo-vue-intl";
19
- import { ToggleButton as De } from "./ToggleButton.mjs";
20
- import { FloatingLabel as be } from "@progress/kendo-vue-labels";
19
+ import { ToggleButton as be } from "./ToggleButton.mjs";
20
+ import { FloatingLabel as De } from "@progress/kendo-vue-labels";
21
21
  function O(e) {
22
22
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ue(e);
23
23
  }
@@ -314,8 +314,8 @@ const je = /* @__PURE__ */ oe({
314
314
  id: o,
315
315
  format: f,
316
316
  formatPlaceholder: R,
317
- min: D,
318
- max: b,
317
+ min: b,
318
+ max: D,
319
319
  weekNumber: M,
320
320
  focusedDate: x,
321
321
  width: j,
@@ -332,7 +332,7 @@ const je = /* @__PURE__ */ oe({
332
332
  popupClass: q,
333
333
  animate: E,
334
334
  appendTo: U
335
- } = this.$props.popupSettings, $ = this.computedShow, v = this.computedValue, H = v && de(v), y = !this.$props.validityStyles || this.validity().valid, X = V("k-calendar-container k-group k-reset", q), G = this.$props.toggleButton ? r.call(this, this.$props.toggleButton, h.call(this)) : void 0, J = n(De, {
335
+ } = this.$props.popupSettings, $ = this.computedShow, v = this.computedValue, H = v && de(v), y = !this.$props.validityStyles || this.validity().valid, X = V("k-calendar-container k-group k-reset", q), G = this.$props.toggleButton ? r.call(this, this.$props.toggleButton, h.call(this)) : void 0, J = n(be, {
336
336
  type: "button",
337
337
  tabIndex: -1,
338
338
  icon: "calendar",
@@ -342,6 +342,7 @@ const je = /* @__PURE__ */ oe({
342
342
  title: B(this).toLanguageString(c, F[c]),
343
343
  "aria-label": B(this).toLanguageString(c, F[c]),
344
344
  rounded: null,
345
+ disabled: e,
345
346
  class: "k-input-button"
346
347
  }, null), Q = p.call(this, {
347
348
  h: s,
@@ -361,8 +362,8 @@ const je = /* @__PURE__ */ oe({
361
362
  format: f,
362
363
  formatPlaceholder: R,
363
364
  id: o,
364
- max: b,
365
- min: D,
365
+ max: D,
366
+ min: b,
366
367
  name: L,
367
368
  size: null,
368
369
  rounded: null,
@@ -392,8 +393,8 @@ const je = /* @__PURE__ */ oe({
392
393
  onBlur: this.calendarBlur,
393
394
  disabled: e,
394
395
  value: H,
395
- min: D,
396
- max: b,
396
+ min: b,
397
+ max: D,
397
398
  weekNumber: M,
398
399
  focusedDate: x,
399
400
  onChange: this.handleCalendarValueChange
@@ -439,7 +440,7 @@ const je = /* @__PURE__ */ oe({
439
440
  onFocusin: this.handleFocus,
440
441
  onFocusout: this.handleBlur
441
442
  }, [Z, Q, ie]);
442
- return this.$props.label ? n(be, {
443
+ return this.$props.label ? n(De, {
443
444
  label: this.$props.label,
444
445
  editorId: o,
445
446
  editorValid: y,