@progress/kendo-angular-dateinputs 7.1.6-dev.202211170722 → 11.0.0-develop.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +3 -3
- package/calendar/calendar-common.module.d.ts +3 -2
- package/calendar/calendar.component.d.ts +2 -2
- package/calendar/calendar.module.d.ts +1 -1
- package/calendar/calendars.module.d.ts +1 -1
- package/calendar/for.directive.d.ts +1 -1
- package/calendar/header.component.d.ts +10 -1
- package/calendar/horizontal-view-list.component.d.ts +1 -1
- package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/localization/calendar-messages.d.ts +1 -1
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
- package/calendar/models/cell-context.interface.d.ts +1 -1
- package/calendar/models/keydown.interface.d.ts +1 -1
- package/calendar/models/navigation-action.enum.d.ts +1 -1
- package/calendar/models/orientation.d.ts +1 -1
- package/calendar/models/row-length-options.interface.d.ts +1 -1
- package/calendar/models/scrollable.interface.d.ts +1 -1
- package/calendar/models/selection-range-end.type.d.ts +1 -1
- package/calendar/models/selection-range.interface.d.ts +1 -1
- package/calendar/models/selection.d.ts +1 -1
- package/calendar/models/type.d.ts +1 -1
- package/calendar/models/view-service.interface.d.ts +1 -1
- package/calendar/models/view.enum.d.ts +1 -1
- package/calendar/models/view.type.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +1 -1
- package/calendar/multiview-calendar.module.d.ts +1 -1
- package/calendar/navigation.component.d.ts +1 -1
- package/calendar/services/bus-view.service.d.ts +1 -1
- package/calendar/services/century-view.service.d.ts +1 -1
- package/calendar/services/decade-view.service.d.ts +1 -1
- package/calendar/services/disabled-dates.service.d.ts +1 -1
- package/calendar/services/dom.service.d.ts +1 -1
- package/calendar/services/month-view.service.d.ts +1 -1
- package/calendar/services/navigation.service.d.ts +1 -1
- package/calendar/services/scroll-sync.service.d.ts +1 -1
- package/calendar/services/selection.service.d.ts +1 -1
- package/calendar/services/weeknames.service.d.ts +1 -1
- package/calendar/services/year-view.service.d.ts +1 -1
- package/calendar/templates/cell-template.directive.d.ts +1 -1
- package/calendar/templates/century-cell-template.directive.d.ts +1 -1
- package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
- package/calendar/templates/header-title-template.directive.d.ts +1 -1
- package/calendar/templates/month-cell-template.directive.d.ts +1 -1
- package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
- package/calendar/templates/year-cell-template.directive.d.ts +1 -1
- package/calendar/templates.module.d.ts +1 -1
- package/calendar/view-list.component.d.ts +1 -1
- package/calendar/view.component.d.ts +1 -1
- package/common/dom-queries.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/picker.service.d.ts +1 -1
- package/common/utils.d.ts +1 -1
- package/dateinput/arrow.enum.d.ts +1 -1
- package/dateinput/dateinput.component.d.ts +11 -2
- package/dateinput/dateinput.module.d.ts +3 -2
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
- package/dateinput/localization/messages.d.ts +1 -1
- package/dateinput/models/format-placeholder.model.d.ts +1 -1
- package/dateinput/models/format-settings.model.d.ts +1 -1
- package/dateinput/models/incremental-steps.model.d.ts +1 -1
- package/dateinputs.module.d.ts +1 -1
- package/datepicker/datepicker.component.d.ts +12 -3
- package/datepicker/datepicker.module.d.ts +3 -2
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
- package/datepicker/localization/messages.d.ts +1 -1
- package/daterange/auto-correct-on.type.d.ts +1 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-input.d.ts +1 -1
- package/daterange/date-range-popup-template.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +1 -1
- package/daterange/date-range-selection.directive.d.ts +1 -1
- package/daterange/date-range-start-input.directive.d.ts +1 -1
- package/daterange/date-range.component.d.ts +1 -1
- package/daterange/date-range.module.d.ts +1 -1
- package/daterange/date-range.service.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +15 -2
- package/datetimepicker/datetimepicker.module.d.ts +3 -2
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
- package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
- package/datetimepicker/localization/messages.d.ts +1 -1
- package/datetimepicker/models/active-tab.type.d.ts +1 -1
- package/defaults.d.ts +1 -1
- package/{esm2015/calendar/calendar-common.module.js → esm2020/calendar/calendar-common.module.mjs} +8 -7
- package/{esm2015/calendar/calendar.component.js → esm2020/calendar/calendar.component.mjs} +14 -14
- package/{esm2015/calendar/calendar.module.js → esm2020/calendar/calendar.module.mjs} +5 -5
- package/{esm2015/calendar/calendars.module.js → esm2020/calendar/calendars.module.mjs} +5 -5
- package/{esm2015/calendar/for.directive.js → esm2020/calendar/for.directive.mjs} +6 -6
- package/{esm2015/calendar/header.component.js → esm2020/calendar/header.component.mjs} +50 -24
- package/{esm2015/calendar/horizontal-view-list.component.js → esm2020/calendar/horizontal-view-list.component.mjs} +8 -5
- package/{esm2015/calendar/localization/calendar-custom-messages.component.js → esm2020/calendar/localization/calendar-custom-messages.component.mjs} +5 -4
- package/{esm2015/calendar/localization/calendar-localized-messages.directive.js → esm2020/calendar/localization/calendar-localized-messages.directive.mjs} +5 -4
- package/{esm2015/calendar/localization/calendar-messages.js → esm2020/calendar/localization/calendar-messages.mjs} +4 -4
- package/{esm2015/calendar/localization/multiview-calendar-custom-messages.component.js → esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs} +5 -4
- package/{esm2015/calendar/localization/multiview-calendar-localized-messages.directive.js → esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs} +5 -4
- package/{esm2015/calendar/localization/multiview-calendar-messages.js → esm2020/calendar/localization/multiview-calendar-messages.mjs} +4 -4
- package/{esm2015/calendar/models/cell-context.interface.js → esm2020/calendar/models/cell-context.interface.mjs} +1 -1
- package/{esm2015/calendar/models/keydown.interface.js → esm2020/calendar/models/keydown.interface.mjs} +1 -1
- package/{esm2015/calendar/models/navigation-action.enum.js → esm2020/calendar/models/navigation-action.enum.mjs} +1 -1
- package/{esm2015/calendar/models/orientation.js → esm2020/calendar/models/orientation.mjs} +1 -1
- package/{esm2015/calendar/models/row-length-options.interface.js → esm2020/calendar/models/row-length-options.interface.mjs} +1 -1
- package/esm2020/calendar/models/scrollable.interface.mjs +5 -0
- package/esm2020/calendar/models/selection-range-end.type.mjs +5 -0
- package/{esm2015/calendar/models/selection-range.interface.js → esm2020/calendar/models/selection-range.interface.mjs} +1 -1
- package/esm2020/calendar/models/selection.mjs +5 -0
- package/esm2020/calendar/models/type.mjs +5 -0
- package/esm2020/calendar/models/view-service.interface.mjs +5 -0
- package/{esm2015/calendar/models/view.enum.js → esm2020/calendar/models/view.enum.mjs} +1 -1
- package/esm2020/calendar/models/view.type.mjs +5 -0
- package/{esm2015/calendar/multiview-calendar.component.js → esm2020/calendar/multiview-calendar.component.mjs} +5 -5
- package/{esm2015/calendar/multiview-calendar.module.js → esm2020/calendar/multiview-calendar.module.mjs} +5 -5
- package/{esm2015/calendar/navigation.component.js → esm2020/calendar/navigation.component.mjs} +8 -5
- package/{esm2015/calendar/services/bus-view.service.js → esm2020/calendar/services/bus-view.service.mjs} +5 -5
- package/{esm2015/calendar/services/century-view.service.js → esm2020/calendar/services/century-view.service.mjs} +4 -4
- package/{esm2015/calendar/services/decade-view.service.js → esm2020/calendar/services/decade-view.service.mjs} +4 -4
- package/{esm2015/calendar/services/disabled-dates.service.js → esm2020/calendar/services/disabled-dates.service.mjs} +4 -4
- package/{esm2015/calendar/services/dom.service.js → esm2020/calendar/services/dom.service.mjs} +6 -9
- package/{esm2015/calendar/services/month-view.service.js → esm2020/calendar/services/month-view.service.mjs} +5 -4
- package/{esm2015/calendar/services/navigation.service.js → esm2020/calendar/services/navigation.service.mjs} +5 -4
- package/{esm2015/calendar/services/scroll-sync.service.js → esm2020/calendar/services/scroll-sync.service.mjs} +6 -5
- package/{esm2015/calendar/services/selection.service.js → esm2020/calendar/services/selection.service.mjs} +6 -4
- package/{esm2015/calendar/services/weeknames.service.js → esm2020/calendar/services/weeknames.service.mjs} +5 -4
- package/{esm2015/calendar/services/year-view.service.js → esm2020/calendar/services/year-view.service.mjs} +5 -4
- package/{esm2015/calendar/templates/cell-template.directive.js → esm2020/calendar/templates/cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/century-cell-template.directive.js → esm2020/calendar/templates/century-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/decade-cell-template.directive.js → esm2020/calendar/templates/decade-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/header-title-template.directive.js → esm2020/calendar/templates/header-title-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/month-cell-template.directive.js → esm2020/calendar/templates/month-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/navigation-item-template.directive.js → esm2020/calendar/templates/navigation-item-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/weeknumber-cell-template.directive.js → esm2020/calendar/templates/weeknumber-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates/year-cell-template.directive.js → esm2020/calendar/templates/year-cell-template.directive.mjs} +5 -5
- package/{esm2015/calendar/templates.module.js → esm2020/calendar/templates.module.mjs} +5 -5
- package/{esm2015/calendar/view-list.component.js → esm2020/calendar/view-list.component.mjs} +10 -7
- package/{esm2015/calendar/view.component.js → esm2020/calendar/view.component.mjs} +8 -5
- package/{esm2015/common/dom-queries.js → esm2020/common/dom-queries.mjs} +1 -1
- package/esm2020/common/models/fillmode.mjs +5 -0
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/{esm2015/common/picker.service.js → esm2020/common/picker.service.mjs} +1 -1
- package/{esm2015/common/utils.js → esm2020/common/utils.mjs} +1 -1
- package/{esm2015/dateinput/arrow.enum.js → esm2020/dateinput/arrow.enum.mjs} +1 -1
- package/{esm2015/dateinput/dateinput.component.js → esm2020/dateinput/dateinput.component.mjs} +70 -33
- package/{esm2015/dateinput/dateinput.module.js → esm2020/dateinput/dateinput.module.mjs} +8 -7
- package/{esm2015/dateinput/localization/dateinput-custom-messages.component.js → esm2020/dateinput/localization/dateinput-custom-messages.component.mjs} +5 -4
- package/{esm2015/dateinput/localization/dateinput-localized-messages.directive.js → esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs} +5 -4
- package/{esm2015/dateinput/localization/messages.js → esm2020/dateinput/localization/messages.mjs} +4 -4
- package/esm2020/dateinput/models/format-placeholder.model.mjs +5 -0
- package/esm2020/dateinput/models/format-settings.model.mjs +5 -0
- package/esm2020/dateinput/models/incremental-steps.model.mjs +5 -0
- package/{esm2015/dateinputs.module.js → esm2020/dateinputs.module.mjs} +5 -5
- package/{esm2015/datepicker/datepicker.component.js → esm2020/datepicker/datepicker.component.mjs} +37 -17
- package/{esm2015/datepicker/datepicker.module.js → esm2020/datepicker/datepicker.module.mjs} +12 -8
- package/{esm2015/datepicker/localization/datepicker-custom-messages.component.js → esm2020/datepicker/localization/datepicker-custom-messages.component.mjs} +5 -4
- package/{esm2015/datepicker/localization/datepicker-localized-messages.directive.js → esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs} +5 -4
- package/{esm2015/datepicker/localization/messages.js → esm2020/datepicker/localization/messages.mjs} +4 -4
- package/esm2020/daterange/auto-correct-on.type.mjs +5 -0
- package/{esm2015/daterange/date-range-end-input.directive.js → esm2020/daterange/date-range-end-input.directive.mjs} +7 -5
- package/{esm2015/daterange/date-range-input.js → esm2020/daterange/date-range-input.mjs} +7 -5
- package/{esm2015/daterange/date-range-popup-template.directive.js → esm2020/daterange/date-range-popup-template.directive.mjs} +5 -5
- package/{esm2015/daterange/date-range-popup.component.js → esm2020/daterange/date-range-popup.component.mjs} +7 -5
- package/{esm2015/daterange/date-range-selection.directive.js → esm2020/daterange/date-range-selection.directive.mjs} +6 -5
- package/{esm2015/daterange/date-range-start-input.directive.js → esm2020/daterange/date-range-start-input.directive.mjs} +7 -5
- package/{esm2015/daterange/date-range.component.js → esm2020/daterange/date-range.component.mjs} +6 -7
- package/{esm2015/daterange/date-range.module.js → esm2020/daterange/date-range.module.mjs} +5 -5
- package/{esm2015/daterange/date-range.service.js → esm2020/daterange/date-range.service.mjs} +5 -5
- package/{esm2015/datetimepicker/datetimepicker.component.js → esm2020/datetimepicker/datetimepicker.component.mjs} +62 -31
- package/{esm2015/datetimepicker/datetimepicker.module.js → esm2020/datetimepicker/datetimepicker.module.mjs} +12 -8
- package/{esm2015/datetimepicker/localization/datetimepicker-custom-messages.component.js → esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs} +5 -4
- package/{esm2015/datetimepicker/localization/localized-messages.directive.js → esm2020/datetimepicker/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/datetimepicker/localization/messages.js → esm2020/datetimepicker/localization/messages.mjs} +4 -4
- package/esm2020/datetimepicker/models/active-tab.type.mjs +5 -0
- package/{esm2015/defaults.js → esm2020/defaults.mjs} +1 -1
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/esm2020/popup-settings.model.mjs +5 -0
- package/{esm2015/preventable-event.js → esm2020/preventable-event.mjs} +1 -1
- package/{esm2015/kendo-angular-dateinputs.js → esm2020/progress-kendo-angular-dateinputs.mjs} +2 -2
- package/{esm2015/timepicker/localization/messages.js → esm2020/timepicker/localization/messages.mjs} +4 -4
- package/{esm2015/timepicker/localization/timepicker-custom-messages.component.js → esm2020/timepicker/localization/timepicker-custom-messages.component.mjs} +5 -4
- package/{esm2015/timepicker/localization/timepicker-localized-messages.directive.js → esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs} +5 -4
- package/{esm2015/timepicker/localization/timeselector-custom-messages.component.js → esm2020/timepicker/localization/timeselector-custom-messages.component.mjs} +5 -4
- package/{esm2015/timepicker/localization/timeselector-localized-messages.directive.js → esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs} +5 -4
- package/esm2020/timepicker/models/incremental-steps.model.mjs +5 -0
- package/esm2020/timepicker/models/list-item.interface.mjs +5 -0
- package/esm2020/timepicker/models/list-service-settings.mjs +5 -0
- package/esm2020/timepicker/models/list-service.interface.mjs +5 -0
- package/{esm2015/timepicker/models/time-part.default.js → esm2020/timepicker/models/time-part.default.mjs} +1 -1
- package/{esm2015/timepicker/services/dayperiod.service.js → esm2020/timepicker/services/dayperiod.service.mjs} +5 -4
- package/{esm2015/timepicker/services/dom.service.js → esm2020/timepicker/services/dom.service.mjs} +4 -4
- package/{esm2015/timepicker/services/hours.service.js → esm2020/timepicker/services/hours.service.mjs} +5 -4
- package/{esm2015/timepicker/services/milliseconds.service.js → esm2020/timepicker/services/milliseconds.service.mjs} +5 -4
- package/{esm2015/timepicker/services/minutes.service.js → esm2020/timepicker/services/minutes.service.mjs} +5 -4
- package/{esm2015/timepicker/services/seconds.service.js → esm2020/timepicker/services/seconds.service.mjs} +5 -4
- package/{esm2015/timepicker/timelist.component.js → esm2020/timepicker/timelist.component.mjs} +9 -9
- package/{esm2015/timepicker/timepicker.component.js → esm2020/timepicker/timepicker.component.mjs} +37 -15
- package/{esm2015/timepicker/timepicker.module.js → esm2020/timepicker/timepicker.module.mjs} +10 -7
- package/{esm2015/timepicker/timeselector.component.js → esm2020/timepicker/timeselector.component.mjs} +8 -5
- package/{esm2015/timepicker/util.js → esm2020/timepicker/util.mjs} +1 -1
- package/{esm2015/touch-enabled.js → esm2020/touch-enabled.mjs} +1 -1
- package/{esm2015/util.js → esm2020/util.mjs} +3 -3
- package/{esm2015/validators/disabled-date.validator.js → esm2020/validators/disabled-date.validator.mjs} +1 -1
- package/{esm2015/validators/disabled-dates-range.validator.js → esm2020/validators/disabled-dates-range.validator.mjs} +1 -1
- package/{esm2015/validators/incomplete-date.validator.js → esm2020/validators/incomplete-date.validator.mjs} +1 -1
- package/{esm2015/validators/max.validator.js → esm2020/validators/max.validator.mjs} +1 -1
- package/{esm2015/validators/min.validator.js → esm2020/validators/min.validator.mjs} +1 -1
- package/{esm2015/validators/time-range.validator.js → esm2020/validators/time-range.validator.mjs} +1 -1
- package/esm2020/virtualization/models/scrollable.interface.mjs +5 -0
- package/{esm2015/virtualization/services/row-height.service.js → esm2020/virtualization/services/row-height.service.mjs} +1 -1
- package/{esm2015/virtualization/services/scroller.service.js → esm2020/virtualization/services/scroller.service.mjs} +1 -1
- package/{esm2015/virtualization/virtualization.component.js → esm2020/virtualization/virtualization.component.mjs} +6 -6
- package/{esm2015/virtualization/virtualization.module.js → esm2020/virtualization/virtualization.module.mjs} +5 -5
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +16599 -0
- package/{fesm2015/kendo-angular-dateinputs.js → fesm2020/progress-kendo-angular-dateinputs.mjs} +836 -715
- package/{main.d.ts → index.d.ts} +2 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +36 -60
- package/popup-settings.model.d.ts +1 -1
- package/preventable-event.d.ts +1 -1
- package/{kendo-angular-dateinputs.d.ts → progress-kendo-angular-dateinputs.d.ts} +2 -2
- package/schematics/ngAdd/index.js +5 -7
- package/timepicker/localization/messages.d.ts +1 -1
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +1 -1
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +1 -1
- package/timepicker/models/incremental-steps.model.d.ts +1 -1
- package/timepicker/models/list-item.interface.d.ts +1 -1
- package/timepicker/models/list-service-settings.d.ts +1 -1
- package/timepicker/models/list-service.interface.d.ts +1 -1
- package/timepicker/models/time-part.default.d.ts +1 -1
- package/timepicker/services/dayperiod.service.d.ts +1 -1
- package/timepicker/services/dom.service.d.ts +1 -1
- package/timepicker/services/hours.service.d.ts +1 -1
- package/timepicker/services/milliseconds.service.d.ts +1 -1
- package/timepicker/services/minutes.service.d.ts +1 -1
- package/timepicker/services/seconds.service.d.ts +1 -1
- package/timepicker/timelist.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +12 -3
- package/timepicker/timepicker.module.d.ts +3 -2
- package/timepicker/timeselector.component.d.ts +1 -1
- package/timepicker/util.d.ts +1 -1
- package/touch-enabled.d.ts +1 -1
- package/util.d.ts +1 -1
- package/validators/disabled-date.validator.d.ts +1 -1
- package/validators/disabled-dates-range.validator.d.ts +1 -1
- package/validators/incomplete-date.validator.d.ts +1 -1
- package/validators/max.validator.d.ts +1 -1
- package/validators/min.validator.d.ts +1 -1
- package/validators/time-range.validator.d.ts +1 -1
- package/virtualization/models/scrollable.interface.d.ts +1 -1
- package/virtualization/services/row-height.service.d.ts +1 -1
- package/virtualization/services/scroller.service.d.ts +1 -1
- package/virtualization/virtualization.component.d.ts +1 -1
- package/virtualization/virtualization.module.d.ts +1 -1
- package/bundles/kendo-angular-dateinputs.umd.js +0 -5
- package/esm2015/calendar/models/scrollable.interface.js +0 -5
- package/esm2015/calendar/models/selection-range-end.type.js +0 -5
- package/esm2015/calendar/models/selection.js +0 -5
- package/esm2015/calendar/models/type.js +0 -5
- package/esm2015/calendar/models/view-service.interface.js +0 -5
- package/esm2015/calendar/models/view.type.js +0 -5
- package/esm2015/common/models/fillmode.js +0 -5
- package/esm2015/common/models/rounded.js +0 -5
- package/esm2015/common/models/size.js +0 -5
- package/esm2015/dateinput/models/format-placeholder.model.js +0 -5
- package/esm2015/dateinput/models/format-settings.model.js +0 -5
- package/esm2015/dateinput/models/incremental-steps.model.js +0 -5
- package/esm2015/daterange/auto-correct-on.type.js +0 -5
- package/esm2015/datetimepicker/models/active-tab.type.js +0 -5
- package/esm2015/popup-settings.model.js +0 -5
- package/esm2015/timepicker/models/incremental-steps.model.js +0 -5
- package/esm2015/timepicker/models/list-item.interface.js +0 -5
- package/esm2015/timepicker/models/list-service-settings.js +0 -5
- package/esm2015/timepicker/models/list-service.interface.js +0 -5
- package/esm2015/virtualization/models/scrollable.interface.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
package/{fesm2015/kendo-angular-dateinputs.js → fesm2020/progress-kendo-angular-dateinputs.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
@@ -8,7 +8,7 @@ import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
|
8
8
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { cloneDate, addDays, getDate, isEqual, addDecades, addCenturies, firstDecadeOfCentury, lastDecadeOfCentury, firstYearOfDecade, createDate, lastYearOfDecade, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, addWeeks, addMonths, firstDayOfMonth, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i6 from '@progress/kendo-angular-common';
|
|
12
12
|
import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, KendoInput, EventsModule, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
14
|
import * as i1 from '@progress/kendo-angular-intl';
|
|
@@ -16,7 +16,12 @@ import { IntlModule } from '@progress/kendo-angular-intl';
|
|
|
16
16
|
import { Subject, Subscription, ReplaySubject, Observable, combineLatest, of, interval, animationFrameScheduler, fromEvent, EMPTY, from, BehaviorSubject, merge } from 'rxjs';
|
|
17
17
|
import * as i7 from '@angular/common';
|
|
18
18
|
import { CommonModule } from '@angular/common';
|
|
19
|
+
import { chevronRightIcon, chevronLeftIcon, caretAltUpIcon, caretAltDownIcon, calendarIcon, clockIcon } from '@progress/kendo-svg-icons';
|
|
20
|
+
import * as i5 from '@progress/kendo-angular-buttons';
|
|
21
|
+
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
19
22
|
import { map, scan, takeWhile, debounceTime, tap, filter } from 'rxjs/operators';
|
|
23
|
+
import * as i7$1 from '@progress/kendo-angular-icons';
|
|
24
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
20
25
|
import * as i1$2 from '@progress/kendo-angular-popup';
|
|
21
26
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
22
27
|
import { touchEnabled } from '@progress/kendo-common';
|
|
@@ -28,9 +33,9 @@ const packageMetadata = {
|
|
|
28
33
|
name: '@progress/kendo-angular-dateinputs',
|
|
29
34
|
productName: 'Kendo UI for Angular',
|
|
30
35
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
36
|
+
publishDate: 1673469308,
|
|
32
37
|
version: '',
|
|
33
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
38
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
34
39
|
};
|
|
35
40
|
|
|
36
41
|
/**
|
|
@@ -52,16 +57,8 @@ var Action;
|
|
|
52
57
|
|
|
53
58
|
/**
|
|
54
59
|
* @hidden
|
|
55
|
-
*
|
|
56
|
-
* The Enum which defines all possible Calendar view types.
|
|
57
60
|
*/
|
|
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 = {}));
|
|
61
|
+
const EMPTY_SELECTIONRANGE = { start: null, end: null };
|
|
65
62
|
|
|
66
63
|
/**
|
|
67
64
|
* @hidden
|
|
@@ -84,11 +81,6 @@ const MIN_TIME = new Date(1980, 0, 1);
|
|
|
84
81
|
*/
|
|
85
82
|
const MAX_TIME = new Date(1980, 0, 1, 23, 59, 59);
|
|
86
83
|
|
|
87
|
-
/**
|
|
88
|
-
* @hidden
|
|
89
|
-
*/
|
|
90
|
-
const EMPTY_SELECTIONRANGE = { start: null, end: null };
|
|
91
|
-
|
|
92
84
|
/**
|
|
93
85
|
* @hidden
|
|
94
86
|
*/
|
|
@@ -464,13 +456,13 @@ const cropTwoDigitYear = (date) => {
|
|
|
464
456
|
* Used when resetting millisecond segment value in the DateInput
|
|
465
457
|
*/
|
|
466
458
|
const msPaddingFromFormat = (format) => {
|
|
467
|
-
return Array(format.match(/S+(\1)/)[0].length).join("0");
|
|
459
|
+
return Array(format.match(/S+(\1)/)[0].length).join("0"); // eslint-disable-line no-useless-backreference
|
|
468
460
|
};
|
|
469
461
|
/**
|
|
470
462
|
* @hidden
|
|
471
463
|
*/
|
|
472
464
|
const millisecondDigitsInFormat = (format) => {
|
|
473
|
-
const result = format && format.match(/S+(\1)/);
|
|
465
|
+
const result = format && format.match(/S+(\1)/); // eslint-disable-line no-useless-backreference
|
|
474
466
|
return result ? result[0].length : 0;
|
|
475
467
|
};
|
|
476
468
|
/**
|
|
@@ -704,9 +696,9 @@ class CenturyViewService {
|
|
|
704
696
|
return cellDate;
|
|
705
697
|
}
|
|
706
698
|
}
|
|
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: "
|
|
699
|
+
CenturyViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
700
|
+
CenturyViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyViewService });
|
|
701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyViewService, decorators: [{
|
|
710
702
|
type: Injectable
|
|
711
703
|
}] });
|
|
712
704
|
|
|
@@ -869,9 +861,9 @@ class DecadeViewService {
|
|
|
869
861
|
return cellDate;
|
|
870
862
|
}
|
|
871
863
|
}
|
|
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: "
|
|
864
|
+
DecadeViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
865
|
+
DecadeViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeViewService });
|
|
866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeViewService, decorators: [{
|
|
875
867
|
type: Injectable
|
|
876
868
|
}] });
|
|
877
869
|
|
|
@@ -1055,9 +1047,9 @@ class MonthViewService {
|
|
|
1055
1047
|
return this._intlService.dateFormatNames({ nameType: 'wide', type: 'months' });
|
|
1056
1048
|
}
|
|
1057
1049
|
}
|
|
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: "
|
|
1050
|
+
MonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1051
|
+
MonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewService });
|
|
1052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthViewService, decorators: [{
|
|
1061
1053
|
type: Injectable
|
|
1062
1054
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1063
1055
|
|
|
@@ -1240,12 +1232,25 @@ class YearViewService {
|
|
|
1240
1232
|
return cellDate;
|
|
1241
1233
|
}
|
|
1242
1234
|
}
|
|
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: "
|
|
1235
|
+
YearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1236
|
+
YearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearViewService });
|
|
1237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearViewService, decorators: [{
|
|
1246
1238
|
type: Injectable
|
|
1247
1239
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1248
1240
|
|
|
1241
|
+
/**
|
|
1242
|
+
* @hidden
|
|
1243
|
+
*
|
|
1244
|
+
* The Enum which defines all possible Calendar view types.
|
|
1245
|
+
*/
|
|
1246
|
+
var CalendarViewEnum;
|
|
1247
|
+
(function (CalendarViewEnum) {
|
|
1248
|
+
CalendarViewEnum[CalendarViewEnum["month"] = 0] = "month";
|
|
1249
|
+
CalendarViewEnum[CalendarViewEnum["year"] = 1] = "year";
|
|
1250
|
+
CalendarViewEnum[CalendarViewEnum["decade"] = 2] = "decade";
|
|
1251
|
+
CalendarViewEnum[CalendarViewEnum["century"] = 3] = "century";
|
|
1252
|
+
})(CalendarViewEnum || (CalendarViewEnum = {}));
|
|
1253
|
+
|
|
1249
1254
|
const services$1 = {
|
|
1250
1255
|
[CalendarViewEnum.month]: MonthViewService,
|
|
1251
1256
|
[CalendarViewEnum.year]: YearViewService,
|
|
@@ -1311,9 +1316,9 @@ class BusViewService {
|
|
|
1311
1316
|
this.viewChanged.emit({ view: candidate });
|
|
1312
1317
|
}
|
|
1313
1318
|
}
|
|
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: "
|
|
1319
|
+
BusViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BusViewService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1320
|
+
BusViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BusViewService });
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BusViewService, decorators: [{
|
|
1317
1322
|
type: Injectable
|
|
1318
1323
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1319
1324
|
|
|
@@ -1329,33 +1334,12 @@ class WeekNamesService {
|
|
|
1329
1334
|
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
1330
1335
|
}
|
|
1331
1336
|
}
|
|
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: "
|
|
1337
|
+
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1338
|
+
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNamesService });
|
|
1339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
1335
1340
|
type: Injectable
|
|
1336
1341
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1337
1342
|
|
|
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
1343
|
const noop$1 = () => false;
|
|
1360
1344
|
const DISABLED_DATES_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/disabled-dates/';
|
|
1361
1345
|
/**
|
|
@@ -1410,12 +1394,33 @@ class DisabledDatesService {
|
|
|
1410
1394
|
this.changes.next();
|
|
1411
1395
|
}
|
|
1412
1396
|
}
|
|
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: "
|
|
1397
|
+
DisabledDatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledDatesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1398
|
+
DisabledDatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledDatesService });
|
|
1399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledDatesService, decorators: [{
|
|
1416
1400
|
type: Injectable
|
|
1417
1401
|
}] });
|
|
1418
1402
|
|
|
1403
|
+
/**
|
|
1404
|
+
* @hidden
|
|
1405
|
+
*/
|
|
1406
|
+
const closestInScope = (node, predicate, scope) => {
|
|
1407
|
+
while (node && node !== scope && !predicate(node)) {
|
|
1408
|
+
node = node.parentNode;
|
|
1409
|
+
}
|
|
1410
|
+
if (node !== scope) {
|
|
1411
|
+
return node;
|
|
1412
|
+
}
|
|
1413
|
+
};
|
|
1414
|
+
/**
|
|
1415
|
+
* @hidden
|
|
1416
|
+
*/
|
|
1417
|
+
const closest = (node, predicate) => {
|
|
1418
|
+
while (node && !predicate(node)) {
|
|
1419
|
+
node = node.parentNode;
|
|
1420
|
+
}
|
|
1421
|
+
return node;
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1419
1424
|
/**
|
|
1420
1425
|
* @hidden
|
|
1421
1426
|
*/
|
|
@@ -1449,7 +1454,7 @@ class KForOf {
|
|
|
1449
1454
|
}
|
|
1450
1455
|
ngOnChanges(changes) {
|
|
1451
1456
|
if ('kForOf' in changes) {
|
|
1452
|
-
const value = changes
|
|
1457
|
+
const value = changes['kForOf'].currentValue;
|
|
1453
1458
|
if (this._differ || !value) {
|
|
1454
1459
|
return;
|
|
1455
1460
|
}
|
|
@@ -1495,9 +1500,9 @@ class KForOf {
|
|
|
1495
1500
|
}
|
|
1496
1501
|
}
|
|
1497
1502
|
}
|
|
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: "
|
|
1503
|
+
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 });
|
|
1504
|
+
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 });
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: KForOf, decorators: [{
|
|
1501
1506
|
type: Directive,
|
|
1502
1507
|
args: [{ selector: '[kFor][kForOf]' }]
|
|
1503
1508
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { kForOf: [{
|
|
@@ -1726,8 +1731,8 @@ class ViewComponent {
|
|
|
1726
1731
|
return this.data[rowIndex][cellIndex];
|
|
1727
1732
|
}
|
|
1728
1733
|
}
|
|
1729
|
-
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1730
|
-
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1734
|
+
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 });
|
|
1735
|
+
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
1736
|
<ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell"> </td></ng-template>
|
|
1732
1737
|
<tr *ngIf="!isHorizontal()" class="k-calendar-tr" role="row"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
|
|
1733
1738
|
<tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
|
|
@@ -1776,8 +1781,8 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
1776
1781
|
</td>
|
|
1777
1782
|
</ng-container>
|
|
1778
1783
|
</tr>
|
|
1779
|
-
`, isInline: true, directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type:
|
|
1780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1784
|
+
`, isInline: true, directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { type: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewComponent, decorators: [{
|
|
1781
1786
|
type: Component,
|
|
1782
1787
|
args: [{
|
|
1783
1788
|
// eslint-disable-next-line
|
|
@@ -2127,8 +2132,8 @@ class HorizontalViewListComponent {
|
|
|
2127
2132
|
}
|
|
2128
2133
|
}
|
|
2129
2134
|
}
|
|
2130
|
-
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2131
|
-
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2135
|
+
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 });
|
|
2136
|
+
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
2137
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2133
2138
|
<table
|
|
2134
2139
|
[attr.role]="views === 2 ? 'none' : 'grid'"
|
|
@@ -2210,7 +2215,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2210
2215
|
>
|
|
2211
2216
|
</ng-template>
|
|
2212
2217
|
`, 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: "
|
|
2218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HorizontalViewListComponent, decorators: [{
|
|
2214
2219
|
type: Component,
|
|
2215
2220
|
args: [{
|
|
2216
2221
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2402,6 +2407,14 @@ class HeaderComponent {
|
|
|
2402
2407
|
this.localization = localization;
|
|
2403
2408
|
this.intl = intl;
|
|
2404
2409
|
this.disabledDatesService = disabledDatesService;
|
|
2410
|
+
/**
|
|
2411
|
+
* @hidden
|
|
2412
|
+
*/
|
|
2413
|
+
this.chevronRightIcon = chevronRightIcon;
|
|
2414
|
+
/**
|
|
2415
|
+
* @hidden
|
|
2416
|
+
*/
|
|
2417
|
+
this.chevronLeftIcon = chevronLeftIcon;
|
|
2405
2418
|
this.navigate = true;
|
|
2406
2419
|
this.todayAvailable = true;
|
|
2407
2420
|
this.min = new Date(MIN_DATE);
|
|
@@ -2493,8 +2506,8 @@ class HeaderComponent {
|
|
|
2493
2506
|
this.cdr.markForCheck();
|
|
2494
2507
|
}
|
|
2495
2508
|
}
|
|
2496
|
-
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2497
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2509
|
+
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 });
|
|
2510
|
+
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
2511
|
<span class="k-button k-nav-fast k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title"
|
|
2499
2512
|
role="button"
|
|
2500
2513
|
[id]="id"
|
|
@@ -2517,31 +2530,38 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2517
2530
|
<span class="k-calendar-nav k-hstack">
|
|
2518
2531
|
<button
|
|
2519
2532
|
*ngIf="showNavigationButtons"
|
|
2520
|
-
|
|
2533
|
+
kendoButton
|
|
2534
|
+
fillMode="flat"
|
|
2535
|
+
[svgIcon]="chevronLeftIcon"
|
|
2536
|
+
icon="chevron-left"
|
|
2521
2537
|
tabindex="-1"
|
|
2522
2538
|
type="button"
|
|
2539
|
+
class="k-calendar-nav-prev"
|
|
2523
2540
|
[attr.aria-disabled]="isPrevDisabled"
|
|
2524
2541
|
[disabled]="isPrevDisabled"
|
|
2525
2542
|
[title]="prevButtonTitle"
|
|
2526
2543
|
(click)="prevButtonClick.emit()"
|
|
2527
2544
|
>
|
|
2528
|
-
<span class="k-icon k-i-chevron-left"></span>
|
|
2529
2545
|
</button>
|
|
2530
|
-
<
|
|
2531
|
-
class="k-today k-
|
|
2546
|
+
<button
|
|
2547
|
+
class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
|
|
2532
2548
|
tabindex="-1"
|
|
2533
2549
|
[class.k-disabled]="!todayAvailable"
|
|
2534
2550
|
[kendoEventsOutsideAngular]="{
|
|
2535
2551
|
click: handleTodayClick
|
|
2536
2552
|
}"
|
|
2537
2553
|
[scope]="this"
|
|
2538
|
-
|
|
2554
|
+
type="button"
|
|
2539
2555
|
>
|
|
2540
2556
|
{{ todayMessage }}
|
|
2541
|
-
</
|
|
2557
|
+
</button>
|
|
2542
2558
|
<button
|
|
2543
2559
|
*ngIf="showNavigationButtons"
|
|
2544
|
-
|
|
2560
|
+
kendoButton
|
|
2561
|
+
fillMode="flat"
|
|
2562
|
+
[svgIcon]="chevronRightIcon"
|
|
2563
|
+
icon="chevron-right"
|
|
2564
|
+
class="k-calendar-nav-next"
|
|
2545
2565
|
tabindex="-1"
|
|
2546
2566
|
type="button"
|
|
2547
2567
|
[attr.aria-disabled]="isNextDisabled"
|
|
@@ -2549,11 +2569,10 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2549
2569
|
[title]="nextButtonTitle"
|
|
2550
2570
|
(click)="nextButtonClick.emit()"
|
|
2551
2571
|
>
|
|
2552
|
-
<span class="k-icon k-i-chevron-right"></span>
|
|
2553
2572
|
</button>
|
|
2554
2573
|
</span>
|
|
2555
|
-
`, isInline: true,
|
|
2556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2574
|
+
`, isInline: true, components: [{ type: i5.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
2557
2576
|
type: Component,
|
|
2558
2577
|
args: [{
|
|
2559
2578
|
selector: 'kendo-calendar-header',
|
|
@@ -2580,31 +2599,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2580
2599
|
<span class="k-calendar-nav k-hstack">
|
|
2581
2600
|
<button
|
|
2582
2601
|
*ngIf="showNavigationButtons"
|
|
2583
|
-
|
|
2602
|
+
kendoButton
|
|
2603
|
+
fillMode="flat"
|
|
2604
|
+
[svgIcon]="chevronLeftIcon"
|
|
2605
|
+
icon="chevron-left"
|
|
2584
2606
|
tabindex="-1"
|
|
2585
2607
|
type="button"
|
|
2608
|
+
class="k-calendar-nav-prev"
|
|
2586
2609
|
[attr.aria-disabled]="isPrevDisabled"
|
|
2587
2610
|
[disabled]="isPrevDisabled"
|
|
2588
2611
|
[title]="prevButtonTitle"
|
|
2589
2612
|
(click)="prevButtonClick.emit()"
|
|
2590
2613
|
>
|
|
2591
|
-
<span class="k-icon k-i-chevron-left"></span>
|
|
2592
2614
|
</button>
|
|
2593
|
-
<
|
|
2594
|
-
class="k-today k-
|
|
2615
|
+
<button
|
|
2616
|
+
class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
|
|
2595
2617
|
tabindex="-1"
|
|
2596
2618
|
[class.k-disabled]="!todayAvailable"
|
|
2597
2619
|
[kendoEventsOutsideAngular]="{
|
|
2598
2620
|
click: handleTodayClick
|
|
2599
2621
|
}"
|
|
2600
2622
|
[scope]="this"
|
|
2601
|
-
|
|
2623
|
+
type="button"
|
|
2602
2624
|
>
|
|
2603
2625
|
{{ todayMessage }}
|
|
2604
|
-
</
|
|
2626
|
+
</button>
|
|
2605
2627
|
<button
|
|
2606
2628
|
*ngIf="showNavigationButtons"
|
|
2607
|
-
|
|
2629
|
+
kendoButton
|
|
2630
|
+
fillMode="flat"
|
|
2631
|
+
[svgIcon]="chevronRightIcon"
|
|
2632
|
+
icon="chevron-right"
|
|
2633
|
+
class="k-calendar-nav-next"
|
|
2608
2634
|
tabindex="-1"
|
|
2609
2635
|
type="button"
|
|
2610
2636
|
[attr.aria-disabled]="isNextDisabled"
|
|
@@ -2612,7 +2638,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2612
2638
|
[title]="nextButtonTitle"
|
|
2613
2639
|
(click)="nextButtonClick.emit()"
|
|
2614
2640
|
>
|
|
2615
|
-
<span class="k-icon k-i-chevron-right"></span>
|
|
2616
2641
|
</button>
|
|
2617
2642
|
</span>
|
|
2618
2643
|
`
|
|
@@ -2664,6 +2689,7 @@ class SelectionService {
|
|
|
2664
2689
|
this.bus = bus;
|
|
2665
2690
|
}
|
|
2666
2691
|
performSelection(args) {
|
|
2692
|
+
/* eslint prefer-const: ["error", {"destructuring": "all"}] */
|
|
2667
2693
|
let { date, modifiers, selectionMode, activeViewEnum, rangePivot } = args;
|
|
2668
2694
|
let selectedDates = args.selectedDates.slice();
|
|
2669
2695
|
if (selectionMode === 'multiple') {
|
|
@@ -2700,9 +2726,9 @@ class SelectionService {
|
|
|
2700
2726
|
return selectedDates.some(item => isEqual(item, date));
|
|
2701
2727
|
}
|
|
2702
2728
|
}
|
|
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: "
|
|
2729
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, deps: [{ token: BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2730
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService });
|
|
2731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, decorators: [{
|
|
2706
2732
|
type: Injectable
|
|
2707
2733
|
}], ctorParameters: function () { return [{ type: BusViewService }]; } });
|
|
2708
2734
|
|
|
@@ -2738,9 +2764,9 @@ class CellTemplateDirective {
|
|
|
2738
2764
|
this.templateRef = templateRef;
|
|
2739
2765
|
}
|
|
2740
2766
|
}
|
|
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: "
|
|
2767
|
+
CellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2768
|
+
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CellTemplateDirective, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
|
|
2769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
|
2744
2770
|
type: Directive,
|
|
2745
2771
|
args: [{
|
|
2746
2772
|
selector: '[kendoCalendarCellTemplate]'
|
|
@@ -2776,9 +2802,9 @@ class MonthCellTemplateDirective {
|
|
|
2776
2802
|
this.templateRef = templateRef;
|
|
2777
2803
|
}
|
|
2778
2804
|
}
|
|
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: "
|
|
2805
|
+
MonthCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2806
|
+
MonthCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
|
|
2807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
|
|
2782
2808
|
type: Directive,
|
|
2783
2809
|
args: [{
|
|
2784
2810
|
selector: '[kendoCalendarMonthCellTemplate]'
|
|
@@ -2817,9 +2843,9 @@ class YearCellTemplateDirective {
|
|
|
2817
2843
|
this.templateRef = templateRef;
|
|
2818
2844
|
}
|
|
2819
2845
|
}
|
|
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: "
|
|
2846
|
+
YearCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2847
|
+
YearCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: YearCellTemplateDirective, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
|
|
2848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
|
|
2823
2849
|
type: Directive,
|
|
2824
2850
|
args: [{
|
|
2825
2851
|
selector: '[kendoCalendarYearCellTemplate]'
|
|
@@ -2857,9 +2883,9 @@ class DecadeCellTemplateDirective {
|
|
|
2857
2883
|
this.templateRef = templateRef;
|
|
2858
2884
|
}
|
|
2859
2885
|
}
|
|
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: "
|
|
2886
|
+
DecadeCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2887
|
+
DecadeCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DecadeCellTemplateDirective, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
|
|
2888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
|
|
2863
2889
|
type: Directive,
|
|
2864
2890
|
args: [{
|
|
2865
2891
|
selector: '[kendoCalendarDecadeCellTemplate]'
|
|
@@ -2897,9 +2923,9 @@ class CenturyCellTemplateDirective {
|
|
|
2897
2923
|
this.templateRef = templateRef;
|
|
2898
2924
|
}
|
|
2899
2925
|
}
|
|
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: "
|
|
2926
|
+
CenturyCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2927
|
+
CenturyCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CenturyCellTemplateDirective, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
|
|
2928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
|
|
2903
2929
|
type: Directive,
|
|
2904
2930
|
args: [{
|
|
2905
2931
|
selector: '[kendoCalendarCenturyCellTemplate]'
|
|
@@ -2935,9 +2961,9 @@ class WeekNumberCellTemplateDirective {
|
|
|
2935
2961
|
this.templateRef = templateRef;
|
|
2936
2962
|
}
|
|
2937
2963
|
}
|
|
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: "
|
|
2964
|
+
WeekNumberCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNumberCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2965
|
+
WeekNumberCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WeekNumberCellTemplateDirective, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
|
|
2966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
|
|
2941
2967
|
type: Directive,
|
|
2942
2968
|
args: [{
|
|
2943
2969
|
selector: '[kendoCalendarWeekNumberCellTemplate]'
|
|
@@ -2974,9 +3000,9 @@ class HeaderTitleTemplateDirective {
|
|
|
2974
3000
|
this.templateRef = templateRef;
|
|
2975
3001
|
}
|
|
2976
3002
|
}
|
|
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: "
|
|
3003
|
+
HeaderTitleTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTitleTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3004
|
+
HeaderTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HeaderTitleTemplateDirective, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
|
|
3005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
|
|
2980
3006
|
type: Directive,
|
|
2981
3007
|
args: [{
|
|
2982
3008
|
selector: '[kendoCalendarHeaderTitleTemplate]'
|
|
@@ -3079,9 +3105,9 @@ class NavigationService {
|
|
|
3079
3105
|
return service.move(value, action);
|
|
3080
3106
|
}
|
|
3081
3107
|
}
|
|
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: "
|
|
3108
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3109
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
3110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
3085
3111
|
type: Injectable
|
|
3086
3112
|
}], ctorParameters: function () { return [{ type: BusViewService }]; } });
|
|
3087
3113
|
|
|
@@ -3090,9 +3116,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3090
3116
|
*/
|
|
3091
3117
|
class Messages$1 extends ComponentMessages {
|
|
3092
3118
|
}
|
|
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: "
|
|
3119
|
+
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3120
|
+
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 });
|
|
3121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages$1, decorators: [{
|
|
3096
3122
|
type: Directive,
|
|
3097
3123
|
args: [{
|
|
3098
3124
|
// eslint-disable-next-line
|
|
@@ -3117,14 +3143,14 @@ class MultiViewCalendarLocalizedMessagesDirective extends Messages$1 {
|
|
|
3117
3143
|
this.service = service;
|
|
3118
3144
|
}
|
|
3119
3145
|
}
|
|
3120
|
-
MultiViewCalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3121
|
-
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3146
|
+
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 });
|
|
3147
|
+
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
3122
3148
|
{
|
|
3123
3149
|
provide: Messages$1,
|
|
3124
3150
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3125
3151
|
}
|
|
3126
3152
|
], usesInheritance: true, ngImport: i0 });
|
|
3127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, decorators: [{
|
|
3128
3154
|
type: Directive,
|
|
3129
3155
|
args: [{
|
|
3130
3156
|
providers: [
|
|
@@ -3898,8 +3924,8 @@ class MultiViewCalendarComponent {
|
|
|
3898
3924
|
});
|
|
3899
3925
|
}
|
|
3900
3926
|
}
|
|
3901
|
-
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3902
|
-
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3927
|
+
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 });
|
|
3928
|
+
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
3929
|
BusViewService,
|
|
3904
3930
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
3905
3931
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -3975,7 +4001,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3975
4001
|
>
|
|
3976
4002
|
</kendo-calendar-horizontal>
|
|
3977
4003
|
`, 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: "
|
|
4004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
3979
4005
|
type: Component,
|
|
3980
4006
|
args: [{
|
|
3981
4007
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -4197,6 +4223,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4197
4223
|
args: ["keydown", ["$event"]]
|
|
4198
4224
|
}] } });
|
|
4199
4225
|
|
|
4226
|
+
const div$1 = domContainerFactory('div');
|
|
4227
|
+
const ul$1 = domContainerFactory('ul');
|
|
4228
|
+
const li$1 = domContainerFactory('li');
|
|
4229
|
+
const td = domContainerFactory('td');
|
|
4230
|
+
const th = domContainerFactory('th');
|
|
4231
|
+
const tr = domContainerFactory('tr');
|
|
4232
|
+
const tbody = domContainerFactory('tbody');
|
|
4233
|
+
const thead = domContainerFactory('thead');
|
|
4234
|
+
const table = domContainerFactory('table');
|
|
4235
|
+
const monthHeader = () => (div$1(`
|
|
4236
|
+
<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>
|
|
4237
|
+
<span class="k-spacer"></span>
|
|
4238
|
+
<span class="k-calendar-nav k-hstack">
|
|
4239
|
+
<button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">TODAY</button>
|
|
4240
|
+
</span>
|
|
4241
|
+
`, 'k-calendar-header k-hstack'));
|
|
4242
|
+
const monthWeekHeader = () => (table([
|
|
4243
|
+
thead([
|
|
4244
|
+
tr([th('MO', 'k-calendar-th')], 'k-calendar-tr')
|
|
4245
|
+
], 'k-calendar-thead')
|
|
4246
|
+
], 'k-calendar-weekdays k-calendar-table'));
|
|
4247
|
+
const repeat = (count, mapper) => new Array(count).fill('1').map(mapper);
|
|
4248
|
+
const content = (rows, cells = 1) => (table([
|
|
4249
|
+
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')
|
|
4250
|
+
], 'k-calendar-table'));
|
|
4251
|
+
const scrollable$1 = (children) => div$1(children, 'k-flex k-content k-scrollable');
|
|
4252
|
+
const view = (contentElement, className, renderWeekHeader) => (div$1([
|
|
4253
|
+
monthHeader(),
|
|
4254
|
+
renderWeekHeader ? monthWeekHeader() : null,
|
|
4255
|
+
scrollable$1([contentElement, contentElement])
|
|
4256
|
+
], className, { left: '-10000px', position: 'absolute' }));
|
|
4257
|
+
const navigationList = (() => {
|
|
4258
|
+
let navElement;
|
|
4259
|
+
return () => {
|
|
4260
|
+
if (!isDocumentAvailable) {
|
|
4261
|
+
return null;
|
|
4262
|
+
}
|
|
4263
|
+
if (!navElement) {
|
|
4264
|
+
navElement = div$1([scrollable$1([ul$1([li$1('<span>FEB</span>')])])], 'k-calendar-navigation', { left: '0px', position: 'absolute' });
|
|
4265
|
+
}
|
|
4266
|
+
return navElement;
|
|
4267
|
+
};
|
|
4268
|
+
})();
|
|
4269
|
+
const viewFactory = ({ cells, rows }, className, renderWeekHeader) => {
|
|
4270
|
+
let viewElement;
|
|
4271
|
+
return () => {
|
|
4272
|
+
if (!isDocumentAvailable) {
|
|
4273
|
+
return null;
|
|
4274
|
+
}
|
|
4275
|
+
if (!viewElement) {
|
|
4276
|
+
viewElement = view(content(rows, cells), className, renderWeekHeader);
|
|
4277
|
+
}
|
|
4278
|
+
return viewElement;
|
|
4279
|
+
};
|
|
4280
|
+
};
|
|
4281
|
+
const getScrollable = (element) => element.querySelector('.k-scrollable');
|
|
4282
|
+
const horizontal = element => {
|
|
4283
|
+
const scrollableElement = getScrollable(element);
|
|
4284
|
+
scrollableElement.classList.add('k-scrollable-horizontal');
|
|
4285
|
+
return element;
|
|
4286
|
+
};
|
|
4287
|
+
const monthView = viewFactory({ cells: 7, rows: 6 }, 'k-vstack k-calendar-view k-calendar-monthview', true);
|
|
4288
|
+
const yearView = viewFactory({ cells: 4, rows: 3 }, 'k-vstack k-calendar-view k-calendar-yearview', false);
|
|
4289
|
+
const decadeView = viewFactory({ cells: 4, rows: 3 }, 'k-vstack k-calendar-view k-calendar-decadeview', false);
|
|
4290
|
+
const horzMonthView = () => horizontal(monthView());
|
|
4291
|
+
const horzYearView = () => horizontal(yearView());
|
|
4292
|
+
const horzDecadeView = () => horizontal(decadeView());
|
|
4293
|
+
const height = (element) => (parseFloat(window.getComputedStyle(element).height) || element.offsetHeight);
|
|
4294
|
+
const width = (element) => {
|
|
4295
|
+
const styles = window.getComputedStyle(element);
|
|
4296
|
+
const computed = parseFloat(styles.width)
|
|
4297
|
+
+ parseFloat(styles.paddingLeft)
|
|
4298
|
+
+ parseFloat(styles.paddingRight);
|
|
4299
|
+
return computed || element.offsetWidth;
|
|
4300
|
+
};
|
|
4301
|
+
const getBody = (element) => element.querySelector('tbody');
|
|
4302
|
+
/**
|
|
4303
|
+
* @hidden
|
|
4304
|
+
*/
|
|
4305
|
+
class CalendarDOMService {
|
|
4306
|
+
ensureHeights() {
|
|
4307
|
+
if (this.calendarHeight !== undefined) {
|
|
4308
|
+
return;
|
|
4309
|
+
}
|
|
4310
|
+
this.calculateHeights();
|
|
4311
|
+
}
|
|
4312
|
+
calculateHeights(container) {
|
|
4313
|
+
if (!isDocumentAvailable()) {
|
|
4314
|
+
return;
|
|
4315
|
+
}
|
|
4316
|
+
this.hostContainer = container;
|
|
4317
|
+
this.batch(monthView(), (contentElement) => {
|
|
4318
|
+
const viewElement = getBody(contentElement);
|
|
4319
|
+
this.calendarHeight = height(contentElement);
|
|
4320
|
+
this.monthViewHeight = height(viewElement);
|
|
4321
|
+
this.headerHeight = height(viewElement.children[0]);
|
|
4322
|
+
this.scrollableContentHeight = height(getScrollable(contentElement));
|
|
4323
|
+
});
|
|
4324
|
+
this.batch(horzMonthView(), (contentElement) => {
|
|
4325
|
+
const viewElement = getBody(contentElement);
|
|
4326
|
+
this.calendarWidth = width(contentElement);
|
|
4327
|
+
this.monthViewWidth = width(viewElement);
|
|
4328
|
+
this.scrollableContentWidth = width(getScrollable(contentElement));
|
|
4329
|
+
});
|
|
4330
|
+
this.batch(yearView(), (contentElement) => {
|
|
4331
|
+
this.yearViewHeight = height(getBody(contentElement));
|
|
4332
|
+
this.scrollableYearContentHeight = height(getScrollable(contentElement));
|
|
4333
|
+
});
|
|
4334
|
+
this.batch(horzYearView(), (contentElement) => {
|
|
4335
|
+
this.yearViewWidth = width(getBody(contentElement));
|
|
4336
|
+
});
|
|
4337
|
+
this.batch(decadeView(), (contentElement) => {
|
|
4338
|
+
this.decadeViewHeight = height(getBody(contentElement));
|
|
4339
|
+
this.centuryViewHeight = this.decadeViewHeight;
|
|
4340
|
+
});
|
|
4341
|
+
this.batch(horzDecadeView(), (contentElement) => {
|
|
4342
|
+
this.decadeViewWidth = width(getBody(contentElement));
|
|
4343
|
+
this.centuryViewWidth = this.decadeViewWidth;
|
|
4344
|
+
});
|
|
4345
|
+
this.batch(navigationList(), (contentElement) => {
|
|
4346
|
+
this.navigationItemHeight = height(contentElement.querySelector('li'));
|
|
4347
|
+
});
|
|
4348
|
+
}
|
|
4349
|
+
viewHeight(viewType) {
|
|
4350
|
+
return this.viewDimension(viewType, 'height');
|
|
4351
|
+
}
|
|
4352
|
+
viewWidth(viewType) {
|
|
4353
|
+
return this.viewDimension(viewType, 'width');
|
|
4354
|
+
}
|
|
4355
|
+
viewDimension(viewType, dimension) {
|
|
4356
|
+
const viewProp = dimension === 'height' ? 'ViewHeight' : 'ViewWidth';
|
|
4357
|
+
switch (viewType) {
|
|
4358
|
+
case CalendarViewEnum.month:
|
|
4359
|
+
return this[`month${viewProp}`];
|
|
4360
|
+
case CalendarViewEnum.year:
|
|
4361
|
+
return this[`year${viewProp}`];
|
|
4362
|
+
case CalendarViewEnum.decade:
|
|
4363
|
+
return this[`decade${viewProp}`];
|
|
4364
|
+
case CalendarViewEnum.century:
|
|
4365
|
+
return this[`century${viewProp}`];
|
|
4366
|
+
default:
|
|
4367
|
+
return 1;
|
|
4368
|
+
}
|
|
4369
|
+
}
|
|
4370
|
+
batch(contentElement, action) {
|
|
4371
|
+
if (!isPresent(this.hostContainer)) {
|
|
4372
|
+
return;
|
|
4373
|
+
}
|
|
4374
|
+
const hostClone = this.hostContainer.cloneNode();
|
|
4375
|
+
document.body.appendChild(hostClone);
|
|
4376
|
+
try {
|
|
4377
|
+
const appendedContent = hostClone.appendChild(contentElement);
|
|
4378
|
+
action(appendedContent);
|
|
4379
|
+
}
|
|
4380
|
+
finally {
|
|
4381
|
+
document.body.removeChild(hostClone);
|
|
4382
|
+
}
|
|
4383
|
+
}
|
|
4384
|
+
}
|
|
4385
|
+
CalendarDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4386
|
+
CalendarDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarDOMService });
|
|
4387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarDOMService, decorators: [{
|
|
4388
|
+
type: Injectable
|
|
4389
|
+
}] });
|
|
4390
|
+
|
|
4200
4391
|
/**
|
|
4201
4392
|
* @hidden
|
|
4202
4393
|
*/
|
|
@@ -4545,282 +4736,114 @@ class VirtualizationComponent {
|
|
|
4545
4736
|
}
|
|
4546
4737
|
scroll$() {
|
|
4547
4738
|
return isDocumentAvailable() ? fromEvent(this.container.nativeElement, 'scroll') : EMPTY;
|
|
4548
|
-
}
|
|
4549
|
-
initServices() {
|
|
4550
|
-
this.rowHeightService = this.createRowHeightService();
|
|
4551
|
-
if (this.scrollSubscription) {
|
|
4552
|
-
this.scrollSubscription.unsubscribe();
|
|
4553
|
-
}
|
|
4554
|
-
this.scrollSubscription = this.scroller
|
|
4555
|
-
.create(this.rowHeightService, this.skip, this.take, this.total, this.topOffset, this.scrollOffsetSize, this.direction)
|
|
4556
|
-
.subscribe((x) => {
|
|
4557
|
-
if (x instanceof PageAction) {
|
|
4558
|
-
this.pageChange.emit(x);
|
|
4559
|
-
}
|
|
4560
|
-
else {
|
|
4561
|
-
this.scrollChange.emit(x);
|
|
4562
|
-
}
|
|
4563
|
-
});
|
|
4564
|
-
}
|
|
4565
|
-
createRowHeightService() {
|
|
4566
|
-
const dimension = this.direction === 'vertical' ? this.itemHeight : this.itemWidth;
|
|
4567
|
-
return new RowHeightService(this.total, dimension, 0);
|
|
4568
|
-
}
|
|
4569
|
-
emitActiveIndex() {
|
|
4570
|
-
const index = this.rowHeightService.index(this.containerScrollPosition - this.topOffset);
|
|
4571
|
-
if (this.lastActiveIndex !== index) {
|
|
4572
|
-
this.lastActiveIndex = index;
|
|
4573
|
-
this.activeIndexChange.emit(index);
|
|
4574
|
-
}
|
|
4575
|
-
}
|
|
4576
|
-
containerMaxScroll() {
|
|
4577
|
-
return this.containerScrollSize - this.containerOffsetSize;
|
|
4578
|
-
}
|
|
4579
|
-
getContainerScrollDirection(indexOffset) {
|
|
4580
|
-
return indexOffset < this.containerScrollPosition ? ScrollDirection.Backward : ScrollDirection.Forward;
|
|
4581
|
-
}
|
|
4582
|
-
}
|
|
4583
|
-
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", 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 });
|
|
4584
|
-
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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
|
-
provide: SCROLLER_FACTORY_TOKEN,
|
|
4586
|
-
useValue: DEFAULT_SCROLLER_FACTORY
|
|
4587
|
-
}], usesOnChanges: true, ngImport: i0, template: `
|
|
4588
|
-
<ng-content></ng-content>
|
|
4589
|
-
<div
|
|
4590
|
-
class="k-scrollable-placeholder"
|
|
4591
|
-
[class.k-scrollable-horizontal-placeholder]="direction === 'horizontal'"
|
|
4592
|
-
[ngStyle]="totalVertexLength"
|
|
4593
|
-
></div>
|
|
4594
|
-
`, isInline: true, directives: [{ type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
4595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VirtualizationComponent, decorators: [{
|
|
4596
|
-
type: Component,
|
|
4597
|
-
args: [{
|
|
4598
|
-
providers: [{
|
|
4599
|
-
provide: SCROLLER_FACTORY_TOKEN,
|
|
4600
|
-
useValue: DEFAULT_SCROLLER_FACTORY
|
|
4601
|
-
}],
|
|
4602
|
-
selector: 'kendo-virtualization',
|
|
4603
|
-
template: `
|
|
4604
|
-
<ng-content></ng-content>
|
|
4605
|
-
<div
|
|
4606
|
-
class="k-scrollable-placeholder"
|
|
4607
|
-
[class.k-scrollable-horizontal-placeholder]="direction === 'horizontal'"
|
|
4608
|
-
[ngStyle]="totalVertexLength"
|
|
4609
|
-
></div>
|
|
4610
|
-
`
|
|
4611
|
-
}]
|
|
4612
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4613
|
-
type: Inject,
|
|
4614
|
-
args: [SCROLLER_FACTORY_TOKEN]
|
|
4615
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i5.ScrollbarWidthService }]; }, propDecorators: { direction: [{
|
|
4616
|
-
type: Input
|
|
4617
|
-
}], itemHeight: [{
|
|
4618
|
-
type: Input
|
|
4619
|
-
}], itemWidth: [{
|
|
4620
|
-
type: Input
|
|
4621
|
-
}], topOffset: [{
|
|
4622
|
-
type: Input
|
|
4623
|
-
}], bottomOffset: [{
|
|
4624
|
-
type: Input
|
|
4625
|
-
}], maxScrollDifference: [{
|
|
4626
|
-
type: Input
|
|
4627
|
-
}], scrollOffsetSize: [{
|
|
4628
|
-
type: Input
|
|
4629
|
-
}], scrollDuration: [{
|
|
4630
|
-
type: Input
|
|
4631
|
-
}], skip: [{
|
|
4632
|
-
type: Input
|
|
4633
|
-
}], take: [{
|
|
4634
|
-
type: Input
|
|
4635
|
-
}], total: [{
|
|
4636
|
-
type: Input
|
|
4637
|
-
}], activeIndexChange: [{
|
|
4638
|
-
type: Output
|
|
4639
|
-
}], pageChange: [{
|
|
4640
|
-
type: Output
|
|
4641
|
-
}], scrollChange: [{
|
|
4642
|
-
type: Output
|
|
4643
|
-
}], wrapperClasses: [{
|
|
4644
|
-
type: HostBinding,
|
|
4645
|
-
args: ['class.k-flex']
|
|
4646
|
-
}, {
|
|
4647
|
-
type: HostBinding,
|
|
4648
|
-
args: ['class.k-content']
|
|
4649
|
-
}, {
|
|
4650
|
-
type: HostBinding,
|
|
4651
|
-
args: ['class.k-scrollable']
|
|
4652
|
-
}], horizontalClass: [{
|
|
4653
|
-
type: HostBinding,
|
|
4654
|
-
args: ['class.k-scrollable-horizontal']
|
|
4655
|
-
}] } });
|
|
4656
|
-
|
|
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;
|
|
4739
|
+
}
|
|
4740
|
+
initServices() {
|
|
4741
|
+
this.rowHeightService = this.createRowHeightService();
|
|
4742
|
+
if (this.scrollSubscription) {
|
|
4743
|
+
this.scrollSubscription.unsubscribe();
|
|
4813
4744
|
}
|
|
4814
|
-
|
|
4815
|
-
|
|
4745
|
+
this.scrollSubscription = this.scroller
|
|
4746
|
+
.create(this.rowHeightService, this.skip, this.take, this.total, this.topOffset, this.scrollOffsetSize, this.direction)
|
|
4747
|
+
.subscribe((x) => {
|
|
4748
|
+
if (x instanceof PageAction) {
|
|
4749
|
+
this.pageChange.emit(x);
|
|
4750
|
+
}
|
|
4751
|
+
else {
|
|
4752
|
+
this.scrollChange.emit(x);
|
|
4753
|
+
}
|
|
4754
|
+
});
|
|
4755
|
+
}
|
|
4756
|
+
createRowHeightService() {
|
|
4757
|
+
const dimension = this.direction === 'vertical' ? this.itemHeight : this.itemWidth;
|
|
4758
|
+
return new RowHeightService(this.total, dimension, 0);
|
|
4759
|
+
}
|
|
4760
|
+
emitActiveIndex() {
|
|
4761
|
+
const index = this.rowHeightService.index(this.containerScrollPosition - this.topOffset);
|
|
4762
|
+
if (this.lastActiveIndex !== index) {
|
|
4763
|
+
this.lastActiveIndex = index;
|
|
4764
|
+
this.activeIndexChange.emit(index);
|
|
4816
4765
|
}
|
|
4817
4766
|
}
|
|
4767
|
+
containerMaxScroll() {
|
|
4768
|
+
return this.containerScrollSize - this.containerOffsetSize;
|
|
4769
|
+
}
|
|
4770
|
+
getContainerScrollDirection(indexOffset) {
|
|
4771
|
+
return indexOffset < this.containerScrollPosition ? ScrollDirection.Backward : ScrollDirection.Forward;
|
|
4772
|
+
}
|
|
4818
4773
|
}
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
}]
|
|
4774
|
+
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: i6.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4775
|
+
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: [{
|
|
4776
|
+
provide: SCROLLER_FACTORY_TOKEN,
|
|
4777
|
+
useValue: DEFAULT_SCROLLER_FACTORY
|
|
4778
|
+
}], usesOnChanges: true, ngImport: i0, template: `
|
|
4779
|
+
<ng-content></ng-content>
|
|
4780
|
+
<div
|
|
4781
|
+
class="k-scrollable-placeholder"
|
|
4782
|
+
[class.k-scrollable-horizontal-placeholder]="direction === 'horizontal'"
|
|
4783
|
+
[ngStyle]="totalVertexLength"
|
|
4784
|
+
></div>
|
|
4785
|
+
`, isInline: true, directives: [{ type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
4786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationComponent, decorators: [{
|
|
4787
|
+
type: Component,
|
|
4788
|
+
args: [{
|
|
4789
|
+
providers: [{
|
|
4790
|
+
provide: SCROLLER_FACTORY_TOKEN,
|
|
4791
|
+
useValue: DEFAULT_SCROLLER_FACTORY
|
|
4792
|
+
}],
|
|
4793
|
+
selector: 'kendo-virtualization',
|
|
4794
|
+
template: `
|
|
4795
|
+
<ng-content></ng-content>
|
|
4796
|
+
<div
|
|
4797
|
+
class="k-scrollable-placeholder"
|
|
4798
|
+
[class.k-scrollable-horizontal-placeholder]="direction === 'horizontal'"
|
|
4799
|
+
[ngStyle]="totalVertexLength"
|
|
4800
|
+
></div>
|
|
4801
|
+
`
|
|
4802
|
+
}]
|
|
4803
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4804
|
+
type: Inject,
|
|
4805
|
+
args: [SCROLLER_FACTORY_TOKEN]
|
|
4806
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i6.ScrollbarWidthService }]; }, propDecorators: { direction: [{
|
|
4807
|
+
type: Input
|
|
4808
|
+
}], itemHeight: [{
|
|
4809
|
+
type: Input
|
|
4810
|
+
}], itemWidth: [{
|
|
4811
|
+
type: Input
|
|
4812
|
+
}], topOffset: [{
|
|
4813
|
+
type: Input
|
|
4814
|
+
}], bottomOffset: [{
|
|
4815
|
+
type: Input
|
|
4816
|
+
}], maxScrollDifference: [{
|
|
4817
|
+
type: Input
|
|
4818
|
+
}], scrollOffsetSize: [{
|
|
4819
|
+
type: Input
|
|
4820
|
+
}], scrollDuration: [{
|
|
4821
|
+
type: Input
|
|
4822
|
+
}], skip: [{
|
|
4823
|
+
type: Input
|
|
4824
|
+
}], take: [{
|
|
4825
|
+
type: Input
|
|
4826
|
+
}], total: [{
|
|
4827
|
+
type: Input
|
|
4828
|
+
}], activeIndexChange: [{
|
|
4829
|
+
type: Output
|
|
4830
|
+
}], pageChange: [{
|
|
4831
|
+
type: Output
|
|
4832
|
+
}], scrollChange: [{
|
|
4833
|
+
type: Output
|
|
4834
|
+
}], wrapperClasses: [{
|
|
4835
|
+
type: HostBinding,
|
|
4836
|
+
args: ['class.k-flex']
|
|
4837
|
+
}, {
|
|
4838
|
+
type: HostBinding,
|
|
4839
|
+
args: ['class.k-content']
|
|
4840
|
+
}, {
|
|
4841
|
+
type: HostBinding,
|
|
4842
|
+
args: ['class.k-scrollable']
|
|
4843
|
+
}], horizontalClass: [{
|
|
4844
|
+
type: HostBinding,
|
|
4845
|
+
args: ['class.k-scrollable-horizontal']
|
|
4846
|
+
}] } });
|
|
4824
4847
|
|
|
4825
4848
|
/* eslint-disable @angular-eslint/component-selector */
|
|
4826
4849
|
const ITEMS_COUNT = 30;
|
|
@@ -4919,8 +4942,8 @@ class NavigationComponent {
|
|
|
4919
4942
|
}
|
|
4920
4943
|
}
|
|
4921
4944
|
}
|
|
4922
|
-
NavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4923
|
-
NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4945
|
+
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 });
|
|
4946
|
+
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
4947
|
<span class="k-calendar-navigation-highlight"></span>
|
|
4925
4948
|
<kendo-virtualization
|
|
4926
4949
|
[skip]="skip"
|
|
@@ -4946,8 +4969,8 @@ NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4946
4969
|
</li>
|
|
4947
4970
|
</ul>
|
|
4948
4971
|
</kendo-virtualization>
|
|
4949
|
-
`, 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:
|
|
4950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4972
|
+
`, 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: i6.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 });
|
|
4973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationComponent, decorators: [{
|
|
4951
4974
|
type: Component,
|
|
4952
4975
|
args: [{
|
|
4953
4976
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -5167,8 +5190,8 @@ class ViewListComponent {
|
|
|
5167
5190
|
}
|
|
5168
5191
|
}
|
|
5169
5192
|
}
|
|
5170
|
-
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5171
|
-
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5193
|
+
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 });
|
|
5194
|
+
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
5195
|
<kendo-calendar-header
|
|
5173
5196
|
[currentDate]="activeDate"
|
|
5174
5197
|
[min]="min"
|
|
@@ -5179,7 +5202,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5179
5202
|
(todayButtonClick)="todayButtonClick.emit($event)"
|
|
5180
5203
|
>
|
|
5181
5204
|
</kendo-calendar-header>
|
|
5182
|
-
<table class="k-calendar-weekdays k-calendar-table" style
|
|
5205
|
+
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'" *ngIf="isMonthView()">
|
|
5183
5206
|
<thead class="k-calendar-thead">
|
|
5184
5207
|
<tr class="k-calendar-tr">
|
|
5185
5208
|
<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 +5255,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5232
5255
|
</table>
|
|
5233
5256
|
</kendo-virtualization>
|
|
5234
5257
|
`, 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: "
|
|
5258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
5236
5259
|
type: Component,
|
|
5237
5260
|
args: [{
|
|
5238
5261
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -5248,7 +5271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5248
5271
|
(todayButtonClick)="todayButtonClick.emit($event)"
|
|
5249
5272
|
>
|
|
5250
5273
|
</kendo-calendar-header>
|
|
5251
|
-
<table class="k-calendar-weekdays k-calendar-table" style
|
|
5274
|
+
<table class="k-calendar-weekdays k-calendar-table" [style.table-layout]="'auto'" *ngIf="isMonthView()">
|
|
5252
5275
|
<thead class="k-calendar-thead">
|
|
5253
5276
|
<tr class="k-calendar-tr">
|
|
5254
5277
|
<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 +5463,9 @@ class ScrollSyncService {
|
|
|
5440
5463
|
}
|
|
5441
5464
|
}
|
|
5442
5465
|
}
|
|
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: "
|
|
5466
|
+
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 });
|
|
5467
|
+
ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService });
|
|
5468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService, decorators: [{
|
|
5446
5469
|
type: Injectable
|
|
5447
5470
|
}], ctorParameters: function () { return [{ type: CalendarDOMService }, { type: i0.NgZone }]; } });
|
|
5448
5471
|
|
|
@@ -5476,9 +5499,9 @@ class NavigationItemTemplateDirective {
|
|
|
5476
5499
|
this.templateRef = templateRef;
|
|
5477
5500
|
}
|
|
5478
5501
|
}
|
|
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: "
|
|
5502
|
+
NavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5503
|
+
NavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NavigationItemTemplateDirective, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
|
|
5504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
|
|
5482
5505
|
type: Directive,
|
|
5483
5506
|
args: [{
|
|
5484
5507
|
selector: '[kendoCalendarNavigationItemTemplate]'
|
|
@@ -5509,14 +5532,14 @@ class MultiViewCalendarCustomMessagesComponent extends Messages$1 {
|
|
|
5509
5532
|
return true;
|
|
5510
5533
|
}
|
|
5511
5534
|
}
|
|
5512
|
-
MultiViewCalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5513
|
-
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5535
|
+
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 });
|
|
5536
|
+
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
5514
5537
|
{
|
|
5515
5538
|
provide: Messages$1,
|
|
5516
5539
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
5517
5540
|
}
|
|
5518
5541
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
5519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, decorators: [{
|
|
5520
5543
|
type: Component,
|
|
5521
5544
|
args: [{
|
|
5522
5545
|
providers: [
|
|
@@ -5535,9 +5558,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5535
5558
|
*/
|
|
5536
5559
|
class CalendarMessages extends ComponentMessages {
|
|
5537
5560
|
}
|
|
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: "
|
|
5561
|
+
CalendarMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5562
|
+
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 });
|
|
5563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarMessages, decorators: [{
|
|
5541
5564
|
type: Directive,
|
|
5542
5565
|
args: [{
|
|
5543
5566
|
// eslint-disable-next-line
|
|
@@ -5562,14 +5585,14 @@ class CalendarLocalizedMessagesDirective extends CalendarMessages {
|
|
|
5562
5585
|
this.service = service;
|
|
5563
5586
|
}
|
|
5564
5587
|
}
|
|
5565
|
-
CalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5566
|
-
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5588
|
+
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 });
|
|
5589
|
+
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]", providers: [
|
|
5567
5590
|
{
|
|
5568
5591
|
provide: CalendarMessages,
|
|
5569
5592
|
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective)
|
|
5570
5593
|
}
|
|
5571
5594
|
], usesInheritance: true, ngImport: i0 });
|
|
5572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarLocalizedMessagesDirective, decorators: [{
|
|
5573
5596
|
type: Directive,
|
|
5574
5597
|
args: [{
|
|
5575
5598
|
providers: [
|
|
@@ -5781,15 +5804,15 @@ class CalendarComponent {
|
|
|
5781
5804
|
this._focusedDate = focusedDate || getToday();
|
|
5782
5805
|
this.setAriaActivedescendant();
|
|
5783
5806
|
}
|
|
5807
|
+
get focusedDate() {
|
|
5808
|
+
return this._focusedDate;
|
|
5809
|
+
}
|
|
5784
5810
|
/**
|
|
5785
5811
|
* @hidden
|
|
5786
5812
|
*/
|
|
5787
5813
|
get headerId() {
|
|
5788
5814
|
return this.id + '-header';
|
|
5789
5815
|
}
|
|
5790
|
-
get focusedDate() {
|
|
5791
|
-
return this._focusedDate;
|
|
5792
|
-
}
|
|
5793
5816
|
/**
|
|
5794
5817
|
* Sets or gets the `min` property of the Calendar and
|
|
5795
5818
|
* defines the minimum allowed date value
|
|
@@ -6067,11 +6090,10 @@ class CalendarComponent {
|
|
|
6067
6090
|
* ```
|
|
6068
6091
|
*/
|
|
6069
6092
|
focus() {
|
|
6070
|
-
var _a, _b, _c;
|
|
6071
6093
|
this.currentlyFocusedElement = this.type === 'infinite' ?
|
|
6072
|
-
|
|
6073
|
-
this.currentlyFocusedElement =
|
|
6074
|
-
|
|
6094
|
+
this.element?.nativeElement.querySelector(selectors.infiniteCalendarTable) :
|
|
6095
|
+
this.currentlyFocusedElement = this.element?.nativeElement.querySelector(selectors.multiViewCalendarTable);
|
|
6096
|
+
this.currentlyFocusedElement?.focus();
|
|
6075
6097
|
}
|
|
6076
6098
|
/**
|
|
6077
6099
|
* Blurs the Calendar component.
|
|
@@ -6422,9 +6444,8 @@ class CalendarComponent {
|
|
|
6422
6444
|
}
|
|
6423
6445
|
}
|
|
6424
6446
|
setAriaActivedescendant() {
|
|
6425
|
-
var _a;
|
|
6426
6447
|
// in Classic mode, the inner MultiViewCalendar handles the activedescendant
|
|
6427
|
-
const infiniteCalendarTable =
|
|
6448
|
+
const infiniteCalendarTable = this.element.nativeElement?.querySelector(selectors.infiniteCalendarTable);
|
|
6428
6449
|
const activedescendantHandledByInnerMultiViewCalendar = !isPresent(infiniteCalendarTable) || (this.type === 'classic' && !infiniteCalendarTable.hasAttribute(attributeNames.ariaActiveDescendant));
|
|
6429
6450
|
if (activedescendantHandledByInnerMultiViewCalendar) {
|
|
6430
6451
|
return;
|
|
@@ -6456,8 +6477,8 @@ class CalendarComponent {
|
|
|
6456
6477
|
});
|
|
6457
6478
|
}
|
|
6458
6479
|
}
|
|
6459
|
-
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6460
|
-
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6480
|
+
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 });
|
|
6481
|
+
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
6482
|
BusViewService,
|
|
6462
6483
|
CALENDAR_VALUE_ACCESSOR,
|
|
6463
6484
|
CALENDAR_RANGE_VALIDATORS,
|
|
@@ -6570,8 +6591,8 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
6570
6591
|
</kendo-multiviewcalendar-messages>
|
|
6571
6592
|
</kendo-multiviewcalendar>
|
|
6572
6593
|
</ng-container>
|
|
6573
|
-
`, 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:
|
|
6574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6594
|
+
`, 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: i6.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 });
|
|
6595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
6575
6596
|
type: Component,
|
|
6576
6597
|
args: [{
|
|
6577
6598
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6845,9 +6866,9 @@ var Arrow;
|
|
|
6845
6866
|
*/
|
|
6846
6867
|
class DateInputMessages extends ComponentMessages {
|
|
6847
6868
|
}
|
|
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: "
|
|
6869
|
+
DateInputMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6870
|
+
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 });
|
|
6871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputMessages, decorators: [{
|
|
6851
6872
|
type: Directive,
|
|
6852
6873
|
args: [{
|
|
6853
6874
|
// eslint-disable-next-line
|
|
@@ -6868,14 +6889,14 @@ class DateInputLocalizedMessagesDirective extends DateInputMessages {
|
|
|
6868
6889
|
this.service = service;
|
|
6869
6890
|
}
|
|
6870
6891
|
}
|
|
6871
|
-
DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6872
|
-
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6892
|
+
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 });
|
|
6893
|
+
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
6873
6894
|
{
|
|
6874
6895
|
provide: DateInputMessages,
|
|
6875
6896
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
6876
6897
|
}
|
|
6877
6898
|
], usesInheritance: true, ngImport: i0 });
|
|
6878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputLocalizedMessagesDirective, decorators: [{
|
|
6879
6900
|
type: Directive,
|
|
6880
6901
|
args: [{
|
|
6881
6902
|
providers: [
|
|
@@ -7061,9 +7082,9 @@ class KendoDate {
|
|
|
7061
7082
|
this.setExisting(symbol, false);
|
|
7062
7083
|
return { value: null, switchToNext: false };
|
|
7063
7084
|
}
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7085
|
+
const baseDate = this.intl.formatDate(this.value, this.format);
|
|
7086
|
+
const dateParts = this.dateFormatString(this.value, this.format);
|
|
7087
|
+
const baseFormat = dateParts.symbols;
|
|
7067
7088
|
let replaced = false;
|
|
7068
7089
|
let prefix = "";
|
|
7069
7090
|
let current = "";
|
|
@@ -7080,14 +7101,14 @@ class KendoDate {
|
|
|
7080
7101
|
suffix += baseDate[i];
|
|
7081
7102
|
}
|
|
7082
7103
|
}
|
|
7083
|
-
|
|
7104
|
+
const currentMaxLength = current.length - 3;
|
|
7084
7105
|
let parsedDate = null;
|
|
7085
7106
|
const month = this.matchMonth(currentChar);
|
|
7086
7107
|
const dayPeriod = this.matchDayPeriod(currentChar, symbol);
|
|
7087
7108
|
const isZeroCurrentChar = currentChar === '0';
|
|
7088
7109
|
const leadingZero = (this.leadingZero || {})[symbol] || 0;
|
|
7089
7110
|
if (isZeroCurrentChar) {
|
|
7090
|
-
|
|
7111
|
+
const valueNumber = parseInt(resetSegmentValue ? currentChar : current + currentChar, 10);
|
|
7091
7112
|
if (valueNumber === 0 && !this.isAbbrMonth(dateParts.partMap, symbol)) {
|
|
7092
7113
|
this.incrementLeadingZero(symbol);
|
|
7093
7114
|
}
|
|
@@ -7102,7 +7123,7 @@ class KendoDate {
|
|
|
7102
7123
|
const padding = msPaddingFromFormat(baseFormat);
|
|
7103
7124
|
middle = padding + middle;
|
|
7104
7125
|
}
|
|
7105
|
-
|
|
7126
|
+
const middleNumber = parseInt(middle, 10);
|
|
7106
7127
|
parsedDate = this.intl.parseDate(prefix + middle + suffix, this.format);
|
|
7107
7128
|
if (!parsedDate && !isNaN(middleNumber) && !isNaN(parseInt(currentChar, 10))) {
|
|
7108
7129
|
if (symbol === 'M' && !month) {
|
|
@@ -7271,7 +7292,7 @@ class KendoDate {
|
|
|
7271
7292
|
// Important: right to left.
|
|
7272
7293
|
let resultText = "";
|
|
7273
7294
|
let resultFormat = "";
|
|
7274
|
-
|
|
7295
|
+
const format = mask.symbols;
|
|
7275
7296
|
for (let r = format.length - 1; r >= 0; r--) {
|
|
7276
7297
|
if (this.knownParts.indexOf(format[r]) === -1 || this.getExisting(format[r])) {
|
|
7277
7298
|
resultText = text[r] + resultText;
|
|
@@ -7325,6 +7346,14 @@ class DateInputComponent {
|
|
|
7325
7346
|
this.injector = injector;
|
|
7326
7347
|
this.localization = localization;
|
|
7327
7348
|
this.pickerService = pickerService;
|
|
7349
|
+
/**
|
|
7350
|
+
* @hidden
|
|
7351
|
+
*/
|
|
7352
|
+
this.caretAltUpIcon = caretAltUpIcon;
|
|
7353
|
+
/**
|
|
7354
|
+
* @hidden
|
|
7355
|
+
*/
|
|
7356
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
7328
7357
|
/**
|
|
7329
7358
|
* Sets or gets the `disabled` property of the DateInput and
|
|
7330
7359
|
* determines whether the component is active
|
|
@@ -7528,7 +7557,9 @@ class DateInputComponent {
|
|
|
7528
7557
|
* @hidden
|
|
7529
7558
|
*/
|
|
7530
7559
|
set focusableId(_focusableId) {
|
|
7531
|
-
|
|
7560
|
+
if (_focusableId) {
|
|
7561
|
+
this._focusableId = _focusableId;
|
|
7562
|
+
}
|
|
7532
7563
|
}
|
|
7533
7564
|
get focusableId() {
|
|
7534
7565
|
return this._focusableId;
|
|
@@ -7670,7 +7701,7 @@ class DateInputComponent {
|
|
|
7670
7701
|
*/
|
|
7671
7702
|
get formControl() {
|
|
7672
7703
|
const ngControl = this.injector.get(NgControl, null);
|
|
7673
|
-
return
|
|
7704
|
+
return ngControl?.control || null;
|
|
7674
7705
|
}
|
|
7675
7706
|
get inputFormat() {
|
|
7676
7707
|
if (!this.format) {
|
|
@@ -7727,28 +7758,27 @@ class DateInputComponent {
|
|
|
7727
7758
|
*/
|
|
7728
7759
|
ngOnChanges(changes) {
|
|
7729
7760
|
this.verifyRange();
|
|
7730
|
-
if (changes
|
|
7761
|
+
if (changes['min'] || changes['max'] || changes['rangeValidation'] || changes['incompleteDateValidation']) {
|
|
7731
7762
|
this.minValidator = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
7732
7763
|
this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
7733
7764
|
this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop$2;
|
|
7734
7765
|
this.onValidatorChange();
|
|
7735
7766
|
}
|
|
7736
|
-
if (changes
|
|
7767
|
+
if (changes['format']) {
|
|
7737
7768
|
this.symbolsMap = this.dateSymbolMap();
|
|
7738
7769
|
this.updateFormatSections();
|
|
7739
7770
|
}
|
|
7740
7771
|
const isEqualToKendoDate = this.kendoDate && isEqual(this.value, this.kendoDate.getDateObject());
|
|
7741
|
-
if (changes
|
|
7772
|
+
if (changes['format'] || !isEqualToKendoDate || changes['placeholder']) {
|
|
7742
7773
|
this.kendoDate = this.getKendoDate(this.value);
|
|
7743
7774
|
this.updateElementValue(this.isActive);
|
|
7744
7775
|
}
|
|
7745
7776
|
}
|
|
7746
7777
|
ngAfterViewInit() {
|
|
7747
|
-
var _a, _b;
|
|
7748
7778
|
this.setComponentClasses();
|
|
7749
|
-
const formControl =
|
|
7779
|
+
const formControl = this.injector.get(NgControl, null)?.control;
|
|
7750
7780
|
this.control = formControl;
|
|
7751
|
-
this.subs.add(
|
|
7781
|
+
this.subs.add(this.formControl?.statusChanges.subscribe(() => this.setAriaInvalid()));
|
|
7752
7782
|
this.setAriaInvalid();
|
|
7753
7783
|
}
|
|
7754
7784
|
ngOnDestroy() {
|
|
@@ -8210,7 +8240,7 @@ class DateInputComponent {
|
|
|
8210
8240
|
switchPart = parsedPart.switchToNext;
|
|
8211
8241
|
}
|
|
8212
8242
|
const candidate = this.kendoDate.getDateObject();
|
|
8213
|
-
if (this.value && candidate && !this.formatSections
|
|
8243
|
+
if (this.value && candidate && !this.formatSections['date']) {
|
|
8214
8244
|
this.kendoDate = this.getKendoDate(setTime(this.value, candidate));
|
|
8215
8245
|
}
|
|
8216
8246
|
}
|
|
@@ -8280,8 +8310,8 @@ class DateInputComponent {
|
|
|
8280
8310
|
}
|
|
8281
8311
|
}
|
|
8282
8312
|
}
|
|
8283
|
-
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8284
|
-
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8313
|
+
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 });
|
|
8314
|
+
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
8315
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8286
8316
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8287
8317
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
@@ -8334,8 +8364,14 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
8334
8364
|
(mouseleave)="arrowDirection = arrow.None"
|
|
8335
8365
|
(click)="handleButtonClick(1)"
|
|
8336
8366
|
[title]="localization.get('increment')"
|
|
8337
|
-
[attr.aria-label]="localization.get('increment')"
|
|
8338
|
-
|
|
8367
|
+
[attr.aria-label]="localization.get('increment')"
|
|
8368
|
+
>
|
|
8369
|
+
<kendo-icon-wrapper
|
|
8370
|
+
name="caret-alt-up"
|
|
8371
|
+
class="k-button-icon"
|
|
8372
|
+
[svgIcon]="caretAltUpIcon"
|
|
8373
|
+
>
|
|
8374
|
+
</kendo-icon-wrapper>
|
|
8339
8375
|
</button>
|
|
8340
8376
|
<button
|
|
8341
8377
|
#spindown
|
|
@@ -8346,12 +8382,18 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
8346
8382
|
(mousedown)="arrowDirection = arrow.Down"
|
|
8347
8383
|
(mouseleave)="arrowDirection = arrow.None"
|
|
8348
8384
|
[title]="localization.get('decrement')"
|
|
8349
|
-
[attr.aria-label]="localization.get('decrement')"
|
|
8350
|
-
|
|
8385
|
+
[attr.aria-label]="localization.get('decrement')"
|
|
8386
|
+
>
|
|
8387
|
+
<kendo-icon-wrapper
|
|
8388
|
+
name="caret-alt-down"
|
|
8389
|
+
class="k-button-icon"
|
|
8390
|
+
[svgIcon]="caretAltDownIcon"
|
|
8391
|
+
>
|
|
8392
|
+
</kendo-icon-wrapper>
|
|
8351
8393
|
</button>
|
|
8352
8394
|
</span>
|
|
8353
|
-
`, isInline: true, directives: [{ type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type:
|
|
8354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8395
|
+
`, isInline: true, components: [{ type: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
8355
8397
|
type: Component,
|
|
8356
8398
|
args: [{
|
|
8357
8399
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8411,8 +8453,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8411
8453
|
(mouseleave)="arrowDirection = arrow.None"
|
|
8412
8454
|
(click)="handleButtonClick(1)"
|
|
8413
8455
|
[title]="localization.get('increment')"
|
|
8414
|
-
[attr.aria-label]="localization.get('increment')"
|
|
8415
|
-
|
|
8456
|
+
[attr.aria-label]="localization.get('increment')"
|
|
8457
|
+
>
|
|
8458
|
+
<kendo-icon-wrapper
|
|
8459
|
+
name="caret-alt-up"
|
|
8460
|
+
class="k-button-icon"
|
|
8461
|
+
[svgIcon]="caretAltUpIcon"
|
|
8462
|
+
>
|
|
8463
|
+
</kendo-icon-wrapper>
|
|
8416
8464
|
</button>
|
|
8417
8465
|
<button
|
|
8418
8466
|
#spindown
|
|
@@ -8423,8 +8471,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8423
8471
|
(mousedown)="arrowDirection = arrow.Down"
|
|
8424
8472
|
(mouseleave)="arrowDirection = arrow.None"
|
|
8425
8473
|
[title]="localization.get('decrement')"
|
|
8426
|
-
[attr.aria-label]="localization.get('decrement')"
|
|
8427
|
-
|
|
8474
|
+
[attr.aria-label]="localization.get('decrement')"
|
|
8475
|
+
>
|
|
8476
|
+
<kendo-icon-wrapper
|
|
8477
|
+
name="caret-alt-down"
|
|
8478
|
+
class="k-button-icon"
|
|
8479
|
+
[svgIcon]="caretAltDownIcon"
|
|
8480
|
+
>
|
|
8481
|
+
</kendo-icon-wrapper>
|
|
8428
8482
|
</button>
|
|
8429
8483
|
</span>
|
|
8430
8484
|
`
|
|
@@ -8570,14 +8624,14 @@ class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
|
8570
8624
|
return true;
|
|
8571
8625
|
}
|
|
8572
8626
|
}
|
|
8573
|
-
CalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8574
|
-
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8627
|
+
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 });
|
|
8628
|
+
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages", providers: [
|
|
8575
8629
|
{
|
|
8576
8630
|
provide: CalendarMessages,
|
|
8577
8631
|
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
8578
8632
|
}
|
|
8579
8633
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
8580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCustomMessagesComponent, decorators: [{
|
|
8581
8635
|
type: Component,
|
|
8582
8636
|
args: [{
|
|
8583
8637
|
providers: [
|
|
@@ -8596,9 +8650,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8596
8650
|
*/
|
|
8597
8651
|
class DatePickerMessages extends ComponentMessages {
|
|
8598
8652
|
}
|
|
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: "
|
|
8653
|
+
DatePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
8654
|
+
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 });
|
|
8655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerMessages, decorators: [{
|
|
8602
8656
|
type: Directive,
|
|
8603
8657
|
args: [{
|
|
8604
8658
|
// eslint-disable-next-line
|
|
@@ -8623,14 +8677,14 @@ class DatePickerLocalizedMessagesDirective extends DatePickerMessages {
|
|
|
8623
8677
|
this.service = service;
|
|
8624
8678
|
}
|
|
8625
8679
|
}
|
|
8626
|
-
DatePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8627
|
-
DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
8680
|
+
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 });
|
|
8681
|
+
DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]", providers: [
|
|
8628
8682
|
{
|
|
8629
8683
|
provide: DatePickerMessages,
|
|
8630
8684
|
useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
|
|
8631
8685
|
}
|
|
8632
8686
|
], usesInheritance: true, ngImport: i0 });
|
|
8633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerLocalizedMessagesDirective, decorators: [{
|
|
8634
8688
|
type: Directive,
|
|
8635
8689
|
args: [{
|
|
8636
8690
|
providers: [
|
|
@@ -8663,6 +8717,10 @@ class DatePickerComponent {
|
|
|
8663
8717
|
this.pickerService = pickerService;
|
|
8664
8718
|
this.disabledDatesService = disabledDatesService;
|
|
8665
8719
|
this.touchEnabled = touchEnabled;
|
|
8720
|
+
/**
|
|
8721
|
+
* @hidden
|
|
8722
|
+
*/
|
|
8723
|
+
this.calendarIcon = calendarIcon;
|
|
8666
8724
|
/**
|
|
8667
8725
|
* Defines the active view that the Calendar initially renders
|
|
8668
8726
|
* ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
|
|
@@ -8994,11 +9052,11 @@ class DatePickerComponent {
|
|
|
8994
9052
|
*/
|
|
8995
9053
|
set size(size) {
|
|
8996
9054
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
8997
|
-
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('
|
|
9055
|
+
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
|
|
8998
9056
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
8999
9057
|
if (newSize !== 'none') {
|
|
9000
9058
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
9001
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('
|
|
9059
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
|
|
9002
9060
|
}
|
|
9003
9061
|
this._size = newSize;
|
|
9004
9062
|
}
|
|
@@ -9059,8 +9117,7 @@ class DatePickerComponent {
|
|
|
9059
9117
|
return this.disabled;
|
|
9060
9118
|
}
|
|
9061
9119
|
get popupUID() {
|
|
9062
|
-
|
|
9063
|
-
return (_a = this.calendar) === null || _a === void 0 ? void 0 : _a.popupId;
|
|
9120
|
+
return this.calendar?.popupId;
|
|
9064
9121
|
}
|
|
9065
9122
|
;
|
|
9066
9123
|
get isActive() {
|
|
@@ -9272,7 +9329,7 @@ class DatePickerComponent {
|
|
|
9272
9329
|
* @hidden
|
|
9273
9330
|
*/
|
|
9274
9331
|
handleInputChange(value) {
|
|
9275
|
-
this.handleChange(this.input.formatSections
|
|
9332
|
+
this.handleChange(this.input.formatSections['time'] ? value : this.mergeTime(value));
|
|
9276
9333
|
}
|
|
9277
9334
|
/**
|
|
9278
9335
|
* @hidden
|
|
@@ -9495,8 +9552,8 @@ class DatePickerComponent {
|
|
|
9495
9552
|
}
|
|
9496
9553
|
}
|
|
9497
9554
|
}
|
|
9498
|
-
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9499
|
-
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9555
|
+
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 });
|
|
9556
|
+
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", 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
9557
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
9501
9558
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
9502
9559
|
{ provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
|
|
@@ -9533,6 +9590,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9533
9590
|
[ariaReadOnly]="readonly"
|
|
9534
9591
|
[tabindex]="tabindex"
|
|
9535
9592
|
[title]="title"
|
|
9593
|
+
[focusableId]="focusableId"
|
|
9536
9594
|
[format]="format"
|
|
9537
9595
|
[twoDigitYearMax]="twoDigitYearMax"
|
|
9538
9596
|
[formatPlaceholder]="formatPlaceholder"
|
|
@@ -9559,7 +9617,12 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9559
9617
|
}"
|
|
9560
9618
|
[scope]="this"
|
|
9561
9619
|
>
|
|
9562
|
-
<
|
|
9620
|
+
<kendo-icon-wrapper
|
|
9621
|
+
name="calendar"
|
|
9622
|
+
class="k-button-icon"
|
|
9623
|
+
[svgIcon]="calendarIcon"
|
|
9624
|
+
>
|
|
9625
|
+
</kendo-icon-wrapper>
|
|
9563
9626
|
</button>
|
|
9564
9627
|
<ng-container #container></ng-container>
|
|
9565
9628
|
<ng-template #popupTemplate>
|
|
@@ -9599,8 +9662,8 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9599
9662
|
</kendo-calendar-messages>
|
|
9600
9663
|
</kendo-calendar>
|
|
9601
9664
|
<ng-template>
|
|
9602
|
-
`, 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:
|
|
9603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9665
|
+
`, 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: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { 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: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
9604
9667
|
type: Component,
|
|
9605
9668
|
args: [{
|
|
9606
9669
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -9644,6 +9707,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9644
9707
|
[ariaReadOnly]="readonly"
|
|
9645
9708
|
[tabindex]="tabindex"
|
|
9646
9709
|
[title]="title"
|
|
9710
|
+
[focusableId]="focusableId"
|
|
9647
9711
|
[format]="format"
|
|
9648
9712
|
[twoDigitYearMax]="twoDigitYearMax"
|
|
9649
9713
|
[formatPlaceholder]="formatPlaceholder"
|
|
@@ -9670,7 +9734,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9670
9734
|
}"
|
|
9671
9735
|
[scope]="this"
|
|
9672
9736
|
>
|
|
9673
|
-
<
|
|
9737
|
+
<kendo-icon-wrapper
|
|
9738
|
+
name="calendar"
|
|
9739
|
+
class="k-button-icon"
|
|
9740
|
+
[svgIcon]="calendarIcon"
|
|
9741
|
+
>
|
|
9742
|
+
</kendo-icon-wrapper>
|
|
9674
9743
|
</button>
|
|
9675
9744
|
<ng-container #container></ng-container>
|
|
9676
9745
|
<ng-template #popupTemplate>
|
|
@@ -9726,6 +9795,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9726
9795
|
}], toggleButton: [{
|
|
9727
9796
|
type: ViewChild,
|
|
9728
9797
|
args: ['toggleButton', { static: true }]
|
|
9798
|
+
}], focusableId: [{
|
|
9799
|
+
type: Input
|
|
9729
9800
|
}], cellTemplate: [{
|
|
9730
9801
|
type: ContentChild,
|
|
9731
9802
|
args: [CellTemplateDirective, { static: false }]
|
|
@@ -9885,6 +9956,55 @@ const timeRangeValidator = (min, max) => {
|
|
|
9885
9956
|
};
|
|
9886
9957
|
};
|
|
9887
9958
|
|
|
9959
|
+
const div = domContainerFactory('div');
|
|
9960
|
+
const ul = domContainerFactory('ul');
|
|
9961
|
+
const li = domContainerFactory('li');
|
|
9962
|
+
const span = domContainerFactory('span');
|
|
9963
|
+
const listTitle = () => span('hour', 'k-title k-timeselector-title');
|
|
9964
|
+
const listItem = () => li('<span>02</span>', 'k-item');
|
|
9965
|
+
const list = () => ul([listItem()], 'k-reset');
|
|
9966
|
+
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-scrollable'));
|
|
9967
|
+
const timeListWrapper = () => {
|
|
9968
|
+
if (!isDocumentAvailable()) {
|
|
9969
|
+
return null;
|
|
9970
|
+
}
|
|
9971
|
+
return div([listTitle(), div([scrollable()], 'k-time-list')], 'k-time-list-wrapper', { left: '-10000px', position: 'absolute' });
|
|
9972
|
+
};
|
|
9973
|
+
const TIMELIST_WRAPPER = timeListWrapper();
|
|
9974
|
+
/**
|
|
9975
|
+
* @hidden
|
|
9976
|
+
*/
|
|
9977
|
+
class TimePickerDOMService {
|
|
9978
|
+
ensureHeights() {
|
|
9979
|
+
if (this.timeListHeight !== undefined) {
|
|
9980
|
+
return;
|
|
9981
|
+
}
|
|
9982
|
+
this.calculateHeights();
|
|
9983
|
+
}
|
|
9984
|
+
calculateHeights(container) {
|
|
9985
|
+
if (!isDocumentAvailable()) {
|
|
9986
|
+
return;
|
|
9987
|
+
}
|
|
9988
|
+
const listContainer = container && container.querySelector('.k-time-list-container');
|
|
9989
|
+
const hostContainer = listContainer || document.body;
|
|
9990
|
+
const wrapper = hostContainer.appendChild(TIMELIST_WRAPPER);
|
|
9991
|
+
this.timeListHeight = wrapper.querySelector('.k-scrollable').getBoundingClientRect().height;
|
|
9992
|
+
this.itemHeight = wrapper.querySelector('li').getBoundingClientRect().height;
|
|
9993
|
+
hostContainer.removeChild(wrapper);
|
|
9994
|
+
}
|
|
9995
|
+
isActive(element) {
|
|
9996
|
+
if (!isDocumentAvailable() || !element) {
|
|
9997
|
+
return false;
|
|
9998
|
+
}
|
|
9999
|
+
return (element.nativeElement || element) === document.activeElement;
|
|
10000
|
+
}
|
|
10001
|
+
}
|
|
10002
|
+
TimePickerDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10003
|
+
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService });
|
|
10004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
10005
|
+
type: Injectable
|
|
10006
|
+
}] });
|
|
10007
|
+
|
|
9888
10008
|
const HOURS_IN_DAY = 24;
|
|
9889
10009
|
const clampToRange$3 = (rangeValue) => (value) => value % rangeValue;
|
|
9890
10010
|
const clamp$3 = clampToRange$3(HOURS_IN_DAY);
|
|
@@ -9991,9 +10111,9 @@ class HoursService {
|
|
|
9991
10111
|
return [min.getHours(), max.getHours()];
|
|
9992
10112
|
}
|
|
9993
10113
|
}
|
|
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: "
|
|
10114
|
+
HoursService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10115
|
+
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService });
|
|
10116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoursService, decorators: [{
|
|
9997
10117
|
type: Injectable
|
|
9998
10118
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
9999
10119
|
|
|
@@ -10101,9 +10221,9 @@ class MinutesService {
|
|
|
10101
10221
|
return [min.getMinutes(), max.getMinutes()];
|
|
10102
10222
|
}
|
|
10103
10223
|
}
|
|
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: "
|
|
10224
|
+
MinutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10225
|
+
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService });
|
|
10226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinutesService, decorators: [{
|
|
10107
10227
|
type: Injectable
|
|
10108
10228
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10109
10229
|
|
|
@@ -10211,9 +10331,9 @@ class SecondsService {
|
|
|
10211
10331
|
return [min.getSeconds(), max.getSeconds()];
|
|
10212
10332
|
}
|
|
10213
10333
|
}
|
|
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: "
|
|
10334
|
+
SecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10335
|
+
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService });
|
|
10336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SecondsService, decorators: [{
|
|
10217
10337
|
type: Injectable
|
|
10218
10338
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10219
10339
|
|
|
@@ -10324,9 +10444,9 @@ class MillisecondsService {
|
|
|
10324
10444
|
return [min.getMilliseconds(), max.getMilliseconds()];
|
|
10325
10445
|
}
|
|
10326
10446
|
}
|
|
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: "
|
|
10447
|
+
MillisecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10448
|
+
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService });
|
|
10449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
10330
10450
|
type: Injectable
|
|
10331
10451
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10332
10452
|
|
|
@@ -10440,61 +10560,12 @@ class DayPeriodService {
|
|
|
10440
10560
|
];
|
|
10441
10561
|
}
|
|
10442
10562
|
}
|
|
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: "
|
|
10563
|
+
DayPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10564
|
+
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService });
|
|
10565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
10446
10566
|
type: Injectable
|
|
10447
10567
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
10448
10568
|
|
|
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
10569
|
/* eslint-disable @angular-eslint/component-selector */
|
|
10499
10570
|
const SNAP_THRESHOLD = 0.05; //% of the item height
|
|
10500
10571
|
const SCROLL_THRESHOLD = 2; //< 2px threshold
|
|
@@ -10541,15 +10612,13 @@ class TimeListComponent {
|
|
|
10541
10612
|
return 'listbox';
|
|
10542
10613
|
}
|
|
10543
10614
|
get ariaLabel() {
|
|
10544
|
-
|
|
10545
|
-
return this.localization.get((_a = this.part) === null || _a === void 0 ? void 0 : _a.type);
|
|
10615
|
+
return this.localization.get(this.part?.type);
|
|
10546
10616
|
}
|
|
10547
10617
|
get tabIndex() {
|
|
10548
10618
|
return this.disabled ? undefined : 0;
|
|
10549
10619
|
}
|
|
10550
10620
|
get isDayPeriod() {
|
|
10551
|
-
|
|
10552
|
-
return ((_a = this.part) === null || _a === void 0 ? void 0 : _a.type) === 'dayperiod';
|
|
10621
|
+
return this.part?.type === 'dayperiod';
|
|
10553
10622
|
}
|
|
10554
10623
|
get currentSelectedIndex() {
|
|
10555
10624
|
return this.selectedIndex(this.value);
|
|
@@ -10725,8 +10794,8 @@ class TimeListComponent {
|
|
|
10725
10794
|
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
10795
|
}
|
|
10727
10796
|
}
|
|
10728
|
-
TimeListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10729
|
-
TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
10797
|
+
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 });
|
|
10798
|
+
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
10799
|
<kendo-virtualization
|
|
10731
10800
|
[skip]="skip"
|
|
10732
10801
|
[take]="total"
|
|
@@ -10755,8 +10824,8 @@ TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
10755
10824
|
</li>
|
|
10756
10825
|
</ul>
|
|
10757
10826
|
</kendo-virtualization>
|
|
10758
|
-
`, 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:
|
|
10759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10827
|
+
`, 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: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
10828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeListComponent, decorators: [{
|
|
10760
10829
|
type: Component,
|
|
10761
10830
|
args: [{
|
|
10762
10831
|
selector: 'kendo-timelist',
|
|
@@ -10892,9 +10961,9 @@ const snapTime = snappers => (candidate, min) => {
|
|
|
10892
10961
|
*/
|
|
10893
10962
|
class TimePickerMessages extends ComponentMessages {
|
|
10894
10963
|
}
|
|
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: "
|
|
10964
|
+
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
10965
|
+
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 });
|
|
10966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
10898
10967
|
type: Directive,
|
|
10899
10968
|
args: [{
|
|
10900
10969
|
// eslint-disable-next-line
|
|
@@ -10935,14 +11004,14 @@ class TimeSelectorLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
10935
11004
|
this.service = service;
|
|
10936
11005
|
}
|
|
10937
11006
|
}
|
|
10938
|
-
TimeSelectorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10939
|
-
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11007
|
+
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 });
|
|
11008
|
+
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
10940
11009
|
{
|
|
10941
11010
|
provide: TimePickerMessages,
|
|
10942
11011
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
10943
11012
|
}
|
|
10944
11013
|
], usesInheritance: true, ngImport: i0 });
|
|
10945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, decorators: [{
|
|
10946
11015
|
type: Directive,
|
|
10947
11016
|
args: [{
|
|
10948
11017
|
providers: [
|
|
@@ -11303,8 +11372,8 @@ class TimeSelectorComponent {
|
|
|
11303
11372
|
return listIdx;
|
|
11304
11373
|
}
|
|
11305
11374
|
}
|
|
11306
|
-
TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11307
|
-
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11375
|
+
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 });
|
|
11376
|
+
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
11377
|
LocalizationService,
|
|
11309
11378
|
{
|
|
11310
11379
|
provide: L10N_PREFIX,
|
|
@@ -11413,8 +11482,8 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11413
11482
|
[disabled]="disabled"
|
|
11414
11483
|
>{{localization.get('accept')}}</button>
|
|
11415
11484
|
</div>
|
|
11416
|
-
`, 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:
|
|
11417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11485
|
+
`, 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: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorComponent, decorators: [{
|
|
11418
11487
|
type: Component,
|
|
11419
11488
|
args: [{
|
|
11420
11489
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -11590,14 +11659,14 @@ class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
|
11590
11659
|
return true;
|
|
11591
11660
|
}
|
|
11592
11661
|
}
|
|
11593
|
-
TimeSelectorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11594
|
-
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11662
|
+
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 });
|
|
11663
|
+
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages", providers: [
|
|
11595
11664
|
{
|
|
11596
11665
|
provide: TimePickerMessages,
|
|
11597
11666
|
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
11598
11667
|
}
|
|
11599
11668
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
11600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
11601
11670
|
type: Component,
|
|
11602
11671
|
args: [{
|
|
11603
11672
|
providers: [
|
|
@@ -11620,14 +11689,14 @@ class TimePickerLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
11620
11689
|
this.service = service;
|
|
11621
11690
|
}
|
|
11622
11691
|
}
|
|
11623
|
-
TimePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11624
|
-
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11692
|
+
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 });
|
|
11693
|
+
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
11625
11694
|
{
|
|
11626
11695
|
provide: TimePickerMessages,
|
|
11627
11696
|
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
11628
11697
|
}
|
|
11629
11698
|
], usesInheritance: true, ngImport: i0 });
|
|
11630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
11631
11700
|
type: Directive,
|
|
11632
11701
|
args: [{
|
|
11633
11702
|
providers: [
|
|
@@ -11659,6 +11728,10 @@ class TimePickerComponent {
|
|
|
11659
11728
|
this.pickerService = pickerService;
|
|
11660
11729
|
this.intl = intl;
|
|
11661
11730
|
this.touchEnabled = touchEnabled;
|
|
11731
|
+
/**
|
|
11732
|
+
* @hidden
|
|
11733
|
+
*/
|
|
11734
|
+
this.clockIcon = clockIcon;
|
|
11662
11735
|
/**
|
|
11663
11736
|
* Sets or gets the `disabled` property of the TimePicker and
|
|
11664
11737
|
* determines whether the component is active
|
|
@@ -11910,11 +11983,11 @@ class TimePickerComponent {
|
|
|
11910
11983
|
*/
|
|
11911
11984
|
set size(size) {
|
|
11912
11985
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
11913
|
-
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('
|
|
11986
|
+
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
|
|
11914
11987
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
11915
11988
|
if (newSize !== 'none') {
|
|
11916
11989
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
11917
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('
|
|
11990
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
|
|
11918
11991
|
}
|
|
11919
11992
|
this._size = newSize;
|
|
11920
11993
|
}
|
|
@@ -12218,7 +12291,7 @@ class TimePickerComponent {
|
|
|
12218
12291
|
* @hidden
|
|
12219
12292
|
*/
|
|
12220
12293
|
handleInputChange(value) {
|
|
12221
|
-
const val = this.input.formatSections
|
|
12294
|
+
const val = this.input.formatSections['date'] ? value : this.mergeTime(value);
|
|
12222
12295
|
this.handleChange(val);
|
|
12223
12296
|
}
|
|
12224
12297
|
/**
|
|
@@ -12414,8 +12487,8 @@ class TimePickerComponent {
|
|
|
12414
12487
|
}
|
|
12415
12488
|
}
|
|
12416
12489
|
}
|
|
12417
|
-
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12418
|
-
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
12490
|
+
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 });
|
|
12491
|
+
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerComponent, selector: "kendo-timepicker", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", cancelButton: "cancelButton", nowButton: "nowButton", steps: "steps", popupSettings: "popupSettings", tabindex: "tabindex", tabIndex: "tabIndex", title: "title", rangeValidation: "rangeValidation", value: "value", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-timepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
12419
12492
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
12420
12493
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
12421
12494
|
{ provide: KendoInput, useExisting: forwardRef(() => TimePickerComponent) },
|
|
@@ -12477,6 +12550,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12477
12550
|
[format]="format"
|
|
12478
12551
|
[formatPlaceholder]="formatPlaceholder"
|
|
12479
12552
|
[placeholder]="placeholder"
|
|
12553
|
+
[focusableId]="focusableId"
|
|
12480
12554
|
[min]="normalizeTime(min)"
|
|
12481
12555
|
[max]="normalizeTime(max)"
|
|
12482
12556
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
@@ -12502,7 +12576,12 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12502
12576
|
}"
|
|
12503
12577
|
[scope]="this"
|
|
12504
12578
|
>
|
|
12505
|
-
<
|
|
12579
|
+
<kendo-icon-wrapper
|
|
12580
|
+
name="clock"
|
|
12581
|
+
class="k-button-icon"
|
|
12582
|
+
[svgIcon]="clockIcon"
|
|
12583
|
+
>
|
|
12584
|
+
</kendo-icon-wrapper>
|
|
12506
12585
|
</button>
|
|
12507
12586
|
<ng-template #popupTemplate>
|
|
12508
12587
|
<kendo-timeselector
|
|
@@ -12539,8 +12618,8 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12539
12618
|
</kendo-timeselector>
|
|
12540
12619
|
</ng-template>
|
|
12541
12620
|
<ng-container #container></ng-container>
|
|
12542
|
-
`, 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:
|
|
12543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12621
|
+
`, 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: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { 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: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
12544
12623
|
type: Component,
|
|
12545
12624
|
args: [{
|
|
12546
12625
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -12609,6 +12688,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12609
12688
|
[format]="format"
|
|
12610
12689
|
[formatPlaceholder]="formatPlaceholder"
|
|
12611
12690
|
[placeholder]="placeholder"
|
|
12691
|
+
[focusableId]="focusableId"
|
|
12612
12692
|
[min]="normalizeTime(min)"
|
|
12613
12693
|
[max]="normalizeTime(max)"
|
|
12614
12694
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
@@ -12634,7 +12714,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12634
12714
|
}"
|
|
12635
12715
|
[scope]="this"
|
|
12636
12716
|
>
|
|
12637
|
-
<
|
|
12717
|
+
<kendo-icon-wrapper
|
|
12718
|
+
name="clock"
|
|
12719
|
+
class="k-button-icon"
|
|
12720
|
+
[svgIcon]="clockIcon"
|
|
12721
|
+
>
|
|
12722
|
+
</kendo-icon-wrapper>
|
|
12638
12723
|
</button>
|
|
12639
12724
|
<ng-template #popupTemplate>
|
|
12640
12725
|
<kendo-timeselector
|
|
@@ -12687,6 +12772,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12687
12772
|
}], toggleButton: [{
|
|
12688
12773
|
type: ViewChild,
|
|
12689
12774
|
args: ['toggleButton', { static: true }]
|
|
12775
|
+
}], focusableId: [{
|
|
12776
|
+
type: Input
|
|
12690
12777
|
}], disabled: [{
|
|
12691
12778
|
type: Input
|
|
12692
12779
|
}], readonly: [{
|
|
@@ -12757,9 +12844,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12757
12844
|
*/
|
|
12758
12845
|
class Messages extends ComponentMessages {
|
|
12759
12846
|
}
|
|
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: "
|
|
12847
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
12848
|
+
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 });
|
|
12849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
12763
12850
|
type: Directive,
|
|
12764
12851
|
args: [{
|
|
12765
12852
|
// eslint-disable-next-line
|
|
@@ -12804,14 +12891,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
12804
12891
|
this.service = service;
|
|
12805
12892
|
}
|
|
12806
12893
|
}
|
|
12807
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12808
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
12894
|
+
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 });
|
|
12895
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
12809
12896
|
{
|
|
12810
12897
|
provide: Messages,
|
|
12811
12898
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
12812
12899
|
}
|
|
12813
12900
|
], usesInheritance: true, ngImport: i0 });
|
|
12814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
12815
12902
|
type: Directive,
|
|
12816
12903
|
args: [{
|
|
12817
12904
|
providers: [
|
|
@@ -12846,6 +12933,14 @@ class DateTimePickerComponent {
|
|
|
12846
12933
|
this.localization = localization;
|
|
12847
12934
|
this.disabledDatesService = disabledDatesService;
|
|
12848
12935
|
this.renderer = renderer;
|
|
12936
|
+
/**
|
|
12937
|
+
* @hidden
|
|
12938
|
+
*/
|
|
12939
|
+
this.calendarIcon = calendarIcon;
|
|
12940
|
+
/**
|
|
12941
|
+
* @hidden
|
|
12942
|
+
*/
|
|
12943
|
+
this.clockIcon = clockIcon;
|
|
12849
12944
|
/**
|
|
12850
12945
|
* @hidden
|
|
12851
12946
|
*/
|
|
@@ -13186,11 +13281,11 @@ class DateTimePickerComponent {
|
|
|
13186
13281
|
*/
|
|
13187
13282
|
set size(size) {
|
|
13188
13283
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
13189
|
-
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('
|
|
13284
|
+
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
|
|
13190
13285
|
const newSize = size ? size : DEFAULT_SIZE;
|
|
13191
13286
|
if (newSize !== 'none') {
|
|
13192
13287
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
13193
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('
|
|
13288
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
|
|
13194
13289
|
}
|
|
13195
13290
|
this._size = newSize;
|
|
13196
13291
|
}
|
|
@@ -13291,8 +13386,7 @@ class DateTimePickerComponent {
|
|
|
13291
13386
|
return appendTo === 'component' ? this.container : appendTo;
|
|
13292
13387
|
}
|
|
13293
13388
|
get popupUID() {
|
|
13294
|
-
|
|
13295
|
-
return (_a = this.calendar) === null || _a === void 0 ? void 0 : _a.popupId;
|
|
13389
|
+
return this.calendar?.popupId;
|
|
13296
13390
|
}
|
|
13297
13391
|
;
|
|
13298
13392
|
ngOnInit() {
|
|
@@ -13312,10 +13406,10 @@ class DateTimePickerComponent {
|
|
|
13312
13406
|
this.setComponentClasses();
|
|
13313
13407
|
}
|
|
13314
13408
|
ngOnChanges(changes) {
|
|
13315
|
-
if (isPresent(changes
|
|
13409
|
+
if (isPresent(changes['min']) || isPresent(changes['max'])) {
|
|
13316
13410
|
this.verifyMinMaxRange();
|
|
13317
13411
|
}
|
|
13318
|
-
if (changes
|
|
13412
|
+
if (changes['min'] || changes['max'] || changes['rangeValidation'] || changes['disabledDatesValidation'] || changes['disabledDates'] || changes['incompleteDateValidation']) {
|
|
13319
13413
|
this.minValidateFn = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
13320
13414
|
this.maxValidateFn = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
13321
13415
|
this.disabledDatesValidateFn = this.disabledDatesValidation ? disabledDatesValidator(this.disabledDatesService.isDateDisabled) : noop$2;
|
|
@@ -13802,8 +13896,8 @@ class DateTimePickerComponent {
|
|
|
13802
13896
|
}
|
|
13803
13897
|
}
|
|
13804
13898
|
}
|
|
13805
|
-
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13806
|
-
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13899
|
+
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 });
|
|
13900
|
+
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { focusableId: "focusableId", 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
13901
|
PickerService,
|
|
13808
13902
|
LocalizationService,
|
|
13809
13903
|
DisabledDatesService,
|
|
@@ -13869,6 +13963,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
13869
13963
|
[formatPlaceholder]="formatPlaceholder"
|
|
13870
13964
|
[placeholder]="placeholder"
|
|
13871
13965
|
[disabled]="disabled"
|
|
13966
|
+
[focusableId]="focusableId"
|
|
13872
13967
|
[readonly]="readonly || readOnlyInput"
|
|
13873
13968
|
[role]="'combobox'"
|
|
13874
13969
|
[ariaReadOnly]="readonly"
|
|
@@ -13901,12 +13996,20 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
13901
13996
|
}"
|
|
13902
13997
|
[scope]="this"
|
|
13903
13998
|
>
|
|
13904
|
-
<
|
|
13905
|
-
|
|
13906
|
-
|
|
13907
|
-
|
|
13908
|
-
|
|
13909
|
-
|
|
13999
|
+
<kendo-icon-wrapper
|
|
14000
|
+
*ngIf="activeTab === 'date'"
|
|
14001
|
+
name="calendar"
|
|
14002
|
+
class="k-button-icon"
|
|
14003
|
+
[svgIcon]="calendarIcon"
|
|
14004
|
+
>
|
|
14005
|
+
</kendo-icon-wrapper>
|
|
14006
|
+
<kendo-icon-wrapper
|
|
14007
|
+
*ngIf="activeTab === 'time'"
|
|
14008
|
+
name="clock"
|
|
14009
|
+
class="k-button-icon"
|
|
14010
|
+
[svgIcon]="clockIcon"
|
|
14011
|
+
>
|
|
14012
|
+
</kendo-icon-wrapper>
|
|
13910
14013
|
</button>
|
|
13911
14014
|
|
|
13912
14015
|
<ng-container #container></ng-container>
|
|
@@ -14056,8 +14159,8 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
14056
14159
|
</div>
|
|
14057
14160
|
</div>
|
|
14058
14161
|
</ng-template>
|
|
14059
|
-
`, 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:
|
|
14060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14162
|
+
`, 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: i7$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { 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: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
14061
14164
|
type: Component,
|
|
14062
14165
|
args: [{
|
|
14063
14166
|
selector: 'kendo-datetimepicker',
|
|
@@ -14130,6 +14233,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14130
14233
|
[formatPlaceholder]="formatPlaceholder"
|
|
14131
14234
|
[placeholder]="placeholder"
|
|
14132
14235
|
[disabled]="disabled"
|
|
14236
|
+
[focusableId]="focusableId"
|
|
14133
14237
|
[readonly]="readonly || readOnlyInput"
|
|
14134
14238
|
[role]="'combobox'"
|
|
14135
14239
|
[ariaReadOnly]="readonly"
|
|
@@ -14162,12 +14266,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14162
14266
|
}"
|
|
14163
14267
|
[scope]="this"
|
|
14164
14268
|
>
|
|
14165
|
-
<
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
|
|
14269
|
+
<kendo-icon-wrapper
|
|
14270
|
+
*ngIf="activeTab === 'date'"
|
|
14271
|
+
name="calendar"
|
|
14272
|
+
class="k-button-icon"
|
|
14273
|
+
[svgIcon]="calendarIcon"
|
|
14274
|
+
>
|
|
14275
|
+
</kendo-icon-wrapper>
|
|
14276
|
+
<kendo-icon-wrapper
|
|
14277
|
+
*ngIf="activeTab === 'time'"
|
|
14278
|
+
name="clock"
|
|
14279
|
+
class="k-button-icon"
|
|
14280
|
+
[svgIcon]="clockIcon"
|
|
14281
|
+
>
|
|
14282
|
+
</kendo-icon-wrapper>
|
|
14171
14283
|
</button>
|
|
14172
14284
|
|
|
14173
14285
|
<ng-container #container></ng-container>
|
|
@@ -14334,6 +14446,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14334
14446
|
}], toggleButton: [{
|
|
14335
14447
|
type: ViewChild,
|
|
14336
14448
|
args: ['toggleButton', { static: true }]
|
|
14449
|
+
}], focusableId: [{
|
|
14450
|
+
type: Input
|
|
14337
14451
|
}], value: [{
|
|
14338
14452
|
type: Input
|
|
14339
14453
|
}], format: [{
|
|
@@ -14438,9 +14552,9 @@ class DateRangePopupTemplateDirective {
|
|
|
14438
14552
|
this.templateRef = templateRef;
|
|
14439
14553
|
}
|
|
14440
14554
|
}
|
|
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: "
|
|
14555
|
+
DateRangePopupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangePopupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14556
|
+
DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateRangePopupTemplateDirective, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
|
|
14557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
|
|
14444
14558
|
type: Directive,
|
|
14445
14559
|
args: [{
|
|
14446
14560
|
selector: '[kendoDateRangePopupTemplate]'
|
|
@@ -14655,9 +14769,9 @@ class DateRangeService {
|
|
|
14655
14769
|
this.range$.next(range);
|
|
14656
14770
|
}
|
|
14657
14771
|
}
|
|
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: "
|
|
14772
|
+
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 });
|
|
14773
|
+
DateRangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeService });
|
|
14774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeService, decorators: [{
|
|
14661
14775
|
type: Injectable
|
|
14662
14776
|
}], ctorParameters: function () { return [{ type: i0.Renderer2, decorators: [{
|
|
14663
14777
|
type: Optional
|
|
@@ -14828,9 +14942,9 @@ class DateRangeSelectionDirective {
|
|
|
14828
14942
|
this.selectionRangeChange.emit(range);
|
|
14829
14943
|
}
|
|
14830
14944
|
}
|
|
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: "
|
|
14945
|
+
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 });
|
|
14946
|
+
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 });
|
|
14947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
|
|
14834
14948
|
type: Directive,
|
|
14835
14949
|
args: [{
|
|
14836
14950
|
selector: '[kendoDateRangeSelection]'
|
|
@@ -15128,14 +15242,14 @@ class DateRangePopupComponent {
|
|
|
15128
15242
|
}
|
|
15129
15243
|
}
|
|
15130
15244
|
}
|
|
15131
|
-
DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15132
|
-
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15245
|
+
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 });
|
|
15246
|
+
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
15247
|
<ng-container #container></ng-container>
|
|
15134
15248
|
<ng-template #defaultTemplate>
|
|
15135
15249
|
<kendo-multiviewcalendar kendoDateRangeSelection></kendo-multiviewcalendar>
|
|
15136
15250
|
</ng-template>
|
|
15137
15251
|
`, 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: "
|
|
15252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
15139
15253
|
type: Component,
|
|
15140
15254
|
args: [{
|
|
15141
15255
|
exportAs: 'kendo-daterange-popup',
|
|
@@ -15247,16 +15361,15 @@ class DateRangeComponent {
|
|
|
15247
15361
|
});
|
|
15248
15362
|
}
|
|
15249
15363
|
ngOnDestroy() {
|
|
15250
|
-
|
|
15251
|
-
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
15364
|
+
this.subscription?.unsubscribe();
|
|
15252
15365
|
}
|
|
15253
15366
|
}
|
|
15254
|
-
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15255
|
-
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
15367
|
+
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15368
|
+
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
15369
|
<ng-content></ng-content>
|
|
15257
15370
|
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
15258
15371
|
`, 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: "
|
|
15372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
15260
15373
|
type: Component,
|
|
15261
15374
|
args: [{
|
|
15262
15375
|
providers: [DateRangeService],
|
|
@@ -15387,9 +15500,9 @@ class DateRangeInput {
|
|
|
15387
15500
|
}
|
|
15388
15501
|
}
|
|
15389
15502
|
}
|
|
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: "
|
|
15503
|
+
DateRangeInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeInput, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
15504
|
+
DateRangeInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DateRangeInput, ngImport: i0 });
|
|
15505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeInput, decorators: [{
|
|
15393
15506
|
type: Directive,
|
|
15394
15507
|
args: [{}]
|
|
15395
15508
|
}], ctorParameters: function () { return [{ type: undefined }, { type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; } });
|
|
@@ -15460,9 +15573,9 @@ class DateRangeEndInputDirective extends DateRangeInput {
|
|
|
15460
15573
|
this.dateInput.notify();
|
|
15461
15574
|
}
|
|
15462
15575
|
}
|
|
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: "
|
|
15576
|
+
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 });
|
|
15577
|
+
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 });
|
|
15578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
|
|
15466
15579
|
type: Directive,
|
|
15467
15580
|
args: [{
|
|
15468
15581
|
selector: '[kendoDateRangeEndInput]'
|
|
@@ -15541,9 +15654,9 @@ class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
15541
15654
|
this.dateInput.notify();
|
|
15542
15655
|
}
|
|
15543
15656
|
}
|
|
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: "
|
|
15657
|
+
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 });
|
|
15658
|
+
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 });
|
|
15659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
|
|
15547
15660
|
type: Directive,
|
|
15548
15661
|
args: [{
|
|
15549
15662
|
selector: '[kendoDateRangeStartInput]'
|
|
@@ -15565,14 +15678,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15565
15678
|
*/
|
|
15566
15679
|
class CalendarCommonModule {
|
|
15567
15680
|
}
|
|
15568
|
-
CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15569
|
-
CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15681
|
+
CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15682
|
+
CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, declarations: [KForOf,
|
|
15570
15683
|
HeaderComponent,
|
|
15571
|
-
ViewComponent], imports: [CommonModule, EventsModule], exports: [KForOf,
|
|
15684
|
+
ViewComponent], imports: [CommonModule, EventsModule, ButtonModule], exports: [KForOf,
|
|
15572
15685
|
HeaderComponent,
|
|
15573
15686
|
ViewComponent] });
|
|
15574
|
-
CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15687
|
+
CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, imports: [[CommonModule, EventsModule, ButtonModule]] });
|
|
15688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, decorators: [{
|
|
15576
15689
|
type: NgModule,
|
|
15577
15690
|
args: [{
|
|
15578
15691
|
declarations: [
|
|
@@ -15585,7 +15698,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15585
15698
|
HeaderComponent,
|
|
15586
15699
|
ViewComponent
|
|
15587
15700
|
],
|
|
15588
|
-
imports: [CommonModule, EventsModule]
|
|
15701
|
+
imports: [CommonModule, EventsModule, ButtonModule]
|
|
15589
15702
|
}]
|
|
15590
15703
|
}] });
|
|
15591
15704
|
|
|
@@ -15606,8 +15719,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15606
15719
|
*/
|
|
15607
15720
|
class TemplatesModule {
|
|
15608
15721
|
}
|
|
15609
|
-
TemplatesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15610
|
-
TemplatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15722
|
+
TemplatesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15723
|
+
TemplatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule, declarations: [CellTemplateDirective,
|
|
15611
15724
|
MonthCellTemplateDirective,
|
|
15612
15725
|
YearCellTemplateDirective,
|
|
15613
15726
|
DecadeCellTemplateDirective,
|
|
@@ -15622,8 +15735,8 @@ TemplatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
15622
15735
|
WeekNumberCellTemplateDirective,
|
|
15623
15736
|
HeaderTitleTemplateDirective,
|
|
15624
15737
|
NavigationItemTemplateDirective] });
|
|
15625
|
-
TemplatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15738
|
+
TemplatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule });
|
|
15739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplatesModule, decorators: [{
|
|
15627
15740
|
type: NgModule,
|
|
15628
15741
|
args: [{
|
|
15629
15742
|
declarations: [
|
|
@@ -15686,8 +15799,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15686
15799
|
*/
|
|
15687
15800
|
class MultiViewCalendarModule {
|
|
15688
15801
|
}
|
|
15689
|
-
MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15690
|
-
MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15802
|
+
MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15803
|
+
MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, declarations: [HorizontalViewListComponent,
|
|
15691
15804
|
MultiViewCalendarLocalizedMessagesDirective,
|
|
15692
15805
|
MultiViewCalendarCustomMessagesComponent,
|
|
15693
15806
|
MultiViewCalendarComponent], imports: [CommonModule,
|
|
@@ -15701,7 +15814,7 @@ MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
15701
15814
|
MultiViewCalendarComponent,
|
|
15702
15815
|
CalendarCommonModule,
|
|
15703
15816
|
TemplatesModule] });
|
|
15704
|
-
MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15817
|
+
MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, providers: [
|
|
15705
15818
|
NavigationService,
|
|
15706
15819
|
CenturyViewService,
|
|
15707
15820
|
DecadeViewService,
|
|
@@ -15717,7 +15830,7 @@ MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
15717
15830
|
EventsModule
|
|
15718
15831
|
], CalendarCommonModule,
|
|
15719
15832
|
TemplatesModule] });
|
|
15720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
15721
15834
|
type: NgModule,
|
|
15722
15835
|
args: [{
|
|
15723
15836
|
declarations: [
|
|
@@ -15764,10 +15877,10 @@ const COMPONENT_DIRECTIVES$3 = [
|
|
|
15764
15877
|
*/
|
|
15765
15878
|
class VirtualizationModule {
|
|
15766
15879
|
}
|
|
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: "
|
|
15880
|
+
VirtualizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15881
|
+
VirtualizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, declarations: [VirtualizationComponent], imports: [CommonModule], exports: [VirtualizationComponent] });
|
|
15882
|
+
VirtualizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, imports: [[CommonModule]] });
|
|
15883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: VirtualizationModule, decorators: [{
|
|
15771
15884
|
type: NgModule,
|
|
15772
15885
|
args: [{
|
|
15773
15886
|
declarations: [COMPONENT_DIRECTIVES$3],
|
|
@@ -15818,8 +15931,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15818
15931
|
*/
|
|
15819
15932
|
class CalendarModule {
|
|
15820
15933
|
}
|
|
15821
|
-
CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15822
|
-
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15934
|
+
CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15935
|
+
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, declarations: [CalendarComponent,
|
|
15823
15936
|
NavigationComponent,
|
|
15824
15937
|
CalendarCustomMessagesComponent,
|
|
15825
15938
|
CalendarLocalizedMessagesDirective,
|
|
@@ -15837,7 +15950,7 @@ CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
15837
15950
|
ViewListComponent,
|
|
15838
15951
|
CalendarCommonModule,
|
|
15839
15952
|
TemplatesModule] });
|
|
15840
|
-
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15953
|
+
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, providers: [
|
|
15841
15954
|
CalendarDOMService,
|
|
15842
15955
|
CenturyViewService,
|
|
15843
15956
|
DecadeViewService,
|
|
@@ -15855,7 +15968,7 @@ CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
15855
15968
|
ResizeSensorModule
|
|
15856
15969
|
], CalendarCommonModule,
|
|
15857
15970
|
TemplatesModule] });
|
|
15858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarModule, decorators: [{
|
|
15859
15972
|
type: NgModule,
|
|
15860
15973
|
args: [{
|
|
15861
15974
|
declarations: [
|
|
@@ -15931,16 +16044,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15931
16044
|
*/
|
|
15932
16045
|
class CalendarsModule {
|
|
15933
16046
|
}
|
|
15934
|
-
CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15935
|
-
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16047
|
+
CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16048
|
+
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, imports: [CalendarModule,
|
|
15936
16049
|
MultiViewCalendarModule], exports: [CalendarModule,
|
|
15937
16050
|
MultiViewCalendarModule] });
|
|
15938
|
-
CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16051
|
+
CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, imports: [[
|
|
15939
16052
|
CalendarModule,
|
|
15940
16053
|
MultiViewCalendarModule
|
|
15941
16054
|
], CalendarModule,
|
|
15942
16055
|
MultiViewCalendarModule] });
|
|
15943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarsModule, decorators: [{
|
|
15944
16057
|
type: NgModule,
|
|
15945
16058
|
args: [{
|
|
15946
16059
|
exports: [
|
|
@@ -15966,14 +16079,14 @@ class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
|
15966
16079
|
return true;
|
|
15967
16080
|
}
|
|
15968
16081
|
}
|
|
15969
|
-
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15970
|
-
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16082
|
+
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 });
|
|
16083
|
+
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages", providers: [
|
|
15971
16084
|
{
|
|
15972
16085
|
provide: DateInputMessages,
|
|
15973
16086
|
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
15974
16087
|
}
|
|
15975
16088
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
15976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputCustomMessagesComponent, decorators: [{
|
|
15977
16090
|
type: Component,
|
|
15978
16091
|
args: [{
|
|
15979
16092
|
providers: [
|
|
@@ -15993,14 +16106,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15993
16106
|
*/
|
|
15994
16107
|
class DateInputModule {
|
|
15995
16108
|
}
|
|
15996
|
-
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15997
|
-
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16109
|
+
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16110
|
+
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, declarations: [DateInputComponent,
|
|
15998
16111
|
DateInputCustomMessagesComponent,
|
|
15999
|
-
DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule], exports: [DateInputComponent,
|
|
16112
|
+
DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule, IconsModule], exports: [DateInputComponent,
|
|
16000
16113
|
DateInputCustomMessagesComponent,
|
|
16001
16114
|
DateInputLocalizedMessagesDirective] });
|
|
16002
|
-
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16115
|
+
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, imports: [[CommonModule, IntlModule, EventsModule, IconsModule]] });
|
|
16116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, decorators: [{
|
|
16004
16117
|
type: NgModule,
|
|
16005
16118
|
args: [{
|
|
16006
16119
|
declarations: [
|
|
@@ -16013,7 +16126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16013
16126
|
DateInputCustomMessagesComponent,
|
|
16014
16127
|
DateInputLocalizedMessagesDirective
|
|
16015
16128
|
],
|
|
16016
|
-
imports: [CommonModule, IntlModule, EventsModule]
|
|
16129
|
+
imports: [CommonModule, IntlModule, EventsModule, IconsModule]
|
|
16017
16130
|
}]
|
|
16018
16131
|
}] });
|
|
16019
16132
|
|
|
@@ -16029,14 +16142,14 @@ class DatePickerCustomMessagesComponent extends DatePickerMessages {
|
|
|
16029
16142
|
return true;
|
|
16030
16143
|
}
|
|
16031
16144
|
}
|
|
16032
|
-
DatePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16033
|
-
DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16145
|
+
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 });
|
|
16146
|
+
DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages", providers: [
|
|
16034
16147
|
{
|
|
16035
16148
|
provide: DatePickerMessages,
|
|
16036
16149
|
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
16037
16150
|
}
|
|
16038
16151
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
16039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
|
|
16040
16153
|
type: Component,
|
|
16041
16154
|
args: [{
|
|
16042
16155
|
providers: [
|
|
@@ -16056,8 +16169,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16056
16169
|
*/
|
|
16057
16170
|
class DatePickerModule {
|
|
16058
16171
|
}
|
|
16059
|
-
DatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16060
|
-
DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16172
|
+
DatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16173
|
+
DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, declarations: [DatePickerComponent,
|
|
16061
16174
|
DatePickerCustomMessagesComponent,
|
|
16062
16175
|
DatePickerLocalizedMessagesDirective], imports: [CommonModule,
|
|
16063
16176
|
DateInputModule,
|
|
@@ -16065,20 +16178,22 @@ DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
16065
16178
|
IntlModule,
|
|
16066
16179
|
PopupModule,
|
|
16067
16180
|
TemplatesModule,
|
|
16068
|
-
EventsModule
|
|
16181
|
+
EventsModule,
|
|
16182
|
+
IconsModule], exports: [DatePickerComponent,
|
|
16069
16183
|
DatePickerCustomMessagesComponent,
|
|
16070
16184
|
DatePickerLocalizedMessagesDirective,
|
|
16071
16185
|
TemplatesModule] });
|
|
16072
|
-
DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16186
|
+
DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[
|
|
16073
16187
|
CommonModule,
|
|
16074
16188
|
DateInputModule,
|
|
16075
16189
|
CalendarModule,
|
|
16076
16190
|
IntlModule,
|
|
16077
16191
|
PopupModule,
|
|
16078
16192
|
TemplatesModule,
|
|
16079
|
-
EventsModule
|
|
16193
|
+
EventsModule,
|
|
16194
|
+
IconsModule
|
|
16080
16195
|
], TemplatesModule] });
|
|
16081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, decorators: [{
|
|
16082
16197
|
type: NgModule,
|
|
16083
16198
|
args: [{
|
|
16084
16199
|
declarations: [
|
|
@@ -16099,7 +16214,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16099
16214
|
IntlModule,
|
|
16100
16215
|
PopupModule,
|
|
16101
16216
|
TemplatesModule,
|
|
16102
|
-
EventsModule
|
|
16217
|
+
EventsModule,
|
|
16218
|
+
IconsModule
|
|
16103
16219
|
],
|
|
16104
16220
|
providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }]
|
|
16105
16221
|
}]
|
|
@@ -16159,8 +16275,8 @@ const COMPONENT_MODULES$2 = [
|
|
|
16159
16275
|
*/
|
|
16160
16276
|
class DateRangeModule {
|
|
16161
16277
|
}
|
|
16162
|
-
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16163
|
-
DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16278
|
+
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16279
|
+
DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, declarations: [DateRangeComponent,
|
|
16164
16280
|
DateRangePopupComponent,
|
|
16165
16281
|
DateRangePopupTemplateDirective,
|
|
16166
16282
|
DateRangeSelectionDirective,
|
|
@@ -16174,8 +16290,8 @@ DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
16174
16290
|
DateRangeSelectionDirective,
|
|
16175
16291
|
DateRangeStartInputDirective,
|
|
16176
16292
|
DateRangeEndInputDirective] });
|
|
16177
|
-
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16293
|
+
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, imports: [[CommonModule, COMPONENT_MODULES$2]] });
|
|
16294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateRangeModule, decorators: [{
|
|
16179
16295
|
type: NgModule,
|
|
16180
16296
|
args: [{
|
|
16181
16297
|
declarations: [COMPONENT_DIRECTIVES$2],
|
|
@@ -16196,14 +16312,14 @@ class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
|
16196
16312
|
return true;
|
|
16197
16313
|
}
|
|
16198
16314
|
}
|
|
16199
|
-
TimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16200
|
-
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16315
|
+
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 });
|
|
16316
|
+
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimePickerCustomMessagesComponent, selector: "kendo-timepicker-messages", providers: [
|
|
16201
16317
|
{
|
|
16202
16318
|
provide: TimePickerMessages,
|
|
16203
16319
|
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
16204
16320
|
}
|
|
16205
16321
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
16206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
16207
16323
|
type: Component,
|
|
16208
16324
|
args: [{
|
|
16209
16325
|
providers: [
|
|
@@ -16231,7 +16347,8 @@ const COMPONENT_MODULES$1 = [
|
|
|
16231
16347
|
IntlModule,
|
|
16232
16348
|
PopupModule,
|
|
16233
16349
|
VirtualizationModule,
|
|
16234
|
-
EventsModule
|
|
16350
|
+
EventsModule,
|
|
16351
|
+
IconsModule
|
|
16235
16352
|
];
|
|
16236
16353
|
const providers = [
|
|
16237
16354
|
TimePickerDOMService,
|
|
@@ -16251,8 +16368,8 @@ const providers = [
|
|
|
16251
16368
|
*/
|
|
16252
16369
|
class TimePickerModule {
|
|
16253
16370
|
}
|
|
16254
|
-
TimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16255
|
-
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16371
|
+
TimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16372
|
+
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, declarations: [TimePickerLocalizedMessagesDirective,
|
|
16256
16373
|
TimeListComponent,
|
|
16257
16374
|
TimePickerCustomMessagesComponent,
|
|
16258
16375
|
TimePickerComponent,
|
|
@@ -16262,15 +16379,16 @@ TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
16262
16379
|
IntlModule,
|
|
16263
16380
|
PopupModule,
|
|
16264
16381
|
VirtualizationModule,
|
|
16265
|
-
EventsModule
|
|
16382
|
+
EventsModule,
|
|
16383
|
+
IconsModule], exports: [TimePickerLocalizedMessagesDirective,
|
|
16266
16384
|
TimeListComponent,
|
|
16267
16385
|
TimePickerCustomMessagesComponent,
|
|
16268
16386
|
TimePickerComponent,
|
|
16269
16387
|
TimeSelectorLocalizedMessagesDirective,
|
|
16270
16388
|
TimeSelectorCustomMessagesComponent,
|
|
16271
16389
|
TimeSelectorComponent] });
|
|
16272
|
-
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16390
|
+
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, providers: providers, imports: [[CommonModule, ...COMPONENT_MODULES$1]] });
|
|
16391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimePickerModule, decorators: [{
|
|
16274
16392
|
type: NgModule,
|
|
16275
16393
|
args: [{
|
|
16276
16394
|
declarations: [COMPONENT_DIRECTIVES$1],
|
|
@@ -16292,14 +16410,14 @@ class DateTimePickerCustomMessagesComponent extends Messages {
|
|
|
16292
16410
|
return true;
|
|
16293
16411
|
}
|
|
16294
16412
|
}
|
|
16295
|
-
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16296
|
-
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
16413
|
+
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 });
|
|
16414
|
+
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages", providers: [
|
|
16297
16415
|
{
|
|
16298
16416
|
provide: Messages,
|
|
16299
16417
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
16300
16418
|
}
|
|
16301
16419
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
16302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
16303
16421
|
type: Component,
|
|
16304
16422
|
args: [{
|
|
16305
16423
|
providers: [
|
|
@@ -16324,8 +16442,8 @@ const COMPONENT_DIRECTIVES = [
|
|
|
16324
16442
|
*/
|
|
16325
16443
|
class DateTimePickerModule {
|
|
16326
16444
|
}
|
|
16327
|
-
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16328
|
-
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16445
|
+
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16446
|
+
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, declarations: [DateTimePickerComponent,
|
|
16329
16447
|
DateTimePickerCustomMessagesComponent,
|
|
16330
16448
|
LocalizedMessagesDirective], imports: [CommonModule,
|
|
16331
16449
|
IntlModule,
|
|
@@ -16334,10 +16452,11 @@ DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
|
|
|
16334
16452
|
TimePickerModule,
|
|
16335
16453
|
PopupModule,
|
|
16336
16454
|
EventsModule,
|
|
16337
|
-
TemplatesModule
|
|
16455
|
+
TemplatesModule,
|
|
16456
|
+
IconsModule], exports: [DateTimePickerComponent,
|
|
16338
16457
|
DateTimePickerCustomMessagesComponent,
|
|
16339
16458
|
LocalizedMessagesDirective, TemplatesModule] });
|
|
16340
|
-
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16459
|
+
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
16341
16460
|
{ provide: TOUCH_ENABLED, useValue: touchEnabled }
|
|
16342
16461
|
], imports: [[
|
|
16343
16462
|
CommonModule,
|
|
@@ -16347,9 +16466,10 @@ DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
16347
16466
|
TimePickerModule,
|
|
16348
16467
|
PopupModule,
|
|
16349
16468
|
EventsModule,
|
|
16350
|
-
TemplatesModule
|
|
16469
|
+
TemplatesModule,
|
|
16470
|
+
IconsModule
|
|
16351
16471
|
], TemplatesModule] });
|
|
16352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
16353
16473
|
type: NgModule,
|
|
16354
16474
|
args: [{
|
|
16355
16475
|
declarations: [
|
|
@@ -16367,7 +16487,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16367
16487
|
TimePickerModule,
|
|
16368
16488
|
PopupModule,
|
|
16369
16489
|
EventsModule,
|
|
16370
|
-
TemplatesModule
|
|
16490
|
+
TemplatesModule,
|
|
16491
|
+
IconsModule
|
|
16371
16492
|
],
|
|
16372
16493
|
providers: [
|
|
16373
16494
|
{ provide: TOUCH_ENABLED, useValue: touchEnabled }
|
|
@@ -16416,8 +16537,8 @@ const COMPONENT_MODULES = [
|
|
|
16416
16537
|
*/
|
|
16417
16538
|
class DateInputsModule {
|
|
16418
16539
|
}
|
|
16419
|
-
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16420
|
-
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16540
|
+
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16541
|
+
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, imports: [CalendarsModule,
|
|
16421
16542
|
DateInputModule,
|
|
16422
16543
|
DatePickerModule,
|
|
16423
16544
|
TimePickerModule,
|
|
@@ -16428,13 +16549,13 @@ DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
16428
16549
|
TimePickerModule,
|
|
16429
16550
|
DateRangeModule,
|
|
16430
16551
|
DateTimePickerModule] });
|
|
16431
|
-
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16552
|
+
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, imports: [COMPONENT_MODULES, CalendarsModule,
|
|
16432
16553
|
DateInputModule,
|
|
16433
16554
|
DatePickerModule,
|
|
16434
16555
|
TimePickerModule,
|
|
16435
16556
|
DateRangeModule,
|
|
16436
16557
|
DateTimePickerModule] });
|
|
16437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
16438
16559
|
type: NgModule,
|
|
16439
16560
|
args: [{
|
|
16440
16561
|
exports: COMPONENT_MODULES,
|