@progress/kendo-angular-dateinputs 14.4.0-develop.2 → 14.4.0-develop.21
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.
- package/LICENSE.md +1 -1
- package/NOTICE.txt +147 -594
- package/README.md +1 -1
- package/calendar/calendar-common.module.d.ts +1 -1
- package/calendar/calendar.component.d.ts +2 -1
- package/calendar/calendar.module.d.ts +1 -1
- package/calendar/calendars.module.d.ts +1 -1
- package/calendar/for.directive.d.ts +1 -1
- package/calendar/header.component.d.ts +1 -1
- package/calendar/horizontal-view-list.component.d.ts +6 -2
- package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/localization/calendar-messages.d.ts +1 -1
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
- package/calendar/models/cell-context.interface.d.ts +5 -1
- package/calendar/models/keydown.interface.d.ts +1 -1
- package/calendar/models/navigation-action.enum.d.ts +1 -1
- package/calendar/models/orientation.d.ts +1 -1
- package/calendar/models/row-length-options.interface.d.ts +1 -1
- package/calendar/models/scrollable.interface.d.ts +1 -1
- package/calendar/models/selection-range-end.type.d.ts +1 -1
- package/calendar/models/selection-range.interface.d.ts +1 -1
- package/calendar/models/selection.d.ts +1 -1
- package/calendar/models/type.d.ts +1 -1
- package/calendar/models/view-service.interface.d.ts +1 -1
- package/calendar/models/view.enum.d.ts +1 -1
- package/calendar/models/view.type.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +14 -2
- package/calendar/multiview-calendar.module.d.ts +1 -1
- package/calendar/navigation.component.d.ts +1 -1
- package/calendar/services/bus-view.service.d.ts +1 -1
- package/calendar/services/century-view.service.d.ts +1 -1
- package/calendar/services/decade-view.service.d.ts +1 -1
- package/calendar/services/disabled-dates.service.d.ts +1 -1
- package/calendar/services/dom.service.d.ts +1 -1
- package/calendar/services/month-view.service.d.ts +1 -1
- package/calendar/services/navigation.service.d.ts +1 -1
- package/calendar/services/scroll-sync.service.d.ts +1 -1
- package/calendar/services/selection.service.d.ts +1 -1
- package/calendar/services/weeknames.service.d.ts +1 -1
- package/calendar/services/year-view.service.d.ts +1 -1
- package/calendar/templates/cell-template.directive.d.ts +1 -1
- package/calendar/templates/century-cell-template.directive.d.ts +1 -1
- package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
- package/calendar/templates/header-title-template.directive.d.ts +1 -1
- package/calendar/templates/month-cell-template.directive.d.ts +1 -1
- package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
- package/calendar/templates/year-cell-template.directive.d.ts +1 -1
- package/calendar/templates.module.d.ts +1 -1
- package/calendar/view-list.component.d.ts +1 -1
- package/calendar/view.component.d.ts +6 -2
- package/common/adaptive.module.d.ts +1 -1
- package/common/dom-queries.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/picker.service.d.ts +1 -1
- package/common/utils.d.ts +1 -1
- package/dateinput/arrow.enum.d.ts +1 -1
- package/dateinput/dateinput.component.d.ts +2 -1
- package/dateinput/dateinput.module.d.ts +1 -1
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
- package/dateinput/localization/messages.d.ts +1 -1
- package/dateinput/models/format-placeholder.model.d.ts +1 -1
- package/dateinput/models/format-settings.model.d.ts +1 -1
- package/dateinput/models/incremental-steps.model.d.ts +1 -1
- package/dateinputs.module.d.ts +1 -1
- package/datepicker/datepicker.component.d.ts +2 -1
- package/datepicker/datepicker.module.d.ts +1 -1
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
- package/datepicker/localization/messages.d.ts +1 -1
- package/daterange/auto-correct-on.type.d.ts +1 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-input.d.ts +1 -1
- package/daterange/date-range-popup-template.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +1 -1
- package/daterange/date-range-selection.directive.d.ts +1 -1
- package/daterange/date-range-start-input.directive.d.ts +1 -1
- package/daterange/date-range.component.d.ts +1 -1
- package/daterange/date-range.module.d.ts +1 -1
- package/daterange/date-range.service.d.ts +1 -1
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +1 -1
- package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +1 -1
- package/daterange/localization/messages.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +2 -1
- package/datetimepicker/datetimepicker.module.d.ts +1 -1
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
- package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
- package/datetimepicker/localization/messages.d.ts +1 -1
- package/datetimepicker/models/active-tab.type.d.ts +1 -1
- package/defaults.d.ts +1 -1
- package/esm2020/calendar/calendar-common.module.mjs +1 -1
- package/esm2020/calendar/calendar.component.mjs +3 -2
- package/esm2020/calendar/calendar.module.mjs +1 -1
- package/esm2020/calendar/calendars.module.mjs +1 -1
- package/esm2020/calendar/for.directive.mjs +1 -1
- package/esm2020/calendar/header.component.mjs +1 -1
- package/esm2020/calendar/horizontal-view-list.component.mjs +12 -4
- package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +1 -1
- package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +1 -1
- package/esm2020/calendar/localization/calendar-messages.mjs +1 -1
- package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +1 -1
- package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +1 -1
- package/esm2020/calendar/localization/multiview-calendar-messages.mjs +1 -1
- package/esm2020/calendar/models/cell-context.interface.mjs +1 -1
- package/esm2020/calendar/models/keydown.interface.mjs +1 -1
- package/esm2020/calendar/models/navigation-action.enum.mjs +1 -1
- package/esm2020/calendar/models/orientation.mjs +1 -1
- package/esm2020/calendar/models/row-length-options.interface.mjs +1 -1
- package/esm2020/calendar/models/scrollable.interface.mjs +1 -1
- package/esm2020/calendar/models/selection-range-end.type.mjs +1 -1
- package/esm2020/calendar/models/selection-range.interface.mjs +1 -1
- package/esm2020/calendar/models/selection.mjs +1 -1
- package/esm2020/calendar/models/type.mjs +1 -1
- package/esm2020/calendar/models/view-service.interface.mjs +1 -1
- package/esm2020/calendar/models/view.enum.mjs +1 -1
- package/esm2020/calendar/models/view.type.mjs +1 -1
- package/esm2020/calendar/multiview-calendar.component.mjs +25 -4
- package/esm2020/calendar/multiview-calendar.module.mjs +1 -1
- package/esm2020/calendar/navigation.component.mjs +1 -1
- package/esm2020/calendar/services/bus-view.service.mjs +1 -1
- package/esm2020/calendar/services/century-view.service.mjs +1 -1
- package/esm2020/calendar/services/decade-view.service.mjs +1 -1
- package/esm2020/calendar/services/disabled-dates.service.mjs +1 -1
- package/esm2020/calendar/services/dom.service.mjs +1 -1
- package/esm2020/calendar/services/month-view.service.mjs +1 -1
- package/esm2020/calendar/services/navigation.service.mjs +1 -1
- package/esm2020/calendar/services/scroll-sync.service.mjs +1 -1
- package/esm2020/calendar/services/selection.service.mjs +1 -1
- package/esm2020/calendar/services/weeknames.service.mjs +1 -1
- package/esm2020/calendar/services/year-view.service.mjs +1 -1
- package/esm2020/calendar/templates/cell-template.directive.mjs +1 -1
- package/esm2020/calendar/templates/century-cell-template.directive.mjs +1 -1
- package/esm2020/calendar/templates/decade-cell-template.directive.mjs +1 -1
- package/esm2020/calendar/templates/header-title-template.directive.mjs +1 -1
- package/esm2020/calendar/templates/month-cell-template.directive.mjs +1 -1
- package/esm2020/calendar/templates/navigation-item-template.directive.mjs +1 -1
- package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +1 -1
- package/esm2020/calendar/templates/year-cell-template.directive.mjs +1 -1
- package/esm2020/calendar/templates.module.mjs +1 -1
- package/esm2020/calendar/view-list.component.mjs +2 -2
- package/esm2020/calendar/view.component.mjs +11 -4
- package/esm2020/common/adaptive.module.mjs +1 -1
- package/esm2020/common/dom-queries.mjs +1 -1
- package/esm2020/common/models/fillmode.mjs +1 -1
- package/esm2020/common/models/rounded.mjs +1 -1
- package/esm2020/common/models/size.mjs +1 -1
- package/esm2020/common/picker.service.mjs +1 -1
- package/esm2020/common/utils.mjs +1 -1
- package/esm2020/dateinput/arrow.enum.mjs +1 -1
- package/esm2020/dateinput/dateinput.component.mjs +3 -2
- package/esm2020/dateinput/dateinput.module.mjs +1 -1
- package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +1 -1
- package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +1 -1
- package/esm2020/dateinput/localization/messages.mjs +1 -1
- package/esm2020/dateinput/models/format-placeholder.model.mjs +1 -1
- package/esm2020/dateinput/models/format-settings.model.mjs +1 -1
- package/esm2020/dateinput/models/incremental-steps.model.mjs +1 -1
- package/esm2020/dateinputs.module.mjs +1 -1
- package/esm2020/datepicker/datepicker.component.mjs +8 -6
- package/esm2020/datepicker/datepicker.module.mjs +1 -1
- package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +1 -1
- package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +1 -1
- package/esm2020/datepicker/localization/messages.mjs +1 -1
- package/esm2020/daterange/auto-correct-on.type.mjs +1 -1
- package/esm2020/daterange/date-range-end-input.directive.mjs +1 -1
- package/esm2020/daterange/date-range-input.mjs +1 -1
- package/esm2020/daterange/date-range-popup-template.directive.mjs +1 -1
- package/esm2020/daterange/date-range-popup.component.mjs +4 -3
- package/esm2020/daterange/date-range-selection.directive.mjs +1 -1
- package/esm2020/daterange/date-range-start-input.directive.mjs +1 -1
- package/esm2020/daterange/date-range.component.mjs +1 -1
- package/esm2020/daterange/date-range.module.mjs +1 -1
- package/esm2020/daterange/date-range.service.mjs +1 -1
- package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +1 -1
- package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +1 -1
- package/esm2020/daterange/localization/messages.mjs +1 -1
- package/esm2020/datetimepicker/datetimepicker.component.mjs +3 -2
- package/esm2020/datetimepicker/datetimepicker.module.mjs +1 -1
- package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +1 -1
- package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +1 -1
- package/esm2020/datetimepicker/localization/messages.mjs +1 -1
- package/esm2020/datetimepicker/models/active-tab.type.mjs +1 -1
- package/esm2020/defaults.mjs +1 -1
- package/esm2020/index.mjs +1 -1
- package/esm2020/package-metadata.mjs +3 -3
- package/esm2020/popup-settings.model.mjs +1 -1
- package/esm2020/preventable-event.mjs +1 -1
- package/esm2020/progress-kendo-angular-dateinputs.mjs +1 -1
- package/esm2020/timepicker/localization/messages.mjs +1 -1
- package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +1 -1
- package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +1 -1
- package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +1 -1
- package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +1 -1
- package/esm2020/timepicker/models/incremental-steps.model.mjs +1 -1
- package/esm2020/timepicker/models/list-item.interface.mjs +1 -1
- package/esm2020/timepicker/models/list-service-settings.mjs +1 -1
- package/esm2020/timepicker/models/list-service.interface.mjs +1 -1
- package/esm2020/timepicker/models/time-part.default.mjs +1 -1
- package/esm2020/timepicker/services/dayperiod.service.mjs +1 -1
- package/esm2020/timepicker/services/dom.service.mjs +1 -1
- package/esm2020/timepicker/services/hours.service.mjs +1 -1
- package/esm2020/timepicker/services/milliseconds.service.mjs +1 -1
- package/esm2020/timepicker/services/minutes.service.mjs +1 -1
- package/esm2020/timepicker/services/seconds.service.mjs +1 -1
- package/esm2020/timepicker/timelist.component.mjs +1 -1
- package/esm2020/timepicker/timepicker.component.mjs +11 -7
- package/esm2020/timepicker/timepicker.module.mjs +1 -1
- package/esm2020/timepicker/timeselector.component.mjs +1 -1
- package/esm2020/timepicker/util.mjs +1 -1
- package/esm2020/touch-enabled.mjs +1 -1
- package/esm2020/util.mjs +1 -1
- package/esm2020/validators/disabled-date.validator.mjs +1 -1
- package/esm2020/validators/disabled-dates-range.validator.mjs +1 -1
- package/esm2020/validators/incomplete-date.validator.mjs +1 -1
- package/esm2020/validators/max.validator.mjs +1 -1
- package/esm2020/validators/min.validator.mjs +1 -1
- package/esm2020/validators/time-range.validator.mjs +1 -1
- package/esm2020/virtualization/models/scrollable.interface.mjs +1 -1
- package/esm2020/virtualization/services/row-height.service.mjs +1 -1
- package/esm2020/virtualization/services/scroller.service.mjs +1 -1
- package/esm2020/virtualization/virtualization.component.mjs +1 -1
- package/esm2020/virtualization/virtualization.module.mjs +1 -1
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +74 -29
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +74 -29
- package/index.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +12 -12
- package/popup-settings.model.d.ts +1 -1
- package/preventable-event.d.ts +1 -1
- package/progress-kendo-angular-dateinputs.d.ts +1 -1
- package/timepicker/localization/messages.d.ts +1 -1
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +1 -1
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +1 -1
- package/timepicker/models/incremental-steps.model.d.ts +1 -1
- package/timepicker/models/list-item.interface.d.ts +1 -1
- package/timepicker/models/list-service-settings.d.ts +1 -1
- package/timepicker/models/list-service.interface.d.ts +1 -1
- package/timepicker/models/time-part.default.d.ts +1 -1
- package/timepicker/services/dayperiod.service.d.ts +1 -1
- package/timepicker/services/dom.service.d.ts +1 -1
- package/timepicker/services/hours.service.d.ts +1 -1
- package/timepicker/services/milliseconds.service.d.ts +1 -1
- package/timepicker/services/minutes.service.d.ts +1 -1
- package/timepicker/services/seconds.service.d.ts +1 -1
- package/timepicker/timelist.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +2 -1
- package/timepicker/timepicker.module.d.ts +1 -1
- package/timepicker/timeselector.component.d.ts +1 -1
- package/timepicker/util.d.ts +1 -1
- package/touch-enabled.d.ts +1 -1
- package/util.d.ts +1 -1
- package/validators/disabled-date.validator.d.ts +1 -1
- package/validators/disabled-dates-range.validator.d.ts +1 -1
- package/validators/incomplete-date.validator.d.ts +1 -1
- package/validators/max.validator.d.ts +1 -1
- package/validators/min.validator.d.ts +1 -1
- package/validators/time-range.validator.d.ts +1 -1
- package/virtualization/models/scrollable.interface.d.ts +1 -1
- package/virtualization/services/row-height.service.d.ts +1 -1
- package/virtualization/services/scroller.service.d.ts +1 -1
- package/virtualization/virtualization.component.d.ts +1 -1
- package/virtualization/virtualization.module.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, TemplateRef, EventEmitter, HostBinding, Renderer2, Input, Output, ContentChild, ViewChild, ViewContainerRef, NgZone, Inject, Optional, forwardRef, isDevMode, Injector, } from '@angular/core';
|
|
@@ -110,6 +110,7 @@ export class DatePickerComponent {
|
|
|
110
110
|
/**
|
|
111
111
|
* Sets or gets the `disabled` property of the DatePicker and determines whether the component is active
|
|
112
112
|
* ([see example]({% slug disabled_datepicker %})).
|
|
113
|
+
* To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_datepicker#toc-managing-the-datepicker-disabled-state-in-reactive-forms).
|
|
113
114
|
*/
|
|
114
115
|
this.disabled = false;
|
|
115
116
|
/**
|
|
@@ -780,9 +781,11 @@ export class DatePickerComponent {
|
|
|
780
781
|
*/
|
|
781
782
|
handleChange(value) {
|
|
782
783
|
this.cdr.markForCheck();
|
|
783
|
-
this.focusInput();
|
|
784
784
|
this.value = value;
|
|
785
|
-
this.show
|
|
785
|
+
if (this.show) {
|
|
786
|
+
this.focusInput();
|
|
787
|
+
this.show = false;
|
|
788
|
+
}
|
|
786
789
|
this.onControlChange(cloneDate(value));
|
|
787
790
|
this.valueChange.emit(cloneDate(value));
|
|
788
791
|
}
|
|
@@ -797,9 +800,8 @@ export class DatePickerComponent {
|
|
|
797
800
|
*/
|
|
798
801
|
get popupClasses() {
|
|
799
802
|
return [
|
|
800
|
-
'k-
|
|
801
|
-
'k-
|
|
802
|
-
'k-reset'
|
|
803
|
+
'k-datepicker-popup',
|
|
804
|
+
'k-calendar-container'
|
|
803
805
|
].concat(this.popupSettings.popupClass || []);
|
|
804
806
|
}
|
|
805
807
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, ElementRef, Input, Renderer2, NgZone } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ElementRef, Renderer2, NgZone, Directive } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, TemplateRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ContentChild, ContentChildren, ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef, NgZone, Input, Output, ViewChild, ViewChildren, ViewContainerRef, Inject, QueryList, Optional, Renderer2 } from '@angular/core';
|
|
@@ -414,11 +414,12 @@ export class DateRangePopupComponent {
|
|
|
414
414
|
collision: this.collision,
|
|
415
415
|
content: (this.contentTemplate || {}).templateRef || this.defaultTemplate,
|
|
416
416
|
margin: this.margin,
|
|
417
|
+
popupClass: 'k-calendar-container k-daterangepicker-popup',
|
|
417
418
|
popupAlign: this.popupAlign || { vertical: 'top', horizontal: direction },
|
|
418
419
|
positionMode: 'absolute'
|
|
419
420
|
});
|
|
420
421
|
const { popupElement, popupAnchorViewportLeave } = this.popupRef;
|
|
421
|
-
|
|
422
|
+
this.renderer.setAttribute(popupElement.querySelector('.k-popup'), 'id', this.popupUID);
|
|
422
423
|
this.addPopupSubscriptions(this.zone.runOutsideAngular(() => fromEvent(popupElement, 'keydown').subscribe(this.handleKeydown.bind(this))), fromEvent(popupElement, 'mouseleave').subscribe(this.handleMouseLeave.bind(this)), popupAnchorViewportLeave.subscribe(() => this.cancelPopup()));
|
|
423
424
|
}
|
|
424
425
|
}
|
|
@@ -568,7 +569,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
568
569
|
</div>
|
|
569
570
|
</ng-template>
|
|
570
571
|
</kendo-actionsheet>
|
|
571
|
-
`, isInline: true, components: [{ type: i4.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { type: i5.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i8.DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { type: i9.DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd", "shouldSetRange"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }, { type: i5.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
572
|
+
`, isInline: true, components: [{ type: i4.MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDates", "showCalendarHeader", "id", "focusedDate", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { type: i5.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i7.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i8.DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { type: i9.DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd", "shouldSetRange"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }, { type: i5.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
572
573
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
573
574
|
type: Component,
|
|
574
575
|
args: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, Optional, Input, Output, Renderer2 } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, ElementRef, Input, Renderer2, NgZone } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ContentChildren, QueryList, HostBinding, HostListener } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable, Renderer2, Optional } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, HostBinding, ViewChild, ElementRef, Input, isDevMode, TemplateRef, ChangeDetectorRef, Output, EventEmitter, NgZone, ViewContainerRef, forwardRef, ContentChild, Inject, ChangeDetectionStrategy, Renderer2, } from '@angular/core';
|
|
@@ -104,6 +104,7 @@ export class DateTimePickerComponent {
|
|
|
104
104
|
/**
|
|
105
105
|
* Sets or gets the `disabled` property of the DateTimePicker and determines whether the component is active
|
|
106
106
|
* ([see example]({% slug disabled_datetimepicker %})).
|
|
107
|
+
* To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_datetimepicker#toc-managing-the-datetimepicker-disabled-state-in-reactive-forms).
|
|
107
108
|
*/
|
|
108
109
|
this.disabled = false;
|
|
109
110
|
/**
|
|
@@ -1163,7 +1164,7 @@ export class DateTimePickerComponent {
|
|
|
1163
1164
|
positionMode: 'absolute',
|
|
1164
1165
|
animate: this.popupSettings.animate,
|
|
1165
1166
|
appendTo: this.appendTo,
|
|
1166
|
-
popupClass: `k-datetime-container ${this.popupSettings.popupClass || ''}`,
|
|
1167
|
+
popupClass: `k-datetime-container k-datetimepicker-popup ${this.popupSettings.popupClass || ''}`,
|
|
1167
1168
|
anchorAlign: { vertical: 'bottom', horizontal: direction },
|
|
1168
1169
|
popupAlign: { vertical: 'top', horizontal: direction }
|
|
1169
1170
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
package/esm2020/defaults.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/esm2020/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { CalendarComponent } from './calendar/calendar.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '14.4.0-develop.
|
|
12
|
+
publishDate: 1706522874,
|
|
13
|
+
version: '14.4.0-develop.21',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, TemplateRef, ViewChild, ViewContainerRef, Inject, Optional, Renderer2, forwardRef, isDevMode, Injector } from '@angular/core';
|
|
@@ -66,6 +66,7 @@ export class TimePickerComponent {
|
|
|
66
66
|
* Sets or gets the `disabled` property of the TimePicker and
|
|
67
67
|
* determines whether the component is active
|
|
68
68
|
* ([see example]({% slug disabled_timepicker %})).
|
|
69
|
+
* To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_timepicker#toc-managing-the-timepicker-disabled-state-in-reactive-forms).
|
|
69
70
|
*/
|
|
70
71
|
this.disabled = false;
|
|
71
72
|
/**
|
|
@@ -671,14 +672,18 @@ export class TimePickerComponent {
|
|
|
671
672
|
*/
|
|
672
673
|
handleChange(value) {
|
|
673
674
|
if (isEqual(this.value, value)) {
|
|
674
|
-
this.
|
|
675
|
-
|
|
675
|
+
if (this.show) {
|
|
676
|
+
this.focusInput();
|
|
677
|
+
this.show = false;
|
|
678
|
+
}
|
|
676
679
|
return;
|
|
677
680
|
}
|
|
678
681
|
this.value = cloneDate(value);
|
|
679
682
|
this.zone.run(() => {
|
|
680
|
-
this.
|
|
681
|
-
|
|
683
|
+
if (this.show) {
|
|
684
|
+
this.focusInput();
|
|
685
|
+
this.show = false;
|
|
686
|
+
}
|
|
682
687
|
this.onControlChange(cloneDate(value));
|
|
683
688
|
this.valueChange.emit(cloneDate(value));
|
|
684
689
|
});
|
|
@@ -744,8 +749,7 @@ export class TimePickerComponent {
|
|
|
744
749
|
*/
|
|
745
750
|
get popupClasses() {
|
|
746
751
|
return [
|
|
747
|
-
'k-
|
|
748
|
-
'k-reset'
|
|
752
|
+
'k-timepicker-popup'
|
|
749
753
|
].concat(this.popupSettings.popupClass || []);
|
|
750
754
|
}
|
|
751
755
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, ViewChild, ViewChildren, QueryList, Optional, Renderer2 } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { InjectionToken } from '@angular/core';
|
package/esm2020/util.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { MS_PER_HOUR, MS_PER_MINUTE, addDays, cloneDate, getDate, isEqual } from '@progress/kendo-date-math';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { disabledDatesInRange } from '../util';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { isPresent } from '../common/utils';
|