@progress/kendo-angular-dateinputs 6.0.3-dev.202203150818 → 7.0.0-dev.202204150726
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 +46 -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 +5 -5
- package/{dist/es2015/common → common}/models/rounded.d.ts +6 -6
- package/{dist/es2015/common → common}/models/size.d.ts +5 -5
- 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 +34 -25
- 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 +49 -37
- 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 +3 -0
- package/{dist/es2015/daterange → daterange}/date-range-input.d.ts +2 -2
- 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 +9 -4
- 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 +3 -0
- package/{dist/es2015/daterange → daterange}/date-range.component.d.ts +5 -1
- package/{dist/es2015/daterange → daterange}/date-range.module.d.ts +15 -1
- package/{dist/es2015/daterange → daterange}/date-range.service.d.ts +11 -6
- package/{dist/es2015/datetimepicker → datetimepicker}/datetimepicker.component.d.ts +51 -36
- 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 +283 -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 +17 -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 +27 -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 +27 -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 +105 -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 +215 -216
- 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 +25 -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 +320 -317
- 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 +29 -0
- package/{dist/es → esm2015}/daterange/auto-correct-on.type.js +1 -0
- package/{dist/es2015 → esm2015}/daterange/date-range-end-input.directive.js +18 -25
- package/{dist/es2015 → esm2015}/daterange/date-range-input.js +0 -0
- package/esm2015/daterange/date-range-popup-template.directive.js +23 -0
- package/{dist/es2015 → esm2015}/daterange/date-range-popup.component.js +71 -89
- package/{dist/es2015 → esm2015}/daterange/date-range-selection.directive.js +26 -39
- package/{dist/es2015 → esm2015}/daterange/date-range-start-input.directive.js +18 -25
- package/esm2015/daterange/date-range.component.js +77 -0
- package/{dist/es2015 → esm2015}/daterange/date-range.module.js +27 -12
- package/{dist/es2015 → esm2015}/daterange/date-range.service.js +9 -14
- package/{dist/es2015 → esm2015}/datetimepicker/datetimepicker.component.js +436 -257
- 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 +49 -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 +24 -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 +1 -0
- package/esm2015/timepicker/localization/messages.js +35 -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 +251 -208
- 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 +13 -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} +9763 -9156
- 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} +24 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +46 -117
- 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} +2 -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 +45 -31
- 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} +12 -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,9 +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
|
-
/* tslint:disable:no-forward-ref */
|
|
7
|
-
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ContentChild, EventEmitter, ElementRef, Renderer2, isDevMode, forwardRef, HostBinding, Input, Output, ViewChild, Optional, NgZone, Injector } from '@angular/core';
|
|
5
|
+
import { Component, ChangeDetectionStrategy, ContentChild, EventEmitter, isDevMode, forwardRef, HostBinding, Input, Output, ViewChild, Optional, NgZone } from '@angular/core';
|
|
8
6
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
9
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
8
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
@@ -14,7 +12,6 @@ import { packageMetadata } from '../package-metadata';
|
|
|
14
12
|
import { MultiViewCalendarComponent } from './multiview-calendar.component';
|
|
15
13
|
import { NavigationComponent } from './navigation.component';
|
|
16
14
|
import { ViewListComponent } from './view-list.component';
|
|
17
|
-
import { CalendarDOMService } from './services/dom.service';
|
|
18
15
|
import { BusViewService } from './services/bus-view.service';
|
|
19
16
|
import { NavigationService } from './services/navigation.service';
|
|
20
17
|
import { DisabledDatesService } from './services/disabled-dates.service';
|
|
@@ -28,7 +25,6 @@ import { CenturyCellTemplateDirective } from './templates/century-cell-template.
|
|
|
28
25
|
import { WeekNumberCellTemplateDirective } from './templates/weeknumber-cell-template.directive';
|
|
29
26
|
import { HeaderTitleTemplateDirective } from './templates/header-title-template.directive';
|
|
30
27
|
import { NavigationItemTemplateDirective } from './templates/navigation-item-template.directive';
|
|
31
|
-
import { PickerService } from '../common/picker.service';
|
|
32
28
|
import { CalendarViewEnum } from './models/view.enum';
|
|
33
29
|
import { minValidator } from '../validators/min.validator';
|
|
34
30
|
import { maxValidator } from '../validators/max.validator';
|
|
@@ -37,20 +33,35 @@ import { areDatesEqual, dateInRange, getToday, hasExistingValue, last, noop } fr
|
|
|
37
33
|
import { closest } from '../common/dom-queries';
|
|
38
34
|
import { requiresZoneOnBlur, preventDefault, isPresent } from '../common/utils';
|
|
39
35
|
import { from as fromPromise } from 'rxjs';
|
|
36
|
+
import * as i0 from "@angular/core";
|
|
37
|
+
import * as i1 from "./services/bus-view.service";
|
|
38
|
+
import * as i2 from "./services/dom.service";
|
|
39
|
+
import * as i3 from "./services/navigation.service";
|
|
40
|
+
import * as i4 from "./services/scroll-sync.service";
|
|
41
|
+
import * as i5 from "./services/disabled-dates.service";
|
|
42
|
+
import * as i6 from "@progress/kendo-angular-l10n";
|
|
43
|
+
import * as i7 from "./services/selection.service";
|
|
44
|
+
import * as i8 from "../common/picker.service";
|
|
45
|
+
import * as i9 from "./navigation.component";
|
|
46
|
+
import * as i10 from "./view-list.component";
|
|
47
|
+
import * as i11 from "@progress/kendo-angular-common";
|
|
48
|
+
import * as i12 from "./multiview-calendar.component";
|
|
49
|
+
import * as i13 from "./localization/multiview-calendar-custom-messages.component";
|
|
50
|
+
import * as i14 from "./localization/calendar-localized-messages.directive";
|
|
51
|
+
import * as i15 from "@angular/common";
|
|
40
52
|
const BOTTOM_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-bottomview';
|
|
41
53
|
const TOP_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-topview';
|
|
42
54
|
const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-min';
|
|
43
55
|
const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-max';
|
|
44
56
|
const VALUE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/#toc-using-with-json';
|
|
45
57
|
const virtualizationProp = x => x ? x.virtualization : null;
|
|
46
|
-
const ɵ0 = virtualizationProp;
|
|
47
58
|
/**
|
|
48
59
|
* @hidden
|
|
49
60
|
*/
|
|
50
61
|
export const CALENDAR_VALUE_ACCESSOR = {
|
|
51
62
|
multi: true,
|
|
52
63
|
provide: NG_VALUE_ACCESSOR,
|
|
53
|
-
useExisting: forwardRef(() => CalendarComponent)
|
|
64
|
+
useExisting: forwardRef(() => CalendarComponent)
|
|
54
65
|
};
|
|
55
66
|
/**
|
|
56
67
|
* @hidden
|
|
@@ -58,14 +69,14 @@ export const CALENDAR_VALUE_ACCESSOR = {
|
|
|
58
69
|
export const CALENDAR_RANGE_VALIDATORS = {
|
|
59
70
|
multi: true,
|
|
60
71
|
provide: NG_VALIDATORS,
|
|
61
|
-
useExisting: forwardRef(() => CalendarComponent)
|
|
72
|
+
useExisting: forwardRef(() => CalendarComponent)
|
|
62
73
|
};
|
|
63
74
|
/**
|
|
64
75
|
* @hidden
|
|
65
76
|
*/
|
|
66
77
|
export const KENDO_INPUT_PROVIDER = {
|
|
67
78
|
provide: KendoInput,
|
|
68
|
-
useExisting: forwardRef(() => CalendarComponent)
|
|
79
|
+
useExisting: forwardRef(() => CalendarComponent)
|
|
69
80
|
};
|
|
70
81
|
/**
|
|
71
82
|
* Represents the [Kendo UI Calendar component for Angular]({% slug overview_calendar %}#toc-basic-usage).
|
|
@@ -81,7 +92,7 @@ export const KENDO_INPUT_PROVIDER = {
|
|
|
81
92
|
* export class AppComponent { }
|
|
82
93
|
* ```
|
|
83
94
|
*/
|
|
84
|
-
|
|
95
|
+
export class CalendarComponent {
|
|
85
96
|
constructor(bus, dom, element, navigator, renderer, cdr, ngZone, injector, scrollSyncService, disabledDatesService, localization, selectionService, pickerService) {
|
|
86
97
|
this.bus = bus;
|
|
87
98
|
this.dom = dom;
|
|
@@ -693,6 +704,9 @@ let CalendarComponent = class CalendarComponent {
|
|
|
693
704
|
}
|
|
694
705
|
this.detectChanges(); // requires zone if templates
|
|
695
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
* @hidden
|
|
709
|
+
*/
|
|
696
710
|
handleCellClick({ date, modifiers }) {
|
|
697
711
|
this.performSelection(date, modifiers);
|
|
698
712
|
}
|
|
@@ -742,6 +756,15 @@ let CalendarComponent = class CalendarComponent {
|
|
|
742
756
|
}
|
|
743
757
|
this.emitFocus();
|
|
744
758
|
}
|
|
759
|
+
/**
|
|
760
|
+
* @hidden
|
|
761
|
+
*/
|
|
762
|
+
handleMultiViewCalendarKeydown(args) {
|
|
763
|
+
// Prevent form from submitting on enter if used in datepicker (classic view)
|
|
764
|
+
if (isPresent(this.pickerService) && args.keyCode === Keys.Enter) {
|
|
765
|
+
args.preventDefault();
|
|
766
|
+
}
|
|
767
|
+
}
|
|
745
768
|
setClasses(element) {
|
|
746
769
|
this.renderer.addClass(element, 'k-widget');
|
|
747
770
|
this.renderer.addClass(element, 'k-calendar');
|
|
@@ -805,6 +828,10 @@ let CalendarComponent = class CalendarComponent {
|
|
|
805
828
|
if (isPresent(this.pickerService) && arrowKeyPressed && args.altKey) {
|
|
806
829
|
return;
|
|
807
830
|
}
|
|
831
|
+
// Prevent form from submitting on enter if used in datepicker (infinite view)
|
|
832
|
+
if (isPresent(this.pickerService) && args.keyCode === Keys.Enter) {
|
|
833
|
+
args.preventDefault();
|
|
834
|
+
}
|
|
808
835
|
const candidate = dateInRange(this.navigator.move(this.focusedDate, this.navigator.action(args), this.activeViewEnum), this.min, this.max);
|
|
809
836
|
if (!isEqual(this.focusedDate, candidate)) {
|
|
810
837
|
this.focusedDate = candidate;
|
|
@@ -856,224 +883,131 @@ let CalendarComponent = class CalendarComponent {
|
|
|
856
883
|
focusedDate: date
|
|
857
884
|
});
|
|
858
885
|
}
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
]
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
]
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
]
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
]
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
]
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
]
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
]
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
]
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
ContentChild(DecadeCellTemplateDirective, { static: false }),
|
|
985
|
-
tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
|
|
986
|
-
], CalendarComponent.prototype, "decadeCellTemplate", void 0);
|
|
987
|
-
tslib_1.__decorate([
|
|
988
|
-
Input('decadeCellTemplate'),
|
|
989
|
-
tslib_1.__metadata("design:type", DecadeCellTemplateDirective),
|
|
990
|
-
tslib_1.__metadata("design:paramtypes", [DecadeCellTemplateDirective])
|
|
991
|
-
], CalendarComponent.prototype, "decadeCellTemplateRef", null);
|
|
992
|
-
tslib_1.__decorate([
|
|
993
|
-
ContentChild(CenturyCellTemplateDirective, { static: false }),
|
|
994
|
-
tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
|
|
995
|
-
], CalendarComponent.prototype, "centuryCellTemplate", void 0);
|
|
996
|
-
tslib_1.__decorate([
|
|
997
|
-
Input('centuryCellTemplate'),
|
|
998
|
-
tslib_1.__metadata("design:type", CenturyCellTemplateDirective),
|
|
999
|
-
tslib_1.__metadata("design:paramtypes", [CenturyCellTemplateDirective])
|
|
1000
|
-
], CalendarComponent.prototype, "centuryCellTemplateRef", null);
|
|
1001
|
-
tslib_1.__decorate([
|
|
1002
|
-
ContentChild(WeekNumberCellTemplateDirective, { static: false }),
|
|
1003
|
-
tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
|
|
1004
|
-
], CalendarComponent.prototype, "weekNumberTemplate", void 0);
|
|
1005
|
-
tslib_1.__decorate([
|
|
1006
|
-
Input('weekNumberTemplate'),
|
|
1007
|
-
tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective),
|
|
1008
|
-
tslib_1.__metadata("design:paramtypes", [WeekNumberCellTemplateDirective])
|
|
1009
|
-
], CalendarComponent.prototype, "weekNumberTemplateRef", null);
|
|
1010
|
-
tslib_1.__decorate([
|
|
1011
|
-
ContentChild(HeaderTitleTemplateDirective, { static: false }),
|
|
1012
|
-
tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
|
|
1013
|
-
], CalendarComponent.prototype, "headerTitleTemplate", void 0);
|
|
1014
|
-
tslib_1.__decorate([
|
|
1015
|
-
Input('headerTitleTemplate'),
|
|
1016
|
-
tslib_1.__metadata("design:type", HeaderTitleTemplateDirective),
|
|
1017
|
-
tslib_1.__metadata("design:paramtypes", [HeaderTitleTemplateDirective])
|
|
1018
|
-
], CalendarComponent.prototype, "headerTitleTemplateRef", null);
|
|
1019
|
-
tslib_1.__decorate([
|
|
1020
|
-
ContentChild(NavigationItemTemplateDirective, { static: false }),
|
|
1021
|
-
tslib_1.__metadata("design:type", NavigationItemTemplateDirective)
|
|
1022
|
-
], CalendarComponent.prototype, "navigationItemTemplate", void 0);
|
|
1023
|
-
tslib_1.__decorate([
|
|
1024
|
-
Input('navigationItemTemplate'),
|
|
1025
|
-
tslib_1.__metadata("design:type", NavigationItemTemplateDirective),
|
|
1026
|
-
tslib_1.__metadata("design:paramtypes", [NavigationItemTemplateDirective])
|
|
1027
|
-
], CalendarComponent.prototype, "navigationItemTemplateRef", null);
|
|
1028
|
-
tslib_1.__decorate([
|
|
1029
|
-
ViewChild(NavigationComponent, { static: false }),
|
|
1030
|
-
tslib_1.__metadata("design:type", NavigationComponent)
|
|
1031
|
-
], CalendarComponent.prototype, "navigationView", void 0);
|
|
1032
|
-
tslib_1.__decorate([
|
|
1033
|
-
ViewChild(ViewListComponent, { static: false }),
|
|
1034
|
-
tslib_1.__metadata("design:type", ViewListComponent)
|
|
1035
|
-
], CalendarComponent.prototype, "monthView", void 0);
|
|
1036
|
-
tslib_1.__decorate([
|
|
1037
|
-
ViewChild(MultiViewCalendarComponent, { static: false }),
|
|
1038
|
-
tslib_1.__metadata("design:type", MultiViewCalendarComponent)
|
|
1039
|
-
], CalendarComponent.prototype, "multiViewCalendar", void 0);
|
|
1040
|
-
tslib_1.__decorate([
|
|
1041
|
-
HostBinding('attr.id'),
|
|
1042
|
-
tslib_1.__metadata("design:type", String),
|
|
1043
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1044
|
-
], CalendarComponent.prototype, "widgetId", null);
|
|
1045
|
-
tslib_1.__decorate([
|
|
1046
|
-
HostBinding('attr.tabindex'),
|
|
1047
|
-
tslib_1.__metadata("design:type", Number),
|
|
1048
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1049
|
-
], CalendarComponent.prototype, "calendarTabIndex", null);
|
|
1050
|
-
tslib_1.__decorate([
|
|
1051
|
-
HostBinding('attr.aria-disabled'),
|
|
1052
|
-
HostBinding('class.k-disabled'),
|
|
1053
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1054
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1055
|
-
], CalendarComponent.prototype, "ariaDisabled", null);
|
|
1056
|
-
CalendarComponent = tslib_1.__decorate([
|
|
1057
|
-
Component({
|
|
1058
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1059
|
-
exportAs: 'kendo-calendar',
|
|
1060
|
-
providers: [
|
|
1061
|
-
BusViewService,
|
|
1062
|
-
CALENDAR_VALUE_ACCESSOR,
|
|
1063
|
-
CALENDAR_RANGE_VALIDATORS,
|
|
1064
|
-
KENDO_INPUT_PROVIDER,
|
|
1065
|
-
LocalizationService,
|
|
1066
|
-
DisabledDatesService,
|
|
1067
|
-
{
|
|
1068
|
-
provide: L10N_PREFIX,
|
|
1069
|
-
useValue: 'kendo.calendar'
|
|
1070
|
-
},
|
|
1071
|
-
NavigationService,
|
|
1072
|
-
ScrollSyncService,
|
|
1073
|
-
SelectionService
|
|
1074
|
-
],
|
|
1075
|
-
selector: 'kendo-calendar',
|
|
1076
|
-
template: `
|
|
886
|
+
}
|
|
887
|
+
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
888
|
+
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.tabindex": "this.calendarTabIndex", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
889
|
+
BusViewService,
|
|
890
|
+
CALENDAR_VALUE_ACCESSOR,
|
|
891
|
+
CALENDAR_RANGE_VALIDATORS,
|
|
892
|
+
KENDO_INPUT_PROVIDER,
|
|
893
|
+
LocalizationService,
|
|
894
|
+
DisabledDatesService,
|
|
895
|
+
{
|
|
896
|
+
provide: L10N_PREFIX,
|
|
897
|
+
useValue: 'kendo.calendar'
|
|
898
|
+
},
|
|
899
|
+
NavigationService,
|
|
900
|
+
ScrollSyncService,
|
|
901
|
+
SelectionService
|
|
902
|
+
], 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 }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "navigationView", first: true, predicate: NavigationComponent, descendants: true }, { propertyName: "monthView", first: true, predicate: ViewListComponent, descendants: true }, { propertyName: "multiViewCalendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-calendar"], usesOnChanges: true, ngImport: i0, template: `
|
|
903
|
+
<ng-container kendoCalendarLocalizedMessages
|
|
904
|
+
i18n-today="kendo.calendar.today|The label for the today button in the calendar header"
|
|
905
|
+
today="Today"
|
|
906
|
+
|
|
907
|
+
i18n-prevButtonTitle="kendo.calendar.prevButtonTitle|The title of the previous button in the Classic calendar"
|
|
908
|
+
prevButtonTitle="Navigate to previous view"
|
|
909
|
+
|
|
910
|
+
i18n-nextButtonTitle="kendo.calendar.nextButtonTitle|The title of the next button in the Classic calendar"
|
|
911
|
+
nextButtonTitle="Navigate to next view"
|
|
912
|
+
>
|
|
913
|
+
</ng-container>
|
|
914
|
+
<ng-container *ngIf="type === 'infinite'">
|
|
915
|
+
<kendo-calendar-navigation
|
|
916
|
+
*ngIf="navigation"
|
|
917
|
+
[activeView]="activeViewEnum"
|
|
918
|
+
[focusedDate]="focusedDate"
|
|
919
|
+
[min]="min"
|
|
920
|
+
[max]="max"
|
|
921
|
+
[templateRef]="navigationItemTemplateRef?.templateRef"
|
|
922
|
+
(valueChange)="handleNavigation($event)"
|
|
923
|
+
(pageChange)="onPageChange()"
|
|
924
|
+
>
|
|
925
|
+
</kendo-calendar-navigation>
|
|
926
|
+
<kendo-calendar-viewlist
|
|
927
|
+
[activeView]="activeViewEnum"
|
|
928
|
+
[isActive]="isActive"
|
|
929
|
+
[cellTemplateRef]="activeCellTemplate()?.templateRef"
|
|
930
|
+
[headerTitleTemplateRef]="headerTitleTemplateRef?.templateRef"
|
|
931
|
+
[weekNumberTemplateRef]="weekNumberTemplateRef?.templateRef"
|
|
932
|
+
[cellUID]="cellUID"
|
|
933
|
+
[min]="min"
|
|
934
|
+
[max]="max"
|
|
935
|
+
[focusedDate]="focusedDate"
|
|
936
|
+
[weekNumber]="weekNumber"
|
|
937
|
+
[selectedDates]="selectedDates"
|
|
938
|
+
(todayButtonClick)="handleDateChange({
|
|
939
|
+
selectedDates: [$event],
|
|
940
|
+
focusedDate: $event
|
|
941
|
+
})"
|
|
942
|
+
(cellClick)="handleCellClick($event)"
|
|
943
|
+
(weekNumberCellClick)="handleWeekNumberClick($event)"
|
|
944
|
+
(activeDateChange)="handleActiveDateChange($event)"
|
|
945
|
+
(pageChange)="onPageChange()"
|
|
946
|
+
>
|
|
947
|
+
</kendo-calendar-viewlist>
|
|
948
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
949
|
+
</ng-container>
|
|
950
|
+
<ng-container *ngIf="type === 'classic'">
|
|
951
|
+
<kendo-multiviewcalendar
|
|
952
|
+
#multiviewcalendar
|
|
953
|
+
[views]="1"
|
|
954
|
+
[min]="min"
|
|
955
|
+
[max]="max"
|
|
956
|
+
[isActive]="isActive"
|
|
957
|
+
[activeView]="activeView"
|
|
958
|
+
[bottomView]="bottomView"
|
|
959
|
+
[topView]="topView"
|
|
960
|
+
[weekNumber]="weekNumber"
|
|
961
|
+
[animateNavigation]="animateNavigation"
|
|
962
|
+
[cellTemplate]="activeCellTemplate()"
|
|
963
|
+
[monthCellTemplate]="monthCellTemplateRef"
|
|
964
|
+
[yearCellTemplate]="yearCellTemplateRef"
|
|
965
|
+
[decadeCellTemplate]="decadeCellTemplateRef"
|
|
966
|
+
[centuryCellTemplate]="centuryCellTemplateRef"
|
|
967
|
+
[headerTitleTemplate]="headerTitleTemplateRef"
|
|
968
|
+
[weekNumberTemplate]="weekNumberTemplateRef"
|
|
969
|
+
[focusedDate]="focusedDate"
|
|
970
|
+
[selection]="selection"
|
|
971
|
+
[value]="value"
|
|
972
|
+
[disabledDates]="disabledDates"
|
|
973
|
+
(activeViewChange)="handleActiveViewChange($event)"
|
|
974
|
+
(navigate)="handleNavigate($event)"
|
|
975
|
+
(valueChange)="handleMultiViewCalendarValueChange($event, multiviewcalendar.focusedDate)"
|
|
976
|
+
(focus)="handleFocus()"
|
|
977
|
+
(blur)="handleBlur($event)"
|
|
978
|
+
(keydown)="handleMultiViewCalendarKeydown($event)"
|
|
979
|
+
>
|
|
980
|
+
<kendo-multiviewcalendar-messages
|
|
981
|
+
[today]="localization.get('today')"
|
|
982
|
+
[prevButtonTitle]="localization.get('prevButtonTitle')"
|
|
983
|
+
[nextButtonTitle]="localization.get('nextButtonTitle')"
|
|
984
|
+
>
|
|
985
|
+
</kendo-multiviewcalendar-messages>
|
|
986
|
+
</kendo-multiviewcalendar>
|
|
987
|
+
</ng-container>
|
|
988
|
+
`, isInline: true, components: [{ type: i9.NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { type: i10.ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange"] }, { type: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i12.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", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "blur"], exportAs: ["kendo-multiviewcalendar"] }, { type: i13.MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], directives: [{ type: i14.CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { type: i15.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
990
|
+
type: Component,
|
|
991
|
+
args: [{
|
|
992
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
993
|
+
exportAs: 'kendo-calendar',
|
|
994
|
+
providers: [
|
|
995
|
+
BusViewService,
|
|
996
|
+
CALENDAR_VALUE_ACCESSOR,
|
|
997
|
+
CALENDAR_RANGE_VALIDATORS,
|
|
998
|
+
KENDO_INPUT_PROVIDER,
|
|
999
|
+
LocalizationService,
|
|
1000
|
+
DisabledDatesService,
|
|
1001
|
+
{
|
|
1002
|
+
provide: L10N_PREFIX,
|
|
1003
|
+
useValue: 'kendo.calendar'
|
|
1004
|
+
},
|
|
1005
|
+
NavigationService,
|
|
1006
|
+
ScrollSyncService,
|
|
1007
|
+
SelectionService
|
|
1008
|
+
],
|
|
1009
|
+
selector: 'kendo-calendar',
|
|
1010
|
+
template: `
|
|
1077
1011
|
<ng-container kendoCalendarLocalizedMessages
|
|
1078
1012
|
i18n-today="kendo.calendar.today|The label for the today button in the calendar header"
|
|
1079
1013
|
today="Today"
|
|
@@ -1149,6 +1083,7 @@ CalendarComponent = tslib_1.__decorate([
|
|
|
1149
1083
|
(valueChange)="handleMultiViewCalendarValueChange($event, multiviewcalendar.focusedDate)"
|
|
1150
1084
|
(focus)="handleFocus()"
|
|
1151
1085
|
(blur)="handleBlur($event)"
|
|
1086
|
+
(keydown)="handleMultiViewCalendarKeydown($event)"
|
|
1152
1087
|
>
|
|
1153
1088
|
<kendo-multiviewcalendar-messages
|
|
1154
1089
|
[today]="localization.get('today')"
|
|
@@ -1159,21 +1094,123 @@ CalendarComponent = tslib_1.__decorate([
|
|
|
1159
1094
|
</kendo-multiviewcalendar>
|
|
1160
1095
|
</ng-container>
|
|
1161
1096
|
`
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
],
|
|
1178
|
-
|
|
1179
|
-
|
|
1097
|
+
}]
|
|
1098
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.CalendarDOMService }, { type: i0.ElementRef }, { type: i3.NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i4.ScrollSyncService }, { type: i5.DisabledDatesService }, { type: i6.LocalizationService }, { type: i7.SelectionService }, { type: i8.PickerService, decorators: [{
|
|
1099
|
+
type: Optional
|
|
1100
|
+
}] }]; }, propDecorators: { id: [{
|
|
1101
|
+
type: Input
|
|
1102
|
+
}], focusedDate: [{
|
|
1103
|
+
type: Input
|
|
1104
|
+
}], min: [{
|
|
1105
|
+
type: Input
|
|
1106
|
+
}], max: [{
|
|
1107
|
+
type: Input
|
|
1108
|
+
}], rangeValidation: [{
|
|
1109
|
+
type: Input
|
|
1110
|
+
}], selection: [{
|
|
1111
|
+
type: Input
|
|
1112
|
+
}], value: [{
|
|
1113
|
+
type: Input
|
|
1114
|
+
}], disabled: [{
|
|
1115
|
+
type: Input
|
|
1116
|
+
}], tabindex: [{
|
|
1117
|
+
type: Input
|
|
1118
|
+
}], tabIndex: [{
|
|
1119
|
+
type: Input
|
|
1120
|
+
}], disabledDates: [{
|
|
1121
|
+
type: Input
|
|
1122
|
+
}], navigation: [{
|
|
1123
|
+
type: Input
|
|
1124
|
+
}], activeView: [{
|
|
1125
|
+
type: Input
|
|
1126
|
+
}], bottomView: [{
|
|
1127
|
+
type: Input
|
|
1128
|
+
}], topView: [{
|
|
1129
|
+
type: Input
|
|
1130
|
+
}], type: [{
|
|
1131
|
+
type: Input
|
|
1132
|
+
}], animateNavigation: [{
|
|
1133
|
+
type: Input
|
|
1134
|
+
}], weekNumber: [{
|
|
1135
|
+
type: Input
|
|
1136
|
+
}, {
|
|
1137
|
+
type: HostBinding,
|
|
1138
|
+
args: ['class.k-week-number']
|
|
1139
|
+
}], activeViewChange: [{
|
|
1140
|
+
type: Output
|
|
1141
|
+
}], navigate: [{
|
|
1142
|
+
type: Output
|
|
1143
|
+
}], activeViewDateChange: [{
|
|
1144
|
+
type: Output
|
|
1145
|
+
}], valueChange: [{
|
|
1146
|
+
type: Output
|
|
1147
|
+
}], cellTemplate: [{
|
|
1148
|
+
type: ContentChild,
|
|
1149
|
+
args: [CellTemplateDirective, { static: false }]
|
|
1150
|
+
}], cellTemplateRef: [{
|
|
1151
|
+
type: Input,
|
|
1152
|
+
args: ['cellTemplate']
|
|
1153
|
+
}], monthCellTemplate: [{
|
|
1154
|
+
type: ContentChild,
|
|
1155
|
+
args: [MonthCellTemplateDirective, { static: false }]
|
|
1156
|
+
}], monthCellTemplateRef: [{
|
|
1157
|
+
type: Input,
|
|
1158
|
+
args: ['monthCellTemplate']
|
|
1159
|
+
}], yearCellTemplate: [{
|
|
1160
|
+
type: ContentChild,
|
|
1161
|
+
args: [YearCellTemplateDirective, { static: false }]
|
|
1162
|
+
}], yearCellTemplateRef: [{
|
|
1163
|
+
type: Input,
|
|
1164
|
+
args: ['yearCellTemplate']
|
|
1165
|
+
}], decadeCellTemplate: [{
|
|
1166
|
+
type: ContentChild,
|
|
1167
|
+
args: [DecadeCellTemplateDirective, { static: false }]
|
|
1168
|
+
}], decadeCellTemplateRef: [{
|
|
1169
|
+
type: Input,
|
|
1170
|
+
args: ['decadeCellTemplate']
|
|
1171
|
+
}], centuryCellTemplate: [{
|
|
1172
|
+
type: ContentChild,
|
|
1173
|
+
args: [CenturyCellTemplateDirective, { static: false }]
|
|
1174
|
+
}], centuryCellTemplateRef: [{
|
|
1175
|
+
type: Input,
|
|
1176
|
+
args: ['centuryCellTemplate']
|
|
1177
|
+
}], weekNumberTemplate: [{
|
|
1178
|
+
type: ContentChild,
|
|
1179
|
+
args: [WeekNumberCellTemplateDirective, { static: false }]
|
|
1180
|
+
}], weekNumberTemplateRef: [{
|
|
1181
|
+
type: Input,
|
|
1182
|
+
args: ['weekNumberTemplate']
|
|
1183
|
+
}], headerTitleTemplate: [{
|
|
1184
|
+
type: ContentChild,
|
|
1185
|
+
args: [HeaderTitleTemplateDirective, { static: false }]
|
|
1186
|
+
}], headerTitleTemplateRef: [{
|
|
1187
|
+
type: Input,
|
|
1188
|
+
args: ['headerTitleTemplate']
|
|
1189
|
+
}], navigationItemTemplate: [{
|
|
1190
|
+
type: ContentChild,
|
|
1191
|
+
args: [NavigationItemTemplateDirective, { static: false }]
|
|
1192
|
+
}], navigationItemTemplateRef: [{
|
|
1193
|
+
type: Input,
|
|
1194
|
+
args: ['navigationItemTemplate']
|
|
1195
|
+
}], navigationView: [{
|
|
1196
|
+
type: ViewChild,
|
|
1197
|
+
args: [NavigationComponent, { static: false }]
|
|
1198
|
+
}], monthView: [{
|
|
1199
|
+
type: ViewChild,
|
|
1200
|
+
args: [ViewListComponent, { static: false }]
|
|
1201
|
+
}], multiViewCalendar: [{
|
|
1202
|
+
type: ViewChild,
|
|
1203
|
+
args: [MultiViewCalendarComponent, { static: false }]
|
|
1204
|
+
}], widgetId: [{
|
|
1205
|
+
type: HostBinding,
|
|
1206
|
+
args: ['attr.id']
|
|
1207
|
+
}], calendarTabIndex: [{
|
|
1208
|
+
type: HostBinding,
|
|
1209
|
+
args: ['attr.tabindex']
|
|
1210
|
+
}], ariaDisabled: [{
|
|
1211
|
+
type: HostBinding,
|
|
1212
|
+
args: ['attr.aria-disabled']
|
|
1213
|
+
}, {
|
|
1214
|
+
type: HostBinding,
|
|
1215
|
+
args: ['class.k-disabled']
|
|
1216
|
+
}] } });
|