@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
|
@@ -2,25 +2,27 @@
|
|
|
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
|
-
var DateInputComponent_1;
|
|
7
|
-
/* tslint:disable:max-line-length */
|
|
8
|
-
import { Component, ChangeDetectionStrategy, ChangeDetectorRef, Input, Output, ViewChild, EventEmitter, ElementRef, HostBinding, isDevMode, Renderer2, forwardRef, NgZone, Optional, Injector } from '@angular/core';
|
|
5
|
+
import { Component, ChangeDetectionStrategy, Input, Output, ViewChild, EventEmitter, HostBinding, isDevMode, forwardRef, Optional } from '@angular/core';
|
|
9
6
|
import { minValidator } from '../validators/min.validator';
|
|
10
7
|
import { maxValidator } from '../validators/max.validator';
|
|
11
8
|
import { incompleteDateValidator } from '../validators/incomplete-date.validator';
|
|
12
9
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
13
10
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
14
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
|
15
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
12
|
import { packageMetadata } from '../package-metadata';
|
|
17
13
|
import { addMonths, cloneDate, createDate, getDate, isEqual, lastDayOfMonth } from '@progress/kendo-date-math';
|
|
18
14
|
import { isDocumentAvailable, hasObservers, KendoInput, Keys, guid } from '@progress/kendo-angular-common';
|
|
19
15
|
import { Arrow } from './arrow.enum';
|
|
20
|
-
import { approximateStringMatching, noop, isInRange, dateInRange, isValidRange, setTime, cropTwoDigitYear, setYears, msPaddingFromFormat, millisecondDigitsInFormat, millisecondStepFor, getSizeClass, getRoundedClass, getFillModeClass } from '../util';
|
|
21
|
-
import { PickerService } from '../common/picker.service';
|
|
16
|
+
import { approximateStringMatching, noop, isInRange, dateInRange, isValidRange, setTime, cropTwoDigitYear, setYears, msPaddingFromFormat, millisecondDigitsInFormat, millisecondStepFor, getSizeClass, getRoundedClass, getFillModeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE } from '../util';
|
|
22
17
|
import { closest } from '../common/dom-queries';
|
|
23
18
|
import { requiresZoneOnBlur, isPresent } from '../common/utils';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
import * as i1 from "@progress/kendo-angular-intl";
|
|
21
|
+
import * as i2 from "@progress/kendo-angular-l10n";
|
|
22
|
+
import * as i3 from "../common/picker.service";
|
|
23
|
+
import * as i4 from "./localization/dateinput-localized-messages.directive";
|
|
24
|
+
import * as i5 from "@progress/kendo-angular-common";
|
|
25
|
+
import * as i6 from "@angular/common";
|
|
24
26
|
const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-min';
|
|
25
27
|
const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-max';
|
|
26
28
|
const VALUE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/dateinput/#toc-using-with-json';
|
|
@@ -32,9 +34,7 @@ const PREVIOUS_CENTURY_BASE = 1900;
|
|
|
32
34
|
const CURRENT_CENTURY_BASE = 2000;
|
|
33
35
|
const DEFAULT_FORMAT = 'd';
|
|
34
36
|
const padZero = (length) => new Array(Math.max(length, 0)).fill('0').join('');
|
|
35
|
-
const ɵ0 = padZero;
|
|
36
37
|
const unpadZero = (value) => value.replace(/^0*/, '');
|
|
37
|
-
const ɵ1 = unpadZero;
|
|
38
38
|
class Mask {
|
|
39
39
|
constructor() {
|
|
40
40
|
this.symbols = "";
|
|
@@ -449,7 +449,7 @@ class KendoDate {
|
|
|
449
449
|
/**
|
|
450
450
|
* Represents the [Kendo UI DateInput component for Angular]({% slug overview_dateinput %}#toc-basic-usage).
|
|
451
451
|
*/
|
|
452
|
-
|
|
452
|
+
export class DateInputComponent {
|
|
453
453
|
constructor(cdr, intl, renderer, wrapper, ngZone, injector, localization, pickerService) {
|
|
454
454
|
this.cdr = cdr;
|
|
455
455
|
this.intl = intl;
|
|
@@ -607,7 +607,7 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
607
607
|
* ```
|
|
608
608
|
*
|
|
609
609
|
*/
|
|
610
|
-
this.onFocus = new EventEmitter();
|
|
610
|
+
this.onFocus = new EventEmitter();
|
|
611
611
|
/**
|
|
612
612
|
* Fires each time the input element gets blurred.
|
|
613
613
|
* For more information, refer to the section on
|
|
@@ -631,7 +631,7 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
631
631
|
* ```
|
|
632
632
|
*
|
|
633
633
|
*/
|
|
634
|
-
this.onBlur = new EventEmitter();
|
|
634
|
+
this.onBlur = new EventEmitter();
|
|
635
635
|
this.arrow = Arrow;
|
|
636
636
|
this.arrowDirection = Arrow.None;
|
|
637
637
|
this.formatSections = { date: false, time: false };
|
|
@@ -656,9 +656,9 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
656
656
|
this.onControlChange = noop;
|
|
657
657
|
this.onControlTouched = noop;
|
|
658
658
|
this.onValidatorChange = noop;
|
|
659
|
-
this._size =
|
|
660
|
-
this._rounded =
|
|
661
|
-
this._fillMode =
|
|
659
|
+
this._size = DEFAULT_SIZE;
|
|
660
|
+
this._rounded = DEFAULT_ROUNDED;
|
|
661
|
+
this._fillMode = DEFAULT_FILL_MODE;
|
|
662
662
|
this.symbolsMap = this.dateSymbolMap();
|
|
663
663
|
this.updateFormatSections();
|
|
664
664
|
if (this.pickerService) {
|
|
@@ -694,18 +694,19 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
694
694
|
* Sets the size of the component.
|
|
695
695
|
*
|
|
696
696
|
* The possible values are:
|
|
697
|
-
* * `
|
|
698
|
-
* * `
|
|
699
|
-
* * `
|
|
700
|
-
* * `
|
|
697
|
+
* * `small`
|
|
698
|
+
* * `medium` (Default)
|
|
699
|
+
* * `large`
|
|
700
|
+
* * `none`
|
|
701
701
|
*
|
|
702
702
|
*/
|
|
703
703
|
set size(size) {
|
|
704
704
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
705
|
-
|
|
706
|
-
|
|
705
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
706
|
+
if (newSize !== 'none') {
|
|
707
|
+
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
707
708
|
}
|
|
708
|
-
this._size =
|
|
709
|
+
this._size = newSize;
|
|
709
710
|
}
|
|
710
711
|
get size() {
|
|
711
712
|
return this._size;
|
|
@@ -714,19 +715,20 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
714
715
|
* Sets the border radius of the component.
|
|
715
716
|
*
|
|
716
717
|
* The possible values are:
|
|
717
|
-
* * `
|
|
718
|
-
* * `
|
|
719
|
-
* * `
|
|
720
|
-
* * `
|
|
721
|
-
* * `
|
|
718
|
+
* * `small`
|
|
719
|
+
* * `medium` (Default)
|
|
720
|
+
* * `large`
|
|
721
|
+
* * `full`
|
|
722
|
+
* * `none`
|
|
722
723
|
*
|
|
723
724
|
*/
|
|
724
725
|
set rounded(rounded) {
|
|
725
726
|
this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
726
|
-
|
|
727
|
-
|
|
727
|
+
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
728
|
+
if (newRounded !== 'none') {
|
|
729
|
+
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
|
|
728
730
|
}
|
|
729
|
-
this._rounded =
|
|
731
|
+
this._rounded = newRounded;
|
|
730
732
|
}
|
|
731
733
|
get rounded() {
|
|
732
734
|
return this._rounded;
|
|
@@ -735,22 +737,23 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
735
737
|
* Sets the fillMode of the component.
|
|
736
738
|
*
|
|
737
739
|
* The possible values are:
|
|
738
|
-
* * `
|
|
739
|
-
* * `
|
|
740
|
-
* * `
|
|
741
|
-
* * `
|
|
740
|
+
* * `solid` (Default)
|
|
741
|
+
* * `flat`
|
|
742
|
+
* * `outline`
|
|
743
|
+
* * `none`
|
|
742
744
|
*
|
|
743
745
|
*/
|
|
744
746
|
set fillMode(fillMode) {
|
|
745
747
|
this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
746
|
-
|
|
747
|
-
|
|
748
|
+
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
749
|
+
if (newFillMode !== 'none') {
|
|
750
|
+
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
|
|
748
751
|
if (this.spinners && this.spinup && this.spindown) {
|
|
749
|
-
this.setSpinnerFill(this.spinup.nativeElement,
|
|
750
|
-
this.setSpinnerFill(this.spindown.nativeElement,
|
|
752
|
+
this.setSpinnerFill(this.spinup.nativeElement, newFillMode, this.fillMode);
|
|
753
|
+
this.setSpinnerFill(this.spindown.nativeElement, newFillMode, this.fillMode);
|
|
751
754
|
}
|
|
752
755
|
}
|
|
753
|
-
this._fillMode =
|
|
756
|
+
this._fillMode = newFillMode;
|
|
754
757
|
}
|
|
755
758
|
get fillMode() {
|
|
756
759
|
return this._fillMode;
|
|
@@ -1236,7 +1239,6 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
1236
1239
|
if (this.disabled || this.readonly || !this.isActive) {
|
|
1237
1240
|
return;
|
|
1238
1241
|
}
|
|
1239
|
-
/* tslint:disable-next-line:deprecation */
|
|
1240
1242
|
event = window.event || event;
|
|
1241
1243
|
if (event.shiftKey) {
|
|
1242
1244
|
this.switchDateSegment((event.wheelDelta || -event.detail) > 0 ? -1 : 1);
|
|
@@ -1360,7 +1362,7 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
1360
1362
|
}
|
|
1361
1363
|
}
|
|
1362
1364
|
setSpinnerFill(spinner, fill, oldFill) {
|
|
1363
|
-
if (oldFill) {
|
|
1365
|
+
if (oldFill !== 'none') {
|
|
1364
1366
|
this.renderer.removeClass(spinner, `k-button-${oldFill}`);
|
|
1365
1367
|
this.renderer.removeClass(spinner, `k-button-${oldFill}-base`);
|
|
1366
1368
|
}
|
|
@@ -1368,178 +1370,106 @@ let DateInputComponent = DateInputComponent_1 = class DateInputComponent {
|
|
|
1368
1370
|
this.renderer.addClass(spinner, `k-button-${fill}-base`);
|
|
1369
1371
|
}
|
|
1370
1372
|
setComponentClasses() {
|
|
1371
|
-
if (this.size) {
|
|
1373
|
+
if (this.size !== 'none') {
|
|
1372
1374
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
1373
1375
|
}
|
|
1374
|
-
if (this.rounded) {
|
|
1376
|
+
if (this.rounded !== 'none') {
|
|
1375
1377
|
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
1376
1378
|
}
|
|
1377
|
-
if (this.fillMode) {
|
|
1379
|
+
if (this.fillMode !== 'none') {
|
|
1378
1380
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
1379
1381
|
}
|
|
1380
|
-
if (this.spinners) {
|
|
1382
|
+
if (this.spinners && this.fillMode !== 'none') {
|
|
1381
1383
|
this.setSpinnerFill(this.spinup.nativeElement, this.fillMode);
|
|
1382
1384
|
this.setSpinnerFill(this.spindown.nativeElement, this.fillMode);
|
|
1383
1385
|
}
|
|
1384
1386
|
}
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
],
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
]
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
]
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
]
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
], DateInputComponent.prototype, "isPopupOpen", void 0);
|
|
1472
|
-
tslib_1.__decorate([
|
|
1473
|
-
Input(),
|
|
1474
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1475
|
-
], DateInputComponent.prototype, "hasPopup", void 0);
|
|
1476
|
-
tslib_1.__decorate([
|
|
1477
|
-
Input(),
|
|
1478
|
-
tslib_1.__metadata("design:type", String),
|
|
1479
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1480
|
-
], DateInputComponent.prototype, "size", null);
|
|
1481
|
-
tslib_1.__decorate([
|
|
1482
|
-
Input(),
|
|
1483
|
-
tslib_1.__metadata("design:type", String),
|
|
1484
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1485
|
-
], DateInputComponent.prototype, "rounded", null);
|
|
1486
|
-
tslib_1.__decorate([
|
|
1487
|
-
Input(),
|
|
1488
|
-
tslib_1.__metadata("design:type", String),
|
|
1489
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1490
|
-
], DateInputComponent.prototype, "fillMode", null);
|
|
1491
|
-
tslib_1.__decorate([
|
|
1492
|
-
Output(),
|
|
1493
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1494
|
-
], DateInputComponent.prototype, "valueChange", void 0);
|
|
1495
|
-
tslib_1.__decorate([
|
|
1496
|
-
Output(),
|
|
1497
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1498
|
-
], DateInputComponent.prototype, "valueUpdate", void 0);
|
|
1499
|
-
tslib_1.__decorate([
|
|
1500
|
-
Output('focus'),
|
|
1501
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1502
|
-
], DateInputComponent.prototype, "onFocus", void 0);
|
|
1503
|
-
tslib_1.__decorate([
|
|
1504
|
-
Output('blur'),
|
|
1505
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1506
|
-
], DateInputComponent.prototype, "onBlur", void 0);
|
|
1507
|
-
tslib_1.__decorate([
|
|
1508
|
-
ViewChild('dateInput', { static: true }),
|
|
1509
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
1510
|
-
], DateInputComponent.prototype, "dateInput", void 0);
|
|
1511
|
-
tslib_1.__decorate([
|
|
1512
|
-
HostBinding('class.k-input'),
|
|
1513
|
-
HostBinding('class.k-dateinput'),
|
|
1514
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1515
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1516
|
-
], DateInputComponent.prototype, "wrapperClass", null);
|
|
1517
|
-
tslib_1.__decorate([
|
|
1518
|
-
HostBinding('class.k-disabled'),
|
|
1519
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1520
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1521
|
-
], DateInputComponent.prototype, "disabledClass", null);
|
|
1522
|
-
tslib_1.__decorate([
|
|
1523
|
-
ViewChild('spinup', { static: false }),
|
|
1524
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
1525
|
-
], DateInputComponent.prototype, "spinup", void 0);
|
|
1526
|
-
tslib_1.__decorate([
|
|
1527
|
-
ViewChild('spindown', { static: false }),
|
|
1528
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
1529
|
-
], DateInputComponent.prototype, "spindown", void 0);
|
|
1530
|
-
DateInputComponent = DateInputComponent_1 = tslib_1.__decorate([
|
|
1531
|
-
Component({
|
|
1532
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1533
|
-
exportAs: 'kendo-dateinput',
|
|
1534
|
-
providers: [
|
|
1535
|
-
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent_1), multi: true },
|
|
1536
|
-
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent_1), multi: true },
|
|
1537
|
-
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
1538
|
-
{ provide: KendoInput, useExisting: forwardRef(() => DateInputComponent_1) },
|
|
1539
|
-
LocalizationService
|
|
1540
|
-
],
|
|
1541
|
-
selector: 'kendo-dateinput',
|
|
1542
|
-
template: `
|
|
1387
|
+
}
|
|
1388
|
+
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2.LocalizationService }, { token: i3.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1389
|
+
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateInputComponent, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrect: "autoCorrect", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
1390
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
1391
|
+
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
1392
|
+
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
1393
|
+
{ provide: KendoInput, useExisting: forwardRef(() => DateInputComponent) },
|
|
1394
|
+
LocalizationService
|
|
1395
|
+
], viewQueries: [{ propertyName: "dateInput", first: true, predicate: ["dateInput"], descendants: true, static: true }, { propertyName: "spinup", first: true, predicate: ["spinup"], descendants: true }, { propertyName: "spindown", first: true, predicate: ["spindown"], descendants: true }], exportAs: ["kendo-dateinput"], usesOnChanges: true, ngImport: i0, template: `
|
|
1396
|
+
<ng-container kendoDateInputLocalizedMessages
|
|
1397
|
+
i18n-increment="kendo.dateinput.increment|The label for the **Increment** button in the DateInput"
|
|
1398
|
+
increment="Increase value"
|
|
1399
|
+
|
|
1400
|
+
i18n-decrement="kendo.dateinput.decrement|The label for the **Decrement** button in the DateInput"
|
|
1401
|
+
decrement="Decrease value"
|
|
1402
|
+
>
|
|
1403
|
+
</ng-container>
|
|
1404
|
+
<input
|
|
1405
|
+
#dateInput
|
|
1406
|
+
autocomplete="off"
|
|
1407
|
+
autocorrect="off"
|
|
1408
|
+
autocapitalize="off"
|
|
1409
|
+
spellcheck="false"
|
|
1410
|
+
class="k-input-inner"
|
|
1411
|
+
[attr.role]="role"
|
|
1412
|
+
[attr.aria-readonly]="ariaReadOnly"
|
|
1413
|
+
[id]="focusableId"
|
|
1414
|
+
[title]="title"
|
|
1415
|
+
[tabindex]="tabindex"
|
|
1416
|
+
[disabled]="disabled"
|
|
1417
|
+
[readonly]="readonly"
|
|
1418
|
+
[placeholder]="placeholder"
|
|
1419
|
+
[attr.aria-expanded]="isPopupOpen"
|
|
1420
|
+
[attr.aria-haspopup]="hasPopup"
|
|
1421
|
+
[kendoEventsOutsideAngular]="{
|
|
1422
|
+
click: handleClick,
|
|
1423
|
+
focus: handleFocus,
|
|
1424
|
+
mousedown: handleMousedown,
|
|
1425
|
+
touchstart: handleMousedown,
|
|
1426
|
+
dragstart: handleDragAndDrop,
|
|
1427
|
+
drop: handleDragAndDrop,
|
|
1428
|
+
blur: handleBlur
|
|
1429
|
+
}"
|
|
1430
|
+
[scope]="this"
|
|
1431
|
+
/>
|
|
1432
|
+
<span *ngIf="spinners" class="k-input-spinner k-spin-button" (mousedown)="$event.preventDefault()">
|
|
1433
|
+
<button
|
|
1434
|
+
#spinup
|
|
1435
|
+
tabindex="-1"
|
|
1436
|
+
class="k-spinner-increase k-button k-icon-button"
|
|
1437
|
+
[class.k-active]="arrowDirection === arrow.Up"
|
|
1438
|
+
(mousedown)="arrowDirection = arrow.Up"
|
|
1439
|
+
(mouseleave)="arrowDirection = arrow.None"
|
|
1440
|
+
(click)="handleButtonClick(1)"
|
|
1441
|
+
[title]="localization.get('increment')"
|
|
1442
|
+
[attr.aria-label]="localization.get('increment')">
|
|
1443
|
+
<span class="k-button-icon k-icon k-i-arrow-n"></span>
|
|
1444
|
+
</button>
|
|
1445
|
+
<button
|
|
1446
|
+
#spindown
|
|
1447
|
+
tabindex="-1"
|
|
1448
|
+
class="k-spinner-decrease k-button k-icon-button"
|
|
1449
|
+
(click)="handleButtonClick(-1)"
|
|
1450
|
+
[class.k-active]="arrowDirection === arrow.Down"
|
|
1451
|
+
(mousedown)="arrowDirection = arrow.Down"
|
|
1452
|
+
(mouseleave)="arrowDirection = arrow.None"
|
|
1453
|
+
[title]="localization.get('decrement')"
|
|
1454
|
+
[attr.aria-label]="localization.get('decrement')">
|
|
1455
|
+
<span class="k-button-icon k-icon k-i-arrow-s"></span>
|
|
1456
|
+
</button>
|
|
1457
|
+
</span>
|
|
1458
|
+
`, isInline: true, directives: [{ type: i4.DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
1460
|
+
type: Component,
|
|
1461
|
+
args: [{
|
|
1462
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1463
|
+
exportAs: 'kendo-dateinput',
|
|
1464
|
+
providers: [
|
|
1465
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
1466
|
+
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
1467
|
+
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
1468
|
+
{ provide: KendoInput, useExisting: forwardRef(() => DateInputComponent) },
|
|
1469
|
+
LocalizationService
|
|
1470
|
+
],
|
|
1471
|
+
selector: 'kendo-dateinput',
|
|
1472
|
+
template: `
|
|
1543
1473
|
<ng-container kendoDateInputLocalizedMessages
|
|
1544
1474
|
i18n-increment="kendo.dateinput.increment|The label for the **Increment** button in the DateInput"
|
|
1545
1475
|
increment="Increase value"
|
|
@@ -1603,16 +1533,85 @@ DateInputComponent = DateInputComponent_1 = tslib_1.__decorate([
|
|
|
1603
1533
|
</button>
|
|
1604
1534
|
</span>
|
|
1605
1535
|
`
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1536
|
+
}]
|
|
1537
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i2.LocalizationService }, { type: i3.PickerService, decorators: [{
|
|
1538
|
+
type: Optional
|
|
1539
|
+
}] }]; }, propDecorators: { focusableId: [{
|
|
1540
|
+
type: Input
|
|
1541
|
+
}], disabled: [{
|
|
1542
|
+
type: Input
|
|
1543
|
+
}], readonly: [{
|
|
1544
|
+
type: Input
|
|
1545
|
+
}], title: [{
|
|
1546
|
+
type: Input
|
|
1547
|
+
}], tabindex: [{
|
|
1548
|
+
type: Input
|
|
1549
|
+
}], role: [{
|
|
1550
|
+
type: Input
|
|
1551
|
+
}], ariaReadOnly: [{
|
|
1552
|
+
type: Input
|
|
1553
|
+
}], tabIndex: [{
|
|
1554
|
+
type: Input
|
|
1555
|
+
}], format: [{
|
|
1556
|
+
type: Input
|
|
1557
|
+
}], formatPlaceholder: [{
|
|
1558
|
+
type: Input
|
|
1559
|
+
}], placeholder: [{
|
|
1560
|
+
type: Input
|
|
1561
|
+
}], steps: [{
|
|
1562
|
+
type: Input
|
|
1563
|
+
}], max: [{
|
|
1564
|
+
type: Input
|
|
1565
|
+
}], min: [{
|
|
1566
|
+
type: Input
|
|
1567
|
+
}], rangeValidation: [{
|
|
1568
|
+
type: Input
|
|
1569
|
+
}], autoCorrect: [{
|
|
1570
|
+
type: Input
|
|
1571
|
+
}], incompleteDateValidation: [{
|
|
1572
|
+
type: Input
|
|
1573
|
+
}], twoDigitYearMax: [{
|
|
1574
|
+
type: Input
|
|
1575
|
+
}], value: [{
|
|
1576
|
+
type: Input
|
|
1577
|
+
}], spinners: [{
|
|
1578
|
+
type: Input
|
|
1579
|
+
}], isPopupOpen: [{
|
|
1580
|
+
type: Input
|
|
1581
|
+
}], hasPopup: [{
|
|
1582
|
+
type: Input
|
|
1583
|
+
}], size: [{
|
|
1584
|
+
type: Input
|
|
1585
|
+
}], rounded: [{
|
|
1586
|
+
type: Input
|
|
1587
|
+
}], fillMode: [{
|
|
1588
|
+
type: Input
|
|
1589
|
+
}], valueChange: [{
|
|
1590
|
+
type: Output
|
|
1591
|
+
}], valueUpdate: [{
|
|
1592
|
+
type: Output
|
|
1593
|
+
}], onFocus: [{
|
|
1594
|
+
type: Output,
|
|
1595
|
+
args: ['focus']
|
|
1596
|
+
}], onBlur: [{
|
|
1597
|
+
type: Output,
|
|
1598
|
+
args: ['blur']
|
|
1599
|
+
}], dateInput: [{
|
|
1600
|
+
type: ViewChild,
|
|
1601
|
+
args: ['dateInput', { static: true }]
|
|
1602
|
+
}], wrapperClass: [{
|
|
1603
|
+
type: HostBinding,
|
|
1604
|
+
args: ['class.k-input']
|
|
1605
|
+
}, {
|
|
1606
|
+
type: HostBinding,
|
|
1607
|
+
args: ['class.k-dateinput']
|
|
1608
|
+
}], disabledClass: [{
|
|
1609
|
+
type: HostBinding,
|
|
1610
|
+
args: ['class.k-disabled']
|
|
1611
|
+
}], spinup: [{
|
|
1612
|
+
type: ViewChild,
|
|
1613
|
+
args: ['spinup', { static: false }]
|
|
1614
|
+
}], spindown: [{
|
|
1615
|
+
type: ViewChild,
|
|
1616
|
+
args: ['spindown', { static: false }]
|
|
1617
|
+
}] } });
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { NgModule } from '@angular/core';
|
|
6
|
+
import { DateInputComponent } from './dateinput.component';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
import { IntlModule } from '@progress/kendo-angular-intl';
|
|
9
|
+
import { DateInputLocalizedMessagesDirective } from './localization/dateinput-localized-messages.directive';
|
|
10
|
+
import { DateInputCustomMessagesComponent } from './localization/dateinput-custom-messages.component';
|
|
11
|
+
import { EventsModule } from '@progress/kendo-angular-common';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
/**
|
|
14
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
15
|
+
* definition for the DateInput component.
|
|
16
|
+
*/
|
|
17
|
+
export class DateInputModule {
|
|
18
|
+
}
|
|
19
|
+
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputModule, declarations: [DateInputComponent,
|
|
21
|
+
DateInputCustomMessagesComponent,
|
|
22
|
+
DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule], exports: [DateInputComponent,
|
|
23
|
+
DateInputCustomMessagesComponent,
|
|
24
|
+
DateInputLocalizedMessagesDirective] });
|
|
25
|
+
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputModule, imports: [[CommonModule, IntlModule, EventsModule]] });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputModule, decorators: [{
|
|
27
|
+
type: NgModule,
|
|
28
|
+
args: [{
|
|
29
|
+
declarations: [
|
|
30
|
+
DateInputComponent,
|
|
31
|
+
DateInputCustomMessagesComponent,
|
|
32
|
+
DateInputLocalizedMessagesDirective
|
|
33
|
+
],
|
|
34
|
+
exports: [
|
|
35
|
+
DateInputComponent,
|
|
36
|
+
DateInputCustomMessagesComponent,
|
|
37
|
+
DateInputLocalizedMessagesDirective
|
|
38
|
+
],
|
|
39
|
+
imports: [CommonModule, IntlModule, EventsModule]
|
|
40
|
+
}]
|
|
41
|
+
}] });
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { Component, forwardRef } from '@angular/core';
|
|
6
|
+
import { DateInputMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
9
|
+
/**
|
|
10
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
11
|
+
*/
|
|
12
|
+
export class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
13
|
+
constructor(service) {
|
|
14
|
+
super();
|
|
15
|
+
this.service = service;
|
|
16
|
+
}
|
|
17
|
+
get override() {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages", providers: [
|
|
23
|
+
{
|
|
24
|
+
provide: DateInputMessages,
|
|
25
|
+
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
26
|
+
}
|
|
27
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateInputCustomMessagesComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{
|
|
31
|
+
providers: [
|
|
32
|
+
{
|
|
33
|
+
provide: DateInputMessages,
|
|
34
|
+
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
selector: 'kendo-dateinput-messages',
|
|
38
|
+
template: ``
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|