@anglr/datetime 1.0.0-beta.20210804101324 → 2.0.0-beta.20220221120606
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 +13 -1
- package/date-fns/datetime-date-fns.d.ts +64 -0
- package/date-fns/datetime-date-fns.internal.d.ts +64 -0
- package/date-fns/package.json +7 -7
- package/date-fns/src/{date-fns.d.ts → index.d.ts} +4 -4
- package/date-fns/src/index.d.ts.map +1 -0
- package/date-fns/src/misc/tokens.d.ts +10 -10
- package/date-fns/src/services/dateFnsDateApi.service.d.ts +36 -33
- package/date-fns/src/services/dateFnsDateApi.service.d.ts.map +1 -1
- package/date-fns/src/services/dateFnsLocale.service.d.ts +10 -10
- package/date-fns/temp/datetime-date-fns.api.md +47 -0
- package/datetime.d.ts +1913 -5
- package/datetime.internal.d.ts +2090 -0
- package/es2015/date-fns/src/index.js +4 -0
- package/es2015/date-fns/src/index.js.map +1 -0
- package/es2015/date-fns/src/misc/tokens.js +20 -0
- package/es2015/date-fns/src/misc/tokens.js.map +1 -0
- package/es2015/date-fns/src/services/dateFnsDateApi.service.js +438 -0
- package/es2015/date-fns/src/services/dateFnsDateApi.service.js.map +1 -0
- package/es2015/date-fns/src/services/dateFnsLocale.service.js +2 -0
- package/es2015/date-fns/src/services/dateFnsLocale.service.js.map +1 -0
- package/es2015/karma.conf.js +57 -0
- package/es2015/karma.conf.js.map +1 -0
- package/{moment/src/moment.d.ts → es2015/moment/src/index.js} +3 -3
- package/es2015/moment/src/index.js.map +1 -0
- package/es2015/moment/src/misc/tokens.js +15 -0
- package/es2015/moment/src/misc/tokens.js.map +1 -0
- package/es2015/moment/src/services/momentDateApi.service.js +398 -0
- package/es2015/moment/src/services/momentDateApi.service.js.map +1 -0
- package/{src/datetime.d.ts → es2015/src/index.js} +19 -19
- package/es2015/src/index.js.map +1 -0
- package/es2015/src/misc/constants.js +33 -0
- package/es2015/src/misc/constants.js.map +1 -0
- package/es2015/src/misc/datetime.interface.js +2 -0
- package/es2015/src/misc/datetime.interface.js.map +1 -0
- package/es2015/src/misc/tokens.js +19 -0
- package/es2015/src/misc/tokens.js.map +1 -0
- package/es2015/src/misc/validators.js +58 -0
- package/es2015/src/misc/validators.js.map +1 -0
- package/es2015/src/modules/datePipes.module.js +33 -0
- package/es2015/src/modules/datePipes.module.js.map +1 -0
- package/es2015/src/picker/components/dayPicker/dayPicker.component.js +172 -0
- package/es2015/src/picker/components/dayPicker/dayPicker.component.js.map +1 -0
- package/es2015/src/picker/components/dayPicker/dayPicker.interfaces.js +2 -0
- package/es2015/src/picker/components/dayPicker/dayPicker.interfaces.js.map +1 -0
- package/es2015/src/picker/components/monthPicker/monthPicker.component.js +114 -0
- package/es2015/src/picker/components/monthPicker/monthPicker.component.js.map +1 -0
- package/es2015/src/picker/components/monthPicker/monthPicker.interfaces.js +2 -0
- package/es2015/src/picker/components/monthPicker/monthPicker.interfaces.js.map +1 -0
- package/es2015/src/picker/components/picker/picker.component.animations.js +71 -0
- package/es2015/src/picker/components/picker/picker.component.animations.js.map +1 -0
- package/es2015/src/picker/components/picker/picker.component.js +241 -0
- package/es2015/src/picker/components/picker/picker.component.js.map +1 -0
- package/es2015/src/picker/components/pickerBase.component.js +243 -0
- package/es2015/src/picker/components/pickerBase.component.js.map +1 -0
- package/es2015/src/picker/components/yearPicker/yearPicker.component.js +126 -0
- package/es2015/src/picker/components/yearPicker/yearPicker.component.js.map +1 -0
- package/es2015/src/picker/components/yearPicker/yearPicker.interfaces.js +2 -0
- package/es2015/src/picker/components/yearPicker/yearPicker.interfaces.js.map +1 -0
- package/es2015/src/picker/interfaces.js +5 -0
- package/es2015/src/picker/interfaces.js.map +1 -0
- package/es2015/src/picker/misc/datetimePicker.interface.js +2 -0
- package/es2015/src/picker/misc/datetimePicker.interface.js.map +1 -0
- package/es2015/src/picker/misc/tokens.js +6 -0
- package/es2015/src/picker/misc/tokens.js.map +1 -0
- package/es2015/src/picker/modules/picker.module.js +46 -0
- package/es2015/src/picker/modules/picker.module.js.map +1 -0
- package/es2015/src/picker/types.js +8 -0
- package/es2015/src/picker/types.js.map +1 -0
- package/es2015/src/pipes/asRequiredType.js +22 -0
- package/es2015/src/pipes/asRequiredType.js.map +1 -0
- package/es2015/src/pipes/dateConvert.pipe.js +35 -0
- package/es2015/src/pipes/dateConvert.pipe.js.map +1 -0
- package/es2015/src/pipes/dateFormat.pipe.js +45 -0
- package/es2015/src/pipes/dateFormat.pipe.js.map +1 -0
- package/es2015/src/selector/components/inputDateTime/inputDateTime.component.js +421 -0
- package/es2015/src/selector/components/inputDateTime/inputDateTime.component.js.map +1 -0
- package/es2015/src/selector/components/selector/selector.component.animations.js +15 -0
- package/es2015/src/selector/components/selector/selector.component.animations.js.map +1 -0
- package/es2015/src/selector/components/selector/selector.component.js +344 -0
- package/es2015/src/selector/components/selector/selector.component.js.map +1 -0
- package/es2015/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +317 -0
- package/es2015/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -0
- package/es2015/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +51 -0
- package/es2015/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +1 -0
- package/es2015/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +51 -0
- package/es2015/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +1 -0
- package/es2015/src/selector/directives/datetimeValidator/datetimeValidator.directive.js +47 -0
- package/es2015/src/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +1 -0
- package/es2015/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +119 -0
- package/es2015/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +1 -0
- package/es2015/src/selector/interfaces.js +2 -0
- package/es2015/src/selector/interfaces.js.map +1 -0
- package/es2015/src/selector/misc/datetimeSelector.interface.js +2 -0
- package/es2015/src/selector/misc/datetimeSelector.interface.js.map +1 -0
- package/es2015/src/selector/misc/tokens.js +6 -0
- package/es2015/src/selector/misc/tokens.js.map +1 -0
- package/es2015/src/selector/modules/basicSelector.module.js +20 -0
- package/es2015/src/selector/modules/basicSelector.module.js.map +1 -0
- package/es2015/src/selector/modules/selector.module.js +60 -0
- package/es2015/src/selector/modules/selector.module.js.map +1 -0
- package/es2015/src/selector/types.js +10 -0
- package/es2015/src/selector/types.js.map +1 -0
- package/es2015/src/services/dateApi.interface.js +2 -0
- package/es2015/src/services/dateApi.interface.js.map +1 -0
- package/es2015/src/services/datePositionParser.interface.js +2 -0
- package/es2015/src/services/datePositionParser.interface.js.map +1 -0
- package/es2015/src/services/datePositionParser.service.js +227 -0
- package/es2015/src/services/datePositionParser.service.js.map +1 -0
- package/es2015/src/services/dateTimeRelativeParser.service.js +66 -0
- package/es2015/src/services/dateTimeRelativeParser.service.js.map +1 -0
- package/es2015/src/services/dateValueProvider.service.js +58 -0
- package/es2015/src/services/dateValueProvider.service.js.map +1 -0
- package/es2015/src/services/formatProvider.interface.js +2 -0
- package/es2015/src/services/formatProvider.interface.js.map +1 -0
- package/es2015/src/services/index.js +4 -0
- package/es2015/src/services/index.js.map +1 -0
- package/es2020/date-fns/src/index.js +4 -0
- package/es2020/date-fns/src/index.js.map +1 -0
- package/es2020/date-fns/src/misc/tokens.js +20 -0
- package/es2020/date-fns/src/misc/tokens.js.map +1 -0
- package/es2020/date-fns/src/services/dateFnsDateApi.service.js +437 -0
- package/es2020/date-fns/src/services/dateFnsDateApi.service.js.map +1 -0
- package/es2020/date-fns/src/services/dateFnsLocale.service.js +2 -0
- package/es2020/date-fns/src/services/dateFnsLocale.service.js.map +1 -0
- package/es2020/karma.conf.js +57 -0
- package/es2020/karma.conf.js.map +1 -0
- package/es2020/moment/src/index.js +3 -0
- package/es2020/moment/src/index.js.map +1 -0
- package/es2020/moment/src/misc/tokens.js +15 -0
- package/es2020/moment/src/misc/tokens.js.map +1 -0
- package/es2020/moment/src/services/momentDateApi.service.js +398 -0
- package/es2020/moment/src/services/momentDateApi.service.js.map +1 -0
- package/es2020/src/index.js +19 -0
- package/es2020/src/index.js.map +1 -0
- package/es2020/src/misc/constants.js +33 -0
- package/es2020/src/misc/constants.js.map +1 -0
- package/es2020/src/misc/datetime.interface.js +2 -0
- package/es2020/src/misc/datetime.interface.js.map +1 -0
- package/es2020/src/misc/tokens.js +19 -0
- package/es2020/src/misc/tokens.js.map +1 -0
- package/es2020/src/misc/validators.js +58 -0
- package/es2020/src/misc/validators.js.map +1 -0
- package/es2020/src/modules/datePipes.module.js +33 -0
- package/es2020/src/modules/datePipes.module.js.map +1 -0
- package/es2020/src/picker/components/dayPicker/dayPicker.component.js +172 -0
- package/es2020/src/picker/components/dayPicker/dayPicker.component.js.map +1 -0
- package/es2020/src/picker/components/dayPicker/dayPicker.interfaces.js +2 -0
- package/es2020/src/picker/components/dayPicker/dayPicker.interfaces.js.map +1 -0
- package/es2020/src/picker/components/monthPicker/monthPicker.component.js +114 -0
- package/es2020/src/picker/components/monthPicker/monthPicker.component.js.map +1 -0
- package/es2020/src/picker/components/monthPicker/monthPicker.interfaces.js +2 -0
- package/es2020/src/picker/components/monthPicker/monthPicker.interfaces.js.map +1 -0
- package/es2020/src/picker/components/picker/picker.component.animations.js +71 -0
- package/es2020/src/picker/components/picker/picker.component.animations.js.map +1 -0
- package/es2020/src/picker/components/picker/picker.component.js +236 -0
- package/es2020/src/picker/components/picker/picker.component.js.map +1 -0
- package/es2020/src/picker/components/pickerBase.component.js +243 -0
- package/es2020/src/picker/components/pickerBase.component.js.map +1 -0
- package/es2020/src/picker/components/yearPicker/yearPicker.component.js +126 -0
- package/es2020/src/picker/components/yearPicker/yearPicker.component.js.map +1 -0
- package/es2020/src/picker/components/yearPicker/yearPicker.interfaces.js +2 -0
- package/es2020/src/picker/components/yearPicker/yearPicker.interfaces.js.map +1 -0
- package/es2020/src/picker/interfaces.js +5 -0
- package/es2020/src/picker/interfaces.js.map +1 -0
- package/es2020/src/picker/misc/datetimePicker.interface.js +2 -0
- package/es2020/src/picker/misc/datetimePicker.interface.js.map +1 -0
- package/es2020/src/picker/misc/tokens.js +6 -0
- package/es2020/src/picker/misc/tokens.js.map +1 -0
- package/es2020/src/picker/modules/picker.module.js +46 -0
- package/es2020/src/picker/modules/picker.module.js.map +1 -0
- package/es2020/src/picker/types.js +8 -0
- package/es2020/src/picker/types.js.map +1 -0
- package/es2020/src/pipes/asRequiredType.js +22 -0
- package/es2020/src/pipes/asRequiredType.js.map +1 -0
- package/es2020/src/pipes/dateConvert.pipe.js +35 -0
- package/es2020/src/pipes/dateConvert.pipe.js.map +1 -0
- package/es2020/src/pipes/dateFormat.pipe.js +45 -0
- package/es2020/src/pipes/dateFormat.pipe.js.map +1 -0
- package/es2020/src/selector/components/inputDateTime/inputDateTime.component.js +417 -0
- package/es2020/src/selector/components/inputDateTime/inputDateTime.component.js.map +1 -0
- package/es2020/src/selector/components/selector/selector.component.animations.js +15 -0
- package/es2020/src/selector/components/selector/selector.component.animations.js.map +1 -0
- package/es2020/src/selector/components/selector/selector.component.js +334 -0
- package/es2020/src/selector/components/selector/selector.component.js.map +1 -0
- package/es2020/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +314 -0
- package/es2020/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -0
- package/es2020/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +51 -0
- package/es2020/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +1 -0
- package/es2020/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +51 -0
- package/es2020/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +1 -0
- package/es2020/src/selector/directives/datetimeValidator/datetimeValidator.directive.js +47 -0
- package/es2020/src/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +1 -0
- package/es2020/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +118 -0
- package/es2020/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +1 -0
- package/es2020/src/selector/interfaces.js +2 -0
- package/es2020/src/selector/interfaces.js.map +1 -0
- package/es2020/src/selector/misc/datetimeSelector.interface.js +2 -0
- package/es2020/src/selector/misc/datetimeSelector.interface.js.map +1 -0
- package/es2020/src/selector/misc/tokens.js +6 -0
- package/es2020/src/selector/misc/tokens.js.map +1 -0
- package/es2020/src/selector/modules/basicSelector.module.js +20 -0
- package/es2020/src/selector/modules/basicSelector.module.js.map +1 -0
- package/es2020/src/selector/modules/selector.module.js +60 -0
- package/es2020/src/selector/modules/selector.module.js.map +1 -0
- package/es2020/src/selector/types.js +10 -0
- package/es2020/src/selector/types.js.map +1 -0
- package/es2020/src/services/dateApi.interface.js +2 -0
- package/es2020/src/services/dateApi.interface.js.map +1 -0
- package/es2020/src/services/datePositionParser.interface.js +2 -0
- package/es2020/src/services/datePositionParser.interface.js.map +1 -0
- package/es2020/src/services/datePositionParser.service.js +227 -0
- package/es2020/src/services/datePositionParser.service.js.map +1 -0
- package/es2020/src/services/dateTimeRelativeParser.service.js +65 -0
- package/es2020/src/services/dateTimeRelativeParser.service.js.map +1 -0
- package/es2020/src/services/dateValueProvider.service.js +58 -0
- package/es2020/src/services/dateValueProvider.service.js.map +1 -0
- package/es2020/src/services/formatProvider.interface.js +2 -0
- package/es2020/src/services/formatProvider.interface.js.map +1 -0
- package/es2020/src/services/index.js +4 -0
- package/es2020/src/services/index.js.map +1 -0
- package/karma.conf.d.ts +2 -0
- package/karma.conf.d.ts.map +1 -0
- package/moment/datetime-moment.d.ts +47 -0
- package/moment/datetime-moment.internal.d.ts +47 -0
- package/moment/package.json +7 -7
- package/moment/src/index.d.ts +3 -0
- package/moment/src/index.d.ts.map +1 -0
- package/moment/src/misc/tokens.d.ts +5 -5
- package/moment/src/services/momentDateApi.service.d.ts +35 -32
- package/moment/src/services/momentDateApi.service.d.ts.map +1 -1
- package/moment/temp/datetime-moment.api.md +36 -0
- package/package.json +91 -48
- package/src/index.d.ts +19 -0
- package/src/index.d.ts.map +1 -0
- package/src/misc/constants.d.ts +32 -32
- package/src/misc/datetime.interface.d.ts +34 -34
- package/src/misc/tokens.d.ts +10 -10
- package/src/misc/validators.d.ts +25 -25
- package/src/modules/datePipes.module.d.ts +12 -5
- package/src/modules/datePipes.module.d.ts.map +1 -1
- package/src/picker/components/dayPicker/dayPicker.component.d.ts +68 -65
- package/src/picker/components/dayPicker/dayPicker.component.d.ts.map +1 -1
- package/src/picker/components/dayPicker/dayPicker.component.html +7 -7
- package/src/picker/components/dayPicker/dayPicker.interfaces.d.ts +10 -10
- package/src/picker/components/monthPicker/monthPicker.component.d.ts +52 -49
- package/src/picker/components/monthPicker/monthPicker.component.d.ts.map +1 -1
- package/src/picker/components/monthPicker/monthPicker.component.html +6 -6
- package/src/picker/components/monthPicker/monthPicker.interfaces.d.ts +6 -6
- package/src/picker/components/picker/picker.component.animations.d.ts +4 -4
- package/src/picker/components/picker/picker.component.d.ts +104 -101
- package/src/picker/components/picker/picker.component.d.ts.map +1 -1
- package/src/picker/components/pickerBase.component.d.ts +169 -166
- package/src/picker/components/pickerBase.component.d.ts.map +1 -1
- package/src/picker/components/yearPicker/yearPicker.component.d.ts +57 -54
- package/src/picker/components/yearPicker/yearPicker.component.d.ts.map +1 -1
- package/src/picker/components/yearPicker/yearPicker.component.html +6 -6
- package/src/picker/components/yearPicker/yearPicker.interfaces.d.ts +6 -6
- package/src/picker/interfaces.d.ts +4 -4
- package/src/picker/misc/datetimePicker.interface.d.ts +188 -188
- package/src/picker/misc/tokens.d.ts +6 -6
- package/src/picker/modules/picker.module.d.ts +16 -5
- package/src/picker/modules/picker.module.d.ts.map +1 -1
- package/src/picker/types.d.ts +7 -7
- package/src/pipes/asRequiredType.d.ts +21 -0
- package/src/pipes/asRequiredType.d.ts.map +1 -0
- package/src/pipes/dateConvert.pipe.d.ts +18 -15
- package/src/pipes/dateConvert.pipe.d.ts.map +1 -1
- package/src/pipes/dateFormat.pipe.d.ts +20 -17
- package/src/pipes/dateFormat.pipe.d.ts.map +1 -1
- package/src/selector/components/inputDateTime/inputDateTime.component.d.ts +187 -184
- package/src/selector/components/inputDateTime/inputDateTime.component.d.ts.map +1 -1
- package/src/selector/components/selector/selector.component.animations.d.ts +4 -4
- package/src/selector/components/selector/selector.component.d.ts +155 -152
- package/src/selector/components/selector/selector.component.d.ts.map +1 -1
- package/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts +170 -167
- package/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts.map +1 -1
- package/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts +22 -19
- package/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts.map +1 -1
- package/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts +22 -19
- package/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts.map +1 -1
- package/src/selector/directives/datetimeValidator/datetimeValidator.directive.d.ts +21 -18
- package/src/selector/directives/datetimeValidator/datetimeValidator.directive.d.ts.map +1 -1
- package/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts +53 -50
- package/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts.map +1 -1
- package/src/selector/interfaces.d.ts +1 -1
- package/src/selector/misc/datetimeSelector.interface.d.ts +82 -82
- package/src/selector/misc/tokens.d.ts +6 -6
- package/src/selector/modules/basicSelector.module.d.ts +10 -5
- package/src/selector/modules/basicSelector.module.d.ts.map +1 -1
- package/src/selector/modules/selector.module.d.ts +18 -5
- package/src/selector/modules/selector.module.d.ts.map +1 -1
- package/src/selector/types.d.ts +9 -9
- package/src/services/dateApi.interface.d.ts +275 -275
- package/src/services/datePositionParser.interface.d.ts +40 -40
- package/src/services/datePositionParser.service.d.ts +60 -57
- package/src/services/datePositionParser.service.d.ts.map +1 -1
- package/src/services/dateTimeRelativeParser.service.d.ts +21 -18
- package/src/services/dateTimeRelativeParser.service.d.ts.map +1 -1
- package/src/services/dateValueProvider.service.d.ts +18 -15
- package/src/services/dateValueProvider.service.d.ts.map +1 -1
- package/src/services/formatProvider.interface.d.ts +17 -17
- package/src/services/index.d.ts +3 -3
- package/tsconfig.karma.json +5 -6
- package/version.bak +1 -1
- package/appveyor.yml +0 -70
- package/date-fns/dist/es2015/date-fns/index.js +0 -10
- package/date-fns/dist/es2015/date-fns/public_api.js +0 -7
- package/date-fns/dist/es2015/date-fns/src/date-fns.js +0 -9
- package/date-fns/dist/es2015/date-fns/src/misc/tokens.js +0 -32
- package/date-fns/dist/es2015/date-fns/src/services/dateFnsDateApi.service.js +0 -512
- package/date-fns/dist/es2015/date-fns/src/services/dateFnsLocale.service.js +0 -18
- package/date-fns/dist/es5/date-fns/index.js +0 -10
- package/date-fns/dist/es5/date-fns/public_api.js +0 -7
- package/date-fns/dist/es5/date-fns/src/date-fns.js +0 -9
- package/date-fns/dist/es5/date-fns/src/misc/tokens.js +0 -32
- package/date-fns/dist/es5/date-fns/src/services/dateFnsDateApi.service.js +0 -902
- package/date-fns/dist/es5/date-fns/src/services/dateFnsLocale.service.js +0 -18
- package/date-fns/index.d.ts +0 -5
- package/date-fns/index.d.ts.map +0 -1
- package/date-fns/index.metadata.json +0 -1
- package/date-fns/public_api.d.ts +0 -2
- package/date-fns/public_api.d.ts.map +0 -1
- package/date-fns/src/date-fns.d.ts.map +0 -1
- package/date-fns/src/services/dateFnsDateApi.service.ngfactory.d.ts.map +0 -1
- package/datetime.d.ts.map +0 -1
- package/datetime.metadata.json +0 -1
- package/dist/es2015/datetime.js +0 -10
- package/dist/es2015/public_api.js +0 -7
- package/dist/es2015/src/datetime.js +0 -24
- package/dist/es2015/src/misc/constants.js +0 -46
- package/dist/es2015/src/misc/datetime.interface.js +0 -52
- package/dist/es2015/src/misc/tokens.js +0 -29
- package/dist/es2015/src/misc/validators.js +0 -80
- package/dist/es2015/src/modules/datePipes.module.js +0 -26
- package/dist/es2015/src/picker/components/dayPicker/dayPicker.component.js +0 -215
- package/dist/es2015/src/picker/components/dayPicker/dayPicker.interfaces.js +0 -18
- package/dist/es2015/src/picker/components/monthPicker/monthPicker.component.js +0 -138
- package/dist/es2015/src/picker/components/monthPicker/monthPicker.interfaces.js +0 -11
- package/dist/es2015/src/picker/components/picker/picker.component.animations.js +0 -77
- package/dist/es2015/src/picker/components/picker/picker.component.js +0 -386
- package/dist/es2015/src/picker/components/pickerBase.component.js +0 -406
- package/dist/es2015/src/picker/components/yearPicker/yearPicker.component.js +0 -158
- package/dist/es2015/src/picker/components/yearPicker/yearPicker.interfaces.js +0 -11
- package/dist/es2015/src/picker/interfaces.js +0 -10
- package/dist/es2015/src/picker/misc/datetimePicker.interface.js +0 -245
- package/dist/es2015/src/picker/misc/tokens.js +0 -12
- package/dist/es2015/src/picker/modules/picker.module.js +0 -35
- package/dist/es2015/src/picker/types.js +0 -13
- package/dist/es2015/src/pipes/dateConvert.pipe.js +0 -50
- package/dist/es2015/src/pipes/dateFormat.pipe.js +0 -64
- package/dist/es2015/src/selector/components/inputDateTime/inputDateTime.component.js +0 -588
- package/dist/es2015/src/selector/components/selector/selector.component.animations.js +0 -21
- package/dist/es2015/src/selector/components/selector/selector.component.js +0 -514
- package/dist/es2015/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +0 -456
- package/dist/es2015/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +0 -73
- package/dist/es2015/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +0 -73
- package/dist/es2015/src/selector/directives/datetimeValidator/datetimeValidator.directive.js +0 -70
- package/dist/es2015/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +0 -171
- package/dist/es2015/src/selector/interfaces.js +0 -7
- package/dist/es2015/src/selector/misc/datetimeSelector.interface.js +0 -106
- package/dist/es2015/src/selector/misc/tokens.js +0 -12
- package/dist/es2015/src/selector/modules/basicSelector.module.js +0 -20
- package/dist/es2015/src/selector/modules/selector.module.js +0 -45
- package/dist/es2015/src/selector/types.js +0 -15
- package/dist/es2015/src/services/dateApi.interface.js +0 -316
- package/dist/es2015/src/services/datePositionParser.interface.js +0 -56
- package/dist/es2015/src/services/datePositionParser.service.js +0 -297
- package/dist/es2015/src/services/dateTimeRelativeParser.service.js +0 -97
- package/dist/es2015/src/services/dateValueProvider.service.js +0 -79
- package/dist/es2015/src/services/formatProvider.interface.js +0 -28
- package/dist/es2015/src/services/index.js +0 -9
- package/dist/es5/datetime.js +0 -10
- package/dist/es5/public_api.js +0 -7
- package/dist/es5/src/datetime.js +0 -24
- package/dist/es5/src/misc/constants.js +0 -46
- package/dist/es5/src/misc/datetime.interface.js +0 -52
- package/dist/es5/src/misc/tokens.js +0 -29
- package/dist/es5/src/misc/validators.js +0 -124
- package/dist/es5/src/modules/datePipes.module.js +0 -30
- package/dist/es5/src/picker/components/dayPicker/dayPicker.component.js +0 -323
- package/dist/es5/src/picker/components/dayPicker/dayPicker.interfaces.js +0 -18
- package/dist/es5/src/picker/components/monthPicker/monthPicker.component.js +0 -233
- package/dist/es5/src/picker/components/monthPicker/monthPicker.interfaces.js +0 -11
- package/dist/es5/src/picker/components/picker/picker.component.animations.js +0 -77
- package/dist/es5/src/picker/components/picker/picker.component.js +0 -460
- package/dist/es5/src/picker/components/pickerBase.component.js +0 -561
- package/dist/es5/src/picker/components/yearPicker/yearPicker.component.js +0 -253
- package/dist/es5/src/picker/components/yearPicker/yearPicker.interfaces.js +0 -11
- package/dist/es5/src/picker/interfaces.js +0 -10
- package/dist/es5/src/picker/misc/datetimePicker.interface.js +0 -245
- package/dist/es5/src/picker/misc/tokens.js +0 -12
- package/dist/es5/src/picker/modules/picker.module.js +0 -39
- package/dist/es5/src/picker/types.js +0 -13
- package/dist/es5/src/pipes/dateConvert.pipe.js +0 -63
- package/dist/es5/src/pipes/dateFormat.pipe.js +0 -79
- package/dist/es5/src/selector/components/inputDateTime/inputDateTime.component.js +0 -808
- package/dist/es5/src/selector/components/selector/selector.component.animations.js +0 -21
- package/dist/es5/src/selector/components/selector/selector.component.js +0 -653
- package/dist/es5/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +0 -656
- package/dist/es5/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +0 -84
- package/dist/es5/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +0 -84
- package/dist/es5/src/selector/directives/datetimeValidator/datetimeValidator.directive.js +0 -82
- package/dist/es5/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +0 -230
- package/dist/es5/src/selector/interfaces.js +0 -7
- package/dist/es5/src/selector/misc/datetimeSelector.interface.js +0 -106
- package/dist/es5/src/selector/misc/tokens.js +0 -12
- package/dist/es5/src/selector/modules/basicSelector.module.js +0 -24
- package/dist/es5/src/selector/modules/selector.module.js +0 -49
- package/dist/es5/src/selector/types.js +0 -15
- package/dist/es5/src/services/dateApi.interface.js +0 -316
- package/dist/es5/src/services/datePositionParser.interface.js +0 -56
- package/dist/es5/src/services/datePositionParser.service.js +0 -366
- package/dist/es5/src/services/dateTimeRelativeParser.service.js +0 -108
- package/dist/es5/src/services/dateValueProvider.service.js +0 -92
- package/dist/es5/src/services/formatProvider.interface.js +0 -28
- package/dist/es5/src/services/index.js +0 -9
- package/moment/dist/es2015/moment/index.js +0 -10
- package/moment/dist/es2015/moment/public_api.js +0 -7
- package/moment/dist/es2015/moment/src/misc/tokens.js +0 -26
- package/moment/dist/es2015/moment/src/moment.js +0 -8
- package/moment/dist/es2015/moment/src/services/momentDateApi.service.js +0 -466
- package/moment/dist/es5/moment/index.js +0 -10
- package/moment/dist/es5/moment/public_api.js +0 -7
- package/moment/dist/es5/moment/src/misc/tokens.js +0 -26
- package/moment/dist/es5/moment/src/moment.js +0 -8
- package/moment/dist/es5/moment/src/services/momentDateApi.service.js +0 -858
- package/moment/index.d.ts +0 -5
- package/moment/index.d.ts.map +0 -1
- package/moment/index.metadata.json +0 -1
- package/moment/public_api.d.ts +0 -2
- package/moment/public_api.d.ts.map +0 -1
- package/moment/src/moment.d.ts.map +0 -1
- package/moment/src/services/momentDateApi.service.ngfactory.d.ts.map +0 -1
- package/public_api.d.ts +0 -2
- package/public_api.d.ts.map +0 -1
- package/src/datetime.d.ts.map +0 -1
- package/src/modules/datePipes.module.ngfactory.d.ts.map +0 -1
- package/src/picker/components/dayPicker/dayPicker.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/picker/components/dayPicker/dayPicker.component.ngfactory.d.ts.map +0 -1
- package/src/picker/components/monthPicker/monthPicker.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/picker/components/monthPicker/monthPicker.component.ngfactory.d.ts.map +0 -1
- package/src/picker/components/picker/picker.component.ngfactory.d.ts.map +0 -1
- package/src/picker/components/yearPicker/yearPicker.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/picker/components/yearPicker/yearPicker.component.ngfactory.d.ts.map +0 -1
- package/src/picker/modules/picker.module.ngfactory.d.ts.map +0 -1
- package/src/pipes/dateConvert.pipe.ngfactory.d.ts.map +0 -1
- package/src/pipes/dateFormat.pipe.ngfactory.d.ts.map +0 -1
- package/src/selector/components/inputDateTime/inputDateTime.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/selector/components/inputDateTime/inputDateTime.component.ngfactory.d.ts.map +0 -1
- package/src/selector/components/selector/selector.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/selector/components/selector/selector.component.ngfactory.d.ts.map +0 -1
- package/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/selector/components/simpleInputDateTime/simpleInputDateTime.component.ngfactory.d.ts.map +0 -1
- package/src/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.ngfactory.d.ts.map +0 -1
- package/src/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.ngfactory.d.ts.map +0 -1
- package/src/selector/directives/datetimeValidator/datetimeValidator.directive.ngfactory.d.ts.map +0 -1
- package/src/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.ngfactory.d.ts.map +0 -1
- package/src/selector/modules/basicSelector.module.ngfactory.d.ts.map +0 -1
- package/src/selector/modules/selector.module.ngfactory.d.ts.map +0 -1
- package/src/services/datePositionParser.service.ngfactory.d.ts.map +0 -1
- package/src/services/dateTimeRelativeParser.service.ngfactory.d.ts.map +0 -1
- package/src/services/dateValueProvider.service.ngfactory.d.ts.map +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: src/picker/components/dayPicker/dayPicker.interfaces.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Specific css classes for day picker
|
|
8
|
-
* @record
|
|
9
|
-
*/
|
|
10
|
-
export function DayPickerCssClasses() { }
|
|
11
|
-
if (false) {
|
|
12
|
-
/**
|
|
13
|
-
* Element displaying weekday name
|
|
14
|
-
* @type {?|undefined}
|
|
15
|
-
*/
|
|
16
|
-
DayPickerCssClasses.prototype.weekdayName;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF5UGlja2VyLmludGVyZmFjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvcGlja2VyL2NvbXBvbmVudHMvZGF5UGlja2VyL2RheVBpY2tlci5pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUtBLHlDQU1DOzs7Ozs7SUFERywwQ0FBcUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbW1vblBpY2tlckNzc0NsYXNzZXN9IGZyb20gJy4uLy4uL21pc2MvZGF0ZXRpbWVQaWNrZXIuaW50ZXJmYWNlJztcclxuXHJcbi8qKlxyXG4gKiBTcGVjaWZpYyBjc3MgY2xhc3NlcyBmb3IgZGF5IHBpY2tlclxyXG4gKi9cclxuZXhwb3J0IGludGVyZmFjZSBEYXlQaWNrZXJDc3NDbGFzc2VzIGV4dGVuZHMgQ29tbW9uUGlja2VyQ3NzQ2xhc3Nlc1xyXG57XHJcbiAgICAvKipcclxuICAgICAqIEVsZW1lbnQgZGlzcGxheWluZyB3ZWVrZGF5IG5hbWVcclxuICAgICAqL1xyXG4gICAgd2Vla2RheU5hbWU/OiBzdHJpbmc7XHJcbn0iXX0=
|
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
/**
|
|
15
|
-
* @fileoverview added by tsickle
|
|
16
|
-
* Generated from: src/picker/components/monthPicker/monthPicker.component.ts
|
|
17
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
18
|
-
*/
|
|
19
|
-
import { Component, ChangeDetectionStrategy, Inject, ChangeDetectorRef } from '@angular/core';
|
|
20
|
-
import { extend } from '@jscrpt/common';
|
|
21
|
-
import { DATE_API } from '../../../misc/tokens';
|
|
22
|
-
import { PickerBaseComponent } from '../pickerBase.component';
|
|
23
|
-
/**
|
|
24
|
-
* Default styles for picker
|
|
25
|
-
* @type {?}
|
|
26
|
-
*/
|
|
27
|
-
var defaultStyles = {
|
|
28
|
-
periodSelection: 'period',
|
|
29
|
-
previousPeriod: 'fas fa-angle-left clickable',
|
|
30
|
-
nextPeriod: 'fas fa-angle-right clickable',
|
|
31
|
-
periodValue: 'period-value',
|
|
32
|
-
periodData: 'period-data',
|
|
33
|
-
periodDatum: 'period-datum clickable'
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Component used for displaying month picker
|
|
37
|
-
* @template TDate
|
|
38
|
-
*/
|
|
39
|
-
var DateTimeMonthPickerComponent = /** @class */ (function (_super) {
|
|
40
|
-
__extends(DateTimeMonthPickerComponent, _super);
|
|
41
|
-
//######################### constructor #########################
|
|
42
|
-
function DateTimeMonthPickerComponent(dateApi, changeDetector) {
|
|
43
|
-
var _this = _super.call(this, dateApi, changeDetector) || this;
|
|
44
|
-
_this.cssClasses = extend(true, {}, defaultStyles);
|
|
45
|
-
return _this;
|
|
46
|
-
}
|
|
47
|
-
//######################### public methods - template bindings #########################
|
|
48
|
-
/**
|
|
49
|
-
* Changes displayed year to next year
|
|
50
|
-
* @param event - Event that occured
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
|
-
//######################### public methods - template bindings #########################
|
|
54
|
-
/**
|
|
55
|
-
* Changes displayed year to next year
|
|
56
|
-
* \@internal
|
|
57
|
-
* @param {?} event - Event that occured
|
|
58
|
-
* @return {?}
|
|
59
|
-
*/
|
|
60
|
-
DateTimeMonthPickerComponent.prototype.nextYear =
|
|
61
|
-
//######################### public methods - template bindings #########################
|
|
62
|
-
/**
|
|
63
|
-
* Changes displayed year to next year
|
|
64
|
-
* \@internal
|
|
65
|
-
* @param {?} event - Event that occured
|
|
66
|
-
* @return {?}
|
|
67
|
-
*/
|
|
68
|
-
function (event) {
|
|
69
|
-
event.preventDefault();
|
|
70
|
-
(/** @type {?} */ (this.displayDate)).addYears(1);
|
|
71
|
-
this.display((/** @type {?} */ (this.displayDate)));
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Changes displayed year to previous year
|
|
75
|
-
* @param event - Event that occured
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
/**
|
|
79
|
-
* Changes displayed year to previous year
|
|
80
|
-
* \@internal
|
|
81
|
-
* @param {?} event - Event that occured
|
|
82
|
-
* @return {?}
|
|
83
|
-
*/
|
|
84
|
-
DateTimeMonthPickerComponent.prototype.previousYear = /**
|
|
85
|
-
* Changes displayed year to previous year
|
|
86
|
-
* \@internal
|
|
87
|
-
* @param {?} event - Event that occured
|
|
88
|
-
* @return {?}
|
|
89
|
-
*/
|
|
90
|
-
function (event) {
|
|
91
|
-
event.preventDefault();
|
|
92
|
-
(/** @type {?} */ (this.displayDate)).subtractYears(1);
|
|
93
|
-
this.display((/** @type {?} */ (this.displayDate)));
|
|
94
|
-
};
|
|
95
|
-
//######################### public methods - implementation of DateTimePicker #########################
|
|
96
|
-
/**
|
|
97
|
-
* Set displays date to be displayed
|
|
98
|
-
* @param value - Value that identifies period that is going to be displayed
|
|
99
|
-
*/
|
|
100
|
-
//######################### public methods - implementation of DateTimePicker #########################
|
|
101
|
-
/**
|
|
102
|
-
* Set displays date to be displayed
|
|
103
|
-
* @param {?} value - Value that identifies period that is going to be displayed
|
|
104
|
-
* @return {?}
|
|
105
|
-
*/
|
|
106
|
-
DateTimeMonthPickerComponent.prototype.display =
|
|
107
|
-
//######################### public methods - implementation of DateTimePicker #########################
|
|
108
|
-
/**
|
|
109
|
-
* Set displays date to be displayed
|
|
110
|
-
* @param {?} value - Value that identifies period that is going to be displayed
|
|
111
|
-
* @return {?}
|
|
112
|
-
*/
|
|
113
|
-
function (value) {
|
|
114
|
-
this.displayDate = value;
|
|
115
|
-
/** @type {?} */
|
|
116
|
-
var monthOfYear = this.displayDate.startOfYear().updateOriginal();
|
|
117
|
-
this.periodData = [];
|
|
118
|
-
for (var x = 0; x < 12; x++) {
|
|
119
|
-
this.periodData.push({
|
|
120
|
-
active: false,
|
|
121
|
-
disabled: false,
|
|
122
|
-
date: monthOfYear.value,
|
|
123
|
-
name: monthOfYear.format('MMM')
|
|
124
|
-
});
|
|
125
|
-
monthOfYear.addMonths(1);
|
|
126
|
-
}
|
|
127
|
-
this.displayDate.resetOriginal();
|
|
128
|
-
this._updateMinMax();
|
|
129
|
-
//set value if exists
|
|
130
|
-
if (this._value && (this.displayDate.isSameYear(this._value.from) || this.displayDate.isSameYear(this._value.to))) {
|
|
131
|
-
this.setValue(this._value);
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
//######################### protected methods #########################
|
|
135
|
-
/**
|
|
136
|
-
* Obtains end of period
|
|
137
|
-
* @param period - Period for which should be end obtained
|
|
138
|
-
*/
|
|
139
|
-
//######################### protected methods #########################
|
|
140
|
-
/**
|
|
141
|
-
* Obtains end of period
|
|
142
|
-
* @protected
|
|
143
|
-
* @param {?} period - Period for which should be end obtained
|
|
144
|
-
* @return {?}
|
|
145
|
-
*/
|
|
146
|
-
DateTimeMonthPickerComponent.prototype._endOfPeriod =
|
|
147
|
-
//######################### protected methods #########################
|
|
148
|
-
/**
|
|
149
|
-
* Obtains end of period
|
|
150
|
-
* @protected
|
|
151
|
-
* @param {?} period - Period for which should be end obtained
|
|
152
|
-
* @return {?}
|
|
153
|
-
*/
|
|
154
|
-
function (period) {
|
|
155
|
-
return this._dateApi.getValue(period.date).endOfMonth().value;
|
|
156
|
-
};
|
|
157
|
-
/**
|
|
158
|
-
* Tests whether provided value is in same period as displayed picker
|
|
159
|
-
* @param val - Tested value for same period as displayed picker
|
|
160
|
-
*/
|
|
161
|
-
/**
|
|
162
|
-
* Tests whether provided value is in same period as displayed picker
|
|
163
|
-
* @protected
|
|
164
|
-
* @param {?} val - Tested value for same period as displayed picker
|
|
165
|
-
* @return {?}
|
|
166
|
-
*/
|
|
167
|
-
DateTimeMonthPickerComponent.prototype._isSamePeriodAsDisplayed = /**
|
|
168
|
-
* Tests whether provided value is in same period as displayed picker
|
|
169
|
-
* @protected
|
|
170
|
-
* @param {?} val - Tested value for same period as displayed picker
|
|
171
|
-
* @return {?}
|
|
172
|
-
*/
|
|
173
|
-
function (val) {
|
|
174
|
-
return val.isSameYear((/** @type {?} */ (this.displayDate)).value);
|
|
175
|
-
};
|
|
176
|
-
/**
|
|
177
|
-
* Tests whether provided value is in same period target value
|
|
178
|
-
* @param val - Tested value
|
|
179
|
-
* @param target - Target value to be tested against
|
|
180
|
-
*/
|
|
181
|
-
/**
|
|
182
|
-
* Tests whether provided value is in same period target value
|
|
183
|
-
* @protected
|
|
184
|
-
* @param {?} val - Tested value
|
|
185
|
-
* @param {?} target - Target value to be tested against
|
|
186
|
-
* @return {?}
|
|
187
|
-
*/
|
|
188
|
-
DateTimeMonthPickerComponent.prototype._isSamePeriod = /**
|
|
189
|
-
* Tests whether provided value is in same period target value
|
|
190
|
-
* @protected
|
|
191
|
-
* @param {?} val - Tested value
|
|
192
|
-
* @param {?} target - Target value to be tested against
|
|
193
|
-
* @return {?}
|
|
194
|
-
*/
|
|
195
|
-
function (val, target) {
|
|
196
|
-
return val.isSameMonth(target);
|
|
197
|
-
};
|
|
198
|
-
/**
|
|
199
|
-
* Gets period data for specified value
|
|
200
|
-
* @param val - Value for which is period data obtained
|
|
201
|
-
*/
|
|
202
|
-
/**
|
|
203
|
-
* Gets period data for specified value
|
|
204
|
-
* @protected
|
|
205
|
-
* @param {?} val - Value for which is period data obtained
|
|
206
|
-
* @return {?}
|
|
207
|
-
*/
|
|
208
|
-
DateTimeMonthPickerComponent.prototype._getPeriodData = /**
|
|
209
|
-
* Gets period data for specified value
|
|
210
|
-
* @protected
|
|
211
|
-
* @param {?} val - Value for which is period data obtained
|
|
212
|
-
* @return {?}
|
|
213
|
-
*/
|
|
214
|
-
function (val) {
|
|
215
|
-
return this.periodData[val.month()];
|
|
216
|
-
};
|
|
217
|
-
DateTimeMonthPickerComponent.decorators = [
|
|
218
|
-
{ type: Component, args: [{
|
|
219
|
-
selector: 'date-time-month-picker',
|
|
220
|
-
template: "<div [ngClass]=\"cssClasses?.periodSelection\">\r\n <div [ngClass]=\"cssClasses?.previousPeriod\" (mousedown)=\"previousYear($event)\"></div>\r\n <div [ngClass]=\"cssClasses?.periodValue\" [class.clickable]=\"canGoUp\" (mousedown)=\"goUp($event)\">{{displayDate?.format('yyyy')}}</div>\r\n <div [ngClass]=\"cssClasses?.nextPeriod\" (mousedown)=\"nextYear($event)\"></div>\r\n</div>\r\n\r\n<div [ngClass]=\"cssClasses?.periodData\">\r\n <div *ngFor=\"let month of periodData\"\r\n [ngClass]=\"cssClasses?.periodDatum\"\r\n [class.active]=\"month.active\"\r\n [class.disabled]=\"month.disabled\"\r\n (mousedown)=\"select($event, month)\">{{month.name}}</div>\r\n</div>",
|
|
221
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
222
|
-
styles: [".period-data\r\n{\r\n grid-template-columns: repeat(4, 1fr);\r\n}"]
|
|
223
|
-
},] }
|
|
224
|
-
];
|
|
225
|
-
/** @nocollapse */
|
|
226
|
-
DateTimeMonthPickerComponent.ctorParameters = function () { return [
|
|
227
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATE_API,] }] },
|
|
228
|
-
{ type: ChangeDetectorRef }
|
|
229
|
-
]; };
|
|
230
|
-
return DateTimeMonthPickerComponent;
|
|
231
|
-
}(PickerBaseComponent));
|
|
232
|
-
export { DateTimeMonthPickerComponent };
|
|
233
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGhQaWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL3BpY2tlci9jb21wb25lbnRzL21vbnRoUGlja2VyL21vbnRoUGlja2VyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7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yXG4gICAgICogQHBhcmFtIHZhbCAtIFZhbHVlIGZvciB3aGljaCBpcyBwZXJpb2QgZGF0YSBvYnRhaW5lZFxyXG4gICAgICovXHJcbiAgICBwcm90ZWN0ZWQgX2dldFBlcmlvZERhdGEodmFsOiBEYXRlQXBpT2JqZWN0PFREYXRlPik6IFBlcmlvZERhdGE8VERhdGU+XHJcbiAgICB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMucGVyaW9kRGF0YVt2YWwubW9udGgoKV07XHJcbiAgICB9XHJcbn0iXX0=
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: src/picker/components/monthPicker/monthPicker.interfaces.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Specific css classes for month picker
|
|
8
|
-
* @record
|
|
9
|
-
*/
|
|
10
|
-
export function MonthPickerCssClasses() { }
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGhQaWNrZXIuaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9waWNrZXIvY29tcG9uZW50cy9tb250aFBpY2tlci9tb250aFBpY2tlci5pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUtBLDJDQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21tb25QaWNrZXJDc3NDbGFzc2VzfSBmcm9tICcuLi8uLi9taXNjL2RhdGV0aW1lUGlja2VyLmludGVyZmFjZSc7XHJcblxyXG4vKipcclxuICogU3BlY2lmaWMgY3NzIGNsYXNzZXMgZm9yIG1vbnRoIHBpY2tlclxyXG4gKi9cclxuZXhwb3J0IGludGVyZmFjZSBNb250aFBpY2tlckNzc0NsYXNzZXMgZXh0ZW5kcyBDb21tb25QaWNrZXJDc3NDbGFzc2VzXHJcbntcclxufSJdfQ==
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: src/picker/components/picker/picker.component.animations.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
import { animate, group, query, style, transition, trigger } from '@angular/animations';
|
|
7
|
-
/**
|
|
8
|
-
* Animation trigger for animating scale up and scale down picker
|
|
9
|
-
* @type {?}
|
|
10
|
-
*/
|
|
11
|
-
export var scaleUpDownTrigger = trigger('scaleUpDown', [
|
|
12
|
-
transition(':enter', [
|
|
13
|
-
style({
|
|
14
|
-
opacity: 0
|
|
15
|
-
}),
|
|
16
|
-
animate('220ms', style({
|
|
17
|
-
opacity: 1
|
|
18
|
-
}))
|
|
19
|
-
]),
|
|
20
|
-
transition(':leave', [
|
|
21
|
-
animate('220ms', style({
|
|
22
|
-
opacity: 0
|
|
23
|
-
}))
|
|
24
|
-
]),
|
|
25
|
-
transition(':increment', [
|
|
26
|
-
group([
|
|
27
|
-
query(':enter', [
|
|
28
|
-
style({
|
|
29
|
-
opacity: 0,
|
|
30
|
-
position: 'absolute',
|
|
31
|
-
transform: 'scale(1.1)',
|
|
32
|
-
}),
|
|
33
|
-
animate('220ms', style({
|
|
34
|
-
opacity: 1,
|
|
35
|
-
transform: 'scale(1)',
|
|
36
|
-
}))
|
|
37
|
-
]),
|
|
38
|
-
query(':leave', [
|
|
39
|
-
style({
|
|
40
|
-
transform: 'scale(1)',
|
|
41
|
-
opacity: 1,
|
|
42
|
-
position: 'absolute'
|
|
43
|
-
}),
|
|
44
|
-
animate('220ms', style({
|
|
45
|
-
transform: 'scale(.9)',
|
|
46
|
-
opacity: 0
|
|
47
|
-
}))
|
|
48
|
-
])
|
|
49
|
-
])
|
|
50
|
-
]),
|
|
51
|
-
transition(':decrement', [
|
|
52
|
-
group([
|
|
53
|
-
query(':enter', [
|
|
54
|
-
style({
|
|
55
|
-
opacity: 0,
|
|
56
|
-
position: 'absolute',
|
|
57
|
-
transform: 'scale(.9)'
|
|
58
|
-
}),
|
|
59
|
-
animate('220ms', style({
|
|
60
|
-
opacity: 1,
|
|
61
|
-
transform: 'scale(1)'
|
|
62
|
-
}))
|
|
63
|
-
]),
|
|
64
|
-
query(':leave', [
|
|
65
|
-
style({
|
|
66
|
-
transform: 'scale(1)',
|
|
67
|
-
position: 'absolute'
|
|
68
|
-
}),
|
|
69
|
-
animate('220ms', style({
|
|
70
|
-
transform: 'scale(1.1)',
|
|
71
|
-
opacity: 0
|
|
72
|
-
}))
|
|
73
|
-
])
|
|
74
|
-
])
|
|
75
|
-
])
|
|
76
|
-
]);
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlja2VyLmNvbXBvbmVudC5hbmltYXRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL3BpY2tlci9jb21wb25lbnRzL3BpY2tlci9waWNrZXIuY29tcG9uZW50LmFuaW1hdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUMsT0FBTyxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQzs7Ozs7QUFLdEYsTUFBTSxLQUFPLGtCQUFrQixHQUFHLE9BQU8sQ0FBQyxhQUFhLEVBQ3ZEO0lBQ0ksVUFBVSxDQUFDLFFBQVEsRUFDbkI7UUFDSSxLQUFLLENBQ0w7W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XHJcbiAgICAgICAgICAgIG9wYWNpdHk6IDBcclxuICAgICAgICB9KSxcclxuICAgICAgICBhbmltYXRlKCcyMjBtcycsIHN0eWxlKFxyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgb3BhY2l0eTogMVxyXG4gICAgICAgIH0pKVxyXG4gICAgXSksXHJcbiAgICB0cmFuc2l0aW9uKCc6bGVhdmUnLCBcclxuICAgIFtcclxuICAgICAgICBhbmltYXRlKCcyMjBtcycsIHN0eWxlKFxyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgb3BhY2l0eTogMFxyXG4gICAgICAgIH0pKVxyXG4gICAgXSksXHJcbiAgICB0cmFuc2l0aW9uKCc6aW5jcmVtZW50JywgXHJcbiAgICBbXHJcbiAgICAgICAgZ3JvdXAoXHJcbiAgICAgICAgW1xyXG4gICAgICAgICAgICBxdWVyeSgnOmVudGVyJyxcclxuICAgICAgICAgICAgW1xyXG4gICAgICAgICAgICAgICAgc3R5bGUoXHJcbiAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogMCxcclxuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogJ2Fic29sdXRlJyxcclxuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSgxLjEpJyxcclxuICAgICAgICAgICAgICAgIH0pLFxyXG4gICAgICAgICAgICAgICAgYW5pbWF0ZSgnMjIwbXMnLCBzdHlsZShcclxuICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICBvcGFjaXR5OiAxLFxyXG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogJ3NjYWxlKDEpJyxcclxuICAgICAgICAgICAgICAgIH0pKVxyXG4gICAgICAgICAgICBdKSxcclxuICAgICAgICAgICAgcXVlcnkoJzpsZWF2ZScsXHJcbiAgICAgICAgICAgIFtcclxuICAgICAgICAgICAgICAgIHN0eWxlKFxyXG4gICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogJ3NjYWxlKDEpJyxcclxuICAgICAgICAgICAgICAgICAgICBvcGFjaXR5OiAxLFxyXG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnXHJcbiAgICAgICAgICAgICAgICB9KSxcclxuICAgICAgICAgICAgICAgIGFuaW1hdGUoJzIyMG1zJywgc3R5bGUoXHJcbiAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjkpJyxcclxuICAgICAgICAgICAgICAgICAgICBvcGFjaXR5OiAwXHJcbiAgICAgICAgICAgICAgICB9KSlcclxuICAgICAgICAgICAgXSlcclxuICAgICAgICBdKVxyXG4gICAgXSksXHJcbiAgICB0cmFuc2l0aW9uKCc6ZGVjcmVtZW50JywgXHJcbiAgICBbXHJcbiAgICAgICAgZ3JvdXAoXHJcbiAgICAgICAgW1xyXG4gICAgICAgICAgICBxdWVyeSgnOmVudGVyJyxcclxuICAgICAgICAgICAgW1xyXG4gICAgICAgICAgICAgICAgc3R5bGUoXHJcbiAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogMCxcclxuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogJ2Fic29sdXRlJyxcclxuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguOSknXHJcbiAgICAgICAgICAgICAgICB9KSxcclxuICAgICAgICAgICAgICAgIGFuaW1hdGUoJzIyMG1zJywgc3R5bGUoXHJcbiAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogMSxcclxuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSgxKSdcclxuICAgICAgICAgICAgICAgIH0pKVxyXG4gICAgICAgICAgICBdKSxcclxuICAgICAgICAgICAgcXVlcnkoJzpsZWF2ZScsXHJcbiAgICAgICAgICAgIFtcclxuICAgICAgICAgICAgICAgIHN0eWxlKFxyXG4gICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogJ3NjYWxlKDEpJyxcclxuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogJ2Fic29sdXRlJ1xyXG4gICAgICAgICAgICAgICAgfSksXHJcbiAgICAgICAgICAgICAgICBhbmltYXRlKCcyMjBtcycsIHN0eWxlKFxyXG4gICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogJ3NjYWxlKDEuMSknLFxyXG4gICAgICAgICAgICAgICAgICAgIG9wYWNpdHk6IDBcclxuICAgICAgICAgICAgICAgIH0pKVxyXG4gICAgICAgICAgICBdKVxyXG4gICAgICAgIF0pXHJcbiAgICBdKVxyXG5dKTsiXX0=
|