@progress/kendo-angular-dateinputs 7.1.6 → 11.0.0-develop.80
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/NOTICE.txt +3 -3
- package/README.md +2 -2
- package/calendar/calendar-common.module.d.ts +1 -1
- 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 +1 -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 +2 -2
- 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 -2
- 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/datetimepicker/datetimepicker.component.d.ts +1 -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/{esm2015/calendar/calendar-common.module.js → esm2020/calendar/calendar-common.module.mjs} +5 -5
- 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} +21 -17
- 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} +21 -20
- package/{esm2015/dateinput/dateinput.module.js → esm2020/dateinput/dateinput.module.mjs} +5 -5
- 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} +10 -10
- package/{esm2015/datepicker/datepicker.module.js → esm2020/datepicker/datepicker.module.mjs} +5 -5
- 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} +12 -11
- package/{esm2015/datetimepicker/datetimepicker.module.js → esm2020/datetimepicker/datetimepicker.module.mjs} +5 -5
- 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} +10 -8
- package/{esm2015/timepicker/timepicker.module.js → esm2020/timepicker/timepicker.module.mjs} +5 -5
- 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 +16468 -0
- package/{fesm2015/kendo-angular-dateinputs.js → fesm2020/progress-kendo-angular-dateinputs.mjs} +552 -562
- package/{main.d.ts → index.d.ts} +2 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +34 -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 +1 -5
- 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 -2
- 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
- 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
package/{fesm2015/kendo-angular-dateinputs.js → fesm2020/progress-kendo-angular-dateinputs.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 * as i0 from '@angular/core';
|
|
@@ -28,9 +28,9 @@ const packageMetadata = {
|
|
|
28
28
|
name: '@progress/kendo-angular-dateinputs',
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
31
|
+
publishDate: 1672394644,
|
|
32
32
|
version: '',
|
|
33
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
33
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -52,16 +52,8 @@ var Action;
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* @hidden
|
|
55
|
-
*
|
|
56
|
-
* The Enum which defines all possible Calendar view types.
|
|
57
55
|
*/
|
|
58
|
-
|
|
59
|
-
(function (CalendarViewEnum) {
|
|
60
|
-
CalendarViewEnum[CalendarViewEnum["month"] = 0] = "month";
|
|
61
|
-
CalendarViewEnum[CalendarViewEnum["year"] = 1] = "year";
|
|
62
|
-
CalendarViewEnum[CalendarViewEnum["decade"] = 2] = "decade";
|
|
63
|
-
CalendarViewEnum[CalendarViewEnum["century"] = 3] = "century";
|
|
64
|
-
})(CalendarViewEnum || (CalendarViewEnum = {}));
|
|
56
|
+
const EMPTY_SELECTIONRANGE = { start: null, end: null };
|
|
65
57
|
|
|
66
58
|
/**
|
|
67
59
|
* @hidden
|
|
@@ -84,11 +76,6 @@ const MIN_TIME = new Date(1980, 0, 1);
|
|
|
84
76
|
*/
|
|
85
77
|
const MAX_TIME = new Date(1980, 0, 1, 23, 59, 59);
|
|
86
78
|
|
|
87
|
-
/**
|
|
88
|
-
* @hidden
|
|
89
|
-
*/
|
|
90
|
-
const EMPTY_SELECTIONRANGE = { start: null, end: null };
|
|
91
|
-
|
|
92
79
|
/**
|
|
93
80
|
* @hidden
|
|
94
81
|
*/
|
|
@@ -464,13 +451,13 @@ const cropTwoDigitYear = (date) => {
|
|
|
464
451
|
* Used when resetting millisecond segment value in the DateInput
|
|
465
452
|
*/
|
|
466
453
|
const msPaddingFromFormat = (format) => {
|
|
467
|
-
return Array(format.match(/S+(\1)/)[0].length).join("0");
|
|
454
|
+
return Array(format.match(/S+(\1)/)[0].length).join("0"); // eslint-disable-line no-useless-backreference
|
|
468
455
|
};
|
|
469
456
|
/**
|
|
470
457
|
* @hidden
|
|
471
458
|
*/
|
|
472
459
|
const millisecondDigitsInFormat = (format) => {
|
|
473
|
-
const result = format && format.match(/S+(\1)/);
|
|
460
|
+
const result = format && format.match(/S+(\1)/); // eslint-disable-line no-useless-backreference
|
|
474
461
|
return result ? result[0].length : 0;
|
|
475
462
|
};
|
|
476
463
|
/**
|
|
@@ -704,9 +691,9 @@ class CenturyViewService {
|
|
|
704
691
|
return cellDate;
|
|
705
692
|
}
|
|
706
693
|
}
|
|
707
|
-
CenturyViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
708
|
-
CenturyViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
694
|
+
CenturyViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
695
|
+
CenturyViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyViewService });
|
|
696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyViewService, decorators: [{
|
|
710
697
|
type: Injectable
|
|
711
698
|
}] });
|
|
712
699
|
|
|
@@ -869,9 +856,9 @@ class DecadeViewService {
|
|
|
869
856
|
return cellDate;
|
|
870
857
|
}
|
|
871
858
|
}
|
|
872
|
-
DecadeViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
873
|
-
DecadeViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
859
|
+
DecadeViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
860
|
+
DecadeViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeViewService });
|
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeViewService, decorators: [{
|
|
875
862
|
type: Injectable
|
|
876
863
|
}] });
|
|
877
864
|
|
|
@@ -1055,9 +1042,9 @@ class MonthViewService {
|
|
|
1055
1042
|
return this._intlService.dateFormatNames({ nameType: 'wide', type: 'months' });
|
|
1056
1043
|
}
|
|
1057
1044
|
}
|
|
1058
|
-
MonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1059
|
-
MonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1045
|
+
MonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1046
|
+
MonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewService });
|
|
1047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewService, decorators: [{
|
|
1061
1048
|
type: Injectable
|
|
1062
1049
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1063
1050
|
|
|
@@ -1240,12 +1227,25 @@ class YearViewService {
|
|
|
1240
1227
|
return cellDate;
|
|
1241
1228
|
}
|
|
1242
1229
|
}
|
|
1243
|
-
YearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1244
|
-
YearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1230
|
+
YearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1231
|
+
YearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearViewService });
|
|
1232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearViewService, decorators: [{
|
|
1246
1233
|
type: Injectable
|
|
1247
1234
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1248
1235
|
|
|
1236
|
+
/**
|
|
1237
|
+
* @hidden
|
|
1238
|
+
*
|
|
1239
|
+
* The Enum which defines all possible Calendar view types.
|
|
1240
|
+
*/
|
|
1241
|
+
var CalendarViewEnum;
|
|
1242
|
+
(function (CalendarViewEnum) {
|
|
1243
|
+
CalendarViewEnum[CalendarViewEnum["month"] = 0] = "month";
|
|
1244
|
+
CalendarViewEnum[CalendarViewEnum["year"] = 1] = "year";
|
|
1245
|
+
CalendarViewEnum[CalendarViewEnum["decade"] = 2] = "decade";
|
|
1246
|
+
CalendarViewEnum[CalendarViewEnum["century"] = 3] = "century";
|
|
1247
|
+
})(CalendarViewEnum || (CalendarViewEnum = {}));
|
|
1248
|
+
|
|
1249
1249
|
const services$1 = {
|
|
1250
1250
|
[CalendarViewEnum.month]: MonthViewService,
|
|
1251
1251
|
[CalendarViewEnum.year]: YearViewService,
|
|
@@ -1311,9 +1311,9 @@ class BusViewService {
|
|
|
1311
1311
|
this.viewChanged.emit({ view: candidate });
|
|
1312
1312
|
}
|
|
1313
1313
|
}
|
|
1314
|
-
BusViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1315
|
-
BusViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1314
|
+
BusViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BusViewService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1315
|
+
BusViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BusViewService });
|
|
1316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BusViewService, decorators: [{
|
|
1317
1317
|
type: Injectable
|
|
1318
1318
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1319
1319
|
|
|
@@ -1329,33 +1329,12 @@ class WeekNamesService {
|
|
|
1329
1329
|
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
|
-
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1333
|
-
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1332
|
+
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1333
|
+
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNamesService });
|
|
1334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
1335
1335
|
type: Injectable
|
|
1336
1336
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1337
1337
|
|
|
1338
|
-
/**
|
|
1339
|
-
* @hidden
|
|
1340
|
-
*/
|
|
1341
|
-
const closestInScope = (node, predicate, scope) => {
|
|
1342
|
-
while (node && node !== scope && !predicate(node)) {
|
|
1343
|
-
node = node.parentNode;
|
|
1344
|
-
}
|
|
1345
|
-
if (node !== scope) {
|
|
1346
|
-
return node;
|
|
1347
|
-
}
|
|
1348
|
-
};
|
|
1349
|
-
/**
|
|
1350
|
-
* @hidden
|
|
1351
|
-
*/
|
|
1352
|
-
const closest = (node, predicate) => {
|
|
1353
|
-
while (node && !predicate(node)) {
|
|
1354
|
-
node = node.parentNode;
|
|
1355
|
-
}
|
|
1356
|
-
return node;
|
|
1357
|
-
};
|
|
1358
|
-
|
|
1359
1338
|
const noop$1 = () => false;
|
|
1360
1339
|
const DISABLED_DATES_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/disabled-dates/';
|
|
1361
1340
|
/**
|
|
@@ -1410,12 +1389,33 @@ class DisabledDatesService {
|
|
|
1410
1389
|
this.changes.next();
|
|
1411
1390
|
}
|
|
1412
1391
|
}
|
|
1413
|
-
DisabledDatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1414
|
-
DisabledDatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1392
|
+
DisabledDatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledDatesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1393
|
+
DisabledDatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledDatesService });
|
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledDatesService, decorators: [{
|
|
1416
1395
|
type: Injectable
|
|
1417
1396
|
}] });
|
|
1418
1397
|
|
|
1398
|
+
/**
|
|
1399
|
+
* @hidden
|
|
1400
|
+
*/
|
|
1401
|
+
const closestInScope = (node, predicate, scope) => {
|
|
1402
|
+
while (node && node !== scope && !predicate(node)) {
|
|
1403
|
+
node = node.parentNode;
|
|
1404
|
+
}
|
|
1405
|
+
if (node !== scope) {
|
|
1406
|
+
return node;
|
|
1407
|
+
}
|
|
1408
|
+
};
|
|
1409
|
+
/**
|
|
1410
|
+
* @hidden
|
|
1411
|
+
*/
|
|
1412
|
+
const closest = (node, predicate) => {
|
|
1413
|
+
while (node && !predicate(node)) {
|
|
1414
|
+
node = node.parentNode;
|
|
1415
|
+
}
|
|
1416
|
+
return node;
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
1419
|
/**
|
|
1420
1420
|
* @hidden
|
|
1421
1421
|
*/
|
|
@@ -1449,7 +1449,7 @@ class KForOf {
|
|
|
1449
1449
|
}
|
|
1450
1450
|
ngOnChanges(changes) {
|
|
1451
1451
|
if ('kForOf' in changes) {
|
|
1452
|
-
const value = changes
|
|
1452
|
+
const value = changes['kForOf'].currentValue;
|
|
1453
1453
|
if (this._differ || !value) {
|
|
1454
1454
|
return;
|
|
1455
1455
|
}
|
|
@@ -1495,9 +1495,9 @@ class KForOf {
|
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
|
-
KForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1499
|
-
KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1498
|
+
KForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1499
|
+
KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: KForOf, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KForOf, decorators: [{
|
|
1501
1501
|
type: Directive,
|
|
1502
1502
|
args: [{ selector: '[kFor][kForOf]' }]
|
|
1503
1503
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { kForOf: [{
|
|
@@ -1726,8 +1726,8 @@ class ViewComponent {
|
|
|
1726
1726
|
return this.data[rowIndex][cellIndex];
|
|
1727
1727
|
}
|
|
1728
1728
|
}
|
|
1729
|
-
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1730
|
-
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1729
|
+
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1730
|
+
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ViewComponent, selector: "[kendoCalendarView]", inputs: { direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
|
|
1731
1731
|
<ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell"> </td></ng-template>
|
|
1732
1732
|
<tr *ngIf="!isHorizontal()" class="k-calendar-tr" role="row"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
|
|
1733
1733
|
<tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
|
|
@@ -1777,7 +1777,7 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
1777
1777
|
</ng-container>
|
|
1778
1778
|
</tr>
|
|
1779
1779
|
`, isInline: true, directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewComponent, decorators: [{
|
|
1781
1781
|
type: Component,
|
|
1782
1782
|
args: [{
|
|
1783
1783
|
// eslint-disable-next-line
|
|
@@ -2127,8 +2127,8 @@ class HorizontalViewListComponent {
|
|
|
2127
2127
|
}
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
2130
|
-
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2131
|
-
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2130
|
+
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: WeekNamesService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2131
|
+
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: { cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass", "attr.role": "this.role" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2132
2132
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2133
2133
|
<table
|
|
2134
2134
|
[attr.role]="views === 2 ? 'none' : 'grid'"
|
|
@@ -2210,7 +2210,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2210
2210
|
>
|
|
2211
2211
|
</ng-template>
|
|
2212
2212
|
`, isInline: true, components: [{ type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }], directives: [{ type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HorizontalViewListComponent, decorators: [{
|
|
2214
2214
|
type: Component,
|
|
2215
2215
|
args: [{
|
|
2216
2216
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2493,8 +2493,8 @@ class HeaderComponent {
|
|
|
2493
2493
|
this.cdr.markForCheck();
|
|
2494
2494
|
}
|
|
2495
2495
|
}
|
|
2496
|
-
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2497
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2496
|
+
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1$1.LocalizationService }, { token: i1.IntlService }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2497
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", templateRef: "templateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2498
2498
|
<span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
|
|
2499
2499
|
role="button"
|
|
2500
2500
|
[id]="id"
|
|
@@ -2525,20 +2525,20 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2525
2525
|
[title]="prevButtonTitle"
|
|
2526
2526
|
(click)="prevButtonClick.emit()"
|
|
2527
2527
|
>
|
|
2528
|
-
<span class="k-icon k-i-chevron-left"></span>
|
|
2528
|
+
<span class="k-button-icon k-icon k-i-chevron-left"></span>
|
|
2529
2529
|
</button>
|
|
2530
|
-
<
|
|
2531
|
-
class="k-today k-
|
|
2530
|
+
<button
|
|
2531
|
+
class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
|
|
2532
2532
|
tabindex="-1"
|
|
2533
2533
|
[class.k-disabled]="!todayAvailable"
|
|
2534
2534
|
[kendoEventsOutsideAngular]="{
|
|
2535
2535
|
click: handleTodayClick
|
|
2536
2536
|
}"
|
|
2537
2537
|
[scope]="this"
|
|
2538
|
-
|
|
2538
|
+
type="button"
|
|
2539
2539
|
>
|
|
2540
2540
|
{{ todayMessage }}
|
|
2541
|
-
</
|
|
2541
|
+
</button>
|
|
2542
2542
|
<button
|
|
2543
2543
|
*ngIf="showNavigationButtons"
|
|
2544
2544
|
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
|
|
@@ -2549,11 +2549,11 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2549
2549
|
[title]="nextButtonTitle"
|
|
2550
2550
|
(click)="nextButtonClick.emit()"
|
|
2551
2551
|
>
|
|
2552
|
-
<span class="k-icon k-i-chevron-right"></span>
|
|
2552
|
+
<span class="k-button-icon k-icon k-i-chevron-right"></span>
|
|
2553
2553
|
</button>
|
|
2554
2554
|
</span>
|
|
2555
2555
|
`, isInline: true, directives: [{ type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
2557
2557
|
type: Component,
|
|
2558
2558
|
args: [{
|
|
2559
2559
|
selector: 'kendo-calendar-header',
|
|
@@ -2588,20 +2588,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2588
2588
|
[title]="prevButtonTitle"
|
|
2589
2589
|
(click)="prevButtonClick.emit()"
|
|
2590
2590
|
>
|
|
2591
|
-
<span class="k-icon k-i-chevron-left"></span>
|
|
2591
|
+
<span class="k-button-icon k-icon k-i-chevron-left"></span>
|
|
2592
2592
|
</button>
|
|
2593
|
-
<
|
|
2594
|
-
class="k-today k-
|
|
2593
|
+
<button
|
|
2594
|
+
class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
|
|
2595
2595
|
tabindex="-1"
|
|
2596
2596
|
[class.k-disabled]="!todayAvailable"
|
|
2597
2597
|
[kendoEventsOutsideAngular]="{
|
|
2598
2598
|
click: handleTodayClick
|
|
2599
2599
|
}"
|
|
2600
2600
|
[scope]="this"
|
|
2601
|
-
|
|
2601
|
+
type="button"
|
|
2602
2602
|
>
|
|
2603
2603
|
{{ todayMessage }}
|
|
2604
|
-
</
|
|
2604
|
+
</button>
|
|
2605
2605
|
<button
|
|
2606
2606
|
*ngIf="showNavigationButtons"
|
|
2607
2607
|
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
|
|
@@ -2612,7 +2612,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2612
2612
|
[title]="nextButtonTitle"
|
|
2613
2613
|
(click)="nextButtonClick.emit()"
|
|
2614
2614
|
>
|
|
2615
|
-
<span class="k-icon k-i-chevron-right"></span>
|
|
2615
|
+
<span class="k-button-icon k-icon k-i-chevron-right"></span>
|
|
2616
2616
|
</button>
|
|
2617
2617
|
</span>
|
|
2618
2618
|
`
|
|
@@ -2664,6 +2664,7 @@ class SelectionService {
|
|
|
2664
2664
|
this.bus = bus;
|
|
2665
2665
|
}
|
|
2666
2666
|
performSelection(args) {
|
|
2667
|
+
/* eslint prefer-const: ["error", {"destructuring": "all"}] */
|
|
2667
2668
|
let { date, modifiers, selectionMode, activeViewEnum, rangePivot } = args;
|
|
2668
2669
|
let selectedDates = args.selectedDates.slice();
|
|
2669
2670
|
if (selectionMode === 'multiple') {
|
|
@@ -2700,9 +2701,9 @@ class SelectionService {
|
|
|
2700
2701
|
return selectedDates.some(item => isEqual(item, date));
|
|
2701
2702
|
}
|
|
2702
2703
|
}
|
|
2703
|
-
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2704
|
-
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2704
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, deps: [{ token: BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2705
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService });
|
|
2706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, decorators: [{
|
|
2706
2707
|
type: Injectable
|
|
2707
2708
|
}], ctorParameters: function () { return [{ type: BusViewService }]; } });
|
|
2708
2709
|
|
|
@@ -2738,9 +2739,9 @@ class CellTemplateDirective {
|
|
|
2738
2739
|
this.templateRef = templateRef;
|
|
2739
2740
|
}
|
|
2740
2741
|
}
|
|
2741
|
-
CellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2742
|
-
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2742
|
+
CellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2743
|
+
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CellTemplateDirective, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
|
|
2744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
|
2744
2745
|
type: Directive,
|
|
2745
2746
|
args: [{
|
|
2746
2747
|
selector: '[kendoCalendarCellTemplate]'
|
|
@@ -2776,9 +2777,9 @@ class MonthCellTemplateDirective {
|
|
|
2776
2777
|
this.templateRef = templateRef;
|
|
2777
2778
|
}
|
|
2778
2779
|
}
|
|
2779
|
-
MonthCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2780
|
-
MonthCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2780
|
+
MonthCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2781
|
+
MonthCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
|
|
2782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
|
|
2782
2783
|
type: Directive,
|
|
2783
2784
|
args: [{
|
|
2784
2785
|
selector: '[kendoCalendarMonthCellTemplate]'
|
|
@@ -2817,9 +2818,9 @@ class YearCellTemplateDirective {
|
|
|
2817
2818
|
this.templateRef = templateRef;
|
|
2818
2819
|
}
|
|
2819
2820
|
}
|
|
2820
|
-
YearCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2821
|
-
YearCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2821
|
+
YearCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2822
|
+
YearCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: YearCellTemplateDirective, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
|
|
2823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
|
|
2823
2824
|
type: Directive,
|
|
2824
2825
|
args: [{
|
|
2825
2826
|
selector: '[kendoCalendarYearCellTemplate]'
|
|
@@ -2857,9 +2858,9 @@ class DecadeCellTemplateDirective {
|
|
|
2857
2858
|
this.templateRef = templateRef;
|
|
2858
2859
|
}
|
|
2859
2860
|
}
|
|
2860
|
-
DecadeCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2861
|
-
DecadeCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2861
|
+
DecadeCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2862
|
+
DecadeCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DecadeCellTemplateDirective, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
|
|
2863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
|
|
2863
2864
|
type: Directive,
|
|
2864
2865
|
args: [{
|
|
2865
2866
|
selector: '[kendoCalendarDecadeCellTemplate]'
|
|
@@ -2897,9 +2898,9 @@ class CenturyCellTemplateDirective {
|
|
|
2897
2898
|
this.templateRef = templateRef;
|
|
2898
2899
|
}
|
|
2899
2900
|
}
|
|
2900
|
-
CenturyCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2901
|
-
CenturyCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2901
|
+
CenturyCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2902
|
+
CenturyCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CenturyCellTemplateDirective, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
|
|
2903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
|
|
2903
2904
|
type: Directive,
|
|
2904
2905
|
args: [{
|
|
2905
2906
|
selector: '[kendoCalendarCenturyCellTemplate]'
|
|
@@ -2935,9 +2936,9 @@ class WeekNumberCellTemplateDirective {
|
|
|
2935
2936
|
this.templateRef = templateRef;
|
|
2936
2937
|
}
|
|
2937
2938
|
}
|
|
2938
|
-
WeekNumberCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2939
|
-
WeekNumberCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2939
|
+
WeekNumberCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNumberCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2940
|
+
WeekNumberCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WeekNumberCellTemplateDirective, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
|
|
2941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
|
|
2941
2942
|
type: Directive,
|
|
2942
2943
|
args: [{
|
|
2943
2944
|
selector: '[kendoCalendarWeekNumberCellTemplate]'
|
|
@@ -2974,9 +2975,9 @@ class HeaderTitleTemplateDirective {
|
|
|
2974
2975
|
this.templateRef = templateRef;
|
|
2975
2976
|
}
|
|
2976
2977
|
}
|
|
2977
|
-
HeaderTitleTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2978
|
-
HeaderTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2978
|
+
HeaderTitleTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTitleTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2979
|
+
HeaderTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HeaderTitleTemplateDirective, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
|
|
2980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
|
|
2980
2981
|
type: Directive,
|
|
2981
2982
|
args: [{
|
|
2982
2983
|
selector: '[kendoCalendarHeaderTitleTemplate]'
|
|
@@ -3079,9 +3080,9 @@ class NavigationService {
|
|
|
3079
3080
|
return service.move(value, action);
|
|
3080
3081
|
}
|
|
3081
3082
|
}
|
|
3082
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3083
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3083
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3084
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
3085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
3085
3086
|
type: Injectable
|
|
3086
3087
|
}], ctorParameters: function () { return [{ type: BusViewService }]; } });
|
|
3087
3088
|
|
|
@@ -3090,9 +3091,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3090
3091
|
*/
|
|
3091
3092
|
class Messages$1 extends ComponentMessages {
|
|
3092
3093
|
}
|
|
3093
|
-
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3094
|
-
Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3094
|
+
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3095
|
+
Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages$1, selector: "kendo-multiview-calendar-messages-base", inputs: { today: "today", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
3096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages$1, decorators: [{
|
|
3096
3097
|
type: Directive,
|
|
3097
3098
|
args: [{
|
|
3098
3099
|
// eslint-disable-next-line
|
|
@@ -3117,14 +3118,14 @@ class MultiViewCalendarLocalizedMessagesDirective extends Messages$1 {
|
|
|
3117
3118
|
this.service = service;
|
|
3118
3119
|
}
|
|
3119
3120
|
}
|
|
3120
|
-
MultiViewCalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3121
|
-
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3121
|
+
MultiViewCalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3122
|
+
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
3122
3123
|
{
|
|
3123
3124
|
provide: Messages$1,
|
|
3124
3125
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3125
3126
|
}
|
|
3126
3127
|
], usesInheritance: true, ngImport: i0 });
|
|
3127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, decorators: [{
|
|
3128
3129
|
type: Directive,
|
|
3129
3130
|
args: [{
|
|
3130
3131
|
providers: [
|
|
@@ -3898,8 +3899,8 @@ class MultiViewCalendarComponent {
|
|
|
3898
3899
|
});
|
|
3899
3900
|
}
|
|
3900
3901
|
}
|
|
3901
|
-
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3902
|
-
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3902
|
+
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: BusViewService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: DisabledDatesService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3903
|
+
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: { id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", orientation: "orientation", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", blurEvent: "blur", focusEvent: "focus", focusCalendar: "focusCalendar" }, host: { listeners: { "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
3903
3904
|
BusViewService,
|
|
3904
3905
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
3905
3906
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -3975,7 +3976,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3975
3976
|
>
|
|
3976
3977
|
</kendo-calendar-horizontal>
|
|
3977
3978
|
`, isInline: true, components: [{ type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "orientation", "activeDescendant", "tabIndex", "disabled", "id", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }], directives: [{ type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
3979
3980
|
type: Component,
|
|
3980
3981
|
args: [{
|
|
3981
3982
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -4197,6 +4198,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4197
4198
|
args: ["keydown", ["$event"]]
|
|
4198
4199
|
}] } });
|
|
4199
4200
|
|
|
4201
|
+
const div$1 = domContainerFactory('div');
|
|
4202
|
+
const ul$1 = domContainerFactory('ul');
|
|
4203
|
+
const li$1 = domContainerFactory('li');
|
|
4204
|
+
const td = domContainerFactory('td');
|
|
4205
|
+
const th = domContainerFactory('th');
|
|
4206
|
+
const tr = domContainerFactory('tr');
|
|
4207
|
+
const tbody = domContainerFactory('tbody');
|
|
4208
|
+
const thead = domContainerFactory('thead');
|
|
4209
|
+
const table = domContainerFactory('table');
|
|
4210
|
+
const monthHeader = () => (div$1(`
|
|
4211
|
+
<span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
|
|
4212
|
+
<span class="k-spacer"></span>
|
|
4213
|
+
<span class="k-calendar-nav k-hstack">
|
|
4214
|
+
<button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">TODAY</button>
|
|
4215
|
+
</span>
|
|
4216
|
+
`, 'k-calendar-header k-hstack'));
|
|
4217
|
+
const monthWeekHeader = () => (table([
|
|
4218
|
+
thead([
|
|
4219
|
+
tr([th('MO', 'k-calendar-th')], 'k-calendar-tr')
|
|
4220
|
+
], 'k-calendar-thead')
|
|
4221
|
+
], 'k-calendar-weekdays k-calendar-table'));
|
|
4222
|
+
const repeat = (count, mapper) => new Array(count).fill('1').map(mapper);
|
|
4223
|
+
const content = (rows, cells = 1) => (table([
|
|
4224
|
+
tbody([tr([th('1', 'k-calendar-th')], 'k-calendar-tr')].concat(repeat(rows, () => tr(repeat(cells, c => td(`<span class="k-link">${c}</span>`, 'k-calendar-td')), 'k-calendar-tr'))), 'k-calendar-tbody')
|
|
4225
|
+
], 'k-calendar-table'));
|
|
4226
|
+
const scrollable$1 = (children) => div$1(children, 'k-flex k-content k-scrollable');
|
|
4227
|
+
const view = (contentElement, className, renderWeekHeader) => (div$1([
|
|
4228
|
+
monthHeader(),
|
|
4229
|
+
renderWeekHeader ? monthWeekHeader() : null,
|
|
4230
|
+
scrollable$1([contentElement, contentElement])
|
|
4231
|
+
], className, { left: '-10000px', position: 'absolute' }));
|
|
4232
|
+
const navigationList = (() => {
|
|
4233
|
+
let navElement;
|
|
4234
|
+
return () => {
|
|
4235
|
+
if (!isDocumentAvailable) {
|
|
4236
|
+
return null;
|
|
4237
|
+
}
|
|
4238
|
+
if (!navElement) {
|
|
4239
|
+
navElement = div$1([scrollable$1([ul$1([li$1('<span>FEB</span>')])])], 'k-calendar-navigation', { left: '0px', position: 'absolute' });
|
|
4240
|
+
}
|
|
4241
|
+
return navElement;
|
|
4242
|
+
};
|
|
4243
|
+
})();
|
|
4244
|
+
const viewFactory = ({ cells, rows }, className, renderWeekHeader) => {
|
|
4245
|
+
let viewElement;
|
|
4246
|
+
return () => {
|
|
4247
|
+
if (!isDocumentAvailable) {
|
|
4248
|
+
return null;
|
|
4249
|
+
}
|
|
4250
|
+
if (!viewElement) {
|
|
4251
|
+
viewElement = view(content(rows, cells), className, renderWeekHeader);
|
|
4252
|
+
}
|
|
4253
|
+
return viewElement;
|
|
4254
|
+
};
|
|
4255
|
+
};
|
|
4256
|
+
const getScrollable = (element) => element.querySelector('.k-scrollable');
|
|
4257
|
+
const horizontal = element => {
|
|
4258
|
+
const scrollableElement = getScrollable(element);
|
|
4259
|
+
scrollableElement.classList.add('k-scrollable-horizontal');
|
|
4260
|
+
return element;
|
|
4261
|
+
};
|
|
4262
|
+
const monthView = viewFactory({ cells: 7, rows: 6 }, 'k-vstack k-calendar-view k-calendar-monthview', true);
|
|
4263
|
+
const yearView = viewFactory({ cells: 4, rows: 3 }, 'k-vstack k-calendar-view k-calendar-yearview', false);
|
|
4264
|
+
const decadeView = viewFactory({ cells: 4, rows: 3 }, 'k-vstack k-calendar-view k-calendar-decadeview', false);
|
|
4265
|
+
const horzMonthView = () => horizontal(monthView());
|
|
4266
|
+
const horzYearView = () => horizontal(yearView());
|
|
4267
|
+
const horzDecadeView = () => horizontal(decadeView());
|
|
4268
|
+
const height = (element) => (parseFloat(window.getComputedStyle(element).height) || element.offsetHeight);
|
|
4269
|
+
const width = (element) => {
|
|
4270
|
+
const styles = window.getComputedStyle(element);
|
|
4271
|
+
const computed = parseFloat(styles.width)
|
|
4272
|
+
+ parseFloat(styles.paddingLeft)
|
|
4273
|
+
+ parseFloat(styles.paddingRight);
|
|
4274
|
+
return computed || element.offsetWidth;
|
|
4275
|
+
};
|
|
4276
|
+
const getBody = (element) => element.querySelector('tbody');
|
|
4277
|
+
/**
|
|
4278
|
+
* @hidden
|
|
4279
|
+
*/
|
|
4280
|
+
class CalendarDOMService {
|
|
4281
|
+
ensureHeights() {
|
|
4282
|
+
if (this.calendarHeight !== undefined) {
|
|
4283
|
+
return;
|
|
4284
|
+
}
|
|
4285
|
+
this.calculateHeights();
|
|
4286
|
+
}
|
|
4287
|
+
calculateHeights(container) {
|
|
4288
|
+
if (!isDocumentAvailable()) {
|
|
4289
|
+
return;
|
|
4290
|
+
}
|
|
4291
|
+
this.hostContainer = container;
|
|
4292
|
+
this.batch(monthView(), (contentElement) => {
|
|
4293
|
+
const viewElement = getBody(contentElement);
|
|
4294
|
+
this.calendarHeight = height(contentElement);
|
|
4295
|
+
this.monthViewHeight = height(viewElement);
|
|
4296
|
+
this.headerHeight = height(viewElement.children[0]);
|
|
4297
|
+
this.scrollableContentHeight = height(getScrollable(contentElement));
|
|
4298
|
+
});
|
|
4299
|
+
this.batch(horzMonthView(), (contentElement) => {
|
|
4300
|
+
const viewElement = getBody(contentElement);
|
|
4301
|
+
this.calendarWidth = width(contentElement);
|
|
4302
|
+
this.monthViewWidth = width(viewElement);
|
|
4303
|
+
this.scrollableContentWidth = width(getScrollable(contentElement));
|
|
4304
|
+
});
|
|
4305
|
+
this.batch(yearView(), (contentElement) => {
|
|
4306
|
+
this.yearViewHeight = height(getBody(contentElement));
|
|
4307
|
+
this.scrollableYearContentHeight = height(getScrollable(contentElement));
|
|
4308
|
+
});
|
|
4309
|
+
this.batch(horzYearView(), (contentElement) => {
|
|
4310
|
+
this.yearViewWidth = width(getBody(contentElement));
|
|
4311
|
+
});
|
|
4312
|
+
this.batch(decadeView(), (contentElement) => {
|
|
4313
|
+
this.decadeViewHeight = height(getBody(contentElement));
|
|
4314
|
+
this.centuryViewHeight = this.decadeViewHeight;
|
|
4315
|
+
});
|
|
4316
|
+
this.batch(horzDecadeView(), (contentElement) => {
|
|
4317
|
+
this.decadeViewWidth = width(getBody(contentElement));
|
|
4318
|
+
this.centuryViewWidth = this.decadeViewWidth;
|
|
4319
|
+
});
|
|
4320
|
+
this.batch(navigationList(), (contentElement) => {
|
|
4321
|
+
this.navigationItemHeight = height(contentElement.querySelector('li'));
|
|
4322
|
+
});
|
|
4323
|
+
}
|
|
4324
|
+
viewHeight(viewType) {
|
|
4325
|
+
return this.viewDimension(viewType, 'height');
|
|
4326
|
+
}
|
|
4327
|
+
viewWidth(viewType) {
|
|
4328
|
+
return this.viewDimension(viewType, 'width');
|
|
4329
|
+
}
|
|
4330
|
+
viewDimension(viewType, dimension) {
|
|
4331
|
+
const viewProp = dimension === 'height' ? 'ViewHeight' : 'ViewWidth';
|
|
4332
|
+
switch (viewType) {
|
|
4333
|
+
case CalendarViewEnum.month:
|
|
4334
|
+
return this[`month${viewProp}`];
|
|
4335
|
+
case CalendarViewEnum.year:
|
|
4336
|
+
return this[`year${viewProp}`];
|
|
4337
|
+
case CalendarViewEnum.decade:
|
|
4338
|
+
return this[`decade${viewProp}`];
|
|
4339
|
+
case CalendarViewEnum.century:
|
|
4340
|
+
return this[`century${viewProp}`];
|
|
4341
|
+
default:
|
|
4342
|
+
return 1;
|
|
4343
|
+
}
|
|
4344
|
+
}
|
|
4345
|
+
batch(contentElement, action) {
|
|
4346
|
+
if (!isPresent(this.hostContainer)) {
|
|
4347
|
+
return;
|
|
4348
|
+
}
|
|
4349
|
+
const hostClone = this.hostContainer.cloneNode();
|
|
4350
|
+
document.body.appendChild(hostClone);
|
|
4351
|
+
try {
|
|
4352
|
+
const appendedContent = hostClone.appendChild(contentElement);
|
|
4353
|
+
action(appendedContent);
|
|
4354
|
+
}
|
|
4355
|
+
finally {
|
|
4356
|
+
document.body.removeChild(hostClone);
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
CalendarDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4361
|
+
CalendarDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarDOMService });
|
|
4362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarDOMService, decorators: [{
|
|
4363
|
+
type: Injectable
|
|
4364
|
+
}] });
|
|
4365
|
+
|
|
4200
4366
|
/**
|
|
4201
4367
|
* @hidden
|
|
4202
4368
|
*/
|
|
@@ -4580,8 +4746,8 @@ class VirtualizationComponent {
|
|
|
4580
4746
|
return indexOffset < this.containerScrollPosition ? ScrollDirection.Backward : ScrollDirection.Forward;
|
|
4581
4747
|
}
|
|
4582
4748
|
}
|
|
4583
|
-
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4584
|
-
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4749
|
+
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i5.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4750
|
+
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-scrollable": "this.wrapperClasses", "class.k-scrollable-horizontal": "this.horizontalClass" } }, providers: [{
|
|
4585
4751
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
4586
4752
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
4587
4753
|
}], usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -4592,7 +4758,7 @@ VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4592
4758
|
[ngStyle]="totalVertexLength"
|
|
4593
4759
|
></div>
|
|
4594
4760
|
`, isInline: true, directives: [{ type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
4595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationComponent, decorators: [{
|
|
4596
4762
|
type: Component,
|
|
4597
4763
|
args: [{
|
|
4598
4764
|
providers: [{
|
|
@@ -4654,174 +4820,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4654
4820
|
args: ['class.k-scrollable-horizontal']
|
|
4655
4821
|
}] } });
|
|
4656
4822
|
|
|
4657
|
-
const div$1 = domContainerFactory('div');
|
|
4658
|
-
const ul$1 = domContainerFactory('ul');
|
|
4659
|
-
const li$1 = domContainerFactory('li');
|
|
4660
|
-
const td = domContainerFactory('td');
|
|
4661
|
-
const th = domContainerFactory('th');
|
|
4662
|
-
const tr = domContainerFactory('tr');
|
|
4663
|
-
const tbody = domContainerFactory('tbody');
|
|
4664
|
-
const thead = domContainerFactory('thead');
|
|
4665
|
-
const table = domContainerFactory('table');
|
|
4666
|
-
const monthHeader = () => (div$1(`
|
|
4667
|
-
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
|
|
4668
|
-
<span class="k-spacer"></span>
|
|
4669
|
-
<span class="k-calendar-nav k-hstack">
|
|
4670
|
-
<span class="k-today k-calendar-nav-today">TODAY</span>
|
|
4671
|
-
</span>
|
|
4672
|
-
`, 'k-calendar-header k-hstack'));
|
|
4673
|
-
const monthWeekHeader = () => (table([
|
|
4674
|
-
thead([
|
|
4675
|
-
tr([th('MO', 'k-calendar-th')], 'k-calendar-tr')
|
|
4676
|
-
], 'k-calendar-thead')
|
|
4677
|
-
], 'k-calendar-weekdays k-calendar-table'));
|
|
4678
|
-
const repeat = (count, mapper) => new Array(count).fill('1').map(mapper);
|
|
4679
|
-
const content = (rows, cells = 1) => (table([
|
|
4680
|
-
tbody([tr([th('1', 'k-calendar-th')], 'k-calendar-tr')].concat(repeat(rows, () => tr(repeat(cells, c => td(`<span class="k-link">${c}</span>`, 'k-calendar-td')), 'k-calendar-tr'))), 'k-calendar-tbody')
|
|
4681
|
-
], 'k-calendar-table'));
|
|
4682
|
-
const scrollable$1 = (children) => div$1(children, 'k-flex k-content k-scrollable');
|
|
4683
|
-
const view = (contentElement, className, renderWeekHeader) => (div$1([
|
|
4684
|
-
monthHeader(),
|
|
4685
|
-
renderWeekHeader ? monthWeekHeader() : null,
|
|
4686
|
-
scrollable$1([contentElement, contentElement])
|
|
4687
|
-
], className, { left: '-10000px', position: 'absolute' }));
|
|
4688
|
-
const navigationList = (() => {
|
|
4689
|
-
let navElement;
|
|
4690
|
-
return () => {
|
|
4691
|
-
if (!isDocumentAvailable) {
|
|
4692
|
-
return null;
|
|
4693
|
-
}
|
|
4694
|
-
if (!navElement) {
|
|
4695
|
-
navElement = div$1([scrollable$1([ul$1([li$1('<span>FEB</span>')])])], 'k-calendar-navigation', { left: '0px', position: 'absolute' });
|
|
4696
|
-
}
|
|
4697
|
-
return navElement;
|
|
4698
|
-
};
|
|
4699
|
-
})();
|
|
4700
|
-
const viewFactory = ({ cells, rows }, className, renderWeekHeader) => {
|
|
4701
|
-
let viewElement;
|
|
4702
|
-
return () => {
|
|
4703
|
-
if (!isDocumentAvailable) {
|
|
4704
|
-
return null;
|
|
4705
|
-
}
|
|
4706
|
-
if (!viewElement) {
|
|
4707
|
-
viewElement = view(content(rows, cells), className, renderWeekHeader);
|
|
4708
|
-
}
|
|
4709
|
-
return viewElement;
|
|
4710
|
-
};
|
|
4711
|
-
};
|
|
4712
|
-
const getScrollable = (element) => element.querySelector('.k-scrollable');
|
|
4713
|
-
const horizontal = element => {
|
|
4714
|
-
const scrollableElement = getScrollable(element);
|
|
4715
|
-
scrollableElement.classList.add('k-scrollable-horizontal');
|
|
4716
|
-
return element;
|
|
4717
|
-
};
|
|
4718
|
-
const monthView = viewFactory({ cells: 7, rows: 6 }, 'k-vstack k-calendar-view k-calendar-monthview', true);
|
|
4719
|
-
const yearView = viewFactory({ cells: 4, rows: 3 }, 'k-vstack k-calendar-view k-calendar-yearview', false);
|
|
4720
|
-
const decadeView = viewFactory({ cells: 4, rows: 3 }, 'k-vstack k-calendar-view k-calendar-decadeview', false);
|
|
4721
|
-
const horzMonthView = () => horizontal(monthView());
|
|
4722
|
-
const horzYearView = () => horizontal(yearView());
|
|
4723
|
-
const horzDecadeView = () => horizontal(decadeView());
|
|
4724
|
-
const height = (element) => (parseFloat(window.getComputedStyle(element).height) || element.offsetHeight);
|
|
4725
|
-
const width = (element) => {
|
|
4726
|
-
const styles = window.getComputedStyle(element);
|
|
4727
|
-
const computed = parseFloat(styles.width)
|
|
4728
|
-
+ parseFloat(styles.paddingLeft)
|
|
4729
|
-
+ parseFloat(styles.paddingRight);
|
|
4730
|
-
return computed || element.offsetWidth;
|
|
4731
|
-
};
|
|
4732
|
-
const getBody = (element) => element.querySelector('tbody');
|
|
4733
|
-
/**
|
|
4734
|
-
* @hidden
|
|
4735
|
-
*/
|
|
4736
|
-
class CalendarDOMService {
|
|
4737
|
-
ensureHeights() {
|
|
4738
|
-
if (this.calendarHeight !== undefined) {
|
|
4739
|
-
return;
|
|
4740
|
-
}
|
|
4741
|
-
this.calculateHeights();
|
|
4742
|
-
}
|
|
4743
|
-
calculateHeights(container) {
|
|
4744
|
-
if (!isDocumentAvailable()) {
|
|
4745
|
-
return;
|
|
4746
|
-
}
|
|
4747
|
-
this.hostContainer = container;
|
|
4748
|
-
this.batch(monthView(), (contentElement) => {
|
|
4749
|
-
const viewElement = getBody(contentElement);
|
|
4750
|
-
this.calendarHeight = height(contentElement);
|
|
4751
|
-
this.monthViewHeight = height(viewElement);
|
|
4752
|
-
this.headerHeight = height(viewElement.children[0]);
|
|
4753
|
-
this.scrollableContentHeight = height(getScrollable(contentElement));
|
|
4754
|
-
});
|
|
4755
|
-
this.batch(horzMonthView(), (contentElement) => {
|
|
4756
|
-
const viewElement = getBody(contentElement);
|
|
4757
|
-
this.calendarWidth = width(contentElement);
|
|
4758
|
-
this.monthViewWidth = width(viewElement);
|
|
4759
|
-
this.scrollableContentWidth = width(getScrollable(contentElement));
|
|
4760
|
-
});
|
|
4761
|
-
this.batch(yearView(), (contentElement) => {
|
|
4762
|
-
this.yearViewHeight = height(getBody(contentElement));
|
|
4763
|
-
this.scrollableYearContentHeight = height(getScrollable(contentElement));
|
|
4764
|
-
});
|
|
4765
|
-
this.batch(horzYearView(), (contentElement) => {
|
|
4766
|
-
this.yearViewWidth = width(getBody(contentElement));
|
|
4767
|
-
});
|
|
4768
|
-
this.batch(decadeView(), (contentElement) => {
|
|
4769
|
-
this.decadeViewHeight = height(getBody(contentElement));
|
|
4770
|
-
this.centuryViewHeight = this.decadeViewHeight;
|
|
4771
|
-
});
|
|
4772
|
-
this.batch(horzDecadeView(), (contentElement) => {
|
|
4773
|
-
this.decadeViewWidth = width(getBody(contentElement));
|
|
4774
|
-
this.centuryViewWidth = this.decadeViewWidth;
|
|
4775
|
-
});
|
|
4776
|
-
this.batch(navigationList(), (contentElement) => {
|
|
4777
|
-
this.navigationItemHeight = height(contentElement.querySelector('li'));
|
|
4778
|
-
});
|
|
4779
|
-
}
|
|
4780
|
-
viewHeight(viewType) {
|
|
4781
|
-
return this.viewDimension(viewType, 'height');
|
|
4782
|
-
}
|
|
4783
|
-
viewWidth(viewType) {
|
|
4784
|
-
return this.viewDimension(viewType, 'width');
|
|
4785
|
-
}
|
|
4786
|
-
viewDimension(viewType, dimension) {
|
|
4787
|
-
const viewProp = dimension === 'height' ? 'ViewHeight' : 'ViewWidth';
|
|
4788
|
-
switch (viewType) {
|
|
4789
|
-
case CalendarViewEnum.month:
|
|
4790
|
-
return this[`month${viewProp}`];
|
|
4791
|
-
case CalendarViewEnum.year:
|
|
4792
|
-
return this[`year${viewProp}`];
|
|
4793
|
-
case CalendarViewEnum.decade:
|
|
4794
|
-
return this[`decade${viewProp}`];
|
|
4795
|
-
case CalendarViewEnum.century:
|
|
4796
|
-
return this[`century${viewProp}`];
|
|
4797
|
-
default:
|
|
4798
|
-
return 1;
|
|
4799
|
-
}
|
|
4800
|
-
}
|
|
4801
|
-
batch(contentElement, action) {
|
|
4802
|
-
if (!isPresent(this.hostContainer)) {
|
|
4803
|
-
return;
|
|
4804
|
-
}
|
|
4805
|
-
const hostClone = this.hostContainer.cloneNode();
|
|
4806
|
-
document.body.appendChild(hostClone);
|
|
4807
|
-
try {
|
|
4808
|
-
const appendedContent = hostClone.appendChild(contentElement);
|
|
4809
|
-
action(appendedContent);
|
|
4810
|
-
}
|
|
4811
|
-
catch (error) {
|
|
4812
|
-
throw error;
|
|
4813
|
-
}
|
|
4814
|
-
finally {
|
|
4815
|
-
document.body.removeChild(hostClone);
|
|
4816
|
-
}
|
|
4817
|
-
}
|
|
4818
|
-
}
|
|
4819
|
-
CalendarDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CalendarDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4820
|
-
CalendarDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CalendarDOMService });
|
|
4821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CalendarDOMService, decorators: [{
|
|
4822
|
-
type: Injectable
|
|
4823
|
-
}] });
|
|
4824
|
-
|
|
4825
4823
|
/* eslint-disable @angular-eslint/component-selector */
|
|
4826
4824
|
const ITEMS_COUNT = 30;
|
|
4827
4825
|
/**
|
|
@@ -4919,8 +4917,8 @@ class NavigationComponent {
|
|
|
4919
4917
|
}
|
|
4920
4918
|
}
|
|
4921
4919
|
}
|
|
4922
|
-
NavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4923
|
-
NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4920
|
+
NavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationComponent, deps: [{ token: BusViewService }, { token: CalendarDOMService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
4921
|
+
NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: { activeView: "activeView", min: "min", max: "max", focusedDate: "focusedDate", templateRef: "templateRef" }, outputs: { valueChange: "valueChange", pageChange: "pageChange" }, host: { properties: { "class.k-calendar-navigation": "this.getComponentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
4924
4922
|
<span class="k-calendar-navigation-highlight"></span>
|
|
4925
4923
|
<kendo-virtualization
|
|
4926
4924
|
[skip]="skip"
|
|
@@ -4947,7 +4945,7 @@ NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4947
4945
|
</ul>
|
|
4948
4946
|
</kendo-virtualization>
|
|
4949
4947
|
`, isInline: true, components: [{ type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], directives: [{ type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationComponent, decorators: [{
|
|
4951
4949
|
type: Component,
|
|
4952
4950
|
args: [{
|
|
4953
4951
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -5167,8 +5165,8 @@ class ViewListComponent {
|
|
|
5167
5165
|
}
|
|
5168
5166
|
}
|
|
5169
5167
|
}
|
|
5170
|
-
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5171
|
-
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5168
|
+
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewListComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5169
|
+
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: { cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5172
5170
|
<kendo-calendar-header
|
|
5173
5171
|
[currentDate]="activeDate"
|
|
5174
5172
|
[min]="min"
|
|
@@ -5179,7 +5177,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5179
5177
|
(todayButtonClick)="todayButtonClick.emit($event)"
|
|
5180
5178
|
>
|
|
5181
5179
|
</kendo-calendar-header>
|
|
5182
|
-
<table class="k-calendar-weekdays k-calendar-table" style
|
|
5180
|
+
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'" *ngIf="isMonthView()">
|
|
5183
5181
|
<thead class="k-calendar-thead">
|
|
5184
5182
|
<tr class="k-calendar-tr">
|
|
5185
5183
|
<th class="k-calendar-th" *ngFor="let name of weekNames; let i = index;" scope="col" [attr.aria-label]="wideWeekNames[i]" role="columnheader">{{name}}</th>
|
|
@@ -5232,7 +5230,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5232
5230
|
</table>
|
|
5233
5231
|
</kendo-virtualization>
|
|
5234
5232
|
`, isInline: true, components: [{ type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
5236
5234
|
type: Component,
|
|
5237
5235
|
args: [{
|
|
5238
5236
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -5248,7 +5246,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5248
5246
|
(todayButtonClick)="todayButtonClick.emit($event)"
|
|
5249
5247
|
>
|
|
5250
5248
|
</kendo-calendar-header>
|
|
5251
|
-
<table class="k-calendar-weekdays k-calendar-table" style
|
|
5249
|
+
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'" *ngIf="isMonthView()">
|
|
5252
5250
|
<thead class="k-calendar-thead">
|
|
5253
5251
|
<tr class="k-calendar-tr">
|
|
5254
5252
|
<th class="k-calendar-th" *ngFor="let name of weekNames; let i = index;" scope="col" [attr.aria-label]="wideWeekNames[i]" role="columnheader">{{name}}</th>
|
|
@@ -5440,9 +5438,9 @@ class ScrollSyncService {
|
|
|
5440
5438
|
}
|
|
5441
5439
|
}
|
|
5442
5440
|
}
|
|
5443
|
-
ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5444
|
-
ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5441
|
+
ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService, deps: [{ token: CalendarDOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5442
|
+
ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService });
|
|
5443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService, decorators: [{
|
|
5446
5444
|
type: Injectable
|
|
5447
5445
|
}], ctorParameters: function () { return [{ type: CalendarDOMService }, { type: i0.NgZone }]; } });
|
|
5448
5446
|
|
|
@@ -5476,9 +5474,9 @@ class NavigationItemTemplateDirective {
|
|
|
5476
5474
|
this.templateRef = templateRef;
|
|
5477
5475
|
}
|
|
5478
5476
|
}
|
|
5479
|
-
NavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5480
|
-
NavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5477
|
+
NavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5478
|
+
NavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NavigationItemTemplateDirective, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
|
|
5479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
|
|
5482
5480
|
type: Directive,
|
|
5483
5481
|
args: [{
|
|
5484
5482
|
selector: '[kendoCalendarNavigationItemTemplate]'
|
|
@@ -5509,14 +5507,14 @@ class MultiViewCalendarCustomMessagesComponent extends Messages$1 {
|
|
|
5509
5507
|
return true;
|
|
5510
5508
|
}
|
|
5511
5509
|
}
|
|
5512
|
-
MultiViewCalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5513
|
-
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5510
|
+
MultiViewCalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5511
|
+
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
5514
5512
|
{
|
|
5515
5513
|
provide: Messages$1,
|
|
5516
5514
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
5517
5515
|
}
|
|
5518
5516
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
5519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, decorators: [{
|
|
5520
5518
|
type: Component,
|
|
5521
5519
|
args: [{
|
|
5522
5520
|
providers: [
|
|
@@ -5535,9 +5533,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5535
5533
|
*/
|
|
5536
5534
|
class CalendarMessages extends ComponentMessages {
|
|
5537
5535
|
}
|
|
5538
|
-
CalendarMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5539
|
-
CalendarMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5536
|
+
CalendarMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5537
|
+
CalendarMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CalendarMessages, selector: "kendo-calendar-messages-base", inputs: { today: "today", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
5538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarMessages, decorators: [{
|
|
5541
5539
|
type: Directive,
|
|
5542
5540
|
args: [{
|
|
5543
5541
|
// eslint-disable-next-line
|
|
@@ -5562,14 +5560,14 @@ class CalendarLocalizedMessagesDirective extends CalendarMessages {
|
|
|
5562
5560
|
this.service = service;
|
|
5563
5561
|
}
|
|
5564
5562
|
}
|
|
5565
|
-
CalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5566
|
-
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5563
|
+
CalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5564
|
+
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]", providers: [
|
|
5567
5565
|
{
|
|
5568
5566
|
provide: CalendarMessages,
|
|
5569
5567
|
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective)
|
|
5570
5568
|
}
|
|
5571
5569
|
], usesInheritance: true, ngImport: i0 });
|
|
5572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarLocalizedMessagesDirective, decorators: [{
|
|
5573
5571
|
type: Directive,
|
|
5574
5572
|
args: [{
|
|
5575
5573
|
providers: [
|
|
@@ -5781,15 +5779,15 @@ class CalendarComponent {
|
|
|
5781
5779
|
this._focusedDate = focusedDate || getToday();
|
|
5782
5780
|
this.setAriaActivedescendant();
|
|
5783
5781
|
}
|
|
5782
|
+
get focusedDate() {
|
|
5783
|
+
return this._focusedDate;
|
|
5784
|
+
}
|
|
5784
5785
|
/**
|
|
5785
5786
|
* @hidden
|
|
5786
5787
|
*/
|
|
5787
5788
|
get headerId() {
|
|
5788
5789
|
return this.id + '-header';
|
|
5789
5790
|
}
|
|
5790
|
-
get focusedDate() {
|
|
5791
|
-
return this._focusedDate;
|
|
5792
|
-
}
|
|
5793
5791
|
/**
|
|
5794
5792
|
* Sets or gets the `min` property of the Calendar and
|
|
5795
5793
|
* defines the minimum allowed date value
|
|
@@ -6067,11 +6065,10 @@ class CalendarComponent {
|
|
|
6067
6065
|
* ```
|
|
6068
6066
|
*/
|
|
6069
6067
|
focus() {
|
|
6070
|
-
var _a, _b, _c;
|
|
6071
6068
|
this.currentlyFocusedElement = this.type === 'infinite' ?
|
|
6072
|
-
|
|
6073
|
-
this.currentlyFocusedElement =
|
|
6074
|
-
|
|
6069
|
+
this.element?.nativeElement.querySelector(selectors.infiniteCalendarTable) :
|
|
6070
|
+
this.currentlyFocusedElement = this.element?.nativeElement.querySelector(selectors.multiViewCalendarTable);
|
|
6071
|
+
this.currentlyFocusedElement?.focus();
|
|
6075
6072
|
}
|
|
6076
6073
|
/**
|
|
6077
6074
|
* Blurs the Calendar component.
|
|
@@ -6422,9 +6419,8 @@ class CalendarComponent {
|
|
|
6422
6419
|
}
|
|
6423
6420
|
}
|
|
6424
6421
|
setAriaActivedescendant() {
|
|
6425
|
-
var _a;
|
|
6426
6422
|
// in Classic mode, the inner MultiViewCalendar handles the activedescendant
|
|
6427
|
-
const infiniteCalendarTable =
|
|
6423
|
+
const infiniteCalendarTable = this.element.nativeElement?.querySelector(selectors.infiniteCalendarTable);
|
|
6428
6424
|
const activedescendantHandledByInnerMultiViewCalendar = !isPresent(infiniteCalendarTable) || (this.type === 'classic' && !infiniteCalendarTable.hasAttribute(attributeNames.ariaActiveDescendant));
|
|
6429
6425
|
if (activedescendantHandledByInnerMultiViewCalendar) {
|
|
6430
6426
|
return;
|
|
@@ -6456,8 +6452,8 @@ class CalendarComponent {
|
|
|
6456
6452
|
});
|
|
6457
6453
|
}
|
|
6458
6454
|
}
|
|
6459
|
-
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6460
|
-
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6455
|
+
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarComponent, deps: [{ token: BusViewService }, { token: CalendarDOMService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: ScrollSyncService }, { token: DisabledDatesService }, { token: i1$1.LocalizationService }, { token: SelectionService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
6456
|
+
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CalendarComponent, selector: "kendo-calendar", inputs: { id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", selection: "selection", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
6461
6457
|
BusViewService,
|
|
6462
6458
|
CALENDAR_VALUE_ACCESSOR,
|
|
6463
6459
|
CALENDAR_RANGE_VALIDATORS,
|
|
@@ -6571,7 +6567,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
6571
6567
|
</kendo-multiviewcalendar>
|
|
6572
6568
|
</ng-container>
|
|
6573
6569
|
`, isInline: true, components: [{ type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { type: i5.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: 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"], exportAs: ["kendo-multiviewcalendar"] }, { type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
6575
6571
|
type: Component,
|
|
6576
6572
|
args: [{
|
|
6577
6573
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6845,9 +6841,9 @@ var Arrow;
|
|
|
6845
6841
|
*/
|
|
6846
6842
|
class DateInputMessages extends ComponentMessages {
|
|
6847
6843
|
}
|
|
6848
|
-
DateInputMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6849
|
-
DateInputMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6844
|
+
DateInputMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6845
|
+
DateInputMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateInputMessages, selector: "kendo-dateinput-messages-base", inputs: { decrement: "decrement", increment: "increment" }, usesInheritance: true, ngImport: i0 });
|
|
6846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputMessages, decorators: [{
|
|
6851
6847
|
type: Directive,
|
|
6852
6848
|
args: [{
|
|
6853
6849
|
// eslint-disable-next-line
|
|
@@ -6868,14 +6864,14 @@ class DateInputLocalizedMessagesDirective extends DateInputMessages {
|
|
|
6868
6864
|
this.service = service;
|
|
6869
6865
|
}
|
|
6870
6866
|
}
|
|
6871
|
-
DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6872
|
-
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6867
|
+
DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6868
|
+
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
6873
6869
|
{
|
|
6874
6870
|
provide: DateInputMessages,
|
|
6875
6871
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
6876
6872
|
}
|
|
6877
6873
|
], usesInheritance: true, ngImport: i0 });
|
|
6878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputLocalizedMessagesDirective, decorators: [{
|
|
6879
6875
|
type: Directive,
|
|
6880
6876
|
args: [{
|
|
6881
6877
|
providers: [
|
|
@@ -7061,9 +7057,9 @@ class KendoDate {
|
|
|
7061
7057
|
this.setExisting(symbol, false);
|
|
7062
7058
|
return { value: null, switchToNext: false };
|
|
7063
7059
|
}
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7060
|
+
const baseDate = this.intl.formatDate(this.value, this.format);
|
|
7061
|
+
const dateParts = this.dateFormatString(this.value, this.format);
|
|
7062
|
+
const baseFormat = dateParts.symbols;
|
|
7067
7063
|
let replaced = false;
|
|
7068
7064
|
let prefix = "";
|
|
7069
7065
|
let current = "";
|
|
@@ -7080,14 +7076,14 @@ class KendoDate {
|
|
|
7080
7076
|
suffix += baseDate[i];
|
|
7081
7077
|
}
|
|
7082
7078
|
}
|
|
7083
|
-
|
|
7079
|
+
const currentMaxLength = current.length - 3;
|
|
7084
7080
|
let parsedDate = null;
|
|
7085
7081
|
const month = this.matchMonth(currentChar);
|
|
7086
7082
|
const dayPeriod = this.matchDayPeriod(currentChar, symbol);
|
|
7087
7083
|
const isZeroCurrentChar = currentChar === '0';
|
|
7088
7084
|
const leadingZero = (this.leadingZero || {})[symbol] || 0;
|
|
7089
7085
|
if (isZeroCurrentChar) {
|
|
7090
|
-
|
|
7086
|
+
const valueNumber = parseInt(resetSegmentValue ? currentChar : current + currentChar, 10);
|
|
7091
7087
|
if (valueNumber === 0 && !this.isAbbrMonth(dateParts.partMap, symbol)) {
|
|
7092
7088
|
this.incrementLeadingZero(symbol);
|
|
7093
7089
|
}
|
|
@@ -7102,7 +7098,7 @@ class KendoDate {
|
|
|
7102
7098
|
const padding = msPaddingFromFormat(baseFormat);
|
|
7103
7099
|
middle = padding + middle;
|
|
7104
7100
|
}
|
|
7105
|
-
|
|
7101
|
+
const middleNumber = parseInt(middle, 10);
|
|
7106
7102
|
parsedDate = this.intl.parseDate(prefix + middle + suffix, this.format);
|
|
7107
7103
|
if (!parsedDate && !isNaN(middleNumber) && !isNaN(parseInt(currentChar, 10))) {
|
|
7108
7104
|
if (symbol === 'M' && !month) {
|
|
@@ -7271,7 +7267,7 @@ class KendoDate {
|
|
|
7271
7267
|
// Important: right to left.
|
|
7272
7268
|
let resultText = "";
|
|
7273
7269
|
let resultFormat = "";
|
|
7274
|
-
|
|
7270
|
+
const format = mask.symbols;
|
|
7275
7271
|
for (let r = format.length - 1; r >= 0; r--) {
|
|
7276
7272
|
if (this.knownParts.indexOf(format[r]) === -1 || this.getExisting(format[r])) {
|
|
7277
7273
|
resultText = text[r] + resultText;
|
|
@@ -7670,7 +7666,7 @@ class DateInputComponent {
|
|
|
7670
7666
|
*/
|
|
7671
7667
|
get formControl() {
|
|
7672
7668
|
const ngControl = this.injector.get(NgControl, null);
|
|
7673
|
-
return
|
|
7669
|
+
return ngControl?.control || null;
|
|
7674
7670
|
}
|
|
7675
7671
|
get inputFormat() {
|
|
7676
7672
|
if (!this.format) {
|
|
@@ -7727,28 +7723,27 @@ class DateInputComponent {
|
|
|
7727
7723
|
*/
|
|
7728
7724
|
ngOnChanges(changes) {
|
|
7729
7725
|
this.verifyRange();
|
|
7730
|
-
if (changes
|
|
7726
|
+
if (changes['min'] || changes['max'] || changes['rangeValidation'] || changes['incompleteDateValidation']) {
|
|
7731
7727
|
this.minValidator = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
7732
7728
|
this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
7733
7729
|
this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop$2;
|
|
7734
7730
|
this.onValidatorChange();
|
|
7735
7731
|
}
|
|
7736
|
-
if (changes
|
|
7732
|
+
if (changes['format']) {
|
|
7737
7733
|
this.symbolsMap = this.dateSymbolMap();
|
|
7738
7734
|
this.updateFormatSections();
|
|
7739
7735
|
}
|
|
7740
7736
|
const isEqualToKendoDate = this.kendoDate && isEqual(this.value, this.kendoDate.getDateObject());
|
|
7741
|
-
if (changes
|
|
7737
|
+
if (changes['format'] || !isEqualToKendoDate || changes['placeholder']) {
|
|
7742
7738
|
this.kendoDate = this.getKendoDate(this.value);
|
|
7743
7739
|
this.updateElementValue(this.isActive);
|
|
7744
7740
|
}
|
|
7745
7741
|
}
|
|
7746
7742
|
ngAfterViewInit() {
|
|
7747
|
-
var _a, _b;
|
|
7748
7743
|
this.setComponentClasses();
|
|
7749
|
-
const formControl =
|
|
7744
|
+
const formControl = this.injector.get(NgControl, null)?.control;
|
|
7750
7745
|
this.control = formControl;
|
|
7751
|
-
this.subs.add(
|
|
7746
|
+
this.subs.add(this.formControl?.statusChanges.subscribe(() => this.setAriaInvalid()));
|
|
7752
7747
|
this.setAriaInvalid();
|
|
7753
7748
|
}
|
|
7754
7749
|
ngOnDestroy() {
|
|
@@ -8210,7 +8205,7 @@ class DateInputComponent {
|
|
|
8210
8205
|
switchPart = parsedPart.switchToNext;
|
|
8211
8206
|
}
|
|
8212
8207
|
const candidate = this.kendoDate.getDateObject();
|
|
8213
|
-
if (this.value && candidate && !this.formatSections
|
|
8208
|
+
if (this.value && candidate && !this.formatSections['date']) {
|
|
8214
8209
|
this.kendoDate = this.getKendoDate(setTime(this.value, candidate));
|
|
8215
8210
|
}
|
|
8216
8211
|
}
|
|
@@ -8280,8 +8275,8 @@ class DateInputComponent {
|
|
|
8280
8275
|
}
|
|
8281
8276
|
}
|
|
8282
8277
|
}
|
|
8283
|
-
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8284
|
-
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8278
|
+
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1$1.LocalizationService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8279
|
+
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateInputComponent, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrect: "autoCorrect", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
8285
8280
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8286
8281
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8287
8282
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
@@ -8351,7 +8346,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
8351
8346
|
</button>
|
|
8352
8347
|
</span>
|
|
8353
8348
|
`, isInline: true, directives: [{ type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
8355
8350
|
type: Component,
|
|
8356
8351
|
args: [{
|
|
8357
8352
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8570,14 +8565,14 @@ class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
|
8570
8565
|
return true;
|
|
8571
8566
|
}
|
|
8572
8567
|
}
|
|
8573
|
-
CalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8574
|
-
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8568
|
+
CalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8569
|
+
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages", providers: [
|
|
8575
8570
|
{
|
|
8576
8571
|
provide: CalendarMessages,
|
|
8577
8572
|
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
8578
8573
|
}
|
|
8579
8574
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
8580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCustomMessagesComponent, decorators: [{
|
|
8581
8576
|
type: Component,
|
|
8582
8577
|
args: [{
|
|
8583
8578
|
providers: [
|
|
@@ -8596,9 +8591,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8596
8591
|
*/
|
|
8597
8592
|
class DatePickerMessages extends ComponentMessages {
|
|
8598
8593
|
}
|
|
8599
|
-
DatePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8600
|
-
DatePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
8601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8594
|
+
DatePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
8595
|
+
DatePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerMessages, selector: "kendo-datepicker-messages-base", inputs: { today: "today", toggle: "toggle", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
8596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerMessages, decorators: [{
|
|
8602
8597
|
type: Directive,
|
|
8603
8598
|
args: [{
|
|
8604
8599
|
// eslint-disable-next-line
|
|
@@ -8623,14 +8618,14 @@ class DatePickerLocalizedMessagesDirective extends DatePickerMessages {
|
|
|
8623
8618
|
this.service = service;
|
|
8624
8619
|
}
|
|
8625
8620
|
}
|
|
8626
|
-
DatePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8627
|
-
DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
8621
|
+
DatePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8622
|
+
DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]", providers: [
|
|
8628
8623
|
{
|
|
8629
8624
|
provide: DatePickerMessages,
|
|
8630
8625
|
useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
|
|
8631
8626
|
}
|
|
8632
8627
|
], usesInheritance: true, ngImport: i0 });
|
|
8633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerLocalizedMessagesDirective, decorators: [{
|
|
8634
8629
|
type: Directive,
|
|
8635
8630
|
args: [{
|
|
8636
8631
|
providers: [
|
|
@@ -8994,11 +8989,11 @@ class DatePickerComponent {
|
|
|
8994
8989
|
*/
|
|
8995
8990
|
set size(size) {
|
|
8996
8991
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
8997
|
-
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('
|
|
8992
|
+
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
|
|
8998
8993
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
8999
8994
|
if (newSize !== 'none') {
|
|
9000
8995
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
9001
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('
|
|
8996
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
|
|
9002
8997
|
}
|
|
9003
8998
|
this._size = newSize;
|
|
9004
8999
|
}
|
|
@@ -9059,8 +9054,7 @@ class DatePickerComponent {
|
|
|
9059
9054
|
return this.disabled;
|
|
9060
9055
|
}
|
|
9061
9056
|
get popupUID() {
|
|
9062
|
-
|
|
9063
|
-
return (_a = this.calendar) === null || _a === void 0 ? void 0 : _a.popupId;
|
|
9057
|
+
return this.calendar?.popupId;
|
|
9064
9058
|
}
|
|
9065
9059
|
;
|
|
9066
9060
|
get isActive() {
|
|
@@ -9272,7 +9266,7 @@ class DatePickerComponent {
|
|
|
9272
9266
|
* @hidden
|
|
9273
9267
|
*/
|
|
9274
9268
|
handleInputChange(value) {
|
|
9275
|
-
this.handleChange(this.input.formatSections
|
|
9269
|
+
this.handleChange(this.input.formatSections['time'] ? value : this.mergeTime(value));
|
|
9276
9270
|
}
|
|
9277
9271
|
/**
|
|
9278
9272
|
* @hidden
|
|
@@ -9495,8 +9489,8 @@ class DatePickerComponent {
|
|
|
9495
9489
|
}
|
|
9496
9490
|
}
|
|
9497
9491
|
}
|
|
9498
|
-
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9499
|
-
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9492
|
+
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: DisabledDatesService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
9493
|
+
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", title: "title", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
9500
9494
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
9501
9495
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
9502
9496
|
{ provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
|
|
@@ -9600,7 +9594,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9600
9594
|
</kendo-calendar>
|
|
9601
9595
|
<ng-template>
|
|
9602
9596
|
`, isInline: true, components: [{ type: 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: CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
9604
9598
|
type: Component,
|
|
9605
9599
|
args: [{
|
|
9606
9600
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -9885,6 +9879,55 @@ const timeRangeValidator = (min, max) => {
|
|
|
9885
9879
|
};
|
|
9886
9880
|
};
|
|
9887
9881
|
|
|
9882
|
+
const div = domContainerFactory('div');
|
|
9883
|
+
const ul = domContainerFactory('ul');
|
|
9884
|
+
const li = domContainerFactory('li');
|
|
9885
|
+
const span = domContainerFactory('span');
|
|
9886
|
+
const listTitle = () => span('hour', 'k-title k-timeselector-title');
|
|
9887
|
+
const listItem = () => li('<span>02</span>', 'k-item');
|
|
9888
|
+
const list = () => ul([listItem()], 'k-reset');
|
|
9889
|
+
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-scrollable'));
|
|
9890
|
+
const timeListWrapper = () => {
|
|
9891
|
+
if (!isDocumentAvailable()) {
|
|
9892
|
+
return null;
|
|
9893
|
+
}
|
|
9894
|
+
return div([listTitle(), div([scrollable()], 'k-time-list')], 'k-time-list-wrapper', { left: '-10000px', position: 'absolute' });
|
|
9895
|
+
};
|
|
9896
|
+
const TIMELIST_WRAPPER = timeListWrapper();
|
|
9897
|
+
/**
|
|
9898
|
+
* @hidden
|
|
9899
|
+
*/
|
|
9900
|
+
class TimePickerDOMService {
|
|
9901
|
+
ensureHeights() {
|
|
9902
|
+
if (this.timeListHeight !== undefined) {
|
|
9903
|
+
return;
|
|
9904
|
+
}
|
|
9905
|
+
this.calculateHeights();
|
|
9906
|
+
}
|
|
9907
|
+
calculateHeights(container) {
|
|
9908
|
+
if (!isDocumentAvailable()) {
|
|
9909
|
+
return;
|
|
9910
|
+
}
|
|
9911
|
+
const listContainer = container && container.querySelector('.k-time-list-container');
|
|
9912
|
+
const hostContainer = listContainer || document.body;
|
|
9913
|
+
const wrapper = hostContainer.appendChild(TIMELIST_WRAPPER);
|
|
9914
|
+
this.timeListHeight = wrapper.querySelector('.k-scrollable').getBoundingClientRect().height;
|
|
9915
|
+
this.itemHeight = wrapper.querySelector('li').getBoundingClientRect().height;
|
|
9916
|
+
hostContainer.removeChild(wrapper);
|
|
9917
|
+
}
|
|
9918
|
+
isActive(element) {
|
|
9919
|
+
if (!isDocumentAvailable() || !element) {
|
|
9920
|
+
return false;
|
|
9921
|
+
}
|
|
9922
|
+
return (element.nativeElement || element) === document.activeElement;
|
|
9923
|
+
}
|
|
9924
|
+
}
|
|
9925
|
+
TimePickerDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9926
|
+
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService });
|
|
9927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
9928
|
+
type: Injectable
|
|
9929
|
+
}] });
|
|
9930
|
+
|
|
9888
9931
|
const HOURS_IN_DAY = 24;
|
|
9889
9932
|
const clampToRange$3 = (rangeValue) => (value) => value % rangeValue;
|
|
9890
9933
|
const clamp$3 = clampToRange$3(HOURS_IN_DAY);
|
|
@@ -9991,9 +10034,9 @@ class HoursService {
|
|
|
9991
10034
|
return [min.getHours(), max.getHours()];
|
|
9992
10035
|
}
|
|
9993
10036
|
}
|
|
9994
|
-
HoursService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9995
|
-
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10037
|
+
HoursService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10038
|
+
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService });
|
|
10039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService, decorators: [{
|
|
9997
10040
|
type: Injectable
|
|
9998
10041
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
9999
10042
|
|
|
@@ -10101,9 +10144,9 @@ class MinutesService {
|
|
|
10101
10144
|
return [min.getMinutes(), max.getMinutes()];
|
|
10102
10145
|
}
|
|
10103
10146
|
}
|
|
10104
|
-
MinutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10105
|
-
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10147
|
+
MinutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10148
|
+
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService });
|
|
10149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService, decorators: [{
|
|
10107
10150
|
type: Injectable
|
|
10108
10151
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10109
10152
|
|
|
@@ -10211,9 +10254,9 @@ class SecondsService {
|
|
|
10211
10254
|
return [min.getSeconds(), max.getSeconds()];
|
|
10212
10255
|
}
|
|
10213
10256
|
}
|
|
10214
|
-
SecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10215
|
-
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10257
|
+
SecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10258
|
+
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService });
|
|
10259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService, decorators: [{
|
|
10217
10260
|
type: Injectable
|
|
10218
10261
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10219
10262
|
|
|
@@ -10324,9 +10367,9 @@ class MillisecondsService {
|
|
|
10324
10367
|
return [min.getMilliseconds(), max.getMilliseconds()];
|
|
10325
10368
|
}
|
|
10326
10369
|
}
|
|
10327
|
-
MillisecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10328
|
-
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10370
|
+
MillisecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10371
|
+
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService });
|
|
10372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
10330
10373
|
type: Injectable
|
|
10331
10374
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10332
10375
|
|
|
@@ -10440,61 +10483,12 @@ class DayPeriodService {
|
|
|
10440
10483
|
];
|
|
10441
10484
|
}
|
|
10442
10485
|
}
|
|
10443
|
-
DayPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10444
|
-
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10486
|
+
DayPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10487
|
+
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService });
|
|
10488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
10446
10489
|
type: Injectable
|
|
10447
10490
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10448
10491
|
|
|
10449
|
-
const div = domContainerFactory('div');
|
|
10450
|
-
const ul = domContainerFactory('ul');
|
|
10451
|
-
const li = domContainerFactory('li');
|
|
10452
|
-
const span = domContainerFactory('span');
|
|
10453
|
-
const listTitle = () => span('hour', 'k-title k-timeselector-title');
|
|
10454
|
-
const listItem = () => li('<span>02</span>', 'k-item');
|
|
10455
|
-
const list = () => ul([listItem()], 'k-reset');
|
|
10456
|
-
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-scrollable'));
|
|
10457
|
-
const timeListWrapper = () => {
|
|
10458
|
-
if (!isDocumentAvailable()) {
|
|
10459
|
-
return null;
|
|
10460
|
-
}
|
|
10461
|
-
return div([listTitle(), div([scrollable()], 'k-time-list')], 'k-time-list-wrapper', { left: '-10000px', position: 'absolute' });
|
|
10462
|
-
};
|
|
10463
|
-
const TIMELIST_WRAPPER = timeListWrapper();
|
|
10464
|
-
/**
|
|
10465
|
-
* @hidden
|
|
10466
|
-
*/
|
|
10467
|
-
class TimePickerDOMService {
|
|
10468
|
-
ensureHeights() {
|
|
10469
|
-
if (this.timeListHeight !== undefined) {
|
|
10470
|
-
return;
|
|
10471
|
-
}
|
|
10472
|
-
this.calculateHeights();
|
|
10473
|
-
}
|
|
10474
|
-
calculateHeights(container) {
|
|
10475
|
-
if (!isDocumentAvailable()) {
|
|
10476
|
-
return;
|
|
10477
|
-
}
|
|
10478
|
-
const listContainer = container && container.querySelector('.k-time-list-container');
|
|
10479
|
-
const hostContainer = listContainer || document.body;
|
|
10480
|
-
const wrapper = hostContainer.appendChild(TIMELIST_WRAPPER);
|
|
10481
|
-
this.timeListHeight = wrapper.querySelector('.k-scrollable').getBoundingClientRect().height;
|
|
10482
|
-
this.itemHeight = wrapper.querySelector('li').getBoundingClientRect().height;
|
|
10483
|
-
hostContainer.removeChild(wrapper);
|
|
10484
|
-
}
|
|
10485
|
-
isActive(element) {
|
|
10486
|
-
if (!isDocumentAvailable() || !element) {
|
|
10487
|
-
return false;
|
|
10488
|
-
}
|
|
10489
|
-
return (element.nativeElement || element) === document.activeElement;
|
|
10490
|
-
}
|
|
10491
|
-
}
|
|
10492
|
-
TimePickerDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimePickerDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10493
|
-
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimePickerDOMService });
|
|
10494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
10495
|
-
type: Injectable
|
|
10496
|
-
}] });
|
|
10497
|
-
|
|
10498
10492
|
/* eslint-disable @angular-eslint/component-selector */
|
|
10499
10493
|
const SNAP_THRESHOLD = 0.05; //% of the item height
|
|
10500
10494
|
const SCROLL_THRESHOLD = 2; //< 2px threshold
|
|
@@ -10541,15 +10535,13 @@ class TimeListComponent {
|
|
|
10541
10535
|
return 'listbox';
|
|
10542
10536
|
}
|
|
10543
10537
|
get ariaLabel() {
|
|
10544
|
-
|
|
10545
|
-
return this.localization.get((_a = this.part) === null || _a === void 0 ? void 0 : _a.type);
|
|
10538
|
+
return this.localization.get(this.part?.type);
|
|
10546
10539
|
}
|
|
10547
10540
|
get tabIndex() {
|
|
10548
10541
|
return this.disabled ? undefined : 0;
|
|
10549
10542
|
}
|
|
10550
10543
|
get isDayPeriod() {
|
|
10551
|
-
|
|
10552
|
-
return ((_a = this.part) === null || _a === void 0 ? void 0 : _a.type) === 'dayperiod';
|
|
10544
|
+
return this.part?.type === 'dayperiod';
|
|
10553
10545
|
}
|
|
10554
10546
|
get currentSelectedIndex() {
|
|
10555
10547
|
return this.selectedIndex(this.value);
|
|
@@ -10725,8 +10717,8 @@ class TimeListComponent {
|
|
|
10725
10717
|
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)));
|
|
10726
10718
|
}
|
|
10727
10719
|
}
|
|
10728
|
-
TimeListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10729
|
-
TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
10720
|
+
TimeListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeListComponent, deps: [{ token: i0.ElementRef }, { token: i0.Injector }, { token: TimePickerDOMService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10721
|
+
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: `
|
|
10730
10722
|
<kendo-virtualization
|
|
10731
10723
|
[skip]="skip"
|
|
10732
10724
|
[take]="total"
|
|
@@ -10756,7 +10748,7 @@ TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
10756
10748
|
</ul>
|
|
10757
10749
|
</kendo-virtualization>
|
|
10758
10750
|
`, isInline: true, components: [{ type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], directives: [{ type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
10759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeListComponent, decorators: [{
|
|
10760
10752
|
type: Component,
|
|
10761
10753
|
args: [{
|
|
10762
10754
|
selector: 'kendo-timelist',
|
|
@@ -10892,9 +10884,9 @@ const snapTime = snappers => (candidate, min) => {
|
|
|
10892
10884
|
*/
|
|
10893
10885
|
class TimePickerMessages extends ComponentMessages {
|
|
10894
10886
|
}
|
|
10895
|
-
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10896
|
-
TimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10887
|
+
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
10888
|
+
TimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerMessages, selector: "kendo-timepicker-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", now: "now", nowLabel: "nowLabel", toggle: "toggle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod" }, usesInheritance: true, ngImport: i0 });
|
|
10889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
10898
10890
|
type: Directive,
|
|
10899
10891
|
args: [{
|
|
10900
10892
|
// eslint-disable-next-line
|
|
@@ -10935,14 +10927,14 @@ class TimeSelectorLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
10935
10927
|
this.service = service;
|
|
10936
10928
|
}
|
|
10937
10929
|
}
|
|
10938
|
-
TimeSelectorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10939
|
-
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10930
|
+
TimeSelectorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10931
|
+
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
10940
10932
|
{
|
|
10941
10933
|
provide: TimePickerMessages,
|
|
10942
10934
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
10943
10935
|
}
|
|
10944
10936
|
], usesInheritance: true, ngImport: i0 });
|
|
10945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, decorators: [{
|
|
10946
10938
|
type: Directive,
|
|
10947
10939
|
args: [{
|
|
10948
10940
|
providers: [
|
|
@@ -11303,8 +11295,8 @@ class TimeSelectorComponent {
|
|
|
11303
11295
|
return listIdx;
|
|
11304
11296
|
}
|
|
11305
11297
|
}
|
|
11306
|
-
TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11307
|
-
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11298
|
+
TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.IntlService }, { token: TimePickerDOMService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11299
|
+
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: [
|
|
11308
11300
|
LocalizationService,
|
|
11309
11301
|
{
|
|
11310
11302
|
provide: L10N_PREFIX,
|
|
@@ -11414,7 +11406,7 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11414
11406
|
>{{localization.get('accept')}}</button>
|
|
11415
11407
|
</div>
|
|
11416
11408
|
`, isInline: true, components: [{ type: TimeListComponent, selector: "kendo-timelist", inputs: ["min", "max", "part", "step", "disabled", "value"], outputs: ["valueChange"] }], directives: [{ type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorComponent, decorators: [{
|
|
11418
11410
|
type: Component,
|
|
11419
11411
|
args: [{
|
|
11420
11412
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -11590,14 +11582,14 @@ class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
|
11590
11582
|
return true;
|
|
11591
11583
|
}
|
|
11592
11584
|
}
|
|
11593
|
-
TimeSelectorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11594
|
-
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11585
|
+
TimeSelectorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11586
|
+
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages", providers: [
|
|
11595
11587
|
{
|
|
11596
11588
|
provide: TimePickerMessages,
|
|
11597
11589
|
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
11598
11590
|
}
|
|
11599
11591
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
11600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
11601
11593
|
type: Component,
|
|
11602
11594
|
args: [{
|
|
11603
11595
|
providers: [
|
|
@@ -11620,14 +11612,14 @@ class TimePickerLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
11620
11612
|
this.service = service;
|
|
11621
11613
|
}
|
|
11622
11614
|
}
|
|
11623
|
-
TimePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11624
|
-
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11615
|
+
TimePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11616
|
+
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
11625
11617
|
{
|
|
11626
11618
|
provide: TimePickerMessages,
|
|
11627
11619
|
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
11628
11620
|
}
|
|
11629
11621
|
], usesInheritance: true, ngImport: i0 });
|
|
11630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
11631
11623
|
type: Directive,
|
|
11632
11624
|
args: [{
|
|
11633
11625
|
providers: [
|
|
@@ -11910,11 +11902,11 @@ class TimePickerComponent {
|
|
|
11910
11902
|
*/
|
|
11911
11903
|
set size(size) {
|
|
11912
11904
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
11913
|
-
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('
|
|
11905
|
+
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
|
|
11914
11906
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
11915
11907
|
if (newSize !== 'none') {
|
|
11916
11908
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
11917
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('
|
|
11909
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
|
|
11918
11910
|
}
|
|
11919
11911
|
this._size = newSize;
|
|
11920
11912
|
}
|
|
@@ -12218,7 +12210,7 @@ class TimePickerComponent {
|
|
|
12218
12210
|
* @hidden
|
|
12219
12211
|
*/
|
|
12220
12212
|
handleInputChange(value) {
|
|
12221
|
-
const val = this.input.formatSections
|
|
12213
|
+
const val = this.input.formatSections['date'] ? value : this.mergeTime(value);
|
|
12222
12214
|
this.handleChange(val);
|
|
12223
12215
|
}
|
|
12224
12216
|
/**
|
|
@@ -12414,8 +12406,8 @@ class TimePickerComponent {
|
|
|
12414
12406
|
}
|
|
12415
12407
|
}
|
|
12416
12408
|
}
|
|
12417
|
-
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12418
|
-
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
12409
|
+
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerComponent, deps: [{ token: BusViewService }, { token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: i1.IntlService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
12410
|
+
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerComponent, selector: "kendo-timepicker", inputs: { 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: [
|
|
12419
12411
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
12420
12412
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
12421
12413
|
{ provide: KendoInput, useExisting: forwardRef(() => TimePickerComponent) },
|
|
@@ -12540,7 +12532,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12540
12532
|
</ng-template>
|
|
12541
12533
|
<ng-container #container></ng-container>
|
|
12542
12534
|
`, isInline: true, components: [{ type: 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: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "steps", "value"], outputs: ["valueChange", "valueReject"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
12544
12536
|
type: Component,
|
|
12545
12537
|
args: [{
|
|
12546
12538
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -12757,9 +12749,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12757
12749
|
*/
|
|
12758
12750
|
class Messages extends ComponentMessages {
|
|
12759
12751
|
}
|
|
12760
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12761
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
12762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12752
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
12753
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, selector: "kendo-datetimepicker-messages-base", inputs: { toggle: "toggle", dateTab: "dateTab", dateTabLabel: "dateTabLabel", timeTab: "timeTab", timeTabLabel: "timeTabLabel", accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", today: "today", now: "now", nowLabel: "nowLabel", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
12754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
12763
12755
|
type: Directive,
|
|
12764
12756
|
args: [{
|
|
12765
12757
|
// eslint-disable-next-line
|
|
@@ -12804,14 +12796,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
12804
12796
|
this.service = service;
|
|
12805
12797
|
}
|
|
12806
12798
|
}
|
|
12807
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12808
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
12799
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12800
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
12809
12801
|
{
|
|
12810
12802
|
provide: Messages,
|
|
12811
12803
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
12812
12804
|
}
|
|
12813
12805
|
], usesInheritance: true, ngImport: i0 });
|
|
12814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
12815
12807
|
type: Directive,
|
|
12816
12808
|
args: [{
|
|
12817
12809
|
providers: [
|
|
@@ -13186,11 +13178,11 @@ class DateTimePickerComponent {
|
|
|
13186
13178
|
*/
|
|
13187
13179
|
set size(size) {
|
|
13188
13180
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
13189
|
-
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('
|
|
13181
|
+
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
|
|
13190
13182
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
13191
13183
|
if (newSize !== 'none') {
|
|
13192
13184
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
13193
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('
|
|
13185
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
|
|
13194
13186
|
}
|
|
13195
13187
|
this._size = newSize;
|
|
13196
13188
|
}
|
|
@@ -13291,8 +13283,7 @@ class DateTimePickerComponent {
|
|
|
13291
13283
|
return appendTo === 'component' ? this.container : appendTo;
|
|
13292
13284
|
}
|
|
13293
13285
|
get popupUID() {
|
|
13294
|
-
|
|
13295
|
-
return (_a = this.calendar) === null || _a === void 0 ? void 0 : _a.popupId;
|
|
13286
|
+
return this.calendar?.popupId;
|
|
13296
13287
|
}
|
|
13297
13288
|
;
|
|
13298
13289
|
ngOnInit() {
|
|
@@ -13312,10 +13303,10 @@ class DateTimePickerComponent {
|
|
|
13312
13303
|
this.setComponentClasses();
|
|
13313
13304
|
}
|
|
13314
13305
|
ngOnChanges(changes) {
|
|
13315
|
-
if (isPresent(changes
|
|
13306
|
+
if (isPresent(changes['min']) || isPresent(changes['max'])) {
|
|
13316
13307
|
this.verifyMinMaxRange();
|
|
13317
13308
|
}
|
|
13318
|
-
if (changes
|
|
13309
|
+
if (changes['min'] || changes['max'] || changes['rangeValidation'] || changes['disabledDatesValidation'] || changes['disabledDates'] || changes['incompleteDateValidation']) {
|
|
13319
13310
|
this.minValidateFn = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
13320
13311
|
this.maxValidateFn = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
13321
13312
|
this.disabledDatesValidateFn = this.disabledDatesValidation ? disabledDatesValidator(this.disabledDatesService.isDateDisabled) : noop$2;
|
|
@@ -13802,8 +13793,8 @@ class DateTimePickerComponent {
|
|
|
13802
13793
|
}
|
|
13803
13794
|
}
|
|
13804
13795
|
}
|
|
13805
|
-
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13806
|
-
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13796
|
+
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1$2.PopupService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }, { token: i1$1.LocalizationService }, { token: DisabledDatesService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
13797
|
+
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", tabindex: "tabindex", disabledDates: "disabledDates", popupSettings: "popupSettings", title: "title", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", cancelButton: "cancelButton", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", focusedDate: "focusedDate", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", weekNumber: "weekNumber", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", incompleteDateValidation: "incompleteDateValidation", defaultTab: "defaultTab", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
13807
13798
|
PickerService,
|
|
13808
13799
|
LocalizationService,
|
|
13809
13800
|
DisabledDatesService,
|
|
@@ -14057,7 +14048,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
14057
14048
|
</div>
|
|
14058
14049
|
</ng-template>
|
|
14059
14050
|
`, isInline: true, components: [{ type: 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: CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "steps", "value"], outputs: ["valueChange", "valueReject"], exportAs: ["kendo-timeselector"] }, { type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
14061
14052
|
type: Component,
|
|
14062
14053
|
args: [{
|
|
14063
14054
|
selector: 'kendo-datetimepicker',
|
|
@@ -14438,9 +14429,9 @@ class DateRangePopupTemplateDirective {
|
|
|
14438
14429
|
this.templateRef = templateRef;
|
|
14439
14430
|
}
|
|
14440
14431
|
}
|
|
14441
|
-
DateRangePopupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14442
|
-
DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14432
|
+
DateRangePopupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangePopupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14433
|
+
DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateRangePopupTemplateDirective, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
|
|
14434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
|
|
14444
14435
|
type: Directive,
|
|
14445
14436
|
args: [{
|
|
14446
14437
|
selector: '[kendoDateRangePopupTemplate]'
|
|
@@ -14655,9 +14646,9 @@ class DateRangeService {
|
|
|
14655
14646
|
this.range$.next(range);
|
|
14656
14647
|
}
|
|
14657
14648
|
}
|
|
14658
|
-
DateRangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14659
|
-
DateRangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14649
|
+
DateRangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeService, deps: [{ token: i0.Renderer2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14650
|
+
DateRangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeService });
|
|
14651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeService, decorators: [{
|
|
14661
14652
|
type: Injectable
|
|
14662
14653
|
}], ctorParameters: function () { return [{ type: i0.Renderer2, decorators: [{
|
|
14663
14654
|
type: Optional
|
|
@@ -14828,9 +14819,9 @@ class DateRangeSelectionDirective {
|
|
|
14828
14819
|
this.selectionRangeChange.emit(range);
|
|
14829
14820
|
}
|
|
14830
14821
|
}
|
|
14831
|
-
DateRangeSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14832
|
-
DateRangeSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14822
|
+
DateRangeSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeSelectionDirective, deps: [{ token: MultiViewCalendarComponent }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DateRangeService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14823
|
+
DateRangeSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
|
|
14824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
|
|
14834
14825
|
type: Directive,
|
|
14835
14826
|
args: [{
|
|
14836
14827
|
selector: '[kendoDateRangeSelection]'
|
|
@@ -15128,14 +15119,14 @@ class DateRangePopupComponent {
|
|
|
15128
15119
|
}
|
|
15129
15120
|
}
|
|
15130
15121
|
}
|
|
15131
|
-
DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15132
|
-
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15122
|
+
DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1$2.PopupService }, { token: DateRangeService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
15123
|
+
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: DateRangePopupTemplateDirective, descendants: true }, { propertyName: "contentCalendar", predicate: MultiViewCalendarComponent }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true }, { propertyName: "viewCalendar", predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-daterange-popup"], ngImport: i0, template: `
|
|
15133
15124
|
<ng-container #container></ng-container>
|
|
15134
15125
|
<ng-template #defaultTemplate>
|
|
15135
15126
|
<kendo-multiviewcalendar kendoDateRangeSelection></kendo-multiviewcalendar>
|
|
15136
15127
|
</ng-template>
|
|
15137
15128
|
`, isInline: true, components: [{ type: 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"], exportAs: ["kendo-multiviewcalendar"] }], directives: [{ type: DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: ["autoCorrectOn", "selectionRange", "activeRangeEnd"], outputs: ["activeRangeEndChange", "selectionRangeChange"] }] });
|
|
15138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
15139
15130
|
type: Component,
|
|
15140
15131
|
args: [{
|
|
15141
15132
|
exportAs: 'kendo-daterange-popup',
|
|
@@ -15247,16 +15238,15 @@ class DateRangeComponent {
|
|
|
15247
15238
|
});
|
|
15248
15239
|
}
|
|
15249
15240
|
ngOnDestroy() {
|
|
15250
|
-
|
|
15251
|
-
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
15241
|
+
this.subscription?.unsubscribe();
|
|
15252
15242
|
}
|
|
15253
15243
|
}
|
|
15254
|
-
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15255
|
-
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15244
|
+
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15245
|
+
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateRangeComponent, selector: "kendo-daterange", host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
15256
15246
|
<ng-content></ng-content>
|
|
15257
15247
|
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
15258
15248
|
`, isInline: true, components: [{ type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
15259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
15260
15250
|
type: Component,
|
|
15261
15251
|
args: [{
|
|
15262
15252
|
providers: [DateRangeService],
|
|
@@ -15387,9 +15377,9 @@ class DateRangeInput {
|
|
|
15387
15377
|
}
|
|
15388
15378
|
}
|
|
15389
15379
|
}
|
|
15390
|
-
DateRangeInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15391
|
-
DateRangeInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
15392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15380
|
+
DateRangeInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeInput, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
15381
|
+
DateRangeInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateRangeInput, ngImport: i0 });
|
|
15382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeInput, decorators: [{
|
|
15393
15383
|
type: Directive,
|
|
15394
15384
|
args: [{}]
|
|
15395
15385
|
}], ctorParameters: function () { return [{ type: undefined }, { type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; } });
|
|
@@ -15460,9 +15450,9 @@ class DateRangeEndInputDirective extends DateRangeInput {
|
|
|
15460
15450
|
this.dateInput.notify();
|
|
15461
15451
|
}
|
|
15462
15452
|
}
|
|
15463
|
-
DateRangeEndInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15464
|
-
DateRangeEndInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
15465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15453
|
+
DateRangeEndInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeEndInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15454
|
+
DateRangeEndInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateRangeEndInputDirective, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
15455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
|
|
15466
15456
|
type: Directive,
|
|
15467
15457
|
args: [{
|
|
15468
15458
|
selector: '[kendoDateRangeEndInput]'
|
|
@@ -15541,9 +15531,9 @@ class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
15541
15531
|
this.dateInput.notify();
|
|
15542
15532
|
}
|
|
15543
15533
|
}
|
|
15544
|
-
DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15545
|
-
DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
15546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15534
|
+
DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15535
|
+
DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
15536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
|
|
15547
15537
|
type: Directive,
|
|
15548
15538
|
args: [{
|
|
15549
15539
|
selector: '[kendoDateRangeStartInput]'
|
|
@@ -15565,14 +15555,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15565
15555
|
*/
|
|
15566
15556
|
class CalendarCommonModule {
|
|
15567
15557
|
}
|
|
15568
|
-
CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15569
|
-
CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15558
|
+
CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15559
|
+
CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, declarations: [KForOf,
|
|
15570
15560
|
HeaderComponent,
|
|
15571
15561
|
ViewComponent], imports: [CommonModule, EventsModule], exports: [KForOf,
|
|
15572
15562
|
HeaderComponent,
|
|
15573
15563
|
ViewComponent] });
|
|
15574
|
-
CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15564
|
+
CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, imports: [[CommonModule, EventsModule]] });
|
|
15565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, decorators: [{
|
|
15576
15566
|
type: NgModule,
|
|
15577
15567
|
args: [{
|
|
15578
15568
|
declarations: [
|
|
@@ -15606,8 +15596,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15606
15596
|
*/
|
|
15607
15597
|
class TemplatesModule {
|
|
15608
15598
|
}
|
|
15609
|
-
TemplatesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15610
|
-
TemplatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15599
|
+
TemplatesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15600
|
+
TemplatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule, declarations: [CellTemplateDirective,
|
|
15611
15601
|
MonthCellTemplateDirective,
|
|
15612
15602
|
YearCellTemplateDirective,
|
|
15613
15603
|
DecadeCellTemplateDirective,
|
|
@@ -15622,8 +15612,8 @@ TemplatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
15622
15612
|
WeekNumberCellTemplateDirective,
|
|
15623
15613
|
HeaderTitleTemplateDirective,
|
|
15624
15614
|
NavigationItemTemplateDirective] });
|
|
15625
|
-
TemplatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15615
|
+
TemplatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule });
|
|
15616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule, decorators: [{
|
|
15627
15617
|
type: NgModule,
|
|
15628
15618
|
args: [{
|
|
15629
15619
|
declarations: [
|
|
@@ -15686,8 +15676,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15686
15676
|
*/
|
|
15687
15677
|
class MultiViewCalendarModule {
|
|
15688
15678
|
}
|
|
15689
|
-
MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15690
|
-
MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15679
|
+
MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15680
|
+
MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, declarations: [HorizontalViewListComponent,
|
|
15691
15681
|
MultiViewCalendarLocalizedMessagesDirective,
|
|
15692
15682
|
MultiViewCalendarCustomMessagesComponent,
|
|
15693
15683
|
MultiViewCalendarComponent], imports: [CommonModule,
|
|
@@ -15701,7 +15691,7 @@ MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
15701
15691
|
MultiViewCalendarComponent,
|
|
15702
15692
|
CalendarCommonModule,
|
|
15703
15693
|
TemplatesModule] });
|
|
15704
|
-
MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15694
|
+
MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, providers: [
|
|
15705
15695
|
NavigationService,
|
|
15706
15696
|
CenturyViewService,
|
|
15707
15697
|
DecadeViewService,
|
|
@@ -15717,7 +15707,7 @@ MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
15717
15707
|
EventsModule
|
|
15718
15708
|
], CalendarCommonModule,
|
|
15719
15709
|
TemplatesModule] });
|
|
15720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
15721
15711
|
type: NgModule,
|
|
15722
15712
|
args: [{
|
|
15723
15713
|
declarations: [
|
|
@@ -15764,10 +15754,10 @@ const COMPONENT_DIRECTIVES$3 = [
|
|
|
15764
15754
|
*/
|
|
15765
15755
|
class VirtualizationModule {
|
|
15766
15756
|
}
|
|
15767
|
-
VirtualizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15768
|
-
VirtualizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15769
|
-
VirtualizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15757
|
+
VirtualizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15758
|
+
VirtualizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, declarations: [VirtualizationComponent], imports: [CommonModule], exports: [VirtualizationComponent] });
|
|
15759
|
+
VirtualizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, imports: [[CommonModule]] });
|
|
15760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, decorators: [{
|
|
15771
15761
|
type: NgModule,
|
|
15772
15762
|
args: [{
|
|
15773
15763
|
declarations: [COMPONENT_DIRECTIVES$3],
|
|
@@ -15818,8 +15808,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15818
15808
|
*/
|
|
15819
15809
|
class CalendarModule {
|
|
15820
15810
|
}
|
|
15821
|
-
CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15822
|
-
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15811
|
+
CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15812
|
+
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, declarations: [CalendarComponent,
|
|
15823
15813
|
NavigationComponent,
|
|
15824
15814
|
CalendarCustomMessagesComponent,
|
|
15825
15815
|
CalendarLocalizedMessagesDirective,
|
|
@@ -15837,7 +15827,7 @@ CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
15837
15827
|
ViewListComponent,
|
|
15838
15828
|
CalendarCommonModule,
|
|
15839
15829
|
TemplatesModule] });
|
|
15840
|
-
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15830
|
+
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, providers: [
|
|
15841
15831
|
CalendarDOMService,
|
|
15842
15832
|
CenturyViewService,
|
|
15843
15833
|
DecadeViewService,
|
|
@@ -15855,7 +15845,7 @@ CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
15855
15845
|
ResizeSensorModule
|
|
15856
15846
|
], CalendarCommonModule,
|
|
15857
15847
|
TemplatesModule] });
|
|
15858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, decorators: [{
|
|
15859
15849
|
type: NgModule,
|
|
15860
15850
|
args: [{
|
|
15861
15851
|
declarations: [
|
|
@@ -15931,16 +15921,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15931
15921
|
*/
|
|
15932
15922
|
class CalendarsModule {
|
|
15933
15923
|
}
|
|
15934
|
-
CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15935
|
-
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15924
|
+
CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15925
|
+
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, imports: [CalendarModule,
|
|
15936
15926
|
MultiViewCalendarModule], exports: [CalendarModule,
|
|
15937
15927
|
MultiViewCalendarModule] });
|
|
15938
|
-
CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15928
|
+
CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, imports: [[
|
|
15939
15929
|
CalendarModule,
|
|
15940
15930
|
MultiViewCalendarModule
|
|
15941
15931
|
], CalendarModule,
|
|
15942
15932
|
MultiViewCalendarModule] });
|
|
15943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, decorators: [{
|
|
15944
15934
|
type: NgModule,
|
|
15945
15935
|
args: [{
|
|
15946
15936
|
exports: [
|
|
@@ -15966,14 +15956,14 @@ class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
|
15966
15956
|
return true;
|
|
15967
15957
|
}
|
|
15968
15958
|
}
|
|
15969
|
-
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15970
|
-
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15959
|
+
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15960
|
+
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages", providers: [
|
|
15971
15961
|
{
|
|
15972
15962
|
provide: DateInputMessages,
|
|
15973
15963
|
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
15974
15964
|
}
|
|
15975
15965
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
15976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputCustomMessagesComponent, decorators: [{
|
|
15977
15967
|
type: Component,
|
|
15978
15968
|
args: [{
|
|
15979
15969
|
providers: [
|
|
@@ -15993,14 +15983,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15993
15983
|
*/
|
|
15994
15984
|
class DateInputModule {
|
|
15995
15985
|
}
|
|
15996
|
-
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15997
|
-
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15986
|
+
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15987
|
+
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, declarations: [DateInputComponent,
|
|
15998
15988
|
DateInputCustomMessagesComponent,
|
|
15999
15989
|
DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule], exports: [DateInputComponent,
|
|
16000
15990
|
DateInputCustomMessagesComponent,
|
|
16001
15991
|
DateInputLocalizedMessagesDirective] });
|
|
16002
|
-
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15992
|
+
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, imports: [[CommonModule, IntlModule, EventsModule]] });
|
|
15993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, decorators: [{
|
|
16004
15994
|
type: NgModule,
|
|
16005
15995
|
args: [{
|
|
16006
15996
|
declarations: [
|
|
@@ -16029,14 +16019,14 @@ class DatePickerCustomMessagesComponent extends DatePickerMessages {
|
|
|
16029
16019
|
return true;
|
|
16030
16020
|
}
|
|
16031
16021
|
}
|
|
16032
|
-
DatePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16033
|
-
DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16022
|
+
DatePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16023
|
+
DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages", providers: [
|
|
16034
16024
|
{
|
|
16035
16025
|
provide: DatePickerMessages,
|
|
16036
16026
|
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
16037
16027
|
}
|
|
16038
16028
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
16039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
|
|
16040
16030
|
type: Component,
|
|
16041
16031
|
args: [{
|
|
16042
16032
|
providers: [
|
|
@@ -16056,8 +16046,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16056
16046
|
*/
|
|
16057
16047
|
class DatePickerModule {
|
|
16058
16048
|
}
|
|
16059
|
-
DatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16060
|
-
DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16049
|
+
DatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16050
|
+
DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, declarations: [DatePickerComponent,
|
|
16061
16051
|
DatePickerCustomMessagesComponent,
|
|
16062
16052
|
DatePickerLocalizedMessagesDirective], imports: [CommonModule,
|
|
16063
16053
|
DateInputModule,
|
|
@@ -16069,7 +16059,7 @@ DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
16069
16059
|
DatePickerCustomMessagesComponent,
|
|
16070
16060
|
DatePickerLocalizedMessagesDirective,
|
|
16071
16061
|
TemplatesModule] });
|
|
16072
|
-
DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16062
|
+
DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[
|
|
16073
16063
|
CommonModule,
|
|
16074
16064
|
DateInputModule,
|
|
16075
16065
|
CalendarModule,
|
|
@@ -16078,7 +16068,7 @@ DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
16078
16068
|
TemplatesModule,
|
|
16079
16069
|
EventsModule
|
|
16080
16070
|
], TemplatesModule] });
|
|
16081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, decorators: [{
|
|
16082
16072
|
type: NgModule,
|
|
16083
16073
|
args: [{
|
|
16084
16074
|
declarations: [
|
|
@@ -16159,8 +16149,8 @@ const COMPONENT_MODULES$2 = [
|
|
|
16159
16149
|
*/
|
|
16160
16150
|
class DateRangeModule {
|
|
16161
16151
|
}
|
|
16162
|
-
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16163
|
-
DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16152
|
+
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16153
|
+
DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, declarations: [DateRangeComponent,
|
|
16164
16154
|
DateRangePopupComponent,
|
|
16165
16155
|
DateRangePopupTemplateDirective,
|
|
16166
16156
|
DateRangeSelectionDirective,
|
|
@@ -16174,8 +16164,8 @@ DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
16174
16164
|
DateRangeSelectionDirective,
|
|
16175
16165
|
DateRangeStartInputDirective,
|
|
16176
16166
|
DateRangeEndInputDirective] });
|
|
16177
|
-
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16167
|
+
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, imports: [[CommonModule, COMPONENT_MODULES$2]] });
|
|
16168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, decorators: [{
|
|
16179
16169
|
type: NgModule,
|
|
16180
16170
|
args: [{
|
|
16181
16171
|
declarations: [COMPONENT_DIRECTIVES$2],
|
|
@@ -16196,14 +16186,14 @@ class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
|
16196
16186
|
return true;
|
|
16197
16187
|
}
|
|
16198
16188
|
}
|
|
16199
|
-
TimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16200
|
-
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16189
|
+
TimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16190
|
+
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerCustomMessagesComponent, selector: "kendo-timepicker-messages", providers: [
|
|
16201
16191
|
{
|
|
16202
16192
|
provide: TimePickerMessages,
|
|
16203
16193
|
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
16204
16194
|
}
|
|
16205
16195
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
16206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
16207
16197
|
type: Component,
|
|
16208
16198
|
args: [{
|
|
16209
16199
|
providers: [
|
|
@@ -16251,8 +16241,8 @@ const providers = [
|
|
|
16251
16241
|
*/
|
|
16252
16242
|
class TimePickerModule {
|
|
16253
16243
|
}
|
|
16254
|
-
TimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16255
|
-
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16244
|
+
TimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16245
|
+
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, declarations: [TimePickerLocalizedMessagesDirective,
|
|
16256
16246
|
TimeListComponent,
|
|
16257
16247
|
TimePickerCustomMessagesComponent,
|
|
16258
16248
|
TimePickerComponent,
|
|
@@ -16269,8 +16259,8 @@ TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
16269
16259
|
TimeSelectorLocalizedMessagesDirective,
|
|
16270
16260
|
TimeSelectorCustomMessagesComponent,
|
|
16271
16261
|
TimeSelectorComponent] });
|
|
16272
|
-
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16262
|
+
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, providers: providers, imports: [[CommonModule, ...COMPONENT_MODULES$1]] });
|
|
16263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, decorators: [{
|
|
16274
16264
|
type: NgModule,
|
|
16275
16265
|
args: [{
|
|
16276
16266
|
declarations: [COMPONENT_DIRECTIVES$1],
|
|
@@ -16292,14 +16282,14 @@ class DateTimePickerCustomMessagesComponent extends Messages {
|
|
|
16292
16282
|
return true;
|
|
16293
16283
|
}
|
|
16294
16284
|
}
|
|
16295
|
-
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16296
|
-
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16285
|
+
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16286
|
+
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages", providers: [
|
|
16297
16287
|
{
|
|
16298
16288
|
provide: Messages,
|
|
16299
16289
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
16300
16290
|
}
|
|
16301
16291
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
16302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
16303
16293
|
type: Component,
|
|
16304
16294
|
args: [{
|
|
16305
16295
|
providers: [
|
|
@@ -16324,8 +16314,8 @@ const COMPONENT_DIRECTIVES = [
|
|
|
16324
16314
|
*/
|
|
16325
16315
|
class DateTimePickerModule {
|
|
16326
16316
|
}
|
|
16327
|
-
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16328
|
-
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16317
|
+
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16318
|
+
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, declarations: [DateTimePickerComponent,
|
|
16329
16319
|
DateTimePickerCustomMessagesComponent,
|
|
16330
16320
|
LocalizedMessagesDirective], imports: [CommonModule,
|
|
16331
16321
|
IntlModule,
|
|
@@ -16337,7 +16327,7 @@ DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
|
|
|
16337
16327
|
TemplatesModule], exports: [DateTimePickerComponent,
|
|
16338
16328
|
DateTimePickerCustomMessagesComponent,
|
|
16339
16329
|
LocalizedMessagesDirective, TemplatesModule] });
|
|
16340
|
-
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16330
|
+
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
16341
16331
|
{ provide: TOUCH_ENABLED, useValue: touchEnabled }
|
|
16342
16332
|
], imports: [[
|
|
16343
16333
|
CommonModule,
|
|
@@ -16349,7 +16339,7 @@ DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
16349
16339
|
EventsModule,
|
|
16350
16340
|
TemplatesModule
|
|
16351
16341
|
], TemplatesModule] });
|
|
16352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
16353
16343
|
type: NgModule,
|
|
16354
16344
|
args: [{
|
|
16355
16345
|
declarations: [
|
|
@@ -16416,8 +16406,8 @@ const COMPONENT_MODULES = [
|
|
|
16416
16406
|
*/
|
|
16417
16407
|
class DateInputsModule {
|
|
16418
16408
|
}
|
|
16419
|
-
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16420
|
-
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16409
|
+
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16410
|
+
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, imports: [CalendarsModule,
|
|
16421
16411
|
DateInputModule,
|
|
16422
16412
|
DatePickerModule,
|
|
16423
16413
|
TimePickerModule,
|
|
@@ -16428,13 +16418,13 @@ DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
16428
16418
|
TimePickerModule,
|
|
16429
16419
|
DateRangeModule,
|
|
16430
16420
|
DateTimePickerModule] });
|
|
16431
|
-
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16421
|
+
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, imports: [COMPONENT_MODULES, CalendarsModule,
|
|
16432
16422
|
DateInputModule,
|
|
16433
16423
|
DatePickerModule,
|
|
16434
16424
|
TimePickerModule,
|
|
16435
16425
|
DateRangeModule,
|
|
16436
16426
|
DateTimePickerModule] });
|
|
16437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
16438
16428
|
type: NgModule,
|
|
16439
16429
|
args: [{
|
|
16440
16430
|
exports: COMPONENT_MODULES,
|