@progress/kendo-angular-dateinputs 24.0.0-develop.4 → 24.0.0-develop.41

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.
@@ -9,15 +9,15 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
9
9
  import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
10
10
  import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, lastDecadeOfCentury, firstDecadeOfCentury, addCenturies, addDecades, lastYearOfDecade, firstYearOfDecade, createDate, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, firstDayOfMonth, addMonths, addWeeks, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
11
11
  import * as i19 from '@progress/kendo-angular-common';
12
- import { normalizeKeys, Keys, isDocumentAvailable, EventsOutsideAngularDirective, guid, hasObservers, isObject, KendoInput, ResizeSensorComponent, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, parseCSSClassNames, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
12
+ import { normalizeKeys, Keys, isDocumentAvailable, EventsOutsideAngularDirective, guid, hasObservers, isObject, KendoInput, ResizeSensorComponent, KENDO_WEBMCP_HOST, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, parseCSSClassNames, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
13
13
  export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
14
14
  import { validatePackage } from '@progress/kendo-licensing';
15
15
  import * as i1 from '@progress/kendo-angular-intl';
16
16
  import { localeData } from '@progress/kendo-angular-intl';
17
17
  import { Subject, Subscription, ReplaySubject, Observable, combineLatest, of, interval, animationFrameScheduler, EMPTY, fromEvent, from, BehaviorSubject, merge } from 'rxjs';
18
18
  import { NgTemplateOutlet, NgClass, NgStyle } from '@angular/common';
19
- import { chevronRightIcon, chevronLeftIcon, caretAltUpIcon, xIcon, caretAltDownIcon, calendarIcon, checkIcon, clockIcon } from '@progress/kendo-svg-icons';
20
- import { ButtonComponent } from '@progress/kendo-angular-buttons';
19
+ import { chevronRightIcon, chevronLeftIcon, chevronUpIcon, xIcon, chevronDownIcon, calendarIcon, checkIcon, clockIcon } from '@progress/kendo-svg-icons';
20
+ import { ButtonComponent, SegmentedControlComponent } from '@progress/kendo-angular-buttons';
21
21
  import { map, scan, takeWhile, debounceTime, tap, filter } from 'rxjs/operators';
22
22
  import { DateInput } from '@progress/kendo-dateinputs-common';
23
23
  import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1776957347,
40
- version: '24.0.0-develop.4',
39
+ publishDate: 1779255782,
40
+ version: '24.0.0-develop.41',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -2811,7 +2811,7 @@ class HeaderComponent {
2811
2811
  }
2812
2812
  </span>
2813
2813
  }
2814
- `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
2814
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
2815
2815
  }
2816
2816
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: HeaderComponent, decorators: [{
2817
2817
  type: Component,
@@ -3534,7 +3534,7 @@ class FooterComponent {
3534
3534
  {{intl.formatDate(getToday(), 'D')}}
3535
3535
  </button>
3536
3536
  }
3537
- `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
3537
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
3538
3538
  }
3539
3539
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FooterComponent, decorators: [{
3540
3540
  type: Component,
@@ -8022,7 +8022,8 @@ class CalendarComponent {
8022
8022
  },
8023
8023
  NavigationService,
8024
8024
  ScrollSyncService,
8025
- SelectionService
8025
+ SelectionService,
8026
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => CalendarComponent) }
8026
8027
  ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "navigationView", first: true, predicate: NavigationComponent, descendants: true }, { propertyName: "monthView", first: true, predicate: ViewListComponent, descendants: true }, { propertyName: "multiViewCalendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-calendar"], usesOnChanges: true, ngImport: i0, template: `
8027
8028
  <ng-container kendoCalendarLocalizedMessages
8028
8029
  i18n-today="kendo.calendar.today|The label for the today button in the calendar header"
@@ -8163,7 +8164,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
8163
8164
  },
8164
8165
  NavigationService,
8165
8166
  ScrollSyncService,
8166
- SelectionService
8167
+ SelectionService,
8168
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => CalendarComponent) }
8167
8169
  ],
8168
8170
  selector: 'kendo-calendar',
8169
8171
  template: `
@@ -8581,10 +8583,10 @@ class DateInputIntl {
8581
8583
  * Represents the [Kendo UI DateInput component for Angular](https://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput).
8582
8584
  *
8583
8585
  * ```html
8584
- * <kendo-dateinput/>
8586
+ * <kendo-dateinput></kendo-dateinput>
8585
8587
  * ```
8586
8588
  *
8587
- * @remarks
8589
+ * @remarks
8588
8590
  * Supported children components are: {@link DateInputCustomMessagesComponent}.
8589
8591
  */
8590
8592
  class DateInputComponent {
@@ -8599,7 +8601,7 @@ class DateInputComponent {
8599
8601
  /**
8600
8602
  * @hidden
8601
8603
  */
8602
- caretAltUpIcon = caretAltUpIcon;
8604
+ chevronUpIcon = chevronUpIcon;
8603
8605
  /**
8604
8606
  * @hidden
8605
8607
  */
@@ -8607,7 +8609,7 @@ class DateInputComponent {
8607
8609
  /**
8608
8610
  * @hidden
8609
8611
  */
8610
- caretAltDownIcon = caretAltDownIcon;
8612
+ chevronDownIcon = chevronDownIcon;
8611
8613
  /**
8612
8614
  * @hidden
8613
8615
  */
@@ -8904,9 +8906,6 @@ class DateInputComponent {
8904
8906
  * @hidden
8905
8907
  */
8906
8908
  dateInput;
8907
- get wrapperClass() {
8908
- return true;
8909
- }
8910
8909
  get disabledClass() {
8911
8910
  return this.disabled;
8912
8911
  }
@@ -9059,6 +9058,8 @@ class DateInputComponent {
9059
9058
  * @hidden
9060
9059
  */
9061
9060
  ngOnInit() {
9061
+ this.renderer.addClass(this.wrapper.nativeElement, 'k-input');
9062
+ this.renderer.addClass(this.wrapper.nativeElement, 'k-dateinput');
9062
9063
  if (this.kendoDate) {
9063
9064
  this.kendoDate.destroy();
9064
9065
  }
@@ -9195,7 +9196,11 @@ class DateInputComponent {
9195
9196
  this.kendoDate?.setOptions(this.options, true);
9196
9197
  this.kendoDateObject?.setValue(this.value);
9197
9198
  this.kendoDate?.refreshElementValue();
9199
+ this.cdr.markForCheck();
9198
9200
  }
9201
+ /**
9202
+ * Resets the value of the DateInput component to `null` and triggers the `valueChange` event.
9203
+ */
9199
9204
  resetInput() {
9200
9205
  this.isDateIncomplete = false;
9201
9206
  this.writeValue(null);
@@ -9379,7 +9384,7 @@ class DateInputComponent {
9379
9384
  setHTMLAttributes(attributesToRender, this.renderer, this.dateInput.nativeElement, this.ngZone);
9380
9385
  }
9381
9386
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1$1.LocalizationService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
9382
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: DateInputComponent, isStandalone: true, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
9387
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: DateInputComponent, isStandalone: true, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass" } }, providers: [
9383
9388
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
9384
9389
  { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
9385
9390
  { provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
@@ -9450,8 +9455,8 @@ class DateInputComponent {
9450
9455
  [attr.aria-label]="localization.get('increment')"
9451
9456
  >
9452
9457
  <kendo-icon-wrapper
9453
- name="caret-alt-up"
9454
- [svgIcon]="caretAltUpIcon"
9458
+ name="chevron-up"
9459
+ [svgIcon]="chevronUpIcon"
9455
9460
  innerCssClass="k-button-icon"
9456
9461
  >
9457
9462
  </kendo-icon-wrapper>
@@ -9468,8 +9473,8 @@ class DateInputComponent {
9468
9473
  [attr.aria-label]="localization.get('decrement')"
9469
9474
  >
9470
9475
  <kendo-icon-wrapper
9471
- name="caret-alt-down"
9472
- [svgIcon]="caretAltDownIcon"
9476
+ name="chevron-down"
9477
+ [svgIcon]="chevronDownIcon"
9473
9478
  innerCssClass="k-button-icon"
9474
9479
  >
9475
9480
  </kendo-icon-wrapper>
@@ -9556,8 +9561,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
9556
9561
  [attr.aria-label]="localization.get('increment')"
9557
9562
  >
9558
9563
  <kendo-icon-wrapper
9559
- name="caret-alt-up"
9560
- [svgIcon]="caretAltUpIcon"
9564
+ name="chevron-up"
9565
+ [svgIcon]="chevronUpIcon"
9561
9566
  innerCssClass="k-button-icon"
9562
9567
  >
9563
9568
  </kendo-icon-wrapper>
@@ -9574,8 +9579,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
9574
9579
  [attr.aria-label]="localization.get('decrement')"
9575
9580
  >
9576
9581
  <kendo-icon-wrapper
9577
- name="caret-alt-down"
9578
- [svgIcon]="caretAltDownIcon"
9582
+ name="chevron-down"
9583
+ [svgIcon]="chevronDownIcon"
9579
9584
  innerCssClass="k-button-icon"
9580
9585
  >
9581
9586
  </kendo-icon-wrapper>
@@ -9672,12 +9677,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
9672
9677
  }], dateInput: [{
9673
9678
  type: ViewChild,
9674
9679
  args: ['dateInput', { static: true }]
9675
- }], wrapperClass: [{
9676
- type: HostBinding,
9677
- args: ['class.k-input']
9678
- }, {
9679
- type: HostBinding,
9680
- args: ['class.k-dateinput']
9681
9680
  }], disabledClass: [{
9682
9681
  type: HostBinding,
9683
9682
  args: ['class.k-disabled']
@@ -11017,7 +11016,8 @@ class DatePickerComponent extends MultiTabStop {
11017
11016
  {
11018
11017
  provide: L10N_PREFIX,
11019
11018
  useValue: 'kendo.datepicker'
11020
- }
11019
+ },
11020
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DatePickerComponent) }
11021
11021
  ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datepicker"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
11022
11022
  <ng-container kendoDatePickerLocalizedMessages
11023
11023
  i18n-today="kendo.datepicker.today|The label for the today button in the calendar header"
@@ -11207,7 +11207,7 @@ class DatePickerComponent extends MultiTabStop {
11207
11207
  </kendo-calendar-messages>
11208
11208
  </kendo-calendar>
11209
11209
  </ng-template>
11210
- `, isInline: true, dependencies: [{ kind: "directive", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11210
+ `, isInline: true, dependencies: [{ kind: "directive", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11211
11211
  }
11212
11212
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DatePickerComponent, decorators: [{
11213
11213
  type: Component,
@@ -11225,7 +11225,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
11225
11225
  {
11226
11226
  provide: L10N_PREFIX,
11227
11227
  useValue: 'kendo.datepicker'
11228
- }
11228
+ },
11229
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DatePickerComponent) }
11229
11230
  ],
11230
11231
  selector: 'kendo-datepicker',
11231
11232
  template: `
@@ -11627,7 +11628,7 @@ const listItem = () => li('<span>02</span>', 'k-item');
11627
11628
  const list = () => ul([listItem()], 'k-reset');
11628
11629
  const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-scrollable'));
11629
11630
  const actionSheetContent = (isDateTimePicker) => [
11630
- isDateTimePicker ? div([div('button', 'k-button k-button-lg')], 'k-datetime-buttongroup') : null,
11631
+ isDateTimePicker ? div([div('button', 'k-segmented-control-button')], 'k-segmented-control') : null,
11631
11632
  div([
11632
11633
  div([span('04:08:48:49 AM', 'k-title k-timeselector-title'),
11633
11634
  div('now', 'k-button k-button-md')
@@ -14668,7 +14669,8 @@ class TimePickerComponent extends MultiTabStop {
14668
14669
  provide: L10N_PREFIX,
14669
14670
  useValue: 'kendo.timepicker'
14670
14671
  },
14671
- PickerService
14672
+ PickerService,
14673
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TimePickerComponent) }
14672
14674
  ], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-timepicker"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
14673
14675
  <ng-container kendoTimePickerLocalizedMessages
14674
14676
  i18n-accept="kendo.timepicker.accept|The Accept button text in the timepicker component"
@@ -14888,7 +14890,7 @@ class TimePickerComponent extends MultiTabStop {
14888
14890
  </kendo-timeselector-messages>
14889
14891
  </kendo-timeselector>
14890
14892
  </ng-template>
14891
- `, isInline: true, dependencies: [{ kind: "directive", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
14893
+ `, isInline: true, dependencies: [{ kind: "directive", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
14892
14894
  }
14893
14895
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TimePickerComponent, decorators: [{
14894
14896
  type: Component,
@@ -14906,7 +14908,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
14906
14908
  provide: L10N_PREFIX,
14907
14909
  useValue: 'kendo.timepicker'
14908
14910
  },
14909
- PickerService
14911
+ PickerService,
14912
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => TimePickerComponent) }
14910
14913
  ],
14911
14914
  selector: 'kendo-timepicker',
14912
14915
  template: `
@@ -15418,8 +15421,8 @@ const DEFAULT_TIMESELECTOR_FORMAT = 't';
15418
15421
  const TWO_DIGIT_YEAR_MAX = 68;
15419
15422
  const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
15420
15423
  const CANCEL_BUTTON_SELECOTR = '.k-button.k-time-cancel';
15421
- const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-group-start';
15422
- const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
15424
+ const DATE_TAB_BUTTON_SELECTOR = '.k-segmented-control-button:first-of-type';
15425
+ const TIME_TAB_BUTTON_SELECTOR = '.k-segmented-control-button:last-of-type';
15423
15426
  const TODAY_BUTTON_SELECTOR = '.k-button.k-calendar-nav-today';
15424
15427
  /**
15425
15428
  * Represents the Kendo UI DateTimePicker component for Angular.
@@ -16362,6 +16365,39 @@ class DateTimePickerComponent extends MultiTabStop {
16362
16365
  this.cdr.markForCheck();
16363
16366
  });
16364
16367
  }
16368
+ /**
16369
+ * @hidden
16370
+ */
16371
+ get tabItems() {
16372
+ return [
16373
+ { text: this.localization.get('dateTab'), title: this.localization.get('dateTabLabel') },
16374
+ { text: this.localization.get('timeTab'), title: this.localization.get('timeTabLabel') }
16375
+ ];
16376
+ }
16377
+ /**
16378
+ * @hidden
16379
+ */
16380
+ get activeTabIndex() {
16381
+ return this.activeTab === 'date' ? 0 : 1;
16382
+ }
16383
+ /**
16384
+ * @hidden
16385
+ */
16386
+ onTabChange(index) {
16387
+ this.changeActiveTab(index === 0 ? 'date' : 'time');
16388
+ }
16389
+ /**
16390
+ * @hidden
16391
+ */
16392
+ handleButtonGroupKeydown(event) {
16393
+ if (event.key !== Keys.Tab) {
16394
+ return;
16395
+ }
16396
+ if ((event.shiftKey && event.target === this.dateTabButton) ||
16397
+ (!event.shiftKey && event.target === this.timeTabButton)) {
16398
+ this.handleTab(event);
16399
+ }
16400
+ }
16365
16401
  /**
16366
16402
  * @hidden
16367
16403
  */
@@ -16855,7 +16891,8 @@ class DateTimePickerComponent extends MultiTabStop {
16855
16891
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
16856
16892
  { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
16857
16893
  { provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent) },
16858
- { provide: MultiTabStop, useExisting: forwardRef(() => DateTimePickerComponent) }
16894
+ { provide: MultiTabStop, useExisting: forwardRef(() => DateTimePickerComponent) },
16895
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateTimePickerComponent) }
16859
16896
  ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }], exportAs: ["kendo-datetimepicker"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
16860
16897
  <ng-container
16861
16898
  kendoDateTimePickerLocalizedMessages
@@ -17096,47 +17133,20 @@ class DateTimePickerComponent extends MultiTabStop {
17096
17133
  }"
17097
17134
  [scope]="this"
17098
17135
  >
17099
- <div class="k-datetime-buttongroup"
17100
- [kendoEventsOutsideAngular]="{
17101
- focusin: handleFocus,
17102
- focusout: handleBlur
17103
- }"
17104
- [scope]="this"
17105
- >
17106
- <div class="k-button-group k-button-group-stretched" role="group">
17107
- <button kendoButton
17108
- type="button"
17109
- class="k-group-start"
17110
- [size]="isAdaptive ? 'large' : size"
17111
- [class.k-selected]="activeTab === 'date'"
17112
- [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
17113
- [attr.title]="localization.get('dateTabLabel')"
17114
- [attr.aria-label]="localization.get('dateTabLabel')"
17115
- [kendoEventsOutsideAngular]="{
17116
- click: changeActiveTab.bind(this, 'date'),
17117
- 'keydown.shift.tab': handleTab
17118
- }"
17119
- [scope]="this"
17120
- >
17121
- {{localization.get('dateTab')}}
17122
- </button>
17123
- <button kendoButton
17124
- type="button"
17125
- class="k-group-end"
17126
- [size]="isAdaptive ? 'large' : size"
17127
- [class.k-selected]="activeTab === 'time'"
17128
- [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
17129
- [attr.title]="localization.get('timeTabLabel')"
17130
- [attr.aria-label]="localization.get('timeTabLabel')"
17131
- [kendoEventsOutsideAngular]="{
17132
- click: changeActiveTab.bind(this, 'time'),
17133
- 'keydown.tab': handleTab
17134
- }"
17135
- [scope]="this"
17136
- >
17137
- {{localization.get('timeTab')}}
17138
- </button>
17139
- </div>
17136
+ <div class="k-datetime-buttongroup">
17137
+ <kendo-segmented-control
17138
+ [items]="tabItems"
17139
+ [selected]="activeTabIndex"
17140
+ [size]="isAdaptive ? 'large' : size"
17141
+ layoutMode="stretch"
17142
+ (selectedChange)="onTabChange($event)"
17143
+ [kendoEventsOutsideAngular]="{
17144
+ focusin: handleFocus,
17145
+ focusout: handleBlur,
17146
+ keydown: handleButtonGroupKeydown
17147
+ }"
17148
+ [scope]="this">
17149
+ </kendo-segmented-control>
17140
17150
  </div>
17141
17151
  <div
17142
17152
  #dateTimeSelector
@@ -17262,7 +17272,7 @@ class DateTimePickerComponent extends MultiTabStop {
17262
17272
  }
17263
17273
  </div>
17264
17274
  </ng-template>
17265
- `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
17275
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutFirstPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }, { kind: "component", type: SegmentedControlComponent, selector: "kendo-segmented-control", inputs: ["items", "layoutMode", "size", "selected"], outputs: ["selectedChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
17266
17276
  }
17267
17277
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DateTimePickerComponent, decorators: [{
17268
17278
  type: Component,
@@ -17278,7 +17288,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
17278
17288
  { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
17279
17289
  { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
17280
17290
  { provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent) },
17281
- { provide: MultiTabStop, useExisting: forwardRef(() => DateTimePickerComponent) }
17291
+ { provide: MultiTabStop, useExisting: forwardRef(() => DateTimePickerComponent) },
17292
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateTimePickerComponent) }
17282
17293
  ],
17283
17294
  template: `
17284
17295
  <ng-container
@@ -17520,47 +17531,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
17520
17531
  }"
17521
17532
  [scope]="this"
17522
17533
  >
17523
- <div class="k-datetime-buttongroup"
17524
- [kendoEventsOutsideAngular]="{
17525
- focusin: handleFocus,
17526
- focusout: handleBlur
17527
- }"
17528
- [scope]="this"
17529
- >
17530
- <div class="k-button-group k-button-group-stretched" role="group">
17531
- <button kendoButton
17532
- type="button"
17533
- class="k-group-start"
17534
- [size]="isAdaptive ? 'large' : size"
17535
- [class.k-selected]="activeTab === 'date'"
17536
- [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
17537
- [attr.title]="localization.get('dateTabLabel')"
17538
- [attr.aria-label]="localization.get('dateTabLabel')"
17539
- [kendoEventsOutsideAngular]="{
17540
- click: changeActiveTab.bind(this, 'date'),
17541
- 'keydown.shift.tab': handleTab
17542
- }"
17543
- [scope]="this"
17544
- >
17545
- {{localization.get('dateTab')}}
17546
- </button>
17547
- <button kendoButton
17548
- type="button"
17549
- class="k-group-end"
17550
- [size]="isAdaptive ? 'large' : size"
17551
- [class.k-selected]="activeTab === 'time'"
17552
- [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
17553
- [attr.title]="localization.get('timeTabLabel')"
17554
- [attr.aria-label]="localization.get('timeTabLabel')"
17555
- [kendoEventsOutsideAngular]="{
17556
- click: changeActiveTab.bind(this, 'time'),
17557
- 'keydown.tab': handleTab
17558
- }"
17559
- [scope]="this"
17560
- >
17561
- {{localization.get('timeTab')}}
17562
- </button>
17563
- </div>
17534
+ <div class="k-datetime-buttongroup">
17535
+ <kendo-segmented-control
17536
+ [items]="tabItems"
17537
+ [selected]="activeTabIndex"
17538
+ [size]="isAdaptive ? 'large' : size"
17539
+ layoutMode="stretch"
17540
+ (selectedChange)="onTabChange($event)"
17541
+ [kendoEventsOutsideAngular]="{
17542
+ focusin: handleFocus,
17543
+ focusout: handleBlur,
17544
+ keydown: handleButtonGroupKeydown
17545
+ }"
17546
+ [scope]="this">
17547
+ </kendo-segmented-control>
17564
17548
  </div>
17565
17549
  <div
17566
17550
  #dateTimeSelector
@@ -17688,7 +17672,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
17688
17672
  </ng-template>
17689
17673
  `,
17690
17674
  standalone: true,
17691
- imports: [LocalizedMessagesDirective, DateInputComponent, EventsOutsideAngularDirective, DateInputCustomMessagesComponent, IconWrapperComponent, NgTemplateOutlet, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, NgClass, CalendarComponent, CalendarCustomMessagesComponent, TimeSelectorComponent, TimeSelectorCustomMessagesComponent]
17675
+ imports: [LocalizedMessagesDirective, DateInputComponent, EventsOutsideAngularDirective, DateInputCustomMessagesComponent, IconWrapperComponent, NgTemplateOutlet, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, NgClass, CalendarComponent, CalendarCustomMessagesComponent, TimeSelectorComponent, TimeSelectorCustomMessagesComponent, SegmentedControlComponent]
17692
17676
  }]
17693
17677
  }], ctorParameters: () => [{ type: i1$2.PopupService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: PickerService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i1$1.LocalizationService }, { type: DisabledDatesService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i6.AdaptiveService }], propDecorators: { hostClasses: [{
17694
17678
  type: HostBinding,
@@ -19172,7 +19156,7 @@ class DateRangePopupComponent {
19172
19156
  </div>
19173
19157
  </ng-template>
19174
19158
  </kendo-actionsheet>
19175
- `, 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: "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", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
19159
+ `, 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: "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", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
19176
19160
  }
19177
19161
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DateRangePopupComponent, decorators: [{
19178
19162
  type: Component,
@@ -19501,7 +19485,10 @@ class DateRangeComponent {
19501
19485
  this.subscription?.unsubscribe();
19502
19486
  }
19503
19487
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
19504
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", 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: `
19488
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: DateRangeComponent, isStandalone: true, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [
19489
+ DateRangeService,
19490
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateRangeComponent) }
19491
+ ], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
19505
19492
  <ng-content></ng-content>
19506
19493
  @if (showDefault) {
19507
19494
  <kendo-daterange-popup [size]="size"></kendo-daterange-popup>
@@ -19511,7 +19498,10 @@ class DateRangeComponent {
19511
19498
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DateRangeComponent, decorators: [{
19512
19499
  type: Component,
19513
19500
  args: [{
19514
- providers: [DateRangeService],
19501
+ providers: [
19502
+ DateRangeService,
19503
+ { provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DateRangeComponent) }
19504
+ ],
19515
19505
  selector: 'kendo-daterange',
19516
19506
  template: `
19517
19507
  <ng-content></ng-content>
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1776957347,
11
- "version": "24.0.0-develop.4",
10
+ "publishDate": 1779255782,
11
+ "version": "24.0.0-develop.41",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };