@progress/kendo-angular-dateinputs 6.0.3 → 7.0.0-dev.202204191043
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 +42 -115
- 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
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { DatePickerComponent } from './datepicker.component';
|
|
8
|
-
import { CommonModule } from '@angular/common';
|
|
9
|
-
import { IntlModule } from '@progress/kendo-angular-intl';
|
|
10
|
-
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
11
|
-
import { CalendarModule } from '../calendar/calendar.module';
|
|
12
|
-
import { TemplatesModule } from '../calendar/templates.module';
|
|
13
|
-
import { DateInputModule } from '../dateinput/dateinput.module';
|
|
14
|
-
import { EventsModule } from '@progress/kendo-angular-common';
|
|
15
|
-
import { DatePickerLocalizedMessagesDirective } from './localization/datepicker-localized-messages.directive';
|
|
16
|
-
import { DatePickerCustomMessagesComponent } from './localization/datepicker-custom-messages.component';
|
|
17
|
-
import { touchEnabled } from '@progress/kendo-common';
|
|
18
|
-
import { TOUCH_ENABLED } from '../touch-enabled';
|
|
19
|
-
var ɵ0 = touchEnabled;
|
|
20
|
-
/**
|
|
21
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
22
|
-
* definition for the DatePicker component.
|
|
23
|
-
*/
|
|
24
|
-
var DatePickerModule = /** @class */ (function () {
|
|
25
|
-
function DatePickerModule() {
|
|
26
|
-
}
|
|
27
|
-
DatePickerModule = tslib_1.__decorate([
|
|
28
|
-
NgModule({
|
|
29
|
-
declarations: [
|
|
30
|
-
DatePickerComponent,
|
|
31
|
-
DatePickerCustomMessagesComponent,
|
|
32
|
-
DatePickerLocalizedMessagesDirective
|
|
33
|
-
],
|
|
34
|
-
exports: [
|
|
35
|
-
DatePickerComponent,
|
|
36
|
-
DatePickerCustomMessagesComponent,
|
|
37
|
-
DatePickerLocalizedMessagesDirective,
|
|
38
|
-
TemplatesModule
|
|
39
|
-
],
|
|
40
|
-
imports: [
|
|
41
|
-
CommonModule,
|
|
42
|
-
DateInputModule,
|
|
43
|
-
CalendarModule,
|
|
44
|
-
IntlModule,
|
|
45
|
-
PopupModule,
|
|
46
|
-
TemplatesModule,
|
|
47
|
-
EventsModule
|
|
48
|
-
],
|
|
49
|
-
providers: [{ provide: TOUCH_ENABLED, useValue: ɵ0 }]
|
|
50
|
-
})
|
|
51
|
-
], DatePickerModule);
|
|
52
|
-
return DatePickerModule;
|
|
53
|
-
}());
|
|
54
|
-
export { DatePickerModule };
|
|
55
|
-
export { ɵ0 };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, forwardRef } from '@angular/core';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { DatePickerMessages } from './messages';
|
|
9
|
-
/**
|
|
10
|
-
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
11
|
-
*/
|
|
12
|
-
var DatePickerCustomMessagesComponent = /** @class */ (function (_super) {
|
|
13
|
-
tslib_1.__extends(DatePickerCustomMessagesComponent, _super);
|
|
14
|
-
function DatePickerCustomMessagesComponent(service) {
|
|
15
|
-
var _this = _super.call(this) || this;
|
|
16
|
-
_this.service = service;
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
DatePickerCustomMessagesComponent_1 = DatePickerCustomMessagesComponent;
|
|
20
|
-
Object.defineProperty(DatePickerCustomMessagesComponent.prototype, "override", {
|
|
21
|
-
get: function () {
|
|
22
|
-
return true;
|
|
23
|
-
},
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true
|
|
26
|
-
});
|
|
27
|
-
var DatePickerCustomMessagesComponent_1;
|
|
28
|
-
DatePickerCustomMessagesComponent = DatePickerCustomMessagesComponent_1 = tslib_1.__decorate([
|
|
29
|
-
Component({
|
|
30
|
-
providers: [
|
|
31
|
-
{
|
|
32
|
-
provide: DatePickerMessages,
|
|
33
|
-
useExisting: forwardRef(function () { return DatePickerCustomMessagesComponent_1; }) // tslint:disable-line:no-forward-ref
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
selector: 'kendo-datepicker-messages',
|
|
37
|
-
template: ""
|
|
38
|
-
}),
|
|
39
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
40
|
-
], DatePickerCustomMessagesComponent);
|
|
41
|
-
return DatePickerCustomMessagesComponent;
|
|
42
|
-
}(DatePickerMessages));
|
|
43
|
-
export { DatePickerCustomMessagesComponent };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Directive, forwardRef } from '@angular/core';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { DatePickerMessages } from './messages';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
var DatePickerLocalizedMessagesDirective = /** @class */ (function (_super) {
|
|
13
|
-
tslib_1.__extends(DatePickerLocalizedMessagesDirective, _super);
|
|
14
|
-
function DatePickerLocalizedMessagesDirective(service) {
|
|
15
|
-
var _this = _super.call(this) || this;
|
|
16
|
-
_this.service = service;
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
DatePickerLocalizedMessagesDirective_1 = DatePickerLocalizedMessagesDirective;
|
|
20
|
-
var DatePickerLocalizedMessagesDirective_1;
|
|
21
|
-
DatePickerLocalizedMessagesDirective = DatePickerLocalizedMessagesDirective_1 = tslib_1.__decorate([
|
|
22
|
-
Directive({
|
|
23
|
-
providers: [
|
|
24
|
-
{
|
|
25
|
-
provide: DatePickerMessages,
|
|
26
|
-
useExisting: forwardRef(function () { return DatePickerLocalizedMessagesDirective_1; }) // tslint:disable-line:no-forward-ref
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
selector: '[kendoDatePickerLocalizedMessages]'
|
|
30
|
-
}),
|
|
31
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
32
|
-
], DatePickerLocalizedMessagesDirective);
|
|
33
|
-
return DatePickerLocalizedMessagesDirective;
|
|
34
|
-
}(DatePickerMessages));
|
|
35
|
-
export { DatePickerLocalizedMessagesDirective };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Input } from '@angular/core';
|
|
7
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
var DatePickerMessages = /** @class */ (function (_super) {
|
|
12
|
-
tslib_1.__extends(DatePickerMessages, _super);
|
|
13
|
-
function DatePickerMessages() {
|
|
14
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
15
|
-
}
|
|
16
|
-
tslib_1.__decorate([
|
|
17
|
-
Input(),
|
|
18
|
-
tslib_1.__metadata("design:type", String)
|
|
19
|
-
], DatePickerMessages.prototype, "today", void 0);
|
|
20
|
-
tslib_1.__decorate([
|
|
21
|
-
Input(),
|
|
22
|
-
tslib_1.__metadata("design:type", String)
|
|
23
|
-
], DatePickerMessages.prototype, "toggle", void 0);
|
|
24
|
-
tslib_1.__decorate([
|
|
25
|
-
Input(),
|
|
26
|
-
tslib_1.__metadata("design:type", String)
|
|
27
|
-
], DatePickerMessages.prototype, "prevButtonTitle", void 0);
|
|
28
|
-
tslib_1.__decorate([
|
|
29
|
-
Input(),
|
|
30
|
-
tslib_1.__metadata("design:type", String)
|
|
31
|
-
], DatePickerMessages.prototype, "nextButtonTitle", void 0);
|
|
32
|
-
return DatePickerMessages;
|
|
33
|
-
}(ComponentMessages));
|
|
34
|
-
export { DatePickerMessages };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Directive, ElementRef, Input, Renderer2, NgZone } from '@angular/core';
|
|
7
|
-
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
8
|
-
import { DateInputComponent } from '../dateinput/dateinput.component';
|
|
9
|
-
import { DateRangeInput } from './date-range-input';
|
|
10
|
-
import { DateRangeService } from './date-range.service';
|
|
11
|
-
import { EMPTY_SELECTIONRANGE } from '../calendar/models/selection-range.interface';
|
|
12
|
-
import { clampRange, isInRange } from '../util';
|
|
13
|
-
import { isPresent } from '../common/utils';
|
|
14
|
-
/**
|
|
15
|
-
* A directive which manages the end range selection.
|
|
16
|
-
*
|
|
17
|
-
* > You can use the DateRangeEndInputDirective only with a DateInput component.
|
|
18
|
-
*/
|
|
19
|
-
var DateRangeEndInputDirective = /** @class */ (function (_super) {
|
|
20
|
-
tslib_1.__extends(DateRangeEndInputDirective, _super);
|
|
21
|
-
function DateRangeEndInputDirective(rangeService, dateInput, element, renderer, zone) {
|
|
22
|
-
var _this = _super.call(this, 'end', rangeService, dateInput, element, renderer, zone) || this;
|
|
23
|
-
_this.rangeService = rangeService;
|
|
24
|
-
_this.dateInput = dateInput;
|
|
25
|
-
/**
|
|
26
|
-
* Specifies the navigation behavior of the calendar when the active end is changed on input focus. When enabled,
|
|
27
|
-
* the calendar navigates to the value of the focused input. Otherwise, the calendar displays the last picked date.
|
|
28
|
-
*
|
|
29
|
-
* By default, the automatic navigation behavior on input focus is disabled.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* _@Component({
|
|
34
|
-
* selector: 'my-app',
|
|
35
|
-
* template: `
|
|
36
|
-
* <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
|
|
37
|
-
* <kendo-daterange>
|
|
38
|
-
* <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
|
|
39
|
-
* <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
|
|
40
|
-
* </kendo-daterange>
|
|
41
|
-
* `
|
|
42
|
-
* })
|
|
43
|
-
* export class AppComponent {
|
|
44
|
-
* public start: Date = new Date(2018, 3, 10);
|
|
45
|
-
* public end: Date = new Date(2018, 10, 20);
|
|
46
|
-
* }
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
_this.navigateCalendarOnFocus = false;
|
|
50
|
-
return _this;
|
|
51
|
-
}
|
|
52
|
-
DateRangeEndInputDirective.prototype.ngOnInit = function () {
|
|
53
|
-
this.rangeService.registerEndInput(this.dateInput);
|
|
54
|
-
_super.prototype.init.call(this);
|
|
55
|
-
};
|
|
56
|
-
DateRangeEndInputDirective.prototype.ngOnDestroy = function () {
|
|
57
|
-
_super.prototype.destroy.call(this);
|
|
58
|
-
};
|
|
59
|
-
DateRangeEndInputDirective.prototype.getRange = function (value, correctOn) {
|
|
60
|
-
var _a = this.dateInput, min = _a.min, max = _a.max;
|
|
61
|
-
if (!isInRange(value, min, max)) {
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
var start = (this.rangeService.selectionRange || EMPTY_SELECTIONRANGE).start;
|
|
65
|
-
var shouldClamp = this.autoCorrectOn === correctOn && isPresent(value) && value < start;
|
|
66
|
-
return shouldClamp ? clampRange(value) : { start: start, end: cloneDate(value) };
|
|
67
|
-
};
|
|
68
|
-
DateRangeEndInputDirective.prototype.updateInputValue = function (range) {
|
|
69
|
-
var end = (range || EMPTY_SELECTIONRANGE).end;
|
|
70
|
-
var _a = this.dateInput, min = _a.min, max = _a.max;
|
|
71
|
-
if (isEqual(this.dateInput.value, end) || !isInRange(end, min, max)) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
this.dateInput.writeValue(cloneDate(end));
|
|
75
|
-
this.dateInput.notify();
|
|
76
|
-
};
|
|
77
|
-
tslib_1.__decorate([
|
|
78
|
-
Input(),
|
|
79
|
-
tslib_1.__metadata("design:type", String)
|
|
80
|
-
], DateRangeEndInputDirective.prototype, "autoCorrectOn", void 0);
|
|
81
|
-
tslib_1.__decorate([
|
|
82
|
-
Input(),
|
|
83
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
84
|
-
], DateRangeEndInputDirective.prototype, "navigateCalendarOnFocus", void 0);
|
|
85
|
-
DateRangeEndInputDirective = tslib_1.__decorate([
|
|
86
|
-
Directive({
|
|
87
|
-
selector: '[kendoDateRangeEndInput]'
|
|
88
|
-
}),
|
|
89
|
-
tslib_1.__metadata("design:paramtypes", [DateRangeService,
|
|
90
|
-
DateInputComponent,
|
|
91
|
-
ElementRef,
|
|
92
|
-
Renderer2,
|
|
93
|
-
NgZone])
|
|
94
|
-
], DateRangeEndInputDirective);
|
|
95
|
-
return DateRangeEndInputDirective;
|
|
96
|
-
}(DateRangeInput));
|
|
97
|
-
export { DateRangeEndInputDirective };
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { cloneDate } from '@progress/kendo-date-math';
|
|
6
|
-
import { Keys } from '@progress/kendo-angular-common';
|
|
7
|
-
import { Subscription, fromEvent } from 'rxjs';
|
|
8
|
-
import { filter } from 'rxjs/operators';
|
|
9
|
-
import { isPresent } from '../common/utils';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
var DateRangeInput = /** @class */ (function () {
|
|
14
|
-
function DateRangeInput(activeRangeEnd, dateRangeService, input, element, renderer, zone) {
|
|
15
|
-
this.activeRangeEnd = activeRangeEnd;
|
|
16
|
-
this.dateRangeService = dateRangeService;
|
|
17
|
-
this.input = input;
|
|
18
|
-
this.element = element;
|
|
19
|
-
this.renderer = renderer;
|
|
20
|
-
this.zone = zone;
|
|
21
|
-
this.navigateCalendarOnFocus = false;
|
|
22
|
-
this.popupSubscriptions = new Subscription();
|
|
23
|
-
this.subscriptions = new Subscription();
|
|
24
|
-
}
|
|
25
|
-
Object.defineProperty(DateRangeInput.prototype, "isActiveEnd", {
|
|
26
|
-
get: function () {
|
|
27
|
-
return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
|
|
28
|
-
},
|
|
29
|
-
enumerable: true,
|
|
30
|
-
configurable: true
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(DateRangeInput.prototype, "popupCalendarActivated", {
|
|
33
|
-
get: function () {
|
|
34
|
-
var popup = this.dateRangeService.dateRangePopup$.value;
|
|
35
|
-
return isPresent(popup) && isPresent(popup.calendar);
|
|
36
|
-
},
|
|
37
|
-
enumerable: true,
|
|
38
|
-
configurable: true
|
|
39
|
-
});
|
|
40
|
-
DateRangeInput.prototype.init = function () {
|
|
41
|
-
var _this = this;
|
|
42
|
-
if (this.input.value) {
|
|
43
|
-
this.dateRangeService.setRange(this.getRange(this.input.value));
|
|
44
|
-
}
|
|
45
|
-
[
|
|
46
|
-
this.input.onBlur.subscribe(function () { return _this.deactivate(); }),
|
|
47
|
-
this.input.onFocus.pipe(filter(function () { return !_this.popupCalendarActivated; })).subscribe(function () { return _this.activate(); }),
|
|
48
|
-
this.input.valueUpdate.subscribe(function (value) { return _this.updateRange(value, 'change'); }),
|
|
49
|
-
this.dateRangeService.activeRangeEnd$.subscribe(function () {
|
|
50
|
-
if (_this.navigateCalendarOnFocus) {
|
|
51
|
-
_this.focusActiveDate();
|
|
52
|
-
}
|
|
53
|
-
_this.toggleActiveClass(_this.isActiveEnd);
|
|
54
|
-
}),
|
|
55
|
-
this.dateRangeService.dateRangePopup$.subscribe(function (popup) { return _this.initPopup(popup); }),
|
|
56
|
-
this.dateRangeService.range$.subscribe(function (range) { return _this.updateInputValue(range); }),
|
|
57
|
-
fromEvent(this.element.nativeElement, 'click').subscribe(function () { return _this.activate(); }),
|
|
58
|
-
fromEvent(this.element.nativeElement, 'keydown').subscribe(function (event) { return _this.togglePopup(event || {}); })
|
|
59
|
-
].map(function (s) { return _this.subscriptions.add(s); });
|
|
60
|
-
};
|
|
61
|
-
DateRangeInput.prototype.destroy = function () {
|
|
62
|
-
this.subscriptions.unsubscribe();
|
|
63
|
-
this.unsubscribePopup();
|
|
64
|
-
};
|
|
65
|
-
DateRangeInput.prototype.initPopup = function (popup) {
|
|
66
|
-
var _this = this;
|
|
67
|
-
if (!popup) {
|
|
68
|
-
this.unsubscribePopup();
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
if (!popup.anchor) {
|
|
72
|
-
popup.anchor = this.element.nativeElement;
|
|
73
|
-
}
|
|
74
|
-
[
|
|
75
|
-
popup.cancel.subscribe(function () { return _this.isActiveEnd && _this.input.focus(); }),
|
|
76
|
-
popup.onFocus.subscribe(function () { return _this.toggleActiveClass(_this.isActiveEnd); }),
|
|
77
|
-
popup.onBlur.subscribe(function () { return _this.deactivate(); })
|
|
78
|
-
].map(function (s) { return _this.popupSubscriptions.add(s); });
|
|
79
|
-
};
|
|
80
|
-
DateRangeInput.prototype.unsubscribePopup = function () {
|
|
81
|
-
this.popupSubscriptions.unsubscribe();
|
|
82
|
-
this.popupSubscriptions = new Subscription();
|
|
83
|
-
};
|
|
84
|
-
DateRangeInput.prototype.activate = function () {
|
|
85
|
-
this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
|
|
86
|
-
this.dateRangeService.activatePopup();
|
|
87
|
-
};
|
|
88
|
-
DateRangeInput.prototype.deactivate = function () {
|
|
89
|
-
var _this = this;
|
|
90
|
-
this.zone.runOutsideAngular(function () {
|
|
91
|
-
setTimeout(function () {
|
|
92
|
-
_this.updateRange(_this.input.value, 'blur');
|
|
93
|
-
if (_this.dateRangeService.hasActiveComponent()) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
_this.toggleActiveClass(false);
|
|
97
|
-
_this.zone.run(function () { return _this.dateRangeService.deactivatePopup(); });
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
DateRangeInput.prototype.updateRange = function (value, correctOn) {
|
|
102
|
-
var range = this.getRange(value, correctOn);
|
|
103
|
-
if (range) {
|
|
104
|
-
this.focusActiveDate();
|
|
105
|
-
this.dateRangeService.setRange(range);
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
DateRangeInput.prototype.togglePopup = function (_a) {
|
|
109
|
-
var altKey = _a.altKey, keyCode = _a.keyCode;
|
|
110
|
-
if (keyCode === Keys.Escape) {
|
|
111
|
-
this.dateRangeService.cancelPopup();
|
|
112
|
-
}
|
|
113
|
-
else if (altKey && keyCode === Keys.ArrowDown) {
|
|
114
|
-
this.dateRangeService.activatePopup();
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
DateRangeInput.prototype.focusActiveDate = function () {
|
|
118
|
-
if (this.input.value && this.isActiveEnd) {
|
|
119
|
-
this.dateRangeService.setFocusedDate(cloneDate(this.input.value));
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
DateRangeInput.prototype.toggleActiveClass = function (show) {
|
|
123
|
-
var action = show ? 'addClass' : 'removeClass';
|
|
124
|
-
var nativeElement = this.element.nativeElement;
|
|
125
|
-
if (nativeElement && nativeElement.querySelector) {
|
|
126
|
-
this.renderer[action](nativeElement, 'k-focus');
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
return DateRangeInput;
|
|
130
|
-
}());
|
|
131
|
-
export { DateRangeInput };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* A directive which renders the content of the DateRange Popup. To define the cell template, nest an
|
|
9
|
-
* `<ng-template>` tag with the `kendoRangePopupTemplate` directive inside the component tag.
|
|
10
|
-
*/
|
|
11
|
-
var DateRangePopupTemplateDirective = /** @class */ (function () {
|
|
12
|
-
function DateRangePopupTemplateDirective(templateRef) {
|
|
13
|
-
this.templateRef = templateRef;
|
|
14
|
-
}
|
|
15
|
-
DateRangePopupTemplateDirective = tslib_1.__decorate([
|
|
16
|
-
Directive({
|
|
17
|
-
selector: '[kendoDateRangePopupTemplate]'
|
|
18
|
-
}),
|
|
19
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
20
|
-
], DateRangePopupTemplateDirective);
|
|
21
|
-
return DateRangePopupTemplateDirective;
|
|
22
|
-
}());
|
|
23
|
-
export { DateRangePopupTemplateDirective };
|