@taiga-ui/kit 4.52.0-canary.d626d20 → 4.52.0-canary.e07790b

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 (967) hide show
  1. package/README.md +1 -1
  2. package/components/accordion/accordion.component.d.ts +13 -0
  3. package/components/accordion/accordion.d.ts +4 -4
  4. package/components/accordion/accordion.directive.d.ts +11 -10
  5. package/components/accordion/index.d.ts +1 -3
  6. package/components/action-bar/action-bar.component.d.ts +5 -7
  7. package/components/action-bar/index.d.ts +0 -2
  8. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  9. package/components/avatar/avatar.directive.d.ts +15 -0
  10. package/components/avatar/avatar.options.d.ts +1 -4
  11. package/components/avatar/index.d.ts +1 -1
  12. package/components/badge/badge.directive.d.ts +2 -2
  13. package/components/badge/badge.options.d.ts +1 -3
  14. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  15. package/components/block/block.directive.d.ts +4 -4
  16. package/components/block/block.options.d.ts +2 -4
  17. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  18. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  19. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  20. package/components/calendar-range/calendar-range.component.d.ts +1 -2
  21. package/components/calendar-range/day-range-period.d.ts +2 -1
  22. package/components/checkbox/checkbox.component.d.ts +7 -18
  23. package/components/checkbox/checkbox.options.d.ts +5 -9
  24. package/components/chip/chip.directive.d.ts +2 -4
  25. package/components/chip/chip.options.d.ts +1 -3
  26. package/components/combo-box/combo-box.d.ts +5 -0
  27. package/components/combo-box/combo-box.directive.d.ts +5 -5
  28. package/components/combo-box/index.d.ts +1 -0
  29. package/components/comment/comment.directive.d.ts +2 -2
  30. package/components/confirm/confirm.component.d.ts +5 -3
  31. package/components/confirm/confirm.service.d.ts +3 -2
  32. package/{directives → components}/copy/copy.component.d.ts +2 -2
  33. package/{directives → components}/copy/copy.directive.d.ts +4 -6
  34. package/{directives → components}/copy/copy.options.d.ts +2 -2
  35. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -2
  36. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  37. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  38. package/components/data-list-wrapper/index.d.ts +1 -1
  39. package/components/files/file/file.options.d.ts +2 -2
  40. package/components/files/files/files.component.d.ts +2 -2
  41. package/components/files/input-files/input-files.options.d.ts +1 -3
  42. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  43. package/components/fullscreen/index.d.ts +1 -0
  44. package/components/index.d.ts +3 -5
  45. package/components/input-chip/input-chip.component.d.ts +9 -8
  46. package/components/input-chip/input-chip.d.ts +5 -1
  47. package/components/input-chip/input-chip.directive.d.ts +7 -12
  48. package/components/input-chip/input-chip.options.d.ts +1 -1
  49. package/components/input-color/index.d.ts +1 -0
  50. package/components/input-color/input-color.component.d.ts +6 -5
  51. package/components/input-color/input-color.d.ts +5 -0
  52. package/components/input-color/input-color.options.d.ts +1 -1
  53. package/components/input-date/input-date.d.ts +4 -1
  54. package/components/input-date/input-date.directive.d.ts +12 -14
  55. package/components/input-date/input-date.options.d.ts +3 -3
  56. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  57. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  58. package/components/input-date-range/input-date-range.d.ts +4 -1
  59. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  60. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  61. package/components/input-date-time/input-date-time.d.ts +4 -1
  62. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  63. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  64. package/components/input-month/input-month.d.ts +4 -1
  65. package/components/input-month/input-month.directive.d.ts +6 -5
  66. package/components/input-month-range/input-month-range.d.ts +4 -1
  67. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  68. package/components/input-number/input-number.d.ts +4 -1
  69. package/components/input-number/input-number.directive.d.ts +7 -11
  70. package/components/input-number/input-number.options.d.ts +1 -1
  71. package/components/input-number/quantum.directive.d.ts +2 -2
  72. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  73. package/components/input-phone/index.d.ts +1 -0
  74. package/components/input-phone/input-phone.d.ts +5 -0
  75. package/components/input-phone/input-phone.directive.d.ts +7 -7
  76. package/components/input-phone/input-phone.options.d.ts +1 -1
  77. package/components/input-phone-international/index.d.ts +1 -0
  78. package/components/input-phone-international/input-phone-international.component.d.ts +26 -32
  79. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  80. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  81. package/components/input-pin/index.d.ts +1 -0
  82. package/components/input-pin/input-pin.component.d.ts +4 -4
  83. package/components/input-pin/input-pin.d.ts +5 -0
  84. package/components/input-range/index.d.ts +0 -1
  85. package/components/input-range/input-range.component.d.ts +11 -14
  86. package/components/input-slider/input-slider.d.ts +4 -1
  87. package/components/input-slider/input-slider.directive.d.ts +3 -5
  88. package/components/input-time/input-time.component.d.ts +1 -3
  89. package/components/input-time/input-time.d.ts +4 -1
  90. package/components/input-time/input-time.directive.d.ts +8 -10
  91. package/components/input-time/input-time.options.d.ts +1 -1
  92. package/components/input-year/input-year.d.ts +4 -1
  93. package/components/input-year/input-year.directive.d.ts +5 -5
  94. package/components/input-year/input-year.options.d.ts +2 -2
  95. package/components/like/like.component.d.ts +4 -11
  96. package/components/like/like.options.d.ts +4 -5
  97. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  98. package/components/line-clamp/line-clamp.component.d.ts +12 -18
  99. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  100. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +6 -8
  101. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  102. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  103. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  104. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  105. package/components/pager/pager.component.d.ts +1 -1
  106. package/components/pagination/index.d.ts +1 -0
  107. package/components/pagination/pagination.component.d.ts +25 -54
  108. package/components/pagination/pagination.options.d.ts +7 -0
  109. package/components/pin/pin.directive.d.ts +2 -2
  110. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  111. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  112. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  113. package/components/preview/index.d.ts +1 -0
  114. package/components/preview/pagination/preview-pagination.component.d.ts +3 -2
  115. package/components/preview/preview.component.d.ts +2 -2
  116. package/components/preview/preview.d.ts +2 -1
  117. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  118. package/components/preview/zoom/preview-zoom.component.d.ts +4 -2
  119. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  120. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  121. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  122. package/components/progress/progress.options.d.ts +1 -3
  123. package/components/push/push-alert.component.d.ts +4 -3
  124. package/components/push/push.component.d.ts +2 -2
  125. package/components/push/push.directive.d.ts +4 -6
  126. package/components/push/push.options.d.ts +5 -8
  127. package/components/push/push.service.d.ts +6 -2
  128. package/components/radio/radio.component.d.ts +8 -9
  129. package/components/radio/radio.directive.d.ts +2 -2
  130. package/components/radio/radio.options.d.ts +2 -5
  131. package/components/radio-list/radio-list.component.d.ts +5 -3
  132. package/components/range/range-change.directive.d.ts +1 -2
  133. package/components/range/range.component.d.ts +16 -24
  134. package/components/rating/rating.component.d.ts +5 -5
  135. package/components/rating/rating.options.d.ts +6 -6
  136. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  137. package/components/segmented/segmented.component.d.ts +8 -12
  138. package/components/segmented/segmented.directive.d.ts +6 -7
  139. package/components/select/native-select/native-select.component.d.ts +7 -8
  140. package/components/select/select.d.ts +4 -1
  141. package/components/select/select.directive.d.ts +4 -3
  142. package/components/slider/helpers/key-steps.d.ts +1 -2
  143. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  144. package/components/slider/slider.options.d.ts +1 -6
  145. package/components/status/status.directive.d.ts +2 -2
  146. package/components/stepper/step.component.d.ts +6 -8
  147. package/components/stepper/stepper.component.d.ts +6 -11
  148. package/components/switch/switch.component.d.ts +8 -19
  149. package/components/switch/switch.options.d.ts +4 -8
  150. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  151. package/components/tabs/tabs.options.d.ts +1 -6
  152. package/components/textarea/index.d.ts +2 -1
  153. package/components/textarea/textarea.component.d.ts +4 -4
  154. package/components/textarea/textarea.d.ts +6 -0
  155. package/components/textarea/textarea.directive.d.ts +13 -0
  156. package/components/textarea/textarea.options.d.ts +1 -1
  157. package/components/toast/index.d.ts +5 -0
  158. package/components/toast/toast.component.d.ts +18 -0
  159. package/components/toast/toast.d.ts +3 -0
  160. package/components/toast/toast.directive.d.ts +7 -0
  161. package/components/toast/toast.options.d.ts +10 -0
  162. package/components/toast/toast.service.d.ts +17 -0
  163. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  164. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +9 -7
  165. package/components/tree/misc/tree.constants.d.ts +0 -3
  166. package/components/tree/misc/tree.tokens.d.ts +1 -6
  167. package/directives/button-close/button-close.directive.d.ts +2 -1
  168. package/directives/button-select/button-select.directive.d.ts +4 -4
  169. package/directives/chevron/chevron.directive.d.ts +2 -3
  170. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  171. package/directives/fade/fade.directive.d.ts +6 -6
  172. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  173. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  174. package/directives/highlight/highlight.directive.d.ts +8 -11
  175. package/directives/index.d.ts +0 -3
  176. package/directives/password/password.directive.d.ts +1 -1
  177. package/directives/password/password.options.d.ts +1 -1
  178. package/directives/present/present.directive.d.ts +2 -3
  179. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  180. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  181. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  182. package/directives/tooltip/tooltip.directive.d.ts +3 -3
  183. package/directives/tooltip/tooltip.options.d.ts +1 -4
  184. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  185. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  186. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -146
  187. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +24 -40
  189. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-avatar.mjs +82 -101
  191. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +7 -12
  193. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-badge.mjs +18 -28
  195. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -9
  197. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-block.mjs +20 -31
  199. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +14 -22
  201. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +7 -8
  203. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +7 -20
  205. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +27 -20
  207. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-carousel.mjs +22 -30
  209. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +18 -76
  211. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-chip.mjs +25 -34
  213. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +43 -33
  215. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
  217. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-compass.mjs +6 -6
  219. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-confirm.mjs +14 -17
  221. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-copy.mjs +113 -0
  223. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  224. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +25 -79
  225. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
  227. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-components-files.mjs +48 -65
  229. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-components-filter.mjs +8 -17
  231. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  233. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  234. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +80 -82
  235. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-components-input-color.mjs +31 -23
  237. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +36 -53
  239. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +31 -36
  241. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +35 -33
  243. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-components-input-date.mjs +53 -57
  245. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +6 -7
  247. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +31 -28
  249. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-components-input-month.mjs +40 -32
  251. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components-input-number.mjs +68 -85
  253. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +123 -142
  255. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +37 -29
  257. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +21 -12
  259. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-components-input-range.mjs +41 -47
  261. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +36 -45
  263. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  264. package/fesm2022/taiga-ui-kit-components-input-time.mjs +66 -72
  265. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-components-input-year.mjs +31 -23
  267. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +18 -20
  269. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  270. package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
  271. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +42 -92
  273. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-components-message.mjs +10 -13
  275. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +56 -65
  277. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +40 -36
  279. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  280. package/fesm2022/taiga-ui-kit-components-pager.mjs +8 -10
  281. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  282. package/fesm2022/taiga-ui-kit-components-pagination.mjs +69 -140
  283. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  284. package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
  285. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  286. package/fesm2022/taiga-ui-kit-components-preview.mjs +75 -57
  287. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  288. package/fesm2022/taiga-ui-kit-components-progress.mjs +78 -83
  289. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  290. package/fesm2022/taiga-ui-kit-components-pulse.mjs +5 -5
  291. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  292. package/fesm2022/taiga-ui-kit-components-push.mjs +50 -58
  293. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  294. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +10 -11
  295. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  296. package/fesm2022/taiga-ui-kit-components-radio.mjs +35 -41
  297. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  298. package/fesm2022/taiga-ui-kit-components-range.mjs +42 -86
  299. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  300. package/fesm2022/taiga-ui-kit-components-rating.mjs +19 -28
  301. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  302. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +13 -9
  303. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  304. package/fesm2022/taiga-ui-kit-components-segmented.mjs +32 -59
  305. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  306. package/fesm2022/taiga-ui-kit-components-select.mjs +85 -65
  307. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  308. package/fesm2022/taiga-ui-kit-components-slider.mjs +77 -86
  309. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  310. package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
  311. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  312. package/fesm2022/taiga-ui-kit-components-stepper.mjs +47 -81
  313. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  314. package/fesm2022/taiga-ui-kit-components-switch.mjs +22 -64
  315. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  316. package/fesm2022/taiga-ui-kit-components-tabs.mjs +39 -52
  317. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  318. package/fesm2022/taiga-ui-kit-components-textarea.mjs +54 -63
  319. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  320. package/fesm2022/taiga-ui-kit-components-tiles.mjs +15 -16
  321. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  322. package/fesm2022/taiga-ui-kit-components-toast.mjs +164 -0
  323. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  324. package/fesm2022/taiga-ui-kit-components-tree.mjs +64 -84
  325. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  326. package/fesm2022/taiga-ui-kit-components.mjs +3 -5
  327. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  328. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +15 -7
  329. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  330. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +10 -13
  331. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  332. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +20 -19
  333. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  334. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +16 -22
  335. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  336. package/fesm2022/taiga-ui-kit-directives-connected.mjs +10 -16
  337. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  338. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -53
  339. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  340. package/fesm2022/taiga-ui-kit-directives-fade.mjs +28 -40
  341. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  342. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +14 -27
  343. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  344. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -25
  345. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  346. package/fesm2022/taiga-ui-kit-directives-password.mjs +14 -16
  347. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  348. package/fesm2022/taiga-ui-kit-directives-present.mjs +8 -13
  349. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  350. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  351. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  352. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  353. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  354. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +28 -38
  355. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  356. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +17 -22
  357. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  358. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +10 -14
  359. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  360. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -15
  361. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  362. package/fesm2022/taiga-ui-kit-directives.mjs +0 -3
  363. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  364. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  365. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  366. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -4
  367. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  368. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -25
  369. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  370. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  371. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  372. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -5
  373. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  374. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  375. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  376. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  377. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  378. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -4
  379. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  380. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
  381. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  382. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -1
  383. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  384. package/fesm2022/taiga-ui-kit-tokens.mjs +5 -103
  385. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  386. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  387. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  388. package/package.json +45 -269
  389. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  390. package/pipes/auto-color/index.d.ts +1 -0
  391. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  392. package/pipes/flag/flag.pipe.d.ts +14 -0
  393. package/pipes/flag/index.d.ts +1 -0
  394. package/pipes/index.d.ts +3 -1
  395. package/pipes/initials/index.d.ts +1 -0
  396. package/pipes/initials/initials.pipe.d.ts +7 -0
  397. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  398. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  399. package/styles/components/avatar.less +188 -0
  400. package/styles/components/badge.less +4 -18
  401. package/styles/components/block.less +1 -1
  402. package/styles/components/checkbox.less +17 -16
  403. package/styles/components/chip.less +13 -4
  404. package/styles/components/like.less +15 -17
  405. package/styles/components/pin.less +3 -7
  406. package/styles/components/radio.less +2 -2
  407. package/styles/components/switch.less +14 -14
  408. package/styles/components/toast.less +44 -0
  409. package/tokens/i18n.d.ts +26 -26
  410. package/tokens/index.d.ts +0 -7
  411. package/utils/index.d.ts +0 -2
  412. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  413. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  414. package/components/accordion/accordion-item.component.d.ts +0 -25
  415. package/components/action-bar/action-bar.d.ts +0 -3
  416. package/components/action-bar/action-bar.directive.d.ts +0 -6
  417. package/components/avatar/avatar.component.d.ts +0 -15
  418. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  419. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  420. package/components/elastic-container/index.d.ts +0 -2
  421. package/components/floating-container/floating-container.directive.d.ts +0 -7
  422. package/components/floating-container/index.d.ts +0 -1
  423. package/components/input-password/index.d.ts +0 -2
  424. package/components/input-password/input-password.component.d.ts +0 -16
  425. package/components/input-password/input-password.options.d.ts +0 -24
  426. package/components/input-range/input-range.d.ts +0 -3
  427. package/components/pdf-viewer/index.d.ts +0 -4
  428. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  429. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  430. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  431. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  432. package/components/slides/index.d.ts +0 -1
  433. package/components/slides/slides.directive.d.ts +0 -11
  434. package/components/textarea/textarea-limit.directive.d.ts +0 -27
  435. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  436. package/directives/icon-badge/index.d.ts +0 -1
  437. package/directives/lazy-loading/index.d.ts +0 -2
  438. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  439. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  440. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  441. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  442. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  443. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  444. package/esm2022/components/accordion/accordion.mjs +0 -11
  445. package/esm2022/components/accordion/index.mjs +0 -6
  446. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  447. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  448. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  449. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  450. package/esm2022/components/action-bar/index.mjs +0 -4
  451. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  452. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  453. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  454. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  455. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  456. package/esm2022/components/avatar/avatar.options.mjs +0 -14
  457. package/esm2022/components/avatar/index.mjs +0 -6
  458. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  459. package/esm2022/components/badge/badge.directive.mjs +0 -42
  460. package/esm2022/components/badge/badge.options.mjs +0 -13
  461. package/esm2022/components/badge/index.mjs +0 -3
  462. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  463. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  464. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  465. package/esm2022/components/badge-notification/index.mjs +0 -3
  466. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  467. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  468. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  469. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  470. package/esm2022/components/badged-content/index.mjs +0 -4
  471. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  472. package/esm2022/components/block/block.directive.mjs +0 -58
  473. package/esm2022/components/block/block.options.mjs +0 -13
  474. package/esm2022/components/block/index.mjs +0 -3
  475. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  476. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  477. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  478. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  479. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  480. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  481. package/esm2022/components/button-loading/index.mjs +0 -2
  482. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  483. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  484. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  485. package/esm2022/components/calendar-month/index.mjs +0 -3
  486. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  487. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  488. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  489. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  490. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  491. package/esm2022/components/calendar-range/index.mjs +0 -5
  492. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  493. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  494. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  495. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  496. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  497. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  498. package/esm2022/components/carousel/carousel.mjs +0 -15
  499. package/esm2022/components/carousel/index.mjs +0 -7
  500. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  501. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  502. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  503. package/esm2022/components/checkbox/index.mjs +0 -3
  504. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  505. package/esm2022/components/chip/chip.directive.mjs +0 -63
  506. package/esm2022/components/chip/chip.options.mjs +0 -13
  507. package/esm2022/components/chip/index.mjs +0 -3
  508. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  509. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  510. package/esm2022/components/combo-box/index.mjs +0 -2
  511. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  512. package/esm2022/components/comment/comment.directive.mjs +0 -35
  513. package/esm2022/components/comment/index.mjs +0 -2
  514. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  515. package/esm2022/components/compass/compass.component.mjs +0 -19
  516. package/esm2022/components/compass/index.mjs +0 -2
  517. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  518. package/esm2022/components/confirm/confirm.component.mjs +0 -28
  519. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  520. package/esm2022/components/confirm/index.mjs +0 -3
  521. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  522. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  523. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  524. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  525. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  526. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  527. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  528. package/esm2022/components/drawer/index.mjs +0 -2
  529. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  530. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  531. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  532. package/esm2022/components/elastic-container/index.mjs +0 -3
  533. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  534. package/esm2022/components/files/file/file.component.mjs +0 -144
  535. package/esm2022/components/files/file/file.options.mjs +0 -16
  536. package/esm2022/components/files/files/files.component.mjs +0 -56
  537. package/esm2022/components/files/files.mjs +0 -15
  538. package/esm2022/components/files/files.types.mjs +0 -2
  539. package/esm2022/components/files/files.utils.mjs +0 -30
  540. package/esm2022/components/files/files.validators.mjs +0 -32
  541. package/esm2022/components/files/index.mjs +0 -13
  542. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  543. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  544. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  545. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  546. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  547. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  548. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  549. package/esm2022/components/filter/filter.component.mjs +0 -65
  550. package/esm2022/components/filter/index.mjs +0 -2
  551. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  552. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  553. package/esm2022/components/floating-container/index.mjs +0 -2
  554. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  555. package/esm2022/components/index.mjs +0 -73
  556. package/esm2022/components/input-chip/index.mjs +0 -5
  557. package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
  558. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
  559. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  560. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  561. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  562. package/esm2022/components/input-color/index.mjs +0 -3
  563. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  564. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  565. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  566. package/esm2022/components/input-date/date-filler.mjs +0 -20
  567. package/esm2022/components/input-date/index.mjs +0 -6
  568. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  569. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  570. package/esm2022/components/input-date/input-date.mjs +0 -9
  571. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  572. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  573. package/esm2022/components/input-date-multi/index.mjs +0 -3
  574. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  575. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  576. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  577. package/esm2022/components/input-date-range/index.mjs +0 -4
  578. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  579. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  580. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  581. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  582. package/esm2022/components/input-date-time/index.mjs +0 -5
  583. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  584. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
  585. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  586. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  587. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  588. package/esm2022/components/input-inline/index.mjs +0 -2
  589. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  590. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  591. package/esm2022/components/input-month/index.mjs +0 -5
  592. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  593. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  594. package/esm2022/components/input-month/input-month.mjs +0 -9
  595. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  596. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  597. package/esm2022/components/input-month-range/index.mjs +0 -4
  598. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  599. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  600. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  601. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  602. package/esm2022/components/input-number/index.mjs +0 -6
  603. package/esm2022/components/input-number/input-number.directive.mjs +0 -196
  604. package/esm2022/components/input-number/input-number.mjs +0 -9
  605. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  606. package/esm2022/components/input-number/quantum.directive.mjs +0 -68
  607. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  608. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  609. package/esm2022/components/input-password/index.mjs +0 -3
  610. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  611. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  612. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  613. package/esm2022/components/input-phone/index.mjs +0 -3
  614. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  615. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  616. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  617. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  618. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  619. package/esm2022/components/input-phone-international/index.mjs +0 -3
  620. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  621. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  622. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  623. package/esm2022/components/input-pin/index.mjs +0 -2
  624. package/esm2022/components/input-pin/input-pin.component.mjs +0 -66
  625. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  626. package/esm2022/components/input-range/index.mjs +0 -3
  627. package/esm2022/components/input-range/input-range.component.mjs +0 -166
  628. package/esm2022/components/input-range/input-range.mjs +0 -4
  629. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  630. package/esm2022/components/input-slider/index.mjs +0 -3
  631. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
  632. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  633. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  634. package/esm2022/components/input-time/index.mjs +0 -5
  635. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  636. package/esm2022/components/input-time/input-time.directive.mjs +0 -159
  637. package/esm2022/components/input-time/input-time.mjs +0 -4
  638. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  639. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  640. package/esm2022/components/input-year/index.mjs +0 -4
  641. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  642. package/esm2022/components/input-year/input-year.mjs +0 -4
  643. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  644. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  645. package/esm2022/components/items-with-more/index.mjs +0 -6
  646. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  647. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  648. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  649. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  650. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  651. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  652. package/esm2022/components/like/index.mjs +0 -3
  653. package/esm2022/components/like/like.component.mjs +0 -46
  654. package/esm2022/components/like/like.options.mjs +0 -10
  655. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  656. package/esm2022/components/line-clamp/index.mjs +0 -4
  657. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  658. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  659. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
  660. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  661. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  662. package/esm2022/components/message/index.mjs +0 -2
  663. package/esm2022/components/message/message.directive.mjs +0 -43
  664. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  665. package/esm2022/components/multi-select/index.mjs +0 -6
  666. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
  667. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  668. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
  669. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  670. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  671. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  672. package/esm2022/components/notification-middle/index.mjs +0 -4
  673. package/esm2022/components/notification-middle/notification-middle.component.mjs +0 -57
  674. package/esm2022/components/notification-middle/notification-middle.directive.mjs +0 -21
  675. package/esm2022/components/notification-middle/notification-middle.service.mjs +0 -22
  676. package/esm2022/components/notification-middle/taiga-ui-kit-components-notification-middle.mjs +0 -5
  677. package/esm2022/components/pager/index.mjs +0 -2
  678. package/esm2022/components/pager/pager.component.mjs +0 -97
  679. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  680. package/esm2022/components/pagination/index.mjs +0 -2
  681. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  682. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  683. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  684. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  685. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  686. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  687. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  688. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  689. package/esm2022/components/pin/index.mjs +0 -2
  690. package/esm2022/components/pin/pin.directive.mjs +0 -35
  691. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  692. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  693. package/esm2022/components/preview/dialog/index.mjs +0 -4
  694. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  695. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  696. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  697. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  698. package/esm2022/components/preview/index.mjs +0 -8
  699. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  700. package/esm2022/components/preview/preview.component.mjs +0 -142
  701. package/esm2022/components/preview/preview.mjs +0 -13
  702. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  703. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  704. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  705. package/esm2022/components/progress/index.mjs +0 -9
  706. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  707. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  708. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  709. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  710. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  711. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  712. package/esm2022/components/progress/progress.mjs +0 -15
  713. package/esm2022/components/progress/progress.options.mjs +0 -13
  714. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  715. package/esm2022/components/pulse/index.mjs +0 -2
  716. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  717. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  718. package/esm2022/components/push/index.mjs +0 -7
  719. package/esm2022/components/push/push-alert.component.mjs +0 -29
  720. package/esm2022/components/push/push.component.mjs +0 -39
  721. package/esm2022/components/push/push.directive.mjs +0 -33
  722. package/esm2022/components/push/push.mjs +0 -5
  723. package/esm2022/components/push/push.options.mjs +0 -21
  724. package/esm2022/components/push/push.service.mjs +0 -19
  725. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  726. package/esm2022/components/radio/index.mjs +0 -5
  727. package/esm2022/components/radio/radio.component.mjs +0 -53
  728. package/esm2022/components/radio/radio.directive.mjs +0 -32
  729. package/esm2022/components/radio/radio.mjs +0 -4
  730. package/esm2022/components/radio/radio.options.mjs +0 -13
  731. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  732. package/esm2022/components/radio-list/index.mjs +0 -2
  733. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  734. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  735. package/esm2022/components/range/index.mjs +0 -3
  736. package/esm2022/components/range/range-change.directive.mjs +0 -78
  737. package/esm2022/components/range/range.component.mjs +0 -164
  738. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  739. package/esm2022/components/rating/index.mjs +0 -3
  740. package/esm2022/components/rating/rating.component.mjs +0 -64
  741. package/esm2022/components/rating/rating.options.mjs +0 -13
  742. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  743. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  744. package/esm2022/components/routable-dialog/index.mjs +0 -3
  745. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  746. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  747. package/esm2022/components/segmented/index.mjs +0 -3
  748. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  749. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  750. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  751. package/esm2022/components/select/index.mjs +0 -5
  752. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  753. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  754. package/esm2022/components/select/select.directive.mjs +0 -56
  755. package/esm2022/components/select/select.mjs +0 -4
  756. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  757. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  758. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  759. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  760. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  761. package/esm2022/components/slider/index.mjs +0 -8
  762. package/esm2022/components/slider/slider.component.mjs +0 -124
  763. package/esm2022/components/slider/slider.mjs +0 -12
  764. package/esm2022/components/slider/slider.options.mjs +0 -16
  765. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  766. package/esm2022/components/slides/index.mjs +0 -2
  767. package/esm2022/components/slides/slides.directive.mjs +0 -51
  768. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  769. package/esm2022/components/status/index.mjs +0 -2
  770. package/esm2022/components/status/status.directive.mjs +0 -35
  771. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  772. package/esm2022/components/stepper/index.mjs +0 -4
  773. package/esm2022/components/stepper/step.component.mjs +0 -58
  774. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  775. package/esm2022/components/stepper/stepper.mjs +0 -4
  776. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  777. package/esm2022/components/switch/index.mjs +0 -3
  778. package/esm2022/components/switch/switch.component.mjs +0 -63
  779. package/esm2022/components/switch/switch.options.mjs +0 -15
  780. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  781. package/esm2022/components/tabs/index.mjs +0 -9
  782. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  783. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  784. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  785. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -213
  786. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  787. package/esm2022/components/tabs/tabs.mjs +0 -15
  788. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  789. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  790. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  791. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  792. package/esm2022/components/textarea/index.mjs +0 -4
  793. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  794. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -93
  795. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  796. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  797. package/esm2022/components/tiles/index.mjs +0 -7
  798. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  799. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  800. package/esm2022/components/tiles/tile.component.mjs +0 -69
  801. package/esm2022/components/tiles/tile.service.mjs +0 -90
  802. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  803. package/esm2022/components/tiles/tiles.mjs +0 -5
  804. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  805. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  806. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  807. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  808. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  809. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  810. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  811. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  812. package/esm2022/components/tree/index.mjs +0 -12
  813. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  814. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  815. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  816. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  817. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  818. package/esm2022/components/tree/tree.mjs +0 -17
  819. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  820. package/esm2022/directives/button-close/index.mjs +0 -2
  821. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  822. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  823. package/esm2022/directives/button-group/index.mjs +0 -2
  824. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  825. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  826. package/esm2022/directives/button-select/index.mjs +0 -2
  827. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  828. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  829. package/esm2022/directives/chevron/index.mjs +0 -2
  830. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  831. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  832. package/esm2022/directives/connected/index.mjs +0 -2
  833. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  834. package/esm2022/directives/copy/copy.component.mjs +0 -48
  835. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  836. package/esm2022/directives/copy/copy.mjs +0 -4
  837. package/esm2022/directives/copy/copy.options.mjs +0 -3
  838. package/esm2022/directives/copy/index.mjs +0 -6
  839. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  840. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  841. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  842. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  843. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  844. package/esm2022/directives/fade/index.mjs +0 -2
  845. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  846. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  847. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  848. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  849. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  850. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  851. package/esm2022/directives/highlight/index.mjs +0 -2
  852. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  853. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  854. package/esm2022/directives/icon-badge/index.mjs +0 -2
  855. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  856. package/esm2022/directives/index.mjs +0 -21
  857. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  858. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  859. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  860. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  861. package/esm2022/directives/password/index.mjs +0 -3
  862. package/esm2022/directives/password/password.directive.mjs +0 -67
  863. package/esm2022/directives/password/password.options.mjs +0 -8
  864. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  865. package/esm2022/directives/present/index.mjs +0 -2
  866. package/esm2022/directives/present/present.directive.mjs +0 -33
  867. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  868. package/esm2022/directives/sensitive/index.mjs +0 -2
  869. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  870. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  871. package/esm2022/directives/shimmer/index.mjs +0 -2
  872. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  873. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  874. package/esm2022/directives/skeleton/index.mjs +0 -2
  875. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  876. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  877. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  878. package/esm2022/directives/tooltip/index.mjs +0 -3
  879. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  880. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  881. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  882. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  883. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  884. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  885. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  886. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  887. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  888. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  889. package/esm2022/index.mjs +0 -6
  890. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  891. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  892. package/esm2022/pipes/emails/index.mjs +0 -3
  893. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  894. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  895. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  896. package/esm2022/pipes/field-error/index.mjs +0 -3
  897. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  898. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  899. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  900. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  901. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  902. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  903. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  904. package/esm2022/pipes/index.mjs +0 -8
  905. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  906. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  907. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  908. package/esm2022/pipes/stringify/index.mjs +0 -2
  909. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  910. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  911. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  912. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  913. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  914. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  915. package/esm2022/taiga-ui-kit.mjs +0 -5
  916. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  917. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  918. package/esm2022/tokens/i18n.mjs +0 -75
  919. package/esm2022/tokens/index.mjs +0 -10
  920. package/esm2022/tokens/input-date-options.mjs +0 -13
  921. package/esm2022/tokens/items-handlers.mjs +0 -27
  922. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  923. package/esm2022/tokens/month-formatter.mjs +0 -12
  924. package/esm2022/tokens/preview-icons.mjs +0 -17
  925. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  926. package/esm2022/tokens/validation-errors.mjs +0 -6
  927. package/esm2022/utils/create-time-periods.mjs +0 -12
  928. package/esm2022/utils/index.mjs +0 -7
  929. package/esm2022/utils/inject-value.mjs +0 -11
  930. package/esm2022/utils/is-flat.mjs +0 -4
  931. package/esm2022/utils/maskito.binding.mjs +0 -6
  932. package/esm2022/utils/phone.mjs +0 -6
  933. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  934. package/esm2022/utils/toggle-day.mjs +0 -6
  935. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -78
  936. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  937. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -43
  938. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  939. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -96
  940. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  941. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  942. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  943. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  944. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  945. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -57
  946. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  947. package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -120
  948. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  949. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  950. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  951. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -82
  952. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  953. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  954. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  955. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  956. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  957. package/pipes/field-error/index.d.ts +0 -2
  958. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  959. package/tokens/input-date-options.d.ts +0 -15
  960. package/tokens/items-handlers.d.ts +0 -26
  961. package/tokens/mobile-calendar.d.ts +0 -6
  962. package/tokens/month-formatter.d.ts +0 -5
  963. package/tokens/validation-errors.d.ts +0 -5
  964. package/utils/phone.d.ts +0 -3
  965. package/utils/toggle-day.d.ts +0 -2
  966. /package/{directives → components}/copy/copy.d.ts +0 -0
  967. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -1,17 +1,19 @@
1
+ import { TuiLabel } from '@taiga-ui/core/components/label';
2
+ import * as i2 from '@taiga-ui/core/components/textfield';
3
+ import { tuiInjectAuxiliary, tuiTextfieldIcon, TuiSelectLike, TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
4
+ import { TuiDropdownContent } from '@taiga-ui/core/portals';
1
5
  import { TuiCalendarMonth } from '@taiga-ui/kit/components/calendar-month';
2
6
  import * as i0 from '@angular/core';
3
7
  import { InjectionToken, inject, signal, effect, Directive } from '@angular/core';
4
- import { toSignal } from '@angular/core/rxjs-interop';
5
8
  import { TUI_IDENTITY_VALUE_TRANSFORMER, TuiControl, tuiAsControl, tuiValueTransformerFrom } from '@taiga-ui/cdk/classes';
6
- import { TUI_ALLOW_SIGNAL_WRITES } from '@taiga-ui/cdk/constants';
7
9
  import { RANGE_SEPARATOR_CHAR, TuiMonthRange } from '@taiga-ui/cdk/date-time';
8
- import * as i1 from '@taiga-ui/core/components/textfield';
9
- import { TuiTextfieldDirective, tuiInjectAuxiliary, tuiTextfieldIconBinding, TuiWithTextfield, TuiSelectLike } from '@taiga-ui/core/components/textfield';
10
- import * as i2 from '@taiga-ui/core/directives/dropdown';
11
- import { tuiDropdownOpen, tuiDropdownEnabled, TuiDropdownAuto } from '@taiga-ui/core/directives/dropdown';
12
- import { TUI_MONTH_FORMATTER } from '@taiga-ui/kit/tokens';
13
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
14
- import { TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW } from '@taiga-ui/kit/components/input-date';
10
+ import * as i1 from '@taiga-ui/core/components/input';
11
+ import { TuiInputDirective, TuiWithInput } from '@taiga-ui/core/components/input';
12
+ import * as i3 from '@taiga-ui/core/portals/dropdown';
13
+ import { TuiDropdownOpen, tuiDropdownEnabled, TuiDropdownAuto } from '@taiga-ui/core/portals/dropdown';
14
+ import { TUI_MONTHS } from '@taiga-ui/core/tokens';
15
+ import { tuiProvideOptions } from '@taiga-ui/cdk/utils/di';
16
+ import { TUI_INPUT_DATE_DEFAULT_OPTIONS } from '@taiga-ui/kit/components/input-date';
15
17
  import { TUI_INPUT_MONTH_OPTIONS } from '@taiga-ui/kit/components/input-month';
16
18
 
17
19
  const TUI_INPUT_MONTH_RANGE_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_MONTH_RANGE_OPTIONS' : '', {
@@ -20,26 +22,24 @@ const TUI_INPUT_MONTH_RANGE_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_
20
22
  valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,
21
23
  }),
22
24
  });
23
- const tuiInputMonthRangeOptionsProvider = (options) => tuiProvideOptions(TUI_INPUT_MONTH_RANGE_OPTIONS, options, TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW);
25
+ const tuiInputMonthRangeOptionsProvider = (options) => tuiProvideOptions(TUI_INPUT_MONTH_RANGE_OPTIONS, options, TUI_INPUT_DATE_DEFAULT_OPTIONS);
24
26
 
25
27
  class TuiInputMonthRangeDirective extends TuiControl {
26
28
  constructor() {
27
29
  super(...arguments);
28
- this.textfield = inject(TuiTextfieldDirective);
29
- this.formatter = toSignal(inject(TUI_MONTH_FORMATTER));
30
- this.open = tuiDropdownOpen();
30
+ this.input = inject(TuiInputDirective);
31
+ this.months = inject(TUI_MONTHS);
32
+ this.open = inject(TuiDropdownOpen).open;
31
33
  this.intermediateValue = signal(null);
32
34
  this.calendar = tuiInjectAuxiliary((x) => x instanceof TuiCalendarMonth);
33
- this.icon = tuiTextfieldIconBinding(TUI_INPUT_MONTH_RANGE_OPTIONS);
35
+ this.icon = tuiTextfieldIcon(TUI_INPUT_MONTH_RANGE_OPTIONS);
34
36
  this.dropdownEnabled = tuiDropdownEnabled(this.interactive);
35
37
  this.valueEffect = effect(() => {
36
38
  const value = this.value();
37
- const format = this.formatter() || (() => '');
38
- const string = value
39
- ? format(value.from) + RANGE_SEPARATOR_CHAR + format(value.to)
40
- : '';
41
- this.textfield.value.set(string);
42
- }, TUI_ALLOW_SIGNAL_WRITES);
39
+ const months = this.months();
40
+ const format = ({ month, formattedYear }) => `${months[month] ?? ''} ${formattedYear}`;
41
+ this.input.value.set(value ? format(value.from) + RANGE_SEPARATOR_CHAR + format(value.to) : '');
42
+ });
43
43
  this.calendarInit = effect(() => {
44
44
  const calendar = this.calendar();
45
45
  if (calendar) {
@@ -48,11 +48,11 @@ class TuiInputMonthRangeDirective extends TuiControl {
48
48
  });
49
49
  this.calendarSync = effect(() => {
50
50
  this.calendar()?.value.set(this.intermediateValue() ?? this.value());
51
- }, TUI_ALLOW_SIGNAL_WRITES);
51
+ });
52
52
  // TODO: use linked signal (Angular 19+)
53
53
  this.resetIntermediateValue = effect(() => {
54
54
  this.intermediateValue.set(this.value() && null);
55
- }, TUI_ALLOW_SIGNAL_WRITES);
55
+ });
56
56
  this.onMonthClickEffect = effect((onCleanup) => {
57
57
  const subscription = this.calendar()?.monthClick.subscribe((month) => {
58
58
  const intermediateValue = this.intermediateValue();
@@ -71,22 +71,21 @@ class TuiInputMonthRangeDirective extends TuiControl {
71
71
  this.onChange(null);
72
72
  this.open.set(true);
73
73
  }
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputMonthRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
75
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputMonthRangeDirective, isStandalone: true, selector: "input[tuiInputMonthRange]", host: { listeners: { "input": "$event.inputType?.includes(\"delete\") && clear()" }, properties: { "disabled": "disabled()" } }, providers: [
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInputMonthRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
75
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: TuiInputMonthRangeDirective, isStandalone: true, selector: "input[tuiInputMonthRange]", host: { listeners: { "input": "$event.inputType?.includes(\"delete\") && clear()" }, properties: { "disabled": "disabled()" } }, providers: [
76
76
  tuiAsControl(TuiInputMonthRangeDirective),
77
77
  tuiValueTransformerFrom(TUI_INPUT_MONTH_RANGE_OPTIONS),
78
- ], usesInheritance: true, hostDirectives: [{ directive: i1.TuiWithTextfield }, { directive: i1.TuiSelectLike }, { directive: i2.TuiDropdownAuto }], ngImport: i0 }); }
78
+ ], usesInheritance: true, hostDirectives: [{ directive: i1.TuiWithInput }, { directive: i2.TuiSelectLike }, { directive: i3.TuiDropdownAuto }], ngImport: i0 }); }
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputMonthRangeDirective, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInputMonthRangeDirective, decorators: [{
81
81
  type: Directive,
82
82
  args: [{
83
- standalone: true,
84
83
  selector: 'input[tuiInputMonthRange]',
85
84
  providers: [
86
85
  tuiAsControl(TuiInputMonthRangeDirective),
87
86
  tuiValueTransformerFrom(TUI_INPUT_MONTH_RANGE_OPTIONS),
88
87
  ],
89
- hostDirectives: [TuiWithTextfield, TuiSelectLike, TuiDropdownAuto],
88
+ hostDirectives: [TuiWithInput, TuiSelectLike, TuiDropdownAuto],
90
89
  host: {
91
90
  '[disabled]': 'disabled()',
92
91
  '(input)': '$event.inputType?.includes("delete") && clear()',
@@ -97,6 +96,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
97
96
  const TuiInputMonthRange = [
98
97
  TuiInputMonthRangeDirective,
99
98
  TuiCalendarMonth,
99
+ TuiLabel,
100
+ TuiTextfieldComponent,
101
+ TuiTextfieldOptionsDirective,
102
+ TuiDropdownContent,
100
103
  ];
101
104
 
102
105
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-month-range.mjs","sources":["../../../projects/kit/components/input-month-range/input-month-range.options.ts","../../../projects/kit/components/input-month-range/input-month-range.directive.ts","../../../projects/kit/components/input-month-range/input-month-range.ts","../../../projects/kit/components/input-month-range/taiga-ui-kit-components-input-month-range.ts"],"sourcesContent":["import {type FactoryProvider, inject, InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiMonthRange} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW} from '@taiga-ui/kit/components/input-date';\nimport {TUI_INPUT_MONTH_OPTIONS} from '@taiga-ui/kit/components/input-month';\n\nexport interface TuiInputMonthRangeOptions {\n readonly icon: TuiHandler<TuiSizeL | TuiSizeS, string>;\n readonly valueTransformer: TuiValueTransformer<TuiMonthRange | null, any>;\n}\n\nexport const TUI_INPUT_MONTH_RANGE_OPTIONS =\n new InjectionToken<TuiInputMonthRangeOptions>(\n ngDevMode ? 'TUI_INPUT_MONTH_RANGE_OPTIONS' : '',\n {\n factory: () => ({\n ...inject(TUI_INPUT_MONTH_OPTIONS),\n valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,\n }),\n },\n );\n\nexport const tuiInputMonthRangeOptionsProvider = (\n options: Partial<TuiInputMonthRangeOptions>,\n): FactoryProvider =>\n tuiProvideOptions(\n TUI_INPUT_MONTH_RANGE_OPTIONS,\n options,\n TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW,\n );\n","import {Directive, effect, inject, signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiAsControl, TuiControl, tuiValueTransformerFrom} from '@taiga-ui/cdk/classes';\nimport {TUI_ALLOW_SIGNAL_WRITES} from '@taiga-ui/cdk/constants';\nimport {\n RANGE_SEPARATOR_CHAR,\n type TuiMonth,\n TuiMonthRange,\n} from '@taiga-ui/cdk/date-time';\nimport {\n tuiInjectAuxiliary,\n TuiSelectLike,\n TuiTextfieldDirective,\n tuiTextfieldIconBinding,\n TuiWithTextfield,\n} from '@taiga-ui/core/components/textfield';\nimport {\n TuiDropdownAuto,\n tuiDropdownEnabled,\n tuiDropdownOpen,\n} from '@taiga-ui/core/directives/dropdown';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\nimport {TUI_MONTH_FORMATTER} from '@taiga-ui/kit/tokens';\n\nimport {TUI_INPUT_MONTH_RANGE_OPTIONS} from './input-month-range.options';\n\n@Directive({\n standalone: true,\n selector: 'input[tuiInputMonthRange]',\n providers: [\n tuiAsControl(TuiInputMonthRangeDirective),\n tuiValueTransformerFrom(TUI_INPUT_MONTH_RANGE_OPTIONS),\n ],\n hostDirectives: [TuiWithTextfield, TuiSelectLike, TuiDropdownAuto],\n host: {\n '[disabled]': 'disabled()',\n '(input)': '$event.inputType?.includes(\"delete\") && clear()',\n },\n})\nexport class TuiInputMonthRangeDirective extends TuiControl<TuiMonthRange | null> {\n private readonly textfield = inject(TuiTextfieldDirective);\n private readonly formatter = toSignal(inject(TUI_MONTH_FORMATTER));\n private readonly open = tuiDropdownOpen();\n private readonly intermediateValue = signal<TuiMonth | null>(null);\n\n private readonly calendar = tuiInjectAuxiliary<TuiCalendarMonth>(\n (x) => x instanceof TuiCalendarMonth,\n );\n\n protected readonly icon = tuiTextfieldIconBinding(TUI_INPUT_MONTH_RANGE_OPTIONS);\n protected readonly dropdownEnabled = tuiDropdownEnabled(this.interactive);\n\n protected readonly valueEffect = effect(() => {\n const value = this.value();\n const format = this.formatter() || (() => '');\n const string = value\n ? format(value.from) + RANGE_SEPARATOR_CHAR + format(value.to)\n : '';\n\n this.textfield.value.set(string);\n }, TUI_ALLOW_SIGNAL_WRITES);\n\n protected readonly calendarInit = effect(() => {\n const calendar = this.calendar();\n\n if (calendar) {\n calendar.options.rangeMode = true;\n }\n });\n\n protected readonly calendarSync = effect(() => {\n this.calendar()?.value.set(this.intermediateValue() ?? this.value());\n }, TUI_ALLOW_SIGNAL_WRITES);\n\n // TODO: use linked signal (Angular 19+)\n protected readonly resetIntermediateValue = effect(() => {\n this.intermediateValue.set(this.value() && null);\n }, TUI_ALLOW_SIGNAL_WRITES);\n\n protected onMonthClickEffect = effect((onCleanup) => {\n const subscription = this.calendar()?.monthClick.subscribe((month) => {\n const intermediateValue = this.intermediateValue();\n\n if (!intermediateValue) {\n this.intermediateValue.set(month);\n } else {\n this.onChange(TuiMonthRange.sort(intermediateValue, month));\n this.open.set(false);\n }\n });\n\n onCleanup(() => subscription?.unsubscribe());\n });\n\n protected clear(): void {\n this.onChange(null);\n this.open.set(true);\n }\n}\n","import {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\n\nimport {TuiInputMonthRangeDirective} from './input-month-range.directive';\n\nexport const TuiInputMonthRange = [\n TuiInputMonthRangeDirective,\n TuiCalendarMonth,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAiBa,MAAA,6BAA6B,GACtC,IAAI,cAAc,CACd,SAAS,GAAG,+BAA+B,GAAG,EAAE,EAChD;AACI,IAAA,OAAO,EAAE,OAAO;QACZ,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAClC,QAAA,gBAAgB,EAAE,8BAA8B;KACnD,CAAC;AACL,CAAA,EACH;AAEO,MAAA,iCAAiC,GAAG,CAC7C,OAA2C,KAE3C,iBAAiB,CACb,6BAA6B,EAC7B,OAAO,EACP,kCAAkC;;ACR1C,MAaa,2BAA4B,SAAQ,UAAgC,CAAA;AAbjF,IAAA,WAAA,GAAA;;AAcqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;QAC1C,IAAS,CAAA,SAAA,GAAG,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC;QAClD,IAAI,CAAA,IAAA,GAAG,eAAe,EAAE,CAAC;AACzB,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;AAElD,QAAA,IAAA,CAAA,QAAQ,GAAG,kBAAkB,CAC1C,CAAC,CAAC,KAAK,CAAC,YAAY,gBAAgB,CACvC,CAAC;AAEiB,QAAA,IAAA,CAAA,IAAI,GAAG,uBAAuB,CAAC,6BAA6B,CAAC,CAAC;AAC9D,QAAA,IAAA,CAAA,eAAe,GAAG,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAEvD,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,MAAK;AACzC,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAA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EAAA,EAAA,CAAA,aAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,eAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAOQ,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAbvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,SAAS,EAAE;AACP,wBAAA,YAAY,CAA6B,2BAAA,CAAA;wBACzC,uBAAuB,CAAC,6BAA6B,CAAC;AACzD,qBAAA;AACD,oBAAA,cAAc,EAAE,CAAC,gBAAgB,EAAE,aAAa,EAAE,eAAe,CAAC;AAClE,oBAAA,IAAI,EAAE;AACF,wBAAA,YAAY,EAAE,YAAY;AAC1B,wBAAA,SAAS,EAAE,iDAAiD;AAC/D,qBAAA;AACJ,iBAAA,CAAA;;;AClCY,MAAA,kBAAkB,GAAG;IAC9B,2BAA2B;IAC3B,gBAAgB;;;ACNpB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-month-range.mjs","sources":["../../../projects/kit/components/input-month-range/input-month-range.options.ts","../../../projects/kit/components/input-month-range/input-month-range.directive.ts","../../../projects/kit/components/input-month-range/input-month-range.ts","../../../projects/kit/components/input-month-range/taiga-ui-kit-components-input-month-range.ts"],"sourcesContent":["import {type FactoryProvider, inject, InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiMonthRange} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_INPUT_DATE_DEFAULT_OPTIONS} from '@taiga-ui/kit/components/input-date';\nimport {TUI_INPUT_MONTH_OPTIONS} from '@taiga-ui/kit/components/input-month';\n\nexport interface TuiInputMonthRangeOptions {\n readonly icon: TuiHandler<TuiSizeL | TuiSizeS, string>;\n readonly valueTransformer: TuiValueTransformer<TuiMonthRange | null, any>;\n}\n\nexport const TUI_INPUT_MONTH_RANGE_OPTIONS =\n new InjectionToken<TuiInputMonthRangeOptions>(\n ngDevMode ? 'TUI_INPUT_MONTH_RANGE_OPTIONS' : '',\n {\n factory: () => ({\n ...inject(TUI_INPUT_MONTH_OPTIONS),\n valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,\n }),\n },\n );\n\nexport const tuiInputMonthRangeOptionsProvider = (\n options: Partial<TuiInputMonthRangeOptions>,\n): FactoryProvider =>\n tuiProvideOptions(\n TUI_INPUT_MONTH_RANGE_OPTIONS,\n options,\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n );\n","import {Directive, effect, inject, signal} from '@angular/core';\nimport {tuiAsControl, TuiControl, tuiValueTransformerFrom} from '@taiga-ui/cdk/classes';\nimport {\n RANGE_SEPARATOR_CHAR,\n type TuiMonth,\n TuiMonthRange,\n} from '@taiga-ui/cdk/date-time';\nimport {TuiInputDirective, TuiWithInput} from '@taiga-ui/core/components/input';\nimport {\n tuiInjectAuxiliary,\n TuiSelectLike,\n tuiTextfieldIcon,\n} from '@taiga-ui/core/components/textfield';\nimport {\n TuiDropdownAuto,\n tuiDropdownEnabled,\n TuiDropdownOpen,\n} from '@taiga-ui/core/portals/dropdown';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\n\nimport {TUI_INPUT_MONTH_RANGE_OPTIONS} from './input-month-range.options';\n\n@Directive({\n selector: 'input[tuiInputMonthRange]',\n providers: [\n tuiAsControl(TuiInputMonthRangeDirective),\n tuiValueTransformerFrom(TUI_INPUT_MONTH_RANGE_OPTIONS),\n ],\n hostDirectives: [TuiWithInput, TuiSelectLike, TuiDropdownAuto],\n host: {\n '[disabled]': 'disabled()',\n '(input)': '$event.inputType?.includes(\"delete\") && clear()',\n },\n})\nexport class TuiInputMonthRangeDirective extends TuiControl<TuiMonthRange | null> {\n private readonly input = inject(TuiInputDirective);\n private readonly months = inject(TUI_MONTHS);\n private readonly open = inject(TuiDropdownOpen).open;\n private readonly intermediateValue = signal<TuiMonth | null>(null);\n private readonly calendar = tuiInjectAuxiliary<TuiCalendarMonth>(\n (x) => x instanceof TuiCalendarMonth,\n );\n\n protected readonly icon = tuiTextfieldIcon(TUI_INPUT_MONTH_RANGE_OPTIONS);\n protected readonly dropdownEnabled = tuiDropdownEnabled(this.interactive);\n protected readonly valueEffect = effect(() => {\n const value = this.value();\n const months = this.months();\n const format = ({month, formattedYear}: TuiMonth): string =>\n `${months[month] ?? ''} ${formattedYear}`;\n\n this.input.value.set(\n value ? format(value.from) + RANGE_SEPARATOR_CHAR + format(value.to) : '',\n );\n });\n\n protected readonly calendarInit = effect(() => {\n const calendar = this.calendar();\n\n if (calendar) {\n calendar.options.rangeMode = true;\n }\n });\n\n protected readonly calendarSync = effect(() => {\n this.calendar()?.value.set(this.intermediateValue() ?? this.value());\n });\n\n // TODO: use linked signal (Angular 19+)\n protected readonly resetIntermediateValue = effect(() => {\n this.intermediateValue.set(this.value() && null);\n });\n\n protected onMonthClickEffect = effect((onCleanup) => {\n const subscription = this.calendar()?.monthClick.subscribe((month) => {\n const intermediateValue = this.intermediateValue();\n\n if (!intermediateValue) {\n this.intermediateValue.set(month);\n } else {\n this.onChange(TuiMonthRange.sort(intermediateValue, month));\n this.open.set(false);\n }\n });\n\n onCleanup(() => subscription?.unsubscribe());\n });\n\n protected clear(): void {\n this.onChange(null);\n this.open.set(true);\n }\n}\n","import {TuiLabel} from '@taiga-ui/core/components/label';\nimport {\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n} from '@taiga-ui/core/components/textfield';\nimport {TuiDropdownContent} from '@taiga-ui/core/portals';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\n\nimport {TuiInputMonthRangeDirective} from './input-month-range.directive';\n\nexport const TuiInputMonthRange = [\n TuiInputMonthRangeDirective,\n TuiCalendarMonth,\n TuiLabel,\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n TuiDropdownContent,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiBa,MAAA,6BAA6B,GACtC,IAAI,cAAc,CACd,SAAS,GAAG,+BAA+B,GAAG,EAAE,EAChD;AACI,IAAA,OAAO,EAAE,OAAO;QACZ,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAClC,QAAA,gBAAgB,EAAE,8BAA8B;KACnD,CAAC;AACL,CAAA;AAGI,MAAA,iCAAiC,GAAG,CAC7C,OAA2C,KAE3C,iBAAiB,CACb,6BAA6B,EAC7B,OAAO,EACP,8BAA8B;;ACChC,MAAO,2BAA4B,SAAQ,UAAgC,CAAA;AAZjF,IAAA,WAAA,GAAA;;AAaqB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,iBAAiB,CAAC;AACjC,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC,IAAI;AACnC,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAkB,IAAI,CAAC;AACjD,QAAA,IAAA,CAAA,QAAQ,GAAG,kBAAkB,CAC1C,CAAC,CAAC,KAAK,CAAC,YAAY,gBAAgB,CACvC;AAEkB,QAAA,IAAA,CAAA,IAAI,GAAG,gBAAgB,CAAC,6BAA6B,CAAC;AACtD,QAAA,IAAA,CAAA,eAAe,GAAG,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC;AACtD,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,MAAK;AACzC,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,K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AA,EAAA,CAAA,CAAA;;4FAOQ,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAZvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,SAAS,EAAE;AACP,wBAAA,YAAY,CAA6B,2BAAA,CAAA;wBACzC,uBAAuB,CAAC,6BAA6B,CAAC;AACzD,qBAAA;AACD,oBAAA,cAAc,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,eAAe,CAAC;AAC9D,oBAAA,IAAI,EAAE;AACF,wBAAA,YAAY,EAAE,YAAY;AAC1B,wBAAA,SAAS,EAAE,iDAAiD;AAC/D,qBAAA;AACJ,iBAAA;;;ACxBY,MAAA,kBAAkB,GAAG;IAC9B,2BAA2B;IAC3B,gBAAgB;IAChB,QAAQ;IACR,qBAAqB;IACrB,4BAA4B;IAC5B,kBAAkB;;;AChBtB;;AAEG;;;;"}
@@ -1,19 +1,20 @@
1
+ import { TuiLabel } from '@taiga-ui/core/components/label';
2
+ import * as i2 from '@taiga-ui/core/components/textfield';
3
+ import { tuiTextfieldIcon, tuiInjectAuxiliary, TuiWithNativePicker, TuiSelectLike, TuiTextfieldContent, TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
4
+ import { TuiDropdownContent } from '@taiga-ui/core/portals';
1
5
  import { TuiCalendarMonth } from '@taiga-ui/kit/components/calendar-month';
2
- import { NgIf } from '@angular/common';
3
6
  import * as i0 from '@angular/core';
4
- import { InjectionToken, inject, computed, effect, Directive, signal, Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
5
- import { TUI_ALLOW_SIGNAL_WRITES } from '@taiga-ui/cdk/constants';
7
+ import { InjectionToken, inject, computed, effect, Directive, signal, Input, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
6
8
  import { TUI_FIRST_DAY, TUI_LAST_DAY, TuiMonth } from '@taiga-ui/cdk/date-time';
7
- import * as i1 from '@taiga-ui/core/components/textfield';
8
- import { TuiTextfieldDirective, tuiTextfieldIconBinding, tuiInjectAuxiliary, TuiWithNativePicker, TuiWithTextfield, TuiSelectLike, TuiTextfieldContent } from '@taiga-ui/core/components/textfield';
9
- import { toSignal } from '@angular/core/rxjs-interop';
10
9
  import { TUI_IDENTITY_VALUE_TRANSFORMER, TuiControl, tuiAsControl, tuiValueTransformerFrom } from '@taiga-ui/cdk/classes';
11
10
  import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
12
- import * as i2 from '@taiga-ui/core/directives/dropdown';
13
- import { tuiDropdownOpen, tuiDropdownEnabled, TuiDropdownAuto } from '@taiga-ui/core/directives/dropdown';
14
- import { TUI_MONTH_FORMATTER } from '@taiga-ui/kit/tokens';
15
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
16
- import { TUI_INPUT_DATE_OPTIONS_NEW, TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW } from '@taiga-ui/kit/components/input-date';
11
+ import * as i1 from '@taiga-ui/core/components/input';
12
+ import { TuiInputDirective, TuiWithInput } from '@taiga-ui/core/components/input';
13
+ import * as i3 from '@taiga-ui/core/portals/dropdown';
14
+ import { TuiDropdownOpen, tuiDropdownEnabled, TuiDropdownAuto } from '@taiga-ui/core/portals/dropdown';
15
+ import { TUI_MONTHS } from '@taiga-ui/core/tokens';
16
+ import { tuiProvideOptions } from '@taiga-ui/cdk/utils/di';
17
+ import { TUI_INPUT_DATE_OPTIONS, TUI_INPUT_DATE_DEFAULT_OPTIONS } from '@taiga-ui/kit/components/input-date';
17
18
 
18
19
  /**
19
20
  * @deprecated remove in v5
@@ -24,26 +25,30 @@ const TUI_INPUT_MONTH_DEFAULT_OPTIONS = {
24
25
  };
25
26
  const TUI_INPUT_MONTH_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_MONTH_OPTIONS' : '', {
26
27
  factory: () => ({
27
- ...inject(TUI_INPUT_DATE_OPTIONS_NEW),
28
+ ...inject(TUI_INPUT_DATE_OPTIONS),
28
29
  valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,
29
30
  }),
30
31
  });
31
- const tuiInputMonthOptionsProvider = (options) => tuiProvideOptions(TUI_INPUT_MONTH_OPTIONS, options, TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW);
32
+ const tuiInputMonthOptionsProvider = (options) => tuiProvideOptions(TUI_INPUT_MONTH_OPTIONS, options, TUI_INPUT_DATE_DEFAULT_OPTIONS);
32
33
 
33
34
  class TuiInputMonthDirective extends TuiControl {
34
35
  constructor() {
35
36
  super(...arguments);
36
- this.textfield = inject(TuiTextfieldDirective);
37
- this.formatter = toSignal(inject(TUI_MONTH_FORMATTER));
38
- this.open = tuiDropdownOpen();
39
- this.icon = tuiTextfieldIconBinding(TUI_INPUT_MONTH_OPTIONS);
37
+ this.input = inject(TuiInputDirective);
38
+ this.months = inject(TUI_MONTHS);
39
+ this.open = inject(TuiDropdownOpen).open;
40
+ this.icon = tuiTextfieldIcon(TUI_INPUT_MONTH_OPTIONS);
40
41
  this.dropdownEnabled = tuiDropdownEnabled(computed(() => !this.native && this.interactive()));
41
42
  this.valueEffect = effect(() => {
42
- this.textfield.value.set(this.formatter()?.(this.value()) || '');
43
- }, TUI_ALLOW_SIGNAL_WRITES);
43
+ const value = this.value();
44
+ const formatted = value
45
+ ? `${this.months()[value.month] ?? ''} ${value.formattedYear}`
46
+ : '';
47
+ this.input.value.set(formatted);
48
+ });
44
49
  this.calendarIn = effect(() => {
45
50
  this.calendar()?.value.set(this.value());
46
- }, TUI_ALLOW_SIGNAL_WRITES);
51
+ });
47
52
  this.calendarOut = effect((onCleanup) => {
48
53
  const subscription = this.calendar()?.monthClick.subscribe((month) => {
49
54
  this.onChange(month);
@@ -58,22 +63,21 @@ class TuiInputMonthDirective extends TuiControl {
58
63
  this.onChange(null);
59
64
  this.open.set(this.dropdownEnabled());
60
65
  }
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputMonthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
62
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputMonthDirective, isStandalone: true, selector: "input[tuiInputMonth]", host: { listeners: { "input": "$event.inputType?.includes(\"delete\") && clear()" }, properties: { "disabled": "disabled()" } }, providers: [
66
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInputMonthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
67
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: TuiInputMonthDirective, isStandalone: true, selector: "input[tuiInputMonth]", host: { listeners: { "input": "$event.inputType?.includes(\"delete\") && clear()" }, properties: { "disabled": "disabled()" } }, providers: [
63
68
  tuiAsControl(TuiInputMonthDirective),
64
69
  tuiValueTransformerFrom(TUI_INPUT_MONTH_OPTIONS),
65
- ], usesInheritance: true, hostDirectives: [{ directive: i1.TuiWithTextfield }, { directive: i1.TuiSelectLike }, { directive: i2.TuiDropdownAuto }], ngImport: i0 }); }
70
+ ], usesInheritance: true, hostDirectives: [{ directive: i1.TuiWithInput }, { directive: i2.TuiSelectLike }, { directive: i3.TuiDropdownAuto }], ngImport: i0 }); }
66
71
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputMonthDirective, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInputMonthDirective, decorators: [{
68
73
  type: Directive,
69
74
  args: [{
70
- standalone: true,
71
75
  selector: 'input[tuiInputMonth]',
72
76
  providers: [
73
77
  tuiAsControl(TuiInputMonthDirective),
74
78
  tuiValueTransformerFrom(TUI_INPUT_MONTH_OPTIONS),
75
79
  ],
76
- hostDirectives: [TuiWithTextfield, TuiSelectLike, TuiDropdownAuto],
80
+ hostDirectives: [TuiWithInput, TuiSelectLike, TuiDropdownAuto],
77
81
  host: {
78
82
  '[disabled]': 'disabled()',
79
83
  '(input)': '$event.inputType?.includes("delete") && clear()',
@@ -92,7 +96,7 @@ class TuiInputMonthComponent {
92
96
  calendar.min.set(this.min() ?? TUI_FIRST_DAY); // TODO(v5): remove TUI_FIRST_DAY fallback
93
97
  calendar.max.set(this.max() ?? TUI_LAST_DAY); // TODO(v5): remove TUI_LAST_DAY fallback
94
98
  }
95
- }, TUI_ALLOW_SIGNAL_WRITES);
99
+ });
96
100
  }
97
101
  // TODO(v5): use signal inputs
98
102
  set minSetter(x) {
@@ -109,14 +113,14 @@ class TuiInputMonthComponent {
109
113
  const [year = 0, month = 0] = value.split('-').map(Number);
110
114
  this.host.onChange(new TuiMonth(year, month - 1));
111
115
  }
112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputMonthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
113
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputMonthComponent, isStandalone: true, selector: "input[tuiInputMonth][type=\"month\"]", inputs: { minSetter: ["min", "minSetter"], maxSetter: ["max", "maxSetter"] }, host: { attributes: { "ngSkipHydration": "true" } }, hostDirectives: [{ directive: i1.TuiWithNativePicker }], ngImport: i0, template: "<ng-container *ngIf=\"host.native\">\n <input\n *tuiTextfieldContent\n type=\"month\"\n [max]=\"max()?.toJSON()\"\n [min]=\"min()?.toJSON()\"\n [value]=\"host.value()?.toJSON()\"\n (click.stop.zoneless)=\"(0)\"\n (input)=\"onInput($any($event.target).value)\"\n (pointerdown.stop.zoneless)=\"(0)\"\n />\n</ng-container>\n", styles: ["tui-textfield input[tuiInputMonth]~.t-content input[type=month]{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0}tui-textfield input[tuiInputMonth]~.t-content input[type=month]::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TuiTextfieldContent, selector: "ng-template[tuiTextfieldContent]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
116
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInputMonthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
117
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: TuiInputMonthComponent, isStandalone: true, selector: "input[tuiInputMonth][type=\"month\"]", inputs: { minSetter: ["min", "minSetter"], maxSetter: ["max", "maxSetter"] }, host: { attributes: { "ngSkipHydration": "true" } }, hostDirectives: [{ directive: i2.TuiWithNativePicker }], ngImport: i0, template: "@if (host.native) {\n <input\n *tuiTextfieldContent\n type=\"month\"\n [max]=\"max()?.toJSON()\"\n [min]=\"min()?.toJSON()\"\n [value]=\"host.value()?.toJSON()\"\n (click.stop.zoneless)=\"(0)\"\n (input)=\"onInput($any($event.target).value)\"\n (pointerdown.stop.zoneless)=\"(0)\"\n />\n}\n", styles: ["tui-textfield input[tuiInputMonth]~.t-content input[type=month]{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0}tui-textfield input[tuiInputMonth]~.t-content input[type=month]::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}\n"], dependencies: [{ kind: "directive", type: TuiTextfieldContent, selector: "ng-template[tuiTextfieldContent]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
114
118
  }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputMonthComponent, decorators: [{
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInputMonthComponent, decorators: [{
116
120
  type: Component,
117
- args: [{ standalone: true, selector: 'input[tuiInputMonth][type="month"]', imports: [NgIf, TuiTextfieldContent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiWithNativePicker], host: {
121
+ args: [{ selector: 'input[tuiInputMonth][type="month"]', imports: [TuiTextfieldContent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiWithNativePicker], host: {
118
122
  ngSkipHydration: 'true',
119
- }, template: "<ng-container *ngIf=\"host.native\">\n <input\n *tuiTextfieldContent\n type=\"month\"\n [max]=\"max()?.toJSON()\"\n [min]=\"min()?.toJSON()\"\n [value]=\"host.value()?.toJSON()\"\n (click.stop.zoneless)=\"(0)\"\n (input)=\"onInput($any($event.target).value)\"\n (pointerdown.stop.zoneless)=\"(0)\"\n />\n</ng-container>\n", styles: ["tui-textfield input[tuiInputMonth]~.t-content input[type=month]{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0}tui-textfield input[tuiInputMonth]~.t-content input[type=month]::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}\n"] }]
123
+ }, template: "@if (host.native) {\n <input\n *tuiTextfieldContent\n type=\"month\"\n [max]=\"max()?.toJSON()\"\n [min]=\"min()?.toJSON()\"\n [value]=\"host.value()?.toJSON()\"\n (click.stop.zoneless)=\"(0)\"\n (input)=\"onInput($any($event.target).value)\"\n (pointerdown.stop.zoneless)=\"(0)\"\n />\n}\n", styles: ["tui-textfield input[tuiInputMonth]~.t-content input[type=month]{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;opacity:0}tui-textfield input[tuiInputMonth]~.t-content input[type=month]::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}\n"] }]
120
124
  }], propDecorators: { minSetter: [{
121
125
  type: Input,
122
126
  args: ['min']
@@ -129,6 +133,10 @@ const TuiInputMonth = [
129
133
  TuiInputMonthComponent,
130
134
  TuiInputMonthDirective,
131
135
  TuiCalendarMonth,
136
+ TuiLabel,
137
+ TuiTextfieldComponent,
138
+ TuiTextfieldOptionsDirective,
139
+ TuiDropdownContent,
132
140
  ];
133
141
 
134
142
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-month.mjs","sources":["../../../projects/kit/components/input-month/input-month.options.ts","../../../projects/kit/components/input-month/input-month.directive.ts","../../../projects/kit/components/input-month/input-month.component.ts","../../../projects/kit/components/input-month/input-month.template.html","../../../projects/kit/components/input-month/input-month.ts","../../../projects/kit/components/input-month/taiga-ui-kit-components-input-month.ts"],"sourcesContent":["import {type FactoryProvider, inject, InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {\n TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW,\n TUI_INPUT_DATE_OPTIONS_NEW,\n} from '@taiga-ui/kit/components/input-date';\n\nexport interface TuiInputMonthOptions {\n readonly icon: TuiHandler<TuiSizeL | TuiSizeS, string>;\n readonly valueTransformer: TuiValueTransformer<TuiMonth | null, any>;\n}\n\n/**\n * @deprecated remove in v5\n */\nexport const TUI_INPUT_MONTH_DEFAULT_OPTIONS: TuiInputMonthOptions = {\n icon: () => '@tui.calendar',\n valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,\n};\n\nexport const TUI_INPUT_MONTH_OPTIONS = new InjectionToken<TuiInputMonthOptions>(\n ngDevMode ? 'TUI_INPUT_MONTH_OPTIONS' : '',\n {\n factory: () => ({\n ...inject(TUI_INPUT_DATE_OPTIONS_NEW),\n valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,\n }),\n },\n);\n\nexport const tuiInputMonthOptionsProvider = (\n options: Partial<TuiInputMonthOptions>,\n): FactoryProvider =>\n tuiProvideOptions(\n TUI_INPUT_MONTH_OPTIONS,\n options,\n TUI_INPUT_DATE_DEFAULT_OPTIONS_NEW,\n );\n","import {computed, Directive, effect, inject} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiAsControl, TuiControl, tuiValueTransformerFrom} from '@taiga-ui/cdk/classes';\nimport {TUI_ALLOW_SIGNAL_WRITES} from '@taiga-ui/cdk/constants';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {\n tuiInjectAuxiliary,\n TuiSelectLike,\n TuiTextfieldDirective,\n tuiTextfieldIconBinding,\n TuiWithNativePicker,\n TuiWithTextfield,\n} from '@taiga-ui/core/components/textfield';\nimport {\n TuiDropdownAuto,\n tuiDropdownEnabled,\n tuiDropdownOpen,\n} from '@taiga-ui/core/directives/dropdown';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\nimport {TUI_MONTH_FORMATTER} from '@taiga-ui/kit/tokens';\n\nimport {TUI_INPUT_MONTH_OPTIONS} from './input-month.options';\n\n@Directive({\n standalone: true,\n selector: 'input[tuiInputMonth]',\n providers: [\n tuiAsControl(TuiInputMonthDirective),\n tuiValueTransformerFrom(TUI_INPUT_MONTH_OPTIONS),\n ],\n hostDirectives: [TuiWithTextfield, TuiSelectLike, TuiDropdownAuto],\n host: {\n '[disabled]': 'disabled()',\n '(input)': '$event.inputType?.includes(\"delete\") && clear()',\n },\n})\nexport class TuiInputMonthDirective extends TuiControl<TuiMonth | null> {\n private readonly textfield = inject(TuiTextfieldDirective);\n private readonly formatter = toSignal(inject(TUI_MONTH_FORMATTER));\n private readonly open = tuiDropdownOpen();\n\n protected readonly icon = tuiTextfieldIconBinding(TUI_INPUT_MONTH_OPTIONS);\n protected readonly dropdownEnabled = tuiDropdownEnabled(\n computed(() => !this.native && this.interactive()),\n );\n\n protected readonly valueEffect = effect(() => {\n this.textfield.value.set(this.formatter()?.(this.value()) || '');\n }, TUI_ALLOW_SIGNAL_WRITES);\n\n protected readonly calendarIn = effect(() => {\n this.calendar()?.value.set(this.value());\n }, TUI_ALLOW_SIGNAL_WRITES);\n\n protected readonly calendarOut = effect((onCleanup) => {\n const subscription = this.calendar()?.monthClick.subscribe((month) => {\n this.onChange(month);\n this.open.set(false);\n });\n\n onCleanup(() => subscription?.unsubscribe());\n });\n\n public readonly calendar = tuiInjectAuxiliary<TuiCalendarMonth>(\n (x) => x instanceof TuiCalendarMonth,\n );\n\n public readonly native =\n !!inject(TuiWithNativePicker, {optional: true}) && inject(TUI_IS_MOBILE);\n\n protected clear(): void {\n this.onChange(null);\n this.open.set(this.dropdownEnabled());\n }\n}\n","import {NgIf} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n effect,\n inject,\n Input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TUI_ALLOW_SIGNAL_WRITES} from '@taiga-ui/cdk/constants';\nimport {TUI_FIRST_DAY, TUI_LAST_DAY, TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {\n TuiTextfieldContent,\n TuiWithNativePicker,\n} from '@taiga-ui/core/components/textfield';\n\nimport {TuiInputMonthDirective} from './input-month.directive';\n\n@Component({\n standalone: true,\n selector: 'input[tuiInputMonth][type=\"month\"]',\n imports: [NgIf, TuiTextfieldContent],\n templateUrl: './input-month.template.html',\n styleUrls: ['./input-month.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiWithNativePicker],\n host: {\n ngSkipHydration: 'true',\n },\n})\nexport class TuiInputMonthComponent {\n protected readonly host = inject(TuiInputMonthDirective);\n protected readonly min = signal<TuiMonth | null>(null);\n protected readonly max = signal<TuiMonth | null>(null);\n protected readonly calendarSync = effect(() => {\n const calendar = this.host.calendar();\n\n if (calendar) {\n calendar.min.set(this.min() ?? TUI_FIRST_DAY); // TODO(v5): remove TUI_FIRST_DAY fallback\n calendar.max.set(this.max() ?? TUI_LAST_DAY); // TODO(v5): remove TUI_LAST_DAY fallback\n }\n }, TUI_ALLOW_SIGNAL_WRITES);\n\n // TODO(v5): use signal inputs\n @Input('min')\n public set minSetter(x: TuiMonth | null) {\n this.min.set(x);\n }\n\n // TODO(v5): use signal inputs\n @Input('max')\n public set maxSetter(x: TuiMonth | null) {\n this.max.set(x);\n }\n\n protected onInput(value: string): void {\n if (!value) {\n return this.host.onChange(null);\n }\n\n const [year = 0, month = 0] = value.split('-').map(Number);\n\n this.host.onChange(new TuiMonth(year, month - 1));\n }\n}\n","<ng-container *ngIf=\"host.native\">\n <input\n *tuiTextfieldContent\n type=\"month\"\n [max]=\"max()?.toJSON()\"\n [min]=\"min()?.toJSON()\"\n [value]=\"host.value()?.toJSON()\"\n (click.stop.zoneless)=\"(0)\"\n (input)=\"onInput($any($event.target).value)\"\n (pointerdown.stop.zoneless)=\"(0)\"\n />\n</ng-container>\n","import {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\n\nimport {TuiInputMonthComponent} from './input-month.component';\nimport {TuiInputMonthDirective} from './input-month.directive';\n\nexport const TuiInputMonth = [\n TuiInputMonthComponent,\n TuiInputMonthDirective,\n TuiCalendarMonth,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAmBA;;AAEG;AACU,MAAA,+BAA+B,GAAyB;AACjE,IAAA,IAAI,EAAE,MAAM,eAAe;AAC3B,IAAA,gBAAgB,EAAE,8BAA8B;EAClD;AAEW,MAAA,uBAAuB,GAAG,IAAI,cAAc,CACrD,SAAS,GAAG,yBAAyB,GAAG,EAAE,EAC1C;AACI,IA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,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,iYAYA,EDUc,MAAA,EAAA,CAAA,iTAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAI,6FAAE,mBAAmB,EAAA,QAAA,EAAA,kCAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAU1B,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAblC,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,oCAAoC,EACrC,OAAA,EAAA,CAAC,IAAI,EAAE,mBAAmB,CAAC,EAGrB,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,kBAC/B,CAAC,mBAAmB,CAAC,EAC/B,IAAA,EAAA;AACF,wBAAA,eAAe,EAAE,MAAM;AAC1B,qBAAA,EAAA,QAAA,EAAA,iYAAA,EAAA,MAAA,EAAA,CAAA,iTAAA,CAAA,EAAA,CAAA;8BAiBU,SAAS,EAAA,CAAA;sBADnB,KAAK;uBAAC,KAAK,CAAA;gBAOD,SAAS,EAAA,CAAA;sBADnB,KAAK;uBAAC,KAAK,CAAA;;;AE/CH,MAAA,aAAa,GAAG;IACzB,sBAAsB;IACtB,sBAAsB;IACtB,gBAAgB;;;ACRpB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-month.mjs","sources":["../../../projects/kit/components/input-month/input-month.options.ts","../../../projects/kit/components/input-month/input-month.directive.ts","../../../projects/kit/components/input-month/input-month.component.ts","../../../projects/kit/components/input-month/input-month.template.html","../../../projects/kit/components/input-month/input-month.ts","../../../projects/kit/components/input-month/taiga-ui-kit-components-input-month.ts"],"sourcesContent":["import {type FactoryProvider, inject, InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n TUI_INPUT_DATE_OPTIONS,\n} from '@taiga-ui/kit/components/input-date';\n\nexport interface TuiInputMonthOptions {\n readonly icon: TuiHandler<TuiSizeL | TuiSizeS, string>;\n readonly valueTransformer: TuiValueTransformer<TuiMonth | null, any>;\n}\n\n/**\n * @deprecated remove in v5\n */\nexport const TUI_INPUT_MONTH_DEFAULT_OPTIONS: TuiInputMonthOptions = {\n icon: () => '@tui.calendar',\n valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,\n};\n\nexport const TUI_INPUT_MONTH_OPTIONS = new InjectionToken<TuiInputMonthOptions>(\n ngDevMode ? 'TUI_INPUT_MONTH_OPTIONS' : '',\n {\n factory: () => ({\n ...inject(TUI_INPUT_DATE_OPTIONS),\n valueTransformer: TUI_IDENTITY_VALUE_TRANSFORMER,\n }),\n },\n);\n\nexport const tuiInputMonthOptionsProvider = (\n options: Partial<TuiInputMonthOptions>,\n): FactoryProvider =>\n tuiProvideOptions(TUI_INPUT_MONTH_OPTIONS, options, TUI_INPUT_DATE_DEFAULT_OPTIONS);\n","import {computed, Directive, effect, inject} from '@angular/core';\nimport {tuiAsControl, TuiControl, tuiValueTransformerFrom} from '@taiga-ui/cdk/classes';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TuiInputDirective, TuiWithInput} from '@taiga-ui/core/components/input';\nimport {\n tuiInjectAuxiliary,\n TuiSelectLike,\n tuiTextfieldIcon,\n TuiWithNativePicker,\n} from '@taiga-ui/core/components/textfield';\nimport {\n TuiDropdownAuto,\n tuiDropdownEnabled,\n TuiDropdownOpen,\n} from '@taiga-ui/core/portals/dropdown';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\n\nimport {TUI_INPUT_MONTH_OPTIONS} from './input-month.options';\n\n@Directive({\n selector: 'input[tuiInputMonth]',\n providers: [\n tuiAsControl(TuiInputMonthDirective),\n tuiValueTransformerFrom(TUI_INPUT_MONTH_OPTIONS),\n ],\n hostDirectives: [TuiWithInput, TuiSelectLike, TuiDropdownAuto],\n host: {\n '[disabled]': 'disabled()',\n '(input)': '$event.inputType?.includes(\"delete\") && clear()',\n },\n})\nexport class TuiInputMonthDirective extends TuiControl<TuiMonth | null> {\n private readonly input = inject(TuiInputDirective);\n private readonly months = inject(TUI_MONTHS);\n private readonly open = inject(TuiDropdownOpen).open;\n\n protected readonly icon = tuiTextfieldIcon(TUI_INPUT_MONTH_OPTIONS);\n protected readonly dropdownEnabled = tuiDropdownEnabled(\n computed(() => !this.native && this.interactive()),\n );\n\n protected readonly valueEffect = effect(() => {\n const value = this.value();\n const formatted = value\n ? `${this.months()[value.month] ?? ''} ${value.formattedYear}`\n : '';\n\n this.input.value.set(formatted);\n });\n\n protected readonly calendarIn = effect(() => {\n this.calendar()?.value.set(this.value());\n });\n\n protected readonly calendarOut = effect((onCleanup) => {\n const subscription = this.calendar()?.monthClick.subscribe((month) => {\n this.onChange(month);\n this.open.set(false);\n });\n\n onCleanup(() => subscription?.unsubscribe());\n });\n\n public readonly calendar = tuiInjectAuxiliary<TuiCalendarMonth>(\n (x) => x instanceof TuiCalendarMonth,\n );\n\n public readonly native =\n !!inject(TuiWithNativePicker, {optional: true}) && inject(TUI_IS_MOBILE);\n\n protected clear(): void {\n this.onChange(null);\n this.open.set(this.dropdownEnabled());\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n effect,\n inject,\n Input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TUI_FIRST_DAY, TUI_LAST_DAY, TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {\n TuiTextfieldContent,\n TuiWithNativePicker,\n} from '@taiga-ui/core/components/textfield';\n\nimport {TuiInputMonthDirective} from './input-month.directive';\n\n@Component({\n selector: 'input[tuiInputMonth][type=\"month\"]',\n imports: [TuiTextfieldContent],\n templateUrl: './input-month.template.html',\n styleUrl: './input-month.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiWithNativePicker],\n host: {\n ngSkipHydration: 'true',\n },\n})\nexport class TuiInputMonthComponent {\n protected readonly host = inject(TuiInputMonthDirective);\n protected readonly min = signal<TuiMonth | null>(null);\n protected readonly max = signal<TuiMonth | null>(null);\n protected readonly calendarSync = effect(() => {\n const calendar = this.host.calendar();\n\n if (calendar) {\n calendar.min.set(this.min() ?? TUI_FIRST_DAY); // TODO(v5): remove TUI_FIRST_DAY fallback\n calendar.max.set(this.max() ?? TUI_LAST_DAY); // TODO(v5): remove TUI_LAST_DAY fallback\n }\n });\n\n // TODO(v5): use signal inputs\n @Input('min')\n public set minSetter(x: TuiMonth | null) {\n this.min.set(x);\n }\n\n // TODO(v5): use signal inputs\n @Input('max')\n public set maxSetter(x: TuiMonth | null) {\n this.max.set(x);\n }\n\n protected onInput(value: string): void {\n if (!value) {\n return this.host.onChange(null);\n }\n\n const [year = 0, month = 0] = value.split('-').map(Number);\n\n this.host.onChange(new TuiMonth(year, month - 1));\n }\n}\n","@if (host.native) {\n <input\n *tuiTextfieldContent\n type=\"month\"\n [max]=\"max()?.toJSON()\"\n [min]=\"min()?.toJSON()\"\n [value]=\"host.value()?.toJSON()\"\n (click.stop.zoneless)=\"(0)\"\n (input)=\"onInput($any($event.target).value)\"\n (pointerdown.stop.zoneless)=\"(0)\"\n />\n}\n","import {TuiLabel} from '@taiga-ui/core/components/label';\nimport {\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n} from '@taiga-ui/core/components/textfield';\nimport {TuiDropdownContent} from '@taiga-ui/core/portals';\nimport {TuiCalendarMonth} from '@taiga-ui/kit/components/calendar-month';\n\nimport {TuiInputMonthComponent} from './input-month.component';\nimport {TuiInputMonthDirective} from './input-month.directive';\n\nexport const TuiInputMonth = [\n TuiInputMonthComponent,\n TuiInputMonthDirective,\n TuiCalendarMonth,\n TuiLabel,\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n TuiDropdownContent,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA;;AAEG;AACU,MAAA,+BAA+B,GAAyB;AACjE,IAAA,IAAI,EAAE,MAAM,eAAe;AAC3B,IAAA,gBAAgB,EAAE,8BAA8B;;AAGvC,MAAA,uBAAuB,GAAG,IAAI,cAAc,CACrD,SAAS,GAAG,yBAAyB,GAAG,EAAE,EAC1C;AACI,IAAA,OAAO,EAAE,OAAO;QACZ,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACjC,QAAA,gBAAgB,EAAE,8BAA8B;KACnD,CAAC;AACL,CAAA;AAGQ,MAAA,4BAA4B,GAAG,CACxC,OAAsC,KAEtC,iBAAiB,CAAC,uBAAuB,EAAE,OAAO,EAAE,8BAA8B;;ACPhF,MAAO,sBAAuB,SAAQ,UAA2B,CAAA;AAZvE,IAAA,WAAA,GAAA;;AAaqB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,iBAAiB,CAAC;AACjC,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC,IAAI;AAEjC,QAAA,IAAA,CAAA,IAAI,GAAG,gBAAgB,CAA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