@taiga-ui/legacy 4.52.0-canary.932d3ef → 4.52.0-canary.9471234

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 (365) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -0
  3. package/components/dialog/dialog.directive.d.ts +8 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +30 -0
  6. package/components/dialog/dialog.service.d.ts +10 -0
  7. package/components/dialog/dialog.tokens.d.ts +6 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +3 -31
  10. package/components/mobile-dialog/index.d.ts +3 -0
  11. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  12. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  13. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  14. package/components/pdf-viewer/index.d.ts +4 -0
  15. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  16. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  17. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  18. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  19. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  20. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  21. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  22. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  23. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  24. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  25. package/fesm2022/taiga-ui-legacy-components.mjs +3 -31
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +85 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +1 -6
  30. package/package.json +22 -185
  31. package/pure.d.ts +23 -0
  32. package/classes/abstract-native-select.d.ts +0 -22
  33. package/classes/abstract-textfield-host.d.ts +0 -19
  34. package/classes/control.d.ts +0 -60
  35. package/classes/controller.d.ts +0 -9
  36. package/classes/index.d.ts +0 -9
  37. package/classes/interactive.d.ts +0 -34
  38. package/classes/multiple-control.d.ts +0 -11
  39. package/classes/named-day.d.ts +0 -11
  40. package/classes/nullable-control.d.ts +0 -10
  41. package/classes/stringifiable-item.d.ts +0 -11
  42. package/components/arrow/arrow.component.d.ts +0 -17
  43. package/components/arrow/arrow.options.d.ts +0 -19
  44. package/components/arrow/arrow.providers.d.ts +0 -23
  45. package/components/arrow/index.d.ts +0 -3
  46. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  47. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  48. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  49. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  50. package/components/color-selector/color-selector.component.d.ts +0 -47
  51. package/components/color-selector/color-selector.module.d.ts +0 -24
  52. package/components/color-selector/color-selector.options.d.ts +0 -25
  53. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  54. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  55. package/components/color-selector/index.d.ts +0 -16
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  57. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  58. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  59. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  60. package/components/color-selector/palette/palette.component.d.ts +0 -10
  61. package/components/color-selector/palette/palette.module.d.ts +0 -13
  62. package/components/color-selector/services/picker.service.d.ts +0 -15
  63. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  64. package/components/combo-box/combo-box.component.d.ts +0 -52
  65. package/components/combo-box/combo-box.directive.d.ts +0 -13
  66. package/components/combo-box/combo-box.module.d.ts +0 -20
  67. package/components/combo-box/index.d.ts +0 -4
  68. package/components/input/index.d.ts +0 -3
  69. package/components/input/input.component.d.ts +0 -32
  70. package/components/input/input.directive.d.ts +0 -12
  71. package/components/input/input.module.d.ts +0 -16
  72. package/components/input-color/index.d.ts +0 -2
  73. package/components/input-color/input-color.component.d.ts +0 -30
  74. package/components/input-color/input-color.module.d.ts +0 -17
  75. package/components/input-copy/index.d.ts +0 -4
  76. package/components/input-copy/input-copy.component.d.ts +0 -33
  77. package/components/input-copy/input-copy.directive.d.ts +0 -11
  78. package/components/input-copy/input-copy.module.d.ts +0 -18
  79. package/components/input-copy/input-copy.options.d.ts +0 -26
  80. package/components/input-date/index.d.ts +0 -3
  81. package/components/input-date/input-date.component.d.ts +0 -62
  82. package/components/input-date/input-date.directive.d.ts +0 -19
  83. package/components/input-date/input-date.module.d.ts +0 -24
  84. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  85. package/components/input-date-multi/index.d.ts +0 -2
  86. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  87. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  88. package/components/input-date-range/index.d.ts +0 -3
  89. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  90. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  91. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  92. package/components/input-date-time/index.d.ts +0 -3
  93. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  94. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  95. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  96. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  97. package/components/input-month/index.d.ts +0 -3
  98. package/components/input-month/input-month.component.d.ts +0 -44
  99. package/components/input-month/input-month.directive.d.ts +0 -19
  100. package/components/input-month/input-month.module.d.ts +0 -19
  101. package/components/input-month-range/index.d.ts +0 -3
  102. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  103. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  104. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  105. package/components/input-number/index.d.ts +0 -4
  106. package/components/input-number/input-number.component.d.ts +0 -63
  107. package/components/input-number/input-number.directive.d.ts +0 -16
  108. package/components/input-number/input-number.module.d.ts +0 -18
  109. package/components/input-number/input-number.options.d.ts +0 -29
  110. package/components/input-password/index.d.ts +0 -4
  111. package/components/input-password/input-password.component.d.ts +0 -33
  112. package/components/input-password/input-password.directive.d.ts +0 -15
  113. package/components/input-password/input-password.module.d.ts +0 -19
  114. package/components/input-password/input-password.options.d.ts +0 -25
  115. package/components/input-phone/index.d.ts +0 -4
  116. package/components/input-phone/input-phone.component.d.ts +0 -49
  117. package/components/input-phone/input-phone.directive.d.ts +0 -13
  118. package/components/input-phone/input-phone.module.d.ts +0 -12
  119. package/components/input-phone/input-phone.options.d.ts +0 -13
  120. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  121. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  122. package/components/input-phone/utils/index.d.ts +0 -2
  123. package/components/input-phone-international/index.d.ts +0 -3
  124. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  125. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  126. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  127. package/components/input-range/index.d.ts +0 -2
  128. package/components/input-range/input-range.component.d.ts +0 -56
  129. package/components/input-range/input-range.module.d.ts +0 -19
  130. package/components/input-slider/index.d.ts +0 -2
  131. package/components/input-slider/input-slider.component.d.ts +0 -42
  132. package/components/input-slider/input-slider.module.d.ts +0 -18
  133. package/components/input-tag/index.d.ts +0 -3
  134. package/components/input-tag/input-tag.component.d.ts +0 -103
  135. package/components/input-tag/input-tag.module.d.ts +0 -22
  136. package/components/input-tag/input-tag.options.d.ts +0 -27
  137. package/components/input-time/index.d.ts +0 -4
  138. package/components/input-time/input-time.component.d.ts +0 -62
  139. package/components/input-time/input-time.directive.d.ts +0 -17
  140. package/components/input-time/input-time.module.d.ts +0 -23
  141. package/components/input-time/input-time.options.d.ts +0 -42
  142. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  143. package/components/input-year/index.d.ts +0 -3
  144. package/components/input-year/input-year.component.d.ts +0 -36
  145. package/components/input-year/input-year.directive.d.ts +0 -14
  146. package/components/input-year/input-year.module.d.ts +0 -18
  147. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  148. package/components/multi-select/index.d.ts +0 -10
  149. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  150. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  151. package/components/multi-select/multi-select.component.d.ts +0 -71
  152. package/components/multi-select/multi-select.directive.d.ts +0 -14
  153. package/components/multi-select/multi-select.module.d.ts +0 -31
  154. package/components/multi-select/multi-select.options.d.ts +0 -14
  155. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  156. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  157. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  158. package/components/multi-select-option/index.d.ts +0 -2
  159. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  160. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  161. package/components/primitive-textfield/index.d.ts +0 -7
  162. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  163. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  164. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  165. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  166. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  167. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  168. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  169. package/components/select/index.d.ts +0 -6
  170. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  171. package/components/select/native-select/native-select.component.d.ts +0 -16
  172. package/components/select/select.component.d.ts +0 -45
  173. package/components/select/select.directive.d.ts +0 -16
  174. package/components/select/select.module.d.ts +0 -24
  175. package/components/select/select.options.d.ts +0 -25
  176. package/components/select-option/index.d.ts +0 -2
  177. package/components/select-option/select-option.component.d.ts +0 -27
  178. package/components/select-option/select-option.module.d.ts +0 -10
  179. package/components/svg/content-processor.d.ts +0 -19
  180. package/components/svg/deprecated-icons.d.ts +0 -5
  181. package/components/svg/index.d.ts +0 -5
  182. package/components/svg/svg-options.d.ts +0 -50
  183. package/components/svg/svg.component.d.ts +0 -50
  184. package/components/svg/svg.service.d.ts +0 -21
  185. package/components/table-bar/index.d.ts +0 -4
  186. package/components/table-bar/table-bar.component.d.ts +0 -17
  187. package/components/table-bar/table-bar.directive.d.ts +0 -11
  188. package/components/table-bar/table-bar.options.d.ts +0 -31
  189. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  190. package/components/table-bar/table-bars.service.d.ts +0 -11
  191. package/components/tag/index.d.ts +0 -3
  192. package/components/tag/tag.component.d.ts +0 -44
  193. package/components/tag/tag.module.d.ts +0 -16
  194. package/components/tag/tag.options.d.ts +0 -27
  195. package/components/textarea/index.d.ts +0 -3
  196. package/components/textarea/textarea.component.d.ts +0 -54
  197. package/components/textarea/textarea.directive.d.ts +0 -12
  198. package/components/textarea/textarea.module.d.ts +0 -21
  199. package/components/tooltip/index.d.ts +0 -2
  200. package/components/tooltip/tooltip.component.d.ts +0 -12
  201. package/components/tooltip/tooltip.module.d.ts +0 -13
  202. package/directives/index.d.ts +0 -5
  203. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  204. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  205. package/directives/textfield-controller/index.d.ts +0 -14
  206. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  207. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  208. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  209. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  210. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  211. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  212. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  213. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  214. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  215. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  216. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  217. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  218. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  219. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  220. package/directives/unfinished-validator/index.d.ts +0 -2
  221. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  222. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  223. package/directives/value-accessor/index.d.ts +0 -3
  224. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  225. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  226. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  227. package/directives/wrapper/README.md +0 -19
  228. package/directives/wrapper/index.d.ts +0 -2
  229. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  230. package/directives/wrapper/wrapper.module.d.ts +0 -10
  231. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  232. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  234. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  236. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  238. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  240. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  242. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  244. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  246. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  248. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  250. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  252. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  254. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  256. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  258. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  260. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  262. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  264. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  265. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  266. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  268. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  269. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  270. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  271. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  272. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  273. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  274. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  276. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  278. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  280. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  281. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  282. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  283. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  284. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  285. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  286. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  287. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
  288. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  289. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  290. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  291. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  292. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  293. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  294. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  295. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  296. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  297. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  298. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  299. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  300. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  301. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  302. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  303. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  304. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  305. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  306. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  307. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  308. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  309. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  310. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  311. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  312. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  313. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  314. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  315. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  316. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  317. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  318. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  319. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  320. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  321. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  322. package/pipes/format-phone/index.d.ts +0 -1
  323. package/pipes/index.d.ts +0 -3
  324. package/pipes/iso-to-country-code/index.d.ts +0 -1
  325. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  326. package/pipes/to-country-code/index.d.ts +0 -1
  327. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  328. package/services/index.d.ts +0 -1
  329. package/services/static-request.service.d.ts +0 -11
  330. package/styles/mixins/mixins.less +0 -239
  331. package/styles/mixins/mixins.scss +0 -224
  332. package/styles/mixins/textfield.less +0 -324
  333. package/styles/mixins/textfield.scss +0 -308
  334. package/styles/taiga-ui-local.less +0 -3
  335. package/styles/taiga-ui-local.scss +0 -3
  336. package/tokens/countries-masks.d.ts +0 -9
  337. package/tokens/focusable-item-accessor.d.ts +0 -25
  338. package/tokens/fonts-ready.d.ts +0 -6
  339. package/tokens/icons.d.ts +0 -6
  340. package/tokens/index.d.ts +0 -14
  341. package/tokens/is-apple.d.ts +0 -6
  342. package/tokens/is-chromium.d.ts +0 -6
  343. package/tokens/is-firefox.d.ts +0 -6
  344. package/tokens/is-stackblitz.d.ts +0 -5
  345. package/tokens/month-formatter.d.ts +0 -10
  346. package/tokens/sanitizer.d.ts +0 -6
  347. package/tokens/textfield-appearance.d.ts +0 -7
  348. package/tokens/textfield-host.d.ts +0 -23
  349. package/tokens/touch-supported.d.ts +0 -5
  350. package/tokens/value-accessor.d.ts +0 -7
  351. package/utils/capitalize-first-letter.d.ts +0 -4
  352. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  353. package/utils/format-phone.d.ts +0 -30
  354. package/utils/get-border.d.ts +0 -5
  355. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  356. package/utils/get-safe-area-size.d.ts +0 -7
  357. package/utils/icons-path-factory.d.ts +0 -13
  358. package/utils/index.d.ts +0 -14
  359. package/utils/is-apple.d.ts +0 -5
  360. package/utils/is-presumed-html-string.d.ts +0 -4
  361. package/utils/iso-to-country-code.d.ts +0 -13
  362. package/utils/not-kz-region.d.ts +0 -20
  363. package/utils/process-icon.d.ts +0 -4
  364. package/utils/specific-dropdown-controllers.d.ts +0 -4
  365. package/utils/status.d.ts +0 -4
@@ -1,221 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Input, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
3
- import { TUI_FALSE_HANDLER, CHAR_EN_DASH } from '@taiga-ui/cdk/constants';
4
- import { TuiDay, TuiMonthRange, tuiDateClamp } from '@taiga-ui/cdk/date-time';
5
- import { TuiMonthPipe } from '@taiga-ui/core/pipes/month';
6
- import { TUI_INPUT_DATE_OPTIONS } from '@taiga-ui/kit/tokens';
7
- import { AbstractTuiNullableControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
8
- import * as i2 from '@taiga-ui/legacy/components/primitive-textfield';
9
- import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
10
- import * as i3 from '@taiga-ui/legacy/directives';
11
- import { TUI_TEXTFIELD_SIZE, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
12
- import { TUI_MONTH_FORMATTER, tuiAsFocusableItemAccessor, TUI_MONTH_FORMATTER_PROVIDER, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
13
- import * as i1 from '@taiga-ui/kit/components/calendar-month';
14
- import { TuiCalendarMonth } from '@taiga-ui/kit/components/calendar-month';
15
- import * as i1$1 from '@taiga-ui/core/directives/dropdown';
16
- import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
17
- import * as i5 from '@angular/common';
18
- import { CommonModule } from '@angular/common';
19
- import * as i6 from '@taiga-ui/cdk/pipes/mapper';
20
- import { TuiMapperPipe } from '@taiga-ui/cdk/pipes/mapper';
21
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
22
- import { Subject, distinctUntilChanged, switchMap, combineLatest } from 'rxjs';
23
-
24
- /**
25
- * TODO(v5): delete it
26
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
27
- */
28
- class TuiInputMonthRangeComponent extends AbstractTuiNullableControl {
29
- constructor() {
30
- super(...arguments);
31
- this.options = inject(TUI_INPUT_DATE_OPTIONS);
32
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
33
- this.formatter = inject(TUI_MONTH_FORMATTER);
34
- this.min = this.options.min;
35
- this.max = this.options.max;
36
- this.disabledItemHandler = TUI_FALSE_HANDLER;
37
- this.minLength = null;
38
- this.maxLength = null;
39
- this.defaultActiveYear = TuiDay.currentLocal();
40
- this.open = false;
41
- }
42
- get nativeFocusableElement() {
43
- return this.textfield?.nativeFocusableElement ?? null;
44
- }
45
- get focused() {
46
- return !!this.textfield?.focused;
47
- }
48
- setDisabledState() {
49
- super.setDisabledState();
50
- this.close();
51
- }
52
- computeValue(from, to) {
53
- const formattedTo = from === to && this.focused && !this.readOnly ? '' : to;
54
- return `${from} ${CHAR_EN_DASH} ${formattedTo}`;
55
- }
56
- onValueChange(value) {
57
- if (value) {
58
- return;
59
- }
60
- this.value = null;
61
- this.onOpenChange(true);
62
- }
63
- onMonthClick(month) {
64
- if (!this.value?.isSingleMonth) {
65
- this.writeValue(new TuiMonthRange(month, month));
66
- return;
67
- }
68
- this.value = TuiMonthRange.sort(this.value.from, month);
69
- this.close();
70
- }
71
- get size() {
72
- return this.textfieldSize.size;
73
- }
74
- get computedDefaultActiveYear() {
75
- return (this.value?.from || tuiDateClamp(this.defaultActiveYear, this.min, this.max));
76
- }
77
- get calendarIcon() {
78
- return this.options.icon;
79
- }
80
- onOpenChange(open) {
81
- this.open = open;
82
- }
83
- onActiveZone(focused) {
84
- this.updateFocused(focused);
85
- if (focused) {
86
- return;
87
- }
88
- if (this.value?.isSingleMonth) {
89
- this.value = new TuiMonthRange(this.value.from, this.value.from);
90
- }
91
- }
92
- close() {
93
- this.open = false;
94
- }
95
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
96
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputMonthRangeComponent, isStandalone: false, selector: "tui-input-month-range", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", minLength: "minLength", maxLength: "maxLength", defaultActiveYear: "defaultActiveYear" }, host: { properties: { "attr.data-size": "size" } }, providers: [
97
- tuiAsFocusableItemAccessor(TuiInputMonthRangeComponent),
98
- tuiAsControl(TuiInputMonthRangeComponent),
99
- TUI_MONTH_FORMATTER_PROVIDER,
100
- TuiMonthPipe,
101
- ], 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\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : ''\n \"\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 #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($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}\n"], dependencies: [{ kind: "component", type: i1.TuiCalendarMonth, selector: "tui-calendar-month", inputs: ["year", "disabledItemHandler", "minLength", "maxLength", "min", "max", "value"], outputs: ["monthClick", "hoveredItemChange", "yearChange"] }, { kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i3.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i3.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { 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: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TuiMapperPipe, name: "tuiMapper" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
102
- }
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeComponent, decorators: [{
104
- type: Component,
105
- args: [{ standalone: false, selector: 'tui-input-month-range', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
106
- tuiAsFocusableItemAccessor(TuiInputMonthRangeComponent),
107
- tuiAsControl(TuiInputMonthRangeComponent),
108
- TUI_MONTH_FORMATTER_PROVIDER,
109
- TuiMonthPipe,
110
- ], host: {
111
- '[attr.data-size]': 'size',
112
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : ''\n \"\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 #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($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}\n"] }]
113
- }], propDecorators: { textfield: [{
114
- type: ViewChild,
115
- args: [TuiPrimitiveTextfieldComponent]
116
- }], min: [{
117
- type: Input
118
- }], max: [{
119
- type: Input
120
- }], disabledItemHandler: [{
121
- type: Input
122
- }], minLength: [{
123
- type: Input
124
- }], maxLength: [{
125
- type: Input
126
- }], defaultActiveYear: [{
127
- type: Input
128
- }] } });
129
-
130
- /**
131
- * TODO(v5): delete it
132
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
133
- */
134
- class TuiInputMonthRangeDirective extends AbstractTuiTextfieldHost {
135
- constructor() {
136
- super(...arguments);
137
- this.value$ = new Subject();
138
- this.localizedValue = ['', ''];
139
- this.formatter = inject(TUI_MONTH_FORMATTER);
140
- this.$ = this.value$
141
- .pipe(distinctUntilChanged(), switchMap((value) => combineLatest([
142
- this.formatter(value?.from || null),
143
- this.formatter(value?.to || null),
144
- ])), takeUntilDestroyed())
145
- .subscribe((localizedValue) => {
146
- this.localizedValue = localizedValue;
147
- });
148
- }
149
- get readOnly() {
150
- return true;
151
- }
152
- get value() {
153
- return this.localizedValue[0]
154
- ? this.host.computeValue(...this.localizedValue)
155
- : '';
156
- }
157
- ngDoCheck() {
158
- this.value$.next(this.host.value);
159
- }
160
- onValueChange(value) {
161
- this.host.onValueChange(value);
162
- }
163
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
164
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputMonthRangeDirective, isStandalone: false, selector: "tui-input-month-range", providers: [tuiAsTextfieldHost(TuiInputMonthRangeDirective)], usesInheritance: true, ngImport: i0 }); }
165
- }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeDirective, decorators: [{
167
- type: Directive,
168
- args: [{
169
- standalone: false,
170
- selector: 'tui-input-month-range',
171
- providers: [tuiAsTextfieldHost(TuiInputMonthRangeDirective)],
172
- }]
173
- }] });
174
-
175
- /**
176
- * TODO(v5): delete it
177
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead
178
- */
179
- class TuiInputMonthRangeModule {
180
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
181
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, declarations: [TuiInputMonthRangeComponent, TuiInputMonthRangeDirective], imports: [CommonModule,
182
- TuiCalendarMonth,
183
- TuiPrimitiveTextfieldModule,
184
- TuiMapperPipe,
185
- TuiTextfieldControllerModule,
186
- TuiLegacyDropdownOpenMonitorDirective, 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: [TuiInputMonthRangeComponent,
187
- TuiInputMonthRangeDirective,
188
- 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] }); }
189
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, imports: [CommonModule,
190
- TuiCalendarMonth,
191
- TuiPrimitiveTextfieldModule,
192
- TuiTextfieldControllerModule, i1$1.TuiDropdownComponent] }); }
193
- }
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthRangeModule, decorators: [{
195
- type: NgModule,
196
- args: [{
197
- imports: [
198
- CommonModule,
199
- TuiCalendarMonth,
200
- TuiPrimitiveTextfieldModule,
201
- TuiMapperPipe,
202
- TuiTextfieldControllerModule,
203
- TuiLegacyDropdownOpenMonitorDirective,
204
- ...TuiDropdown,
205
- ],
206
- declarations: [TuiInputMonthRangeComponent, TuiInputMonthRangeDirective],
207
- exports: [
208
- TuiInputMonthRangeComponent,
209
- TuiInputMonthRangeDirective,
210
- TuiTextfieldComponent,
211
- ...TuiDropdown,
212
- ],
213
- }]
214
- }] });
215
-
216
- /**
217
- * Generated bundle index. Do not edit.
218
- */
219
-
220
- export { TuiInputMonthRangeComponent, TuiInputMonthRangeDirective, TuiInputMonthRangeModule };
221
- //# sourceMappingURL=taiga-ui-legacy-components-input-month-range.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-month-range.mjs","sources":["../../../projects/legacy/components/input-month-range/input-month-range.component.ts","../../../projects/legacy/components/input-month-range/input-month-range.template.html","../../../projects/legacy/components/input-month-range/input-month-range.directive.ts","../../../projects/legacy/components/input-month-range/input-month-range.module.ts","../../../projects/legacy/components/input-month-range/taiga-ui-legacy-components-input-month-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {CHAR_EN_DASH, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n tuiDateClamp,\n TuiDay,\n type TuiMonth,\n TuiMonthRange,\n type TuiYear,\n} from '@taiga-ui/cdk/date-time';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {TuiMonthPipe} from '@taiga-ui/core/pipes/month';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_INPUT_DATE_OPTIONS, type TuiInputDateOptions} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNullableControl, 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 TUI_MONTH_FORMATTER,\n TUI_MONTH_FORMATTER_PROVIDER,\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-month-range',\n templateUrl: './input-month-range.template.html',\n styleUrls: ['./input-month-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputMonthRangeComponent),\n tuiAsControl(TuiInputMonthRangeComponent),\n TUI_MONTH_FORMATTER_PROVIDER,\n TuiMonthPipe,\n ],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputMonthRangeComponent\n extends AbstractTuiNullableControl<TuiMonthRange>\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 protected readonly formatter = inject(TUI_MONTH_FORMATTER);\n\n @Input()\n public min: TuiMonth = this.options.min;\n\n @Input()\n public max: TuiMonth = this.options.max;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<TuiMonth> = TUI_FALSE_HANDLER;\n\n @Input()\n public minLength: number | null = null;\n\n @Input()\n public maxLength: number | null = null;\n\n @Input()\n public defaultActiveYear: TuiYear = TuiDay.currentLocal();\n\n public open = false;\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 override setDisabledState(): void {\n super.setDisabledState();\n this.close();\n }\n\n public computeValue(from: string | null, to: string | null): string {\n const formattedTo = from === to && this.focused && !this.readOnly ? '' : to;\n\n return `${from} ${CHAR_EN_DASH} ${formattedTo}`;\n }\n\n public onValueChange(value: string): void {\n if (value) {\n return;\n }\n\n this.value = null;\n this.onOpenChange(true);\n }\n\n public onMonthClick(month: TuiMonth): void {\n if (!this.value?.isSingleMonth) {\n this.writeValue(new TuiMonthRange(month, month));\n\n return;\n }\n\n this.value = TuiMonthRange.sort(this.value.from, month);\n this.close();\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get computedDefaultActiveYear(): TuiYear {\n return (\n this.value?.from || tuiDateClamp(this.defaultActiveYear, this.min, this.max)\n );\n }\n\n protected get calendarIcon(): TuiInputDateOptions['icon'] {\n return this.options.icon;\n }\n\n protected onOpenChange(open: boolean): void {\n this.open = open;\n }\n\n protected onActiveZone(focused: boolean): void {\n this.updateFocused(focused);\n\n if (focused) {\n return;\n }\n\n if (this.value?.isSingleMonth) {\n this.value = new TuiMonthRange(this.value.from, this.value.from);\n }\n }\n\n private close(): void {\n this.open = false;\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : ''\n \"\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 #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n />\n </ng-template>\n</div>\n","import {Directive, type DoCheck, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type TuiMonth, type TuiMonthRange} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {TUI_MONTH_FORMATTER, tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\nimport {\n combineLatest,\n distinctUntilChanged,\n type Observable,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {type TuiInputMonthRangeComponent} from './input-month-range.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-month-range',\n providers: [tuiAsTextfieldHost(TuiInputMonthRangeDirective)],\n})\nexport class TuiInputMonthRangeDirective\n extends AbstractTuiTextfieldHost<TuiInputMonthRangeComponent>\n implements DoCheck\n{\n private readonly value$ = new Subject<TuiMonthRange | null>();\n\n private localizedValue: [string, string] = ['', ''];\n\n protected readonly formatter: TuiHandler<TuiMonth | null, Observable<string>> =\n inject(TUI_MONTH_FORMATTER);\n\n protected readonly $ = this.value$\n .pipe(\n distinctUntilChanged(),\n switchMap((value: TuiMonthRange | null) =>\n combineLatest([\n this.formatter(value?.from || null),\n this.formatter(value?.to || null),\n ]),\n ),\n takeUntilDestroyed(),\n )\n .subscribe((localizedValue) => {\n this.localizedValue = localizedValue;\n });\n\n public override get readOnly(): boolean {\n return true;\n }\n\n public override get value(): string {\n return this.localizedValue[0]\n ? this.host.computeValue(...this.localizedValue)\n : '';\n }\n\n public ngDoCheck(): void {\n this.value$.next(this.host.value);\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiMapperPipe} from '@taiga-ui/cdk/pipes/mapper';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/legacy/directives';\n\nimport {TuiInputMonthRangeComponent} from './input-month-range.component';\nimport {TuiInputMonthRangeDirective} from './input-month-range.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month#range TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiCalendarMonth,\n TuiPrimitiveTextfieldModule,\n TuiMapperPipe,\n TuiTextfieldControllerModule,\n TuiLegacyDropdownOpenMonitorDirective,\n ...TuiDropdown,\n ],\n declarations: [TuiInputMonthRangeComponent, TuiInputMonthRangeDirective],\n exports: [\n TuiInputMonthRangeComponent,\n TuiInputMonthRangeDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputMonthRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i4","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;AAGG;AAiBG,MAAO,2BACT,SAAQ,0BAAyC,CAAA;AAjBrD,IAAA,WAAA,GAAA;;AAuBqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACxC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAExC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAGnD,QAAA,IAAA,CAAA,GAAG,GAAa,IAAI,CAAC,OAAO,CAAC,GAAG;AAGhC,QAAA,IAAA,CAAA,GAAG,GAAa,IAAI,CAAC,OAAO,CAAC,GAAG;QAGhC,IAAmB,CAAA,mBAAA,GAAgC,iBAAiB;QAGpE,IAAS,CAAA,SAAA,GAAkB,IAAI;QAG/B,IAAS,CAAA,SAAA,GAAkB,IAAI;AAG/B,QAAA,IAAA,CAAA,iBAAiB,GAAY,MAAM,CAAC,YAAY,EAAE;QAElD,IAAI,CAAA,IAAA,GAAG,KAAK;AA0EtB;AAxEG,IAAA,IAAW,sBAAsB,GAAA;AAC7B,QAAA,OAAO,IAAI,CAAC,SAAS,EAAE,sBAAsB,IAAI,IAAI;;AAGzD,IAAA,IAAW,OAAO,GAAA;AACd,QAAA,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO;;IAGpB,gBAAgB,GAAA;QAC5B,KAAK,CAAC,gBAAgB,EAAE;QACxB,IAAI,CAAC,KAAK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Q;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,gBAAgB;wBAChB,2BAA2B;wBAC3B,aAAa;wBACb,4BAA4B;wBAC5B,qCAAqC;AACrC,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,2BAA2B,EAAE,2BAA2B,CAAC;AACxE,oBAAA,OAAO,EAAE;wBACL,2BAA2B;wBAC3B,2BAA2B;wBAC3B,qBAAqB;AACrB,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACJ,iBAAA;;;ACtCD;;AAEG;;;;"}
@@ -1,231 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Input, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
3
- import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
4
- import { TuiDay, tuiDateClamp, TuiMonth } from '@taiga-ui/cdk/date-time';
5
- import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
6
- import { TuiMonthPipe } from '@taiga-ui/core/pipes/month';
7
- import { TUI_INPUT_DATE_OPTIONS } from '@taiga-ui/kit/tokens';
8
- import { AbstractTuiNullableControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
9
- import * as i2 from '@taiga-ui/legacy/components/primitive-textfield';
10
- import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
11
- import * as i3 from '@taiga-ui/legacy/directives';
12
- import { TUI_TEXTFIELD_SIZE, TuiTextfieldControllerModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
13
- import { TUI_MONTH_FORMATTER, tuiAsFocusableItemAccessor, TUI_MONTH_FORMATTER_PROVIDER, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
14
- import * as i1 from '@taiga-ui/kit/components/calendar-month';
15
- import { TuiCalendarMonth } from '@taiga-ui/kit/components/calendar-month';
16
- import * as i4 from '@angular/forms';
17
- import { FormsModule } from '@angular/forms';
18
- import * as i1$1 from '@taiga-ui/core/directives/dropdown';
19
- import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
20
- import * as i6 from '@angular/common';
21
- import { CommonModule } from '@angular/common';
22
- import * as i7 from '@taiga-ui/cdk/pipes/mapper';
23
- import { TuiMapperPipe } from '@taiga-ui/cdk/pipes/mapper';
24
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
25
- import { Subject, distinctUntilChanged, switchMap } from 'rxjs';
26
-
27
- /**
28
- * TODO(v5): delete it
29
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
30
- */
31
- class TuiInputMonthComponent extends AbstractTuiNullableControl {
32
- constructor() {
33
- super(...arguments);
34
- this.isMobile = inject(TUI_IS_MOBILE);
35
- this.options = inject(TUI_INPUT_DATE_OPTIONS);
36
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
37
- this.formatter = inject(TUI_MONTH_FORMATTER);
38
- this.min = this.options.min;
39
- this.max = this.options.max;
40
- this.disabledItemHandler = TUI_FALSE_HANDLER;
41
- this.defaultActiveYear = TuiDay.currentLocal();
42
- this.open = false;
43
- }
44
- get nativeFocusableElement() {
45
- return this.textfield?.nativeFocusableElement || null;
46
- }
47
- get focused() {
48
- return !!this.textfield?.focused;
49
- }
50
- onValueChange(value) {
51
- if (value) {
52
- return;
53
- }
54
- this.value = null;
55
- this.onOpenChange(!this.nativePicker);
56
- }
57
- onMonthClick(month) {
58
- this.value = month;
59
- this.close();
60
- }
61
- setDisabledState() {
62
- super.setDisabledState();
63
- this.close();
64
- }
65
- get size() {
66
- return this.textfieldSize.size;
67
- }
68
- get computedMin() {
69
- return this.min ?? this.options.min;
70
- }
71
- get computedMax() {
72
- return this.max ?? this.options.max;
73
- }
74
- get computedDefaultActiveYear() {
75
- return (this.activeYear ||
76
- this.value ||
77
- tuiDateClamp(this.defaultActiveYear, this.computedMin, this.computedMax));
78
- }
79
- get calendarIcon() {
80
- return this.options.icon;
81
- }
82
- get nativePicker() {
83
- return this.isMobile && this.options.nativePicker;
84
- }
85
- get nativePickerMin() {
86
- return this.computedMin.toJSON();
87
- }
88
- get nativePickerMax() {
89
- return this.computedMax.toJSON();
90
- }
91
- get nativeValue() {
92
- return this.value?.toJSON() || '';
93
- }
94
- onNativeChange(value) {
95
- const [year = 0, month = 0] = value.split('-').map(Number);
96
- this.value = value
97
- ? tuiDateClamp(new TuiMonth(year, month - 1), this.computedMin, this.computedMax)
98
- : null;
99
- }
100
- onFocused(focused) {
101
- this.updateFocused(focused);
102
- }
103
- onOpenChange(open) {
104
- if (open && this.value) {
105
- this.activeYear = this.value;
106
- }
107
- this.open = open;
108
- }
109
- close() {
110
- this.open = false;
111
- }
112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
113
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputMonthComponent, isStandalone: false, selector: "tui-input-month", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYear: "defaultActiveYear" }, host: { properties: { "attr.data-size": "size" } }, providers: [
114
- tuiAsFocusableItemAccessor(TuiInputMonthComponent),
115
- tuiAsControl(TuiInputMonthComponent),
116
- TUI_MONTH_FORMATTER_PROVIDER,
117
- TuiMonthPipe,
118
- ], 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 && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"(value | tuiMapper: formatter | async) || ''\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (nativePicker) {\n <input\n type=\"month\"\n class=\"t-mobile\"\n [max]=\"nativePickerMax\"\n [min]=\"nativePickerMin\"\n [ngModel]=\"nativeValue\"\n [ngModelOptions]=\"{standalone: true}\"\n (click.stop.zoneless)=\"(0)\"\n (mousedown.stop.zoneless)=\"(0)\"\n (ngModelChange)=\"onNativeChange($event)\"\n />\n }\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n (yearChange)=\"activeYear = $event\"\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-mobile{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;border:0}\n"], dependencies: [{ kind: "component", type: i1.TuiCalendarMonth, selector: "tui-calendar-month", inputs: ["year", "disabledItemHandler", "minLength", "maxLength", "min", "max", "value"], outputs: ["monthClick", "hoveredItemChange", "yearChange"] }, { kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i3.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { 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: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.TuiMapperPipe, name: "tuiMapper" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
119
- }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthComponent, decorators: [{
121
- type: Component,
122
- args: [{ standalone: false, selector: 'tui-input-month', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
123
- tuiAsFocusableItemAccessor(TuiInputMonthComponent),
124
- tuiAsControl(TuiInputMonthComponent),
125
- TUI_MONTH_FORMATTER_PROVIDER,
126
- TuiMonthPipe,
127
- ], host: {
128
- '[attr.data-size]': 'size',
129
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !nativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"(value | tuiMapper: formatter | async) || ''\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (nativePicker) {\n <input\n type=\"month\"\n class=\"t-mobile\"\n [max]=\"nativePickerMax\"\n [min]=\"nativePickerMin\"\n [ngModel]=\"nativeValue\"\n [ngModelOptions]=\"{standalone: true}\"\n (click.stop.zoneless)=\"(0)\"\n (mousedown.stop.zoneless)=\"(0)\"\n (ngModelChange)=\"onNativeChange($event)\"\n />\n }\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n (yearChange)=\"activeYear = $event\"\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-mobile{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0;border:0}\n"] }]
130
- }], propDecorators: { textfield: [{
131
- type: ViewChild,
132
- args: [TuiPrimitiveTextfieldComponent]
133
- }], min: [{
134
- type: Input
135
- }], max: [{
136
- type: Input
137
- }], disabledItemHandler: [{
138
- type: Input
139
- }], defaultActiveYear: [{
140
- type: Input
141
- }] } });
142
-
143
- /**
144
- * TODO(v5): delete it
145
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
146
- */
147
- class TuiInputMonthDirective extends AbstractTuiTextfieldHost {
148
- constructor() {
149
- super(...arguments);
150
- this.value$ = new Subject();
151
- this.localizedValue = '';
152
- this.$ = this.value$
153
- .pipe(distinctUntilChanged(), switchMap(inject(TUI_MONTH_FORMATTER)), takeUntilDestroyed())
154
- .subscribe((localizedValue) => {
155
- this.localizedValue = localizedValue;
156
- });
157
- }
158
- get readOnly() {
159
- return true;
160
- }
161
- get value() {
162
- return this.localizedValue;
163
- }
164
- ngDoCheck() {
165
- this.value$.next(this.host.value);
166
- }
167
- onValueChange(value) {
168
- this.host.onValueChange(value);
169
- }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
171
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputMonthDirective, isStandalone: false, selector: "tui-input-month", providers: [tuiAsTextfieldHost(TuiInputMonthDirective)], usesInheritance: true, ngImport: i0 }); }
172
- }
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthDirective, decorators: [{
174
- type: Directive,
175
- args: [{
176
- standalone: false,
177
- selector: 'tui-input-month',
178
- providers: [tuiAsTextfieldHost(TuiInputMonthDirective)],
179
- }]
180
- }] });
181
-
182
- /**
183
- * TODO(v5): delete it
184
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
185
- */
186
- class TuiInputMonthModule {
187
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
188
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthModule, declarations: [TuiInputMonthComponent, TuiInputMonthDirective], imports: [CommonModule,
189
- TuiCalendarMonth,
190
- TuiPrimitiveTextfieldModule,
191
- TuiMapperPipe,
192
- TuiTextfieldControllerModule,
193
- FormsModule,
194
- TuiLegacyDropdownOpenMonitorDirective, 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: [TuiInputMonthComponent,
195
- TuiInputMonthDirective,
196
- 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] }); }
197
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthModule, imports: [CommonModule,
198
- TuiCalendarMonth,
199
- TuiPrimitiveTextfieldModule,
200
- TuiTextfieldControllerModule,
201
- FormsModule, i1$1.TuiDropdownComponent] }); }
202
- }
203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputMonthModule, decorators: [{
204
- type: NgModule,
205
- args: [{
206
- imports: [
207
- CommonModule,
208
- TuiCalendarMonth,
209
- TuiPrimitiveTextfieldModule,
210
- TuiMapperPipe,
211
- TuiTextfieldControllerModule,
212
- FormsModule,
213
- TuiLegacyDropdownOpenMonitorDirective,
214
- ...TuiDropdown,
215
- ],
216
- declarations: [TuiInputMonthComponent, TuiInputMonthDirective],
217
- exports: [
218
- TuiInputMonthComponent,
219
- TuiInputMonthDirective,
220
- TuiTextfieldComponent,
221
- ...TuiDropdown,
222
- ],
223
- }]
224
- }] });
225
-
226
- /**
227
- * Generated bundle index. Do not edit.
228
- */
229
-
230
- export { TuiInputMonthComponent, TuiInputMonthDirective, TuiInputMonthModule };
231
- //# sourceMappingURL=taiga-ui-legacy-components-input-month.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-month.mjs","sources":["../../../projects/legacy/components/input-month/input-month.component.ts","../../../projects/legacy/components/input-month/input-month.template.html","../../../projects/legacy/components/input-month/input-month.directive.ts","../../../projects/legacy/components/input-month/input-month.module.ts","../../../projects/legacy/components/input-month/taiga-ui-legacy-components-input-month.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {tuiDateClamp, TuiDay, TuiMonth, type TuiYear} from '@taiga-ui/cdk/date-time';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {TuiMonthPipe} from '@taiga-ui/core/pipes/month';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_INPUT_DATE_OPTIONS, type TuiInputDateOptions} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNullableControl, 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 TUI_MONTH_FORMATTER,\n TUI_MONTH_FORMATTER_PROVIDER,\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-month',\n templateUrl: './input-month.template.html',\n styleUrls: ['./input-month.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputMonthComponent),\n tuiAsControl(TuiInputMonthComponent),\n TUI_MONTH_FORMATTER_PROVIDER,\n TuiMonthPipe,\n ],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputMonthComponent\n extends AbstractTuiNullableControl<TuiMonth>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly options = inject(TUI_INPUT_DATE_OPTIONS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n protected readonly formatter = inject(TUI_MONTH_FORMATTER);\n protected activeYear?: TuiYear;\n\n @Input()\n public min: TuiMonth | null = this.options.min;\n\n @Input()\n public max: TuiMonth | null = this.options.max;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<TuiMonth> = TUI_FALSE_HANDLER;\n\n @Input()\n public defaultActiveYear: TuiYear = TuiDay.currentLocal();\n\n public open = false;\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 onValueChange(value: string): void {\n if (value) {\n return;\n }\n\n this.value = null;\n this.onOpenChange(!this.nativePicker);\n }\n\n public onMonthClick(month: TuiMonth): void {\n this.value = month;\n this.close();\n }\n\n public override setDisabledState(): void {\n super.setDisabledState();\n this.close();\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get computedMin(): TuiMonth {\n return this.min ?? this.options.min;\n }\n\n protected get computedMax(): TuiMonth {\n return this.max ?? this.options.max;\n }\n\n protected get computedDefaultActiveYear(): TuiYear {\n return (\n this.activeYear ||\n this.value ||\n tuiDateClamp(this.defaultActiveYear, this.computedMin, this.computedMax)\n );\n }\n\n protected get calendarIcon(): TuiInputDateOptions['icon'] {\n return this.options.icon;\n }\n\n protected get nativePicker(): boolean {\n return this.isMobile && this.options.nativePicker;\n }\n\n protected get nativePickerMin(): string {\n return this.computedMin.toJSON();\n }\n\n protected get nativePickerMax(): string {\n return this.computedMax.toJSON();\n }\n\n protected get nativeValue(): string {\n return this.value?.toJSON() || '';\n }\n\n protected onNativeChange(value: string): void {\n const [year = 0, month = 0] = value.split('-').map(Number);\n\n this.value = value\n ? tuiDateClamp(\n new TuiMonth(year, month - 1),\n this.computedMin,\n this.computedMax,\n )\n : null;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected onOpenChange(open: boolean): void {\n if (open && this.value) {\n this.activeYear = this.value;\n }\n\n this.open = open;\n }\n\n private close(): void {\n this.open = false;\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive && !nativePicker\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [editable]=\"false\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [value]=\"(value | tuiMapper: formatter | async) || ''\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (nativePicker) {\n <input\n type=\"month\"\n class=\"t-mobile\"\n [max]=\"nativePickerMax\"\n [min]=\"nativePickerMin\"\n [ngModel]=\"nativeValue\"\n [ngModelOptions]=\"{standalone: true}\"\n (click.stop.zoneless)=\"(0)\"\n (mousedown.stop.zoneless)=\"(0)\"\n (ngModelChange)=\"onNativeChange($event)\"\n />\n }\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [value]=\"value\"\n [year]=\"computedDefaultActiveYear\"\n (monthClick)=\"onMonthClick($event)\"\n (mousedown.prevent.zoneless)=\"(0)\"\n (yearChange)=\"activeYear = $event\"\n />\n </ng-template>\n</div>\n","import {Directive, type DoCheck, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {TUI_MONTH_FORMATTER, tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\nimport {distinctUntilChanged, Subject, switchMap} from 'rxjs';\n\nimport {type TuiInputMonthComponent} from './input-month.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-month',\n providers: [tuiAsTextfieldHost(TuiInputMonthDirective)],\n})\nexport class TuiInputMonthDirective\n extends AbstractTuiTextfieldHost<TuiInputMonthComponent>\n implements DoCheck\n{\n private readonly value$ = new Subject<TuiMonth | null>();\n\n private localizedValue = '';\n\n protected readonly $ = this.value$\n .pipe(\n distinctUntilChanged(),\n switchMap(inject(TUI_MONTH_FORMATTER)),\n takeUntilDestroyed(),\n )\n .subscribe((localizedValue) => {\n this.localizedValue = localizedValue;\n });\n\n public override get readOnly(): boolean {\n return true;\n }\n\n public override get value(): string {\n return this.localizedValue;\n }\n\n public ngDoCheck(): void {\n this.value$.next(this.host.value);\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiMapperPipe} from '@taiga-ui/cdk/pipes/mapper';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/legacy/directives';\n\nimport {TuiInputMonthComponent} from './input-month.component';\nimport {TuiInputMonthDirective} from './input-month.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiCalendarMonth,\n TuiPrimitiveTextfieldModule,\n TuiMapperPipe,\n TuiTextfieldControllerModule,\n FormsModule,\n TuiLegacyDropdownOpenMonitorDirective,\n ...TuiDropdown,\n ],\n declarations: [TuiInputMonthComponent, TuiInputMonthDirective],\n exports: [\n TuiInputMonthComponent,\n TuiInputMonthDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiInputMonthModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i5","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA;;;AAGG;AAiBG,MAAO,sBACT,SAAQ,0BAAoC,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