@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
|
@@ -81,9 +81,9 @@ export class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
81
81
|
this.dateInput.notify();
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
85
|
-
DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
84
|
+
DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
85
|
+
DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
|
|
87
87
|
type: Directive,
|
|
88
88
|
args: [{
|
|
89
89
|
selector: '[kendoDateRangeStartInput]'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ContentChildren, QueryList, HostBinding, HostListener } from '@angular/core';
|
|
5
|
+
import { Component, ContentChildren, QueryList, HostBinding, HostListener, Input } from '@angular/core';
|
|
6
6
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
7
7
|
import { packageMetadata } from '../package-metadata';
|
|
8
8
|
import { DateRangePopupComponent } from './date-range-popup.component';
|
|
@@ -10,8 +10,8 @@ import { DateRangeService } from './date-range.service';
|
|
|
10
10
|
import { Keys } from '@progress/kendo-angular-common';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "./date-range.service";
|
|
13
|
-
import * as i2 from "
|
|
14
|
-
import * as i3 from "
|
|
13
|
+
import * as i2 from "@angular/common";
|
|
14
|
+
import * as i3 from "./date-range-popup.component";
|
|
15
15
|
/**
|
|
16
16
|
* Represents the Kendo UI DateRange component for Angular.
|
|
17
17
|
*
|
|
@@ -67,22 +67,24 @@ export class DateRangeComponent {
|
|
|
67
67
|
this.subscription?.unsubscribe();
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
70
|
+
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeComponent, deps: [{ token: i1.DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeComponent, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
72
72
|
<ng-content></ng-content>
|
|
73
|
-
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
74
|
-
`, isInline: true,
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
74
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["allowReverse", "animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle", "size"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
77
77
|
args: [{
|
|
78
78
|
providers: [DateRangeService],
|
|
79
79
|
selector: 'kendo-daterange',
|
|
80
80
|
template: `
|
|
81
81
|
<ng-content></ng-content>
|
|
82
|
-
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
82
|
+
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
83
83
|
`
|
|
84
84
|
}]
|
|
85
|
-
}], ctorParameters: function () { return [{ type: i1.DateRangeService }]; }, propDecorators: {
|
|
85
|
+
}], ctorParameters: function () { return [{ type: i1.DateRangeService }]; }, propDecorators: { size: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], keydown: [{
|
|
86
88
|
type: HostListener,
|
|
87
89
|
args: ['keydown', ['$event']]
|
|
88
90
|
}], wrapperClass: [{
|
|
@@ -75,8 +75,8 @@ const COMPONENT_MODULES = [
|
|
|
75
75
|
*/
|
|
76
76
|
export class DateRangeModule {
|
|
77
77
|
}
|
|
78
|
-
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
78
|
+
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
79
|
+
DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, declarations: [DateRangeComponent,
|
|
80
80
|
DateRangePopupComponent,
|
|
81
81
|
DateRangePopupTemplateDirective,
|
|
82
82
|
DateRangeSelectionDirective,
|
|
@@ -95,8 +95,8 @@ DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
95
95
|
DateRangeEndInputDirective,
|
|
96
96
|
DateRangePopupCustomMessagesComponent,
|
|
97
97
|
DateRangePopupLocalizedMessagesDirective] });
|
|
98
|
-
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
98
|
+
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, imports: [CommonModule, COMPONENT_MODULES] });
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, decorators: [{
|
|
100
100
|
type: NgModule,
|
|
101
101
|
args: [{
|
|
102
102
|
declarations: [COMPONENT_DIRECTIVES],
|
|
@@ -134,7 +134,6 @@ export class DateRangeService {
|
|
|
134
134
|
this.renderer.setAttribute(this.inputStartElement, attributeNames.ariaActiveDescendant, id);
|
|
135
135
|
this.renderer.setAttribute(this.inputEndElement, attributeNames.ariaActiveDescendant, id);
|
|
136
136
|
}
|
|
137
|
-
;
|
|
138
137
|
/**
|
|
139
138
|
* @hidden
|
|
140
139
|
*
|
|
@@ -216,9 +215,9 @@ export class DateRangeService {
|
|
|
216
215
|
this.range$.next(range);
|
|
217
216
|
}
|
|
218
217
|
}
|
|
219
|
-
DateRangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
220
|
-
DateRangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
218
|
+
DateRangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeService, deps: [{ token: i0.Renderer2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
219
|
+
DateRangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeService });
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeService, decorators: [{
|
|
222
221
|
type: Injectable
|
|
223
222
|
}], ctorParameters: function () { return [{ type: i0.Renderer2, decorators: [{
|
|
224
223
|
type: Optional
|
|
@@ -19,14 +19,14 @@ export class DateRangePopupCustomMessagesComponent extends DateRangePopupMessage
|
|
|
19
19
|
return true;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
DateRangePopupCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
DateRangePopupCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
22
|
+
DateRangePopupCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
DateRangePopupCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupCustomMessagesComponent, selector: "kendo-daterange-popup-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: DateRangePopupMessages,
|
|
26
26
|
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
27
27
|
}
|
|
28
28
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupCustomMessagesComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
providers: [
|
|
@@ -16,14 +16,14 @@ export class DateRangePopupLocalizedMessagesDirective extends DateRangePopupMess
|
|
|
16
16
|
this.service = service;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
DateRangePopupLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
DateRangePopupLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
19
|
+
DateRangePopupLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
DateRangePopupLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: DateRangePopupMessages,
|
|
23
23
|
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
24
24
|
}
|
|
25
25
|
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupLocalizedMessagesDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
providers: [
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class DateRangePopupMessages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
|
-
DateRangePopupMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
DateRangePopupMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
DateRangePopupMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
DateRangePopupMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupMessages, selector: "kendo-daterangepopup-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupMessages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
// eslint-disable-next-line
|
|
@@ -42,17 +42,18 @@ import * as i2 from "@progress/kendo-angular-intl";
|
|
|
42
42
|
import * as i3 from "../common/picker.service";
|
|
43
43
|
import * as i4 from "@progress/kendo-angular-l10n";
|
|
44
44
|
import * as i5 from "../calendar/services/disabled-dates.service";
|
|
45
|
-
import * as i6 from "
|
|
46
|
-
import * as i7 from "
|
|
47
|
-
import * as i8 from "
|
|
48
|
-
import * as i9 from "
|
|
49
|
-
import * as i10 from "
|
|
50
|
-
import * as i11 from "../
|
|
51
|
-
import * as i12 from "../
|
|
52
|
-
import * as i13 from "
|
|
53
|
-
import * as i14 from "
|
|
54
|
-
import * as i15 from "
|
|
55
|
-
import * as i16 from "@angular
|
|
45
|
+
import * as i6 from "@angular/common";
|
|
46
|
+
import * as i7 from "../dateinput/dateinput.component";
|
|
47
|
+
import * as i8 from "../dateinput/localization/dateinput-custom-messages.component";
|
|
48
|
+
import * as i9 from "../calendar/calendar.component";
|
|
49
|
+
import * as i10 from "../calendar/localization/calendar-custom-messages.component";
|
|
50
|
+
import * as i11 from "../timepicker/localization/timeselector-custom-messages.component";
|
|
51
|
+
import * as i12 from "../timepicker/timeselector.component";
|
|
52
|
+
import * as i13 from "@progress/kendo-angular-common";
|
|
53
|
+
import * as i14 from "@progress/kendo-angular-icons";
|
|
54
|
+
import * as i15 from "@progress/kendo-angular-navigation";
|
|
55
|
+
import * as i16 from "@progress/kendo-angular-buttons";
|
|
56
|
+
import * as i17 from "./localization/localized-messages.directive";
|
|
56
57
|
const timeFormatRegExp = new RegExp(`${TIME_PART.hour}|${TIME_PART.minute}|${TIME_PART.second}|${TIME_PART.dayperiod}|literal`);
|
|
57
58
|
const VALUE_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/integration-with-json/';
|
|
58
59
|
const MIN_MAX_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits/';
|
|
@@ -63,6 +64,7 @@ const TWO_DIGIT_YEAR_MAX = 68;
|
|
|
63
64
|
const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
|
|
64
65
|
const CANCEL_BUTTON_SELECOTR = '.k-button.k-time-cancel';
|
|
65
66
|
const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-date-tab';
|
|
67
|
+
const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-time-tab';
|
|
66
68
|
/**
|
|
67
69
|
* Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
|
|
68
70
|
*/
|
|
@@ -216,6 +218,12 @@ export class DateTimePickerComponent {
|
|
|
216
218
|
* @default false
|
|
217
219
|
*/
|
|
218
220
|
this.allowCaretMode = false;
|
|
221
|
+
/**
|
|
222
|
+
* If set to `true`, renders a clear button after the input text or DateTimePicker value has been changed.
|
|
223
|
+
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
224
|
+
* @default false
|
|
225
|
+
*/
|
|
226
|
+
this.clearButton = false;
|
|
219
227
|
/**
|
|
220
228
|
* When enabled, the DateTimePicker will autofill the rest of the date to the current date when the component loses focus.
|
|
221
229
|
*
|
|
@@ -601,7 +609,6 @@ export class DateTimePickerComponent {
|
|
|
601
609
|
if (!this.isOpen || this.windowSize === windowSize()) {
|
|
602
610
|
return;
|
|
603
611
|
}
|
|
604
|
-
;
|
|
605
612
|
if (this.actionSheet.expanded) {
|
|
606
613
|
this.toggleActionSheet(false);
|
|
607
614
|
}
|
|
@@ -641,7 +648,6 @@ export class DateTimePickerComponent {
|
|
|
641
648
|
get popupUID() {
|
|
642
649
|
return this.calendar?.popupId;
|
|
643
650
|
}
|
|
644
|
-
;
|
|
645
651
|
get acceptButton() {
|
|
646
652
|
if (this.isAdaptive) {
|
|
647
653
|
return this.actionSheet.element.nativeElement.querySelector(ACCEPT_BUTTON_SELECTOR);
|
|
@@ -650,7 +656,6 @@ export class DateTimePickerComponent {
|
|
|
650
656
|
return this.popupRef?.popup.instance.container.nativeElement.querySelector(ACCEPT_BUTTON_SELECTOR);
|
|
651
657
|
}
|
|
652
658
|
}
|
|
653
|
-
;
|
|
654
659
|
get cancelButtonElement() {
|
|
655
660
|
if (this.isAdaptive) {
|
|
656
661
|
return this.actionSheet.element.nativeElement.querySelector(CANCEL_BUTTON_SELECOTR);
|
|
@@ -659,11 +664,12 @@ export class DateTimePickerComponent {
|
|
|
659
664
|
return this.popupRef?.popup.instance.container.nativeElement.querySelector(CANCEL_BUTTON_SELECOTR);
|
|
660
665
|
}
|
|
661
666
|
}
|
|
662
|
-
;
|
|
663
667
|
get dateTabButton() {
|
|
664
668
|
return this.popupRef?.popup.instance.container.nativeElement.querySelector(DATE_TAB_BUTTON_SELECTOR);
|
|
665
669
|
}
|
|
666
|
-
|
|
670
|
+
get timeTabButton() {
|
|
671
|
+
return this.popupRef?.popup.instance.container.nativeElement.querySelector(TIME_TAB_BUTTON_SELECTOR);
|
|
672
|
+
}
|
|
667
673
|
/**
|
|
668
674
|
* @hidden
|
|
669
675
|
*/
|
|
@@ -910,6 +916,12 @@ export class DateTimePickerComponent {
|
|
|
910
916
|
this.dateTabButton.focus();
|
|
911
917
|
}
|
|
912
918
|
}
|
|
919
|
+
/**
|
|
920
|
+
* @hidden
|
|
921
|
+
*/
|
|
922
|
+
onTabOutNow() {
|
|
923
|
+
this.timeTabButton.focus();
|
|
924
|
+
}
|
|
913
925
|
/**
|
|
914
926
|
* @hidden
|
|
915
927
|
*/
|
|
@@ -1033,7 +1045,7 @@ export class DateTimePickerComponent {
|
|
|
1033
1045
|
this.calendar.monthView.list.nativeElement.focus();
|
|
1034
1046
|
}
|
|
1035
1047
|
else {
|
|
1036
|
-
this.timeSelector.focus();
|
|
1048
|
+
this.timeSelector.timeLists.last.focus();
|
|
1037
1049
|
}
|
|
1038
1050
|
}
|
|
1039
1051
|
break;
|
|
@@ -1260,6 +1272,7 @@ export class DateTimePickerComponent {
|
|
|
1260
1272
|
if (isEqual(this.value, value)) {
|
|
1261
1273
|
return;
|
|
1262
1274
|
}
|
|
1275
|
+
this.dateInput.showClearButton = true;
|
|
1263
1276
|
this.value = cloneDate(value);
|
|
1264
1277
|
this.onControlChange(cloneDate(value));
|
|
1265
1278
|
this.valueChange.emit(cloneDate(value));
|
|
@@ -1328,8 +1341,8 @@ export class DateTimePickerComponent {
|
|
|
1328
1341
|
}
|
|
1329
1342
|
}
|
|
1330
1343
|
}
|
|
1331
|
-
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1332
|
-
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1344
|
+
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1.PopupService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i3.PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }, { token: i4.LocalizationService }, { token: i5.DisabledDatesService }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1345
|
+
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { 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", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass", "class.k-readonly": "this.readonly" } }, providers: [
|
|
1333
1346
|
PickerService,
|
|
1334
1347
|
LocalizationService,
|
|
1335
1348
|
DisabledDatesService,
|
|
@@ -1400,12 +1413,16 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1400
1413
|
|
|
1401
1414
|
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
1402
1415
|
dayperiod="Dayperiod"
|
|
1416
|
+
|
|
1417
|
+
i18n-clearTitle="kendo.datetimepicker.clearTitle|The title of the clear button"
|
|
1418
|
+
clearTitle="clear"
|
|
1403
1419
|
>
|
|
1404
1420
|
</ng-container>
|
|
1405
1421
|
|
|
1406
1422
|
<kendo-dateinput
|
|
1407
1423
|
[value]="value"
|
|
1408
1424
|
[format]="format"
|
|
1425
|
+
[clearButton]="clearButton"
|
|
1409
1426
|
[twoDigitYearMax]="twoDigitYearMax"
|
|
1410
1427
|
[min]="min"
|
|
1411
1428
|
[max]="max"
|
|
@@ -1441,6 +1458,10 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1441
1458
|
[size]="size"
|
|
1442
1459
|
(click)="handleDateInputClick()"
|
|
1443
1460
|
>
|
|
1461
|
+
<kendo-dateinput-messages
|
|
1462
|
+
[clearTitle]="localization.get('clearTitle')"
|
|
1463
|
+
>
|
|
1464
|
+
</kendo-dateinput-messages>
|
|
1444
1465
|
</kendo-dateinput>
|
|
1445
1466
|
<button
|
|
1446
1467
|
#toggleButton
|
|
@@ -1601,8 +1622,8 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1601
1622
|
<div class="k-datetime-calendar-wrap">
|
|
1602
1623
|
<kendo-calendar
|
|
1603
1624
|
#calendar
|
|
1604
|
-
[ngClass]="{'k-calendar-lg': isAdaptive}"
|
|
1605
1625
|
[focusedDate]="focusedDate"
|
|
1626
|
+
[size]="isAdaptive ? 'large' : size"
|
|
1606
1627
|
[(value)]="calendarValue"
|
|
1607
1628
|
[type]="calendarType"
|
|
1608
1629
|
[min]="calendarMin"
|
|
@@ -1649,6 +1670,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1649
1670
|
[isAdaptiveEnabled]="isAdaptiveModeEnabled"
|
|
1650
1671
|
[isDateTimePicker]="true"
|
|
1651
1672
|
(tabOutLastPart)="onTabOutLastPart()"
|
|
1673
|
+
(tabOutNow)="onTabOutNow()"
|
|
1652
1674
|
>
|
|
1653
1675
|
<kendo-timeselector-messages
|
|
1654
1676
|
[acceptLabel]="localization.get('acceptLabel')"
|
|
@@ -1709,8 +1731,8 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1709
1731
|
</div>
|
|
1710
1732
|
</div>
|
|
1711
1733
|
</ng-template>
|
|
1712
|
-
`, isInline: true,
|
|
1713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1734
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i7.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: i8.DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "component", type: i9.CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: i10.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: i11.TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: i12.TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "directive", type: i13.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i14.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i15.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i15.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i13.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i16.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i17.LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
1714
1736
|
type: Component,
|
|
1715
1737
|
args: [{
|
|
1716
1738
|
selector: 'kendo-datetimepicker',
|
|
@@ -1788,12 +1810,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1788
1810
|
|
|
1789
1811
|
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
1790
1812
|
dayperiod="Dayperiod"
|
|
1813
|
+
|
|
1814
|
+
i18n-clearTitle="kendo.datetimepicker.clearTitle|The title of the clear button"
|
|
1815
|
+
clearTitle="clear"
|
|
1791
1816
|
>
|
|
1792
1817
|
</ng-container>
|
|
1793
1818
|
|
|
1794
1819
|
<kendo-dateinput
|
|
1795
1820
|
[value]="value"
|
|
1796
1821
|
[format]="format"
|
|
1822
|
+
[clearButton]="clearButton"
|
|
1797
1823
|
[twoDigitYearMax]="twoDigitYearMax"
|
|
1798
1824
|
[min]="min"
|
|
1799
1825
|
[max]="max"
|
|
@@ -1829,6 +1855,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1829
1855
|
[size]="size"
|
|
1830
1856
|
(click)="handleDateInputClick()"
|
|
1831
1857
|
>
|
|
1858
|
+
<kendo-dateinput-messages
|
|
1859
|
+
[clearTitle]="localization.get('clearTitle')"
|
|
1860
|
+
>
|
|
1861
|
+
</kendo-dateinput-messages>
|
|
1832
1862
|
</kendo-dateinput>
|
|
1833
1863
|
<button
|
|
1834
1864
|
#toggleButton
|
|
@@ -1989,8 +2019,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1989
2019
|
<div class="k-datetime-calendar-wrap">
|
|
1990
2020
|
<kendo-calendar
|
|
1991
2021
|
#calendar
|
|
1992
|
-
[ngClass]="{'k-calendar-lg': isAdaptive}"
|
|
1993
2022
|
[focusedDate]="focusedDate"
|
|
2023
|
+
[size]="isAdaptive ? 'large' : size"
|
|
1994
2024
|
[(value)]="calendarValue"
|
|
1995
2025
|
[type]="calendarType"
|
|
1996
2026
|
[min]="calendarMin"
|
|
@@ -2037,6 +2067,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2037
2067
|
[isAdaptiveEnabled]="isAdaptiveModeEnabled"
|
|
2038
2068
|
[isDateTimePicker]="true"
|
|
2039
2069
|
(tabOutLastPart)="onTabOutLastPart()"
|
|
2070
|
+
(tabOutNow)="onTabOutNow()"
|
|
2040
2071
|
>
|
|
2041
2072
|
<kendo-timeselector-messages
|
|
2042
2073
|
[acceptLabel]="localization.get('acceptLabel')"
|
|
@@ -2181,6 +2212,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2181
2212
|
type: Input
|
|
2182
2213
|
}], allowCaretMode: [{
|
|
2183
2214
|
type: Input
|
|
2215
|
+
}], clearButton: [{
|
|
2216
|
+
type: Input
|
|
2184
2217
|
}], autoFill: [{
|
|
2185
2218
|
type: Input
|
|
2186
2219
|
}], adaptiveMode: [{
|
|
@@ -30,8 +30,8 @@ const COMPONENT_DIRECTIVES = [
|
|
|
30
30
|
*/
|
|
31
31
|
export class DateTimePickerModule {
|
|
32
32
|
}
|
|
33
|
-
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
33
|
+
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
34
|
+
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, declarations: [DateTimePickerComponent,
|
|
35
35
|
DateTimePickerCustomMessagesComponent,
|
|
36
36
|
LocalizedMessagesDirective], imports: [CommonModule,
|
|
37
37
|
IntlModule,
|
|
@@ -46,22 +46,20 @@ DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
|
|
|
46
46
|
DateTimePickerCustomMessagesComponent,
|
|
47
47
|
LocalizedMessagesDirective, TemplatesModule,
|
|
48
48
|
ToggleButtonTabStopModule] });
|
|
49
|
-
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
49
|
+
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
50
50
|
{ provide: TOUCH_ENABLED, useValue: touchEnabled }
|
|
51
|
-
], imports: [
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
AdaptiveModule
|
|
62
|
-
], TemplatesModule,
|
|
51
|
+
], imports: [CommonModule,
|
|
52
|
+
IntlModule,
|
|
53
|
+
DateInputModule,
|
|
54
|
+
CalendarModule,
|
|
55
|
+
TimePickerModule,
|
|
56
|
+
PopupModule,
|
|
57
|
+
EventsModule,
|
|
58
|
+
TemplatesModule,
|
|
59
|
+
IconsModule,
|
|
60
|
+
AdaptiveModule, TemplatesModule,
|
|
63
61
|
ToggleButtonTabStopModule] });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
65
63
|
type: NgModule,
|
|
66
64
|
args: [{
|
|
67
65
|
declarations: [
|
|
@@ -19,14 +19,14 @@ export class DateTimePickerCustomMessagesComponent extends DateTimePickerMessage
|
|
|
19
19
|
return true;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
22
|
+
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: DateTimePickerMessages,
|
|
26
26
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
27
27
|
}
|
|
28
28
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
providers: [
|
|
@@ -16,14 +16,14 @@ export class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
|
16
16
|
this.service = service;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
19
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: DateTimePickerMessages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
24
|
}
|
|
25
25
|
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
providers: [
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class DateTimePickerMessages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
|
-
DateTimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
DateTimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
DateTimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
DateTimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerMessages, selector: "kendo-datetimepicker-messages-base", inputs: { 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" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerMessages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
// eslint-disable-next-line
|
|
@@ -58,4 +58,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
58
58
|
type: Input
|
|
59
59
|
}], dayperiod: [{
|
|
60
60
|
type: Input
|
|
61
|
+
}], clearTitle: [{
|
|
62
|
+
type: Input
|
|
61
63
|
}] } });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.0.0-develop.
|
|
12
|
+
publishDate: 1715338566,
|
|
13
|
+
version: '16.0.0-develop.20',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class TimePickerMessages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
|
-
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
TimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
TimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerMessages, selector: "kendo-timepicker-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", now: "now", nowLabel: "nowLabel", toggle: "toggle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
// eslint-disable-next-line
|
|
@@ -42,4 +42,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
42
42
|
type: Input
|
|
43
43
|
}], dayperiod: [{
|
|
44
44
|
type: Input
|
|
45
|
+
}], clearTitle: [{
|
|
46
|
+
type: Input
|
|
45
47
|
}] } });
|
|
@@ -19,14 +19,14 @@ export class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
|
19
19
|
return true;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
TimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
22
|
+
TimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerCustomMessagesComponent, selector: "kendo-timepicker-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: TimePickerMessages,
|
|
26
26
|
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
27
27
|
}
|
|
28
28
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
providers: [
|