@progress/kendo-angular-dateinputs 5.3.1-dev.202201070925 → 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 (73) 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 +1 -1
  7. package/dist/es/calendar/header.component.js +1 -1
  8. package/dist/es/calendar/multiview-calendar.component.js +1 -1
  9. package/dist/es/calendar/services/dom.service.js +1 -1
  10. package/dist/es/calendar/view.component.js +1 -1
  11. package/dist/es/common/models/fillmode.js +4 -0
  12. package/dist/es/common/models/rounded.js +4 -0
  13. package/dist/es/common/models/size.js +4 -0
  14. package/dist/es/dateinput/dateinput.component.js +143 -18
  15. package/dist/es/datepicker/datepicker.component.js +127 -13
  16. package/dist/es/daterange/date-range-input.js +1 -1
  17. package/dist/es/datetimepicker/datetimepicker.component.js +147 -11
  18. package/dist/es/package-metadata.js +1 -1
  19. package/dist/es/timepicker/services/dom.service.js +12 -8
  20. package/dist/es/timepicker/timelist.component.js +3 -2
  21. package/dist/es/timepicker/timepicker.component.js +130 -13
  22. package/dist/es/timepicker/timeselector.component.js +2 -2
  23. package/dist/es/util.js +37 -0
  24. package/dist/es2015/calendar/calendar.component.js +1 -1
  25. package/dist/es2015/calendar/header.component.js +4 -4
  26. package/dist/es2015/calendar/multiview-calendar.component.js +1 -1
  27. package/dist/es2015/calendar/services/dom.service.js +1 -1
  28. package/dist/es2015/calendar/view.component.js +1 -1
  29. package/dist/es2015/common/models/fillmode.d.ts +14 -0
  30. package/dist/es2015/common/models/fillmode.js +4 -0
  31. package/dist/es2015/common/models/rounded.d.ts +15 -0
  32. package/dist/es2015/common/models/rounded.js +4 -0
  33. package/dist/es2015/common/models/size.d.ts +14 -0
  34. package/dist/es2015/common/models/size.js +4 -0
  35. package/dist/es2015/dateinput/dateinput.component.d.ts +49 -8
  36. package/dist/es2015/dateinput/dateinput.component.js +183 -68
  37. package/dist/es2015/datepicker/datepicker.component.d.ts +47 -5
  38. package/dist/es2015/datepicker/datepicker.component.js +152 -49
  39. package/dist/es2015/daterange/date-range-input.js +1 -1
  40. package/dist/es2015/datetimepicker/datetimepicker.component.d.ts +56 -6
  41. package/dist/es2015/datetimepicker/datetimepicker.component.js +186 -63
  42. package/dist/es2015/index.metadata.json +1 -1
  43. package/dist/es2015/package-metadata.js +1 -1
  44. package/dist/es2015/timepicker/services/dom.service.d.ts +1 -0
  45. package/dist/es2015/timepicker/services/dom.service.js +12 -8
  46. package/dist/es2015/timepicker/timelist.component.js +3 -2
  47. package/dist/es2015/timepicker/timepicker.component.d.ts +50 -5
  48. package/dist/es2015/timepicker/timepicker.component.js +174 -69
  49. package/dist/es2015/timepicker/timeselector.component.js +7 -5
  50. package/dist/es2015/util.d.ts +18 -0
  51. package/dist/es2015/util.js +37 -0
  52. package/dist/fesm2015/index.js +756 -267
  53. package/dist/fesm5/index.js +600 -67
  54. package/dist/npm/calendar/calendar.component.js +1 -1
  55. package/dist/npm/calendar/header.component.js +1 -1
  56. package/dist/npm/calendar/multiview-calendar.component.js +1 -1
  57. package/dist/npm/calendar/services/dom.service.js +1 -1
  58. package/dist/npm/calendar/view.component.js +1 -1
  59. package/dist/npm/common/models/fillmode.js +6 -0
  60. package/dist/npm/common/models/rounded.js +6 -0
  61. package/dist/npm/common/models/size.js +6 -0
  62. package/dist/npm/dateinput/dateinput.component.js +142 -17
  63. package/dist/npm/datepicker/datepicker.component.js +126 -12
  64. package/dist/npm/daterange/date-range-input.js +1 -1
  65. package/dist/npm/datetimepicker/datetimepicker.component.js +146 -10
  66. package/dist/npm/package-metadata.js +1 -1
  67. package/dist/npm/timepicker/services/dom.service.js +15 -10
  68. package/dist/npm/timepicker/timelist.component.js +3 -2
  69. package/dist/npm/timepicker/timepicker.component.js +129 -12
  70. package/dist/npm/timepicker/timeselector.component.js +2 -2
  71. package/dist/npm/util.js +37 -0
  72. package/dist/systemjs/kendo-angular-dateinputs.js +1 -1
  73. 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
  */
@@ -733,7 +806,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
733
806
  }
734
807
  }
735
808
  bindEvents() {
736
- const element = this.element.nativeElement;
809
+ const element = this.wrapper.nativeElement;
737
810
  this.domEvents.push(this.renderer.listen(element, 'keydown', this.handleKeydown.bind(this)));
738
811
  if (isWindowAvailable()) {
739
812
  this.windowBlurSubscription = fromEvent(window, 'blur').subscribe(this.handleWindowBlur.bind(this));
@@ -789,6 +862,20 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
789
862
  this.cdr.markForCheck();
790
863
  this.zone.run(() => this.onValidatorChange());
791
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
+ }
792
879
  };
793
880
  tslib_1.__decorate([
794
881
  ViewChild('container', { read: ViewContainerRef, static: true }),
@@ -799,9 +886,9 @@ tslib_1.__decorate([
799
886
  tslib_1.__metadata("design:type", TemplateRef)
800
887
  ], DatePickerComponent.prototype, "popupTemplate", void 0);
801
888
  tslib_1.__decorate([
802
- ViewChild('wrapper', { static: false }),
889
+ ViewChild('toggleButton', { static: true }),
803
890
  tslib_1.__metadata("design:type", ElementRef)
804
- ], DatePickerComponent.prototype, "wrapper", void 0);
891
+ ], DatePickerComponent.prototype, "toggleButton", void 0);
805
892
  tslib_1.__decorate([
806
893
  ContentChild(CellTemplateDirective, { static: false }),
807
894
  tslib_1.__metadata("design:type", CellTemplateDirective)
@@ -986,6 +1073,21 @@ tslib_1.__decorate([
986
1073
  Input(),
987
1074
  tslib_1.__metadata("design:type", Boolean)
988
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);
989
1091
  tslib_1.__decorate([
990
1092
  Output(),
991
1093
  tslib_1.__metadata("design:type", EventEmitter)
@@ -1007,12 +1109,12 @@ tslib_1.__decorate([
1007
1109
  tslib_1.__metadata("design:type", EventEmitter)
1008
1110
  ], DatePickerComponent.prototype, "close", void 0);
1009
1111
  tslib_1.__decorate([
1010
- HostBinding('class.k-widget'),
1011
1112
  HostBinding('class.k-datepicker'),
1113
+ HostBinding('class.k-input'),
1012
1114
  tslib_1.__metadata("design:type", Boolean)
1013
1115
  ], DatePickerComponent.prototype, "wrapperClasses", void 0);
1014
1116
  tslib_1.__decorate([
1015
- HostBinding('class.k-state-disabled'),
1117
+ HostBinding('class.k-disabled'),
1016
1118
  tslib_1.__metadata("design:type", Boolean),
1017
1119
  tslib_1.__metadata("design:paramtypes", [])
1018
1120
  ], DatePickerComponent.prototype, "disabledClass", null);
@@ -1048,44 +1150,45 @@ DatePickerComponent = DatePickerComponent_1 = tslib_1.__decorate([
1048
1150
  nextButtonTitle="Navigate to next view"
1049
1151
  >
1050
1152
  </ng-container>
1051
- <span #wrapper
1052
- class="k-picker-wrap"
1053
- [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"
1054
1189
  >
1055
- <kendo-dateinput
1056
- #input
1057
- [role]="inputRole"
1058
- [focusableId]="focusableId"
1059
- [hasPopup]="true"
1060
- [isPopupOpen]="show"
1061
- [disabled]="disabled"
1062
- [readonly]="readonly || readOnlyInput"
1063
- [ariaReadOnly]="readonly"
1064
- [tabindex]="tabindex"
1065
- [title]="title"
1066
- [format]="format"
1067
- [twoDigitYearMax]="twoDigitYearMax"
1068
- [formatPlaceholder]="formatPlaceholder"
1069
- [placeholder]="placeholder"
1070
- [min]="min"
1071
- [max]="max"
1072
- [incompleteDateValidation]="incompleteDateValidation"
1073
- [value]="value"
1074
- (valueChange)="handleInputChange($event)"
1075
- ></kendo-dateinput>
1076
- <span class="k-select"
1077
- role="button"
1078
- [attr.title]="localization.get('toggle')"
1079
- [attr.aria-label]="localization.get('toggle')"
1080
- [kendoEventsOutsideAngular]="{
1081
- click: handleIconClick,
1082
- mousedown: handleMousedown
1083
- }"
1084
- [scope]="this"
1085
- >
1086
- <span class="k-icon k-i-calendar"></span>
1087
- </span>
1088
- </span>
1190
+ <span class="k-button-icon k-icon k-i-calendar"></span>
1191
+ </button>
1089
1192
  <ng-container #container></ng-container>
1090
1193
  <ng-template #popupTemplate>
1091
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
  }