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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/PopupSettings.d.ts +21 -0
  2. package/calendar/components/Calendar.d.ts +206 -0
  3. package/calendar/components/CalendarCell.d.ts +70 -0
  4. package/calendar/components/CalendarHeaderTitle.d.ts +35 -0
  5. package/calendar/components/CalendarWeekCell.d.ts +35 -0
  6. package/calendar/components/Header.d.ts +175 -0
  7. package/calendar/components/View.d.ts +204 -0
  8. package/calendar/components/ViewList.d.ts +226 -0
  9. package/calendar/components/interfaces/CalendarComputed.d.ts +17 -0
  10. package/calendar/components/interfaces/CalendarData.d.ts +17 -0
  11. package/calendar/components/interfaces/CalendarEventArguments.d.ts +63 -0
  12. package/calendar/components/interfaces/CalendarMethods.d.ts +40 -0
  13. package/calendar/components/interfaces/CalendarProps.d.ts +66 -0
  14. package/calendar/components/interfaces/CalendarState.d.ts +32 -0
  15. package/calendar/models/ActiveView.d.ts +11 -0
  16. package/calendar/models/CalendarMode.d.ts +16 -0
  17. package/calendar/models/CalendarSettings.d.ts +84 -0
  18. package/calendar/models/CalendarViewEnum.d.ts +16 -0
  19. package/calendar/models/CellContext.d.ts +26 -0
  20. package/calendar/models/NavigationAction.d.ts +22 -0
  21. package/calendar/models/SelectionRange.d.ts +24 -0
  22. package/calendar/models/SelectionRangeEnd.d.ts +11 -0
  23. package/calendar/models/ViewService.d.ts +32 -0
  24. package/calendar/models/main.d.ts +17 -0
  25. package/calendar/services/BusViewService.d.ts +28 -0
  26. package/calendar/services/CenturyViewService.d.ts +32 -0
  27. package/calendar/services/DOMService.d.ts +36 -0
  28. package/calendar/services/DecadeViewService.d.ts +34 -0
  29. package/calendar/services/MonthViewService.d.ts +40 -0
  30. package/calendar/services/NavigationService.d.ts +20 -0
  31. package/calendar/services/WeekNamesService.d.ts +16 -0
  32. package/calendar/services/YearViewService.d.ts +38 -0
  33. package/calendar/services/main.d.ts +16 -0
  34. package/calendar/utils/main.d.ts +33 -0
  35. package/common/PickerWrap.d.ts +23 -0
  36. package/dateinput/DateInput.d.ts +260 -0
  37. package/dateinput/DateInput.mjs +3 -3
  38. package/dateinput/interfaces/DateInputBlurEvent.d.ts +16 -0
  39. package/dateinput/interfaces/DateInputComputed.d.ts +15 -0
  40. package/dateinput/interfaces/DateInputData.d.ts +18 -0
  41. package/dateinput/interfaces/DateInputEventArguments.d.ts +17 -0
  42. package/dateinput/interfaces/DateInputFocusEvent.d.ts +16 -0
  43. package/dateinput/interfaces/DateInputMethods.d.ts +37 -0
  44. package/dateinput/interfaces/DateInputProps.d.ts +38 -0
  45. package/dateinput/interfaces/DateInputState.d.ts +16 -0
  46. package/dateinput/models/DateInputSettings.d.ts +160 -0
  47. package/dateinput/models/format-placeholder.d.ts +46 -0
  48. package/dateinput/models/incremental-steps.d.ts +18 -0
  49. package/dateinput/models/kendo-date.d.ts +60 -0
  50. package/dateinput/models/main.d.ts +14 -0
  51. package/dateinput/models/mask.d.ts +14 -0
  52. package/dateinput/models/selection.d.ts +14 -0
  53. package/dateinput/utils.d.ts +37 -0
  54. package/datepicker/DatePicker.d.ts +280 -0
  55. package/datepicker/DatePicker.js +1 -1
  56. package/datepicker/DatePicker.mjs +11 -10
  57. package/datepicker/ToggleButton.d.ts +151 -0
  58. package/datepicker/interfaces/DatePickerComputed.d.ts +15 -0
  59. package/datepicker/interfaces/DatePickerData.d.ts +15 -0
  60. package/datepicker/interfaces/DatePickerEventArguments.d.ts +29 -0
  61. package/datepicker/interfaces/DatePickerFocusBlurEvents.d.ts +25 -0
  62. package/datepicker/interfaces/DatePickerMethods.d.ts +34 -0
  63. package/datepicker/interfaces/DatePickerProps.d.ts +53 -0
  64. package/datepicker/interfaces/DatePickerState.d.ts +23 -0
  65. package/datepicker/models/DatePickerSettings.d.ts +157 -0
  66. package/datepicker/models/main.d.ts +9 -0
  67. package/daterangepicker/DateRangePicker.d.ts +315 -0
  68. package/daterangepicker/interfaces/DateRangePickerFocusBlurEvents.d.ts +25 -0
  69. package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +13 -0
  70. package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +13 -0
  71. package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +13 -0
  72. package/daterangepicker/models/DateRangePickerSettings.d.ts +162 -0
  73. package/daterangepicker/models/main.d.ts +12 -0
  74. package/datetimepicker/DateTimePicker.d.ts +380 -0
  75. package/datetimepicker/DateTimePicker.js +1 -1
  76. package/datetimepicker/DateTimePicker.mjs +17 -16
  77. package/datetimepicker/DateTimeSelector.d.ts +188 -0
  78. package/datetimepicker/interfaces/DateTimePickerFocusBlurEvents.d.ts +25 -0
  79. package/datetimepicker/models/DateTimePickerSettings.d.ts +199 -0
  80. package/datetimepicker/models/main.d.ts +9 -0
  81. package/defaults.d.ts +27 -0
  82. package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
  83. package/index.d.mts +30 -3477
  84. package/index.d.ts +30 -3477
  85. package/messages/main.d.ts +117 -0
  86. package/package-metadata.d.ts +12 -0
  87. package/package-metadata.js +1 -1
  88. package/package-metadata.mjs +2 -2
  89. package/package.json +16 -10
  90. package/timepicker/TimeList.d.ts +129 -0
  91. package/timepicker/TimePart.d.ts +177 -0
  92. package/timepicker/TimePart.js +1 -1
  93. package/timepicker/TimePart.mjs +2 -2
  94. package/timepicker/TimePicker.d.ts +369 -0
  95. package/timepicker/TimePicker.js +1 -1
  96. package/timepicker/TimePicker.mjs +1 -0
  97. package/timepicker/TimeSelector.d.ts +185 -0
  98. package/timepicker/interfaces/TimePickerFocusBlurEvents.d.ts +25 -0
  99. package/timepicker/models/IncrementalSteps.d.ts +15 -0
  100. package/timepicker/models/ListItem.d.ts +14 -0
  101. package/timepicker/models/ListService.d.ts +22 -0
  102. package/timepicker/models/ListServiceSettings.d.ts +19 -0
  103. package/timepicker/models/TimePart.d.ts +17 -0
  104. package/timepicker/models/TimePickerSettings.d.ts +180 -0
  105. package/timepicker/models/main.d.ts +14 -0
  106. package/timepicker/services/DOMService.d.ts +17 -0
  107. package/timepicker/services/DayPeriodService.d.ts +54 -0
  108. package/timepicker/services/HoursService.d.ts +40 -0
  109. package/timepicker/services/MinutesService.d.ts +39 -0
  110. package/timepicker/services/SecondsService.d.ts +39 -0
  111. package/timepicker/services/main.d.ts +13 -0
  112. package/timepicker/utils.d.ts +63 -0
  113. package/utils.d.ts +77 -0
  114. package/utils.mjs +1 -1
  115. package/virtualization/Virtualization.d.ts +186 -0
  116. package/virtualization/Virtualization.js +1 -1
  117. package/virtualization/Virtualization.mjs +2 -2
  118. package/virtualization/services/RowHeightService.d.ts +25 -0
  119. package/virtualization/services/ScrollerService.d.ts +56 -0
  120. package/virtualization/services/main.d.ts +10 -0
@@ -0,0 +1,19 @@
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 { DateFormatPart } from '@progress/kendo-vue-intl';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface ListServiceSettings {
13
+ boundRange: boolean;
14
+ insertUndividedMax: boolean;
15
+ min: Date;
16
+ max: Date;
17
+ part: DateFormatPart;
18
+ step: number;
19
+ }
@@ -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
+ /**
9
+ * @hidden
10
+ */
11
+ export declare const TIME_PART: {
12
+ dayperiod: string;
13
+ hour: string;
14
+ millisecond: string;
15
+ minute: string;
16
+ second: string;
17
+ };
@@ -0,0 +1,180 @@
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 { TimePickerIncrementalSteps } from './IncrementalSteps';
10
+ import { DateInputsPopupSettings } from '../../PopupSettings';
11
+ import { DateFormatOptions } from '@progress/kendo-vue-intl';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface TimePickerSettings {
16
+ /**
17
+ * 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).
18
+ * For example these elements could contain error or hint message.
19
+ */
20
+ ariaDescribedBy?: string;
21
+ /**
22
+ * Identifies the element(s) which will label the component.
23
+ */
24
+ ariaLabelledBy?: string;
25
+ /**
26
+ * Determines whether to display the **Cancel** button in the popup.
27
+ */
28
+ cancelButton?: boolean;
29
+ /**
30
+ * Determines whether to display the **Now** button in the popup.
31
+ *
32
+ * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
33
+ */
34
+ nowButton?: boolean;
35
+ /**
36
+ * Sets the default state of the popup upon render ([see example]({% slug default_value_timepicker %}#toc-setting-the-default-popup-state)).
37
+ */
38
+ defaultShow?: boolean;
39
+ /**
40
+ * Determines whether the TimePicker is disabled ([see example]({% slug disabled_timepicker %})).
41
+ */
42
+ disabled?: boolean;
43
+ /**
44
+ * Specifies the date format that is used to display the input value ([see example]({% slug formats_timepicker %})).
45
+ */
46
+ format?: string | DateFormatOptions;
47
+ /**
48
+ * Defines the descriptions of the format sections in the input field ([see example]({% slug placeholders_timepicker %})).
49
+ */
50
+ formatPlaceholder?: DateInputFormatPlaceholder;
51
+ /**
52
+ * Specifies the `id` of the TimePicker.
53
+ */
54
+ id?: string;
55
+ /**
56
+ * Specifies the greatest valid time ([see example]({% slug timeranges_timepicker %})).
57
+ */
58
+ max?: Date;
59
+ /**
60
+ * Specifies the smallest valid time ([see example]({% slug timeranges_timepicker %})).
61
+ */
62
+ min?: Date;
63
+ /**
64
+ * Specifies the `name` property of the `input` DOM element.
65
+ */
66
+ name?: string;
67
+ /**
68
+ * Renders a floating label for the TimePicker.
69
+ */
70
+ label?: string;
71
+ /**
72
+ * Specifies the value of the placeholder.
73
+ */
74
+ placeholder?: string;
75
+ /**
76
+ * Configures the `size` of the TimeInput.
77
+ *
78
+ * The available options are:
79
+ * - small
80
+ * - medium
81
+ * - large
82
+ * - null—Does not set a size `class`.
83
+ *
84
+ * @default `medium`
85
+ */
86
+ size?: null | 'small' | 'medium' | 'large';
87
+ /**
88
+ * Configures the `roundness` of the TimeInput.
89
+ *
90
+ * The available options are:
91
+ * - small
92
+ * - medium
93
+ * - large
94
+ * - circle
95
+ * - full
96
+ * - null—Does not set a rounded `class`.
97
+ *
98
+ * @default `medium`
99
+ */
100
+ rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
101
+ /**
102
+ * Configures the `fillMode` of the TimeInput.
103
+ *
104
+ * The available options are:
105
+ * - solid
106
+ * - outline
107
+ * - flat
108
+ * - link
109
+ * - null—Does not set a fillMode `class`.
110
+ *
111
+ * @default `solid`
112
+ */
113
+ fillMode?: null | 'solid' | 'outline' | 'flat' | string;
114
+ /**
115
+ * Fires each time any of the TimePicker elements gets blurred.
116
+ */
117
+ onBlur?: (event: any) => void;
118
+ /**
119
+ * Fires each time the user focuses any of the TimePicker elements.
120
+ */
121
+ onFocus?: (event: any) => void;
122
+ /**
123
+ * Fires when the icon element is clicked.
124
+ */
125
+ onIconclick?: (event: any) => void;
126
+ /**
127
+ * Configures the popup options of the TimePicker.
128
+ *
129
+ * The available options are:
130
+ * - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
131
+ * - `appendTo:`— Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
132
+ * - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
133
+ */
134
+ popupSettings?: DateInputsPopupSettings;
135
+ /**
136
+ * Specifies if a time selector will be displayed ([see example]({% slug controlled_timepicker %}#toc-controlling-the-popup-state)).
137
+ */
138
+ show?: boolean;
139
+ /**
140
+ * Configures the incremental steps of the TimePicker ([see example]({% slug incrementalsteps_timepicker %})).
141
+ *
142
+ * > If the incremental step is greater than `1`, the **Now** button will be hidden.
143
+ */
144
+ steps?: TimePickerIncrementalSteps;
145
+ /**
146
+ * Toggles the smooth scroll animation on time click. By default, the animation is enabled.
147
+ */
148
+ smoothScroll?: boolean;
149
+ /**
150
+ * Sets the `tabIndex` property of the TimePicker.
151
+ */
152
+ tabIndex?: number;
153
+ /**
154
+ * Sets the title of the `input` element of the TimePicker.
155
+ */
156
+ title?: string;
157
+ /**
158
+ * Specifies the width of the TimePicker.
159
+ */
160
+ width?: number | string;
161
+ /**
162
+ * Enables the customization or the override of the default Popup which is rendered by the TimePicker
163
+ * ([see example]({% slug custom_rendering_timepicker %}#toc-customizing-the-popup)).
164
+ */
165
+ popup?: any;
166
+ /**
167
+ * Enables the customization or the override of the default DateInput which is rendered by the TimePicker
168
+ * ([see example]({% slug custom_rendering_timepicker %}#toc-customizing-the-dateinput)).
169
+ */
170
+ dateInput?: any;
171
+ /**
172
+ * Specifies the validate of the TimePicker.
173
+ */
174
+ validate?: boolean;
175
+ /**
176
+ * Sets the built-in HTML attributes of the inner focusable input element.
177
+ * Attributes which are essential for certain component functionalities cannot be changed.
178
+ */
179
+ inputAttributes?: Object;
180
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { TimePickerIncrementalSteps } from './IncrementalSteps';
9
+ import { TimePickerSettings } from './TimePickerSettings';
10
+ import { ListItem } from './ListItem';
11
+ import { ListService } from './ListService';
12
+ import { ListServiceSettings } from './ListServiceSettings';
13
+ import { TIME_PART } from './TimePart';
14
+ export { type TimePickerIncrementalSteps, type TimePickerSettings, type ListItem, type ListService, type ListServiceSettings, TIME_PART };
@@ -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
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class DOMService {
12
+ itemHeight: number;
13
+ timeListHeight: number;
14
+ didCalculate: boolean;
15
+ ensureHeights(): void;
16
+ calculateHeights(container?: HTMLElement): void;
17
+ }
@@ -0,0 +1,54 @@
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 { ListServiceSettings } from '../models/ListServiceSettings';
10
+ import { ListService } from '../models/ListService';
11
+ import { ListItem } from '../models/ListItem';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare class DayPeriodService implements ListService {
16
+ private intl;
17
+ private min;
18
+ private max;
19
+ private part;
20
+ constructor(intl: IntlService);
21
+ /**
22
+ * @hidden
23
+ */
24
+ apply(value: Date, candidate: Date): Date;
25
+ /**
26
+ * @hidden
27
+ */
28
+ configure(settings: ListServiceSettings): void;
29
+ /**
30
+ * @hidden
31
+ */
32
+ data(_?: Date): ListItem[];
33
+ /**
34
+ * @hidden
35
+ */
36
+ isRangeChanged(_: Date, __: Date): boolean;
37
+ /**
38
+ * @hidden
39
+ */
40
+ limitRange(min: Date, max: Date, _?: Date): Date[];
41
+ /**
42
+ * @hidden
43
+ */
44
+ total(): number;
45
+ /**
46
+ * @hidden
47
+ */
48
+ selectedIndex(value: Date): number;
49
+ /**
50
+ * @hidden
51
+ */
52
+ valueInList(value: Date): boolean;
53
+ private normalizedRange;
54
+ }
@@ -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 { ListServiceSettings } from '../models/ListServiceSettings';
10
+ import { ListService } from '../models/ListService';
11
+ import { ListItem } from '../models/ListItem';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare class HoursService implements ListService {
16
+ private intl;
17
+ private boundRange;
18
+ private insertUndividedMax;
19
+ private min;
20
+ private max;
21
+ private step;
22
+ private toListItem;
23
+ constructor(intl: IntlService);
24
+ apply(value: Date, candidate: Date): Date;
25
+ configure(settings: ListServiceSettings): void;
26
+ data(selectedValue?: Date): ListItem[];
27
+ isRangeChanged(min: Date, max: Date): boolean;
28
+ limitRange(min: Date, max: Date, value?: Date): Date[];
29
+ total(value?: Date): number;
30
+ selectedIndex(value: Date): number;
31
+ valueInList(value?: Date): boolean;
32
+ private addLast;
33
+ private addMissing;
34
+ private countFromMin;
35
+ private isMissing;
36
+ private isLastMissing;
37
+ private divideByStep;
38
+ private lastHour;
39
+ private range;
40
+ }
@@ -0,0 +1,39 @@
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 { ListServiceSettings } from '../models/ListServiceSettings';
10
+ import { ListService } from '../models/ListService';
11
+ import { ListItem } from '../models/ListItem';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare class MinutesService implements ListService {
16
+ private intl;
17
+ private toListItem;
18
+ private min;
19
+ private max;
20
+ private step;
21
+ private insertUndividedMax;
22
+ constructor(intl: IntlService);
23
+ apply(value: Date, candidate: Date): Date;
24
+ configure(settings: ListServiceSettings): void;
25
+ data(selectedValue?: Date): ListItem[];
26
+ isRangeChanged(min: Date, max: Date): boolean;
27
+ limitRange(min: Date, max: Date, value?: Date): Date[];
28
+ total(value?: Date): number;
29
+ selectedIndex(value: Date): number;
30
+ valueInList(value: Date): boolean;
31
+ private addLast;
32
+ private addMissing;
33
+ private countFromMin;
34
+ private isMissing;
35
+ private isLastMissing;
36
+ private divideByStep;
37
+ private lastMinute;
38
+ private range;
39
+ }
@@ -0,0 +1,39 @@
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 { ListServiceSettings } from '../models/ListServiceSettings';
10
+ import { ListService } from '../models/ListService';
11
+ import { ListItem } from '../models/ListItem';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare class SecondsService implements ListService {
16
+ private intl;
17
+ private toListItem;
18
+ private min;
19
+ private max;
20
+ private step;
21
+ private insertUndividedMax;
22
+ constructor(intl: IntlService);
23
+ apply(value: Date, candidate: Date): Date;
24
+ configure(settings: ListServiceSettings): void;
25
+ data(selectedValue?: Date): ListItem[];
26
+ isRangeChanged(min: Date, max: Date): boolean;
27
+ limitRange(min: Date, max: Date, value?: Date): Date[];
28
+ total(value?: Date): number;
29
+ selectedIndex(value: Date): number;
30
+ valueInList(value: Date): boolean;
31
+ private divideByStep;
32
+ private addLast;
33
+ private addMissing;
34
+ private countFromMin;
35
+ private isMissing;
36
+ private isLastMissing;
37
+ private lastSecond;
38
+ private range;
39
+ }
@@ -0,0 +1,13 @@
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 { DayPeriodService } from './DayPeriodService';
9
+ import { DOMService } from './DOMService';
10
+ import { HoursService } from './HoursService';
11
+ import { MinutesService } from './MinutesService';
12
+ import { SecondsService } from './SecondsService';
13
+ export { DayPeriodService, DOMService, HoursService, MinutesService, SecondsService };
@@ -0,0 +1,63 @@
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 generateGetters: (parts: any) => any;
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare const generateSnappers: (steps: any, min: any) => any;
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const valueMerger: (getters: any) => (origin: any, candidate: any) => any;
20
+ /**
21
+ * @hidden
22
+ */
23
+ export declare const snapTime: (snappers: any) => (candidate: any) => any;
24
+ /**
25
+ * @hidden
26
+ */
27
+ export declare const setHours: (date: Date, value: number) => Date;
28
+ /**
29
+ * @hidden
30
+ */
31
+ export declare const setMinutes: (date: Date, value: number) => Date;
32
+ /**
33
+ * @hidden
34
+ */
35
+ export declare const setSeconds: (date: Date, value: number) => Date;
36
+ /**
37
+ * @hidden
38
+ */
39
+ export declare const getNow: () => Date;
40
+ /**
41
+ * @hidden
42
+ */
43
+ export declare const range: (start: number, end: number, step?: number) => number[];
44
+ /**
45
+ * @hidden
46
+ */
47
+ export declare const timeInRange: (candidate: Date, min: Date, max: Date) => Date;
48
+ /**
49
+ * @hidden
50
+ */
51
+ export declare const isInTimeRange: (candidate: Date | null, min?: Date, max?: Date) => boolean;
52
+ /**
53
+ * @hidden
54
+ */
55
+ export declare const isInRange: (candidate: Date | null, min: Date, max: Date) => boolean;
56
+ /**
57
+ * @hidden
58
+ */
59
+ export declare const isSmallerThanMin: (val: Date | null, min: Date | null) => boolean;
60
+ /**
61
+ * @hidden
62
+ */
63
+ export declare const isBiggerThanMax: (val: Date | null, max: Date | null) => boolean;
package/utils.d.ts ADDED
@@ -0,0 +1,77 @@
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 } from './calendar/models/SelectionRange';
9
+ import { CalendarViewEnum } from './calendar/models/CalendarViewEnum';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare const isEqualRange: (initial: SelectionRange, updated: SelectionRange) => boolean;
14
+ /**
15
+ * @hidden
16
+ */
17
+ export declare const viewInRange: (candidate: CalendarViewEnum, min: CalendarViewEnum, max: CalendarViewEnum) => CalendarViewEnum;
18
+ /**
19
+ * @hidden
20
+ */
21
+ export declare const MIDNIGHT_DATE: Date;
22
+ /**
23
+ * @hidden
24
+ */
25
+ export declare const MIN_DATE: Date;
26
+ /**
27
+ * @hidden
28
+ */
29
+ export declare const MAX_DATE: Date;
30
+ /**
31
+ * @hidden
32
+ */
33
+ export declare const MIN_TIME: Date;
34
+ /**
35
+ * @hidden
36
+ */
37
+ export declare const MAX_TIME: Date;
38
+ /**
39
+ * @hidden
40
+ */
41
+ export declare const isValidRange: (min: Date, max: Date) => boolean;
42
+ /**
43
+ * @hidden
44
+ */
45
+ export declare const setTime: (origin: Date, candidate: Date) => Date;
46
+ /**
47
+ * @hidden
48
+ */
49
+ export declare const getToday: () => Date;
50
+ /**
51
+ * @hidden
52
+ */
53
+ export declare const isInRange: (candidate: Date, min: Date, max: Date) => boolean;
54
+ /**
55
+ * @hidden
56
+ */
57
+ export declare const isInDateRange: (candidate: Date | null, min: Date, max: Date) => boolean;
58
+ /**
59
+ * @hidden
60
+ */
61
+ export declare const isInSelectionRange: (value: Date, selectionRange?: SelectionRange) => boolean;
62
+ /**
63
+ * @hidden
64
+ */
65
+ export declare const range: (start: number, end: number, step?: number) => number[];
66
+ /**
67
+ * @hidden
68
+ */
69
+ export declare const shiftWeekNames: (names: string[], offset: number) => string[];
70
+ /**
71
+ * @hidden
72
+ */
73
+ export declare const dateInRange: (candidate: Date, min: Date, max: Date) => Date;
74
+ /**
75
+ * @hidden
76
+ */
77
+ export declare const domContainerFactory: (type: string) => (children: string | HTMLElement[], classes?: string, styles?: any) => HTMLElement;
package/utils.mjs CHANGED
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { getDate as u, cloneDate as c } from "@progress/kendo-date-math";
8
+ import { cloneDate as c, getDate as u } from "@progress/kendo-date-math";
9
9
  import { EMPTY_SELECTIONRANGE as g } from "./calendar/models/SelectionRange.mjs";
10
10
  const f = (e, t, o) => t === void 0 || o === void 0 || t <= e && e <= o ? e : e < t ? t : o, l = new Date(1980, 0, 1), E = new Date(1900, 0, 1), M = new Date(2099, 11, 31), T = new Date(1980, 0, 1), p = new Date(1980, 0, 1, 23, 59, 59), w = (e, t) => {
11
11
  const o = c(e);