@progress/kendo-angular-dateinputs 24.2.2 → 25.0.0-develop.1
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/fesm2022/progress-kendo-angular-dateinputs.mjs +260 -260
- package/index.d.ts +7208 -91
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- package/calendar/calendar.component.d.ts +0 -633
- package/calendar/calendar.module.d.ts +0 -51
- package/calendar/calendars.module.d.ts +0 -47
- package/calendar/footer.component.d.ts +0 -22
- package/calendar/for.directive.d.ts +0 -42
- package/calendar/header.component.d.ts +0 -73
- package/calendar/horizontal-view-list.component.d.ts +0 -106
- package/calendar/localization/calendar-custom-messages.component.d.ts +0 -25
- package/calendar/localization/calendar-localized-messages.directive.d.ts +0 -16
- package/calendar/localization/calendar-messages.d.ts +0 -29
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +0 -25
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +0 -16
- package/calendar/localization/multiview-calendar-messages.d.ts +0 -29
- package/calendar/models/cell-context.interface.d.ts +0 -77
- package/calendar/models/navigation-action.enum.d.ts +0 -19
- package/calendar/models/orientation.d.ts +0 -17
- package/calendar/models/row-length-options.interface.d.ts +0 -10
- package/calendar/models/scrollable.interface.d.ts +0 -41
- package/calendar/models/selection-range-end.type.d.ts +0 -18
- package/calendar/models/selection-range.interface.d.ts +0 -36
- package/calendar/models/selection.d.ts +0 -38
- package/calendar/models/type.d.ts +0 -17
- package/calendar/models/view-service.interface.d.ts +0 -31
- package/calendar/models/view.enum.d.ts +0 -15
- package/calendar/models/view.type.d.ts +0 -19
- package/calendar/multiview-calendar.component.d.ts +0 -655
- package/calendar/multiview-calendar.module.d.ts +0 -58
- package/calendar/navigation.component.d.ts +0 -60
- package/calendar/services/bus-view.service.d.ts +0 -30
- package/calendar/services/century-view.service.d.ts +0 -35
- package/calendar/services/decade-view.service.d.ts +0 -35
- package/calendar/services/disabled-dates.service.d.ts +0 -36
- package/calendar/services/dom.service.d.ts +0 -35
- package/calendar/services/month-view.service.d.ts +0 -42
- package/calendar/services/navigation.service.d.ts +0 -19
- package/calendar/services/scroll-sync.service.d.ts +0 -32
- package/calendar/services/selection.service.d.ts +0 -39
- package/calendar/services/weeknames.service.d.ts +0 -20
- package/calendar/services/year-view.service.d.ts +0 -39
- package/calendar/templates/cell-template.directive.d.ts +0 -36
- package/calendar/templates/century-cell-template.directive.d.ts +0 -34
- package/calendar/templates/decade-cell-template.directive.d.ts +0 -34
- package/calendar/templates/footer-template.directive.d.ts +0 -35
- package/calendar/templates/header-template.directive.d.ts +0 -38
- package/calendar/templates/header-title-template.directive.d.ts +0 -34
- package/calendar/templates/month-cell-template.directive.d.ts +0 -34
- package/calendar/templates/navigation-item-template.directive.d.ts +0 -34
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +0 -34
- package/calendar/templates/year-cell-template.directive.d.ts +0 -34
- package/calendar/view-list.component.d.ts +0 -108
- package/calendar/view.component.d.ts +0 -86
- package/common/dom-queries.d.ts +0 -12
- package/common/models/fillmode.d.ts +0 -13
- package/common/models/rounded.d.ts +0 -15
- package/common/models/size.d.ts +0 -13
- package/common/models/week-days-format.d.ts +0 -10
- package/common/picker.service.d.ts +0 -20
- package/common/utils.d.ts +0 -65
- package/dateinput/arrow.enum.d.ts +0 -12
- package/dateinput/dateinput.component.d.ts +0 -479
- package/dateinput/dateinput.module.d.ts +0 -29
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +0 -34
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +0 -16
- package/dateinput/localization/messages.d.ts +0 -25
- package/dateinput/models/format-placeholder.model.d.ts +0 -61
- package/dateinput/models/format-settings.model.d.ts +0 -29
- package/dateinput/models/incremental-steps.model.d.ts +0 -31
- package/dateinputs.module.d.ts +0 -71
- package/datepicker/datepicker.component.d.ts +0 -640
- package/datepicker/datepicker.module.d.ts +0 -36
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +0 -27
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +0 -16
- package/datepicker/localization/messages.d.ts +0 -41
- package/daterange/auto-correct-on.type.d.ts +0 -9
- package/daterange/date-range-end-input.directive.d.ts +0 -62
- package/daterange/date-range-input.d.ts +0 -42
- package/daterange/date-range-popup-template.directive.d.ts +0 -27
- package/daterange/date-range-popup.component.d.ts +0 -376
- package/daterange/date-range-selection.directive.d.ts +0 -89
- package/daterange/date-range-start-input.directive.d.ts +0 -65
- package/daterange/date-range.component.d.ts +0 -59
- package/daterange/date-range.module.d.ts +0 -57
- package/daterange/date-range.service.d.ts +0 -137
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +0 -17
- package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +0 -16
- package/daterange/localization/messages.d.ts +0 -33
- package/datetimepicker/datetimepicker.component.d.ts +0 -772
- package/datetimepicker/datetimepicker.module.d.ts +0 -41
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +0 -26
- package/datetimepicker/localization/localized-messages.directive.d.ts +0 -16
- package/datetimepicker/localization/messages.d.ts +0 -101
- package/datetimepicker/models/active-tab.type.d.ts +0 -9
- package/defaults.d.ts +0 -24
- package/directives.d.ts +0 -66
- package/package-metadata.d.ts +0 -9
- package/popup-settings.model.d.ts +0 -28
- package/preventable-event.d.ts +0 -23
- package/timepicker/localization/messages.d.ts +0 -69
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +0 -28
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +0 -16
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +0 -19
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +0 -16
- package/timepicker/models/incremental-steps.model.d.ts +0 -13
- package/timepicker/models/list-item.interface.d.ts +0 -11
- package/timepicker/models/list-service-settings.d.ts +0 -16
- package/timepicker/models/list-service.interface.d.ts +0 -19
- package/timepicker/models/time-part.default.d.ts +0 -14
- package/timepicker/services/dayperiod.service.d.ts +0 -54
- package/timepicker/services/dom.service.d.ts +0 -25
- package/timepicker/services/hours.service.d.ts +0 -40
- package/timepicker/services/milliseconds.service.d.ts +0 -39
- package/timepicker/services/minutes.service.d.ts +0 -39
- package/timepicker/services/seconds.service.d.ts +0 -39
- package/timepicker/timelist.component.d.ts +0 -96
- package/timepicker/timepicker.component.d.ts +0 -498
- package/timepicker/timepicker.module.d.ts +0 -28
- package/timepicker/timeselector.component.d.ts +0 -185
- package/timepicker/util.d.ts +0 -20
- package/util.d.ts +0 -195
- package/validators/disabled-date.validator.d.ts +0 -8
- package/validators/disabled-dates-range.validator.d.ts +0 -8
- package/validators/incomplete-date.validator.d.ts +0 -8
- package/validators/max.validator.d.ts +0 -8
- package/validators/min.validator.d.ts +0 -8
- package/validators/time-range.validator.d.ts +0 -8
- package/virtualization/models/scrollable.interface.d.ts +0 -41
- package/virtualization/services/row-height.service.d.ts +0 -22
- package/virtualization/services/scroller.service.d.ts +0 -57
- package/virtualization/virtualization.component.d.ts +0 -88
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Defines the structure for a Calendar date selection range.
|
|
7
|
-
*
|
|
8
|
-
* This interface represents a date range with a start and end date,
|
|
9
|
-
* commonly used in range selection scenarios.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```typescript
|
|
13
|
-
* const range: SelectionRange = {
|
|
14
|
-
* start: new Date(2023, 0, 1),
|
|
15
|
-
* end: new Date(2023, 0, 31)
|
|
16
|
-
* };
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export interface SelectionRange {
|
|
20
|
-
/**
|
|
21
|
-
* The starting date of the selection range.
|
|
22
|
-
* Can be null when no start date has been selected.
|
|
23
|
-
*/
|
|
24
|
-
start: Date | null;
|
|
25
|
-
/**
|
|
26
|
-
* The ending date of the selection range.
|
|
27
|
-
* Can be null when no end date has been selected or only start date is set.
|
|
28
|
-
*/
|
|
29
|
-
end: Date | null;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* A constant representing an empty selection range with both start and end set to null.
|
|
33
|
-
*
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare const EMPTY_SELECTIONRANGE: SelectionRange;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { SelectionRangeEnd } from "./selection-range-end.type";
|
|
6
|
-
import { SelectionRange } from "./selection-range.interface";
|
|
7
|
-
/**
|
|
8
|
-
* Defines the Calendar selection mode behavior.
|
|
9
|
-
*
|
|
10
|
-
* The available values are:
|
|
11
|
-
* - `single` (default) - Allows selection of a single date
|
|
12
|
-
* - `multiple` - Allows selection of multiple individual dates
|
|
13
|
-
* - `range` - Allows selection of a date range with start and end dates
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```typescript
|
|
17
|
-
* const selectionMode: CalendarSelection = 'range';
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export type CalendarSelection = 'single' | 'multiple' | 'range';
|
|
21
|
-
/**
|
|
22
|
-
* Handles range selection logic for Calendar components.
|
|
23
|
-
*
|
|
24
|
-
* This function manages the selection state when the Calendar is in range selection mode,
|
|
25
|
-
* determining which end of the range is active and updating the selection range accordingly.
|
|
26
|
-
*
|
|
27
|
-
* @param date - The date being selected
|
|
28
|
-
* @param selectionRange - The current selection range object
|
|
29
|
-
* @param activeRangeEnd - Which end of the range is currently active ('start' or 'end')
|
|
30
|
-
* @param allowReverse - Whether to allow reverse selection (end date before start date)
|
|
31
|
-
* @returns An object containing the updated activeRangeEnd and selectionRange
|
|
32
|
-
*
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export declare function handleRangeSelection(date: Date, selectionRange: SelectionRange, activeRangeEnd: SelectionRangeEnd, allowReverse?: boolean): {
|
|
36
|
-
activeRangeEnd: SelectionRangeEnd;
|
|
37
|
-
selectionRange: SelectionRange;
|
|
38
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Defines the Calendar rendering and navigation behavior type.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* - `infinite` (default) - Provides infinite scrolling navigation through dates
|
|
10
|
-
* - `classic` - Uses traditional button-based navigation with previous/next controls
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* const calendarType: CalendarType = 'classic';
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export type CalendarType = 'infinite' | 'classic';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Action } from './navigation-action.enum';
|
|
6
|
-
import { CellContext } from './cell-context.interface';
|
|
7
|
-
import { RowLengthOptions } from './row-length-options.interface';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface ViewService {
|
|
12
|
-
addToDate(min: Date, skip: number): Date;
|
|
13
|
-
datesList(start: Date, count: number): Date[];
|
|
14
|
-
data(options: any): CellContext[][];
|
|
15
|
-
isEqual(candidate: Date, expected: Date): boolean;
|
|
16
|
-
isInArray(date: Date, dates: Date[]): boolean;
|
|
17
|
-
isInRange(candidate: Date, min: Date, max: Date): boolean;
|
|
18
|
-
isRangeStart(date: Date): boolean;
|
|
19
|
-
move(date: Date, action: Action): Date;
|
|
20
|
-
cellTitle(current: Date): string;
|
|
21
|
-
navigationTitle(current: Date): string;
|
|
22
|
-
title(current: Date): string;
|
|
23
|
-
rowLength(options?: RowLengthOptions): number;
|
|
24
|
-
skip(value: Date, min: Date): number;
|
|
25
|
-
total(min: Date, max: Date): number;
|
|
26
|
-
value(current: Date): string;
|
|
27
|
-
viewDate(date: Date, max: Date, viewsCount: number): Date;
|
|
28
|
-
dateRange(start: Date, end: Date): Date[];
|
|
29
|
-
beginningOfPeriod(date: Date): Date;
|
|
30
|
-
lastDayOfPeriod(date: Date): Date;
|
|
31
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*
|
|
8
|
-
* The Enum which defines all possible Calendar view types.
|
|
9
|
-
*/
|
|
10
|
-
export declare enum CalendarViewEnum {
|
|
11
|
-
month = 0,
|
|
12
|
-
year = 1,
|
|
13
|
-
decade = 2,
|
|
14
|
-
century = 3
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Defines the available Calendar view types for navigation and display.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* - `month` - Displays days within a month
|
|
10
|
-
* - `year` - Displays months within a year
|
|
11
|
-
* - `decade` - Displays years within a decade
|
|
12
|
-
* - `century` - Displays decades within a century
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```typescript
|
|
16
|
-
* const view: CalendarView = 'month';
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export type CalendarView = 'month' | 'year' | 'decade' | 'century';
|