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

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,369 @@
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 { PopupProps } from '@progress/kendo-vue-popup';
9
+ import { FormComponentProps, FormComponentValidity } from '@progress/kendo-vue-common';
10
+ import { DateInputChangeEvent } from '../dateinput/interfaces/DateInputEventArguments';
11
+ import { TimeSelectorChangeEvent } from './TimeSelector';
12
+ import { TimePickerSettings } from './models/main';
13
+ import { DateInputFormatPlaceholder } from '../dateinput/models/main';
14
+ import { PropType } from 'vue';
15
+ import { TimePickerFocusEvent, TimePickerBlurEvent } from './interfaces/TimePickerFocusBlurEvents';
16
+ /**
17
+ * The arguments for the `onChange` event of the TimePicker.
18
+ */
19
+ export interface TimePickerChangeEvent {
20
+ event?: any;
21
+ value: Date | null;
22
+ show: boolean;
23
+ target: any;
24
+ }
25
+ /**
26
+ * The arguments for the `open` event of the TimePicker.
27
+ */
28
+ export interface TimePickerOpenEvent {
29
+ component: any;
30
+ }
31
+ /**
32
+ * The arguments for the `close` event of the TimePicker.
33
+ */
34
+ export interface TimePickerCloseEvent {
35
+ component: any;
36
+ }
37
+ /**
38
+ * Represents the props of the [Kendo UI for Vue TimePicker component]({% slug overview_timepicker %}).
39
+ */
40
+ export interface TimePickerProps extends TimePickerSettings, FormComponentProps {
41
+ /**
42
+ * @hidden
43
+ */
44
+ modelValue?: Date;
45
+ /**
46
+ * Sets the default value of the TimePicker ([see example]({% slug default_value_timepicker %}#toc-setting-the-default-value)).
47
+ */
48
+ defaultValue?: Date;
49
+ /**
50
+ * Fires each time the user selects a new value ([see example]({% slug controlled_timepicker %}#toc-controlling-the-date-value)).
51
+ */
52
+ onChange?: (event: TimePickerChangeEvent) => void;
53
+ /**
54
+ * Specifies the value of the TimePicker ([see example]({% slug controlled_timepicker %}#toc-controlling-the-date-value)).
55
+ *
56
+ * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
57
+ */
58
+ value?: Date | null;
59
+ }
60
+ /**
61
+ * @hidden
62
+ */
63
+ export interface TimePickerComputed {
64
+ [key: string]: any;
65
+ timeSelector: any;
66
+ computedValue: Date | null;
67
+ computedShow: boolean;
68
+ }
69
+ /**
70
+ * @hidden
71
+ */
72
+ declare const TimePicker: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
73
+ cancelButton: {
74
+ type: PropType<boolean>;
75
+ default: boolean;
76
+ };
77
+ nowButton: {
78
+ type: PropType<boolean>;
79
+ default: any;
80
+ };
81
+ defaultShow: {
82
+ type: PropType<boolean>;
83
+ default: boolean;
84
+ };
85
+ modelValue: {
86
+ type: PropType<Date>;
87
+ default: any;
88
+ };
89
+ defaultValue: {
90
+ type: PropType<Date>;
91
+ default: () => any;
92
+ };
93
+ dateInput: {
94
+ type: PropType<any>;
95
+ default: () => any;
96
+ };
97
+ popup: {
98
+ type: PropType<any>;
99
+ default: () => any;
100
+ };
101
+ disabled: {
102
+ type: PropType<boolean>;
103
+ default: boolean;
104
+ };
105
+ format: {
106
+ type: PropType<string | import('@progress/kendo-vue-intl').DateFormatOptions>;
107
+ default: () => string | object;
108
+ };
109
+ formatPlaceholder: {
110
+ type: PropType<DateInputFormatPlaceholder>;
111
+ default: () => DateInputFormatPlaceholder;
112
+ };
113
+ rounded: {
114
+ type: PropType<string>;
115
+ validator: (value: string) => boolean;
116
+ };
117
+ fillMode: {
118
+ type: PropType<string>;
119
+ validator: (value: string) => boolean;
120
+ };
121
+ size: {
122
+ type: PropType<"small" | "medium" | "large">;
123
+ validator: (value: string) => boolean;
124
+ };
125
+ id: PropType<string>;
126
+ ariaLabelledBy: PropType<string>;
127
+ ariaDescribedBy: PropType<string>;
128
+ min: {
129
+ type: PropType<Date>;
130
+ default: () => Date;
131
+ };
132
+ max: {
133
+ type: PropType<Date>;
134
+ default: () => Date;
135
+ };
136
+ name: PropType<string>;
137
+ label: PropType<string>;
138
+ placeholder: PropType<string>;
139
+ popupSettings: {
140
+ type: PropType<PopupProps>;
141
+ default: () => {};
142
+ };
143
+ show: {
144
+ type: PropType<boolean>;
145
+ default: any;
146
+ };
147
+ tabIndex: {
148
+ type: PropType<number>;
149
+ default: number;
150
+ };
151
+ steps: {
152
+ type: PropType<import('./models/IncrementalSteps').TimePickerIncrementalSteps>;
153
+ default: () => {};
154
+ };
155
+ smoothScroll: {
156
+ type: PropType<boolean>;
157
+ default: boolean;
158
+ };
159
+ title: {
160
+ type: PropType<string>;
161
+ default: () => "";
162
+ };
163
+ value: {
164
+ type: PropType<Date>;
165
+ default: () => any;
166
+ };
167
+ width: PropType<string | number>;
168
+ validationMessage: PropType<string>;
169
+ required: {
170
+ type: PropType<boolean>;
171
+ default: boolean;
172
+ };
173
+ validityStyles: {
174
+ type: PropType<boolean>;
175
+ default: boolean;
176
+ };
177
+ validate: PropType<boolean>;
178
+ valid: {
179
+ type: PropType<boolean>;
180
+ default: any;
181
+ };
182
+ inputAttributes: PropType<Object>;
183
+ }>, {
184
+ kendoAnchorRef: import('vue').Ref<any, any>;
185
+ kendoLocalizationService: {};
186
+ }, {
187
+ currentValue: any;
188
+ currentShow: boolean;
189
+ valueDuringOnChange: any;
190
+ showDuringOnChange: any;
191
+ isFocused: boolean;
192
+ }, {
193
+ timeSelector(): any;
194
+ computedValue(): Date | null;
195
+ computedShow(): boolean;
196
+ }, {
197
+ validity(): FormComponentValidity;
198
+ getDateInputText(): any;
199
+ focus(): void;
200
+ normalizeTime(date: Date): Date;
201
+ setShow(show: boolean): void;
202
+ mergeTime(value: Date | null): Date | null;
203
+ handleInputValueChange(event: DateInputChangeEvent): void;
204
+ handleValueChange(event: DateInputChangeEvent | TimeSelectorChangeEvent): void;
205
+ handleFocus(event: FocusEvent): void;
206
+ handleBlur(event: FocusEvent): void;
207
+ timeBlur(event: FocusEvent): void;
208
+ timeFocus(): void;
209
+ createBlurTimeout(): void;
210
+ handleValueReject(_: any): void;
211
+ handleIconClick(event: any): void;
212
+ handleIconMouseDown(event: any): void;
213
+ handleKeyDown(event: any): void;
214
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
215
+ changemodel: (value: Date | null) => true;
216
+ 'update:modelValue': (value: Date | null) => true;
217
+ iconclick: (event: Event) => true;
218
+ change: (event: TimePickerChangeEvent) => true;
219
+ focus: (event: TimePickerFocusEvent) => true;
220
+ blur: (event: TimePickerBlurEvent) => true;
221
+ keydown: (event: KeyboardEvent) => true;
222
+ open: (event: TimePickerOpenEvent) => true;
223
+ close: (event: TimePickerCloseEvent) => true;
224
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
225
+ cancelButton: {
226
+ type: PropType<boolean>;
227
+ default: boolean;
228
+ };
229
+ nowButton: {
230
+ type: PropType<boolean>;
231
+ default: any;
232
+ };
233
+ defaultShow: {
234
+ type: PropType<boolean>;
235
+ default: boolean;
236
+ };
237
+ modelValue: {
238
+ type: PropType<Date>;
239
+ default: any;
240
+ };
241
+ defaultValue: {
242
+ type: PropType<Date>;
243
+ default: () => any;
244
+ };
245
+ dateInput: {
246
+ type: PropType<any>;
247
+ default: () => any;
248
+ };
249
+ popup: {
250
+ type: PropType<any>;
251
+ default: () => any;
252
+ };
253
+ disabled: {
254
+ type: PropType<boolean>;
255
+ default: boolean;
256
+ };
257
+ format: {
258
+ type: PropType<string | import('@progress/kendo-vue-intl').DateFormatOptions>;
259
+ default: () => string | object;
260
+ };
261
+ formatPlaceholder: {
262
+ type: PropType<DateInputFormatPlaceholder>;
263
+ default: () => DateInputFormatPlaceholder;
264
+ };
265
+ rounded: {
266
+ type: PropType<string>;
267
+ validator: (value: string) => boolean;
268
+ };
269
+ fillMode: {
270
+ type: PropType<string>;
271
+ validator: (value: string) => boolean;
272
+ };
273
+ size: {
274
+ type: PropType<"small" | "medium" | "large">;
275
+ validator: (value: string) => boolean;
276
+ };
277
+ id: PropType<string>;
278
+ ariaLabelledBy: PropType<string>;
279
+ ariaDescribedBy: PropType<string>;
280
+ min: {
281
+ type: PropType<Date>;
282
+ default: () => Date;
283
+ };
284
+ max: {
285
+ type: PropType<Date>;
286
+ default: () => Date;
287
+ };
288
+ name: PropType<string>;
289
+ label: PropType<string>;
290
+ placeholder: PropType<string>;
291
+ popupSettings: {
292
+ type: PropType<PopupProps>;
293
+ default: () => {};
294
+ };
295
+ show: {
296
+ type: PropType<boolean>;
297
+ default: any;
298
+ };
299
+ tabIndex: {
300
+ type: PropType<number>;
301
+ default: number;
302
+ };
303
+ steps: {
304
+ type: PropType<import('./models/IncrementalSteps').TimePickerIncrementalSteps>;
305
+ default: () => {};
306
+ };
307
+ smoothScroll: {
308
+ type: PropType<boolean>;
309
+ default: boolean;
310
+ };
311
+ title: {
312
+ type: PropType<string>;
313
+ default: () => "";
314
+ };
315
+ value: {
316
+ type: PropType<Date>;
317
+ default: () => any;
318
+ };
319
+ width: PropType<string | number>;
320
+ validationMessage: PropType<string>;
321
+ required: {
322
+ type: PropType<boolean>;
323
+ default: boolean;
324
+ };
325
+ validityStyles: {
326
+ type: PropType<boolean>;
327
+ default: boolean;
328
+ };
329
+ validate: PropType<boolean>;
330
+ valid: {
331
+ type: PropType<boolean>;
332
+ default: any;
333
+ };
334
+ inputAttributes: PropType<Object>;
335
+ }>> & Readonly<{
336
+ onBlur?: (event: TimePickerBlurEvent) => any;
337
+ onChange?: (event: TimePickerChangeEvent) => any;
338
+ onClose?: (event: TimePickerCloseEvent) => any;
339
+ onFocus?: (event: TimePickerFocusEvent) => any;
340
+ onKeydown?: (event: KeyboardEvent) => any;
341
+ onOpen?: (event: TimePickerOpenEvent) => any;
342
+ onChangemodel?: (value: Date) => any;
343
+ "onUpdate:modelValue"?: (value: Date) => any;
344
+ onIconclick?: (event: Event) => any;
345
+ }>, {
346
+ required: boolean;
347
+ value: Date;
348
+ title: string;
349
+ tabIndex: number;
350
+ popup: any;
351
+ disabled: boolean;
352
+ format: string | object;
353
+ max: Date;
354
+ min: Date;
355
+ defaultValue: Date;
356
+ show: boolean;
357
+ popupSettings: PopupProps;
358
+ modelValue: Date;
359
+ steps: import('./models/IncrementalSteps').TimePickerIncrementalSteps;
360
+ validityStyles: boolean;
361
+ valid: boolean;
362
+ formatPlaceholder: DateInputFormatPlaceholder;
363
+ defaultShow: boolean;
364
+ dateInput: any;
365
+ smoothScroll: boolean;
366
+ cancelButton: boolean;
367
+ nowButton: boolean;
368
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
369
+ export { TimePicker };
@@ -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 n=require("vue"),U=require("@progress/kendo-vue-labels"),H=require("@progress/kendo-vue-popup"),k=require("@progress/kendo-date-math"),t=require("@progress/kendo-vue-common"),G=require("@progress/kendo-vue-intl"),X=require("@progress/kendo-vue-buttons"),s=require("../messages/main.js"),J=require("../dateinput/DateInput.js"),Q=require("./TimeSelector.js"),u=require("../utils.js"),S=require("./utils.js"),W=require("../dateinput/utils.js"),Y=require("@progress/kendo-svg-icons");function v(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!n.isVNode(e)}const Z=n.defineComponent({name:"KendoTimePicker",emits:{changemodel:e=>!0,"update:modelValue":e=>!0,iconclick:e=>!0,change:e=>!0,focus:e=>!0,blur:e=>!0,keydown:e=>!0,open:e=>!0,close:e=>!0},model:{event:"changemodel"},props:{cancelButton:{type:Boolean,default:!0},nowButton:{type:Boolean,default:void 0},defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:function(){return null}},dateInput:{type:[String,Object,Function],default:function(){}},popup:{type:[String,Object,Function],default:function(){}},disabled:{type:Boolean,default:!1},format:{type:[String,Object],default:function(){return"t"}},formatPlaceholder:{type:[String,Object],default:function(){return W.defaultFormatPlaceholder}},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["none","small","medium","large"].includes(e)}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,min:{type:Date,default:function(){return u.MIN_TIME}},max:{type:Date,default:function(){return u.MAX_TIME}},name:String,label:String,placeholder:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},title:{type:String,default:function(){return""}},value:{type:Date,default:function(){}},width:[Number,String],validationMessage:String,required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0},inputAttributes:Object},created(){this._anchor=t.guid(),this._popupId="popup"+t.guid(),this._element=null,this._wrapper=null,this._dateInput=null,this._timeSelector=null,this.shouldFocusDateInput=!1,this.currentValue=this.$props.defaultValue,this.currentShow=this.$props.defaultShow},inject:{kendoLocalizationService:{default:null}},data(){return{currentValue:null,currentShow:!1,valueDuringOnChange:void 0,showDuringOnChange:void 0,isFocused:!1}},computed:{timeSelector(){return this._timeSelector},computedValue(){const e=this.valueDuringOnChange!==void 0?this.valueDuringOnChange:this.$props.value!==void 0?this.$props.value:this.$props.modelValue!==void 0?this.$props.modelValue:this.$data.currentValue;return e!==null?k.cloneDate(e):null},computedShow(){return this.showDuringOnChange!==void 0?this.showDuringOnChange:this.$props.show!==void 0?this.$props.show:this.currentShow}},watch:{show:function(e,i){this._oldShow=i},currentShow:function(e,i){this._oldShow=i}},mounted(){this.computedShow&&this.$forceUpdate(),this._dateInput=this.dateInputRef,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.kendoAnchorRef,this._dateInput&&this._dateInput.element()&&this._dateInput.element().setAttribute("aria-haspopup","true")},updated(){this._dateInput=this.dateInputRef,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.kendoAnchorRef,this._timeSelector&&this.computedShow&&!this._oldShow?this._timeSelector.focusActiveList():this._dateInput&&this._dateInput.element()&&!this.computedShow&&this.shouldFocusDateInput&&this._dateInput.element().focus({preventScroll:!0}),this.shouldFocusDateInput=!1},setup(){const e=n.ref(null),i=n.inject("kendoLocalizationService",{});return{kendoAnchorRef:e,kendoLocalizationService:i}},render(){const e=t.getDefaultSlots(this),{disabled:i,tabIndex:o,title:h,id:a,placeholder:c,format:l,formatPlaceholder:V,smoothScroll:$,width:w,name:_,steps:I,cancelButton:D,nowButton:T,validationMessage:B,required:C,validityStyles:M,ariaLabelledBy:ee,ariaDescribedBy:te,size:p,rounded:m,fillMode:y,inputAttributes:F}=this.$props,{popupClass:O,appendTo:R,animate:q}=this.$props.popupSettings,f=!this.$props.validityStyles||this.validity().valid;t.classNames("k-picker-wrap",{"k-invalid":!f,"k-disabled":i,"k-focus":this.isFocused});const z=t.classNames("k-group k-reset",O),b=G.provideLocalizationService(this),j=b.toLanguageString(s.toggleClock,s.messages[s.toggleClock]),x=b.toLanguageString(s.toggleTimeSelector,s.messages[s.toggleTimeSelector]),A=this.$props.dateInput?t.templateRendering.call(this,this.$props.dateInput,t.getListeners.call(this)):void 0,N=n.createVNode(J.DateInput,{ref:g=>{this.dateInputRef=g},placeholder:c,disabled:i,format:l,formatPlaceholder:V,id:a,size:null,rounded:null,fillMode:null,max:this.normalizeTime(this.$props.max),min:this.normalizeTime(this.$props.min),name:_,onChange:this.handleInputValueChange,required:C,steps:I,tabIndex:this.computedShow?-1:o,title:h,valid:this.validity().valid,validationMessage:B,validityStyles:M,value:this.computedValue&&this.normalizeTime(this.computedValue),ariaHasPopup:"grid",ariaExpanded:this.computedShow,ariaRole:"combobox",ariaControls:this._popupId,inputAttributes:F},v(e)?e:{default:()=>[e]}),r=n.createVNode(Q.TimeSelector,{ref:"timeSelector",cancelButton:D,disabled:i,nowButton:T,format:l,min:this.$props.min,max:this.$props.max,steps:I,smoothScroll:$,value:this.computedValue,onChange:this.handleValueChange,onReject:this.handleValueReject,onFocus:this.timeFocus,onBlur:this.timeBlur,onKeydown:this.handleKeyDown},null),P=t.getTemplate.call(this,{h:n.h,template:A,defaultRendering:N,additionalListeners:{change:this.handleInputValueChange}}),L=this.$props.popup?t.templateRendering.call(this,this.$props.popup,t.getListeners.call(this)):void 0,K=n.createVNode(H.Popup,{show:this.computedShow,anchor:this._anchor,class:z,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:R,animate:q},v(r)?r:{default:()=>[r]}),E=t.getTemplate.call(this,{h:n.h,template:L,defaultRendering:K,defaultSlots:r}),d=n.createVNode("div",{class:t.classNames("k-input","k-timepicker",{[`k-input-${t.kendoThemeMaps.sizeMap[p]||p}`]:p,[`k-input-${y}`]:y,[`k-rounded-${t.kendoThemeMaps.roundedMap[m]||m}`]:m,"k-invalid":!f,"k-required":this.required,"k-disabled":this.$props.disabled,"k-focus":this.isFocused}),onKeydown:this.handleKeyDown,style:{width:w},onFocusin:this.handleFocus,onFocusout:this.handleBlur,ref:g=>{this.kendoAnchorRef=g}},[P,n.createVNode(X.Button,{type:"button",tabIndex:-1,icon:"clock",svgIcon:Y.clockIcon,onMousedown:this.handleIconMouseDown,onClick:this.handleIconClick,title:x,rounded:null,class:"k-input-button","aria-controls":this._popupId,"aria-label":j},null),E]);return this.$props.label?n.createVNode(U.FloatingLabel,{label:this.$props.label,editorId:a,editorValid:f,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:w}},v(d)?d:{default:()=>[d]}):d},methods:{validity(){const e=this.computedValue&&this.normalizeTime(this.computedValue),i=this.normalizeTime(this.$props.min),o=this.normalizeTime(this.$props.max),h=S.isInRange(e,i,o),a=this.$props.validationMessage!==void 0,c=(!this.$props.required||this.computedValue!==null)&&h,l=this.$props.valid!==void 0?this.$props.valid:c;return{customError:a,rangeOverflow:S.isBiggerThanMax(e,o),rangeUnderflow:S.isSmallerThanMin(e,i),valid:l,valueMissing:this.computedValue===null}},getDateInputText(){return this.computedValue?!0:this._dateInput?this._dateInput._element.value:""},focus(){this._dateInput&&this._dateInput.focus()},normalizeTime(e){return u.setTime(u.MIDNIGHT_DATE,e)},setShow(e){this.computedShow!==e&&(this.currentShow=e,this.$emit(e?"open":"close",{component:this}))},mergeTime(e){return this.computedValue&&e?u.setTime(this.computedValue,e):e},handleInputValueChange(e){const i=this.mergeTime(e.value);this.handleValueChange({...e,value:i})},handleValueChange(e){this.currentValue=k.cloneDate(e.value),this.valueDuringOnChange=e.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue}}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0,this.setShow(!1)},handleFocus(e){this._oldShow=this.computedShow,this.isFocused=!0,this.$emit("focus",{event:e})},handleBlur(e){this.createBlurTimeout(),this.$emit("blur",{event:e})},timeBlur(e){this.$emit("blur",{event:e}),clearTimeout(this._blurTimeout),this.createBlurTimeout()},timeFocus(){clearTimeout(this._blurTimeout)},createBlurTimeout(){this._blurTimeout=setTimeout(()=>{this.isFocused=!1;const e=document.activeElement&&document.activeElement.closest(`#${this._popupId}`);this._dateInput&&t.canUseDOM&&document.activeElement!==this._dateInput.element()&&!e&&this.setShow(!1)},200)},handleValueReject(e){this.setShow(!1)},handleIconClick(e){this.$props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown(e){e.preventDefault()},handleKeyDown(e){const{altKey:i,keyCode:o}=e;if(o===t.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element){e.preventDefault(),this.shouldFocusDateInput=!0,this.setShow(!1);return}if(o===t.Keys.esc){this.shouldFocusDateInput=!0,this.setShow(!1);return}i&&(o===t.Keys.up||o===t.Keys.down)&&(e.preventDefault(),e.stopPropagation(),this.shouldFocusDateInput=o===t.Keys.up,this.setShow(o===t.Keys.down)),this.$emit("keydown",e)}}});exports.TimePicker=Z;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),U=require("@progress/kendo-vue-labels"),H=require("@progress/kendo-vue-popup"),k=require("@progress/kendo-date-math"),t=require("@progress/kendo-vue-common"),G=require("@progress/kendo-vue-intl"),X=require("@progress/kendo-vue-buttons"),s=require("../messages/main.js"),J=require("../dateinput/DateInput.js"),Q=require("./TimeSelector.js"),u=require("../utils.js"),S=require("./utils.js"),W=require("../dateinput/utils.js"),Y=require("@progress/kendo-svg-icons");function v(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!n.isVNode(e)}const Z=n.defineComponent({name:"KendoTimePicker",emits:{changemodel:e=>!0,"update:modelValue":e=>!0,iconclick:e=>!0,change:e=>!0,focus:e=>!0,blur:e=>!0,keydown:e=>!0,open:e=>!0,close:e=>!0},model:{event:"changemodel"},props:{cancelButton:{type:Boolean,default:!0},nowButton:{type:Boolean,default:void 0},defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:function(){return null}},dateInput:{type:[String,Object,Function],default:function(){}},popup:{type:[String,Object,Function],default:function(){}},disabled:{type:Boolean,default:!1},format:{type:[String,Object],default:function(){return"t"}},formatPlaceholder:{type:[String,Object],default:function(){return W.defaultFormatPlaceholder}},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["none","small","medium","large"].includes(e)}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,min:{type:Date,default:function(){return u.MIN_TIME}},max:{type:Date,default:function(){return u.MAX_TIME}},name:String,label:String,placeholder:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},title:{type:String,default:function(){return""}},value:{type:Date,default:function(){}},width:[Number,String],validationMessage:String,required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0},inputAttributes:Object},created(){this._anchor=t.guid(),this._popupId="popup"+t.guid(),this._element=null,this._wrapper=null,this._dateInput=null,this._timeSelector=null,this.shouldFocusDateInput=!1,this.currentValue=this.$props.defaultValue,this.currentShow=this.$props.defaultShow},inject:{kendoLocalizationService:{default:null}},data(){return{currentValue:null,currentShow:!1,valueDuringOnChange:void 0,showDuringOnChange:void 0,isFocused:!1}},computed:{timeSelector(){return this._timeSelector},computedValue(){const e=this.valueDuringOnChange!==void 0?this.valueDuringOnChange:this.$props.value!==void 0?this.$props.value:this.$props.modelValue!==void 0?this.$props.modelValue:this.$data.currentValue;return e!==null?k.cloneDate(e):null},computedShow(){return this.showDuringOnChange!==void 0?this.showDuringOnChange:this.$props.show!==void 0?this.$props.show:this.currentShow}},watch:{show:function(e,i){this._oldShow=i},currentShow:function(e,i){this._oldShow=i}},mounted(){this.computedShow&&this.$forceUpdate(),this._dateInput=this.dateInputRef,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.kendoAnchorRef,this._dateInput&&this._dateInput.element()&&this._dateInput.element().setAttribute("aria-haspopup","true")},updated(){this._dateInput=this.dateInputRef,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.kendoAnchorRef,this._timeSelector&&this.computedShow&&!this._oldShow?this._timeSelector.focusActiveList():this._dateInput&&this._dateInput.element()&&!this.computedShow&&this.shouldFocusDateInput&&this._dateInput.element().focus({preventScroll:!0}),this.shouldFocusDateInput=!1},setup(){const e=n.ref(null),i=n.inject("kendoLocalizationService",{});return{kendoAnchorRef:e,kendoLocalizationService:i}},render(){const e=t.getDefaultSlots(this),{disabled:i,tabIndex:o,title:h,id:a,placeholder:c,format:l,formatPlaceholder:V,smoothScroll:$,width:w,name:_,steps:I,cancelButton:D,nowButton:T,validationMessage:B,required:C,validityStyles:M,ariaLabelledBy:ee,ariaDescribedBy:te,size:p,rounded:m,fillMode:y,inputAttributes:F}=this.$props,{popupClass:O,appendTo:R,animate:q}=this.$props.popupSettings,f=!this.$props.validityStyles||this.validity().valid;t.classNames("k-picker-wrap",{"k-invalid":!f,"k-disabled":i,"k-focus":this.isFocused});const z=t.classNames("k-group k-reset",O),b=G.provideLocalizationService(this),j=b.toLanguageString(s.toggleClock,s.messages[s.toggleClock]),x=b.toLanguageString(s.toggleTimeSelector,s.messages[s.toggleTimeSelector]),A=this.$props.dateInput?t.templateRendering.call(this,this.$props.dateInput,t.getListeners.call(this)):void 0,N=n.createVNode(J.DateInput,{ref:g=>{this.dateInputRef=g},placeholder:c,disabled:i,format:l,formatPlaceholder:V,id:a,size:null,rounded:null,fillMode:null,max:this.normalizeTime(this.$props.max),min:this.normalizeTime(this.$props.min),name:_,onChange:this.handleInputValueChange,required:C,steps:I,tabIndex:this.computedShow?-1:o,title:h,valid:this.validity().valid,validationMessage:B,validityStyles:M,value:this.computedValue&&this.normalizeTime(this.computedValue),ariaHasPopup:"grid",ariaExpanded:this.computedShow,ariaRole:"combobox",ariaControls:this._popupId,inputAttributes:F},v(e)?e:{default:()=>[e]}),r=n.createVNode(Q.TimeSelector,{ref:"timeSelector",cancelButton:D,disabled:i,nowButton:T,format:l,min:this.$props.min,max:this.$props.max,steps:I,smoothScroll:$,value:this.computedValue,onChange:this.handleValueChange,onReject:this.handleValueReject,onFocus:this.timeFocus,onBlur:this.timeBlur,onKeydown:this.handleKeyDown},null),P=t.getTemplate.call(this,{h:n.h,template:A,defaultRendering:N,additionalListeners:{change:this.handleInputValueChange}}),L=this.$props.popup?t.templateRendering.call(this,this.$props.popup,t.getListeners.call(this)):void 0,K=n.createVNode(H.Popup,{show:this.computedShow,anchor:this._anchor,class:z,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:R,animate:q},v(r)?r:{default:()=>[r]}),E=t.getTemplate.call(this,{h:n.h,template:L,defaultRendering:K,defaultSlots:r}),d=n.createVNode("div",{class:t.classNames("k-input","k-timepicker",{[`k-input-${t.kendoThemeMaps.sizeMap[p]||p}`]:p,[`k-input-${y}`]:y,[`k-rounded-${t.kendoThemeMaps.roundedMap[m]||m}`]:m,"k-invalid":!f,"k-required":this.required,"k-disabled":this.$props.disabled,"k-focus":this.isFocused}),onKeydown:this.handleKeyDown,style:{width:w},onFocusin:this.handleFocus,onFocusout:this.handleBlur,ref:g=>{this.kendoAnchorRef=g}},[P,n.createVNode(X.Button,{type:"button",tabIndex:-1,icon:"clock",svgIcon:Y.clockIcon,onMousedown:this.handleIconMouseDown,onClick:this.handleIconClick,title:x,rounded:null,disabled:i,class:"k-input-button","aria-controls":this._popupId,"aria-label":j},null),E]);return this.$props.label?n.createVNode(U.FloatingLabel,{label:this.$props.label,editorId:a,editorValid:f,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:w}},v(d)?d:{default:()=>[d]}):d},methods:{validity(){const e=this.computedValue&&this.normalizeTime(this.computedValue),i=this.normalizeTime(this.$props.min),o=this.normalizeTime(this.$props.max),h=S.isInRange(e,i,o),a=this.$props.validationMessage!==void 0,c=(!this.$props.required||this.computedValue!==null)&&h,l=this.$props.valid!==void 0?this.$props.valid:c;return{customError:a,rangeOverflow:S.isBiggerThanMax(e,o),rangeUnderflow:S.isSmallerThanMin(e,i),valid:l,valueMissing:this.computedValue===null}},getDateInputText(){return this.computedValue?!0:this._dateInput?this._dateInput._element.value:""},focus(){this._dateInput&&this._dateInput.focus()},normalizeTime(e){return u.setTime(u.MIDNIGHT_DATE,e)},setShow(e){this.computedShow!==e&&(this.currentShow=e,this.$emit(e?"open":"close",{component:this}))},mergeTime(e){return this.computedValue&&e?u.setTime(this.computedValue,e):e},handleInputValueChange(e){const i=this.mergeTime(e.value);this.handleValueChange({...e,value:i})},handleValueChange(e){this.currentValue=k.cloneDate(e.value),this.valueDuringOnChange=e.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue}}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0,this.setShow(!1)},handleFocus(e){this._oldShow=this.computedShow,this.isFocused=!0,this.$emit("focus",{event:e})},handleBlur(e){this.createBlurTimeout(),this.$emit("blur",{event:e})},timeBlur(e){this.$emit("blur",{event:e}),clearTimeout(this._blurTimeout),this.createBlurTimeout()},timeFocus(){clearTimeout(this._blurTimeout)},createBlurTimeout(){this._blurTimeout=setTimeout(()=>{this.isFocused=!1;const e=document.activeElement&&document.activeElement.closest(`#${this._popupId}`);this._dateInput&&t.canUseDOM&&document.activeElement!==this._dateInput.element()&&!e&&this.setShow(!1)},200)},handleValueReject(e){this.setShow(!1)},handleIconClick(e){this.$props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown(e){e.preventDefault()},handleKeyDown(e){const{altKey:i,keyCode:o}=e;if(o===t.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element){e.preventDefault(),this.shouldFocusDateInput=!0,this.setShow(!1);return}if(o===t.Keys.esc){this.shouldFocusDateInput=!0,this.setShow(!1);return}i&&(o===t.Keys.up||o===t.Keys.down)&&(e.preventDefault(),e.stopPropagation(),this.shouldFocusDateInput=o===t.Keys.up,this.setShow(o===t.Keys.down)),this.$emit("keydown",e)}}});exports.TimePicker=Z;
@@ -365,6 +365,7 @@ const ze = /* @__PURE__ */ Z({
365
365
  onClick: this.handleIconClick,
366
366
  title: H,
367
367
  rounded: null,
368
+ disabled: t,
368
369
  class: "k-input-button",
369
370
  "aria-controls": this._popupId,
370
371
  "aria-label": U
@@ -0,0 +1,185 @@
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 { IntlService, DateFormatOptions } from '@progress/kendo-vue-intl';
9
+ import { TimePickerIncrementalSteps } from './models/IncrementalSteps';
10
+ import { PropType } from 'vue';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export declare enum Direction {
15
+ Left = 0,
16
+ Right = 1
17
+ }
18
+ /**
19
+ * @hidden
20
+ */
21
+ export interface TimeSelectorChangeEvent {
22
+ event?: any;
23
+ value: Date;
24
+ target: any;
25
+ }
26
+ /**
27
+ * @hidden
28
+ */
29
+ export interface TimeSelectorProps {
30
+ cancelButton?: boolean;
31
+ disabled?: boolean;
32
+ format?: string | DateFormatOptions;
33
+ max?: Date;
34
+ min?: Date;
35
+ nowButton?: boolean;
36
+ onChange?: any;
37
+ onReject?: any;
38
+ onKeydown?: any;
39
+ steps?: TimePickerIncrementalSteps;
40
+ smoothScroll?: boolean;
41
+ tabIndex?: number;
42
+ value?: Date | null;
43
+ boundRange?: boolean;
44
+ }
45
+ /**
46
+ * @hidden
47
+ */
48
+ export interface TimeSelectorComputed {
49
+ [key: string]: any;
50
+ computedValue: Date | null;
51
+ intl: IntlService;
52
+ current: Date | null;
53
+ }
54
+ /**
55
+ * @hidden
56
+ */
57
+ declare const TimeSelector: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
58
+ cancelButton: {
59
+ type: PropType<boolean>;
60
+ default: boolean;
61
+ };
62
+ boundRange: {
63
+ type: PropType<boolean>;
64
+ default: boolean;
65
+ };
66
+ disabled: {
67
+ type: PropType<boolean>;
68
+ default: boolean;
69
+ };
70
+ format: {
71
+ type: PropType<string | DateFormatOptions>;
72
+ default: () => string;
73
+ };
74
+ max: {
75
+ type: PropType<Date>;
76
+ default: () => Date;
77
+ };
78
+ min: {
79
+ type: PropType<Date>;
80
+ default: () => Date;
81
+ };
82
+ nowButton: PropType<boolean>;
83
+ steps: {
84
+ type: PropType<TimePickerIncrementalSteps>;
85
+ default: () => {};
86
+ };
87
+ smoothScroll: {
88
+ type: PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ tabIndex: PropType<number>;
92
+ value: {
93
+ type: PropType<Date>;
94
+ default: () => any;
95
+ };
96
+ onChange: PropType<any>;
97
+ onReject: PropType<any>;
98
+ onKeydown: PropType<any>;
99
+ }>, {
100
+ kendoIntlService: {};
101
+ kendoLocalizationService: {};
102
+ }, {
103
+ currentState: any;
104
+ currentValue: any;
105
+ valueDuringOnChange: any;
106
+ }, {
107
+ computedValue(): Date | null;
108
+ intl(): IntlService;
109
+ current(): Date | null;
110
+ }, {
111
+ handleBlur(event: any): void;
112
+ handleFocus(event: any): void;
113
+ focusActiveList(): void;
114
+ hasActiveButton(): boolean;
115
+ handleKeyDown(event: any): void;
116
+ handleAccept(event: any): void;
117
+ handleReject(event: any): void;
118
+ handleNowClick(event: any): void;
119
+ handleChange(candidate: Date): void;
120
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
121
+ change: (event: any) => true;
122
+ focus: (event: FocusEvent) => true;
123
+ blur: (event: FocusEvent) => true;
124
+ keydown: (event: KeyboardEvent) => true;
125
+ reject: (event: Event) => true;
126
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
127
+ cancelButton: {
128
+ type: PropType<boolean>;
129
+ default: boolean;
130
+ };
131
+ boundRange: {
132
+ type: PropType<boolean>;
133
+ default: boolean;
134
+ };
135
+ disabled: {
136
+ type: PropType<boolean>;
137
+ default: boolean;
138
+ };
139
+ format: {
140
+ type: PropType<string | DateFormatOptions>;
141
+ default: () => string;
142
+ };
143
+ max: {
144
+ type: PropType<Date>;
145
+ default: () => Date;
146
+ };
147
+ min: {
148
+ type: PropType<Date>;
149
+ default: () => Date;
150
+ };
151
+ nowButton: PropType<boolean>;
152
+ steps: {
153
+ type: PropType<TimePickerIncrementalSteps>;
154
+ default: () => {};
155
+ };
156
+ smoothScroll: {
157
+ type: PropType<boolean>;
158
+ default: boolean;
159
+ };
160
+ tabIndex: PropType<number>;
161
+ value: {
162
+ type: PropType<Date>;
163
+ default: () => any;
164
+ };
165
+ onChange: PropType<any>;
166
+ onReject: PropType<any>;
167
+ onKeydown: PropType<any>;
168
+ }>> & Readonly<{
169
+ onBlur?: (event: FocusEvent) => any;
170
+ onChange?: (event: any) => any;
171
+ onFocus?: (event: FocusEvent) => any;
172
+ onKeydown?: (event: KeyboardEvent) => any;
173
+ onReject?: (event: Event) => any;
174
+ }>, {
175
+ value: Date;
176
+ disabled: boolean;
177
+ format: string;
178
+ max: Date;
179
+ min: Date;
180
+ steps: TimePickerIncrementalSteps;
181
+ boundRange: boolean;
182
+ smoothScroll: boolean;
183
+ cancelButton: boolean;
184
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
185
+ export { TimeSelector };
@@ -0,0 +1,25 @@
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 arguments for the `onFocus` event of the TimePicker.
10
+ */
11
+ export interface TimePickerFocusEvent {
12
+ /**
13
+ * The native browser focus event.
14
+ */
15
+ event: FocusEvent;
16
+ }
17
+ /**
18
+ * The arguments for the `onBlur` event of the TimePicker.
19
+ */
20
+ export interface TimePickerBlurEvent {
21
+ /**
22
+ * The native browser blur event.
23
+ */
24
+ event: FocusEvent;
25
+ }
@@ -0,0 +1,15 @@
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 TimePicker.
10
+ */
11
+ export interface TimePickerIncrementalSteps {
12
+ hour?: number;
13
+ minute?: number;
14
+ second?: number;
15
+ }
@@ -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 interface ListItem {
12
+ text: string;
13
+ value: Date;
14
+ }
@@ -0,0 +1,22 @@
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 { ListItem } from './ListItem';
9
+ import { ListServiceSettings } from './ListServiceSettings';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface ListService {
14
+ apply(value: Date, candidate: Date): Date;
15
+ configure(settings: ListServiceSettings): void;
16
+ data(value?: Date): ListItem[];
17
+ isRangeChanged(min: Date, max: Date): boolean;
18
+ limitRange(min: Date, max: Date, value?: Date): Date[];
19
+ total(value?: Date): number;
20
+ selectedIndex(value: Date): number;
21
+ valueInList(value: Date): boolean;
22
+ }