@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,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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the entire header in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the complete header content,
|
|
11
|
-
* including navigation controls and title. The template context provides access to the title text,
|
|
12
|
-
* current date, and active view.
|
|
13
|
-
*
|
|
14
|
-
* Template Context Variables:
|
|
15
|
-
* - `title` - The formatted title text for the header
|
|
16
|
-
* - `date` - The Date object representing the current header context
|
|
17
|
-
* - `activeView` - The current active view of the Calendar
|
|
18
|
-
*
|
|
19
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```html
|
|
23
|
-
* <kendo-calendar>
|
|
24
|
-
* <ng-template kendoCalendarHeaderTemplate let-title let-date="date">
|
|
25
|
-
* <div class="custom">
|
|
26
|
-
* <span>{{title}}</span>
|
|
27
|
-
* <small>{{date | date:'yyyy-MM-dd'}}</small>
|
|
28
|
-
* </div>
|
|
29
|
-
* </ng-template>
|
|
30
|
-
* </kendo-calendar>
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare class HeaderTemplateDirective {
|
|
34
|
-
templateRef: TemplateRef<any>;
|
|
35
|
-
constructor(templateRef: TemplateRef<any>);
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTemplateDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTemplateDirective, "[kendoCalendarHeaderTemplate]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,34 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the header title in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the header title content.
|
|
11
|
-
* The template context provides access to the title text, current date, and active view.
|
|
12
|
-
*
|
|
13
|
-
* Template Context Variables:
|
|
14
|
-
* - `title` - The formatted title text for the header
|
|
15
|
-
* - `date` - The Date object representing the current header context
|
|
16
|
-
* - `activeView` - The current active view of the Calendar
|
|
17
|
-
*
|
|
18
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-calendar>
|
|
23
|
-
* <ng-template kendoCalendarHeaderTitleTemplate let-title let-activeView="activeView">
|
|
24
|
-
* <span class="custom">{{title}} ({{activeView}})</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-calendar>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class HeaderTitleTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTitleTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTitleTemplateDirective, "[kendoCalendarHeaderTitleTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,34 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the month cells in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the content of month cells
|
|
11
|
-
* when the Calendar is in year view. The template context provides access to the current date
|
|
12
|
-
* and cell context information.
|
|
13
|
-
*
|
|
14
|
-
* Template Context Variables:
|
|
15
|
-
* - `date` - The Date object representing the current cell's date
|
|
16
|
-
* - `cellContext` - Additional context information about the current month cell
|
|
17
|
-
*
|
|
18
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-calendar [activeView]="'year'">
|
|
23
|
-
* <ng-template kendoCalendarMonthCellTemplate let-context="cellContext">
|
|
24
|
-
* <span class="custom">{{context.formattedValue}}</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-calendar>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class MonthCellTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonthCellTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MonthCellTemplateDirective, "[kendoCalendarMonthCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,34 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the navigation items in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the content of navigation items
|
|
11
|
-
* in the Calendar header. The template context provides access to the title, current date, and active view.
|
|
12
|
-
*
|
|
13
|
-
* Template Context Variables:
|
|
14
|
-
* - `title` - The formatted title text for the navigation item
|
|
15
|
-
* - `date` - The Date object representing the current navigation context
|
|
16
|
-
* - `activeView` - The current active view of the Calendar
|
|
17
|
-
*
|
|
18
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-calendar>
|
|
23
|
-
* <ng-template kendoCalendarNavigationItemTemplate let-title let-date="date">
|
|
24
|
-
* <span class="custom">{{title}} - {{date | date:'yyyy'}}</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-calendar>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class NavigationItemTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationItemTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NavigationItemTemplateDirective, "[kendoCalendarNavigationItemTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,34 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the week number cells in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the content of week number cells
|
|
11
|
-
* in the month view when the weekNumber property is enabled. The template context provides access to
|
|
12
|
-
* the current date and cell context information.
|
|
13
|
-
*
|
|
14
|
-
* Template Context Variables:
|
|
15
|
-
* - `date` - The Date object representing the current week's date
|
|
16
|
-
* - `cellContext` - Additional context information about the current week number cell
|
|
17
|
-
*
|
|
18
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-calendar [weekNumber]="true">
|
|
23
|
-
* <ng-template kendoCalendarWeekNumberCellTemplate let-context="cellContext">
|
|
24
|
-
* <span class="custom">W{{context.formattedValue}}</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-calendar>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class WeekNumberCellTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WeekNumberCellTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WeekNumberCellTemplateDirective, "[kendoCalendarWeekNumberCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,34 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A directive for customizing the year cells in the Calendar component.
|
|
9
|
-
*
|
|
10
|
-
* This directive allows you to define a custom template for rendering the content of year cells
|
|
11
|
-
* when the Calendar is in year view. The template context provides access to the current date
|
|
12
|
-
* and cell context information.
|
|
13
|
-
*
|
|
14
|
-
* Template Context Variables:
|
|
15
|
-
* - `date` - The Date object representing the current cell's date
|
|
16
|
-
* - `cellContext` - Additional context information about the current year cell
|
|
17
|
-
*
|
|
18
|
-
* For more examples, refer to the article on [templates](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/templates).
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-calendar [activeView]="'year'">
|
|
23
|
-
* <ng-template kendoCalendarYearCellTemplate let-context="cellContext">
|
|
24
|
-
* <span class="custom">{{context.formattedValue}}</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-calendar>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class YearCellTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YearCellTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<YearCellTemplateDirective, "[kendoCalendarYearCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,108 +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, OnChanges, OnDestroy, Renderer2, AfterViewChecked, AfterViewInit, TemplateRef } from '@angular/core';
|
|
6
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
|
-
import { PageAction, ScrollAction } from '../virtualization/services/scroller.service';
|
|
8
|
-
import { VirtualizationComponent } from '../virtualization/virtualization.component';
|
|
9
|
-
import { BusViewService } from './services/bus-view.service';
|
|
10
|
-
import { CalendarDOMService } from './services/dom.service';
|
|
11
|
-
import { ViewService } from './models/view-service.interface';
|
|
12
|
-
import { CalendarViewEnum } from './models/view.enum';
|
|
13
|
-
import { HeaderComponent } from './header.component';
|
|
14
|
-
import { WeekDaysFormat } from '../common/models/week-days-format';
|
|
15
|
-
import { CalendarView } from './models/view.type';
|
|
16
|
-
import { SelectionRangeEnd } from './models/selection-range-end.type';
|
|
17
|
-
import { SelectionRange } from './models/selection-range.interface';
|
|
18
|
-
import { DateInputSize } from '../common/models/size';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
export declare class ViewListComponent implements OnChanges, OnDestroy, AfterViewInit, AfterViewChecked {
|
|
24
|
-
private bus;
|
|
25
|
-
private cdr;
|
|
26
|
-
private intl;
|
|
27
|
-
private dom;
|
|
28
|
-
private renderer;
|
|
29
|
-
allowReverse: boolean;
|
|
30
|
-
cellTemplateRef: TemplateRef<any>;
|
|
31
|
-
weekNumberTemplateRef: TemplateRef<any>;
|
|
32
|
-
headerTitleTemplateRef: TemplateRef<any>;
|
|
33
|
-
headerTemplateRef: TemplateRef<any>;
|
|
34
|
-
footerTemplateRef: TemplateRef<any>;
|
|
35
|
-
showOtherMonthDays: boolean;
|
|
36
|
-
activeView: CalendarViewEnum;
|
|
37
|
-
cellUID: string;
|
|
38
|
-
focusedDate: Date;
|
|
39
|
-
isActive: boolean;
|
|
40
|
-
min: Date;
|
|
41
|
-
max: Date;
|
|
42
|
-
selectedDates: Date[];
|
|
43
|
-
tabIndex: number;
|
|
44
|
-
disabled: boolean;
|
|
45
|
-
id: string;
|
|
46
|
-
showFooter: boolean;
|
|
47
|
-
weekDaysFormat: WeekDaysFormat;
|
|
48
|
-
activeRangeEnd: SelectionRangeEnd;
|
|
49
|
-
selectionRange: SelectionRange;
|
|
50
|
-
size: DateInputSize;
|
|
51
|
-
get weekNumber(): boolean;
|
|
52
|
-
set weekNumber(showWeekNumbers: boolean);
|
|
53
|
-
cellEnter: EventEmitter<Date>;
|
|
54
|
-
cellClick: EventEmitter<any>;
|
|
55
|
-
weekNumberCellClick: EventEmitter<Date[]>;
|
|
56
|
-
activeDateChange: EventEmitter<Date>;
|
|
57
|
-
todayButtonClick: EventEmitter<Date>;
|
|
58
|
-
pageChange: EventEmitter<any>;
|
|
59
|
-
focusCalendar: EventEmitter<void>;
|
|
60
|
-
blurCalendar: EventEmitter<any>;
|
|
61
|
-
focusedCellChange: EventEmitter<string>;
|
|
62
|
-
virtualization: VirtualizationComponent;
|
|
63
|
-
headerComponent: HeaderComponent;
|
|
64
|
-
get headerTitle(): string;
|
|
65
|
-
list: ElementRef;
|
|
66
|
-
getComponentClass: boolean;
|
|
67
|
-
get getComponentMonthClass(): boolean;
|
|
68
|
-
get getComponentYearClass(): boolean;
|
|
69
|
-
get getComponentDecadeClass(): boolean;
|
|
70
|
-
get getComponentCenturyClass(): boolean;
|
|
71
|
-
get activeViewValue(): CalendarView;
|
|
72
|
-
service: ViewService;
|
|
73
|
-
activeDate: Date;
|
|
74
|
-
dates: Date[];
|
|
75
|
-
cols: number[];
|
|
76
|
-
weekNames: string[];
|
|
77
|
-
wideWeekNames: string[];
|
|
78
|
-
take: number;
|
|
79
|
-
skip: number;
|
|
80
|
-
total: number;
|
|
81
|
-
bottomOffset: number;
|
|
82
|
-
viewHeight: number;
|
|
83
|
-
viewOffset: number;
|
|
84
|
-
private animateToIndex;
|
|
85
|
-
private indexToScroll;
|
|
86
|
-
private showWeekNumbers;
|
|
87
|
-
private minViewsToRender;
|
|
88
|
-
private intlSubscription;
|
|
89
|
-
constructor(bus: BusViewService, cdr: ChangeDetectorRef, intl: IntlService, dom: CalendarDOMService, renderer: Renderer2);
|
|
90
|
-
ngOnInit(): void;
|
|
91
|
-
ngOnChanges(changes: any): void;
|
|
92
|
-
ngOnDestroy(): void;
|
|
93
|
-
ngAfterViewInit(): void;
|
|
94
|
-
ngAfterViewChecked(): void;
|
|
95
|
-
onPageChange({ skip }: PageAction): void;
|
|
96
|
-
scrollChange({ offset }: ScrollAction): void;
|
|
97
|
-
setActiveDate(index: number): void;
|
|
98
|
-
isMonthView(): boolean;
|
|
99
|
-
isScrolled(): boolean;
|
|
100
|
-
getTabIndex(): number;
|
|
101
|
-
private getBottomOffset;
|
|
102
|
-
private getScrollableHeight;
|
|
103
|
-
private getTake;
|
|
104
|
-
private getWeekNames;
|
|
105
|
-
private intlChange;
|
|
106
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewListComponent, never>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewListComponent, "kendo-calendar-viewlist", never, { "allowReverse": { "alias": "allowReverse"; "required": false; }; "cellTemplateRef": { "alias": "cellTemplateRef"; "required": false; }; "weekNumberTemplateRef": { "alias": "weekNumberTemplateRef"; "required": false; }; "headerTitleTemplateRef": { "alias": "headerTitleTemplateRef"; "required": false; }; "headerTemplateRef": { "alias": "headerTemplateRef"; "required": false; }; "footerTemplateRef": { "alias": "footerTemplateRef"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "cellUID": { "alias": "cellUID"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "selectedDates": { "alias": "selectedDates"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "weekDaysFormat": { "alias": "weekDaysFormat"; "required": false; }; "activeRangeEnd": { "alias": "activeRangeEnd"; "required": false; }; "selectionRange": { "alias": "selectionRange"; "required": false; }; "size": { "alias": "size"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; }, { "cellEnter": "cellEnter"; "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "activeDateChange": "activeDateChange"; "todayButtonClick": "todayButtonClick"; "pageChange": "pageChange"; "focusCalendar": "focusCalendar"; "blurCalendar": "blurCalendar"; "focusedCellChange": "focusedCellChange"; }, never, never, true, never>;
|
|
108
|
-
}
|
|
@@ -1,86 +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, EventEmitter, OnChanges, OnDestroy, TemplateRef, Renderer2, NgZone, ElementRef } from '@angular/core';
|
|
6
|
-
import { CellContext } from './models/cell-context.interface';
|
|
7
|
-
import { ViewService } from './models/view-service.interface';
|
|
8
|
-
import { CalendarViewEnum } from './models/view.enum';
|
|
9
|
-
import { SelectionRangeEnd } from './models/selection-range-end.type';
|
|
10
|
-
import { SelectionRange } from './models/selection-range.interface';
|
|
11
|
-
import { BusViewService } from './services/bus-view.service';
|
|
12
|
-
import { DisabledDatesService } from './services/disabled-dates.service';
|
|
13
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare class ViewComponent implements OnChanges, OnDestroy {
|
|
19
|
-
bus: BusViewService;
|
|
20
|
-
intl: IntlService;
|
|
21
|
-
private cdr;
|
|
22
|
-
private element;
|
|
23
|
-
private zone;
|
|
24
|
-
private renderer;
|
|
25
|
-
private disabledDatesService;
|
|
26
|
-
allowReverse: boolean;
|
|
27
|
-
showOtherMonthDays: boolean;
|
|
28
|
-
direction: 'horizontal' | 'vertical';
|
|
29
|
-
isActive: boolean;
|
|
30
|
-
activeView: CalendarViewEnum;
|
|
31
|
-
cellUID: string;
|
|
32
|
-
focusedDate: Date;
|
|
33
|
-
viewDate: Date;
|
|
34
|
-
activeRangeEnd: SelectionRangeEnd;
|
|
35
|
-
selectionRange: SelectionRange;
|
|
36
|
-
min: Date;
|
|
37
|
-
max: Date;
|
|
38
|
-
selectedDates: Date[];
|
|
39
|
-
get weekNumber(): boolean;
|
|
40
|
-
set weekNumber(showWeekNumbers: boolean);
|
|
41
|
-
viewIndex: number;
|
|
42
|
-
templateRef: TemplateRef<any>;
|
|
43
|
-
weekNumberTemplateRef: TemplateRef<any>;
|
|
44
|
-
headerTitle: string;
|
|
45
|
-
cellClick: EventEmitter<any>;
|
|
46
|
-
weekNumberCellClick: EventEmitter<Date[]>;
|
|
47
|
-
cellEnter: EventEmitter<Date>;
|
|
48
|
-
cellLeave: EventEmitter<Date>;
|
|
49
|
-
focusedCellId: EventEmitter<string>;
|
|
50
|
-
get ariaHidden(): boolean;
|
|
51
|
-
colSpan: number;
|
|
52
|
-
data: CellContext[][];
|
|
53
|
-
service: ViewService;
|
|
54
|
-
title: string;
|
|
55
|
-
private subscriptions;
|
|
56
|
-
private showWeekNumbers;
|
|
57
|
-
private domEvents;
|
|
58
|
-
private currentCellIndex;
|
|
59
|
-
constructor(bus: BusViewService, intl: IntlService, cdr: ChangeDetectorRef, element: ElementRef, zone: NgZone, renderer: Renderer2, disabledDatesService: DisabledDatesService);
|
|
60
|
-
ngOnInit(): void;
|
|
61
|
-
ngOnChanges(changes: any): void;
|
|
62
|
-
ngOnDestroy(): void;
|
|
63
|
-
isHorizontal(): boolean;
|
|
64
|
-
isMonthView(): boolean;
|
|
65
|
-
shouldRenderCellContent(cellCtx: CellContext): boolean;
|
|
66
|
-
firstDate(rowCtx: CellContext[]): Date;
|
|
67
|
-
getWeekNumber(date: Date): number;
|
|
68
|
-
getWeekNumberContext(rowCtx: CellContext[]): CellContext;
|
|
69
|
-
getStyles(context: CellContext): any;
|
|
70
|
-
tableCellIndex(rowIndex: number, cellIndex: number): string;
|
|
71
|
-
handleWeekNumberClick(week: CellContext[]): void;
|
|
72
|
-
getMonthLabel(date: Date): string;
|
|
73
|
-
private firstWeekDateContext;
|
|
74
|
-
private updateData;
|
|
75
|
-
private intlChange;
|
|
76
|
-
private disabledDatesChange;
|
|
77
|
-
private bindEvents;
|
|
78
|
-
private clickHandler;
|
|
79
|
-
private mouseLeaveHandler;
|
|
80
|
-
private cellMouseoverHandler;
|
|
81
|
-
private closestCell;
|
|
82
|
-
private emitCellLeave;
|
|
83
|
-
private cellByIndex;
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewComponent, "[kendoCalendarView]", never, { "allowReverse": { "alias": "allowReverse"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "cellUID": { "alias": "cellUID"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "viewDate": { "alias": "viewDate"; "required": false; }; "activeRangeEnd": { "alias": "activeRangeEnd"; "required": false; }; "selectionRange": { "alias": "selectionRange"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "selectedDates": { "alias": "selectedDates"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "viewIndex": { "alias": "viewIndex"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "weekNumberTemplateRef": { "alias": "weekNumberTemplateRef"; "required": false; }; "headerTitle": { "alias": "headerTitle"; "required": false; }; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "focusedCellId": "focusedCellId"; }, never, never, true, never>;
|
|
86
|
-
}
|
package/common/dom-queries.d.ts
DELETED
|
@@ -1,12 +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
|
-
export declare const closestInScope: (node: any, predicate: any, scope: any) => any;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const closest: (node: any, predicate: any) => any;
|
|
@@ -1,13 +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
|
-
* Represents the possible fillMode options of the DateInput.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* - `solid` (Default)
|
|
10
|
-
* - `flat`
|
|
11
|
-
* - `outline`
|
|
12
|
-
*/
|
|
13
|
-
export type DateInputFillMode = 'solid' | 'flat' | 'outline';
|
|
@@ -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
|
-
* Represents the possible rounded options of the DateInput.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* - `small`
|
|
10
|
-
* - `medium` (Default)
|
|
11
|
-
* - `large`
|
|
12
|
-
* - `full`
|
|
13
|
-
* - `none`
|
|
14
|
-
*/
|
|
15
|
-
export type DateInputRounded = 'small' | 'medium' | 'large' | 'full' | 'none';
|
package/common/models/size.d.ts
DELETED
|
@@ -1,13 +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
|
-
* Represents the possible size options of the DateInput.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* - `small`
|
|
10
|
-
* - `medium` (Default)
|
|
11
|
-
* - `large`
|
|
12
|
-
*/
|
|
13
|
-
export type DateInputSize = 'small' | 'medium' | 'large';
|
|
@@ -1,10 +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
|
-
* Specifies the possible format options for the displayed Calendar week days' names.
|
|
7
|
-
* The format depends on the current locale.
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export type WeekDaysFormat = 'short' | 'narrow' | 'abbreviated';
|
|
@@ -1,20 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import { CalendarComponent } from '../calendar/calendar.component';
|
|
7
|
-
import { DateInputComponent } from '../dateinput/dateinput.component';
|
|
8
|
-
import { TimeSelectorComponent } from '../timepicker/timeselector.component';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class PickerService {
|
|
13
|
-
onFocus: EventEmitter<any>;
|
|
14
|
-
onBlur: EventEmitter<any>;
|
|
15
|
-
sameDateSelected: EventEmitter<any>;
|
|
16
|
-
dateCompletenessChange: EventEmitter<any>;
|
|
17
|
-
calendar: CalendarComponent;
|
|
18
|
-
input: DateInputComponent;
|
|
19
|
-
timeSelector: TimeSelectorComponent;
|
|
20
|
-
}
|
package/common/utils.d.ts
DELETED
|
@@ -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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const requiresZoneOnBlur: (ngControl: any) => any;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const preventDefault: (args: any) => void;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const currentFocusTarget: (blurArgs: any) => any;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare const isPresent: (value: any) => boolean;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export declare const isNullOrDate: (value: any) => boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare const isTruthy: (value: any) => boolean;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*
|
|
32
|
-
* If the provided parameter is an array with at least one item
|
|
33
|
-
* and all items in the array are numbers, returns `true.
|
|
34
|
-
*/
|
|
35
|
-
export declare const isNumberArray: (value: any) => boolean;
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*
|
|
39
|
-
* If the provided parameter is an array with at least one item
|
|
40
|
-
* and all items in the array are dates, returns `true`.
|
|
41
|
-
*/
|
|
42
|
-
export declare const isDateArray: (value: any) => boolean;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
export declare const isArrowWithShiftPressed: (args: KeyboardEvent) => boolean;
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
export declare const selectors: {
|
|
51
|
-
infiniteCalendarTable: string;
|
|
52
|
-
multiViewCalendarTable: string;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
export declare const attributeNames: {
|
|
58
|
-
ariaActiveDescendant: string;
|
|
59
|
-
ariaControls: string;
|
|
60
|
-
ariaExpanded: string;
|
|
61
|
-
ariaHasPopup: string;
|
|
62
|
-
valueNow: string;
|
|
63
|
-
valuetext: string;
|
|
64
|
-
ariaInvalid: string;
|
|
65
|
-
};
|
|
@@ -1,12 +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
|
-
export declare enum Arrow {
|
|
9
|
-
Up = 0,
|
|
10
|
-
Down = 1,
|
|
11
|
-
None = 2
|
|
12
|
-
}
|