@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,111 +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 { Observable, ReplaySubject } from 'rxjs';
|
|
6
|
-
var normalize = function (x) { return Math.max(x, 0); };
|
|
7
|
-
var ɵ0 = normalize;
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
var ScrollAction = /** @class */ (function () {
|
|
12
|
-
function ScrollAction(offset) {
|
|
13
|
-
this.offset = offset;
|
|
14
|
-
}
|
|
15
|
-
return ScrollAction;
|
|
16
|
-
}());
|
|
17
|
-
export { ScrollAction };
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
var PageAction = /** @class */ (function () {
|
|
22
|
-
function PageAction(skip) {
|
|
23
|
-
this.skip = skip;
|
|
24
|
-
}
|
|
25
|
-
return PageAction;
|
|
26
|
-
}());
|
|
27
|
-
export { PageAction };
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
var ScrollerService = /** @class */ (function () {
|
|
32
|
-
function ScrollerService(scrollObservable) {
|
|
33
|
-
this.scrollObservable = scrollObservable;
|
|
34
|
-
this.firstLoaded = 0;
|
|
35
|
-
this.bottomOffset = 0;
|
|
36
|
-
this.topOffset = 0;
|
|
37
|
-
}
|
|
38
|
-
ScrollerService.prototype.create = function (rowHeightService, skip, take, total, topOffset, bottomOffset, direction) {
|
|
39
|
-
var _this = this;
|
|
40
|
-
if (topOffset === void 0) { topOffset = 0; }
|
|
41
|
-
if (bottomOffset === void 0) { bottomOffset = 0; }
|
|
42
|
-
if (direction === void 0) { direction = 'vertical'; }
|
|
43
|
-
this.rowHeightService = rowHeightService;
|
|
44
|
-
this.firstLoaded = skip;
|
|
45
|
-
this.lastLoaded = skip + take;
|
|
46
|
-
this.take = take;
|
|
47
|
-
this.total = total;
|
|
48
|
-
this.lastScroll = 0;
|
|
49
|
-
this.topOffset = topOffset;
|
|
50
|
-
this.bottomOffset = bottomOffset;
|
|
51
|
-
this.direction = direction;
|
|
52
|
-
var subject = new ReplaySubject(2);
|
|
53
|
-
var offsetBufferRows = this.rowsForHeight(topOffset);
|
|
54
|
-
var skipWithOffset = normalize(skip - offsetBufferRows);
|
|
55
|
-
subject.next(new ScrollAction(this.rowOffset(skipWithOffset)));
|
|
56
|
-
if (offsetBufferRows) {
|
|
57
|
-
subject.next(new PageAction(skipWithOffset));
|
|
58
|
-
}
|
|
59
|
-
this.subscription = new Observable(function (observer) {
|
|
60
|
-
_this.unsubscribe();
|
|
61
|
-
_this.scrollSubscription = _this.scrollObservable.subscribe(function (x) { return _this.onScroll(x, observer); });
|
|
62
|
-
}).subscribe(function (x) { return subject.next(x); });
|
|
63
|
-
return subject;
|
|
64
|
-
};
|
|
65
|
-
ScrollerService.prototype.destroy = function () {
|
|
66
|
-
this.unsubscribe();
|
|
67
|
-
if (this.subscription) {
|
|
68
|
-
this.subscription.unsubscribe();
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
ScrollerService.prototype.onScroll = function (_a, observer) {
|
|
72
|
-
var scrollLeft = _a.scrollLeft, scrollTop = _a.scrollTop, offsetHeight = _a.offsetHeight, offsetWidth = _a.offsetWidth;
|
|
73
|
-
var scrollPosition = this.direction === 'vertical' ? scrollTop : scrollLeft;
|
|
74
|
-
var offsetSize = this.direction === 'vertical' ? offsetHeight : offsetWidth;
|
|
75
|
-
if (this.lastScroll === scrollPosition) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
var up = this.lastScroll >= scrollPosition;
|
|
79
|
-
this.lastScroll = scrollPosition;
|
|
80
|
-
var firstItemIndex = this.rowHeightService.index(normalize(scrollPosition - this.topOffset));
|
|
81
|
-
var lastItemIndex = this.rowHeightService.index(normalize(scrollPosition + offsetSize - this.bottomOffset));
|
|
82
|
-
if (!up && lastItemIndex >= this.lastLoaded && this.lastLoaded < this.total) {
|
|
83
|
-
this.firstLoaded = firstItemIndex;
|
|
84
|
-
observer.next(new ScrollAction(this.rowOffset(firstItemIndex)));
|
|
85
|
-
this.lastLoaded = Math.min(this.firstLoaded + this.take, this.total);
|
|
86
|
-
observer.next(new PageAction(this.firstLoaded));
|
|
87
|
-
}
|
|
88
|
-
if (up && firstItemIndex <= this.firstLoaded) {
|
|
89
|
-
var nonVisibleBuffer = Math.floor(this.take * 0.3);
|
|
90
|
-
this.firstLoaded = normalize(firstItemIndex - nonVisibleBuffer);
|
|
91
|
-
observer.next(new ScrollAction(this.rowOffset(this.firstLoaded)));
|
|
92
|
-
this.lastLoaded = Math.min(this.firstLoaded + this.take, this.total);
|
|
93
|
-
observer.next(new PageAction(this.firstLoaded));
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
ScrollerService.prototype.rowOffset = function (index) {
|
|
97
|
-
return this.rowHeightService.offset(index) + this.topOffset;
|
|
98
|
-
};
|
|
99
|
-
ScrollerService.prototype.rowsForHeight = function (height) {
|
|
100
|
-
return Math.ceil(height / this.rowHeightService.height(0));
|
|
101
|
-
};
|
|
102
|
-
ScrollerService.prototype.unsubscribe = function () {
|
|
103
|
-
if (this.scrollSubscription) {
|
|
104
|
-
this.scrollSubscription.unsubscribe();
|
|
105
|
-
this.scrollSubscription = null;
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
return ScrollerService;
|
|
109
|
-
}());
|
|
110
|
-
export { ScrollerService };
|
|
111
|
-
export { ɵ0 };
|
|
@@ -1,343 +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
|
-
var _a, _b, _c;
|
|
7
|
-
/* tslint:disable:component-selector-name component-selector-type */
|
|
8
|
-
import { Component, EventEmitter, ElementRef, HostBinding, Input, Inject, Output, InjectionToken, Renderer2, NgZone } from '@angular/core';
|
|
9
|
-
import { RowHeightService } from './services/row-height.service';
|
|
10
|
-
import { ScrollerService, PageAction } from './services/scroller.service';
|
|
11
|
-
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
12
|
-
import { Subject, fromEvent, interval, EMPTY, of, combineLatest, animationFrameScheduler as animationFrame } from 'rxjs';
|
|
13
|
-
import { map, scan, takeWhile } from 'rxjs/operators';
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export var SCROLLER_FACTORY_TOKEN = new InjectionToken('dateinputs-scroll-service-factory');
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export function DEFAULT_SCROLLER_FACTORY(observable) {
|
|
22
|
-
return new ScrollerService(observable);
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
export var ScrollDirection;
|
|
28
|
-
(function (ScrollDirection) {
|
|
29
|
-
ScrollDirection[ScrollDirection["Backward"] = 0] = "Backward";
|
|
30
|
-
ScrollDirection[ScrollDirection["Forward"] = 1] = "Forward";
|
|
31
|
-
})(ScrollDirection || (ScrollDirection = {}));
|
|
32
|
-
var FRAME_DURATION = 17;
|
|
33
|
-
var scrollModifiers = (_a = {},
|
|
34
|
-
_a[ScrollDirection.Forward] = function (step) { return function (value) { return value + step; }; },
|
|
35
|
-
_a[ScrollDirection.Backward] = function (step) { return function (value) { return value - step; }; },
|
|
36
|
-
_a);
|
|
37
|
-
var scrollNormalizers = (_b = {},
|
|
38
|
-
_b[ScrollDirection.Forward] = function (end) { return function (value) { return Math.min(value, end); }; },
|
|
39
|
-
_b[ScrollDirection.Backward] = function (end) { return function (value) { return Math.max(value, end); }; },
|
|
40
|
-
_b);
|
|
41
|
-
var scrollValidators = (_c = {},
|
|
42
|
-
_c[ScrollDirection.Forward] = function (end) { return function (start) { return start < end; }; },
|
|
43
|
-
_c[ScrollDirection.Backward] = function (end) { return function (start) { return start > end; }; },
|
|
44
|
-
_c);
|
|
45
|
-
var differenceToScroll = function (scrollTop, staticOffset, maxScrollDifference) {
|
|
46
|
-
return Math.min(Math.abs(staticOffset - scrollTop), maxScrollDifference);
|
|
47
|
-
};
|
|
48
|
-
var ɵ0 = differenceToScroll;
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
var VirtualizationComponent = /** @class */ (function () {
|
|
53
|
-
function VirtualizationComponent(scrollerFactory, container, renderer, zone) {
|
|
54
|
-
this.container = container;
|
|
55
|
-
this.renderer = renderer;
|
|
56
|
-
this.zone = zone;
|
|
57
|
-
this.direction = 'vertical';
|
|
58
|
-
this.itemHeight = 1;
|
|
59
|
-
this.itemWidth = 1;
|
|
60
|
-
this.topOffset = 0;
|
|
61
|
-
this.bottomOffset = 0;
|
|
62
|
-
this.maxScrollDifference = 100;
|
|
63
|
-
this.scrollOffsetSize = 0;
|
|
64
|
-
this.scrollDuration = 150;
|
|
65
|
-
this.activeIndexChange = new EventEmitter();
|
|
66
|
-
this.pageChange = new EventEmitter();
|
|
67
|
-
this.scrollChange = new EventEmitter();
|
|
68
|
-
this.wrapperClasses = true;
|
|
69
|
-
this.resolvedPromise = Promise.resolve(null);
|
|
70
|
-
this.dispatcher = new Subject();
|
|
71
|
-
this.scroller = scrollerFactory(this.dispatcher);
|
|
72
|
-
}
|
|
73
|
-
Object.defineProperty(VirtualizationComponent.prototype, "horizontalClass", {
|
|
74
|
-
get: function () {
|
|
75
|
-
return this.direction === 'horizontal';
|
|
76
|
-
},
|
|
77
|
-
enumerable: true,
|
|
78
|
-
configurable: true
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(VirtualizationComponent.prototype, "totalVertexLength", {
|
|
81
|
-
get: function () {
|
|
82
|
-
var value = this.totalSize + "px";
|
|
83
|
-
return this.direction === 'vertical' ? { height: value } : { width: value };
|
|
84
|
-
},
|
|
85
|
-
enumerable: true,
|
|
86
|
-
configurable: true
|
|
87
|
-
});
|
|
88
|
-
Object.defineProperty(VirtualizationComponent.prototype, "containerOffsetSize", {
|
|
89
|
-
get: function () {
|
|
90
|
-
return this.getContainerProperty(this.direction === 'vertical' ? 'offsetHeight' : 'offsetWidth');
|
|
91
|
-
},
|
|
92
|
-
enumerable: true,
|
|
93
|
-
configurable: true
|
|
94
|
-
});
|
|
95
|
-
Object.defineProperty(VirtualizationComponent.prototype, "containerScrollSize", {
|
|
96
|
-
get: function () {
|
|
97
|
-
return this.getContainerProperty(this.direction === 'vertical' ? 'scrollHeight' : 'scrollWidth');
|
|
98
|
-
},
|
|
99
|
-
enumerable: true,
|
|
100
|
-
configurable: true
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(VirtualizationComponent.prototype, "containerScrollPosition", {
|
|
103
|
-
get: function () {
|
|
104
|
-
return this.getContainerProperty(this.direction === 'vertical' ? 'scrollTop' : 'scrollLeft');
|
|
105
|
-
},
|
|
106
|
-
enumerable: true,
|
|
107
|
-
configurable: true
|
|
108
|
-
});
|
|
109
|
-
VirtualizationComponent.prototype.ngOnChanges = function (changes) {
|
|
110
|
-
if (changes.direction || changes.take || changes.total) {
|
|
111
|
-
this.initServices();
|
|
112
|
-
this.totalSize = this.rowHeightService.totalHeight() + this.bottomOffset;
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
VirtualizationComponent.prototype.ngOnInit = function () {
|
|
116
|
-
if (!this.rowHeightService) {
|
|
117
|
-
this.rowHeightService = this.createRowHeightService();
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
VirtualizationComponent.prototype.ngAfterViewInit = function () {
|
|
121
|
-
var _this = this;
|
|
122
|
-
this.zone.runOutsideAngular(function () {
|
|
123
|
-
_this.containerScrollSubscription = _this.scroll$()
|
|
124
|
-
.pipe(map(function (event) { return event.target; }))
|
|
125
|
-
.subscribe(function (t) {
|
|
126
|
-
_this.dispatcher.next(t);
|
|
127
|
-
_this.emitActiveIndex();
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
};
|
|
131
|
-
VirtualizationComponent.prototype.ngOnDestroy = function () {
|
|
132
|
-
if (this.containerScrollSubscription) {
|
|
133
|
-
this.containerScrollSubscription.unsubscribe();
|
|
134
|
-
}
|
|
135
|
-
if (this.scrollSubscription) {
|
|
136
|
-
this.scrollSubscription.unsubscribe();
|
|
137
|
-
}
|
|
138
|
-
if (this.animationSubscription) {
|
|
139
|
-
this.animationSubscription.unsubscribe();
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
VirtualizationComponent.prototype.getContainerProperty = function (propertyName) {
|
|
143
|
-
return this.container.nativeElement[propertyName];
|
|
144
|
-
};
|
|
145
|
-
VirtualizationComponent.prototype.activeIndex = function () {
|
|
146
|
-
return this.itemIndex(Math.ceil(this.containerScrollPosition)); //handle subpixeling
|
|
147
|
-
};
|
|
148
|
-
VirtualizationComponent.prototype.itemIndex = function (offset) {
|
|
149
|
-
return this.rowHeightService.index(offset);
|
|
150
|
-
};
|
|
151
|
-
VirtualizationComponent.prototype.itemOffset = function (index) {
|
|
152
|
-
return this.rowHeightService.offset(index);
|
|
153
|
-
};
|
|
154
|
-
VirtualizationComponent.prototype.isIndexVisible = function (index) {
|
|
155
|
-
if (!this.rowHeightService) {
|
|
156
|
-
return false;
|
|
157
|
-
}
|
|
158
|
-
var containerTop = this.containerScrollPosition;
|
|
159
|
-
var containerBottom = containerTop + this.containerOffsetSize;
|
|
160
|
-
var top = this.rowHeightService.offset(index);
|
|
161
|
-
var bottom = top + this.rowHeightService.height(index);
|
|
162
|
-
return top >= containerTop && bottom <= containerBottom;
|
|
163
|
-
};
|
|
164
|
-
VirtualizationComponent.prototype.isListScrolled = function (index) {
|
|
165
|
-
return this.containerScrollPosition !== this.rowHeightService.offset(index);
|
|
166
|
-
};
|
|
167
|
-
VirtualizationComponent.prototype.scrollTo = function (value) {
|
|
168
|
-
var scrollProperty = this.direction === "vertical" ? 'scrollTop' : 'scrollLeft';
|
|
169
|
-
this.renderer.setProperty(this.container.nativeElement, scrollProperty, value);
|
|
170
|
-
};
|
|
171
|
-
VirtualizationComponent.prototype.scrollToIndex = function (index) {
|
|
172
|
-
//XXX: scrolling with tick is required to prevent list jump in Chrome.
|
|
173
|
-
//Original issue: focus first day in the month and press LEFT arrow.
|
|
174
|
-
//Notice how the view jumps on every day change.
|
|
175
|
-
//
|
|
176
|
-
var _this = this;
|
|
177
|
-
this.zone.runOutsideAngular(function () {
|
|
178
|
-
_this.resolvedPromise.then(function () {
|
|
179
|
-
_this.scrollTo(_this.rowHeightService.offset(index));
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
};
|
|
183
|
-
VirtualizationComponent.prototype.scrollToBottom = function () {
|
|
184
|
-
this.scrollTo(this.totalSize);
|
|
185
|
-
};
|
|
186
|
-
VirtualizationComponent.prototype.animateToIndex = function (index) {
|
|
187
|
-
var _this = this;
|
|
188
|
-
if (this.animationSubscription) {
|
|
189
|
-
this.animationSubscription.unsubscribe();
|
|
190
|
-
}
|
|
191
|
-
var indexOffset = this.rowHeightService.offset(index);
|
|
192
|
-
var direction = this.getContainerScrollDirection(indexOffset);
|
|
193
|
-
var _a = this.scrollRange(indexOffset, direction), start = _a.start, end = _a.end;
|
|
194
|
-
if (start === end) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
var step = this.scrollStep(start, end);
|
|
198
|
-
var modifyScroll = scrollModifiers[direction](step);
|
|
199
|
-
var normalizeScroll = scrollNormalizers[direction](end);
|
|
200
|
-
var isScrollValid = scrollValidators[direction](modifyScroll(end));
|
|
201
|
-
this.zone.runOutsideAngular(function () {
|
|
202
|
-
_this.animationSubscription =
|
|
203
|
-
combineLatest(of(start), interval(0, animationFrame)).pipe(map(function (stream) { return stream[0]; }), scan(modifyScroll), takeWhile(isScrollValid), map(normalizeScroll)).subscribe(function (x) { return _this.scrollTo(x); });
|
|
204
|
-
});
|
|
205
|
-
};
|
|
206
|
-
VirtualizationComponent.prototype.scrollRange = function (indexOffset, direction) {
|
|
207
|
-
var containerScroll = this.containerScrollPosition;
|
|
208
|
-
if (parseInt(indexOffset, 10) === parseInt(containerScroll, 10)) {
|
|
209
|
-
return { start: indexOffset, end: indexOffset };
|
|
210
|
-
}
|
|
211
|
-
var maxScroll = this.containerMaxScroll();
|
|
212
|
-
var sign = direction === ScrollDirection.Backward ? 1 : -1;
|
|
213
|
-
var difference = differenceToScroll(containerScroll, indexOffset, this.maxScrollDifference);
|
|
214
|
-
var end = Math.min(indexOffset, maxScroll);
|
|
215
|
-
var start = Math.min(Math.max(end + (sign * difference), 0), maxScroll);
|
|
216
|
-
return { start: start, end: end };
|
|
217
|
-
};
|
|
218
|
-
VirtualizationComponent.prototype.scrollStep = function (start, end) {
|
|
219
|
-
return Math.abs(end - start) / (this.scrollDuration / FRAME_DURATION);
|
|
220
|
-
};
|
|
221
|
-
VirtualizationComponent.prototype.scroll$ = function () {
|
|
222
|
-
return isDocumentAvailable() ? fromEvent(this.container.nativeElement, 'scroll') : EMPTY;
|
|
223
|
-
};
|
|
224
|
-
VirtualizationComponent.prototype.initServices = function () {
|
|
225
|
-
var _this = this;
|
|
226
|
-
this.rowHeightService = this.createRowHeightService();
|
|
227
|
-
if (this.scrollSubscription) {
|
|
228
|
-
this.scrollSubscription.unsubscribe();
|
|
229
|
-
}
|
|
230
|
-
this.scrollSubscription = this.scroller
|
|
231
|
-
.create(this.rowHeightService, this.skip, this.take, this.total, this.topOffset, this.scrollOffsetSize, this.direction)
|
|
232
|
-
.subscribe(function (x) {
|
|
233
|
-
if (x instanceof PageAction) {
|
|
234
|
-
_this.pageChange.emit(x);
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
_this.scrollChange.emit(x);
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
};
|
|
241
|
-
VirtualizationComponent.prototype.createRowHeightService = function () {
|
|
242
|
-
var dimension = this.direction === 'vertical' ? this.itemHeight : this.itemWidth;
|
|
243
|
-
return new RowHeightService(this.total, dimension, 0);
|
|
244
|
-
};
|
|
245
|
-
VirtualizationComponent.prototype.emitActiveIndex = function () {
|
|
246
|
-
var index = this.rowHeightService.index(this.containerScrollPosition - this.topOffset);
|
|
247
|
-
if (this.lastActiveIndex !== index) {
|
|
248
|
-
this.lastActiveIndex = index;
|
|
249
|
-
this.activeIndexChange.emit(index);
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
VirtualizationComponent.prototype.containerMaxScroll = function () {
|
|
253
|
-
return this.containerScrollSize - this.containerOffsetSize;
|
|
254
|
-
};
|
|
255
|
-
VirtualizationComponent.prototype.getContainerScrollDirection = function (indexOffset) {
|
|
256
|
-
return indexOffset < this.containerScrollPosition ? ScrollDirection.Backward : ScrollDirection.Forward;
|
|
257
|
-
};
|
|
258
|
-
tslib_1.__decorate([
|
|
259
|
-
Input(),
|
|
260
|
-
tslib_1.__metadata("design:type", String)
|
|
261
|
-
], VirtualizationComponent.prototype, "direction", void 0);
|
|
262
|
-
tslib_1.__decorate([
|
|
263
|
-
Input(),
|
|
264
|
-
tslib_1.__metadata("design:type", Number)
|
|
265
|
-
], VirtualizationComponent.prototype, "itemHeight", void 0);
|
|
266
|
-
tslib_1.__decorate([
|
|
267
|
-
Input(),
|
|
268
|
-
tslib_1.__metadata("design:type", Number)
|
|
269
|
-
], VirtualizationComponent.prototype, "itemWidth", void 0);
|
|
270
|
-
tslib_1.__decorate([
|
|
271
|
-
Input(),
|
|
272
|
-
tslib_1.__metadata("design:type", Number)
|
|
273
|
-
], VirtualizationComponent.prototype, "topOffset", void 0);
|
|
274
|
-
tslib_1.__decorate([
|
|
275
|
-
Input(),
|
|
276
|
-
tslib_1.__metadata("design:type", Number)
|
|
277
|
-
], VirtualizationComponent.prototype, "bottomOffset", void 0);
|
|
278
|
-
tslib_1.__decorate([
|
|
279
|
-
Input(),
|
|
280
|
-
tslib_1.__metadata("design:type", Number)
|
|
281
|
-
], VirtualizationComponent.prototype, "maxScrollDifference", void 0);
|
|
282
|
-
tslib_1.__decorate([
|
|
283
|
-
Input(),
|
|
284
|
-
tslib_1.__metadata("design:type", Number)
|
|
285
|
-
], VirtualizationComponent.prototype, "scrollOffsetSize", void 0);
|
|
286
|
-
tslib_1.__decorate([
|
|
287
|
-
Input(),
|
|
288
|
-
tslib_1.__metadata("design:type", Number)
|
|
289
|
-
], VirtualizationComponent.prototype, "scrollDuration", void 0);
|
|
290
|
-
tslib_1.__decorate([
|
|
291
|
-
Input(),
|
|
292
|
-
tslib_1.__metadata("design:type", Number)
|
|
293
|
-
], VirtualizationComponent.prototype, "skip", void 0);
|
|
294
|
-
tslib_1.__decorate([
|
|
295
|
-
Input(),
|
|
296
|
-
tslib_1.__metadata("design:type", Number)
|
|
297
|
-
], VirtualizationComponent.prototype, "take", void 0);
|
|
298
|
-
tslib_1.__decorate([
|
|
299
|
-
Input(),
|
|
300
|
-
tslib_1.__metadata("design:type", Number)
|
|
301
|
-
], VirtualizationComponent.prototype, "total", void 0);
|
|
302
|
-
tslib_1.__decorate([
|
|
303
|
-
Output(),
|
|
304
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
305
|
-
], VirtualizationComponent.prototype, "activeIndexChange", void 0);
|
|
306
|
-
tslib_1.__decorate([
|
|
307
|
-
Output(),
|
|
308
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
309
|
-
], VirtualizationComponent.prototype, "pageChange", void 0);
|
|
310
|
-
tslib_1.__decorate([
|
|
311
|
-
Output(),
|
|
312
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
313
|
-
], VirtualizationComponent.prototype, "scrollChange", void 0);
|
|
314
|
-
tslib_1.__decorate([
|
|
315
|
-
HostBinding('class.k-flex'),
|
|
316
|
-
HostBinding('class.k-content'),
|
|
317
|
-
HostBinding('class.k-calendar-content'),
|
|
318
|
-
HostBinding('class.k-scrollable'),
|
|
319
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
320
|
-
], VirtualizationComponent.prototype, "wrapperClasses", void 0);
|
|
321
|
-
tslib_1.__decorate([
|
|
322
|
-
HostBinding('class.k-scrollable-horizontal'),
|
|
323
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
324
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
325
|
-
], VirtualizationComponent.prototype, "horizontalClass", null);
|
|
326
|
-
VirtualizationComponent = tslib_1.__decorate([
|
|
327
|
-
Component({
|
|
328
|
-
providers: [{
|
|
329
|
-
provide: SCROLLER_FACTORY_TOKEN,
|
|
330
|
-
useValue: DEFAULT_SCROLLER_FACTORY
|
|
331
|
-
}],
|
|
332
|
-
selector: 'kendo-virtualization',
|
|
333
|
-
template: "\n <ng-content></ng-content>\n <div\n class=\"k-scrollable-placeholder\"\n [class.k-scrollable-horizontal-placeholder]=\"direction === 'horizontal'\"\n [ngStyle]=\"totalVertexLength\"\n ></div>\n "
|
|
334
|
-
}),
|
|
335
|
-
tslib_1.__param(0, Inject(SCROLLER_FACTORY_TOKEN)),
|
|
336
|
-
tslib_1.__metadata("design:paramtypes", [Object, ElementRef,
|
|
337
|
-
Renderer2,
|
|
338
|
-
NgZone])
|
|
339
|
-
], VirtualizationComponent);
|
|
340
|
-
return VirtualizationComponent;
|
|
341
|
-
}());
|
|
342
|
-
export { VirtualizationComponent };
|
|
343
|
-
export { ɵ0 };
|
|
@@ -1,30 +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 { CommonModule } from '@angular/common';
|
|
8
|
-
import { VirtualizationComponent } from '../virtualization/virtualization.component';
|
|
9
|
-
var COMPONENT_DIRECTIVES = [
|
|
10
|
-
VirtualizationComponent
|
|
11
|
-
];
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*
|
|
15
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
16
|
-
* definition for the Virtualization component.
|
|
17
|
-
*/
|
|
18
|
-
var VirtualizationModule = /** @class */ (function () {
|
|
19
|
-
function VirtualizationModule() {
|
|
20
|
-
}
|
|
21
|
-
VirtualizationModule = tslib_1.__decorate([
|
|
22
|
-
NgModule({
|
|
23
|
-
declarations: [COMPONENT_DIRECTIVES],
|
|
24
|
-
exports: [COMPONENT_DIRECTIVES],
|
|
25
|
-
imports: [CommonModule]
|
|
26
|
-
})
|
|
27
|
-
], VirtualizationModule);
|
|
28
|
-
return VirtualizationModule;
|
|
29
|
-
}());
|
|
30
|
-
export { VirtualizationModule };
|
|
@@ -1,15 +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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*
|
|
8
|
-
* The exported package module.
|
|
9
|
-
*
|
|
10
|
-
* The package exports:
|
|
11
|
-
* - `HeaderComponent`—The component that renders the UI for vertical navigation.
|
|
12
|
-
* - `ViewComponent`—The component that renders the active Calendar view.
|
|
13
|
-
*/
|
|
14
|
-
export declare class CalendarCommonModule {
|
|
15
|
-
}
|
|
@@ -1,38 +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 { CommonModule } from '@angular/common';
|
|
8
|
-
import { KForOf } from './for.directive';
|
|
9
|
-
import { HeaderComponent } from './header.component';
|
|
10
|
-
import { ViewComponent } from './view.component';
|
|
11
|
-
import { EventsModule } from '@progress/kendo-angular-common';
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*
|
|
15
|
-
* The exported package module.
|
|
16
|
-
*
|
|
17
|
-
* The package exports:
|
|
18
|
-
* - `HeaderComponent`—The component that renders the UI for vertical navigation.
|
|
19
|
-
* - `ViewComponent`—The component that renders the active Calendar view.
|
|
20
|
-
*/
|
|
21
|
-
let CalendarCommonModule = class CalendarCommonModule {
|
|
22
|
-
};
|
|
23
|
-
CalendarCommonModule = tslib_1.__decorate([
|
|
24
|
-
NgModule({
|
|
25
|
-
declarations: [
|
|
26
|
-
KForOf,
|
|
27
|
-
HeaderComponent,
|
|
28
|
-
ViewComponent
|
|
29
|
-
],
|
|
30
|
-
exports: [
|
|
31
|
-
KForOf,
|
|
32
|
-
HeaderComponent,
|
|
33
|
-
ViewComponent
|
|
34
|
-
],
|
|
35
|
-
imports: [CommonModule, EventsModule]
|
|
36
|
-
})
|
|
37
|
-
], CalendarCommonModule);
|
|
38
|
-
export { CalendarCommonModule };
|
|
@@ -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
|
-
var CalendarCustomMessagesComponent_1;
|
|
7
|
-
import { Component, forwardRef } from '@angular/core';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { CalendarMessages } from './calendar-messages';
|
|
10
|
-
/**
|
|
11
|
-
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
12
|
-
*/
|
|
13
|
-
let CalendarCustomMessagesComponent = CalendarCustomMessagesComponent_1 = class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
14
|
-
constructor(service) {
|
|
15
|
-
super();
|
|
16
|
-
this.service = service;
|
|
17
|
-
}
|
|
18
|
-
get override() {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
CalendarCustomMessagesComponent = CalendarCustomMessagesComponent_1 = tslib_1.__decorate([
|
|
23
|
-
Component({
|
|
24
|
-
providers: [
|
|
25
|
-
{
|
|
26
|
-
provide: CalendarMessages,
|
|
27
|
-
useExisting: forwardRef(() => CalendarCustomMessagesComponent_1)
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
selector: 'kendo-calendar-messages',
|
|
31
|
-
template: ``
|
|
32
|
-
}),
|
|
33
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
34
|
-
], CalendarCustomMessagesComponent);
|
|
35
|
-
export { CalendarCustomMessagesComponent };
|
|
@@ -1,31 +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
|
-
var CalendarLocalizedMessagesDirective_1;
|
|
7
|
-
import { Directive, forwardRef } from '@angular/core';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { CalendarMessages } from './calendar-messages';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
let CalendarLocalizedMessagesDirective = CalendarLocalizedMessagesDirective_1 = class CalendarLocalizedMessagesDirective extends CalendarMessages {
|
|
14
|
-
constructor(service) {
|
|
15
|
-
super();
|
|
16
|
-
this.service = service;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
CalendarLocalizedMessagesDirective = CalendarLocalizedMessagesDirective_1 = tslib_1.__decorate([
|
|
20
|
-
Directive({
|
|
21
|
-
providers: [
|
|
22
|
-
{
|
|
23
|
-
provide: CalendarMessages,
|
|
24
|
-
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective_1) // tslint:disable-line:no-forward-ref
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
selector: '[kendoCalendarLocalizedMessages]'
|
|
28
|
-
}),
|
|
29
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
30
|
-
], CalendarLocalizedMessagesDirective);
|
|
31
|
-
export { CalendarLocalizedMessagesDirective };
|
|
@@ -1,24 +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
|
-
export class CalendarMessages extends ComponentMessages {
|
|
12
|
-
}
|
|
13
|
-
tslib_1.__decorate([
|
|
14
|
-
Input(),
|
|
15
|
-
tslib_1.__metadata("design:type", String)
|
|
16
|
-
], CalendarMessages.prototype, "today", void 0);
|
|
17
|
-
tslib_1.__decorate([
|
|
18
|
-
Input(),
|
|
19
|
-
tslib_1.__metadata("design:type", String)
|
|
20
|
-
], CalendarMessages.prototype, "prevButtonTitle", void 0);
|
|
21
|
-
tslib_1.__decorate([
|
|
22
|
-
Input(),
|
|
23
|
-
tslib_1.__metadata("design:type", String)
|
|
24
|
-
], CalendarMessages.prototype, "nextButtonTitle", void 0);
|
|
@@ -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
|
-
var MultiViewCalendarCustomMessagesComponent_1;
|
|
7
|
-
import { Component, forwardRef } from '@angular/core';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { Messages } from './multiview-calendar-messages';
|
|
10
|
-
/**
|
|
11
|
-
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
12
|
-
*/
|
|
13
|
-
let MultiViewCalendarCustomMessagesComponent = MultiViewCalendarCustomMessagesComponent_1 = class MultiViewCalendarCustomMessagesComponent extends Messages {
|
|
14
|
-
constructor(service) {
|
|
15
|
-
super();
|
|
16
|
-
this.service = service;
|
|
17
|
-
}
|
|
18
|
-
get override() {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
MultiViewCalendarCustomMessagesComponent = MultiViewCalendarCustomMessagesComponent_1 = tslib_1.__decorate([
|
|
23
|
-
Component({
|
|
24
|
-
providers: [
|
|
25
|
-
{
|
|
26
|
-
provide: Messages,
|
|
27
|
-
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent_1) // tslint:disable-line:no-forward-ref
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
selector: 'kendo-multiviewcalendar-messages',
|
|
31
|
-
template: ``
|
|
32
|
-
}),
|
|
33
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
34
|
-
], MultiViewCalendarCustomMessagesComponent);
|
|
35
|
-
export { MultiViewCalendarCustomMessagesComponent };
|