@progress/kendo-angular-dateinputs 19.0.0-develop.1 → 19.0.0-develop.10

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.
@@ -33,8 +33,12 @@ export class DatePickerMessages extends ComponentMessages {
33
33
  * The title of the **Clear** button of the DatePicker.
34
34
  */
35
35
  clearTitle;
36
+ /**
37
+ * The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
38
+ */
39
+ adaptiveCloseButtonTitle;
36
40
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
37
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerMessages, selector: "kendo-datepicker-messages-base", inputs: { today: "today", toggle: "toggle", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
41
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerMessages, selector: "kendo-datepicker-messages-base", inputs: { today: "today", toggle: "toggle", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle", clearTitle: "clearTitle", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle" }, usesInheritance: true, ngImport: i0 });
38
42
  }
39
43
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerMessages, decorators: [{
40
44
  type: Directive,
@@ -54,4 +58,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
54
58
  type: Input
55
59
  }], clearTitle: [{
56
60
  type: Input
61
+ }], adaptiveCloseButtonTitle: [{
62
+ type: Input
57
63
  }] } });
@@ -76,8 +76,9 @@ export class DateRangeInput {
76
76
  [
77
77
  popup.cancel.subscribe(() => this.isActiveEnd && this.input.focus()),
78
78
  popup.onFocus.subscribe(() => this.toggleActiveClass(this.isActiveEnd)),
79
- popup.onBlur.subscribe(() => this.deactivate())
80
- ].map(s => this.popupSubscriptions.add(s));
79
+ popup.onBlur.subscribe(() => this.deactivate()),
80
+ popup.close?.subscribe(() => this.isActiveEnd && this.input.focus())
81
+ ].forEach(s => this.popupSubscriptions.add(s));
81
82
  }
82
83
  unsubscribePopup() {
83
84
  this.popupSubscriptions.unsubscribe();
@@ -15,7 +15,7 @@ import { Subscription, fromEvent, merge } from 'rxjs';
15
15
  import { filter, map } from 'rxjs/operators';
16
16
  import { isWindowAvailable } from '../util';
17
17
  import { isPresent } from '../common/utils';
18
- import { xIcon } from '@progress/kendo-svg-icons';
18
+ import { checkIcon } from '@progress/kendo-svg-icons';
19
19
  import { DateRangeSelectionDirective } from './date-range-selection.directive';
20
20
  import { ActionSheetComponent, ActionSheetTemplateDirective } from '@progress/kendo-angular-navigation';
21
21
  import { ButtonComponent } from '@progress/kendo-angular-buttons';
@@ -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
  *
@@ -298,7 +292,11 @@ export class DateRangePopupComponent {
298
292
  /**
299
293
  * @hidden
300
294
  */
301
- xIcon = xIcon;
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>
@@ -708,8 +683,16 @@ export class DateRangePopupComponent {
708
683
 
709
684
  <kendo-actionsheet
710
685
  #actionSheet
711
- (overlayClick)="show=false"
686
+ (overlayClick)="handleAccept()"
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
@@ -717,29 +700,30 @@ export class DateRangePopupComponent {
717
700
  Note: The popup in non-adaptive mode closes on window blur -->
718
701
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
719
702
  <div class="k-actionsheet-titlebar">
720
- <div class="k-actionsheet-titlebar-group k-hbox">
703
+ <div class="k-actionsheet-titlebar-group">
721
704
  <div class="k-actionsheet-title">
722
- <div class="k-text-center">{{ title }}</div>
723
- <div 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
- icon="x"
730
- [attr.title]="localization.get('clearTitle')"
731
- [svgIcon]="xIcon"
712
+ icon="check"
713
+ [attr.title]="localization.get('adaptiveCloseButtonTitle')"
714
+ [svgIcon]="checkIcon"
732
715
  fillMode="flat"
716
+ themeColor="primary"
733
717
  [tabIndex]="-1"
734
718
  aria-hidden="true"
735
719
  size="large"
736
720
  innerCssClass="k-button-icon"
737
- (click)="show = false">
721
+ (click)="handleAccept()">
738
722
  </button>
739
723
  </div>
740
724
  </div>
741
725
  </div>
742
- <div class="k-actionsheet-content !k-overflow-hidden">
726
+ <div class="k-actionsheet-content">
743
727
  <div class="k-scrollable-wrap">
744
728
  <kendo-multiviewcalendar
745
729
  size="large"
@@ -763,7 +747,7 @@ 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>
@@ -791,7 +775,7 @@ export class DateRangePopupComponent {
791
775
  </div>
792
776
  </ng-template>
793
777
  </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: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "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"] }] });
778
+ `, 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
779
  }
796
780
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupComponent, decorators: [{
797
781
  type: Component,
@@ -818,6 +802,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
818
802
 
819
803
  i18n-cancelLabel="kendo.daterangepopup.cancelLabel|The label for the Cancel button in the timepicker component"
820
804
  cancelLabel="Cancel changes"
805
+
806
+ 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"
807
+ adaptiveCloseButtonTitle="Close"
821
808
  >
822
809
  </ng-container>
823
810
  <ng-container #container></ng-container>
@@ -851,8 +838,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
851
838
 
852
839
  <kendo-actionsheet
853
840
  #actionSheet
854
- (overlayClick)="show=false"
841
+ (overlayClick)="handleAccept()"
855
842
  (collapse)="onBlur.emit()"
843
+ [cssClass]="{
844
+ 'k-adaptive-actionsheet': true,
845
+ 'k-actionsheet-fullscreen': windowSize === 'small',
846
+ 'k-actionsheet-bottom': windowSize === 'medium'
847
+ }"
848
+ [cssStyle]="{
849
+ height: windowSize === 'small' ? '100vh' : '60vh'
850
+ }"
856
851
  >
857
852
  <ng-template kendoActionSheetTemplate>
858
853
  <!-- Resize sensor needs to be inside the template because the date-range-popup
@@ -860,29 +855,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
860
855
  Note: The popup in non-adaptive mode closes on window blur -->
861
856
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
862
857
  <div class="k-actionsheet-titlebar">
863
- <div class="k-actionsheet-titlebar-group k-hbox">
858
+ <div class="k-actionsheet-titlebar-group">
864
859
  <div class="k-actionsheet-title">
865
- <div class="k-text-center">{{ title }}</div>
866
- <div class="k-actionsheet-subtitle k-text-center">{{ subtitle }}</div>
860
+ <div class="k-text-center" *ngIf="adaptiveTitle">{{ adaptiveTitle }}</div>
861
+ <div class="k-actionsheet-subtitle k-text-center" *ngIf="adaptiveSubtitle">{{ adaptiveSubtitle }}</div>
867
862
  </div>
868
863
  <div class="k-actionsheet-actions">
869
864
  <button
870
865
  kendoButton
871
866
  type="button"
872
- icon="x"
873
- [attr.title]="localization.get('clearTitle')"
874
- [svgIcon]="xIcon"
867
+ icon="check"
868
+ [attr.title]="localization.get('adaptiveCloseButtonTitle')"
869
+ [svgIcon]="checkIcon"
875
870
  fillMode="flat"
871
+ themeColor="primary"
876
872
  [tabIndex]="-1"
877
873
  aria-hidden="true"
878
874
  size="large"
879
875
  innerCssClass="k-button-icon"
880
- (click)="show = false">
876
+ (click)="handleAccept()">
881
877
  </button>
882
878
  </div>
883
879
  </div>
884
880
  </div>
885
- <div class="k-actionsheet-content !k-overflow-hidden">
881
+ <div class="k-actionsheet-content">
886
882
  <div class="k-scrollable-wrap">
887
883
  <kendo-multiviewcalendar
888
884
  size="large"
@@ -906,7 +902,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
906
902
  [value]="dateRangeService.selectionRange"
907
903
  selection="range"
908
904
  (rangeSelectionChange)="onRangeSelectionChange($event)"
909
- >
905
+ >
910
906
  </kendo-multiviewcalendar>
911
907
  </div>
912
908
  </div>
@@ -1010,9 +1006,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1010
1006
  type: Input
1011
1007
  }], adaptiveMode: [{
1012
1008
  type: Input
1013
- }], title: [{
1009
+ }], adaptiveTitle: [{
1014
1010
  type: Input
1015
- }], subtitle: [{
1011
+ }], adaptiveSubtitle: [{
1016
1012
  type: Input
1017
1013
  }], size: [{
1018
1014
  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
  }] } });