@taiga-ui/kit 4.52.0-canary.216e347 → 4.52.0-canary.2c75afa

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 (864) hide show
  1. package/components/accordion/accordion.component.d.ts +13 -0
  2. package/components/accordion/accordion.d.ts +4 -4
  3. package/components/accordion/accordion.directive.d.ts +11 -10
  4. package/components/accordion/index.d.ts +1 -3
  5. package/components/action-bar/action-bar.component.d.ts +5 -7
  6. package/components/action-bar/index.d.ts +0 -2
  7. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  8. package/components/avatar/avatar.directive.d.ts +15 -0
  9. package/components/avatar/avatar.options.d.ts +1 -4
  10. package/components/avatar/index.d.ts +1 -1
  11. package/components/badge/badge.directive.d.ts +2 -2
  12. package/components/block/block.directive.d.ts +4 -4
  13. package/components/block/block.options.d.ts +1 -1
  14. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  15. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  16. package/components/calendar-range/calendar-range.component.d.ts +1 -2
  17. package/components/checkbox/checkbox.component.d.ts +7 -18
  18. package/components/checkbox/checkbox.options.d.ts +5 -9
  19. package/components/chip/chip.directive.d.ts +2 -4
  20. package/components/comment/comment.directive.d.ts +2 -2
  21. package/components/confirm/confirm.component.d.ts +3 -2
  22. package/components/confirm/confirm.service.d.ts +2 -1
  23. package/{directives → components}/copy/copy.component.d.ts +1 -1
  24. package/{directives → components}/copy/copy.directive.d.ts +2 -2
  25. package/{directives → components}/copy/copy.options.d.ts +2 -2
  26. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
  27. package/components/files/file/file.options.d.ts +2 -2
  28. package/components/files/files/files.component.d.ts +2 -2
  29. package/components/floating-container/floating-container.directive.d.ts +2 -2
  30. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  31. package/components/fullscreen/index.d.ts +1 -0
  32. package/components/index.d.ts +3 -2
  33. package/components/input-chip/input-chip.options.d.ts +1 -1
  34. package/components/input-color/input-color.component.d.ts +2 -1
  35. package/components/input-color/input-color.options.d.ts +1 -1
  36. package/components/input-date/input-date.options.d.ts +1 -1
  37. package/components/input-number/input-number.directive.d.ts +5 -9
  38. package/components/input-number/input-number.options.d.ts +1 -1
  39. package/components/input-number/quantum.directive.d.ts +2 -2
  40. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  41. package/components/input-phone/input-phone.options.d.ts +1 -1
  42. package/components/input-phone-international/input-phone-international.component.d.ts +24 -30
  43. package/components/input-pin/input-pin.component.d.ts +1 -1
  44. package/components/input-range/input-range.component.d.ts +9 -12
  45. package/components/input-slider/input-slider.directive.d.ts +2 -4
  46. package/components/input-time/input-time.directive.d.ts +6 -8
  47. package/components/input-time/input-time.options.d.ts +1 -1
  48. package/components/like/like.component.d.ts +4 -11
  49. package/components/like/like.options.d.ts +3 -4
  50. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  51. package/components/line-clamp/line-clamp.component.d.ts +12 -18
  52. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -3
  53. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  54. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  55. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  56. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  57. package/components/pager/pager.component.d.ts +1 -1
  58. package/components/pagination/index.d.ts +1 -0
  59. package/components/pagination/pagination.component.d.ts +3 -2
  60. package/components/pagination/pagination.options.d.ts +10 -0
  61. package/components/pin/pin.directive.d.ts +2 -2
  62. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  63. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  64. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  65. package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
  66. package/components/preview/preview.component.d.ts +1 -1
  67. package/components/preview/zoom/preview-zoom.component.d.ts +1 -1
  68. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  69. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  70. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  71. package/components/push/push-alert.component.d.ts +4 -3
  72. package/components/push/push.component.d.ts +2 -2
  73. package/components/push/push.directive.d.ts +4 -6
  74. package/components/push/push.options.d.ts +4 -8
  75. package/components/push/push.service.d.ts +6 -2
  76. package/components/radio/radio.component.d.ts +7 -8
  77. package/components/radio/radio.directive.d.ts +2 -2
  78. package/components/radio/radio.options.d.ts +2 -5
  79. package/components/range/range-change.directive.d.ts +1 -2
  80. package/components/range/range.component.d.ts +16 -24
  81. package/components/rating/rating.component.d.ts +5 -5
  82. package/components/rating/rating.options.d.ts +5 -3
  83. package/components/segmented/segmented.component.d.ts +4 -6
  84. package/components/select/native-select/native-select.component.d.ts +4 -5
  85. package/components/slider/helpers/key-steps.d.ts +1 -2
  86. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  87. package/components/slides/slides.directive.d.ts +4 -4
  88. package/components/status/status.directive.d.ts +2 -2
  89. package/components/switch/switch.component.d.ts +7 -19
  90. package/components/switch/switch.options.d.ts +4 -8
  91. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  92. package/components/textarea/textarea-limit.directive.d.ts +4 -5
  93. package/components/textarea/textarea.options.d.ts +1 -1
  94. package/components/toast/index.d.ts +5 -0
  95. package/components/toast/toast.component.d.ts +18 -0
  96. package/components/toast/toast.d.ts +3 -0
  97. package/components/toast/toast.directive.d.ts +7 -0
  98. package/components/toast/toast.options.d.ts +9 -0
  99. package/components/toast/toast.service.d.ts +17 -0
  100. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  101. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +9 -7
  102. package/components/tree/misc/tree.constants.d.ts +0 -3
  103. package/components/tree/misc/tree.tokens.d.ts +1 -6
  104. package/directives/button-close/button-close.directive.d.ts +2 -1
  105. package/directives/button-select/button-select.directive.d.ts +1 -2
  106. package/directives/chevron/chevron.directive.d.ts +2 -3
  107. package/directives/fade/fade.directive.d.ts +1 -0
  108. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  109. package/directives/highlight/highlight.directive.d.ts +1 -3
  110. package/directives/index.d.ts +0 -2
  111. package/directives/password/password.options.d.ts +1 -1
  112. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  113. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  114. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  115. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  116. package/directives/tooltip/tooltip.options.d.ts +1 -4
  117. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -146
  118. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  120. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-kit-components-avatar.mjs +82 -101
  122. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +5 -5
  124. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-kit-components-badge.mjs +15 -21
  126. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -9
  128. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
  130. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +9 -12
  132. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +7 -8
  134. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +7 -12
  136. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +10 -11
  138. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-kit-components-carousel.mjs +22 -30
  140. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
  142. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
  144. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +9 -10
  146. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
  148. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-compass.mjs +5 -5
  150. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-kit-components-confirm.mjs +14 -16
  152. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-kit-components-copy.mjs +119 -0
  154. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  155. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +21 -14
  156. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
  158. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +8 -9
  160. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-files.mjs +42 -54
  162. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-filter.mjs +7 -16
  164. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
  166. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  168. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  169. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +22 -21
  170. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-input-color.mjs +12 -15
  172. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +9 -14
  174. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -5
  176. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +9 -12
  178. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-input-date.mjs +22 -31
  180. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +6 -7
  182. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +8 -10
  184. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-input-month.mjs +14 -17
  186. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-input-number.mjs +50 -73
  188. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +106 -132
  190. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +12 -15
  192. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +7 -7
  194. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-input-range.mjs +35 -39
  196. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +28 -42
  198. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-input-time.mjs +41 -47
  200. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-components-input-year.mjs +8 -10
  202. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +18 -20
  204. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  205. package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
  206. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  207. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +38 -84
  208. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-components-message.mjs +10 -13
  210. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +48 -47
  212. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +40 -36
  214. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-components-pager.mjs +8 -8
  216. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-pagination.mjs +25 -15
  218. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
  220. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +31 -23
  222. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-preview.mjs +58 -53
  224. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-progress.mjs +75 -76
  226. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-pulse.mjs +5 -5
  228. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-push.mjs +50 -57
  230. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -8
  232. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-radio.mjs +35 -41
  234. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-range.mjs +42 -86
  236. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -21
  238. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +12 -8
  240. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-components-segmented.mjs +9 -10
  242. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-select.mjs +46 -51
  244. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-slider.mjs +72 -74
  246. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
  248. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
  250. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-components-stepper.mjs +12 -12
  252. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
  254. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-components-tabs.mjs +32 -40
  256. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-components-textarea.mjs +18 -28
  258. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-components-tiles.mjs +15 -16
  260. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-components-toast.mjs +165 -0
  262. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  263. package/fesm2022/taiga-ui-kit-components-tree.mjs +62 -83
  264. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-components.mjs +3 -2
  266. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +15 -7
  268. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  269. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +10 -13
  270. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +5 -13
  272. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
  274. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-directives-connected.mjs +10 -16
  276. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  277. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -5
  278. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-directives-fade.mjs +11 -14
  280. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +12 -20
  282. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -6
  284. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -10
  286. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-directives-password.mjs +8 -12
  288. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -5
  290. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  292. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  294. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +27 -38
  296. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +15 -20
  298. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +6 -8
  300. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -5
  302. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-directives.mjs +0 -2
  304. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -4
  306. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  307. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -4
  308. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  309. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -4
  310. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  311. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +5 -5
  312. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  313. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -4
  314. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  315. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
  316. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  317. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  318. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  319. package/fesm2022/taiga-ui-kit-tokens.mjs +7 -10
  320. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  321. package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
  322. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  323. package/package.json +30 -246
  324. package/pipes/index.d.ts +0 -1
  325. package/styles/components/avatar.less +188 -0
  326. package/styles/components/badge.less +4 -18
  327. package/styles/components/block.less +1 -1
  328. package/styles/components/checkbox.less +17 -16
  329. package/styles/components/chip.less +13 -4
  330. package/styles/components/like.less +15 -17
  331. package/styles/components/pin.less +3 -7
  332. package/styles/components/radio.less +2 -2
  333. package/styles/components/switch.less +12 -12
  334. package/styles/components/toast.less +44 -0
  335. package/tokens/i18n.d.ts +25 -26
  336. package/tokens/index.d.ts +0 -1
  337. package/tokens/input-date-options.d.ts +1 -1
  338. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  339. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  340. package/components/accordion/accordion-item.component.d.ts +0 -25
  341. package/components/action-bar/action-bar.d.ts +0 -3
  342. package/components/action-bar/action-bar.directive.d.ts +0 -6
  343. package/components/avatar/avatar.component.d.ts +0 -15
  344. package/components/input-password/index.d.ts +0 -2
  345. package/components/input-password/input-password.component.d.ts +0 -16
  346. package/components/input-password/input-password.options.d.ts +0 -24
  347. package/components/pdf-viewer/index.d.ts +0 -4
  348. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  349. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  350. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  351. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  352. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  353. package/directives/icon-badge/index.d.ts +0 -1
  354. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  355. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  356. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  357. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  358. package/esm2022/components/accordion/accordion.mjs +0 -11
  359. package/esm2022/components/accordion/index.mjs +0 -6
  360. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  361. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  362. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  363. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  364. package/esm2022/components/action-bar/index.mjs +0 -4
  365. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  366. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  367. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  368. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  369. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  370. package/esm2022/components/avatar/avatar.options.mjs +0 -14
  371. package/esm2022/components/avatar/index.mjs +0 -6
  372. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  373. package/esm2022/components/badge/badge.directive.mjs +0 -42
  374. package/esm2022/components/badge/badge.options.mjs +0 -13
  375. package/esm2022/components/badge/index.mjs +0 -3
  376. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  377. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  378. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  379. package/esm2022/components/badge-notification/index.mjs +0 -3
  380. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  381. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  382. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  383. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  384. package/esm2022/components/badged-content/index.mjs +0 -4
  385. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  386. package/esm2022/components/block/block.directive.mjs +0 -58
  387. package/esm2022/components/block/block.options.mjs +0 -13
  388. package/esm2022/components/block/index.mjs +0 -3
  389. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  390. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  391. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  392. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  393. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  394. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  395. package/esm2022/components/button-loading/index.mjs +0 -2
  396. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  397. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  398. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  399. package/esm2022/components/calendar-month/index.mjs +0 -3
  400. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  401. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  402. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  403. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  404. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  405. package/esm2022/components/calendar-range/index.mjs +0 -5
  406. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  407. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  408. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  409. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  410. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  411. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  412. package/esm2022/components/carousel/carousel.mjs +0 -15
  413. package/esm2022/components/carousel/index.mjs +0 -7
  414. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  415. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  416. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  417. package/esm2022/components/checkbox/index.mjs +0 -3
  418. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  419. package/esm2022/components/chip/chip.directive.mjs +0 -63
  420. package/esm2022/components/chip/chip.options.mjs +0 -13
  421. package/esm2022/components/chip/index.mjs +0 -3
  422. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  423. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  424. package/esm2022/components/combo-box/index.mjs +0 -2
  425. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  426. package/esm2022/components/comment/comment.directive.mjs +0 -35
  427. package/esm2022/components/comment/index.mjs +0 -2
  428. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  429. package/esm2022/components/compass/compass.component.mjs +0 -19
  430. package/esm2022/components/compass/index.mjs +0 -2
  431. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  432. package/esm2022/components/confirm/confirm.component.mjs +0 -28
  433. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  434. package/esm2022/components/confirm/index.mjs +0 -3
  435. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  436. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  437. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  438. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  439. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  440. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  441. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  442. package/esm2022/components/drawer/index.mjs +0 -2
  443. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  444. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  445. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  446. package/esm2022/components/elastic-container/index.mjs +0 -3
  447. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  448. package/esm2022/components/files/file/file.component.mjs +0 -144
  449. package/esm2022/components/files/file/file.options.mjs +0 -16
  450. package/esm2022/components/files/files/files.component.mjs +0 -56
  451. package/esm2022/components/files/files.mjs +0 -15
  452. package/esm2022/components/files/files.types.mjs +0 -2
  453. package/esm2022/components/files/files.utils.mjs +0 -30
  454. package/esm2022/components/files/files.validators.mjs +0 -32
  455. package/esm2022/components/files/index.mjs +0 -13
  456. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  457. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  458. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  459. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  460. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  461. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  462. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  463. package/esm2022/components/filter/filter.component.mjs +0 -65
  464. package/esm2022/components/filter/index.mjs +0 -2
  465. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  466. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  467. package/esm2022/components/floating-container/index.mjs +0 -2
  468. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  469. package/esm2022/components/index.mjs +0 -73
  470. package/esm2022/components/input-chip/index.mjs +0 -5
  471. package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
  472. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
  473. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  474. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  475. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  476. package/esm2022/components/input-color/index.mjs +0 -3
  477. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  478. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  479. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  480. package/esm2022/components/input-date/date-filler.mjs +0 -20
  481. package/esm2022/components/input-date/index.mjs +0 -6
  482. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  483. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  484. package/esm2022/components/input-date/input-date.mjs +0 -9
  485. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  486. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  487. package/esm2022/components/input-date-multi/index.mjs +0 -3
  488. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  489. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  490. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  491. package/esm2022/components/input-date-range/index.mjs +0 -4
  492. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  493. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  494. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  495. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  496. package/esm2022/components/input-date-time/index.mjs +0 -5
  497. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  498. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
  499. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  500. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  501. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  502. package/esm2022/components/input-inline/index.mjs +0 -2
  503. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  504. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  505. package/esm2022/components/input-month/index.mjs +0 -5
  506. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  507. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  508. package/esm2022/components/input-month/input-month.mjs +0 -9
  509. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  510. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  511. package/esm2022/components/input-month-range/index.mjs +0 -4
  512. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  513. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  514. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  515. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  516. package/esm2022/components/input-number/index.mjs +0 -6
  517. package/esm2022/components/input-number/input-number.directive.mjs +0 -196
  518. package/esm2022/components/input-number/input-number.mjs +0 -9
  519. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  520. package/esm2022/components/input-number/quantum.directive.mjs +0 -68
  521. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  522. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  523. package/esm2022/components/input-password/index.mjs +0 -3
  524. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  525. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  526. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  527. package/esm2022/components/input-phone/index.mjs +0 -3
  528. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  529. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  530. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  531. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  532. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  533. package/esm2022/components/input-phone-international/index.mjs +0 -3
  534. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  535. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  536. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  537. package/esm2022/components/input-pin/index.mjs +0 -2
  538. package/esm2022/components/input-pin/input-pin.component.mjs +0 -66
  539. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  540. package/esm2022/components/input-range/index.mjs +0 -3
  541. package/esm2022/components/input-range/input-range.component.mjs +0 -166
  542. package/esm2022/components/input-range/input-range.mjs +0 -4
  543. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  544. package/esm2022/components/input-slider/index.mjs +0 -3
  545. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
  546. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  547. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  548. package/esm2022/components/input-time/index.mjs +0 -5
  549. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  550. package/esm2022/components/input-time/input-time.directive.mjs +0 -159
  551. package/esm2022/components/input-time/input-time.mjs +0 -4
  552. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  553. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  554. package/esm2022/components/input-year/index.mjs +0 -4
  555. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  556. package/esm2022/components/input-year/input-year.mjs +0 -4
  557. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  558. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  559. package/esm2022/components/items-with-more/index.mjs +0 -6
  560. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  561. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  562. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  563. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  564. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  565. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  566. package/esm2022/components/like/index.mjs +0 -3
  567. package/esm2022/components/like/like.component.mjs +0 -46
  568. package/esm2022/components/like/like.options.mjs +0 -10
  569. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  570. package/esm2022/components/line-clamp/index.mjs +0 -4
  571. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  572. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  573. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
  574. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  575. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  576. package/esm2022/components/message/index.mjs +0 -2
  577. package/esm2022/components/message/message.directive.mjs +0 -43
  578. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  579. package/esm2022/components/multi-select/index.mjs +0 -6
  580. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
  581. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  582. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
  583. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  584. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  585. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  586. package/esm2022/components/notification-middle/index.mjs +0 -4
  587. package/esm2022/components/notification-middle/notification-middle.component.mjs +0 -57
  588. package/esm2022/components/notification-middle/notification-middle.directive.mjs +0 -21
  589. package/esm2022/components/notification-middle/notification-middle.service.mjs +0 -22
  590. package/esm2022/components/notification-middle/taiga-ui-kit-components-notification-middle.mjs +0 -5
  591. package/esm2022/components/pager/index.mjs +0 -2
  592. package/esm2022/components/pager/pager.component.mjs +0 -97
  593. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  594. package/esm2022/components/pagination/index.mjs +0 -2
  595. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  596. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  597. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  598. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  599. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  600. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  601. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  602. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  603. package/esm2022/components/pin/index.mjs +0 -2
  604. package/esm2022/components/pin/pin.directive.mjs +0 -35
  605. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  606. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  607. package/esm2022/components/preview/dialog/index.mjs +0 -4
  608. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  609. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  610. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  611. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  612. package/esm2022/components/preview/index.mjs +0 -8
  613. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  614. package/esm2022/components/preview/preview.component.mjs +0 -142
  615. package/esm2022/components/preview/preview.mjs +0 -13
  616. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  617. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  618. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  619. package/esm2022/components/progress/index.mjs +0 -9
  620. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  621. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  622. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  623. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  624. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  625. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  626. package/esm2022/components/progress/progress.mjs +0 -15
  627. package/esm2022/components/progress/progress.options.mjs +0 -13
  628. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  629. package/esm2022/components/pulse/index.mjs +0 -2
  630. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  631. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  632. package/esm2022/components/push/index.mjs +0 -7
  633. package/esm2022/components/push/push-alert.component.mjs +0 -29
  634. package/esm2022/components/push/push.component.mjs +0 -39
  635. package/esm2022/components/push/push.directive.mjs +0 -33
  636. package/esm2022/components/push/push.mjs +0 -5
  637. package/esm2022/components/push/push.options.mjs +0 -21
  638. package/esm2022/components/push/push.service.mjs +0 -19
  639. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  640. package/esm2022/components/radio/index.mjs +0 -5
  641. package/esm2022/components/radio/radio.component.mjs +0 -53
  642. package/esm2022/components/radio/radio.directive.mjs +0 -32
  643. package/esm2022/components/radio/radio.mjs +0 -4
  644. package/esm2022/components/radio/radio.options.mjs +0 -13
  645. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  646. package/esm2022/components/radio-list/index.mjs +0 -2
  647. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  648. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  649. package/esm2022/components/range/index.mjs +0 -3
  650. package/esm2022/components/range/range-change.directive.mjs +0 -78
  651. package/esm2022/components/range/range.component.mjs +0 -164
  652. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  653. package/esm2022/components/rating/index.mjs +0 -3
  654. package/esm2022/components/rating/rating.component.mjs +0 -64
  655. package/esm2022/components/rating/rating.options.mjs +0 -13
  656. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  657. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  658. package/esm2022/components/routable-dialog/index.mjs +0 -3
  659. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  660. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  661. package/esm2022/components/segmented/index.mjs +0 -3
  662. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  663. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  664. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  665. package/esm2022/components/select/index.mjs +0 -5
  666. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  667. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  668. package/esm2022/components/select/select.directive.mjs +0 -56
  669. package/esm2022/components/select/select.mjs +0 -4
  670. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  671. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  672. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  673. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  674. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  675. package/esm2022/components/slider/index.mjs +0 -8
  676. package/esm2022/components/slider/slider.component.mjs +0 -124
  677. package/esm2022/components/slider/slider.mjs +0 -12
  678. package/esm2022/components/slider/slider.options.mjs +0 -16
  679. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  680. package/esm2022/components/slides/index.mjs +0 -2
  681. package/esm2022/components/slides/slides.directive.mjs +0 -51
  682. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  683. package/esm2022/components/status/index.mjs +0 -2
  684. package/esm2022/components/status/status.directive.mjs +0 -35
  685. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  686. package/esm2022/components/stepper/index.mjs +0 -4
  687. package/esm2022/components/stepper/step.component.mjs +0 -58
  688. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  689. package/esm2022/components/stepper/stepper.mjs +0 -4
  690. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  691. package/esm2022/components/switch/index.mjs +0 -3
  692. package/esm2022/components/switch/switch.component.mjs +0 -63
  693. package/esm2022/components/switch/switch.options.mjs +0 -15
  694. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  695. package/esm2022/components/tabs/index.mjs +0 -9
  696. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  697. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  698. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  699. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -213
  700. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  701. package/esm2022/components/tabs/tabs.mjs +0 -15
  702. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  703. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  704. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  705. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  706. package/esm2022/components/textarea/index.mjs +0 -4
  707. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  708. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -93
  709. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  710. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  711. package/esm2022/components/tiles/index.mjs +0 -7
  712. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  713. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  714. package/esm2022/components/tiles/tile.component.mjs +0 -69
  715. package/esm2022/components/tiles/tile.service.mjs +0 -90
  716. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  717. package/esm2022/components/tiles/tiles.mjs +0 -5
  718. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  719. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  720. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  721. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  722. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  723. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  724. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  725. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  726. package/esm2022/components/tree/index.mjs +0 -12
  727. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  728. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  729. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  730. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  731. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  732. package/esm2022/components/tree/tree.mjs +0 -17
  733. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  734. package/esm2022/directives/button-close/index.mjs +0 -2
  735. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  736. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  737. package/esm2022/directives/button-group/index.mjs +0 -2
  738. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  739. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  740. package/esm2022/directives/button-select/index.mjs +0 -2
  741. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  742. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  743. package/esm2022/directives/chevron/index.mjs +0 -2
  744. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  745. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  746. package/esm2022/directives/connected/index.mjs +0 -2
  747. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  748. package/esm2022/directives/copy/copy.component.mjs +0 -48
  749. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  750. package/esm2022/directives/copy/copy.mjs +0 -4
  751. package/esm2022/directives/copy/copy.options.mjs +0 -3
  752. package/esm2022/directives/copy/index.mjs +0 -6
  753. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  754. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  755. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  756. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  757. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  758. package/esm2022/directives/fade/index.mjs +0 -2
  759. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  760. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  761. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  762. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  763. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  764. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  765. package/esm2022/directives/highlight/index.mjs +0 -2
  766. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  767. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  768. package/esm2022/directives/icon-badge/index.mjs +0 -2
  769. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  770. package/esm2022/directives/index.mjs +0 -21
  771. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  772. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  773. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  774. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  775. package/esm2022/directives/password/index.mjs +0 -3
  776. package/esm2022/directives/password/password.directive.mjs +0 -67
  777. package/esm2022/directives/password/password.options.mjs +0 -8
  778. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  779. package/esm2022/directives/present/index.mjs +0 -2
  780. package/esm2022/directives/present/present.directive.mjs +0 -33
  781. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  782. package/esm2022/directives/sensitive/index.mjs +0 -2
  783. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  784. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  785. package/esm2022/directives/shimmer/index.mjs +0 -2
  786. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  787. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  788. package/esm2022/directives/skeleton/index.mjs +0 -2
  789. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  790. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  791. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  792. package/esm2022/directives/tooltip/index.mjs +0 -3
  793. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  794. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  795. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  796. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  797. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  798. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  799. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  800. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  801. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  802. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  803. package/esm2022/index.mjs +0 -6
  804. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  805. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  806. package/esm2022/pipes/emails/index.mjs +0 -3
  807. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  808. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  809. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  810. package/esm2022/pipes/field-error/index.mjs +0 -3
  811. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  812. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  813. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  814. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  815. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  816. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  817. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  818. package/esm2022/pipes/index.mjs +0 -8
  819. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  820. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  821. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  822. package/esm2022/pipes/stringify/index.mjs +0 -2
  823. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  824. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  825. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  826. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  827. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  828. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  829. package/esm2022/taiga-ui-kit.mjs +0 -5
  830. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  831. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  832. package/esm2022/tokens/i18n.mjs +0 -75
  833. package/esm2022/tokens/index.mjs +0 -10
  834. package/esm2022/tokens/input-date-options.mjs +0 -13
  835. package/esm2022/tokens/items-handlers.mjs +0 -27
  836. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  837. package/esm2022/tokens/month-formatter.mjs +0 -12
  838. package/esm2022/tokens/preview-icons.mjs +0 -17
  839. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  840. package/esm2022/tokens/validation-errors.mjs +0 -6
  841. package/esm2022/utils/create-time-periods.mjs +0 -12
  842. package/esm2022/utils/index.mjs +0 -7
  843. package/esm2022/utils/inject-value.mjs +0 -11
  844. package/esm2022/utils/is-flat.mjs +0 -4
  845. package/esm2022/utils/maskito.binding.mjs +0 -6
  846. package/esm2022/utils/phone.mjs +0 -6
  847. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  848. package/esm2022/utils/toggle-day.mjs +0 -6
  849. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -96
  850. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  851. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  852. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  853. package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -120
  854. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  855. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  856. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  857. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  858. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  859. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  860. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  861. package/pipes/field-error/index.d.ts +0 -2
  862. package/tokens/validation-errors.d.ts +0 -5
  863. /package/{directives → components}/copy/copy.d.ts +0 -0
  864. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/preview-icons.ts","../../../projects/kit/tokens/validation-errors.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, type Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {map, type Observable, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDay | null>\n>(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {\n factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,\n});\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDayRange | null>\n>(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<[TuiDay, TuiTime | null]>\n>(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputTime component\n */\nexport const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiTime | null>\n>(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');\n","import {InjectionToken} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\nimport {type Observable} from 'rxjs';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n","import {TUI_FIRST_DAY, TUI_LAST_DAY, type TuiDay} from '@taiga-ui/cdk/date-time';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: () => '@tui.calendar',\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n);\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: String,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: TUI_FALSE_HANDLER,\n};\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_ITEMS_HANDLERS = new InjectionToken(\n ngDevMode ? 'TUI_ITEMS_HANDLERS' : '',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {type FactoryProvider, inject, InjectionToken, type Type} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TUI_DROPDOWN_COMPONENT} from '@taiga-ui/core/directives/dropdown';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n ngDevMode ? 'TUI_MOBILE_CALENDAR' : '',\n);\n\nexport const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider = {\n provide: TUI_DROPDOWN_COMPONENT,\n useFactory: () =>\n (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, {optional: true})) ||\n inject(TUI_DROPDOWN_COMPONENT, {skipSelf: true}),\n};\n","import {inject, InjectionToken} from '@angular/core';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n Observable<TuiHandler<TuiMonth | null, string>>\n>(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {\n factory: () =>\n inject(TUI_MONTHS).pipe(\n map((months) => (date) => {\n if (!date) {\n return '';\n }\n\n return `${months[date.month] ?? ''} ${date.formattedYear}`;\n }),\n ),\n});\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPreviewIcons {\n readonly next: string;\n readonly prev: string;\n readonly rotate: string;\n readonly zoomIn: string;\n readonly zoomOut: string;\n readonly zoomReset: string;\n}\n\nexport const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons = {\n rotate: '@tui.rotate-ccw-square',\n prev: '@tui.arrow-left',\n next: '@tui.arrow-right',\n zoomIn: '@tui.plus',\n zoomOut: '@tui.minus',\n zoomReset: '@tui.minimize',\n};\n\nexport const TUI_PREVIEW_ICONS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ICONS' : '',\n {\n factory: () => TUI_PREVIEW_ICONS_DEFAULT,\n },\n);\n\nexport function tuiPreviewIconsProvider(icons: Partial<TuiPreviewIcons>): Provider {\n return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);\n}\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {type Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>(ngDevMode ? 'TUI_VALIDATION_ERRORS' : '', {\n factory: () => ({}),\n});\n\nexport const tuiValidationErrorsProvider = (\n useValue: Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>,\n): Provider => ({provide: TUI_VALIDATION_ERRORS, useValue});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA;;;AAGG;AACU,MAAA,wBAAwB,GAAG,IAAI,cAAc,CAExD,SAAS,GAAG,0BAA0B,GAAG,EAAE,EAAE;AAEzC,SAAU,4BAA4B,CACxC,WAAqD,EAAA;IAErD,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC,CAAC;AACN,CAAC;AAED,SAAS,sBAAsB,CAG3B,OAAyB,EACzB,WAA2C,EAAA;AAE3C,IAAA,OAAO,OAAO;AACV,UAAE,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CACzB,GAAG,CAAC,CAAC,KAAK,KACN,WAAW,GAAG,WAAW,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAI,KAAW,CACpE,CACJ;AACH,UAAE,EAAE,CAAC,IAAI,CAAC,CAAC;AACnB;;AClCA;;AAEG;AACU,MAAA,0BAA0B,GAAG,IAAI,cAAc,CAE1D,SAAS,GAAG,4BAA4B,GAAG,EA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/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/preview-icons.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, type Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {map, type Observable, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDay | null>\n>(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {\n factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,\n});\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDayRange | null>\n>(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<[TuiDay, TuiTime | null]>\n>(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputTime component\n */\nexport const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiTime | null>\n>(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');\n","import {InjectionToken, type Signal} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Signal<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Signal<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n","import {TUI_FIRST_DAY, TUI_LAST_DAY, type TuiDay} from '@taiga-ui/cdk/date-time';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: () => '@tui.calendar',\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n);\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: String,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: TUI_FALSE_HANDLER,\n};\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_ITEMS_HANDLERS = new InjectionToken(\n ngDevMode ? 'TUI_ITEMS_HANDLERS' : '',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {type FactoryProvider, inject, InjectionToken, type Type} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TUI_DROPDOWN_COMPONENT} from '@taiga-ui/core/directives/dropdown';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n ngDevMode ? 'TUI_MOBILE_CALENDAR' : '',\n);\n\nexport const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider = {\n provide: TUI_DROPDOWN_COMPONENT,\n useFactory: () =>\n (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, {optional: true})) ||\n inject(TUI_DROPDOWN_COMPONENT, {skipSelf: true}),\n};\n","import {inject, InjectionToken} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\n// TODO: replace with signal\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n Observable<TuiHandler<TuiMonth | null, string>>\n>(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {\n factory: () =>\n toObservable(inject(TUI_MONTHS)).pipe(\n map((months) => (date) => {\n if (!date) {\n return '';\n }\n\n return `${months[date.month] ?? ''} ${date.formattedYear}`;\n }),\n ),\n});\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPreviewIcons {\n readonly next: string;\n readonly prev: string;\n readonly rotate: string;\n readonly zoomIn: string;\n readonly zoomOut: string;\n readonly zoomReset: string;\n}\n\nexport const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons = {\n rotate: '@tui.rotate-ccw-square',\n prev: '@tui.arrow-left',\n next: '@tui.arrow-right',\n zoomIn: '@tui.plus',\n zoomOut: '@tui.minus',\n zoomReset: '@tui.minimize',\n};\n\nexport const TUI_PREVIEW_ICONS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ICONS' : '',\n {\n factory: () => TUI_PREVIEW_ICONS_DEFAULT,\n },\n);\n\nexport function tuiPreviewIconsProvider(icons: Partial<TuiPreviewIcons>): Provider {\n return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAOA;;;AAGG;AACU,MAAA,wBAAwB,GAAG,IAAI,cAAc,CAExD,SAAS,GAAG,0BAA0B,GAAG,EAAE;AAEvC,SAAU,4BAA4B,CACxC,WAAqD,EAAA;IAErD,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC;AACL;AAEA,SAAS,sBAAsB,CAG3B,OAAyB,EACzB,WAA2C,EAAA;AAE3C,IAAA,OAAO;AACH,UAAE,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CACzB,GAAG,CAAC,CAAC,KAAK,KACN,WAAW,GAAG,WAAW,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAI,KAAW,CACpE;AAEP,UAAE,EAAE,CAAC,IAAI,CAAC;AAClB;;AClCA;;AAEG;AACU,MAA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AG,EAAE,EAAE;IACtC,OAAO,EAAE,MACL,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CACjC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC,IAAI,KAAI;QACrB,IAAI,CAAC,IAAI,EAAE;AACP,YAAA,OAAO,EAAE;;AAGb,QAAA,OAAO,CAAG,EAAA,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAI,CAAA,EAAA,IAAI,CAAC,aAAa,EAAE;AAC9D,KAAC,CAAC,CACL;AACR,CAAA;;ACTY,MAAA,yBAAyB,GAAoB;AACtD,IAAA,MAAM,EAAE,wBAAwB;AAChC,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,OAAO,EAAE,YAAY;AACrB,IAAA,SAAS,EAAE,eAAe;;AAGjB,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,MAAM,yBAAyB;AAC3C,CAAA;AAGC,SAAU,uBAAuB,CAAC,KAA+B,EAAA;IACnE,OAAO,iBAAiB,CAAC,iBAAiB,EAAE,KAAK,EAAE,yBAAyB,CAAC;AACjF;;AC9BA;;AAEG;;;;"}
@@ -1,4 +1,4 @@
1
- import { TuiTime, HOURS_IN_DAY } from '@taiga-ui/cdk/date-time';
1
+ import { HOURS_IN_DAY, TuiTime } from '@taiga-ui/cdk/date-time';
2
2
  import { inject } from '@angular/core';
3
3
  import { toSignal } from '@angular/core/rxjs-interop';
4
4
  import { NgControl } from '@angular/forms';
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {getCountryCallingCode, type MetadataJson} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE,CAAC;IAEhC,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAEpC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,SAAC,CAAC,CAAC;AACN,KAAA;AAED,IAAA,OAAO,SAAS,CAAC;AACrB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO;QACxD,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;AAExC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC,CAAC;AACnE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AACrE;;ACPgB,SAAA,iBAAiB,CAC7B,GAAsB,EACtB,QAA8B,EAAA;AAE9B,IAAA,OAAO,QAAQ,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;AAC5E;;ACPgB,SAAA,YAAY,CACxB,IAA8B,EAC9B,GAAW,EAAA;AAEX,IAAA,QACI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACpC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;UACzC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,EAChC;AACN;;ACXA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {getCountryCallingCode, type MetadataJson} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS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