@progress/kendo-angular-dateinputs 16.0.0-develop.13 → 16.0.0-develop.15
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/header.component.d.ts +3 -2
- package/calendar/multiview-calendar.component.d.ts +18 -1
- package/calendar/view-list.component.d.ts +3 -1
- package/daterange/date-range-popup.component.d.ts +16 -1
- package/daterange/date-range.component.d.ts +16 -1
- package/datetimepicker/datetimepicker.component.d.ts +5 -0
- package/esm2020/calendar/calendar.component.mjs +16 -13
- package/esm2020/calendar/header.component.mjs +39 -21
- package/esm2020/calendar/horizontal-view-list.component.mjs +2 -2
- package/esm2020/calendar/multiview-calendar.component.mjs +38 -7
- package/esm2020/calendar/services/dom.service.mjs +2 -2
- package/esm2020/calendar/view-list.component.mjs +6 -2
- package/esm2020/common/utils.mjs +1 -1
- package/esm2020/datepicker/datepicker.component.mjs +2 -2
- package/esm2020/daterange/date-range-popup.component.mjs +6 -2
- package/esm2020/daterange/date-range.component.mjs +8 -6
- package/esm2020/datetimepicker/datetimepicker.component.mjs +16 -4
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/timepicker.component.mjs +1 -1
- package/esm2020/timepicker/timeselector.component.mjs +22 -7
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +161 -71
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +159 -70
- package/package.json +8 -8
- package/timepicker/timeselector.component.d.ts +2 -1
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dateinputs',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.0.0-develop.
|
|
41
|
+
publishDate: 1715175739,
|
|
42
|
+
version: '16.0.0-develop.15',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -158,7 +158,7 @@ var Keys;
|
|
|
158
158
|
*/
|
|
159
159
|
const selectors = {
|
|
160
160
|
infiniteCalendarTable: '.k-content .k-calendar-table',
|
|
161
|
-
multiViewCalendarTable: '.k-
|
|
161
|
+
multiViewCalendarTable: '.k-calendar-table'
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
164
164
|
* @hidden
|
|
@@ -2297,7 +2297,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
2297
2297
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2298
2298
|
<table
|
|
2299
2299
|
[attr.role]="views >= 2 ? 'none' : 'grid'"
|
|
2300
|
-
class="k-
|
|
2300
|
+
class="k-calendar-table"
|
|
2301
2301
|
[ngClass]="class"
|
|
2302
2302
|
[attr.aria-labelledby]="id"
|
|
2303
2303
|
[attr.aria-activedescendant]="getActiveDescendant"
|
|
@@ -2386,7 +2386,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2386
2386
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2387
2387
|
<table
|
|
2388
2388
|
[attr.role]="views >= 2 ? 'none' : 'grid'"
|
|
2389
|
-
class="k-
|
|
2389
|
+
class="k-calendar-table"
|
|
2390
2390
|
[ngClass]="class"
|
|
2391
2391
|
[attr.aria-labelledby]="id"
|
|
2392
2392
|
[attr.aria-activedescendant]="getActiveDescendant"
|
|
@@ -2603,9 +2603,6 @@ class HeaderComponent {
|
|
|
2603
2603
|
this.getComponentClass = true;
|
|
2604
2604
|
this.subscriptions = new Subscription();
|
|
2605
2605
|
}
|
|
2606
|
-
get horizontalHostClass() {
|
|
2607
|
-
return this.orientation === 'horizontal';
|
|
2608
|
-
}
|
|
2609
2606
|
get verticalHostClass() {
|
|
2610
2607
|
return this.orientation === 'vertical';
|
|
2611
2608
|
}
|
|
@@ -2680,18 +2677,23 @@ class HeaderComponent {
|
|
|
2680
2677
|
}
|
|
2681
2678
|
}
|
|
2682
2679
|
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeaderComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1$1.LocalizationService }, { token: i1.IntlService }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2683
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", titleTemplateRef: "titleTemplateRef", headerTemplateRef: "headerTemplateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-
|
|
2680
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", titleTemplateRef: "titleTemplateRef", headerTemplateRef: "headerTemplateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id", size: "size" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2684
2681
|
<ng-template *ngIf="headerTemplateRef; else defaultRendering"
|
|
2685
2682
|
[ngTemplateOutlet]="headerTemplateRef"
|
|
2686
2683
|
[ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
|
|
2687
2684
|
</ng-template>
|
|
2688
2685
|
<ng-template #defaultRendering>
|
|
2689
|
-
<
|
|
2686
|
+
<button
|
|
2687
|
+
kendoButton
|
|
2688
|
+
class="k-calendar-title"
|
|
2690
2689
|
role="button"
|
|
2691
2690
|
[id]="id"
|
|
2691
|
+
type="button"
|
|
2692
|
+
fillMode="flat"
|
|
2693
|
+
[size]="size"
|
|
2694
|
+
themeColor="primary"
|
|
2692
2695
|
tabindex="-1"
|
|
2693
|
-
[
|
|
2694
|
-
[attr.aria-disabled]="isDisabled()"
|
|
2696
|
+
[disabled]="!navigate"
|
|
2695
2697
|
[kendoEventsOutsideAngular]="{
|
|
2696
2698
|
click: handleNavigation
|
|
2697
2699
|
}"
|
|
@@ -2703,13 +2705,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
2703
2705
|
[ngTemplateOutlet]="titleTemplateRef"
|
|
2704
2706
|
[ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
|
|
2705
2707
|
></ng-template>
|
|
2706
|
-
</
|
|
2708
|
+
</button>
|
|
2707
2709
|
<span class="k-spacer"></span>
|
|
2708
2710
|
<span class="k-calendar-nav k-hstack">
|
|
2709
2711
|
<button
|
|
2710
2712
|
*ngIf="showNavigationButtons"
|
|
2711
2713
|
kendoButton
|
|
2712
2714
|
fillMode="flat"
|
|
2715
|
+
[size]="size"
|
|
2713
2716
|
[svgIcon]="chevronLeftIcon"
|
|
2714
2717
|
icon="chevron-left"
|
|
2715
2718
|
tabindex="-1"
|
|
@@ -2722,9 +2725,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
2722
2725
|
>
|
|
2723
2726
|
</button>
|
|
2724
2727
|
<button
|
|
2725
|
-
|
|
2728
|
+
kendoButton
|
|
2729
|
+
class="k-calendar-nav-today"
|
|
2726
2730
|
tabindex="-1"
|
|
2727
|
-
|
|
2731
|
+
themeColor="primary"
|
|
2732
|
+
fillMode="flat"
|
|
2733
|
+
role="link"
|
|
2734
|
+
[size]="size"
|
|
2735
|
+
[disabled]="!todayAvailable"
|
|
2728
2736
|
[kendoEventsOutsideAngular]="{
|
|
2729
2737
|
click: handleTodayClick
|
|
2730
2738
|
}"
|
|
@@ -2750,7 +2758,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
2750
2758
|
</button>
|
|
2751
2759
|
</span>
|
|
2752
2760
|
</ng-template>
|
|
2753
|
-
|
|
2761
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i7.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"] }] });
|
|
2754
2762
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
2755
2763
|
type: Component,
|
|
2756
2764
|
args: [{
|
|
@@ -2761,12 +2769,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2761
2769
|
[ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
|
|
2762
2770
|
</ng-template>
|
|
2763
2771
|
<ng-template #defaultRendering>
|
|
2764
|
-
<
|
|
2772
|
+
<button
|
|
2773
|
+
kendoButton
|
|
2774
|
+
class="k-calendar-title"
|
|
2765
2775
|
role="button"
|
|
2766
2776
|
[id]="id"
|
|
2777
|
+
type="button"
|
|
2778
|
+
fillMode="flat"
|
|
2779
|
+
[size]="size"
|
|
2780
|
+
themeColor="primary"
|
|
2767
2781
|
tabindex="-1"
|
|
2768
|
-
[
|
|
2769
|
-
[attr.aria-disabled]="isDisabled()"
|
|
2782
|
+
[disabled]="!navigate"
|
|
2770
2783
|
[kendoEventsOutsideAngular]="{
|
|
2771
2784
|
click: handleNavigation
|
|
2772
2785
|
}"
|
|
@@ -2778,13 +2791,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2778
2791
|
[ngTemplateOutlet]="titleTemplateRef"
|
|
2779
2792
|
[ngTemplateOutletContext]="{ $implicit: title, activeView: activeViewValue, date: currentDate }"
|
|
2780
2793
|
></ng-template>
|
|
2781
|
-
</
|
|
2794
|
+
</button>
|
|
2782
2795
|
<span class="k-spacer"></span>
|
|
2783
2796
|
<span class="k-calendar-nav k-hstack">
|
|
2784
2797
|
<button
|
|
2785
2798
|
*ngIf="showNavigationButtons"
|
|
2786
2799
|
kendoButton
|
|
2787
2800
|
fillMode="flat"
|
|
2801
|
+
[size]="size"
|
|
2788
2802
|
[svgIcon]="chevronLeftIcon"
|
|
2789
2803
|
icon="chevron-left"
|
|
2790
2804
|
tabindex="-1"
|
|
@@ -2797,9 +2811,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2797
2811
|
>
|
|
2798
2812
|
</button>
|
|
2799
2813
|
<button
|
|
2800
|
-
|
|
2814
|
+
kendoButton
|
|
2815
|
+
class="k-calendar-nav-today"
|
|
2801
2816
|
tabindex="-1"
|
|
2802
|
-
|
|
2817
|
+
themeColor="primary"
|
|
2818
|
+
fillMode="flat"
|
|
2819
|
+
role="link"
|
|
2820
|
+
[size]="size"
|
|
2821
|
+
[disabled]="!todayAvailable"
|
|
2803
2822
|
[kendoEventsOutsideAngular]="{
|
|
2804
2823
|
click: handleTodayClick
|
|
2805
2824
|
}"
|
|
@@ -2825,7 +2844,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2825
2844
|
</button>
|
|
2826
2845
|
</span>
|
|
2827
2846
|
</ng-template>
|
|
2828
|
-
|
|
2847
|
+
`
|
|
2829
2848
|
}]
|
|
2830
2849
|
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.ChangeDetectorRef }, { type: i1$1.LocalizationService }, { type: i1.IntlService }, { type: DisabledDatesService }]; }, propDecorators: { activeView: [{
|
|
2831
2850
|
type: Input
|
|
@@ -2851,6 +2870,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2851
2870
|
type: Input
|
|
2852
2871
|
}], id: [{
|
|
2853
2872
|
type: Input
|
|
2873
|
+
}], size: [{
|
|
2874
|
+
type: Input
|
|
2854
2875
|
}], todayButtonClick: [{
|
|
2855
2876
|
type: Output
|
|
2856
2877
|
}], prevButtonClick: [{
|
|
@@ -2860,9 +2881,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2860
2881
|
}], getComponentClass: [{
|
|
2861
2882
|
type: HostBinding,
|
|
2862
2883
|
args: ["class.k-calendar-header"]
|
|
2863
|
-
}], horizontalHostClass: [{
|
|
2864
|
-
type: HostBinding,
|
|
2865
|
-
args: ["class.k-hstack"]
|
|
2866
2884
|
}], verticalHostClass: [{
|
|
2867
2885
|
type: HostBinding,
|
|
2868
2886
|
args: ["class.k-vstack"]
|
|
@@ -3578,6 +3596,7 @@ class MultiViewCalendarComponent {
|
|
|
3578
3596
|
* Determines whether to display the calendar header.
|
|
3579
3597
|
*/
|
|
3580
3598
|
this.showCalendarHeader = true;
|
|
3599
|
+
this._size = DEFAULT_SIZE;
|
|
3581
3600
|
/**
|
|
3582
3601
|
* Toggles the visibility of the footer.
|
|
3583
3602
|
* @default false
|
|
@@ -3750,9 +3769,32 @@ class MultiViewCalendarComponent {
|
|
|
3750
3769
|
this.maxValidateFn = noop$2;
|
|
3751
3770
|
this.disabledDatesRangeValidateFn = noop$2;
|
|
3752
3771
|
this.subscriptions = new Subscription();
|
|
3753
|
-
this.setClasses(element.nativeElement);
|
|
3754
3772
|
this.id = `kendo-multiviewcalendarid-${this.bus.calendarId}-`;
|
|
3755
3773
|
}
|
|
3774
|
+
/**
|
|
3775
|
+
* @hidden
|
|
3776
|
+
*
|
|
3777
|
+
* TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
|
|
3778
|
+
* Sets the size of the component.
|
|
3779
|
+
*
|
|
3780
|
+
* The possible values are:
|
|
3781
|
+
* * `small`
|
|
3782
|
+
* * `medium` (Default)
|
|
3783
|
+
* * `large`
|
|
3784
|
+
* * `none`
|
|
3785
|
+
*
|
|
3786
|
+
*/
|
|
3787
|
+
set size(size) {
|
|
3788
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
3789
|
+
this.renderer.removeClass(this.element.nativeElement, getSizeClass('calendar', this.size));
|
|
3790
|
+
if (newSize !== 'none') {
|
|
3791
|
+
this.renderer.addClass(this.element.nativeElement, getSizeClass('calendar', newSize));
|
|
3792
|
+
}
|
|
3793
|
+
this._size = newSize;
|
|
3794
|
+
}
|
|
3795
|
+
get size() {
|
|
3796
|
+
return this._size;
|
|
3797
|
+
}
|
|
3756
3798
|
/**
|
|
3757
3799
|
* Sets or gets the `focusedDate` property of the Calendar and
|
|
3758
3800
|
* defines the focused date of the component
|
|
@@ -4128,6 +4170,7 @@ class MultiViewCalendarComponent {
|
|
|
4128
4170
|
}
|
|
4129
4171
|
}
|
|
4130
4172
|
ngOnInit() {
|
|
4173
|
+
this.setClasses(this.element.nativeElement);
|
|
4131
4174
|
this.subscriptions.add(this.bus.viewChanged.subscribe(({ view }) => {
|
|
4132
4175
|
this.activeView = CalendarViewEnum[view];
|
|
4133
4176
|
this.activeViewChange.emit(this.activeView);
|
|
@@ -4197,7 +4240,7 @@ class MultiViewCalendarComponent {
|
|
|
4197
4240
|
return;
|
|
4198
4241
|
}
|
|
4199
4242
|
const activeElement = this.views >= 2 ? this.element.nativeElement.querySelector('.k-calendar-view') :
|
|
4200
|
-
this.element.nativeElement.querySelector('.k-
|
|
4243
|
+
this.element.nativeElement.querySelector('.k-calendar-table');
|
|
4201
4244
|
activeElement.blur();
|
|
4202
4245
|
}
|
|
4203
4246
|
/**
|
|
@@ -4405,9 +4448,11 @@ class MultiViewCalendarComponent {
|
|
|
4405
4448
|
});
|
|
4406
4449
|
}
|
|
4407
4450
|
setClasses(element) {
|
|
4408
|
-
this.renderer.addClass(element, 'k-widget');
|
|
4409
4451
|
this.renderer.addClass(element, 'k-calendar');
|
|
4410
|
-
this.renderer.addClass(element, '
|
|
4452
|
+
this.renderer.addClass(element, getSizeClass('calendar', this.size));
|
|
4453
|
+
if (this.views >= 2) {
|
|
4454
|
+
this.renderer.addClass(element, 'k-calendar-range');
|
|
4455
|
+
}
|
|
4411
4456
|
}
|
|
4412
4457
|
verifyChanges() {
|
|
4413
4458
|
if (!isDevMode()) {
|
|
@@ -4539,7 +4584,7 @@ class MultiViewCalendarComponent {
|
|
|
4539
4584
|
}
|
|
4540
4585
|
}
|
|
4541
4586
|
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: BusViewService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: DisabledDatesService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4542
|
-
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: { showOtherMonthDays: "showOtherMonthDays", showCalendarHeader: "showCalendarHeader", id: "id", focusedDate: "focusedDate", footer: "footer", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", weekDaysFormat: "weekDaysFormat", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", orientation: "orientation", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", rangeSelectionChange: "rangeSelectionChange", blurEvent: "blur", focusEvent: "focus", focusCalendar: "focusCalendar", onClosePopup: "onClosePopup", onTabPress: "onTabPress", onShiftTabPress: "onShiftTabPress" }, host: { listeners: { "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
4587
|
+
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: { showOtherMonthDays: "showOtherMonthDays", showCalendarHeader: "showCalendarHeader", size: "size", id: "id", focusedDate: "focusedDate", footer: "footer", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", weekDaysFormat: "weekDaysFormat", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", orientation: "orientation", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", rangeSelectionChange: "rangeSelectionChange", blurEvent: "blur", focusEvent: "focus", focusCalendar: "focusCalendar", onClosePopup: "onClosePopup", onTabPress: "onTabPress", onShiftTabPress: "onShiftTabPress" }, host: { listeners: { "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
4543
4588
|
BusViewService,
|
|
4544
4589
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
4545
4590
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -4570,6 +4615,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
4570
4615
|
*ngIf="showCalendarHeader"
|
|
4571
4616
|
[activeView]="activeViewEnum"
|
|
4572
4617
|
[currentDate]="activeDate"
|
|
4618
|
+
[size]="size"
|
|
4573
4619
|
[min]="min"
|
|
4574
4620
|
[max]="max"
|
|
4575
4621
|
[id]="headerId"
|
|
@@ -4625,7 +4671,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
4625
4671
|
[activeViewValue]="activeView"
|
|
4626
4672
|
[currentDate]="activeDate">
|
|
4627
4673
|
</kendo-calendar-footer>
|
|
4628
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }, { kind: "component", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["showOtherMonthDays", "cellTemplateRef", "weekNumberTemplateRef", "allowReverse", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "orientation", "activeDescendant", "tabIndex", "disabled", "id", "weekDaysFormat", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "directive", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4674
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }, { kind: "component", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["showOtherMonthDays", "cellTemplateRef", "weekNumberTemplateRef", "allowReverse", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "orientation", "activeDescendant", "tabIndex", "disabled", "id", "weekDaysFormat", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "directive", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4629
4675
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
4630
4676
|
type: Component,
|
|
4631
4677
|
args: [{
|
|
@@ -4664,6 +4710,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
4664
4710
|
*ngIf="showCalendarHeader"
|
|
4665
4711
|
[activeView]="activeViewEnum"
|
|
4666
4712
|
[currentDate]="activeDate"
|
|
4713
|
+
[size]="size"
|
|
4667
4714
|
[min]="min"
|
|
4668
4715
|
[max]="max"
|
|
4669
4716
|
[id]="headerId"
|
|
@@ -4725,6 +4772,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
4725
4772
|
type: Input
|
|
4726
4773
|
}], showCalendarHeader: [{
|
|
4727
4774
|
type: Input
|
|
4775
|
+
}], size: [{
|
|
4776
|
+
type: Input
|
|
4728
4777
|
}], id: [{
|
|
4729
4778
|
type: Input
|
|
4730
4779
|
}], focusedDate: [{
|
|
@@ -5358,12 +5407,12 @@ const tbody = domContainerFactory('tbody');
|
|
|
5358
5407
|
const thead = domContainerFactory('thead');
|
|
5359
5408
|
const table = domContainerFactory('table');
|
|
5360
5409
|
const monthHeader = () => (div$1(`
|
|
5361
|
-
<span class="k-button k-
|
|
5410
|
+
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
|
|
5362
5411
|
<span class="k-spacer"></span>
|
|
5363
5412
|
<span class="k-calendar-nav k-hstack">
|
|
5364
5413
|
<button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">TODAY</button>
|
|
5365
5414
|
</span>
|
|
5366
|
-
`, 'k-calendar-header
|
|
5415
|
+
`, 'k-calendar-header'));
|
|
5367
5416
|
const monthWeekHeader = () => (table([
|
|
5368
5417
|
thead([
|
|
5369
5418
|
tr([th('MO', 'k-calendar-th')], 'k-calendar-tr')
|
|
@@ -5869,9 +5918,10 @@ class ViewListComponent {
|
|
|
5869
5918
|
}
|
|
5870
5919
|
}
|
|
5871
5920
|
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ViewListComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5872
|
-
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5921
|
+
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", size: "size", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5873
5922
|
<kendo-calendar-header
|
|
5874
5923
|
[currentDate]="activeDate"
|
|
5924
|
+
[size]="size"
|
|
5875
5925
|
[min]="min"
|
|
5876
5926
|
[max]="max"
|
|
5877
5927
|
[id]="id"
|
|
@@ -5945,7 +5995,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
5945
5995
|
[activeViewValue]="activeViewValue"
|
|
5946
5996
|
[currentDate]="activeDate">
|
|
5947
5997
|
</kendo-calendar-footer>
|
|
5948
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5998
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5949
5999
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
5950
6000
|
type: Component,
|
|
5951
6001
|
args: [{
|
|
@@ -5954,6 +6004,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
5954
6004
|
template: `
|
|
5955
6005
|
<kendo-calendar-header
|
|
5956
6006
|
[currentDate]="activeDate"
|
|
6007
|
+
[size]="size"
|
|
5957
6008
|
[min]="min"
|
|
5958
6009
|
[max]="max"
|
|
5959
6010
|
[id]="id"
|
|
@@ -6071,6 +6122,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
6071
6122
|
type: Input
|
|
6072
6123
|
}], selectionRange: [{
|
|
6073
6124
|
type: Input
|
|
6125
|
+
}], size: [{
|
|
6126
|
+
type: Input
|
|
6074
6127
|
}], weekNumber: [{
|
|
6075
6128
|
type: Input
|
|
6076
6129
|
}], cellEnter: [{
|
|
@@ -6518,7 +6571,6 @@ class CalendarComponent {
|
|
|
6518
6571
|
this.canHover = false;
|
|
6519
6572
|
validatePackage(packageMetadata);
|
|
6520
6573
|
this.id = `kendo-calendarid-${this.bus.calendarId}`;
|
|
6521
|
-
this.setClasses(element.nativeElement);
|
|
6522
6574
|
if (this.pickerService) {
|
|
6523
6575
|
this.pickerService.calendar = this;
|
|
6524
6576
|
}
|
|
@@ -6663,7 +6715,9 @@ class CalendarComponent {
|
|
|
6663
6715
|
*/
|
|
6664
6716
|
set type(type) {
|
|
6665
6717
|
this.renderer.removeClass(this.element.nativeElement, `k-calendar-${this.type}`);
|
|
6666
|
-
|
|
6718
|
+
if (type === 'infinite') {
|
|
6719
|
+
this.renderer.addClass(this.element.nativeElement, `k-calendar-${type}`);
|
|
6720
|
+
}
|
|
6667
6721
|
this._type = type;
|
|
6668
6722
|
}
|
|
6669
6723
|
get type() {
|
|
@@ -6802,13 +6856,7 @@ class CalendarComponent {
|
|
|
6802
6856
|
*
|
|
6803
6857
|
*/
|
|
6804
6858
|
set size(size) {
|
|
6805
|
-
|
|
6806
|
-
this.renderer.removeClass(element.nativeElement, getSizeClass('calendar', this.size));
|
|
6807
|
-
const newSize = size ? size : DEFAULT_SIZE;
|
|
6808
|
-
if (newSize !== 'none') {
|
|
6809
|
-
this.renderer.addClass(element.nativeElement, getSizeClass('calendar', newSize));
|
|
6810
|
-
}
|
|
6811
|
-
this._size = newSize;
|
|
6859
|
+
this._size = size;
|
|
6812
6860
|
}
|
|
6813
6861
|
get size() {
|
|
6814
6862
|
return this._size;
|
|
@@ -6843,6 +6891,7 @@ class CalendarComponent {
|
|
|
6843
6891
|
return this.type === 'classic' ? undefined : this.disabled;
|
|
6844
6892
|
}
|
|
6845
6893
|
ngOnInit() {
|
|
6894
|
+
this.setClasses(this.element.nativeElement);
|
|
6846
6895
|
if (this.type === 'infinite') {
|
|
6847
6896
|
this.dom.calculateHeights(this.element.nativeElement);
|
|
6848
6897
|
this.scrollSyncService.configure(this.activeViewEnum);
|
|
@@ -6886,6 +6935,7 @@ class CalendarComponent {
|
|
|
6886
6935
|
this.setAriaActivedescendant();
|
|
6887
6936
|
if (this.size !== 'none') {
|
|
6888
6937
|
const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
|
|
6938
|
+
this.renderer.removeClass(element.nativeElement, getSizeClass('calendar', this.size));
|
|
6889
6939
|
this.renderer.addClass(element.nativeElement, getSizeClass('calendar', this.size));
|
|
6890
6940
|
}
|
|
6891
6941
|
}
|
|
@@ -7235,9 +7285,11 @@ class CalendarComponent {
|
|
|
7235
7285
|
}
|
|
7236
7286
|
}
|
|
7237
7287
|
setClasses(element) {
|
|
7238
|
-
this.renderer.
|
|
7239
|
-
this.
|
|
7240
|
-
|
|
7288
|
+
this.renderer.removeClass(element, `k-calendar-${this.type}`);
|
|
7289
|
+
if (this.type === 'infinite') {
|
|
7290
|
+
this.renderer.addClass(element, 'k-calendar');
|
|
7291
|
+
this.renderer.addClass(element, `k-calendar-${this.type}`);
|
|
7292
|
+
}
|
|
7241
7293
|
}
|
|
7242
7294
|
verifyChanges() {
|
|
7243
7295
|
if (!isDevMode()) {
|
|
@@ -7511,6 +7563,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
7511
7563
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
7512
7564
|
[activeRangeEnd]="activeRangeEnd"
|
|
7513
7565
|
[selectionRange]="selectionRange"
|
|
7566
|
+
[size]="size"
|
|
7514
7567
|
[isActive]="isActive"
|
|
7515
7568
|
[id]="headerId"
|
|
7516
7569
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -7549,6 +7602,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
7549
7602
|
[views]="1"
|
|
7550
7603
|
[min]="min"
|
|
7551
7604
|
[max]="max"
|
|
7605
|
+
[size]="size"
|
|
7552
7606
|
[id]="id"
|
|
7553
7607
|
[activeRangeEnd]="activeRangeEnd"
|
|
7554
7608
|
[selectionRange]="selectionRange"
|
|
@@ -7594,7 +7648,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
7594
7648
|
</kendo-multiviewcalendar-messages>
|
|
7595
7649
|
</kendo-multiviewcalendar>
|
|
7596
7650
|
</ng-container>
|
|
7597
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "directive", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "component", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7651
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "directive", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "component", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "size", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7598
7652
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
7599
7653
|
type: Component,
|
|
7600
7654
|
args: [{
|
|
@@ -7649,6 +7703,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
7649
7703
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
7650
7704
|
[activeRangeEnd]="activeRangeEnd"
|
|
7651
7705
|
[selectionRange]="selectionRange"
|
|
7706
|
+
[size]="size"
|
|
7652
7707
|
[isActive]="isActive"
|
|
7653
7708
|
[id]="headerId"
|
|
7654
7709
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -7687,6 +7742,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
7687
7742
|
[views]="1"
|
|
7688
7743
|
[min]="min"
|
|
7689
7744
|
[max]="max"
|
|
7745
|
+
[size]="size"
|
|
7690
7746
|
[id]="id"
|
|
7691
7747
|
[activeRangeEnd]="activeRangeEnd"
|
|
7692
7748
|
[selectionRange]="selectionRange"
|
|
@@ -10356,8 +10412,8 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
10356
10412
|
<ng-template #calendarTemplate>
|
|
10357
10413
|
<kendo-calendar
|
|
10358
10414
|
#calendar
|
|
10359
|
-
[size]="isAdaptive ? 'large' : 'medium'"
|
|
10360
10415
|
[type]="calendarType"
|
|
10416
|
+
[size]="isAdaptive ? 'large' : size"
|
|
10361
10417
|
[min]="min"
|
|
10362
10418
|
[max]="max"
|
|
10363
10419
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -10539,8 +10595,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
10539
10595
|
<ng-template #calendarTemplate>
|
|
10540
10596
|
<kendo-calendar
|
|
10541
10597
|
#calendar
|
|
10542
|
-
[size]="isAdaptive ? 'large' : 'medium'"
|
|
10543
10598
|
[type]="calendarType"
|
|
10599
|
+
[size]="isAdaptive ? 'large' : size"
|
|
10544
10600
|
[min]="min"
|
|
10545
10601
|
[max]="max"
|
|
10546
10602
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -12041,6 +12097,7 @@ class TimeSelectorComponent {
|
|
|
12041
12097
|
*/
|
|
12042
12098
|
this.valueReject = new EventEmitter();
|
|
12043
12099
|
this.tabOutLastPart = new EventEmitter();
|
|
12100
|
+
this.tabOutNow = new EventEmitter();
|
|
12044
12101
|
this.isActive = false;
|
|
12045
12102
|
this.showNowButton = true;
|
|
12046
12103
|
this._activeListIndex = -1;
|
|
@@ -12132,12 +12189,11 @@ class TimeSelectorComponent {
|
|
|
12132
12189
|
}
|
|
12133
12190
|
ngAfterViewInit() {
|
|
12134
12191
|
this.subscriptions.add(fromEvent(this.timeListWrappers.first.nativeElement, 'keydown').subscribe((event) => {
|
|
12135
|
-
var _a;
|
|
12136
12192
|
const { keyCode, shiftKey } = event;
|
|
12137
12193
|
if (keyCode === Keys$1.Tab && shiftKey) {
|
|
12138
12194
|
event.preventDefault();
|
|
12139
12195
|
this.renderer.removeClass(this.timeListWrappers.first.nativeElement, 'k-focus');
|
|
12140
|
-
this.
|
|
12196
|
+
this.now ? this.now.nativeElement.focus() : this.cancel.nativeElement.focus();
|
|
12141
12197
|
}
|
|
12142
12198
|
}));
|
|
12143
12199
|
this.subscriptions.add(fromEvent(this.timeListWrappers.last.nativeElement, 'keydown').subscribe((event) => {
|
|
@@ -12255,14 +12311,25 @@ class TimeSelectorComponent {
|
|
|
12255
12311
|
* @hidden
|
|
12256
12312
|
*/
|
|
12257
12313
|
handleTabOut(event) {
|
|
12314
|
+
var _a, _b, _c;
|
|
12258
12315
|
const { keyCode, shiftKey } = event;
|
|
12259
|
-
if (keyCode === Keys$1.Tab &&
|
|
12316
|
+
if (event.target === ((_a = this.now) === null || _a === void 0 ? void 0 : _a.nativeElement) && keyCode === Keys$1.Tab && shiftKey) {
|
|
12317
|
+
event.preventDefault();
|
|
12318
|
+
if (this.isDateTimePicker) {
|
|
12319
|
+
this.tabOutNow.emit();
|
|
12320
|
+
}
|
|
12321
|
+
else {
|
|
12322
|
+
this.cancel ? this.cancel.nativeElement.focus() : this.accept.nativeElement.focus();
|
|
12323
|
+
}
|
|
12324
|
+
return;
|
|
12325
|
+
}
|
|
12326
|
+
if (keyCode === Keys$1.Tab && !shiftKey && event.target !== ((_b = this.now) === null || _b === void 0 ? void 0 : _b.nativeElement)) {
|
|
12260
12327
|
event.preventDefault();
|
|
12261
12328
|
if (document.activeElement === this.accept.nativeElement) {
|
|
12262
|
-
this.cancel ? this.cancel.nativeElement.focus() : this.
|
|
12329
|
+
this.cancel ? this.cancel.nativeElement.focus() : (_c = this.now) === null || _c === void 0 ? void 0 : _c.nativeElement.focus();
|
|
12263
12330
|
}
|
|
12264
12331
|
else {
|
|
12265
|
-
this.timeLists.first.focus();
|
|
12332
|
+
this.now ? this.now.nativeElement.focus() : this.timeLists.first.focus();
|
|
12266
12333
|
}
|
|
12267
12334
|
}
|
|
12268
12335
|
}
|
|
@@ -12353,7 +12420,7 @@ class TimeSelectorComponent {
|
|
|
12353
12420
|
}
|
|
12354
12421
|
}
|
|
12355
12422
|
TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimeSelectorComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.IntlService }, { token: TimePickerDOMService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
12356
|
-
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", isAdaptiveEnabled: "isAdaptiveEnabled", isDateTimePicker: "isDateTimePicker", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject", tabOutLastPart: "tabOutLastPart" }, host: { properties: { "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
12423
|
+
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", isAdaptiveEnabled: "isAdaptiveEnabled", isDateTimePicker: "isDateTimePicker", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject", tabOutLastPart: "tabOutLastPart", tabOutNow: "tabOutNow" }, host: { properties: { "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
12357
12424
|
LocalizationService,
|
|
12358
12425
|
{
|
|
12359
12426
|
provide: L10N_PREFIX,
|
|
@@ -12394,7 +12461,8 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
12394
12461
|
[kendoEventsOutsideAngular]="{
|
|
12395
12462
|
click: handleNow,
|
|
12396
12463
|
focus: handleFocus,
|
|
12397
|
-
blur: handleBlur
|
|
12464
|
+
blur: handleBlur,
|
|
12465
|
+
keydown: handleTabOut
|
|
12398
12466
|
}"
|
|
12399
12467
|
[scope]="this"
|
|
12400
12468
|
[disabled]="disabled"
|
|
@@ -12515,7 +12583,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
12515
12583
|
[kendoEventsOutsideAngular]="{
|
|
12516
12584
|
click: handleNow,
|
|
12517
12585
|
focus: handleFocus,
|
|
12518
|
-
blur: handleBlur
|
|
12586
|
+
blur: handleBlur,
|
|
12587
|
+
keydown: handleTabOut
|
|
12519
12588
|
}"
|
|
12520
12589
|
[scope]="this"
|
|
12521
12590
|
[disabled]="disabled"
|
|
@@ -12639,6 +12708,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
12639
12708
|
type: Output
|
|
12640
12709
|
}], tabOutLastPart: [{
|
|
12641
12710
|
type: Output
|
|
12711
|
+
}], tabOutNow: [{
|
|
12712
|
+
type: Output
|
|
12642
12713
|
}] } });
|
|
12643
12714
|
|
|
12644
12715
|
const VALUE_DOC_LINK$1 = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/#toc-integration-with-json';
|
|
@@ -13773,7 +13844,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
13773
13844
|
</kendo-timeselector-messages>
|
|
13774
13845
|
</kendo-timeselector>
|
|
13775
13846
|
</ng-template>
|
|
13776
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "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: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.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: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13847
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "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: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.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: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13777
13848
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
13778
13849
|
type: Component,
|
|
13779
13850
|
args: [{
|
|
@@ -14189,6 +14260,7 @@ const TWO_DIGIT_YEAR_MAX = 68;
|
|
|
14189
14260
|
const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
|
|
14190
14261
|
const CANCEL_BUTTON_SELECOTR = '.k-button.k-time-cancel';
|
|
14191
14262
|
const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-date-tab';
|
|
14263
|
+
const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-time-tab';
|
|
14192
14264
|
/**
|
|
14193
14265
|
* Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
|
|
14194
14266
|
*/
|
|
@@ -14790,6 +14862,10 @@ class DateTimePickerComponent {
|
|
|
14790
14862
|
var _a;
|
|
14791
14863
|
return (_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.popup.instance.container.nativeElement.querySelector(DATE_TAB_BUTTON_SELECTOR);
|
|
14792
14864
|
}
|
|
14865
|
+
get timeTabButton() {
|
|
14866
|
+
var _a;
|
|
14867
|
+
return (_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.popup.instance.container.nativeElement.querySelector(TIME_TAB_BUTTON_SELECTOR);
|
|
14868
|
+
}
|
|
14793
14869
|
/**
|
|
14794
14870
|
* @hidden
|
|
14795
14871
|
*/
|
|
@@ -15039,6 +15115,12 @@ class DateTimePickerComponent {
|
|
|
15039
15115
|
this.dateTabButton.focus();
|
|
15040
15116
|
}
|
|
15041
15117
|
}
|
|
15118
|
+
/**
|
|
15119
|
+
* @hidden
|
|
15120
|
+
*/
|
|
15121
|
+
onTabOutNow() {
|
|
15122
|
+
this.timeTabButton.focus();
|
|
15123
|
+
}
|
|
15042
15124
|
/**
|
|
15043
15125
|
* @hidden
|
|
15044
15126
|
*/
|
|
@@ -15162,7 +15244,7 @@ class DateTimePickerComponent {
|
|
|
15162
15244
|
this.calendar.monthView.list.nativeElement.focus();
|
|
15163
15245
|
}
|
|
15164
15246
|
else {
|
|
15165
|
-
this.timeSelector.focus();
|
|
15247
|
+
this.timeSelector.timeLists.last.focus();
|
|
15166
15248
|
}
|
|
15167
15249
|
}
|
|
15168
15250
|
break;
|
|
@@ -15733,8 +15815,8 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
15733
15815
|
<div class="k-datetime-calendar-wrap">
|
|
15734
15816
|
<kendo-calendar
|
|
15735
15817
|
#calendar
|
|
15736
|
-
[ngClass]="{'k-calendar-lg': isAdaptive}"
|
|
15737
15818
|
[focusedDate]="focusedDate"
|
|
15819
|
+
[size]="isAdaptive ? 'large' : size"
|
|
15738
15820
|
[(value)]="calendarValue"
|
|
15739
15821
|
[type]="calendarType"
|
|
15740
15822
|
[min]="calendarMin"
|
|
@@ -15781,6 +15863,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
15781
15863
|
[isAdaptiveEnabled]="isAdaptiveModeEnabled"
|
|
15782
15864
|
[isDateTimePicker]="true"
|
|
15783
15865
|
(tabOutLastPart)="onTabOutLastPart()"
|
|
15866
|
+
(tabOutNow)="onTabOutNow()"
|
|
15784
15867
|
>
|
|
15785
15868
|
<kendo-timeselector-messages
|
|
15786
15869
|
[acceptLabel]="localization.get('acceptLabel')"
|
|
@@ -15841,7 +15924,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
15841
15924
|
</div>
|
|
15842
15925
|
</div>
|
|
15843
15926
|
</ng-template>
|
|
15844
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "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: 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: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }, { kind: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.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: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15927
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "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: 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: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: 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: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.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: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15845
15928
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
15846
15929
|
type: Component,
|
|
15847
15930
|
args: [{
|
|
@@ -16121,8 +16204,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
16121
16204
|
<div class="k-datetime-calendar-wrap">
|
|
16122
16205
|
<kendo-calendar
|
|
16123
16206
|
#calendar
|
|
16124
|
-
[ngClass]="{'k-calendar-lg': isAdaptive}"
|
|
16125
16207
|
[focusedDate]="focusedDate"
|
|
16208
|
+
[size]="isAdaptive ? 'large' : size"
|
|
16126
16209
|
[(value)]="calendarValue"
|
|
16127
16210
|
[type]="calendarType"
|
|
16128
16211
|
[min]="calendarMin"
|
|
@@ -16169,6 +16252,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
16169
16252
|
[isAdaptiveEnabled]="isAdaptiveModeEnabled"
|
|
16170
16253
|
[isDateTimePicker]="true"
|
|
16171
16254
|
(tabOutLastPart)="onTabOutLastPart()"
|
|
16255
|
+
(tabOutNow)="onTabOutNow()"
|
|
16172
16256
|
>
|
|
16173
16257
|
<kendo-timeselector-messages
|
|
16174
16258
|
[acceptLabel]="localization.get('acceptLabel')"
|
|
@@ -17354,7 +17438,7 @@ class DateRangePopupComponent {
|
|
|
17354
17438
|
}
|
|
17355
17439
|
}
|
|
17356
17440
|
DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1$2.PopupService }, { token: DateRangeService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
17357
|
-
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: { allowReverse: "allowReverse", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
|
|
17441
|
+
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: { allowReverse: "allowReverse", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
|
|
17358
17442
|
LocalizationService,
|
|
17359
17443
|
{
|
|
17360
17444
|
provide: L10N_PREFIX,
|
|
@@ -17380,6 +17464,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
17380
17464
|
<kendo-multiviewcalendar
|
|
17381
17465
|
[allowReverse]="allowReverse"
|
|
17382
17466
|
selection="range"
|
|
17467
|
+
[size]="size"
|
|
17383
17468
|
[value]="dateRangeService.selectionRange"
|
|
17384
17469
|
(onClosePopup)="closePopup($event)"
|
|
17385
17470
|
(onTabPress)="handleTab($event)"
|
|
@@ -17459,7 +17544,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
17459
17544
|
</div>
|
|
17460
17545
|
</ng-template>
|
|
17461
17546
|
</kendo-actionsheet>
|
|
17462
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.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: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }] });
|
|
17547
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.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: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }] });
|
|
17463
17548
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
17464
17549
|
type: Component,
|
|
17465
17550
|
args: [{
|
|
@@ -17492,6 +17577,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
17492
17577
|
<kendo-multiviewcalendar
|
|
17493
17578
|
[allowReverse]="allowReverse"
|
|
17494
17579
|
selection="range"
|
|
17580
|
+
[size]="size"
|
|
17495
17581
|
[value]="dateRangeService.selectionRange"
|
|
17496
17582
|
(onClosePopup)="closePopup($event)"
|
|
17497
17583
|
(onTabPress)="handleTab($event)"
|
|
@@ -17623,6 +17709,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
17623
17709
|
type: Input
|
|
17624
17710
|
}], subtitle: [{
|
|
17625
17711
|
type: Input
|
|
17712
|
+
}], size: [{
|
|
17713
|
+
type: Input
|
|
17626
17714
|
}], open: [{
|
|
17627
17715
|
type: Output
|
|
17628
17716
|
}], close: [{
|
|
@@ -17694,10 +17782,10 @@ class DateRangeComponent {
|
|
|
17694
17782
|
}
|
|
17695
17783
|
}
|
|
17696
17784
|
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17697
|
-
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DateRangeComponent, selector: "kendo-daterange", host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
17785
|
+
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
17698
17786
|
<ng-content></ng-content>
|
|
17699
|
-
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
17700
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["allowReverse", "animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
|
|
17787
|
+
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
17788
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: 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"] }] });
|
|
17701
17789
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
17702
17790
|
type: Component,
|
|
17703
17791
|
args: [{
|
|
@@ -17705,10 +17793,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
17705
17793
|
selector: 'kendo-daterange',
|
|
17706
17794
|
template: `
|
|
17707
17795
|
<ng-content></ng-content>
|
|
17708
|
-
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
17796
|
+
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
17709
17797
|
`
|
|
17710
17798
|
}]
|
|
17711
|
-
}], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: {
|
|
17799
|
+
}], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { size: [{
|
|
17800
|
+
type: Input
|
|
17801
|
+
}], keydown: [{
|
|
17712
17802
|
type: HostListener,
|
|
17713
17803
|
args: ['keydown', ['$event']]
|
|
17714
17804
|
}], wrapperClass: [{
|