@progress/kendo-angular-dateinputs 11.4.0-develop.8 → 11.4.0-develop.9

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.
Files changed (42) hide show
  1. package/calendar/calendar.component.d.ts +18 -1
  2. package/common/adaptive.module.d.ts +18 -0
  3. package/datepicker/datepicker.component.d.ts +57 -6
  4. package/datepicker/datepicker.module.d.ts +2 -1
  5. package/daterange/date-range-popup.component.d.ts +58 -7
  6. package/daterange/date-range-selection.directive.d.ts +12 -2
  7. package/daterange/date-range.module.d.ts +9 -6
  8. package/daterange/localization/daterange-popup-custom-messages.component.d.ts +17 -0
  9. package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +16 -0
  10. package/daterange/localization/messages.d.ts +29 -0
  11. package/datetimepicker/datetimepicker.component.d.ts +58 -5
  12. package/datetimepicker/datetimepicker.module.d.ts +2 -1
  13. package/esm2020/calendar/calendar.component.mjs +34 -2
  14. package/esm2020/calendar/multiview-calendar.component.mjs +2 -1
  15. package/esm2020/common/adaptive.module.mjs +41 -0
  16. package/esm2020/datepicker/datepicker.component.mjs +271 -48
  17. package/esm2020/datepicker/datepicker.module.mjs +7 -3
  18. package/esm2020/daterange/date-range-popup.component.mjs +320 -17
  19. package/esm2020/daterange/date-range-selection.directive.mjs +27 -12
  20. package/esm2020/daterange/date-range.component.mjs +1 -1
  21. package/esm2020/daterange/date-range.module.mjs +16 -5
  22. package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +41 -0
  23. package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +37 -0
  24. package/esm2020/daterange/localization/messages.mjs +29 -0
  25. package/esm2020/datetimepicker/datetimepicker.component.mjs +306 -49
  26. package/esm2020/datetimepicker/datetimepicker.module.mjs +7 -3
  27. package/esm2020/index.mjs +3 -0
  28. package/esm2020/package-metadata.mjs +2 -2
  29. package/esm2020/timepicker/services/dom.service.mjs +33 -7
  30. package/esm2020/timepicker/timepicker.component.mjs +279 -33
  31. package/esm2020/timepicker/timepicker.module.mjs +5 -2
  32. package/esm2020/timepicker/timeselector.component.mjs +7 -1
  33. package/esm2020/util.mjs +18 -0
  34. package/fesm2015/progress-kendo-angular-dateinputs.mjs +1417 -175
  35. package/fesm2020/progress-kendo-angular-dateinputs.mjs +1417 -175
  36. package/index.d.ts +4 -0
  37. package/package.json +11 -9
  38. package/timepicker/services/dom.service.d.ts +3 -0
  39. package/timepicker/timepicker.component.d.ts +52 -5
  40. package/timepicker/timepicker.module.d.ts +2 -1
  41. package/timepicker/timeselector.component.d.ts +7 -2
  42. package/util.d.ts +12 -0
@@ -10,6 +10,7 @@ import { IntlService } from '@progress/kendo-angular-intl';
10
10
  import { LocalizationService } from '@progress/kendo-angular-l10n';
11
11
  import { PickerService } from '../common/picker.service';
12
12
  import { DisabledDatesService } from '../calendar/services/disabled-dates.service';
13
+ import { AdaptiveMode } from '../util';
13
14
  import { CalendarComponent } from '../calendar/calendar.component';
14
15
  import { TimeSelectorComponent } from '../timepicker/timeselector.component';
15
16
  import { DateInputComponent } from '../dateinput/dateinput.component';
@@ -31,6 +32,7 @@ import { DateInputSize } from '../common/models/size';
31
32
  import { DateInputRounded } from '../common/models/rounded';
32
33
  import { DateInputFillMode } from '../common/models/fillmode';
33
34
  import { SVGIcon } from '@progress/kendo-svg-icons';
35
+ import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
34
36
  import * as i0 from "@angular/core";
35
37
  /**
36
38
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
@@ -136,9 +138,17 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
136
138
  set popupSettings(settings: PopupSettings);
137
139
  get popupSettings(): PopupSettings;
138
140
  /**
139
- * Sets the title of the input element of the DateTimePicker.
141
+ * Sets the title of the input element of the DateTimePicker and the title text rendered
142
+ * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
140
143
  */
141
144
  title: string;
145
+ /**
146
+ * Sets the subtitle text rendered in the header of the popup(action sheet).
147
+ * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
148
+ */
149
+ set subtitle(subtitle: string);
150
+ get subtitle(): string;
151
+ private _subtitle;
142
152
  /**
143
153
  * Sets or gets the `disabled` property of the DateTimePicker and determines whether the component is active
144
154
  * ([see example]({% slug disabled_datetimepicker %})).
@@ -238,6 +248,10 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
238
248
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
239
249
  */
240
250
  incompleteDateValidation: boolean;
251
+ /**
252
+ * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
253
+ */
254
+ adaptiveMode: AdaptiveMode;
241
255
  /**
242
256
  * Fires each time the user selects a new value.
243
257
  * ([more information and example]({% slug overview_datetimepicker %}#toc-methods-and-events)).
@@ -266,7 +280,7 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
266
280
  */
267
281
  onBlur: EventEmitter<any>;
268
282
  /**
269
- * Indicates whether the component is currently open.
283
+ * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
270
284
  */
271
285
  get isOpen(): boolean;
272
286
  /**
@@ -335,6 +349,18 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
335
349
  * The inactive tab component gets disabled and becomes inaccessible on tab click.
336
350
  */
337
351
  get disableTimeSelector(): boolean;
352
+ /**
353
+ * @hidden
354
+ */
355
+ get isAdaptiveModeEnabled(): boolean;
356
+ /**
357
+ * @hidden
358
+ */
359
+ get isAdaptive(): boolean;
360
+ /**
361
+ * @hidden
362
+ */
363
+ onResize(): void;
338
364
  /**
339
365
  * @hidden
340
366
  *
@@ -368,6 +394,10 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
368
394
  * @hidden
369
395
  */
370
396
  calendarMax: Date;
397
+ /**
398
+ * @hidden
399
+ */
400
+ xIcon: SVGIcon;
371
401
  /**
372
402
  * @hidden
373
403
  */
@@ -400,6 +430,7 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
400
430
  private get appendTo();
401
431
  private container;
402
432
  private popupTemplate;
433
+ actionSheet: ActionSheetComponent;
403
434
  private get popupUID();
404
435
  private popupRef;
405
436
  private _popupSettings;
@@ -419,9 +450,11 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
419
450
  private disabledDatesValidateFn;
420
451
  private incompleteValidator;
421
452
  private subscriptions;
453
+ private ariaActiveDescendantSubscription;
422
454
  private _size;
423
455
  private _rounded;
424
456
  private _fillMode;
457
+ private windowSize;
425
458
  constructor(popupService: PopupService, intl: IntlService, cdr: ChangeDetectorRef, pickerService: PickerService, ngZone: NgZone, wrapper: ElementRef<HTMLElement>, touchEnabled: boolean, localization: LocalizationService, disabledDatesService: DisabledDatesService, renderer: Renderer2);
426
459
  ngOnInit(): void;
427
460
  ngAfterViewInit(): void;
@@ -437,7 +470,8 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
437
470
  */
438
471
  blur(): void;
439
472
  /**
440
- * Toggles the visibility of the popup. If you use the `toggle` method to show or hide the popup,
473
+ * Toggles the visibility of the popup or actionSheet.
474
+ * If you use the `toggle` method to show or hide the popup or actionSheet,
441
475
  * the `open` and `close` events do not fire.
442
476
  * ([more information and example]({% slug overview_datetimepicker %}#toc-methods-and-events)).
443
477
  *
@@ -506,6 +540,10 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
506
540
  * @hidden
507
541
  */
508
542
  handleInputValueChange(value: Date): void;
543
+ /**
544
+ * @hidden
545
+ */
546
+ handleDateInputClick(): void;
509
547
  /**
510
548
  * @hidden
511
549
  */
@@ -522,6 +560,10 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
522
560
  * @hidden
523
561
  */
524
562
  handleBackTabOut(event: KeyboardEvent): void;
563
+ /**
564
+ * @hidden
565
+ */
566
+ handleActionSheetCollapse(): void;
525
567
  /**
526
568
  * @hidden
527
569
  */
@@ -532,6 +574,13 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
532
574
  * Prevents the diversion of the focus from the currently active element in the component.
533
575
  */
534
576
  preventMouseDown(event: MouseEvent): void;
577
+ private _togglePopup;
578
+ private toggleActionSheet;
579
+ private updateActionSheetAdaptiveAppearance;
580
+ /**
581
+ * Changes the tab and the calendar or clock icon to the designated default.
582
+ */
583
+ private resetActiveTab;
535
584
  private verifyValue;
536
585
  private verifyMinMaxRange;
537
586
  /**
@@ -552,9 +601,13 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
552
601
  * Literals will be left only if they are not preceded by date parts.
553
602
  */
554
603
  private timeFormatPartFilter;
555
- private togglePopup;
604
+ /**
605
+ * @hidden
606
+ */
607
+ toggleDateTime(open: boolean): void;
556
608
  private switchFocus;
557
609
  private openPopup;
610
+ private setAriaActiveDescendant;
558
611
  private closePopup;
559
612
  private handleValueChange;
560
613
  /**
@@ -576,5 +629,5 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
576
629
  private handleDateCompletenessChange;
577
630
  private setComponentClasses;
578
631
  static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
579
- static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "kendo-datetimepicker", ["kendo-datetimepicker"], { "focusableId": "focusableId"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "tabindex": "tabindex"; "disabledDates": "disabledDates"; "popupSettings": "popupSettings"; "title": "title"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "cancelButton": "cancelButton"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "focusedDate": "focusedDate"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "weekNumber": "weekNumber"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "incompleteDateValidation": "incompleteDateValidation"; "defaultTab": "defaultTab"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], never>;
632
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "kendo-datetimepicker", ["kendo-datetimepicker"], { "focusableId": "focusableId"; "value": "value"; "format": "format"; "twoDigitYearMax": "twoDigitYearMax"; "tabindex": "tabindex"; "disabledDates": "disabledDates"; "popupSettings": "popupSettings"; "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "readonly": "readonly"; "readOnlyInput": "readOnlyInput"; "cancelButton": "cancelButton"; "formatPlaceholder": "formatPlaceholder"; "placeholder": "placeholder"; "steps": "steps"; "focusedDate": "focusedDate"; "calendarType": "calendarType"; "animateCalendarNavigation": "animateCalendarNavigation"; "weekNumber": "weekNumber"; "min": "min"; "max": "max"; "rangeValidation": "rangeValidation"; "disabledDatesValidation": "disabledDatesValidation"; "incompleteDateValidation": "incompleteDateValidation"; "adaptiveMode": "adaptiveMode"; "defaultTab": "defaultTab"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "onFocus": "focus"; "onBlur": "blur"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], never>;
580
633
  }
@@ -15,12 +15,13 @@ import * as i9 from "@progress/kendo-angular-popup";
15
15
  import * as i10 from "@progress/kendo-angular-common";
16
16
  import * as i11 from "../calendar/templates.module";
17
17
  import * as i12 from "@progress/kendo-angular-icons";
18
+ import * as i13 from "../common/adaptive.module";
18
19
  /**
19
20
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20
21
  * definition for the DateTimePicker component.
21
22
  */
22
23
  export declare class DateTimePickerModule {
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IntlModule, typeof i6.DateInputModule, typeof i7.CalendarModule, typeof i8.TimePickerModule, typeof i9.PopupModule, typeof i10.EventsModule, typeof i11.TemplatesModule, typeof i12.IconsModule], [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective, typeof i11.TemplatesModule]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IntlModule, typeof i6.DateInputModule, typeof i7.CalendarModule, typeof i8.TimePickerModule, typeof i9.PopupModule, typeof i10.EventsModule, typeof i11.TemplatesModule, typeof i12.IconsModule, typeof i13.AdaptiveModule], [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective, typeof i11.TemplatesModule]>;
25
26
  static ɵinj: i0.ɵɵInjectorDeclaration<DateTimePickerModule>;
26
27
  }
@@ -31,7 +31,7 @@ import { CalendarViewEnum } from './models/view.enum';
31
31
  import { minValidator } from '../validators/min.validator';
32
32
  import { maxValidator } from '../validators/max.validator';
33
33
  import { MIN_DATE, MAX_DATE } from '../defaults';
34
- import { areDatesEqual, dateInRange, getToday, hasExistingValue, last, noop } from '../util';
34
+ import { areDatesEqual, dateInRange, DEFAULT_SIZE, getSizeClass, getToday, hasExistingValue, last, noop } from '../util';
35
35
  import { closest } from '../common/dom-queries';
36
36
  import { requiresZoneOnBlur, preventDefault, isPresent, isArrowWithShiftPressed, selectors, attributeNames } from '../common/utils';
37
37
  import { from as fromPromise } from 'rxjs';
@@ -202,6 +202,7 @@ export class CalendarComponent {
202
202
  * ([more information and example]({% slug overview_calendar %}#toc-events)).
203
203
  */
204
204
  this.valueChange = new EventEmitter();
205
+ this._size = DEFAULT_SIZE;
205
206
  this.isActive = false;
206
207
  this.cellUID = guid();
207
208
  this.selectedDates = [];
@@ -438,6 +439,31 @@ export class CalendarComponent {
438
439
  get navigationItemTemplateRef() {
439
440
  return this._navigationItemTemplateRef || this.navigationItemTemplate;
440
441
  }
442
+ /**
443
+ * @hidden
444
+ *
445
+ * TODO: Make visible when true sizing of all calendar elements is implemented
446
+ * Sets the size of the component.
447
+ *
448
+ * The possible values are:
449
+ * * `small`
450
+ * * `medium` (Default)
451
+ * * `large`
452
+ * * `none`
453
+ *
454
+ */
455
+ set size(size) {
456
+ const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
457
+ this.renderer.removeClass(element.nativeElement, getSizeClass('calendar', this.size));
458
+ const newSize = size ? size : DEFAULT_SIZE;
459
+ if (newSize !== 'none') {
460
+ this.renderer.addClass(element.nativeElement, getSizeClass('calendar', newSize));
461
+ }
462
+ this._size = newSize;
463
+ }
464
+ get size() {
465
+ return this._size;
466
+ }
441
467
  get activeViewEnum() {
442
468
  const activeView = CalendarViewEnum[this.activeView];
443
469
  return activeView < this.bottomViewEnum ? this.bottomViewEnum : activeView;
@@ -488,6 +514,10 @@ export class CalendarComponent {
488
514
  }
489
515
  ngAfterViewInit() {
490
516
  this.setAriaActivedescendant();
517
+ if (this.size !== 'none') {
518
+ const element = this.type === 'infinite' ? this.element : this.multiViewCalendar.element;
519
+ this.renderer.addClass(element.nativeElement, getSizeClass('calendar', this.size));
520
+ }
491
521
  }
492
522
  ngAfterViewChecked() {
493
523
  if (!this.syncNavigation) {
@@ -924,7 +954,7 @@ export class CalendarComponent {
924
954
  }
925
955
  }
926
956
  CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
927
- CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CalendarComponent, selector: "kendo-calendar", inputs: { id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
957
+ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CalendarComponent, selector: "kendo-calendar", inputs: { id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
928
958
  BusViewService,
929
959
  CALENDAR_VALUE_ACCESSOR,
930
960
  CALENDAR_RANGE_VALIDATORS,
@@ -1263,6 +1293,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1263
1293
  }], navigationItemTemplateRef: [{
1264
1294
  type: Input,
1265
1295
  args: ['navigationItemTemplate']
1296
+ }], size: [{
1297
+ type: Input
1266
1298
  }], navigationView: [{
1267
1299
  type: ViewChild,
1268
1300
  args: [NavigationComponent, { static: false }]
@@ -580,7 +580,8 @@ export class MultiViewCalendarComponent {
580
580
  if (!this.element) {
581
581
  return;
582
582
  }
583
- this.element.nativeElement.querySelector('.k-calendar-view').focus();
583
+ // Prevent the content from auto-scrolling when daterange is in adaptive mode
584
+ this.element.nativeElement.querySelector('.k-calendar-view').focus({ preventScroll: true });
584
585
  }
585
586
  /**
586
587
  * Blurs the Calendar component.
@@ -0,0 +1,41 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NgModule } from '@angular/core';
6
+ import { ResizeSensorModule } from '@progress/kendo-angular-common';
7
+ import { NavigationModule } from '@progress/kendo-angular-navigation';
8
+ import { ButtonModule } from '@progress/kendo-angular-buttons';
9
+ import { TextBoxModule } from '@progress/kendo-angular-inputs';
10
+ import * as i0 from "@angular/core";
11
+ const ADAPTIVE_MODULES = [
12
+ NavigationModule,
13
+ ResizeSensorModule,
14
+ ButtonModule,
15
+ TextBoxModule
16
+ ];
17
+ /**
18
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
19
+ * definition for the modules specific to the Adaptive Mode.
20
+ */
21
+ export class AdaptiveModule {
22
+ }
23
+ AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
+ AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdaptiveModule, imports: [NavigationModule,
25
+ ResizeSensorModule,
26
+ ButtonModule,
27
+ TextBoxModule], exports: [NavigationModule,
28
+ ResizeSensorModule,
29
+ ButtonModule,
30
+ TextBoxModule] });
31
+ AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdaptiveModule, imports: [[...ADAPTIVE_MODULES], NavigationModule,
32
+ ResizeSensorModule,
33
+ ButtonModule,
34
+ TextBoxModule] });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdaptiveModule, decorators: [{
36
+ type: NgModule,
37
+ args: [{
38
+ imports: [...ADAPTIVE_MODULES],
39
+ exports: [...ADAPTIVE_MODULES]
40
+ }]
41
+ }] });