@progress/kendo-angular-dateinputs 19.0.0-develop.3 → 19.0.0-develop.30

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 (33) hide show
  1. package/codemods/template-transformer/index.js +94 -0
  2. package/codemods/utils.js +553 -0
  3. package/codemods/v19/datepicker-subtitle.js +50 -0
  4. package/codemods/v19/datepicker-title.js +50 -0
  5. package/codemods/v19/daterange-popup-subtitle.js +50 -0
  6. package/codemods/v19/daterange-popup-title.js +50 -0
  7. package/codemods/v19/datetimepicker-subtitle.js +50 -0
  8. package/codemods/v19/datetimepicker-title.js +50 -0
  9. package/codemods/v19/timepicker-subtitle.js +50 -0
  10. package/codemods/v19/timepicker-title.js +50 -0
  11. package/dateinput/dateinput.component.d.ts +2 -0
  12. package/datepicker/datepicker.component.d.ts +8 -8
  13. package/datepicker/localization/messages.d.ts +5 -1
  14. package/daterange/date-range-popup.component.d.ts +12 -12
  15. package/daterange/localization/messages.d.ts +5 -1
  16. package/datetimepicker/datetimepicker.component.d.ts +12 -13
  17. package/datetimepicker/localization/messages.d.ts +5 -1
  18. package/esm2022/dateinput/dateinput.component.mjs +5 -2
  19. package/esm2022/datepicker/datepicker.component.mjs +46 -49
  20. package/esm2022/datepicker/localization/messages.mjs +7 -1
  21. package/esm2022/daterange/date-range-input.mjs +3 -2
  22. package/esm2022/daterange/date-range-popup.component.mjs +59 -59
  23. package/esm2022/daterange/date-range.component.mjs +1 -1
  24. package/esm2022/daterange/localization/messages.mjs +7 -1
  25. package/esm2022/datetimepicker/datetimepicker.component.mjs +86 -97
  26. package/esm2022/datetimepicker/localization/messages.mjs +7 -1
  27. package/esm2022/package-metadata.mjs +2 -2
  28. package/esm2022/timepicker/localization/messages.mjs +7 -1
  29. package/esm2022/timepicker/timepicker.component.mjs +43 -47
  30. package/fesm2022/progress-kendo-angular-dateinputs.mjs +267 -258
  31. package/package.json +61 -11
  32. package/timepicker/localization/messages.d.ts +5 -1
  33. package/timepicker/timepicker.component.d.ts +9 -8
@@ -199,18 +199,12 @@ export class DateRangePopupComponent {
199
199
  * Sets the title of the input element of the DateRangePopup and the title text rendered
200
200
  * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
201
201
  */
202
- title = "";
202
+ adaptiveTitle = "";
203
203
  /**
204
204
  * Sets the subtitle text rendered in the header of the popup(action sheet).
205
205
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
206
206
  */
207
- set subtitle(subtitle) {
208
- this._subtitle = subtitle;
209
- }
210
- get subtitle() {
211
- return this._subtitle;
212
- }
213
- _subtitle;
207
+ adaptiveSubtitle = "";
214
208
  /**
215
209
  * @hidden
216
210
  *
@@ -299,6 +293,10 @@ export class DateRangePopupComponent {
299
293
  * @hidden
300
294
  */
301
295
  checkIcon = checkIcon;
296
+ /**
297
+ * @hidden
298
+ */
299
+ windowSize;
302
300
  /**
303
301
  * Gets or sets the visibility state of the component.
304
302
  */
@@ -321,6 +319,13 @@ export class DateRangePopupComponent {
321
319
  get show() {
322
320
  return this._show;
323
321
  }
322
+ /**
323
+ * @hidden
324
+ */
325
+ handleAccept() {
326
+ this.dateRangeService.setRange(this._rangeSelection);
327
+ this.show = false;
328
+ }
324
329
  activateSubscription;
325
330
  blurSubscription;
326
331
  focusSubscription;
@@ -332,7 +337,6 @@ export class DateRangePopupComponent {
332
337
  _calendar;
333
338
  _show;
334
339
  _rangeSelection;
335
- windowSize;
336
340
  constructor(popupService, dateRangeService, zone, renderer, localization, cdr, rtl, adaptiveService) {
337
341
  this.popupService = popupService;
338
342
  this.dateRangeService = dateRangeService;
@@ -375,11 +379,6 @@ export class DateRangePopupComponent {
375
379
  if (isWindowAvailable()) {
376
380
  this.zone.runOutsideAngular(() => this.windowBlurSubscription = fromEvent(window, 'blur').subscribe(this.handleWindowBlur.bind(this)));
377
381
  }
378
- if (this.actionSheet && isDocumentAvailable()) {
379
- // The following syntax is used as it does not violate CSP compliance
380
- this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
381
- this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
382
- }
383
382
  }
384
383
  ngOnDestroy() {
385
384
  this.destroyPopup();
@@ -467,13 +466,6 @@ export class DateRangePopupComponent {
467
466
  this.show = false;
468
467
  this.cancel.emit();
469
468
  }
470
- /**
471
- * @hidden
472
- */
473
- handleAccept() {
474
- this.dateRangeService.setRange(this._rangeSelection);
475
- this.show = false;
476
- }
477
469
  /**
478
470
  * @hidden
479
471
  */
@@ -623,7 +615,6 @@ export class DateRangePopupComponent {
623
615
  }
624
616
  if (show && !this.actionSheet.expanded) {
625
617
  this.actionSheet.toggle();
626
- this.updateActionSheetAdaptiveAppearance();
627
618
  this.renderer.setAttribute(this.actionSheet.element.nativeElement, 'id', this.popupUID);
628
619
  }
629
620
  else if (!show && this.actionSheet.expanded) {
@@ -631,32 +622,13 @@ export class DateRangePopupComponent {
631
622
  }
632
623
  this._show = show;
633
624
  }
634
- updateActionSheetAdaptiveAppearance() {
635
- let element;
636
- let animationContainer;
637
- if (this.actionSheet) {
638
- element = this.actionSheet['element'].nativeElement.querySelector('.k-actionsheet');
639
- animationContainer = this.actionSheet['element'].nativeElement.querySelector('.k-child-animation-container');
640
- if (this.windowSize === 'medium') {
641
- this.renderer.removeClass(element, 'k-actionsheet-fullscreen');
642
- this.renderer.removeStyle(animationContainer, 'height');
643
- }
644
- else if (this.windowSize === 'small') {
645
- this.renderer.addClass(element, 'k-actionsheet-fullscreen');
646
- this.renderer.setStyle(animationContainer, 'height', '100%');
647
- }
648
- this.renderer.addClass(element, 'k-adaptive-actionsheet');
649
- this.renderer.addClass(element, 'k-actionsheet-bottom');
650
- this.renderer.setStyle(animationContainer, 'bottom', '0px');
651
- }
652
- }
653
625
  addCalendarSubscription = (calendar) => {
654
626
  this.calendarSubscriptions.add(calendar.viewList.focusedCellChange.subscribe((id) => {
655
627
  this.dateRangeService.setActiveDescendent(id);
656
628
  }));
657
629
  };
658
630
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1.PopupService }, { token: i2.DateRangeService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }, { token: i4.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
659
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangePopupComponent, isStandalone: true, selector: "kendo-daterange-popup", inputs: { showCalendarHeader: "showCalendarHeader", focusedDate: "focusedDate", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", min: "min", max: "max", allowReverse: "allowReverse", animateNavigation: "animateNavigation", disabled: "disabled", views: "views", weekNumber: "weekNumber", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", showViewHeader: "showViewHeader", showOtherMonthDays: "showOtherMonthDays", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
631
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangePopupComponent, isStandalone: true, selector: "kendo-daterange-popup", inputs: { showCalendarHeader: "showCalendarHeader", focusedDate: "focusedDate", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", min: "min", max: "max", allowReverse: "allowReverse", animateNavigation: "animateNavigation", disabled: "disabled", views: "views", weekNumber: "weekNumber", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", showViewHeader: "showViewHeader", showOtherMonthDays: "showOtherMonthDays", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
660
632
  LocalizationService,
661
633
  {
662
634
  provide: L10N_PREFIX,
@@ -675,6 +647,9 @@ export class DateRangePopupComponent {
675
647
 
676
648
  i18n-cancelLabel="kendo.daterangepopup.cancelLabel|The label for the Cancel button in the timepicker component"
677
649
  cancelLabel="Cancel changes"
650
+
651
+ i18n-adaptiveCloseButtonTitle="kendo.daterangepopup.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
652
+ adaptiveCloseButtonTitle="Close"
678
653
  >
679
654
  </ng-container>
680
655
  <ng-container #container></ng-container>
@@ -710,6 +685,14 @@ export class DateRangePopupComponent {
710
685
  #actionSheet
711
686
  (overlayClick)="show=false"
712
687
  (collapse)="onBlur.emit()"
688
+ [cssClass]="{
689
+ 'k-adaptive-actionsheet': true,
690
+ 'k-actionsheet-fullscreen': windowSize === 'small',
691
+ 'k-actionsheet-bottom': windowSize === 'medium'
692
+ }"
693
+ [cssStyle]="{
694
+ height: windowSize === 'small' ? '100vh' : '60vh'
695
+ }"
713
696
  >
714
697
  <ng-template kendoActionSheetTemplate>
715
698
  <!-- Resize sensor needs to be inside the template because the date-range-popup
@@ -719,22 +702,23 @@ export class DateRangePopupComponent {
719
702
  <div class="k-actionsheet-titlebar">
720
703
  <div class="k-actionsheet-titlebar-group">
721
704
  <div class="k-actionsheet-title">
722
- <div *ngIf="title" class="k-text-center">{{ title }}</div>
723
- <div *ngIf="subtitle" class="k-actionsheet-subtitle k-text-center">{{ subtitle }}</div>
705
+ <div class="k-text-center" *ngIf="adaptiveTitle">{{ adaptiveTitle }}</div>
706
+ <div class="k-actionsheet-subtitle k-text-center" *ngIf="adaptiveSubtitle">{{ adaptiveSubtitle }}</div>
724
707
  </div>
725
708
  <div class="k-actionsheet-actions">
726
709
  <button
727
710
  kendoButton
728
711
  type="button"
729
712
  icon="check"
730
- [attr.title]="localization.get('clearTitle')"
713
+ [attr.title]="localization.get('adaptiveCloseButtonTitle')"
731
714
  [svgIcon]="checkIcon"
732
715
  fillMode="flat"
716
+ themeColor="primary"
733
717
  [tabIndex]="-1"
734
718
  aria-hidden="true"
735
- themeColor="primary"
736
719
  size="large"
737
- (click)="show = false">
720
+ innerCssClass="k-button-icon"
721
+ (click)="handleAccept()">
738
722
  </button>
739
723
  </div>
740
724
  </div>
@@ -763,12 +747,13 @@ export class DateRangePopupComponent {
763
747
  [value]="dateRangeService.selectionRange"
764
748
  selection="range"
765
749
  (rangeSelectionChange)="onRangeSelectionChange($event)"
766
- >
750
+ >
767
751
  </kendo-multiviewcalendar>
768
752
  </div>
769
753
  </div>
770
754
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
771
- <button kendoButton
755
+ <button kendoButton
756
+ class="k-time-cancel"
772
757
  type="button"
773
758
  size="large"
774
759
  [attr.title]="localization.get('cancelLabel')"
@@ -779,6 +764,7 @@ export class DateRangePopupComponent {
779
764
  </button>
780
765
 
781
766
  <button kendoButton
767
+ class="k-time-accept"
782
768
  type="button"
783
769
  size="large"
784
770
  themeColor="primary"
@@ -791,7 +777,7 @@ export class DateRangePopupComponent {
791
777
  </div>
792
778
  </ng-template>
793
779
  </kendo-actionsheet>
794
- `, isInline: true, dependencies: [{ kind: "directive", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
780
+ `, isInline: true, dependencies: [{ kind: "directive", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
795
781
  }
796
782
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupComponent, decorators: [{
797
783
  type: Component,
@@ -818,6 +804,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
818
804
 
819
805
  i18n-cancelLabel="kendo.daterangepopup.cancelLabel|The label for the Cancel button in the timepicker component"
820
806
  cancelLabel="Cancel changes"
807
+
808
+ i18n-adaptiveCloseButtonTitle="kendo.daterangepopup.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
809
+ adaptiveCloseButtonTitle="Close"
821
810
  >
822
811
  </ng-container>
823
812
  <ng-container #container></ng-container>
@@ -853,6 +842,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
853
842
  #actionSheet
854
843
  (overlayClick)="show=false"
855
844
  (collapse)="onBlur.emit()"
845
+ [cssClass]="{
846
+ 'k-adaptive-actionsheet': true,
847
+ 'k-actionsheet-fullscreen': windowSize === 'small',
848
+ 'k-actionsheet-bottom': windowSize === 'medium'
849
+ }"
850
+ [cssStyle]="{
851
+ height: windowSize === 'small' ? '100vh' : '60vh'
852
+ }"
856
853
  >
857
854
  <ng-template kendoActionSheetTemplate>
858
855
  <!-- Resize sensor needs to be inside the template because the date-range-popup
@@ -862,22 +859,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
862
859
  <div class="k-actionsheet-titlebar">
863
860
  <div class="k-actionsheet-titlebar-group">
864
861
  <div class="k-actionsheet-title">
865
- <div *ngIf="title" class="k-text-center">{{ title }}</div>
866
- <div *ngIf="subtitle" class="k-actionsheet-subtitle k-text-center">{{ subtitle }}</div>
862
+ <div class="k-text-center" *ngIf="adaptiveTitle">{{ adaptiveTitle }}</div>
863
+ <div class="k-actionsheet-subtitle k-text-center" *ngIf="adaptiveSubtitle">{{ adaptiveSubtitle }}</div>
867
864
  </div>
868
865
  <div class="k-actionsheet-actions">
869
866
  <button
870
867
  kendoButton
871
868
  type="button"
872
869
  icon="check"
873
- [attr.title]="localization.get('clearTitle')"
870
+ [attr.title]="localization.get('adaptiveCloseButtonTitle')"
874
871
  [svgIcon]="checkIcon"
875
872
  fillMode="flat"
873
+ themeColor="primary"
876
874
  [tabIndex]="-1"
877
875
  aria-hidden="true"
878
- themeColor="primary"
879
876
  size="large"
880
- (click)="show = false">
877
+ innerCssClass="k-button-icon"
878
+ (click)="handleAccept()">
881
879
  </button>
882
880
  </div>
883
881
  </div>
@@ -906,12 +904,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
906
904
  [value]="dateRangeService.selectionRange"
907
905
  selection="range"
908
906
  (rangeSelectionChange)="onRangeSelectionChange($event)"
909
- >
907
+ >
910
908
  </kendo-multiviewcalendar>
911
909
  </div>
912
910
  </div>
913
911
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
914
- <button kendoButton
912
+ <button kendoButton
913
+ class="k-time-cancel"
915
914
  type="button"
916
915
  size="large"
917
916
  [attr.title]="localization.get('cancelLabel')"
@@ -922,6 +921,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
922
921
  </button>
923
922
 
924
923
  <button kendoButton
924
+ class="k-time-accept"
925
925
  type="button"
926
926
  size="large"
927
927
  themeColor="primary"
@@ -1010,9 +1010,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1010
1010
  type: Input
1011
1011
  }], adaptiveMode: [{
1012
1012
  type: Input
1013
- }], title: [{
1013
+ }], adaptiveTitle: [{
1014
1014
  type: Input
1015
- }], subtitle: [{
1015
+ }], adaptiveSubtitle: [{
1016
1016
  type: Input
1017
1017
  }], size: [{
1018
1018
  type: Input
@@ -86,7 +86,7 @@ export class DateRangeComponent {
86
86
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeComponent, isStandalone: true, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
87
87
  <ng-content></ng-content>
88
88
  <kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
89
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["showCalendarHeader", "focusedDate", "disabledDates", "activeView", "bottomView", "topView", "min", "max", "allowReverse", "animateNavigation", "disabled", "views", "weekNumber", "animate", "anchor", "anchorAlign", "showViewHeader", "showOtherMonthDays", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle", "size"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
89
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["showCalendarHeader", "focusedDate", "disabledDates", "activeView", "bottomView", "topView", "min", "max", "allowReverse", "animateNavigation", "disabled", "views", "weekNumber", "animate", "anchor", "anchorAlign", "showViewHeader", "showOtherMonthDays", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "size"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
90
90
  }
91
91
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeComponent, decorators: [{
92
92
  type: Component,
@@ -25,8 +25,12 @@ export class DateRangePopupMessages extends ComponentMessages {
25
25
  * The label of the **Cancel** button in the popup footer of the DateRange Popup.
26
26
  */
27
27
  cancelLabel;
28
+ /**
29
+ * The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
30
+ */
31
+ adaptiveCloseButtonTitle;
28
32
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
29
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateRangePopupMessages, selector: "kendo-daterangepopup-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel" }, usesInheritance: true, ngImport: i0 });
33
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateRangePopupMessages, selector: "kendo-daterangepopup-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle" }, usesInheritance: true, ngImport: i0 });
30
34
  }
31
35
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupMessages, decorators: [{
32
36
  type: Directive,
@@ -42,4 +46,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
42
46
  type: Input
43
47
  }], cancelLabel: [{
44
48
  type: Input
49
+ }], adaptiveCloseButtonTitle: [{
50
+ type: Input
45
51
  }] } });