@progress/kendo-angular-dateinputs 16.0.0-develop.2 → 16.0.0-develop.20
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 +42 -8
- package/calendar/footer.component.d.ts +1 -1
- package/calendar/for.directive.d.ts +1 -1
- package/calendar/header.component.d.ts +3 -2
- package/calendar/horizontal-view-list.component.d.ts +4 -3
- 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/calendar-messages.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/localization/multiview-calendar-messages.d.ts +1 -1
- package/calendar/models/cell-context.interface.d.ts +4 -0
- package/calendar/models/selection-range.interface.d.ts +2 -2
- package/calendar/models/selection.d.ts +11 -1
- package/calendar/multiview-calendar.component.d.ts +57 -8
- 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.directiv/320/265.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 +9 -1
- package/calendar/view.component.d.ts +2 -1
- package/common/utils.d.ts +4 -0
- package/dateinput/dateinput.component.d.ts +13 -1
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
- package/dateinput/localization/messages.d.ts +5 -1
- package/datepicker/datepicker.component.d.ts +7 -2
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
- package/datepicker/localization/messages.d.ts +5 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-input.d.ts +1 -1
- package/daterange/date-range-popup-template.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +30 -2
- 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 +16 -1
- 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/daterange/localization/messages.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +12 -1
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
- package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
- package/datetimepicker/localization/messages.d.ts +5 -1
- package/esm2020/calendar/calendar-common.module.mjs +4 -4
- package/esm2020/calendar/calendar.component.mjs +256 -66
- package/esm2020/calendar/calendar.module.mjs +12 -14
- package/esm2020/calendar/calendars.module.mjs +5 -7
- package/esm2020/calendar/footer.component.mjs +6 -6
- package/esm2020/calendar/for.directive.mjs +3 -3
- package/esm2020/calendar/header.component.mjs +44 -26
- package/esm2020/calendar/horizontal-view-list.component.mjs +16 -12
- package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -3
- package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -3
- package/esm2020/calendar/localization/calendar-messages.mjs +3 -3
- package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -3
- package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -3
- package/esm2020/calendar/localization/multiview-calendar-messages.mjs +3 -3
- package/esm2020/calendar/models/selection.mjs +34 -1
- package/esm2020/calendar/multiview-calendar.component.mjs +268 -56
- package/esm2020/calendar/multiview-calendar.module.mjs +10 -12
- package/esm2020/calendar/navigation.component.mjs +8 -8
- package/esm2020/calendar/services/bus-view.service.mjs +3 -3
- package/esm2020/calendar/services/century-view.service.mjs +29 -8
- package/esm2020/calendar/services/decade-view.service.mjs +29 -8
- package/esm2020/calendar/services/disabled-dates.service.mjs +3 -3
- package/esm2020/calendar/services/dom.service.mjs +5 -5
- package/esm2020/calendar/services/month-view.service.mjs +29 -8
- package/esm2020/calendar/services/navigation.service.mjs +3 -3
- package/esm2020/calendar/services/scroll-sync.service.mjs +3 -3
- package/esm2020/calendar/services/selection.service.mjs +3 -3
- package/esm2020/calendar/services/weeknames.service.mjs +3 -3
- package/esm2020/calendar/services/year-view.service.mjs +29 -8
- package/esm2020/calendar/templates/cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/footer-template.directiv/320/265.mjs +3 -3
- package/esm2020/calendar/templates/header-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates.module.mjs +4 -4
- package/esm2020/calendar/view-list.component.mjs +31 -10
- package/esm2020/calendar/view.component.mjs +9 -6
- package/esm2020/common/adaptive.module.mjs +4 -4
- package/esm2020/common/utils.mjs +5 -1
- package/esm2020/dateinput/dateinput.component.mjs +70 -13
- package/esm2020/dateinput/dateinput.module.mjs +4 -4
- package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -3
- package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -3
- package/esm2020/dateinput/localization/messages.mjs +5 -3
- package/esm2020/dateinputs.module.mjs +4 -4
- package/esm2020/datepicker/datepicker.component.mjs +45 -23
- package/esm2020/datepicker/datepicker.module.mjs +12 -14
- package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -3
- package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -3
- package/esm2020/datepicker/localization/messages.mjs +5 -3
- package/esm2020/daterange/date-range-end-input.directive.mjs +3 -3
- package/esm2020/daterange/date-range-input.mjs +3 -3
- package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -3
- package/esm2020/daterange/date-range-popup.component.mjs +75 -21
- package/esm2020/daterange/date-range-selection.directive.mjs +3 -3
- package/esm2020/daterange/date-range-start-input.directive.mjs +3 -3
- package/esm2020/daterange/date-range.component.mjs +12 -10
- package/esm2020/daterange/date-range.module.mjs +4 -4
- package/esm2020/daterange/date-range.service.mjs +3 -4
- package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -3
- package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -3
- package/esm2020/daterange/localization/messages.mjs +3 -3
- package/esm2020/datetimepicker/datetimepicker.component.mjs +56 -23
- package/esm2020/datetimepicker/datetimepicker.module.mjs +14 -16
- package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -3
- package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -3
- package/esm2020/datetimepicker/localization/messages.mjs +5 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/localization/messages.mjs +5 -3
- package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -3
- package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -3
- package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -3
- package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -3
- package/esm2020/timepicker/services/dayperiod.service.mjs +3 -3
- package/esm2020/timepicker/services/dom.service.mjs +3 -3
- package/esm2020/timepicker/services/hours.service.mjs +3 -3
- package/esm2020/timepicker/services/milliseconds.service.mjs +3 -3
- package/esm2020/timepicker/services/minutes.service.mjs +3 -3
- package/esm2020/timepicker/services/seconds.service.mjs +3 -3
- package/esm2020/timepicker/timelist.component.mjs +6 -6
- package/esm2020/timepicker/timepicker.component.mjs +42 -17
- package/esm2020/timepicker/timepicker.module.mjs +4 -4
- package/esm2020/timepicker/timeselector.component.mjs +29 -14
- package/esm2020/virtualization/virtualization.component.mjs +4 -4
- package/esm2020/virtualization/virtualization.module.mjs +4 -4
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +1547 -763
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +1538 -766
- package/package.json +17 -20
- package/timepicker/localization/messages.d.ts +5 -1
- 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 +7 -1
- package/timepicker/timeselector.component.d.ts +2 -1
- package/virtualization/virtualization.component.d.ts +1 -1
- package/progress-kendo-angular-dateinputs.d.ts +0 -9
|
@@ -23,6 +23,7 @@ export declare class ViewComponent implements OnChanges, OnDestroy {
|
|
|
23
23
|
private zone;
|
|
24
24
|
private renderer;
|
|
25
25
|
private disabledDatesService;
|
|
26
|
+
allowReverse: boolean;
|
|
26
27
|
showOtherMonthDays: boolean;
|
|
27
28
|
direction: 'horizontal' | 'vertical';
|
|
28
29
|
isActive: boolean;
|
|
@@ -81,5 +82,5 @@ export declare class ViewComponent implements OnChanges, OnDestroy {
|
|
|
81
82
|
private emitCellLeave;
|
|
82
83
|
private cellByIndex;
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewComponent, "[kendoCalendarView]", never, { "showOtherMonthDays": "showOtherMonthDays"; "direction": "direction"; "isActive": "isActive"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "viewDate": "viewDate"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "min": "min"; "max": "max"; "selectedDates": "selectedDates"; "weekNumber": "weekNumber"; "viewIndex": "viewIndex"; "templateRef": "templateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "headerTitle": "headerTitle"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "focusedCellId": "focusedCellId"; }, never, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewComponent, "[kendoCalendarView]", never, { "allowReverse": "allowReverse"; "showOtherMonthDays": "showOtherMonthDays"; "direction": "direction"; "isActive": "isActive"; "activeView": "activeView"; "cellUID": "cellUID"; "focusedDate": "focusedDate"; "viewDate": "viewDate"; "activeRangeEnd": "activeRangeEnd"; "selectionRange": "selectionRange"; "min": "min"; "max": "max"; "selectedDates": "selectedDates"; "weekNumber": "weekNumber"; "viewIndex": "viewIndex"; "templateRef": "templateRef"; "weekNumberTemplateRef": "weekNumberTemplateRef"; "headerTitle": "headerTitle"; }, { "cellClick": "cellClick"; "weekNumberCellClick": "weekNumberCellClick"; "cellEnter": "cellEnter"; "cellLeave": "cellLeave"; "focusedCellId": "focusedCellId"; }, never, never, false, never>;
|
|
85
86
|
}
|
package/common/utils.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ export declare const currentFocusTarget: (blurArgs: any) => any;
|
|
|
18
18
|
* @hidden
|
|
19
19
|
*/
|
|
20
20
|
export declare const isPresent: (value: any) => boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export declare const isNullOrDate: (value: any) => boolean;
|
|
21
25
|
/**
|
|
22
26
|
* @hidden
|
|
23
27
|
*/
|
|
@@ -57,6 +57,10 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
57
57
|
* @hidden
|
|
58
58
|
*/
|
|
59
59
|
caretAltUpIcon: SVGIcon;
|
|
60
|
+
/**
|
|
61
|
+
* @hidden
|
|
62
|
+
*/
|
|
63
|
+
xIcon: SVGIcon;
|
|
60
64
|
/**
|
|
61
65
|
* @hidden
|
|
62
66
|
*/
|
|
@@ -70,6 +74,12 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
70
74
|
* @hidden
|
|
71
75
|
*/
|
|
72
76
|
set pickerType(_pickerType: DatePickerType);
|
|
77
|
+
/**
|
|
78
|
+
* If set to `true`, renders a clear button after the input text or DateInput value has been changed.
|
|
79
|
+
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
82
|
+
clearButton: boolean;
|
|
73
83
|
/**
|
|
74
84
|
* Sets or gets the `disabled` property of the DateInput and
|
|
75
85
|
* determines whether the component is active
|
|
@@ -394,6 +404,7 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
394
404
|
};
|
|
395
405
|
hasMousedown: boolean;
|
|
396
406
|
focusedPriorToMousedown: boolean;
|
|
407
|
+
showClearButton: boolean;
|
|
397
408
|
/**
|
|
398
409
|
* @hidden
|
|
399
410
|
*/
|
|
@@ -476,6 +487,7 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
476
487
|
* @hidden
|
|
477
488
|
*/
|
|
478
489
|
writeValue(value: Date): void;
|
|
490
|
+
resetInput(): void;
|
|
479
491
|
/**
|
|
480
492
|
* @hidden
|
|
481
493
|
*/
|
|
@@ -531,6 +543,6 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
531
543
|
private setComponentClasses;
|
|
532
544
|
private setInputAttributes;
|
|
533
545
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
534
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "kendo-dateinput", ["kendo-dateinput"], { "focusableId": "focusableId"; "pickerType": "pickerType"; "disabled": "disabled"; "readonly": "readonly"; "title": "title"; "tabindex": "tabindex"; "role": "role"; "ariaReadOnly": "ariaReadOnly"; "tabIndex": "tabIndex"; "isRequired": "isRequired"; "format": "format"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "max": "max"; "min": "min"; "rangeValidation": "rangeValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "incompleteDateValidation": "incompleteDateValidation"; "twoDigitYearMax": "twoDigitYearMax"; "enableMouseWheel": "enableMouseWheel"; "value": "value"; "spinners": "spinners"; "isPopupOpen": "isPopupOpen"; "hasPopup": "hasPopup"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "inputAttributes": "inputAttributes"; }, { "valueChange": "valueChange"; "valueUpdate": "valueUpdate"; "onFocus": "focus"; "onBlur": "blur"; }, never, never>;
|
|
546
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "kendo-dateinput", ["kendo-dateinput"], { "focusableId": "focusableId"; "pickerType": "pickerType"; "clearButton": "clearButton"; "disabled": "disabled"; "readonly": "readonly"; "title": "title"; "tabindex": "tabindex"; "role": "role"; "ariaReadOnly": "ariaReadOnly"; "tabIndex": "tabIndex"; "isRequired": "isRequired"; "format": "format"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "max": "max"; "min": "min"; "rangeValidation": "rangeValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "incompleteDateValidation": "incompleteDateValidation"; "twoDigitYearMax": "twoDigitYearMax"; "enableMouseWheel": "enableMouseWheel"; "value": "value"; "spinners": "spinners"; "isPopupOpen": "isPopupOpen"; "hasPopup": "hasPopup"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "inputAttributes": "inputAttributes"; }, { "valueChange": "valueChange"; "valueUpdate": "valueUpdate"; "onFocus": "focus"; "onBlur": "blur"; }, never, never, false, never>;
|
|
535
547
|
}
|
|
536
548
|
export {};
|
|
@@ -13,5 +13,5 @@ export declare class DateInputCustomMessagesComponent extends DateInputMessages
|
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
protected get override(): boolean;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputCustomMessagesComponent, "kendo-dateinput-messages", never, {}, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputCustomMessagesComponent, "kendo-dateinput-messages", never, {}, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DateInputLocalizedMessagesDirective extends DateInputMessag
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputLocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputLocalizedMessagesDirective, "[kendoDateInputLocalizedMessages]", never, {}, {}, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputLocalizedMessagesDirective, "[kendoDateInputLocalizedMessages]", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -16,6 +16,10 @@ export declare class DateInputMessages extends ComponentMessages {
|
|
|
16
16
|
* The title of the **Increment** button of the DateInput.
|
|
17
17
|
*/
|
|
18
18
|
increment: string;
|
|
19
|
+
/**
|
|
20
|
+
* The title of the **Clear** button of the DateInput.
|
|
21
|
+
*/
|
|
22
|
+
clearTitle: string;
|
|
19
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputMessages, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputMessages, "kendo-dateinput-messages-base", never, { "decrement": "decrement"; "increment": "increment"; }, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputMessages, "kendo-dateinput-messages-base", never, { "decrement": "decrement"; "increment": "increment"; "clearTitle": "clearTitle"; }, {}, never, never, false, never>;
|
|
21
25
|
}
|
|
@@ -68,6 +68,12 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
68
68
|
* @hidden
|
|
69
69
|
*/
|
|
70
70
|
set cellTemplateRef(template: CellTemplateDirective);
|
|
71
|
+
/**
|
|
72
|
+
* If set to `true`, renders a clear button after the input text or DatePicker value has been changed.
|
|
73
|
+
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
74
|
+
* @default false
|
|
75
|
+
*/
|
|
76
|
+
clearButton: boolean;
|
|
71
77
|
/**
|
|
72
78
|
* Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
|
|
73
79
|
*/
|
|
@@ -508,7 +514,6 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
508
514
|
* @hidden
|
|
509
515
|
*/
|
|
510
516
|
xIcon: SVGIcon;
|
|
511
|
-
private get inputElement();
|
|
512
517
|
/**
|
|
513
518
|
* @hidden
|
|
514
519
|
*/
|
|
@@ -690,5 +695,5 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
|
|
|
690
695
|
private handleDateCompletenessChange;
|
|
691
696
|
private setComponentClasses;
|
|
692
697
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
693
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "kendo-datepicker", ["kendo-datepicker"], { "focusableId": "focusableId"; "cellTemplateRef": "cellTemplate"; "inputAttributes": "inputAttributes"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "headerTemplateRef": "headerTemplate"; "footerTemplateRef": "footerTemplate"; "footer": "footer"; "navigationItemTemplateRef": "navigationItemTemplate"; "weekDaysFormat": "weekDaysFormat"; "showOtherMonthDays": "showOtherMonthDays"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "popupSettings": "popupSettings"; "navigation": "navigation"; "min": "min"; "max": "max"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "focusedDate": "focusedDate"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "disabledDates": "disabledDates"; "title": "title"; "subtitle": "subtitle"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "weekNumber": "weekNumber"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "adaptiveMode": "adaptiveMode"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate"], never>;
|
|
698
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "kendo-datepicker", ["kendo-datepicker"], { "focusableId": "focusableId"; "cellTemplateRef": "cellTemplate"; "clearButton": "clearButton"; "inputAttributes": "inputAttributes"; "monthCellTemplateRef": "monthCellTemplate"; "yearCellTemplateRef": "yearCellTemplate"; "decadeCellTemplateRef": "decadeCellTemplate"; "centuryCellTemplateRef": "centuryCellTemplate"; "weekNumberTemplateRef": "weekNumberTemplate"; "headerTitleTemplateRef": "headerTitleTemplate"; "headerTemplateRef": "headerTemplate"; "footerTemplateRef": "footerTemplate"; "footer": "footer"; "navigationItemTemplateRef": "navigationItemTemplate"; "weekDaysFormat": "weekDaysFormat"; "showOtherMonthDays": "showOtherMonthDays"; "activeView": "activeView"; "bottomView": "bottomView"; "topView": "topView"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "popupSettings": "popupSettings"; "navigation": "navigation"; "min": "min"; "max": "max"; "incompleteDateValidation": "incompleteDateValidation"; "autoCorrectParts": "autoCorrectParts"; "autoSwitchParts": "autoSwitchParts"; "autoSwitchKeys": "autoSwitchKeys"; "enableMouseWheel": "enableMouseWheel"; "allowCaretMode": "allowCaretMode"; "autoFill": "autoFill"; "focusedDate": "focusedDate"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "disabledDates": "disabledDates"; "title": "title"; "subtitle": "subtitle"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "weekNumber": "weekNumber"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "adaptiveMode": "adaptiveMode"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate"], never, false, never>;
|
|
694
699
|
}
|
|
@@ -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, false, 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>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerLocalizedMessagesDirective, "[kendoDatePickerLocalizedMessages]", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -28,6 +28,10 @@ export declare class DatePickerMessages extends ComponentMessages {
|
|
|
28
28
|
* The title of the **Parent View** button in the header of the Calendar.
|
|
29
29
|
*/
|
|
30
30
|
parentViewButtonTitle: string;
|
|
31
|
+
/**
|
|
32
|
+
* The title of the **Clear** button of the DatePicker.
|
|
33
|
+
*/
|
|
34
|
+
clearTitle: string;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerMessages, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerMessages, "kendo-datepicker-messages-base", never, { "today": "today"; "toggle": "toggle"; "prevButtonTitle": "prevButtonTitle"; "nextButtonTitle": "nextButtonTitle"; "parentViewButtonTitle": "parentViewButtonTitle"; }, {}, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerMessages, "kendo-datepicker-messages-base", never, { "today": "today"; "toggle": "toggle"; "prevButtonTitle": "prevButtonTitle"; "nextButtonTitle": "nextButtonTitle"; "parentViewButtonTitle": "parentViewButtonTitle"; "clearTitle": "clearTitle"; }, {}, never, never, false, never>;
|
|
33
37
|
}
|
|
@@ -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>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeEndInputDirective, "[kendoDateRangeEndInput]", never, { "autoCorrectOn": "autoCorrectOn"; "navigateCalendarOnFocus": "navigateCalendarOnFocus"; }, {}, never, never, false, never>;
|
|
61
61
|
}
|
|
@@ -38,5 +38,5 @@ export declare abstract class DateRangeInput {
|
|
|
38
38
|
private focusActiveDate;
|
|
39
39
|
private toggleActiveClass;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeInput, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeInput, never, never, {}, {}, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeInput, never, never, {}, {}, never, never, false, never>;
|
|
42
42
|
}
|
|
@@ -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>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupTemplateDirective, "[kendoDateRangePopupTemplate]", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -14,6 +14,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
14
14
|
import { DateRangeSelectionDirective } from './date-range-selection.directive';
|
|
15
15
|
import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
16
16
|
import { KeyDown } from '../calendar/models/keydown.interface';
|
|
17
|
+
import { DateInputSize } from '../common/models/size';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
/**
|
|
19
20
|
* Represents the Kendo UI DateRangePopup component for Angular.
|
|
@@ -36,7 +37,7 @@ import * as i0 from "@angular/core";
|
|
|
36
37
|
*/
|
|
37
38
|
export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
38
39
|
private popupService;
|
|
39
|
-
|
|
40
|
+
dateRangeService: DateRangeService;
|
|
40
41
|
private zone;
|
|
41
42
|
private renderer;
|
|
42
43
|
localization: LocalizationService;
|
|
@@ -49,6 +50,13 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
49
50
|
dateRangeSelectionDirective: DateRangeSelectionDirective;
|
|
50
51
|
viewCalendar: QueryList<MultiViewCalendarComponent>;
|
|
51
52
|
contentCalendar: QueryList<MultiViewCalendarComponent>;
|
|
53
|
+
/**
|
|
54
|
+
* Allows reverse selection when using `range` selection.
|
|
55
|
+
* If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
|
|
56
|
+
*
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
allowReverse: boolean;
|
|
52
60
|
/**
|
|
53
61
|
* Controls the popup animation.
|
|
54
62
|
* By default, the opening and closing animations are enabled.
|
|
@@ -105,6 +113,20 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
105
113
|
set subtitle(subtitle: string);
|
|
106
114
|
get subtitle(): string;
|
|
107
115
|
private _subtitle;
|
|
116
|
+
/**
|
|
117
|
+
* @hidden
|
|
118
|
+
*
|
|
119
|
+
* TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
|
|
120
|
+
* Sets the size of the component.
|
|
121
|
+
*
|
|
122
|
+
* The possible values are:
|
|
123
|
+
* * `small`
|
|
124
|
+
* * `medium` (Default)
|
|
125
|
+
* * `large`
|
|
126
|
+
* * `none`
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
size: DateInputSize;
|
|
108
130
|
/**
|
|
109
131
|
* Fires each time the popup is about to open
|
|
110
132
|
* ([see example](slug:popup_daterange#toc-events)).
|
|
@@ -179,11 +201,17 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
179
201
|
private resolvedPromise;
|
|
180
202
|
private _calendar;
|
|
181
203
|
private _show;
|
|
204
|
+
private _rangeSelection;
|
|
182
205
|
private windowSize;
|
|
183
206
|
constructor(popupService: PopupService, dateRangeService: DateRangeService, zone: NgZone, renderer: Renderer2, localization: LocalizationService, cdr: ChangeDetectorRef, rtl: boolean);
|
|
184
207
|
ngOnInit(): void;
|
|
185
208
|
ngAfterViewInit(): void;
|
|
186
209
|
ngOnDestroy(): void;
|
|
210
|
+
/**
|
|
211
|
+
* @hidden
|
|
212
|
+
*
|
|
213
|
+
*/
|
|
214
|
+
onRangeSelectionChange(rangeSelection: any): void;
|
|
187
215
|
/**
|
|
188
216
|
* Opens the popup component and focuses the calendar.
|
|
189
217
|
*/
|
|
@@ -244,5 +272,5 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
244
272
|
private toggleActionSheet;
|
|
245
273
|
private updateActionSheetAdaptiveAppearance;
|
|
246
274
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
247
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupComponent, "kendo-daterange-popup", ["kendo-daterange-popup"], { "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "appendTo": "appendTo"; "collision": "collision"; "popupAlign": "popupAlign"; "margin": "margin"; "adaptiveMode": "adaptiveMode"; "title": "title"; "subtitle": "subtitle"; }, { "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, false, never>;
|
|
248
276
|
}
|
|
@@ -82,5 +82,5 @@ export declare class DateRangeSelectionDirective implements OnInit {
|
|
|
82
82
|
private setSelectionRange;
|
|
83
83
|
private acceptAndEmit;
|
|
84
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeSelectionDirective, [null, null, null, null, { optional: true; }]>;
|
|
85
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeSelectionDirective, "[kendoDateRangeSelection]", never, { "autoCorrectOn": "autoCorrectOn"; "selectionRange": "selectionRange"; "activeRangeEnd": "activeRangeEnd"; "shouldSetRange": "shouldSetRange"; }, { "activeRangeEndChange": "activeRangeEndChange"; "selectionRangeChange": "selectionRangeChange"; }, never>;
|
|
85
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeSelectionDirective, "[kendoDateRangeSelection]", never, { "autoCorrectOn": "autoCorrectOn"; "selectionRange": "selectionRange"; "activeRangeEnd": "activeRangeEnd"; "shouldSetRange": "shouldSetRange"; }, { "activeRangeEndChange": "activeRangeEndChange"; "selectionRangeChange": "selectionRangeChange"; }, never, never, false, never>;
|
|
86
86
|
}
|
|
@@ -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>;
|
|
62
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangeStartInputDirective, "[kendoDateRangeStartInput]", never, { "autoCorrectOn": "autoCorrectOn"; "navigateCalendarOnFocus": "navigateCalendarOnFocus"; }, {}, never, never, false, never>;
|
|
63
63
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { AfterContentInit, OnDestroy } from '@angular/core';
|
|
6
6
|
import { DateRangeService } from './date-range.service';
|
|
7
|
+
import { DateInputSize } from '../common/models/size';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* Represents the Kendo UI DateRange component for Angular.
|
|
@@ -26,6 +27,20 @@ import * as i0 from "@angular/core";
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
|
|
28
29
|
private dateRangeService;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*
|
|
33
|
+
* TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
|
|
34
|
+
* Sets the size of the component.
|
|
35
|
+
*
|
|
36
|
+
* The possible values are:
|
|
37
|
+
* * `small`
|
|
38
|
+
* * `medium` (Default)
|
|
39
|
+
* * `large`
|
|
40
|
+
* * `none`
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
size: DateInputSize;
|
|
29
44
|
/**
|
|
30
45
|
* @hidden
|
|
31
46
|
*/
|
|
@@ -42,5 +57,5 @@ export declare class DateRangeComponent implements AfterContentInit, OnDestroy {
|
|
|
42
57
|
ngAfterContentInit(): void;
|
|
43
58
|
ngOnDestroy(): void;
|
|
44
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "kendo-daterange", never, {}, {}, ["contentPopup"], ["*"]>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "kendo-daterange", never, { "size": "size"; }, {}, ["contentPopup"], ["*"], false, never>;
|
|
46
61
|
}
|
|
@@ -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, false, 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>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupLocalizedMessagesDirective, "[kendoDateRangePopupLocalizedMessages]", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -25,5 +25,5 @@ export declare class DateRangePopupMessages extends ComponentMessages {
|
|
|
25
25
|
*/
|
|
26
26
|
cancelLabel: string;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupMessages, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupMessages, "kendo-daterangepopup-messages-base", never, { "accept": "accept"; "acceptLabel": "acceptLabel"; "cancel": "cancel"; "cancelLabel": "cancelLabel"; }, {}, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupMessages, "kendo-daterangepopup-messages-base", never, { "accept": "accept"; "acceptLabel": "acceptLabel"; "cancel": "cancel"; "cancelLabel": "cancelLabel"; }, {}, never, never, false, never>;
|
|
29
29
|
}
|
|
@@ -294,6 +294,12 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
294
294
|
* @default false
|
|
295
295
|
*/
|
|
296
296
|
allowCaretMode: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* If set to `true`, renders a clear button after the input text or DateTimePicker value has been changed.
|
|
299
|
+
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
300
|
+
* @default false
|
|
301
|
+
*/
|
|
302
|
+
clearButton: boolean;
|
|
297
303
|
/**
|
|
298
304
|
* When enabled, the DateTimePicker will autofill the rest of the date to the current date when the component loses focus.
|
|
299
305
|
*
|
|
@@ -514,6 +520,7 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
514
520
|
private get acceptButton();
|
|
515
521
|
private get cancelButtonElement();
|
|
516
522
|
private get dateTabButton();
|
|
523
|
+
private get timeTabButton();
|
|
517
524
|
/**
|
|
518
525
|
* @hidden
|
|
519
526
|
*/
|
|
@@ -622,6 +629,10 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
622
629
|
* @hidden
|
|
623
630
|
*/
|
|
624
631
|
onTabOutLastPart(): void;
|
|
632
|
+
/**
|
|
633
|
+
* @hidden
|
|
634
|
+
*/
|
|
635
|
+
onTabOutNow(): void;
|
|
625
636
|
/**
|
|
626
637
|
* @hidden
|
|
627
638
|
*/
|
|
@@ -719,5 +730,5 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
|
|
|
719
730
|
private handleDateCompletenessChange;
|
|
720
731
|
private setComponentClasses;
|
|
721
732
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
722
|
-
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"; "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"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate"], never>;
|
|
733
|
+
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"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate"], never, false, never>;
|
|
723
734
|
}
|
|
@@ -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, false, 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>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoDateTimePickerLocalizedMessages]", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -88,6 +88,10 @@ export declare class DateTimePickerMessages extends ComponentMessages {
|
|
|
88
88
|
* The label of the **Dayperiod** part in the TimePicker.
|
|
89
89
|
*/
|
|
90
90
|
dayperiod: string;
|
|
91
|
+
/**
|
|
92
|
+
* The title of the **Clear** button of the DateTimePicker.
|
|
93
|
+
*/
|
|
94
|
+
clearTitle: string;
|
|
91
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerMessages, never>;
|
|
92
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateTimePickerMessages, "kendo-datetimepicker-messages-base", never, { "toggle": "toggle"; "dateTab": "dateTab"; "dateTabLabel": "dateTabLabel"; "timeTab": "timeTab"; "timeTabLabel": "timeTabLabel"; "accept": "accept"; "acceptLabel": "acceptLabel"; "cancel": "cancel"; "cancelLabel": "cancelLabel"; "today": "today"; "now": "now"; "nowLabel": "nowLabel"; "prevButtonTitle": "prevButtonTitle"; "nextButtonTitle": "nextButtonTitle"; "parentViewButtonTitle": "parentViewButtonTitle"; "hour": "hour"; "minute": "minute"; "second": "second"; "millisecond": "millisecond"; "dayperiod": "dayperiod"; }, {}, never>;
|
|
96
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateTimePickerMessages, "kendo-datetimepicker-messages-base", never, { "toggle": "toggle"; "dateTab": "dateTab"; "dateTabLabel": "dateTabLabel"; "timeTab": "timeTab"; "timeTabLabel": "timeTabLabel"; "accept": "accept"; "acceptLabel": "acceptLabel"; "cancel": "cancel"; "cancelLabel": "cancelLabel"; "today": "today"; "now": "now"; "nowLabel": "nowLabel"; "prevButtonTitle": "prevButtonTitle"; "nextButtonTitle": "nextButtonTitle"; "parentViewButtonTitle": "parentViewButtonTitle"; "hour": "hour"; "minute": "minute"; "second": "second"; "millisecond": "millisecond"; "dayperiod": "dayperiod"; "clearTitle": "clearTitle"; }, {}, never, never, false, never>;
|
|
93
97
|
}
|
|
@@ -23,16 +23,16 @@ import * as i0 from "@angular/core";
|
|
|
23
23
|
*/
|
|
24
24
|
export class CalendarCommonModule {
|
|
25
25
|
}
|
|
26
|
-
CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
26
|
+
CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
27
|
+
CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, declarations: [KForOf,
|
|
28
28
|
HeaderComponent,
|
|
29
29
|
FooterComponent,
|
|
30
30
|
ViewComponent], imports: [CommonModule, EventsModule, ButtonModule], exports: [KForOf,
|
|
31
31
|
HeaderComponent,
|
|
32
32
|
FooterComponent,
|
|
33
33
|
ViewComponent] });
|
|
34
|
-
CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, imports: [CommonModule, EventsModule, ButtonModule] });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, decorators: [{
|
|
36
36
|
type: NgModule,
|
|
37
37
|
args: [{
|
|
38
38
|
declarations: [
|