@progress/kendo-angular-dateinputs 16.0.0-develop.13 → 16.0.0-develop.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: 1715097775,
42
- version: '16.0.0-develop.13',
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-content.k-calendar-table'
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-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"]
@@ -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-content.k-calendar-table');
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, 'k-calendar-range');
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-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
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 k-hstack'));
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
- this.renderer.addClass(this.element.nativeElement, `k-calendar-${type}`);
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
- const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
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.addClass(element, 'k-widget');
7229
- this.renderer.addClass(element, 'k-calendar');
7230
- this.renderer.addClass(element, `k-calendar-${this.type}`);
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"
@@ -12014,6 +12070,7 @@ class TimeSelectorComponent {
12014
12070
  */
12015
12071
  this.valueReject = new EventEmitter();
12016
12072
  this.tabOutLastPart = new EventEmitter();
12073
+ this.tabOutNow = new EventEmitter();
12017
12074
  this.isActive = false;
12018
12075
  this.showNowButton = true;
12019
12076
  this._activeListIndex = -1;
@@ -12109,7 +12166,7 @@ class TimeSelectorComponent {
12109
12166
  if (keyCode === Keys$1.Tab && shiftKey) {
12110
12167
  event.preventDefault();
12111
12168
  this.renderer.removeClass(this.timeListWrappers.first.nativeElement, 'k-focus');
12112
- this.cancel ? this.cancel.nativeElement.focus() : this.accept?.nativeElement.focus();
12169
+ this.now ? this.now.nativeElement.focus() : this.cancel.nativeElement.focus();
12113
12170
  }
12114
12171
  }));
12115
12172
  this.subscriptions.add(fromEvent(this.timeListWrappers.last.nativeElement, 'keydown').subscribe((event) => {
@@ -12228,13 +12285,23 @@ class TimeSelectorComponent {
12228
12285
  */
12229
12286
  handleTabOut(event) {
12230
12287
  const { keyCode, shiftKey } = event;
12231
- if (keyCode === Keys$1.Tab && !shiftKey) {
12288
+ if (event.target === this.now?.nativeElement && keyCode === Keys$1.Tab && shiftKey) {
12289
+ event.preventDefault();
12290
+ if (this.isDateTimePicker) {
12291
+ this.tabOutNow.emit();
12292
+ }
12293
+ else {
12294
+ this.cancel ? this.cancel.nativeElement.focus() : this.accept.nativeElement.focus();
12295
+ }
12296
+ return;
12297
+ }
12298
+ if (keyCode === Keys$1.Tab && !shiftKey && event.target !== this.now?.nativeElement) {
12232
12299
  event.preventDefault();
12233
12300
  if (document.activeElement === this.accept.nativeElement) {
12234
- this.cancel ? this.cancel.nativeElement.focus() : this.timeLists.first.focus();
12301
+ this.cancel ? this.cancel.nativeElement.focus() : this.now?.nativeElement.focus();
12235
12302
  }
12236
12303
  else {
12237
- this.timeLists.first.focus();
12304
+ this.now ? this.now.nativeElement.focus() : this.timeLists.first.focus();
12238
12305
  }
12239
12306
  }
12240
12307
  }
@@ -12325,7 +12392,7 @@ class TimeSelectorComponent {
12325
12392
  }
12326
12393
  }
12327
12394
  TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimeSelectorComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.IntlService }, { token: TimePickerDOMService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
12328
- TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", isAdaptiveEnabled: "isAdaptiveEnabled", isDateTimePicker: "isDateTimePicker", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject", tabOutLastPart: "tabOutLastPart" }, host: { properties: { "class.k-disabled": "this.disabledClass" } }, providers: [
12395
+ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", isAdaptiveEnabled: "isAdaptiveEnabled", isDateTimePicker: "isDateTimePicker", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject", tabOutLastPart: "tabOutLastPart", tabOutNow: "tabOutNow" }, host: { properties: { "class.k-disabled": "this.disabledClass" } }, providers: [
12329
12396
  LocalizationService,
12330
12397
  {
12331
12398
  provide: L10N_PREFIX,
@@ -12366,7 +12433,8 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
12366
12433
  [kendoEventsOutsideAngular]="{
12367
12434
  click: handleNow,
12368
12435
  focus: handleFocus,
12369
- blur: handleBlur
12436
+ blur: handleBlur,
12437
+ keydown: handleTabOut
12370
12438
  }"
12371
12439
  [scope]="this"
12372
12440
  [disabled]="disabled"
@@ -12487,7 +12555,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
12487
12555
  [kendoEventsOutsideAngular]="{
12488
12556
  click: handleNow,
12489
12557
  focus: handleFocus,
12490
- blur: handleBlur
12558
+ blur: handleBlur,
12559
+ keydown: handleTabOut
12491
12560
  }"
12492
12561
  [scope]="this"
12493
12562
  [disabled]="disabled"
@@ -12609,6 +12678,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
12609
12678
  type: Output
12610
12679
  }], tabOutLastPart: [{
12611
12680
  type: Output
12681
+ }], tabOutNow: [{
12682
+ type: Output
12612
12683
  }] } });
12613
12684
 
12614
12685
  const VALUE_DOC_LINK$1 = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/#toc-integration-with-json';
@@ -13740,7 +13811,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
13740
13811
  </kendo-timeselector-messages>
13741
13812
  </kendo-timeselector>
13742
13813
  </ng-template>
13743
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13814
+ `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13744
13815
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimePickerComponent, decorators: [{
13745
13816
  type: Component,
13746
13817
  args: [{
@@ -14154,6 +14225,7 @@ const TWO_DIGIT_YEAR_MAX = 68;
14154
14225
  const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
14155
14226
  const CANCEL_BUTTON_SELECOTR = '.k-button.k-time-cancel';
14156
14227
  const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-date-tab';
14228
+ const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-time-tab';
14157
14229
  /**
14158
14230
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
14159
14231
  */
@@ -14750,6 +14822,9 @@ class DateTimePickerComponent {
14750
14822
  get dateTabButton() {
14751
14823
  return this.popupRef?.popup.instance.container.nativeElement.querySelector(DATE_TAB_BUTTON_SELECTOR);
14752
14824
  }
14825
+ get timeTabButton() {
14826
+ return this.popupRef?.popup.instance.container.nativeElement.querySelector(TIME_TAB_BUTTON_SELECTOR);
14827
+ }
14753
14828
  /**
14754
14829
  * @hidden
14755
14830
  */
@@ -14996,6 +15071,12 @@ class DateTimePickerComponent {
14996
15071
  this.dateTabButton.focus();
14997
15072
  }
14998
15073
  }
15074
+ /**
15075
+ * @hidden
15076
+ */
15077
+ onTabOutNow() {
15078
+ this.timeTabButton.focus();
15079
+ }
14999
15080
  /**
15000
15081
  * @hidden
15001
15082
  */
@@ -15119,7 +15200,7 @@ class DateTimePickerComponent {
15119
15200
  this.calendar.monthView.list.nativeElement.focus();
15120
15201
  }
15121
15202
  else {
15122
- this.timeSelector.focus();
15203
+ this.timeSelector.timeLists.last.focus();
15123
15204
  }
15124
15205
  }
15125
15206
  break;
@@ -15687,8 +15768,8 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15687
15768
  <div class="k-datetime-calendar-wrap">
15688
15769
  <kendo-calendar
15689
15770
  #calendar
15690
- [ngClass]="{'k-calendar-lg': isAdaptive}"
15691
15771
  [focusedDate]="focusedDate"
15772
+ [size]="isAdaptive ? 'large' : size"
15692
15773
  [(value)]="calendarValue"
15693
15774
  [type]="calendarType"
15694
15775
  [min]="calendarMin"
@@ -15735,6 +15816,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15735
15816
  [isAdaptiveEnabled]="isAdaptiveModeEnabled"
15736
15817
  [isDateTimePicker]="true"
15737
15818
  (tabOutLastPart)="onTabOutLastPart()"
15819
+ (tabOutNow)="onTabOutNow()"
15738
15820
  >
15739
15821
  <kendo-timeselector-messages
15740
15822
  [acceptLabel]="localization.get('acceptLabel')"
@@ -15795,7 +15877,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15795
15877
  </div>
15796
15878
  </div>
15797
15879
  </ng-template>
15798
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart"], exportAs: ["kendo-timeselector"] }, { kind: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15880
+ `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "directive", type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i11.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i11.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15799
15881
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimePickerComponent, decorators: [{
15800
15882
  type: Component,
15801
15883
  args: [{
@@ -16075,8 +16157,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
16075
16157
  <div class="k-datetime-calendar-wrap">
16076
16158
  <kendo-calendar
16077
16159
  #calendar
16078
- [ngClass]="{'k-calendar-lg': isAdaptive}"
16079
16160
  [focusedDate]="focusedDate"
16161
+ [size]="isAdaptive ? 'large' : size"
16080
16162
  [(value)]="calendarValue"
16081
16163
  [type]="calendarType"
16082
16164
  [min]="calendarMin"
@@ -16123,6 +16205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
16123
16205
  [isAdaptiveEnabled]="isAdaptiveModeEnabled"
16124
16206
  [isDateTimePicker]="true"
16125
16207
  (tabOutLastPart)="onTabOutLastPart()"
16208
+ (tabOutNow)="onTabOutNow()"
16126
16209
  >
16127
16210
  <kendo-timeselector-messages
16128
16211
  [acceptLabel]="localization.get('acceptLabel')"
@@ -17299,7 +17382,7 @@ class DateRangePopupComponent {
17299
17382
  }
17300
17383
  }
17301
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 });
17302
- 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: [
17303
17386
  LocalizationService,
17304
17387
  {
17305
17388
  provide: L10N_PREFIX,
@@ -17325,6 +17408,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
17325
17408
  <kendo-multiviewcalendar
17326
17409
  [allowReverse]="allowReverse"
17327
17410
  selection="range"
17411
+ [size]="size"
17328
17412
  [value]="dateRangeService.selectionRange"
17329
17413
  (onClosePopup)="closePopup($event)"
17330
17414
  (onTabPress)="handleTab($event)"
@@ -17404,7 +17488,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
17404
17488
  </div>
17405
17489
  </ng-template>
17406
17490
  </kendo-actionsheet>
17407
- `, 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]" }] });
17408
17492
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangePopupComponent, decorators: [{
17409
17493
  type: Component,
17410
17494
  args: [{
@@ -17437,6 +17521,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
17437
17521
  <kendo-multiviewcalendar
17438
17522
  [allowReverse]="allowReverse"
17439
17523
  selection="range"
17524
+ [size]="size"
17440
17525
  [value]="dateRangeService.selectionRange"
17441
17526
  (onClosePopup)="closePopup($event)"
17442
17527
  (onTabPress)="handleTab($event)"
@@ -17566,6 +17651,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
17566
17651
  type: Input
17567
17652
  }], subtitle: [{
17568
17653
  type: Input
17654
+ }], size: [{
17655
+ type: Input
17569
17656
  }], open: [{
17570
17657
  type: Output
17571
17658
  }], close: [{
@@ -17636,10 +17723,10 @@ class DateRangeComponent {
17636
17723
  }
17637
17724
  }
17638
17725
  DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
17639
- 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: `
17640
17727
  <ng-content></ng-content>
17641
- <kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
17642
- `, 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"] }] });
17643
17730
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateRangeComponent, decorators: [{
17644
17731
  type: Component,
17645
17732
  args: [{
@@ -17647,10 +17734,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
17647
17734
  selector: 'kendo-daterange',
17648
17735
  template: `
17649
17736
  <ng-content></ng-content>
17650
- <kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
17737
+ <kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
17651
17738
  `
17652
17739
  }]
17653
- }], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { keydown: [{
17740
+ }], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { size: [{
17741
+ type: Input
17742
+ }], keydown: [{
17654
17743
  type: HostListener,
17655
17744
  args: ['keydown', ['$event']]
17656
17745
  }], wrapperClass: [{