@taiga-ui/legacy 4.51.0 → 4.52.0-canary.1ea42f6

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 (464) hide show
  1. package/classes/abstract-textfield-host.d.ts +1 -1
  2. package/classes/controller.d.ts +1 -1
  3. package/classes/multiple-control.d.ts +1 -1
  4. package/classes/nullable-control.d.ts +1 -1
  5. package/components/color-selector/color-selector.module.d.ts +11 -12
  6. package/components/index.d.ts +0 -10
  7. package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
  8. package/fesm2022/taiga-ui-legacy-classes.mjs +23 -24
  9. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
  11. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +70 -74
  13. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +24 -26
  15. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +8 -8
  17. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +25 -25
  19. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +26 -26
  21. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +29 -29
  23. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +12 -12
  25. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +23 -23
  27. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +25 -25
  29. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +20 -21
  31. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +23 -23
  33. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +42 -46
  35. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-legacy-components-input.mjs +15 -16
  37. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
  39. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +50 -50
  41. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +30 -30
  43. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +9 -9
  45. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-components-select.mjs +36 -37
  47. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-components-svg.mjs +10 -12
  49. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-components-tag.mjs +14 -15
  51. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +24 -24
  53. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
  55. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy-components.mjs +0 -10
  57. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  59. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
  61. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +4 -4
  63. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  65. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
  67. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +3 -4
  69. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +3 -3
  71. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +3 -3
  73. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-legacy-services.mjs +3 -3
  75. package/fesm2022/taiga-ui-legacy-services.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  77. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  79. package/package.json +32 -170
  80. package/styles/mixins/textfield.less +3 -1
  81. package/utils/icons-path-factory.d.ts +1 -1
  82. package/components/input-copy/index.d.ts +0 -4
  83. package/components/input-copy/input-copy.component.d.ts +0 -33
  84. package/components/input-copy/input-copy.directive.d.ts +0 -11
  85. package/components/input-copy/input-copy.module.d.ts +0 -18
  86. package/components/input-copy/input-copy.options.d.ts +0 -26
  87. package/components/input-date-multi/index.d.ts +0 -2
  88. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  89. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  90. package/components/input-month/index.d.ts +0 -3
  91. package/components/input-month/input-month.component.d.ts +0 -44
  92. package/components/input-month/input-month.directive.d.ts +0 -19
  93. package/components/input-month/input-month.module.d.ts +0 -19
  94. package/components/input-password/index.d.ts +0 -4
  95. package/components/input-password/input-password.component.d.ts +0 -33
  96. package/components/input-password/input-password.directive.d.ts +0 -15
  97. package/components/input-password/input-password.module.d.ts +0 -19
  98. package/components/input-password/input-password.options.d.ts +0 -25
  99. package/components/input-phone/index.d.ts +0 -4
  100. package/components/input-phone/input-phone.component.d.ts +0 -49
  101. package/components/input-phone/input-phone.directive.d.ts +0 -13
  102. package/components/input-phone/input-phone.module.d.ts +0 -12
  103. package/components/input-phone/input-phone.options.d.ts +0 -13
  104. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  105. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  106. package/components/input-phone/utils/index.d.ts +0 -2
  107. package/components/input-phone-international/index.d.ts +0 -3
  108. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  109. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  110. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  111. package/components/input-year/index.d.ts +0 -3
  112. package/components/input-year/input-year.component.d.ts +0 -36
  113. package/components/input-year/input-year.directive.d.ts +0 -14
  114. package/components/input-year/input-year.module.d.ts +0 -18
  115. package/components/island/index.d.ts +0 -1
  116. package/components/island/island.directive.d.ts +0 -20
  117. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  118. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  119. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  120. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  121. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  122. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  123. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  124. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  125. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  126. package/components/sheet/index.d.ts +0 -14
  127. package/components/sheet/sheet-options.d.ts +0 -27
  128. package/components/sheet/sheet-tokens.d.ts +0 -18
  129. package/components/sheet/sheet.d.ts +0 -21
  130. package/components/sheet/sheet.directive.d.ts +0 -17
  131. package/components/sheet/sheet.module.d.ts +0 -24
  132. package/components/sheet/sheet.service.d.ts +0 -17
  133. package/components/table-bar/index.d.ts +0 -4
  134. package/components/table-bar/table-bar.component.d.ts +0 -17
  135. package/components/table-bar/table-bar.directive.d.ts +0 -11
  136. package/components/table-bar/table-bar.options.d.ts +0 -31
  137. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  138. package/components/table-bar/table-bars.service.d.ts +0 -11
  139. package/esm2022/classes/abstract-native-select.mjs +0 -49
  140. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  141. package/esm2022/classes/control.mjs +0 -181
  142. package/esm2022/classes/controller.mjs +0 -18
  143. package/esm2022/classes/index.mjs +0 -10
  144. package/esm2022/classes/interactive.mjs +0 -82
  145. package/esm2022/classes/multiple-control.mjs +0 -21
  146. package/esm2022/classes/named-day.mjs +0 -14
  147. package/esm2022/classes/nullable-control.mjs +0 -18
  148. package/esm2022/classes/stringifiable-item.mjs +0 -14
  149. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  150. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  151. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  152. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  153. package/esm2022/components/arrow/index.mjs +0 -4
  154. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  155. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  156. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  157. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  158. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  159. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  160. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  161. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  162. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  163. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  164. package/esm2022/components/color-selector/index.mjs +0 -17
  165. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  166. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  167. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  168. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  169. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  170. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  171. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  172. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  173. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  174. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  175. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  176. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  177. package/esm2022/components/combo-box/index.mjs +0 -5
  178. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  179. package/esm2022/components/index.mjs +0 -34
  180. package/esm2022/components/input/index.mjs +0 -4
  181. package/esm2022/components/input/input.component.mjs +0 -97
  182. package/esm2022/components/input/input.directive.mjs +0 -25
  183. package/esm2022/components/input/input.module.mjs +0 -42
  184. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  185. package/esm2022/components/input-color/index.mjs +0 -3
  186. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  187. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  188. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  189. package/esm2022/components/input-copy/index.mjs +0 -5
  190. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  191. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  192. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  193. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  194. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  195. package/esm2022/components/input-date/index.mjs +0 -4
  196. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  197. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  198. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  199. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  200. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  201. package/esm2022/components/input-date-multi/index.mjs +0 -3
  202. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  203. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  204. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  205. package/esm2022/components/input-date-range/index.mjs +0 -4
  206. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  207. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  208. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  209. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  210. package/esm2022/components/input-date-time/index.mjs +0 -4
  211. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  212. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  213. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  214. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  215. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  216. package/esm2022/components/input-month/index.mjs +0 -4
  217. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  218. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  219. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  220. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  221. package/esm2022/components/input-month-range/index.mjs +0 -4
  222. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  223. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  224. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  225. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  226. package/esm2022/components/input-number/index.mjs +0 -5
  227. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  228. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  229. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  230. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  231. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  232. package/esm2022/components/input-password/index.mjs +0 -5
  233. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  234. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  235. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  236. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  237. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  238. package/esm2022/components/input-phone/index.mjs +0 -5
  239. package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
  240. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
  241. package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
  242. package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
  243. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  244. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  245. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  246. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  247. package/esm2022/components/input-phone-international/index.mjs +0 -4
  248. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  249. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  250. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  251. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  252. package/esm2022/components/input-range/index.mjs +0 -3
  253. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  254. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  255. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  256. package/esm2022/components/input-slider/index.mjs +0 -3
  257. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  258. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  259. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  260. package/esm2022/components/input-tag/index.mjs +0 -4
  261. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  262. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  263. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  264. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  265. package/esm2022/components/input-time/index.mjs +0 -5
  266. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  267. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  268. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  269. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  270. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  271. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  272. package/esm2022/components/input-year/index.mjs +0 -4
  273. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  274. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  275. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  276. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  277. package/esm2022/components/island/index.mjs +0 -2
  278. package/esm2022/components/island/island.directive.mjs +0 -62
  279. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  280. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  281. package/esm2022/components/multi-select/index.mjs +0 -11
  282. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  283. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  284. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  285. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  286. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  287. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  288. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  289. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  290. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  291. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  292. package/esm2022/components/multi-select-option/index.mjs +0 -3
  293. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  294. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  295. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  296. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  297. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  298. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  299. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  300. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  301. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  302. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  303. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  304. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  305. package/esm2022/components/select/index.mjs +0 -7
  306. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  307. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  308. package/esm2022/components/select/select.component.mjs +0 -119
  309. package/esm2022/components/select/select.directive.mjs +0 -34
  310. package/esm2022/components/select/select.module.mjs +0 -87
  311. package/esm2022/components/select/select.options.mjs +0 -24
  312. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  313. package/esm2022/components/select-option/index.mjs +0 -3
  314. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  315. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  316. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  317. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  318. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  319. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  320. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  321. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  322. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  323. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  324. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  325. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  326. package/esm2022/components/sheet/index.mjs +0 -14
  327. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  328. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  329. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  330. package/esm2022/components/sheet/sheet.mjs +0 -2
  331. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  332. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  333. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  334. package/esm2022/components/svg/content-processor.mjs +0 -41
  335. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  336. package/esm2022/components/svg/index.mjs +0 -6
  337. package/esm2022/components/svg/svg-options.mjs +0 -83
  338. package/esm2022/components/svg/svg.component.mjs +0 -150
  339. package/esm2022/components/svg/svg.service.mjs +0 -64
  340. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  341. package/esm2022/components/table-bar/index.mjs +0 -5
  342. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  343. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  344. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  345. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  346. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  347. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  348. package/esm2022/components/tag/index.mjs +0 -4
  349. package/esm2022/components/tag/tag.component.mjs +0 -158
  350. package/esm2022/components/tag/tag.module.mjs +0 -42
  351. package/esm2022/components/tag/tag.options.mjs +0 -26
  352. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  353. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  354. package/esm2022/components/textarea/index.mjs +0 -4
  355. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  356. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  357. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  358. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  359. package/esm2022/components/tooltip/index.mjs +0 -3
  360. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  361. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  362. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  363. package/esm2022/directives/index.mjs +0 -6
  364. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  365. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  366. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  367. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  368. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  369. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  370. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  371. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  372. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  373. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  374. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  375. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  376. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  377. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  378. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  379. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  380. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  381. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  382. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  383. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  384. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  385. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  386. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  387. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  388. package/esm2022/directives/value-accessor/index.mjs +0 -4
  389. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  390. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  391. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  392. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  393. package/esm2022/directives/wrapper/index.mjs +0 -3
  394. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  395. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  396. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  397. package/esm2022/index.mjs +0 -8
  398. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  399. package/esm2022/pipes/format-phone/index.mjs +0 -2
  400. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  401. package/esm2022/pipes/index.mjs +0 -4
  402. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  403. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  404. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  405. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  406. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  407. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  408. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  409. package/esm2022/services/index.mjs +0 -2
  410. package/esm2022/services/static-request.service.mjs +0 -36
  411. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  412. package/esm2022/taiga-ui-legacy.mjs +0 -5
  413. package/esm2022/tokens/countries-masks.mjs +0 -257
  414. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  415. package/esm2022/tokens/fonts-ready.mjs +0 -10
  416. package/esm2022/tokens/icons.mjs +0 -9
  417. package/esm2022/tokens/index.mjs +0 -15
  418. package/esm2022/tokens/is-apple.mjs +0 -11
  419. package/esm2022/tokens/is-chromium.mjs +0 -10
  420. package/esm2022/tokens/is-firefox.mjs +0 -11
  421. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  422. package/esm2022/tokens/month-formatter.mjs +0 -18
  423. package/esm2022/tokens/sanitizer.mjs +0 -7
  424. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  425. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  426. package/esm2022/tokens/textfield-host.mjs +0 -14
  427. package/esm2022/tokens/touch-supported.mjs +0 -9
  428. package/esm2022/tokens/value-accessor.mjs +0 -7
  429. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  430. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  431. package/esm2022/utils/format-phone.mjs +0 -60
  432. package/esm2022/utils/get-border.mjs +0 -23
  433. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  434. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  435. package/esm2022/utils/icons-path-factory.mjs +0 -22
  436. package/esm2022/utils/index.mjs +0 -14
  437. package/esm2022/utils/is-apple.mjs +0 -6
  438. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  439. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  440. package/esm2022/utils/not-kz-region.mjs +0 -24
  441. package/esm2022/utils/process-icon.mjs +0 -34
  442. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  443. package/esm2022/utils/status.mjs +0 -2
  444. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  445. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  446. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  447. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  448. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  449. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  450. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  451. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  452. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  453. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  454. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  455. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  456. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  457. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  458. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  459. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  460. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  461. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  462. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  463. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  464. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Directive, inject, signal, Component, ChangeDetectionStrategy, ViewChild, Input, NgModule } from '@angular/core';
3
+ import { Directive, inject, signal, Input, ViewChild, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
4
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
5
  import { maskitoDateTimeOptionsGenerator, maskitoSelectionChangeHandler } from '@maskito/kit';
6
6
  import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
@@ -12,27 +12,27 @@ import { changeDateSeparator, tuiNullableSame, tuiPure } from '@taiga-ui/cdk/uti
12
12
  import { TUI_DEFAULT_DATE_FORMAT, TUI_DATE_FORMAT } from '@taiga-ui/core/tokens';
13
13
  import { TUI_INPUT_DATE_OPTIONS, TUI_TIME_TEXTS, TUI_DATE_TEXTS, TUI_DATE_TIME_VALUE_TRANSFORMER, tuiDateStreamWithTransformer } from '@taiga-ui/kit/tokens';
14
14
  import { AbstractTuiTextfieldHost, AbstractTuiControl, tuiAsControl } from '@taiga-ui/legacy/classes';
15
- import * as i5 from '@taiga-ui/legacy/components/primitive-textfield';
16
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
17
- import * as i6 from '@taiga-ui/legacy/directives';
15
+ import * as i4 from '@taiga-ui/legacy/components/primitive-textfield';
16
+ import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
17
+ import * as i5 from '@taiga-ui/legacy/directives';
18
18
  import { TUI_TEXTFIELD_SIZE, TuiValueAccessorModule, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
19
19
  import { tuiAsTextfieldHost, tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
20
20
  import { TUI_DATE_MODE_MASKITO_ADAPTER } from '@taiga-ui/legacy/utils';
21
21
  import { BehaviorSubject, combineLatest, map, timer } from 'rxjs';
22
- import * as i1 from '@angular/common';
23
- import { CommonModule } from '@angular/common';
24
- import * as i2 from '@maskito/angular';
22
+ import * as i1 from '@maskito/angular';
25
23
  import { MaskitoDirective } from '@maskito/angular';
26
- import * as i3 from '@taiga-ui/polymorpheus';
24
+ import * as i2 from '@taiga-ui/polymorpheus';
27
25
  import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
28
- import * as i4 from '@taiga-ui/core/components/calendar';
26
+ import * as i3 from '@taiga-ui/core/components/calendar';
29
27
  import { TuiCalendar } from '@taiga-ui/core/components/calendar';
30
- import * as i7 from '@taiga-ui/core/components/icon';
28
+ import * as i6 from '@taiga-ui/core/components/icon';
31
29
  import { TuiIcon } from '@taiga-ui/core/components/icon';
32
- import * as i8 from '@taiga-ui/core/directives/appearance';
30
+ import * as i7 from '@taiga-ui/core/directives/appearance';
33
31
  import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
34
32
  import * as i1$1 from '@taiga-ui/core/directives/dropdown';
35
33
  import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
34
+ import * as i10 from '@angular/common';
35
+ import { CommonModule } from '@angular/common';
36
36
  import { TuiLink } from '@taiga-ui/core/components/link';
37
37
 
38
38
  /**
@@ -55,10 +55,10 @@ class TuiInputDateTimeDirective extends AbstractTuiTextfieldHost {
55
55
  process(input) {
56
56
  input.inputMode = this.host.timeMode.includes('AA') ? 'text' : 'numeric';
57
57
  }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
59
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDateTimeDirective, selector: "tui-input-date-time", providers: [tuiAsTextfieldHost(TuiInputDateTimeDirective)], usesInheritance: true, ngImport: i0 }); }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
59
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputDateTimeDirective, isStandalone: false, selector: "tui-input-date-time", providers: [tuiAsTextfieldHost(TuiInputDateTimeDirective)], usesInheritance: true, ngImport: i0 }); }
60
60
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeDirective, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeDirective, decorators: [{
62
62
  type: Directive,
63
63
  args: [{
64
64
  standalone: false,
@@ -91,10 +91,10 @@ class TuiNativeDateTimeDirective {
91
91
  const time = TuiTime.fromLocalNativeDate(date);
92
92
  this.host.writeValue([day, time]);
93
93
  }
94
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeDateTimeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
95
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiNativeDateTimeDirective, selector: "input[tuiDateTime]", host: { attributes: { "type": "datetime-local" }, listeners: { "change.stop": "onChange($event.target.value)", "input.stop": "onChange($event.target.value)", "click.stop.zoneless": "0", "mousedown.stop.zoneless": "0" }, properties: { "tabIndex": "-1", "value": "value" } }, ngImport: i0 }); }
94
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNativeDateTimeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
95
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiNativeDateTimeDirective, isStandalone: false, selector: "input[tuiDateTime]", host: { attributes: { "type": "datetime-local" }, listeners: { "change.stop": "onChange($event.target.value)", "input.stop": "onChange($event.target.value)", "click.stop.zoneless": "0", "mousedown.stop.zoneless": "0" }, properties: { "tabIndex": "-1", "value": "value" } }, ngImport: i0 }); }
96
96
  }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeDateTimeDirective, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNativeDateTimeDirective, decorators: [{
98
98
  type: Directive,
99
99
  args: [{
100
100
  standalone: false,
@@ -358,12 +358,12 @@ class TuiInputDateTimeComponent extends AbstractTuiControl {
358
358
  }
359
359
  return value;
360
360
  }
361
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
362
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDateTimeComponent, selector: "tui-input-date-time", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYearMonth: "defaultActiveYearMonth", timeMode: "timeMode" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "size" } }, providers: [
361
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
362
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputDateTimeComponent, isStandalone: false, selector: "tui-input-date-time", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYearMonth: "defaultActiveYearMonth", timeMode: "timeMode" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "size" } }, providers: [
363
363
  tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),
364
364
  tuiAsControl(TuiInputDateTimeComponent),
365
365
  tuiDateStreamWithTransformer(TUI_DATE_TIME_VALUE_TRANSFORMER),
366
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !showNativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n />\n <input\n *ngIf=\"showNativePicker\"\n tuiDateTime\n class=\"t-native-input\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small{border-width:.25rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i3.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { kind: "component", type: i4.TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "component", type: i5.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i5.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i6.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i6.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i6.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "directive", type: i6.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i7.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i8.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: TuiNativeDateTimeDirective, selector: "input[tuiDateTime]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
366
+ ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !showNativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n />\n @if (showNativePicker) {\n <input\n tuiDateTime\n class=\"t-native-input\"\n />\n }\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], dependencies: [{ kind: "directive", type: i1.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i2.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { kind: "component", type: i3.TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "component", type: i4.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i4.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i5.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i5.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i5.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "directive", type: i5.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i6.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i7.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: TuiNativeDateTimeDirective, selector: "input[tuiDateTime]" }, { kind: "pipe", type: i10.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
367
367
  }
368
368
  __decorate([
369
369
  tuiPure
@@ -371,7 +371,7 @@ __decorate([
371
371
  __decorate([
372
372
  tuiPure
373
373
  ], TuiInputDateTimeComponent.prototype, "getDateTimeString", null);
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeComponent, decorators: [{
374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeComponent, decorators: [{
375
375
  type: Component,
376
376
  args: [{ standalone: false, selector: 'tui-input-date-time', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
377
377
  tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),
@@ -380,7 +380,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
380
380
  ], host: {
381
381
  '[attr.data-size]': 'size',
382
382
  '(click)': 'onClick()',
383
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !showNativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n />\n <input\n *ngIf=\"showNativePicker\"\n tuiDateTime\n class=\"t-native-input\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small{border-width:.25rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"] }]
383
+ }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !showNativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n />\n @if (showNativePicker) {\n <input\n tuiDateTime\n class=\"t-native-input\"\n />\n }\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"] }]
384
384
  }], propDecorators: { textfield: [{
385
385
  type: ViewChild,
386
386
  args: [TuiPrimitiveTextfieldComponent]
@@ -401,8 +401,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
401
401
  * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead
402
402
  */
403
403
  class TuiInputDateTimeModule {
404
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
405
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeModule, declarations: [TuiInputDateTimeComponent,
404
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
405
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeModule, declarations: [TuiInputDateTimeComponent,
406
406
  TuiInputDateTimeDirective,
407
407
  TuiNativeDateTimeDirective], imports: [CommonModule,
408
408
  MaskitoDirective,
@@ -418,14 +418,14 @@ class TuiInputDateTimeModule {
418
418
  TuiAppearance, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection], exports: [TuiInputDateTimeComponent,
419
419
  TuiInputDateTimeDirective,
420
420
  TuiTextfieldComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection] }); }
421
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeModule, imports: [CommonModule,
421
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeModule, imports: [CommonModule,
422
422
  TuiCalendar,
423
423
  TuiPrimitiveTextfieldModule,
424
424
  TuiValueAccessorModule,
425
425
  TuiTextfieldControllerModule,
426
426
  TuiIcon, i1$1.TuiDropdownComponent] }); }
427
427
  }
428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateTimeModule, decorators: [{
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateTimeModule, decorators: [{
429
429
  type: NgModule,
430
430
  args: [{
431
431
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-date-time.mjs","sources":["../../../projects/legacy/components/input-date-time/input-date-time.directive.ts","../../../projects/legacy/components/input-date-time/native-date-time/native-date-time.directive.ts","../../../projects/legacy/components/input-date-time/input-date-time.component.ts","../../../projects/legacy/components/input-date-time/input-date-time.template.html","../../../projects/legacy/components/input-date-time/input-date-time.module.ts","../../../projects/legacy/components/input-date-time/taiga-ui-legacy-components-input-date-time.ts"],"sourcesContent":["import {Directive} from '@angular/core';\nimport {type TuiDay, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputDateTimeComponent} from './input-date-time.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-date-time',\n providers: [tuiAsTextfieldHost(TuiInputDateTimeDirective)],\n})\nexport class TuiInputDateTimeDirective extends AbstractTuiTextfieldHost<TuiInputDateTimeComponent> {\n public override get value(): string {\n return this.host.computedValue;\n }\n\n public get rawValue(): [TuiDay, TuiTime | null] | null {\n return this.host.value ?? null;\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n public writeValue(value: [TuiDay, TuiTime | null] | null): void {\n this.host.writeValue(value);\n }\n\n public override process(input: HTMLInputElement): void {\n input.inputMode = this.host.timeMode.includes('AA') ? 'text' : 'numeric';\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {TuiDay, TuiTime} from '@taiga-ui/cdk/date-time';\n\nimport {TuiInputDateTimeDirective} from '../input-date-time.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time#mobile TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'input[tuiDateTime]',\n host: {\n type: 'datetime-local',\n '[tabIndex]': '-1',\n '[value]': 'value',\n '(change.stop)': 'onChange($event.target.value)',\n '(input.stop)': 'onChange($event.target.value)',\n '(click.stop.zoneless)': '0',\n '(mousedown.stop.zoneless)': '0',\n },\n})\nexport class TuiNativeDateTimeDirective {\n protected readonly host = inject(TuiInputDateTimeDirective);\n\n protected get value(): string {\n if (!this.host.rawValue?.[0] || !this.host.rawValue?.[1]) {\n return '';\n }\n\n return `${this.host.rawValue[0]?.toString(\n 'YMD',\n '-',\n )}T${this.host.rawValue[1]?.toString('HH:MM')}`;\n }\n\n protected onChange(value: string): void {\n if (!value) {\n this.host.writeValue(null);\n\n return;\n }\n\n const date = new Date(value);\n const day = TuiDay.fromLocalNativeDate(date);\n const time = TuiTime.fromLocalNativeDate(date);\n\n this.host.writeValue([day, time]);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n signal,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {\n maskitoDateTimeOptionsGenerator,\n maskitoSelectionChangeHandler,\n} from '@maskito/kit';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n DATE_FILLER_LENGTH,\n tuiDateClamp,\n type TuiDateMode,\n TuiDay,\n TuiMonth,\n TuiTime,\n type TuiTimeMode,\n} from '@taiga-ui/cdk/date-time';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiBooleanHandler, type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\nimport {\n changeDateSeparator,\n tuiNullableSame,\n tuiPure,\n} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_DATE_FORMAT, TUI_DEFAULT_DATE_FORMAT} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {\n TUI_DATE_TEXTS,\n TUI_DATE_TIME_VALUE_TRANSFORMER,\n TUI_INPUT_DATE_OPTIONS,\n TUI_TIME_TEXTS,\n tuiDateStreamWithTransformer,\n type TuiInputDateOptions,\n} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {TUI_DATE_MODE_MASKITO_ADAPTER} from '@taiga-ui/legacy/utils';\nimport {BehaviorSubject, combineLatest, map, type Observable, timer} from 'rxjs';\n\nconst DATE_TIME_SEPARATOR = ', ';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-date-time',\n templateUrl: './input-date-time.template.html',\n styleUrls: ['./input-date-time.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),\n tuiAsControl(TuiInputDateTimeComponent),\n tuiDateStreamWithTransformer(TUI_DATE_TIME_VALUE_TRANSFORMER),\n ],\n host: {\n '[attr.data-size]': 'size',\n '(click)': 'onClick()',\n },\n})\nexport class TuiInputDateTimeComponent\n extends AbstractTuiControl<[TuiDay, TuiTime | null] | null>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly options = inject(TUI_INPUT_DATE_OPTIONS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n private month: TuiMonth | null = null;\n private readonly timeMode$ = new BehaviorSubject<TuiTimeMode>('HH:MM');\n private readonly nativeValue = signal('');\n\n protected readonly timeTexts$ = inject(TUI_TIME_TEXTS);\n protected readonly dateTexts$ = inject(TUI_DATE_TEXTS);\n protected override readonly valueTransformer: TuiValueTransformer<\n [TuiDay, TuiTime | null]\n > | null = inject(TUI_DATE_TIME_VALUE_TRANSFORMER, {optional: true});\n\n protected readonly type!: TuiContext<TuiActiveZone>;\n\n protected readonly filler$: Observable<string> = combineLatest([\n this.dateTexts$.pipe(\n map((dateTexts) =>\n changeDateSeparator(\n dateTexts[this.dateFormat.mode],\n this.dateFormat.separator,\n ),\n ),\n ),\n this.timeTexts$,\n this.timeMode$,\n ]).pipe(\n map(([dateFiller, timeTexts, timeMode]) =>\n this.getDateTimeString(dateFiller, timeTexts[timeMode]),\n ),\n );\n\n protected dateFormat = TUI_DEFAULT_DATE_FORMAT;\n protected readonly isMobile = inject(TUI_IS_MOBILE);\n protected readonly dateFormat$ = inject(TUI_DATE_FORMAT)\n .pipe(tuiWatch(this.cdr), takeUntilDestroyed())\n .subscribe((format) => {\n this.dateFormat = format;\n });\n\n @Input()\n public min: TuiDay | [TuiDay | null, TuiTime | null] | null = this.options.min;\n\n @Input()\n public max: TuiDay | [TuiDay | null, TuiTime | null] | null = this.options.max;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<TuiDay> = TUI_FALSE_HANDLER;\n\n @Input()\n public defaultActiveYearMonth = TuiMonth.currentLocal();\n\n public open = false;\n\n @Input()\n public set timeMode(value: TuiTimeMode) {\n this.timeMode$.next(value);\n }\n\n public get timeMode(): TuiTimeMode {\n return this.timeMode$.value;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return !!this.textfield?.focused;\n }\n\n public get computedValue(): string {\n const {value, nativeValue, timeMode} = this;\n const [date, time] = value ?? [null, null];\n const hasTimeInputChars = nativeValue().length > DATE_FILLER_LENGTH;\n\n if (!date || (!time && hasTimeInputChars)) {\n return nativeValue();\n }\n\n return this.getDateTimeString(date, time, timeMode);\n }\n\n public override setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n public override writeValue(value: [TuiDay, TuiTime | null] | null): void {\n const transformed = this.valueTransformer\n ? this.valueTransformer.fromControlValue(value)\n : value;\n\n if (this.value === null && transformed === this.value) {\n return;\n }\n\n if (transformed?.[0]) {\n super.writeValue(value);\n } else {\n super.writeValue(null);\n }\n\n this.nativeValue.set(\n this.value && (this.value[0] || this.value[1]) ? this.computedValue : '',\n );\n }\n\n public onValueChange(value: string): void {\n this.nativeValue.set(value);\n\n if (this.control) {\n this.control.updateValueAndValidity({emitEvent: false});\n }\n\n if (!value) {\n this.onOpenChange(true);\n }\n\n if (value.length < DATE_FILLER_LENGTH) {\n this.value = null;\n\n return;\n }\n\n const [date = '', time] = value.split(DATE_TIME_SEPARATOR);\n const parsedDate = TuiDay.normalizeParse(date, this.dateFormat.mode);\n const parsedTime =\n time && time.length === this.timeMode.length\n ? TuiTime.fromString(time)\n : null;\n\n this.open = false;\n this.value = time && !parsedTime ? null : [parsedDate, parsedTime];\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get computedMin(): TuiDay | [TuiDay, TuiTime] {\n return this.toTuiDay(this.min, this.options.min);\n }\n\n protected get computedMax(): TuiDay | [TuiDay, TuiTime] {\n return this.toTuiDay(this.max, this.options.max);\n }\n\n protected get fillerLength(): number {\n return DATE_FILLER_LENGTH + DATE_TIME_SEPARATOR.length + this.timeMode.length;\n }\n\n protected get maskOptions(): MaskitoOptions {\n return this.calculateMask(\n this.computedMin,\n this.computedMax,\n this.timeMode,\n this.dateFormat.mode,\n this.dateFormat.separator,\n );\n }\n\n protected get calendarIcon(): TuiInputDateOptions['icon'] {\n return this.options.icon;\n }\n\n protected get showNativePicker(): boolean {\n return this.nativePicker && this.timeMode === 'HH:MM';\n }\n\n protected get calendarValue(): TuiDay | null {\n return this.value?.[0] ?? null;\n }\n\n protected get calendarMinDay(): TuiDay {\n const min = this.computedMin;\n\n return Array.isArray(min) ? min[0] : min;\n }\n\n protected get calendarMaxDay(): TuiDay {\n const max = this.computedMax;\n\n return Array.isArray(max) ? max[0] : max;\n }\n\n protected get computedActiveYearMonth(): TuiMonth {\n const {computedMin, computedMax} = this;\n\n return (\n this.month ||\n this.value?.[0] ||\n tuiDateClamp(\n this.defaultActiveYearMonth,\n Array.isArray(computedMin) ? computedMin[0] : computedMin,\n Array.isArray(computedMax) ? computedMax[0] : computedMax,\n )\n );\n }\n\n protected onClick(): void {\n this.open = !this.open;\n }\n\n protected onDayClick(day: TuiDay): void {\n const modifiedTime =\n (this.value?.[1] && this.clampTime(this.value?.[1], day)) ?? null;\n const newCaretIndex = DATE_FILLER_LENGTH + DATE_TIME_SEPARATOR.length;\n\n this.value = [day, modifiedTime];\n this.nativeValue.update((x) =>\n this.getDateTimeString(day, x.split(DATE_TIME_SEPARATOR)[1] || ''),\n );\n setTimeout(() =>\n this.nativeFocusableElement?.setSelectionRange(newCaretIndex, newCaretIndex),\n );\n this.open = false;\n }\n\n protected onMonthChange(month: TuiMonth): void {\n this.month = month;\n }\n\n protected onOpenChange(open: boolean): void {\n this.open = open;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n if (focused) {\n return;\n }\n\n timer(0)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n this.nativeValue.update((x) => this.trimTrailingSeparator(x));\n });\n\n if (\n this.nativeValue().length === this.fillerLength ||\n this.timeMode === 'HH:MM'\n ) {\n return;\n }\n\n const [date = '', time] = this.nativeValue().split(DATE_TIME_SEPARATOR);\n\n if (!time) {\n return;\n }\n\n const parsedTime = TuiTime.fromString(time);\n const parsedDate = TuiDay.normalizeParse(date, this.dateFormat.mode);\n\n this.value = !parsedDate || !parsedTime ? null : [parsedDate, parsedTime];\n }\n\n protected getFallbackValue(): [TuiDay, TuiTime | null] | null {\n return null;\n }\n\n protected override valueIdenticalComparator(\n oldValue: [TuiDay, TuiTime | null] | null,\n newValue: [TuiDay, TuiTime | null] | null,\n ): boolean {\n return (\n tuiNullableSame(oldValue?.[0] ?? null, newValue?.[0] ?? null, (a, b) =>\n a.daySame(b),\n ) &&\n tuiNullableSame(\n oldValue?.[1] ?? null,\n newValue?.[1] ?? null,\n (a, b) => String(a) === String(b),\n )\n );\n }\n\n private get nativePicker(): boolean {\n return this.options.nativePicker && this.isMobile;\n }\n\n @tuiPure\n private calculateMask(\n min: TuiDay | [TuiDay, TuiTime],\n max: TuiDay | [TuiDay, TuiTime],\n timeMode: TuiTimeMode,\n dateFormat: TuiDateMode,\n dateSeparator: string,\n ): MaskitoOptions {\n const options = maskitoDateTimeOptionsGenerator({\n timeMode,\n dateSeparator,\n dateMode: TUI_DATE_MODE_MASKITO_ADAPTER[dateFormat],\n min: this.toNativeDate(min),\n max: this.toNativeDate(max),\n });\n const inputModeSwitchPlugin = maskitoSelectionChangeHandler((element) => {\n element.inputMode =\n element.selectionStart! >=\n DATE_FILLER_LENGTH + DATE_TIME_SEPARATOR.length + timeMode.indexOf(' AA')\n ? 'text'\n : 'numeric';\n });\n\n return {\n ...options,\n plugins: options.plugins.concat(\n timeMode.includes('AA') ? inputModeSwitchPlugin : [],\n ),\n };\n }\n\n @tuiPure\n private getDateTimeString(\n date: TuiDay | string,\n time: TuiTime | string | null,\n timeMode: TuiTimeMode = 'HH:MM',\n ): string {\n const dateString =\n date instanceof TuiDay\n ? date.toString(this.dateFormat.mode, this.dateFormat.separator)\n : date;\n const timeString = time instanceof TuiTime ? time.toString(timeMode) : time || '';\n\n return timeString\n ? `${dateString}${DATE_TIME_SEPARATOR}${timeString}`\n : dateString;\n }\n\n private clampTime(time: TuiTime, day: TuiDay): TuiTime {\n const {computedMin, computedMax} = this;\n\n const ms = time.toAbsoluteMilliseconds();\n const min =\n Array.isArray(computedMin) && day.daySame(this.calendarMinDay)\n ? computedMin[1].toAbsoluteMilliseconds()\n : -Infinity;\n const max =\n Array.isArray(computedMax) && day.daySame(this.calendarMaxDay)\n ? computedMax[1].toAbsoluteMilliseconds()\n : Infinity;\n\n return TuiTime.fromAbsoluteMilliseconds(tuiClamp(ms, min, max));\n }\n\n private trimTrailingSeparator(value: string): string {\n return value.replace(\n new RegExp(`(\\\\${this.dateFormat.separator}|${DATE_TIME_SEPARATOR}|\\\\.)$`),\n '',\n );\n }\n\n private toNativeDate(value: TuiDay | [TuiDay, TuiTime]): Date {\n if (!Array.isArray(value)) {\n return value.toLocalNativeDate();\n }\n\n const [{year, month, day}, {hours, minutes, seconds, ms}] = value;\n\n return new Date(year, month, day, hours, minutes, seconds, ms);\n }\n\n private toTuiDay(\n value: TuiDay | [TuiDay | null, TuiTime | null] | null,\n fallback: TuiDay,\n ): TuiDay | [TuiDay, TuiTime] {\n if (!value) {\n return fallback;\n }\n\n if (!Array.isArray(value)) {\n return value;\n }\n\n const [tuiDay, tuiTime] = value;\n\n if (!tuiDay) {\n return fallback;\n }\n\n if (!tuiTime) {\n return tuiDay;\n }\n\n return value as [TuiDay, TuiTime];\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !showNativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n />\n <input\n *ngIf=\"showNativePicker\"\n tuiDateTime\n class=\"t-native-input\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TuiCalendar} from '@taiga-ui/core/components/calendar';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiLink} from '@taiga-ui/core/components/link';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputDateTimeComponent} from './input-date-time.component';\nimport {TuiInputDateTimeDirective} from './input-date-time.directive';\nimport {TuiNativeDateTimeDirective} from './native-date-time/native-date-time.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n MaskitoDirective,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiCalendar,\n TuiLink,\n TuiPrimitiveTextfieldModule,\n TuiValueAccessorModule,\n TuiTextfieldControllerModule,\n TuiLegacyDropdownOpenMonitorDirective,\n TuiIcon,\n TuiAppearance,\n ...TuiDropdown,\n ],\n declarations: [\n TuiInputDateTimeComponent,\n TuiInputDateTimeDirective,\n TuiNativeDateTimeDirective,\n ],\n exports: [\n TuiInputDateTimeComponent,\n TuiInputDateTimeDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputDateTimeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i9","i10.TuiNativeDateTimeDirective","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;;;AAGG;AACH,MAKa,yBAA0B,SAAQ,wBAAmD,CAAA;AAC9F,IAAA,IAAoB,KAAK,GAAA;AACrB,QAAA,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;KAClC;AAED,IAAA,IAAW,QAAQ,GAAA;AACf,Q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AAA,EAAA,CAAA;kBA5BlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,gBAAgB;wBAChB,kBAAkB;wBAClB,oBAAoB;wBACpB,WAAW;wBACX,OAAO;wBACP,2BAA2B;wBAC3B,sBAAsB;wBACtB,4BAA4B;wBAC5B,qCAAqC;wBACrC,OAAO;wBACP,aAAa;AACb,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,yBAAyB;wBACzB,yBAAyB;wBACzB,0BAA0B;AAC7B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,yBAAyB;wBACzB,yBAAyB;wBACzB,qBAAqB;AACrB,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACJ,iBAAA,CAAA;;;ACtDD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-components-input-date-time.mjs","sources":["../../../projects/legacy/components/input-date-time/input-date-time.directive.ts","../../../projects/legacy/components/input-date-time/native-date-time/native-date-time.directive.ts","../../../projects/legacy/components/input-date-time/input-date-time.component.ts","../../../projects/legacy/components/input-date-time/input-date-time.template.html","../../../projects/legacy/components/input-date-time/input-date-time.module.ts","../../../projects/legacy/components/input-date-time/taiga-ui-legacy-components-input-date-time.ts"],"sourcesContent":["import {Directive} from '@angular/core';\nimport {type TuiDay, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputDateTimeComponent} from './input-date-time.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-date-time',\n providers: [tuiAsTextfieldHost(TuiInputDateTimeDirective)],\n})\nexport class TuiInputDateTimeDirective extends AbstractTuiTextfieldHost<TuiInputDateTimeComponent> {\n public override get value(): string {\n return this.host.computedValue;\n }\n\n public get rawValue(): [TuiDay, TuiTime | null] | null {\n return this.host.value ?? null;\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n public writeValue(value: [TuiDay, TuiTime | null] | null): void {\n this.host.writeValue(value);\n }\n\n public override process(input: HTMLInputElement): void {\n input.inputMode = this.host.timeMode.includes('AA') ? 'text' : 'numeric';\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {TuiDay, TuiTime} from '@taiga-ui/cdk/date-time';\n\nimport {TuiInputDateTimeDirective} from '../input-date-time.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time#mobile TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'input[tuiDateTime]',\n host: {\n type: 'datetime-local',\n '[tabIndex]': '-1',\n '[value]': 'value',\n '(change.stop)': 'onChange($event.target.value)',\n '(input.stop)': 'onChange($event.target.value)',\n '(click.stop.zoneless)': '0',\n '(mousedown.stop.zoneless)': '0',\n },\n})\nexport class TuiNativeDateTimeDirective {\n protected readonly host = inject(TuiInputDateTimeDirective);\n\n protected get value(): string {\n if (!this.host.rawValue?.[0] || !this.host.rawValue?.[1]) {\n return '';\n }\n\n return `${this.host.rawValue[0]?.toString(\n 'YMD',\n '-',\n )}T${this.host.rawValue[1]?.toString('HH:MM')}`;\n }\n\n protected onChange(value: string): void {\n if (!value) {\n this.host.writeValue(null);\n\n return;\n }\n\n const date = new Date(value);\n const day = TuiDay.fromLocalNativeDate(date);\n const time = TuiTime.fromLocalNativeDate(date);\n\n this.host.writeValue([day, time]);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n signal,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {\n maskitoDateTimeOptionsGenerator,\n maskitoSelectionChangeHandler,\n} from '@maskito/kit';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n DATE_FILLER_LENGTH,\n tuiDateClamp,\n type TuiDateMode,\n TuiDay,\n TuiMonth,\n TuiTime,\n type TuiTimeMode,\n} from '@taiga-ui/cdk/date-time';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiBooleanHandler, type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\nimport {\n changeDateSeparator,\n tuiNullableSame,\n tuiPure,\n} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_DATE_FORMAT, TUI_DEFAULT_DATE_FORMAT} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {\n TUI_DATE_TEXTS,\n TUI_DATE_TIME_VALUE_TRANSFORMER,\n TUI_INPUT_DATE_OPTIONS,\n TUI_TIME_TEXTS,\n tuiDateStreamWithTransformer,\n type TuiInputDateOptions,\n} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {TUI_DATE_MODE_MASKITO_ADAPTER} from '@taiga-ui/legacy/utils';\nimport {BehaviorSubject, combineLatest, map, type Observable, timer} from 'rxjs';\n\nconst DATE_TIME_SEPARATOR = ', ';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-date-time',\n templateUrl: './input-date-time.template.html',\n styleUrls: ['./input-date-time.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),\n tuiAsControl(TuiInputDateTimeComponent),\n tuiDateStreamWithTransformer(TUI_DATE_TIME_VALUE_TRANSFORMER),\n ],\n host: {\n '[attr.data-size]': 'size',\n '(click)': 'onClick()',\n },\n})\nexport class TuiInputDateTimeComponent\n extends AbstractTuiControl<[TuiDay, TuiTime | null] | null>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly options = inject(TUI_INPUT_DATE_OPTIONS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n private month: TuiMonth | null = null;\n private readonly timeMode$ = new BehaviorSubject<TuiTimeMode>('HH:MM');\n private readonly nativeValue = signal('');\n\n protected readonly timeTexts$ = inject(TUI_TIME_TEXTS);\n protected readonly dateTexts$ = inject(TUI_DATE_TEXTS);\n protected override readonly valueTransformer: TuiValueTransformer<\n [TuiDay, TuiTime | null]\n > | null = inject(TUI_DATE_TIME_VALUE_TRANSFORMER, {optional: true});\n\n protected readonly type!: TuiContext<TuiActiveZone>;\n\n protected readonly filler$: Observable<string> = combineLatest([\n this.dateTexts$.pipe(\n map((dateTexts) =>\n changeDateSeparator(\n dateTexts[this.dateFormat.mode],\n this.dateFormat.separator,\n ),\n ),\n ),\n this.timeTexts$,\n this.timeMode$,\n ]).pipe(\n map(([dateFiller, timeTexts, timeMode]) =>\n this.getDateTimeString(dateFiller, timeTexts[timeMode]),\n ),\n );\n\n protected dateFormat = TUI_DEFAULT_DATE_FORMAT;\n protected readonly isMobile = inject(TUI_IS_MOBILE);\n protected readonly dateFormat$ = inject(TUI_DATE_FORMAT)\n .pipe(tuiWatch(this.cdr), takeUntilDestroyed())\n .subscribe((format) => {\n this.dateFormat = format;\n });\n\n @Input()\n public min: TuiDay | [TuiDay | null, TuiTime | null] | null = this.options.min;\n\n @Input()\n public max: TuiDay | [TuiDay | null, TuiTime | null] | null = this.options.max;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<TuiDay> = TUI_FALSE_HANDLER;\n\n @Input()\n public defaultActiveYearMonth = TuiMonth.currentLocal();\n\n public open = false;\n\n @Input()\n public set timeMode(value: TuiTimeMode) {\n this.timeMode$.next(value);\n }\n\n public get timeMode(): TuiTimeMode {\n return this.timeMode$.value;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return !!this.textfield?.focused;\n }\n\n public get computedValue(): string {\n const {value, nativeValue, timeMode} = this;\n const [date, time] = value ?? [null, null];\n const hasTimeInputChars = nativeValue().length > DATE_FILLER_LENGTH;\n\n if (!date || (!time && hasTimeInputChars)) {\n return nativeValue();\n }\n\n return this.getDateTimeString(date, time, timeMode);\n }\n\n public override setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n public override writeValue(value: [TuiDay, TuiTime | null] | null): void {\n const transformed = this.valueTransformer\n ? this.valueTransformer.fromControlValue(value)\n : value;\n\n if (this.value === null && transformed === this.value) {\n return;\n }\n\n if (transformed?.[0]) {\n super.writeValue(value);\n } else {\n super.writeValue(null);\n }\n\n this.nativeValue.set(\n this.value && (this.value[0] || this.value[1]) ? this.computedValue : '',\n );\n }\n\n public onValueChange(value: string): void {\n this.nativeValue.set(value);\n\n if (this.control) {\n this.control.updateValueAndValidity({emitEvent: false});\n }\n\n if (!value) {\n this.onOpenChange(true);\n }\n\n if (value.length < DATE_FILLER_LENGTH) {\n this.value = null;\n\n return;\n }\n\n const [date = '', time] = value.split(DATE_TIME_SEPARATOR);\n const parsedDate = TuiDay.normalizeParse(date, this.dateFormat.mode);\n const parsedTime =\n time && time.length === this.timeMode.length\n ? TuiTime.fromString(time)\n : null;\n\n this.open = false;\n this.value = time && !parsedTime ? null : [parsedDate, parsedTime];\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get computedMin(): TuiDay | [TuiDay, TuiTime] {\n return this.toTuiDay(this.min, this.options.min);\n }\n\n protected get computedMax(): TuiDay | [TuiDay, TuiTime] {\n return this.toTuiDay(this.max, this.options.max);\n }\n\n protected get fillerLength(): number {\n return DATE_FILLER_LENGTH + DATE_TIME_SEPARATOR.length + this.timeMode.length;\n }\n\n protected get maskOptions(): MaskitoOptions {\n return this.calculateMask(\n this.computedMin,\n this.computedMax,\n this.timeMode,\n this.dateFormat.mode,\n this.dateFormat.separator,\n );\n }\n\n protected get calendarIcon(): TuiInputDateOptions['icon'] {\n return this.options.icon;\n }\n\n protected get showNativePicker(): boolean {\n return this.nativePicker && this.timeMode === 'HH:MM';\n }\n\n protected get calendarValue(): TuiDay | null {\n return this.value?.[0] ?? null;\n }\n\n protected get calendarMinDay(): TuiDay {\n const min = this.computedMin;\n\n return Array.isArray(min) ? min[0] : min;\n }\n\n protected get calendarMaxDay(): TuiDay {\n const max = this.computedMax;\n\n return Array.isArray(max) ? max[0] : max;\n }\n\n protected get computedActiveYearMonth(): TuiMonth {\n const {computedMin, computedMax} = this;\n\n return (\n this.month ||\n this.value?.[0] ||\n tuiDateClamp(\n this.defaultActiveYearMonth,\n Array.isArray(computedMin) ? computedMin[0] : computedMin,\n Array.isArray(computedMax) ? computedMax[0] : computedMax,\n )\n );\n }\n\n protected onClick(): void {\n this.open = !this.open;\n }\n\n protected onDayClick(day: TuiDay): void {\n const modifiedTime =\n (this.value?.[1] && this.clampTime(this.value?.[1], day)) ?? null;\n const newCaretIndex = DATE_FILLER_LENGTH + DATE_TIME_SEPARATOR.length;\n\n this.value = [day, modifiedTime];\n this.nativeValue.update((x) =>\n this.getDateTimeString(day, x.split(DATE_TIME_SEPARATOR)[1] || ''),\n );\n setTimeout(() =>\n this.nativeFocusableElement?.setSelectionRange(newCaretIndex, newCaretIndex),\n );\n this.open = false;\n }\n\n protected onMonthChange(month: TuiMonth): void {\n this.month = month;\n }\n\n protected onOpenChange(open: boolean): void {\n this.open = open;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n if (focused) {\n return;\n }\n\n timer(0)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n this.nativeValue.update((x) => this.trimTrailingSeparator(x));\n });\n\n if (\n this.nativeValue().length === this.fillerLength ||\n this.timeMode === 'HH:MM'\n ) {\n return;\n }\n\n const [date = '', time] = this.nativeValue().split(DATE_TIME_SEPARATOR);\n\n if (!time) {\n return;\n }\n\n const parsedTime = TuiTime.fromString(time);\n const parsedDate = TuiDay.normalizeParse(date, this.dateFormat.mode);\n\n this.value = !parsedDate || !parsedTime ? null : [parsedDate, parsedTime];\n }\n\n protected getFallbackValue(): [TuiDay, TuiTime | null] | null {\n return null;\n }\n\n protected override valueIdenticalComparator(\n oldValue: [TuiDay, TuiTime | null] | null,\n newValue: [TuiDay, TuiTime | null] | null,\n ): boolean {\n return (\n tuiNullableSame(oldValue?.[0] ?? null, newValue?.[0] ?? null, (a, b) =>\n a.daySame(b),\n ) &&\n tuiNullableSame(\n oldValue?.[1] ?? null,\n newValue?.[1] ?? null,\n (a, b) => String(a) === String(b),\n )\n );\n }\n\n private get nativePicker(): boolean {\n return this.options.nativePicker && this.isMobile;\n }\n\n @tuiPure\n private calculateMask(\n min: TuiDay | [TuiDay, TuiTime],\n max: TuiDay | [TuiDay, TuiTime],\n timeMode: TuiTimeMode,\n dateFormat: TuiDateMode,\n dateSeparator: string,\n ): MaskitoOptions {\n const options = maskitoDateTimeOptionsGenerator({\n timeMode,\n dateSeparator,\n dateMode: TUI_DATE_MODE_MASKITO_ADAPTER[dateFormat],\n min: this.toNativeDate(min),\n max: this.toNativeDate(max),\n });\n const inputModeSwitchPlugin = maskitoSelectionChangeHandler((element) => {\n element.inputMode =\n element.selectionStart! >=\n DATE_FILLER_LENGTH + DATE_TIME_SEPARATOR.length + timeMode.indexOf(' AA')\n ? 'text'\n : 'numeric';\n });\n\n return {\n ...options,\n plugins: options.plugins.concat(\n timeMode.includes('AA') ? inputModeSwitchPlugin : [],\n ),\n };\n }\n\n @tuiPure\n private getDateTimeString(\n date: TuiDay | string,\n time: TuiTime | string | null,\n timeMode: TuiTimeMode = 'HH:MM',\n ): string {\n const dateString =\n date instanceof TuiDay\n ? date.toString(this.dateFormat.mode, this.dateFormat.separator)\n : date;\n const timeString = time instanceof TuiTime ? time.toString(timeMode) : time || '';\n\n return timeString\n ? `${dateString}${DATE_TIME_SEPARATOR}${timeString}`\n : dateString;\n }\n\n private clampTime(time: TuiTime, day: TuiDay): TuiTime {\n const {computedMin, computedMax} = this;\n\n const ms = time.toAbsoluteMilliseconds();\n const min =\n Array.isArray(computedMin) && day.daySame(this.calendarMinDay)\n ? computedMin[1].toAbsoluteMilliseconds()\n : -Infinity;\n const max =\n Array.isArray(computedMax) && day.daySame(this.calendarMaxDay)\n ? computedMax[1].toAbsoluteMilliseconds()\n : Infinity;\n\n return TuiTime.fromAbsoluteMilliseconds(tuiClamp(ms, min, max));\n }\n\n private trimTrailingSeparator(value: string): string {\n return value.replace(\n new RegExp(`(\\\\${this.dateFormat.separator}|${DATE_TIME_SEPARATOR}|\\\\.)$`),\n '',\n );\n }\n\n private toNativeDate(value: TuiDay | [TuiDay, TuiTime]): Date {\n if (!Array.isArray(value)) {\n return value.toLocalNativeDate();\n }\n\n const [{year, month, day}, {hours, minutes, seconds, ms}] = value;\n\n return new Date(year, month, day, hours, minutes, seconds, ms);\n }\n\n private toTuiDay(\n value: TuiDay | [TuiDay | null, TuiTime | null] | null,\n fallback: TuiDay,\n ): TuiDay | [TuiDay, TuiTime] {\n if (!value) {\n return fallback;\n }\n\n if (!Array.isArray(value)) {\n return value;\n }\n\n const [tuiDay, tuiTime] = value;\n\n if (!tuiDay) {\n return fallback;\n }\n\n if (!tuiTime) {\n return tuiDay;\n }\n\n return value as [TuiDay, TuiTime];\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !showNativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n />\n @if (showNativePicker) {\n <input\n tuiDateTime\n class=\"t-native-input\"\n />\n }\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TuiCalendar} from '@taiga-ui/core/components/calendar';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiLink} from '@taiga-ui/core/components/link';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputDateTimeComponent} from './input-date-time.component';\nimport {TuiInputDateTimeDirective} from './input-date-time.directive';\nimport {TuiNativeDateTimeDirective} from './native-date-time/native-date-time.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-time TuiInputDateTime} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n MaskitoDirective,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiCalendar,\n TuiLink,\n TuiPrimitiveTextfieldModule,\n TuiValueAccessorModule,\n TuiTextfieldControllerModule,\n TuiLegacyDropdownOpenMonitorDirective,\n TuiIcon,\n TuiAppearance,\n ...TuiDropdown,\n ],\n declarations: [\n TuiInputDateTimeComponent,\n TuiInputDateTimeDirective,\n TuiNativeDateTimeDirective,\n ],\n exports: [\n TuiInputDateTimeComponent,\n TuiInputDateTimeDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputDateTimeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i8","i9.TuiNativeDateTimeDirective","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;;;AAGG;AAMG,MAAO,y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sB,EAAA,UAAA,EAAA,CAAA;kBA5BlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,gBAAgB;wBAChB,kBAAkB;wBAClB,oBAAoB;wBACpB,WAAW;wBACX,OAAO;wBACP,2BAA2B;wBAC3B,sBAAsB;wBACtB,4BAA4B;wBAC5B,qCAAqC;wBACrC,OAAO;wBACP,aAAa;AACb,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,yBAAyB;wBACzB,yBAAyB;wBACzB,0BAA0B;AAC7B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,yBAAyB;wBACzB,yBAAyB;wBACzB,qBAAqB;AACrB,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACJ,iBAAA;;;ACtDD;;AAEG;;;;"}
@@ -1,43 +1,43 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Directive, inject, signal, Component, ChangeDetectionStrategy, ViewChild, Input, NgModule } from '@angular/core';
3
+ import { Directive, inject, signal, Input, ViewChild, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
4
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
5
  import { MASKITO_DEFAULT_OPTIONS } from '@maskito/core';
6
6
  import { maskitoDateOptionsGenerator } from '@maskito/kit';
7
7
  import { tuiAsControl } from '@taiga-ui/cdk/classes';
8
8
  import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
9
- import { DATE_FILLER_LENGTH, TuiDay, TuiMonth, tuiDateClamp, TUI_LAST_DISPLAYED_DAY } from '@taiga-ui/cdk/date-time';
9
+ import { TuiDay, DATE_FILLER_LENGTH, TuiMonth, tuiDateClamp, TUI_LAST_DISPLAYED_DAY } from '@taiga-ui/cdk/date-time';
10
10
  import { tuiWatch } from '@taiga-ui/cdk/observables';
11
11
  import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
12
12
  import { changeDateSeparator, tuiNullableSame, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
13
13
  import { TUI_DEFAULT_DATE_FORMAT, TUI_DATE_FORMAT } from '@taiga-ui/core/tokens';
14
14
  import { TUI_INPUT_DATE_OPTIONS, TUI_MOBILE_CALENDAR, TUI_DATE_TEXTS, TUI_DATE_VALUE_TRANSFORMER, tuiDateStreamWithTransformer, TUI_MOBILE_CALENDAR_PROVIDER } from '@taiga-ui/kit/tokens';
15
15
  import { AbstractTuiTextfieldHost, AbstractTuiNullableControl, tuiAsControl as tuiAsControl$1 } from '@taiga-ui/legacy/classes';
16
- import * as i6 from '@taiga-ui/legacy/components/primitive-textfield';
17
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
18
- import * as i7 from '@taiga-ui/legacy/directives';
16
+ import * as i5 from '@taiga-ui/legacy/components/primitive-textfield';
17
+ import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
18
+ import * as i6 from '@taiga-ui/legacy/directives';
19
19
  import { TUI_TEXTFIELD_SIZE, TuiValueAccessorModule, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
20
20
  import { tuiAsTextfieldHost, tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
21
21
  import { TUI_DATE_MODE_MASKITO_ADAPTER } from '@taiga-ui/legacy/utils';
22
22
  import { map } from 'rxjs';
23
- import * as i1 from '@angular/common';
24
- import { CommonModule } from '@angular/common';
25
- import * as i2 from '@maskito/angular';
23
+ import * as i1 from '@maskito/angular';
26
24
  import { MaskitoDirective } from '@maskito/angular';
27
- import * as i3 from '@taiga-ui/polymorpheus';
25
+ import * as i2 from '@taiga-ui/polymorpheus';
28
26
  import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
29
- import * as i4 from '@taiga-ui/core/components/calendar';
27
+ import * as i3 from '@taiga-ui/core/components/calendar';
30
28
  import { TuiCalendar } from '@taiga-ui/core/components/calendar';
31
- import * as i5 from '@taiga-ui/core/components/link';
29
+ import * as i4 from '@taiga-ui/core/components/link';
32
30
  import { TuiLink } from '@taiga-ui/core/components/link';
33
- import * as i8 from '@taiga-ui/cdk/directives/let';
31
+ import * as i7 from '@taiga-ui/cdk/directives/let';
34
32
  import { TuiLet } from '@taiga-ui/cdk/directives/let';
35
- import * as i9 from '@taiga-ui/core/directives/appearance';
33
+ import * as i8 from '@taiga-ui/core/directives/appearance';
36
34
  import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
37
- import * as i10 from '@taiga-ui/core/components/icon';
35
+ import * as i9 from '@taiga-ui/core/components/icon';
38
36
  import { TuiIcon } from '@taiga-ui/core/components/icon';
39
37
  import * as i1$1 from '@taiga-ui/core/directives/dropdown';
40
38
  import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
39
+ import * as i12 from '@angular/common';
40
+ import { CommonModule } from '@angular/common';
41
41
 
42
42
  /**
43
43
  * TODO(v5): delete it
@@ -62,10 +62,10 @@ class TuiInputDateDirective extends AbstractTuiTextfieldHost {
62
62
  process(input) {
63
63
  input.inputMode = 'numeric';
64
64
  }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
66
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDateDirective, selector: "tui-input-date:not([multiple])", providers: [tuiAsTextfieldHost(TuiInputDateDirective)], usesInheritance: true, ngImport: i0 }); }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
66
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputDateDirective, isStandalone: false, selector: "tui-input-date:not([multiple])", providers: [tuiAsTextfieldHost(TuiInputDateDirective)], usesInheritance: true, ngImport: i0 }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateDirective, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateDirective, decorators: [{
69
69
  type: Directive,
70
70
  args: [{
71
71
  standalone: false,
@@ -98,10 +98,10 @@ class TuiNativeDateDirective {
98
98
  ? TuiDay.normalizeParse(value, 'YMD').toString(this.host.format.mode)
99
99
  : '');
100
100
  }
101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeDateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
102
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiNativeDateDirective, selector: "input[tuiDate]", host: { attributes: { "type": "date" }, listeners: { "change": "onChange($event.target.value)", "click.stop.zoneless": "0", "input.stop.zoneless": "0", "mousedown.stop.zoneless": "0" }, properties: { "tabIndex": "-1", "value": "value", "max": "max", "min": "min" } }, providers: [tuiAsTextfieldHost(TuiInputDateDirective)], ngImport: i0 }); }
101
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNativeDateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
102
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiNativeDateDirective, isStandalone: false, selector: "input[tuiDate]", host: { attributes: { "type": "date" }, listeners: { "change": "onChange($event.target.value)", "click.stop.zoneless": "0", "input.stop.zoneless": "0", "mousedown.stop.zoneless": "0" }, properties: { "tabIndex": "-1", "value": "value", "max": "max", "min": "min" } }, providers: [tuiAsTextfieldHost(TuiInputDateDirective)], ngImport: i0 }); }
103
103
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeDateDirective, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNativeDateDirective, decorators: [{
105
105
  type: Directive,
106
106
  args: [{
107
107
  standalone: false,
@@ -266,19 +266,19 @@ class TuiInputDateComponent extends AbstractTuiNullableControl {
266
266
  max: max.toLocalNativeDate(),
267
267
  });
268
268
  }
269
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
270
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDateComponent, selector: "tui-input-date:not([multiple])", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", items: "items", defaultActiveYearMonth: "defaultActiveYearMonth" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "size" } }, providers: [
269
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
270
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputDateComponent, isStandalone: false, selector: "tui-input-date:not([multiple])", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", items: "items", defaultActiveYearMonth: "defaultActiveYearMonth" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "size" } }, providers: [
271
271
  tuiAsFocusableItemAccessor(TuiInputDateComponent),
272
272
  tuiAsControl(TuiInputDateComponent),
273
273
  tuiAsControl$1(TuiInputDateComponent),
274
274
  tuiDateStreamWithTransformer(TUI_DATE_VALUE_TRANSFORMER),
275
275
  TUI_MOBILE_CALENDAR_PROVIDER,
276
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !nativePicker\"\n [tuiDropdownOpen]=\"open\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"filler$ | async as filler\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedFiller(filler || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n <input\n *ngIf=\"nativePicker\"\n tuiDate\n class=\"t-native-input\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n <div\n *ngIf=\"items.length === 1\"\n class=\"t-button\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"items[0] && onDayClick(items[0].day)\"\n >\n {{ items[0] }}\n </button>\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small{border-width:.25rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-button button{flex:1;text-align:center}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i3.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { kind: "component", type: i4.TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "directive", type: i5.TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }, { kind: "component", type: i6.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i6.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i7.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i8.TuiLet, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "directive", type: i7.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i7.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "directive", type: i7.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "directive", type: i9.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i10.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: TuiNativeDateDirective, selector: "input[tuiDate]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
276
+ ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !nativePicker\"\n [tuiDropdownOpen]=\"open\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"filler$ | async as filler\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedFiller(filler || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n @if (nativePicker) {\n <input\n tuiDate\n class=\"t-native-input\"\n />\n }\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n @if (items.length === 1) {\n <div\n class=\"t-button\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"items[0] && onDayClick(items[0].day)\"\n >\n {{ items[0] }}\n </button>\n </div>\n }\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-button button{flex:1;text-align:center}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], dependencies: [{ kind: "directive", type: i1.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i2.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { kind: "component", type: i3.TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "directive", type: i4.TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }, { kind: "component", type: i5.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i5.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i6.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i7.TuiLet, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "directive", type: i6.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i6.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "directive", type: i6.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "directive", type: i8.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i9.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: TuiNativeDateDirective, selector: "input[tuiDate]" }, { kind: "pipe", type: i12.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
277
277
  }
278
278
  __decorate([
279
279
  tuiPure
280
280
  ], TuiInputDateComponent.prototype, "computeMaskOptions", null);
281
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateComponent, decorators: [{
281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateComponent, decorators: [{
282
282
  type: Component,
283
283
  args: [{ standalone: false, selector: 'tui-input-date:not([multiple])', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
284
284
  tuiAsFocusableItemAccessor(TuiInputDateComponent),
@@ -289,7 +289,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
289
289
  ], host: {
290
290
  '[attr.data-size]': 'size',
291
291
  '(click)': 'onClick()',
292
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !nativePicker\"\n [tuiDropdownOpen]=\"open\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"filler$ | async as filler\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedFiller(filler || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n <input\n *ngIf=\"nativePicker\"\n tuiDate\n class=\"t-native-input\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n <div\n *ngIf=\"items.length === 1\"\n class=\"t-button\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"items[0] && onDayClick(items[0].day)\"\n >\n {{ items[0] }}\n </button>\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small{border-width:.25rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-button button{flex:1;text-align:center}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"] }]
292
+ }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !nativePicker\"\n [tuiDropdownOpen]=\"open\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"filler$ | async as filler\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedFiller(filler || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n @if (nativePicker) {\n <input\n tuiDate\n class=\"t-native-input\"\n />\n }\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date__calendar\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n @if (items.length === 1) {\n <div\n class=\"t-button\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"items[0] && onDayClick(items[0].day)\"\n >\n {{ items[0] }}\n </button>\n </div>\n }\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-button{display:flex;block-size:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-border-normal)}.t-button button{flex:1;text-align:center}.t-native-input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"] }]
293
293
  }], propDecorators: { textfield: [{
294
294
  type: ViewChild,
295
295
  args: [TuiPrimitiveTextfieldComponent]
@@ -312,8 +312,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
312
312
  * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
313
313
  */
314
314
  class TuiInputDateModule {
315
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
316
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateModule, declarations: [TuiInputDateComponent, TuiInputDateDirective, TuiNativeDateDirective], imports: [CommonModule,
315
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
316
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateModule, declarations: [TuiInputDateComponent, TuiInputDateDirective, TuiNativeDateDirective], imports: [CommonModule,
317
317
  MaskitoDirective,
318
318
  PolymorpheusOutlet,
319
319
  PolymorpheusTemplate,
@@ -328,14 +328,14 @@ class TuiInputDateModule {
328
328
  TuiIcon, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection], exports: [TuiInputDateComponent,
329
329
  TuiInputDateDirective,
330
330
  TuiTextfieldComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection] }); }
331
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateModule, imports: [CommonModule,
331
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateModule, imports: [CommonModule,
332
332
  TuiCalendar,
333
333
  TuiPrimitiveTextfieldModule,
334
334
  TuiValueAccessorModule,
335
335
  TuiTextfieldControllerModule,
336
336
  TuiIcon, i1$1.TuiDropdownComponent] }); }
337
337
  }
338
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateModule, decorators: [{
338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateModule, decorators: [{
339
339
  type: NgModule,
340
340
  args: [{
341
341
  imports: [