@progress/kendo-angular-dateinputs 6.0.3-dev.202203091007 → 6.0.4-dev.202203211102

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.
@@ -341,81 +341,129 @@ var CalendarComponent = /** @class */ (function () {
341
341
  configurable: true
342
342
  });
343
343
  Object.defineProperty(CalendarComponent.prototype, "cellTemplateRef", {
344
+ get: function () {
345
+ return this._cellTemplateRef || this.cellTemplate;
346
+ },
344
347
  /**
345
348
  * @hidden
349
+ *
350
+ * Defines the template for each cell.
351
+ * Takes precedence over nested templates in the KendoCalendar tag.
346
352
  */
347
353
  set: function (template) {
348
- this.cellTemplate = template;
354
+ this._cellTemplateRef = template;
349
355
  },
350
356
  enumerable: true,
351
357
  configurable: true
352
358
  });
353
359
  Object.defineProperty(CalendarComponent.prototype, "monthCellTemplateRef", {
360
+ get: function () {
361
+ return this._monthCellTemplateRef || this.monthCellTemplate;
362
+ },
354
363
  /**
355
364
  * @hidden
365
+ *
366
+ * Defines the template for each month cell.
367
+ * Takes precedence over nested templates in the KendoCalendar tag.
356
368
  */
357
369
  set: function (template) {
358
- this.monthCellTemplate = template;
370
+ this._monthCellTemplateRef = template;
359
371
  },
360
372
  enumerable: true,
361
373
  configurable: true
362
374
  });
363
375
  Object.defineProperty(CalendarComponent.prototype, "yearCellTemplateRef", {
376
+ get: function () {
377
+ return this._yearCellTemplateRef || this.yearCellTemplate;
378
+ },
364
379
  /**
365
380
  * @hidden
381
+ *
382
+ * Defines the template for each year cell.
383
+ * Takes precedence over nested templates in the KendoCalendar tag.
366
384
  */
367
385
  set: function (template) {
368
- this.yearCellTemplate = template;
386
+ this._yearCellTemplateRef = template;
369
387
  },
370
388
  enumerable: true,
371
389
  configurable: true
372
390
  });
373
391
  Object.defineProperty(CalendarComponent.prototype, "decadeCellTemplateRef", {
392
+ get: function () {
393
+ return this._decadeCellTemplateRef || this.decadeCellTemplate;
394
+ },
374
395
  /**
375
396
  * @hidden
397
+ *
398
+ * Defines the template for each decade cell.
399
+ * Takes precedence over nested templates in the KendoCalendar tag.
376
400
  */
377
401
  set: function (template) {
378
- this.decadeCellTemplate = template;
402
+ this._decadeCellTemplateRef = template;
379
403
  },
380
404
  enumerable: true,
381
405
  configurable: true
382
406
  });
383
407
  Object.defineProperty(CalendarComponent.prototype, "centuryCellTemplateRef", {
408
+ get: function () {
409
+ return this._centuryCellTemplateRef || this.centuryCellTemplate;
410
+ },
384
411
  /**
385
412
  * @hidden
413
+ *
414
+ * Defines the template for each century cell.
415
+ * Takes precedence over nested templates in the KendoCalendar tag.
386
416
  */
387
417
  set: function (template) {
388
- this.centuryCellTemplate = template;
418
+ this._centuryCellTemplateRef = template;
389
419
  },
390
420
  enumerable: true,
391
421
  configurable: true
392
422
  });
393
423
  Object.defineProperty(CalendarComponent.prototype, "weekNumberTemplateRef", {
424
+ get: function () {
425
+ return this._weekNumberTemplateRef || this.weekNumberTemplate;
426
+ },
394
427
  /**
395
428
  * @hidden
429
+ *
430
+ * Defines the template for the week cell.
431
+ * Takes precedence over nested templates in the KendoCalendar tag.
396
432
  */
397
433
  set: function (template) {
398
- this.weekNumberTemplate = template;
434
+ this._weekNumberTemplateRef = template;
399
435
  },
400
436
  enumerable: true,
401
437
  configurable: true
402
438
  });
403
439
  Object.defineProperty(CalendarComponent.prototype, "headerTitleTemplateRef", {
440
+ get: function () {
441
+ return this._headerTitleTemplateRef || this.headerTitleTemplate;
442
+ },
404
443
  /**
405
444
  * @hidden
445
+ *
446
+ * Defines the template for the header title.
447
+ * Takes precedence over nested templates in the KendoCalendar tag.
406
448
  */
407
449
  set: function (template) {
408
- this.headerTitleTemplate = template;
450
+ this._headerTitleTemplateRef = template;
409
451
  },
410
452
  enumerable: true,
411
453
  configurable: true
412
454
  });
413
455
  Object.defineProperty(CalendarComponent.prototype, "navigationItemTemplateRef", {
456
+ get: function () {
457
+ return this._navigationItemTemplateRef || this.navigationItemTemplate;
458
+ },
414
459
  /**
415
460
  * @hidden
461
+ *
462
+ * Defines the template for the navigation item.
463
+ * Takes precedence over nested templates in the KendoCalendar tag.
416
464
  */
417
465
  set: function (template) {
418
- this.navigationItemTemplate = template;
466
+ this._navigationItemTemplateRef = template;
419
467
  },
420
468
  enumerable: true,
421
469
  configurable: true
@@ -682,13 +730,13 @@ var CalendarComponent = /** @class */ (function () {
682
730
  CalendarComponent.prototype.activeCellTemplate = function () {
683
731
  switch (this.activeViewEnum) {
684
732
  case CalendarViewEnum.month:
685
- return this.monthCellTemplate || this.cellTemplate;
733
+ return this.monthCellTemplateRef || this.cellTemplateRef;
686
734
  case CalendarViewEnum.year:
687
- return this.yearCellTemplate;
735
+ return this.yearCellTemplateRef;
688
736
  case CalendarViewEnum.decade:
689
- return this.decadeCellTemplate;
737
+ return this.decadeCellTemplateRef;
690
738
  case CalendarViewEnum.century:
691
- return this.centuryCellTemplate;
739
+ return this.centuryCellTemplateRef;
692
740
  default:
693
741
  return null;
694
742
  }
@@ -999,7 +1047,7 @@ var CalendarComponent = /** @class */ (function () {
999
1047
  tslib_1.__metadata("design:type", EventEmitter)
1000
1048
  ], CalendarComponent.prototype, "valueChange", void 0);
1001
1049
  tslib_1.__decorate([
1002
- ContentChild(CellTemplateDirective, { static: true }),
1050
+ ContentChild(CellTemplateDirective, { static: false }),
1003
1051
  tslib_1.__metadata("design:type", CellTemplateDirective)
1004
1052
  ], CalendarComponent.prototype, "cellTemplate", void 0);
1005
1053
  tslib_1.__decorate([
@@ -1008,7 +1056,7 @@ var CalendarComponent = /** @class */ (function () {
1008
1056
  tslib_1.__metadata("design:paramtypes", [CellTemplateDirective])
1009
1057
  ], CalendarComponent.prototype, "cellTemplateRef", null);
1010
1058
  tslib_1.__decorate([
1011
- ContentChild(MonthCellTemplateDirective, { static: true }),
1059
+ ContentChild(MonthCellTemplateDirective, { static: false }),
1012
1060
  tslib_1.__metadata("design:type", MonthCellTemplateDirective)
1013
1061
  ], CalendarComponent.prototype, "monthCellTemplate", void 0);
1014
1062
  tslib_1.__decorate([
@@ -1017,7 +1065,7 @@ var CalendarComponent = /** @class */ (function () {
1017
1065
  tslib_1.__metadata("design:paramtypes", [MonthCellTemplateDirective])
1018
1066
  ], CalendarComponent.prototype, "monthCellTemplateRef", null);
1019
1067
  tslib_1.__decorate([
1020
- ContentChild(YearCellTemplateDirective, { static: true }),
1068
+ ContentChild(YearCellTemplateDirective, { static: false }),
1021
1069
  tslib_1.__metadata("design:type", YearCellTemplateDirective)
1022
1070
  ], CalendarComponent.prototype, "yearCellTemplate", void 0);
1023
1071
  tslib_1.__decorate([
@@ -1026,7 +1074,7 @@ var CalendarComponent = /** @class */ (function () {
1026
1074
  tslib_1.__metadata("design:paramtypes", [YearCellTemplateDirective])
1027
1075
  ], CalendarComponent.prototype, "yearCellTemplateRef", null);
1028
1076
  tslib_1.__decorate([
1029
- ContentChild(DecadeCellTemplateDirective, { static: true }),
1077
+ ContentChild(DecadeCellTemplateDirective, { static: false }),
1030
1078
  tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
1031
1079
  ], CalendarComponent.prototype, "decadeCellTemplate", void 0);
1032
1080
  tslib_1.__decorate([
@@ -1035,7 +1083,7 @@ var CalendarComponent = /** @class */ (function () {
1035
1083
  tslib_1.__metadata("design:paramtypes", [DecadeCellTemplateDirective])
1036
1084
  ], CalendarComponent.prototype, "decadeCellTemplateRef", null);
1037
1085
  tslib_1.__decorate([
1038
- ContentChild(CenturyCellTemplateDirective, { static: true }),
1086
+ ContentChild(CenturyCellTemplateDirective, { static: false }),
1039
1087
  tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
1040
1088
  ], CalendarComponent.prototype, "centuryCellTemplate", void 0);
1041
1089
  tslib_1.__decorate([
@@ -1044,7 +1092,7 @@ var CalendarComponent = /** @class */ (function () {
1044
1092
  tslib_1.__metadata("design:paramtypes", [CenturyCellTemplateDirective])
1045
1093
  ], CalendarComponent.prototype, "centuryCellTemplateRef", null);
1046
1094
  tslib_1.__decorate([
1047
- ContentChild(WeekNumberCellTemplateDirective, { static: true }),
1095
+ ContentChild(WeekNumberCellTemplateDirective, { static: false }),
1048
1096
  tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
1049
1097
  ], CalendarComponent.prototype, "weekNumberTemplate", void 0);
1050
1098
  tslib_1.__decorate([
@@ -1053,7 +1101,7 @@ var CalendarComponent = /** @class */ (function () {
1053
1101
  tslib_1.__metadata("design:paramtypes", [WeekNumberCellTemplateDirective])
1054
1102
  ], CalendarComponent.prototype, "weekNumberTemplateRef", null);
1055
1103
  tslib_1.__decorate([
1056
- ContentChild(HeaderTitleTemplateDirective, { static: true }),
1104
+ ContentChild(HeaderTitleTemplateDirective, { static: false }),
1057
1105
  tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
1058
1106
  ], CalendarComponent.prototype, "headerTitleTemplate", void 0);
1059
1107
  tslib_1.__decorate([
@@ -1062,7 +1110,7 @@ var CalendarComponent = /** @class */ (function () {
1062
1110
  tslib_1.__metadata("design:paramtypes", [HeaderTitleTemplateDirective])
1063
1111
  ], CalendarComponent.prototype, "headerTitleTemplateRef", null);
1064
1112
  tslib_1.__decorate([
1065
- ContentChild(NavigationItemTemplateDirective, { static: true }),
1113
+ ContentChild(NavigationItemTemplateDirective, { static: false }),
1066
1114
  tslib_1.__metadata("design:type", NavigationItemTemplateDirective)
1067
1115
  ], CalendarComponent.prototype, "navigationItemTemplate", void 0);
1068
1116
  tslib_1.__decorate([
@@ -1118,7 +1166,7 @@ var CalendarComponent = /** @class */ (function () {
1118
1166
  SelectionService
1119
1167
  ],
1120
1168
  selector: 'kendo-calendar',
1121
- template: "\n <ng-container kendoCalendarLocalizedMessages\n i18n-today=\"kendo.calendar.today|The label for the today button in the calendar header\"\n today=\"Today\"\n\n i18n-prevButtonTitle=\"kendo.calendar.prevButtonTitle|The title of the previous button in the Classic calendar\"\n prevButtonTitle=\"Navigate to previous view\"\n\n i18n-nextButtonTitle=\"kendo.calendar.nextButtonTitle|The title of the next button in the Classic calendar\"\n nextButtonTitle=\"Navigate to next view\"\n >\n </ng-container>\n <ng-container *ngIf=\"type === 'infinite'\">\n <kendo-calendar-navigation\n *ngIf=\"navigation\"\n [activeView]=\"activeViewEnum\"\n [focusedDate]=\"focusedDate\"\n [min]=\"min\"\n [max]=\"max\"\n [templateRef]=\"navigationItemTemplate?.templateRef\"\n (valueChange)=\"handleNavigation($event)\"\n (pageChange)=\"onPageChange()\"\n >\n </kendo-calendar-navigation>\n <kendo-calendar-viewlist\n [activeView]=\"activeViewEnum\"\n [isActive]=\"isActive\"\n [cellTemplateRef]=\"activeCellTemplate()?.templateRef\"\n [headerTitleTemplateRef]=\"headerTitleTemplate?.templateRef\"\n [weekNumberTemplateRef]=\"weekNumberTemplate?.templateRef\"\n [cellUID]=\"cellUID\"\n [min]=\"min\"\n [max]=\"max\"\n [focusedDate]=\"focusedDate\"\n [weekNumber]=\"weekNumber\"\n [selectedDates]=\"selectedDates\"\n (todayButtonClick)=\"handleDateChange({\n selectedDates: [$event],\n focusedDate: $event\n })\"\n (cellClick)=\"handleCellClick($event)\"\n (weekNumberCellClick)=\"handleWeekNumberClick($event)\"\n (activeDateChange)=\"handleActiveDateChange($event)\"\n (pageChange)=\"onPageChange()\"\n >\n </kendo-calendar-viewlist>\n <kendo-resize-sensor (resize)=\"onResize()\"></kendo-resize-sensor>\n </ng-container>\n <ng-container *ngIf=\"type === 'classic'\">\n <kendo-multiviewcalendar\n #multiviewcalendar\n [views]=\"1\"\n [min]=\"min\"\n [max]=\"max\"\n [isActive]=\"isActive\"\n [activeView]=\"activeView\"\n [bottomView]=\"bottomView\"\n [topView]=\"topView\"\n [weekNumber]=\"weekNumber\"\n [animateNavigation]=\"animateNavigation\"\n [cellTemplate]=\"activeCellTemplate()\"\n [monthCellTemplate]=\"monthCellTemplate\"\n [yearCellTemplate]=\"yearCellTemplate\"\n [decadeCellTemplate]=\"decadeCellTemplate\"\n [centuryCellTemplate]=\"centuryCellTemplate\"\n [headerTitleTemplate]=\"headerTitleTemplate\"\n [weekNumberTemplate]=\"weekNumberTemplate\"\n [focusedDate]=\"focusedDate\"\n [selection]=\"selection\"\n [value]=\"value\"\n [disabledDates]=\"disabledDates\"\n (activeViewChange)=\"handleActiveViewChange($event)\"\n (navigate)=\"handleNavigate($event)\"\n (valueChange)=\"handleMultiViewCalendarValueChange($event, multiviewcalendar.focusedDate)\"\n (focus)=\"handleFocus()\"\n (blur)=\"handleBlur($event)\"\n >\n <kendo-multiviewcalendar-messages\n [today]=\"localization.get('today')\"\n [prevButtonTitle]=\"localization.get('prevButtonTitle')\"\n [nextButtonTitle]=\"localization.get('nextButtonTitle')\"\n >\n </kendo-multiviewcalendar-messages>\n </kendo-multiviewcalendar>\n </ng-container>\n "
1169
+ template: "\n <ng-container kendoCalendarLocalizedMessages\n i18n-today=\"kendo.calendar.today|The label for the today button in the calendar header\"\n today=\"Today\"\n\n i18n-prevButtonTitle=\"kendo.calendar.prevButtonTitle|The title of the previous button in the Classic calendar\"\n prevButtonTitle=\"Navigate to previous view\"\n\n i18n-nextButtonTitle=\"kendo.calendar.nextButtonTitle|The title of the next button in the Classic calendar\"\n nextButtonTitle=\"Navigate to next view\"\n >\n </ng-container>\n <ng-container *ngIf=\"type === 'infinite'\">\n <kendo-calendar-navigation\n *ngIf=\"navigation\"\n [activeView]=\"activeViewEnum\"\n [focusedDate]=\"focusedDate\"\n [min]=\"min\"\n [max]=\"max\"\n [templateRef]=\"navigationItemTemplateRef?.templateRef\"\n (valueChange)=\"handleNavigation($event)\"\n (pageChange)=\"onPageChange()\"\n >\n </kendo-calendar-navigation>\n <kendo-calendar-viewlist\n [activeView]=\"activeViewEnum\"\n [isActive]=\"isActive\"\n [cellTemplateRef]=\"activeCellTemplate()?.templateRef\"\n [headerTitleTemplateRef]=\"headerTitleTemplateRef?.templateRef\"\n [weekNumberTemplateRef]=\"weekNumberTemplateRef?.templateRef\"\n [cellUID]=\"cellUID\"\n [min]=\"min\"\n [max]=\"max\"\n [focusedDate]=\"focusedDate\"\n [weekNumber]=\"weekNumber\"\n [selectedDates]=\"selectedDates\"\n (todayButtonClick)=\"handleDateChange({\n selectedDates: [$event],\n focusedDate: $event\n })\"\n (cellClick)=\"handleCellClick($event)\"\n (weekNumberCellClick)=\"handleWeekNumberClick($event)\"\n (activeDateChange)=\"handleActiveDateChange($event)\"\n (pageChange)=\"onPageChange()\"\n >\n </kendo-calendar-viewlist>\n <kendo-resize-sensor (resize)=\"onResize()\"></kendo-resize-sensor>\n </ng-container>\n <ng-container *ngIf=\"type === 'classic'\">\n <kendo-multiviewcalendar\n #multiviewcalendar\n [views]=\"1\"\n [min]=\"min\"\n [max]=\"max\"\n [isActive]=\"isActive\"\n [activeView]=\"activeView\"\n [bottomView]=\"bottomView\"\n [topView]=\"topView\"\n [weekNumber]=\"weekNumber\"\n [animateNavigation]=\"animateNavigation\"\n [cellTemplate]=\"activeCellTemplate()\"\n [monthCellTemplate]=\"monthCellTemplateRef\"\n [yearCellTemplate]=\"yearCellTemplateRef\"\n [decadeCellTemplate]=\"decadeCellTemplateRef\"\n [centuryCellTemplate]=\"centuryCellTemplateRef\"\n [headerTitleTemplate]=\"headerTitleTemplateRef\"\n [weekNumberTemplate]=\"weekNumberTemplateRef\"\n [focusedDate]=\"focusedDate\"\n [selection]=\"selection\"\n [value]=\"value\"\n [disabledDates]=\"disabledDates\"\n (activeViewChange)=\"handleActiveViewChange($event)\"\n (navigate)=\"handleNavigate($event)\"\n (valueChange)=\"handleMultiViewCalendarValueChange($event, multiviewcalendar.focusedDate)\"\n (focus)=\"handleFocus()\"\n (blur)=\"handleBlur($event)\"\n >\n <kendo-multiviewcalendar-messages\n [today]=\"localization.get('today')\"\n [prevButtonTitle]=\"localization.get('prevButtonTitle')\"\n [nextButtonTitle]=\"localization.get('nextButtonTitle')\"\n >\n </kendo-multiviewcalendar-messages>\n </kendo-multiviewcalendar>\n </ng-container>\n "
1122
1170
  }),
1123
1171
  tslib_1.__param(12, Optional()),
1124
1172
  tslib_1.__metadata("design:paramtypes", [BusViewService,
@@ -325,71 +325,113 @@ var MultiViewCalendarComponent = /** @class */ (function () {
325
325
  configurable: true
326
326
  });
327
327
  Object.defineProperty(MultiViewCalendarComponent.prototype, "cellTemplateRef", {
328
+ get: function () {
329
+ return this._cellTemplateRef || this.cellTemplate;
330
+ },
328
331
  /**
329
332
  * @hidden
333
+ *
334
+ * Defines the template for each cell.
335
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
330
336
  */
331
337
  set: function (template) {
332
- this.cellTemplate = template;
338
+ this._cellTemplateRef = template;
333
339
  },
334
340
  enumerable: true,
335
341
  configurable: true
336
342
  });
337
343
  Object.defineProperty(MultiViewCalendarComponent.prototype, "monthCellTemplateRef", {
344
+ get: function () {
345
+ return this._monthCellTemplateRef || this.monthCellTemplate;
346
+ },
338
347
  /**
339
348
  * @hidden
349
+ *
350
+ * Defines the template for each month cell.
351
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
340
352
  */
341
353
  set: function (template) {
342
- this.monthCellTemplate = template;
354
+ this._monthCellTemplateRef = template;
343
355
  },
344
356
  enumerable: true,
345
357
  configurable: true
346
358
  });
347
359
  Object.defineProperty(MultiViewCalendarComponent.prototype, "yearCellTemplateRef", {
360
+ get: function () {
361
+ return this._yearCellTemplateRef || this.yearCellTemplate;
362
+ },
348
363
  /**
349
364
  * @hidden
365
+ *
366
+ * Defines the template for each year cell.
367
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
350
368
  */
351
369
  set: function (template) {
352
- this.yearCellTemplate = template;
370
+ this._yearCellTemplateRef = template;
353
371
  },
354
372
  enumerable: true,
355
373
  configurable: true
356
374
  });
357
375
  Object.defineProperty(MultiViewCalendarComponent.prototype, "decadeCellTemplateRef", {
376
+ get: function () {
377
+ return this._decadeCellTemplateRef || this.decadeCellTemplate;
378
+ },
358
379
  /**
359
380
  * @hidden
381
+ *
382
+ * Defines the template for each decade cell.
383
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
360
384
  */
361
385
  set: function (template) {
362
- this.decadeCellTemplate = template;
386
+ this._decadeCellTemplateRef = template;
363
387
  },
364
388
  enumerable: true,
365
389
  configurable: true
366
390
  });
367
391
  Object.defineProperty(MultiViewCalendarComponent.prototype, "centuryCellTemplateRef", {
392
+ get: function () {
393
+ return this._centuryCellTemplateRef || this.centuryCellTemplate;
394
+ },
368
395
  /**
369
396
  * @hidden
397
+ *
398
+ * Defines the template for each century cell.
399
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
370
400
  */
371
401
  set: function (template) {
372
- this.centuryCellTemplate = template;
402
+ this._centuryCellTemplateRef = template;
373
403
  },
374
404
  enumerable: true,
375
405
  configurable: true
376
406
  });
377
407
  Object.defineProperty(MultiViewCalendarComponent.prototype, "weekNumberTemplateRef", {
408
+ get: function () {
409
+ return this._weekNumberTemplateRef || this.weekNumberTemplate;
410
+ },
378
411
  /**
379
412
  * @hidden
413
+ *
414
+ * Defines the template for the week cell.
415
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
380
416
  */
381
417
  set: function (template) {
382
- this.weekNumberTemplate = template;
418
+ this._weekNumberTemplateRef = template;
383
419
  },
384
420
  enumerable: true,
385
421
  configurable: true
386
422
  });
387
423
  Object.defineProperty(MultiViewCalendarComponent.prototype, "headerTitleTemplateRef", {
424
+ get: function () {
425
+ return this._headerTitleTemplateRef || this.headerTitleTemplate;
426
+ },
388
427
  /**
389
428
  * @hidden
429
+ *
430
+ * Defines the template for the header title.
431
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
390
432
  */
391
433
  set: function (template) {
392
- this.headerTitleTemplate = template;
434
+ this._headerTitleTemplateRef = template;
393
435
  },
394
436
  enumerable: true,
395
437
  configurable: true
@@ -672,13 +714,13 @@ var MultiViewCalendarComponent = /** @class */ (function () {
672
714
  MultiViewCalendarComponent.prototype.activeCellTemplate = function () {
673
715
  switch (this.activeViewEnum) {
674
716
  case CalendarViewEnum.month:
675
- return this.monthCellTemplate || this.cellTemplate;
717
+ return this.monthCellTemplateRef || this.cellTemplateRef;
676
718
  case CalendarViewEnum.year:
677
- return this.yearCellTemplate;
719
+ return this.yearCellTemplateRef;
678
720
  case CalendarViewEnum.decade:
679
- return this.decadeCellTemplate;
721
+ return this.decadeCellTemplateRef;
680
722
  case CalendarViewEnum.century:
681
- return this.centuryCellTemplate;
723
+ return this.centuryCellTemplateRef;
682
724
  default:
683
725
  return null;
684
726
  }
@@ -911,7 +953,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
911
953
  tslib_1.__metadata("design:type", EventEmitter)
912
954
  ], MultiViewCalendarComponent.prototype, "blurEvent", void 0);
913
955
  tslib_1.__decorate([
914
- ContentChild(CellTemplateDirective, { static: true }),
956
+ ContentChild(CellTemplateDirective, { static: false }),
915
957
  tslib_1.__metadata("design:type", CellTemplateDirective)
916
958
  ], MultiViewCalendarComponent.prototype, "cellTemplate", void 0);
917
959
  tslib_1.__decorate([
@@ -920,7 +962,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
920
962
  tslib_1.__metadata("design:paramtypes", [CellTemplateDirective])
921
963
  ], MultiViewCalendarComponent.prototype, "cellTemplateRef", null);
922
964
  tslib_1.__decorate([
923
- ContentChild(MonthCellTemplateDirective, { static: true }),
965
+ ContentChild(MonthCellTemplateDirective, { static: false }),
924
966
  tslib_1.__metadata("design:type", MonthCellTemplateDirective)
925
967
  ], MultiViewCalendarComponent.prototype, "monthCellTemplate", void 0);
926
968
  tslib_1.__decorate([
@@ -929,7 +971,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
929
971
  tslib_1.__metadata("design:paramtypes", [MonthCellTemplateDirective])
930
972
  ], MultiViewCalendarComponent.prototype, "monthCellTemplateRef", null);
931
973
  tslib_1.__decorate([
932
- ContentChild(YearCellTemplateDirective, { static: true }),
974
+ ContentChild(YearCellTemplateDirective, { static: false }),
933
975
  tslib_1.__metadata("design:type", YearCellTemplateDirective)
934
976
  ], MultiViewCalendarComponent.prototype, "yearCellTemplate", void 0);
935
977
  tslib_1.__decorate([
@@ -938,7 +980,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
938
980
  tslib_1.__metadata("design:paramtypes", [YearCellTemplateDirective])
939
981
  ], MultiViewCalendarComponent.prototype, "yearCellTemplateRef", null);
940
982
  tslib_1.__decorate([
941
- ContentChild(DecadeCellTemplateDirective, { static: true }),
983
+ ContentChild(DecadeCellTemplateDirective, { static: false }),
942
984
  tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
943
985
  ], MultiViewCalendarComponent.prototype, "decadeCellTemplate", void 0);
944
986
  tslib_1.__decorate([
@@ -947,7 +989,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
947
989
  tslib_1.__metadata("design:paramtypes", [DecadeCellTemplateDirective])
948
990
  ], MultiViewCalendarComponent.prototype, "decadeCellTemplateRef", null);
949
991
  tslib_1.__decorate([
950
- ContentChild(CenturyCellTemplateDirective, { static: true }),
992
+ ContentChild(CenturyCellTemplateDirective, { static: false }),
951
993
  tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
952
994
  ], MultiViewCalendarComponent.prototype, "centuryCellTemplate", void 0);
953
995
  tslib_1.__decorate([
@@ -956,7 +998,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
956
998
  tslib_1.__metadata("design:paramtypes", [CenturyCellTemplateDirective])
957
999
  ], MultiViewCalendarComponent.prototype, "centuryCellTemplateRef", null);
958
1000
  tslib_1.__decorate([
959
- ContentChild(WeekNumberCellTemplateDirective, { static: true }),
1001
+ ContentChild(WeekNumberCellTemplateDirective, { static: false }),
960
1002
  tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
961
1003
  ], MultiViewCalendarComponent.prototype, "weekNumberTemplate", void 0);
962
1004
  tslib_1.__decorate([
@@ -965,7 +1007,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
965
1007
  tslib_1.__metadata("design:paramtypes", [WeekNumberCellTemplateDirective])
966
1008
  ], MultiViewCalendarComponent.prototype, "weekNumberTemplateRef", null);
967
1009
  tslib_1.__decorate([
968
- ContentChild(HeaderTitleTemplateDirective, { static: true }),
1010
+ ContentChild(HeaderTitleTemplateDirective, { static: false }),
969
1011
  tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
970
1012
  ], MultiViewCalendarComponent.prototype, "headerTitleTemplate", void 0);
971
1013
  tslib_1.__decorate([
@@ -1062,7 +1104,7 @@ var MultiViewCalendarComponent = /** @class */ (function () {
1062
1104
  SelectionService
1063
1105
  ],
1064
1106
  selector: 'kendo-multiviewcalendar',
1065
- template: "\n <ng-container kendoMultiViewCalendarLocalizedMessages\n i18n-today=\"kendo.multiviewcalendar.today|The label for the today button in the calendar header\"\n today=\"Today\"\n\n i18n-prevButtonTitle=\"kendo.multiviewcalendar.prevButtonTitle|The label for the previous button in the Multiview calendar\"\n prevButtonTitle=\"Navigate to previous view\"\n\n i18n-nextButtonTitle=\"kendo.multiviewcalendar.nextButtonTitle|The label for the next button in the Multiview calendar\"\n nextButtonTitle=\"Navigate to next view\"\n >\n </ng-container>\n <kendo-calendar-header\n [activeView]=\"activeViewEnum\"\n [currentDate]=\"activeDate\"\n [min]=\"min\"\n [max]=\"max\"\n [rangeLength]=\"views\"\n [templateRef]=\"headerTitleTemplate?.templateRef\"\n [isPrevDisabled]=\"isPrevDisabled\"\n [isNextDisabled]=\"isNextDisabled\"\n [showNavigationButtons]=\"true\"\n (todayButtonClick)=\"handleTodayButtonClick({ selectedDates: [$event], focusedDate: $event })\"\n (prevButtonClick)=\"navigateView(prevView)\"\n (nextButtonClick)=\"navigateView(nextView)\"\n [kendoEventsOutsideAngular]=\"{\n focusin: handleHeaderFocus\n }\"\n [scope]=\"this\"\n >\n </kendo-calendar-header>\n <kendo-calendar-horizontal\n [activeView]=\"activeViewEnum\"\n [isActive]=\"isActive || (isHovered && !isHeaderActive)\"\n [cellTemplateRef]=\"activeCellTemplate()?.templateRef\"\n [weekNumberTemplateRef]=\"weekNumberTemplate?.templateRef\"\n [cellUID]=\"cellUID\"\n [views]=\"views\"\n [min]=\"min\"\n [max]=\"max\"\n [focusedDate]=\"focusedDate\"\n [animateNavigation]=\"animateNavigation\"\n [showViewHeader]=\"showViewHeader\"\n [weekNumber]=\"weekNumber\"\n [activeRangeEnd]=\"activeRangeEnd\"\n [selectionRange]=\"selectionRange\"\n [selectedDates]=\"selectedDates\"\n (valueChange)=\"handleDateChange($event)\"\n (cellClick)=\"handleCellClick($event)\"\n (weekNumberCellClick)=\"handleWeekNumberClick($event)\"\n (cellEnter)=\"emitCellEvent(cellEnter, $event)\"\n (cellLeave)=\"emitCellEvent(cellLeave, $event)\"\n (activeDateChange)=\"setActiveDate($event)\"\n >\n </kendo-calendar-horizontal>\n "
1107
+ template: "\n <ng-container kendoMultiViewCalendarLocalizedMessages\n i18n-today=\"kendo.multiviewcalendar.today|The label for the today button in the calendar header\"\n today=\"Today\"\n\n i18n-prevButtonTitle=\"kendo.multiviewcalendar.prevButtonTitle|The label for the previous button in the Multiview calendar\"\n prevButtonTitle=\"Navigate to previous view\"\n\n i18n-nextButtonTitle=\"kendo.multiviewcalendar.nextButtonTitle|The label for the next button in the Multiview calendar\"\n nextButtonTitle=\"Navigate to next view\"\n >\n </ng-container>\n <kendo-calendar-header\n [activeView]=\"activeViewEnum\"\n [currentDate]=\"activeDate\"\n [min]=\"min\"\n [max]=\"max\"\n [rangeLength]=\"views\"\n [templateRef]=\"headerTitleTemplateRef?.templateRef\"\n [isPrevDisabled]=\"isPrevDisabled\"\n [isNextDisabled]=\"isNextDisabled\"\n [showNavigationButtons]=\"true\"\n (todayButtonClick)=\"handleTodayButtonClick({ selectedDates: [$event], focusedDate: $event })\"\n (prevButtonClick)=\"navigateView(prevView)\"\n (nextButtonClick)=\"navigateView(nextView)\"\n [kendoEventsOutsideAngular]=\"{\n focusin: handleHeaderFocus\n }\"\n [scope]=\"this\"\n >\n </kendo-calendar-header>\n <kendo-calendar-horizontal\n [activeView]=\"activeViewEnum\"\n [isActive]=\"isActive || (isHovered && !isHeaderActive)\"\n [cellTemplateRef]=\"activeCellTemplate()?.templateRef\"\n [weekNumberTemplateRef]=\"weekNumberTemplateRef?.templateRef\"\n [cellUID]=\"cellUID\"\n [views]=\"views\"\n [min]=\"min\"\n [max]=\"max\"\n [focusedDate]=\"focusedDate\"\n [animateNavigation]=\"animateNavigation\"\n [showViewHeader]=\"showViewHeader\"\n [weekNumber]=\"weekNumber\"\n [activeRangeEnd]=\"activeRangeEnd\"\n [selectionRange]=\"selectionRange\"\n [selectedDates]=\"selectedDates\"\n (valueChange)=\"handleDateChange($event)\"\n (cellClick)=\"handleCellClick($event)\"\n (weekNumberCellClick)=\"handleWeekNumberClick($event)\"\n (cellEnter)=\"emitCellEvent(cellEnter, $event)\"\n (cellLeave)=\"emitCellEvent(cellLeave, $event)\"\n (activeDateChange)=\"setActiveDate($event)\"\n >\n </kendo-calendar-horizontal>\n "
1066
1108
  }),
1067
1109
  tslib_1.__param(8, Optional()),
1068
1110
  tslib_1.__metadata("design:paramtypes", [BusViewService,
@@ -1292,7 +1292,7 @@ var DateTimePickerComponent = /** @class */ (function () {
1292
1292
  { provide: NG_VALIDATORS, useExisting: forwardRef(function () { return DateTimePickerComponent_1; }), multi: true },
1293
1293
  { provide: KendoInput, useExisting: forwardRef(function () { return DateTimePickerComponent_1; }) }
1294
1294
  ],
1295
- template: "\n <ng-container\n kendoDateTimePickerLocalizedMessages\n\n i18n-dateTab=\"kendo.datetimepicker.dateTab|The Date tab text in the datetimepicker popup header\"\n dateTab=\"Date\"\n\n i18n-dateTabLabel=\"kendo.datetimepicker.dateTabLabel|The label for the Date tab in the datetimepicker popup header\"\n dateTabLabel=\"Date tab\"\n\n i18n-timeTab=\"kendo.datetimepicker.timeTab|The Time tab text in the datetimepicker popup header\"\n timeTab=\"Time\"\n\n i18n-timeTabLabel=\"kendo.datetimepicker.timeTabLabel|The label for the Time tab in the datetimepicker popup header\"\n timeTabLabel=\"Time tab\"\n\n i18n-toggle=\"kendo.datetimepicker.toggle|The title of the toggle button in the datetimepicker component\"\n toggle=\"Toggle popup\"\n\n i18n-accept=\"kendo.datetimepicker.accept|The Accept button text in the datetimepicker component\"\n accept=\"Set\"\n\n i18n-acceptLabel=\"kendo.datetimepicker.acceptLabel|The label for the Accept button in the datetimepicker component\"\n acceptLabel=\"Set\"\n\n i18n-cancel=\"kendo.datetimepicker.cancel|The Cancel button text in the datetimepicker component\"\n cancel=\"Cancel\"\n\n i18n-cancelLabel=\"kendo.datetimepicker.cancelLabel|The label for the Cancel button in the datetimepicker component\"\n cancelLabel=\"Cancel\"\n\n i18n-now=\"kendo.datetimepicker.now|The Now button text in the timepicker component\"\n now=\"NOW\"\n\n i18n-nowLabel=\"kendo.datetimepicker.nowLabel|The label for the Now button in the timepicker component\"\n nowLabel=\"Select now\"\n\n i18n-today=\"kendo.datetimepicker.today|The label for the today button in the calendar header\"\n today=\"Today\"\n\n i18n-prevButtonTitle=\"kendo.datetimepicker.prevButtonTitle|The title of the previous button in the Classic calendar\"\n prevButtonTitle=\"Navigate to previous view\"\n\n i18n-nextButtonTitle=\"kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar\"\n nextButtonTitle=\"Navigate to next view\"\n >\n </ng-container>\n\n <kendo-dateinput\n [value]=\"value\"\n [format]=\"format\"\n [twoDigitYearMax]=\"twoDigitYearMax\"\n [min]=\"min\"\n [max]=\"max\"\n [incompleteDateValidation]=\"incompleteDateValidation\"\n [formatPlaceholder]=\"formatPlaceholder\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly || readOnlyInput\"\n [role]=\"inputRole\"\n [ariaReadOnly]=\"readonly\"\n [steps]=\"steps\"\n [tabindex]=\"tabindex\"\n [title]=\"title\"\n [focusableId]=\"focusableId\"\n [hasPopup]=\"true\"\n [isPopupOpen]=\"isOpen\"\n (valueChange)=\"handleInputValueChange($event)\"\n [kendoEventsOutsideAngular]=\"{\n keydown: handleKeyDown\n }\"\n [scope]=\"this\"\n [fillMode]=\"fillMode\"\n [rounded]=\"rounded\"\n [size]=\"size\"\n >\n </kendo-dateinput>\n <button\n #toggleButton\n type=\"button\"\n class=\"k-input-button k-button k-icon-button\"\n [tabindex]=\"-1\"\n [attr.title]=\"localization.get('toggle')\"\n [attr.aria-label]=\"localization.get('toggle')\"\n [kendoEventsOutsideAngular]=\"{\n mousedown: preventMouseDown,\n click: handleIconClick\n }\"\n [scope]=\"this\"\n >\n <span class=\"k-button-icon k-icon\"\n [ngClass]=\"{\n 'k-i-calendar': activeTab === 'date',\n 'k-i-clock': activeTab === 'time'\n }\"\n ></span>\n </button>\n\n <ng-container #container></ng-container>\n\n <ng-template #popupTemplate>\n <div\n class=\"k-datetime-wrap k-{{activeTab}}-tab\"\n [kendoEventsOutsideAngular]=\"{\n mousedown: preventMouseDown,\n keydown: handleKeyDown\n }\"\n [scope]=\"this\"\n >\n <div class=\"k-datetime-buttongroup\"\n [kendoEventsOutsideAngular]=\"{\n focusin: handleFocus,\n focusout: handleBlur\n }\"\n [scope]=\"this\"\n >\n <div class=\"k-button-group k-button-group-stretched\">\n <button\n type=\"button\"\n class=\"k-button k-group-start k-date-tab\"\n [ngClass]=\"popupButtonsClasses()\"\n [class.k-active]=\"activeTab === 'date'\"\n [attr.title]=\"localization.get('dateTabLabel')\"\n [attr.aria-label]=\"localization.get('dateTabLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: changeActiveTab.bind(this, 'date'),\n keydown: handleBackTabOut\n }\"\n [scope]=\"this\"\n >\n {{localization.get('dateTab')}}\n </button>\n <button\n type=\"button\"\n class=\"k-button k-group-end k-time-tab\"\n [ngClass]=\"popupButtonsClasses()\"\n [class.k-active]=\"activeTab === 'time'\"\n [attr.title]=\"localization.get('timeTabLabel')\"\n [attr.aria-label]=\"localization.get('timeTabLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: changeActiveTab.bind(this, 'time')\n }\"\n >\n {{localization.get('timeTab')}}\n </button>\n </div>\n </div>\n <div\n #dateTimeSelector\n class=\"k-datetime-selector\"\n [style.transition]=\"tabSwitchTransition\"\n [kendoEventsOutsideAngular]=\"{\n transitionend: handleTabChangeTransitionEnd.bind(this, dateTimeSelector)\n }\"\n >\n <div class=\"k-datetime-calendar-wrap\">\n <kendo-calendar\n [(value)]=\"calendarValue\"\n [type]=\"calendarType\"\n [min]=\"calendarMin\"\n [max]=\"calendarMax\"\n [focusedDate]=\"focusedDate\"\n [weekNumber]=\"weekNumber\"\n [navigation]=\"false\"\n [animateNavigation]=\"animateCalendarNavigation\"\n [cellTemplate]=\"cellTemplate\"\n [monthCellTemplate]=\"monthCellTemplate\"\n [yearCellTemplate]=\"yearCellTemplate\"\n [decadeCellTemplate]=\"decadeCellTemplate\"\n [centuryCellTemplate]=\"centuryCellTemplate\"\n [weekNumberTemplate]=\"weekNumberTemplate\"\n [headerTitleTemplate]=\"headerTitleTemplate\"\n [disabled]=\"disableCalendar\"\n [disabledDates]=\"disabledDates\"\n (valueChange)=\"handleCalendarValueChange()\"\n >\n <kendo-calendar-messages\n [today]=\"localization.get('today')\"\n [prevButtonTitle]=\"localization.get('prevButtonTitle')\"\n [nextButtonTitle]=\"localization.get('nextButtonTitle')\"\n >\n </kendo-calendar-messages>\n </kendo-calendar>\n </div>\n <div class=\"k-datetime-time-wrap\">\n <kendo-timeselector\n [value]=\"value\"\n [format]=\"timeSelectorFormat\"\n [min]=\"timeSelectorMin\"\n [max]=\"timeSelectorMax\"\n [setButton]=\"false\"\n [cancelButton]=\"false\"\n [steps]=\"steps\"\n [disabled]=\"disableTimeSelector\"\n >\n <kendo-timeselector-messages\n [now]=\"localization.get('now')\"\n [nowLabel]=\"localization.get('nowLabel')\"\n >\n </kendo-timeselector-messages>\n </kendo-timeselector>\n </div>\n </div>\n <div\n class=\"k-datetime-footer k-action-buttons k-actions k-hstack k-justify-content-stretch\"\n [kendoEventsOutsideAngular]=\"{\n keydown: handleTabOut,\n focusin: handleFocus,\n focusout: handleBlur\n }\"\n [scope]=\"this\"\n >\n <button\n *ngIf=\"cancelButton\"\n type=\"button\"\n class=\"k-button k-time-cancel\"\n [ngClass]=\"popupButtonsClasses()\"\n [attr.title]=\"localization.get('cancelLabel')\"\n [attr.aria-label]=\"localization.get('cancelLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: handleCancel\n }\"\n [scope]=\"this\"\n >\n {{localization.get('cancel')}}\n </button>\n <button\n type=\"button\"\n class=\"k-button k-time-accept\"\n [ngClass]=\"popupButtonsClasses('primary')\"\n [attr.title]=\"localization.get('acceptLabel')\"\n [attr.aria-label]=\"localization.get('acceptLabel')\"\n [disabled]=\"!calendarValue\"\n [kendoEventsOutsideAngular]=\"{\n click: handleAccept\n }\"\n [scope]=\"this\"\n >\n {{localization.get('accept')}}\n </button>\n </div>\n </div>\n </ng-template>\n "
1295
+ template: "\n <ng-container\n kendoDateTimePickerLocalizedMessages\n\n i18n-dateTab=\"kendo.datetimepicker.dateTab|The Date tab text in the datetimepicker popup header\"\n dateTab=\"Date\"\n\n i18n-dateTabLabel=\"kendo.datetimepicker.dateTabLabel|The label for the Date tab in the datetimepicker popup header\"\n dateTabLabel=\"Date tab\"\n\n i18n-timeTab=\"kendo.datetimepicker.timeTab|The Time tab text in the datetimepicker popup header\"\n timeTab=\"Time\"\n\n i18n-timeTabLabel=\"kendo.datetimepicker.timeTabLabel|The label for the Time tab in the datetimepicker popup header\"\n timeTabLabel=\"Time tab\"\n\n i18n-toggle=\"kendo.datetimepicker.toggle|The title of the toggle button in the datetimepicker component\"\n toggle=\"Toggle popup\"\n\n i18n-accept=\"kendo.datetimepicker.accept|The Accept button text in the datetimepicker component\"\n accept=\"Set\"\n\n i18n-acceptLabel=\"kendo.datetimepicker.acceptLabel|The label for the Accept button in the datetimepicker component\"\n acceptLabel=\"Set\"\n\n i18n-cancel=\"kendo.datetimepicker.cancel|The Cancel button text in the datetimepicker component\"\n cancel=\"Cancel\"\n\n i18n-cancelLabel=\"kendo.datetimepicker.cancelLabel|The label for the Cancel button in the datetimepicker component\"\n cancelLabel=\"Cancel\"\n\n i18n-now=\"kendo.datetimepicker.now|The Now button text in the timepicker component\"\n now=\"NOW\"\n\n i18n-nowLabel=\"kendo.datetimepicker.nowLabel|The label for the Now button in the timepicker component\"\n nowLabel=\"Select now\"\n\n i18n-today=\"kendo.datetimepicker.today|The label for the today button in the calendar header\"\n today=\"Today\"\n\n i18n-prevButtonTitle=\"kendo.datetimepicker.prevButtonTitle|The title of the previous button in the Classic calendar\"\n prevButtonTitle=\"Navigate to previous view\"\n\n i18n-nextButtonTitle=\"kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar\"\n nextButtonTitle=\"Navigate to next view\"\n >\n </ng-container>\n\n <kendo-dateinput\n [value]=\"value\"\n [format]=\"format\"\n [twoDigitYearMax]=\"twoDigitYearMax\"\n [min]=\"min\"\n [max]=\"max\"\n [incompleteDateValidation]=\"incompleteDateValidation\"\n [formatPlaceholder]=\"formatPlaceholder\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly || readOnlyInput\"\n [role]=\"inputRole\"\n [ariaReadOnly]=\"readonly\"\n [steps]=\"steps\"\n [tabindex]=\"tabindex\"\n [title]=\"title\"\n [focusableId]=\"focusableId\"\n [hasPopup]=\"true\"\n [isPopupOpen]=\"isOpen\"\n (valueChange)=\"handleInputValueChange($event)\"\n [kendoEventsOutsideAngular]=\"{\n keydown: handleKeyDown\n }\"\n [scope]=\"this\"\n [fillMode]=\"fillMode\"\n [rounded]=\"rounded\"\n [size]=\"size\"\n >\n </kendo-dateinput>\n <button\n #toggleButton\n type=\"button\"\n class=\"k-input-button k-button k-icon-button\"\n [tabindex]=\"-1\"\n [attr.title]=\"localization.get('toggle')\"\n [attr.aria-label]=\"localization.get('toggle')\"\n [kendoEventsOutsideAngular]=\"{\n mousedown: preventMouseDown,\n click: handleIconClick\n }\"\n [scope]=\"this\"\n >\n <span class=\"k-button-icon k-icon\"\n [ngClass]=\"{\n 'k-i-calendar': activeTab === 'date',\n 'k-i-clock': activeTab === 'time'\n }\"\n ></span>\n </button>\n\n <ng-container #container></ng-container>\n\n <ng-template #popupTemplate>\n <div\n class=\"k-datetime-wrap k-{{activeTab}}-tab\"\n [kendoEventsOutsideAngular]=\"{\n mousedown: preventMouseDown,\n keydown: handleKeyDown\n }\"\n [scope]=\"this\"\n >\n <div class=\"k-datetime-buttongroup\"\n [kendoEventsOutsideAngular]=\"{\n focusin: handleFocus,\n focusout: handleBlur\n }\"\n [scope]=\"this\"\n >\n <div class=\"k-button-group k-button-group-stretched\">\n <button\n type=\"button\"\n class=\"k-button k-group-start k-date-tab\"\n [ngClass]=\"popupButtonsClasses()\"\n [class.k-active]=\"activeTab === 'date'\"\n [attr.title]=\"localization.get('dateTabLabel')\"\n [attr.aria-label]=\"localization.get('dateTabLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: changeActiveTab.bind(this, 'date'),\n keydown: handleBackTabOut\n }\"\n [scope]=\"this\"\n >\n {{localization.get('dateTab')}}\n </button>\n <button\n type=\"button\"\n class=\"k-button k-group-end k-time-tab\"\n [ngClass]=\"popupButtonsClasses()\"\n [class.k-active]=\"activeTab === 'time'\"\n [attr.title]=\"localization.get('timeTabLabel')\"\n [attr.aria-label]=\"localization.get('timeTabLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: changeActiveTab.bind(this, 'time')\n }\"\n >\n {{localization.get('timeTab')}}\n </button>\n </div>\n </div>\n <div\n #dateTimeSelector\n class=\"k-datetime-selector\"\n [style.transition]=\"tabSwitchTransition\"\n [kendoEventsOutsideAngular]=\"{\n transitionend: handleTabChangeTransitionEnd.bind(this, dateTimeSelector)\n }\"\n >\n <div class=\"k-datetime-calendar-wrap\">\n <kendo-calendar\n [focusedDate]=\"focusedDate\"\n [(value)]=\"calendarValue\"\n [type]=\"calendarType\"\n [min]=\"calendarMin\"\n [max]=\"calendarMax\"\n [weekNumber]=\"weekNumber\"\n [navigation]=\"false\"\n [animateNavigation]=\"animateCalendarNavigation\"\n [cellTemplate]=\"cellTemplate\"\n [monthCellTemplate]=\"monthCellTemplate\"\n [yearCellTemplate]=\"yearCellTemplate\"\n [decadeCellTemplate]=\"decadeCellTemplate\"\n [centuryCellTemplate]=\"centuryCellTemplate\"\n [weekNumberTemplate]=\"weekNumberTemplate\"\n [headerTitleTemplate]=\"headerTitleTemplate\"\n [disabled]=\"disableCalendar\"\n [disabledDates]=\"disabledDates\"\n (valueChange)=\"handleCalendarValueChange()\"\n >\n <kendo-calendar-messages\n [today]=\"localization.get('today')\"\n [prevButtonTitle]=\"localization.get('prevButtonTitle')\"\n [nextButtonTitle]=\"localization.get('nextButtonTitle')\"\n >\n </kendo-calendar-messages>\n </kendo-calendar>\n </div>\n <div class=\"k-datetime-time-wrap\">\n <kendo-timeselector\n [value]=\"value\"\n [format]=\"timeSelectorFormat\"\n [min]=\"timeSelectorMin\"\n [max]=\"timeSelectorMax\"\n [setButton]=\"false\"\n [cancelButton]=\"false\"\n [steps]=\"steps\"\n [disabled]=\"disableTimeSelector\"\n >\n <kendo-timeselector-messages\n [now]=\"localization.get('now')\"\n [nowLabel]=\"localization.get('nowLabel')\"\n >\n </kendo-timeselector-messages>\n </kendo-timeselector>\n </div>\n </div>\n <div\n class=\"k-datetime-footer k-action-buttons k-actions k-hstack k-justify-content-stretch\"\n [kendoEventsOutsideAngular]=\"{\n keydown: handleTabOut,\n focusin: handleFocus,\n focusout: handleBlur\n }\"\n [scope]=\"this\"\n >\n <button\n *ngIf=\"cancelButton\"\n type=\"button\"\n class=\"k-button k-time-cancel\"\n [ngClass]=\"popupButtonsClasses()\"\n [attr.title]=\"localization.get('cancelLabel')\"\n [attr.aria-label]=\"localization.get('cancelLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: handleCancel\n }\"\n [scope]=\"this\"\n >\n {{localization.get('cancel')}}\n </button>\n <button\n type=\"button\"\n class=\"k-button k-time-accept\"\n [ngClass]=\"popupButtonsClasses('primary')\"\n [attr.title]=\"localization.get('acceptLabel')\"\n [attr.aria-label]=\"localization.get('acceptLabel')\"\n [disabled]=\"!calendarValue\"\n [kendoEventsOutsideAngular]=\"{\n click: handleAccept\n }\"\n [scope]=\"this\"\n >\n {{localization.get('accept')}}\n </button>\n </div>\n </div>\n </ng-template>\n "
1296
1296
  }),
1297
1297
  tslib_1.__param(6, Inject(TOUCH_ENABLED)),
1298
1298
  tslib_1.__metadata("design:paramtypes", [PopupService,
@@ -9,7 +9,7 @@ export var packageMetadata = {
9
9
  name: '@progress/kendo-angular-dateinputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1646820275,
12
+ publishDate: 1647860363,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };