@anglr/datetime 6.0.0-beta.20221222085135 → 6.0.0-beta.20221223060503

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (584) hide show
  1. package/changelog.md +155 -1
  2. package/date-fns/src/services/dateFnsDateApi.service.d.ts +26 -14
  3. package/date-fns/src/services/dateFnsDateApi.service.d.ts.map +1 -1
  4. package/es2015/date-fns/src/services/dateFnsDateApi.service.js +37 -6
  5. package/es2015/date-fns/src/services/dateFnsDateApi.service.js.map +1 -1
  6. package/es2015/moment/src/services/momentDateApi.service.js +35 -3
  7. package/es2015/moment/src/services/momentDateApi.service.js.map +1 -1
  8. package/es2015/src/directives/index.js +1 -0
  9. package/es2015/src/directives/index.js.map +1 -1
  10. package/es2015/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js +32 -0
  11. package/es2015/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js.map +1 -0
  12. package/es2015/src/directives/withTime/withTime.directive.js +5 -5
  13. package/es2015/src/directives/withTime/withTime.directive.js.map +1 -1
  14. package/es2015/src/directives/withToday/withToday.directive.js +5 -5
  15. package/es2015/src/directives/withToday/withToday.directive.js.map +1 -1
  16. package/es2015/src/index.js +0 -8
  17. package/es2015/src/index.js.map +1 -1
  18. package/es2015/src/interfaces/dateTime/datetime.interface.js.map +1 -1
  19. package/es2015/src/legacy/picker/components/picker/picker.component.animations.js +93 -70
  20. package/es2015/src/legacy/picker/components/picker/picker.component.animations.js.map +1 -1
  21. package/es2015/src/legacy/selector/components/inputDateTime/inputDateTime.component.js +487 -436
  22. package/es2015/src/legacy/selector/components/inputDateTime/inputDateTime.component.js.map +1 -1
  23. package/es2015/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +366 -324
  24. package/es2015/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -1
  25. package/es2015/src/misc/validators.js +0 -57
  26. package/es2015/src/misc/validators.js.map +1 -1
  27. package/es2015/src/modules/calendar/components/index.js +2 -0
  28. package/es2015/src/modules/calendar/components/index.js.map +1 -0
  29. package/es2015/src/modules/calendar/components/monthCalendar/monthCalendar.component.js +198 -0
  30. package/es2015/src/modules/calendar/components/monthCalendar/monthCalendar.component.js.map +1 -0
  31. package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js +2 -0
  32. package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js.map +1 -0
  33. package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js +27 -0
  34. package/es2015/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js.map +1 -0
  35. package/es2015/src/modules/calendar/directives/index.js +3 -0
  36. package/es2015/src/modules/calendar/directives/index.js.map +1 -0
  37. package/es2015/src/modules/calendar/index.js +7 -0
  38. package/es2015/src/modules/calendar/index.js.map +1 -0
  39. package/es2015/src/modules/calendar/interfaces/calendarDayData.interface.js +2 -0
  40. package/es2015/src/modules/calendar/interfaces/calendarDayData.interface.js.map +1 -0
  41. package/es2015/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js +2 -0
  42. package/es2015/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js.map +1 -0
  43. package/es2015/src/modules/calendar/interfaces/eventData.interface.js +2 -0
  44. package/es2015/src/modules/calendar/interfaces/eventData.interface.js.map +1 -0
  45. package/es2015/src/modules/calendar/interfaces/index.js +4 -0
  46. package/es2015/src/modules/calendar/interfaces/index.js.map +1 -0
  47. package/es2015/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js +27 -0
  48. package/es2015/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js.map +1 -0
  49. package/es2015/src/modules/calendar/misc/enums/index.js +3 -0
  50. package/es2015/src/modules/calendar/misc/enums/index.js.map +1 -0
  51. package/es2015/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js +19 -0
  52. package/es2015/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js.map +1 -0
  53. package/es2015/src/modules/calendar/misc/index.js +2 -0
  54. package/es2015/src/modules/calendar/misc/index.js.map +1 -0
  55. package/es2015/src/modules/calendar/modules/index.js +2 -0
  56. package/es2015/src/modules/calendar/modules/index.js.map +1 -0
  57. package/es2015/src/modules/calendar/modules/monthCalendar.module.js +32 -0
  58. package/es2015/src/modules/calendar/modules/monthCalendar.module.js.map +1 -0
  59. package/es2015/src/modules/calendar/services/eventParser/eventParser.service.js +75 -0
  60. package/es2015/src/modules/calendar/services/eventParser/eventParser.service.js.map +1 -0
  61. package/es2015/src/modules/calendar/services/index.js +2 -0
  62. package/es2015/src/modules/calendar/services/index.js.map +1 -0
  63. package/es2015/src/modules/datePipes.module.js +4 -4
  64. package/es2015/src/modules/dateTime/directives/dateTime/dateTime.directive.js +8 -7
  65. package/es2015/src/modules/dateTime/directives/dateTime/dateTime.directive.js.map +1 -1
  66. package/es2015/src/modules/dateTime/directives/dateTimeBase.js +5 -5
  67. package/es2015/src/modules/dateTime/directives/dateTimeBase.js.map +1 -1
  68. package/es2015/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js +7 -6
  69. package/es2015/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js.map +1 -1
  70. package/es2015/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js +10 -9
  71. package/es2015/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js.map +1 -1
  72. package/es2015/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js +7 -6
  73. package/es2015/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js.map +1 -1
  74. package/es2015/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js +7 -6
  75. package/es2015/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js.map +1 -1
  76. package/es2015/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js +7 -6
  77. package/es2015/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js.map +1 -1
  78. package/es2015/src/modules/dateTime/modules/dateTime.module.js +28 -28
  79. package/es2015/src/modules/dateTime/modules/dateTime.module.js.map +1 -1
  80. package/es2015/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.js.map +1 -1
  81. package/es2015/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js +5 -5
  82. package/es2015/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js.map +1 -1
  83. package/es2015/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js +3 -3
  84. package/es2015/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js.map +1 -1
  85. package/es2015/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js +3 -3
  86. package/es2015/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js.map +1 -1
  87. package/es2015/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js +6 -7
  88. package/es2015/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js.map +1 -1
  89. package/es2015/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.js.map +1 -1
  90. package/es2015/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js +3 -3
  91. package/es2015/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js.map +1 -1
  92. package/es2015/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js +8 -7
  93. package/es2015/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js.map +1 -1
  94. package/es2015/src/modules/dateTimePicker/directives/index.js +3 -0
  95. package/es2015/src/modules/dateTimePicker/directives/index.js.map +1 -1
  96. package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js +222 -0
  97. package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js.map +1 -0
  98. package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js +2 -0
  99. package/es2015/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js.map +1 -0
  100. package/es2015/src/{legacy/picker → modules/dateTimePicker}/directives/loopScrollData/loopScrollData.directive.js +6 -5
  101. package/es2015/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.js.map +1 -0
  102. package/es2015/src/modules/dateTimePicker/interfaces/index.js +1 -0
  103. package/es2015/src/modules/dateTimePicker/interfaces/index.js.map +1 -1
  104. package/es2015/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js +2 -0
  105. package/es2015/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js.map +1 -0
  106. package/es2015/src/modules/dateTimePicker/modules/dateTimePicker.module.js +10 -9
  107. package/es2015/src/modules/dateTimePicker/modules/dateTimePicker.module.js.map +1 -1
  108. package/es2015/src/modules/index.js +1 -0
  109. package/es2015/src/modules/index.js.map +1 -1
  110. package/es2015/src/pipes/dateConvert.pipe.js +3 -3
  111. package/es2015/src/pipes/dateConvert.pipe.js.map +1 -1
  112. package/es2015/src/pipes/dateFormat.pipe.js +3 -3
  113. package/es2015/src/pipes/dateFormat.pipe.js.map +1 -1
  114. package/es2015/src/services/dateApi/dateApi.interface.js.map +1 -1
  115. package/es2015/src/services/datePositionParser/datePositionParser.service.js +5 -3
  116. package/es2015/src/services/datePositionParser/datePositionParser.service.js.map +1 -1
  117. package/es2015/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js +3 -3
  118. package/es2015/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js.map +1 -1
  119. package/es2015/src/services/dateValueProvider/dateValueProvider.service.js +3 -3
  120. package/es2015/src/services/dateValueProvider/dateValueProvider.service.js.map +1 -1
  121. package/es2020/date-fns/src/services/dateFnsDateApi.service.js +37 -6
  122. package/es2020/date-fns/src/services/dateFnsDateApi.service.js.map +1 -1
  123. package/es2020/moment/src/services/momentDateApi.service.js +35 -3
  124. package/es2020/moment/src/services/momentDateApi.service.js.map +1 -1
  125. package/es2020/src/directives/index.js +1 -0
  126. package/es2020/src/directives/index.js.map +1 -1
  127. package/es2020/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js +32 -0
  128. package/es2020/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js.map +1 -0
  129. package/es2020/src/directives/withTime/withTime.directive.js +5 -5
  130. package/es2020/src/directives/withTime/withTime.directive.js.map +1 -1
  131. package/es2020/src/directives/withToday/withToday.directive.js +5 -5
  132. package/es2020/src/directives/withToday/withToday.directive.js.map +1 -1
  133. package/es2020/src/index.js +0 -8
  134. package/es2020/src/index.js.map +1 -1
  135. package/es2020/src/interfaces/dateTime/datetime.interface.js.map +1 -1
  136. package/es2020/src/legacy/picker/components/picker/picker.component.animations.js +93 -70
  137. package/es2020/src/legacy/picker/components/picker/picker.component.animations.js.map +1 -1
  138. package/es2020/src/legacy/selector/components/inputDateTime/inputDateTime.component.js +487 -432
  139. package/es2020/src/legacy/selector/components/inputDateTime/inputDateTime.component.js.map +1 -1
  140. package/es2020/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js +366 -321
  141. package/es2020/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.js.map +1 -1
  142. package/es2020/src/misc/validators.js +0 -57
  143. package/es2020/src/misc/validators.js.map +1 -1
  144. package/es2020/src/modules/calendar/components/index.js +2 -0
  145. package/es2020/src/modules/calendar/components/index.js.map +1 -0
  146. package/es2020/src/modules/calendar/components/monthCalendar/monthCalendar.component.js +195 -0
  147. package/es2020/src/modules/calendar/components/monthCalendar/monthCalendar.component.js.map +1 -0
  148. package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js +2 -0
  149. package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.js.map +1 -0
  150. package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js +27 -0
  151. package/es2020/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js.map +1 -0
  152. package/es2020/src/modules/calendar/directives/index.js +3 -0
  153. package/es2020/src/modules/calendar/directives/index.js.map +1 -0
  154. package/es2020/src/modules/calendar/index.js +7 -0
  155. package/es2020/src/modules/calendar/index.js.map +1 -0
  156. package/es2020/src/modules/calendar/interfaces/calendarDayData.interface.js +2 -0
  157. package/es2020/src/modules/calendar/interfaces/calendarDayData.interface.js.map +1 -0
  158. package/es2020/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js +2 -0
  159. package/es2020/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.js.map +1 -0
  160. package/es2020/src/modules/calendar/interfaces/eventData.interface.js +2 -0
  161. package/es2020/src/modules/calendar/interfaces/eventData.interface.js.map +1 -0
  162. package/es2020/src/modules/calendar/interfaces/index.js +4 -0
  163. package/es2020/src/modules/calendar/interfaces/index.js.map +1 -0
  164. package/es2020/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js +27 -0
  165. package/es2020/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.js.map +1 -0
  166. package/es2020/src/modules/calendar/misc/enums/index.js +3 -0
  167. package/es2020/src/modules/calendar/misc/enums/index.js.map +1 -0
  168. package/es2020/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js +19 -0
  169. package/es2020/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.js.map +1 -0
  170. package/es2020/src/modules/calendar/misc/index.js +2 -0
  171. package/es2020/src/modules/calendar/misc/index.js.map +1 -0
  172. package/es2020/src/modules/calendar/modules/index.js +2 -0
  173. package/es2020/src/modules/calendar/modules/index.js.map +1 -0
  174. package/es2020/src/modules/calendar/modules/monthCalendar.module.js +32 -0
  175. package/es2020/src/modules/calendar/modules/monthCalendar.module.js.map +1 -0
  176. package/es2020/src/modules/calendar/services/eventParser/eventParser.service.js +74 -0
  177. package/es2020/src/modules/calendar/services/eventParser/eventParser.service.js.map +1 -0
  178. package/es2020/src/modules/calendar/services/index.js +2 -0
  179. package/es2020/src/modules/calendar/services/index.js.map +1 -0
  180. package/es2020/src/modules/datePipes.module.js +4 -4
  181. package/es2020/src/modules/dateTime/directives/dateTime/dateTime.directive.js +8 -7
  182. package/es2020/src/modules/dateTime/directives/dateTime/dateTime.directive.js.map +1 -1
  183. package/es2020/src/modules/dateTime/directives/dateTimeBase.js +5 -5
  184. package/es2020/src/modules/dateTime/directives/dateTimeBase.js.map +1 -1
  185. package/es2020/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js +7 -6
  186. package/es2020/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js.map +1 -1
  187. package/es2020/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js +10 -9
  188. package/es2020/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js.map +1 -1
  189. package/es2020/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js +7 -6
  190. package/es2020/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js.map +1 -1
  191. package/es2020/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js +7 -6
  192. package/es2020/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js.map +1 -1
  193. package/es2020/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js +7 -6
  194. package/es2020/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js.map +1 -1
  195. package/es2020/src/modules/dateTime/modules/dateTime.module.js +28 -28
  196. package/es2020/src/modules/dateTime/modules/dateTime.module.js.map +1 -1
  197. package/es2020/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.js.map +1 -1
  198. package/es2020/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js +5 -5
  199. package/es2020/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js.map +1 -1
  200. package/es2020/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js +3 -3
  201. package/es2020/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js.map +1 -1
  202. package/es2020/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js +3 -3
  203. package/es2020/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js.map +1 -1
  204. package/es2020/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js +6 -7
  205. package/es2020/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js.map +1 -1
  206. package/es2020/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.js.map +1 -1
  207. package/es2020/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js +3 -3
  208. package/es2020/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js.map +1 -1
  209. package/es2020/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js +9 -8
  210. package/es2020/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js.map +1 -1
  211. package/es2020/src/modules/dateTimePicker/directives/index.js +3 -0
  212. package/es2020/src/modules/dateTimePicker/directives/index.js.map +1 -1
  213. package/es2020/src/{legacy/picker → modules/dateTimePicker}/directives/loopScroll/loopScroll.directive.js +65 -56
  214. package/es2020/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js.map +1 -0
  215. package/es2020/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js +2 -0
  216. package/es2020/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.js.map +1 -0
  217. package/es2020/src/{legacy/picker → modules/dateTimePicker}/directives/loopScrollData/loopScrollData.directive.js +6 -5
  218. package/es2020/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.js.map +1 -0
  219. package/es2020/src/modules/dateTimePicker/interfaces/index.js +1 -0
  220. package/es2020/src/modules/dateTimePicker/interfaces/index.js.map +1 -1
  221. package/es2020/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js +2 -0
  222. package/es2020/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js.map +1 -0
  223. package/es2020/src/modules/dateTimePicker/modules/dateTimePicker.module.js +10 -9
  224. package/es2020/src/modules/dateTimePicker/modules/dateTimePicker.module.js.map +1 -1
  225. package/es2020/src/modules/index.js +1 -0
  226. package/es2020/src/modules/index.js.map +1 -1
  227. package/es2020/src/pipes/dateConvert.pipe.js +3 -3
  228. package/es2020/src/pipes/dateConvert.pipe.js.map +1 -1
  229. package/es2020/src/pipes/dateFormat.pipe.js +3 -3
  230. package/es2020/src/pipes/dateFormat.pipe.js.map +1 -1
  231. package/es2020/src/services/dateApi/dateApi.interface.js.map +1 -1
  232. package/es2020/src/services/datePositionParser/datePositionParser.service.js +5 -3
  233. package/es2020/src/services/datePositionParser/datePositionParser.service.js.map +1 -1
  234. package/es2020/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js +3 -3
  235. package/es2020/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js.map +1 -1
  236. package/es2020/src/services/dateValueProvider/dateValueProvider.service.js +3 -3
  237. package/es2020/src/services/dateValueProvider/dateValueProvider.service.js.map +1 -1
  238. package/moment/src/services/momentDateApi.service.d.ts +25 -12
  239. package/moment/src/services/momentDateApi.service.d.ts.map +1 -1
  240. package/package.json +27 -36
  241. package/src/directives/index.d.ts +1 -0
  242. package/src/directives/index.d.ts.map +1 -1
  243. package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts +11 -0
  244. package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts.map +1 -0
  245. package/src/directives/withTime/withTime.directive.d.ts +3 -3
  246. package/src/directives/withTime/withTime.directive.d.ts.map +1 -1
  247. package/src/directives/withToday/withToday.directive.d.ts +3 -3
  248. package/src/directives/withToday/withToday.directive.d.ts.map +1 -1
  249. package/src/index.d.ts +0 -8
  250. package/src/index.d.ts.map +1 -1
  251. package/src/interfaces/dateTime/datetime.interface.d.ts +1 -22
  252. package/src/interfaces/dateTime/datetime.interface.d.ts.map +1 -1
  253. package/src/legacy/picker/components/picker/picker.component.animations.d.ts +0 -4
  254. package/src/legacy/picker/components/picker/picker.component.animations.d.ts.map +1 -1
  255. package/src/legacy/selector/components/inputDateTime/inputDateTime.component.d.ts +0 -185
  256. package/src/legacy/selector/components/inputDateTime/inputDateTime.component.d.ts.map +1 -1
  257. package/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts +0 -169
  258. package/src/legacy/selector/components/simpleInputDateTime/simpleInputDateTime.component.d.ts.map +1 -1
  259. package/src/misc/validators.d.ts +0 -23
  260. package/src/misc/validators.d.ts.map +1 -1
  261. package/src/modules/calendar/components/index.d.ts +2 -0
  262. package/src/modules/calendar/components/index.d.ts.map +1 -0
  263. package/src/modules/calendar/components/monthCalendar/monthCalendar.component.d.ts +94 -0
  264. package/src/modules/calendar/components/monthCalendar/monthCalendar.component.d.ts.map +1 -0
  265. package/src/modules/calendar/components/monthCalendar/monthCalendar.component.html +15 -0
  266. package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.d.ts +11 -0
  267. package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.context.d.ts.map +1 -0
  268. package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts +17 -0
  269. package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts.map +1 -0
  270. package/src/modules/calendar/directives/index.d.ts +3 -0
  271. package/src/modules/calendar/directives/index.d.ts.map +1 -0
  272. package/src/modules/calendar/index.d.ts +7 -0
  273. package/src/modules/calendar/index.d.ts.map +1 -0
  274. package/src/modules/calendar/interfaces/calendarDayData.interface.d.ts +31 -0
  275. package/src/modules/calendar/interfaces/calendarDayData.interface.d.ts.map +1 -0
  276. package/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.d.ts +19 -0
  277. package/src/modules/calendar/interfaces/calendarEventDayMetadata.interface.d.ts.map +1 -0
  278. package/src/modules/calendar/interfaces/eventData.interface.d.ts +37 -0
  279. package/src/modules/calendar/interfaces/eventData.interface.d.ts.map +1 -0
  280. package/src/modules/calendar/interfaces/index.d.ts +4 -0
  281. package/src/modules/calendar/interfaces/index.d.ts.map +1 -0
  282. package/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.d.ts +26 -0
  283. package/src/modules/calendar/misc/enums/calendarDayAspectRatio.enum.d.ts.map +1 -0
  284. package/src/modules/calendar/misc/enums/index.d.ts +3 -0
  285. package/src/modules/calendar/misc/enums/index.d.ts.map +1 -0
  286. package/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.d.ts +18 -0
  287. package/src/modules/calendar/misc/enums/monthCalendarDayFormat.enum.d.ts.map +1 -0
  288. package/src/modules/calendar/misc/index.d.ts +2 -0
  289. package/src/modules/calendar/misc/index.d.ts.map +1 -0
  290. package/src/modules/calendar/modules/index.d.ts +2 -0
  291. package/src/modules/calendar/modules/index.d.ts.map +1 -0
  292. package/src/modules/calendar/modules/monthCalendar.module.d.ts +13 -0
  293. package/src/modules/calendar/modules/monthCalendar.module.d.ts.map +1 -0
  294. package/src/modules/calendar/services/eventParser/eventParser.service.d.ts +18 -0
  295. package/src/modules/calendar/services/eventParser/eventParser.service.d.ts.map +1 -0
  296. package/src/modules/calendar/services/index.d.ts +2 -0
  297. package/src/modules/calendar/services/index.d.ts.map +1 -0
  298. package/src/modules/dateTime/directives/dateTime/dateTime.directive.d.ts +3 -3
  299. package/src/modules/dateTime/directives/dateTime/dateTime.directive.d.ts.map +1 -1
  300. package/src/modules/dateTime/directives/dateTimeBase.d.ts +3 -3
  301. package/src/modules/dateTime/directives/dateTimeBase.d.ts.map +1 -1
  302. package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts +3 -3
  303. package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts.map +1 -1
  304. package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts +3 -3
  305. package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts.map +1 -1
  306. package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts +3 -3
  307. package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts.map +1 -1
  308. package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts +3 -3
  309. package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts.map +1 -1
  310. package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts +3 -3
  311. package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts.map +1 -1
  312. package/src/modules/dateTime/modules/dateTime.module.d.ts +1 -1
  313. package/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.d.ts +1 -2
  314. package/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.d.ts.map +1 -1
  315. package/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.d.ts +3 -3
  316. package/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.d.ts.map +1 -1
  317. package/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.d.ts +2 -3
  318. package/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.d.ts.map +1 -1
  319. package/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.d.ts +2 -3
  320. package/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.d.ts.map +1 -1
  321. package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.d.ts +6 -7
  322. package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.d.ts.map +1 -1
  323. package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.d.ts +1 -1
  324. package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.data.d.ts.map +1 -1
  325. package/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.d.ts +2 -3
  326. package/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.d.ts.map +1 -1
  327. package/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.d.ts +3 -3
  328. package/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.d.ts.map +1 -1
  329. package/src/modules/dateTimePicker/directives/index.d.ts +3 -0
  330. package/src/modules/dateTimePicker/directives/index.d.ts.map +1 -1
  331. package/src/{legacy/picker → modules/dateTimePicker}/directives/loopScroll/loopScroll.directive.d.ts +18 -18
  332. package/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.d.ts.map +1 -0
  333. package/src/{legacy/picker → modules/dateTimePicker}/directives/loopScroll/loopScroll.interface.d.ts +1 -1
  334. package/src/modules/dateTimePicker/directives/loopScroll/loopScroll.interface.d.ts.map +1 -0
  335. package/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.d.ts +20 -0
  336. package/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.d.ts.map +1 -0
  337. package/src/modules/dateTimePicker/interfaces/index.d.ts +1 -0
  338. package/src/modules/dateTimePicker/interfaces/index.d.ts.map +1 -1
  339. package/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.d.ts +62 -0
  340. package/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.d.ts.map +1 -0
  341. package/src/modules/dateTimePicker/modules/dateTimePicker.module.d.ts +1 -1
  342. package/src/modules/dateTimePicker/modules/dateTimePicker.module.d.ts.map +1 -1
  343. package/src/modules/index.d.ts +1 -0
  344. package/src/modules/index.d.ts.map +1 -1
  345. package/src/pipes/dateConvert.pipe.d.ts +1 -1
  346. package/src/pipes/dateConvert.pipe.d.ts.map +1 -1
  347. package/src/pipes/dateFormat.pipe.d.ts +1 -1
  348. package/src/pipes/dateFormat.pipe.d.ts.map +1 -1
  349. package/src/services/dateApi/dateApi.interface.d.ts +25 -12
  350. package/src/services/dateApi/dateApi.interface.d.ts.map +1 -1
  351. package/src/services/datePositionParser/datePositionParser.service.d.ts.map +1 -1
  352. package/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.d.ts +2 -2
  353. package/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.d.ts.map +1 -1
  354. package/src/services/dateValueProvider/dateValueProvider.service.d.ts +1 -1
  355. package/src/services/dateValueProvider/dateValueProvider.service.d.ts.map +1 -1
  356. package/styles/components/_month-calendar.scss +68 -0
  357. package/styles/core/_mixins.scss +2 -0
  358. package/styles/core/_theme.scss +11 -0
  359. package/version.bak +1 -1
  360. package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js +0 -14
  361. package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js.map +0 -1
  362. package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js +0 -2
  363. package/es2015/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js.map +0 -1
  364. package/es2015/src/legacy/picker/components/dayPicker/dayPicker.component.js +0 -214
  365. package/es2015/src/legacy/picker/components/dayPicker/dayPicker.component.js.map +0 -1
  366. package/es2015/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js +0 -2
  367. package/es2015/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js.map +0 -1
  368. package/es2015/src/legacy/picker/components/monthPicker/monthPicker.component.js +0 -116
  369. package/es2015/src/legacy/picker/components/monthPicker/monthPicker.component.js.map +0 -1
  370. package/es2015/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js +0 -2
  371. package/es2015/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js.map +0 -1
  372. package/es2015/src/legacy/picker/components/picker/picker.component.js +0 -242
  373. package/es2015/src/legacy/picker/components/picker/picker.component.js.map +0 -1
  374. package/es2015/src/legacy/picker/components/pickerBase.component.js +0 -138
  375. package/es2015/src/legacy/picker/components/pickerBase.component.js.map +0 -1
  376. package/es2015/src/legacy/picker/components/pickerImplBase.component.js +0 -145
  377. package/es2015/src/legacy/picker/components/pickerImplBase.component.js.map +0 -1
  378. package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js +0 -148
  379. package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +0 -1
  380. package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js +0 -341
  381. package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +0 -1
  382. package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js +0 -2
  383. package/es2015/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +0 -1
  384. package/es2015/src/legacy/picker/components/yearPicker/yearPicker.component.js +0 -128
  385. package/es2015/src/legacy/picker/components/yearPicker/yearPicker.component.js.map +0 -1
  386. package/es2015/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js +0 -2
  387. package/es2015/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js.map +0 -1
  388. package/es2015/src/legacy/picker/directives/index.js +0 -4
  389. package/es2015/src/legacy/picker/directives/index.js.map +0 -1
  390. package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.directive.js +0 -213
  391. package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.directive.js.map +0 -1
  392. package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.interface.js +0 -3
  393. package/es2015/src/legacy/picker/directives/loopScroll/loopScroll.interface.js.map +0 -1
  394. package/es2015/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.js.map +0 -1
  395. package/es2015/src/legacy/picker/interfaces.js +0 -6
  396. package/es2015/src/legacy/picker/interfaces.js.map +0 -1
  397. package/es2015/src/legacy/picker/misc/datetimePicker.interface.js +0 -2
  398. package/es2015/src/legacy/picker/misc/datetimePicker.interface.js.map +0 -1
  399. package/es2015/src/legacy/picker/misc/tokens.js +0 -6
  400. package/es2015/src/legacy/picker/misc/tokens.js.map +0 -1
  401. package/es2015/src/legacy/picker/modules/picker.module.js +0 -65
  402. package/es2015/src/legacy/picker/modules/picker.module.js.map +0 -1
  403. package/es2015/src/legacy/picker/types.js +0 -10
  404. package/es2015/src/legacy/picker/types.js.map +0 -1
  405. package/es2015/src/legacy/selector/components/selector/selector.component.animations.js +0 -15
  406. package/es2015/src/legacy/selector/components/selector/selector.component.animations.js.map +0 -1
  407. package/es2015/src/legacy/selector/components/selector/selector.component.js +0 -357
  408. package/es2015/src/legacy/selector/components/selector/selector.component.js.map +0 -1
  409. package/es2015/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js +0 -134
  410. package/es2015/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +0 -1
  411. package/es2015/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +0 -51
  412. package/es2015/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +0 -1
  413. package/es2015/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +0 -51
  414. package/es2015/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +0 -1
  415. package/es2015/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js +0 -47
  416. package/es2015/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +0 -1
  417. package/es2015/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +0 -119
  418. package/es2015/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +0 -1
  419. package/es2015/src/legacy/selector/interfaces.js +0 -2
  420. package/es2015/src/legacy/selector/interfaces.js.map +0 -1
  421. package/es2015/src/legacy/selector/misc/datetimeSelector.interface.js +0 -2
  422. package/es2015/src/legacy/selector/misc/datetimeSelector.interface.js.map +0 -1
  423. package/es2015/src/legacy/selector/misc/tokens.js +0 -6
  424. package/es2015/src/legacy/selector/misc/tokens.js.map +0 -1
  425. package/es2015/src/legacy/selector/modules/basicSelector.module.js +0 -20
  426. package/es2015/src/legacy/selector/modules/basicSelector.module.js.map +0 -1
  427. package/es2015/src/legacy/selector/modules/selector.module.js +0 -63
  428. package/es2015/src/legacy/selector/modules/selector.module.js.map +0 -1
  429. package/es2015/src/legacy/selector/types.js +0 -11
  430. package/es2015/src/legacy/selector/types.js.map +0 -1
  431. package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js +0 -14
  432. package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.js.map +0 -1
  433. package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js +0 -2
  434. package/es2020/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.js.map +0 -1
  435. package/es2020/src/legacy/picker/components/dayPicker/dayPicker.component.js +0 -214
  436. package/es2020/src/legacy/picker/components/dayPicker/dayPicker.component.js.map +0 -1
  437. package/es2020/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js +0 -2
  438. package/es2020/src/legacy/picker/components/dayPicker/dayPicker.interfaces.js.map +0 -1
  439. package/es2020/src/legacy/picker/components/monthPicker/monthPicker.component.js +0 -116
  440. package/es2020/src/legacy/picker/components/monthPicker/monthPicker.component.js.map +0 -1
  441. package/es2020/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js +0 -2
  442. package/es2020/src/legacy/picker/components/monthPicker/monthPicker.interfaces.js.map +0 -1
  443. package/es2020/src/legacy/picker/components/picker/picker.component.js +0 -237
  444. package/es2020/src/legacy/picker/components/picker/picker.component.js.map +0 -1
  445. package/es2020/src/legacy/picker/components/pickerBase.component.js +0 -138
  446. package/es2020/src/legacy/picker/components/pickerBase.component.js.map +0 -1
  447. package/es2020/src/legacy/picker/components/pickerImplBase.component.js +0 -145
  448. package/es2020/src/legacy/picker/components/pickerImplBase.component.js.map +0 -1
  449. package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js +0 -142
  450. package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.js.map +0 -1
  451. package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js +0 -341
  452. package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.js.map +0 -1
  453. package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js +0 -2
  454. package/es2020/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.js.map +0 -1
  455. package/es2020/src/legacy/picker/components/yearPicker/yearPicker.component.js +0 -128
  456. package/es2020/src/legacy/picker/components/yearPicker/yearPicker.component.js.map +0 -1
  457. package/es2020/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js +0 -2
  458. package/es2020/src/legacy/picker/components/yearPicker/yearPicker.interfaces.js.map +0 -1
  459. package/es2020/src/legacy/picker/directives/index.js +0 -4
  460. package/es2020/src/legacy/picker/directives/index.js.map +0 -1
  461. package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.directive.js.map +0 -1
  462. package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.interface.js +0 -3
  463. package/es2020/src/legacy/picker/directives/loopScroll/loopScroll.interface.js.map +0 -1
  464. package/es2020/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.js.map +0 -1
  465. package/es2020/src/legacy/picker/interfaces.js +0 -6
  466. package/es2020/src/legacy/picker/interfaces.js.map +0 -1
  467. package/es2020/src/legacy/picker/misc/datetimePicker.interface.js +0 -2
  468. package/es2020/src/legacy/picker/misc/datetimePicker.interface.js.map +0 -1
  469. package/es2020/src/legacy/picker/misc/tokens.js +0 -6
  470. package/es2020/src/legacy/picker/misc/tokens.js.map +0 -1
  471. package/es2020/src/legacy/picker/modules/picker.module.js +0 -65
  472. package/es2020/src/legacy/picker/modules/picker.module.js.map +0 -1
  473. package/es2020/src/legacy/picker/types.js +0 -10
  474. package/es2020/src/legacy/picker/types.js.map +0 -1
  475. package/es2020/src/legacy/selector/components/selector/selector.component.animations.js +0 -15
  476. package/es2020/src/legacy/selector/components/selector/selector.component.animations.js.map +0 -1
  477. package/es2020/src/legacy/selector/components/selector/selector.component.js +0 -345
  478. package/es2020/src/legacy/selector/components/selector/selector.component.js.map +0 -1
  479. package/es2020/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js +0 -133
  480. package/es2020/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.js.map +0 -1
  481. package/es2020/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js +0 -51
  482. package/es2020/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.js.map +0 -1
  483. package/es2020/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js +0 -51
  484. package/es2020/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.js.map +0 -1
  485. package/es2020/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js +0 -47
  486. package/es2020/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.js.map +0 -1
  487. package/es2020/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js +0 -118
  488. package/es2020/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.js.map +0 -1
  489. package/es2020/src/legacy/selector/interfaces.js +0 -2
  490. package/es2020/src/legacy/selector/interfaces.js.map +0 -1
  491. package/es2020/src/legacy/selector/misc/datetimeSelector.interface.js +0 -2
  492. package/es2020/src/legacy/selector/misc/datetimeSelector.interface.js.map +0 -1
  493. package/es2020/src/legacy/selector/misc/tokens.js +0 -6
  494. package/es2020/src/legacy/selector/misc/tokens.js.map +0 -1
  495. package/es2020/src/legacy/selector/modules/basicSelector.module.js +0 -20
  496. package/es2020/src/legacy/selector/modules/basicSelector.module.js.map +0 -1
  497. package/es2020/src/legacy/selector/modules/selector.module.js +0 -63
  498. package/es2020/src/legacy/selector/modules/selector.module.js.map +0 -1
  499. package/es2020/src/legacy/selector/types.js +0 -11
  500. package/es2020/src/legacy/selector/types.js.map +0 -1
  501. package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.css +0 -0
  502. package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.d.ts +0 -9
  503. package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.d.ts.map +0 -1
  504. package/src/legacy/picker/components/clockTimePicker/clockTimePicker.component.html +0 -0
  505. package/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.d.ts +0 -6
  506. package/src/legacy/picker/components/clockTimePicker/clockTimePicker.interface.d.ts.map +0 -1
  507. package/src/legacy/picker/components/dayPicker/dayPicker.component.css +0 -22
  508. package/src/legacy/picker/components/dayPicker/dayPicker.component.d.ts +0 -80
  509. package/src/legacy/picker/components/dayPicker/dayPicker.component.d.ts.map +0 -1
  510. package/src/legacy/picker/components/dayPicker/dayPicker.component.html +0 -21
  511. package/src/legacy/picker/components/dayPicker/dayPicker.interfaces.d.ts +0 -11
  512. package/src/legacy/picker/components/dayPicker/dayPicker.interfaces.d.ts.map +0 -1
  513. package/src/legacy/picker/components/monthPicker/monthPicker.component.css +0 -4
  514. package/src/legacy/picker/components/monthPicker/monthPicker.component.d.ts +0 -53
  515. package/src/legacy/picker/components/monthPicker/monthPicker.component.d.ts.map +0 -1
  516. package/src/legacy/picker/components/monthPicker/monthPicker.component.html +0 -13
  517. package/src/legacy/picker/components/monthPicker/monthPicker.interfaces.d.ts +0 -7
  518. package/src/legacy/picker/components/monthPicker/monthPicker.interfaces.d.ts.map +0 -1
  519. package/src/legacy/picker/components/picker/picker.component.css +0 -4
  520. package/src/legacy/picker/components/picker/picker.component.d.ts +0 -105
  521. package/src/legacy/picker/components/picker/picker.component.d.ts.map +0 -1
  522. package/src/legacy/picker/components/picker/picker.component.html +0 -3
  523. package/src/legacy/picker/components/pickerBase.component.d.ts +0 -80
  524. package/src/legacy/picker/components/pickerBase.component.d.ts.map +0 -1
  525. package/src/legacy/picker/components/pickerImplBase.component.d.ts +0 -128
  526. package/src/legacy/picker/components/pickerImplBase.component.d.ts.map +0 -1
  527. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.css +0 -64
  528. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.d.ts +0 -71
  529. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.d.ts.map +0 -1
  530. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.component.html +0 -67
  531. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.d.ts +0 -4
  532. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.data.d.ts.map +0 -1
  533. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.d.ts +0 -6
  534. package/src/legacy/picker/components/rollerTimePicker/rollerTimePicker.interface.d.ts.map +0 -1
  535. package/src/legacy/picker/components/yearPicker/yearPicker.component.css +0 -4
  536. package/src/legacy/picker/components/yearPicker/yearPicker.component.d.ts +0 -58
  537. package/src/legacy/picker/components/yearPicker/yearPicker.component.d.ts.map +0 -1
  538. package/src/legacy/picker/components/yearPicker/yearPicker.component.html +0 -13
  539. package/src/legacy/picker/components/yearPicker/yearPicker.interfaces.d.ts +0 -7
  540. package/src/legacy/picker/components/yearPicker/yearPicker.interfaces.d.ts.map +0 -1
  541. package/src/legacy/picker/directives/index.d.ts +0 -4
  542. package/src/legacy/picker/directives/index.d.ts.map +0 -1
  543. package/src/legacy/picker/directives/loopScroll/loopScroll.directive.d.ts.map +0 -1
  544. package/src/legacy/picker/directives/loopScroll/loopScroll.interface.d.ts.map +0 -1
  545. package/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.d.ts +0 -20
  546. package/src/legacy/picker/directives/loopScrollData/loopScrollData.directive.d.ts.map +0 -1
  547. package/src/legacy/picker/interfaces.d.ts +0 -6
  548. package/src/legacy/picker/interfaces.d.ts.map +0 -1
  549. package/src/legacy/picker/misc/datetimePicker.interface.d.ts +0 -193
  550. package/src/legacy/picker/misc/datetimePicker.interface.d.ts.map +0 -1
  551. package/src/legacy/picker/misc/tokens.d.ts +0 -7
  552. package/src/legacy/picker/misc/tokens.d.ts.map +0 -1
  553. package/src/legacy/picker/modules/picker.module.d.ts +0 -20
  554. package/src/legacy/picker/modules/picker.module.d.ts.map +0 -1
  555. package/src/legacy/picker/types.d.ts +0 -10
  556. package/src/legacy/picker/types.d.ts.map +0 -1
  557. package/src/legacy/selector/components/selector/selector.component.animations.d.ts +0 -5
  558. package/src/legacy/selector/components/selector/selector.component.animations.d.ts.map +0 -1
  559. package/src/legacy/selector/components/selector/selector.component.css +0 -11
  560. package/src/legacy/selector/components/selector/selector.component.d.ts +0 -157
  561. package/src/legacy/selector/components/selector/selector.component.d.ts.map +0 -1
  562. package/src/legacy/selector/components/selector/selector.component.html +0 -10
  563. package/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.d.ts +0 -80
  564. package/src/legacy/selector/directives/dateTimePickerRenderer/dateTimePickerRenderer.directive.d.ts.map +0 -1
  565. package/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts +0 -23
  566. package/src/legacy/selector/directives/datetimeMaxValidator/datetimeMaxValidator.directive.d.ts.map +0 -1
  567. package/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts +0 -23
  568. package/src/legacy/selector/directives/datetimeMinValidator/datetimeMinValidator.directive.d.ts.map +0 -1
  569. package/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.d.ts +0 -22
  570. package/src/legacy/selector/directives/datetimeValidator/datetimeValidator.directive.d.ts.map +0 -1
  571. package/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts +0 -54
  572. package/src/legacy/selector/directives/selectorControlValueAccessor/selectorControlValueAccessor.directive.d.ts.map +0 -1
  573. package/src/legacy/selector/interfaces.d.ts +0 -2
  574. package/src/legacy/selector/interfaces.d.ts.map +0 -1
  575. package/src/legacy/selector/misc/datetimeSelector.interface.d.ts +0 -96
  576. package/src/legacy/selector/misc/datetimeSelector.interface.d.ts.map +0 -1
  577. package/src/legacy/selector/misc/tokens.d.ts +0 -7
  578. package/src/legacy/selector/misc/tokens.d.ts.map +0 -1
  579. package/src/legacy/selector/modules/basicSelector.module.d.ts +0 -11
  580. package/src/legacy/selector/modules/basicSelector.module.d.ts.map +0 -1
  581. package/src/legacy/selector/modules/selector.module.d.ts +0 -20
  582. package/src/legacy/selector/modules/selector.module.d.ts.map +0 -1
  583. package/src/legacy/selector/types.d.ts +0 -11
  584. package/src/legacy/selector/types.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"inputDateTime.component.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/components/inputDateTime/inputDateTime.component.ts","../../../../../../src/legacy/selector/components/inputDateTime/inputDateTime.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAa,OAAO,EAAC,MAAM,MAAM,CAAC;AAGzC,OAAO,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAA6C,yBAAyB,EAAE,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;;;AAG9H;;GAEG;AAQH,MAAM,OAAO,8BAA8B;IAmLvC,iEAAiE;IACjE,YAAwC,QAAwB,EAC1C,UAAqC,EACrC,cAAwC,EACxC,eAAkC;QAHhB,aAAQ,GAAR,QAAQ,CAAgB;QAC1C,eAAU,GAAV,UAAU,CAA2B;QACrC,mBAAc,GAAd,cAAc,CAA0B;QACxC,oBAAe,GAAf,eAAe,CAAmB;QArLxD,sEAAsE;QAEtE;;WAEG;QACO,iBAAY,GAAkB,IAAI,OAAO,EAAQ,CAAC;QAE5D;;WAEG;QACO,aAAQ,GAAkB,IAAI,OAAO,EAAQ,CAAC;QAExD;;WAEG;QACO,mBAAc,GAAqB,IAAI,OAAO,EAAW,CAAC;QAEpE;;WAEG;QACO,YAAO,GAA4B,IAAI,CAAC;QAElD;;WAEG;QACO,YAAO,GAAW,EAAE,CAAC;QAE/B;;WAEG;QACO,kBAAa,GAA8B,IAAI,CAAC;QAE1D;;WA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AAK,GAAG;gBACR;oBACI,IAAI,CAAC,qBAAqB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,aAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;oBAErH,MAAM;iBACT;YACD,KAAK,GAAG;gBACR;oBACI,IAAI,CAAC,qBAAqB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAc,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,aAAc,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;oBAEzH,MAAM;iBACT;SACJ;IACL,CAAC;;2HA5iBQ,8BAA8B,kBAoLnB,QAAQ;+GApLnB,8BAA8B,qLCnB3C,iWASyC;2FDU5B,8BAA8B;kBAP1C,SAAS;+BAEI,0BAA0B,mBAGnB,uBAAuB,CAAC,MAAM;;0BAsLlC,MAAM;2BAAC,QAAQ;oJA5BrB,YAAY;sBADlB,SAAS;uBAAC,OAAO,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, ChangeDetectorRef, ElementRef, ViewChild} from '@angular/core';\nimport {isPresent} from '@jscrpt/common';\nimport {Observable, Subject} from 'rxjs';\n\nimport {DateTimeValue} from '../../../../interfaces/dateTime/datetime.interface';\nimport {DATE_API} from '../../../../misc/tokens';\nimport {DateApi, DateApiObject, DatePositionParser, DatePositionParserService, DateValueProvider} from '../../../../services';\nimport {DateTimeSelector} from '../../misc/datetimeSelector.interface';\n\n/**\n * Component used as datetime selector with input\n */\n@Component(\n{\n selector: 'input-date-time-selector',\n templateUrl: 'inputDateTime.component.html',\n styleUrls: ['inputDateTime.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InputDateTimeSelectorComponent<TDate = any> implements DateTimeSelector<TDate>\n{\n //######################### protected fields #########################\n\n /**\n * Occurs when value changes\n */\n protected _valueChange: Subject<void> = new Subject<void>();\n\n /**\n * Occurs when selector is touched by user\n */\n protected _touched: Subject<void> = new Subject<void>();\n\n /**\n * Occurs when selector requires picker to be displayed or hidden\n */\n protected _pickerRequest: Subject<boolean> = new Subject<boolean>();\n\n /**\n * Instance of parser created for specific format\n */\n protected _parser: DatePositionParser|null = null;\n\n /**\n * Currently used format for displaying data\n */\n protected _format: string = '';\n\n /**\n * Current value representation as date api wrapper\n */\n protected _dateApiValue: null|DateApiObject<TDate> = null;\n\n /**\n * Indication whether is current value valid value\n */\n protected _isValid: boolean = true;\n\n /**\n * Minimal possible value that can be picked\n */\n protected _minValue: TDate|null = null;\n\n /**\n * Maximal possible value that can be picked\n */\n protected _maxValue: TDate|null = null;\n\n //######################### public properties - implementation of DateTimeSelector #########################\n\n /**\n * Gets or sets currently used format for displaying data\n */\n public get format(): string\n {\n return this._format;\n }\n public set format(value: string)\n {\n if(isPresent(value))\n {\n value = this._dateApi.getFormat(value);\n }\n\n //only if format changes\n if(this._format != value)\n {\n this._parser = this._parserSvc.createParser(this._dateApi.getFormat(value));\n }\n\n this._format = value;\n }\n\n /**\n * Gets or sets placeholder that is displayed when there is no value selected\n */\n public placeholder: string|null = null;\n\n /**\n * Gets current value of datetime\n */\n public get value(): DateTimeValue<TDate>|null\n {\n if(!this._dateApiValue || !this._isValid)\n {\n return null;\n }\n\n return this._valueProvider.getValue(this._dateApiValue.value, this._format);\n }\n\n /**\n * Gets formatted value\n */\n public get formattedValue(): string|null\n {\n if(!this._isValid)\n {\n return null;\n }\n\n return this.currentValue;\n }\n\n /**\n * Gets indication whether is current value valid\n */\n public get valid(): boolean\n {\n return this._isValid;\n }\n\n /**\n * Occurs when value changes\n */\n public get valueChange(): Observable<void>\n {\n return this._valueChange.asObservable();\n }\n\n /**\n * Occurs when selector is touched by user\n */\n public get touched(): Observable<void>\n {\n return this._touched.asObservable();\n }\n\n /**\n * Occurs when selector requires picker to be displayed\n */\n public get pickerRequest(): Observable<boolean>\n {\n return this._pickerRequest.asObservable();\n }\n\n //######################### public properties - template bindings #########################\n\n /**\n * Indication whether is input disabled\n * @internal\n */\n public disabled: boolean = false;\n\n //######################### public properties - children #########################\n\n /**\n * Instance of html input element\n * @internal\n */\n @ViewChild('input', {static: true})\n public inputElement!: ElementRef<HTMLInputElement>;\n\n //######################### protected properties #########################\n\n /**\n * Gets or sets string representation current of value\n */\n protected get currentValue(): string|null\n {\n return this.input.value || null;\n }\n protected set currentValue(value: string|null)\n {\n if(this.input)\n {\n this.input.value = value ?? '';\n }\n }\n\n /**\n * Gets input element used for handling date time value\n */\n protected get input(): HTMLInputElement\n {\n return this.inputElement.nativeElement;\n }\n\n //######################### constructor #########################\n constructor(@Inject(DATE_API) protected _dateApi: DateApi<TDate>,\n protected _parserSvc: DatePositionParserService,\n protected _valueProvider: DateValueProvider<TDate>,\n protected _changeDetector: ChangeDetectorRef)\n {\n }\n\n //######################### public methods - implementation of DateTimeSelector #########################\n\n /**\n * Sets minimal possible value for picker, that can be picked\n * @param value - Minimal possible value that can be picked\n */\n public setMinValue(value: TDate|null): void\n {\n this._minValue = value;\n }\n\n /**\n * Sets maximal possible value for picker, that can be picked\n * @param value - Maximal possible value that can be picked\n */\n public setMaxValue(value: TDate|null): void\n {\n this._maxValue = value;\n }\n\n /**\n * Sets value of datetime selector\n * @param value - Value to be set to this selector\n */\n public setValue(value: DateTimeValue<TDate>|null): void\n {\n if(value?.from)\n {\n this._dateApiValue = this._dateApi.getValue(value?.from, this._format);\n this._isValid = this._dateApiValue.isValid();\n \n this._show();\n }\n else\n {\n this._clearValue();\n }\n }\n\n /**\n * Sets as 'control' disabled\n * @param disabled - Indication whether sets value as disabled, if omitted it is same as disabled set to true\n */\n public setDisabled(disabled: boolean = true): void\n {\n this.disabled = disabled;\n }\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n public invalidateVisuals(): void\n {\n this._changeDetector.detectChanges();\n }\n\n //######################### public methods - template bindings #########################\n\n /**\n * Handles gaining of focus\n * @internal\n */\n public handleFocus(): void\n {\n this._pickerRequest.next(true);\n\n //no value\n if(!this._dateApiValue)\n {\n this._dateApiValue = this._dateApi.now();\n this._isValid = this._dateApiValue.isValid();\n\n if(this._minMaxConstraintTest())\n {\n this._clearValue();\n }\n else\n {\n this._valueChange.next();\n }\n }\n\n if(!this._isValid)\n {\n return;\n }\n\n this._show();\n\n const result = this._parser!.parse(this.currentValue!, this.input.selectionStart!);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n /**\n * Handles blur on input\n * @internal\n */\n public handleBlur(): void\n {\n this._pickerRequest.next(false);\n }\n\n /**\n * Handles user input\n * @internal\n */\n public handleInput(): void\n {\n //empty value\n if(!this.currentValue)\n {\n this._clearValue();\n this._valueChange.next();\n\n return;\n }\n\n this._dateApiValue = this._dateApi.getValue(this.currentValue, this._format);\n this._isValid = this._dateApiValue.isValid();\n this._valueChange.next();\n }\n\n /**\n * Handles selection of text inside of input\n * @internal\n */\n public handleSelect(): void\n {\n //handles when all text is selected\n if(this.currentValue && this.input.selectionStart == 0 && this.input.selectionEnd == this.input.value.length)\n {\n const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n }\n\n /**\n * Handles click event inside of input\n * @internal\n */\n public handleClick(): void\n {\n this._pickerRequest.next(true);\n\n if(!this._dateApiValue)\n {\n return;\n }\n\n const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n /**\n * Handles keyboard events\n * @param event - Keyboard event that occured\n * @param input - Html input element that holds current value and selection\n * @internal\n */\n public handleKeyboard(event: KeyboardEvent): void\n {\n if(!this._dateApiValue?.isValid())\n {\n return;\n }\n\n switch(event.key)\n {\n case 'ArrowRight':\n case 'ArrowLeft':\n {\n event.preventDefault();\n event.stopPropagation();\n\n const result = event.key == 'ArrowLeft' ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n if(result)\n {\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n break;\n }\n case 'ArrowUp':\n case 'ArrowDown':\n {\n event.preventDefault();\n event.stopPropagation();\n\n let result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n const selectionStart = result.positionFrom;\n\n this._stepChangeValue(result.part, event.key == 'ArrowUp');\n this._show();\n\n result = this._parser!.parse(this.input.value, selectionStart);\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n\n break;\n }\n case 'Tab':\n {\n const result = event.shiftKey ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n if(result)\n {\n event.preventDefault();\n event.stopPropagation();\n\n this.input.selectionStart = result.positionFrom;\n this.input.selectionEnd = result.positionTo;\n }\n\n break;\n }\n case 'a':\n {\n if(event.ctrlKey)\n {\n event.preventDefault();\n event.stopPropagation();\n }\n\n break;\n }\n case 'Backspace':\n {\n this._clearValue();\n this._valueChange.next();\n\n break;\n }\n case 'Escape':\n {\n this._pickerRequest.next(false);\n\n break;\n }\n case ' ':\n {\n if(event.ctrlKey)\n {\n this._pickerRequest.next(true);\n }\n\n break;\n }\n }\n }\n\n //######################### protected methods #########################\n\n /**\n * Shows current value in input\n */\n protected _show(): void\n {\n if(this._isValid)\n {\n this.currentValue = this._dateApiValue?.format(this._format) ?? null;\n }\n }\n\n /**\n * Tests whether are min or max constraint broken, returns true if constraint is broken\n */\n protected _minMaxConstraintTest(): boolean\n {\n return (!!this._minValue && this._dateApiValue!.isBefore(this._minValue)) ||\n (!!this._maxValue && this._dateApiValue!.isAfter(this._maxValue));\n }\n\n /**\n * Runs code with check whether min max constrains was broken\n * @param code - Code that should be executed which can change current value\n */\n protected _withMinMaxConstraint(code: () => void): void\n {\n this._dateApiValue!.updateOriginal();\n\n code();\n\n //min value constraint failure\n if(this._minMaxConstraintTest())\n {\n this._dateApiValue?.resetOriginal();\n\n return;\n }\n\n this._valueChange.next();\n }\n\n /**\n * Clears current value\n */\n protected _clearValue(): void\n {\n this._dateApiValue = null;\n this._isValid = true;\n this.currentValue = null;\n }\n\n /**\n * Changes current value of date for for specified part by single step\n * @param part - Part of date that should be changed\n * @param increment - Indication whether value should be incremented or decremented\n */\n protected _stepChangeValue(part: string, increment: boolean): void\n {\n if(!this._dateApiValue?.isValid())\n {\n return;\n }\n\n switch(part)\n {\n case 'y':\n case 'Y':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addYears(1) : this._dateApiValue!.subtractYears(1));\n\n break;\n }\n case 'Q':\n {\n break;\n }\n case 'M':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMonths(1) : this._dateApiValue!.subtractMonths(1));\n\n break;\n }\n case 'w':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addWeeks(1) : this._dateApiValue!.subtractWeeks(1));\n\n break;\n }\n case 'd':\n case 'D':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addDays(1) : this._dateApiValue!.subtractDays(1));\n\n break;\n }\n case 'H':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addHours(1) : this._dateApiValue!.subtractHours(1));\n\n break;\n }\n case 'm':\n {\n this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMinutes(1) : this._dateApiValue!.subtractMinutes(1));\n\n break;\n }\n }\n }\n}","<input type=\"text\"\r\n #input\r\n (focus)=\"handleFocus()\"\r\n (blur)=\"handleBlur()\"\r\n (input)=\"handleInput()\"\r\n (click)=\"handleClick()\"\r\n (select)=\"handleSelect()\"\r\n (keydown)=\"handleKeyboard($any($event))\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"placeholder ?? ''\">"]}
1
+ {"version":3,"file":"inputDateTime.component.js","sourceRoot":"","sources":["../../../../../../src/legacy/selector/components/inputDateTime/inputDateTime.component.ts"],"names":[],"mappings":";AAAA,sHAAsH;AACtH,4CAA4C;AAC5C,4CAA4C;AAE5C,oFAAoF;AACpF,oDAAoD;AACpD,iIAAiI;AACjI,0EAA0E;AAE1E,MAAM;AACN,oDAAoD;AACpD,MAAM;AACN,cAAc;AACd,IAAI;AACJ,4CAA4C;AAC5C,mDAAmD;AACnD,kDAAkD;AAClD,sDAAsD;AACtD,KAAK;AACL,8FAA8F;AAC9F,IAAI;AACJ,6EAA6E;AAE7E,UAAU;AACV,mCAAmC;AACnC,UAAU;AACV,mEAAmE;AAEnE,UAAU;AACV,iDAAiD;AACjD,UAAU;AACV,+DAA+D;AAE/D,UAAU;AACV,wEAAwE;AACxE,UAAU;AACV,2EAA2E;AAE3E,UAAU;AACV,wDAAwD;AACxD,UAAU;AACV,yDAAyD;AAEzD,UAAU;AACV,mDAAmD;AACnD,UAAU;AACV,sCAAsC;AAEtC,UAAU;AACV,0DAA0D;AAC1D,UAAU;AACV,iEAAiE;AAEjE,UAAU;AACV,yDAAyD;AACzD,UAAU;AACV,0CAA0C;AAE1C,UAAU;AACV,mDAAmD;AACnD,UAAU;AACV,8CAA8C;AAE9C,UAAU;AACV,mDAAmD;AACnD,UAAU;AACV,8CAA8C;AAE9C,mHAAmH;AAEnH,UAAU;AACV,gEAAgE;AAChE,UAAU;AACV,kCAAkC;AAClC,QAAQ;AACR,+BAA+B;AAC/B,QAAQ;AACR,uCAAuC;AACvC,QAAQ;AACR,+BAA+B;AAC/B,YAAY;AACZ,sDAAsD;AACtD,YAAY;AAEZ,mCAAmC;AACnC,oCAAoC;AACpC,YAAY;AACZ,2FAA2F;AAC3F,YAAY;AAEZ,gCAAgC;AAChC,QAAQ;AAER,UAAU;AACV,oFAAoF;AACpF,UAAU;AACV,8CAA8C;AAE9C,UAAU;AACV,wCAAwC;AACxC,UAAU;AACV,oDAAoD;AACpD,QAAQ;AACR,oDAAoD;AACp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,wBAAwB;AACxB,wBAAwB;AACxB,gBAAgB;AAChB,wIAAwI;AAExI,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,0IAA0I;AAE1I,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,wIAAwI;AAExI,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,wBAAwB;AACxB,gBAAgB;AAChB,sIAAsI;AAEtI,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,wIAAwI;AAExI,yBAAyB;AACzB,gBAAgB;AAChB,wBAAwB;AACxB,gBAAgB;AAChB,4IAA4I;AAE5I,yBAAyB;AACzB,gBAAgB;AAChB,YAAY;AACZ,QAAQ;AACR,IAAI","sourcesContent":["// import {Component, ChangeDetectionStrategy, Inject, ChangeDetectorRef, ElementRef, ViewChild} from '@angular/core';\n// import {isPresent} from '@jscrpt/common';\n// import {Observable, Subject} from 'rxjs';\n\n// import {DateTimeValue} from '../../../../interfaces/dateTime/datetime.interface';\n// import {DATE_API} from '../../../../misc/tokens';\n// import {DateApi, DateApiObject, DatePositionParser, DatePositionParserService, DateValueProvider} from '../../../../services';\n// import {DateTimeSelector} from '../../misc/datetimeSelector.interface';\n\n// /**\n// * Component used as datetime selector with input\n// */\n// @Component(\n// {\n// selector: 'input-date-time-selector',\n// templateUrl: 'inputDateTime.component.html',\n// styleUrls: ['inputDateTime.component.css'],\n// changeDetection: ChangeDetectionStrategy.OnPush\n// })\n// export class InputDateTimeSelectorComponent<TDate = any> implements DateTimeSelector<TDate>\n// {\n// //######################### protected fields #########################\n\n// /**\n// * Occurs when value changes\n// */\n// protected _valueChange: Subject<void> = new Subject<void>();\n\n// /**\n// * Occurs when selector is touched by user\n// */\n// protected _touched: Subject<void> = new Subject<void>();\n\n// /**\n// * Occurs when selector requires picker to be displayed or hidden\n// */\n// protected _pickerRequest: Subject<boolean> = new Subject<boolean>();\n\n// /**\n// * Instance of parser created for specific format\n// */\n// protected _parser: DatePositionParser|null = null;\n\n// /**\n// * Currently used format for displaying data\n// */\n// protected _format: string = '';\n\n// /**\n// * Current value representation as date api wrapper\n// */\n// protected _dateApiValue: null|DateApiObject<TDate> = null;\n\n// /**\n// * Indication whether is current value valid value\n// */\n// protected _isValid: boolean = true;\n\n// /**\n// * Minimal possible value that can be picked\n// */\n// protected _minValue: TDate|null = null;\n\n// /**\n// * Maximal possible value that can be picked\n// */\n// protected _maxValue: TDate|null = null;\n\n// //######################### public properties - implementation of DateTimeSelector #########################\n\n// /**\n// * Gets or sets currently used format for displaying data\n// */\n// public get format(): string\n// {\n// return this._format;\n// }\n// public set format(value: string)\n// {\n// if(isPresent(value))\n// {\n// value = this._dateApi.getFormat(value);\n// }\n\n// //only if format changes\n// if(this._format != value)\n// {\n// this._parser = this._parserSvc.createParser(this._dateApi.getFormat(value));\n// }\n\n// this._format = value;\n// }\n\n// /**\n// * Gets or sets placeholder that is displayed when there is no value selected\n// */\n// public placeholder: string|null = null;\n\n// /**\n// * Gets current value of datetime\n// */\n// public get value(): DateTimeValue<TDate>|null\n// {\n// if(!this._dateApiValue || !this._isValid)\n// {\n// return null;\n// }\n\n// return this._valueProvider.getValue(this._dateApiValue.value, this._format);\n// }\n\n// /**\n// * Gets formatted value\n// */\n// public get formattedValue(): string|null\n// {\n// if(!this._isValid)\n// {\n// return null;\n// }\n\n// return this.currentValue;\n// }\n\n// /**\n// * Gets indication whether is current value valid\n// */\n// public get valid(): boolean\n// {\n// return this._isValid;\n// }\n\n// /**\n// * Occurs when value changes\n// */\n// public get valueChange(): Observable<void>\n// {\n// return this._valueChange.asObservable();\n// }\n\n// /**\n// * Occurs when selector is touched by user\n// */\n// public get touched(): Observable<void>\n// {\n// return this._touched.asObservable();\n// }\n\n// /**\n// * Occurs when selector requires picker to be displayed\n// */\n// public get pickerRequest(): Observable<boolean>\n// {\n// return this._pickerRequest.asObservable();\n// }\n\n// //######################### public properties - template bindings #########################\n\n// /**\n// * Indication whether is input disabled\n// * @internal\n// */\n// public disabled: boolean = false;\n\n// //######################### public properties - children #########################\n\n// /**\n// * Instance of html input element\n// * @internal\n// */\n// @ViewChild('input', {static: true})\n// public inputElement!: ElementRef<HTMLInputElement>;\n\n// //######################### protected properties #########################\n\n// /**\n// * Gets or sets string representation current of value\n// */\n// protected get currentValue(): string|null\n// {\n// return this.input.value || null;\n// }\n// protected set currentValue(value: string|null)\n// {\n// if(this.input)\n// {\n// this.input.value = value ?? '';\n// }\n// }\n\n// /**\n// * Gets input element used for handling date time value\n// */\n// protected get input(): HTMLInputElement\n// {\n// return this.inputElement.nativeElement;\n// }\n\n// //######################### constructor #########################\n// constructor(@Inject(DATE_API) protected _dateApi: DateApi<TDate>,\n// protected _parserSvc: DatePositionParserService,\n// protected _valueProvider: DateValueProvider<TDate>,\n// protected _changeDetector: ChangeDetectorRef)\n// {\n// }\n\n// //######################### public methods - implementation of DateTimeSelector #########################\n\n// /**\n// * Sets minimal possible value for picker, that can be picked\n// * @param value - Minimal possible value that can be picked\n// */\n// public setMinValue(value: TDate|null): void\n// {\n// this._minValue = value;\n// }\n\n// /**\n// * Sets maximal possible value for picker, that can be picked\n// * @param value - Maximal possible value that can be picked\n// */\n// public setMaxValue(value: TDate|null): void\n// {\n// this._maxValue = value;\n// }\n\n// /**\n// * Sets value of datetime selector\n// * @param value - Value to be set to this selector\n// */\n// public setValue(value: DateTimeValue<TDate>|null): void\n// {\n// if(value?.from)\n// {\n// this._dateApiValue = this._dateApi.getValue(value?.from, this._format);\n// this._isValid = this._dateApiValue.isValid();\n \n// this._show();\n// }\n// else\n// {\n// this._clearValue();\n// }\n// }\n\n// /**\n// * Sets as 'control' disabled\n// * @param disabled - Indication whether sets value as disabled, if omitted it is same as disabled set to true\n// */\n// public setDisabled(disabled: boolean = true): void\n// {\n// this.disabled = disabled;\n// }\n\n// /**\n// * Explicitly runs invalidation of content (change detection)\n// */\n// public invalidateVisuals(): void\n// {\n// this._changeDetector.detectChanges();\n// }\n\n// //######################### public methods - template bindings #########################\n\n// /**\n// * Handles gaining of focus\n// * @internal\n// */\n// public handleFocus(): void\n// {\n// this._pickerRequest.next(true);\n\n// //no value\n// if(!this._dateApiValue)\n// {\n// this._dateApiValue = this._dateApi.now();\n// this._isValid = this._dateApiValue.isValid();\n\n// if(this._minMaxConstraintTest())\n// {\n// this._clearValue();\n// }\n// else\n// {\n// this._valueChange.next();\n// }\n// }\n\n// if(!this._isValid)\n// {\n// return;\n// }\n\n// this._show();\n\n// const result = this._parser!.parse(this.currentValue!, this.input.selectionStart!);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// /**\n// * Handles blur on input\n// * @internal\n// */\n// public handleBlur(): void\n// {\n// this._pickerRequest.next(false);\n// }\n\n// /**\n// * Handles user input\n// * @internal\n// */\n// public handleInput(): void\n// {\n// //empty value\n// if(!this.currentValue)\n// {\n// this._clearValue();\n// this._valueChange.next();\n\n// return;\n// }\n\n// this._dateApiValue = this._dateApi.getValue(this.currentValue, this._format);\n// this._isValid = this._dateApiValue.isValid();\n// this._valueChange.next();\n// }\n\n// /**\n// * Handles selection of text inside of input\n// * @internal\n// */\n// public handleSelect(): void\n// {\n// //handles when all text is selected\n// if(this.currentValue && this.input.selectionStart == 0 && this.input.selectionEnd == this.input.value.length)\n// {\n// const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n// }\n\n// /**\n// * Handles click event inside of input\n// * @internal\n// */\n// public handleClick(): void\n// {\n// this._pickerRequest.next(true);\n\n// if(!this._dateApiValue)\n// {\n// return;\n// }\n\n// const result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// /**\n// * Handles keyboard events\n// * @param event - Keyboard event that occured\n// * @param input - Html input element that holds current value and selection\n// * @internal\n// */\n// public handleKeyboard(event: KeyboardEvent): void\n// {\n// if(!this._dateApiValue?.isValid())\n// {\n// return;\n// }\n\n// switch(event.key)\n// {\n// case 'ArrowRight':\n// case 'ArrowLeft':\n// {\n// event.preventDefault();\n// event.stopPropagation();\n\n// const result = event.key == 'ArrowLeft' ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n// if(result)\n// {\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// break;\n// }\n// case 'ArrowUp':\n// case 'ArrowDown':\n// {\n// event.preventDefault();\n// event.stopPropagation();\n\n// let result = this._parser!.parse(this.input.value, this.input.selectionStart!);\n// const selectionStart = result.positionFrom;\n\n// this._stepChangeValue(result.part, event.key == 'ArrowUp');\n// this._show();\n\n// result = this._parser!.parse(this.input.value, selectionStart);\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n\n// break;\n// }\n// case 'Tab':\n// {\n// const result = event.shiftKey ? this._parser!.previous(this.input.value, this.input.selectionStart!) : this._parser!.next(this.input.value, this.input.selectionStart!);\n\n// if(result)\n// {\n// event.preventDefault();\n// event.stopPropagation();\n\n// this.input.selectionStart = result.positionFrom;\n// this.input.selectionEnd = result.positionTo;\n// }\n\n// break;\n// }\n// case 'a':\n// {\n// if(event.ctrlKey)\n// {\n// event.preventDefault();\n// event.stopPropagation();\n// }\n\n// break;\n// }\n// case 'Backspace':\n// {\n// this._clearValue();\n// this._valueChange.next();\n\n// break;\n// }\n// case 'Escape':\n// {\n// this._pickerRequest.next(false);\n\n// break;\n// }\n// case ' ':\n// {\n// if(event.ctrlKey)\n// {\n// this._pickerRequest.next(true);\n// }\n\n// break;\n// }\n// }\n// }\n\n// //######################### protected methods #########################\n\n// /**\n// * Shows current value in input\n// */\n// protected _show(): void\n// {\n// if(this._isValid)\n// {\n// this.currentValue = this._dateApiValue?.format(this._format) ?? null;\n// }\n// }\n\n// /**\n// * Tests whether are min or max constraint broken, returns true if constraint is broken\n// */\n// protected _minMaxConstraintTest(): boolean\n// {\n// return (!!this._minValue && this._dateApiValue!.isBefore(this._minValue)) ||\n// (!!this._maxValue && this._dateApiValue!.isAfter(this._maxValue));\n// }\n\n// /**\n// * Runs code with check whether min max constrains was broken\n// * @param code - Code that should be executed which can change current value\n// */\n// protected _withMinMaxConstraint(code: () => void): void\n// {\n// this._dateApiValue!.updateOriginal();\n\n// code();\n\n// //min value constraint failure\n// if(this._minMaxConstraintTest())\n// {\n// this._dateApiValue?.resetOriginal();\n\n// return;\n// }\n\n// this._valueChange.next();\n// }\n\n// /**\n// * Clears current value\n// */\n// protected _clearValue(): void\n// {\n// this._dateApiValue = null;\n// this._isValid = true;\n// this.currentValue = null;\n// }\n\n// /**\n// * Changes current value of date for for specified part by single step\n// * @param part - Part of date that should be changed\n// * @param increment - Indication whether value should be incremented or decremented\n// */\n// protected _stepChangeValue(part: string, increment: boolean): void\n// {\n// if(!this._dateApiValue?.isValid())\n// {\n// return;\n// }\n\n// switch(part)\n// {\n// case 'y':\n// case 'Y':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addYears(1) : this._dateApiValue!.subtractYears(1));\n\n// break;\n// }\n// case 'Q':\n// {\n// break;\n// }\n// case 'M':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMonths(1) : this._dateApiValue!.subtractMonths(1));\n\n// break;\n// }\n// case 'w':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addWeeks(1) : this._dateApiValue!.subtractWeeks(1));\n\n// break;\n// }\n// case 'd':\n// case 'D':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addDays(1) : this._dateApiValue!.subtractDays(1));\n\n// break;\n// }\n// case 'H':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addHours(1) : this._dateApiValue!.subtractHours(1));\n\n// break;\n// }\n// case 'm':\n// {\n// this._withMinMaxConstraint(() => increment ? this._dateApiValue!.addMinutes(1) : this._dateApiValue!.subtractMinutes(1));\n\n// break;\n// }\n// }\n// }\n// }"]}