@progress/kendo-angular-dateinputs 6.0.4-dev.202203211102 → 7.0.0-next.202204010857
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/bundles/kendo-angular-dateinputs.umd.js +5 -0
- package/calendar/calendar-common.module.d.ts +24 -0
- package/{dist/es2015/calendar → calendar}/calendar.component.d.ts +40 -21
- package/{dist/es2015/calendar → calendar}/calendar.module.d.ts +16 -0
- package/{dist/es2015/calendar → calendar}/calendars.module.d.ts +6 -0
- package/{dist/es2015/calendar → calendar}/for.directive.d.ts +8 -5
- package/{dist/es2015/calendar → calendar}/header.component.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/horizontal-view-list.component.d.ts +9 -5
- package/{dist/es2015/calendar → calendar}/localization/calendar-custom-messages.component.d.ts +4 -1
- package/{dist/es2015/calendar → calendar}/localization/calendar-localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/localization/calendar-messages.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/localization/multiview-calendar-custom-messages.component.d.ts +4 -1
- package/{dist/es2015/calendar → calendar}/localization/multiview-calendar-localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/localization/multiview-calendar-messages.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/models/cell-context.interface.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/keydown.interface.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/navigation-action.enum.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/row-length-options.interface.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/scrollable.interface.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/selection-range-end.type.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/selection-range.interface.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/selection.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/type.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/view-service.interface.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/view.enum.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/models/view.type.d.ts +0 -0
- package/{dist/es2015/calendar → calendar}/multiview-calendar.component.d.ts +38 -24
- package/{dist/es2015/calendar → calendar}/multiview-calendar.module.d.ts +14 -0
- package/{dist/es2015/calendar → calendar}/navigation.component.d.ts +4 -1
- package/{dist/es2015/calendar → calendar}/services/bus-view.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/century-view.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/decade-view.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/disabled-dates.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/dom.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/month-view.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/navigation.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/scroll-sync.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/selection.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/weeknames.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/services/year-view.service.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/cell-template.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/century-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/decade-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/header-title-template.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/month-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/navigation-item-template.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/weeknumber-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/calendar → calendar}/templates/year-cell-template.directive.d.ts +3 -0
- package/calendar/templates.module.d.ts +33 -0
- package/{dist/es2015/calendar → calendar}/view-list.component.d.ts +9 -5
- package/{dist/es2015/calendar → calendar}/view.component.d.ts +5 -1
- package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +0 -0
- package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
- package/{dist/es2015/common → common}/models/size.d.ts +0 -0
- package/{dist/es2015/common → common}/picker.service.d.ts +0 -0
- package/{dist/es2015/common → common}/utils.d.ts +0 -0
- package/{dist/es2015/dateinput → dateinput}/arrow.enum.d.ts +0 -0
- package/{dist/es2015/dateinput → dateinput}/dateinput.component.d.ts +21 -12
- package/dateinput/dateinput.module.d.ts +20 -0
- package/{dist/es2015/dateinput → dateinput}/localization/dateinput-custom-messages.component.d.ts +4 -1
- package/{dist/es2015/dateinput → dateinput}/localization/dateinput-localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/dateinput → dateinput}/localization/messages.d.ts +3 -0
- package/{dist/es2015/dateinput → dateinput}/models/format-placeholder.model.d.ts +0 -0
- package/{dist/es2015/dateinput → dateinput}/models/format-settings.model.d.ts +0 -0
- package/{dist/es2015/dateinput → dateinput}/models/incremental-steps.model.d.ts +0 -0
- package/{dist/es2015/dateinputs.module.d.ts → dateinputs.module.d.ts} +10 -0
- package/{dist/es2015/datepicker → datepicker}/datepicker.component.d.ts +36 -24
- package/datepicker/datepicker.module.d.ts +24 -0
- package/{dist/es2015/datepicker → datepicker}/localization/datepicker-custom-messages.component.d.ts +4 -1
- package/{dist/es2015/datepicker → datepicker}/localization/datepicker-localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/datepicker → datepicker}/localization/messages.d.ts +3 -0
- package/{dist/es2015/daterange → daterange}/auto-correct-on.type.d.ts +0 -0
- package/{dist/es2015/daterange → daterange}/date-range-end-input.directive.d.ts +5 -1
- package/{dist/es2015/daterange → daterange}/date-range-input.d.ts +5 -3
- package/{dist/es2015/daterange → daterange}/date-range-popup-template.directive.d.ts +3 -0
- package/{dist/es2015/daterange → daterange}/date-range-popup.component.d.ts +12 -5
- package/daterange/date-range-popup.service.d.ts +52 -0
- package/{dist/es2015/daterange → daterange}/date-range-selection.directive.d.ts +8 -3
- package/{dist/es2015/daterange → daterange}/date-range-start-input.directive.d.ts +5 -1
- package/{dist/es2015/daterange → daterange}/date-range.component.d.ts +4 -1
- package/{dist/es2015/daterange → daterange}/date-range.module.d.ts +15 -1
- package/{dist/es2015/daterange → daterange}/date-range.service.d.ts +8 -38
- package/{dist/es2015/datetimepicker → datetimepicker}/datetimepicker.component.d.ts +38 -23
- package/datetimepicker/datetimepicker.module.d.ts +25 -0
- package/{dist/es2015/datetimepicker → datetimepicker}/localization/datetimepicker-custom-messages.component.d.ts +4 -1
- package/{dist/es2015/datetimepicker → datetimepicker}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/datetimepicker → datetimepicker}/localization/messages.d.ts +3 -0
- package/{dist/es2015/datetimepicker → datetimepicker}/models/active-tab.type.d.ts +0 -0
- package/{dist/es2015/defaults.d.ts → defaults.d.ts} +0 -0
- package/esm2015/calendar/calendar-common.module.js +45 -0
- package/{dist/es2015 → esm2015}/calendar/calendar.component.js +277 -246
- package/{dist/es2015 → esm2015}/calendar/calendar.module.js +71 -34
- package/{dist/es2015 → esm2015}/calendar/calendars.module.js +23 -14
- package/{dist/es2015 → esm2015}/calendar/for.directive.js +16 -25
- package/{dist/es2015 → esm2015}/calendar/header.component.js +97 -73
- package/{dist/es2015 → esm2015}/calendar/horizontal-view-list.component.js +155 -130
- package/esm2015/calendar/localization/calendar-custom-messages.component.js +40 -0
- package/esm2015/calendar/localization/calendar-localized-messages.directive.js +36 -0
- package/esm2015/calendar/localization/calendar-messages.js +26 -0
- package/esm2015/calendar/localization/multiview-calendar-custom-messages.component.js +40 -0
- package/esm2015/calendar/localization/multiview-calendar-localized-messages.directive.js +36 -0
- package/esm2015/calendar/localization/multiview-calendar-messages.js +26 -0
- package/{dist/es → esm2015}/calendar/models/cell-context.interface.js +1 -0
- package/{dist/es2015 → esm2015}/calendar/models/keydown.interface.js +1 -0
- package/{dist/es → esm2015}/calendar/models/navigation-action.enum.js +0 -0
- package/{dist/es2015 → esm2015}/calendar/models/row-length-options.interface.js +1 -0
- package/{dist/es/virtualization → esm2015/calendar}/models/scrollable.interface.js +1 -0
- package/{dist/es → esm2015}/calendar/models/selection-range-end.type.js +1 -0
- package/{dist/es2015 → esm2015}/calendar/models/selection-range.interface.js +0 -0
- package/{dist/es → esm2015}/calendar/models/selection.js +1 -0
- package/{dist/es → esm2015}/calendar/models/type.js +1 -0
- package/{dist/es → esm2015}/calendar/models/view-service.interface.js +1 -0
- package/{dist/es → esm2015}/calendar/models/view.enum.js +0 -0
- package/{dist/es → esm2015}/calendar/models/view.type.js +1 -0
- package/{dist/es2015 → esm2015}/calendar/multiview-calendar.component.js +246 -298
- package/{dist/es2015 → esm2015}/calendar/multiview-calendar.module.js +63 -32
- package/{dist/es2015 → esm2015}/calendar/navigation.component.js +71 -62
- package/{dist/es2015 → esm2015}/calendar/services/bus-view.service.js +9 -11
- package/{dist/es2015 → esm2015}/calendar/services/century-view.service.js +8 -11
- package/{dist/es2015 → esm2015}/calendar/services/decade-view.service.js +8 -11
- package/{dist/es2015 → esm2015}/calendar/services/disabled-dates.service.js +8 -12
- package/{dist/es2015 → esm2015}/calendar/services/dom.service.js +10 -26
- package/{dist/es2015 → esm2015}/calendar/services/month-view.service.js +9 -10
- package/{dist/es2015 → esm2015}/calendar/services/navigation.service.js +9 -9
- package/{dist/es2015 → esm2015}/calendar/services/scroll-sync.service.js +10 -13
- package/{dist/es2015 → esm2015}/calendar/services/selection.service.js +9 -9
- package/{dist/es2015 → esm2015}/calendar/services/weeknames.service.js +9 -9
- package/{dist/es2015 → esm2015}/calendar/services/year-view.service.js +9 -13
- package/{dist/es2015 → esm2015}/calendar/templates/cell-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/calendar/templates/century-cell-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/calendar/templates/decade-cell-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/calendar/templates/header-title-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/calendar/templates/month-cell-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/calendar/templates/navigation-item-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/calendar/templates/weeknumber-cell-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/calendar/templates/year-cell-template.directive.js +12 -11
- package/esm2015/calendar/templates.module.js +73 -0
- package/{dist/es2015 → esm2015}/calendar/view-list.component.js +135 -120
- package/{dist/es2015 → esm2015}/calendar/view.component.js +104 -98
- package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es2015 → esm2015}/common/picker.service.js +0 -0
- package/{dist/es2015 → esm2015}/common/utils.js +0 -0
- package/{dist/es → esm2015}/dateinput/arrow.enum.js +0 -0
- package/{dist/es2015 → esm2015}/dateinput/dateinput.component.js +179 -183
- package/esm2015/dateinput/dateinput.module.js +41 -0
- package/esm2015/dateinput/localization/dateinput-custom-messages.component.js +40 -0
- package/esm2015/dateinput/localization/dateinput-localized-messages.directive.js +36 -0
- package/esm2015/dateinput/localization/messages.js +24 -0
- package/{dist/es → esm2015}/dateinput/models/format-placeholder.model.js +1 -0
- package/{dist/es → esm2015}/dateinput/models/format-settings.model.js +1 -0
- package/{dist/es → esm2015}/dateinput/models/incremental-steps.model.js +1 -0
- package/{dist/es2015 → esm2015}/dateinputs.module.js +28 -10
- package/{dist/es2015 → esm2015}/datepicker/datepicker.component.js +285 -285
- package/esm2015/datepicker/datepicker.module.js +72 -0
- package/esm2015/datepicker/localization/datepicker-custom-messages.component.js +40 -0
- package/esm2015/datepicker/localization/datepicker-localized-messages.directive.js +36 -0
- package/esm2015/datepicker/localization/messages.js +28 -0
- package/{dist/es → esm2015}/daterange/auto-correct-on.type.js +1 -0
- package/{dist/es2015 → esm2015}/daterange/date-range-end-input.directive.js +21 -27
- package/{dist/es2015 → esm2015}/daterange/date-range-input.js +11 -8
- package/esm2015/daterange/date-range-popup-template.directive.js +23 -0
- package/{dist/es2015 → esm2015}/daterange/date-range-popup.component.js +75 -91
- package/esm2015/daterange/date-range-popup.service.js +87 -0
- package/{dist/es2015 → esm2015}/daterange/date-range-selection.directive.js +26 -39
- package/{dist/es2015 → esm2015}/daterange/date-range-start-input.directive.js +21 -27
- package/esm2015/daterange/date-range.component.js +74 -0
- package/{dist/es2015 → esm2015}/daterange/date-range.module.js +27 -12
- package/{dist/es2015 → esm2015}/daterange/date-range.service.js +8 -75
- package/{dist/es2015 → esm2015}/datetimepicker/datetimepicker.component.js +398 -227
- package/esm2015/datetimepicker/datetimepicker.module.js +80 -0
- package/esm2015/datetimepicker/localization/datetimepicker-custom-messages.component.js +40 -0
- package/esm2015/datetimepicker/localization/localized-messages.directive.js +36 -0
- package/esm2015/datetimepicker/localization/messages.js +48 -0
- package/{dist/es → esm2015}/datetimepicker/models/active-tab.type.js +1 -0
- package/{dist/es2015 → esm2015}/defaults.js +0 -0
- package/esm2015/kendo-angular-dateinputs.js +8 -0
- package/{dist/es → esm2015}/main.js +25 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es → esm2015}/popup-settings.model.js +1 -0
- package/{dist/es2015 → esm2015}/preventable-event.js +0 -0
- package/esm2015/timepicker/localization/messages.js +34 -0
- package/esm2015/timepicker/localization/timepicker-custom-messages.component.js +40 -0
- package/esm2015/timepicker/localization/timepicker-localized-messages.directive.js +36 -0
- package/esm2015/timepicker/localization/timeselector-custom-messages.component.js +42 -0
- package/esm2015/timepicker/localization/timeselector-localized-messages.directive.js +36 -0
- package/{dist/es → esm2015}/timepicker/models/incremental-steps.model.js +1 -0
- package/{dist/es → esm2015}/timepicker/models/list-item.interface.js +1 -0
- package/{dist/es → esm2015}/timepicker/models/list-service-settings.js +1 -0
- package/{dist/es → esm2015}/timepicker/models/list-service.interface.js +1 -0
- package/{dist/es2015 → esm2015}/timepicker/models/time-part.default.js +0 -0
- package/{dist/es2015 → esm2015}/timepicker/services/dayperiod.service.js +9 -15
- package/{dist/es2015 → esm2015}/timepicker/services/dom.service.js +8 -13
- package/{dist/es2015 → esm2015}/timepicker/services/hours.service.js +9 -14
- package/{dist/es2015 → esm2015}/timepicker/services/milliseconds.service.js +9 -14
- package/{dist/es2015 → esm2015}/timepicker/services/minutes.service.js +9 -14
- package/{dist/es2015 → esm2015}/timepicker/services/seconds.service.js +9 -14
- package/{dist/es2015 → esm2015}/timepicker/timelist.component.js +66 -61
- package/{dist/es2015 → esm2015}/timepicker/timepicker.component.js +219 -179
- package/{dist/es2015 → esm2015}/timepicker/timepicker.module.js +32 -15
- package/{dist/es2015 → esm2015}/timepicker/timeselector.component.js +181 -104
- package/{dist/es2015 → esm2015}/timepicker/util.js +8 -20
- package/{dist/es2015 → esm2015}/touch-enabled.js +0 -0
- package/{dist/es2015 → esm2015}/util.js +1 -6
- package/{dist/es2015 → esm2015}/validators/disabled-date.validator.js +0 -0
- package/{dist/es2015 → esm2015}/validators/disabled-dates-range.validator.js +0 -2
- package/{dist/es2015 → esm2015}/validators/incomplete-date.validator.js +0 -0
- package/{dist/es2015 → esm2015}/validators/max.validator.js +0 -0
- package/{dist/es2015 → esm2015}/validators/min.validator.js +0 -0
- package/{dist/es2015 → esm2015}/validators/time-range.validator.js +0 -0
- package/{dist/es2015/calendar → esm2015/virtualization}/models/scrollable.interface.js +1 -0
- package/{dist/es2015 → esm2015}/virtualization/services/row-height.service.js +1 -3
- package/{dist/es2015 → esm2015}/virtualization/services/scroller.service.js +0 -2
- package/{dist/es2015 → esm2015}/virtualization/virtualization.component.js +75 -90
- package/esm2015/virtualization/virtualization.module.js +30 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dateinputs.js} +9630 -9048
- package/{dist/es/calendar/models/selection-range.interface.js → kendo-angular-dateinputs.d.ts} +3 -2
- package/{dist/es2015/main.d.ts → main.d.ts} +25 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +45 -118
- package/{dist/es2015/popup-settings.model.d.ts → popup-settings.model.d.ts} +0 -0
- package/{dist/es2015/preventable-event.d.ts → preventable-event.d.ts} +0 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/timepicker → timepicker}/localization/messages.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/localization/timepicker-custom-messages.component.d.ts +4 -1
- package/{dist/es2015/timepicker → timepicker}/localization/timepicker-localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/localization/timeselector-custom-messages.component.d.ts +4 -1
- package/{dist/es2015/timepicker → timepicker}/localization/timeselector-localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/models/incremental-steps.model.d.ts +0 -0
- package/{dist/es2015/timepicker → timepicker}/models/list-item.interface.d.ts +0 -0
- package/{dist/es2015/timepicker → timepicker}/models/list-service-settings.d.ts +0 -0
- package/{dist/es2015/timepicker → timepicker}/models/list-service.interface.d.ts +0 -0
- package/{dist/es2015/timepicker → timepicker}/models/time-part.default.d.ts +0 -0
- package/{dist/es2015/timepicker → timepicker}/services/dayperiod.service.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/services/dom.service.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/services/hours.service.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/services/milliseconds.service.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/services/minutes.service.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/services/seconds.service.d.ts +3 -0
- package/{dist/es2015/timepicker → timepicker}/timelist.component.d.ts +4 -1
- package/{dist/es2015/timepicker → timepicker}/timepicker.component.d.ts +32 -18
- package/timepicker/timepicker.module.d.ts +27 -0
- package/{dist/es2015/timepicker → timepicker}/timeselector.component.d.ts +10 -4
- package/{dist/es2015/timepicker → timepicker}/util.d.ts +0 -0
- package/{dist/es2015/touch-enabled.d.ts → touch-enabled.d.ts} +0 -0
- package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
- package/{dist/es2015/validators → validators}/disabled-date.validator.d.ts +0 -0
- package/{dist/es2015/validators → validators}/disabled-dates-range.validator.d.ts +0 -0
- package/{dist/es2015/validators → validators}/incomplete-date.validator.d.ts +0 -0
- package/{dist/es2015/validators → validators}/max.validator.d.ts +0 -0
- package/{dist/es2015/validators → validators}/min.validator.d.ts +0 -0
- package/{dist/es2015/validators → validators}/time-range.validator.d.ts +0 -0
- package/{dist/es2015/virtualization → virtualization}/models/scrollable.interface.d.ts +0 -0
- package/{dist/es2015/virtualization → virtualization}/services/row-height.service.d.ts +0 -0
- package/{dist/es2015/virtualization → virtualization}/services/scroller.service.d.ts +0 -0
- package/{dist/es2015/virtualization → virtualization}/virtualization.component.d.ts +8 -5
- package/{dist/es2015/virtualization → virtualization}/virtualization.module.d.ts +6 -0
- package/dist/cdn/js/kendo-angular-dateinputs.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/calendar/calendar-common.module.js +0 -41
- package/dist/es/calendar/calendar.component.js +0 -1189
- package/dist/es/calendar/calendar.module.js +0 -108
- package/dist/es/calendar/calendars.module.js +0 -60
- package/dist/es/calendar/for.directive.js +0 -135
- package/dist/es/calendar/header.component.js +0 -170
- package/dist/es/calendar/horizontal-view-list.component.js +0 -363
- package/dist/es/calendar/localization/calendar-custom-messages.component.js +0 -43
- package/dist/es/calendar/localization/calendar-localized-messages.directive.js +0 -35
- package/dist/es/calendar/localization/calendar-messages.js +0 -30
- package/dist/es/calendar/localization/multiview-calendar-custom-messages.component.js +0 -43
- package/dist/es/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -35
- package/dist/es/calendar/localization/multiview-calendar-messages.js +0 -30
- package/dist/es/calendar/models/keydown.interface.js +0 -4
- package/dist/es/calendar/models/row-length-options.interface.js +0 -4
- package/dist/es/calendar/models/scrollable.interface.js +0 -4
- package/dist/es/calendar/multiview-calendar.component.js +0 -1122
- package/dist/es/calendar/multiview-calendar.module.js +0 -97
- package/dist/es/calendar/navigation.component.js +0 -173
- package/dist/es/calendar/services/bus-view.service.js +0 -83
- package/dist/es/calendar/services/century-view.service.js +0 -180
- package/dist/es/calendar/services/decade-view.service.js +0 -179
- package/dist/es/calendar/services/disabled-dates.service.js +0 -70
- package/dist/es/calendar/services/dom.service.js +0 -195
- package/dist/es/calendar/services/month-view.service.js +0 -203
- package/dist/es/calendar/services/navigation.service.js +0 -53
- package/dist/es/calendar/services/scroll-sync.service.js +0 -85
- package/dist/es/calendar/services/selection.service.js +0 -55
- package/dist/es/calendar/services/weeknames.service.js +0 -27
- package/dist/es/calendar/services/year-view.service.js +0 -204
- package/dist/es/calendar/templates/cell-template.directive.js +0 -46
- package/dist/es/calendar/templates/century-cell-template.directive.js +0 -45
- package/dist/es/calendar/templates/decade-cell-template.directive.js +0 -45
- package/dist/es/calendar/templates/header-title-template.directive.js +0 -44
- package/dist/es/calendar/templates/month-cell-template.directive.js +0 -43
- package/dist/es/calendar/templates/navigation-item-template.directive.js +0 -44
- package/dist/es/calendar/templates/weeknumber-cell-template.directive.js +0 -43
- package/dist/es/calendar/templates/year-cell-template.directive.js +0 -46
- package/dist/es/calendar/templates.module.js +0 -59
- package/dist/es/calendar/view-list.component.js +0 -301
- package/dist/es/calendar/view.component.js +0 -318
- package/dist/es/common/dom-queries.js +0 -24
- package/dist/es/common/picker.service.js +0 -18
- package/dist/es/common/utils.js +0 -35
- package/dist/es/dateinput/dateinput.component.js +0 -1617
- package/dist/es/dateinput/dateinput.module.js +0 -37
- package/dist/es/dateinput/localization/dateinput-custom-messages.component.js +0 -43
- package/dist/es/dateinput/localization/dateinput-localized-messages.directive.js +0 -35
- package/dist/es/dateinput/localization/messages.js +0 -26
- package/dist/es/dateinputs.module.js +0 -63
- package/dist/es/datepicker/datepicker.component.js +0 -1256
- package/dist/es/datepicker/datepicker.module.js +0 -55
- package/dist/es/datepicker/localization/datepicker-custom-messages.component.js +0 -43
- package/dist/es/datepicker/localization/datepicker-localized-messages.directive.js +0 -35
- package/dist/es/datepicker/localization/messages.js +0 -34
- package/dist/es/daterange/date-range-end-input.directive.js +0 -97
- package/dist/es/daterange/date-range-input.js +0 -131
- package/dist/es/daterange/date-range-popup-template.directive.js +0 -23
- package/dist/es/daterange/date-range-popup.component.js +0 -403
- package/dist/es/daterange/date-range-selection.directive.js +0 -230
- package/dist/es/daterange/date-range-start-input.directive.js +0 -97
- package/dist/es/daterange/date-range.component.js +0 -71
- package/dist/es/daterange/date-range.module.js +0 -83
- package/dist/es/daterange/date-range.service.js +0 -208
- package/dist/es/datetimepicker/datetimepicker.component.js +0 -1309
- package/dist/es/datetimepicker/datetimepicker.module.js +0 -57
- package/dist/es/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -43
- package/dist/es/datetimepicker/localization/localized-messages.directive.js +0 -35
- package/dist/es/datetimepicker/localization/messages.js +0 -74
- package/dist/es/defaults.js +0 -24
- package/dist/es/index.js +0 -63
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/preventable-event.js +0 -29
- package/dist/es/timepicker/localization/messages.js +0 -46
- package/dist/es/timepicker/localization/timepicker-custom-messages.component.js +0 -43
- package/dist/es/timepicker/localization/timepicker-localized-messages.directive.js +0 -35
- package/dist/es/timepicker/localization/timeselector-custom-messages.component.js +0 -45
- package/dist/es/timepicker/localization/timeselector-localized-messages.directive.js +0 -35
- package/dist/es/timepicker/models/time-part.default.js +0 -14
- package/dist/es/timepicker/services/dayperiod.service.js +0 -130
- package/dist/es/timepicker/services/dom.service.js +0 -64
- package/dist/es/timepicker/services/hours.service.js +0 -129
- package/dist/es/timepicker/services/milliseconds.service.js +0 -130
- package/dist/es/timepicker/services/minutes.service.js +0 -127
- package/dist/es/timepicker/services/seconds.service.js +0 -127
- package/dist/es/timepicker/timelist.component.js +0 -297
- package/dist/es/timepicker/timepicker.component.js +0 -1044
- package/dist/es/timepicker/timepicker.module.js +0 -75
- package/dist/es/timepicker/timeselector.component.js +0 -486
- package/dist/es/timepicker/util.js +0 -82
- package/dist/es/touch-enabled.js +0 -9
- package/dist/es/util.js +0 -395
- package/dist/es/validators/disabled-date.validator.js +0 -18
- package/dist/es/validators/disabled-dates-range.validator.js +0 -28
- package/dist/es/validators/incomplete-date.validator.js +0 -18
- package/dist/es/validators/max.validator.js +0 -21
- package/dist/es/validators/min.validator.js +0 -21
- package/dist/es/validators/time-range.validator.js +0 -23
- package/dist/es/virtualization/services/row-height.service.js +0 -72
- package/dist/es/virtualization/services/scroller.service.js +0 -111
- package/dist/es/virtualization/virtualization.component.js +0 -343
- package/dist/es/virtualization/virtualization.module.js +0 -30
- package/dist/es2015/calendar/calendar-common.module.d.ts +0 -15
- package/dist/es2015/calendar/calendar-common.module.js +0 -38
- package/dist/es2015/calendar/localization/calendar-custom-messages.component.js +0 -35
- package/dist/es2015/calendar/localization/calendar-localized-messages.directive.js +0 -31
- package/dist/es2015/calendar/localization/calendar-messages.js +0 -24
- package/dist/es2015/calendar/localization/multiview-calendar-custom-messages.component.js +0 -35
- package/dist/es2015/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -31
- package/dist/es2015/calendar/localization/multiview-calendar-messages.js +0 -24
- package/dist/es2015/calendar/models/cell-context.interface.js +0 -4
- package/dist/es2015/calendar/models/navigation-action.enum.js +0 -20
- package/dist/es2015/calendar/models/selection-range-end.type.js +0 -4
- package/dist/es2015/calendar/models/selection.js +0 -4
- package/dist/es2015/calendar/models/type.js +0 -4
- package/dist/es2015/calendar/models/view-service.interface.js +0 -4
- package/dist/es2015/calendar/models/view.enum.js +0 -16
- package/dist/es2015/calendar/models/view.type.js +0 -4
- package/dist/es2015/calendar/templates.module.d.ts +0 -21
- package/dist/es2015/calendar/templates.module.js +0 -56
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/dateinput/arrow.enum.js +0 -13
- package/dist/es2015/dateinput/dateinput.module.d.ts +0 -10
- package/dist/es2015/dateinput/dateinput.module.js +0 -34
- package/dist/es2015/dateinput/localization/dateinput-custom-messages.component.js +0 -35
- package/dist/es2015/dateinput/localization/dateinput-localized-messages.directive.js +0 -31
- package/dist/es2015/dateinput/localization/messages.js +0 -20
- package/dist/es2015/dateinput/models/format-placeholder.model.js +0 -4
- package/dist/es2015/dateinput/models/format-settings.model.js +0 -4
- package/dist/es2015/dateinput/models/incremental-steps.model.js +0 -4
- package/dist/es2015/datepicker/datepicker.module.d.ts +0 -10
- package/dist/es2015/datepicker/datepicker.module.js +0 -52
- package/dist/es2015/datepicker/localization/datepicker-custom-messages.component.js +0 -35
- package/dist/es2015/datepicker/localization/datepicker-localized-messages.directive.js +0 -31
- package/dist/es2015/datepicker/localization/messages.js +0 -28
- package/dist/es2015/daterange/auto-correct-on.type.js +0 -4
- package/dist/es2015/daterange/date-range-popup-template.directive.js +0 -22
- package/dist/es2015/daterange/date-range.component.js +0 -68
- package/dist/es2015/datetimepicker/datetimepicker.module.d.ts +0 -10
- package/dist/es2015/datetimepicker/datetimepicker.module.js +0 -57
- package/dist/es2015/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -35
- package/dist/es2015/datetimepicker/localization/localized-messages.directive.js +0 -31
- package/dist/es2015/datetimepicker/localization/messages.js +0 -68
- package/dist/es2015/datetimepicker/models/active-tab.type.js +0 -4
- package/dist/es2015/index.d.ts +0 -63
- package/dist/es2015/index.js +0 -63
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -35
- package/dist/es2015/popup-settings.model.js +0 -4
- package/dist/es2015/timepicker/localization/messages.js +0 -40
- package/dist/es2015/timepicker/localization/timepicker-custom-messages.component.js +0 -35
- package/dist/es2015/timepicker/localization/timepicker-localized-messages.directive.js +0 -31
- package/dist/es2015/timepicker/localization/timeselector-custom-messages.component.js +0 -37
- package/dist/es2015/timepicker/localization/timeselector-localized-messages.directive.js +0 -31
- package/dist/es2015/timepicker/models/incremental-steps.model.js +0 -4
- package/dist/es2015/timepicker/models/list-item.interface.js +0 -4
- package/dist/es2015/timepicker/models/list-service-settings.js +0 -4
- package/dist/es2015/timepicker/models/list-service.interface.js +0 -4
- package/dist/es2015/timepicker/timepicker.module.d.ts +0 -10
- package/dist/es2015/virtualization/models/scrollable.interface.js +0 -4
- package/dist/es2015/virtualization/virtualization.module.js +0 -27
- package/dist/fesm5/index.js +0 -15216
- package/dist/npm/calendar/calendar-common.module.js +0 -43
- package/dist/npm/calendar/calendar.component.js +0 -1191
- package/dist/npm/calendar/calendar.module.js +0 -110
- package/dist/npm/calendar/calendars.module.js +0 -62
- package/dist/npm/calendar/for.directive.js +0 -138
- package/dist/npm/calendar/header.component.js +0 -172
- package/dist/npm/calendar/horizontal-view-list.component.js +0 -365
- package/dist/npm/calendar/localization/calendar-custom-messages.component.js +0 -45
- package/dist/npm/calendar/localization/calendar-localized-messages.directive.js +0 -37
- package/dist/npm/calendar/localization/calendar-messages.js +0 -32
- package/dist/npm/calendar/localization/multiview-calendar-custom-messages.component.js +0 -45
- package/dist/npm/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -37
- package/dist/npm/calendar/localization/multiview-calendar-messages.js +0 -32
- package/dist/npm/calendar/models/cell-context.interface.js +0 -6
- package/dist/npm/calendar/models/keydown.interface.js +0 -6
- package/dist/npm/calendar/models/navigation-action.enum.js +0 -22
- package/dist/npm/calendar/models/row-length-options.interface.js +0 -6
- package/dist/npm/calendar/models/scrollable.interface.js +0 -6
- package/dist/npm/calendar/models/selection-range-end.type.js +0 -6
- package/dist/npm/calendar/models/selection-range.interface.js +0 -10
- package/dist/npm/calendar/models/selection.js +0 -6
- package/dist/npm/calendar/models/type.js +0 -6
- package/dist/npm/calendar/models/view-service.interface.js +0 -6
- package/dist/npm/calendar/models/view.enum.js +0 -18
- package/dist/npm/calendar/models/view.type.js +0 -6
- package/dist/npm/calendar/multiview-calendar.component.js +0 -1124
- package/dist/npm/calendar/multiview-calendar.module.js +0 -99
- package/dist/npm/calendar/navigation.component.js +0 -175
- package/dist/npm/calendar/services/bus-view.service.js +0 -85
- package/dist/npm/calendar/services/century-view.service.js +0 -182
- package/dist/npm/calendar/services/decade-view.service.js +0 -181
- package/dist/npm/calendar/services/disabled-dates.service.js +0 -72
- package/dist/npm/calendar/services/dom.service.js +0 -212
- package/dist/npm/calendar/services/month-view.service.js +0 -205
- package/dist/npm/calendar/services/navigation.service.js +0 -55
- package/dist/npm/calendar/services/scroll-sync.service.js +0 -88
- package/dist/npm/calendar/services/selection.service.js +0 -57
- package/dist/npm/calendar/services/weeknames.service.js +0 -29
- package/dist/npm/calendar/services/year-view.service.js +0 -207
- package/dist/npm/calendar/templates/cell-template.directive.js +0 -48
- package/dist/npm/calendar/templates/century-cell-template.directive.js +0 -47
- package/dist/npm/calendar/templates/decade-cell-template.directive.js +0 -47
- package/dist/npm/calendar/templates/header-title-template.directive.js +0 -46
- package/dist/npm/calendar/templates/month-cell-template.directive.js +0 -45
- package/dist/npm/calendar/templates/navigation-item-template.directive.js +0 -46
- package/dist/npm/calendar/templates/weeknumber-cell-template.directive.js +0 -45
- package/dist/npm/calendar/templates/year-cell-template.directive.js +0 -48
- package/dist/npm/calendar/templates.module.js +0 -61
- package/dist/npm/calendar/view-list.component.js +0 -303
- package/dist/npm/calendar/view.component.js +0 -320
- package/dist/npm/common/dom-queries.js +0 -26
- package/dist/npm/common/models/fillmode.js +0 -6
- package/dist/npm/common/models/rounded.js +0 -6
- package/dist/npm/common/models/size.js +0 -6
- package/dist/npm/common/picker.service.js +0 -20
- package/dist/npm/common/utils.js +0 -37
- package/dist/npm/dateinput/arrow.enum.js +0 -15
- package/dist/npm/dateinput/dateinput.component.js +0 -1620
- package/dist/npm/dateinput/dateinput.module.js +0 -39
- package/dist/npm/dateinput/localization/dateinput-custom-messages.component.js +0 -45
- package/dist/npm/dateinput/localization/dateinput-localized-messages.directive.js +0 -37
- package/dist/npm/dateinput/localization/messages.js +0 -28
- package/dist/npm/dateinput/models/format-placeholder.model.js +0 -6
- package/dist/npm/dateinput/models/format-settings.model.js +0 -6
- package/dist/npm/dateinput/models/incremental-steps.model.js +0 -6
- package/dist/npm/dateinputs.module.js +0 -65
- package/dist/npm/datepicker/datepicker.component.js +0 -1258
- package/dist/npm/datepicker/datepicker.module.js +0 -57
- package/dist/npm/datepicker/localization/datepicker-custom-messages.component.js +0 -45
- package/dist/npm/datepicker/localization/datepicker-localized-messages.directive.js +0 -37
- package/dist/npm/datepicker/localization/messages.js +0 -36
- package/dist/npm/daterange/auto-correct-on.type.js +0 -6
- package/dist/npm/daterange/date-range-end-input.directive.js +0 -99
- package/dist/npm/daterange/date-range-input.js +0 -133
- package/dist/npm/daterange/date-range-popup-template.directive.js +0 -25
- package/dist/npm/daterange/date-range-popup.component.js +0 -405
- package/dist/npm/daterange/date-range-selection.directive.js +0 -232
- package/dist/npm/daterange/date-range-start-input.directive.js +0 -99
- package/dist/npm/daterange/date-range.component.js +0 -73
- package/dist/npm/daterange/date-range.module.js +0 -85
- package/dist/npm/daterange/date-range.service.js +0 -211
- package/dist/npm/datetimepicker/datetimepicker.component.js +0 -1311
- package/dist/npm/datetimepicker/datetimepicker.module.js +0 -59
- package/dist/npm/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -45
- package/dist/npm/datetimepicker/localization/localized-messages.directive.js +0 -37
- package/dist/npm/datetimepicker/localization/messages.js +0 -76
- package/dist/npm/datetimepicker/models/active-tab.type.js +0 -6
- package/dist/npm/defaults.js +0 -26
- package/dist/npm/index.js +0 -127
- package/dist/npm/main.js +0 -68
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/popup-settings.model.js +0 -6
- package/dist/npm/preventable-event.js +0 -31
- package/dist/npm/timepicker/localization/messages.js +0 -48
- package/dist/npm/timepicker/localization/timepicker-custom-messages.component.js +0 -45
- package/dist/npm/timepicker/localization/timepicker-localized-messages.directive.js +0 -37
- package/dist/npm/timepicker/localization/timeselector-custom-messages.component.js +0 -47
- package/dist/npm/timepicker/localization/timeselector-localized-messages.directive.js +0 -37
- package/dist/npm/timepicker/models/incremental-steps.model.js +0 -6
- package/dist/npm/timepicker/models/list-item.interface.js +0 -6
- package/dist/npm/timepicker/models/list-service-settings.js +0 -6
- package/dist/npm/timepicker/models/list-service.interface.js +0 -6
- package/dist/npm/timepicker/models/time-part.default.js +0 -16
- package/dist/npm/timepicker/services/dayperiod.service.js +0 -136
- package/dist/npm/timepicker/services/dom.service.js +0 -70
- package/dist/npm/timepicker/services/hours.service.js +0 -134
- package/dist/npm/timepicker/services/milliseconds.service.js +0 -135
- package/dist/npm/timepicker/services/minutes.service.js +0 -132
- package/dist/npm/timepicker/services/seconds.service.js +0 -132
- package/dist/npm/timepicker/timelist.component.js +0 -299
- package/dist/npm/timepicker/timepicker.component.js +0 -1046
- package/dist/npm/timepicker/timepicker.module.js +0 -77
- package/dist/npm/timepicker/timeselector.component.js +0 -488
- package/dist/npm/timepicker/util.js +0 -101
- package/dist/npm/touch-enabled.js +0 -11
- package/dist/npm/util.js +0 -399
- package/dist/npm/validators/disabled-date.validator.js +0 -20
- package/dist/npm/validators/disabled-dates-range.validator.js +0 -30
- package/dist/npm/validators/incomplete-date.validator.js +0 -20
- package/dist/npm/validators/max.validator.js +0 -23
- package/dist/npm/validators/min.validator.js +0 -23
- package/dist/npm/validators/time-range.validator.js +0 -25
- package/dist/npm/virtualization/models/scrollable.interface.js +0 -6
- package/dist/npm/virtualization/services/row-height.service.js +0 -74
- package/dist/npm/virtualization/services/scroller.service.js +0 -113
- package/dist/npm/virtualization/virtualization.component.js +0 -346
- package/dist/npm/virtualization/virtualization.module.js +0 -32
- package/dist/systemjs/kendo-angular-dateinputs.js +0 -5
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ContentChild, EventEmitter, ElementRef, Renderer2, isDevMode, forwardRef, HostBinding, HostListener, Input, Output, ViewChild, NgZone, Optional } from '@angular/core';
|
|
5
|
+
import { Component, ChangeDetectionStrategy, ContentChild, EventEmitter, ElementRef, isDevMode, forwardRef, HostBinding, HostListener, Input, Output, ViewChild } from '@angular/core';
|
|
7
6
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
|
|
8
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
8
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
@@ -30,7 +29,15 @@ import { MIN_DATE, MAX_DATE } from '../defaults';
|
|
|
30
29
|
import { areDatesEqual, dateInRange, getToday, hasExistingValue, last, noop } from '../util';
|
|
31
30
|
import { Subscription } from 'rxjs';
|
|
32
31
|
import { isPresent } from '../common/utils';
|
|
33
|
-
import
|
|
32
|
+
import * as i0 from "@angular/core";
|
|
33
|
+
import * as i1 from "./services/bus-view.service";
|
|
34
|
+
import * as i2 from "./services/navigation.service";
|
|
35
|
+
import * as i3 from "./services/disabled-dates.service";
|
|
36
|
+
import * as i4 from "./services/selection.service";
|
|
37
|
+
import * as i5 from "./header.component";
|
|
38
|
+
import * as i6 from "./horizontal-view-list.component";
|
|
39
|
+
import * as i7 from "./localization/multiview-calendar-localized-messages.directive";
|
|
40
|
+
import * as i8 from "@progress/kendo-angular-common";
|
|
34
41
|
const BOTTOM_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-bottomview';
|
|
35
42
|
const TOP_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-topview';
|
|
36
43
|
const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-min';
|
|
@@ -42,7 +49,7 @@ const VALUE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/datei
|
|
|
42
49
|
export const RANGE_CALENDAR_VALUE_ACCESSOR = {
|
|
43
50
|
multi: true,
|
|
44
51
|
provide: NG_VALUE_ACCESSOR,
|
|
45
|
-
useExisting: forwardRef(() => MultiViewCalendarComponent)
|
|
52
|
+
useExisting: forwardRef(() => MultiViewCalendarComponent)
|
|
46
53
|
};
|
|
47
54
|
/**
|
|
48
55
|
* @hidden
|
|
@@ -50,7 +57,7 @@ export const RANGE_CALENDAR_VALUE_ACCESSOR = {
|
|
|
50
57
|
export const RANGE_CALENDAR_RANGE_VALIDATORS = {
|
|
51
58
|
multi: true,
|
|
52
59
|
provide: NG_VALIDATORS,
|
|
53
|
-
useExisting: forwardRef(() => MultiViewCalendarComponent)
|
|
60
|
+
useExisting: forwardRef(() => MultiViewCalendarComponent)
|
|
54
61
|
};
|
|
55
62
|
/**
|
|
56
63
|
* Represents the Kendo UI MultiViewCalendar component for Angular.
|
|
@@ -66,8 +73,8 @@ export const RANGE_CALENDAR_RANGE_VALIDATORS = {
|
|
|
66
73
|
* export class AppComponent { }
|
|
67
74
|
* ```
|
|
68
75
|
*/
|
|
69
|
-
|
|
70
|
-
constructor(bus, element, navigator, renderer, cdr, zone, disabledDatesService, selectionService
|
|
76
|
+
export class MultiViewCalendarComponent {
|
|
77
|
+
constructor(bus, element, navigator, renderer, cdr, zone, disabledDatesService, selectionService) {
|
|
71
78
|
this.bus = bus;
|
|
72
79
|
this.element = element;
|
|
73
80
|
this.navigator = navigator;
|
|
@@ -76,7 +83,6 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
|
|
|
76
83
|
this.zone = zone;
|
|
77
84
|
this.disabledDatesService = disabledDatesService;
|
|
78
85
|
this.selectionService = selectionService;
|
|
79
|
-
this.pickerService = pickerService;
|
|
80
86
|
/**
|
|
81
87
|
* @hidden
|
|
82
88
|
*/
|
|
@@ -457,9 +463,6 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
|
|
|
457
463
|
return;
|
|
458
464
|
}
|
|
459
465
|
if (event.keyCode === Keys.Enter) {
|
|
460
|
-
if (isPresent(this.pickerService)) {
|
|
461
|
-
event.preventDefault(); // Don't submit form from Datepicker popup
|
|
462
|
-
}
|
|
463
466
|
this.performSelection(this.focusedDate, event);
|
|
464
467
|
}
|
|
465
468
|
const candidate = dateInRange(this.navigator.move(this.focusedDate, this.navigator.action(event), this.activeViewEnum), this.min, this.max);
|
|
@@ -743,279 +746,95 @@ let MultiViewCalendarComponent = class MultiViewCalendarComponent {
|
|
|
743
746
|
focusedDate: date
|
|
744
747
|
});
|
|
745
748
|
}
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
],
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
]
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
]
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
],
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
]
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
]
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
]
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
],
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
tslib_1.__metadata("design:type", Object),
|
|
836
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
837
|
-
], MultiViewCalendarComponent.prototype, "selectionRange", null);
|
|
838
|
-
tslib_1.__decorate([
|
|
839
|
-
Input(),
|
|
840
|
-
tslib_1.__metadata("design:type", Number)
|
|
841
|
-
], MultiViewCalendarComponent.prototype, "views", void 0);
|
|
842
|
-
tslib_1.__decorate([
|
|
843
|
-
Output(),
|
|
844
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
845
|
-
], MultiViewCalendarComponent.prototype, "activeViewChange", void 0);
|
|
846
|
-
tslib_1.__decorate([
|
|
847
|
-
Output(),
|
|
848
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
849
|
-
], MultiViewCalendarComponent.prototype, "navigate", void 0);
|
|
850
|
-
tslib_1.__decorate([
|
|
851
|
-
Output(),
|
|
852
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
853
|
-
], MultiViewCalendarComponent.prototype, "cellEnter", void 0);
|
|
854
|
-
tslib_1.__decorate([
|
|
855
|
-
Output(),
|
|
856
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
857
|
-
], MultiViewCalendarComponent.prototype, "cellLeave", void 0);
|
|
858
|
-
tslib_1.__decorate([
|
|
859
|
-
Output(),
|
|
860
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
861
|
-
], MultiViewCalendarComponent.prototype, "valueChange", void 0);
|
|
862
|
-
tslib_1.__decorate([
|
|
863
|
-
Output('blur'),
|
|
864
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
865
|
-
], MultiViewCalendarComponent.prototype, "blurEvent", void 0);
|
|
866
|
-
tslib_1.__decorate([
|
|
867
|
-
ContentChild(CellTemplateDirective, { static: false }),
|
|
868
|
-
tslib_1.__metadata("design:type", CellTemplateDirective)
|
|
869
|
-
], MultiViewCalendarComponent.prototype, "cellTemplate", void 0);
|
|
870
|
-
tslib_1.__decorate([
|
|
871
|
-
Input('cellTemplate'),
|
|
872
|
-
tslib_1.__metadata("design:type", CellTemplateDirective),
|
|
873
|
-
tslib_1.__metadata("design:paramtypes", [CellTemplateDirective])
|
|
874
|
-
], MultiViewCalendarComponent.prototype, "cellTemplateRef", null);
|
|
875
|
-
tslib_1.__decorate([
|
|
876
|
-
ContentChild(MonthCellTemplateDirective, { static: false }),
|
|
877
|
-
tslib_1.__metadata("design:type", MonthCellTemplateDirective)
|
|
878
|
-
], MultiViewCalendarComponent.prototype, "monthCellTemplate", void 0);
|
|
879
|
-
tslib_1.__decorate([
|
|
880
|
-
Input('monthCellTemplate'),
|
|
881
|
-
tslib_1.__metadata("design:type", MonthCellTemplateDirective),
|
|
882
|
-
tslib_1.__metadata("design:paramtypes", [MonthCellTemplateDirective])
|
|
883
|
-
], MultiViewCalendarComponent.prototype, "monthCellTemplateRef", null);
|
|
884
|
-
tslib_1.__decorate([
|
|
885
|
-
ContentChild(YearCellTemplateDirective, { static: false }),
|
|
886
|
-
tslib_1.__metadata("design:type", YearCellTemplateDirective)
|
|
887
|
-
], MultiViewCalendarComponent.prototype, "yearCellTemplate", void 0);
|
|
888
|
-
tslib_1.__decorate([
|
|
889
|
-
Input('yearCellTemplate'),
|
|
890
|
-
tslib_1.__metadata("design:type", YearCellTemplateDirective),
|
|
891
|
-
tslib_1.__metadata("design:paramtypes", [YearCellTemplateDirective])
|
|
892
|
-
], MultiViewCalendarComponent.prototype, "yearCellTemplateRef", null);
|
|
893
|
-
tslib_1.__decorate([
|
|
894
|
-
ContentChild(DecadeCellTemplateDirective, { static: false }),
|
|
895
|
-
tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
|
|
896
|
-
], MultiViewCalendarComponent.prototype, "decadeCellTemplate", void 0);
|
|
897
|
-
tslib_1.__decorate([
|
|
898
|
-
Input('decadeCellTemplate'),
|
|
899
|
-
tslib_1.__metadata("design:type", DecadeCellTemplateDirective),
|
|
900
|
-
tslib_1.__metadata("design:paramtypes", [DecadeCellTemplateDirective])
|
|
901
|
-
], MultiViewCalendarComponent.prototype, "decadeCellTemplateRef", null);
|
|
902
|
-
tslib_1.__decorate([
|
|
903
|
-
ContentChild(CenturyCellTemplateDirective, { static: false }),
|
|
904
|
-
tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
|
|
905
|
-
], MultiViewCalendarComponent.prototype, "centuryCellTemplate", void 0);
|
|
906
|
-
tslib_1.__decorate([
|
|
907
|
-
Input('centuryCellTemplate'),
|
|
908
|
-
tslib_1.__metadata("design:type", CenturyCellTemplateDirective),
|
|
909
|
-
tslib_1.__metadata("design:paramtypes", [CenturyCellTemplateDirective])
|
|
910
|
-
], MultiViewCalendarComponent.prototype, "centuryCellTemplateRef", null);
|
|
911
|
-
tslib_1.__decorate([
|
|
912
|
-
ContentChild(WeekNumberCellTemplateDirective, { static: false }),
|
|
913
|
-
tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
|
|
914
|
-
], MultiViewCalendarComponent.prototype, "weekNumberTemplate", void 0);
|
|
915
|
-
tslib_1.__decorate([
|
|
916
|
-
Input('weekNumberTemplate'),
|
|
917
|
-
tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective),
|
|
918
|
-
tslib_1.__metadata("design:paramtypes", [WeekNumberCellTemplateDirective])
|
|
919
|
-
], MultiViewCalendarComponent.prototype, "weekNumberTemplateRef", null);
|
|
920
|
-
tslib_1.__decorate([
|
|
921
|
-
ContentChild(HeaderTitleTemplateDirective, { static: false }),
|
|
922
|
-
tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
|
|
923
|
-
], MultiViewCalendarComponent.prototype, "headerTitleTemplate", void 0);
|
|
924
|
-
tslib_1.__decorate([
|
|
925
|
-
Input('headerTitleTemplate'),
|
|
926
|
-
tslib_1.__metadata("design:type", HeaderTitleTemplateDirective),
|
|
927
|
-
tslib_1.__metadata("design:paramtypes", [HeaderTitleTemplateDirective])
|
|
928
|
-
], MultiViewCalendarComponent.prototype, "headerTitleTemplateRef", null);
|
|
929
|
-
tslib_1.__decorate([
|
|
930
|
-
ViewChild(HeaderComponent, { static: false, read: ElementRef }),
|
|
931
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
932
|
-
], MultiViewCalendarComponent.prototype, "headerElement", void 0);
|
|
933
|
-
tslib_1.__decorate([
|
|
934
|
-
ViewChild(HorizontalViewListComponent, { static: false }),
|
|
935
|
-
tslib_1.__metadata("design:type", HorizontalViewListComponent)
|
|
936
|
-
], MultiViewCalendarComponent.prototype, "viewList", void 0);
|
|
937
|
-
tslib_1.__decorate([
|
|
938
|
-
HostBinding('attr.id'),
|
|
939
|
-
tslib_1.__metadata("design:type", String),
|
|
940
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
941
|
-
], MultiViewCalendarComponent.prototype, "widgetId", null);
|
|
942
|
-
tslib_1.__decorate([
|
|
943
|
-
HostBinding('attr.tabindex'),
|
|
944
|
-
tslib_1.__metadata("design:type", Number),
|
|
945
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
946
|
-
], MultiViewCalendarComponent.prototype, "calendarTabIndex", null);
|
|
947
|
-
tslib_1.__decorate([
|
|
948
|
-
HostBinding('attr.aria-disabled'),
|
|
949
|
-
HostBinding('class.k-disabled'),
|
|
950
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
951
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
952
|
-
], MultiViewCalendarComponent.prototype, "ariaDisabled", null);
|
|
953
|
-
tslib_1.__decorate([
|
|
954
|
-
HostBinding('attr.aria-activedescendant'),
|
|
955
|
-
tslib_1.__metadata("design:type", String),
|
|
956
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
957
|
-
], MultiViewCalendarComponent.prototype, "ariaActivedescendant", null);
|
|
958
|
-
tslib_1.__decorate([
|
|
959
|
-
HostListener('focusout', ['$event']),
|
|
960
|
-
tslib_1.__metadata("design:type", Function),
|
|
961
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
962
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
963
|
-
], MultiViewCalendarComponent.prototype, "handleFocusout", null);
|
|
964
|
-
tslib_1.__decorate([
|
|
965
|
-
HostListener("focus"),
|
|
966
|
-
tslib_1.__metadata("design:type", Function),
|
|
967
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
968
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
969
|
-
], MultiViewCalendarComponent.prototype, "handleFocus", null);
|
|
970
|
-
tslib_1.__decorate([
|
|
971
|
-
HostListener("mouseenter"),
|
|
972
|
-
tslib_1.__metadata("design:type", Function),
|
|
973
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
974
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
975
|
-
], MultiViewCalendarComponent.prototype, "handleMouseEnter", null);
|
|
976
|
-
tslib_1.__decorate([
|
|
977
|
-
HostListener("mouseleave"),
|
|
978
|
-
tslib_1.__metadata("design:type", Function),
|
|
979
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
980
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
981
|
-
], MultiViewCalendarComponent.prototype, "handleMouseLeave", null);
|
|
982
|
-
tslib_1.__decorate([
|
|
983
|
-
HostListener("mousedown", ['$event']),
|
|
984
|
-
tslib_1.__metadata("design:type", Function),
|
|
985
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
986
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
987
|
-
], MultiViewCalendarComponent.prototype, "handleMousedown", null);
|
|
988
|
-
tslib_1.__decorate([
|
|
989
|
-
HostListener("click"),
|
|
990
|
-
tslib_1.__metadata("design:type", Function),
|
|
991
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
992
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
993
|
-
], MultiViewCalendarComponent.prototype, "handleClick", null);
|
|
994
|
-
tslib_1.__decorate([
|
|
995
|
-
HostListener("keydown", ["$event"]),
|
|
996
|
-
tslib_1.__metadata("design:type", Function),
|
|
997
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
998
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
999
|
-
], MultiViewCalendarComponent.prototype, "keydown", null);
|
|
1000
|
-
MultiViewCalendarComponent = tslib_1.__decorate([
|
|
1001
|
-
Component({
|
|
1002
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1003
|
-
exportAs: 'kendo-multiviewcalendar',
|
|
1004
|
-
providers: [
|
|
1005
|
-
BusViewService,
|
|
1006
|
-
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
1007
|
-
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
1008
|
-
LocalizationService,
|
|
1009
|
-
DisabledDatesService,
|
|
1010
|
-
{
|
|
1011
|
-
provide: L10N_PREFIX,
|
|
1012
|
-
useValue: 'kendo.multiviewcalendar'
|
|
1013
|
-
},
|
|
1014
|
-
NavigationService,
|
|
1015
|
-
SelectionService
|
|
1016
|
-
],
|
|
1017
|
-
selector: 'kendo-multiviewcalendar',
|
|
1018
|
-
template: `
|
|
749
|
+
}
|
|
750
|
+
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: i1.BusViewService }, { token: i0.ElementRef }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i3.DisabledDatesService }, { token: i4.SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
751
|
+
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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", 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" }, host: { listeners: { "focusout": "handleFocusout($event)", "focus": "handleFocus()", "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.tabindex": "this.calendarTabIndex", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled", "attr.aria-activedescendant": "this.ariaActivedescendant" } }, providers: [
|
|
752
|
+
BusViewService,
|
|
753
|
+
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
754
|
+
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
755
|
+
LocalizationService,
|
|
756
|
+
DisabledDatesService,
|
|
757
|
+
{
|
|
758
|
+
provide: L10N_PREFIX,
|
|
759
|
+
useValue: 'kendo.multiviewcalendar'
|
|
760
|
+
},
|
|
761
|
+
NavigationService,
|
|
762
|
+
SelectionService
|
|
763
|
+
], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "headerElement", first: true, predicate: HeaderComponent, descendants: true, read: ElementRef }, { propertyName: "viewList", first: true, predicate: HorizontalViewListComponent, descendants: true }], exportAs: ["kendo-multiviewcalendar"], usesOnChanges: true, ngImport: i0, template: `
|
|
764
|
+
<ng-container kendoMultiViewCalendarLocalizedMessages
|
|
765
|
+
i18n-today="kendo.multiviewcalendar.today|The label for the today button in the calendar header"
|
|
766
|
+
today="Today"
|
|
767
|
+
|
|
768
|
+
i18n-prevButtonTitle="kendo.multiviewcalendar.prevButtonTitle|The label for the previous button in the Multiview calendar"
|
|
769
|
+
prevButtonTitle="Navigate to previous view"
|
|
770
|
+
|
|
771
|
+
i18n-nextButtonTitle="kendo.multiviewcalendar.nextButtonTitle|The label for the next button in the Multiview calendar"
|
|
772
|
+
nextButtonTitle="Navigate to next view"
|
|
773
|
+
>
|
|
774
|
+
</ng-container>
|
|
775
|
+
<kendo-calendar-header
|
|
776
|
+
[activeView]="activeViewEnum"
|
|
777
|
+
[currentDate]="activeDate"
|
|
778
|
+
[min]="min"
|
|
779
|
+
[max]="max"
|
|
780
|
+
[rangeLength]="views"
|
|
781
|
+
[templateRef]="headerTitleTemplateRef?.templateRef"
|
|
782
|
+
[isPrevDisabled]="isPrevDisabled"
|
|
783
|
+
[isNextDisabled]="isNextDisabled"
|
|
784
|
+
[showNavigationButtons]="true"
|
|
785
|
+
(todayButtonClick)="handleTodayButtonClick({ selectedDates: [$event], focusedDate: $event })"
|
|
786
|
+
(prevButtonClick)="navigateView(prevView)"
|
|
787
|
+
(nextButtonClick)="navigateView(nextView)"
|
|
788
|
+
[kendoEventsOutsideAngular]="{
|
|
789
|
+
focusin: handleHeaderFocus
|
|
790
|
+
}"
|
|
791
|
+
[scope]="this"
|
|
792
|
+
>
|
|
793
|
+
</kendo-calendar-header>
|
|
794
|
+
<kendo-calendar-horizontal
|
|
795
|
+
[activeView]="activeViewEnum"
|
|
796
|
+
[isActive]="isActive || (isHovered && !isHeaderActive)"
|
|
797
|
+
[cellTemplateRef]="activeCellTemplate()?.templateRef"
|
|
798
|
+
[weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
|
|
799
|
+
[cellUID]="cellUID"
|
|
800
|
+
[views]="views"
|
|
801
|
+
[min]="min"
|
|
802
|
+
[max]="max"
|
|
803
|
+
[focusedDate]="focusedDate"
|
|
804
|
+
[animateNavigation]="animateNavigation"
|
|
805
|
+
[showViewHeader]="showViewHeader"
|
|
806
|
+
[weekNumber]="weekNumber"
|
|
807
|
+
[activeRangeEnd]="activeRangeEnd"
|
|
808
|
+
[selectionRange]="selectionRange"
|
|
809
|
+
[selectedDates]="selectedDates"
|
|
810
|
+
(cellClick)="handleCellClick($event)"
|
|
811
|
+
(weekNumberCellClick)="handleWeekNumberClick($event)"
|
|
812
|
+
(cellEnter)="emitCellEvent(cellEnter, $event)"
|
|
813
|
+
(cellLeave)="emitCellEvent(cellLeave, $event)"
|
|
814
|
+
(activeDateChange)="setActiveDate($event)"
|
|
815
|
+
>
|
|
816
|
+
</kendo-calendar-horizontal>
|
|
817
|
+
`, isInline: true, components: [{ type: i5.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "templateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { type: i6.HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange"] }], directives: [{ type: i7.MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
819
|
+
type: Component,
|
|
820
|
+
args: [{
|
|
821
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
822
|
+
exportAs: 'kendo-multiviewcalendar',
|
|
823
|
+
providers: [
|
|
824
|
+
BusViewService,
|
|
825
|
+
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
826
|
+
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
827
|
+
LocalizationService,
|
|
828
|
+
DisabledDatesService,
|
|
829
|
+
{
|
|
830
|
+
provide: L10N_PREFIX,
|
|
831
|
+
useValue: 'kendo.multiviewcalendar'
|
|
832
|
+
},
|
|
833
|
+
NavigationService,
|
|
834
|
+
SelectionService
|
|
835
|
+
],
|
|
836
|
+
selector: 'kendo-multiviewcalendar',
|
|
837
|
+
template: `
|
|
1019
838
|
<ng-container kendoMultiViewCalendarLocalizedMessages
|
|
1020
839
|
i18n-today="kendo.multiviewcalendar.today|The label for the today button in the calendar header"
|
|
1021
840
|
today="Today"
|
|
@@ -1062,7 +881,6 @@ MultiViewCalendarComponent = tslib_1.__decorate([
|
|
|
1062
881
|
[activeRangeEnd]="activeRangeEnd"
|
|
1063
882
|
[selectionRange]="selectionRange"
|
|
1064
883
|
[selectedDates]="selectedDates"
|
|
1065
|
-
(valueChange)="handleDateChange($event)"
|
|
1066
884
|
(cellClick)="handleCellClick($event)"
|
|
1067
885
|
(weekNumberCellClick)="handleWeekNumberClick($event)"
|
|
1068
886
|
(cellEnter)="emitCellEvent(cellEnter, $event)"
|
|
@@ -1071,16 +889,146 @@ MultiViewCalendarComponent = tslib_1.__decorate([
|
|
|
1071
889
|
>
|
|
1072
890
|
</kendo-calendar-horizontal>
|
|
1073
891
|
`
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
],
|
|
1086
|
-
|
|
892
|
+
}]
|
|
893
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ElementRef }, { type: i2.NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i3.DisabledDatesService }, { type: i4.SelectionService }]; }, propDecorators: { id: [{
|
|
894
|
+
type: Input
|
|
895
|
+
}], focusedDate: [{
|
|
896
|
+
type: Input
|
|
897
|
+
}], min: [{
|
|
898
|
+
type: Input
|
|
899
|
+
}], max: [{
|
|
900
|
+
type: Input
|
|
901
|
+
}], rangeValidation: [{
|
|
902
|
+
type: Input
|
|
903
|
+
}], disabledDatesRangeValidation: [{
|
|
904
|
+
type: Input
|
|
905
|
+
}], selection: [{
|
|
906
|
+
type: Input
|
|
907
|
+
}], value: [{
|
|
908
|
+
type: Input
|
|
909
|
+
}], disabled: [{
|
|
910
|
+
type: Input
|
|
911
|
+
}], tabindex: [{
|
|
912
|
+
type: Input
|
|
913
|
+
}], tabIndex: [{
|
|
914
|
+
type: Input
|
|
915
|
+
}], isActive: [{
|
|
916
|
+
type: Input
|
|
917
|
+
}], disabledDates: [{
|
|
918
|
+
type: Input
|
|
919
|
+
}], activeView: [{
|
|
920
|
+
type: Input
|
|
921
|
+
}], bottomView: [{
|
|
922
|
+
type: Input
|
|
923
|
+
}], topView: [{
|
|
924
|
+
type: Input
|
|
925
|
+
}], showViewHeader: [{
|
|
926
|
+
type: Input
|
|
927
|
+
}], animateNavigation: [{
|
|
928
|
+
type: Input
|
|
929
|
+
}], weekNumber: [{
|
|
930
|
+
type: Input
|
|
931
|
+
}], activeRangeEnd: [{
|
|
932
|
+
type: Input
|
|
933
|
+
}], selectionRange: [{
|
|
934
|
+
type: Input
|
|
935
|
+
}], views: [{
|
|
936
|
+
type: Input
|
|
937
|
+
}], activeViewChange: [{
|
|
938
|
+
type: Output
|
|
939
|
+
}], navigate: [{
|
|
940
|
+
type: Output
|
|
941
|
+
}], cellEnter: [{
|
|
942
|
+
type: Output
|
|
943
|
+
}], cellLeave: [{
|
|
944
|
+
type: Output
|
|
945
|
+
}], valueChange: [{
|
|
946
|
+
type: Output
|
|
947
|
+
}], blurEvent: [{
|
|
948
|
+
type: Output,
|
|
949
|
+
args: ['blur']
|
|
950
|
+
}], cellTemplate: [{
|
|
951
|
+
type: ContentChild,
|
|
952
|
+
args: [CellTemplateDirective, { static: false }]
|
|
953
|
+
}], cellTemplateRef: [{
|
|
954
|
+
type: Input,
|
|
955
|
+
args: ['cellTemplate']
|
|
956
|
+
}], monthCellTemplate: [{
|
|
957
|
+
type: ContentChild,
|
|
958
|
+
args: [MonthCellTemplateDirective, { static: false }]
|
|
959
|
+
}], monthCellTemplateRef: [{
|
|
960
|
+
type: Input,
|
|
961
|
+
args: ['monthCellTemplate']
|
|
962
|
+
}], yearCellTemplate: [{
|
|
963
|
+
type: ContentChild,
|
|
964
|
+
args: [YearCellTemplateDirective, { static: false }]
|
|
965
|
+
}], yearCellTemplateRef: [{
|
|
966
|
+
type: Input,
|
|
967
|
+
args: ['yearCellTemplate']
|
|
968
|
+
}], decadeCellTemplate: [{
|
|
969
|
+
type: ContentChild,
|
|
970
|
+
args: [DecadeCellTemplateDirective, { static: false }]
|
|
971
|
+
}], decadeCellTemplateRef: [{
|
|
972
|
+
type: Input,
|
|
973
|
+
args: ['decadeCellTemplate']
|
|
974
|
+
}], centuryCellTemplate: [{
|
|
975
|
+
type: ContentChild,
|
|
976
|
+
args: [CenturyCellTemplateDirective, { static: false }]
|
|
977
|
+
}], centuryCellTemplateRef: [{
|
|
978
|
+
type: Input,
|
|
979
|
+
args: ['centuryCellTemplate']
|
|
980
|
+
}], weekNumberTemplate: [{
|
|
981
|
+
type: ContentChild,
|
|
982
|
+
args: [WeekNumberCellTemplateDirective, { static: false }]
|
|
983
|
+
}], weekNumberTemplateRef: [{
|
|
984
|
+
type: Input,
|
|
985
|
+
args: ['weekNumberTemplate']
|
|
986
|
+
}], headerTitleTemplate: [{
|
|
987
|
+
type: ContentChild,
|
|
988
|
+
args: [HeaderTitleTemplateDirective, { static: false }]
|
|
989
|
+
}], headerTitleTemplateRef: [{
|
|
990
|
+
type: Input,
|
|
991
|
+
args: ['headerTitleTemplate']
|
|
992
|
+
}], headerElement: [{
|
|
993
|
+
type: ViewChild,
|
|
994
|
+
args: [HeaderComponent, { static: false, read: ElementRef }]
|
|
995
|
+
}], viewList: [{
|
|
996
|
+
type: ViewChild,
|
|
997
|
+
args: [HorizontalViewListComponent, { static: false }]
|
|
998
|
+
}], widgetId: [{
|
|
999
|
+
type: HostBinding,
|
|
1000
|
+
args: ['attr.id']
|
|
1001
|
+
}], calendarTabIndex: [{
|
|
1002
|
+
type: HostBinding,
|
|
1003
|
+
args: ['attr.tabindex']
|
|
1004
|
+
}], ariaDisabled: [{
|
|
1005
|
+
type: HostBinding,
|
|
1006
|
+
args: ['attr.aria-disabled']
|
|
1007
|
+
}, {
|
|
1008
|
+
type: HostBinding,
|
|
1009
|
+
args: ['class.k-disabled']
|
|
1010
|
+
}], ariaActivedescendant: [{
|
|
1011
|
+
type: HostBinding,
|
|
1012
|
+
args: ['attr.aria-activedescendant']
|
|
1013
|
+
}], handleFocusout: [{
|
|
1014
|
+
type: HostListener,
|
|
1015
|
+
args: ['focusout', ['$event']]
|
|
1016
|
+
}], handleFocus: [{
|
|
1017
|
+
type: HostListener,
|
|
1018
|
+
args: ["focus"]
|
|
1019
|
+
}], handleMouseEnter: [{
|
|
1020
|
+
type: HostListener,
|
|
1021
|
+
args: ["mouseenter"]
|
|
1022
|
+
}], handleMouseLeave: [{
|
|
1023
|
+
type: HostListener,
|
|
1024
|
+
args: ["mouseleave"]
|
|
1025
|
+
}], handleMousedown: [{
|
|
1026
|
+
type: HostListener,
|
|
1027
|
+
args: ["mousedown", ['$event']]
|
|
1028
|
+
}], handleClick: [{
|
|
1029
|
+
type: HostListener,
|
|
1030
|
+
args: ["click"]
|
|
1031
|
+
}], keydown: [{
|
|
1032
|
+
type: HostListener,
|
|
1033
|
+
args: ["keydown", ["$event"]]
|
|
1034
|
+
}] } });
|