@anglr/datetime 6.0.0-beta.20221222085135 → 6.0.0-beta.20221223105933
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 +157 -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 +3 -0
- package/es2015/src/directives/index.js.map +1 -1
- package/es2015/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js +37 -0
- package/es2015/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js.map +1 -0
- package/es2015/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.js +137 -0
- package/es2015/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.js.map +1 -0
- package/es2015/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.js +29 -0
- package/es2015/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.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 +11 -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 +3 -0
- package/es2020/src/directives/index.js.map +1 -1
- package/es2020/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js +37 -0
- package/es2020/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js.map +1 -0
- package/es2020/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.js +136 -0
- package/es2020/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.js.map +1 -0
- package/es2020/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.js +29 -0
- package/es2020/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.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 +11 -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 +3 -0
- package/src/directives/index.d.ts.map +1 -1
- package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts +12 -0
- package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts.map +1 -0
- package/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.d.ts +42 -0
- package/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.d.ts.map +1 -0
- package/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.d.ts +11 -0
- package/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.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 +4 -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dateTimePickerRenderer.directive.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.ts"],"names":[],"mappings":"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","sourcesContent":["import {ComponentRef, Directive, ElementRef, EmbeddedViewRef, EventEmitter, Inject, Injector, Input, OnChanges, OnDestroy, OnInit, Optional, Output, ViewContainerRef} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {POSITION, Position, applyPositionResult} from '@anglr/common';\nimport {Subscription} from 'rxjs';\n\nimport {DateTimeValue} from '../../../../interfaces/dateTime/datetime.interface';\nimport {DateTimeSelector, DateTimeSelectorOptions} from '../../interfaces';\nimport {DateTimePickerLegacyComponent} from '../../../picker/types';\n\n/**\n * Directive for rendering datetime picker in selector\n */\n@Directive(\n{\n selector: '[dateTimePicker]'\n})\nexport class DateTimePickerRendererDirective<TDate = any> implements OnInit, OnChanges, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Instance of component used for rendering picker\n */\n protected _pickerComponent?: ComponentRef<DateTimePickerLegacyComponent>;\n\n /**\n * Instance of HTML element for picker\n */\n protected _pickerElement?: HTMLElement;\n\n /**\n * Subscriptions created during initialization\n */\n protected _initSubscriptions: Subscription = new Subscription();\n\n //######################### protected properties #########################\n\n /**\n * Current options used by selector\n */\n protected get _options(): DateTimeSelectorOptions<DateTimeSelector<TDate>>\n {\n return this.options as DateTimeSelectorOptions<DateTimeSelector<TDate>>;\n }\n\n //######################### public properties - inputs #########################\n\n /**\n * Current options used by selector\n */\n @Input()\n public options!: Partial<DateTimeSelectorOptions<DateTimeSelector<TDate>>>;\n\n /**\n * Current selected value\n */\n @Input('dateTimePicker')\n public value!: DateTimeValue<TDate>|null;\n\n /**\n * Gets or sets minimal possible value for picker, that can be picked\n */\n @Input()\n public minValue!: TDate|null;\n\n /**\n * Gets or sets maximal possible value for picker, that can be picked\n */\n @Input()\n public maxValue!: TDate|null;\n\n /**\n * Selector element which is used during absolute positioning of picker\n */\n @Input()\n public selectorElement!: ElementRef<HTMLElement>;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when value changes\n */\n @Output()\n public valueChange: EventEmitter<DateTimeValue<TDate>> = new EventEmitter<DateTimeValue<TDate>>();\n\n //######################### constructor #########################\n constructor(protected _viewContainer: ViewContainerRef,\n protected _injector: Injector,\n @Inject(POSITION) @Optional() protected _position: Position,\n @Inject(DOCUMENT) protected _document: Document)\n {\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this._createPicker();\n }\n\n //######################### public methods - implementation of OnChanges #########################\n \n /**\n * Called when input value changes\n */\n public ngOnChanges(): void\n {\n this._createPicker();\n\n if(this._pickerComponent)\n {\n const picker = this._pickerComponent.instance;\n\n picker.value = this.value;\n picker.minValue = this.minValue;\n picker.maxValue = this.maxValue;\n picker.options = this.options;\n }\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._destroyPicker();\n this._initSubscriptions.unsubscribe();\n }\n\n //######################### protected methods #########################\n\n /**\n * Destroys picker component\n */\n protected _destroyPicker(): void\n {\n if(this._pickerComponent)\n {\n this._pickerComponent.destroy();\n this._pickerComponent = undefined;\n this._pickerElement = undefined;\n }\n }\n\n /**\n * Creates picker component\n */\n protected _createPicker(): void\n {\n if(this._pickerComponent)\n {\n return;\n }\n\n // 1. Create a component reference from the component\n this._pickerComponent = this._viewContainer\n .createComponent(DateTimePickerLegacyComponent,\n {\n injector: this._injector\n });\n\n if(this._pickerComponent)\n {\n this._initSubscriptions.add(this._pickerComponent.instance.valueChange.subscribe(itm => this.valueChange.next(itm)));\n\n //absolutely position\n if(this._options.pickerAbsolute && this._position)\n {\n // 3. Get DOM element from component\n this._pickerElement = (this._pickerComponent.hostView as EmbeddedViewRef<any>)\n .rootNodes[0] as HTMLElement;\n\n // 4. Append DOM element to the body\n this._document.querySelector(this._options.pickerAbsoluteContainer)?.appendChild(this._pickerElement);\n this._pickerElement.style.position = 'absolute';\n this._initSubscriptions.add(this._position.placeElement(this._pickerElement, this.selectorElement.nativeElement, this._options.positionOptions).subscribe(applyPositionResult));\n }\n else\n {\n return;\n }\n }\n }\n}"]}
|
package/es2020/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { forwardRef, Directive, Inject } from '@angular/core';
|
|
2
|
-
import { NG_VALIDATORS } from '@angular/forms';
|
|
3
|
-
import { Validators } from '../../../../misc/validators';
|
|
4
|
-
import { DateTimeSelectorComponent } from '../../components/selector/selector.component';
|
|
5
|
-
import { DATE_API } from '../../../../misc/tokens';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../components/selector/selector.component";
|
|
8
|
-
/**
|
|
9
|
-
* Validator that is injected with directive DatetimeMaxValidatorDirective
|
|
10
|
-
*/
|
|
11
|
-
const DATETIME_MIN_VALIDATOR = {
|
|
12
|
-
provide: NG_VALIDATORS,
|
|
13
|
-
useExisting: forwardRef(() => DatetimeMaxValidatorDirective),
|
|
14
|
-
multi: true
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Directive injecting datetime max validator, validating max datetime value
|
|
18
|
-
*/
|
|
19
|
-
export class DatetimeMaxValidatorDirective {
|
|
20
|
-
//######################### constructor #########################
|
|
21
|
-
constructor(datetimeSelector, dateApi) {
|
|
22
|
-
//######################### private fields #########################
|
|
23
|
-
/**
|
|
24
|
-
* Function used for validations
|
|
25
|
-
*/
|
|
26
|
-
this._validator = () => null;
|
|
27
|
-
this._validator = Validators.maxDatetime(datetimeSelector, dateApi);
|
|
28
|
-
}
|
|
29
|
-
//######################### public methods - implementation of Validator #########################
|
|
30
|
-
/**
|
|
31
|
-
* Validates input and returns validation result
|
|
32
|
-
* @param control - Control that is being validated
|
|
33
|
-
* @returns validation results
|
|
34
|
-
*/
|
|
35
|
-
validate(control) {
|
|
36
|
-
return this._validator(control);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
DatetimeMaxValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DatetimeMaxValidatorDirective, deps: [{ token: i1.DateTimeSelectorComponent }, { token: DATE_API }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
-
DatetimeMaxValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.6", type: DatetimeMaxValidatorDirective, selector: "date-time-selector[validate][maxValue][formControlName]:not([range]),date-time-selector[validate][maxValue][formControl]:not([range]),date-time-selector[validate][maxValue][ngModel]:not([range])", providers: [DATETIME_MIN_VALIDATOR], ngImport: i0 });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DatetimeMaxValidatorDirective, decorators: [{
|
|
42
|
-
type: Directive,
|
|
43
|
-
args: [{
|
|
44
|
-
selector: 'date-time-selector[validate][maxValue][formControlName]:not([range]),date-time-selector[validate][maxValue][formControl]:not([range]),date-time-selector[validate][maxValue][ngModel]:not([range])',
|
|
45
|
-
providers: [DATETIME_MIN_VALIDATOR]
|
|
46
|
-
}]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: i1.DateTimeSelectorComponent }, { type: undefined, decorators: [{
|
|
48
|
-
type: Inject,
|
|
49
|
-
args: [DATE_API]
|
|
50
|
-
}] }]; } });
|
|
51
|
-
//# sourceMappingURL=datetimeMaxValidator.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datetimeMaxValidator.directive.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAC,aAAa,EAA4D,MAAM,gBAAgB,CAAC;AAExG,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,8CAA8C,CAAC;AAEvF,OAAO,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;;;AAEjD;;GAEG;AACH,MAAM,sBAAsB,GAC5B;IACI,OAAO,EAAE,aAAa;IACtB,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;IAC5D,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AAMH,MAAM,OAAO,6BAA6B;IAStC,iEAAiE;IACjE,YAAY,gBAAkD,EAChC,OAAuB;QATrD,oEAAoE;QAEpE;;WAEG;QACK,eAAU,GAAgB,GAAG,EAAE,CAAC,IAAI,CAAC;QAMzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,WAAW,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,kGAAkG;IAElG;;;;OAIG;IACI,QAAQ,CAAC,OAAwB;QAEpC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;;0HA1BQ,6BAA6B,2DAWlB,QAAQ;8GAXnB,6BAA6B,6NAF3B,CAAC,sBAAsB,CAAC;2FAE1B,6BAA6B;kBALzC,SAAS;mBACV;oBACI,QAAQ,EAAE,oMAAoM;oBAC9M,SAAS,EAAE,CAAC,sBAAsB,CAAC;iBACtC;;0BAYgB,MAAM;2BAAC,QAAQ","sourcesContent":["import {ExistingProvider, forwardRef, Directive, Inject} from '@angular/core';\nimport {NG_VALIDATORS, AbstractControl, Validator, ValidatorFn, ValidationErrors} from '@angular/forms';\n\nimport {Validators} from '../../../../misc/validators';\nimport {DateTimeSelectorComponent} from '../../components/selector/selector.component';\nimport {DateApi} from '../../../../services/dateApi/dateApi.interface';\nimport {DATE_API} from '../../../../misc/tokens';\n\n/**\n * Validator that is injected with directive DatetimeMaxValidatorDirective\n */\nconst DATETIME_MIN_VALIDATOR = <ExistingProvider>\n{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatetimeMaxValidatorDirective),\n multi: true\n};\n\n/**\n * Directive injecting datetime max validator, validating max datetime value \n */\n@Directive(\n{\n selector: 'date-time-selector[validate][maxValue][formControlName]:not([range]),date-time-selector[validate][maxValue][formControl]:not([range]),date-time-selector[validate][maxValue][ngModel]:not([range])',\n providers: [DATETIME_MIN_VALIDATOR]\n})\nexport class DatetimeMaxValidatorDirective<TDate = any> implements Validator\n{\n //######################### private fields #########################\n\n /**\n * Function used for validations\n */\n private _validator: ValidatorFn = () => null;\n\n //######################### constructor #########################\n constructor(datetimeSelector: DateTimeSelectorComponent<TDate>,\n @Inject(DATE_API) dateApi: DateApi<TDate>)\n {\n this._validator = Validators.maxDatetime(datetimeSelector, dateApi);\n }\n\n //######################### public methods - implementation of Validator #########################\n\n /**\n * Validates input and returns validation result\n * @param control - Control that is being validated\n * @returns validation results\n */\n public validate(control: AbstractControl): ValidationErrors|null\n {\n return this._validator(control);\n }\n}"]}
|
package/es2020/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { forwardRef, Directive, Inject } from '@angular/core';
|
|
2
|
-
import { NG_VALIDATORS } from '@angular/forms';
|
|
3
|
-
import { Validators } from '../../../../misc/validators';
|
|
4
|
-
import { DateTimeSelectorComponent } from '../../components/selector/selector.component';
|
|
5
|
-
import { DATE_API } from '../../../../misc/tokens';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../components/selector/selector.component";
|
|
8
|
-
/**
|
|
9
|
-
* Validator that is injected with directive DatetimeMinValidatorDirective
|
|
10
|
-
*/
|
|
11
|
-
const DATETIME_MIN_VALIDATOR = {
|
|
12
|
-
provide: NG_VALIDATORS,
|
|
13
|
-
useExisting: forwardRef(() => DatetimeMinValidatorDirective),
|
|
14
|
-
multi: true
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Directive injecting datetime min validator, validating min datetime value
|
|
18
|
-
*/
|
|
19
|
-
export class DatetimeMinValidatorDirective {
|
|
20
|
-
//######################### constructor #########################
|
|
21
|
-
constructor(datetimeSelector, dateApi) {
|
|
22
|
-
//######################### private fields #########################
|
|
23
|
-
/**
|
|
24
|
-
* Function used for validations
|
|
25
|
-
*/
|
|
26
|
-
this._validator = () => null;
|
|
27
|
-
this._validator = Validators.minDatetime(datetimeSelector, dateApi);
|
|
28
|
-
}
|
|
29
|
-
//######################### public methods - implementation of Validator #########################
|
|
30
|
-
/**
|
|
31
|
-
* Validates input and returns validation result
|
|
32
|
-
* @param control - Control that is being validated
|
|
33
|
-
* @returns validation results
|
|
34
|
-
*/
|
|
35
|
-
validate(control) {
|
|
36
|
-
return this._validator(control);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
DatetimeMinValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DatetimeMinValidatorDirective, deps: [{ token: i1.DateTimeSelectorComponent }, { token: DATE_API }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
-
DatetimeMinValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.6", type: DatetimeMinValidatorDirective, selector: "date-time-selector[validate][minValue][formControlName]:not([range]),date-time-selector[validate][minValue][formControl]:not([range]),date-time-selector[validate][minValue][ngModel]:not([range])", providers: [DATETIME_MIN_VALIDATOR], ngImport: i0 });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DatetimeMinValidatorDirective, decorators: [{
|
|
42
|
-
type: Directive,
|
|
43
|
-
args: [{
|
|
44
|
-
selector: 'date-time-selector[validate][minValue][formControlName]:not([range]),date-time-selector[validate][minValue][formControl]:not([range]),date-time-selector[validate][minValue][ngModel]:not([range])',
|
|
45
|
-
providers: [DATETIME_MIN_VALIDATOR]
|
|
46
|
-
}]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: i1.DateTimeSelectorComponent }, { type: undefined, decorators: [{
|
|
48
|
-
type: Inject,
|
|
49
|
-
args: [DATE_API]
|
|
50
|
-
}] }]; } });
|
|
51
|
-
//# sourceMappingURL=datetimeMinValidator.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datetimeMinValidator.directive.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAC,aAAa,EAA4D,MAAM,gBAAgB,CAAC;AAExG,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,8CAA8C,CAAC;AAEvF,OAAO,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;;;AAEjD;;GAEG;AACH,MAAM,sBAAsB,GAC5B;IACI,OAAO,EAAE,aAAa;IACtB,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;IAC5D,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AAMH,MAAM,OAAO,6BAA6B;IAStC,iEAAiE;IACjE,YAAY,gBAAkD,EAChC,OAAuB;QATrD,oEAAoE;QAEpE;;WAEG;QACK,eAAU,GAAgB,GAAG,EAAE,CAAC,IAAI,CAAC;QAMzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,WAAW,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,kGAAkG;IAElG;;;;OAIG;IACI,QAAQ,CAAC,OAAwB;QAEpC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;;0HA1BQ,6BAA6B,2DAWlB,QAAQ;8GAXnB,6BAA6B,6NAF3B,CAAC,sBAAsB,CAAC;2FAE1B,6BAA6B;kBALzC,SAAS;mBACV;oBACI,QAAQ,EAAE,oMAAoM;oBAC9M,SAAS,EAAE,CAAC,sBAAsB,CAAC;iBACtC;;0BAYgB,MAAM;2BAAC,QAAQ","sourcesContent":["import {ExistingProvider, forwardRef, Directive, Inject} from '@angular/core';\nimport {NG_VALIDATORS, AbstractControl, Validator, ValidatorFn, ValidationErrors} from '@angular/forms';\n\nimport {Validators} from '../../../../misc/validators';\nimport {DateTimeSelectorComponent} from '../../components/selector/selector.component';\nimport {DateApi} from '../../../../services/dateApi/dateApi.interface';\nimport {DATE_API} from '../../../../misc/tokens';\n\n/**\n * Validator that is injected with directive DatetimeMinValidatorDirective\n */\nconst DATETIME_MIN_VALIDATOR = <ExistingProvider>\n{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatetimeMinValidatorDirective),\n multi: true\n};\n\n/**\n * Directive injecting datetime min validator, validating min datetime value \n */\n@Directive(\n{\n selector: 'date-time-selector[validate][minValue][formControlName]:not([range]),date-time-selector[validate][minValue][formControl]:not([range]),date-time-selector[validate][minValue][ngModel]:not([range])',\n providers: [DATETIME_MIN_VALIDATOR]\n})\nexport class DatetimeMinValidatorDirective<TDate = any> implements Validator\n{\n //######################### private fields #########################\n\n /**\n * Function used for validations\n */\n private _validator: ValidatorFn = () => null;\n\n //######################### constructor #########################\n constructor(datetimeSelector: DateTimeSelectorComponent<TDate>,\n @Inject(DATE_API) dateApi: DateApi<TDate>)\n {\n this._validator = Validators.minDatetime(datetimeSelector, dateApi);\n }\n\n //######################### public methods - implementation of Validator #########################\n\n /**\n * Validates input and returns validation result\n * @param control - Control that is being validated\n * @returns validation results\n */\n public validate(control: AbstractControl): ValidationErrors|null\n {\n return this._validator(control);\n }\n}"]}
|
package/es2020/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { forwardRef, Directive } from '@angular/core';
|
|
2
|
-
import { NG_VALIDATORS } from '@angular/forms';
|
|
3
|
-
import { Validators } from '../../../../misc/validators';
|
|
4
|
-
import { DateTimeSelectorComponent } from '../../components/selector/selector.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../components/selector/selector.component";
|
|
7
|
-
/**
|
|
8
|
-
* Validator that is injected with directive DatetimeValidatorDirective
|
|
9
|
-
*/
|
|
10
|
-
const DATETIME_VALIDATOR = {
|
|
11
|
-
provide: NG_VALIDATORS,
|
|
12
|
-
useExisting: forwardRef(() => DatetimeValidatorDirective),
|
|
13
|
-
multi: true
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Directive injecting datetime validator, validating datetime
|
|
17
|
-
*/
|
|
18
|
-
export class DatetimeValidatorDirective {
|
|
19
|
-
//######################### constructor #########################
|
|
20
|
-
constructor(datetimeSelector) {
|
|
21
|
-
//######################### private fields #########################
|
|
22
|
-
/**
|
|
23
|
-
* Function used for validations
|
|
24
|
-
*/
|
|
25
|
-
this._validator = () => null;
|
|
26
|
-
this._validator = Validators.datetime(datetimeSelector);
|
|
27
|
-
}
|
|
28
|
-
//######################### public methods - implementation of Validator #########################
|
|
29
|
-
/**
|
|
30
|
-
* Validates input and returns validation result
|
|
31
|
-
* @param control - Control that is being validated
|
|
32
|
-
* @returns validation results
|
|
33
|
-
*/
|
|
34
|
-
validate(control) {
|
|
35
|
-
return this._validator(control);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
DatetimeValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DatetimeValidatorDirective, deps: [{ token: i1.DateTimeSelectorComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
-
DatetimeValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.6", type: DatetimeValidatorDirective, selector: "date-time-selector[validate][formControlName]:not([range]),date-time-selector[validate][formControl]:not([range]),date-time-selector[validate][ngModel]:not([range])", providers: [DATETIME_VALIDATOR], ngImport: i0 });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DatetimeValidatorDirective, decorators: [{
|
|
41
|
-
type: Directive,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: 'date-time-selector[validate][formControlName]:not([range]),date-time-selector[validate][formControl]:not([range]),date-time-selector[validate][ngModel]:not([range])',
|
|
44
|
-
providers: [DATETIME_VALIDATOR]
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i1.DateTimeSelectorComponent }]; } });
|
|
47
|
-
//# sourceMappingURL=datetimeValidator.directive.js.map
|
package/es2020/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datetimeValidator.directive.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,aAAa,EAA4D,MAAM,gBAAgB,CAAC;AAExG,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,8CAA8C,CAAC;;;AAEvF;;GAEG;AACH,MAAM,kBAAkB,GACxB;IACI,OAAO,EAAE,aAAa;IACtB,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC;IACzD,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AAMH,MAAM,OAAO,0BAA0B;IASnC,iEAAiE;IACjE,YAAY,gBAAkD;QAR9D,oEAAoE;QAEpE;;WAEG;QACK,eAAU,GAAgB,GAAG,EAAE,CAAC,IAAI,CAAC;QAKzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAC5D,CAAC;IAED,kGAAkG;IAElG;;;;OAIG;IACI,QAAQ,CAAC,OAAwB;QAEpC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;;uHAzBQ,0BAA0B;2GAA1B,0BAA0B,+LAFxB,CAAC,kBAAkB,CAAC;2FAEtB,0BAA0B;kBALtC,SAAS;mBACV;oBACI,QAAQ,EAAE,sKAAsK;oBAChL,SAAS,EAAE,CAAC,kBAAkB,CAAC;iBAClC","sourcesContent":["import {ExistingProvider, forwardRef, Directive} from '@angular/core';\nimport {NG_VALIDATORS, AbstractControl, Validator, ValidatorFn, ValidationErrors} from '@angular/forms';\n\nimport {Validators} from '../../../../misc/validators';\nimport {DateTimeSelectorComponent} from '../../components/selector/selector.component';\n\n/**\n * Validator that is injected with directive DatetimeValidatorDirective\n */\nconst DATETIME_VALIDATOR = <ExistingProvider>\n{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatetimeValidatorDirective),\n multi: true\n};\n\n/**\n * Directive injecting datetime validator, validating datetime\n */\n@Directive(\n{\n selector: 'date-time-selector[validate][formControlName]:not([range]),date-time-selector[validate][formControl]:not([range]),date-time-selector[validate][ngModel]:not([range])',\n providers: [DATETIME_VALIDATOR]\n})\nexport class DatetimeValidatorDirective<TDate = any> implements Validator\n{\n //######################### private fields #########################\n\n /**\n * Function used for validations\n */\n private _validator: ValidatorFn = () => null;\n\n //######################### constructor #########################\n constructor(datetimeSelector: DateTimeSelectorComponent<TDate>)\n {\n this._validator = Validators.datetime(datetimeSelector);\n }\n\n //######################### public methods - implementation of Validator #########################\n\n /**\n * Validates input and returns validation result\n * @param control - Control that is being validated\n * @returns validation results\n */\n public validate(control: AbstractControl): ValidationErrors|null\n {\n return this._validator(control);\n }\n}"]}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { Directive, forwardRef, Input } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { DateTimeSelectorComponent } from '../../components/selector/selector.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../components/selector/selector.component";
|
|
7
|
-
/**
|
|
8
|
-
* Value accessor provider for date time selector
|
|
9
|
-
*/
|
|
10
|
-
const DATE_TIME_SELECTOR_VALUE_ACCESSOR = {
|
|
11
|
-
provide: NG_VALUE_ACCESSOR,
|
|
12
|
-
useExisting: forwardRef(() => DateTimeSelectorControlValueAccessor),
|
|
13
|
-
multi: true
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Value accessor for getting and setting values for date time selector
|
|
17
|
-
*/
|
|
18
|
-
export class DateTimeSelectorControlValueAccessor {
|
|
19
|
-
//######################### constructor #########################
|
|
20
|
-
constructor(_selector) {
|
|
21
|
-
this._selector = _selector;
|
|
22
|
-
//######################### protected fields #########################
|
|
23
|
-
/**
|
|
24
|
-
* Subscriptions that are destroyed on directive destruction
|
|
25
|
-
*/
|
|
26
|
-
this._subscriptions = new Subscription();
|
|
27
|
-
//######################### public properties - inputs #########################
|
|
28
|
-
/**
|
|
29
|
-
* Indication whether value for selector is represented as range from, to
|
|
30
|
-
*/
|
|
31
|
-
this.range = false;
|
|
32
|
-
/**
|
|
33
|
-
* Indication whether value for selector is represented as formatted string value, if both 'formatted' and 'range' are set, 'range' takes precedence
|
|
34
|
-
*/
|
|
35
|
-
this.formatted = false;
|
|
36
|
-
}
|
|
37
|
-
//######################### public methods - implementation of OnDestroy #########################
|
|
38
|
-
/**
|
|
39
|
-
* Called when component is destroyed
|
|
40
|
-
*/
|
|
41
|
-
ngOnDestroy() {
|
|
42
|
-
this._subscriptions?.unsubscribe();
|
|
43
|
-
}
|
|
44
|
-
//######################### public methods - implementation of ControlValueAccessor #########################
|
|
45
|
-
/**
|
|
46
|
-
* Sets value to datetime selector
|
|
47
|
-
*/
|
|
48
|
-
writeValue(value) {
|
|
49
|
-
if (this.range) {
|
|
50
|
-
this._selector.value = value;
|
|
51
|
-
}
|
|
52
|
-
else if (this.formatted) {
|
|
53
|
-
this._selector.formattedValue = value;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
this._selector.value =
|
|
57
|
-
{
|
|
58
|
-
from: value,
|
|
59
|
-
to: value
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Registers callback that is called when value of datetime selector value changes
|
|
65
|
-
*/
|
|
66
|
-
registerOnChange(fn) {
|
|
67
|
-
this._subscriptions.add(this._selector.valueChange.subscribe(() => this._emitValue(fn)));
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Registers callback that is called when datetime selector was touched by user
|
|
71
|
-
*/
|
|
72
|
-
registerOnTouched(fn) {
|
|
73
|
-
this._subscriptions.add(this._selector.touched.subscribe(() => fn()));
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Used for setting control as disabled
|
|
77
|
-
* @param isDisabled - disabled status to set on the element
|
|
78
|
-
*/
|
|
79
|
-
setDisabledState(isDisabled) {
|
|
80
|
-
this._selector.setDisabled(isDisabled);
|
|
81
|
-
}
|
|
82
|
-
//######################### protected methods #########################
|
|
83
|
-
/**
|
|
84
|
-
* Used for emitting value that was changed
|
|
85
|
-
* @param fn - Function that is used for emitting changed value
|
|
86
|
-
*/
|
|
87
|
-
_emitValue(fn) {
|
|
88
|
-
if (this.range) {
|
|
89
|
-
fn(this._selector.value);
|
|
90
|
-
}
|
|
91
|
-
else if (this.formatted) {
|
|
92
|
-
fn(this._selector.formattedValue);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
const value = this._selector.value;
|
|
96
|
-
if (!value) {
|
|
97
|
-
fn(null);
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
fn(value.from);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
DateTimeSelectorControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeSelectorControlValueAccessor, deps: [{ token: i1.DateTimeSelectorComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
106
|
-
DateTimeSelectorControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.6", type: DateTimeSelectorControlValueAccessor, selector: "date-time-selector[formControlName],date-time-selector[formControl],date-time-selector[ngModel]", inputs: { range: "range", formatted: "formatted" }, providers: [DATE_TIME_SELECTOR_VALUE_ACCESSOR], ngImport: i0 });
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeSelectorControlValueAccessor, decorators: [{
|
|
108
|
-
type: Directive,
|
|
109
|
-
args: [{
|
|
110
|
-
selector: 'date-time-selector[formControlName],date-time-selector[formControl],date-time-selector[ngModel]',
|
|
111
|
-
providers: [DATE_TIME_SELECTOR_VALUE_ACCESSOR]
|
|
112
|
-
}]
|
|
113
|
-
}], ctorParameters: function () { return [{ type: i1.DateTimeSelectorComponent }]; }, propDecorators: { range: [{
|
|
114
|
-
type: Input
|
|
115
|
-
}], formatted: [{
|
|
116
|
-
type: Input
|
|
117
|
-
}] } });
|
|
118
|
-
//# sourceMappingURL=selectorControlValueAccessor.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectorControlValueAccessor.directive.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.ts"],"names":[],"mappings":"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","sourcesContent":["import {Directive, ExistingProvider, forwardRef, Input, OnDestroy} from '@angular/core';\nimport {NG_VALUE_ACCESSOR, ControlValueAccessor} from '@angular/forms';\nimport {Subscription} from 'rxjs';\n\nimport {DateTimeValue} from '../../../../interfaces/dateTime/datetime.interface';\nimport {DateTimeSelectorComponent} from '../../components/selector/selector.component';\n\n/**\n * Value accessor provider for date time selector\n */\nconst DATE_TIME_SELECTOR_VALUE_ACCESSOR = <ExistingProvider>\n{\n provide: NG_VALUE_ACCESSOR, \n useExisting: forwardRef(() => DateTimeSelectorControlValueAccessor), \n multi: true\n};\n\n/**\n * Value accessor for getting and setting values for date time selector\n */\n@Directive(\n{\n selector: 'date-time-selector[formControlName],date-time-selector[formControl],date-time-selector[ngModel]',\n providers: [DATE_TIME_SELECTOR_VALUE_ACCESSOR]\n})\nexport class DateTimeSelectorControlValueAccessor<TDate> implements ControlValueAccessor, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Subscriptions that are destroyed on directive destruction\n */\n protected _subscriptions: Subscription = new Subscription();\n\n //######################### public properties - inputs #########################\n\n /**\n * Indication whether value for selector is represented as range from, to\n */\n @Input()\n public range: boolean = false;\n\n /**\n * Indication whether value for selector is represented as formatted string value, if both 'formatted' and 'range' are set, 'range' takes precedence\n */\n @Input()\n public formatted: boolean = false;\n\n //######################### constructor #########################\n constructor(protected _selector: DateTimeSelectorComponent<TDate>)\n {\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._subscriptions?.unsubscribe();\n }\n\n //######################### public methods - implementation of ControlValueAccessor #########################\n\n /**\n * Sets value to datetime selector\n */\n public writeValue(value: string|DateTimeValue<TDate>|TDate|null): void\n {\n if(this.range)\n {\n this._selector.value = value as DateTimeValue<TDate>;\n }\n else if(this.formatted)\n {\n this._selector.formattedValue = value as string;\n }\n else\n {\n this._selector.value =\n {\n from: value as TDate,\n to: value as TDate\n };\n }\n }\n\n /**\n * Registers callback that is called when value of datetime selector value changes\n */\n public registerOnChange(fn: (data: string|DateTimeValue<TDate>|TDate|null) => any): void\n {\n this._subscriptions.add(this._selector.valueChange.subscribe(() => this._emitValue(fn)));\n }\n\n /**\n * Registers callback that is called when datetime selector was touched by user\n */\n public registerOnTouched(fn: () => any): void\n {\n this._subscriptions.add(this._selector.touched.subscribe(() => fn()));\n }\n\n /**\n * Used for setting control as disabled\n * @param isDisabled - disabled status to set on the element\n */\n public setDisabledState(isDisabled: boolean): void\n {\n this._selector.setDisabled(isDisabled);\n }\n\n //######################### protected methods #########################\n\n /**\n * Used for emitting value that was changed\n * @param fn - Function that is used for emitting changed value\n */\n protected _emitValue(fn: (value: string|DateTimeValue<TDate>|TDate|null) => any): void\n {\n if(this.range)\n {\n fn(this._selector.value);\n }\n else if(this.formatted)\n {\n fn(this._selector.formattedValue);\n }\n else\n {\n const value = this._selector.value;\n\n if(!value)\n {\n fn(null);\n }\n else\n {\n fn(value.from!);\n }\n }\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/legacy/selector/interfaces.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './misc/datetimeSelector.interface';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datetimeSelector.interface.js","sourceRoot":"","sources":["../../../../../src/legacy/selector/misc/datetimeSelector.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Type} from '@angular/core';\nimport {PositionOptions} from '@anglr/common';\nimport {Observable} from 'rxjs';\n\nimport {DateTimeValue} from '../../../interfaces/dateTime/datetime.interface';\nimport {DateTimePickerLegacyOptions} from '../../picker/misc/datetimePicker.interface';\n\n/**\n * Defintion of datetime selector component options\n */\nexport interface DateTimeSelectorOptions<TSelector = any, TPicker = any> extends DateTimePickerLegacyOptions<TPicker>\n{\n /**\n * Definition of type that is used for selector\n */\n selectorComponent: Type<TSelector>;\n\n /**\n * Indication whether close picker on value selection\n */\n pickerCloseOnValueSelect: boolean;\n\n /**\n * Indication whether picker is disabled\n */\n pickerDisabled: boolean;\n\n /**\n * Indication whether use absolute positioning of picker\n */\n pickerAbsolute: boolean;\n\n /**\n * Position options that are used in case of absolute picker\n */\n positionOptions: Partial<PositionOptions>;\n\n /**\n * Css selector for absolute picker container\n */\n pickerAbsoluteContainer: string;\n}\n\n/**\n * Describes datetime selector component used for displaying and selecting value\n */\nexport interface DateTimeSelector<TDate = any>\n{\n /**\n * Currently used format for displaying data\n */\n format: string;\n\n /**\n * Placeholder that is displayed when there is no value selected\n */\n placeholder: string|null;\n\n /**\n * Gets current value of datetime\n */\n readonly value: DateTimeValue<TDate>|null;\n\n /**\n * Gets formatted value\n */\n readonly formattedValue: string|null;\n\n /**\n * Gets indication whether is current value valid\n */\n readonly valid: boolean;\n\n /**\n * Occurs when value changes\n */\n readonly valueChange: Observable<void>;\n\n /**\n * Occurs when selector is touched by user\n */\n readonly touched: Observable<void>;\n\n /**\n * Occurs when selector requires picker to be displayed or hidden\n */\n readonly pickerRequest: Observable<boolean>;\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 setMinValue(value: TDate|null): void;\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 setMaxValue(value: TDate|null): void;\n\n /**\n * Sets value of datetime selector\n * @param value - Value to be set to this selector\n */\n setValue(value: DateTimeValue<TDate>|null): void;\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 setDisabled(disabled?: boolean): void;\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n invalidateVisuals(): void;\n}"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Injection token used for obtaining datetime selector configuration
|
|
4
|
-
*/
|
|
5
|
-
export const DATE_TIME_SELECTOR_CONFIGURATION = new InjectionToken('DATE_TIME_SELECTOR_CONFIGURATION');
|
|
6
|
-
//# sourceMappingURL=tokens.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../../src/legacy/selector/misc/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAI7C;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqD,IAAI,cAAc,CAAmC,kCAAkC,CAAC,CAAC","sourcesContent":["import {InjectionToken} from '@angular/core';\n\nimport {DateTimeSelectorOptions} from './datetimeSelector.interface';\n\n/**\n * Injection token used for obtaining datetime selector configuration\n */\nexport const DATE_TIME_SELECTOR_CONFIGURATION: InjectionToken<Partial<DateTimeSelectorOptions>> = new InjectionToken<Partial<DateTimeSelectorOptions>>('DATE_TIME_SELECTOR_CONFIGURATION');"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { SimpleInputDateTimeSelectorComponent } from '../components/simpleInputDateTime/simpleInputDateTime.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Angular module for date time basic input selector component
|
|
6
|
-
*/
|
|
7
|
-
export class DateTimeBasicSelectorModule {
|
|
8
|
-
}
|
|
9
|
-
DateTimeBasicSelectorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeBasicSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
DateTimeBasicSelectorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.6", ngImport: i0, type: DateTimeBasicSelectorModule, declarations: [SimpleInputDateTimeSelectorComponent] });
|
|
11
|
-
DateTimeBasicSelectorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeBasicSelectorModule });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeBasicSelectorModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
declarations: [
|
|
16
|
-
SimpleInputDateTimeSelectorComponent
|
|
17
|
-
]
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=basicSelector.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basicSelector.module.js","sourceRoot":"","sources":["../../../../../src/legacy/selector/modules/basicSelector.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,oCAAoC,EAAC,MAAM,iEAAiE,CAAC;;AAErH;;GAEG;AAQH,MAAM,OAAO,2BAA2B;;wHAA3B,2BAA2B;yHAA3B,2BAA2B,iBAHhC,oCAAoC;yHAG/B,2BAA2B;2FAA3B,2BAA2B;kBAPvC,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,oCAAoC;qBACvC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {SimpleInputDateTimeSelectorComponent} from '../components/simpleInputDateTime/simpleInputDateTime.component';\n\n/**\n * Angular module for date time basic input selector component\n */\n@NgModule(\n{\n declarations:\n [\n SimpleInputDateTimeSelectorComponent\n ]\n})\nexport class DateTimeBasicSelectorModule\n{\n}"]}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule as AngularCommonModule } from '@angular/common';
|
|
3
|
-
import { CommonDynamicModule } from '@anglr/common';
|
|
4
|
-
import { DateTimeLegacyPickerModule } from '../../picker/modules/picker.module';
|
|
5
|
-
import { DateTimeSelectorComponent } from '../components/selector/selector.component';
|
|
6
|
-
import { InputDateTimeSelectorComponent } from '../components/inputDateTime/inputDateTime.component';
|
|
7
|
-
import { DateTimeSelectorControlValueAccessor } from '../directives/selectorControlValueAccessor/selectorControlValueAccessor.directive';
|
|
8
|
-
import { DatetimeValidatorDirective } from '../directives/datetimeValidator/datetimeValidator.directive';
|
|
9
|
-
import { DatetimeMinValidatorDirective } from '../directives/datetimeMinValidator/datetimeMinValidator.directive';
|
|
10
|
-
import { DatetimeMaxValidatorDirective } from '../directives/datetimeMaxValidator/datetimeMaxValidator.directive';
|
|
11
|
-
import { DateTimePickerRendererDirective } from '../directives/dateTimePickerRenderer/dateTimePickerRenderer.directive';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Angular module for date time selector components
|
|
15
|
-
*/
|
|
16
|
-
export class DateTimeSelectorModule {
|
|
17
|
-
}
|
|
18
|
-
DateTimeSelectorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
-
DateTimeSelectorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.6", ngImport: i0, type: DateTimeSelectorModule, declarations: [DateTimeSelectorComponent,
|
|
20
|
-
InputDateTimeSelectorComponent,
|
|
21
|
-
DateTimeSelectorControlValueAccessor,
|
|
22
|
-
DatetimeValidatorDirective,
|
|
23
|
-
DatetimeMinValidatorDirective,
|
|
24
|
-
DatetimeMaxValidatorDirective,
|
|
25
|
-
DateTimePickerRendererDirective], imports: [AngularCommonModule,
|
|
26
|
-
CommonDynamicModule,
|
|
27
|
-
DateTimeLegacyPickerModule], exports: [DateTimeSelectorComponent,
|
|
28
|
-
DateTimeSelectorControlValueAccessor,
|
|
29
|
-
DatetimeValidatorDirective,
|
|
30
|
-
DatetimeMinValidatorDirective,
|
|
31
|
-
DatetimeMaxValidatorDirective,
|
|
32
|
-
DateTimePickerRendererDirective] });
|
|
33
|
-
DateTimeSelectorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeSelectorModule, imports: [AngularCommonModule,
|
|
34
|
-
CommonDynamicModule,
|
|
35
|
-
DateTimeLegacyPickerModule] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: DateTimeSelectorModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
imports: [
|
|
40
|
-
AngularCommonModule,
|
|
41
|
-
CommonDynamicModule,
|
|
42
|
-
DateTimeLegacyPickerModule,
|
|
43
|
-
],
|
|
44
|
-
declarations: [
|
|
45
|
-
DateTimeSelectorComponent,
|
|
46
|
-
InputDateTimeSelectorComponent,
|
|
47
|
-
DateTimeSelectorControlValueAccessor,
|
|
48
|
-
DatetimeValidatorDirective,
|
|
49
|
-
DatetimeMinValidatorDirective,
|
|
50
|
-
DatetimeMaxValidatorDirective,
|
|
51
|
-
DateTimePickerRendererDirective,
|
|
52
|
-
],
|
|
53
|
-
exports: [
|
|
54
|
-
DateTimeSelectorComponent,
|
|
55
|
-
DateTimeSelectorControlValueAccessor,
|
|
56
|
-
DatetimeValidatorDirective,
|
|
57
|
-
DatetimeMinValidatorDirective,
|
|
58
|
-
DatetimeMaxValidatorDirective,
|
|
59
|
-
DateTimePickerRendererDirective,
|
|
60
|
-
]
|
|
61
|
-
}]
|
|
62
|
-
}] });
|
|
63
|
-
//# sourceMappingURL=selector.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selector.module.js","sourceRoot":"","sources":["../../../../../src/legacy/selector/modules/selector.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,IAAI,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAC,mBAAmB,EAAC,MAAM,eAAe,CAAC;AAElD,OAAO,EAAC,0BAA0B,EAAC,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAC,yBAAyB,EAAC,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAC,8BAA8B,EAAC,MAAM,qDAAqD,CAAC;AACnG,OAAO,EAAC,oCAAoC,EAAC,MAAM,mFAAmF,CAAC;AACvI,OAAO,EAAC,0BAA0B,EAAC,MAAM,6DAA6D,CAAC;AACvG,OAAO,EAAC,6BAA6B,EAAC,MAAM,mEAAmE,CAAC;AAChH,OAAO,EAAC,6BAA6B,EAAC,MAAM,mEAAmE,CAAC;AAChH,OAAO,EAAC,+BAA+B,EAAC,MAAM,uEAAuE,CAAC;;AAEtH;;GAEG;AA6BH,MAAM,OAAO,sBAAsB;;mHAAtB,sBAAsB;oHAAtB,sBAAsB,iBAlB3B,yBAAyB;QACzB,8BAA8B;QAC9B,oCAAoC;QACpC,0BAA0B;QAC1B,6BAA6B;QAC7B,6BAA6B;QAC7B,+BAA+B,aAZ/B,mBAAmB;QACnB,mBAAmB;QACnB,0BAA0B,aAc1B,yBAAyB;QACzB,oCAAoC;QACpC,0BAA0B;QAC1B,6BAA6B;QAC7B,6BAA6B;QAC7B,+BAA+B;oHAG1B,sBAAsB,YAxB3B,mBAAmB;QACnB,mBAAmB;QACnB,0BAA0B;2FAsBrB,sBAAsB;kBA5BlC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,mBAAmB;wBACnB,mBAAmB;wBACnB,0BAA0B;qBAC7B;oBACD,YAAY,EACZ;wBACI,yBAAyB;wBACzB,8BAA8B;wBAC9B,oCAAoC;wBACpC,0BAA0B;wBAC1B,6BAA6B;wBAC7B,6BAA6B;wBAC7B,+BAA+B;qBAClC;oBACD,OAAO,EACP;wBACI,yBAAyB;wBACzB,oCAAoC;wBACpC,0BAA0B;wBAC1B,6BAA6B;wBAC7B,6BAA6B;wBAC7B,+BAA+B;qBAClC;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule as AngularCommonModule} from '@angular/common';\nimport {CommonDynamicModule} from '@anglr/common';\n\nimport {DateTimeLegacyPickerModule} from '../../picker/modules/picker.module';\nimport {DateTimeSelectorComponent} from '../components/selector/selector.component';\nimport {InputDateTimeSelectorComponent} from '../components/inputDateTime/inputDateTime.component';\nimport {DateTimeSelectorControlValueAccessor} from '../directives/selectorControlValueAccessor/selectorControlValueAccessor.directive';\nimport {DatetimeValidatorDirective} from '../directives/datetimeValidator/datetimeValidator.directive';\nimport {DatetimeMinValidatorDirective} from '../directives/datetimeMinValidator/datetimeMinValidator.directive';\nimport {DatetimeMaxValidatorDirective} from '../directives/datetimeMaxValidator/datetimeMaxValidator.directive';\nimport {DateTimePickerRendererDirective} from '../directives/dateTimePickerRenderer/dateTimePickerRenderer.directive';\n\n/**\n * Angular module for date time selector components\n */\n@NgModule(\n{\n imports:\n [\n AngularCommonModule,\n CommonDynamicModule,\n DateTimeLegacyPickerModule,\n ],\n declarations:\n [\n DateTimeSelectorComponent,\n InputDateTimeSelectorComponent,\n DateTimeSelectorControlValueAccessor,\n DatetimeValidatorDirective,\n DatetimeMinValidatorDirective,\n DatetimeMaxValidatorDirective,\n DateTimePickerRendererDirective,\n ],\n exports:\n [\n DateTimeSelectorComponent,\n DateTimeSelectorControlValueAccessor,\n DatetimeValidatorDirective,\n DatetimeMinValidatorDirective,\n DatetimeMaxValidatorDirective,\n DateTimePickerRendererDirective,\n ]\n})\nexport class DateTimeSelectorModule\n{\n}"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './components/inputDateTime/inputDateTime.component';
|
|
2
|
-
export * from './components/selector/selector.component';
|
|
3
|
-
export * from './components/selector/selector.component.animations';
|
|
4
|
-
export * from './components/simpleInputDateTime/simpleInputDateTime.component';
|
|
5
|
-
export * from './directives/datetimeMaxValidator/datetimeMaxValidator.directive';
|
|
6
|
-
export * from './directives/datetimeMinValidator/datetimeMinValidator.directive';
|
|
7
|
-
export * from './directives/datetimeValidator/datetimeValidator.directive';
|
|
8
|
-
export * from './directives/selectorControlValueAccessor/selectorControlValueAccessor.directive';
|
|
9
|
-
export * from './directives/dateTimePickerRenderer/dateTimePickerRenderer.directive';
|
|
10
|
-
export * from './misc/tokens';
|
|
11
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/legacy/selector/types.ts"],"names":[],"mappings":"AAAA,cAAc,oDAAoD,CAAC;AACnE,cAAc,0CAA0C,CAAC;AACzD,cAAc,qDAAqD,CAAC;AACpE,cAAc,gEAAgE,CAAC;AAC/E,cAAc,kEAAkE,CAAC;AACjF,cAAc,kEAAkE,CAAC;AACjF,cAAc,4DAA4D,CAAC;AAC3E,cAAc,kFAAkF,CAAC;AACjG,cAAc,sEAAsE,CAAC;AACrF,cAAc,eAAe,CAAC","sourcesContent":["export * from './components/inputDateTime/inputDateTime.component';\nexport * from './components/selector/selector.component';\nexport * from './components/selector/selector.component.animations';\nexport * from './components/simpleInputDateTime/simpleInputDateTime.component';\nexport * from './directives/datetimeMaxValidator/datetimeMaxValidator.directive';\nexport * from './directives/datetimeMinValidator/datetimeMinValidator.directive';\nexport * from './directives/datetimeValidator/datetimeValidator.directive';\nexport * from './directives/selectorControlValueAccessor/selectorControlValueAccessor.directive';\nexport * from './directives/dateTimePickerRenderer/dateTimePickerRenderer.directive';\nexport * from './misc/tokens';"]}
|
|
File without changes
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Component used for displaying clock time picker
|
|
4
|
-
*/
|
|
5
|
-
export declare class ClockTimePickerComponent {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClockTimePickerComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClockTimePickerComponent, "date-time-clock-time-picker", never, {}, {}, never, never, false>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=clockTimePicker.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clockTimePicker.component.d.ts","sourceRoot":"","sources":["clockTimePicker.component.ts"],"names":[],"mappings":";AAEA;;GAEG;AACH,qBAOa,wBAAwB;yCAAxB,wBAAwB;2CAAxB,wBAAwB;CAEpC"}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clockTimePicker.interface.d.ts","sourceRoot":"","sources":["clockTimePicker.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;CAEzC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.period-data
|
|
2
|
-
{
|
|
3
|
-
grid-template-columns: repeat(7, 1fr);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.weekday
|
|
7
|
-
{
|
|
8
|
-
text-align: center;
|
|
9
|
-
font-weight: bold;
|
|
10
|
-
opacity: 0.7;
|
|
11
|
-
margin-bottom: 6px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.period-datum:not(.other-month)
|
|
15
|
-
{
|
|
16
|
-
font-weight: bold;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.other-month
|
|
20
|
-
{
|
|
21
|
-
opacity: 0.5;
|
|
22
|
-
}
|