@progress/kendo-angular-dateinputs 6.0.2 → 6.0.3

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.
@@ -314,51 +314,99 @@ let CalendarComponent = class CalendarComponent {
314
314
  }
315
315
  /**
316
316
  * @hidden
317
+ *
318
+ * Defines the template for each cell.
319
+ * Takes precedence over nested templates in the KendoCalendar tag.
317
320
  */
318
321
  set cellTemplateRef(template) {
319
- this.cellTemplate = template;
322
+ this._cellTemplateRef = template;
323
+ }
324
+ get cellTemplateRef() {
325
+ return this._cellTemplateRef || this.cellTemplate;
320
326
  }
321
327
  /**
322
328
  * @hidden
329
+ *
330
+ * Defines the template for each month cell.
331
+ * Takes precedence over nested templates in the KendoCalendar tag.
323
332
  */
324
333
  set monthCellTemplateRef(template) {
325
- this.monthCellTemplate = template;
334
+ this._monthCellTemplateRef = template;
335
+ }
336
+ get monthCellTemplateRef() {
337
+ return this._monthCellTemplateRef || this.monthCellTemplate;
326
338
  }
327
339
  /**
328
340
  * @hidden
341
+ *
342
+ * Defines the template for each year cell.
343
+ * Takes precedence over nested templates in the KendoCalendar tag.
329
344
  */
330
345
  set yearCellTemplateRef(template) {
331
- this.yearCellTemplate = template;
346
+ this._yearCellTemplateRef = template;
347
+ }
348
+ get yearCellTemplateRef() {
349
+ return this._yearCellTemplateRef || this.yearCellTemplate;
332
350
  }
333
351
  /**
334
352
  * @hidden
353
+ *
354
+ * Defines the template for each decade cell.
355
+ * Takes precedence over nested templates in the KendoCalendar tag.
335
356
  */
336
357
  set decadeCellTemplateRef(template) {
337
- this.decadeCellTemplate = template;
358
+ this._decadeCellTemplateRef = template;
359
+ }
360
+ get decadeCellTemplateRef() {
361
+ return this._decadeCellTemplateRef || this.decadeCellTemplate;
338
362
  }
339
363
  /**
340
364
  * @hidden
365
+ *
366
+ * Defines the template for each century cell.
367
+ * Takes precedence over nested templates in the KendoCalendar tag.
341
368
  */
342
369
  set centuryCellTemplateRef(template) {
343
- this.centuryCellTemplate = template;
370
+ this._centuryCellTemplateRef = template;
371
+ }
372
+ get centuryCellTemplateRef() {
373
+ return this._centuryCellTemplateRef || this.centuryCellTemplate;
344
374
  }
345
375
  /**
346
376
  * @hidden
377
+ *
378
+ * Defines the template for the week cell.
379
+ * Takes precedence over nested templates in the KendoCalendar tag.
347
380
  */
348
381
  set weekNumberTemplateRef(template) {
349
- this.weekNumberTemplate = template;
382
+ this._weekNumberTemplateRef = template;
383
+ }
384
+ get weekNumberTemplateRef() {
385
+ return this._weekNumberTemplateRef || this.weekNumberTemplate;
350
386
  }
351
387
  /**
352
388
  * @hidden
389
+ *
390
+ * Defines the template for the header title.
391
+ * Takes precedence over nested templates in the KendoCalendar tag.
353
392
  */
354
393
  set headerTitleTemplateRef(template) {
355
- this.headerTitleTemplate = template;
394
+ this._headerTitleTemplateRef = template;
395
+ }
396
+ get headerTitleTemplateRef() {
397
+ return this._headerTitleTemplateRef || this.headerTitleTemplate;
356
398
  }
357
399
  /**
358
400
  * @hidden
401
+ *
402
+ * Defines the template for the navigation item.
403
+ * Takes precedence over nested templates in the KendoCalendar tag.
359
404
  */
360
405
  set navigationItemTemplateRef(template) {
361
- this.navigationItemTemplate = template;
406
+ this._navigationItemTemplateRef = template;
407
+ }
408
+ get navigationItemTemplateRef() {
409
+ return this._navigationItemTemplateRef || this.navigationItemTemplate;
362
410
  }
363
411
  get activeViewEnum() {
364
412
  const activeView = CalendarViewEnum[this.activeView];
@@ -591,13 +639,13 @@ let CalendarComponent = class CalendarComponent {
591
639
  activeCellTemplate() {
592
640
  switch (this.activeViewEnum) {
593
641
  case CalendarViewEnum.month:
594
- return this.monthCellTemplate || this.cellTemplate;
642
+ return this.monthCellTemplateRef || this.cellTemplateRef;
595
643
  case CalendarViewEnum.year:
596
- return this.yearCellTemplate;
644
+ return this.yearCellTemplateRef;
597
645
  case CalendarViewEnum.decade:
598
- return this.decadeCellTemplate;
646
+ return this.decadeCellTemplateRef;
599
647
  case CalendarViewEnum.century:
600
- return this.centuryCellTemplate;
648
+ return this.centuryCellTemplateRef;
601
649
  default:
602
650
  return null;
603
651
  }
@@ -906,7 +954,7 @@ tslib_1.__decorate([
906
954
  tslib_1.__metadata("design:type", EventEmitter)
907
955
  ], CalendarComponent.prototype, "valueChange", void 0);
908
956
  tslib_1.__decorate([
909
- ContentChild(CellTemplateDirective, { static: true }),
957
+ ContentChild(CellTemplateDirective, { static: false }),
910
958
  tslib_1.__metadata("design:type", CellTemplateDirective)
911
959
  ], CalendarComponent.prototype, "cellTemplate", void 0);
912
960
  tslib_1.__decorate([
@@ -915,7 +963,7 @@ tslib_1.__decorate([
915
963
  tslib_1.__metadata("design:paramtypes", [CellTemplateDirective])
916
964
  ], CalendarComponent.prototype, "cellTemplateRef", null);
917
965
  tslib_1.__decorate([
918
- ContentChild(MonthCellTemplateDirective, { static: true }),
966
+ ContentChild(MonthCellTemplateDirective, { static: false }),
919
967
  tslib_1.__metadata("design:type", MonthCellTemplateDirective)
920
968
  ], CalendarComponent.prototype, "monthCellTemplate", void 0);
921
969
  tslib_1.__decorate([
@@ -924,7 +972,7 @@ tslib_1.__decorate([
924
972
  tslib_1.__metadata("design:paramtypes", [MonthCellTemplateDirective])
925
973
  ], CalendarComponent.prototype, "monthCellTemplateRef", null);
926
974
  tslib_1.__decorate([
927
- ContentChild(YearCellTemplateDirective, { static: true }),
975
+ ContentChild(YearCellTemplateDirective, { static: false }),
928
976
  tslib_1.__metadata("design:type", YearCellTemplateDirective)
929
977
  ], CalendarComponent.prototype, "yearCellTemplate", void 0);
930
978
  tslib_1.__decorate([
@@ -933,7 +981,7 @@ tslib_1.__decorate([
933
981
  tslib_1.__metadata("design:paramtypes", [YearCellTemplateDirective])
934
982
  ], CalendarComponent.prototype, "yearCellTemplateRef", null);
935
983
  tslib_1.__decorate([
936
- ContentChild(DecadeCellTemplateDirective, { static: true }),
984
+ ContentChild(DecadeCellTemplateDirective, { static: false }),
937
985
  tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
938
986
  ], CalendarComponent.prototype, "decadeCellTemplate", void 0);
939
987
  tslib_1.__decorate([
@@ -942,7 +990,7 @@ tslib_1.__decorate([
942
990
  tslib_1.__metadata("design:paramtypes", [DecadeCellTemplateDirective])
943
991
  ], CalendarComponent.prototype, "decadeCellTemplateRef", null);
944
992
  tslib_1.__decorate([
945
- ContentChild(CenturyCellTemplateDirective, { static: true }),
993
+ ContentChild(CenturyCellTemplateDirective, { static: false }),
946
994
  tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
947
995
  ], CalendarComponent.prototype, "centuryCellTemplate", void 0);
948
996
  tslib_1.__decorate([
@@ -951,7 +999,7 @@ tslib_1.__decorate([
951
999
  tslib_1.__metadata("design:paramtypes", [CenturyCellTemplateDirective])
952
1000
  ], CalendarComponent.prototype, "centuryCellTemplateRef", null);
953
1001
  tslib_1.__decorate([
954
- ContentChild(WeekNumberCellTemplateDirective, { static: true }),
1002
+ ContentChild(WeekNumberCellTemplateDirective, { static: false }),
955
1003
  tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
956
1004
  ], CalendarComponent.prototype, "weekNumberTemplate", void 0);
957
1005
  tslib_1.__decorate([
@@ -960,7 +1008,7 @@ tslib_1.__decorate([
960
1008
  tslib_1.__metadata("design:paramtypes", [WeekNumberCellTemplateDirective])
961
1009
  ], CalendarComponent.prototype, "weekNumberTemplateRef", null);
962
1010
  tslib_1.__decorate([
963
- ContentChild(HeaderTitleTemplateDirective, { static: true }),
1011
+ ContentChild(HeaderTitleTemplateDirective, { static: false }),
964
1012
  tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
965
1013
  ], CalendarComponent.prototype, "headerTitleTemplate", void 0);
966
1014
  tslib_1.__decorate([
@@ -969,7 +1017,7 @@ tslib_1.__decorate([
969
1017
  tslib_1.__metadata("design:paramtypes", [HeaderTitleTemplateDirective])
970
1018
  ], CalendarComponent.prototype, "headerTitleTemplateRef", null);
971
1019
  tslib_1.__decorate([
972
- ContentChild(NavigationItemTemplateDirective, { static: true }),
1020
+ ContentChild(NavigationItemTemplateDirective, { static: false }),
973
1021
  tslib_1.__metadata("design:type", NavigationItemTemplateDirective)
974
1022
  ], CalendarComponent.prototype, "navigationItemTemplate", void 0);
975
1023
  tslib_1.__decorate([
@@ -1044,7 +1092,7 @@ CalendarComponent = tslib_1.__decorate([
1044
1092
  [focusedDate]="focusedDate"
1045
1093
  [min]="min"
1046
1094
  [max]="max"
1047
- [templateRef]="navigationItemTemplate?.templateRef"
1095
+ [templateRef]="navigationItemTemplateRef?.templateRef"
1048
1096
  (valueChange)="handleNavigation($event)"
1049
1097
  (pageChange)="onPageChange()"
1050
1098
  >
@@ -1053,8 +1101,8 @@ CalendarComponent = tslib_1.__decorate([
1053
1101
  [activeView]="activeViewEnum"
1054
1102
  [isActive]="isActive"
1055
1103
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
1056
- [headerTitleTemplateRef]="headerTitleTemplate?.templateRef"
1057
- [weekNumberTemplateRef]="weekNumberTemplate?.templateRef"
1104
+ [headerTitleTemplateRef]="headerTitleTemplateRef?.templateRef"
1105
+ [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
1058
1106
  [cellUID]="cellUID"
1059
1107
  [min]="min"
1060
1108
  [max]="max"
@@ -1086,12 +1134,12 @@ CalendarComponent = tslib_1.__decorate([
1086
1134
  [weekNumber]="weekNumber"
1087
1135
  [animateNavigation]="animateNavigation"
1088
1136
  [cellTemplate]="activeCellTemplate()"
1089
- [monthCellTemplate]="monthCellTemplate"
1090
- [yearCellTemplate]="yearCellTemplate"
1091
- [decadeCellTemplate]="decadeCellTemplate"
1092
- [centuryCellTemplate]="centuryCellTemplate"
1093
- [headerTitleTemplate]="headerTitleTemplate"
1094
- [weekNumberTemplate]="weekNumberTemplate"
1137
+ [monthCellTemplate]="monthCellTemplateRef"
1138
+ [yearCellTemplate]="yearCellTemplateRef"
1139
+ [decadeCellTemplate]="decadeCellTemplateRef"
1140
+ [centuryCellTemplate]="centuryCellTemplateRef"
1141
+ [headerTitleTemplate]="headerTitleTemplateRef"
1142
+ [weekNumberTemplate]="weekNumberTemplateRef"
1095
1143
  [focusedDate]="focusedDate"
1096
1144
  [selection]="selection"
1097
1145
  [value]="value"
@@ -222,58 +222,100 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
222
222
  blurEvent: EventEmitter<any>;
223
223
  /**
224
224
  * @hidden
225
+ *
226
+ * Queries the template for a cell template declaration.
227
+ * Ignored if a `[cellTemplate]` value is explicitly provided.
225
228
  */
226
229
  cellTemplate: CellTemplateDirective;
227
230
  /**
228
231
  * @hidden
232
+ *
233
+ * Defines the template for each cell.
234
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
229
235
  */
230
236
  cellTemplateRef: CellTemplateDirective;
231
237
  /**
232
238
  * @hidden
239
+ *
240
+ * Queries the template for a month cell template declaration.
241
+ * Ignored if a `[monthCellTemplate]` value is explicitly provided.
233
242
  */
234
243
  monthCellTemplate: MonthCellTemplateDirective;
235
244
  /**
236
245
  * @hidden
246
+ *
247
+ * Defines the template for each month cell.
248
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
237
249
  */
238
250
  monthCellTemplateRef: MonthCellTemplateDirective;
239
251
  /**
240
252
  * @hidden
253
+ *
254
+ * Queries the template for a year cell template declaration.
255
+ * Ignored if a `[yearCellTemplate]` value is explicitly provided.
241
256
  */
242
257
  yearCellTemplate: YearCellTemplateDirective;
243
258
  /**
244
259
  * @hidden
260
+ *
261
+ * Defines the template for each year cell.
262
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
245
263
  */
246
264
  yearCellTemplateRef: YearCellTemplateDirective;
247
265
  /**
248
266
  * @hidden
267
+ *
268
+ * Queries the template for a decade cell template declaration.
269
+ * Ignored if a `[decadeCellTemplate]` value is explicitly provided.
249
270
  */
250
271
  decadeCellTemplate: DecadeCellTemplateDirective;
251
272
  /**
252
273
  * @hidden
274
+ *
275
+ * Defines the template for each decade cell.
276
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
253
277
  */
254
278
  decadeCellTemplateRef: DecadeCellTemplateDirective;
255
279
  /**
256
280
  * @hidden
281
+ *
282
+ * Queries the template for a century cell template declaration.
283
+ * Ignored if a `[centuryCellTemplate]` value is explicitly provided.
257
284
  */
258
285
  centuryCellTemplate: CenturyCellTemplateDirective;
259
286
  /**
260
287
  * @hidden
288
+ *
289
+ * Defines the template for each century cell.
290
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
261
291
  */
262
292
  centuryCellTemplateRef: CenturyCellTemplateDirective;
263
293
  /**
264
294
  * @hidden
295
+ *
296
+ * Queries the template for a week number cell template declaration.
297
+ * Ignored if a `[weekNumberTemplate]` value is explicitly provided.
265
298
  */
266
299
  weekNumberTemplate: WeekNumberCellTemplateDirective;
267
300
  /**
268
301
  * @hidden
302
+ *
303
+ * Defines the template for the week cell.
304
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
269
305
  */
270
306
  weekNumberTemplateRef: WeekNumberCellTemplateDirective;
271
307
  /**
272
308
  * @hidden
309
+ *
310
+ * Queries the template for a header title template declaration.
311
+ * Ignored if a `[headerTitleTemplate]` value is explicitly provided.
273
312
  */
274
313
  headerTitleTemplate: HeaderTitleTemplateDirective;
275
314
  /**
276
315
  * @hidden
316
+ *
317
+ * Defines the template for the header title.
318
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
277
319
  */
278
320
  headerTitleTemplateRef: HeaderTitleTemplateDirective;
279
321
  headerElement: ElementRef<HTMLElement>;
@@ -300,6 +342,13 @@ export declare class MultiViewCalendarComponent implements AfterViewInit, Contro
300
342
  private maxValidateFn;
301
343
  private disabledDatesRangeValidateFn;
302
344
  private subscriptions;
345
+ private _cellTemplateRef;
346
+ private _monthCellTemplateRef;
347
+ private _yearCellTemplateRef;
348
+ private _decadeCellTemplateRef;
349
+ private _centuryCellTemplateRef;
350
+ private _weekNumberTemplateRef;
351
+ private _headerTitleTemplateRef;
303
352
  readonly activeViewEnum: CalendarViewEnum;
304
353
  readonly bottomViewEnum: CalendarViewEnum;
305
354
  readonly topViewEnum: CalendarViewEnum;
@@ -298,45 +298,87 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
298
298
  }
299
299
  /**
300
300
  * @hidden
301
+ *
302
+ * Defines the template for each cell.
303
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
301
304
  */
302
305
  set cellTemplateRef(template) {
303
- this.cellTemplate = template;
306
+ this._cellTemplateRef = template;
307
+ }
308
+ get cellTemplateRef() {
309
+ return this._cellTemplateRef || this.cellTemplate;
304
310
  }
305
311
  /**
306
312
  * @hidden
313
+ *
314
+ * Defines the template for each month cell.
315
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
307
316
  */
308
317
  set monthCellTemplateRef(template) {
309
- this.monthCellTemplate = template;
318
+ this._monthCellTemplateRef = template;
319
+ }
320
+ get monthCellTemplateRef() {
321
+ return this._monthCellTemplateRef || this.monthCellTemplate;
310
322
  }
311
323
  /**
312
324
  * @hidden
325
+ *
326
+ * Defines the template for each year cell.
327
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
313
328
  */
314
329
  set yearCellTemplateRef(template) {
315
- this.yearCellTemplate = template;
330
+ this._yearCellTemplateRef = template;
331
+ }
332
+ get yearCellTemplateRef() {
333
+ return this._yearCellTemplateRef || this.yearCellTemplate;
316
334
  }
317
335
  /**
318
336
  * @hidden
337
+ *
338
+ * Defines the template for each decade cell.
339
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
319
340
  */
320
341
  set decadeCellTemplateRef(template) {
321
- this.decadeCellTemplate = template;
342
+ this._decadeCellTemplateRef = template;
343
+ }
344
+ get decadeCellTemplateRef() {
345
+ return this._decadeCellTemplateRef || this.decadeCellTemplate;
322
346
  }
323
347
  /**
324
348
  * @hidden
349
+ *
350
+ * Defines the template for each century cell.
351
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
325
352
  */
326
353
  set centuryCellTemplateRef(template) {
327
- this.centuryCellTemplate = template;
354
+ this._centuryCellTemplateRef = template;
355
+ }
356
+ get centuryCellTemplateRef() {
357
+ return this._centuryCellTemplateRef || this.centuryCellTemplate;
328
358
  }
329
359
  /**
330
360
  * @hidden
361
+ *
362
+ * Defines the template for the week cell.
363
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
331
364
  */
332
365
  set weekNumberTemplateRef(template) {
333
- this.weekNumberTemplate = template;
366
+ this._weekNumberTemplateRef = template;
367
+ }
368
+ get weekNumberTemplateRef() {
369
+ return this._weekNumberTemplateRef || this.weekNumberTemplate;
334
370
  }
335
371
  /**
336
372
  * @hidden
373
+ *
374
+ * Defines the template for the header title.
375
+ * Takes precedence over nested templates in the KendoMultiViewCalendar tag.
337
376
  */
338
377
  set headerTitleTemplateRef(template) {
339
- this.headerTitleTemplate = template;
378
+ this._headerTitleTemplateRef = template;
379
+ }
380
+ get headerTitleTemplateRef() {
381
+ return this._headerTitleTemplateRef || this.headerTitleTemplate;
340
382
  }
341
383
  get activeViewEnum() {
342
384
  const activeView = CalendarViewEnum[this.activeView];
@@ -585,13 +627,13 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
585
627
  activeCellTemplate() {
586
628
  switch (this.activeViewEnum) {
587
629
  case CalendarViewEnum.month:
588
- return this.monthCellTemplate || this.cellTemplate;
630
+ return this.monthCellTemplateRef || this.cellTemplateRef;
589
631
  case CalendarViewEnum.year:
590
- return this.yearCellTemplate;
632
+ return this.yearCellTemplateRef;
591
633
  case CalendarViewEnum.decade:
592
- return this.decadeCellTemplate;
634
+ return this.decadeCellTemplateRef;
593
635
  case CalendarViewEnum.century:
594
- return this.centuryCellTemplate;
636
+ return this.centuryCellTemplateRef;
595
637
  default:
596
638
  return null;
597
639
  }
@@ -822,7 +864,7 @@ tslib_1.__decorate([
822
864
  tslib_1.__metadata("design:type", EventEmitter)
823
865
  ], MultiViewCalendarComponent.prototype, "blurEvent", void 0);
824
866
  tslib_1.__decorate([
825
- ContentChild(CellTemplateDirective, { static: true }),
867
+ ContentChild(CellTemplateDirective, { static: false }),
826
868
  tslib_1.__metadata("design:type", CellTemplateDirective)
827
869
  ], MultiViewCalendarComponent.prototype, "cellTemplate", void 0);
828
870
  tslib_1.__decorate([
@@ -831,7 +873,7 @@ tslib_1.__decorate([
831
873
  tslib_1.__metadata("design:paramtypes", [CellTemplateDirective])
832
874
  ], MultiViewCalendarComponent.prototype, "cellTemplateRef", null);
833
875
  tslib_1.__decorate([
834
- ContentChild(MonthCellTemplateDirective, { static: true }),
876
+ ContentChild(MonthCellTemplateDirective, { static: false }),
835
877
  tslib_1.__metadata("design:type", MonthCellTemplateDirective)
836
878
  ], MultiViewCalendarComponent.prototype, "monthCellTemplate", void 0);
837
879
  tslib_1.__decorate([
@@ -840,7 +882,7 @@ tslib_1.__decorate([
840
882
  tslib_1.__metadata("design:paramtypes", [MonthCellTemplateDirective])
841
883
  ], MultiViewCalendarComponent.prototype, "monthCellTemplateRef", null);
842
884
  tslib_1.__decorate([
843
- ContentChild(YearCellTemplateDirective, { static: true }),
885
+ ContentChild(YearCellTemplateDirective, { static: false }),
844
886
  tslib_1.__metadata("design:type", YearCellTemplateDirective)
845
887
  ], MultiViewCalendarComponent.prototype, "yearCellTemplate", void 0);
846
888
  tslib_1.__decorate([
@@ -849,7 +891,7 @@ tslib_1.__decorate([
849
891
  tslib_1.__metadata("design:paramtypes", [YearCellTemplateDirective])
850
892
  ], MultiViewCalendarComponent.prototype, "yearCellTemplateRef", null);
851
893
  tslib_1.__decorate([
852
- ContentChild(DecadeCellTemplateDirective, { static: true }),
894
+ ContentChild(DecadeCellTemplateDirective, { static: false }),
853
895
  tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
854
896
  ], MultiViewCalendarComponent.prototype, "decadeCellTemplate", void 0);
855
897
  tslib_1.__decorate([
@@ -858,7 +900,7 @@ tslib_1.__decorate([
858
900
  tslib_1.__metadata("design:paramtypes", [DecadeCellTemplateDirective])
859
901
  ], MultiViewCalendarComponent.prototype, "decadeCellTemplateRef", null);
860
902
  tslib_1.__decorate([
861
- ContentChild(CenturyCellTemplateDirective, { static: true }),
903
+ ContentChild(CenturyCellTemplateDirective, { static: false }),
862
904
  tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
863
905
  ], MultiViewCalendarComponent.prototype, "centuryCellTemplate", void 0);
864
906
  tslib_1.__decorate([
@@ -867,7 +909,7 @@ tslib_1.__decorate([
867
909
  tslib_1.__metadata("design:paramtypes", [CenturyCellTemplateDirective])
868
910
  ], MultiViewCalendarComponent.prototype, "centuryCellTemplateRef", null);
869
911
  tslib_1.__decorate([
870
- ContentChild(WeekNumberCellTemplateDirective, { static: true }),
912
+ ContentChild(WeekNumberCellTemplateDirective, { static: false }),
871
913
  tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
872
914
  ], MultiViewCalendarComponent.prototype, "weekNumberTemplate", void 0);
873
915
  tslib_1.__decorate([
@@ -876,7 +918,7 @@ tslib_1.__decorate([
876
918
  tslib_1.__metadata("design:paramtypes", [WeekNumberCellTemplateDirective])
877
919
  ], MultiViewCalendarComponent.prototype, "weekNumberTemplateRef", null);
878
920
  tslib_1.__decorate([
879
- ContentChild(HeaderTitleTemplateDirective, { static: true }),
921
+ ContentChild(HeaderTitleTemplateDirective, { static: false }),
880
922
  tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
881
923
  ], MultiViewCalendarComponent.prototype, "headerTitleTemplate", void 0);
882
924
  tslib_1.__decorate([
@@ -991,7 +1033,7 @@ MultiViewCalendarComponent = tslib_1.__decorate([
991
1033
  [min]="min"
992
1034
  [max]="max"
993
1035
  [rangeLength]="views"
994
- [templateRef]="headerTitleTemplate?.templateRef"
1036
+ [templateRef]="headerTitleTemplateRef?.templateRef"
995
1037
  [isPrevDisabled]="isPrevDisabled"
996
1038
  [isNextDisabled]="isNextDisabled"
997
1039
  [showNavigationButtons]="true"
@@ -1008,7 +1050,7 @@ MultiViewCalendarComponent = tslib_1.__decorate([
1008
1050
  [activeView]="activeViewEnum"
1009
1051
  [isActive]="isActive || (isHovered && !isHeaderActive)"
1010
1052
  [cellTemplateRef]="activeCellTemplate()?.templateRef"
1011
- [weekNumberTemplateRef]="weekNumberTemplate?.templateRef"
1053
+ [weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
1012
1054
  [cellUID]="cellUID"
1013
1055
  [views]="views"
1014
1056
  [min]="min"