@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.
- package/PopupSettings.d.ts +21 -0
- package/calendar/components/Calendar.d.ts +206 -0
- package/calendar/components/CalendarCell.d.ts +70 -0
- package/calendar/components/CalendarHeaderTitle.d.ts +35 -0
- package/calendar/components/CalendarWeekCell.d.ts +35 -0
- package/calendar/components/Header.d.ts +175 -0
- package/calendar/components/View.d.ts +204 -0
- package/calendar/components/ViewList.d.ts +226 -0
- package/calendar/components/interfaces/CalendarComputed.d.ts +17 -0
- package/calendar/components/interfaces/CalendarData.d.ts +17 -0
- package/calendar/components/interfaces/CalendarEventArguments.d.ts +63 -0
- package/calendar/components/interfaces/CalendarMethods.d.ts +40 -0
- package/calendar/components/interfaces/CalendarProps.d.ts +66 -0
- package/calendar/components/interfaces/CalendarState.d.ts +32 -0
- package/calendar/models/ActiveView.d.ts +11 -0
- package/calendar/models/CalendarMode.d.ts +16 -0
- package/calendar/models/CalendarSettings.d.ts +84 -0
- package/calendar/models/CalendarViewEnum.d.ts +16 -0
- package/calendar/models/CellContext.d.ts +26 -0
- package/calendar/models/NavigationAction.d.ts +22 -0
- package/calendar/models/SelectionRange.d.ts +24 -0
- package/calendar/models/SelectionRangeEnd.d.ts +11 -0
- package/calendar/models/ViewService.d.ts +32 -0
- package/calendar/models/main.d.ts +17 -0
- package/calendar/services/BusViewService.d.ts +28 -0
- package/calendar/services/CenturyViewService.d.ts +32 -0
- package/calendar/services/DOMService.d.ts +36 -0
- package/calendar/services/DecadeViewService.d.ts +34 -0
- package/calendar/services/MonthViewService.d.ts +40 -0
- package/calendar/services/NavigationService.d.ts +20 -0
- package/calendar/services/WeekNamesService.d.ts +16 -0
- package/calendar/services/YearViewService.d.ts +38 -0
- package/calendar/services/main.d.ts +16 -0
- package/calendar/utils/main.d.ts +33 -0
- package/common/PickerWrap.d.ts +23 -0
- package/dateinput/DateInput.d.ts +260 -0
- package/dateinput/DateInput.mjs +3 -3
- package/dateinput/interfaces/DateInputBlurEvent.d.ts +16 -0
- package/dateinput/interfaces/DateInputComputed.d.ts +15 -0
- package/dateinput/interfaces/DateInputData.d.ts +18 -0
- package/dateinput/interfaces/DateInputEventArguments.d.ts +17 -0
- package/dateinput/interfaces/DateInputFocusEvent.d.ts +16 -0
- package/dateinput/interfaces/DateInputMethods.d.ts +37 -0
- package/dateinput/interfaces/DateInputProps.d.ts +38 -0
- package/dateinput/interfaces/DateInputState.d.ts +16 -0
- package/dateinput/models/DateInputSettings.d.ts +160 -0
- package/dateinput/models/format-placeholder.d.ts +46 -0
- package/dateinput/models/incremental-steps.d.ts +18 -0
- package/dateinput/models/kendo-date.d.ts +60 -0
- package/dateinput/models/main.d.ts +14 -0
- package/dateinput/models/mask.d.ts +14 -0
- package/dateinput/models/selection.d.ts +14 -0
- package/dateinput/utils.d.ts +37 -0
- package/datepicker/DatePicker.d.ts +280 -0
- package/datepicker/DatePicker.js +1 -1
- package/datepicker/DatePicker.mjs +11 -10
- package/datepicker/ToggleButton.d.ts +151 -0
- package/datepicker/interfaces/DatePickerComputed.d.ts +15 -0
- package/datepicker/interfaces/DatePickerData.d.ts +15 -0
- package/datepicker/interfaces/DatePickerEventArguments.d.ts +29 -0
- package/datepicker/interfaces/DatePickerFocusBlurEvents.d.ts +25 -0
- package/datepicker/interfaces/DatePickerMethods.d.ts +34 -0
- package/datepicker/interfaces/DatePickerProps.d.ts +53 -0
- package/datepicker/interfaces/DatePickerState.d.ts +23 -0
- package/datepicker/models/DatePickerSettings.d.ts +157 -0
- package/datepicker/models/main.d.ts +9 -0
- package/daterangepicker/DateRangePicker.d.ts +315 -0
- package/daterangepicker/interfaces/DateRangePickerFocusBlurEvents.d.ts +25 -0
- package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +13 -0
- package/daterangepicker/models/DateRangePickerSettings.d.ts +162 -0
- package/daterangepicker/models/main.d.ts +12 -0
- package/datetimepicker/DateTimePicker.d.ts +380 -0
- package/datetimepicker/DateTimePicker.js +1 -1
- package/datetimepicker/DateTimePicker.mjs +17 -16
- package/datetimepicker/DateTimeSelector.d.ts +188 -0
- package/datetimepicker/interfaces/DateTimePickerFocusBlurEvents.d.ts +25 -0
- package/datetimepicker/models/DateTimePickerSettings.d.ts +199 -0
- package/datetimepicker/models/main.d.ts +9 -0
- package/defaults.d.ts +27 -0
- package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
- package/index.d.mts +30 -3477
- package/index.d.ts +30 -3477
- package/messages/main.d.ts +117 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +16 -10
- package/timepicker/TimeList.d.ts +129 -0
- package/timepicker/TimePart.d.ts +177 -0
- package/timepicker/TimePart.js +1 -1
- package/timepicker/TimePart.mjs +2 -2
- package/timepicker/TimePicker.d.ts +369 -0
- package/timepicker/TimePicker.js +1 -1
- package/timepicker/TimePicker.mjs +1 -0
- package/timepicker/TimeSelector.d.ts +185 -0
- package/timepicker/interfaces/TimePickerFocusBlurEvents.d.ts +25 -0
- package/timepicker/models/IncrementalSteps.d.ts +15 -0
- package/timepicker/models/ListItem.d.ts +14 -0
- package/timepicker/models/ListService.d.ts +22 -0
- package/timepicker/models/ListServiceSettings.d.ts +19 -0
- package/timepicker/models/TimePart.d.ts +17 -0
- package/timepicker/models/TimePickerSettings.d.ts +180 -0
- package/timepicker/models/main.d.ts +14 -0
- package/timepicker/services/DOMService.d.ts +17 -0
- package/timepicker/services/DayPeriodService.d.ts +54 -0
- package/timepicker/services/HoursService.d.ts +40 -0
- package/timepicker/services/MinutesService.d.ts +39 -0
- package/timepicker/services/SecondsService.d.ts +39 -0
- package/timepicker/services/main.d.ts +13 -0
- package/timepicker/utils.d.ts +63 -0
- package/utils.d.ts +77 -0
- package/utils.mjs +1 -1
- package/virtualization/Virtualization.d.ts +186 -0
- package/virtualization/Virtualization.js +1 -1
- package/virtualization/Virtualization.mjs +2 -2
- package/virtualization/services/RowHeightService.d.ts +25 -0
- package/virtualization/services/ScrollerService.d.ts +56 -0
- package/virtualization/services/main.d.ts +10 -0
|
@@ -0,0 +1,188 @@
|
|
|
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 { TimePickerIncrementalSteps } from '../timepicker/models/main';
|
|
9
|
+
import { DateFormatOptions } from '@progress/kendo-vue-intl';
|
|
10
|
+
import { CalendarChangeEvent } from '..';
|
|
11
|
+
import { PropType } from 'vue';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface DateTimeSelectorChangeEvent {
|
|
16
|
+
event?: any;
|
|
17
|
+
value: Date | null;
|
|
18
|
+
target: any;
|
|
19
|
+
cancelButton?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export interface DateTimeSelectorRejectEvent {
|
|
25
|
+
event?: any;
|
|
26
|
+
value: Date | null;
|
|
27
|
+
target: any;
|
|
28
|
+
cancelButton?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export interface DateTimeSelectorProps {
|
|
34
|
+
value: Date | null;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
cancelButton?: boolean;
|
|
37
|
+
min: Date;
|
|
38
|
+
max: Date;
|
|
39
|
+
minTime?: Date;
|
|
40
|
+
maxTime?: Date;
|
|
41
|
+
weekNumber?: boolean;
|
|
42
|
+
steps?: TimePickerIncrementalSteps;
|
|
43
|
+
focusedDate?: Date;
|
|
44
|
+
format?: string | DateFormatOptions;
|
|
45
|
+
calendar?: any;
|
|
46
|
+
onChange?: (event: DateTimeSelectorChangeEvent) => void;
|
|
47
|
+
onReject?: (event: DateTimeSelectorRejectEvent) => void;
|
|
48
|
+
onFocus?: (event: any) => void;
|
|
49
|
+
onBlur?: (event: any) => void;
|
|
50
|
+
onKeydown?: (event: any) => void;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
export interface DateTimeSelectorComputed {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
hasDateValue: boolean;
|
|
58
|
+
computedMinTime: Date | null;
|
|
59
|
+
computedMaxTime: Date | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
declare const DateTimeSelector: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
65
|
+
value: PropType<Date>;
|
|
66
|
+
disabled: {
|
|
67
|
+
type: PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
cancelButton: {
|
|
71
|
+
type: PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
min: {
|
|
75
|
+
type: PropType<Date>;
|
|
76
|
+
default: Date;
|
|
77
|
+
};
|
|
78
|
+
max: {
|
|
79
|
+
type: PropType<Date>;
|
|
80
|
+
default: Date;
|
|
81
|
+
};
|
|
82
|
+
maxTime: {
|
|
83
|
+
type: PropType<Date>;
|
|
84
|
+
default: () => Date;
|
|
85
|
+
};
|
|
86
|
+
minTime: {
|
|
87
|
+
type: PropType<Date>;
|
|
88
|
+
default: () => Date;
|
|
89
|
+
};
|
|
90
|
+
weekNumber: {
|
|
91
|
+
type: PropType<boolean>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
steps: {
|
|
95
|
+
type: PropType<TimePickerIncrementalSteps>;
|
|
96
|
+
default: () => {};
|
|
97
|
+
};
|
|
98
|
+
focusedDate: PropType<Date>;
|
|
99
|
+
format: PropType<string | DateFormatOptions>;
|
|
100
|
+
calendar: PropType<any>;
|
|
101
|
+
onChange: PropType<(event: DateTimeSelectorChangeEvent) => void>;
|
|
102
|
+
onReject: PropType<(event: DateTimeSelectorRejectEvent) => void>;
|
|
103
|
+
onFocus: PropType<(event: any) => void>;
|
|
104
|
+
onBlur: PropType<(event: any) => void>;
|
|
105
|
+
onKeydown: PropType<(event: any) => void>;
|
|
106
|
+
}>, {
|
|
107
|
+
kendoAnchorRef: import('vue').Ref<any, any>;
|
|
108
|
+
kendoLocalizationService: {};
|
|
109
|
+
}, {
|
|
110
|
+
currentTab: any;
|
|
111
|
+
dateValue: any;
|
|
112
|
+
timeValue: DateConstructor;
|
|
113
|
+
}, {
|
|
114
|
+
hasDateValue(): boolean;
|
|
115
|
+
computedMinTime(): Date | null;
|
|
116
|
+
computedMaxTime(): Date | null;
|
|
117
|
+
}, {
|
|
118
|
+
handleBlur(event: any): void;
|
|
119
|
+
handleFocus(event: any): void;
|
|
120
|
+
focus(args?: any): void;
|
|
121
|
+
calendarElement(): any;
|
|
122
|
+
normalizeRange(candidate: Date, value: Date | null): Date | null;
|
|
123
|
+
hasActiveButton(): boolean;
|
|
124
|
+
mergeTime(current: Date | null, candidate: Date | null): Date | null;
|
|
125
|
+
mergeDate(candidate: Date | null, value: Date): Date | null;
|
|
126
|
+
move(direction: 'left' | 'right'): void;
|
|
127
|
+
handleReject(event: any): void;
|
|
128
|
+
handleAccept(event: any, timeOverride?: Date): void;
|
|
129
|
+
handleNowClick(event: any): void;
|
|
130
|
+
handleCalendarValueChange(event: CalendarChangeEvent): void;
|
|
131
|
+
handleTimeListContainerChange(candidate: Date): void;
|
|
132
|
+
handleDateClick(event: any): void;
|
|
133
|
+
handleTimeClick(event: any): void;
|
|
134
|
+
handleKeyDown(event: any): void;
|
|
135
|
+
handleTimePartMount(value: Date): void;
|
|
136
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
137
|
+
value: PropType<Date>;
|
|
138
|
+
disabled: {
|
|
139
|
+
type: PropType<boolean>;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
cancelButton: {
|
|
143
|
+
type: PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
min: {
|
|
147
|
+
type: PropType<Date>;
|
|
148
|
+
default: Date;
|
|
149
|
+
};
|
|
150
|
+
max: {
|
|
151
|
+
type: PropType<Date>;
|
|
152
|
+
default: Date;
|
|
153
|
+
};
|
|
154
|
+
maxTime: {
|
|
155
|
+
type: PropType<Date>;
|
|
156
|
+
default: () => Date;
|
|
157
|
+
};
|
|
158
|
+
minTime: {
|
|
159
|
+
type: PropType<Date>;
|
|
160
|
+
default: () => Date;
|
|
161
|
+
};
|
|
162
|
+
weekNumber: {
|
|
163
|
+
type: PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
steps: {
|
|
167
|
+
type: PropType<TimePickerIncrementalSteps>;
|
|
168
|
+
default: () => {};
|
|
169
|
+
};
|
|
170
|
+
focusedDate: PropType<Date>;
|
|
171
|
+
format: PropType<string | DateFormatOptions>;
|
|
172
|
+
calendar: PropType<any>;
|
|
173
|
+
onChange: PropType<(event: DateTimeSelectorChangeEvent) => void>;
|
|
174
|
+
onReject: PropType<(event: DateTimeSelectorRejectEvent) => void>;
|
|
175
|
+
onFocus: PropType<(event: any) => void>;
|
|
176
|
+
onBlur: PropType<(event: any) => void>;
|
|
177
|
+
onKeydown: PropType<(event: any) => void>;
|
|
178
|
+
}>> & Readonly<{}>, {
|
|
179
|
+
disabled: boolean;
|
|
180
|
+
weekNumber: boolean;
|
|
181
|
+
max: Date;
|
|
182
|
+
min: Date;
|
|
183
|
+
steps: TimePickerIncrementalSteps;
|
|
184
|
+
maxTime: Date;
|
|
185
|
+
minTime: Date;
|
|
186
|
+
cancelButton: boolean;
|
|
187
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
188
|
+
export { DateTimeSelector };
|
|
@@ -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 DateTimePicker.
|
|
10
|
+
*/
|
|
11
|
+
export interface DateTimePickerFocusEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native browser focus event.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The arguments for the `onBlur` event of the DateTimePicker.
|
|
19
|
+
*/
|
|
20
|
+
export interface DateTimePickerBlurEvent {
|
|
21
|
+
/**
|
|
22
|
+
* The native browser blur event.
|
|
23
|
+
*/
|
|
24
|
+
event: FocusEvent;
|
|
25
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
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 '../../dateinput/models/format-placeholder';
|
|
9
|
+
import { DateFormatOptions } from '@progress/kendo-vue-intl';
|
|
10
|
+
import { TimePickerIncrementalSteps } from '../../timepicker/models/main';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface DateTimePickerSettings {
|
|
15
|
+
/**
|
|
16
|
+
* Enables the customization or the override of the default Calendar which is rendered by the DateTimePicker
|
|
17
|
+
* ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-calendar)).
|
|
18
|
+
*/
|
|
19
|
+
calendar?: any;
|
|
20
|
+
/**
|
|
21
|
+
* Enables the customization or the override of the default Popup which is rendered by the DateTimePicker
|
|
22
|
+
* ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-popup)).
|
|
23
|
+
*/
|
|
24
|
+
popup?: any;
|
|
25
|
+
/**
|
|
26
|
+
* Enables the customization or the override of the default DateInput which is rendered by the DateTimePicker
|
|
27
|
+
* ([see example]({% slug custom_rendering_datetimepicker %}#toc-customizing-the-dateinput)).
|
|
28
|
+
*/
|
|
29
|
+
dateInput?: any;
|
|
30
|
+
/**
|
|
31
|
+
* Sets if the calendar popup is opened upon initial render.
|
|
32
|
+
* For more information, refer to the article on
|
|
33
|
+
*/
|
|
34
|
+
defaultShow?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Determines whether the DateTimePicker is disabled
|
|
37
|
+
* ([see example]({% slug disabled_datetimepicker %})).
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Specifies the initial focusedDate of the Calendar inside the DateTimePicker
|
|
42
|
+
* ([see example]({% slug dates_datetimepicker %})).
|
|
43
|
+
*/
|
|
44
|
+
focusedDate?: Date;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the date format that is used to display the input value
|
|
47
|
+
* ([see example]({% slug formats_datetimepicker %})).
|
|
48
|
+
*/
|
|
49
|
+
format?: string | DateFormatOptions;
|
|
50
|
+
/**
|
|
51
|
+
* Defines the descriptions of the format sections in the input field
|
|
52
|
+
* ([more information and examples]({% slug placeholders_datetimepicker %})).
|
|
53
|
+
*/
|
|
54
|
+
formatPlaceholder?: DateInputFormatPlaceholder;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the `id` of the DateTimePicker.
|
|
57
|
+
*/
|
|
58
|
+
id?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
61
|
+
* For example these elements could contain error or hint message.
|
|
62
|
+
*/
|
|
63
|
+
ariaDescribedBy?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Identifies the element(s) which will label the component.
|
|
66
|
+
*/
|
|
67
|
+
ariaLabelledBy?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the greatest valid date
|
|
70
|
+
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
71
|
+
*/
|
|
72
|
+
max?: Date;
|
|
73
|
+
/**
|
|
74
|
+
* Specifies the smallest valid date
|
|
75
|
+
* ([see example]({% slug dateranges_datetimepicker %})).
|
|
76
|
+
*/
|
|
77
|
+
min?: Date;
|
|
78
|
+
minTime?: Date;
|
|
79
|
+
maxTime?: Date;
|
|
80
|
+
/**
|
|
81
|
+
* Configures the `size` of the DateTimePicker.
|
|
82
|
+
*
|
|
83
|
+
* The available options are:
|
|
84
|
+
* - small
|
|
85
|
+
* - medium
|
|
86
|
+
* - large
|
|
87
|
+
* - null—Does not set a size `class`.
|
|
88
|
+
*
|
|
89
|
+
* @default `medium`
|
|
90
|
+
*/
|
|
91
|
+
size?: null | 'small' | 'medium' | 'large';
|
|
92
|
+
/**
|
|
93
|
+
* Configures the `roundness` of the DateTimePicker.
|
|
94
|
+
*
|
|
95
|
+
* The available options are:
|
|
96
|
+
* - small
|
|
97
|
+
* - medium
|
|
98
|
+
* - large
|
|
99
|
+
* - circle
|
|
100
|
+
* - full
|
|
101
|
+
* - null—Does not set a rounded `class`.
|
|
102
|
+
*
|
|
103
|
+
* @default `medium`
|
|
104
|
+
*/
|
|
105
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
106
|
+
/**
|
|
107
|
+
* Configures the `fillMode` of the DateTimePicker.
|
|
108
|
+
*
|
|
109
|
+
* The available options are:
|
|
110
|
+
* - solid
|
|
111
|
+
* - outline
|
|
112
|
+
* - flat
|
|
113
|
+
* - link
|
|
114
|
+
* - null—Does not set a fillMode `class`.
|
|
115
|
+
*
|
|
116
|
+
* @default `solid`
|
|
117
|
+
*/
|
|
118
|
+
fillMode?: null | 'solid' | 'outline' | 'flat' | string;
|
|
119
|
+
/**
|
|
120
|
+
* Specifies the `name` property of the `input` DOM element.
|
|
121
|
+
*/
|
|
122
|
+
name?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Renders a floating label for the DateTimePicker.
|
|
125
|
+
*/
|
|
126
|
+
label?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the value of the placeholder.
|
|
129
|
+
*/
|
|
130
|
+
placeholder?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Configures the popup options of the DateTimePicker.
|
|
133
|
+
*
|
|
134
|
+
* The available options are:
|
|
135
|
+
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
136
|
+
* - `appendTo:`— Defines the container to which the Popup will
|
|
137
|
+
* be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
|
|
138
|
+
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
139
|
+
*/
|
|
140
|
+
popupSettings?: object;
|
|
141
|
+
/**
|
|
142
|
+
* Fires each time any of the DateTimePicker elements gets blurred.
|
|
143
|
+
*/
|
|
144
|
+
onBlur?: (event: any) => void;
|
|
145
|
+
/**
|
|
146
|
+
* Fires each time the user focuses any of the DateTimePicker elements.
|
|
147
|
+
*/
|
|
148
|
+
onFocus?: (event: any) => void;
|
|
149
|
+
/**
|
|
150
|
+
* Fires when the icon element is clicked.
|
|
151
|
+
*/
|
|
152
|
+
onIconclick?: (event: any) => void;
|
|
153
|
+
/**
|
|
154
|
+
* Specifies if the popup will be displayed
|
|
155
|
+
* ([see example]({% slug controlled_datetimepicker %}#toc-controlling-the-popup-state)).
|
|
156
|
+
*/
|
|
157
|
+
show?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Sets the `tabIndex` property of the DateTimePicker.
|
|
160
|
+
*/
|
|
161
|
+
tabIndex?: number;
|
|
162
|
+
/**
|
|
163
|
+
* Sets the title of the `input` element of the DateTimePicker.
|
|
164
|
+
*/
|
|
165
|
+
title?: string;
|
|
166
|
+
/**
|
|
167
|
+
* Configures the incremental steps of the DateTimePicker.
|
|
168
|
+
*
|
|
169
|
+
* > If the incremental step is greater than `1`, the **Now** button will be hidden.
|
|
170
|
+
*/
|
|
171
|
+
steps?: TimePickerIncrementalSteps;
|
|
172
|
+
/**
|
|
173
|
+
* Determines whether to display a week number column of the Calendar inside the DateTimePicker
|
|
174
|
+
* ([see example]({% slug weeksnumbers_calendar %})).
|
|
175
|
+
*/
|
|
176
|
+
weekNumber?: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Specifies the width of the DateTimePicker.
|
|
179
|
+
*/
|
|
180
|
+
width?: number | string;
|
|
181
|
+
/**
|
|
182
|
+
* Determines whether to display the **Cancel** button in the popup.
|
|
183
|
+
*/
|
|
184
|
+
cancelButton?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Specifies the validate of the DateTimePicker.
|
|
187
|
+
*/
|
|
188
|
+
validate?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Controls the form error message of the component. If set to an empty string, no error will be thrown.
|
|
191
|
+
*
|
|
192
|
+
*/
|
|
193
|
+
validationMessage?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Sets the built-in HTML attributes of the inner focusable input element.
|
|
196
|
+
* Attributes which are essential for certain component functionalities cannot be changed.
|
|
197
|
+
*/
|
|
198
|
+
inputAttributes?: Object;
|
|
199
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 { DateTimePickerSettings } from './DateTimePickerSettings';
|
|
9
|
+
export { type DateTimePickerSettings };
|
package/defaults.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
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 MIDNIGHT_DATE: Date;
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const MIN_DATE: Date;
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare const MAX_DATE: Date;
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare const MIN_TIME: Date;
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export declare const MAX_TIME: Date;
|