@progress/kendo-angular-dateinputs 5.3.1-dev.202112011809 → 6.0.0-dev.202201181611

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 (78) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/dist/cdn/js/kendo-angular-dateinputs.js +2 -2
  5. package/dist/cdn/main.js +1 -1
  6. package/dist/es/calendar/calendar.component.js +14 -2
  7. package/dist/es/calendar/header.component.js +1 -1
  8. package/dist/es/calendar/multiview-calendar.component.js +28 -12
  9. package/dist/es/calendar/multiview-calendar.module.js +9 -1
  10. package/dist/es/calendar/services/dom.service.js +1 -1
  11. package/dist/es/calendar/view.component.js +1 -1
  12. package/dist/es/common/models/fillmode.js +4 -0
  13. package/dist/es/common/models/rounded.js +4 -0
  14. package/dist/es/common/models/size.js +4 -0
  15. package/dist/es/dateinput/dateinput.component.js +143 -18
  16. package/dist/es/datepicker/datepicker.component.js +130 -13
  17. package/dist/es/daterange/date-range-input.js +1 -1
  18. package/dist/es/datetimepicker/datetimepicker.component.js +147 -11
  19. package/dist/es/package-metadata.js +1 -1
  20. package/dist/es/timepicker/services/dom.service.js +12 -8
  21. package/dist/es/timepicker/timelist.component.js +3 -2
  22. package/dist/es/timepicker/timepicker.component.js +130 -13
  23. package/dist/es/timepicker/timeselector.component.js +2 -2
  24. package/dist/es/util.js +37 -0
  25. package/dist/es2015/calendar/calendar.component.d.ts +7 -0
  26. package/dist/es2015/calendar/calendar.component.js +14 -2
  27. package/dist/es2015/calendar/header.component.js +4 -4
  28. package/dist/es2015/calendar/multiview-calendar.component.d.ts +8 -2
  29. package/dist/es2015/calendar/multiview-calendar.component.js +31 -11
  30. package/dist/es2015/calendar/multiview-calendar.module.js +9 -1
  31. package/dist/es2015/calendar/services/dom.service.js +1 -1
  32. package/dist/es2015/calendar/view.component.js +1 -1
  33. package/dist/es2015/common/models/fillmode.d.ts +14 -0
  34. package/dist/es2015/common/models/fillmode.js +4 -0
  35. package/dist/es2015/common/models/rounded.d.ts +15 -0
  36. package/dist/es2015/common/models/rounded.js +4 -0
  37. package/dist/es2015/common/models/size.d.ts +14 -0
  38. package/dist/es2015/common/models/size.js +4 -0
  39. package/dist/es2015/dateinput/dateinput.component.d.ts +49 -8
  40. package/dist/es2015/dateinput/dateinput.component.js +183 -68
  41. package/dist/es2015/datepicker/datepicker.component.d.ts +47 -5
  42. package/dist/es2015/datepicker/datepicker.component.js +155 -49
  43. package/dist/es2015/daterange/date-range-input.js +1 -1
  44. package/dist/es2015/datetimepicker/datetimepicker.component.d.ts +56 -6
  45. package/dist/es2015/datetimepicker/datetimepicker.component.js +186 -63
  46. package/dist/es2015/index.metadata.json +1 -1
  47. package/dist/es2015/package-metadata.js +1 -1
  48. package/dist/es2015/timepicker/services/dom.service.d.ts +1 -0
  49. package/dist/es2015/timepicker/services/dom.service.js +12 -8
  50. package/dist/es2015/timepicker/timelist.component.js +3 -2
  51. package/dist/es2015/timepicker/timepicker.component.d.ts +50 -5
  52. package/dist/es2015/timepicker/timepicker.component.js +174 -69
  53. package/dist/es2015/timepicker/timeselector.component.js +7 -5
  54. package/dist/es2015/util.d.ts +18 -0
  55. package/dist/es2015/util.js +37 -0
  56. package/dist/fesm2015/index.js +821 -290
  57. package/dist/fesm5/index.js +663 -92
  58. package/dist/npm/calendar/calendar.component.js +14 -2
  59. package/dist/npm/calendar/header.component.js +1 -1
  60. package/dist/npm/calendar/multiview-calendar.component.js +27 -11
  61. package/dist/npm/calendar/multiview-calendar.module.js +9 -1
  62. package/dist/npm/calendar/services/dom.service.js +1 -1
  63. package/dist/npm/calendar/view.component.js +1 -1
  64. package/dist/npm/common/models/fillmode.js +6 -0
  65. package/dist/npm/common/models/rounded.js +6 -0
  66. package/dist/npm/common/models/size.js +6 -0
  67. package/dist/npm/dateinput/dateinput.component.js +142 -17
  68. package/dist/npm/datepicker/datepicker.component.js +129 -12
  69. package/dist/npm/daterange/date-range-input.js +1 -1
  70. package/dist/npm/datetimepicker/datetimepicker.component.js +146 -10
  71. package/dist/npm/package-metadata.js +1 -1
  72. package/dist/npm/timepicker/services/dom.service.js +15 -10
  73. package/dist/npm/timepicker/timelist.component.js +3 -2
  74. package/dist/npm/timepicker/timepicker.component.js +129 -12
  75. package/dist/npm/timepicker/timeselector.component.js +2 -2
  76. package/dist/npm/util.js +37 -0
  77. package/dist/systemjs/kendo-angular-dateinputs.js +1 -1
  78. package/package.json +2 -2
@@ -28,7 +28,7 @@ import { HeaderTitleTemplateDirective } from '../calendar/templates/header-title
28
28
  import { NavigationItemTemplateDirective } from '../calendar/templates/navigation-item-template.directive';
29
29
  import { PickerService } from '../common/picker.service';
30
30
  import { DisabledDatesService } from '../calendar/services/disabled-dates.service';
31
- import { noop, isValidRange, setTime, isWindowAvailable, isTabExitingCalendar } from '../util';
31
+ import { noop, isValidRange, setTime, isWindowAvailable, isTabExitingCalendar, getSizeClass, getRoundedClass, getFillModeClass } from '../util';
32
32
  import { TOUCH_ENABLED } from '../touch-enabled';
33
33
  import { requiresZoneOnBlur, currentFocusTarget } from '../common/utils';
34
34
  import { fromEvent } from 'rxjs';
@@ -43,12 +43,12 @@ const TWO_DIGIT_YEAR_MAX = 68;
43
43
  * Represents the [Kendo UI DatePicker component for Angular]({% slug overview_datepicker %}#toc-basic-usage).
44
44
  */
45
45
  let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
46
- constructor(zone, localization, cdr, popupService, element, renderer, injector, pickerService, disabledDatesService, touchEnabled) {
46
+ constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService, touchEnabled) {
47
47
  this.zone = zone;
48
48
  this.localization = localization;
49
49
  this.cdr = cdr;
50
50
  this.popupService = popupService;
51
- this.element = element;
51
+ this.wrapper = wrapper;
52
52
  this.renderer = renderer;
53
53
  this.injector = injector;
54
54
  this.pickerService = pickerService;
@@ -274,6 +274,9 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
274
274
  this.incompleteValidator = noop;
275
275
  this.resolvedPromise = Promise.resolve(null);
276
276
  this.domEvents = [];
277
+ this._size = 'medium';
278
+ this._rounded = 'medium';
279
+ this._fillMode = 'solid';
277
280
  validatePackage(packageMetadata);
278
281
  this.pickerSubscriptions = this.pickerService.onFocus.subscribe(this.handleFocus.bind(this));
279
282
  this.pickerSubscriptions.add(this.pickerService.onBlur.subscribe(this.handleBlur.bind(this)));
@@ -375,6 +378,73 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
375
378
  get disabledDates() {
376
379
  return this._disabledDates;
377
380
  }
381
+ /**
382
+ * Sets the size of the component.
383
+ *
384
+ * The possible values are:
385
+ * * `'small'`
386
+ * * `'medium'` (Default)
387
+ * * `'large'`
388
+ * * `null`
389
+ *
390
+ */
391
+ set size(size) {
392
+ this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
393
+ this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('input', this.size));
394
+ if (size) {
395
+ this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', size));
396
+ this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('input', size));
397
+ }
398
+ this._size = size;
399
+ }
400
+ get size() {
401
+ return this._size;
402
+ }
403
+ /**
404
+ * Sets the border radius of the component.
405
+ *
406
+ * The possible values are:
407
+ * * `'small'`
408
+ * * `'medium'` (Default)
409
+ * * `'large'`
410
+ * * `'full'`
411
+ * * `null`
412
+ *
413
+ */
414
+ set rounded(rounded) {
415
+ this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
416
+ if (rounded) {
417
+ this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(rounded));
418
+ }
419
+ this._rounded = rounded;
420
+ }
421
+ get rounded() {
422
+ return this._rounded;
423
+ }
424
+ /**
425
+ * Sets the fillMode of the component.
426
+ *
427
+ * The possible values are:
428
+ * * `'solid'` (Default)
429
+ * * `'flat'`
430
+ * * `'outline'`
431
+ * * `null`
432
+ *
433
+ */
434
+ set fillMode(fillMode) {
435
+ this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
436
+ this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
437
+ this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
438
+ if (fillMode) {
439
+ this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
440
+ this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${fillMode}-base`);
441
+ this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', fillMode));
442
+ }
443
+ this._fillMode = fillMode;
444
+ }
445
+ get fillMode() {
446
+ return this._fillMode;
447
+ }
378
448
  /**
379
449
  * @hidden
380
450
  */
@@ -397,10 +467,10 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
397
467
  }
398
468
  const element = this.wrapper.nativeElement;
399
469
  if (value) {
400
- this.renderer.addClass(element, 'k-state-focused');
470
+ this.renderer.addClass(element, 'k-focus');
401
471
  }
402
472
  else {
403
- this.renderer.removeClass(element, 'k-state-focused');
473
+ this.renderer.removeClass(element, 'k-focus');
404
474
  }
405
475
  }
406
476
  get show() {
@@ -435,13 +505,16 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
435
505
  .changes
436
506
  .subscribe(() => this.cdr.markForCheck());
437
507
  this.control = this.injector.get(NgControl, null);
438
- if (this.element) {
439
- this.renderer.removeAttribute(this.element.nativeElement, 'tabindex');
508
+ if (this.wrapper) {
509
+ this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
440
510
  this.zone.runOutsideAngular(() => {
441
511
  this.bindEvents();
442
512
  });
443
513
  }
444
514
  }
515
+ ngAfterViewInit() {
516
+ this.setComponentClasses();
517
+ }
445
518
  /**
446
519
  * @hidden
447
520
  */
@@ -643,6 +716,9 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
643
716
  this.show = false;
644
717
  }
645
718
  }
719
+ if (keyCode === Keys.Enter && target.classList.contains('k-calendar')) {
720
+ e.preventDefault(); // Don't submit form on date selection in popup
721
+ }
646
722
  if (keyCode === Keys.Tab && this.show && this.calendar.isActive && isTabExitingCalendar(this.calendarType, target, shiftKey)) {
647
723
  this.input.focus();
648
724
  this.show = false;
@@ -730,7 +806,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
730
806
  }
731
807
  }
732
808
  bindEvents() {
733
- const element = this.element.nativeElement;
809
+ const element = this.wrapper.nativeElement;
734
810
  this.domEvents.push(this.renderer.listen(element, 'keydown', this.handleKeydown.bind(this)));
735
811
  if (isWindowAvailable()) {
736
812
  this.windowBlurSubscription = fromEvent(window, 'blur').subscribe(this.handleWindowBlur.bind(this));
@@ -786,6 +862,20 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
786
862
  this.cdr.markForCheck();
787
863
  this.zone.run(() => this.onValidatorChange());
788
864
  }
865
+ setComponentClasses() {
866
+ if (this.size) {
867
+ this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
868
+ this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
869
+ }
870
+ if (this.rounded) {
871
+ this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
872
+ }
873
+ if (this.fillMode) {
874
+ this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
875
+ this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
876
+ this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
877
+ }
878
+ }
789
879
  };
790
880
  tslib_1.__decorate([
791
881
  ViewChild('container', { read: ViewContainerRef, static: true }),
@@ -796,9 +886,9 @@ tslib_1.__decorate([
796
886
  tslib_1.__metadata("design:type", TemplateRef)
797
887
  ], DatePickerComponent.prototype, "popupTemplate", void 0);
798
888
  tslib_1.__decorate([
799
- ViewChild('wrapper', { static: false }),
889
+ ViewChild('toggleButton', { static: true }),
800
890
  tslib_1.__metadata("design:type", ElementRef)
801
- ], DatePickerComponent.prototype, "wrapper", void 0);
891
+ ], DatePickerComponent.prototype, "toggleButton", void 0);
802
892
  tslib_1.__decorate([
803
893
  ContentChild(CellTemplateDirective, { static: false }),
804
894
  tslib_1.__metadata("design:type", CellTemplateDirective)
@@ -983,6 +1073,21 @@ tslib_1.__decorate([
983
1073
  Input(),
984
1074
  tslib_1.__metadata("design:type", Boolean)
985
1075
  ], DatePickerComponent.prototype, "weekNumber", void 0);
1076
+ tslib_1.__decorate([
1077
+ Input(),
1078
+ tslib_1.__metadata("design:type", String),
1079
+ tslib_1.__metadata("design:paramtypes", [String])
1080
+ ], DatePickerComponent.prototype, "size", null);
1081
+ tslib_1.__decorate([
1082
+ Input(),
1083
+ tslib_1.__metadata("design:type", String),
1084
+ tslib_1.__metadata("design:paramtypes", [String])
1085
+ ], DatePickerComponent.prototype, "rounded", null);
1086
+ tslib_1.__decorate([
1087
+ Input(),
1088
+ tslib_1.__metadata("design:type", String),
1089
+ tslib_1.__metadata("design:paramtypes", [String])
1090
+ ], DatePickerComponent.prototype, "fillMode", null);
986
1091
  tslib_1.__decorate([
987
1092
  Output(),
988
1093
  tslib_1.__metadata("design:type", EventEmitter)
@@ -1004,12 +1109,12 @@ tslib_1.__decorate([
1004
1109
  tslib_1.__metadata("design:type", EventEmitter)
1005
1110
  ], DatePickerComponent.prototype, "close", void 0);
1006
1111
  tslib_1.__decorate([
1007
- HostBinding('class.k-widget'),
1008
1112
  HostBinding('class.k-datepicker'),
1113
+ HostBinding('class.k-input'),
1009
1114
  tslib_1.__metadata("design:type", Boolean)
1010
1115
  ], DatePickerComponent.prototype, "wrapperClasses", void 0);
1011
1116
  tslib_1.__decorate([
1012
- HostBinding('class.k-state-disabled'),
1117
+ HostBinding('class.k-disabled'),
1013
1118
  tslib_1.__metadata("design:type", Boolean),
1014
1119
  tslib_1.__metadata("design:paramtypes", [])
1015
1120
  ], DatePickerComponent.prototype, "disabledClass", null);
@@ -1045,44 +1150,45 @@ DatePickerComponent = DatePickerComponent_1 = tslib_1.__decorate([
1045
1150
  nextButtonTitle="Navigate to next view"
1046
1151
  >
1047
1152
  </ng-container>
1048
- <span #wrapper
1049
- class="k-picker-wrap"
1050
- [class.k-state-disabled]="disabled"
1153
+ <kendo-dateinput
1154
+ #input
1155
+ [role]="inputRole"
1156
+ [focusableId]="focusableId"
1157
+ [hasPopup]="true"
1158
+ [isPopupOpen]="show"
1159
+ [disabled]="disabled"
1160
+ [readonly]="readonly || readOnlyInput"
1161
+ [ariaReadOnly]="readonly"
1162
+ [tabindex]="tabindex"
1163
+ [title]="title"
1164
+ [format]="format"
1165
+ [twoDigitYearMax]="twoDigitYearMax"
1166
+ [formatPlaceholder]="formatPlaceholder"
1167
+ [placeholder]="placeholder"
1168
+ [min]="min"
1169
+ [max]="max"
1170
+ [incompleteDateValidation]="incompleteDateValidation"
1171
+ [fillMode]="null"
1172
+ [rounded]="null"
1173
+ [size]="null"
1174
+ [value]="value"
1175
+ (valueChange)="handleInputChange($event)"
1176
+ ></kendo-dateinput>
1177
+ <button
1178
+ #toggleButton
1179
+ type="button"
1180
+ class="k-input-button k-button k-icon-button"
1181
+ [tabindex]="-1"
1182
+ [attr.title]="localization.get('toggle')"
1183
+ [attr.aria-label]="localization.get('toggle')"
1184
+ [kendoEventsOutsideAngular]="{
1185
+ click: handleIconClick,
1186
+ mousedown: handleMousedown
1187
+ }"
1188
+ [scope]="this"
1051
1189
  >
1052
- <kendo-dateinput
1053
- #input
1054
- [role]="inputRole"
1055
- [focusableId]="focusableId"
1056
- [hasPopup]="true"
1057
- [isPopupOpen]="show"
1058
- [disabled]="disabled"
1059
- [readonly]="readonly || readOnlyInput"
1060
- [ariaReadOnly]="readonly"
1061
- [tabindex]="tabindex"
1062
- [title]="title"
1063
- [format]="format"
1064
- [twoDigitYearMax]="twoDigitYearMax"
1065
- [formatPlaceholder]="formatPlaceholder"
1066
- [placeholder]="placeholder"
1067
- [min]="min"
1068
- [max]="max"
1069
- [incompleteDateValidation]="incompleteDateValidation"
1070
- [value]="value"
1071
- (valueChange)="handleInputChange($event)"
1072
- ></kendo-dateinput>
1073
- <span class="k-select"
1074
- role="button"
1075
- [attr.title]="localization.get('toggle')"
1076
- [attr.aria-label]="localization.get('toggle')"
1077
- [kendoEventsOutsideAngular]="{
1078
- click: handleIconClick,
1079
- mousedown: handleMousedown
1080
- }"
1081
- [scope]="this"
1082
- >
1083
- <span class="k-icon k-i-calendar"></span>
1084
- </span>
1085
- </span>
1190
+ <span class="k-button-icon k-icon k-i-calendar"></span>
1191
+ </button>
1086
1192
  <ng-container #container></ng-container>
1087
1193
  <ng-template #popupTemplate>
1088
1194
  <kendo-calendar
@@ -111,7 +111,7 @@ export class DateRangeInput {
111
111
  const action = show ? 'addClass' : 'removeClass';
112
112
  const nativeElement = this.element.nativeElement;
113
113
  if (nativeElement && nativeElement.querySelector) {
114
- this.renderer[action](nativeElement.querySelector('.k-dateinput-wrap'), 'k-state-focused');
114
+ this.renderer[action](nativeElement, 'k-focus');
115
115
  }
116
116
  }
117
117
  }
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef, OnDestroy, ChangeDetectorRef, EventEmitter, NgZone, OnInit, SimpleChanges, OnChanges, Renderer2 } from '@angular/core';
5
+ import { ElementRef, OnDestroy, ChangeDetectorRef, EventEmitter, NgZone, OnInit, SimpleChanges, OnChanges, Renderer2, AfterViewInit } from '@angular/core';
6
6
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
7
7
  import { Day } from '@progress/kendo-date-math';
8
8
  import { PopupService } from '@progress/kendo-angular-popup';
@@ -27,16 +27,19 @@ import { CenturyCellTemplateDirective } from '../calendar/templates/century-cell
27
27
  import { WeekNumberCellTemplateDirective } from '../calendar/templates/weeknumber-cell-template.directive';
28
28
  import { HeaderTitleTemplateDirective } from '../calendar/templates/header-title-template.directive';
29
29
  import { FormatSettings } from '../dateinput/models/format-settings.model';
30
+ import { DateInputSize } from '../common/models/size';
31
+ import { DateInputRounded } from '../common/models/rounded';
32
+ import { DateInputFillMode } from '../common/models/fillmode';
30
33
  /**
31
34
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
32
35
  */
33
- export declare class DateTimePickerComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, Validator {
36
+ export declare class DateTimePickerComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
34
37
  private popupService;
35
38
  private intl;
36
39
  private cdr;
37
40
  private pickerService;
38
41
  private ngZone;
39
- private host;
42
+ wrapper: ElementRef<HTMLElement>;
40
43
  private touchEnabled;
41
44
  localization: LocalizationService;
42
45
  private disabledDatesService;
@@ -48,7 +51,11 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, OnDes
48
51
  /**
49
52
  * @hidden
50
53
  */
51
- wrapper: ElementRef<HTMLSpanElement>;
54
+ readonly disabledClass: boolean;
55
+ /**
56
+ * @hidden
57
+ */
58
+ toggleButton: ElementRef<HTMLSpanElement>;
52
59
  /**
53
60
  * @hidden
54
61
  */
@@ -250,6 +257,40 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, OnDes
250
257
  * ([see example]({% slug datetimepicker_popup_options %}#toc-setting-the-default-tab)).
251
258
  */
252
259
  defaultTab: DateTimePickerActiveTab;
260
+ /**
261
+ * Sets the size of the component.
262
+ *
263
+ * The possible values are:
264
+ * * `'small'`
265
+ * * `'medium'` (Default)
266
+ * * `'large'`
267
+ * * `null`
268
+ *
269
+ */
270
+ size: DateInputSize;
271
+ /**
272
+ * Sets the border radius of the component.
273
+ *
274
+ * The possible values are:
275
+ * * `'small'`
276
+ * * `'medium'` (Default)
277
+ * * `'large'`
278
+ * * `'full'`
279
+ * * `null`
280
+ *
281
+ */
282
+ rounded: DateInputRounded;
283
+ /**
284
+ * Sets the fillMode of the component.
285
+ *
286
+ * The possible values are:
287
+ * * `'solid'` (Default)
288
+ * * `'flat'`
289
+ * * `'outline'`
290
+ * * `null`
291
+ *
292
+ */
293
+ fillMode: DateInputFillMode;
253
294
  /**
254
295
  * @hidden
255
296
  */
@@ -355,8 +396,12 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, OnDes
355
396
  private disabledDatesValidateFn;
356
397
  private incompleteValidator;
357
398
  private subscriptions;
358
- constructor(popupService: PopupService, intl: IntlService, cdr: ChangeDetectorRef, pickerService: PickerService, ngZone: NgZone, host: ElementRef<HTMLElement>, touchEnabled: boolean, localization: LocalizationService, disabledDatesService: DisabledDatesService, renderer: Renderer2);
399
+ private _size;
400
+ private _rounded;
401
+ private _fillMode;
402
+ constructor(popupService: PopupService, intl: IntlService, cdr: ChangeDetectorRef, pickerService: PickerService, ngZone: NgZone, wrapper: ElementRef<HTMLElement>, touchEnabled: boolean, localization: LocalizationService, disabledDatesService: DisabledDatesService, renderer: Renderer2);
359
403
  ngOnInit(): void;
404
+ ngAfterViewInit(): void;
360
405
  ngOnChanges(changes: SimpleChanges): void;
361
406
  ngOnDestroy(): void;
362
407
  /**
@@ -454,6 +499,10 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, OnDes
454
499
  * @hidden
455
500
  */
456
501
  handleBackTabOut(event: KeyboardEvent): void;
502
+ /**
503
+ * @hidden
504
+ */
505
+ popupButtonsClasses(type?: string): any;
457
506
  /**
458
507
  * @hidden
459
508
  *
@@ -487,7 +536,7 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, OnDes
487
536
  private handleValueChange;
488
537
  /**
489
538
  * Indicates whether the focus target is part of this component,
490
- * that is, whether the focus target is inside the component wrapper or in the popup.
539
+ * that is, whether the focus target is inside the component or in the popup.
491
540
  */
492
541
  private focusTargetInComponent;
493
542
  private setTimeSelectorMinMax;
@@ -502,4 +551,5 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, OnDes
502
551
  */
503
552
  private run;
504
553
  private handleDateCompletenessChange;
554
+ private setComponentClasses;
505
555
  }