@progress/kendo-angular-dateinputs 16.0.0-develop.14 → 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/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 +2 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +122 -60
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +122 -60
- package/package.json +8 -8
|
@@ -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
|
|
|
@@ -145,7 +145,7 @@ var Keys;
|
|
|
145
145
|
*/
|
|
146
146
|
const selectors = {
|
|
147
147
|
infiniteCalendarTable: '.k-content .k-calendar-table',
|
|
148
|
-
multiViewCalendarTable: '.k-
|
|
148
|
+
multiViewCalendarTable: '.k-calendar-table'
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
151
151
|
* @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"]
|
|
@@ -3577,6 +3595,7 @@ class MultiViewCalendarComponent {
|
|
|
3577
3595
|
* Determines whether to display the calendar header.
|
|
3578
3596
|
*/
|
|
3579
3597
|
this.showCalendarHeader = true;
|
|
3598
|
+
this._size = DEFAULT_SIZE;
|
|
3580
3599
|
/**
|
|
3581
3600
|
* Toggles the visibility of the footer.
|
|
3582
3601
|
* @default false
|
|
@@ -3749,9 +3768,32 @@ class MultiViewCalendarComponent {
|
|
|
3749
3768
|
this.maxValidateFn = noop$2;
|
|
3750
3769
|
this.disabledDatesRangeValidateFn = noop$2;
|
|
3751
3770
|
this.subscriptions = new Subscription();
|
|
3752
|
-
this.setClasses(element.nativeElement);
|
|
3753
3771
|
this.id = `kendo-multiviewcalendarid-${this.bus.calendarId}-`;
|
|
3754
3772
|
}
|
|
3773
|
+
/**
|
|
3774
|
+
* @hidden
|
|
3775
|
+
*
|
|
3776
|
+
* TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
|
|
3777
|
+
* Sets the size of the component.
|
|
3778
|
+
*
|
|
3779
|
+
* The possible values are:
|
|
3780
|
+
* * `small`
|
|
3781
|
+
* * `medium` (Default)
|
|
3782
|
+
* * `large`
|
|
3783
|
+
* * `none`
|
|
3784
|
+
*
|
|
3785
|
+
*/
|
|
3786
|
+
set size(size) {
|
|
3787
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
3788
|
+
this.renderer.removeClass(this.element.nativeElement, getSizeClass('calendar', this.size));
|
|
3789
|
+
if (newSize !== 'none') {
|
|
3790
|
+
this.renderer.addClass(this.element.nativeElement, getSizeClass('calendar', newSize));
|
|
3791
|
+
}
|
|
3792
|
+
this._size = newSize;
|
|
3793
|
+
}
|
|
3794
|
+
get size() {
|
|
3795
|
+
return this._size;
|
|
3796
|
+
}
|
|
3755
3797
|
/**
|
|
3756
3798
|
* Sets or gets the `focusedDate` property of the Calendar and
|
|
3757
3799
|
* defines the focused date of the component
|
|
@@ -4127,6 +4169,7 @@ class MultiViewCalendarComponent {
|
|
|
4127
4169
|
}
|
|
4128
4170
|
}
|
|
4129
4171
|
ngOnInit() {
|
|
4172
|
+
this.setClasses(this.element.nativeElement);
|
|
4130
4173
|
this.subscriptions.add(this.bus.viewChanged.subscribe(({ view }) => {
|
|
4131
4174
|
this.activeView = CalendarViewEnum[view];
|
|
4132
4175
|
this.activeViewChange.emit(this.activeView);
|
|
@@ -4196,7 +4239,7 @@ class MultiViewCalendarComponent {
|
|
|
4196
4239
|
return;
|
|
4197
4240
|
}
|
|
4198
4241
|
const activeElement = this.views >= 2 ? this.element.nativeElement.querySelector('.k-calendar-view') :
|
|
4199
|
-
this.element.nativeElement.querySelector('.k-
|
|
4242
|
+
this.element.nativeElement.querySelector('.k-calendar-table');
|
|
4200
4243
|
activeElement.blur();
|
|
4201
4244
|
}
|
|
4202
4245
|
/**
|
|
@@ -4403,9 +4446,11 @@ class MultiViewCalendarComponent {
|
|
|
4403
4446
|
});
|
|
4404
4447
|
}
|
|
4405
4448
|
setClasses(element) {
|
|
4406
|
-
this.renderer.addClass(element, 'k-widget');
|
|
4407
4449
|
this.renderer.addClass(element, 'k-calendar');
|
|
4408
|
-
this.renderer.addClass(element, '
|
|
4450
|
+
this.renderer.addClass(element, getSizeClass('calendar', this.size));
|
|
4451
|
+
if (this.views >= 2) {
|
|
4452
|
+
this.renderer.addClass(element, 'k-calendar-range');
|
|
4453
|
+
}
|
|
4409
4454
|
}
|
|
4410
4455
|
verifyChanges() {
|
|
4411
4456
|
if (!isDevMode()) {
|
|
@@ -4534,7 +4579,7 @@ class MultiViewCalendarComponent {
|
|
|
4534
4579
|
}
|
|
4535
4580
|
}
|
|
4536
4581
|
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 });
|
|
4537
|
-
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: [
|
|
4582
|
+
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: [
|
|
4538
4583
|
BusViewService,
|
|
4539
4584
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
4540
4585
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -4565,6 +4610,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
4565
4610
|
*ngIf="showCalendarHeader"
|
|
4566
4611
|
[activeView]="activeViewEnum"
|
|
4567
4612
|
[currentDate]="activeDate"
|
|
4613
|
+
[size]="size"
|
|
4568
4614
|
[min]="min"
|
|
4569
4615
|
[max]="max"
|
|
4570
4616
|
[id]="headerId"
|
|
@@ -4620,7 +4666,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
4620
4666
|
[activeViewValue]="activeView"
|
|
4621
4667
|
[currentDate]="activeDate">
|
|
4622
4668
|
</kendo-calendar-footer>
|
|
4623
|
-
`, 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 });
|
|
4669
|
+
`, 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 });
|
|
4624
4670
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
4625
4671
|
type: Component,
|
|
4626
4672
|
args: [{
|
|
@@ -4659,6 +4705,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
4659
4705
|
*ngIf="showCalendarHeader"
|
|
4660
4706
|
[activeView]="activeViewEnum"
|
|
4661
4707
|
[currentDate]="activeDate"
|
|
4708
|
+
[size]="size"
|
|
4662
4709
|
[min]="min"
|
|
4663
4710
|
[max]="max"
|
|
4664
4711
|
[id]="headerId"
|
|
@@ -4720,6 +4767,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
4720
4767
|
type: Input
|
|
4721
4768
|
}], showCalendarHeader: [{
|
|
4722
4769
|
type: Input
|
|
4770
|
+
}], size: [{
|
|
4771
|
+
type: Input
|
|
4723
4772
|
}], id: [{
|
|
4724
4773
|
type: Input
|
|
4725
4774
|
}], focusedDate: [{
|
|
@@ -4894,12 +4943,12 @@ const tbody = domContainerFactory('tbody');
|
|
|
4894
4943
|
const thead = domContainerFactory('thead');
|
|
4895
4944
|
const table = domContainerFactory('table');
|
|
4896
4945
|
const monthHeader = () => (div$1(`
|
|
4897
|
-
<span class="k-button k-
|
|
4946
|
+
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
|
|
4898
4947
|
<span class="k-spacer"></span>
|
|
4899
4948
|
<span class="k-calendar-nav k-hstack">
|
|
4900
4949
|
<button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">TODAY</button>
|
|
4901
4950
|
</span>
|
|
4902
|
-
`, 'k-calendar-header
|
|
4951
|
+
`, 'k-calendar-header'));
|
|
4903
4952
|
const monthWeekHeader = () => (table([
|
|
4904
4953
|
thead([
|
|
4905
4954
|
tr([th('MO', 'k-calendar-th')], 'k-calendar-tr')
|
|
@@ -5861,9 +5910,10 @@ class ViewListComponent {
|
|
|
5861
5910
|
}
|
|
5862
5911
|
}
|
|
5863
5912
|
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 });
|
|
5864
|
-
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: `
|
|
5913
|
+
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: `
|
|
5865
5914
|
<kendo-calendar-header
|
|
5866
5915
|
[currentDate]="activeDate"
|
|
5916
|
+
[size]="size"
|
|
5867
5917
|
[min]="min"
|
|
5868
5918
|
[max]="max"
|
|
5869
5919
|
[id]="id"
|
|
@@ -5937,7 +5987,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
5937
5987
|
[activeViewValue]="activeViewValue"
|
|
5938
5988
|
[currentDate]="activeDate">
|
|
5939
5989
|
</kendo-calendar-footer>
|
|
5940
|
-
`, 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 });
|
|
5990
|
+
`, 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 });
|
|
5941
5991
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
5942
5992
|
type: Component,
|
|
5943
5993
|
args: [{
|
|
@@ -5946,6 +5996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
5946
5996
|
template: `
|
|
5947
5997
|
<kendo-calendar-header
|
|
5948
5998
|
[currentDate]="activeDate"
|
|
5999
|
+
[size]="size"
|
|
5949
6000
|
[min]="min"
|
|
5950
6001
|
[max]="max"
|
|
5951
6002
|
[id]="id"
|
|
@@ -6063,6 +6114,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
6063
6114
|
type: Input
|
|
6064
6115
|
}], selectionRange: [{
|
|
6065
6116
|
type: Input
|
|
6117
|
+
}], size: [{
|
|
6118
|
+
type: Input
|
|
6066
6119
|
}], weekNumber: [{
|
|
6067
6120
|
type: Input
|
|
6068
6121
|
}], cellEnter: [{
|
|
@@ -6510,7 +6563,6 @@ class CalendarComponent {
|
|
|
6510
6563
|
this.canHover = false;
|
|
6511
6564
|
validatePackage(packageMetadata);
|
|
6512
6565
|
this.id = `kendo-calendarid-${this.bus.calendarId}`;
|
|
6513
|
-
this.setClasses(element.nativeElement);
|
|
6514
6566
|
if (this.pickerService) {
|
|
6515
6567
|
this.pickerService.calendar = this;
|
|
6516
6568
|
}
|
|
@@ -6655,7 +6707,9 @@ class CalendarComponent {
|
|
|
6655
6707
|
*/
|
|
6656
6708
|
set type(type) {
|
|
6657
6709
|
this.renderer.removeClass(this.element.nativeElement, `k-calendar-${this.type}`);
|
|
6658
|
-
|
|
6710
|
+
if (type === 'infinite') {
|
|
6711
|
+
this.renderer.addClass(this.element.nativeElement, `k-calendar-${type}`);
|
|
6712
|
+
}
|
|
6659
6713
|
this._type = type;
|
|
6660
6714
|
}
|
|
6661
6715
|
get type() {
|
|
@@ -6794,13 +6848,7 @@ class CalendarComponent {
|
|
|
6794
6848
|
*
|
|
6795
6849
|
*/
|
|
6796
6850
|
set size(size) {
|
|
6797
|
-
|
|
6798
|
-
this.renderer.removeClass(element.nativeElement, getSizeClass('calendar', this.size));
|
|
6799
|
-
const newSize = size ? size : DEFAULT_SIZE;
|
|
6800
|
-
if (newSize !== 'none') {
|
|
6801
|
-
this.renderer.addClass(element.nativeElement, getSizeClass('calendar', newSize));
|
|
6802
|
-
}
|
|
6803
|
-
this._size = newSize;
|
|
6851
|
+
this._size = size;
|
|
6804
6852
|
}
|
|
6805
6853
|
get size() {
|
|
6806
6854
|
return this._size;
|
|
@@ -6835,6 +6883,7 @@ class CalendarComponent {
|
|
|
6835
6883
|
return this.type === 'classic' ? undefined : this.disabled;
|
|
6836
6884
|
}
|
|
6837
6885
|
ngOnInit() {
|
|
6886
|
+
this.setClasses(this.element.nativeElement);
|
|
6838
6887
|
if (this.type === 'infinite') {
|
|
6839
6888
|
this.dom.calculateHeights(this.element.nativeElement);
|
|
6840
6889
|
this.scrollSyncService.configure(this.activeViewEnum);
|
|
@@ -6878,6 +6927,7 @@ class CalendarComponent {
|
|
|
6878
6927
|
this.setAriaActivedescendant();
|
|
6879
6928
|
if (this.size !== 'none') {
|
|
6880
6929
|
const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
|
|
6930
|
+
this.renderer.removeClass(element.nativeElement, getSizeClass('calendar', this.size));
|
|
6881
6931
|
this.renderer.addClass(element.nativeElement, getSizeClass('calendar', this.size));
|
|
6882
6932
|
}
|
|
6883
6933
|
}
|
|
@@ -7225,9 +7275,11 @@ class CalendarComponent {
|
|
|
7225
7275
|
}
|
|
7226
7276
|
}
|
|
7227
7277
|
setClasses(element) {
|
|
7228
|
-
this.renderer.
|
|
7229
|
-
this.
|
|
7230
|
-
|
|
7278
|
+
this.renderer.removeClass(element, `k-calendar-${this.type}`);
|
|
7279
|
+
if (this.type === 'infinite') {
|
|
7280
|
+
this.renderer.addClass(element, 'k-calendar');
|
|
7281
|
+
this.renderer.addClass(element, `k-calendar-${this.type}`);
|
|
7282
|
+
}
|
|
7231
7283
|
}
|
|
7232
7284
|
verifyChanges() {
|
|
7233
7285
|
if (!isDevMode()) {
|
|
@@ -7497,6 +7549,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
7497
7549
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
7498
7550
|
[activeRangeEnd]="activeRangeEnd"
|
|
7499
7551
|
[selectionRange]="selectionRange"
|
|
7552
|
+
[size]="size"
|
|
7500
7553
|
[isActive]="isActive"
|
|
7501
7554
|
[id]="headerId"
|
|
7502
7555
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -7535,6 +7588,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
7535
7588
|
[views]="1"
|
|
7536
7589
|
[min]="min"
|
|
7537
7590
|
[max]="max"
|
|
7591
|
+
[size]="size"
|
|
7538
7592
|
[id]="id"
|
|
7539
7593
|
[activeRangeEnd]="activeRangeEnd"
|
|
7540
7594
|
[selectionRange]="selectionRange"
|
|
@@ -7580,7 +7634,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
7580
7634
|
</kendo-multiviewcalendar-messages>
|
|
7581
7635
|
</kendo-multiviewcalendar>
|
|
7582
7636
|
</ng-container>
|
|
7583
|
-
`, 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 });
|
|
7637
|
+
`, 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 });
|
|
7584
7638
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
7585
7639
|
type: Component,
|
|
7586
7640
|
args: [{
|
|
@@ -7635,6 +7689,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
7635
7689
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
7636
7690
|
[activeRangeEnd]="activeRangeEnd"
|
|
7637
7691
|
[selectionRange]="selectionRange"
|
|
7692
|
+
[size]="size"
|
|
7638
7693
|
[isActive]="isActive"
|
|
7639
7694
|
[id]="headerId"
|
|
7640
7695
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -7673,6 +7728,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
7673
7728
|
[views]="1"
|
|
7674
7729
|
[min]="min"
|
|
7675
7730
|
[max]="max"
|
|
7731
|
+
[size]="size"
|
|
7676
7732
|
[id]="id"
|
|
7677
7733
|
[activeRangeEnd]="activeRangeEnd"
|
|
7678
7734
|
[selectionRange]="selectionRange"
|
|
@@ -10333,8 +10389,8 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
10333
10389
|
<ng-template #calendarTemplate>
|
|
10334
10390
|
<kendo-calendar
|
|
10335
10391
|
#calendar
|
|
10336
|
-
[size]="isAdaptive ? 'large' : 'medium'"
|
|
10337
10392
|
[type]="calendarType"
|
|
10393
|
+
[size]="isAdaptive ? 'large' : size"
|
|
10338
10394
|
[min]="min"
|
|
10339
10395
|
[max]="max"
|
|
10340
10396
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -10516,8 +10572,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
10516
10572
|
<ng-template #calendarTemplate>
|
|
10517
10573
|
<kendo-calendar
|
|
10518
10574
|
#calendar
|
|
10519
|
-
[size]="isAdaptive ? 'large' : 'medium'"
|
|
10520
10575
|
[type]="calendarType"
|
|
10576
|
+
[size]="isAdaptive ? 'large' : size"
|
|
10521
10577
|
[min]="min"
|
|
10522
10578
|
[max]="max"
|
|
10523
10579
|
[weekDaysFormat]="weekDaysFormat"
|
|
@@ -15712,8 +15768,8 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
15712
15768
|
<div class="k-datetime-calendar-wrap">
|
|
15713
15769
|
<kendo-calendar
|
|
15714
15770
|
#calendar
|
|
15715
|
-
[ngClass]="{'k-calendar-lg': isAdaptive}"
|
|
15716
15771
|
[focusedDate]="focusedDate"
|
|
15772
|
+
[size]="isAdaptive ? 'large' : size"
|
|
15717
15773
|
[(value)]="calendarValue"
|
|
15718
15774
|
[type]="calendarType"
|
|
15719
15775
|
[min]="calendarMin"
|
|
@@ -16101,8 +16157,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
16101
16157
|
<div class="k-datetime-calendar-wrap">
|
|
16102
16158
|
<kendo-calendar
|
|
16103
16159
|
#calendar
|
|
16104
|
-
[ngClass]="{'k-calendar-lg': isAdaptive}"
|
|
16105
16160
|
[focusedDate]="focusedDate"
|
|
16161
|
+
[size]="isAdaptive ? 'large' : size"
|
|
16106
16162
|
[(value)]="calendarValue"
|
|
16107
16163
|
[type]="calendarType"
|
|
16108
16164
|
[min]="calendarMin"
|
|
@@ -17326,7 +17382,7 @@ class DateRangePopupComponent {
|
|
|
17326
17382
|
}
|
|
17327
17383
|
}
|
|
17328
17384
|
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 });
|
|
17329
|
-
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: [
|
|
17385
|
+
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: [
|
|
17330
17386
|
LocalizationService,
|
|
17331
17387
|
{
|
|
17332
17388
|
provide: L10N_PREFIX,
|
|
@@ -17352,6 +17408,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
17352
17408
|
<kendo-multiviewcalendar
|
|
17353
17409
|
[allowReverse]="allowReverse"
|
|
17354
17410
|
selection="range"
|
|
17411
|
+
[size]="size"
|
|
17355
17412
|
[value]="dateRangeService.selectionRange"
|
|
17356
17413
|
(onClosePopup)="closePopup($event)"
|
|
17357
17414
|
(onTabPress)="handleTab($event)"
|
|
@@ -17431,7 +17488,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
17431
17488
|
</div>
|
|
17432
17489
|
</ng-template>
|
|
17433
17490
|
</kendo-actionsheet>
|
|
17434
|
-
`, 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]" }] });
|
|
17491
|
+
`, 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]" }] });
|
|
17435
17492
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
17436
17493
|
type: Component,
|
|
17437
17494
|
args: [{
|
|
@@ -17464,6 +17521,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
17464
17521
|
<kendo-multiviewcalendar
|
|
17465
17522
|
[allowReverse]="allowReverse"
|
|
17466
17523
|
selection="range"
|
|
17524
|
+
[size]="size"
|
|
17467
17525
|
[value]="dateRangeService.selectionRange"
|
|
17468
17526
|
(onClosePopup)="closePopup($event)"
|
|
17469
17527
|
(onTabPress)="handleTab($event)"
|
|
@@ -17593,6 +17651,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
17593
17651
|
type: Input
|
|
17594
17652
|
}], subtitle: [{
|
|
17595
17653
|
type: Input
|
|
17654
|
+
}], size: [{
|
|
17655
|
+
type: Input
|
|
17596
17656
|
}], open: [{
|
|
17597
17657
|
type: Output
|
|
17598
17658
|
}], close: [{
|
|
@@ -17663,10 +17723,10 @@ class DateRangeComponent {
|
|
|
17663
17723
|
}
|
|
17664
17724
|
}
|
|
17665
17725
|
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17666
|
-
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: `
|
|
17726
|
+
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: `
|
|
17667
17727
|
<ng-content></ng-content>
|
|
17668
|
-
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
17669
|
-
`, 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"] }] });
|
|
17728
|
+
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
17729
|
+
`, 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"] }] });
|
|
17670
17730
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
17671
17731
|
type: Component,
|
|
17672
17732
|
args: [{
|
|
@@ -17674,10 +17734,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
17674
17734
|
selector: 'kendo-daterange',
|
|
17675
17735
|
template: `
|
|
17676
17736
|
<ng-content></ng-content>
|
|
17677
|
-
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
17737
|
+
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
17678
17738
|
`
|
|
17679
17739
|
}]
|
|
17680
|
-
}], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: {
|
|
17740
|
+
}], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { size: [{
|
|
17741
|
+
type: Input
|
|
17742
|
+
}], keydown: [{
|
|
17681
17743
|
type: HostListener,
|
|
17682
17744
|
args: ['keydown', ['$event']]
|
|
17683
17745
|
}], wrapperClass: [{
|