@anglr/datetime 5.0.0 → 6.0.0-beta.20221223060503
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/changelog.md +155 -1
- package/date-fns/src/services/dateFnsDateApi.service.d.ts +26 -14
- package/date-fns/src/services/dateFnsDateApi.service.d.ts.map +1 -1
- package/es2015/date-fns/src/services/dateFnsDateApi.service.js +37 -6
- package/es2015/date-fns/src/services/dateFnsDateApi.service.js.map +1 -1
- package/es2015/moment/src/services/momentDateApi.service.js +35 -3
- package/es2015/moment/src/services/momentDateApi.service.js.map +1 -1
- package/es2015/src/directives/index.js +1 -0
- package/es2015/src/directives/index.js.map +1 -1
- package/es2015/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js +32 -0
- package/es2015/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js.map +1 -0
- package/es2015/src/directives/withTime/withTime.directive.js +5 -5
- package/es2015/src/directives/withTime/withTime.directive.js.map +1 -1
- package/es2015/src/directives/withToday/withToday.directive.js +5 -5
- package/es2015/src/directives/withToday/withToday.directive.js.map +1 -1
- package/es2015/src/index.js +0 -8
- package/es2015/src/index.js.map +1 -1
- package/es2015/src/interfaces/dateTime/datetime.interface.js.map +1 -1
- package/es2015/src/legacy/picker/components/picker/picker.component.animations.js +93 -70
- package/es2015/src/legacy/picker/components/picker/picker.component.animations.js.map +1 -1
- package/es2015/src/legacy/selector/components/inputDateTime/inputDateTime.component.js +487 -436
- package/es2015/src/legacy/selector/components/inputDateTime/inputDateTime.component.js.map +1 -1
- package/es2015/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +366 -324
- package/es2015/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -1
- package/es2015/src/misc/validators.js +0 -57
- package/es2015/src/misc/validators.js.map +1 -1
- package/es2015/src/modules/calendar/components/index.js +2 -0
- package/es2015/src/modules/calendar/components/index.js.map +1 -0
- package/es2015/src/modules/calendar/components/monthCalendar/monthCalendar.component.js +198 -0
- package/es2015/src/modules/calendar/components/monthCalendar/monthCalendar.component.js.map +1 -0
- package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js +2 -0
- package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js.map +1 -0
- package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js +27 -0
- package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js.map +1 -0
- package/es2015/src/modules/calendar/directives/index.js +3 -0
- package/es2015/src/modules/calendar/directives/index.js.map +1 -0
- package/es2015/src/modules/calendar/index.js +7 -0
- package/es2015/src/modules/calendar/index.js.map +1 -0
- package/es2015/src/modules/calendar/interfaces/calendarDayData.interface.js +2 -0
- package/es2015/src/modules/calendar/interfaces/calendarDayData.interface.js.map +1 -0
- package/es2015/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js +2 -0
- package/es2015/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js.map +1 -0
- package/es2015/src/modules/calendar/interfaces/eventData.interface.js +2 -0
- package/es2015/src/modules/calendar/interfaces/eventData.interface.js.map +1 -0
- package/es2015/src/modules/calendar/interfaces/index.js +4 -0
- package/es2015/src/modules/calendar/interfaces/index.js.map +1 -0
- package/es2015/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js +27 -0
- package/es2015/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js.map +1 -0
- package/es2015/src/modules/calendar/misc/enums/index.js +3 -0
- package/es2015/src/modules/calendar/misc/enums/index.js.map +1 -0
- package/es2015/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js +19 -0
- package/es2015/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js.map +1 -0
- package/es2015/src/modules/calendar/misc/index.js +2 -0
- package/es2015/src/modules/calendar/misc/index.js.map +1 -0
- package/es2015/src/modules/calendar/modules/index.js +2 -0
- package/es2015/src/modules/calendar/modules/index.js.map +1 -0
- package/es2015/src/modules/calendar/modules/monthCalendar.module.js +32 -0
- package/es2015/src/modules/calendar/modules/monthCalendar.module.js.map +1 -0
- package/es2015/src/modules/calendar/services/eventParser/eventParser.service.js +75 -0
- package/es2015/src/modules/calendar/services/eventParser/eventParser.service.js.map +1 -0
- package/es2015/src/modules/calendar/services/index.js +2 -0
- package/es2015/src/modules/calendar/services/index.js.map +1 -0
- package/es2015/src/modules/datePipes.module.js +4 -4
- package/es2015/src/modules/dateTime/directives/dateTime/dateTime.directive.js +8 -7
- package/es2015/src/modules/dateTime/directives/dateTime/dateTime.directive.js.map +1 -1
- package/es2015/src/modules/dateTime/directives/dateTimeBase.js +5 -5
- package/es2015/src/modules/dateTime/directives/dateTimeBase.js.map +1 -1
- package/es2015/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js +7 -6
- package/es2015/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js.map +1 -1
- package/es2015/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js +10 -9
- package/es2015/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js.map +1 -1
- package/es2015/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js +7 -6
- package/es2015/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js.map +1 -1
- package/es2015/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js +7 -6
- package/es2015/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js.map +1 -1
- package/es2015/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js +7 -6
- package/es2015/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js.map +1 -1
- package/es2015/src/modules/dateTime/modules/dateTime.module.js +28 -28
- package/es2015/src/modules/dateTime/modules/dateTime.module.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js +5 -5
- package/es2015/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js +3 -3
- package/es2015/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js +3 -3
- package/es2015/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js +6 -7
- package/es2015/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js +3 -3
- package/es2015/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js +8 -7
- package/es2015/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/directives/index.js +3 -0
- package/es2015/src/modules/dateTimePicker/directives/index.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js +222 -0
- package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js.map +1 -0
- package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js +2 -0
- package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js.map +1 -0
- package/es2015/src/{legacy/picker → modules/dateTimePicker}/directives/loopScrollData/loopScrollData.directive.js +6 -5
- package/es2015/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.js.map +1 -0
- package/es2015/src/modules/dateTimePicker/interfaces/index.js +1 -0
- package/es2015/src/modules/dateTimePicker/interfaces/index.js.map +1 -1
- package/es2015/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js +2 -0
- package/es2015/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js.map +1 -0
- package/es2015/src/modules/dateTimePicker/modules/dateTimePicker.module.js +10 -9
- package/es2015/src/modules/dateTimePicker/modules/dateTimePicker.module.js.map +1 -1
- package/es2015/src/modules/index.js +1 -0
- package/es2015/src/modules/index.js.map +1 -1
- package/es2015/src/pipes/dateConvert.pipe.js +3 -3
- package/es2015/src/pipes/dateConvert.pipe.js.map +1 -1
- package/es2015/src/pipes/dateFormat.pipe.js +3 -3
- package/es2015/src/pipes/dateFormat.pipe.js.map +1 -1
- package/es2015/src/services/dateApi/dateApi.interface.js.map +1 -1
- package/es2015/src/services/datePositionParser/datePositionParser.service.js +5 -3
- package/es2015/src/services/datePositionParser/datePositionParser.service.js.map +1 -1
- package/es2015/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js +3 -3
- package/es2015/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js.map +1 -1
- package/es2015/src/services/dateValueProvider/dateValueProvider.service.js +3 -3
- package/es2015/src/services/dateValueProvider/dateValueProvider.service.js.map +1 -1
- package/es2020/date-fns/src/services/dateFnsDateApi.service.js +37 -6
- package/es2020/date-fns/src/services/dateFnsDateApi.service.js.map +1 -1
- package/es2020/moment/src/services/momentDateApi.service.js +35 -3
- package/es2020/moment/src/services/momentDateApi.service.js.map +1 -1
- package/es2020/src/directives/index.js +1 -0
- package/es2020/src/directives/index.js.map +1 -1
- package/es2020/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js +32 -0
- package/es2020/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js.map +1 -0
- package/es2020/src/directives/withTime/withTime.directive.js +5 -5
- package/es2020/src/directives/withTime/withTime.directive.js.map +1 -1
- package/es2020/src/directives/withToday/withToday.directive.js +5 -5
- package/es2020/src/directives/withToday/withToday.directive.js.map +1 -1
- package/es2020/src/index.js +0 -8
- package/es2020/src/index.js.map +1 -1
- package/es2020/src/interfaces/dateTime/datetime.interface.js.map +1 -1
- package/es2020/src/legacy/picker/components/picker/picker.component.animations.js +93 -70
- package/es2020/src/legacy/picker/components/picker/picker.component.animations.js.map +1 -1
- package/es2020/src/legacy/selector/components/inputDateTime/inputDateTime.component.js +487 -432
- package/es2020/src/legacy/selector/components/inputDateTime/inputDateTime.component.js.map +1 -1
- package/es2020/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +366 -321
- package/es2020/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -1
- package/es2020/src/misc/validators.js +0 -57
- package/es2020/src/misc/validators.js.map +1 -1
- package/es2020/src/modules/calendar/components/index.js +2 -0
- package/es2020/src/modules/calendar/components/index.js.map +1 -0
- package/es2020/src/modules/calendar/components/monthCalendar/monthCalendar.component.js +195 -0
- package/es2020/src/modules/calendar/components/monthCalendar/monthCalendar.component.js.map +1 -0
- package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js +2 -0
- package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js.map +1 -0
- package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js +27 -0
- package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js.map +1 -0
- package/es2020/src/modules/calendar/directives/index.js +3 -0
- package/es2020/src/modules/calendar/directives/index.js.map +1 -0
- package/es2020/src/modules/calendar/index.js +7 -0
- package/es2020/src/modules/calendar/index.js.map +1 -0
- package/es2020/src/modules/calendar/interfaces/calendarDayData.interface.js +2 -0
- package/es2020/src/modules/calendar/interfaces/calendarDayData.interface.js.map +1 -0
- package/es2020/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js +2 -0
- package/es2020/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js.map +1 -0
- package/es2020/src/modules/calendar/interfaces/eventData.interface.js +2 -0
- package/es2020/src/modules/calendar/interfaces/eventData.interface.js.map +1 -0
- package/es2020/src/modules/calendar/interfaces/index.js +4 -0
- package/es2020/src/modules/calendar/interfaces/index.js.map +1 -0
- package/es2020/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js +27 -0
- package/es2020/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js.map +1 -0
- package/es2020/src/modules/calendar/misc/enums/index.js +3 -0
- package/es2020/src/modules/calendar/misc/enums/index.js.map +1 -0
- package/es2020/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js +19 -0
- package/es2020/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js.map +1 -0
- package/es2020/src/modules/calendar/misc/index.js +2 -0
- package/es2020/src/modules/calendar/misc/index.js.map +1 -0
- package/es2020/src/modules/calendar/modules/index.js +2 -0
- package/es2020/src/modules/calendar/modules/index.js.map +1 -0
- package/es2020/src/modules/calendar/modules/monthCalendar.module.js +32 -0
- package/es2020/src/modules/calendar/modules/monthCalendar.module.js.map +1 -0
- package/es2020/src/modules/calendar/services/eventParser/eventParser.service.js +74 -0
- package/es2020/src/modules/calendar/services/eventParser/eventParser.service.js.map +1 -0
- package/es2020/src/modules/calendar/services/index.js +2 -0
- package/es2020/src/modules/calendar/services/index.js.map +1 -0
- package/es2020/src/modules/datePipes.module.js +4 -4
- package/es2020/src/modules/dateTime/directives/dateTime/dateTime.directive.js +8 -7
- package/es2020/src/modules/dateTime/directives/dateTime/dateTime.directive.js.map +1 -1
- package/es2020/src/modules/dateTime/directives/dateTimeBase.js +5 -5
- package/es2020/src/modules/dateTime/directives/dateTimeBase.js.map +1 -1
- package/es2020/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js +7 -6
- package/es2020/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js.map +1 -1
- package/es2020/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js +10 -9
- package/es2020/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js.map +1 -1
- package/es2020/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js +7 -6
- package/es2020/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js.map +1 -1
- package/es2020/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js +7 -6
- package/es2020/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js.map +1 -1
- package/es2020/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js +7 -6
- package/es2020/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js.map +1 -1
- package/es2020/src/modules/dateTime/modules/dateTime.module.js +28 -28
- package/es2020/src/modules/dateTime/modules/dateTime.module.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js +5 -5
- package/es2020/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js +3 -3
- package/es2020/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js +3 -3
- package/es2020/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js +6 -7
- package/es2020/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js +3 -3
- package/es2020/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js +9 -8
- package/es2020/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/directives/index.js +3 -0
- package/es2020/src/modules/dateTimePicker/directives/index.js.map +1 -1
- package/es2020/src/{legacy/picker → modules/dateTimePicker}/directives/loopScroll/loopScroll.directive.js +65 -56
- package/es2020/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js.map +1 -0
- package/es2020/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js +2 -0
- package/es2020/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js.map +1 -0
- package/es2020/src/{legacy/picker → modules/dateTimePicker}/directives/loopScrollData/loopScrollData.directive.js +6 -5
- package/es2020/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.js.map +1 -0
- package/es2020/src/modules/dateTimePicker/interfaces/index.js +1 -0
- package/es2020/src/modules/dateTimePicker/interfaces/index.js.map +1 -1
- package/es2020/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js +2 -0
- package/es2020/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js.map +1 -0
- package/es2020/src/modules/dateTimePicker/modules/dateTimePicker.module.js +10 -9
- package/es2020/src/modules/dateTimePicker/modules/dateTimePicker.module.js.map +1 -1
- package/es2020/src/modules/index.js +1 -0
- package/es2020/src/modules/index.js.map +1 -1
- package/es2020/src/pipes/dateConvert.pipe.js +3 -3
- package/es2020/src/pipes/dateConvert.pipe.js.map +1 -1
- package/es2020/src/pipes/dateFormat.pipe.js +3 -3
- package/es2020/src/pipes/dateFormat.pipe.js.map +1 -1
- package/es2020/src/services/dateApi/dateApi.interface.js.map +1 -1
- package/es2020/src/services/datePositionParser/datePositionParser.service.js +5 -3
- package/es2020/src/services/datePositionParser/datePositionParser.service.js.map +1 -1
- package/es2020/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js +3 -3
- package/es2020/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js.map +1 -1
- package/es2020/src/services/dateValueProvider/dateValueProvider.service.js +3 -3
- package/es2020/src/services/dateValueProvider/dateValueProvider.service.js.map +1 -1
- package/moment/src/services/momentDateApi.service.d.ts +25 -12
- package/moment/src/services/momentDateApi.service.d.ts.map +1 -1
- package/package.json +27 -36
- package/src/directives/index.d.ts +1 -0
- package/src/directives/index.d.ts.map +1 -1
- package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts +11 -0
- package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts.map +1 -0
- package/src/directives/withTime/withTime.directive.d.ts +3 -3
- package/src/directives/withTime/withTime.directive.d.ts.map +1 -1
- package/src/directives/withToday/withToday.directive.d.ts +3 -3
- package/src/directives/withToday/withToday.directive.d.ts.map +1 -1
- package/src/index.d.ts +0 -8
- package/src/index.d.ts.map +1 -1
- package/src/interfaces/dateTime/datetime.interface.d.ts +1 -22
- package/src/interfaces/dateTime/datetime.interface.d.ts.map +1 -1
- package/src/legacy/picker/components/picker/picker.component.animations.d.ts +0 -4
- package/src/legacy/picker/components/picker/picker.component.animations.d.ts.map +1 -1
- package/src/legacy/selector/components/inputDateTime/inputDateTime.component.d.ts +0 -185
- package/src/legacy/selector/components/inputDateTime/inputDateTime.component.d.ts.map +1 -1
- package/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts +0 -169
- package/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts.map +1 -1
- package/src/misc/validators.d.ts +0 -23
- package/src/misc/validators.d.ts.map +1 -1
- package/src/modules/calendar/components/index.d.ts +2 -0
- package/src/modules/calendar/components/index.d.ts.map +1 -0
- package/src/modules/calendar/components/monthCalendar/monthCalendar.component.d.ts +94 -0
- package/src/modules/calendar/components/monthCalendar/monthCalendar.component.d.ts.map +1 -0
- package/src/modules/calendar/components/monthCalendar/monthCalendar.component.html +15 -0
- package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.d.ts +11 -0
- package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.d.ts.map +1 -0
- package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts +17 -0
- package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts.map +1 -0
- package/src/modules/calendar/directives/index.d.ts +3 -0
- package/src/modules/calendar/directives/index.d.ts.map +1 -0
- package/src/modules/calendar/index.d.ts +7 -0
- package/src/modules/calendar/index.d.ts.map +1 -0
- package/src/modules/calendar/interfaces/calendarDayData.interface.d.ts +31 -0
- package/src/modules/calendar/interfaces/calendarDayData.interface.d.ts.map +1 -0
- package/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.d.ts +19 -0
- package/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.d.ts.map +1 -0
- package/src/modules/calendar/interfaces/eventData.interface.d.ts +37 -0
- package/src/modules/calendar/interfaces/eventData.interface.d.ts.map +1 -0
- package/src/modules/calendar/interfaces/index.d.ts +4 -0
- package/src/modules/calendar/interfaces/index.d.ts.map +1 -0
- package/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.d.ts +26 -0
- package/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.d.ts.map +1 -0
- package/src/modules/calendar/misc/enums/index.d.ts +3 -0
- package/src/modules/calendar/misc/enums/index.d.ts.map +1 -0
- package/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.d.ts +18 -0
- package/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.d.ts.map +1 -0
- package/src/modules/calendar/misc/index.d.ts +2 -0
- package/src/modules/calendar/misc/index.d.ts.map +1 -0
- package/src/modules/calendar/modules/index.d.ts +2 -0
- package/src/modules/calendar/modules/index.d.ts.map +1 -0
- package/src/modules/calendar/modules/monthCalendar.module.d.ts +13 -0
- package/src/modules/calendar/modules/monthCalendar.module.d.ts.map +1 -0
- package/src/modules/calendar/services/eventParser/eventParser.service.d.ts +18 -0
- package/src/modules/calendar/services/eventParser/eventParser.service.d.ts.map +1 -0
- package/src/modules/calendar/services/index.d.ts +2 -0
- package/src/modules/calendar/services/index.d.ts.map +1 -0
- package/src/modules/dateTime/directives/dateTime/dateTime.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTime/dateTime.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeBase.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeBase.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts.map +1 -1
- package/src/modules/dateTime/modules/dateTime.module.d.ts +1 -1
- package/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.d.ts +1 -2
- package/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.d.ts +3 -3
- package/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.d.ts +2 -3
- package/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.d.ts +2 -3
- package/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.d.ts +6 -7
- package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.d.ts +1 -1
- package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.d.ts +2 -3
- package/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.d.ts +3 -3
- package/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.d.ts.map +1 -1
- package/src/modules/dateTimePicker/directives/index.d.ts +3 -0
- package/src/modules/dateTimePicker/directives/index.d.ts.map +1 -1
- package/src/{legacy/picker → modules/dateTimePicker}/directives/loopScroll/loopScroll.directive.d.ts +18 -18
- package/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.d.ts.map +1 -0
- package/src/{legacy/picker → modules/dateTimePicker}/directives/loopScroll/loopScroll.interface.d.ts +1 -1
- package/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.d.ts.map +1 -0
- package/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.d.ts +20 -0
- package/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.d.ts.map +1 -0
- package/src/modules/dateTimePicker/interfaces/index.d.ts +1 -0
- package/src/modules/dateTimePicker/interfaces/index.d.ts.map +1 -1
- package/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.d.ts +62 -0
- package/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.d.ts.map +1 -0
- package/src/modules/dateTimePicker/modules/dateTimePicker.module.d.ts +1 -1
- package/src/modules/dateTimePicker/modules/dateTimePicker.module.d.ts.map +1 -1
- package/src/modules/index.d.ts +1 -0
- package/src/modules/index.d.ts.map +1 -1
- package/src/pipes/dateConvert.pipe.d.ts +1 -1
- package/src/pipes/dateConvert.pipe.d.ts.map +1 -1
- package/src/pipes/dateFormat.pipe.d.ts +1 -1
- package/src/pipes/dateFormat.pipe.d.ts.map +1 -1
- package/src/services/dateApi/dateApi.interface.d.ts +25 -12
- package/src/services/dateApi/dateApi.interface.d.ts.map +1 -1
- package/src/services/datePositionParser/datePositionParser.service.d.ts.map +1 -1
- package/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.d.ts +2 -2
- package/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.d.ts.map +1 -1
- package/src/services/dateValueProvider/dateValueProvider.service.d.ts +1 -1
- package/src/services/dateValueProvider/dateValueProvider.service.d.ts.map +1 -1
- package/styles/components/_month-calendar.scss +68 -0
- package/styles/core/_mixins.scss +2 -0
- package/styles/core/_theme.scss +11 -0
- package/version.bak +1 -1
- package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js +0 -14
- package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js +0 -2
- package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js.map +0 -1
- package/es2015/src/legacy/picker/components/dayPicker/dayPicker.component.js +0 -214
- package/es2015/src/legacy/picker/components/dayPicker/dayPicker.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js +0 -2
- package/es2015/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js.map +0 -1
- package/es2015/src/legacy/picker/components/monthPicker/monthPicker.component.js +0 -116
- package/es2015/src/legacy/picker/components/monthPicker/monthPicker.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js +0 -2
- package/es2015/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js.map +0 -1
- package/es2015/src/legacy/picker/components/picker/picker.component.js +0 -242
- package/es2015/src/legacy/picker/components/picker/picker.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/pickerBase.component.js +0 -138
- package/es2015/src/legacy/picker/components/pickerBase.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/pickerImplBase.component.js +0 -145
- package/es2015/src/legacy/picker/components/pickerImplBase.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js +0 -148
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js +0 -341
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +0 -1
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js +0 -2
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +0 -1
- package/es2015/src/legacy/picker/components/yearPicker/yearPicker.component.js +0 -128
- package/es2015/src/legacy/picker/components/yearPicker/yearPicker.component.js.map +0 -1
- package/es2015/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js +0 -2
- package/es2015/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js.map +0 -1
- package/es2015/src/legacy/picker/directives/index.js +0 -4
- package/es2015/src/legacy/picker/directives/index.js.map +0 -1
- package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.directive.js +0 -213
- package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.directive.js.map +0 -1
- package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.interface.js +0 -3
- package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.interface.js.map +0 -1
- package/es2015/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.js.map +0 -1
- package/es2015/src/legacy/picker/interfaces.js +0 -6
- package/es2015/src/legacy/picker/interfaces.js.map +0 -1
- package/es2015/src/legacy/picker/misc/datetimePicker.interface.js +0 -2
- package/es2015/src/legacy/picker/misc/datetimePicker.interface.js.map +0 -1
- package/es2015/src/legacy/picker/misc/tokens.js +0 -6
- package/es2015/src/legacy/picker/misc/tokens.js.map +0 -1
- package/es2015/src/legacy/picker/modules/picker.module.js +0 -65
- package/es2015/src/legacy/picker/modules/picker.module.js.map +0 -1
- package/es2015/src/legacy/picker/types.js +0 -10
- package/es2015/src/legacy/picker/types.js.map +0 -1
- package/es2015/src/legacy/selector/components/selector/selector.component.animations.js +0 -15
- package/es2015/src/legacy/selector/components/selector/selector.component.animations.js.map +0 -1
- package/es2015/src/legacy/selector/components/selector/selector.component.js +0 -357
- package/es2015/src/legacy/selector/components/selector/selector.component.js.map +0 -1
- package/es2015/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js +0 -134
- package/es2015/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +0 -1
- package/es2015/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +0 -51
- package/es2015/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +0 -1
- package/es2015/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +0 -51
- package/es2015/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +0 -1
- package/es2015/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js +0 -47
- package/es2015/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +0 -1
- package/es2015/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +0 -119
- package/es2015/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +0 -1
- package/es2015/src/legacy/selector/interfaces.js +0 -2
- package/es2015/src/legacy/selector/interfaces.js.map +0 -1
- package/es2015/src/legacy/selector/misc/datetimeSelector.interface.js +0 -2
- package/es2015/src/legacy/selector/misc/datetimeSelector.interface.js.map +0 -1
- package/es2015/src/legacy/selector/misc/tokens.js +0 -6
- package/es2015/src/legacy/selector/misc/tokens.js.map +0 -1
- package/es2015/src/legacy/selector/modules/basicSelector.module.js +0 -20
- package/es2015/src/legacy/selector/modules/basicSelector.module.js.map +0 -1
- package/es2015/src/legacy/selector/modules/selector.module.js +0 -63
- package/es2015/src/legacy/selector/modules/selector.module.js.map +0 -1
- package/es2015/src/legacy/selector/types.js +0 -11
- package/es2015/src/legacy/selector/types.js.map +0 -1
- package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js +0 -14
- package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js +0 -2
- package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js.map +0 -1
- package/es2020/src/legacy/picker/components/dayPicker/dayPicker.component.js +0 -214
- package/es2020/src/legacy/picker/components/dayPicker/dayPicker.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js +0 -2
- package/es2020/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js.map +0 -1
- package/es2020/src/legacy/picker/components/monthPicker/monthPicker.component.js +0 -116
- package/es2020/src/legacy/picker/components/monthPicker/monthPicker.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js +0 -2
- package/es2020/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js.map +0 -1
- package/es2020/src/legacy/picker/components/picker/picker.component.js +0 -237
- package/es2020/src/legacy/picker/components/picker/picker.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/pickerBase.component.js +0 -138
- package/es2020/src/legacy/picker/components/pickerBase.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/pickerImplBase.component.js +0 -145
- package/es2020/src/legacy/picker/components/pickerImplBase.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js +0 -142
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js +0 -341
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +0 -1
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js +0 -2
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +0 -1
- package/es2020/src/legacy/picker/components/yearPicker/yearPicker.component.js +0 -128
- package/es2020/src/legacy/picker/components/yearPicker/yearPicker.component.js.map +0 -1
- package/es2020/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js +0 -2
- package/es2020/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js.map +0 -1
- package/es2020/src/legacy/picker/directives/index.js +0 -4
- package/es2020/src/legacy/picker/directives/index.js.map +0 -1
- package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.directive.js.map +0 -1
- package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.interface.js +0 -3
- package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.interface.js.map +0 -1
- package/es2020/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.js.map +0 -1
- package/es2020/src/legacy/picker/interfaces.js +0 -6
- package/es2020/src/legacy/picker/interfaces.js.map +0 -1
- package/es2020/src/legacy/picker/misc/datetimePicker.interface.js +0 -2
- package/es2020/src/legacy/picker/misc/datetimePicker.interface.js.map +0 -1
- package/es2020/src/legacy/picker/misc/tokens.js +0 -6
- package/es2020/src/legacy/picker/misc/tokens.js.map +0 -1
- package/es2020/src/legacy/picker/modules/picker.module.js +0 -65
- package/es2020/src/legacy/picker/modules/picker.module.js.map +0 -1
- package/es2020/src/legacy/picker/types.js +0 -10
- package/es2020/src/legacy/picker/types.js.map +0 -1
- package/es2020/src/legacy/selector/components/selector/selector.component.animations.js +0 -15
- package/es2020/src/legacy/selector/components/selector/selector.component.animations.js.map +0 -1
- package/es2020/src/legacy/selector/components/selector/selector.component.js +0 -345
- package/es2020/src/legacy/selector/components/selector/selector.component.js.map +0 -1
- package/es2020/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js +0 -133
- package/es2020/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +0 -1
- package/es2020/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +0 -51
- package/es2020/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +0 -1
- package/es2020/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +0 -51
- package/es2020/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +0 -1
- package/es2020/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js +0 -47
- package/es2020/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +0 -1
- package/es2020/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +0 -118
- package/es2020/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +0 -1
- package/es2020/src/legacy/selector/interfaces.js +0 -2
- package/es2020/src/legacy/selector/interfaces.js.map +0 -1
- package/es2020/src/legacy/selector/misc/datetimeSelector.interface.js +0 -2
- package/es2020/src/legacy/selector/misc/datetimeSelector.interface.js.map +0 -1
- package/es2020/src/legacy/selector/misc/tokens.js +0 -6
- package/es2020/src/legacy/selector/misc/tokens.js.map +0 -1
- package/es2020/src/legacy/selector/modules/basicSelector.module.js +0 -20
- package/es2020/src/legacy/selector/modules/basicSelector.module.js.map +0 -1
- package/es2020/src/legacy/selector/modules/selector.module.js +0 -63
- package/es2020/src/legacy/selector/modules/selector.module.js.map +0 -1
- package/es2020/src/legacy/selector/types.js +0 -11
- package/es2020/src/legacy/selector/types.js.map +0 -1
- package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.css +0 -0
- package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.d.ts +0 -9
- package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.d.ts.map +0 -1
- package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.html +0 -0
- package/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.d.ts +0 -6
- package/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.d.ts.map +0 -1
- package/src/legacy/picker/components/dayPicker/dayPicker.component.css +0 -22
- package/src/legacy/picker/components/dayPicker/dayPicker.component.d.ts +0 -80
- package/src/legacy/picker/components/dayPicker/dayPicker.component.d.ts.map +0 -1
- package/src/legacy/picker/components/dayPicker/dayPicker.component.html +0 -21
- package/src/legacy/picker/components/dayPicker/dayPicker.interfaces.d.ts +0 -11
- package/src/legacy/picker/components/dayPicker/dayPicker.interfaces.d.ts.map +0 -1
- package/src/legacy/picker/components/monthPicker/monthPicker.component.css +0 -4
- package/src/legacy/picker/components/monthPicker/monthPicker.component.d.ts +0 -53
- package/src/legacy/picker/components/monthPicker/monthPicker.component.d.ts.map +0 -1
- package/src/legacy/picker/components/monthPicker/monthPicker.component.html +0 -13
- package/src/legacy/picker/components/monthPicker/monthPicker.interfaces.d.ts +0 -7
- package/src/legacy/picker/components/monthPicker/monthPicker.interfaces.d.ts.map +0 -1
- package/src/legacy/picker/components/picker/picker.component.css +0 -4
- package/src/legacy/picker/components/picker/picker.component.d.ts +0 -105
- package/src/legacy/picker/components/picker/picker.component.d.ts.map +0 -1
- package/src/legacy/picker/components/picker/picker.component.html +0 -3
- package/src/legacy/picker/components/pickerBase.component.d.ts +0 -80
- package/src/legacy/picker/components/pickerBase.component.d.ts.map +0 -1
- package/src/legacy/picker/components/pickerImplBase.component.d.ts +0 -128
- package/src/legacy/picker/components/pickerImplBase.component.d.ts.map +0 -1
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.css +0 -64
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.d.ts +0 -71
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.d.ts.map +0 -1
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.html +0 -67
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.d.ts +0 -4
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.d.ts.map +0 -1
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.d.ts +0 -6
- package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.d.ts.map +0 -1
- package/src/legacy/picker/components/yearPicker/yearPicker.component.css +0 -4
- package/src/legacy/picker/components/yearPicker/yearPicker.component.d.ts +0 -58
- package/src/legacy/picker/components/yearPicker/yearPicker.component.d.ts.map +0 -1
- package/src/legacy/picker/components/yearPicker/yearPicker.component.html +0 -13
- package/src/legacy/picker/components/yearPicker/yearPicker.interfaces.d.ts +0 -7
- package/src/legacy/picker/components/yearPicker/yearPicker.interfaces.d.ts.map +0 -1
- package/src/legacy/picker/directives/index.d.ts +0 -4
- package/src/legacy/picker/directives/index.d.ts.map +0 -1
- package/src/legacy/picker/directives/loopScroll/loopScroll.directive.d.ts.map +0 -1
- package/src/legacy/picker/directives/loopScroll/loopScroll.interface.d.ts.map +0 -1
- package/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.d.ts +0 -20
- package/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.d.ts.map +0 -1
- package/src/legacy/picker/interfaces.d.ts +0 -6
- package/src/legacy/picker/interfaces.d.ts.map +0 -1
- package/src/legacy/picker/misc/datetimePicker.interface.d.ts +0 -193
- package/src/legacy/picker/misc/datetimePicker.interface.d.ts.map +0 -1
- package/src/legacy/picker/misc/tokens.d.ts +0 -7
- package/src/legacy/picker/misc/tokens.d.ts.map +0 -1
- package/src/legacy/picker/modules/picker.module.d.ts +0 -20
- package/src/legacy/picker/modules/picker.module.d.ts.map +0 -1
- package/src/legacy/picker/types.d.ts +0 -10
- package/src/legacy/picker/types.d.ts.map +0 -1
- package/src/legacy/selector/components/selector/selector.component.animations.d.ts +0 -5
- package/src/legacy/selector/components/selector/selector.component.animations.d.ts.map +0 -1
- package/src/legacy/selector/components/selector/selector.component.css +0 -11
- package/src/legacy/selector/components/selector/selector.component.d.ts +0 -157
- package/src/legacy/selector/components/selector/selector.component.d.ts.map +0 -1
- package/src/legacy/selector/components/selector/selector.component.html +0 -10
- package/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.d.ts +0 -80
- package/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.d.ts.map +0 -1
- package/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts +0 -23
- package/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts.map +0 -1
- package/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts +0 -23
- package/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts.map +0 -1
- package/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.d.ts +0 -22
- package/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.d.ts.map +0 -1
- package/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts +0 -54
- package/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts.map +0 -1
- package/src/legacy/selector/interfaces.d.ts +0 -2
- package/src/legacy/selector/interfaces.d.ts.map +0 -1
- package/src/legacy/selector/misc/datetimeSelector.interface.d.ts +0 -96
- package/src/legacy/selector/misc/datetimeSelector.interface.d.ts.map +0 -1
- package/src/legacy/selector/misc/tokens.d.ts +0 -7
- package/src/legacy/selector/misc/tokens.d.ts.map +0 -1
- package/src/legacy/selector/modules/basicSelector.module.d.ts +0 -11
- package/src/legacy/selector/modules/basicSelector.module.d.ts.map +0 -1
- package/src/legacy/selector/modules/selector.module.d.ts +0 -20
- package/src/legacy/selector/modules/selector.module.d.ts.map +0 -1
- package/src/legacy/selector/types.d.ts +0 -11
- package/src/legacy/selector/types.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputDateTime.component.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/components/inputDateTime/inputDateTime.component.ts","../../../../../../src/legacy/selector/components/inputDateTime/inputDateTime.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAa,OAAO,EAAC,MAAM,MAAM,CAAC;AAGzC,OAAO,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAA6C,yBAAyB,EAAE,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;;;AAG9H;;GAEG;AAQH,MAAM,OAAO,8BAA8B;IAmLvC,iEAAiE;IACjE,YAAwC,QAAwB,EAC1C,UAAqC,EACrC,cAAwC,EACxC,eAAkC;QAHhB,aAAQ,GAAR,QAAQ,CAAgB;QAC1C,eAAU,GAAV,UAAU,CAA2B;QACrC,mBAAc,GAAd,cAAc,CAA0B;QACxC,oBAAe,GAAf,eAAe,CAAmB;QArLxD,sEAAsE;QAEtE;;WAEG;QACO,iBAAY,GAAkB,IAAI,OAAO,EAAQ,CAAC;QAE5D;;WAEG;QACO,aAAQ,GAAkB,IAAI,OAAO,EAAQ,CAAC;QAExD;;WAEG;QACO,mBAAc,GAAqB,IAAI,OAAO,EAAW,CAAC;QAEpE;;WAEG;QACO,YAAO,GAA4B,IAAI,CAAC;QAElD;;WAEG;QACO,YAAO,GAAW,EAAE,CAAC;QAE/B;;WAEG;QACO,kBAAa,GAA8B,IAAI,CAAC;QAE1D;;WAEG;QACO,aAAQ,GAAY,IAAI,CAAC;QAEnC;;WAEG;QACO,cAAS,GAAe,IAAI,CAAC;QAEvC;;WAEG;QACO,cAAS,GAAe,IAAI,CAAC;QA2BvC;;WAEG;QACI,gBAAW,GAAgB,IAAI,CAAC;QA4DvC,2FAA2F;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AAa,CAAC,CAAC,CAAC,CAAC,CAAC;oBAErH,MAAM;iBACT;YACD,KAAK,GAAG;gBACR;oBACI,IAAI,CAAC,qBAAqB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAc,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,aAAc,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;oBAEzH,MAAM;iBACT;SACJ;IACL,CAAC;;2HA5iBQ,8BAA8B,kBAoLnB,QAAQ;+GApLnB,8BAA8B,qLCnB3C,iWASyC;2FDU5B,8BAA8B;kBAP1C,SAAS;+BAEI,0BAA0B,mBAGnB,uBAAuB,CAAC,MAAM;;0BAsLlC,MAAM;2BAAC,QAAQ;oJA5BrB,YAAY;sBADlB,SAAS;uBAAC,OAAO,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, ChangeDetectorRef, ElementRef, ViewChild} from '@angular/core';\nimport {isPresent} from '@jscrpt/common';\nimport {Observable, Subject} from 'rxjs';\n\nimport {DateTimeValue} from '../../../../interfaces/dateTime/datetime.interface';\nimport {DATE_API} from '../../../../misc/tokens';\nimport {DateApi, DateApiObject, DatePositionParser, DatePositionParserService, DateValueProvider} from '../../../../services';\nimport {DateTimeSelector} from '../../misc/datetimeSelector.interface';\n\n/**\n * Component used as datetime selector with input\n */\n@Component(\n{\n selector: 'input-date-time-selector',\n templateUrl: 'inputDateTime.component.html',\n styleUrls: ['inputDateTime.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InputDateTimeSelectorComponent<TDate = any> implements DateTimeSelector<TDate>\n{\n //######################### protected fields #########################\n\n /**\n * Occurs when value changes\n */\n protected _valueChange: Subject<void> = new Subject<void>();\n\n /**\n * Occurs when selector is touched by user\n */\n protected _touched: Subject<void> = new Subject<void>();\n\n /**\n * Occurs when selector requires picker to be displayed or hidden\n */\n protected _pickerRequest: Subject<boolean> = new Subject<boolean>();\n\n /**\n * Instance of parser created for specific format\n */\n protected _parser: DatePositionParser|null = null;\n\n /**\n * Currently used format for displaying data\n */\n protected _format: string = '';\n\n /**\n * Current value representation as date api wrapper\n */\n protected _dateApiValue: null|DateApiObject<TDate> = null;\n\n /**\n * Indication whether is current value valid value\n */\n protected _isValid: boolean = true;\n\n /**\n * Minimal possible value that can be picked\n */\n protected _minValue: TDate|null = null;\n\n /**\n * Maximal possible value that can be picked\n */\n protected _maxValue: TDate|null = null;\n\n //######################### public properties - implementation of DateTimeSelector #########################\n\n /**\n * Gets or sets currently used format for displaying data\n */\n public get format(): string\n {\n return this._format;\n }\n public set format(value: string)\n {\n if(isPresent(value))\n {\n value = this._dateApi.getFormat(value);\n }\n\n //only if format changes\n if(this._format != value)\n {\n this._parser = this._parserSvc.createParser(this._dateApi.getFormat(value));\n }\n\n this._format = value;\n }\n\n /**\n * Gets or sets placeholder that is displayed when there is no value selected\n */\n public placeholder: string|null = null;\n\n /**\n * Gets current value of datetime\n */\n public get value(): DateTimeValue<TDate>|null\n {\n if(!this._dateApiValue || !this._isValid)\n {\n return null;\n }\n\n return this._valueProvider.getValue(this._dateApiValue.value, this._format);\n }\n\n /**\n * Gets formatted value\n */\n public get formattedValue(): string|null\n {\n if(!this._isValid)\n {\n return null;\n }\n\n return this.currentValue;\n }\n\n /**\n * Gets indication whether is current value valid\n */\n public get valid(): boolean\n {\n return this._isValid;\n }\n\n /**\n * Occurs when value changes\n */\n public get valueChange(): Observable<void>\n {\n return this._valueChange.asObservable();\n }\n\n /**\n * Occurs when selector is touched by user\n */\n public get touched(): Observable<void>\n {\n return this._touched.asObservable();\n }\n\n /**\n * Occurs when selector requires picker to be displayed\n */\n public get pickerRequest(): Observable<boolean>\n {\n return this._pickerRequest.asObservable();\n }\n\n //######################### public properties - template bindings #########################\n\n /**\n * Indication whether is input disabled\n * @internal\n */\n public disabled: boolean = false;\n\n //######################### public properties - children #########################\n\n /**\n * Instance of html input element\n * @internal\n */\n @ViewChild('input', {static: true})\n public inputElement!: ElementRef<HTMLInputElement>;\n\n //######################### protected properties #########################\n\n /**\n * Gets or sets string representation current of value\n */\n protected get currentValue(): string|null\n {\n return this.input.value || null;\n }\n protected set currentValue(value: string|null)\n {\n if(this.input)\n {\n this.input.value = value ?? '';\n }\n }\n\n /**\n * Gets input element used for handling date time value\n */\n protected get input(): HTMLInputElement\n {\n return this.inputElement.nativeElement;\n }\n\n //######################### constructor #########################\n constructor(@Inject(DATE_API) protected _dateApi: DateApi<TDate>,\n protected _parserSvc: DatePositionParserService,\n protected _valueProvider: DateValueProvider<TDate>,\n protected _changeDetector: ChangeDetectorRef)\n {\n }\n\n //######################### public methods - implementation of DateTimeSelector #########################\n\n /**\n * Sets minimal possible value for picker, that can be picked\n * @param value - Minimal possible value that can be picked\n */\n public setMinValue(value: TDate|null): void\n {\n this._minValue = value;\n }\n\n /**\n * Sets maximal possible value for picker, that can be picked\n * @param value - Maximal possible value that can be picked\n */\n public setMaxValue(value: TDate|null): void\n {\n this._maxValue = value;\n }\n\n /**\n * Sets value of datetime selector\n * @param value - Value to be set to this selector\n */\n public setValue(value: DateTimeValue<TDate>|null): void\n {\n if(value?.from)\n {\n this._dateApiValue = this._dateApi.getValue(value?.from, this._format);\n this._isValid = this._dateApiValue.isValid();\n \n this._show();\n }\n else\n {\n this._clearValue();\n }\n }\n\n /**\n * Sets as 'control' disabled\n * @param disabled - Indication whether sets value as disabled, if omitted it is same as disabled set to true\n */\n public setDisabled(disabled: boolean = true): void\n {\n this.disabled = disabled;\n }\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n public invalidateVisuals(): void\n {\n this._changeDetector.detectChanges();\n }\n\n //######################### public methods - template bindings #########################\n\n /**\n * Handles gaining of focus\n * @internal\n */\n public handleFocus(): void\n {\n this._pickerRequest.next(true);\n\n //no value\n if(!this._dateApiValue)\n {\n this._dateApiValue = this._dateApi.now();\n this._isValid = this._dateApiValue.isValid();\n\n if(this._minMaxConstraintTest())\n {\n this._clearValue();\n }\n else\n {\n this._valueChange.next();\n }\n }\n\n if(!this._isValid)\n {\n return;\n }\n\n this._show();\n\n const result = this._parser!.parse(this.currentValue!, this.input.selectionStart!);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n /**\n * Handles blur on input\n * @internal\n */\n public handleBlur(): void\n {\n this._pickerRequest.next(false);\n }\n\n /**\n * Handles user input\n * @internal\n */\n public handleInput(): void\n {\n //empty value\n if(!this.currentValue)\n {\n this._clearValue();\n this._valueChange.next();\n\n return;\n }\n\n this._dateApiValue = this._dateApi.getValue(this.currentValue, this._format);\n this._isValid = this._dateApiValue.isValid();\n this._valueChange.next();\n }\n\n /**\n * Handles selection of text inside of input\n * @internal\n */\n public handleSelect(): void\n {\n //handles when all text is selected\n if(this.currentValue && this.input.selectionStart == 0 && this.input.selectionEnd == this.input.value.length)\n {\n const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n }\n\n /**\n * Handles click event inside of input\n * @internal\n */\n public handleClick(): void\n {\n this._pickerRequest.next(true);\n\n if(!this._dateApiValue)\n {\n return;\n }\n\n const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n /**\n * Handles keyboard events\n * @param event - Keyboard event that occured\n * @param input - Html input element that holds current value and selection\n * @internal\n */\n public handleKeyboard(event: KeyboardEvent): void\n {\n if(!this._dateApiValue?.isValid())\n {\n return;\n }\n\n switch(event.key)\n {\n case 'ArrowRight':\n case 'ArrowLeft':\n {\n event.preventDefault();\n event.stopPropagation();\n\n const result = event.key == 'ArrowLeft' ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n if(result)\n {\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n break;\n }\n case 'ArrowUp':\n case 'ArrowDown':\n {\n event.preventDefault();\n event.stopPropagation();\n\n let result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n const selectionStart = result.positionFrom;\n\n this._stepChangeValue(result.part, event.key == 'ArrowUp');\n this._show();\n\n result = this._parser!.parse(this.input.value, selectionStart);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n\n break;\n }\n case 'Tab':\n {\n const result = event.shiftKey ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n if(result)\n {\n event.preventDefault();\n event.stopPropagation();\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n break;\n }\n case 'a':\n {\n if(event.ctrlKey)\n {\n event.preventDefault();\n event.stopPropagation();\n }\n\n break;\n }\n case 'Backspace':\n {\n this._clearValue();\n this._valueChange.next();\n\n break;\n }\n case 'Escape':\n {\n this._pickerRequest.next(false);\n\n break;\n }\n case ' ':\n {\n if(event.ctrlKey)\n {\n this._pickerRequest.next(true);\n }\n\n break;\n }\n }\n }\n\n //######################### protected methods #########################\n\n /**\n * Shows current value in input\n */\n protected _show(): void\n {\n if(this._isValid)\n {\n this.currentValue = this._dateApiValue?.format(this._format) ?? null;\n }\n }\n\n /**\n * Tests whether are min or max constraint broken, returns true if constraint is broken\n */\n protected _minMaxConstraintTest(): boolean\n {\n return (!!this._minValue && this._dateApiValue!.isBefore(this._minValue)) ||\n (!!this._maxValue && this._dateApiValue!.isAfter(this._maxValue));\n }\n\n /**\n * Runs code with check whether min max constrains was broken\n * @param code - Code that should be executed which can change current value\n */\n protected _withMinMaxConstraint(code: () => void): void\n {\n this._dateApiValue!.updateOriginal();\n\n code();\n\n //min value constraint failure\n if(this._minMaxConstraintTest())\n {\n this._dateApiValue?.resetOriginal();\n\n return;\n }\n\n this._valueChange.next();\n }\n\n /**\n * Clears current value\n */\n protected _clearValue(): void\n {\n this._dateApiValue = null;\n this._isValid = true;\n this.currentValue = null;\n }\n\n /**\n * Changes current value of date for for specified part by single step\n * @param part - Part of date that should be changed\n * @param increment - Indication whether value should be incremented or decremented\n */\n protected _stepChangeValue(part: string, increment: boolean): void\n {\n if(!this._dateApiValue?.isValid())\n {\n return;\n }\n\n switch(part)\n {\n case 'y':\n case 'Y':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addYears(1) : this._dateApiValue!.subtractYears(1));\n\n break;\n }\n case 'Q':\n {\n break;\n }\n case 'M':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMonths(1) : this._dateApiValue!.subtractMonths(1));\n\n break;\n }\n case 'w':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addWeeks(1) : this._dateApiValue!.subtractWeeks(1));\n\n break;\n }\n case 'd':\n case 'D':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addDays(1) : this._dateApiValue!.subtractDays(1));\n\n break;\n }\n case 'H':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addHours(1) : this._dateApiValue!.subtractHours(1));\n\n break;\n }\n case 'm':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMinutes(1) : this._dateApiValue!.subtractMinutes(1));\n\n break;\n }\n }\n }\n}","<input type=\"text\"\r\n #input\r\n (focus)=\"handleFocus()\"\r\n (blur)=\"handleBlur()\"\r\n (input)=\"handleInput()\"\r\n (click)=\"handleClick()\"\r\n (select)=\"handleSelect()\"\r\n (keydown)=\"handleKeyboard($any($event))\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"placeholder ?? ''\">"]}
|
|
1
|
+
{"version":3,"file":"inputDateTime.component.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/components/inputDateTime/inputDateTime.component.ts"],"names":[],"mappings":";AAAA,sHAAsH;AACtH,4CAA4C;AAC5C,4CAA4C;AAE5C,oFAAoF;AACpF,oDAAoD;AACpD,iIAAiI;AACjI,0EAA0E;A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AA0I;AAE1I,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,wIAAwI;AAExI,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,wBAAwB;AACxB,gBAAgB;AAChB,sIAAsI;AAEtI,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,wIAAwI;AAExI,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,4IAA4I;AAE5I,yBAAyB;AACzB,gBAAgB;AAChB,YAAY;AACZ,QAAQ;AACR,IAAI","sourcesContent":["// import {Component, ChangeDetectionStrategy, Inject, ChangeDetectorRef, ElementRef, ViewChild} from '@angular/core';\n// import {isPresent} from '@jscrpt/common';\n// import {Observable, Subject} from 'rxjs';\n\n// import {DateTimeValue} from '../../../../interfaces/dateTime/datetime.interface';\n// import {DATE_API} from '../../../../misc/tokens';\n// import {DateApi, DateApiObject, DatePositionParser, DatePositionParserService, DateValueProvider} from '../../../../services';\n// import {DateTimeSelector} from '../../misc/datetimeSelector.interface';\n\n// /**\n// * Component used as datetime selector with input\n// */\n// @Component(\n// {\n// selector: 'input-date-time-selector',\n// templateUrl: 'inputDateTime.component.html',\n// styleUrls: ['inputDateTime.component.css'],\n// changeDetection: ChangeDetectionStrategy.OnPush\n// })\n// export class InputDateTimeSelectorComponent<TDate = any> implements DateTimeSelector<TDate>\n// {\n// //######################### protected fields #########################\n\n// /**\n// * Occurs when value changes\n// */\n// protected _valueChange: Subject<void> = new Subject<void>();\n\n// /**\n// * Occurs when selector is touched by user\n// */\n// protected _touched: Subject<void> = new Subject<void>();\n\n// /**\n// * Occurs when selector requires picker to be displayed or hidden\n// */\n// protected _pickerRequest: Subject<boolean> = new Subject<boolean>();\n\n// /**\n// * Instance of parser created for specific format\n// */\n// protected _parser: DatePositionParser|null = null;\n\n// /**\n// * Currently used format for displaying data\n// */\n// protected _format: string = '';\n\n// /**\n// * Current value representation as date api wrapper\n// */\n// protected _dateApiValue: null|DateApiObject<TDate> = null;\n\n// /**\n// * Indication whether is current value valid value\n// */\n// protected _isValid: boolean = true;\n\n// /**\n// * Minimal possible value that can be picked\n// */\n// protected _minValue: TDate|null = null;\n\n// /**\n// * Maximal possible value that can be picked\n// */\n// protected _maxValue: TDate|null = null;\n\n// //######################### public properties - implementation of DateTimeSelector #########################\n\n// /**\n// * Gets or sets currently used format for displaying data\n// */\n// public get format(): string\n// {\n// return this._format;\n// }\n// public set format(value: string)\n// {\n// if(isPresent(value))\n// {\n// value = this._dateApi.getFormat(value);\n// }\n\n// //only if format changes\n// if(this._format != value)\n// {\n// this._parser = this._parserSvc.createParser(this._dateApi.getFormat(value));\n// }\n\n// this._format = value;\n// }\n\n// /**\n// * Gets or sets placeholder that is displayed when there is no value selected\n// */\n// public placeholder: string|null = null;\n\n// /**\n// * Gets current value of datetime\n// */\n// public get value(): DateTimeValue<TDate>|null\n// {\n// if(!this._dateApiValue || !this._isValid)\n// {\n// return null;\n// }\n\n// return this._valueProvider.getValue(this._dateApiValue.value, this._format);\n// }\n\n// /**\n// * Gets formatted value\n// */\n// public get formattedValue(): string|null\n// {\n// if(!this._isValid)\n// {\n// return null;\n// }\n\n// return this.currentValue;\n// }\n\n// /**\n// * Gets indication whether is current value valid\n// */\n// public get valid(): boolean\n// {\n// return this._isValid;\n// }\n\n// /**\n// * Occurs when value changes\n// */\n// public get valueChange(): Observable<void>\n// {\n// return this._valueChange.asObservable();\n// }\n\n// /**\n// * Occurs when selector is touched by user\n// */\n// public get touched(): Observable<void>\n// {\n// return this._touched.asObservable();\n// }\n\n// /**\n// * Occurs when selector requires picker to be displayed\n// */\n// public get pickerRequest(): Observable<boolean>\n// {\n// return this._pickerRequest.asObservable();\n// }\n\n// //######################### public properties - template bindings #########################\n\n// /**\n// * Indication whether is input disabled\n// * @internal\n// */\n// public disabled: boolean = false;\n\n// //######################### public properties - children #########################\n\n// /**\n// * Instance of html input element\n// * @internal\n// */\n// @ViewChild('input', {static: true})\n// public inputElement!: ElementRef<HTMLInputElement>;\n\n// //######################### protected properties #########################\n\n// /**\n// * Gets or sets string representation current of value\n// */\n// protected get currentValue(): string|null\n// {\n// return this.input.value || null;\n// }\n// protected set currentValue(value: string|null)\n// {\n// if(this.input)\n// {\n// this.input.value = value ?? '';\n// }\n// }\n\n// /**\n// * Gets input element used for handling date time value\n// */\n// protected get input(): HTMLInputElement\n// {\n// return this.inputElement.nativeElement;\n// }\n\n// //######################### constructor #########################\n// constructor(@Inject(DATE_API) protected _dateApi: DateApi<TDate>,\n// protected _parserSvc: DatePositionParserService,\n// protected _valueProvider: DateValueProvider<TDate>,\n// protected _changeDetector: ChangeDetectorRef)\n// {\n// }\n\n// //######################### public methods - implementation of DateTimeSelector #########################\n\n// /**\n// * Sets minimal possible value for picker, that can be picked\n// * @param value - Minimal possible value that can be picked\n// */\n// public setMinValue(value: TDate|null): void\n// {\n// this._minValue = value;\n// }\n\n// /**\n// * Sets maximal possible value for picker, that can be picked\n// * @param value - Maximal possible value that can be picked\n// */\n// public setMaxValue(value: TDate|null): void\n// {\n// this._maxValue = value;\n// }\n\n// /**\n// * Sets value of datetime selector\n// * @param value - Value to be set to this selector\n// */\n// public setValue(value: DateTimeValue<TDate>|null): void\n// {\n// if(value?.from)\n// {\n// this._dateApiValue = this._dateApi.getValue(value?.from, this._format);\n// this._isValid = this._dateApiValue.isValid();\n \n// this._show();\n// }\n// else\n// {\n// this._clearValue();\n// }\n// }\n\n// /**\n// * Sets as 'control' disabled\n// * @param disabled - Indication whether sets value as disabled, if omitted it is same as disabled set to true\n// */\n// public setDisabled(disabled: boolean = true): void\n// {\n// this.disabled = disabled;\n// }\n\n// /**\n// * Explicitly runs invalidation of content (change detection)\n// */\n// public invalidateVisuals(): void\n// {\n// this._changeDetector.detectChanges();\n// }\n\n// //######################### public methods - template bindings #########################\n\n// /**\n// * Handles gaining of focus\n// * @internal\n// */\n// public handleFocus(): void\n// {\n// this._pickerRequest.next(true);\n\n// //no value\n// if(!this._dateApiValue)\n// {\n// this._dateApiValue = this._dateApi.now();\n// this._isValid = this._dateApiValue.isValid();\n\n// if(this._minMaxConstraintTest())\n// {\n// this._clearValue();\n// }\n// else\n// {\n// this._valueChange.next();\n// }\n// }\n\n// if(!this._isValid)\n// {\n// return;\n// }\n\n// this._show();\n\n// const result = this._parser!.parse(this.currentValue!, this.input.selectionStart!);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// /**\n// * Handles blur on input\n// * @internal\n// */\n// public handleBlur(): void\n// {\n// this._pickerRequest.next(false);\n// }\n\n// /**\n// * Handles user input\n// * @internal\n// */\n// public handleInput(): void\n// {\n// //empty value\n// if(!this.currentValue)\n// {\n// this._clearValue();\n// this._valueChange.next();\n\n// return;\n// }\n\n// this._dateApiValue = this._dateApi.getValue(this.currentValue, this._format);\n// this._isValid = this._dateApiValue.isValid();\n// this._valueChange.next();\n// }\n\n// /**\n// * Handles selection of text inside of input\n// * @internal\n// */\n// public handleSelect(): void\n// {\n// //handles when all text is selected\n// if(this.currentValue && this.input.selectionStart == 0 && this.input.selectionEnd == this.input.value.length)\n// {\n// const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n// }\n\n// /**\n// * Handles click event inside of input\n// * @internal\n// */\n// public handleClick(): void\n// {\n// this._pickerRequest.next(true);\n\n// if(!this._dateApiValue)\n// {\n// return;\n// }\n\n// const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// /**\n// * Handles keyboard events\n// * @param event - Keyboard event that occured\n// * @param input - Html input element that holds current value and selection\n// * @internal\n// */\n// public handleKeyboard(event: KeyboardEvent): void\n// {\n// if(!this._dateApiValue?.isValid())\n// {\n// return;\n// }\n\n// switch(event.key)\n// {\n// case 'ArrowRight':\n// case 'ArrowLeft':\n// {\n// event.preventDefault();\n// event.stopPropagation();\n\n// const result = event.key == 'ArrowLeft' ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n// if(result)\n// {\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// break;\n// }\n// case 'ArrowUp':\n// case 'ArrowDown':\n// {\n// event.preventDefault();\n// event.stopPropagation();\n\n// let result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n// const selectionStart = result.positionFrom;\n\n// this._stepChangeValue(result.part, event.key == 'ArrowUp');\n// this._show();\n\n// result = this._parser!.parse(this.input.value, selectionStart);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n\n// break;\n// }\n// case 'Tab':\n// {\n// const result = event.shiftKey ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n// if(result)\n// {\n// event.preventDefault();\n// event.stopPropagation();\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// break;\n// }\n// case 'a':\n// {\n// if(event.ctrlKey)\n// {\n// event.preventDefault();\n// event.stopPropagation();\n// }\n\n// break;\n// }\n// case 'Backspace':\n// {\n// this._clearValue();\n// this._valueChange.next();\n\n// break;\n// }\n// case 'Escape':\n// {\n// this._pickerRequest.next(false);\n\n// break;\n// }\n// case ' ':\n// {\n// if(event.ctrlKey)\n// {\n// this._pickerRequest.next(true);\n// }\n\n// break;\n// }\n// }\n// }\n\n// //######################### protected methods #########################\n\n// /**\n// * Shows current value in input\n// */\n// protected _show(): void\n// {\n// if(this._isValid)\n// {\n// this.currentValue = this._dateApiValue?.format(this._format) ?? null;\n// }\n// }\n\n// /**\n// * Tests whether are min or max constraint broken, returns true if constraint is broken\n// */\n// protected _minMaxConstraintTest(): boolean\n// {\n// return (!!this._minValue && this._dateApiValue!.isBefore(this._minValue)) ||\n// (!!this._maxValue && this._dateApiValue!.isAfter(this._maxValue));\n// }\n\n// /**\n// * Runs code with check whether min max constrains was broken\n// * @param code - Code that should be executed which can change current value\n// */\n// protected _withMinMaxConstraint(code: () => void): void\n// {\n// this._dateApiValue!.updateOriginal();\n\n// code();\n\n// //min value constraint failure\n// if(this._minMaxConstraintTest())\n// {\n// this._dateApiValue?.resetOriginal();\n\n// return;\n// }\n\n// this._valueChange.next();\n// }\n\n// /**\n// * Clears current value\n// */\n// protected _clearValue(): void\n// {\n// this._dateApiValue = null;\n// this._isValid = true;\n// this.currentValue = null;\n// }\n\n// /**\n// * Changes current value of date for for specified part by single step\n// * @param part - Part of date that should be changed\n// * @param increment - Indication whether value should be incremented or decremented\n// */\n// protected _stepChangeValue(part: string, increment: boolean): void\n// {\n// if(!this._dateApiValue?.isValid())\n// {\n// return;\n// }\n\n// switch(part)\n// {\n// case 'y':\n// case 'Y':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addYears(1) : this._dateApiValue!.subtractYears(1));\n\n// break;\n// }\n// case 'Q':\n// {\n// break;\n// }\n// case 'M':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMonths(1) : this._dateApiValue!.subtractMonths(1));\n\n// break;\n// }\n// case 'w':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addWeeks(1) : this._dateApiValue!.subtractWeeks(1));\n\n// break;\n// }\n// case 'd':\n// case 'D':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addDays(1) : this._dateApiValue!.subtractDays(1));\n\n// break;\n// }\n// case 'H':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addHours(1) : this._dateApiValue!.subtractHours(1));\n\n// break;\n// }\n// case 'm':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMinutes(1) : this._dateApiValue!.subtractMinutes(1));\n\n// break;\n// }\n// }\n// }\n// }"]}
|