@anglr/datetime 5.0.0-beta.20221017033852 → 5.0.0-beta.20221018102923
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 +113 -0
- package/date-fns/src/services/dateFnsDateApi.service.d.ts +4 -0
- package/date-fns/src/services/dateFnsDateApi.service.d.ts.map +1 -1
- package/es2015/date-fns/src/services/dateFnsDateApi.service.js +11 -5
- package/es2015/date-fns/src/services/dateFnsDateApi.service.js.map +1 -1
- package/es2015/moment/src/services/momentDateApi.service.js +9 -3
- package/es2015/moment/src/services/momentDateApi.service.js.map +1 -1
- package/es2015/src/index.js +13 -13
- package/es2015/src/index.js.map +1 -1
- package/es2015/src/{misc → interfaces/dateTime}/datetime.interface.js +0 -0
- package/es2015/src/interfaces/dateTime/datetime.interface.js.map +1 -0
- package/es2015/src/interfaces/dateTimeInput/dateTimeInput.interface.js +2 -0
- package/es2015/src/interfaces/dateTimeInput/dateTimeInput.interface.js.map +1 -0
- package/es2015/src/{services → interfaces/formatProvider}/formatProvider.interface.js +0 -0
- package/es2015/src/interfaces/formatProvider/formatProvider.interface.js.map +1 -0
- package/es2015/src/interfaces/index.js +4 -0
- package/es2015/src/interfaces/index.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/picker/components/clockTimePicker/clockTimePicker.component.js +4 -4
- package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.interface.js +0 -0
- package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/dayPicker/dayPicker.component.js +6 -6
- package/es2015/src/legacy/picker/components/dayPicker/dayPicker.component.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/dayPicker/dayPicker.interfaces.js +0 -0
- package/es2015/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/picker/components/monthPicker/monthPicker.component.js +5 -5
- package/es2015/src/legacy/picker/components/monthPicker/monthPicker.component.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/monthPicker/monthPicker.interfaces.js +0 -0
- package/es2015/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/picker/picker.component.animations.js +0 -0
- package/es2015/src/legacy/picker/components/picker/picker.component.animations.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/picker/picker.component.js +5 -5
- package/es2015/src/legacy/picker/components/picker/picker.component.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/picker/components/pickerBase.component.js +4 -4
- package/es2015/src/legacy/picker/components/pickerBase.component.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/picker/components/pickerImplBase.component.js +4 -4
- package/es2015/src/legacy/picker/components/pickerImplBase.component.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.component.js +8 -8
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.data.js +0 -0
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.interface.js +0 -0
- package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/picker/components/yearPicker/yearPicker.component.js +5 -5
- package/es2015/src/legacy/picker/components/yearPicker/yearPicker.component.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/components/yearPicker/yearPicker.interfaces.js +0 -0
- package/es2015/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/directives/index.js +0 -0
- package/es2015/src/legacy/picker/directives/index.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.directive.js +3 -3
- package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.directive.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.interface.js +0 -0
- package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.interface.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/directives/loopScrollData/loopScrollData.directive.js +3 -3
- package/es2015/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/interfaces.js +0 -0
- package/es2015/src/legacy/picker/interfaces.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/misc/datetimePicker.interface.js +0 -0
- package/es2015/src/legacy/picker/misc/datetimePicker.interface.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/misc/tokens.js +0 -0
- package/es2015/src/legacy/picker/misc/tokens.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/picker/modules/picker.module.js +10 -12
- package/es2015/src/legacy/picker/modules/picker.module.js.map +1 -0
- package/es2015/src/{picker → legacy/picker}/types.js +0 -0
- package/es2015/src/legacy/picker/types.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/components/inputDateTime/inputDateTime.component.js +7 -9
- package/es2015/src/legacy/selector/components/inputDateTime/inputDateTime.component.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/components/selector/selector.component.animations.js +0 -0
- package/es2015/src/legacy/selector/components/selector/selector.component.animations.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/components/selector/selector.component.js +9 -9
- package/es2015/src/legacy/selector/components/selector/selector.component.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/components/simpleInputDateTime/simpleInputDateTime.component.js +6 -6
- package/es2015/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js +3 -3
- package/es2015/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +5 -5
- package/es2015/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/directives/datetimeMinValidator/datetimeMinValidator.directive.js +5 -5
- package/es2015/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/selector/directives/datetimeValidator/datetimeValidator.directive.js +4 -4
- package/es2015/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +3 -3
- package/es2015/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/interfaces.js +0 -0
- package/es2015/src/legacy/selector/interfaces.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/misc/datetimeSelector.interface.js +0 -0
- package/es2015/src/legacy/selector/misc/datetimeSelector.interface.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/misc/tokens.js +0 -0
- package/es2015/src/legacy/selector/misc/tokens.js.map +1 -0
- package/{es2020/src → es2015/src/legacy}/selector/modules/basicSelector.module.js +4 -4
- package/es2015/src/legacy/selector/modules/basicSelector.module.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/modules/selector.module.js +6 -8
- package/es2015/src/legacy/selector/modules/selector.module.js.map +1 -0
- package/es2015/src/{selector → legacy/selector}/types.js +0 -0
- package/es2015/src/legacy/selector/types.js.map +1 -0
- package/es2015/src/misc/enums.js +23 -0
- package/es2015/src/misc/enums.js.map +1 -0
- package/es2015/src/misc/tokens.js +4 -0
- package/es2015/src/misc/tokens.js.map +1 -1
- package/es2015/src/misc/types.js +2 -0
- package/es2015/src/misc/types.js.map +1 -0
- package/es2015/src/misc/utils.js +112 -0
- package/es2015/src/misc/utils.js.map +1 -0
- package/es2015/src/misc/validators.js +107 -0
- package/es2015/src/misc/validators.js.map +1 -1
- package/es2015/src/modules/datePipes.module.js +4 -4
- package/es2015/src/modules/dateTime/directives/dateTimeBase.js +77 -0
- package/es2015/src/modules/dateTime/directives/dateTimeBase.js.map +1 -0
- package/es2015/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js +76 -0
- package/es2015/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js.map +1 -0
- package/es2015/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js +144 -0
- package/es2015/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js.map +1 -0
- package/es2015/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js +72 -0
- package/es2015/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js.map +1 -0
- package/es2015/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js +71 -0
- package/es2015/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js.map +1 -0
- package/es2015/src/modules/dateTime/directives/dateTimeRestrictedBase.js +152 -0
- package/es2015/src/modules/dateTime/directives/dateTimeRestrictedBase.js.map +1 -0
- package/es2015/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js +64 -0
- package/es2015/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js.map +1 -0
- package/es2015/src/modules/dateTime/directives/index.js +8 -0
- package/es2015/src/modules/dateTime/directives/index.js.map +1 -0
- package/es2015/src/modules/dateTime/index.js +3 -0
- package/es2015/src/modules/dateTime/index.js.map +1 -0
- package/es2015/src/modules/dateTime/modules/dateTime.module.js +39 -0
- package/es2015/src/modules/dateTime/modules/dateTime.module.js.map +1 -0
- package/es2015/src/modules/dateTime/modules/index.js +2 -0
- package/es2015/src/modules/dateTime/modules/index.js.map +1 -0
- package/es2015/src/modules/index.js +3 -0
- package/es2015/src/modules/index.js.map +1 -0
- package/es2015/src/pipes/dateConvert.pipe.js +3 -3
- package/es2015/src/pipes/dateFormat.pipe.js +3 -3
- package/es2015/src/pipes/dateFormat.pipe.js.map +1 -1
- package/es2015/src/services/{dateApi.interface.js → dateApi/dateApi.interface.js} +0 -0
- package/es2015/src/services/dateApi/dateApi.interface.js.map +1 -0
- package/es2015/src/services/{datePositionParser.interface.js → datePositionParser/datePositionParser.interface.js} +0 -0
- package/es2015/src/services/datePositionParser/datePositionParser.interface.js.map +1 -0
- package/{es2020/src/services → es2015/src/services/datePositionParser}/datePositionParser.service.js +3 -3
- package/es2015/src/services/datePositionParser/datePositionParser.service.js.map +1 -0
- package/es2015/src/services/{dateTimeRelativeParser.service.js → dateTimeRelativeParser/dateTimeRelativeParser.service.js} +11 -11
- package/es2015/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js.map +1 -0
- package/{es2020/src/services → es2015/src/services/dateValueProvider}/dateValueProvider.service.js +4 -4
- package/es2015/src/services/dateValueProvider/dateValueProvider.service.js.map +1 -0
- package/es2015/src/services/index.js +5 -3
- package/es2015/src/services/index.js.map +1 -1
- package/es2020/date-fns/src/services/dateFnsDateApi.service.js +11 -5
- package/es2020/date-fns/src/services/dateFnsDateApi.service.js.map +1 -1
- package/es2020/moment/src/services/momentDateApi.service.js +9 -3
- package/es2020/moment/src/services/momentDateApi.service.js.map +1 -1
- package/es2020/src/index.js +13 -13
- package/es2020/src/index.js.map +1 -1
- package/es2020/src/{misc → interfaces/dateTime}/datetime.interface.js +0 -0
- package/es2020/src/interfaces/dateTime/datetime.interface.js.map +1 -0
- package/es2020/src/interfaces/dateTimeInput/dateTimeInput.interface.js +2 -0
- package/es2020/src/interfaces/dateTimeInput/dateTimeInput.interface.js.map +1 -0
- package/es2020/src/{services → interfaces/formatProvider}/formatProvider.interface.js +0 -0
- package/es2020/src/interfaces/formatProvider/formatProvider.interface.js.map +1 -0
- package/es2020/src/interfaces/index.js +4 -0
- package/es2020/src/interfaces/index.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/picker/components/clockTimePicker/clockTimePicker.component.js +4 -4
- package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.interface.js +0 -0
- package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/dayPicker/dayPicker.component.js +6 -6
- package/es2020/src/legacy/picker/components/dayPicker/dayPicker.component.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/dayPicker/dayPicker.interfaces.js +0 -0
- package/es2020/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/picker/components/monthPicker/monthPicker.component.js +5 -5
- package/es2020/src/legacy/picker/components/monthPicker/monthPicker.component.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/monthPicker/monthPicker.interfaces.js +0 -0
- package/es2020/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/picker/picker.component.animations.js +0 -0
- package/es2020/src/legacy/picker/components/picker/picker.component.animations.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/picker/picker.component.js +5 -5
- package/es2020/src/legacy/picker/components/picker/picker.component.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/picker/components/pickerBase.component.js +4 -4
- package/es2020/src/legacy/picker/components/pickerBase.component.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/picker/components/pickerImplBase.component.js +4 -4
- package/es2020/src/legacy/picker/components/pickerImplBase.component.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.component.js +8 -8
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.data.js +0 -0
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.interface.js +0 -0
- package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/picker/components/yearPicker/yearPicker.component.js +5 -5
- package/es2020/src/legacy/picker/components/yearPicker/yearPicker.component.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/components/yearPicker/yearPicker.interfaces.js +0 -0
- package/es2020/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/directives/index.js +0 -0
- package/es2020/src/legacy/picker/directives/index.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.directive.js +3 -3
- package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.directive.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.interface.js +0 -0
- package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.interface.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/directives/loopScrollData/loopScrollData.directive.js +3 -3
- package/es2020/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/interfaces.js +0 -0
- package/es2020/src/legacy/picker/interfaces.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/misc/datetimePicker.interface.js +0 -0
- package/es2020/src/legacy/picker/misc/datetimePicker.interface.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/misc/tokens.js +0 -0
- package/es2020/src/legacy/picker/misc/tokens.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/picker/modules/picker.module.js +10 -12
- package/es2020/src/legacy/picker/modules/picker.module.js.map +1 -0
- package/es2020/src/{picker → legacy/picker}/types.js +0 -0
- package/es2020/src/legacy/picker/types.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/components/inputDateTime/inputDateTime.component.js +7 -9
- package/es2020/src/legacy/selector/components/inputDateTime/inputDateTime.component.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/components/selector/selector.component.animations.js +0 -0
- package/es2020/src/legacy/selector/components/selector/selector.component.animations.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/components/selector/selector.component.js +9 -9
- package/es2020/src/legacy/selector/components/selector/selector.component.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/components/simpleInputDateTime/simpleInputDateTime.component.js +6 -6
- package/es2020/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js +3 -3
- package/es2020/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +5 -5
- package/es2020/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/directives/datetimeMinValidator/datetimeMinValidator.directive.js +5 -5
- package/es2020/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/selector/directives/datetimeValidator/datetimeValidator.directive.js +4 -4
- package/es2020/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +3 -3
- package/es2020/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/interfaces.js +0 -0
- package/es2020/src/legacy/selector/interfaces.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/misc/datetimeSelector.interface.js +0 -0
- package/es2020/src/legacy/selector/misc/datetimeSelector.interface.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/misc/tokens.js +0 -0
- package/es2020/src/legacy/selector/misc/tokens.js.map +1 -0
- package/{es2015/src → es2020/src/legacy}/selector/modules/basicSelector.module.js +4 -4
- package/es2020/src/legacy/selector/modules/basicSelector.module.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/modules/selector.module.js +6 -8
- package/es2020/src/legacy/selector/modules/selector.module.js.map +1 -0
- package/es2020/src/{selector → legacy/selector}/types.js +0 -0
- package/es2020/src/legacy/selector/types.js.map +1 -0
- package/es2020/src/misc/enums.js +23 -0
- package/es2020/src/misc/enums.js.map +1 -0
- package/es2020/src/misc/tokens.js +4 -0
- package/es2020/src/misc/tokens.js.map +1 -1
- package/es2020/src/misc/types.js +2 -0
- package/es2020/src/misc/types.js.map +1 -0
- package/es2020/src/misc/utils.js +111 -0
- package/es2020/src/misc/utils.js.map +1 -0
- package/es2020/src/misc/validators.js +107 -0
- package/es2020/src/misc/validators.js.map +1 -1
- package/es2020/src/modules/datePipes.module.js +4 -4
- package/es2020/src/modules/dateTime/directives/dateTimeBase.js +77 -0
- package/es2020/src/modules/dateTime/directives/dateTimeBase.js.map +1 -0
- package/es2020/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js +76 -0
- package/es2020/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js.map +1 -0
- package/es2020/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js +143 -0
- package/es2020/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js.map +1 -0
- package/es2020/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js +72 -0
- package/es2020/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js.map +1 -0
- package/es2020/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js +71 -0
- package/es2020/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js.map +1 -0
- package/es2020/src/modules/dateTime/directives/dateTimeRestrictedBase.js +149 -0
- package/es2020/src/modules/dateTime/directives/dateTimeRestrictedBase.js.map +1 -0
- package/es2020/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js +64 -0
- package/es2020/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js.map +1 -0
- package/es2020/src/modules/dateTime/directives/index.js +8 -0
- package/es2020/src/modules/dateTime/directives/index.js.map +1 -0
- package/es2020/src/modules/dateTime/index.js +3 -0
- package/es2020/src/modules/dateTime/index.js.map +1 -0
- package/es2020/src/modules/dateTime/modules/dateTime.module.js +39 -0
- package/es2020/src/modules/dateTime/modules/dateTime.module.js.map +1 -0
- package/es2020/src/modules/dateTime/modules/index.js +2 -0
- package/es2020/src/modules/dateTime/modules/index.js.map +1 -0
- package/es2020/src/modules/index.js +3 -0
- package/es2020/src/modules/index.js.map +1 -0
- package/es2020/src/pipes/dateConvert.pipe.js +3 -3
- package/es2020/src/pipes/dateFormat.pipe.js +3 -3
- package/es2020/src/pipes/dateFormat.pipe.js.map +1 -1
- package/es2020/src/services/{dateApi.interface.js → dateApi/dateApi.interface.js} +0 -0
- package/es2020/src/services/dateApi/dateApi.interface.js.map +1 -0
- package/es2020/src/services/{datePositionParser.interface.js → datePositionParser/datePositionParser.interface.js} +0 -0
- package/es2020/src/services/datePositionParser/datePositionParser.interface.js.map +1 -0
- package/{es2015/src/services → es2020/src/services/datePositionParser}/datePositionParser.service.js +3 -3
- package/es2020/src/services/datePositionParser/datePositionParser.service.js.map +1 -0
- package/es2020/src/services/{dateTimeRelativeParser.service.js → dateTimeRelativeParser/dateTimeRelativeParser.service.js} +11 -11
- package/es2020/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js.map +1 -0
- package/{es2015/src/services → es2020/src/services/dateValueProvider}/dateValueProvider.service.js +4 -4
- package/es2020/src/services/dateValueProvider/dateValueProvider.service.js.map +1 -0
- package/es2020/src/services/index.js +5 -3
- package/es2020/src/services/index.js.map +1 -1
- package/moment/src/services/momentDateApi.service.d.ts +4 -0
- package/moment/src/services/momentDateApi.service.d.ts.map +1 -1
- package/package.json +36 -36
- package/src/index.d.ts +13 -13
- package/src/index.d.ts.map +1 -1
- package/src/{misc → interfaces/dateTime}/datetime.interface.d.ts +2 -2
- package/src/interfaces/dateTime/datetime.interface.d.ts.map +1 -0
- package/src/interfaces/dateTimeInput/dateTimeInput.interface.d.ts +37 -0
- package/src/interfaces/dateTimeInput/dateTimeInput.interface.d.ts.map +1 -0
- package/src/{services → interfaces/formatProvider}/formatProvider.interface.d.ts +0 -0
- package/src/{services → interfaces/formatProvider}/formatProvider.interface.d.ts.map +0 -0
- package/src/interfaces/index.d.ts +4 -0
- package/src/interfaces/index.d.ts.map +1 -0
- package/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.component.css +0 -0
- package/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.component.d.ts +1 -1
- package/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.component.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.component.html +0 -0
- package/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.interface.d.ts +0 -0
- package/src/{picker → legacy/picker}/components/clockTimePicker/clockTimePicker.interface.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/components/dayPicker/dayPicker.component.css +0 -0
- package/src/{picker → legacy/picker}/components/dayPicker/dayPicker.component.d.ts +3 -3
- package/src/{picker → legacy/picker}/components/dayPicker/dayPicker.component.d.ts.map +1 -1
- package/src/legacy/picker/components/dayPicker/dayPicker.component.html +21 -0
- package/src/{picker → legacy/picker}/components/dayPicker/dayPicker.interfaces.d.ts +0 -0
- package/src/{picker → legacy/picker}/components/dayPicker/dayPicker.interfaces.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/components/monthPicker/monthPicker.component.css +0 -0
- package/src/{picker → legacy/picker}/components/monthPicker/monthPicker.component.d.ts +2 -2
- package/src/{picker → legacy/picker}/components/monthPicker/monthPicker.component.d.ts.map +1 -1
- package/src/legacy/picker/components/monthPicker/monthPicker.component.html +13 -0
- package/src/{picker → legacy/picker}/components/monthPicker/monthPicker.interfaces.d.ts +0 -0
- package/src/{picker → legacy/picker}/components/monthPicker/monthPicker.interfaces.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/components/picker/picker.component.animations.d.ts +0 -0
- package/src/{picker → legacy/picker}/components/picker/picker.component.animations.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/components/picker/picker.component.css +0 -0
- package/src/{picker → legacy/picker}/components/picker/picker.component.d.ts +3 -3
- package/src/{picker → legacy/picker}/components/picker/picker.component.d.ts.map +1 -1
- package/src/legacy/picker/components/picker/picker.component.html +3 -0
- package/src/{picker → legacy/picker}/components/pickerBase.component.d.ts +3 -3
- package/src/{picker → legacy/picker}/components/pickerBase.component.d.ts.map +1 -1
- package/src/{picker → legacy/picker}/components/pickerImplBase.component.d.ts +3 -3
- package/src/{picker → legacy/picker}/components/pickerImplBase.component.d.ts.map +1 -1
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.component.css +0 -0
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.component.d.ts +3 -3
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.component.d.ts.map +1 -1
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.component.html +0 -0
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.data.d.ts +0 -0
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.data.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.interface.d.ts +0 -0
- package/src/{picker → legacy/picker}/components/rollerTimePicker/rollerTimePicker.interface.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/components/yearPicker/yearPicker.component.css +0 -0
- package/src/{picker → legacy/picker}/components/yearPicker/yearPicker.component.d.ts +2 -2
- package/src/{picker → legacy/picker}/components/yearPicker/yearPicker.component.d.ts.map +1 -1
- package/src/legacy/picker/components/yearPicker/yearPicker.component.html +13 -0
- package/src/{picker → legacy/picker}/components/yearPicker/yearPicker.interfaces.d.ts +0 -0
- package/src/{picker → legacy/picker}/components/yearPicker/yearPicker.interfaces.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/directives/index.d.ts +0 -0
- package/src/{picker → legacy/picker}/directives/index.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.directive.d.ts +1 -1
- package/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.directive.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.interface.d.ts +0 -0
- package/src/{picker → legacy/picker}/directives/loopScroll/loopScroll.interface.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/directives/loopScrollData/loopScrollData.directive.d.ts +1 -1
- package/src/{picker → legacy/picker}/directives/loopScrollData/loopScrollData.directive.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/interfaces.d.ts +0 -0
- package/src/{picker → legacy/picker}/interfaces.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/misc/datetimePicker.interface.d.ts +2 -2
- package/src/{picker → legacy/picker}/misc/datetimePicker.interface.d.ts.map +1 -1
- package/src/{picker → legacy/picker}/misc/tokens.d.ts +0 -0
- package/src/{picker → legacy/picker}/misc/tokens.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/modules/picker.module.d.ts +1 -1
- package/src/{picker → legacy/picker}/modules/picker.module.d.ts.map +0 -0
- package/src/{picker → legacy/picker}/types.d.ts +0 -0
- package/src/{picker → legacy/picker}/types.d.ts.map +0 -0
- package/src/{selector → legacy/selector}/components/inputDateTime/inputDateTime.component.css +0 -0
- package/src/{selector → legacy/selector}/components/inputDateTime/inputDateTime.component.d.ts +3 -5
- package/src/legacy/selector/components/inputDateTime/inputDateTime.component.d.ts.map +1 -0
- package/src/{selector → legacy/selector}/components/inputDateTime/inputDateTime.component.html +0 -0
- package/src/{selector → legacy/selector}/components/selector/selector.component.animations.d.ts +0 -0
- package/src/{selector → legacy/selector}/components/selector/selector.component.animations.d.ts.map +0 -0
- package/src/{selector → legacy/selector}/components/selector/selector.component.css +0 -0
- package/src/{selector → legacy/selector}/components/selector/selector.component.d.ts +4 -4
- package/src/{selector → legacy/selector}/components/selector/selector.component.d.ts.map +1 -1
- package/src/{selector → legacy/selector}/components/selector/selector.component.html +2 -2
- package/src/{selector → legacy/selector}/components/simpleInputDateTime/simpleInputDateTime.component.css +0 -0
- package/src/{selector → legacy/selector}/components/simpleInputDateTime/simpleInputDateTime.component.d.ts +3 -4
- package/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts.map +1 -0
- package/src/{selector → legacy/selector}/components/simpleInputDateTime/simpleInputDateTime.component.html +0 -0
- package/src/{selector → legacy/selector}/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.d.ts +2 -2
- package/src/{selector → legacy/selector}/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.d.ts.map +1 -1
- package/src/{selector → legacy/selector}/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts +2 -2
- package/src/{selector → legacy/selector}/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts.map +1 -1
- package/src/{selector → legacy/selector}/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts +2 -2
- package/src/{selector → legacy/selector}/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts.map +1 -1
- package/src/{selector → legacy/selector}/directives/datetimeValidator/datetimeValidator.directive.d.ts +1 -1
- package/src/{selector → legacy/selector}/directives/datetimeValidator/datetimeValidator.directive.d.ts.map +0 -0
- package/src/{selector → legacy/selector}/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts +2 -2
- package/src/{selector → legacy/selector}/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts.map +1 -1
- package/src/{selector → legacy/selector}/interfaces.d.ts +0 -0
- package/src/{selector → legacy/selector}/interfaces.d.ts.map +0 -0
- package/src/{selector → legacy/selector}/misc/datetimeSelector.interface.d.ts +1 -1
- package/src/{selector → legacy/selector}/misc/datetimeSelector.interface.d.ts.map +1 -1
- package/src/{selector → legacy/selector}/misc/tokens.d.ts +0 -0
- package/src/{selector → legacy/selector}/misc/tokens.d.ts.map +0 -0
- package/src/{selector → legacy/selector}/modules/basicSelector.module.d.ts +0 -0
- package/src/{selector → legacy/selector}/modules/basicSelector.module.d.ts.map +0 -0
- package/src/{selector → legacy/selector}/modules/selector.module.d.ts +0 -0
- package/src/{selector → legacy/selector}/modules/selector.module.d.ts.map +0 -0
- package/src/{selector → legacy/selector}/types.d.ts +0 -0
- package/src/{selector → legacy/selector}/types.d.ts.map +0 -0
- package/src/misc/enums.d.ts +22 -0
- package/src/misc/enums.d.ts.map +1 -0
- package/src/misc/tokens.d.ts +6 -1
- package/src/misc/tokens.d.ts.map +1 -1
- package/src/misc/types.d.ts +11 -0
- package/src/misc/types.d.ts.map +1 -0
- package/src/misc/utils.d.ts +30 -0
- package/src/misc/utils.d.ts.map +1 -0
- package/src/misc/validators.d.ts +26 -1
- package/src/misc/validators.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeBase.d.ts +56 -0
- package/src/modules/dateTime/directives/dateTimeBase.d.ts.map +1 -0
- package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts +40 -0
- package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts.map +1 -0
- package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts +61 -0
- package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts.map +1 -0
- package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts +33 -0
- package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts.map +1 -0
- package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts +33 -0
- package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts.map +1 -0
- package/src/modules/dateTime/directives/dateTimeRestrictedBase.d.ts +74 -0
- package/src/modules/dateTime/directives/dateTimeRestrictedBase.d.ts.map +1 -0
- package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts +29 -0
- package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts.map +1 -0
- package/src/modules/dateTime/directives/index.d.ts +8 -0
- package/src/modules/dateTime/directives/index.d.ts.map +1 -0
- package/src/modules/dateTime/index.d.ts +3 -0
- package/src/modules/dateTime/index.d.ts.map +1 -0
- package/src/modules/dateTime/modules/dateTime.module.d.ts +15 -0
- package/src/modules/dateTime/modules/dateTime.module.d.ts.map +1 -0
- package/src/modules/dateTime/modules/index.d.ts +2 -0
- package/src/modules/dateTime/modules/index.d.ts.map +1 -0
- package/src/modules/index.d.ts +3 -0
- package/src/modules/index.d.ts.map +1 -0
- package/src/pipes/dateConvert.pipe.d.ts +1 -1
- package/src/pipes/dateFormat.pipe.d.ts +3 -2
- package/src/pipes/dateFormat.pipe.d.ts.map +1 -1
- package/src/services/{dateApi.interface.d.ts → dateApi/dateApi.interface.d.ts} +4 -0
- package/src/services/dateApi/dateApi.interface.d.ts.map +1 -0
- package/src/services/{datePositionParser.interface.d.ts → datePositionParser/datePositionParser.interface.d.ts} +0 -0
- package/src/services/{datePositionParser.interface.d.ts.map → datePositionParser/datePositionParser.interface.d.ts.map} +0 -0
- package/src/services/{datePositionParser.service.d.ts → datePositionParser/datePositionParser.service.d.ts} +0 -0
- package/src/services/{datePositionParser.service.d.ts.map → datePositionParser/datePositionParser.service.d.ts.map} +0 -0
- package/src/services/{dateTimeRelativeParser.service.d.ts → dateTimeRelativeParser/dateTimeRelativeParser.service.d.ts} +3 -3
- package/src/services/{dateTimeRelativeParser.service.d.ts.map → dateTimeRelativeParser/dateTimeRelativeParser.service.d.ts.map} +1 -1
- package/src/services/{dateValueProvider.service.d.ts → dateValueProvider/dateValueProvider.service.d.ts} +2 -2
- package/src/services/{dateValueProvider.service.d.ts.map → dateValueProvider/dateValueProvider.service.d.ts.map} +1 -1
- package/src/services/index.d.ts +5 -3
- package/src/services/index.d.ts.map +1 -1
- package/version.bak +1 -1
- package/es2015/src/misc/datetime.interface.js.map +0 -1
- package/es2015/src/picker/components/clockTimePicker/clockTimePicker.component.js.map +0 -1
- package/es2015/src/picker/components/clockTimePicker/clockTimePicker.interface.js.map +0 -1
- package/es2015/src/picker/components/dayPicker/dayPicker.component.js.map +0 -1
- package/es2015/src/picker/components/dayPicker/dayPicker.interfaces.js.map +0 -1
- package/es2015/src/picker/components/monthPicker/monthPicker.component.js.map +0 -1
- package/es2015/src/picker/components/monthPicker/monthPicker.interfaces.js.map +0 -1
- package/es2015/src/picker/components/picker/picker.component.animations.js.map +0 -1
- package/es2015/src/picker/components/picker/picker.component.js.map +0 -1
- package/es2015/src/picker/components/pickerBase.component.js.map +0 -1
- package/es2015/src/picker/components/pickerImplBase.component.js.map +0 -1
- package/es2015/src/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +0 -1
- package/es2015/src/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +0 -1
- package/es2015/src/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +0 -1
- package/es2015/src/picker/components/yearPicker/yearPicker.component.js.map +0 -1
- package/es2015/src/picker/components/yearPicker/yearPicker.interfaces.js.map +0 -1
- package/es2015/src/picker/directives/index.js.map +0 -1
- package/es2015/src/picker/directives/loopScroll/loopScroll.directive.js.map +0 -1
- package/es2015/src/picker/directives/loopScroll/loopScroll.interface.js.map +0 -1
- package/es2015/src/picker/directives/loopScrollData/loopScrollData.directive.js.map +0 -1
- package/es2015/src/picker/interfaces.js.map +0 -1
- package/es2015/src/picker/misc/datetimePicker.interface.js.map +0 -1
- package/es2015/src/picker/misc/tokens.js.map +0 -1
- package/es2015/src/picker/modules/picker.module.js.map +0 -1
- package/es2015/src/picker/types.js.map +0 -1
- package/es2015/src/selector/components/inputDateTime/inputDateTime.component.js.map +0 -1
- package/es2015/src/selector/components/selector/selector.component.animations.js.map +0 -1
- package/es2015/src/selector/components/selector/selector.component.js.map +0 -1
- package/es2015/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +0 -1
- package/es2015/src/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +0 -1
- package/es2015/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +0 -1
- package/es2015/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +0 -1
- package/es2015/src/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +0 -1
- package/es2015/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +0 -1
- package/es2015/src/selector/interfaces.js.map +0 -1
- package/es2015/src/selector/misc/datetimeSelector.interface.js.map +0 -1
- package/es2015/src/selector/misc/tokens.js.map +0 -1
- package/es2015/src/selector/modules/basicSelector.module.js.map +0 -1
- package/es2015/src/selector/modules/selector.module.js.map +0 -1
- package/es2015/src/selector/types.js.map +0 -1
- package/es2015/src/services/dateApi.interface.js.map +0 -1
- package/es2015/src/services/datePositionParser.interface.js.map +0 -1
- package/es2015/src/services/datePositionParser.service.js.map +0 -1
- package/es2015/src/services/dateTimeRelativeParser.service.js.map +0 -1
- package/es2015/src/services/dateValueProvider.service.js.map +0 -1
- package/es2015/src/services/formatProvider.interface.js.map +0 -1
- package/es2020/src/misc/datetime.interface.js.map +0 -1
- package/es2020/src/picker/components/clockTimePicker/clockTimePicker.component.js.map +0 -1
- package/es2020/src/picker/components/clockTimePicker/clockTimePicker.interface.js.map +0 -1
- package/es2020/src/picker/components/dayPicker/dayPicker.component.js.map +0 -1
- package/es2020/src/picker/components/dayPicker/dayPicker.interfaces.js.map +0 -1
- package/es2020/src/picker/components/monthPicker/monthPicker.component.js.map +0 -1
- package/es2020/src/picker/components/monthPicker/monthPicker.interfaces.js.map +0 -1
- package/es2020/src/picker/components/picker/picker.component.animations.js.map +0 -1
- package/es2020/src/picker/components/picker/picker.component.js.map +0 -1
- package/es2020/src/picker/components/pickerBase.component.js.map +0 -1
- package/es2020/src/picker/components/pickerImplBase.component.js.map +0 -1
- package/es2020/src/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +0 -1
- package/es2020/src/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +0 -1
- package/es2020/src/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +0 -1
- package/es2020/src/picker/components/yearPicker/yearPicker.component.js.map +0 -1
- package/es2020/src/picker/components/yearPicker/yearPicker.interfaces.js.map +0 -1
- package/es2020/src/picker/directives/index.js.map +0 -1
- package/es2020/src/picker/directives/loopScroll/loopScroll.directive.js.map +0 -1
- package/es2020/src/picker/directives/loopScroll/loopScroll.interface.js.map +0 -1
- package/es2020/src/picker/directives/loopScrollData/loopScrollData.directive.js.map +0 -1
- package/es2020/src/picker/interfaces.js.map +0 -1
- package/es2020/src/picker/misc/datetimePicker.interface.js.map +0 -1
- package/es2020/src/picker/misc/tokens.js.map +0 -1
- package/es2020/src/picker/modules/picker.module.js.map +0 -1
- package/es2020/src/picker/types.js.map +0 -1
- package/es2020/src/selector/components/inputDateTime/inputDateTime.component.js.map +0 -1
- package/es2020/src/selector/components/selector/selector.component.animations.js.map +0 -1
- package/es2020/src/selector/components/selector/selector.component.js.map +0 -1
- package/es2020/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +0 -1
- package/es2020/src/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +0 -1
- package/es2020/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +0 -1
- package/es2020/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +0 -1
- package/es2020/src/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +0 -1
- package/es2020/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +0 -1
- package/es2020/src/selector/interfaces.js.map +0 -1
- package/es2020/src/selector/misc/datetimeSelector.interface.js.map +0 -1
- package/es2020/src/selector/misc/tokens.js.map +0 -1
- package/es2020/src/selector/modules/basicSelector.module.js.map +0 -1
- package/es2020/src/selector/modules/selector.module.js.map +0 -1
- package/es2020/src/selector/types.js.map +0 -1
- package/es2020/src/services/dateApi.interface.js.map +0 -1
- package/es2020/src/services/datePositionParser.interface.js.map +0 -1
- package/es2020/src/services/datePositionParser.service.js.map +0 -1
- package/es2020/src/services/dateTimeRelativeParser.service.js.map +0 -1
- package/es2020/src/services/dateValueProvider.service.js.map +0 -1
- package/es2020/src/services/formatProvider.interface.js.map +0 -1
- package/src/misc/datetime.interface.d.ts.map +0 -1
- package/src/picker/components/dayPicker/dayPicker.component.html +0 -21
- package/src/picker/components/monthPicker/monthPicker.component.html +0 -13
- package/src/picker/components/picker/picker.component.html +0 -3
- package/src/picker/components/yearPicker/yearPicker.component.html +0 -13
- package/src/selector/components/inputDateTime/inputDateTime.component.d.ts.map +0 -1
- package/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts.map +0 -1
- package/src/services/dateApi.interface.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datetimeSelector.interface.js","sourceRoot":"","sources":["../../../../src/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 '../../misc/datetime.interface';\nimport {DateTimePickerOptions} from '../../picker/misc/datetimePicker.interface';\n\n/**\n * Defintion of datetime selector component options\n */\nexport interface DateTimeSelectorOptions<TSelector = any, TPicker = any> extends DateTimePickerOptions<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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../src/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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basicSelector.module.js","sourceRoot":"","sources":["../../../../src/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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selector.module.js","sourceRoot":"","sources":["../../../../src/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,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,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,oBAAoB,aAcpB,yBAAyB;QACzB,oCAAoC;QACpC,0BAA0B;QAC1B,6BAA6B;QAC7B,6BAA6B;QAC7B,+BAA+B;oHAG1B,sBAAsB,YAzB/B;YACI,mBAAmB;YACnB,mBAAmB;YACnB,oBAAoB;SACvB;2FAqBQ,sBAAsB;kBA5BlC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,mBAAmB;wBACnB,mBAAmB;wBACnB,oBAAoB;qBACvB;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 {DateTimePickerModule} 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 DateTimePickerModule,\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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/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';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dateApi.interface.js","sourceRoot":"","sources":["../../../src/services/dateApi.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Date can be represented as formatted string, timestamp or javascript Date object\n */\nexport type DateValue = Date|string|number;\n\n/**\n * Definition of type, that is used for creating instance of DateApiObject\n */\nexport interface DateApiObjectCtor<TObject extends DateApiObject<TDate> = any, TDate = any>\n{\n new (value: TDate|DateValue, format?: string, ...additionalParams: any[]): TObject;\n}\n\n/**\n * Instance of object wrapping TDate, allowing manipulation with it\n */\nexport interface DateApiObject<TDate = any>\n{\n /**\n * Original value that is not changed unless 'updateOriginal' is called\n */\n readonly originalValue: TDate;\n\n /**\n * Instance of date\n */\n readonly value: TDate;\n\n /**\n * Gets indication whether provided instance of date is valid\n */\n isValid(): boolean;\n\n /**\n * Gets indication whether provided instance of date is weekend day\n */\n isWeekend(): boolean;\n\n /**\n * Formats date value\n * @param format - Format token used for creating formatted string\n */\n format(format: string): string;\n\n /**\n * Updates value to start date and time of current decade\n * @returns Itself for fluent API\n */\n startOfDecade(): DateApiObject<TDate>;\n\n /**\n * Updates value to end date and time of current decade\n * @returns Itself for fluent API\n */\n endOfDecade(): DateApiObject<TDate>;\n\n /**\n * Updates value to start date and time of current year\n * @returns Itself for fluent API\n */\n startOfYear(): DateApiObject<TDate>;\n\n /**\n * Updates value to end date and time of current year\n * @returns Itself for fluent API\n */\n endOfYear(): DateApiObject<TDate>;\n\n /**\n * Add years, if count not specified adds 1 year\n * @param count - Number of years count\n * @returns Itself for fluent API\n */\n addYears(count?: number): DateApiObject<TDate>;\n\n /**\n * Subtract years, if count not specified subtract 1 year\n * @param count - Number of years count\n * @returns Itself for fluent API\n */\n subtractYears(count?: number): DateApiObject<TDate>;\n\n /**\n * Updates value to start date and time of current month\n * @returns Itself for fluent API\n */\n startOfMonth(): DateApiObject<TDate>;\n\n /**\n * Updates value to end date and time of current month\n * @returns Itself for fluent API\n */\n endOfMonth(): DateApiObject<TDate>;\n\n /**\n * Add months, if count not specified adds 1 month\n * @param count - Number of months count\n * @returns Itself for fluent API\n */\n addMonths(count?: number): DateApiObject<TDate>;\n\n /**\n * Subtract months, if count not specified subtract 1 month\n * @param count - Number of months count\n * @returns Itself for fluent API\n */\n subtractMonths(count?: number): DateApiObject<TDate>;\n\n /**\n * Updates value to start date and time of current week\n * @returns Itself for fluent API\n */\n startOfWeek(): DateApiObject<TDate>;\n\n /**\n * Updates value to end date and time of current week\n * @returns Itself for fluent API\n */\n endOfWeek(): DateApiObject<TDate>;\n\n /**\n * Add weeks, if count not specified adds 1 week\n * @param count - Number of weeks count\n * @returns Itself for fluent API\n */\n addWeeks(count?: number): DateApiObject<TDate>;\n\n /**\n * Subtract weeks, if count not specified subtract 1 week\n * @param count - Number of weeks count\n * @returns Itself for fluent API\n */\n subtractWeeks(count?: number): DateApiObject<TDate>;\n\n /**\n * Updates value to start date and time of current day\n * @returns Itself for fluent API\n */\n startOfDay(): DateApiObject<TDate>;\n\n /**\n * Updates value to end date and time of current day\n * @returns Itself for fluent API\n */\n endOfDay(): DateApiObject<TDate>;\n\n /**\n * Add days, if count not specified adds 1 day\n * @param count - Number of days count\n * @returns Itself for fluent API\n */\n addDays(count?: number): DateApiObject<TDate>;\n\n /**\n * Subtract days, if count not specified subtract 1 day\n * @param count - Number of days count\n * @returns Itself for fluent API\n */\n subtractDays(count?: number): DateApiObject<TDate>;\n\n /**\n * Updates value to start date and time of current hour\n * @returns Itself for fluent API\n */\n startOfHour(): DateApiObject<TDate>;\n\n /**\n * Updates value to end date and time of current hour\n * @returns Itself for fluent API\n */\n endOfHour(): DateApiObject<TDate>;\n\n /**\n * Add hours, if count not specified adds 1 hour\n * @param count - Number of hours count\n * @returns Itself for fluent API\n */\n addHours(count?: number): DateApiObject<TDate>;\n\n /**\n * Subtract hours, if count not specified subtract 1 hour\n * @param count - Number of hours count\n * @returns Itself for fluent API\n */\n subtractHours(count?: number): DateApiObject<TDate>;\n\n /**\n * Updates value to start date and time of current minute\n * @returns Itself for fluent API\n */\n startOfMinute(): DateApiObject<TDate>;\n\n /**\n * Updates value to end date and time of current minute\n * @returns Itself for fluent API\n */\n endOfMinute(): DateApiObject<TDate>;\n\n /**\n * Add minutes, if count not specified adds 1 minute\n * @param count - Number of minutes count\n * @returns Itself for fluent API\n */\n addMinutes(count?: number): DateApiObject<TDate>;\n\n /**\n * Subtract minutes, if count not specified subtract 1 minute\n * @param count - Number of minutes count\n * @returns Itself for fluent API\n */\n subtractMinutes(count?: number): DateApiObject<TDate>;\n\n /**\n * Gets number of days in month\n */\n daysInMonth(): number;\n\n /**\n * Gets year\n */\n year(): number;\n /**\n * Sets year\n * @param year - Year to be set\n */\n year(year: number): DateApiObject<TDate>;\n /**\n * Gets or sets year\n * @param year - If specified, sets year\n */\n year(year?: number): DateApiObject<TDate>|number;\n\n /**\n * Gets month\n */\n month(): number;\n /**\n * Sets month\n * @param month - Month to be set\n */\n month(month: number): DateApiObject<TDate>;\n /**\n * Gets or sets month\n * @param month - If specified, sets month\n */\n month(month?: number): DateApiObject<TDate>|number;\n\n /**\n * Gets day of month one based\n */\n dayOfMonth(): number;\n /**\n * Sets day of month one based\n * @param day - Day of month to be set\n */\n dayOfMonth(day: number): DateApiObject<TDate>;\n /**\n * Gets or sets day of month one based\n * @param day - If specified, sets day of month\n */\n dayOfMonth(day?: number): DateApiObject<TDate>|number;\n\n /**\n * Gets day of week zero based, first is monday\n */\n dayOfWeek(): number;\n /**\n * Sets day of week zero based, first is monday\n * @param day - Day of week to be set\n */\n dayOfWeek(day: number): DateApiObject<TDate>;\n /**\n * Gets or sets day of week zero based, first is monday\n * @param day - If specified, sets day of week\n */\n dayOfWeek(day?: number): number|DateApiObject<TDate>;\n\n /**\n * Gets hours zero based\n */\n hour(): number;\n /**\n * Sets hours zero\n * @param hour - hour to be set\n */\n hour(hour: number): DateApiObject<TDate>;\n /**\n * Gets or sets hours zero\n * @param hour - If specified, sets hour\n */\n hour(hour?: number): DateApiObject<TDate>|number;\n\n /**\n * Gets minutes zero based\n */\n minute(): number;\n /**\n * Sets minutes zero based\n * @param minute - minutes to be set\n */\n minute(minute: number): DateApiObject<TDate>;\n /**\n * Gets or sets minutes zero based\n * @param minute - If specified, sets minutes\n */\n minute(minute?: number): DateApiObject<TDate>|number;\n\n /**\n * Gets indication whether current value is before 'date'\n * @param date - Date which is this date compared to\n */\n isBefore(date: TDate): boolean;\n\n /**\n * Gets indication whether current value is after 'date'\n * @param date - Date which is this date compared to\n */\n isAfter(date: TDate): boolean;\n\n /**\n * Gets number of days between this and provided date\n * @param date - Date which is used for computation of diff against\n */\n diffDays(date: TDate): number;\n\n /**\n * Compares whether this date is same week as provided date\n * @param date - Date which is used for comparison of same week\n */\n isSameWeek(date: TDate): boolean;\n\n /**\n * Compares whether this date is same decade as provided date\n * @param date - Date which is used for comparison of same decade\n */\n isSameDecade(date: TDate): boolean;\n\n /**\n * Compares whether this date is same year as provided date\n * @param date - Date which is used for comparison of same year\n */\n isSameYear(date: TDate): boolean;\n\n /**\n * Compares whether this date is same month as provided date\n * @param date - Date which is used for comparison of same month\n */\n isSameMonth(date: TDate): boolean;\n\n /**\n * Compares whether this date is same day as provided date\n * @param date - Date which is used for comparison of same day\n */\n isSameDay(date: TDate): boolean;\n\n /**\n * Creates clone of this instance, value and originalValue have same value and are cloned from value\n */\n clone(): DateApiObject<TDate>;\n\n /**\n * Creates clone of this instance, value and originalValue have same value and are cloned from originalValue\n */\n cloneOriginal(): DateApiObject<TDate>;\n\n /**\n * Updates originalValue, if value is not provided originalValue is set to value\n * @param value - Value to be set as original, or null (value will be used as value)\n * @returns Itself for fluent API\n */\n updateOriginal(value?: TDate): DateApiObject<TDate>;\n\n /**\n * Changes value to same value as originalValue\n * @returns Itself for fluent API\n */\n resetOriginal(): DateApiObject<TDate>;\n}\n\n/**\n * Date api abstraction, used for obtaining DateApi wrapper object\n */\nexport interface DateApi<TDate = any, TDateApiObject extends DateApiObject<TDate> = DateApiObject<TDate>>\n{\n /**\n * Gets wrapping object used for manipulation\n * @param value - Value to be converted (parsed) and used for manipulation\n * @param format - Format string used for parsing string value\n */\n getValue(value: DateValue|TDate, format?: string): TDateApiObject;\n\n /**\n * Gets wrapping object used for manipulation instantiated to current date and time\n */\n now(): TDateApiObject;\n\n /**\n * Gets format string using pseudo format\n * @param pseudoFormat - Pseudo format token, used for obtaining 'date' or 'time' format string\n */\n getFormat(pseudoFormat: string): string;\n\n /**\n * Gets information\n */\n weekStartsOnMonday(): boolean;\n\n /**\n * Gets array of weekday names in short format, order of days is dependent on locale\n */\n weekdaysShort(): string[];\n\n /**\n * Tests whether is value TDate\n * @param value - Value to be tested whether is TDate\n */\n isDate(value: unknown): value is TDate;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datePositionParser.interface.js","sourceRoot":"","sources":["../../../src/services/datePositionParser.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Parser used for parsing date using provided format and returning positions and selected date part\n */\nexport interface DatePositionParser\n{\n /**\n * Parse date as string and returns information about positions and selected part of date\n * @param date - String date to be parsed\n * @param cursorPosition - Current cursor position\n */\n parse(date: string, cursorPosition: number): DatePositionParserResult;\n\n /**\n * Parse date as string and returns information about position and selected part of date, while moving it to next part, if it was last part returns null\n * @param date - String date to be parsed\n * @param cursorPosition - Current cursor position\n */\n next(date: string, cursorPosition: number): null|DatePositionParserResult;\n\n /**\n * Parse date as string and returns information about position and selected part of date, while moving it to previous part, if it was first part returns null\n * @param date - String date to be parsed\n * @param cursorPosition - Current cursor position\n */\n previous(date: string, cursorPosition: number): null|DatePositionParserResult;\n}\n\n/**\n * Result of date position parsing\n */\nexport interface DatePositionParserResult\n{\n /**\n * Index of charater where returned part of date starts\n */\n positionFrom: number;\n\n /**\n * Index of charater where returned part of date ends\n */\n positionTo: number;\n\n /**\n * Type of part that is selected\n */\n part: string;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datePositionParser.service.js","sourceRoot":"","sources":["../../../src/services/datePositionParser.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAIvC;;GAEG;AAEH,MAAM,OAAO,yBAAyB;IAElC,oEAAoE;IAEpE;;;OAGG;IACI,YAAY,CAAC,MAAc;QAE9B,OAAO,IAAI,yBAAyB,CAAC,MAAM,CAAC,CAAC;IACjD,CAAC;;sHAXQ,yBAAyB;0HAAzB,yBAAyB,cADb,MAAM;2FAClB,yBAAyB;kBADrC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;AAehC;;GAEG;AACH,MAAM,OAAO,yBAAyB;IAmBlC,iEAAiE;IACjE,YAAsB,OAAe;QAAf,YAAO,GAAP,OAAO,CAAQ;QAlBrC,sEAAsE;QAEtE;;WAEG;QACO,kBAAa,GAAY,KAAK,CAAC;QAEzC;;WAEG;QACO,sBAAiB,GAAa,EAAE,CAAC;QAE3C;;WAEG;QACO,4BAAuB,GAAsD,EAAE,CAAC;QAKtF,IAAI,CAAC,WAAW,EAAE,CAAC;IACvB,CAAC;IAED,2GAA2G;IAE3G;;;;OAIG;IACI,IAAI,CAAC,IAA2B,EAAE,cAAsB;QAE3D,IAAG,OAAO,CAAC,IAAI,CAAC,EAChB;YACI,OAAO,IAAI,CAAC;SACf;QAED,mBAAmB;QAC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AAS,GAAW,CAAC,CAAC;YAE1B,KAAI,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAC3C;gBACI,WAAW;gBACX,IAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,QAAQ,EAC9B;oBACI,IAAG,CAAC,GAAG,CAAC,EACR;wBACI,IAAI,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;qBAClE;oBAED,SAAS,GAAG,CAAC,CAAC;oBACd,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;oBAE3B,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC;wBAC/B;4BACI,MAAM,EAAE,CAAC;4BACT,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;yBACxB,CAAC;iBACL;aACJ;YAED,IAAI,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;SACpF;IACL,CAAC;CACJ","sourcesContent":["import {Injectable} from '@angular/core';\nimport {isBlank} from '@jscrpt/common';\n\nimport {DatePositionParser, DatePositionParserResult} from './datePositionParser.interface';\n\n/**\n * Service used for parsing date\n */\n@Injectable({providedIn: 'root'})\nexport class DatePositionParserService\n{\n //######################### public methods #########################\n\n /**\n * Creates parser instance for specified format\n * @param format - Format to be used for parsing date string\n */\n public createParser(format: string): DatePositionParser\n {\n return new DefaultDatePositionParser(format);\n }\n}\n\n/**\n * Default implementation of DatePositionParser\n */\nexport class DefaultDatePositionParser implements DatePositionParser\n{\n //######################### protected fields #########################\n\n /**\n * Indication whether format contains separators\n */\n protected _hasSeparator: boolean = false;\n\n /**\n * Array of date parts of parsed date format\n */\n protected _datePartsIndexes: string[] = [];\n\n /**\n * Object storing indexes for strict date parts of parsed date format\n */\n protected _strictDatePartsIndexes: {[index: number]: {part: string, length: number}} = {};\n\n //######################### constructor #########################\n constructor(protected _format: string)\n {\n this._initialize();\n }\n\n //######################### public methods - implementation of DatePositionParser #########################\n\n /**\n * Parse date as string and returns information about position and selected part of date, while moving it to next part, if it was last part returns null\n * @param date - String date to be parsed\n * @param cursorPosition - Current cursor position\n */\n public next(date: string|null|undefined, cursorPosition: number): null|DatePositionParserResult\n {\n if(isBlank(date))\n {\n return null;\n }\n\n //non strict format\n if(this._hasSeparator)\n {\n let useNext = false;\n\n while(true)\n {\n if(cursorPosition == date.length)\n {\n return null;\n }\n\n if(useNext && !isNaN(+date[cursorPosition]))\n {\n return this.parse(date, cursorPosition);\n }\n\n if(isNaN(+date[cursorPosition]))\n {\n useNext = true;\n }\n\n cursorPosition++;\n }\n }\n //strict format\n else\n {\n const indexes = Object.keys(this._strictDatePartsIndexes).map(itm => +itm);\n\n for(const index of indexes)\n {\n if(cursorPosition < index)\n {\n return {\n part: this._strictDatePartsIndexes[index].part,\n positionFrom: index,\n positionTo: index + this._strictDatePartsIndexes[index].length\n };\n }\n }\n }\n\n return null;\n }\n\n /**\n * Parse date as string and returns information about position and selected part of date, while moving it to previous part, if it was first part returns null\n * @param date - String date to be parsed\n * @param cursorPosition - Current cursor position\n */\n public previous(date: string|null|undefined, cursorPosition: number): null|DatePositionParserResult\n {\n if(isBlank(date))\n {\n return null;\n }\n\n //non strict format\n if(this._hasSeparator)\n {\n let useNext = false;\n\n while(true)\n {\n if(cursorPosition < 0)\n {\n return null;\n }\n\n if(useNext && !isNaN(+date[cursorPosition]))\n {\n return this.parse(date, cursorPosition);\n }\n\n if(isNaN(+date[cursorPosition]))\n {\n useNext = true;\n }\n\n cursorPosition--;\n }\n }\n //strict format\n else\n {\n const indexes = Object.keys(this._strictDatePartsIndexes).reverse().map(itm => +itm);\n\n for(const index of indexes)\n {\n if(cursorPosition > index)\n {\n return {\n part: this._strictDatePartsIndexes[index].part,\n positionFrom: index,\n positionTo: index + this._strictDatePartsIndexes[index].length\n };\n }\n }\n }\n\n return null;\n }\n\n /**\n * Parse date as string and returns information about positions and selected part of date\n * @param date - String date to be parsed\n * @param cursorPosition - Current cursor position\n */\n public parse(date: string|null|undefined, cursorPosition: number): DatePositionParserResult\n {\n if(isBlank(date))\n {\n return {\n part: '',\n positionFrom: 0,\n positionTo: 0\n };\n }\n\n //non strict format\n if(this._hasSeparator)\n {\n //fix cursor position if is clicked on separator\n if(cursorPosition != date.length &&\n /[^0-9ɵ]/.test(date[cursorPosition]) &&\n /[^0-9ɵ]/.test(date[cursorPosition - 1]))\n {\n let breakCycle = false;\n cursorPosition++;\n\n while(/[^0-9ɵ]/.test(date[cursorPosition]))\n {\n if(cursorPosition >= date.length)\n {\n if(breakCycle)\n {\n return {\n part: '',\n positionFrom: 0,\n positionTo: 0\n };\n }\n\n breakCycle = true;\n cursorPosition = 0;\n }\n\n cursorPosition++;\n }\n }\n\n const updateDate = [date.substr(0, cursorPosition), 'ɵ', date.substr(cursorPosition)].join('');\n const indexed = updateDate.replace(/[^0-9ɵ]/g, ' ').split(' ');\n let partIndex = 0;\n let startPosition = 0;\n let selectionLength = 0;\n\n for(const itm of indexed)\n {\n //this segment contains cursor\n if(itm.indexOf('ɵ') >= 0)\n {\n selectionLength = itm.length - 1;\n\n break;\n }\n\n startPosition++;\n\n //separator\n if(!itm.length)\n {\n continue;\n }\n\n partIndex++;\n startPosition += itm.length;\n }\n\n return {\n part: this._datePartsIndexes[partIndex],\n positionFrom: startPosition,\n positionTo: startPosition + selectionLength\n };\n }\n //strict format\n else\n {\n const indexes = Object.keys(this._strictDatePartsIndexes).reverse().map(itm => +itm);\n\n for(const index of indexes)\n {\n if(cursorPosition >= index)\n {\n return {\n part: this._strictDatePartsIndexes[index].part,\n positionFrom: index,\n positionTo: index + this._strictDatePartsIndexes[index].length\n };\n }\n }\n }\n\n return {\n part: '',\n positionFrom: 0,\n positionTo: 0\n };\n }\n\n /**\n * Initialize parser, process format\n */\n protected _initialize(): void\n {\n this._hasSeparator = /[^yqmwdhs]/i.test(this._format);\n\n //non strict format\n if(this._hasSeparator)\n {\n this._datePartsIndexes = this._format.replace(/[^yqmwdhs]+/gi, ' ')\n .split(' ')\n .filter(itm => !!itm)\n .map(itm => itm[0]);\n }\n //strict format\n else\n {\n let lastPart: string|null = null;\n let lastIndex: number = 0;\n\n for(let x = 0; x < this._format.length; x++)\n {\n //next part\n if(this._format[x] != lastPart)\n {\n if(x > 0)\n {\n this._strictDatePartsIndexes[lastIndex].length = x - lastIndex;\n }\n\n lastIndex = x;\n lastPart = this._format[x];\n\n this._strictDatePartsIndexes[x] =\n {\n length: 0,\n part: this._format[x]\n };\n }\n }\n\n this._strictDatePartsIndexes[lastIndex].length = this._format.length - lastIndex;\n }\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dateTimeRelativeParser.service.js","sourceRoot":"","sources":["../../../src/services/dateTimeRelativeParser.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAExC,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;;AAGxC;;GAEG;AAEH,MAAM,OAAO,sBAAsB;IAS/B,iEAAiE;IACjE,YAAsB,SAAmB;QAAnB,cAAS,GAAT,SAAS,CAAU;IAEzC,CAAC;IAED,oEAAoE;IAEpE;;;;;;;;;;;OAWG;IACI,KAAK,CAAC,KAAsB;QAE/B,MAAM,KAAK,GAAG,6BAA6B,CAAC;QAE5C,wBAAwB;QACxB,IAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EACvC;YACI,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAClC,MAAM,SAAS,GAAG,OAAQ,CAAC,CAAC,CAAC,CAAC;YAC9B,MAAM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T;gBACD,KAAK,GAAG;oBACR;wBACI,SAAS,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,CAAC;wBAEhG,MAAM;qBACT;gBACD,KAAK,GAAG;oBACR;wBACI,SAAS,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,CAAC;wBAE9F,MAAM;qBACT;aACJ;YAED,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;SACrB;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;;mHAtFQ,sBAAsB;uHAAtB,sBAAsB,cADV,MAAM;2FAClB,sBAAsB;kBADlC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC","sourcesContent":["import {Injectable, Injector} from '@angular/core';\nimport {isString} from '@jscrpt/common';\n\nimport {DATE_API} from '../misc/tokens';\nimport {DateApi, DateApiObject, DateValue} from './dateApi.interface';\n\n/**\n * Service used for parsing relative date time strings\n */\n@Injectable({providedIn: 'root'})\nexport class DateTimeRelativeParser<TDate = any>\n{\n //######################### protected fields #########################\n \n /**\n * Date api for handling\n */\n protected _dateApi?: DateApi<TDate, DateApiObject>;\n\n //######################### constructor #########################\n constructor(protected _injector: Injector)\n {\n }\n\n //######################### public methods #########################\n\n /**\n * Tries to parse relative value and returns parsed TDate, otherwise returns input value\n * @param value - Value to be parsed\n * \n * @summary\n * i - for minutes\n * h - for hours\n * d - for days\n * w - for weeks\n * m - for months\n * y - for years\n */\n public parse(value: TDate|DateValue): TDate|DateValue\n {\n const regex = /([+-])\\s*(\\d+)\\s*([ihdwmy])/;\n\n //relative date provided\n if(isString(value) && regex.test(value))\n {\n const matches = regex.exec(value);\n const operation = matches![1];\n const amount = matches![2];\n const period = matches![3];\n this._dateApi = this._dateApi ?? this._injector.get(DATE_API);\n const now = this._dateApi.now();\n\n switch(period)\n {\n case 'i':\n {\n operation == '+' ? now.addMinutes(+amount).endOfMinute() : now.subtractMinutes(+amount).startOfMinute();\n\n break;\n }\n case 'h':\n {\n operation == '+' ? now.addHours(+amount).endOfHour() : now.subtractHours(+amount).startOfHour();\n\n break;\n }\n case 'd':\n {\n operation == '+' ? now.addDays(+amount).endOfDay() : now.subtractDays(+amount).startOfDay();\n\n break;\n }\n case 'w':\n {\n operation == '+' ? now.addWeeks(+amount).endOfDay() : now.subtractWeeks(+amount).startOfDay();\n\n break;\n }\n case 'm':\n {\n operation == '+' ? now.addMonths(+amount).endOfDay() : now.subtractMonths(+amount).startOfDay();\n\n break;\n }\n case 'y':\n {\n operation == '+' ? now.addYears(+amount).endOfDay() : now.subtractYears(+amount).startOfDay();\n\n break;\n }\n }\n\n value = now.value;\n }\n\n return value;\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dateValueProvider.service.js","sourceRoot":"","sources":["../../../src/services/dateValueProvider.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AAGjD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;;AAGxC;;GAEG;AAEH,MAAM,OAAO,iBAAiB;IAE1B,iEAAiE;IACjE,YAAwC,QAAwB;QAAxB,aAAQ,GAAR,QAAQ,CAAgB;IAEhE,CAAC;IAED,oEAAoE;IAEpE;;;;OAIG;IACI,QAAQ,CAAC,KAAY,EAAE,MAAc;QAExC,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAClD,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,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pE;YACI,KAAK,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC;YAChC,GAAG,GAAG,GAAG,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC;SAC/B;QAED,OAAO;YACH,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;SACV,CAAC;IACN,CAAC;;8GA9DQ,iBAAiB,kBAGN,QAAQ;kHAHnB,iBAAiB,cADL,MAAM;2FAClB,iBAAiB;kBAD7B,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;0BAIf,MAAM;2BAAC,QAAQ","sourcesContent":["import {Inject, Injectable} from '@angular/core';\n\nimport {DateTimeValue} from '../misc/datetime.interface';\nimport {DATE_API} from '../misc/tokens';\nimport {DateApi} from './dateApi.interface';\n\n/**\n * Class used for obtaining DateTimeValue for various formats\n */\n@Injectable({providedIn: 'root'})\nexport class DateValueProvider<TDate = any>\n{\n //######################### constructor #########################\n constructor(@Inject(DATE_API) protected _dateApi: DateApi<TDate>)\n {\n }\n\n //######################### public methods #########################\n\n /**\n * Gets DateTimeValue from single value based on format\n * @param value - Current value to be converted to ranged value\n * @param format - Format that is requested to be displayed, it tells what range should be created\n */\n public getValue(value: TDate, format: string): DateTimeValue<TDate>\n {\n const val = this._dateApi.getValue(value, format);\n const fullFormat = this._dateApi.getFormat(format);\n let start: TDate = value;\n let end: TDate = value;\n\n //minute\n if(fullFormat.indexOf('m') >= 0)\n {\n start = val.startOfMinute().value;\n end = val.endOfMinute().value;\n }\n //hour\n else if(fullFormat.indexOf('H') >= 0)\n {\n start = val.startOfHour().value;\n end = val.endOfHour().value;\n }\n //day\n else if(fullFormat.indexOf('d') >= 0)\n {\n start = val.startOfDay().value;\n end = val.endOfDay().value;\n }\n //week\n else if(fullFormat.indexOf('w') >= 0)\n {\n start = val.startOfWeek().value;\n end = val.endOfWeek().value;\n }\n //month\n else if(fullFormat.indexOf('M') >= 0)\n {\n start = val.startOfMonth().value;\n end = val.endOfMonth().value;\n }\n //year\n else if(fullFormat.indexOf('Y') >= 0 || fullFormat.indexOf('y') >= 0)\n {\n start = val.startOfYear().value;\n end = val.endOfYear().value;\n }\n\n return {\n from: start,\n to: end\n };\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatProvider.interface.js","sourceRoot":"","sources":["../../../src/services/formatProvider.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Format provider used for obtaining common used format 'tokens'\n */\nexport interface FormatProvider\n{\n /**\n * Format token for displaying date\n */\n readonly date: string;\n\n /**\n * Format token for displaying date and time\n */\n readonly dateTime: string;\n\n /**\n * Format token for displaying time\n */\n readonly time: string;\n\n /**\n * Format token for displaying full year\n */\n readonly year: string;\n\n /**\n * Format token for displaying month double digit number\n */\n readonly month: string;\n\n /**\n * Format token for displaying week double digit number\n */\n readonly week: string;\n\n /**\n * Format token for displaying day double digit number\n */\n readonly day: string;\n\n /**\n * Format token for displaying hour (24h format) double digit number\n */\n readonly hour: string;\n\n /**\n * Format token for displaying minute double digit number\n */\n readonly minute: string;\n\n /**\n * Format token for displaying second double digit number\n */\n readonly second: string;\n\n /**\n * Format token for displaying standalone day full name \n */\n readonly dayName: string;\n\n /**\n * Format token for displaying standalone day short name\n */\n readonly dayNameShort: string;\n\n /**\n * Format token for displaying standalone month full name\n */\n readonly monthName: string;\n\n /**\n * Format token for displaying standalone month short name\n */\n readonly monthNameShort: string;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.interface.d.ts","sourceRoot":"","sources":["datetime.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,KAAK,GAAG,GAAG;IAEtC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC;IAEZ;;OAEG;IACH,EAAE,EAAE,KAAK,CAAC;CACb;AAID;;GAEG;AACH,MAAM,WAAW,mBAAmB,CAAC,KAAK,GAAG,GAAG;IAE5C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,GAAC,IAAI,CAAC;IAE1C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,KAAK,GAAC,IAAI,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,KAAK,GAAC,IAAI,CAAC;CACjC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<div [ngClass]="cssClasses?.periodSelection | asRequired">
|
|
2
|
-
<div [ngClass]="cssClasses?.previousPeriod | asRequired" (mousedown)="previousMonth($event)"></div>
|
|
3
|
-
<div [ngClass]="cssClasses?.periodValue | asRequired | mergeCssClasses: [{'clickable': canGoUp}]" (mousedown)="goUp($event)">{{displayDate?.format('MMMM yyyy')}}</div>
|
|
4
|
-
<div [ngClass]="cssClasses?.nextPeriod | asRequired" (mousedown)="nextMonth($event)"></div>
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div [ngClass]="cssClasses?.periodData | asRequired">
|
|
8
|
-
<div [ngClass]="cssClasses?.weekdayName | asRequired" *ngFor="let weekday of weekdays">{{weekday}}</div>
|
|
9
|
-
<div *ngFor="let day of periodData"
|
|
10
|
-
[ngClass]="cssClasses?.periodDatum | asRequired"
|
|
11
|
-
[class.other-month]="day.otherMonth"
|
|
12
|
-
[class.today]="day.today"
|
|
13
|
-
[class.weekend]="day.weekend"
|
|
14
|
-
[class.active]="day.active"
|
|
15
|
-
[class.disabled]="day.disabled"
|
|
16
|
-
(mousedown)="select($event, day)">{{day.day}}</div>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div class="flex-row" style="justify-content: center; border-top: 1px solid #FFF;" *ngIf="canGoDown">
|
|
20
|
-
<div [class.clickable]="canGoDown" (mousedown)="goDown($event)">{{timeValue?.from | dateFormat: 'time'}}</div>
|
|
21
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div [ngClass]="cssClasses?.periodSelection | asRequired">
|
|
2
|
-
<div [ngClass]="cssClasses?.previousPeriod | asRequired" (mousedown)="previousYear($event)"></div>
|
|
3
|
-
<div [ngClass]="cssClasses?.periodValue | asRequired" [class.clickable]="canGoUp" (mousedown)="goUp($event)">{{displayDate?.format('yyyy')}}</div>
|
|
4
|
-
<div [ngClass]="cssClasses?.nextPeriod | asRequired" (mousedown)="nextYear($event)"></div>
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div [ngClass]="cssClasses?.periodData | asRequired">
|
|
8
|
-
<div *ngFor="let month of periodData"
|
|
9
|
-
[ngClass]="cssClasses?.periodDatum | asRequired"
|
|
10
|
-
[class.active]="month.active"
|
|
11
|
-
[class.disabled]="month.disabled"
|
|
12
|
-
(mousedown)="select($event, month)">{{month.name}}</div>
|
|
13
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div [ngClass]="cssClasses?.periodSelection | asRequired">
|
|
2
|
-
<div [ngClass]="cssClasses?.previousPeriod | asRequired" (mousedown)="previousDecade($event)"></div>
|
|
3
|
-
<div [ngClass]="cssClasses?.periodValue | asRequired" [class.clickable]="canGoUp" (mousedown)="goUp($event)">{{period}}</div>
|
|
4
|
-
<div [ngClass]="cssClasses?.nextPeriod | asRequired" (mousedown)="nextDecade($event)"></div>
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div [ngClass]="cssClasses?.periodData | asRequired">
|
|
8
|
-
<div *ngFor="let year of periodData"
|
|
9
|
-
[ngClass]="cssClasses?.periodDatum | asRequired"
|
|
10
|
-
[class.active]="year.active"
|
|
11
|
-
[class.disabled]="year.disabled"
|
|
12
|
-
(mousedown)="select($event, year)">{{year.value}}</div>
|
|
13
|
-
</div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inputDateTime.component.d.ts","sourceRoot":"","sources":["inputDateTime.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,iBA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