@taiga-ui/kit 4.52.0-canary.46625cf → 4.52.0-canary.49575ff

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 (405) hide show
  1. package/README.md +1 -1
  2. package/components/avatar/avatar-labeled.component.d.ts +3 -3
  3. package/components/avatar/avatar-stack.component.d.ts +2 -2
  4. package/components/badge/badge.options.d.ts +1 -3
  5. package/components/badge-notification/badge-notification.component.d.ts +2 -3
  6. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  7. package/components/badged-content/badged-content.directive.d.ts +2 -2
  8. package/components/block/block.options.d.ts +1 -3
  9. package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
  10. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  11. package/components/button-loading/button-loading.component.d.ts +5 -5
  12. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  13. package/components/calendar-range/calendar-range.component.d.ts +1 -3
  14. package/components/calendar-range/day-range-period.d.ts +2 -1
  15. package/components/carousel/carousel.component.d.ts +15 -18
  16. package/components/carousel/carousel.directive.d.ts +5 -4
  17. package/components/chip/chip.options.d.ts +1 -3
  18. package/components/combo-box/combo-box.d.ts +5 -0
  19. package/components/combo-box/combo-box.directive.d.ts +7 -9
  20. package/components/combo-box/index.d.ts +1 -0
  21. package/components/compass/compass.component.d.ts +2 -2
  22. package/components/confirm/confirm.component.d.ts +5 -4
  23. package/components/confirm/confirm.service.d.ts +1 -1
  24. package/components/copy/copy.component.d.ts +4 -5
  25. package/components/copy/copy.directive.d.ts +3 -4
  26. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -2
  27. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  28. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  29. package/components/data-list-wrapper/index.d.ts +1 -1
  30. package/components/drawer/drawer.component.d.ts +3 -4
  31. package/components/files/file/file.component.d.ts +16 -29
  32. package/components/files/file/file.options.d.ts +1 -1
  33. package/components/files/files/files.component.d.ts +7 -10
  34. package/components/files/input-files/input-files.component.d.ts +2 -2
  35. package/components/files/input-files/input-files.content.d.ts +7 -8
  36. package/components/files/input-files/input-files.directive.d.ts +2 -2
  37. package/components/files/input-files/input-files.options.d.ts +1 -3
  38. package/components/filter/filter.component.d.ts +9 -11
  39. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  40. package/components/index.d.ts +0 -3
  41. package/components/input-chip/input-chip.component.d.ts +9 -8
  42. package/components/input-chip/input-chip.d.ts +5 -1
  43. package/components/input-chip/input-chip.directive.d.ts +7 -12
  44. package/components/input-color/index.d.ts +1 -0
  45. package/components/input-color/input-color.component.d.ts +4 -4
  46. package/components/input-color/input-color.d.ts +5 -0
  47. package/components/input-date/input-date.d.ts +4 -1
  48. package/components/input-date/input-date.directive.d.ts +12 -14
  49. package/components/input-date/input-date.options.d.ts +3 -3
  50. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  51. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  52. package/components/input-date-range/input-date-range.d.ts +4 -1
  53. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  54. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  55. package/components/input-date-time/input-date-time.d.ts +4 -1
  56. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  57. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  58. package/components/input-month/input-month.d.ts +4 -1
  59. package/components/input-month/input-month.directive.d.ts +6 -5
  60. package/components/input-month-range/input-month-range.d.ts +4 -1
  61. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  62. package/components/input-number/input-number.d.ts +4 -1
  63. package/components/input-number/input-number.directive.d.ts +7 -11
  64. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  65. package/components/input-phone/index.d.ts +1 -0
  66. package/components/input-phone/input-phone.d.ts +5 -0
  67. package/components/input-phone/input-phone.directive.d.ts +7 -7
  68. package/components/input-phone-international/index.d.ts +1 -0
  69. package/components/input-phone-international/input-phone-international.component.d.ts +11 -11
  70. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  71. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  72. package/components/input-pin/index.d.ts +1 -0
  73. package/components/input-pin/input-pin.component.d.ts +4 -4
  74. package/components/input-pin/input-pin.d.ts +5 -0
  75. package/components/input-range/index.d.ts +0 -1
  76. package/components/input-range/input-range.component.d.ts +4 -4
  77. package/components/input-slider/input-slider.d.ts +4 -1
  78. package/components/input-slider/input-slider.directive.d.ts +1 -1
  79. package/components/input-time/input-time.component.d.ts +1 -3
  80. package/components/input-time/input-time.d.ts +4 -1
  81. package/components/input-time/input-time.directive.d.ts +7 -10
  82. package/components/input-year/input-year.d.ts +4 -1
  83. package/components/input-year/input-year.directive.d.ts +5 -5
  84. package/components/input-year/input-year.options.d.ts +2 -2
  85. package/components/like/like.options.d.ts +1 -1
  86. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  87. package/components/line-clamp/line-clamp.component.d.ts +8 -10
  88. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  89. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +5 -7
  90. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  91. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  92. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  93. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  94. package/components/pagination/index.d.ts +1 -0
  95. package/components/pagination/pagination.component.d.ts +25 -54
  96. package/components/pagination/pagination.options.d.ts +7 -0
  97. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  98. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  99. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  100. package/components/preview/index.d.ts +1 -0
  101. package/components/preview/pagination/preview-pagination.component.d.ts +3 -2
  102. package/components/preview/preview.component.d.ts +2 -2
  103. package/components/preview/preview.d.ts +2 -1
  104. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  105. package/components/preview/zoom/preview-zoom.component.d.ts +4 -2
  106. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  107. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  108. package/components/progress/progress.options.d.ts +1 -3
  109. package/components/pulse/pulse.component.d.ts +2 -2
  110. package/components/push/push-alert.component.d.ts +2 -1
  111. package/components/push/push.component.d.ts +1 -1
  112. package/components/push/push.options.d.ts +5 -10
  113. package/components/push/push.service.d.ts +3 -2
  114. package/components/radio/radio.component.d.ts +1 -1
  115. package/components/radio-list/radio-list.component.d.ts +5 -3
  116. package/components/range/range-change.directive.d.ts +1 -2
  117. package/components/range/range.component.d.ts +16 -19
  118. package/components/rating/rating.component.d.ts +1 -1
  119. package/components/rating/rating.options.d.ts +1 -3
  120. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  121. package/components/segmented/segmented.component.d.ts +4 -6
  122. package/components/segmented/segmented.directive.d.ts +6 -7
  123. package/components/select/native-select/native-select.component.d.ts +7 -8
  124. package/components/select/select.d.ts +4 -1
  125. package/components/select/select.directive.d.ts +4 -3
  126. package/components/slider/slider.options.d.ts +1 -6
  127. package/components/stepper/step.component.d.ts +6 -8
  128. package/components/stepper/stepper.component.d.ts +6 -11
  129. package/components/switch/switch.component.d.ts +1 -0
  130. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  131. package/components/tabs/tabs.options.d.ts +1 -6
  132. package/components/textarea/index.d.ts +2 -1
  133. package/components/textarea/textarea.component.d.ts +4 -4
  134. package/components/textarea/textarea.d.ts +6 -0
  135. package/components/textarea/textarea.directive.d.ts +13 -0
  136. package/components/toast/toast.component.d.ts +4 -3
  137. package/components/toast/toast.options.d.ts +5 -5
  138. package/components/toast/toast.service.d.ts +4 -9
  139. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +8 -1
  140. package/components/tree/misc/tree.constants.d.ts +0 -3
  141. package/components/tree/misc/tree.tokens.d.ts +1 -6
  142. package/directives/button-close/button-close.directive.d.ts +2 -1
  143. package/directives/button-select/button-select.directive.d.ts +3 -2
  144. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  145. package/directives/fade/fade.directive.d.ts +5 -6
  146. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  147. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  148. package/directives/highlight/highlight.directive.d.ts +4 -4
  149. package/directives/index.d.ts +0 -1
  150. package/directives/password/password.directive.d.ts +1 -1
  151. package/directives/present/present.directive.d.ts +2 -4
  152. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  153. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  154. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  155. package/fesm2022/taiga-ui-kit-components-accordion.mjs +8 -9
  156. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
  158. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-avatar.mjs +34 -48
  160. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +11 -18
  162. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-badge.mjs +11 -15
  164. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -12
  166. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-block.mjs +11 -15
  168. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +19 -39
  170. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +19 -27
  172. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -17
  174. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +25 -26
  176. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-carousel.mjs +64 -114
  178. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -6
  180. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-chip.mjs +11 -15
  182. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +45 -50
  184. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
  186. package/fesm2022/taiga-ui-kit-components-compass.mjs +9 -11
  187. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-confirm.mjs +11 -14
  189. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-copy.mjs +23 -36
  191. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +25 -78
  193. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -32
  195. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-files.mjs +116 -243
  197. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-filter.mjs +20 -34
  199. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +23 -42
  201. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +70 -75
  203. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  205. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +36 -53
  207. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +30 -36
  209. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +33 -31
  211. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-input-date.mjs +49 -53
  213. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +4 -5
  215. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +29 -27
  217. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-input-month.mjs +35 -27
  219. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-input-number.mjs +54 -72
  221. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +50 -44
  223. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +32 -23
  225. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  227. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-components-input-range.mjs +11 -13
  229. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +16 -12
  231. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-components-input-time.mjs +49 -73
  233. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-components-input-year.mjs +28 -21
  235. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -14
  237. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-components-like.mjs +4 -4
  239. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +36 -78
  241. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-components-message.mjs +7 -8
  243. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +36 -49
  245. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +37 -26
  247. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
  249. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-components-pagination.mjs +67 -138
  251. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  253. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-components-preview.mjs +74 -54
  255. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-components-progress.mjs +69 -65
  257. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  259. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-components-push.mjs +30 -43
  261. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +8 -8
  263. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  264. package/fesm2022/taiga-ui-kit-components-radio.mjs +8 -9
  265. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-components-range.mjs +40 -75
  267. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-components-rating.mjs +7 -12
  269. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  270. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +11 -7
  271. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-components-segmented.mjs +32 -59
  273. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-components-select.mjs +59 -48
  275. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-components-slider.mjs +24 -34
  277. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  279. package/fesm2022/taiga-ui-kit-components-stepper.mjs +45 -79
  280. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  282. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-components-tabs.mjs +29 -37
  284. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-components-textarea.mjs +54 -62
  286. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-components-tiles.mjs +14 -15
  288. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-components-toast.mjs +35 -61
  290. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-components-tree.mjs +56 -60
  292. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  294. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +15 -7
  296. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  298. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +18 -10
  300. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
  302. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -7
  304. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -53
  306. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  307. package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
  308. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  309. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +14 -27
  310. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  311. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -21
  312. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  313. package/fesm2022/taiga-ui-kit-directives-password.mjs +12 -14
  314. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  315. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -18
  316. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  317. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  318. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  319. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  320. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  321. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +11 -11
  322. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  323. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +9 -12
  324. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  325. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -15
  326. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  327. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  328. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  329. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  330. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  331. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -4
  332. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  333. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -25
  334. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  335. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  336. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  337. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -5
  338. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  339. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  340. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  341. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  342. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  343. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -4
  344. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  345. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
  346. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  347. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  348. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  349. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -121
  350. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  351. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  352. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  353. package/package.json +42 -47
  354. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  355. package/pipes/auto-color/index.d.ts +1 -0
  356. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  357. package/pipes/flag/flag.pipe.d.ts +14 -0
  358. package/pipes/flag/index.d.ts +1 -0
  359. package/pipes/index.d.ts +3 -0
  360. package/pipes/initials/index.d.ts +1 -0
  361. package/pipes/initials/initials.pipe.d.ts +7 -0
  362. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  363. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  364. package/styles/components/avatar.less +14 -14
  365. package/styles/components/badge.less +4 -3
  366. package/styles/components/block.less +4 -4
  367. package/styles/components/chip.less +14 -4
  368. package/styles/components/comment.less +1 -1
  369. package/styles/components/message.less +1 -1
  370. package/styles/components/pin.less +3 -3
  371. package/styles/components/switch.less +2 -2
  372. package/styles/components/toast.less +1 -1
  373. package/tokens/i18n.d.ts +26 -26
  374. package/tokens/index.d.ts +0 -7
  375. package/utils/index.d.ts +0 -2
  376. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  377. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  378. package/components/elastic-container/index.d.ts +0 -2
  379. package/components/floating-container/floating-container.directive.d.ts +0 -7
  380. package/components/floating-container/index.d.ts +0 -1
  381. package/components/input-range/input-range.d.ts +0 -3
  382. package/components/slides/index.d.ts +0 -1
  383. package/components/slides/slides.directive.d.ts +0 -11
  384. package/components/textarea/textarea-limit.directive.d.ts +0 -27
  385. package/directives/lazy-loading/index.d.ts +0 -2
  386. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  387. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  388. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -78
  389. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  390. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  391. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  392. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  393. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  394. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  395. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  396. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -81
  397. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  398. package/tokens/calendar-date-stream.d.ts +0 -10
  399. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  400. package/tokens/input-date-options.d.ts +0 -15
  401. package/tokens/items-handlers.d.ts +0 -26
  402. package/tokens/mobile-calendar.d.ts +0 -6
  403. package/tokens/month-formatter.d.ts +0 -5
  404. package/utils/phone.d.ts +0 -3
  405. package/utils/toggle-day.d.ts +0 -2
@@ -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/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","/**\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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mB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;QACvE,MAAM,CAAC,sBAAsB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;;;ACT3C,MAAA,mBAAmB,GAAG,IAAI,cAAc,CAEnD,SAAS,GAAG,qBAAqB,GAAG,EAAE,EAAE;IACtC,OAAO,EAAE,MACL,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,CACnB,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;;ACPY,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
+ {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["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\nexport const TUI_DAY_RANGE_PERIODS = new InjectionToken(\n ngDevMode ? 'TUI_DAY_RANGE_PERIODS' : '',\n {\n factory: tuiExtractI18n('dayRangePeriods'),\n },\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC;AACrC,CAAA;AAGQ,MAAA,eAAe,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,iBAAiB,GAAG,EAAE,EAAE;AAClF,IAAA,OAAO,EAAE,cAAc,CAAC,QAAQ,CAAC;AACpC,CAAA;AAEY,MAAA,aAAa,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,eAAe,GAAG,EAAE,EAAE;AAC9E,IAAA,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC;AAClC,CAAA;AAEY,MAAA,aAAa,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,eAAe,GAAG,EAAE,EAAE;AAC9E,IAAA,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC;AAClC,CAAA;AAEY,MAAA,aAAa,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,eAAe,GAAG,EAAE,EAAE;AAC9E,IAAA,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC;AAClC,CAAA;AAEY,MAAA,iBAAiB,GAAG,IAAI,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AAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,WAAW,CAAC;AACvC,CAAA;AAGQ,MAAA,wBAAwB,GAAG,IAAI,cAAc,CACtD,SAAS,GAAG,0BAA0B,GAAG,EAAE,EAC3C;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC;AACzC,CAAA;AAGQ,MAAA,qBAAqB,GAAG,IAAI,cAAc,CACnD,SAAS,GAAG,uBAAuB,GAAG,EAAE,EACxC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,iBAAiB,CAAC;AAC7C,CAAA;;AC3JL;;AAEG;;;;"}
@@ -5,9 +5,7 @@ import { NgControl } from '@angular/forms';
5
5
  import { tuiControlValue } from '@taiga-ui/cdk/observables';
6
6
  import { TuiTextfieldComponent } from '@taiga-ui/core/components/textfield';
7
7
  import { MaskitoDirective } from '@maskito/angular';
8
- import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils';
9
- import { CHAR_PLUS } from '@taiga-ui/cdk/constants';
10
- import { getCountryCallingCode } from 'libphonenumber-js/core';
8
+ import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils/di';
11
9
 
12
10
  function tuiCreateTimePeriods(minHour = 0, maxHour = HOURS_IN_DAY, minutes = [0, 30]) {
13
11
  const timeArray = [];
@@ -21,7 +19,7 @@ function tuiCreateTimePeriods(minHour = 0, maxHour = HOURS_IN_DAY, minutes = [0,
21
19
  }
22
20
 
23
21
  function tuiInjectValue() {
24
- const control = inject(TuiTextfieldComponent, { optional: true })?.control ||
22
+ const control = inject(TuiTextfieldComponent, { optional: true })?.control() ||
25
23
  inject(NgControl, { optional: true });
26
24
  return toSignal(tuiControlValue(control), { requireSync: true });
27
25
  }
@@ -34,19 +32,9 @@ function tuiMaskito(options) {
34
32
  return tuiDirectiveBinding(MaskitoDirective, 'options', options);
35
33
  }
36
34
 
37
- function tuiGetCallingCode(iso, metadata) {
38
- return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';
39
- }
40
-
41
- function tuiToggleDay(days, day) {
42
- return ((days?.find((item) => item.daySame(day))
43
- ? days.filter((item) => !item.daySame(day))
44
- : days?.concat(day)) || []);
45
- }
46
-
47
35
  /**
48
36
  * Generated bundle index. Do not edit.
49
37
  */
50
38
 
51
- export { tuiCreateTimePeriods, tuiGetCallingCode, tuiInjectValue, tuiIsFlat, tuiMaskito, tuiToggleDay };
39
+ export { tuiCreateTimePeriods, tuiInjectValue, tuiIsFlat, tuiMaskito };
52
40
  //# sourceMappingURL=taiga-ui-kit-utils.mjs.map
@@ -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;AAE/B,IAAA,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;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;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;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACPgB,SAAA,iBAAiB,CAC7B,GAAsB,EACtB,QAA8B,EAAA;AAE9B,IAAA,OAAO,QAAQ,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE;AAC3E;;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;AACnC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;UACxC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE;AAEtC;;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/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/di';\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","/**\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;AAE/B,IAAA,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;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO,EAAE;QAC1D,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACXA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.52.0-canary.46625cf",
3
+ "version": "4.52.0-canary.49575ff",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -10,7 +10,10 @@
10
10
  "directive"
11
11
  ],
12
12
  "homepage": "https://github.com/taiga-family/taiga-ui",
13
- "repository": "https://github.com/taiga-family/taiga-ui",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/taiga-family/taiga-ui"
16
+ },
14
17
  "license": "Apache-2.0",
15
18
  "exports": {
16
19
  "./styles/*": "./styles/*",
@@ -37,10 +40,6 @@
37
40
  "types": "./tokens/index.d.ts",
38
41
  "default": "./fesm2022/taiga-ui-kit-tokens.mjs"
39
42
  },
40
- "./utils": {
41
- "types": "./utils/index.d.ts",
42
- "default": "./fesm2022/taiga-ui-kit-utils.mjs"
43
- },
44
43
  "./components/accordion": {
45
44
  "types": "./components/accordion/index.d.ts",
46
45
  "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
@@ -53,6 +52,10 @@
53
52
  "types": "./components/avatar/index.d.ts",
54
53
  "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
55
54
  },
55
+ "./utils": {
56
+ "types": "./utils/index.d.ts",
57
+ "default": "./fesm2022/taiga-ui-kit-utils.mjs"
58
+ },
56
59
  "./components/badge": {
57
60
  "types": "./components/badge/index.d.ts",
58
61
  "default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
@@ -125,10 +128,6 @@
125
128
  "types": "./components/drawer/index.d.ts",
126
129
  "default": "./fesm2022/taiga-ui-kit-components-drawer.mjs"
127
130
  },
128
- "./components/elastic-container": {
129
- "types": "./components/elastic-container/index.d.ts",
130
- "default": "./fesm2022/taiga-ui-kit-components-elastic-container.mjs"
131
- },
132
131
  "./components/files": {
133
132
  "types": "./components/files/index.d.ts",
134
133
  "default": "./fesm2022/taiga-ui-kit-components-files.mjs"
@@ -137,10 +136,6 @@
137
136
  "types": "./components/filter/index.d.ts",
138
137
  "default": "./fesm2022/taiga-ui-kit-components-filter.mjs"
139
138
  },
140
- "./components/floating-container": {
141
- "types": "./components/floating-container/index.d.ts",
142
- "default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
143
- },
144
139
  "./components/fullscreen": {
145
140
  "types": "./components/fullscreen/index.d.ts",
146
141
  "default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
@@ -213,14 +208,14 @@
213
208
  "types": "./components/input-year/index.d.ts",
214
209
  "default": "./fesm2022/taiga-ui-kit-components-input-year.mjs"
215
210
  },
216
- "./components/items-with-more": {
217
- "types": "./components/items-with-more/index.d.ts",
218
- "default": "./fesm2022/taiga-ui-kit-components-items-with-more.mjs"
219
- },
220
211
  "./components/like": {
221
212
  "types": "./components/like/index.d.ts",
222
213
  "default": "./fesm2022/taiga-ui-kit-components-like.mjs"
223
214
  },
215
+ "./components/items-with-more": {
216
+ "types": "./components/items-with-more/index.d.ts",
217
+ "default": "./fesm2022/taiga-ui-kit-components-items-with-more.mjs"
218
+ },
224
219
  "./components/line-clamp": {
225
220
  "types": "./components/line-clamp/index.d.ts",
226
221
  "default": "./fesm2022/taiga-ui-kit-components-line-clamp.mjs"
@@ -233,14 +228,14 @@
233
228
  "types": "./components/multi-select/index.d.ts",
234
229
  "default": "./fesm2022/taiga-ui-kit-components-multi-select.mjs"
235
230
  },
236
- "./components/pager": {
237
- "types": "./components/pager/index.d.ts",
238
- "default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
239
- },
240
231
  "./components/notification-middle": {
241
232
  "types": "./components/notification-middle/index.d.ts",
242
233
  "default": "./fesm2022/taiga-ui-kit-components-notification-middle.mjs"
243
234
  },
235
+ "./components/pager": {
236
+ "types": "./components/pager/index.d.ts",
237
+ "default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
238
+ },
244
239
  "./components/pagination": {
245
240
  "types": "./components/pagination/index.d.ts",
246
241
  "default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
@@ -253,14 +248,14 @@
253
248
  "types": "./components/preview/index.d.ts",
254
249
  "default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
255
250
  },
256
- "./components/progress": {
257
- "types": "./components/progress/index.d.ts",
258
- "default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
259
- },
260
251
  "./components/pulse": {
261
252
  "types": "./components/pulse/index.d.ts",
262
253
  "default": "./fesm2022/taiga-ui-kit-components-pulse.mjs"
263
254
  },
255
+ "./components/progress": {
256
+ "types": "./components/progress/index.d.ts",
257
+ "default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
258
+ },
264
259
  "./components/push": {
265
260
  "types": "./components/push/index.d.ts",
266
261
  "default": "./fesm2022/taiga-ui-kit-components-push.mjs"
@@ -297,10 +292,6 @@
297
292
  "types": "./components/slider/index.d.ts",
298
293
  "default": "./fesm2022/taiga-ui-kit-components-slider.mjs"
299
294
  },
300
- "./components/slides": {
301
- "types": "./components/slides/index.d.ts",
302
- "default": "./fesm2022/taiga-ui-kit-components-slides.mjs"
303
- },
304
295
  "./components/status": {
305
296
  "types": "./components/status/index.d.ts",
306
297
  "default": "./fesm2022/taiga-ui-kit-components-status.mjs"
@@ -317,14 +308,14 @@
317
308
  "types": "./components/tabs/index.d.ts",
318
309
  "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
319
310
  },
320
- "./components/tiles": {
321
- "types": "./components/tiles/index.d.ts",
322
- "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
323
- },
324
311
  "./components/textarea": {
325
312
  "types": "./components/textarea/index.d.ts",
326
313
  "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
327
314
  },
315
+ "./components/tiles": {
316
+ "types": "./components/tiles/index.d.ts",
317
+ "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
318
+ },
328
319
  "./components/toast": {
329
320
  "types": "./components/toast/index.d.ts",
330
321
  "default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
@@ -369,10 +360,6 @@
369
360
  "types": "./directives/highlight/index.d.ts",
370
361
  "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
371
362
  },
372
- "./directives/lazy-loading": {
373
- "types": "./directives/lazy-loading/index.d.ts",
374
- "default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
375
- },
376
363
  "./directives/password": {
377
364
  "types": "./directives/password/index.d.ts",
378
365
  "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
@@ -405,6 +392,10 @@
405
392
  "types": "./directives/unmask-handler/index.d.ts",
406
393
  "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
407
394
  },
395
+ "./pipes/auto-color": {
396
+ "types": "./pipes/auto-color/index.d.ts",
397
+ "default": "./fesm2022/taiga-ui-kit-pipes-auto-color.mjs"
398
+ },
408
399
  "./pipes/emails": {
409
400
  "types": "./pipes/emails/index.d.ts",
410
401
  "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
@@ -413,10 +404,18 @@
413
404
  "types": "./pipes/filter-by-input/index.d.ts",
414
405
  "default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
415
406
  },
407
+ "./pipes/flag": {
408
+ "types": "./pipes/flag/index.d.ts",
409
+ "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
410
+ },
416
411
  "./pipes/hide-selected": {
417
412
  "types": "./pipes/hide-selected/index.d.ts",
418
413
  "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
419
414
  },
415
+ "./pipes/initials": {
416
+ "types": "./pipes/initials/index.d.ts",
417
+ "default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
418
+ },
420
419
  "./pipes/sort-countries": {
421
420
  "types": "./pipes/sort-countries/index.d.ts",
422
421
  "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
@@ -428,10 +427,6 @@
428
427
  "./pipes/stringify-content": {
429
428
  "types": "./pipes/stringify-content/index.d.ts",
430
429
  "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
431
- },
432
- "./components/preview/dialog": {
433
- "types": "./components/preview/dialog/index.d.ts",
434
- "default": "./fesm2022/taiga-ui-kit-components-preview-dialog.mjs"
435
430
  }
436
431
  },
437
432
  "peerDependencies": {
@@ -439,17 +434,17 @@
439
434
  "@angular/core": ">=19.0.0",
440
435
  "@angular/forms": ">=19.0.0",
441
436
  "@angular/router": ">=19.0.0",
442
- "@maskito/angular": "^4.0.0",
443
- "@maskito/core": "^4.0.0",
444
- "@maskito/kit": "^4.0.0",
445
- "@maskito/phone": "^4.0.0",
437
+ "@maskito/angular": "^5.0.0",
438
+ "@maskito/core": "^5.0.0",
439
+ "@maskito/kit": "^5.0.0",
440
+ "@maskito/phone": "^5.0.0",
446
441
  "@ng-web-apis/common": "^4.12.2",
447
442
  "@ng-web-apis/intersection-observer": "^4.12.2",
448
443
  "@ng-web-apis/mutation-observer": "^4.12.2",
449
444
  "@ng-web-apis/resize-observer": "^4.12.2",
450
445
  "@taiga-ui/cdk": "^4.52.0",
451
446
  "@taiga-ui/core": "^4.52.0",
452
- "@taiga-ui/design-tokens": "~0.257.0",
447
+ "@taiga-ui/design-tokens": "~0.274.0",
453
448
  "@taiga-ui/i18n": "^4.52.0",
454
449
  "@taiga-ui/polymorpheus": "^4.9.0",
455
450
  "rxjs": ">=7.0.0"
@@ -0,0 +1,13 @@
1
+ import { type PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiAutoColorPipe implements PipeTransform {
4
+ transform(text: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAutoColorPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiAutoColorPipe, "tuiAutoColor", true>;
7
+ }
8
+ /**
9
+ * Converts a string to an HSL color
10
+ * @param value string to convert
11
+ * @return HSL color string
12
+ */
13
+ export declare function tuiAutoColor(value: string): string;
@@ -0,0 +1 @@
1
+ export * from './auto-color.pipe';
@@ -3,8 +3,8 @@ import { type TuiStringMatcher } from '@taiga-ui/cdk/types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TuiFilterByInputPipe implements PipeTransform {
5
5
  private readonly textfield;
6
- private readonly host;
7
- private readonly itemsHandlers;
6
+ private readonly handlers;
7
+ private readonly multi;
8
8
  transform<T>(items: ReadonlyArray<readonly T[]>, matcher?: TuiStringMatcher<T>): ReadonlyArray<readonly T[]>;
9
9
  transform<T>(items: readonly T[], matcher?: TuiStringMatcher<T>): readonly T[];
10
10
  transform<T>(items: ReadonlyArray<readonly T[]> | null, matcher?: TuiStringMatcher<T>): ReadonlyArray<readonly T[]> | null;
@@ -0,0 +1,14 @@
1
+ import { type PipeTransform } from '@angular/core';
2
+ import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
3
+ import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
+ import * as i0 from "@angular/core";
5
+ type IsoCode = TuiLooseUnion<TuiCountryIsoCode>;
6
+ export declare class TuiFlagPipe implements PipeTransform {
7
+ private readonly staticPath;
8
+ transform(countryIsoCode: IsoCode): string;
9
+ transform(countryIsoCode: IsoCode | undefined): string | null;
10
+ transform(countryIsoCode?: IsoCode | null): string | null;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlagPipe, never>;
12
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiFlagPipe, "tuiFlag", true>;
13
+ }
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './flag.pipe';
package/pipes/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
+ export * from '@taiga-ui/kit/pipes/auto-color';
1
2
  export * from '@taiga-ui/kit/pipes/emails';
2
3
  export * from '@taiga-ui/kit/pipes/filter-by-input';
4
+ export * from '@taiga-ui/kit/pipes/flag';
3
5
  export * from '@taiga-ui/kit/pipes/hide-selected';
6
+ export * from '@taiga-ui/kit/pipes/initials';
4
7
  export * from '@taiga-ui/kit/pipes/sort-countries';
5
8
  export * from '@taiga-ui/kit/pipes/stringify';
6
9
  export * from '@taiga-ui/kit/pipes/stringify-content';
@@ -0,0 +1 @@
1
+ export * from './initials.pipe';
@@ -0,0 +1,7 @@
1
+ import { type PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiInitialsPipe implements PipeTransform {
4
+ transform(text: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInitialsPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiInitialsPipe, "tuiInitials", true>;
7
+ }
@@ -1,10 +1,11 @@
1
1
  import { type PipeTransform } from '@angular/core';
2
2
  import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
3
- import { type Observable } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TuiSortCountriesPipe implements PipeTransform {
6
- private readonly countriesNames$;
7
- transform(countries: readonly TuiCountryIsoCode[]): Observable<TuiCountryIsoCode[]>;
5
+ private readonly names;
6
+ private readonly countries;
7
+ private readonly result;
8
+ transform(countries: readonly TuiCountryIsoCode[]): TuiCountryIsoCode[];
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSortCountriesPipe, never>;
9
10
  static ɵpipe: i0.ɵɵPipeDeclaration<TuiSortCountriesPipe, "tuiSortCountries", true>;
10
11
  }
@@ -1,9 +1,8 @@
1
1
  import { type PipeTransform } from '@angular/core';
2
- import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiValueContentContext } from '@taiga-ui/core/types';
2
+ import { type TuiContext, type TuiStringHandler } from '@taiga-ui/cdk/types';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TuiStringifyContentPipe implements PipeTransform {
6
- transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiValueContentContext<T>>;
5
+ transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>>;
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiStringifyContentPipe, never>;
8
7
  static ɵpipe: i0.ɵɵPipeDeclaration<TuiStringifyContentPipe, "tuiStringifyContent", true>;
9
8
  }
@@ -41,7 +41,7 @@
41
41
  vertical-align: middle;
42
42
  box-sizing: border-box;
43
43
  padding: 0.25rem;
44
- font: var(--tui-font-text-l);
44
+ font: var(--tui-font-body-l);
45
45
  font-weight: bold;
46
46
  opacity: 0.999; // Kick in hardware rendering layer to avoid artifacts on the edges
47
47
 
@@ -60,11 +60,11 @@
60
60
  --t-size: var(--tui-height-xs);
61
61
  --t-radius: 0.5rem;
62
62
 
63
- font: var(--tui-font-text-ui-xs);
63
+ font: var(--tui-font-ui-xs);
64
64
  font-size: 0.5625rem;
65
65
 
66
66
  &._initials::before {
67
- font: var(--tui-font-text-ui-xs);
67
+ font: var(--tui-font-ui-xs);
68
68
  font-weight: bold;
69
69
  }
70
70
  }
@@ -73,11 +73,11 @@
73
73
  --t-size: var(--tui-height-s);
74
74
  --t-radius: 0.5rem;
75
75
 
76
- font: var(--tui-font-text-ui-xs);
76
+ font: var(--tui-font-ui-xs);
77
77
  font-weight: bold;
78
78
 
79
79
  &._initials::before {
80
- font: var(--tui-font-text-s);
80
+ font: var(--tui-font-body-s);
81
81
  font-weight: bold;
82
82
  }
83
83
  }
@@ -86,11 +86,11 @@
86
86
  --t-size: calc(var(--tui-height-m) - 0.25rem);
87
87
  --t-radius: 0.75rem;
88
88
 
89
- font: var(--tui-font-text-ui-m);
89
+ font: var(--tui-font-ui-m);
90
90
  font-weight: bold;
91
91
 
92
92
  &._initials::before {
93
- font: var(--tui-font-text-m);
93
+ font: var(--tui-font-body-m);
94
94
  font-weight: bold;
95
95
  }
96
96
  }
@@ -99,10 +99,10 @@
99
99
  --t-size: 5rem;
100
100
  --t-radius: 0.75rem;
101
101
 
102
- font: var(--tui-font-heading-4);
102
+ font: var(--tui-font-heading-h4);
103
103
 
104
104
  &._initials::before {
105
- font: var(--tui-font-heading-3);
105
+ font: var(--tui-font-heading-h3);
106
106
  }
107
107
  }
108
108
 
@@ -110,10 +110,10 @@
110
110
  --t-size: 6rem;
111
111
  --t-radius: 1rem;
112
112
 
113
- font: var(--tui-font-heading-3);
113
+ font: var(--tui-font-heading-h3);
114
114
 
115
115
  &._initials::before {
116
- font: var(--tui-font-heading-3);
116
+ font: var(--tui-font-heading-h3);
117
117
  }
118
118
  }
119
119
 
@@ -121,10 +121,10 @@
121
121
  --t-size: 8rem;
122
122
  --t-radius: 1.25rem;
123
123
 
124
- font: var(--tui-font-heading-3);
124
+ font: var(--tui-font-heading-h3);
125
125
 
126
126
  &._initials::before {
127
- font: var(--tui-font-heading-2);
127
+ font: var(--tui-font-heading-h2);
128
128
  }
129
129
  }
130
130
 
@@ -137,7 +137,7 @@
137
137
  content: attr(data-icon-start);
138
138
  mask: none;
139
139
  background: none;
140
- font: var(--tui-font-heading-6);
140
+ font: var(--tui-font-heading-h6);
141
141
  }
142
142
  }
143
143
 
@@ -26,13 +26,14 @@ tui-badge,
26
26
  .button-base();
27
27
 
28
28
  border-radius: 6rem;
29
+ justify-content: center;
29
30
  background: #959595;
30
31
  color: var(--tui-background-base);
31
32
  padding: var(--t-padding);
32
33
  block-size: var(--t-size);
33
34
  min-inline-size: var(--t-size);
34
35
  inline-size: fit-content;
35
- font: var(--tui-font-text-s);
36
+ font: var(--tui-font-body-s);
36
37
 
37
38
  &[tuiStatus]::before {
38
39
  inline-size: 0.375rem;
@@ -74,7 +75,7 @@ tui-badge,
74
75
  --t-icon-size: 0.625rem;
75
76
  --t-margin: -0.125rem;
76
77
 
77
- font: var(--tui-font-text-xs);
78
+ font: var(--tui-font-body-xs);
78
79
 
79
80
  &[tuiStatus]::before {
80
81
  inline-size: 0.25rem;
@@ -95,7 +96,7 @@ tui-badge,
95
96
  --t-padding: 0 0.75rem;
96
97
  --t-size: var(--tui-height-s);
97
98
 
98
- font: var(--tui-font-text-m);
99
+ font: var(--tui-font-body-m);
99
100
 
100
101
  &[tuiStatus]::before {
101
102
  inline-size: 0.5rem;
@@ -33,20 +33,20 @@
33
33
  box-sizing: border-box;
34
34
  cursor: pointer;
35
35
  overflow: hidden;
36
- font: var(--tui-font-text-m);
36
+ font: var(--tui-font-body-m);
37
37
  padding: var(--tui-padding-l);
38
38
  isolation: isolate;
39
39
 
40
40
  &[data-size='s'] {
41
41
  gap: 0.5rem;
42
- font: var(--tui-font-text-ui-s);
42
+ font: var(--tui-font-ui-s);
43
43
  padding: 0.5rem;
44
44
 
45
45
  --t-height: var(--tui-height-s);
46
46
  --t-radius: var(--tui-radius-m);
47
47
 
48
48
  [tuiSubtitle] {
49
- font: var(--tui-font-text-ui-xs);
49
+ font: var(--tui-font-ui-xs);
50
50
  }
51
51
 
52
52
  [tuiTooltip] {
@@ -56,7 +56,7 @@
56
56
 
57
57
  &[data-size='m'] {
58
58
  gap: 0.625rem;
59
- font: var(--tui-font-text-ui-m);
59
+ font: var(--tui-font-ui-m);
60
60
  padding: var(--tui-padding-m);
61
61
 
62
62
  --t-height: var(--tui-height-m);