@anglr/datetime 2.0.0-beta.20220221103100 → 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 +12 -0
- 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,316 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: src/services/dateApi.interface.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Instance of object wrapping TDate, allowing manipulation with it
|
|
8
|
-
* @record
|
|
9
|
-
* @template TDate
|
|
10
|
-
*/
|
|
11
|
-
export function DateApiObject() { }
|
|
12
|
-
if (false) {
|
|
13
|
-
/**
|
|
14
|
-
* Original value that is not changed unless 'updateOriginal' is called
|
|
15
|
-
* @type {?}
|
|
16
|
-
*/
|
|
17
|
-
DateApiObject.prototype.originalValue;
|
|
18
|
-
/**
|
|
19
|
-
* Instance of date
|
|
20
|
-
* @type {?}
|
|
21
|
-
*/
|
|
22
|
-
DateApiObject.prototype.value;
|
|
23
|
-
/**
|
|
24
|
-
* Gets indication whether provided instance of date is valid
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
DateApiObject.prototype.isValid = function () { };
|
|
28
|
-
/**
|
|
29
|
-
* Gets indication whether provided instance of date is weekend day
|
|
30
|
-
* @return {?}
|
|
31
|
-
*/
|
|
32
|
-
DateApiObject.prototype.isWeekend = function () { };
|
|
33
|
-
/**
|
|
34
|
-
* Formats date value
|
|
35
|
-
* @param {?} format - Format token used for creating formatted string
|
|
36
|
-
* @return {?}
|
|
37
|
-
*/
|
|
38
|
-
DateApiObject.prototype.format = function (format) { };
|
|
39
|
-
/**
|
|
40
|
-
* Updates value to start date and time of current decade
|
|
41
|
-
* @return {?} Itself for fluent API
|
|
42
|
-
*/
|
|
43
|
-
DateApiObject.prototype.startOfDecade = function () { };
|
|
44
|
-
/**
|
|
45
|
-
* Updates value to end date and time of current decade
|
|
46
|
-
* @return {?} Itself for fluent API
|
|
47
|
-
*/
|
|
48
|
-
DateApiObject.prototype.endOfDecade = function () { };
|
|
49
|
-
/**
|
|
50
|
-
* Updates value to start date and time of current year
|
|
51
|
-
* @return {?} Itself for fluent API
|
|
52
|
-
*/
|
|
53
|
-
DateApiObject.prototype.startOfYear = function () { };
|
|
54
|
-
/**
|
|
55
|
-
* Updates value to end date and time of current year
|
|
56
|
-
* @return {?} Itself for fluent API
|
|
57
|
-
*/
|
|
58
|
-
DateApiObject.prototype.endOfYear = function () { };
|
|
59
|
-
/**
|
|
60
|
-
* Add years, if count not specified adds 1 year
|
|
61
|
-
* @param {?=} count - Number of years count
|
|
62
|
-
* @return {?} Itself for fluent API
|
|
63
|
-
*/
|
|
64
|
-
DateApiObject.prototype.addYears = function (count) { };
|
|
65
|
-
/**
|
|
66
|
-
* Subtract years, if count not specified subtract 1 year
|
|
67
|
-
* @param {?=} count - Number of years count
|
|
68
|
-
* @return {?} Itself for fluent API
|
|
69
|
-
*/
|
|
70
|
-
DateApiObject.prototype.subtractYears = function (count) { };
|
|
71
|
-
/**
|
|
72
|
-
* Updates value to start date and time of current month
|
|
73
|
-
* @return {?} Itself for fluent API
|
|
74
|
-
*/
|
|
75
|
-
DateApiObject.prototype.startOfMonth = function () { };
|
|
76
|
-
/**
|
|
77
|
-
* Updates value to end date and time of current month
|
|
78
|
-
* @return {?} Itself for fluent API
|
|
79
|
-
*/
|
|
80
|
-
DateApiObject.prototype.endOfMonth = function () { };
|
|
81
|
-
/**
|
|
82
|
-
* Add months, if count not specified adds 1 month
|
|
83
|
-
* @param {?=} count - Number of months count
|
|
84
|
-
* @return {?} Itself for fluent API
|
|
85
|
-
*/
|
|
86
|
-
DateApiObject.prototype.addMonths = function (count) { };
|
|
87
|
-
/**
|
|
88
|
-
* Subtract months, if count not specified subtract 1 month
|
|
89
|
-
* @param {?=} count - Number of months count
|
|
90
|
-
* @return {?} Itself for fluent API
|
|
91
|
-
*/
|
|
92
|
-
DateApiObject.prototype.subtractMonths = function (count) { };
|
|
93
|
-
/**
|
|
94
|
-
* Updates value to start date and time of current week
|
|
95
|
-
* @return {?} Itself for fluent API
|
|
96
|
-
*/
|
|
97
|
-
DateApiObject.prototype.startOfWeek = function () { };
|
|
98
|
-
/**
|
|
99
|
-
* Updates value to end date and time of current week
|
|
100
|
-
* @return {?} Itself for fluent API
|
|
101
|
-
*/
|
|
102
|
-
DateApiObject.prototype.endOfWeek = function () { };
|
|
103
|
-
/**
|
|
104
|
-
* Add weeks, if count not specified adds 1 week
|
|
105
|
-
* @param {?=} count - Number of weeks count
|
|
106
|
-
* @return {?} Itself for fluent API
|
|
107
|
-
*/
|
|
108
|
-
DateApiObject.prototype.addWeeks = function (count) { };
|
|
109
|
-
/**
|
|
110
|
-
* Subtract weeks, if count not specified subtract 1 week
|
|
111
|
-
* @param {?=} count - Number of weeks count
|
|
112
|
-
* @return {?} Itself for fluent API
|
|
113
|
-
*/
|
|
114
|
-
DateApiObject.prototype.subtractWeeks = function (count) { };
|
|
115
|
-
/**
|
|
116
|
-
* Updates value to start date and time of current day
|
|
117
|
-
* @return {?} Itself for fluent API
|
|
118
|
-
*/
|
|
119
|
-
DateApiObject.prototype.startOfDay = function () { };
|
|
120
|
-
/**
|
|
121
|
-
* Updates value to end date and time of current day
|
|
122
|
-
* @return {?} Itself for fluent API
|
|
123
|
-
*/
|
|
124
|
-
DateApiObject.prototype.endOfDay = function () { };
|
|
125
|
-
/**
|
|
126
|
-
* Add days, if count not specified adds 1 day
|
|
127
|
-
* @param {?=} count - Number of days count
|
|
128
|
-
* @return {?} Itself for fluent API
|
|
129
|
-
*/
|
|
130
|
-
DateApiObject.prototype.addDays = function (count) { };
|
|
131
|
-
/**
|
|
132
|
-
* Subtract days, if count not specified subtract 1 day
|
|
133
|
-
* @param {?=} count - Number of days count
|
|
134
|
-
* @return {?} Itself for fluent API
|
|
135
|
-
*/
|
|
136
|
-
DateApiObject.prototype.subtractDays = function (count) { };
|
|
137
|
-
/**
|
|
138
|
-
* Gets number of days in month
|
|
139
|
-
* @return {?}
|
|
140
|
-
*/
|
|
141
|
-
DateApiObject.prototype.daysInMonth = function () { };
|
|
142
|
-
/**
|
|
143
|
-
* Gets year
|
|
144
|
-
* @return {?}
|
|
145
|
-
*/
|
|
146
|
-
DateApiObject.prototype.year = function () { };
|
|
147
|
-
/**
|
|
148
|
-
* Sets year
|
|
149
|
-
* @param {?} year - Year to be set
|
|
150
|
-
* @return {?}
|
|
151
|
-
*/
|
|
152
|
-
DateApiObject.prototype.year = function (year) { };
|
|
153
|
-
/**
|
|
154
|
-
* Gets or sets year
|
|
155
|
-
* @param {?=} year - If specified, sets year
|
|
156
|
-
* @return {?}
|
|
157
|
-
*/
|
|
158
|
-
DateApiObject.prototype.year = function (year) { };
|
|
159
|
-
/**
|
|
160
|
-
* Gets month
|
|
161
|
-
* @return {?}
|
|
162
|
-
*/
|
|
163
|
-
DateApiObject.prototype.month = function () { };
|
|
164
|
-
/**
|
|
165
|
-
* Sets month
|
|
166
|
-
* @param {?} month - Month to be set
|
|
167
|
-
* @return {?}
|
|
168
|
-
*/
|
|
169
|
-
DateApiObject.prototype.month = function (month) { };
|
|
170
|
-
/**
|
|
171
|
-
* Gets or sets month
|
|
172
|
-
* @param {?=} month - If specified, sets month
|
|
173
|
-
* @return {?}
|
|
174
|
-
*/
|
|
175
|
-
DateApiObject.prototype.month = function (month) { };
|
|
176
|
-
/**
|
|
177
|
-
* Gets day of month one based
|
|
178
|
-
* @return {?}
|
|
179
|
-
*/
|
|
180
|
-
DateApiObject.prototype.dayOfMonth = function () { };
|
|
181
|
-
/**
|
|
182
|
-
* Sets day of month one based
|
|
183
|
-
* @param {?} day - Day of month to be set
|
|
184
|
-
* @return {?}
|
|
185
|
-
*/
|
|
186
|
-
DateApiObject.prototype.dayOfMonth = function (day) { };
|
|
187
|
-
/**
|
|
188
|
-
* Gets or sets day of month one based
|
|
189
|
-
* @param {?=} day - If specified, sets day of month
|
|
190
|
-
* @return {?}
|
|
191
|
-
*/
|
|
192
|
-
DateApiObject.prototype.dayOfMonth = function (day) { };
|
|
193
|
-
/**
|
|
194
|
-
* Gets day of week zero based, first is monday
|
|
195
|
-
* @return {?}
|
|
196
|
-
*/
|
|
197
|
-
DateApiObject.prototype.dayOfWeek = function () { };
|
|
198
|
-
/**
|
|
199
|
-
* Sets day of week zero based, first is monday
|
|
200
|
-
* @param {?} day - Day of week to be set
|
|
201
|
-
* @return {?}
|
|
202
|
-
*/
|
|
203
|
-
DateApiObject.prototype.dayOfWeek = function (day) { };
|
|
204
|
-
/**
|
|
205
|
-
* Gets or sets day of week zero based, first is monday
|
|
206
|
-
* @param {?=} day - If specified, sets day of week
|
|
207
|
-
* @return {?}
|
|
208
|
-
*/
|
|
209
|
-
DateApiObject.prototype.dayOfWeek = function (day) { };
|
|
210
|
-
/**
|
|
211
|
-
* Gets indication whether current value is before 'date'
|
|
212
|
-
* @param {?} date - Date which is this date compared to
|
|
213
|
-
* @return {?}
|
|
214
|
-
*/
|
|
215
|
-
DateApiObject.prototype.isBefore = function (date) { };
|
|
216
|
-
/**
|
|
217
|
-
* Gets indication whether current value is after 'date'
|
|
218
|
-
* @param {?} date - Date which is this date compared to
|
|
219
|
-
* @return {?}
|
|
220
|
-
*/
|
|
221
|
-
DateApiObject.prototype.isAfter = function (date) { };
|
|
222
|
-
/**
|
|
223
|
-
* Gets number of days between this and provided date
|
|
224
|
-
* @param {?} date - Date which is used for computation of diff against
|
|
225
|
-
* @return {?}
|
|
226
|
-
*/
|
|
227
|
-
DateApiObject.prototype.diffDays = function (date) { };
|
|
228
|
-
/**
|
|
229
|
-
* Compares whether this date is same week as provided date
|
|
230
|
-
* @param {?} date - Date which is used for comparison of same week
|
|
231
|
-
* @return {?}
|
|
232
|
-
*/
|
|
233
|
-
DateApiObject.prototype.isSameWeek = function (date) { };
|
|
234
|
-
/**
|
|
235
|
-
* Compares whether this date is same decade as provided date
|
|
236
|
-
* @param {?} date - Date which is used for comparison of same decade
|
|
237
|
-
* @return {?}
|
|
238
|
-
*/
|
|
239
|
-
DateApiObject.prototype.isSameDecade = function (date) { };
|
|
240
|
-
/**
|
|
241
|
-
* Compares whether this date is same year as provided date
|
|
242
|
-
* @param {?} date - Date which is used for comparison of same year
|
|
243
|
-
* @return {?}
|
|
244
|
-
*/
|
|
245
|
-
DateApiObject.prototype.isSameYear = function (date) { };
|
|
246
|
-
/**
|
|
247
|
-
* Compares whether this date is same month as provided date
|
|
248
|
-
* @param {?} date - Date which is used for comparison of same month
|
|
249
|
-
* @return {?}
|
|
250
|
-
*/
|
|
251
|
-
DateApiObject.prototype.isSameMonth = function (date) { };
|
|
252
|
-
/**
|
|
253
|
-
* Compares whether this date is same day as provided date
|
|
254
|
-
* @param {?} date - Date which is used for comparison of same day
|
|
255
|
-
* @return {?}
|
|
256
|
-
*/
|
|
257
|
-
DateApiObject.prototype.isSameDay = function (date) { };
|
|
258
|
-
/**
|
|
259
|
-
* Creates clone of this instance, value and originalValue have same value and are cloned from value
|
|
260
|
-
* @return {?}
|
|
261
|
-
*/
|
|
262
|
-
DateApiObject.prototype.clone = function () { };
|
|
263
|
-
/**
|
|
264
|
-
* Creates clone of this instance, value and originalValue have same value and are cloned from originalValue
|
|
265
|
-
* @return {?}
|
|
266
|
-
*/
|
|
267
|
-
DateApiObject.prototype.cloneOriginal = function () { };
|
|
268
|
-
/**
|
|
269
|
-
* Updates originalValue, if value is not provided originalValue is set to value
|
|
270
|
-
* @param {?=} value - Value to be set as original, or null (value will be used as value)
|
|
271
|
-
* @return {?} Itself for fluent API
|
|
272
|
-
*/
|
|
273
|
-
DateApiObject.prototype.updateOriginal = function (value) { };
|
|
274
|
-
/**
|
|
275
|
-
* Changes value to same value as originalValue
|
|
276
|
-
* @return {?} Itself for fluent API
|
|
277
|
-
*/
|
|
278
|
-
DateApiObject.prototype.resetOriginal = function () { };
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* Date api abstraction, used for obtaining DateApi wrapper object
|
|
282
|
-
* @record
|
|
283
|
-
* @template TDate
|
|
284
|
-
*/
|
|
285
|
-
export function DateApi() { }
|
|
286
|
-
if (false) {
|
|
287
|
-
/**
|
|
288
|
-
* Gets wrapping object used for manipulation
|
|
289
|
-
* @param {?} value - Value to be converted (parsed) and used for manipulation
|
|
290
|
-
* @param {?=} format - Format string used for parsing string value
|
|
291
|
-
* @return {?}
|
|
292
|
-
*/
|
|
293
|
-
DateApi.prototype.getValue = function (value, format) { };
|
|
294
|
-
/**
|
|
295
|
-
* Gets wrapping object used for manipulation instantiated to current date and time
|
|
296
|
-
* @return {?}
|
|
297
|
-
*/
|
|
298
|
-
DateApi.prototype.now = function () { };
|
|
299
|
-
/**
|
|
300
|
-
* Gets format string using pseudo format
|
|
301
|
-
* @param {?} pseudoFormat - Pseudo format token, used for obtaining 'date' or 'time' format string
|
|
302
|
-
* @return {?}
|
|
303
|
-
*/
|
|
304
|
-
DateApi.prototype.getFormat = function (pseudoFormat) { };
|
|
305
|
-
/**
|
|
306
|
-
* Gets information
|
|
307
|
-
* @return {?}
|
|
308
|
-
*/
|
|
309
|
-
DateApi.prototype.weekStartsOnMonday = function () { };
|
|
310
|
-
/**
|
|
311
|
-
* Gets array of weekday names in short format, order of days is dependent on locale
|
|
312
|
-
* @return {?}
|
|
313
|
-
*/
|
|
314
|
-
DateApi.prototype.weekdaysShort = function () { };
|
|
315
|
-
}
|
|
316
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZUFwaS5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc2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hclxyXG4gICAgICogQHBhcmFtIHllYXIgLSBZZWFyIHRvIGJlIHNldFxyXG4gICAgICovXHJcbiAgICB5ZWFyKHllYXI6IG51bWJlcik6IERhdGVBcGlPYmplY3Q8VERhdGU+O1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXRzIG9yIHNldHMgeWVhclxyXG4gICAgICogQHBhcmFtIHllYXIgLSBJZiBzcGVjaWZpZWQsIHNldHMgeWVhclxyXG4gICAgICovXHJcbiAgICB5ZWFyKHllYXI/OiBudW1iZXIpOiBEYXRlQXBpT2JqZWN0PFREYXRlPnxudW1iZXI7XHJcbiAgICBcclxuICAgIC8qKlxyXG4gICAgICogR2V0cyBtb250aFxyXG4gICAgICovXHJcbiAgICBtb250aCgpOiBudW1iZXI7XHJcbiAgICAvKipcclxuICAgICAqIFNldHMgbW9udGhcclxuICAgICAqIEBwYXJhbSBtb250aCAtIE1vbnRoIHRvIGJlIHNldFxyXG4gICAgICovXHJcbiAgICBtb250aChtb250aDogbnVtYmVyKTogRGF0ZUFwaU9iamVjdDxURGF0ZT47XHJcbiAgICAvKipcclxuICAgICAqIEdldHMgb3Igc2V0cyBtb250aFxyXG4gICAgICogQHBhcmFtIG1vbnRoIC0gSWYgc3BlY2lmaWVkLCBzZXRzIG1vbnRoXHJcbiAgICAgKi9cclxuICAgIG1vbnRoKG1vbnRoPzogbnVtYmVyKTogRGF0ZUFwaU9iamVjdDxURGF0ZT58bnVtYmVyO1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogR2V0cyBkYXkgb2YgbW9udGggb25lIGJhc2VkXHJcbiAgICAgKi9cclxuICAgIGRheU9mTW9udGgoKTogbnVtYmVyO1xyXG4gICAgLyoqXHJcbiAgICAgKiBTZXRzIGRheSBvZiBtb250aCBvbmUgYmFzZWRcclxuICAgICAqIEBwYXJhbSBkYXkgLSBEYXkgb2YgbW9udGggdG8gYmUgc2V0XHJcbiAgICAgKi9cclxuICAgIGRheU9mTW9udGgoZGF5OiBudW1iZXIpO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FycmF5IG9mIHdlZWtkYXkgbmFtZXMgaW4gc2hvcnQgZm9ybWF0LCBvcmRlciBvZiBkYXlzIGlzIGRlcGVuZGVudCBvbiBsb2NhbGVcclxuICAgICAqL1xyXG4gICAgd2Vla2RheXNTaG9ydCgpOiBzdHJpbmdbXTtcclxufSJdfQ==
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: src/services/datePositionParser.interface.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Parser used for parsing date using provided format and returning positions and selected date part
|
|
8
|
-
* @record
|
|
9
|
-
*/
|
|
10
|
-
export function DatePositionParser() { }
|
|
11
|
-
if (false) {
|
|
12
|
-
/**
|
|
13
|
-
* Parse date as string and returns information about positions and selected part of date
|
|
14
|
-
* @param {?} date - String date to be parsed
|
|
15
|
-
* @param {?} cursorPosition - Current cursor position
|
|
16
|
-
* @return {?}
|
|
17
|
-
*/
|
|
18
|
-
DatePositionParser.prototype.parse = function (date, cursorPosition) { };
|
|
19
|
-
/**
|
|
20
|
-
* 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
|
|
21
|
-
* @param {?} date - String date to be parsed
|
|
22
|
-
* @param {?} cursorPosition - Current cursor position
|
|
23
|
-
* @return {?}
|
|
24
|
-
*/
|
|
25
|
-
DatePositionParser.prototype.next = function (date, cursorPosition) { };
|
|
26
|
-
/**
|
|
27
|
-
* 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
|
|
28
|
-
* @param {?} date - String date to be parsed
|
|
29
|
-
* @param {?} cursorPosition - Current cursor position
|
|
30
|
-
* @return {?}
|
|
31
|
-
*/
|
|
32
|
-
DatePositionParser.prototype.previous = function (date, cursorPosition) { };
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Result of date position parsing
|
|
36
|
-
* @record
|
|
37
|
-
*/
|
|
38
|
-
export function DatePositionParserResult() { }
|
|
39
|
-
if (false) {
|
|
40
|
-
/**
|
|
41
|
-
* Index of charater where returned part of date starts
|
|
42
|
-
* @type {?}
|
|
43
|
-
*/
|
|
44
|
-
DatePositionParserResult.prototype.positionFrom;
|
|
45
|
-
/**
|
|
46
|
-
* Index of charater where returned part of date ends
|
|
47
|
-
* @type {?}
|
|
48
|
-
*/
|
|
49
|
-
DatePositionParserResult.prototype.positionTo;
|
|
50
|
-
/**
|
|
51
|
-
* Type of part that is selected
|
|
52
|
-
* @type {?}
|
|
53
|
-
*/
|
|
54
|
-
DatePositionParserResult.prototype.part;
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZVBvc2l0aW9uUGFyc2VyLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZXJ2aWNlcy9kYXRlUG9zaXRpb25QYXJzZXIuaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUdBLHdDQXNCQzs7Ozs7Ozs7SUFmRyx5RUFBc0U7Ozs7Ozs7SUFPdEUsd0VBQTBFOzs7Ozs7O0lBTzFFLDRFQUE4RTs7Ozs7O0FBTWxGLDhDQWdCQzs7Ozs7O0lBWEcsZ0RBQXFCOzs7OztJQUtyQiw4Q0FBbUI7Ozs7O0lBS25CLHdDQUFhIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXHJcbiAqIFBhcnNlciB1c2VkIGZvciBwYXJzaW5nIGRhdGUgdXNpbmcgcHJvdmlkZWQgZm9ybWF0IGFuZCByZXR1cm5pbmcgcG9zaXRpb25zIGFuZCBzZWxlY3RlZCBkYXRlIHBhcnRcclxuICovXHJcbmV4cG9ydCBpbn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