@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,84 @@
|
|
|
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 CalendarSettings {
|
|
12
|
+
/**
|
|
13
|
+
* Defines the bottommost view to which the user can navigate.
|
|
14
|
+
*/
|
|
15
|
+
bottomView?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Sets the `className` of the Calendar.
|
|
18
|
+
*/
|
|
19
|
+
className?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the default active view of the Calendar.
|
|
22
|
+
* If not set, the Calendar will display the month view.
|
|
23
|
+
*/
|
|
24
|
+
defaultActiveView?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Determines whether the Calendar is disabled.
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the initial focused date of the Calendar.
|
|
31
|
+
*/
|
|
32
|
+
focusedDate?: Date;
|
|
33
|
+
/**
|
|
34
|
+
* Sets the `id` of the Calendar.
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the maximum allowed date of the Calendar. Defaults to `2099-12-31`.
|
|
39
|
+
*/
|
|
40
|
+
max?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* Sets the minimum allowed date of the Calendar. Defaults to `1900-1-1`.
|
|
43
|
+
*/
|
|
44
|
+
min?: Date;
|
|
45
|
+
/**
|
|
46
|
+
* Determines if the navigation sidebar will be displayed.
|
|
47
|
+
*/
|
|
48
|
+
navigation?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Fires each time the Calendar is blurred.
|
|
51
|
+
*/
|
|
52
|
+
onBlur?: (event: any) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Fires each time the Calendar is focused.
|
|
55
|
+
*/
|
|
56
|
+
onFocus?: (event: any) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the `tabIndex` property of the Calendar.
|
|
59
|
+
*/
|
|
60
|
+
tabIndex?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Defines the topmost view to which the user can navigate.
|
|
63
|
+
*/
|
|
64
|
+
topView?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Determines if the week number column will be displayed.
|
|
67
|
+
*/
|
|
68
|
+
weekNumber?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Enables the customization or the override of the default Calendar cell
|
|
71
|
+
* ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-view)).
|
|
72
|
+
*/
|
|
73
|
+
cell?: any;
|
|
74
|
+
/**
|
|
75
|
+
* Enables the customization or the override of the default week-column cell in the Calendar
|
|
76
|
+
* ([see example]({% slug custom_rendering_calendar %}#toc-cells-inside-the-week-column)).
|
|
77
|
+
*/
|
|
78
|
+
weekCell?: any;
|
|
79
|
+
/**
|
|
80
|
+
* Enables the customization or the override of the default header title in the Calendar
|
|
81
|
+
* ([see example]({% slug custom_rendering_calendar %}#toc-titles-of-current-views)).
|
|
82
|
+
*/
|
|
83
|
+
headerTitle?: any;
|
|
84
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 Enum which defines all possible Calendar view types.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum CalendarViewEnum {
|
|
12
|
+
month = 0,
|
|
13
|
+
year = 1,
|
|
14
|
+
decade = 2,
|
|
15
|
+
century = 3
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 CellContext {
|
|
12
|
+
formattedValue: string;
|
|
13
|
+
id: string;
|
|
14
|
+
isWeekend: boolean;
|
|
15
|
+
isFocused: boolean;
|
|
16
|
+
isSelected: boolean;
|
|
17
|
+
isInRange: boolean;
|
|
18
|
+
isRangeStart: boolean;
|
|
19
|
+
isRangeEnd: boolean;
|
|
20
|
+
isRangeMid: boolean;
|
|
21
|
+
isRangeSplitEnd?: boolean;
|
|
22
|
+
isRangeSplitStart?: boolean;
|
|
23
|
+
isToday: boolean;
|
|
24
|
+
title?: string;
|
|
25
|
+
value: Date;
|
|
26
|
+
}
|
|
@@ -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
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare enum Action {
|
|
12
|
+
Left = 0,
|
|
13
|
+
Right = 1,
|
|
14
|
+
Up = 2,
|
|
15
|
+
Down = 3,
|
|
16
|
+
PrevView = 4,
|
|
17
|
+
NextView = 5,
|
|
18
|
+
FirstInView = 6,
|
|
19
|
+
LastInView = 7,
|
|
20
|
+
LowerView = 8,
|
|
21
|
+
UpperView = 9
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 type that defines the selection range of the Calendar.
|
|
10
|
+
*/
|
|
11
|
+
export interface SelectionRange {
|
|
12
|
+
/**
|
|
13
|
+
* The beginning of the selection range.
|
|
14
|
+
*/
|
|
15
|
+
start: Date | null;
|
|
16
|
+
/**
|
|
17
|
+
* The end of the selection range.
|
|
18
|
+
*/
|
|
19
|
+
end: Date | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export declare const EMPTY_SELECTIONRANGE: SelectionRange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 literal type that defines which end of the selection range is active.
|
|
10
|
+
*/
|
|
11
|
+
export type SelectionRangeEnd = 'start' | 'end' | null;
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { Action } from './NavigationAction';
|
|
9
|
+
import { CellContext } from './CellContext';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface ViewService {
|
|
14
|
+
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
15
|
+
addToDate(min: Date, skip: number): Date;
|
|
16
|
+
datesList(start: Date, count: number): Date[];
|
|
17
|
+
data(options: any): CellContext[][];
|
|
18
|
+
isEqual(candidate: Date, expected: Date): boolean;
|
|
19
|
+
isInArray(date: Date, dates: Date[]): boolean;
|
|
20
|
+
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
21
|
+
isRangeStart(date: Date): boolean;
|
|
22
|
+
isInSameView(candidate: Date, value: Date): boolean;
|
|
23
|
+
move(date: Date, action: Action | null): Date;
|
|
24
|
+
cellTitle(current: Date): string;
|
|
25
|
+
navigationTitle(current: Date): string;
|
|
26
|
+
title(current: Date): string;
|
|
27
|
+
rowLength(prependCell?: boolean): number;
|
|
28
|
+
skip(value: Date, min: Date): number;
|
|
29
|
+
total(min: Date, max: Date): number;
|
|
30
|
+
value(current: Date): string;
|
|
31
|
+
viewDate(date: Date, max: Date, border: number): Date;
|
|
32
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { Action } from './NavigationAction';
|
|
9
|
+
import { ActiveView } from './ActiveView';
|
|
10
|
+
import { CalendarSettings } from './CalendarSettings';
|
|
11
|
+
import { CalendarViewEnum } from './CalendarViewEnum';
|
|
12
|
+
import { CellContext } from './CellContext';
|
|
13
|
+
import { CalendarMode } from './CalendarMode';
|
|
14
|
+
import { SelectionRange, EMPTY_SELECTIONRANGE } from './SelectionRange';
|
|
15
|
+
import { SelectionRangeEnd } from './SelectionRangeEnd';
|
|
16
|
+
import { ViewService } from './ViewService';
|
|
17
|
+
export { Action, type ActiveView, type CalendarSettings, CalendarViewEnum, type CellContext, EMPTY_SELECTIONRANGE, type CalendarMode, type SelectionRange, type SelectionRangeEnd, type ViewService };
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { ViewService } from '../models/ViewService';
|
|
9
|
+
import { IntlService } from '@progress/kendo-vue-intl';
|
|
10
|
+
import { CalendarViewEnum } from '../models/CalendarViewEnum';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare class BusViewService {
|
|
15
|
+
private onViewChanged;
|
|
16
|
+
private bottom;
|
|
17
|
+
private top;
|
|
18
|
+
constructor(onViewChanged: any);
|
|
19
|
+
configure(bottom: CalendarViewEnum, top: CalendarViewEnum): void;
|
|
20
|
+
service(view: CalendarViewEnum, intl: IntlService): ViewService;
|
|
21
|
+
moveDown(view: CalendarViewEnum, event?: any): void;
|
|
22
|
+
moveUp(view: CalendarViewEnum, event?: any): void;
|
|
23
|
+
moveToBottom(activeView: CalendarViewEnum): void;
|
|
24
|
+
canMoveDown(view: CalendarViewEnum): boolean;
|
|
25
|
+
canMoveUp(view: CalendarViewEnum): boolean;
|
|
26
|
+
private clamp;
|
|
27
|
+
private move;
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { Action, CellContext, ViewService } from '../models/main';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare class CenturyViewService implements ViewService {
|
|
13
|
+
addToDate(min: Date, skip: number): Date;
|
|
14
|
+
datesList(start: Date, count: number): Date[];
|
|
15
|
+
data(options: any): CellContext[][];
|
|
16
|
+
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
17
|
+
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
18
|
+
isInArray(date: Date, dates: Date[]): boolean;
|
|
19
|
+
isInRange(candidate: Date, min: Date | null, max: Date | null): boolean;
|
|
20
|
+
isInSameView(candidate: Date, value: Date): boolean;
|
|
21
|
+
isRangeStart(value: Date): boolean;
|
|
22
|
+
move(value: Date, action: Action): Date;
|
|
23
|
+
cellTitle(value: Date): string;
|
|
24
|
+
navigationTitle(value?: Date): string;
|
|
25
|
+
title(value?: Date): string;
|
|
26
|
+
rowLength(_?: boolean): number;
|
|
27
|
+
skip(value: Date, min: Date): number;
|
|
28
|
+
total(min: Date, max: Date): number;
|
|
29
|
+
value(current: Date): string;
|
|
30
|
+
viewDate(date: Date, max: Date, border?: number): Date;
|
|
31
|
+
private normalize;
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { CalendarViewEnum } from '../models/CalendarViewEnum';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare class DOMService {
|
|
13
|
+
calendarHeight: number;
|
|
14
|
+
headerHeight: number;
|
|
15
|
+
monthViewHeight: number;
|
|
16
|
+
yearViewHeight: number;
|
|
17
|
+
decadeViewHeight: number;
|
|
18
|
+
centuryViewHeight: number;
|
|
19
|
+
navigationItemHeight: number;
|
|
20
|
+
scrollableContentHeight: number;
|
|
21
|
+
scrollableYearContentHeight: number;
|
|
22
|
+
calendarWidth: number;
|
|
23
|
+
monthViewWidth: number;
|
|
24
|
+
yearViewWidth: number;
|
|
25
|
+
decadeViewWidth: number;
|
|
26
|
+
centuryViewWidth: number;
|
|
27
|
+
scrollableContentWidth: number;
|
|
28
|
+
didCalculate: boolean;
|
|
29
|
+
private hostContainer;
|
|
30
|
+
ensureHeights(): void;
|
|
31
|
+
calculateHeights(container?: Element): void;
|
|
32
|
+
viewHeight(viewType: CalendarViewEnum): number;
|
|
33
|
+
viewWidth(viewType: CalendarViewEnum): number;
|
|
34
|
+
private viewDimension;
|
|
35
|
+
private batch;
|
|
36
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { Action } from '../models/NavigationAction';
|
|
9
|
+
import { CellContext } from '../models/CellContext';
|
|
10
|
+
import { ViewService } from '../models/ViewService';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare class DecadeViewService implements ViewService {
|
|
15
|
+
addToDate(min: Date, skip: number): Date;
|
|
16
|
+
datesList(start: Date, count: number): Date[];
|
|
17
|
+
data(options: any): CellContext[][];
|
|
18
|
+
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
19
|
+
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
20
|
+
isInArray(date: Date, dates: Date[]): boolean;
|
|
21
|
+
isInRange(candidate: Date, min: Date | null, max: Date | null): boolean;
|
|
22
|
+
isRangeStart(value: Date): boolean;
|
|
23
|
+
isInSameView(candidate: Date, value: Date): boolean;
|
|
24
|
+
move(value: Date, action: Action): Date;
|
|
25
|
+
cellTitle(value: Date): string;
|
|
26
|
+
navigationTitle(value?: Date): string;
|
|
27
|
+
title(value?: Date): string;
|
|
28
|
+
rowLength(_?: boolean): number;
|
|
29
|
+
skip(value: Date, min: Date): number;
|
|
30
|
+
total(min: Date, max: Date): number;
|
|
31
|
+
value(current: Date): string;
|
|
32
|
+
viewDate(date: Date, max: Date, border?: number): Date;
|
|
33
|
+
private normalize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 } from '@progress/kendo-vue-intl';
|
|
9
|
+
import { Action } from '../models/NavigationAction';
|
|
10
|
+
import { CellContext } from '../models/CellContext';
|
|
11
|
+
import { ViewService } from '../models/ViewService';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class MonthViewService implements ViewService {
|
|
16
|
+
private intl;
|
|
17
|
+
constructor(intl: IntlService);
|
|
18
|
+
addToDate(min: Date, skip: number): Date;
|
|
19
|
+
datesList(start: Date, count: number): Date[];
|
|
20
|
+
data(options: any): CellContext[][];
|
|
21
|
+
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
22
|
+
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
23
|
+
isInArray(date: Date, dates: Date[]): boolean;
|
|
24
|
+
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
25
|
+
isInSameView(candidate: Date, value: Date): boolean;
|
|
26
|
+
isRangeStart(value: Date): boolean;
|
|
27
|
+
move(value: Date, action: Action): Date;
|
|
28
|
+
cellTitle(value: Date): string;
|
|
29
|
+
navigationTitle(value?: Date): string;
|
|
30
|
+
title(current: Date): string;
|
|
31
|
+
rowLength(prependCell?: boolean): number;
|
|
32
|
+
skip(value: Date, min: Date): number;
|
|
33
|
+
total(min: Date, max: Date): number;
|
|
34
|
+
value(current: Date): string;
|
|
35
|
+
viewDate(date: Date, max: Date, border?: number): Date;
|
|
36
|
+
isWeekend(date: Date): boolean;
|
|
37
|
+
private abbrMonthNames;
|
|
38
|
+
private normalize;
|
|
39
|
+
private wideMonthNames;
|
|
40
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { Action } from '../models/NavigationAction';
|
|
9
|
+
import { CalendarViewEnum } from '../models/CalendarViewEnum';
|
|
10
|
+
import { BusViewService } from '../services/BusViewService';
|
|
11
|
+
import { ViewService } from '../models/ViewService';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class NavigationService {
|
|
16
|
+
private bus;
|
|
17
|
+
constructor(bus: BusViewService);
|
|
18
|
+
action(event: any): Action;
|
|
19
|
+
move(value: Date, action: Action | null, activeView: CalendarViewEnum, service: ViewService, event?: any): Date;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 } from '@progress/kendo-vue-intl';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare class WeekNamesService {
|
|
13
|
+
private intl;
|
|
14
|
+
constructor(intl: IntlService);
|
|
15
|
+
getWeekNames(includeWeekNumber?: boolean): string[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 } from '@progress/kendo-vue-intl';
|
|
9
|
+
import { Action } from '../models/NavigationAction';
|
|
10
|
+
import { CellContext } from '../models/CellContext';
|
|
11
|
+
import { ViewService } from '../models/ViewService';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class YearViewService implements ViewService {
|
|
16
|
+
private _intl;
|
|
17
|
+
constructor(intl: IntlService);
|
|
18
|
+
addToDate(min: Date, skip: number): Date;
|
|
19
|
+
datesList(start: Date, count: number): Date[];
|
|
20
|
+
data(options: any): CellContext[][];
|
|
21
|
+
isSelectedFromArray(candidate: Date, dates: Date[], min: Date, max: Date): boolean;
|
|
22
|
+
isEqual(candidate: Date | null, expected: Date | null): boolean;
|
|
23
|
+
isInArray(date: Date, dates: Date[]): boolean;
|
|
24
|
+
isInRange(candidate: Date, min: Date | null, max: Date | null): boolean;
|
|
25
|
+
isInSameView(candidate: Date, value: Date): boolean;
|
|
26
|
+
isRangeStart(value: Date): boolean;
|
|
27
|
+
move(value: Date, action: Action): Date;
|
|
28
|
+
cellTitle(value: Date): string;
|
|
29
|
+
navigationTitle(value?: Date): string;
|
|
30
|
+
title(current?: Date): string;
|
|
31
|
+
rowLength(_?: boolean): number;
|
|
32
|
+
skip(value: Date, min: Date): number;
|
|
33
|
+
total(min: Date, max: Date): number;
|
|
34
|
+
value(current: Date): string;
|
|
35
|
+
viewDate(date: Date, max: Date, border?: number): Date;
|
|
36
|
+
private abbrMonthNames;
|
|
37
|
+
private normalize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { BusViewService } from './BusViewService';
|
|
9
|
+
import { CenturyViewService } from './CenturyViewService';
|
|
10
|
+
import { DecadeViewService } from './DecadeViewService';
|
|
11
|
+
import { DOMService } from './DOMService';
|
|
12
|
+
import { MonthViewService } from './MonthViewService';
|
|
13
|
+
import { NavigationService } from './NavigationService';
|
|
14
|
+
import { WeekNamesService } from './WeekNamesService';
|
|
15
|
+
import { YearViewService } from './YearViewService';
|
|
16
|
+
export { BusViewService, CenturyViewService, DecadeViewService, DOMService, MonthViewService, NavigationService, WeekNamesService, YearViewService };
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { SelectionRange, SelectionRangeEnd } from '../models/main';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
declare const calculateValue: (min: Date, max: Date, stateValue: any, propValue?: any) => Date | null;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
declare const extractDateFromValue: (min: Date, max: Date, value: Date | Date[] | SelectionRange | null) => Date | null;
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
declare const extractMultipleFromValue: (min: Date, max: Date, value: Date | Date[] | SelectionRange | null) => Date[] | null;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
declare const extractRangeFromValue: (value: Date | Date[] | SelectionRange | null) => SelectionRange;
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
declare const extractFocusedDate: (single: Date | null, multiple: Date[] | null, range: SelectionRange) => Date | null;
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
declare const extractActiveRange: (range: SelectionRange, single: Date | null) => SelectionRangeEnd;
|
|
33
|
+
export { calculateValue, extractDateFromValue, extractMultipleFromValue, extractRangeFromValue, extractFocusedDate, extractActiveRange };
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* Represents the props of the Kendo UI for
|
|
10
|
+
* Vue [PickerWrap]({% slug api_dateinputs_pickerwrapprops %}) component.
|
|
11
|
+
*/
|
|
12
|
+
export interface PickerWrapProps {
|
|
13
|
+
id?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
declare const PickerWrap: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
19
|
+
id: StringConstructor;
|
|
20
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
id: StringConstructor;
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export { PickerWrap };
|