@progress/kendo-angular-dateinputs 16.5.0 → 16.6.0-develop.2
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/calendar/calendar.component.d.ts +1 -1
- package/calendar/calendar.module.d.ts +13 -13
- package/calendar/calendars.module.d.ts +15 -3
- package/calendar/footer.component.d.ts +1 -1
- package/calendar/for.directive.d.ts +1 -1
- package/calendar/header.component.d.ts +1 -1
- package/calendar/horizontal-view-list.component.d.ts +1 -1
- package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +1 -1
- package/calendar/multiview-calendar.module.d.ts +13 -11
- package/calendar/navigation.component.d.ts +1 -1
- package/calendar/templates/cell-template.directive.d.ts +1 -1
- package/calendar/templates/century-cell-template.directive.d.ts +1 -1
- package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
- package/calendar/templates/footer-template.directive.d.ts +1 -1
- package/calendar/templates/header-template.directive.d.ts +1 -1
- package/calendar/templates/header-title-template.directive.d.ts +1 -1
- package/calendar/templates/month-cell-template.directive.d.ts +1 -1
- package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
- package/calendar/templates/year-cell-template.directive.d.ts +1 -1
- package/calendar/view-list.component.d.ts +1 -1
- package/calendar/view.component.d.ts +1 -1
- package/common/adaptive.module.d.ts +5 -4
- package/dateinput/dateinput.component.d.ts +1 -1
- package/dateinput/dateinput.module.d.ts +3 -8
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
- package/dateinputs.module.d.ts +30 -7
- package/datepicker/datepicker.component.d.ts +3 -4
- package/datepicker/datepicker.module.d.ts +13 -13
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-popup-template.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +1 -1
- package/daterange/date-range-selection.directive.d.ts +1 -1
- package/daterange/date-range-start-input.directive.d.ts +1 -1
- package/daterange/date-range.component.d.ts +1 -1
- package/daterange/date-range.module.d.ts +10 -15
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +1 -1
- package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +2 -3
- package/datetimepicker/datetimepicker.module.d.ts +13 -14
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
- package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
- package/directives.d.ts +65 -0
- package/esm2020/calendar/calendar.component.mjs +9 -11
- package/esm2020/calendar/calendar.module.mjs +34 -69
- package/esm2020/calendar/calendars.module.mjs +52 -15
- package/esm2020/calendar/footer.component.mjs +7 -5
- package/esm2020/calendar/for.directive.mjs +5 -2
- package/esm2020/calendar/header.component.mjs +8 -6
- package/esm2020/calendar/horizontal-view-list.component.mjs +8 -6
- package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -2
- package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -2
- package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -2
- package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -2
- package/esm2020/calendar/multiview-calendar.component.mjs +8 -8
- package/esm2020/calendar/multiview-calendar.module.mjs +23 -55
- package/esm2020/calendar/navigation.component.mjs +8 -7
- package/esm2020/calendar/services/century-view.service.mjs +5 -2
- package/esm2020/calendar/services/decade-view.service.mjs +5 -2
- package/esm2020/calendar/services/dom.service.mjs +5 -2
- package/esm2020/calendar/services/month-view.service.mjs +5 -2
- package/esm2020/calendar/services/navigation.service.mjs +5 -2
- package/esm2020/calendar/services/weeknames.service.mjs +5 -2
- package/esm2020/calendar/services/year-view.service.mjs +5 -2
- package/esm2020/calendar/templates/cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/footer-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/header-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/view-list.component.mjs +9 -9
- package/esm2020/calendar/view.component.mjs +7 -5
- package/esm2020/common/adaptive.module.mjs +25 -17
- package/esm2020/dateinput/dateinput.component.mjs +9 -8
- package/esm2020/dateinput/dateinput.module.mjs +14 -24
- package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -2
- package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -2
- package/esm2020/dateinputs.module.mjs +90 -33
- package/esm2020/datepicker/datepicker.component.mjs +22 -28
- package/esm2020/datepicker/datepicker.module.mjs +55 -63
- package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -2
- package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -2
- package/esm2020/daterange/date-range-end-input.directive.mjs +3 -2
- package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -2
- package/esm2020/daterange/date-range-popup.component.mjs +10 -11
- package/esm2020/daterange/date-range-selection.directive.mjs +3 -2
- package/esm2020/daterange/date-range-start-input.directive.mjs +3 -2
- package/esm2020/daterange/date-range.component.mjs +6 -5
- package/esm2020/daterange/date-range.module.mjs +51 -54
- package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -2
- package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -2
- package/esm2020/datetimepicker/datetimepicker.component.mjs +23 -27
- package/esm2020/datetimepicker/datetimepicker.module.mjs +70 -68
- package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -2
- package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/directives.mjs +142 -0
- package/esm2020/index.mjs +14 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -2
- package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -2
- package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -2
- package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -2
- package/esm2020/timepicker/services/dayperiod.service.mjs +5 -2
- package/esm2020/timepicker/services/dom.service.mjs +5 -2
- package/esm2020/timepicker/services/hours.service.mjs +5 -2
- package/esm2020/timepicker/services/milliseconds.service.mjs +5 -2
- package/esm2020/timepicker/services/minutes.service.mjs +5 -2
- package/esm2020/timepicker/services/seconds.service.mjs +5 -2
- package/esm2020/timepicker/timelist.component.mjs +7 -7
- package/esm2020/timepicker/timepicker.component.mjs +22 -28
- package/esm2020/timepicker/timepicker.module.mjs +34 -75
- package/esm2020/timepicker/timeselector.component.mjs +8 -8
- package/esm2020/virtualization/virtualization.component.mjs +6 -4
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +1244 -1303
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +989 -1042
- package/index.d.ts +14 -2
- package/package.json +9 -9
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +1 -1
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +1 -1
- package/timepicker/timelist.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +3 -4
- package/timepicker/timepicker.module.d.ts +3 -16
- package/timepicker/timeselector.component.d.ts +1 -1
- package/virtualization/virtualization.component.d.ts +1 -1
- package/calendar/calendar-common.module.d.ts +0 -27
- package/calendar/templates.module.d.ts +0 -35
- package/esm2020/calendar/calendar-common.module.mjs +0 -52
- package/esm2020/calendar/templates.module.mjs +0 -83
- package/esm2020/touch-enabled.mjs +0 -9
- package/esm2020/virtualization/virtualization.module.mjs +0 -30
- package/touch-enabled.d.ts +0 -9
- package/virtualization/virtualization.module.d.ts +0 -18
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./datepicker.component";
|
|
7
|
-
import * as i2 from "./
|
|
8
|
-
import * as i3 from "
|
|
9
|
-
import * as i4 from "
|
|
10
|
-
import * as i5 from "../
|
|
11
|
-
import * as i6 from "../calendar/
|
|
12
|
-
import * as i7 from "
|
|
13
|
-
import * as i8 from "
|
|
14
|
-
import * as i9 from "../calendar/templates.
|
|
15
|
-
import * as i10 from "
|
|
16
|
-
import * as i11 from "
|
|
17
|
-
import * as i12 from "../
|
|
6
|
+
import * as i1 from "./localization/datepicker-custom-messages.component";
|
|
7
|
+
import * as i2 from "./datepicker.component";
|
|
8
|
+
import * as i3 from "../calendar/templates/cell-template.directive";
|
|
9
|
+
import * as i4 from "../calendar/templates/century-cell-template.directive";
|
|
10
|
+
import * as i5 from "../calendar/templates/decade-cell-template.directive";
|
|
11
|
+
import * as i6 from "../calendar/templates/footer-template.directive";
|
|
12
|
+
import * as i7 from "../calendar/templates/header-template.directive";
|
|
13
|
+
import * as i8 from "../calendar/templates/header-title-template.directive";
|
|
14
|
+
import * as i9 from "../calendar/templates/month-cell-template.directive";
|
|
15
|
+
import * as i10 from "../calendar/templates/navigation-item-template.directive";
|
|
16
|
+
import * as i11 from "../calendar/templates/weeknumber-cell-template.directive";
|
|
17
|
+
import * as i12 from "../calendar/templates/year-cell-template.directive";
|
|
18
18
|
/**
|
|
19
19
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
20
20
|
* definition for the DatePicker component.
|
|
21
21
|
*/
|
|
22
22
|
export declare class DatePickerModule {
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.DatePickerCustomMessagesComponent, typeof i2.DatePickerComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective, typeof i10.NavigationItemTemplateDirective], [typeof i1.DatePickerCustomMessagesComponent, typeof i2.DatePickerComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective, typeof i10.NavigationItemTemplateDirective]>;
|
|
25
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
26
26
|
}
|
|
@@ -13,5 +13,5 @@ export declare class DatePickerCustomMessagesComponent extends DatePickerMessage
|
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
protected get override(): boolean;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerCustomMessagesComponent, "kendo-datepicker-messages", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerCustomMessagesComponent, "kendo-datepicker-messages", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DatePickerLocalizedMessagesDirective extends DatePickerMess
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerLocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerLocalizedMessagesDirective, "[kendoDatePickerLocalizedMessages]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerLocalizedMessagesDirective, "[kendoDatePickerLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -57,5 +57,5 @@ export declare class DateRangeEndInputDirective extends DateRangeInput implement
|
|
|
57
57
|
protected getRange(value: Date, correctOn: AutoCorrectOn): SelectionRange;
|
|
58
58
|
protected updateInputValue(range: SelectionRange): void;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeEndInputDirective, never>;
|
|
60
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeEndInputDirective, "[kendoDateRangeEndInput]", never, { "autoCorrectOn": "autoCorrectOn"; "navigateCalendarOnFocus": "navigateCalendarOnFocus"; }, {}, never, never,
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeEndInputDirective, "[kendoDateRangeEndInput]", never, { "autoCorrectOn": "autoCorrectOn"; "navigateCalendarOnFocus": "navigateCalendarOnFocus"; }, {}, never, never, true, never>;
|
|
61
61
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DateRangePopupTemplateDirective {
|
|
|
12
12
|
templateRef: TemplateRef<any>;
|
|
13
13
|
constructor(templateRef: TemplateRef<any>);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupTemplateDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupTemplateDirective, "[kendoDateRangePopupTemplate]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupTemplateDirective, "[kendoDateRangePopupTemplate]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -272,5 +272,5 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
272
272
|
private toggleActionSheet;
|
|
273
273
|
private updateActionSheetAdaptiveAppearance;
|
|
274
274
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
275
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupComponent, "kendo-daterange-popup", ["kendo-daterange-popup"], { "allowReverse": "allowReverse"; "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "appendTo": "appendTo"; "collision": "collision"; "popupAlign": "popupAlign"; "margin": "margin"; "adaptiveMode": "adaptiveMode"; "title": "title"; "subtitle": "subtitle"; "size": "size"; }, { "open": "open"; "close": "close"; "onBlur": "blur"; "onFocus": "focus"; "cancel": "cancel"; }, ["contentTemplate", "contentCalendar"], never,
|
|
275
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupComponent, "kendo-daterange-popup", ["kendo-daterange-popup"], { "allowReverse": "allowReverse"; "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "appendTo": "appendTo"; "collision": "collision"; "popupAlign": "popupAlign"; "margin": "margin"; "adaptiveMode": "adaptiveMode"; "title": "title"; "subtitle": "subtitle"; "size": "size"; }, { "open": "open"; "close": "close"; "onBlur": "blur"; "onFocus": "focus"; "cancel": "cancel"; }, ["contentTemplate", "contentCalendar"], never, true, never>;
|
|
276
276
|
}
|
|
@@ -84,5 +84,5 @@ export declare class DateRangeSelectionDirective implements OnInit {
|
|
|
84
84
|
private setSelectionRange;
|
|
85
85
|
private acceptAndEmit;
|
|
86
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeSelectionDirective, [null, null, null, null, { optional: true; }]>;
|
|
87
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeSelectionDirective, "[kendoDateRangeSelection]", never, { "autoCorrectOn": "autoCorrectOn"; "selectionRange": "selectionRange"; "activeRangeEnd": "activeRangeEnd"; "shouldSetRange": "shouldSetRange"; }, { "activeRangeEndChange": "activeRangeEndChange"; "selectionRangeChange": "selectionRangeChange"; }, never, never,
|
|
87
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeSelectionDirective, "[kendoDateRangeSelection]", never, { "autoCorrectOn": "autoCorrectOn"; "selectionRange": "selectionRange"; "activeRangeEnd": "activeRangeEnd"; "shouldSetRange": "shouldSetRange"; }, { "activeRangeEndChange": "activeRangeEndChange"; "selectionRangeChange": "selectionRangeChange"; }, never, never, true, never>;
|
|
88
88
|
}
|
|
@@ -59,5 +59,5 @@ export declare class DateRangeStartInputDirective extends DateRangeInput impleme
|
|
|
59
59
|
protected getRange(value: Date, correctOn: AutoCorrectOn): SelectionRange;
|
|
60
60
|
protected updateInputValue(range: SelectionRange): void;
|
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeStartInputDirective, never>;
|
|
62
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeStartInputDirective, "[kendoDateRangeStartInput]", never, { "autoCorrectOn": "autoCorrectOn"; "navigateCalendarOnFocus": "navigateCalendarOnFocus"; }, {}, never, never,
|
|
62
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeStartInputDirective, "[kendoDateRangeStartInput]", never, { "autoCorrectOn": "autoCorrectOn"; "navigateCalendarOnFocus": "navigateCalendarOnFocus"; }, {}, never, never, true, never>;
|
|
63
63
|
}
|
|
@@ -57,5 +57,5 @@ export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
|
|
|
57
57
|
ngAfterContentInit(): void;
|
|
58
58
|
ngOnDestroy(): void;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "kendo-daterange", never, { "size": "size"; }, {}, ["contentPopup"], ["*"],
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "kendo-daterange", never, { "size": "size"; }, {}, ["contentPopup"], ["*"], true, never>;
|
|
61
61
|
}
|
|
@@ -3,20 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "
|
|
9
|
-
import * as i4 from "./date-range-
|
|
10
|
-
import * as i5 from "./date-range-
|
|
11
|
-
import * as i6 from "./date-range
|
|
12
|
-
import * as i7 from "./
|
|
13
|
-
import * as i8 from "./
|
|
14
|
-
import * as i9 from "
|
|
15
|
-
import * as i10 from "../calendar/multiview-calendar.module";
|
|
16
|
-
import * as i11 from "../dateinput/dateinput.module";
|
|
17
|
-
import * as i12 from "@progress/kendo-angular-popup";
|
|
18
|
-
import * as i13 from "@progress/kendo-angular-common";
|
|
19
|
-
import * as i14 from "../common/adaptive.module";
|
|
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";
|
|
20
15
|
/**
|
|
21
16
|
* The exported package module.
|
|
22
17
|
*
|
|
@@ -57,6 +52,6 @@ import * as i14 from "../common/adaptive.module";
|
|
|
57
52
|
*/
|
|
58
53
|
export declare class DateRangeModule {
|
|
59
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeModule, never>;
|
|
60
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangeModule, [typeof i1.
|
|
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]>;
|
|
61
56
|
static ɵinj: i0.ɵɵInjectorDeclaration<DateRangeModule>;
|
|
62
57
|
}
|
|
@@ -13,5 +13,5 @@ export declare class DateRangePopupCustomMessagesComponent extends DateRangePopu
|
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
protected get override(): boolean;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupCustomMessagesComponent, "kendo-daterange-popup-messages", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupCustomMessagesComponent, "kendo-daterange-popup-messages", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DateRangePopupLocalizedMessagesDirective extends DateRangeP
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupLocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupLocalizedMessagesDirective, "[kendoDateRangePopupLocalizedMessages]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupLocalizedMessagesDirective, "[kendoDateRangePopupLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -48,7 +48,6 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
48
48
|
private pickerService;
|
|
49
49
|
private ngZone;
|
|
50
50
|
wrapper: ElementRef<HTMLElement>;
|
|
51
|
-
private touchEnabled;
|
|
52
51
|
localization: LocalizationService;
|
|
53
52
|
private disabledDatesService;
|
|
54
53
|
private renderer;
|
|
@@ -557,7 +556,7 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
557
556
|
private _rounded;
|
|
558
557
|
private _fillMode;
|
|
559
558
|
private windowSize;
|
|
560
|
-
constructor(popupService: PopupService, intl: IntlService, cdr: ChangeDetectorRef, pickerService: PickerService, ngZone: NgZone, wrapper: ElementRef<HTMLElement>,
|
|
559
|
+
constructor(popupService: PopupService, intl: IntlService, cdr: ChangeDetectorRef, pickerService: PickerService, ngZone: NgZone, wrapper: ElementRef<HTMLElement>, localization: LocalizationService, disabledDatesService: DisabledDatesService, renderer: Renderer2, injector: Injector);
|
|
561
560
|
ngOnInit(): void;
|
|
562
561
|
ngAfterViewInit(): void;
|
|
563
562
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -734,5 +733,5 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
|
|
|
734
733
|
private handleDateCompletenessChange;
|
|
735
734
|
private setComponentClasses;
|
|
736
735
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
737
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "kendo-datetimepicker", ["kendo-datetimepicker"], { "focusableId": "focusableId"; "weekDaysFormat": "weekDaysFormat"; "showOtherMonthDays": "showOtherMonthDays"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "tabindex": "tabindex"; "disabledDates": "disabledDates"; "popupSettings": "popupSettings"; "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "cancelButton": "cancelButton"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "focusedDate": "focusedDate"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "weekNumber": "weekNumber"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "clearButton": "clearButton"; "autoFill": "autoFill"; "adaptiveMode": "adaptiveMode"; "inputAttributes": "inputAttributes"; "defaultTab": "defaultTab"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "headerTemplateRef": "headerTemplate"; "footerTemplateRef": "footerTemplate"; "footer": "footer"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "escape": "escape"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate"], never,
|
|
736
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "kendo-datetimepicker", ["kendo-datetimepicker"], { "focusableId": "focusableId"; "weekDaysFormat": "weekDaysFormat"; "showOtherMonthDays": "showOtherMonthDays"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "tabindex": "tabindex"; "disabledDates": "disabledDates"; "popupSettings": "popupSettings"; "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "cancelButton": "cancelButton"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "focusedDate": "focusedDate"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "weekNumber": "weekNumber"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "clearButton": "clearButton"; "autoFill": "autoFill"; "adaptiveMode": "adaptiveMode"; "inputAttributes": "inputAttributes"; "defaultTab": "defaultTab"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "headerTemplateRef": "headerTemplate"; "footerTemplateRef": "footerTemplate"; "footer": "footer"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; "escape": "escape"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate"], never, true, never>;
|
|
738
737
|
}
|
|
@@ -3,25 +3,24 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./datetimepicker.component";
|
|
7
|
-
import * as i2 from "./
|
|
8
|
-
import * as i3 from "
|
|
9
|
-
import * as i4 from "
|
|
10
|
-
import * as i5 from "
|
|
11
|
-
import * as i6 from "../
|
|
12
|
-
import * as i7 from "../calendar/
|
|
13
|
-
import * as i8 from "../
|
|
14
|
-
import * as i9 from "
|
|
15
|
-
import * as i10 from "
|
|
16
|
-
import * as i11 from "../calendar/templates.
|
|
17
|
-
import * as i12 from "
|
|
18
|
-
import * as i13 from "../common/adaptive.module";
|
|
6
|
+
import * as i1 from "./localization/datetimepicker-custom-messages.component";
|
|
7
|
+
import * as i2 from "./datetimepicker.component";
|
|
8
|
+
import * as i3 from "../calendar/templates/cell-template.directive";
|
|
9
|
+
import * as i4 from "../calendar/templates/century-cell-template.directive";
|
|
10
|
+
import * as i5 from "../calendar/templates/decade-cell-template.directive";
|
|
11
|
+
import * as i6 from "../calendar/templates/footer-template.directive";
|
|
12
|
+
import * as i7 from "../calendar/templates/header-template.directive";
|
|
13
|
+
import * as i8 from "../calendar/templates/header-title-template.directive";
|
|
14
|
+
import * as i9 from "../calendar/templates/month-cell-template.directive";
|
|
15
|
+
import * as i10 from "../calendar/templates/navigation-item-template.directive";
|
|
16
|
+
import * as i11 from "../calendar/templates/weeknumber-cell-template.directive";
|
|
17
|
+
import * as i12 from "../calendar/templates/year-cell-template.directive";
|
|
19
18
|
/**
|
|
20
19
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
21
20
|
* definition for the DateTimePicker component.
|
|
22
21
|
*/
|
|
23
22
|
export declare class DateTimePickerModule {
|
|
24
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, [typeof i1.
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, never, [typeof i1.DateTimePickerCustomMessagesComponent, typeof i2.DateTimePickerComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective], [typeof i1.DateTimePickerCustomMessagesComponent, typeof i2.DateTimePickerComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective]>;
|
|
26
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<DateTimePickerModule>;
|
|
27
26
|
}
|
|
@@ -13,5 +13,5 @@ export declare class DateTimePickerCustomMessagesComponent extends DateTimePicke
|
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
protected get override(): boolean;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerCustomMessagesComponent, "kendo-datetimepicker-messages", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerCustomMessagesComponent, "kendo-datetimepicker-messages", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoDateTimePickerLocalizedMessages]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoDateTimePickerLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
package/directives.d.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { CalendarComponent } from "./calendar/calendar.component";
|
|
6
|
+
import { MultiViewCalendarComponent } from "./calendar/multiview-calendar.component";
|
|
7
|
+
import { DateInputComponent } from "./dateinput/dateinput.component";
|
|
8
|
+
import { DatePickerComponent } from "./datepicker/datepicker.component";
|
|
9
|
+
import { DateRangePopupComponent } from "./daterange/date-range-popup.component";
|
|
10
|
+
import { DateRangeComponent } from "./daterange/date-range.component";
|
|
11
|
+
import { DateTimePickerComponent } from "./datetimepicker/datetimepicker.component";
|
|
12
|
+
import { TimePickerComponent } from "./timepicker/timepicker.component";
|
|
13
|
+
import { CellTemplateDirective } from "./calendar/templates/cell-template.directive";
|
|
14
|
+
import { CenturyCellTemplateDirective } from "./calendar/templates/century-cell-template.directive";
|
|
15
|
+
import { DecadeCellTemplateDirective } from "./calendar/templates/decade-cell-template.directive";
|
|
16
|
+
import { FooterTemplateDirective } from "./calendar/templates/footer-template.directive";
|
|
17
|
+
import { HeaderTemplateDirective } from "./calendar/templates/header-template.directive";
|
|
18
|
+
import { HeaderTitleTemplateDirective } from "./calendar/templates/header-title-template.directive";
|
|
19
|
+
import { MonthCellTemplateDirective } from "./calendar/templates/month-cell-template.directive";
|
|
20
|
+
import { NavigationItemTemplateDirective } from "./calendar/templates/navigation-item-template.directive";
|
|
21
|
+
import { WeekNumberCellTemplateDirective } from "./calendar/templates/weeknumber-cell-template.directive";
|
|
22
|
+
import { YearCellTemplateDirective } from "./calendar/templates/year-cell-template.directive";
|
|
23
|
+
import { DateRangeEndInputDirective } from "./daterange/date-range-end-input.directive";
|
|
24
|
+
import { DateRangePopupTemplateDirective } from "./daterange/date-range-popup-template.directive";
|
|
25
|
+
import { DateRangeSelectionDirective } from "./daterange/date-range-selection.directive";
|
|
26
|
+
import { DateRangeStartInputDirective } from "./daterange/date-range-start-input.directive";
|
|
27
|
+
import { CalendarCustomMessagesComponent } from "./calendar/localization/calendar-custom-messages.component";
|
|
28
|
+
import { MultiViewCalendarCustomMessagesComponent } from "./calendar/localization/multiview-calendar-custom-messages.component";
|
|
29
|
+
import { DateInputCustomMessagesComponent } from "./dateinput/localization/dateinput-custom-messages.component";
|
|
30
|
+
import { DatePickerCustomMessagesComponent } from "./datepicker/localization/datepicker-custom-messages.component";
|
|
31
|
+
import { DateRangePopupCustomMessagesComponent } from "./daterange/localization/daterange-popup-custom-messages.component";
|
|
32
|
+
import { DateTimePickerCustomMessagesComponent } from "./datetimepicker/localization/datetimepicker-custom-messages.component";
|
|
33
|
+
import { TimePickerCustomMessagesComponent } from "./timepicker/localization/timepicker-custom-messages.component";
|
|
34
|
+
/**
|
|
35
|
+
* Utility array that contains all `Calendar` related components and directives
|
|
36
|
+
*/
|
|
37
|
+
export declare const KENDO_CALENDAR: readonly [typeof CalendarCustomMessagesComponent, typeof CalendarComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective, typeof NavigationItemTemplateDirective];
|
|
38
|
+
/**
|
|
39
|
+
* Utility array that contains all `MultiViewCalendar` related components and directives
|
|
40
|
+
*/
|
|
41
|
+
export declare const KENDO_MULTIVIEWCALENDAR: readonly [typeof MultiViewCalendarCustomMessagesComponent, typeof MultiViewCalendarComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective];
|
|
42
|
+
/**
|
|
43
|
+
* Utility array that contains all `DateInput` related components and directives
|
|
44
|
+
*/
|
|
45
|
+
export declare const KENDO_DATEINPUT: readonly [typeof DateInputCustomMessagesComponent, typeof DateInputComponent];
|
|
46
|
+
/**
|
|
47
|
+
* Utility array that contains all `DatePicker` related components and directives
|
|
48
|
+
*/
|
|
49
|
+
export declare const KENDO_DATEPICKER: readonly [typeof DatePickerCustomMessagesComponent, typeof DatePickerComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective, typeof NavigationItemTemplateDirective];
|
|
50
|
+
/**
|
|
51
|
+
* Utility array that contains all `DateRange` related components and directives
|
|
52
|
+
*/
|
|
53
|
+
export declare const KENDO_DATERANGE: readonly [typeof DateRangePopupCustomMessagesComponent, typeof DateInputCustomMessagesComponent, typeof DateInputComponent, typeof DateRangeEndInputDirective, typeof DateRangePopupTemplateDirective, typeof DateRangeComponent, typeof DateRangePopupComponent, typeof DateRangeSelectionDirective, typeof DateRangeStartInputDirective];
|
|
54
|
+
/**
|
|
55
|
+
* Utility array that contains all `DateTimePicker` related components and directives
|
|
56
|
+
*/
|
|
57
|
+
export declare const KENDO_DATETIMEPICKER: readonly [typeof DateTimePickerCustomMessagesComponent, typeof DateTimePickerComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective];
|
|
58
|
+
/**
|
|
59
|
+
* Utility array that contains all `TimePicker` related components and directives
|
|
60
|
+
*/
|
|
61
|
+
export declare const KENDO_TIMEPICKER: readonly [typeof TimePickerCustomMessagesComponent, typeof TimePickerComponent];
|
|
62
|
+
/**
|
|
63
|
+
* Utility array that contains all `@progress/kendo-angular-dateinputs` related components and directives
|
|
64
|
+
*/
|
|
65
|
+
export declare const KENDO_DATEINPUTS: readonly [typeof CalendarCustomMessagesComponent, typeof CalendarComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof MultiViewCalendarCustomMessagesComponent, typeof MultiViewCalendarComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective, typeof DateInputCustomMessagesComponent, typeof DateInputComponent, typeof DatePickerCustomMessagesComponent, typeof DatePickerComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof DateRangePopupCustomMessagesComponent, typeof DateInputCustomMessagesComponent, typeof DateInputComponent, typeof DateRangeEndInputDirective, typeof DateRangePopupTemplateDirective, typeof DateRangeComponent, typeof DateRangePopupComponent, typeof DateRangeSelectionDirective, typeof DateRangeStartInputDirective, typeof DateTimePickerCustomMessagesComponent, typeof DateTimePickerComponent, typeof CellTemplateDirective, typeof CenturyCellTemplateDirective, typeof DecadeCellTemplateDirective, typeof FooterTemplateDirective, typeof HeaderTemplateDirective, typeof HeaderTitleTemplateDirective, typeof MonthCellTemplateDirective, typeof NavigationItemTemplateDirective, typeof WeekNumberCellTemplateDirective, typeof YearCellTemplateDirective, typeof TimePickerCustomMessagesComponent, typeof TimePickerComponent];
|
|
@@ -6,7 +6,7 @@ import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ContentChild, Ev
|
|
|
6
6
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
9
|
-
import { hasObservers, KendoInput, guid, Keys, isObject } from '@progress/kendo-angular-common';
|
|
9
|
+
import { hasObservers, KendoInput, guid, Keys, isObject, ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
10
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
|
12
12
|
import { MultiViewCalendarComponent } from './multiview-calendar.component';
|
|
@@ -38,6 +38,9 @@ import { requiresZoneOnBlur, preventDefault, isPresent, isArrowWithShiftPressed,
|
|
|
38
38
|
import { from as fromPromise } from 'rxjs';
|
|
39
39
|
import { HeaderTemplateDirective } from './templates/header-template.directive';
|
|
40
40
|
import { FooterTemplateDirective } from './templates/footer-template.directive';
|
|
41
|
+
import { MultiViewCalendarCustomMessagesComponent } from './localization/multiview-calendar-custom-messages.component';
|
|
42
|
+
import { NgIf } from '@angular/common';
|
|
43
|
+
import { CalendarLocalizedMessagesDirective } from './localization/calendar-localized-messages.directive';
|
|
41
44
|
import * as i0 from "@angular/core";
|
|
42
45
|
import * as i1 from "./services/bus-view.service";
|
|
43
46
|
import * as i2 from "./services/dom.service";
|
|
@@ -47,13 +50,6 @@ import * as i5 from "./services/disabled-dates.service";
|
|
|
47
50
|
import * as i6 from "@progress/kendo-angular-l10n";
|
|
48
51
|
import * as i7 from "./services/selection.service";
|
|
49
52
|
import * as i8 from "../common/picker.service";
|
|
50
|
-
import * as i9 from "@angular/common";
|
|
51
|
-
import * as i10 from "./localization/multiview-calendar-custom-messages.component";
|
|
52
|
-
import * as i11 from "./multiview-calendar.component";
|
|
53
|
-
import * as i12 from "@progress/kendo-angular-common";
|
|
54
|
-
import * as i13 from "./navigation.component";
|
|
55
|
-
import * as i14 from "./localization/calendar-localized-messages.directive";
|
|
56
|
-
import * as i15 from "./view-list.component";
|
|
57
53
|
const BOTTOM_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-bottomview';
|
|
58
54
|
const TOP_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-topview';
|
|
59
55
|
const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-min';
|
|
@@ -1185,7 +1181,7 @@ export class CalendarComponent {
|
|
|
1185
1181
|
}
|
|
1186
1182
|
}
|
|
1187
1183
|
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1188
|
-
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarComponent, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
1184
|
+
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarComponent, isStandalone: true, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
1189
1185
|
BusViewService,
|
|
1190
1186
|
CALENDAR_VALUE_ACCESSOR,
|
|
1191
1187
|
CALENDAR_RANGE_VALIDATORS,
|
|
@@ -1317,7 +1313,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1317
1313
|
</kendo-multiviewcalendar-messages>
|
|
1318
1314
|
</kendo-multiviewcalendar>
|
|
1319
1315
|
</ng-container>
|
|
1320
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1316
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "component", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "size", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1321
1317
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
1322
1318
|
type: Component,
|
|
1323
1319
|
args: [{
|
|
@@ -1457,7 +1453,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1457
1453
|
</kendo-multiviewcalendar-messages>
|
|
1458
1454
|
</kendo-multiviewcalendar>
|
|
1459
1455
|
</ng-container>
|
|
1460
|
-
|
|
1456
|
+
`,
|
|
1457
|
+
standalone: true,
|
|
1458
|
+
imports: [CalendarLocalizedMessagesDirective, NgIf, NavigationComponent, ViewListComponent, ResizeSensorComponent, MultiViewCalendarComponent, MultiViewCalendarCustomMessagesComponent]
|
|
1461
1459
|
}]
|
|
1462
1460
|
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.CalendarDOMService }, { type: i0.ElementRef }, { type: i3.NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i4.ScrollSyncService }, { type: i5.DisabledDatesService }, { type: i6.LocalizationService }, { type: i7.SelectionService }, { type: i8.PickerService, decorators: [{
|
|
1463
1461
|
type: Optional
|
|
@@ -3,25 +3,31 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from "@angular/core";
|
|
6
|
-
import {
|
|
7
|
-
import { IntlModule } from "@progress/kendo-angular-intl";
|
|
8
|
-
import { CalendarCommonModule } from "./calendar-common.module";
|
|
9
|
-
import { MultiViewCalendarModule } from './multiview-calendar.module';
|
|
10
|
-
import { TemplatesModule } from "./templates.module";
|
|
11
|
-
import { CalendarComponent } from "./calendar.component";
|
|
12
|
-
import { NavigationComponent } from "./navigation.component";
|
|
13
|
-
import { ViewListComponent } from "./view-list.component";
|
|
14
|
-
import { CalendarDOMService } from "./services/dom.service";
|
|
6
|
+
import { KENDO_CALENDAR } from "../directives";
|
|
15
7
|
import { CenturyViewService } from "./services/century-view.service";
|
|
16
8
|
import { DecadeViewService } from "./services/decade-view.service";
|
|
9
|
+
import { CalendarDOMService } from "./services/dom.service";
|
|
17
10
|
import { MonthViewService } from "./services/month-view.service";
|
|
18
|
-
import { YearViewService } from "./services/year-view.service";
|
|
19
11
|
import { WeekNamesService } from "./services/weeknames.service";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
12
|
+
import { YearViewService } from "./services/year-view.service";
|
|
13
|
+
import { IconsService } from "@progress/kendo-angular-icons";
|
|
14
|
+
import { PopupService } from "@progress/kendo-angular-popup";
|
|
15
|
+
import { NavigationService } from "./services/navigation.service";
|
|
16
|
+
import { ResizeBatchService } from "@progress/kendo-angular-common";
|
|
24
17
|
import * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "./localization/calendar-custom-messages.component";
|
|
19
|
+
import * as i2 from "./calendar.component";
|
|
20
|
+
import * as i3 from "./templates/cell-template.directive";
|
|
21
|
+
import * as i4 from "./templates/century-cell-template.directive";
|
|
22
|
+
import * as i5 from "./templates/decade-cell-template.directive";
|
|
23
|
+
import * as i6 from "./templates/footer-template.directive";
|
|
24
|
+
import * as i7 from "./templates/header-template.directive";
|
|
25
|
+
import * as i8 from "./templates/header-title-template.directive";
|
|
26
|
+
import * as i9 from "./templates/month-cell-template.directive";
|
|
27
|
+
import * as i10 from "./templates/navigation-item-template.directive";
|
|
28
|
+
import * as i11 from "./templates/weeknumber-cell-template.directive";
|
|
29
|
+
import * as i12 from "./templates/year-cell-template.directive";
|
|
30
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
25
31
|
/**
|
|
26
32
|
* The exported package module.
|
|
27
33
|
*
|
|
@@ -65,76 +71,35 @@ import * as i0 from "@angular/core";
|
|
|
65
71
|
export class CalendarModule {
|
|
66
72
|
}
|
|
67
73
|
CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
-
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule,
|
|
69
|
-
NavigationComponent,
|
|
70
|
-
CalendarCustomMessagesComponent,
|
|
71
|
-
CalendarLocalizedMessagesDirective,
|
|
72
|
-
ViewListComponent], imports: [CommonModule,
|
|
73
|
-
CalendarCommonModule,
|
|
74
|
-
MultiViewCalendarModule,
|
|
75
|
-
IntlModule,
|
|
76
|
-
TemplatesModule,
|
|
77
|
-
VirtualizationModule,
|
|
78
|
-
EventsModule,
|
|
79
|
-
ResizeSensorModule], exports: [CalendarComponent,
|
|
80
|
-
NavigationComponent,
|
|
81
|
-
CalendarCustomMessagesComponent,
|
|
82
|
-
CalendarLocalizedMessagesDirective,
|
|
83
|
-
ViewListComponent,
|
|
84
|
-
CalendarCommonModule,
|
|
85
|
-
TemplatesModule] });
|
|
74
|
+
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective], exports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective] });
|
|
86
75
|
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, providers: [
|
|
76
|
+
IconsService,
|
|
77
|
+
ResizeBatchService,
|
|
87
78
|
CalendarDOMService,
|
|
88
79
|
CenturyViewService,
|
|
89
80
|
DecadeViewService,
|
|
90
81
|
MonthViewService,
|
|
91
82
|
YearViewService,
|
|
92
|
-
WeekNamesService
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
IntlModule,
|
|
97
|
-
TemplatesModule,
|
|
98
|
-
VirtualizationModule,
|
|
99
|
-
EventsModule,
|
|
100
|
-
ResizeSensorModule, CalendarCommonModule,
|
|
101
|
-
TemplatesModule] });
|
|
83
|
+
WeekNamesService,
|
|
84
|
+
PopupService,
|
|
85
|
+
NavigationService
|
|
86
|
+
], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent] });
|
|
102
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, decorators: [{
|
|
103
88
|
type: NgModule,
|
|
104
89
|
args: [{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
NavigationComponent,
|
|
108
|
-
CalendarCustomMessagesComponent,
|
|
109
|
-
CalendarLocalizedMessagesDirective,
|
|
110
|
-
ViewListComponent
|
|
111
|
-
],
|
|
112
|
-
exports: [
|
|
113
|
-
CalendarComponent,
|
|
114
|
-
NavigationComponent,
|
|
115
|
-
CalendarCustomMessagesComponent,
|
|
116
|
-
CalendarLocalizedMessagesDirective,
|
|
117
|
-
ViewListComponent,
|
|
118
|
-
CalendarCommonModule,
|
|
119
|
-
TemplatesModule
|
|
120
|
-
],
|
|
121
|
-
imports: [
|
|
122
|
-
CommonModule,
|
|
123
|
-
CalendarCommonModule,
|
|
124
|
-
MultiViewCalendarModule,
|
|
125
|
-
IntlModule,
|
|
126
|
-
TemplatesModule,
|
|
127
|
-
VirtualizationModule,
|
|
128
|
-
EventsModule,
|
|
129
|
-
ResizeSensorModule
|
|
130
|
-
],
|
|
90
|
+
exports: [...KENDO_CALENDAR],
|
|
91
|
+
imports: [...KENDO_CALENDAR],
|
|
131
92
|
providers: [
|
|
93
|
+
IconsService,
|
|
94
|
+
ResizeBatchService,
|
|
132
95
|
CalendarDOMService,
|
|
133
96
|
CenturyViewService,
|
|
134
97
|
DecadeViewService,
|
|
135
98
|
MonthViewService,
|
|
136
99
|
YearViewService,
|
|
137
|
-
WeekNamesService
|
|
100
|
+
WeekNamesService,
|
|
101
|
+
PopupService,
|
|
102
|
+
NavigationService
|
|
138
103
|
]
|
|
139
104
|
}]
|
|
140
105
|
}] });
|