@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.
@@ -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: 1715100988,
42
- version: '16.0.0-develop.14',
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-content.k-calendar-table'
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-content k-calendar-table"
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-content k-calendar-table"
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-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
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
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
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
- [class.k-disabled]="!navigate"
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
- </span>
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
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
2728
+ kendoButton
2729
+ class="k-calendar-nav-today"
2726
2730
  tabindex="-1"
2727
- [class.k-disabled]="!todayAvailable"
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
- `, 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"] }] });
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
- <span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
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
- [class.k-disabled]="!navigate"
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
- </span>
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
- class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
2814
+ kendoButton
2815
+ class="k-calendar-nav-today"
2801
2816
  tabindex="-1"
2802
- [class.k-disabled]="!todayAvailable"
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-content.k-calendar-table');
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, 'k-calendar-range');
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-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
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 k-hstack'));
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
- this.renderer.addClass(this.element.nativeElement, `k-calendar-${type}`);
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
- const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
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.addClass(element, 'k-widget');
7239
- this.renderer.addClass(element, 'k-calendar');
7240
- this.renderer.addClass(element, `k-calendar-${this.type}`);
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"
@@ -15759,8 +15815,8 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15759
15815
  <div class="k-datetime-calendar-wrap">
15760
15816
  <kendo-calendar
15761
15817
  #calendar
15762
- [ngClass]="{'k-calendar-lg': isAdaptive}"
15763
15818
  [focusedDate]="focusedDate"
15819
+ [size]="isAdaptive ? 'large' : size"
15764
15820
  [(value)]="calendarValue"
15765
15821
  [type]="calendarType"
15766
15822
  [min]="calendarMin"
@@ -16148,8 +16204,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
16148
16204
  <div class="k-datetime-calendar-wrap">
16149
16205
  <kendo-calendar
16150
16206
  #calendar
16151
- [ngClass]="{'k-calendar-lg': isAdaptive}"
16152
16207
  [focusedDate]="focusedDate"
16208
+ [size]="isAdaptive ? 'large' : size"
16153
16209
  [(value)]="calendarValue"
16154
16210
  [type]="calendarType"
16155
16211
  [min]="calendarMin"
@@ -17382,7 +17438,7 @@ class DateRangePopupComponent {
17382
17438
  }
17383
17439
  }
17384
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 });
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" }, 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: [
17386
17442
  LocalizationService,
17387
17443
  {
17388
17444
  provide: L10N_PREFIX,
@@ -17408,6 +17464,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
17408
17464
  <kendo-multiviewcalendar
17409
17465
  [allowReverse]="allowReverse"
17410
17466
  selection="range"
17467
+ [size]="size"
17411
17468
  [value]="dateRangeService.selectionRange"
17412
17469
  (onClosePopup)="closePopup($event)"
17413
17470
  (onTabPress)="handleTab($event)"
@@ -17487,7 +17544,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
17487
17544
  </div>
17488
17545
  </ng-template>
17489
17546
  </kendo-actionsheet>
17490
- `, 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]" }] });
17491
17548
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangePopupComponent, decorators: [{
17492
17549
  type: Component,
17493
17550
  args: [{
@@ -17520,6 +17577,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
17520
17577
  <kendo-multiviewcalendar
17521
17578
  [allowReverse]="allowReverse"
17522
17579
  selection="range"
17580
+ [size]="size"
17523
17581
  [value]="dateRangeService.selectionRange"
17524
17582
  (onClosePopup)="closePopup($event)"
17525
17583
  (onTabPress)="handleTab($event)"
@@ -17651,6 +17709,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
17651
17709
  type: Input
17652
17710
  }], subtitle: [{
17653
17711
  type: Input
17712
+ }], size: [{
17713
+ type: Input
17654
17714
  }], open: [{
17655
17715
  type: Output
17656
17716
  }], close: [{
@@ -17722,10 +17782,10 @@ class DateRangeComponent {
17722
17782
  }
17723
17783
  }
17724
17784
  DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
17725
- 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: `
17726
17786
  <ng-content></ng-content>
17727
- <kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
17728
- `, 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"] }] });
17729
17789
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, decorators: [{
17730
17790
  type: Component,
17731
17791
  args: [{
@@ -17733,10 +17793,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
17733
17793
  selector: 'kendo-daterange',
17734
17794
  template: `
17735
17795
  <ng-content></ng-content>
17736
- <kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
17796
+ <kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
17737
17797
  `
17738
17798
  }]
17739
- }], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { keydown: [{
17799
+ }], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { size: [{
17800
+ type: Input
17801
+ }], keydown: [{
17740
17802
  type: HostListener,
17741
17803
  args: ['keydown', ['$event']]
17742
17804
  }], wrapperClass: [{