@progress/kendo-angular-dateinputs 7.1.6 → 11.0.0-develop.100
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 +4 -4
- package/README.md +3 -3
- package/calendar/calendar-common.module.d.ts +3 -2
- package/calendar/calendar.component.d.ts +2 -2
- 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 +10 -1
- package/calendar/horizontal-view-list.component.d.ts +1 -1
- 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 +1 -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 +1 -1
- 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 +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 +11 -2
- package/dateinput/dateinput.module.d.ts +3 -2
- 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 +12 -3
- package/datepicker/datepicker.module.d.ts +3 -2
- 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/datetimepicker/datetimepicker.component.d.ts +15 -2
- package/datetimepicker/datetimepicker.module.d.ts +3 -2
- 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/{esm2015/calendar/calendar-common.module.js → esm2020/calendar/calendar-common.module.mjs} +8 -7
- package/{esm2015/calendar/calendar.component.js → esm2020/calendar/calendar.component.mjs} +14 -14
- package/{esm2015/calendar/calendar.module.js → esm2020/calendar/calendar.module.mjs} +5 -5
- package/{esm2015/calendar/calendars.module.js → esm2020/calendar/calendars.module.mjs} +5 -5
- package/{esm2015/calendar/for.directive.js → esm2020/calendar/for.directive.mjs} +6 -6
- package/{esm2015/calendar/header.component.js → esm2020/calendar/header.component.mjs} +50 -24
- package/{esm2015/calendar/horizontal-view-list.component.js → esm2020/calendar/horizontal-view-list.component.mjs} +8 -5
- package/{esm2015/calendar/localization/calendar-custom-messages.component.js → esm2020/calendar/localization/calendar-custom-messages.component.mjs} +5 -4
- package/{esm2015/calendar/localization/calendar-localized-messages.directive.js → esm2020/calendar/localization/calendar-localized-messages.directive.mjs} +5 -4
- package/{esm2015/calendar/localization/calendar-messages.js → esm2020/calendar/localization/calendar-messages.mjs} +4 -4
- package/{esm2015/calendar/localization/multiview-calendar-custom-messages.component.js → esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs} +5 -4
- package/{esm2015/calendar/localization/multiview-calendar-localized-messages.directive.js → esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs} +5 -4
- package/{esm2015/calendar/localization/multiview-calendar-messages.js → esm2020/calendar/localization/multiview-calendar-messages.mjs} +4 -4
- package/{esm2015/calendar/models/cell-context.interface.js → esm2020/calendar/models/cell-context.interface.mjs} +1 -1
- package/{esm2015/calendar/models/keydown.interface.js → esm2020/calendar/models/keydown.interface.mjs} +1 -1
- package/{esm2015/calendar/models/navigation-action.enum.js → esm2020/calendar/models/navigation-action.enum.mjs} +1 -1
- package/{esm2015/calendar/models/orientation.js → esm2020/calendar/models/orientation.mjs} +1 -1
- package/{esm2015/calendar/models/row-length-options.interface.js → esm2020/calendar/models/row-length-options.interface.mjs} +1 -1
- package/esm2020/calendar/models/scrollable.interface.mjs +5 -0
- package/esm2020/calendar/models/selection-range-end.type.mjs +5 -0
- package/{esm2015/calendar/models/selection-range.interface.js → esm2020/calendar/models/selection-range.interface.mjs} +1 -1
- package/esm2020/calendar/models/selection.mjs +5 -0
- package/esm2020/calendar/models/type.mjs +5 -0
- package/esm2020/calendar/models/view-service.interface.mjs +5 -0
- package/{esm2015/calendar/models/view.enum.js → esm2020/calendar/models/view.enum.mjs} +1 -1
- package/esm2020/calendar/models/view.type.mjs +5 -0
- package/{esm2015/calendar/multiview-calendar.component.js → esm2020/calendar/multiview-calendar.component.mjs} +5 -5
- package/{esm2015/calendar/multiview-calendar.module.js → esm2020/calendar/multiview-calendar.module.mjs} +5 -5
- package/{esm2015/calendar/navigation.component.js → esm2020/calendar/navigation.component.mjs} +8 -5
- package/{esm2015/calendar/services/bus-view.service.js → esm2020/calendar/services/bus-view.service.mjs} +5 -5
- package/{esm2015/calendar/services/century-view.service.js → esm2020/calendar/services/century-view.service.mjs} +4 -4
- package/{esm2015/calendar/services/decade-view.service.js → esm2020/calendar/services/decade-view.service.mjs} +4 -4
- package/{esm2015/calendar/services/disabled-dates.service.js → esm2020/calendar/services/disabled-dates.service.mjs} +4 -4
- package/{esm2015/calendar/services/dom.service.js → esm2020/calendar/services/dom.service.mjs} +6 -9
- package/{esm2015/calendar/services/month-view.service.js → esm2020/calendar/services/month-view.service.mjs} +5 -4
- package/{esm2015/calendar/services/navigation.service.js → esm2020/calendar/services/navigation.service.mjs} +5 -4
- package/{esm2015/calendar/services/scroll-sync.service.js → esm2020/calendar/services/scroll-sync.service.mjs} +6 -5
- package/{esm2015/calendar/services/selection.service.js → esm2020/calendar/services/selection.service.mjs} +6 -4
- package/{esm2015/calendar/services/weeknames.service.js → esm2020/calendar/services/weeknames.service.mjs} +5 -4
- package/{esm2015/calendar/services/year-view.service.js → esm2020/calendar/services/year-view.service.mjs} +5 -4
- package/{esm2015/calendar/templates/cell-template.directive.js → esm2020/calendar/templates/cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/century-cell-template.directive.js → esm2020/calendar/templates/century-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/decade-cell-template.directive.js → esm2020/calendar/templates/decade-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/header-title-template.directive.js → esm2020/calendar/templates/header-title-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/month-cell-template.directive.js → esm2020/calendar/templates/month-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/navigation-item-template.directive.js → esm2020/calendar/templates/navigation-item-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/weeknumber-cell-template.directive.js → esm2020/calendar/templates/weeknumber-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/year-cell-template.directive.js → esm2020/calendar/templates/year-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates.module.js → esm2020/calendar/templates.module.mjs} +5 -5
- package/{esm2015/calendar/view-list.component.js → esm2020/calendar/view-list.component.mjs} +10 -7
- package/{esm2015/calendar/view.component.js → esm2020/calendar/view.component.mjs} +8 -5
- package/{esm2015/common/dom-queries.js → esm2020/common/dom-queries.mjs} +1 -1
- package/esm2020/common/models/fillmode.mjs +5 -0
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/{esm2015/common/picker.service.js → esm2020/common/picker.service.mjs} +1 -1
- package/{esm2015/common/utils.js → esm2020/common/utils.mjs} +1 -1
- package/{esm2015/dateinput/arrow.enum.js → esm2020/dateinput/arrow.enum.mjs} +1 -1
- package/{esm2015/dateinput/dateinput.component.js → esm2020/dateinput/dateinput.component.mjs} +70 -33
- package/{esm2015/dateinput/dateinput.module.js → esm2020/dateinput/dateinput.module.mjs} +8 -7
- package/{esm2015/dateinput/localization/dateinput-custom-messages.component.js → esm2020/dateinput/localization/dateinput-custom-messages.component.mjs} +5 -4
- package/{esm2015/dateinput/localization/dateinput-localized-messages.directive.js → esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs} +5 -4
- package/{esm2015/dateinput/localization/messages.js → esm2020/dateinput/localization/messages.mjs} +4 -4
- package/esm2020/dateinput/models/format-placeholder.model.mjs +5 -0
- package/esm2020/dateinput/models/format-settings.model.mjs +5 -0
- package/esm2020/dateinput/models/incremental-steps.model.mjs +5 -0
- package/{esm2015/dateinputs.module.js → esm2020/dateinputs.module.mjs} +5 -5
- package/{esm2015/datepicker/datepicker.component.js → esm2020/datepicker/datepicker.component.mjs} +37 -17
- package/{esm2015/datepicker/datepicker.module.js → esm2020/datepicker/datepicker.module.mjs} +12 -8
- package/{esm2015/datepicker/localization/datepicker-custom-messages.component.js → esm2020/datepicker/localization/datepicker-custom-messages.component.mjs} +5 -4
- package/{esm2015/datepicker/localization/datepicker-localized-messages.directive.js → esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs} +5 -4
- package/{esm2015/datepicker/localization/messages.js → esm2020/datepicker/localization/messages.mjs} +4 -4
- package/esm2020/daterange/auto-correct-on.type.mjs +5 -0
- package/{esm2015/daterange/date-range-end-input.directive.js → esm2020/daterange/date-range-end-input.directive.mjs} +7 -5
- package/{esm2015/daterange/date-range-input.js → esm2020/daterange/date-range-input.mjs} +7 -5
- package/{esm2015/daterange/date-range-popup-template.directive.js → esm2020/daterange/date-range-popup-template.directive.mjs} +5 -5
- package/{esm2015/daterange/date-range-popup.component.js → esm2020/daterange/date-range-popup.component.mjs} +7 -5
- package/{esm2015/daterange/date-range-selection.directive.js → esm2020/daterange/date-range-selection.directive.mjs} +6 -5
- package/{esm2015/daterange/date-range-start-input.directive.js → esm2020/daterange/date-range-start-input.directive.mjs} +7 -5
- package/{esm2015/daterange/date-range.component.js → esm2020/daterange/date-range.component.mjs} +6 -7
- package/{esm2015/daterange/date-range.module.js → esm2020/daterange/date-range.module.mjs} +5 -5
- package/{esm2015/daterange/date-range.service.js → esm2020/daterange/date-range.service.mjs} +5 -5
- package/{esm2015/datetimepicker/datetimepicker.component.js → esm2020/datetimepicker/datetimepicker.component.mjs} +62 -31
- package/{esm2015/datetimepicker/datetimepicker.module.js → esm2020/datetimepicker/datetimepicker.module.mjs} +12 -8
- package/{esm2015/datetimepicker/localization/datetimepicker-custom-messages.component.js → esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs} +5 -4
- package/{esm2015/datetimepicker/localization/localized-messages.directive.js → esm2020/datetimepicker/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/datetimepicker/localization/messages.js → esm2020/datetimepicker/localization/messages.mjs} +4 -4
- package/esm2020/datetimepicker/models/active-tab.type.mjs +5 -0
- package/{esm2015/defaults.js → esm2020/defaults.mjs} +1 -1
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/esm2020/popup-settings.model.mjs +5 -0
- package/{esm2015/preventable-event.js → esm2020/preventable-event.mjs} +1 -1
- package/{esm2015/kendo-angular-dateinputs.js → esm2020/progress-kendo-angular-dateinputs.mjs} +2 -2
- package/{esm2015/timepicker/localization/messages.js → esm2020/timepicker/localization/messages.mjs} +4 -4
- package/{esm2015/timepicker/localization/timepicker-custom-messages.component.js → esm2020/timepicker/localization/timepicker-custom-messages.component.mjs} +5 -4
- package/{esm2015/timepicker/localization/timepicker-localized-messages.directive.js → esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs} +5 -4
- package/{esm2015/timepicker/localization/timeselector-custom-messages.component.js → esm2020/timepicker/localization/timeselector-custom-messages.component.mjs} +5 -4
- package/{esm2015/timepicker/localization/timeselector-localized-messages.directive.js → esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs} +5 -4
- package/esm2020/timepicker/models/incremental-steps.model.mjs +5 -0
- package/esm2020/timepicker/models/list-item.interface.mjs +5 -0
- package/esm2020/timepicker/models/list-service-settings.mjs +5 -0
- package/esm2020/timepicker/models/list-service.interface.mjs +5 -0
- package/{esm2015/timepicker/models/time-part.default.js → esm2020/timepicker/models/time-part.default.mjs} +1 -1
- package/{esm2015/timepicker/services/dayperiod.service.js → esm2020/timepicker/services/dayperiod.service.mjs} +5 -4
- package/{esm2015/timepicker/services/dom.service.js → esm2020/timepicker/services/dom.service.mjs} +4 -4
- package/{esm2015/timepicker/services/hours.service.js → esm2020/timepicker/services/hours.service.mjs} +5 -4
- package/{esm2015/timepicker/services/milliseconds.service.js → esm2020/timepicker/services/milliseconds.service.mjs} +5 -4
- package/{esm2015/timepicker/services/minutes.service.js → esm2020/timepicker/services/minutes.service.mjs} +5 -4
- package/{esm2015/timepicker/services/seconds.service.js → esm2020/timepicker/services/seconds.service.mjs} +5 -4
- package/{esm2015/timepicker/timelist.component.js → esm2020/timepicker/timelist.component.mjs} +9 -9
- package/{esm2015/timepicker/timepicker.component.js → esm2020/timepicker/timepicker.component.mjs} +37 -15
- package/{esm2015/timepicker/timepicker.module.js → esm2020/timepicker/timepicker.module.mjs} +10 -7
- package/{esm2015/timepicker/timeselector.component.js → esm2020/timepicker/timeselector.component.mjs} +8 -5
- package/{esm2015/timepicker/util.js → esm2020/timepicker/util.mjs} +1 -1
- package/{esm2015/touch-enabled.js → esm2020/touch-enabled.mjs} +1 -1
- package/{esm2015/util.js → esm2020/util.mjs} +3 -3
- package/{esm2015/validators/disabled-date.validator.js → esm2020/validators/disabled-date.validator.mjs} +1 -1
- package/{esm2015/validators/disabled-dates-range.validator.js → esm2020/validators/disabled-dates-range.validator.mjs} +1 -1
- package/{esm2015/validators/incomplete-date.validator.js → esm2020/validators/incomplete-date.validator.mjs} +1 -1
- package/{esm2015/validators/max.validator.js → esm2020/validators/max.validator.mjs} +1 -1
- package/{esm2015/validators/min.validator.js → esm2020/validators/min.validator.mjs} +1 -1
- package/{esm2015/validators/time-range.validator.js → esm2020/validators/time-range.validator.mjs} +1 -1
- package/esm2020/virtualization/models/scrollable.interface.mjs +5 -0
- package/{esm2015/virtualization/services/row-height.service.js → esm2020/virtualization/services/row-height.service.mjs} +1 -1
- package/{esm2015/virtualization/services/scroller.service.js → esm2020/virtualization/services/scroller.service.mjs} +1 -1
- package/{esm2015/virtualization/virtualization.component.js → esm2020/virtualization/virtualization.component.mjs} +6 -6
- package/{esm2015/virtualization/virtualization.module.js → esm2020/virtualization/virtualization.module.mjs} +5 -5
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +16599 -0
- package/{fesm2015/kendo-angular-dateinputs.js → fesm2020/progress-kendo-angular-dateinputs.mjs} +836 -715
- package/{main.d.ts → index.d.ts} +2 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +36 -60
- package/popup-settings.model.d.ts +1 -1
- package/preventable-event.d.ts +1 -1
- package/{kendo-angular-dateinputs.d.ts → progress-kendo-angular-dateinputs.d.ts} +2 -2
- package/schematics/ngAdd/index.js +5 -7
- 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 +12 -3
- package/timepicker/timepicker.module.d.ts +3 -2
- 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
- package/bundles/kendo-angular-dateinputs.umd.js +0 -5
- package/esm2015/calendar/models/scrollable.interface.js +0 -5
- package/esm2015/calendar/models/selection-range-end.type.js +0 -5
- package/esm2015/calendar/models/selection.js +0 -5
- package/esm2015/calendar/models/type.js +0 -5
- package/esm2015/calendar/models/view-service.interface.js +0 -5
- package/esm2015/calendar/models/view.type.js +0 -5
- package/esm2015/common/models/fillmode.js +0 -5
- package/esm2015/common/models/rounded.js +0 -5
- package/esm2015/common/models/size.js +0 -5
- package/esm2015/dateinput/models/format-placeholder.model.js +0 -5
- package/esm2015/dateinput/models/format-settings.model.js +0 -5
- package/esm2015/dateinput/models/incremental-steps.model.js +0 -5
- package/esm2015/daterange/auto-correct-on.type.js +0 -5
- package/esm2015/datetimepicker/models/active-tab.type.js +0 -5
- package/esm2015/popup-settings.model.js +0 -5
- package/esm2015/timepicker/models/incremental-steps.model.js +0 -5
- package/esm2015/timepicker/models/list-item.interface.js +0 -5
- package/esm2015/timepicker/models/list-service-settings.js +0 -5
- package/esm2015/timepicker/models/list-service.interface.js +0 -5
- package/esm2015/virtualization/models/scrollable.interface.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
7
|
import { TimePickerMessages } from './messages';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -15,14 +16,14 @@ export class TimeSelectorLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
15
16
|
this.service = service;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
|
-
TimeSelectorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
19
|
+
TimeSelectorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
20
21
|
{
|
|
21
22
|
provide: TimePickerMessages,
|
|
22
23
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
23
24
|
}
|
|
24
25
|
], usesInheritance: true, ngImport: i0 });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, decorators: [{
|
|
26
27
|
type: Directive,
|
|
27
28
|
args: [{
|
|
28
29
|
providers: [
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
6
6
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
9
10
|
const setHours = (date, hours) => {
|
|
@@ -116,8 +117,8 @@ export class DayPeriodService {
|
|
|
116
117
|
];
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
|
-
DayPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
120
|
-
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
120
|
+
DayPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
121
|
+
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService });
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
122
123
|
type: Injectable
|
|
123
124
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
package/{esm2015/timepicker/services/dom.service.js → esm2020/timepicker/services/dom.service.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
@@ -49,8 +49,8 @@ export class TimePickerDOMService {
|
|
|
49
49
|
return (element.nativeElement || element) === document.activeElement;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
TimePickerDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
TimePickerDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
53
|
+
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
55
55
|
type: Injectable
|
|
56
56
|
}] });
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
6
6
|
import { getDate, isEqual } from '@progress/kendo-date-math';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
8
|
import { MIDNIGHT_DATE } from '../../defaults';
|
|
8
9
|
import { range, setHours } from '../../util';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -114,8 +115,8 @@ export class HoursService {
|
|
|
114
115
|
return [min.getHours(), max.getHours()];
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
|
-
HoursService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
118
|
-
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
118
|
+
HoursService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
119
|
+
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService });
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService, decorators: [{
|
|
120
121
|
type: Injectable
|
|
121
122
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
6
6
|
import { isEqual } from '@progress/kendo-date-math';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
8
|
import { MIDNIGHT_DATE } from '../../defaults';
|
|
8
9
|
import { range, setMilliseconds } from '../../util';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -115,8 +116,8 @@ export class MillisecondsService {
|
|
|
115
116
|
return [min.getMilliseconds(), max.getMilliseconds()];
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
|
-
MillisecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
119
|
-
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
119
|
+
MillisecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
120
|
+
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
121
122
|
type: Injectable
|
|
122
123
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
6
6
|
import { isEqual } from '@progress/kendo-date-math';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
8
|
import { MIDNIGHT_DATE } from '../../defaults';
|
|
8
9
|
import { range, setMinutes } from '../../util';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -112,8 +113,8 @@ export class MinutesService {
|
|
|
112
113
|
return [min.getMinutes(), max.getMinutes()];
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
|
-
MinutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
MinutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
117
|
+
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService });
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService, decorators: [{
|
|
118
119
|
type: Injectable
|
|
119
120
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
6
6
|
import { isEqual } from '@progress/kendo-date-math';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
8
|
import { MIDNIGHT_DATE } from '../../defaults';
|
|
8
9
|
import { range, setSeconds } from '../../util';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -112,8 +113,8 @@ export class SecondsService {
|
|
|
112
113
|
return [min.getSeconds(), max.getSeconds()];
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
|
-
SecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
SecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
117
|
+
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService });
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService, decorators: [{
|
|
118
119
|
type: Injectable
|
|
119
120
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
package/{esm2015/timepicker/timelist.component.js → esm2020/timepicker/timelist.component.mjs}
RENAMED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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 */
|
|
6
|
-
import { Component, EventEmitter, HostBinding, ViewChild, Input, Output } from '@angular/core';
|
|
6
|
+
import { Component, EventEmitter, ElementRef, HostBinding, ViewChild, Renderer2, NgZone, Injector, Input, Output } from '@angular/core';
|
|
7
7
|
import { debounceTime, map } from 'rxjs/operators';
|
|
8
8
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
9
9
|
import { VirtualizationComponent } from '../virtualization/virtualization.component';
|
|
10
10
|
import { MAX_TIME, MIDNIGHT_DATE } from '../defaults';
|
|
11
11
|
import { TIME_PART } from './models/time-part.default';
|
|
12
|
+
import { TimePickerDOMService } from './services/dom.service';
|
|
12
13
|
import { HoursService } from './services/hours.service';
|
|
13
14
|
import { MinutesService } from './services/minutes.service';
|
|
14
15
|
import { SecondsService } from './services/seconds.service';
|
|
15
16
|
import { MillisecondsService } from './services/milliseconds.service';
|
|
16
17
|
import { DayPeriodService } from './services/dayperiod.service';
|
|
17
18
|
import { closestInScope } from '../common/dom-queries';
|
|
19
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
18
20
|
import * as i0 from "@angular/core";
|
|
19
21
|
import * as i1 from "./services/dom.service";
|
|
20
22
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -66,15 +68,13 @@ export class TimeListComponent {
|
|
|
66
68
|
return 'listbox';
|
|
67
69
|
}
|
|
68
70
|
get ariaLabel() {
|
|
69
|
-
|
|
70
|
-
return this.localization.get((_a = this.part) === null || _a === void 0 ? void 0 : _a.type);
|
|
71
|
+
return this.localization.get(this.part?.type);
|
|
71
72
|
}
|
|
72
73
|
get tabIndex() {
|
|
73
74
|
return this.disabled ? undefined : 0;
|
|
74
75
|
}
|
|
75
76
|
get isDayPeriod() {
|
|
76
|
-
|
|
77
|
-
return ((_a = this.part) === null || _a === void 0 ? void 0 : _a.type) === 'dayperiod';
|
|
77
|
+
return this.part?.type === 'dayperiod';
|
|
78
78
|
}
|
|
79
79
|
get currentSelectedIndex() {
|
|
80
80
|
return this.selectedIndex(this.value);
|
|
@@ -250,8 +250,8 @@ export class TimeListComponent {
|
|
|
250
250
|
this.domEvents.push(this.renderer.listen(element, 'mouseover', () => !this.isActive && this.focus()), this.renderer.listen(element, 'click', () => this.focus()), this.renderer.listen(element, 'blur', () => this.isActive = false), this.renderer.listen(element, 'focus', () => this.isActive = true), this.renderer.listen(element, 'keydown', this.handleKeyDown.bind(this)));
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
TimeListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
254
|
-
TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
253
|
+
TimeListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeListComponent, deps: [{ token: i0.ElementRef }, { token: i0.Injector }, { token: i1.TimePickerDOMService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
254
|
+
TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimeListComponent, selector: "kendo-timelist", inputs: { min: "min", max: "max", part: "part", step: "step", disabled: "disabled", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "attr.role": "this.roleAttribute", "attr.aria-label": "this.ariaLabel", "attr.tabindex": "this.tabIndex", "class.k-time-list": "this.componentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
255
255
|
<kendo-virtualization
|
|
256
256
|
[skip]="skip"
|
|
257
257
|
[take]="total"
|
|
@@ -281,7 +281,7 @@ TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
281
281
|
</ul>
|
|
282
282
|
</kendo-virtualization>
|
|
283
283
|
`, isInline: true, components: [{ type: i3.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], directives: [{ type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeListComponent, decorators: [{
|
|
285
285
|
type: Component,
|
|
286
286
|
args: [{
|
|
287
287
|
selector: 'kendo-timelist',
|
package/{esm2015/timepicker/timepicker.component.js → esm2020/timepicker/timepicker.component.mjs}
RENAMED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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
|
-
import { Component, ChangeDetectionStrategy, EventEmitter, HostBinding, Input, Output, ViewChild, ViewContainerRef, Inject, Optional, forwardRef, isDevMode } from '@angular/core';
|
|
5
|
+
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, TemplateRef, ViewChild, ViewContainerRef, Inject, Optional, Renderer2, forwardRef, isDevMode, Injector } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
9
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
9
10
|
import { hasObservers, KendoInput, Keys } from '@progress/kendo-angular-common';
|
|
10
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
12
|
import { packageMetadata } from '../package-metadata';
|
|
12
13
|
import { MIDNIGHT_DATE, MIN_TIME, MAX_TIME } from '../defaults';
|
|
14
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
13
15
|
import { PickerService } from '../common/picker.service';
|
|
14
16
|
import { requiresZoneOnBlur, currentFocusTarget, attributeNames } from '../common/utils';
|
|
15
17
|
import { TIME_PART } from './models/time-part.default';
|
|
@@ -20,6 +22,7 @@ import { TOUCH_ENABLED } from '../touch-enabled';
|
|
|
20
22
|
import { fromEvent } from 'rxjs';
|
|
21
23
|
import { incompleteDateValidator } from '../validators/incomplete-date.validator';
|
|
22
24
|
import { BusViewService } from '../calendar/services/bus-view.service';
|
|
25
|
+
import { clockIcon } from '@progress/kendo-svg-icons';
|
|
23
26
|
import * as i0 from "@angular/core";
|
|
24
27
|
import * as i1 from "../calendar/services/bus-view.service";
|
|
25
28
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -27,10 +30,11 @@ import * as i3 from "@progress/kendo-angular-popup";
|
|
|
27
30
|
import * as i4 from "../common/picker.service";
|
|
28
31
|
import * as i5 from "@progress/kendo-angular-intl";
|
|
29
32
|
import * as i6 from "../dateinput/dateinput.component";
|
|
30
|
-
import * as i7 from "
|
|
31
|
-
import * as i8 from "./
|
|
32
|
-
import * as i9 from "./localization/
|
|
33
|
-
import * as i10 from "
|
|
33
|
+
import * as i7 from "@progress/kendo-angular-icons";
|
|
34
|
+
import * as i8 from "./timeselector.component";
|
|
35
|
+
import * as i9 from "./localization/timeselector-custom-messages.component";
|
|
36
|
+
import * as i10 from "./localization/timepicker-localized-messages.directive";
|
|
37
|
+
import * as i11 from "@progress/kendo-angular-common";
|
|
34
38
|
const VALUE_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/#toc-integration-with-json';
|
|
35
39
|
const INTL_DATE_FORMAT = 'https://github.com/telerik/kendo-intl/blob/master/docs/date-formatting/index.md';
|
|
36
40
|
const formatRegExp = new RegExp(`${TIME_PART.hour}|${TIME_PART.minute}|${TIME_PART.second}|${TIME_PART.millisecond}|${TIME_PART.dayperiod}|literal`);
|
|
@@ -50,6 +54,10 @@ export class TimePickerComponent {
|
|
|
50
54
|
this.pickerService = pickerService;
|
|
51
55
|
this.intl = intl;
|
|
52
56
|
this.touchEnabled = touchEnabled;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
this.clockIcon = clockIcon;
|
|
53
61
|
/**
|
|
54
62
|
* Sets or gets the `disabled` property of the TimePicker and
|
|
55
63
|
* determines whether the component is active
|
|
@@ -301,11 +309,11 @@ export class TimePickerComponent {
|
|
|
301
309
|
*/
|
|
302
310
|
set size(size) {
|
|
303
311
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
304
|
-
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('
|
|
312
|
+
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
|
|
305
313
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
306
314
|
if (newSize !== 'none') {
|
|
307
315
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
308
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('
|
|
316
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
|
|
309
317
|
}
|
|
310
318
|
this._size = newSize;
|
|
311
319
|
}
|
|
@@ -609,7 +617,7 @@ export class TimePickerComponent {
|
|
|
609
617
|
* @hidden
|
|
610
618
|
*/
|
|
611
619
|
handleInputChange(value) {
|
|
612
|
-
const val = this.input.formatSections
|
|
620
|
+
const val = this.input.formatSections['date'] ? value : this.mergeTime(value);
|
|
613
621
|
this.handleChange(val);
|
|
614
622
|
}
|
|
615
623
|
/**
|
|
@@ -805,8 +813,8 @@ export class TimePickerComponent {
|
|
|
805
813
|
}
|
|
806
814
|
}
|
|
807
815
|
}
|
|
808
|
-
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
809
|
-
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
816
|
+
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerComponent, deps: [{ token: i1.BusViewService }, { token: i0.NgZone }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i4.PickerService }, { token: i5.IntlService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
817
|
+
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerComponent, selector: "kendo-timepicker", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", cancelButton: "cancelButton", nowButton: "nowButton", steps: "steps", popupSettings: "popupSettings", tabindex: "tabindex", tabIndex: "tabIndex", title: "title", rangeValidation: "rangeValidation", value: "value", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-timepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
810
818
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
811
819
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
812
820
|
{ provide: KendoInput, useExisting: forwardRef(() => TimePickerComponent) },
|
|
@@ -868,6 +876,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
868
876
|
[format]="format"
|
|
869
877
|
[formatPlaceholder]="formatPlaceholder"
|
|
870
878
|
[placeholder]="placeholder"
|
|
879
|
+
[focusableId]="focusableId"
|
|
871
880
|
[min]="normalizeTime(min)"
|
|
872
881
|
[max]="normalizeTime(max)"
|
|
873
882
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
@@ -893,7 +902,12 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
893
902
|
}"
|
|
894
903
|
[scope]="this"
|
|
895
904
|
>
|
|
896
|
-
<
|
|
905
|
+
<kendo-icon-wrapper
|
|
906
|
+
name="clock"
|
|
907
|
+
class="k-button-icon"
|
|
908
|
+
[svgIcon]="clockIcon"
|
|
909
|
+
>
|
|
910
|
+
</kendo-icon-wrapper>
|
|
897
911
|
</button>
|
|
898
912
|
<ng-template #popupTemplate>
|
|
899
913
|
<kendo-timeselector
|
|
@@ -930,8 +944,8 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
930
944
|
</kendo-timeselector>
|
|
931
945
|
</ng-template>
|
|
932
946
|
<ng-container #container></ng-container>
|
|
933
|
-
`, isInline: true, components: [{ type: i6.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7.TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "steps", "value"], outputs: ["valueChange", "valueReject"], exportAs: ["kendo-timeselector"] }, { type:
|
|
934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
947
|
+
`, isInline: true, components: [{ type: i6.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i8.TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "steps", "value"], outputs: ["valueChange", "valueReject"], exportAs: ["kendo-timeselector"] }, { type: i9.TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: i10.TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { type: i11.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
935
949
|
type: Component,
|
|
936
950
|
args: [{
|
|
937
951
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1000,6 +1014,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1000
1014
|
[format]="format"
|
|
1001
1015
|
[formatPlaceholder]="formatPlaceholder"
|
|
1002
1016
|
[placeholder]="placeholder"
|
|
1017
|
+
[focusableId]="focusableId"
|
|
1003
1018
|
[min]="normalizeTime(min)"
|
|
1004
1019
|
[max]="normalizeTime(max)"
|
|
1005
1020
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
@@ -1025,7 +1040,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1025
1040
|
}"
|
|
1026
1041
|
[scope]="this"
|
|
1027
1042
|
>
|
|
1028
|
-
<
|
|
1043
|
+
<kendo-icon-wrapper
|
|
1044
|
+
name="clock"
|
|
1045
|
+
class="k-button-icon"
|
|
1046
|
+
[svgIcon]="clockIcon"
|
|
1047
|
+
>
|
|
1048
|
+
</kendo-icon-wrapper>
|
|
1029
1049
|
</button>
|
|
1030
1050
|
<ng-template #popupTemplate>
|
|
1031
1051
|
<kendo-timeselector
|
|
@@ -1078,6 +1098,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1078
1098
|
}], toggleButton: [{
|
|
1079
1099
|
type: ViewChild,
|
|
1080
1100
|
args: ['toggleButton', { static: true }]
|
|
1101
|
+
}], focusableId: [{
|
|
1102
|
+
type: Input
|
|
1081
1103
|
}], disabled: [{
|
|
1082
1104
|
type: Input
|
|
1083
1105
|
}], readonly: [{
|
package/{esm2015/timepicker/timepicker.module.js → esm2020/timepicker/timepicker.module.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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';
|
|
@@ -24,6 +24,7 @@ import { TimeSelectorCustomMessagesComponent } from './localization/timeselector
|
|
|
24
24
|
import { touchEnabled } from '@progress/kendo-common';
|
|
25
25
|
import { TOUCH_ENABLED } from '../touch-enabled';
|
|
26
26
|
import { EventsModule } from '@progress/kendo-angular-common';
|
|
27
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
27
28
|
import * as i0 from "@angular/core";
|
|
28
29
|
const COMPONENT_DIRECTIVES = [
|
|
29
30
|
TimePickerLocalizedMessagesDirective,
|
|
@@ -39,7 +40,8 @@ const COMPONENT_MODULES = [
|
|
|
39
40
|
IntlModule,
|
|
40
41
|
PopupModule,
|
|
41
42
|
VirtualizationModule,
|
|
42
|
-
EventsModule
|
|
43
|
+
EventsModule,
|
|
44
|
+
IconsModule
|
|
43
45
|
];
|
|
44
46
|
const providers = [
|
|
45
47
|
TimePickerDOMService,
|
|
@@ -59,8 +61,8 @@ const providers = [
|
|
|
59
61
|
*/
|
|
60
62
|
export class TimePickerModule {
|
|
61
63
|
}
|
|
62
|
-
TimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
63
|
-
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
64
|
+
TimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
65
|
+
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, declarations: [TimePickerLocalizedMessagesDirective,
|
|
64
66
|
TimeListComponent,
|
|
65
67
|
TimePickerCustomMessagesComponent,
|
|
66
68
|
TimePickerComponent,
|
|
@@ -70,15 +72,16 @@ TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
70
72
|
IntlModule,
|
|
71
73
|
PopupModule,
|
|
72
74
|
VirtualizationModule,
|
|
73
|
-
EventsModule
|
|
75
|
+
EventsModule,
|
|
76
|
+
IconsModule], exports: [TimePickerLocalizedMessagesDirective,
|
|
74
77
|
TimeListComponent,
|
|
75
78
|
TimePickerCustomMessagesComponent,
|
|
76
79
|
TimePickerComponent,
|
|
77
80
|
TimeSelectorLocalizedMessagesDirective,
|
|
78
81
|
TimeSelectorCustomMessagesComponent,
|
|
79
82
|
TimeSelectorComponent] });
|
|
80
|
-
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
83
|
+
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, providers: providers, imports: [[CommonModule, ...COMPONENT_MODULES]] });
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, decorators: [{
|
|
82
85
|
type: NgModule,
|
|
83
86
|
args: [{
|
|
84
87
|
declarations: [COMPONENT_DIRECTIVES],
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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
|
-
import { Component, ChangeDetectionStrategy, EventEmitter, HostBinding, Input, Output, NgZone, ViewChild, ViewChildren, Optional } from '@angular/core';
|
|
5
|
+
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, ViewChild, ViewChildren, QueryList, Optional, Renderer2 } from '@angular/core';
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
7
8
|
import { cloneDate, getDate } from '@progress/kendo-date-math';
|
|
8
9
|
import { Keys } from '@progress/kendo-angular-common';
|
|
9
10
|
import { MIDNIGHT_DATE, MIN_TIME, MAX_TIME } from '../defaults';
|
|
10
11
|
import { TimeListComponent } from './timelist.component';
|
|
12
|
+
import { TimePickerDOMService } from './services/dom.service';
|
|
11
13
|
import { getNow, hasChange, isInTimeRange, timeInRange } from '../util';
|
|
12
14
|
import { generateGetters, generateSnappers, snapTime, valueMerger } from './util';
|
|
15
|
+
import { PickerService } from '../common/picker.service';
|
|
13
16
|
import { closest } from '../common/dom-queries';
|
|
14
17
|
import { currentFocusTarget, isPresent } from '../common/utils';
|
|
15
18
|
import * as i0 from "@angular/core";
|
|
@@ -369,8 +372,8 @@ export class TimeSelectorComponent {
|
|
|
369
372
|
return listIdx;
|
|
370
373
|
}
|
|
371
374
|
}
|
|
372
|
-
TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
373
|
-
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
375
|
+
TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i2.IntlService }, { token: i3.TimePickerDOMService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i4.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
376
|
+
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject" }, host: { properties: { "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
374
377
|
LocalizationService,
|
|
375
378
|
{
|
|
376
379
|
provide: L10N_PREFIX,
|
|
@@ -480,7 +483,7 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
480
483
|
>{{localization.get('accept')}}</button>
|
|
481
484
|
</div>
|
|
482
485
|
`, isInline: true, components: [{ type: i5.TimeListComponent, selector: "kendo-timelist", inputs: ["min", "max", "part", "step", "disabled", "value"], outputs: ["valueChange"] }], directives: [{ type: i6.TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorComponent, decorators: [{
|
|
484
487
|
type: Component,
|
|
485
488
|
args: [{
|
|
486
489
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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 © 2023 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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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 { addDays, cloneDate, getDate, isEqual } from '@progress/kendo-date-math';
|
|
@@ -315,13 +315,13 @@ export const cropTwoDigitYear = (date) => {
|
|
|
315
315
|
* Used when resetting millisecond segment value in the DateInput
|
|
316
316
|
*/
|
|
317
317
|
export const msPaddingFromFormat = (format) => {
|
|
318
|
-
return Array(format.match(/S+(\1)/)[0].length).join("0");
|
|
318
|
+
return Array(format.match(/S+(\1)/)[0].length).join("0"); // eslint-disable-line no-useless-backreference
|
|
319
319
|
};
|
|
320
320
|
/**
|
|
321
321
|
* @hidden
|
|
322
322
|
*/
|
|
323
323
|
export const millisecondDigitsInFormat = (format) => {
|
|
324
|
-
const result = format && format.match(/S+(\1)/);
|
|
324
|
+
const result = format && format.match(/S+(\1)/); // eslint-disable-line no-useless-backreference
|
|
325
325
|
return result ? result[0].length : 0;
|
|
326
326
|
};
|
|
327
327
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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 © 2023 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';
|