@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,89 +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 { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
6
|
-
import { DateRangeService } from './date-range.service';
|
|
7
|
-
import { MultiViewCalendarComponent } from '../calendar/multiview-calendar.component';
|
|
8
|
-
import { SelectionRange } from '../calendar/models/selection-range.interface';
|
|
9
|
-
import { SelectionRangeEnd } from '../calendar/models/selection-range-end.type';
|
|
10
|
-
import { AutoCorrectOn } from './auto-correct-on.type';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Manages the MultiViewCalendar range selection.
|
|
14
|
-
* This directive will be `deprecated` in a future version.
|
|
15
|
-
* Use the MultiViewCalendar [range selection](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/selection-modes#range-selection) instead.
|
|
16
|
-
*/
|
|
17
|
-
export declare class DateRangeSelectionDirective implements OnInit {
|
|
18
|
-
private calendar;
|
|
19
|
-
private cdr;
|
|
20
|
-
private element;
|
|
21
|
-
private dateRangeService;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the auto-correction behavior. If the start date is greater than the end date,
|
|
24
|
-
* the directive corrects the date range to a single date either on input change or on blur
|
|
25
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/daterange/autocorrect#calendar-selection-directive)).
|
|
26
|
-
*
|
|
27
|
-
* By default, the auto-correction triggers on change.
|
|
28
|
-
* To disable this behavior, set the `autoCorrectOn` property to `none`.
|
|
29
|
-
*
|
|
30
|
-
* @default 'change'
|
|
31
|
-
*/
|
|
32
|
-
autoCorrectOn: AutoCorrectOn;
|
|
33
|
-
/**
|
|
34
|
-
* Gets or sets the selection range of the calendar. When you set a new range,
|
|
35
|
-
* the connected DateRangeService notifies all related parties.
|
|
36
|
-
*/
|
|
37
|
-
get selectionRange(): SelectionRange;
|
|
38
|
-
set selectionRange(range: SelectionRange);
|
|
39
|
-
/**
|
|
40
|
-
* Gets or sets the active end of the selection range. This option determines which range end will be updated on
|
|
41
|
-
* user interaction. When a new active end is set, the connected DateRangeService notifies all related parties.
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* Specifies which end of the selection range is marked as active. The active end gets modified when you interact with the component. When you set a new active end, the wired DateRangeService notifies all related components. For
|
|
45
|
-
* example, the start and end DateInput components.
|
|
46
|
-
*
|
|
47
|
-
* > If the selection range is undefined, the value is ignored.
|
|
48
|
-
*/
|
|
49
|
-
get activeRangeEnd(): SelectionRangeEnd;
|
|
50
|
-
set activeRangeEnd(activeRange: SelectionRangeEnd);
|
|
51
|
-
/**
|
|
52
|
-
* @hidden
|
|
53
|
-
* When in adaptive mode range should not be set automatically on calendar value change but only on accept
|
|
54
|
-
*/
|
|
55
|
-
shouldSetRange: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Fires when the active range end changes. For more information, refer to
|
|
58
|
-
* the section on [events](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events).
|
|
59
|
-
*/
|
|
60
|
-
activeRangeEndChange: EventEmitter<SelectionRangeEnd>;
|
|
61
|
-
/**
|
|
62
|
-
* Fires when the selection range changes. For more information, refer to
|
|
63
|
-
* the section on [events](https://www.telerik.com/kendo-angular-ui/components/dateinputs/multiviewcalendar/events).
|
|
64
|
-
*/
|
|
65
|
-
selectionRangeChange: EventEmitter<SelectionRange>;
|
|
66
|
-
private get calendarRange();
|
|
67
|
-
private calendarSubscriptions;
|
|
68
|
-
private range;
|
|
69
|
-
constructor(calendar: MultiViewCalendarComponent, cdr: ChangeDetectorRef, element: ElementRef, renderer: Renderer2, dateRangeService: DateRangeService);
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
ngOnDestroy(): void;
|
|
72
|
-
/**
|
|
73
|
-
* @hidden
|
|
74
|
-
*/
|
|
75
|
-
handleChange(value: Date): void;
|
|
76
|
-
setRange(range?: SelectionRange): void;
|
|
77
|
-
private addSubscriptions;
|
|
78
|
-
private isEqualCalendarRange;
|
|
79
|
-
private handleBlur;
|
|
80
|
-
private handleHover;
|
|
81
|
-
private hasCompleteRange;
|
|
82
|
-
private shouldAutoCorrect;
|
|
83
|
-
private updateFocusedDate;
|
|
84
|
-
private updateRange;
|
|
85
|
-
private setSelectionRange;
|
|
86
|
-
private acceptAndEmit;
|
|
87
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeSelectionDirective, [null, null, null, null, { optional: true; }]>;
|
|
88
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeSelectionDirective, "[kendoDateRangeSelection]", never, { "autoCorrectOn": { "alias": "autoCorrectOn"; "required": false; }; "selectionRange": { "alias": "selectionRange"; "required": false; }; "activeRangeEnd": { "alias": "activeRangeEnd"; "required": false; }; "shouldSetRange": { "alias": "shouldSetRange"; "required": false; }; }, { "activeRangeEndChange": "activeRangeEndChange"; "selectionRangeChange": "selectionRangeChange"; }, never, never, true, never>;
|
|
89
|
-
}
|
|
@@ -1,65 +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 { ElementRef, Renderer2, NgZone, OnInit, OnDestroy } from '@angular/core';
|
|
6
|
-
import { DateInputComponent } from '../dateinput/dateinput.component';
|
|
7
|
-
import { AutoCorrectOn } from './auto-correct-on.type';
|
|
8
|
-
import { DateRangeInput } from './date-range-input';
|
|
9
|
-
import { DateRangeService } from './date-range.service';
|
|
10
|
-
import { SelectionRange } from '../calendar/models/selection-range.interface';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents a directive that manages the start selection range for date range inputs.
|
|
14
|
-
*
|
|
15
|
-
* You can use the DateRangeStartInputDirective only with a DateInput component.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```typescript
|
|
19
|
-
* @Component({
|
|
20
|
-
* selector: 'my-app',
|
|
21
|
-
* template: `
|
|
22
|
-
* <kendo-daterange>
|
|
23
|
-
* <kendo-dateinput kendoDateRangeStartInput [(value)]="startDate"></kendo-dateinput>
|
|
24
|
-
* <kendo-dateinput kendoDateRangeEndInput [(value)]="endDate"></kendo-dateinput>
|
|
25
|
-
* </kendo-daterange>
|
|
26
|
-
* `
|
|
27
|
-
* })
|
|
28
|
-
* export class AppComponent {
|
|
29
|
-
* public startDate: Date = new Date();
|
|
30
|
-
* public endDate: Date = new Date();
|
|
31
|
-
* }
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Applied to: {@link DateInputComponent}
|
|
36
|
-
*/
|
|
37
|
-
export declare class DateRangeStartInputDirective extends DateRangeInput implements OnInit, OnDestroy {
|
|
38
|
-
private rangeService;
|
|
39
|
-
private dateInput;
|
|
40
|
-
renderer: Renderer2;
|
|
41
|
-
/**
|
|
42
|
-
* Specifies when the component automatically corrects invalid date ranges.
|
|
43
|
-
* When the start date is greater than the end date, the component fixes the range to a single date either on input change or on blur ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/daterange/autocorrect#input-directives)).
|
|
44
|
-
*
|
|
45
|
-
* By default, the component does not perform any auto-correction.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
autoCorrectOn: AutoCorrectOn;
|
|
49
|
-
/**
|
|
50
|
-
* Determines how the calendar navigates when you focus on the input.
|
|
51
|
-
* When you set `navigateCalendarOnFocus` to `true`, the calendar moves to the value of the focused input.
|
|
52
|
-
* When you set it to `false`, the calendar shows the last selected date.
|
|
53
|
-
*
|
|
54
|
-
* @default false
|
|
55
|
-
*/
|
|
56
|
-
navigateCalendarOnFocus: boolean;
|
|
57
|
-
constructor(rangeService: DateRangeService, dateInput: DateInputComponent, element: ElementRef, renderer: Renderer2, zone: NgZone);
|
|
58
|
-
ngOnInit(): void;
|
|
59
|
-
protected ngAfterViewInit(): void;
|
|
60
|
-
ngOnDestroy(): void;
|
|
61
|
-
protected getRange(value: Date, correctOn: AutoCorrectOn): SelectionRange;
|
|
62
|
-
protected updateInputValue(range: SelectionRange): void;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeStartInputDirective, never>;
|
|
64
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeStartInputDirective, "[kendoDateRangeStartInput]", never, { "autoCorrectOn": { "alias": "autoCorrectOn"; "required": false; }; "navigateCalendarOnFocus": { "alias": "navigateCalendarOnFocus"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
-
}
|
|
@@ -1,59 +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 { AfterContentInit, OnDestroy } from '@angular/core';
|
|
6
|
-
import { DateRangeService } from './date-range.service';
|
|
7
|
-
import { DateInputSize } from '../common/models/size';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Represents the Kendo UI DateRange component for Angular.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* _@Component({
|
|
15
|
-
* selector: 'my-app',
|
|
16
|
-
* template: `
|
|
17
|
-
* <kendo-daterange>
|
|
18
|
-
* <kendo-dateinput kendoDateRangeStartInput [(value)]="dateRange.start"></kendo-dateinput>
|
|
19
|
-
* <kendo-dateinput kendoDateRangeEndInput [(value)]="dateRange.end"></kendo-dateinput>
|
|
20
|
-
* </kendo-daterange>
|
|
21
|
-
* `
|
|
22
|
-
* })
|
|
23
|
-
* export class AppComponent {
|
|
24
|
-
* public dateRange: any = { start: null, end: null };
|
|
25
|
-
* }
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* Supported children components are: {@link DateRangePopupComponent}, {@link DateRangePopupCustomMessagesComponent}, {@link DateInputComponent}.
|
|
30
|
-
*/
|
|
31
|
-
export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
|
|
32
|
-
private dateRangeService;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*
|
|
36
|
-
* TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
|
|
37
|
-
* Sets the size of the component.
|
|
38
|
-
*
|
|
39
|
-
* @default undefined
|
|
40
|
-
*/
|
|
41
|
-
size: DateInputSize;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
keydown(event: any): void;
|
|
46
|
-
wrapperClass: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
showDefault: boolean;
|
|
51
|
-
private contentPopup;
|
|
52
|
-
private get hasContentPopup();
|
|
53
|
-
private subscription;
|
|
54
|
-
constructor(dateRangeService: DateRangeService);
|
|
55
|
-
ngAfterContentInit(): void;
|
|
56
|
-
ngOnDestroy(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "kendo-daterange", never, { "size": { "alias": "size"; "required": false; }; }, {}, ["contentPopup"], ["*"], true, never>;
|
|
59
|
-
}
|
|
@@ -1,57 +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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./localization/daterange-popup-custom-messages.component";
|
|
7
|
-
import * as i2 from "../dateinput/localization/dateinput-custom-messages.component";
|
|
8
|
-
import * as i3 from "../dateinput/dateinput.component";
|
|
9
|
-
import * as i4 from "./date-range-end-input.directive";
|
|
10
|
-
import * as i5 from "./date-range-popup-template.directive";
|
|
11
|
-
import * as i6 from "./date-range.component";
|
|
12
|
-
import * as i7 from "./date-range-popup.component";
|
|
13
|
-
import * as i8 from "./date-range-selection.directive";
|
|
14
|
-
import * as i9 from "./date-range-start-input.directive";
|
|
15
|
-
/**
|
|
16
|
-
* The exported package module.
|
|
17
|
-
*
|
|
18
|
-
* The package exports:
|
|
19
|
-
* - `DateRangeComponent`—The DateRange component class.
|
|
20
|
-
* - `DateRangePopupComponent`—The DateRangePopup component class.
|
|
21
|
-
* - `DateRangeSelectionDirective`—The MultiviewCalendar date range selection directive.
|
|
22
|
-
* - `DateRangeEndInputDirective`—The end DateInput date range selection directive.
|
|
23
|
-
* - `DateRangeStartInputDirective`—The start DateInput date range selection directive.
|
|
24
|
-
* - `DateRangePopupTemplateDirective`—The DateRangePopup content template directive.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
*
|
|
28
|
-
* ```ts-no-run
|
|
29
|
-
* // Import the DateRange module
|
|
30
|
-
* import { DateRangeModule } from '@progress/kendo-angular-dateinputs';
|
|
31
|
-
*
|
|
32
|
-
* // The browser platform with a compiler
|
|
33
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
34
|
-
*
|
|
35
|
-
* import { NgModule } from '@angular/core';
|
|
36
|
-
*
|
|
37
|
-
* // Import the app component
|
|
38
|
-
* import { AppComponent } from './app.component';
|
|
39
|
-
*
|
|
40
|
-
* // Define the app module
|
|
41
|
-
* _@NgModule({
|
|
42
|
-
* declarations: [AppComponent], // declare app component
|
|
43
|
-
* imports: [BrowserModule, DateRangeModule], // import DateRange module
|
|
44
|
-
* bootstrap: [AppComponent]
|
|
45
|
-
* })
|
|
46
|
-
* export class AppModule {}
|
|
47
|
-
*
|
|
48
|
-
* // Compile and launch the module
|
|
49
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
50
|
-
*
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
export declare class DateRangeModule {
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeModule, never>;
|
|
55
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangeModule, never, [typeof i1.DateRangePopupCustomMessagesComponent, typeof i2.DateInputCustomMessagesComponent, typeof i3.DateInputComponent, typeof i4.DateRangeEndInputDirective, typeof i5.DateRangePopupTemplateDirective, typeof i6.DateRangeComponent, typeof i7.DateRangePopupComponent, typeof i8.DateRangeSelectionDirective, typeof i9.DateRangeStartInputDirective], [typeof i1.DateRangePopupCustomMessagesComponent, typeof i2.DateInputCustomMessagesComponent, typeof i3.DateInputComponent, typeof i4.DateRangeEndInputDirective, typeof i5.DateRangePopupTemplateDirective, typeof i6.DateRangeComponent, typeof i7.DateRangePopupComponent, typeof i8.DateRangeSelectionDirective, typeof i9.DateRangeStartInputDirective]>;
|
|
56
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DateRangeModule>;
|
|
57
|
-
}
|
|
@@ -1,137 +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 { Renderer2, ElementRef } from '@angular/core';
|
|
6
|
-
import { BehaviorSubject } from 'rxjs';
|
|
7
|
-
import { DateInputComponent } from '../dateinput/dateinput.component';
|
|
8
|
-
import type { DateRangePopupComponent } from './date-range-popup.component';
|
|
9
|
-
import { SelectionRangeEnd } from '../calendar/models/selection-range-end.type';
|
|
10
|
-
import { SelectionRange } from '../calendar/models/selection-range.interface';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Manages communication between components inside the DateRangeComponent.
|
|
14
|
-
* For example, handles interactions between the start and end DateInput components and the DateRangePopup component.
|
|
15
|
-
*/
|
|
16
|
-
export declare class DateRangeService {
|
|
17
|
-
private renderer?;
|
|
18
|
-
/**
|
|
19
|
-
* Notifies when the `activeRangeEnd` state changes.
|
|
20
|
-
*/
|
|
21
|
-
activeRangeEnd$: BehaviorSubject<SelectionRangeEnd>;
|
|
22
|
-
/**
|
|
23
|
-
* Notifies when the `focusedDate` changes.
|
|
24
|
-
*/
|
|
25
|
-
focusedDate$: BehaviorSubject<Date>;
|
|
26
|
-
/**
|
|
27
|
-
* Notifies when the end DateInput component changes.
|
|
28
|
-
* For example, when you attach a new end `DateInput` or detach the old one.
|
|
29
|
-
*/
|
|
30
|
-
endInput$: BehaviorSubject<DateInputComponent>;
|
|
31
|
-
/**
|
|
32
|
-
* Notifies when the start DateInput component changes.
|
|
33
|
-
* For example, when you attach a new start `DateInput` or detach the old one.
|
|
34
|
-
*/
|
|
35
|
-
startInput$: BehaviorSubject<DateInputComponent>;
|
|
36
|
-
/**
|
|
37
|
-
* Notifies when the `DateRangePopup` component changes.
|
|
38
|
-
*/
|
|
39
|
-
dateRangePopup$: BehaviorSubject<DateRangePopupComponent>;
|
|
40
|
-
/**
|
|
41
|
-
* Notifies when the selection range state changes.
|
|
42
|
-
*/
|
|
43
|
-
range$: BehaviorSubject<SelectionRange>;
|
|
44
|
-
/**
|
|
45
|
-
* Gets the current `activeRangeEnd` value.
|
|
46
|
-
*/
|
|
47
|
-
get activeRangeEnd(): SelectionRangeEnd;
|
|
48
|
-
/**
|
|
49
|
-
* Gets the current `focusedDate` value.
|
|
50
|
-
*/
|
|
51
|
-
get focusedDate(): Date;
|
|
52
|
-
/**
|
|
53
|
-
* Gets the minimum range value.
|
|
54
|
-
* Takes the `min` value from the start DateInput component or the `min` value of the calendar.
|
|
55
|
-
*/
|
|
56
|
-
get min(): Date;
|
|
57
|
-
/**
|
|
58
|
-
* Gets the maximum range value.
|
|
59
|
-
* Takes the `max` value from the end DateInput component or the `max` value of the calendar.
|
|
60
|
-
*/
|
|
61
|
-
get max(): Date;
|
|
62
|
-
/**
|
|
63
|
-
* Gets the current `selectionRange` value.
|
|
64
|
-
*/
|
|
65
|
-
get selectionRange(): SelectionRange;
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
* Gets the start input element.
|
|
69
|
-
*/
|
|
70
|
-
get inputStartElement(): ElementRef;
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
* Gets the end input element.
|
|
74
|
-
*/
|
|
75
|
-
get inputEndElement(): ElementRef;
|
|
76
|
-
/** @hidden */
|
|
77
|
-
constructor(renderer?: Renderer2);
|
|
78
|
-
/**
|
|
79
|
-
* Opens the registered DateRangePopup component.
|
|
80
|
-
* Opens the popup and focuses the calendar.
|
|
81
|
-
*/
|
|
82
|
-
activatePopup(): void;
|
|
83
|
-
/**
|
|
84
|
-
* Deactivates the registered `DateRangePopup` component.
|
|
85
|
-
* The method closes the popup.
|
|
86
|
-
*/
|
|
87
|
-
deactivatePopup(): void;
|
|
88
|
-
/**
|
|
89
|
-
* @hidden
|
|
90
|
-
*/
|
|
91
|
-
setActiveDescendent(id: string): void;
|
|
92
|
-
/**
|
|
93
|
-
* @hidden
|
|
94
|
-
*
|
|
95
|
-
* Deactivates the registered `DateRangePopup` component and fires the `cancel` event.
|
|
96
|
-
* The method closes the popup.
|
|
97
|
-
*/
|
|
98
|
-
cancelPopup(): void;
|
|
99
|
-
/**
|
|
100
|
-
* Completes all observables to prevent memory leaks.
|
|
101
|
-
* Call this method when you destroy a component that uses the service.
|
|
102
|
-
*/
|
|
103
|
-
destroy(): void;
|
|
104
|
-
/**
|
|
105
|
-
* Checks if any component inside the DateRangeComponent is active.
|
|
106
|
-
* For example, detects an open popup or a focused DateInput component.
|
|
107
|
-
*
|
|
108
|
-
* @returns {boolean} Returns `true` if an active component is present.
|
|
109
|
-
*/
|
|
110
|
-
hasActiveComponent(): boolean;
|
|
111
|
-
/**
|
|
112
|
-
* Registers a new start DateInput component and notifies all `startInput$` listeners.
|
|
113
|
-
*/
|
|
114
|
-
registerStartInput(startInput: DateInputComponent): void;
|
|
115
|
-
/**
|
|
116
|
-
* Registers a new end `DateInput` component and notifies all `endInput$` listeners.
|
|
117
|
-
*/
|
|
118
|
-
registerEndInput(endInput: DateInputComponent): void;
|
|
119
|
-
/**
|
|
120
|
-
* Registers a new `DateRangePopup` component and notifies all `dateRangePopup$` listeners.
|
|
121
|
-
*/
|
|
122
|
-
registerPopup(dateRangePopup: DateRangePopupComponent): void;
|
|
123
|
-
/**
|
|
124
|
-
* Updates the `activeRangeEnd` value and notifies all `activeRangeEnd$` listeners.
|
|
125
|
-
*/
|
|
126
|
-
setActiveRangeEnd(activeRange: SelectionRangeEnd): void;
|
|
127
|
-
/**
|
|
128
|
-
* Updates the focused date and notifies all `focusedDate$` listeners.
|
|
129
|
-
*/
|
|
130
|
-
setFocusedDate(value: Date): void;
|
|
131
|
-
/**
|
|
132
|
-
* Updates the selection range and notifies all `range$` listeners.
|
|
133
|
-
*/
|
|
134
|
-
setRange(range?: SelectionRange): void;
|
|
135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeService, [{ optional: true; }]>;
|
|
136
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DateRangeService>;
|
|
137
|
-
}
|
|
@@ -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
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { DateRangePopupMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Custom component messages override default component messages ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/globalization#custom-messages)).
|
|
10
|
-
*/
|
|
11
|
-
export declare class DateRangePopupCustomMessagesComponent extends DateRangePopupMessages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
protected get override(): boolean;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupCustomMessagesComponent, "kendo-daterange-popup-messages", never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,16 +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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { DateRangePopupMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class DateRangePopupLocalizedMessagesDirective extends DateRangePopupMessages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupLocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupLocalizedMessagesDirective, "[kendoDateRangePopupLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,33 +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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class DateRangePopupMessages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* The text of the **Accept** button in the popup footer of the DateRange Popup.
|
|
13
|
-
*/
|
|
14
|
-
accept: string;
|
|
15
|
-
/**
|
|
16
|
-
* The label of the **Accept** button in the popup footer of the DateRange Popup.
|
|
17
|
-
*/
|
|
18
|
-
acceptLabel: string;
|
|
19
|
-
/**
|
|
20
|
-
* The text of the **Cancel** button in the popup footer of the DateRange Popup.
|
|
21
|
-
*/
|
|
22
|
-
cancel: string;
|
|
23
|
-
/**
|
|
24
|
-
* The label of the **Cancel** button in the popup footer of the DateRange Popup.
|
|
25
|
-
*/
|
|
26
|
-
cancelLabel: string;
|
|
27
|
-
/**
|
|
28
|
-
* The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
|
|
29
|
-
*/
|
|
30
|
-
adaptiveCloseButtonTitle: string;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupMessages, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupMessages, "kendo-daterangepopup-messages-base", never, { "accept": { "alias": "accept"; "required": false; }; "acceptLabel": { "alias": "acceptLabel"; "required": false; }; "cancel": { "alias": "cancel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "adaptiveCloseButtonTitle": { "alias": "adaptiveCloseButtonTitle"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
-
}
|