@taiga-ui/kit 4.52.0-canary.ec0802b → 4.52.0-canary.efbd0d4

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 (359) hide show
  1. package/components/avatar/avatar-labeled.component.d.ts +3 -3
  2. package/components/avatar/avatar-stack.component.d.ts +2 -2
  3. package/components/badge-notification/badge-notification.component.d.ts +2 -3
  4. package/components/badged-content/badged-content.directive.d.ts +2 -2
  5. package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
  6. package/components/button-loading/button-loading.component.d.ts +5 -5
  7. package/components/calendar-range/calendar-range.component.d.ts +0 -1
  8. package/components/calendar-range/day-range-period.d.ts +2 -1
  9. package/components/carousel/carousel.component.d.ts +15 -18
  10. package/components/carousel/carousel.directive.d.ts +5 -4
  11. package/components/combo-box/combo-box.d.ts +5 -0
  12. package/components/combo-box/combo-box.directive.d.ts +7 -9
  13. package/components/combo-box/index.d.ts +1 -0
  14. package/components/compass/compass.component.d.ts +2 -2
  15. package/components/confirm/confirm.component.d.ts +3 -2
  16. package/components/confirm/confirm.service.d.ts +1 -1
  17. package/components/copy/copy.component.d.ts +2 -3
  18. package/components/copy/copy.directive.d.ts +2 -4
  19. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -2
  20. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  21. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  22. package/components/data-list-wrapper/index.d.ts +1 -1
  23. package/components/drawer/drawer.component.d.ts +3 -4
  24. package/components/files/file/file.component.d.ts +16 -29
  25. package/components/files/files/files.component.d.ts +5 -8
  26. package/components/files/input-files/input-files.component.d.ts +2 -2
  27. package/components/files/input-files/input-files.content.d.ts +7 -8
  28. package/components/files/input-files/input-files.directive.d.ts +2 -2
  29. package/components/filter/filter.component.d.ts +9 -11
  30. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  31. package/components/index.d.ts +0 -3
  32. package/components/input-chip/input-chip.component.d.ts +9 -8
  33. package/components/input-chip/input-chip.d.ts +5 -1
  34. package/components/input-chip/input-chip.directive.d.ts +7 -12
  35. package/components/input-color/index.d.ts +1 -0
  36. package/components/input-color/input-color.component.d.ts +4 -4
  37. package/components/input-color/input-color.d.ts +5 -0
  38. package/components/input-date/input-date.d.ts +4 -1
  39. package/components/input-date/input-date.directive.d.ts +12 -14
  40. package/components/input-date/input-date.options.d.ts +3 -3
  41. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  42. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  43. package/components/input-date-range/input-date-range.d.ts +4 -1
  44. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  45. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  46. package/components/input-date-time/input-date-time.d.ts +4 -1
  47. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  48. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  49. package/components/input-month/input-month.d.ts +4 -1
  50. package/components/input-month/input-month.directive.d.ts +6 -5
  51. package/components/input-month-range/input-month-range.d.ts +4 -1
  52. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  53. package/components/input-number/input-number.d.ts +4 -1
  54. package/components/input-number/input-number.directive.d.ts +5 -7
  55. package/components/input-number/input-number.options.d.ts +2 -3
  56. package/components/input-number/step/input-number-step.component.d.ts +2 -1
  57. package/components/input-phone/index.d.ts +1 -0
  58. package/components/input-phone/input-phone.d.ts +5 -0
  59. package/components/input-phone/input-phone.directive.d.ts +7 -7
  60. package/components/input-phone-international/index.d.ts +1 -0
  61. package/components/input-phone-international/input-phone-international.component.d.ts +9 -8
  62. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  63. package/components/input-pin/index.d.ts +1 -0
  64. package/components/input-pin/input-pin.component.d.ts +3 -3
  65. package/components/input-pin/input-pin.d.ts +5 -0
  66. package/components/input-range/index.d.ts +0 -1
  67. package/components/input-range/input-range.component.d.ts +4 -3
  68. package/components/input-slider/input-slider.d.ts +4 -1
  69. package/components/input-slider/input-slider.directive.d.ts +1 -1
  70. package/components/input-time/input-time.component.d.ts +1 -3
  71. package/components/input-time/input-time.d.ts +4 -1
  72. package/components/input-time/input-time.directive.d.ts +4 -4
  73. package/components/input-year/input-year.d.ts +4 -1
  74. package/components/input-year/input-year.directive.d.ts +5 -5
  75. package/components/input-year/input-year.options.d.ts +2 -2
  76. package/components/like/like.options.d.ts +1 -1
  77. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  78. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +4 -6
  79. package/components/notification-middle/notification-middle.service.d.ts +1 -1
  80. package/components/pagination/pagination.component.d.ts +22 -52
  81. package/components/pagination/pagination.options.d.ts +3 -6
  82. package/components/preview/dialog/preview-dialog.service.d.ts +1 -1
  83. package/components/preview/index.d.ts +1 -0
  84. package/components/preview/pagination/preview-pagination.component.d.ts +2 -1
  85. package/components/preview/preview.component.d.ts +1 -1
  86. package/components/preview/zoom/preview-zoom.component.d.ts +3 -1
  87. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  88. package/components/pulse/pulse.component.d.ts +2 -2
  89. package/components/push/push-alert.component.d.ts +1 -1
  90. package/components/push/push.options.d.ts +4 -3
  91. package/components/push/push.service.d.ts +1 -1
  92. package/components/radio/radio.component.d.ts +1 -1
  93. package/components/radio-list/radio-list.component.d.ts +5 -3
  94. package/components/rating/rating.component.d.ts +1 -1
  95. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  96. package/components/segmented/segmented.component.d.ts +4 -6
  97. package/components/segmented/segmented.directive.d.ts +6 -7
  98. package/components/select/native-select/native-select.component.d.ts +4 -4
  99. package/components/select/select.d.ts +4 -1
  100. package/components/select/select.directive.d.ts +4 -3
  101. package/components/switch/switch.component.d.ts +1 -0
  102. package/components/textarea/index.d.ts +2 -1
  103. package/components/textarea/textarea.component.d.ts +4 -4
  104. package/components/textarea/textarea.d.ts +6 -0
  105. package/components/textarea/textarea.directive.d.ts +13 -0
  106. package/components/toast/toast.component.d.ts +1 -1
  107. package/components/toast/toast.options.d.ts +4 -3
  108. package/components/toast/toast.service.d.ts +1 -1
  109. package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
  110. package/directives/appearance-proxy/index.d.ts +1 -0
  111. package/directives/button-select/button-select.directive.d.ts +1 -1
  112. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  113. package/directives/fade/fade.directive.d.ts +5 -6
  114. package/directives/highlight/highlight.directive.d.ts +4 -4
  115. package/directives/index.d.ts +1 -1
  116. package/directives/password/password.directive.d.ts +1 -1
  117. package/directives/present/present.directive.d.ts +2 -4
  118. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  119. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  120. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  121. package/fesm2022/taiga-ui-kit-components-accordion.mjs +8 -8
  122. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
  124. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-kit-components-avatar.mjs +33 -47
  126. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +8 -10
  128. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-kit-components-badge.mjs +7 -7
  130. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -11
  131. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-block.mjs +7 -7
  133. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +16 -30
  135. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +18 -26
  137. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -13
  139. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +23 -23
  141. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-carousel.mjs +63 -107
  143. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +4 -5
  145. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-chip.mjs +7 -7
  147. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +40 -44
  148. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
  150. package/fesm2022/taiga-ui-kit-components-compass.mjs +7 -9
  151. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-confirm.mjs +9 -10
  153. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-copy.mjs +19 -32
  155. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +24 -85
  157. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -32
  159. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-files.mjs +110 -230
  161. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-filter.mjs +20 -34
  163. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +23 -42
  165. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +63 -75
  167. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  169. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +34 -46
  171. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +30 -35
  173. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +31 -27
  175. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-input-date.mjs +42 -38
  177. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
  179. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +26 -22
  180. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-input-month.mjs +32 -22
  182. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-input-number.mjs +47 -40
  184. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +48 -36
  186. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +29 -18
  188. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  190. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-input-range.mjs +18 -16
  192. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +15 -10
  194. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-input-time.mjs +38 -39
  196. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-input-year.mjs +27 -18
  198. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -12
  200. package/fesm2022/taiga-ui-kit-components-like.mjs +3 -3
  201. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +14 -14
  203. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-message.mjs +7 -7
  205. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +29 -39
  207. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -12
  209. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
  211. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-pagination.mjs +59 -140
  213. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  215. package/fesm2022/taiga-ui-kit-components-preview.mjs +48 -36
  216. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-progress.mjs +31 -35
  218. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  220. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-push.mjs +20 -21
  222. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +8 -8
  224. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-radio.mjs +6 -6
  226. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-range.mjs +7 -7
  228. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-rating.mjs +4 -4
  230. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +4 -4
  232. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-segmented.mjs +31 -57
  234. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-select.mjs +50 -26
  236. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-slider.mjs +18 -18
  238. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  240. package/fesm2022/taiga-ui-kit-components-stepper.mjs +8 -8
  241. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  242. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-tabs.mjs +24 -22
  244. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-textarea.mjs +51 -50
  246. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
  248. package/fesm2022/taiga-ui-kit-components-toast.mjs +23 -24
  249. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-components-tree.mjs +26 -25
  251. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  253. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
  255. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
  256. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  257. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  258. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +6 -6
  260. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
  262. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -6
  264. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -52
  265. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
  267. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
  269. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -20
  270. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-directives-password.mjs +10 -8
  272. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -17
  274. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  276. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  277. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  278. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +8 -8
  280. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +8 -10
  282. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -14
  284. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-directives.mjs +1 -1
  286. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  287. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  288. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  289. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -24
  290. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  292. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  293. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -4
  294. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  296. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  297. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  298. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  300. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  302. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  303. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  304. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -108
  305. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  306. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  307. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  308. package/package.json +62 -62
  309. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  310. package/pipes/auto-color/index.d.ts +1 -0
  311. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  312. package/pipes/flag/flag.pipe.d.ts +14 -0
  313. package/pipes/flag/index.d.ts +1 -0
  314. package/pipes/index.d.ts +3 -0
  315. package/pipes/initials/index.d.ts +1 -0
  316. package/pipes/initials/initials.pipe.d.ts +7 -0
  317. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  318. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  319. package/styles/components/avatar.less +14 -14
  320. package/styles/components/badge.less +3 -3
  321. package/styles/components/block.less +4 -4
  322. package/styles/components/chip.less +3 -3
  323. package/styles/components/comment.less +1 -1
  324. package/styles/components/message.less +1 -1
  325. package/styles/components/pin.less +3 -3
  326. package/styles/components/switch.less +2 -2
  327. package/styles/components/toast.less +1 -1
  328. package/tokens/i18n.d.ts +1 -0
  329. package/tokens/index.d.ts +0 -7
  330. package/utils/index.d.ts +0 -2
  331. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  332. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  333. package/components/elastic-container/index.d.ts +0 -2
  334. package/components/floating-container/floating-container.directive.d.ts +0 -7
  335. package/components/floating-container/index.d.ts +0 -1
  336. package/components/input-range/input-range.d.ts +0 -3
  337. package/components/slides/index.d.ts +0 -1
  338. package/components/slides/slides.directive.d.ts +0 -11
  339. package/components/textarea/textarea-limit.directive.d.ts +0 -26
  340. package/directives/lazy-loading/index.d.ts +0 -2
  341. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  342. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  343. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -77
  344. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  345. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  346. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  347. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  348. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  349. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -80
  350. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  351. package/tokens/calendar-date-stream.d.ts +0 -10
  352. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  353. package/tokens/input-date-options.d.ts +0 -15
  354. package/tokens/items-handlers.d.ts +0 -20
  355. package/tokens/mobile-calendar.d.ts +0 -6
  356. package/tokens/month-formatter.d.ts +0 -5
  357. package/utils/phone.d.ts +0 -3
  358. package/utils/toggle-day.d.ts +0 -2
  359. /package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +0 -0
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class TuiAutoColorPipe {
5
+ transform(text) {
6
+ return tuiAutoColor(text);
7
+ }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiAutoColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiAutoColorPipe, isStandalone: true, name: "tuiAutoColor" }); }
10
+ }
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiAutoColorPipe, decorators: [{
12
+ type: Pipe,
13
+ args: [{
14
+ name: 'tuiAutoColor',
15
+ }]
16
+ }] });
17
+ /* eslint-disable no-bitwise */
18
+ /**
19
+ * Converts a string to an HSL color
20
+ * @param value string to convert
21
+ * @return HSL color string
22
+ */
23
+ function tuiAutoColor(value) {
24
+ if (value === '') {
25
+ return '';
26
+ }
27
+ let hash = 0;
28
+ for (let i = 0; i < value.length; i++) {
29
+ hash = value.charCodeAt(i) + ((hash << 5) - hash);
30
+ hash &= hash;
31
+ }
32
+ const hue = hash % 360;
33
+ const saturation = 60 + (hash % 5);
34
+ const lightness = 80 + (hash % 5);
35
+ return `hsl(${hue},${saturation}%,${lightness}%)`;
36
+ }
37
+
38
+ /**
39
+ * Generated bundle index. Do not edit.
40
+ */
41
+
42
+ export { TuiAutoColorPipe, tuiAutoColor };
43
+ //# sourceMappingURL=taiga-ui-kit-pipes-auto-color.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-kit-pipes-auto-color.mjs","sources":["../../../projects/kit/pipes/auto-color/auto-color.pipe.ts","../../../projects/kit/pipes/auto-color/taiga-ui-kit-pipes-auto-color.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({\n name: 'tuiAutoColor',\n})\nexport class TuiAutoColorPipe implements PipeTransform {\n public transform(text: string): string {\n return tuiAutoColor(text);\n }\n}\n\n/* eslint-disable no-bitwise */\n/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\nexport function tuiAutoColor(value: string): string {\n if (value === '') {\n return '';\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash &= hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO,YAAY,CAAC,IAAI,CAAC;;+GAFpB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,cAAc;AACvB,iBAAA;;AAOD;AACA;;;;AAIG;AACG,SAAU,YAAY,CAAC,KAAa,EAAA;AACtC,IAAA,IAAI,KAAK,KAAK,EAAE,EAAE;AACd,QAAA,OAAO,EAAE;;IAGb,IAAI,IAAI,GAAG,CAAC;AAEZ,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACnC,QAAA,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC;QACjD,IAAI,IAAI,IAAI;;AAGhB,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG;IACtB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC;IAClC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC;AAEjC,IAAA,OAAO,OAAO,GAAG,CAAA,CAAA,EAAI,UAAU,CAAK,EAAA,EAAA,SAAS,IAAI;AACrD;;AClCA;;AAEG;;;;"}
@@ -24,10 +24,10 @@ class TuiEmailsPipe {
24
24
  .filter((item) => item.startsWith(query))
25
25
  : [];
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiEmailsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
28
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiEmailsPipe, isStandalone: true, name: "tuiEmails" }); }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiEmailsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
28
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiEmailsPipe, isStandalone: true, name: "tuiEmails" }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiEmailsPipe, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiEmailsPipe, decorators: [{
31
31
  type: Pipe,
32
32
  args: [{
33
33
  name: 'tuiEmails',
@@ -3,26 +3,18 @@ import * as i0 from '@angular/core';
3
3
  import { inject, Pipe } from '@angular/core';
4
4
  import { TUI_DEFAULT_MATCHER } from '@taiga-ui/cdk/constants';
5
5
  import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
6
- import { TUI_DATA_LIST_HOST } from '@taiga-ui/core/components/data-list';
7
6
  import { TuiTextfieldComponent } from '@taiga-ui/core/components/textfield';
8
7
  import { TUI_ITEMS_HANDLERS } from '@taiga-ui/core/directives/items-handlers';
9
8
  import { tuiIsFlat } from '@taiga-ui/kit/utils';
10
9
 
11
- // TODO: Consider replacing TuiTextfieldComponent with proper token once we refactor textfields
12
10
  class TuiFilterByInputPipe {
13
11
  constructor() {
14
- // TODO: Remove optional after legacy controls are dropped
15
- this.textfield = inject(TuiTextfieldComponent, { optional: true });
16
- this.host = inject(TUI_DATA_LIST_HOST);
17
- this.itemsHandlers = inject(TUI_ITEMS_HANDLERS);
12
+ this.textfield = inject(TuiTextfieldComponent);
13
+ this.handlers = inject(TUI_ITEMS_HANDLERS);
14
+ this.multi = this.textfield.el.matches('[multi]');
18
15
  }
19
16
  transform(items, matcher = TUI_DEFAULT_MATCHER) {
20
- return this.filter(items, matcher, (this.textfield
21
- ? this.itemsHandlers.stringify()
22
- : // TODO(v5): delete backward compatibility
23
- this.host.stringify) || String, this.textfield?.value() ||
24
- this.host.nativeFocusableElement?.value ||
25
- '');
17
+ return this.filter(items, matcher, this.handlers.stringify(), this.textfield.value());
26
18
  }
27
19
  filter(items, matcher, stringify, query) {
28
20
  if (!items) {
@@ -33,31 +25,27 @@ class TuiFilterByInputPipe {
33
25
  : this.filter2d(items, matcher, stringify, query);
34
26
  }
35
27
  filterFlat(items, matcher, stringify, query) {
36
- const match = this.getMatch(items, stringify, query);
37
- return match != null
28
+ return this.getMatch(items, stringify, query.toLocaleLowerCase()) != null
38
29
  ? items
39
30
  : items.filter((item) => matcher(item, query, stringify));
40
31
  }
41
32
  filter2d(items, matcher, stringify, query) {
42
- const match = items.find((item) => this.getMatch(item, stringify, query) != null);
43
- return match != null
33
+ return items.find((item) => this.getMatch(item, stringify, query.toLocaleLowerCase()) != null) != null
44
34
  ? items
45
35
  : items.map((inner) => this.filterFlat(inner, matcher, stringify, query));
46
36
  }
47
37
  getMatch(items, stringify, query) {
48
- // TODO: Refactor when tui-textfield[multi] is ready
49
- if (this.host.tagValidator) {
50
- return undefined;
51
- }
52
- return items.find((item) => stringify(item).toLocaleLowerCase() === query.toLocaleLowerCase());
38
+ return this.multi
39
+ ? undefined
40
+ : items.find((item) => stringify(item).toLocaleLowerCase() === query);
53
41
  }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFilterByInputPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
55
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFilterByInputPipe, isStandalone: true, name: "tuiFilterByInput", pure: false }); }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiFilterByInputPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
43
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiFilterByInputPipe, isStandalone: true, name: "tuiFilterByInput", pure: false }); }
56
44
  }
57
45
  __decorate([
58
46
  tuiPure
59
47
  ], TuiFilterByInputPipe.prototype, "filter", null);
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFilterByInputPipe, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiFilterByInputPipe, decorators: [{
61
49
  type: Pipe,
62
50
  args: [{
63
51
  name: 'tuiFilterByInput',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-filter-by-input.mjs","sources":["../../../projects/kit/pipes/filter-by-input/filter-by-input.pipe.ts","../../../projects/kit/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TUI_DEFAULT_MATCHER} from '@taiga-ui/cdk/constants';\nimport {type TuiStringHandler, type TuiStringMatcher} from '@taiga-ui/cdk/types';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_DATA_LIST_HOST} from '@taiga-ui/core/components/data-list';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_ITEMS_HANDLERS,\n type TuiItemsHandlers,\n} from '@taiga-ui/core/directives/items-handlers';\nimport {tuiIsFlat} from '@taiga-ui/kit/utils';\n\n// TODO: Consider replacing TuiTextfieldComponent with proper token once we refactor textfields\n@Pipe({\n name: 'tuiFilterByInput',\n pure: false,\n})\nexport class TuiFilterByInputPipe implements PipeTransform {\n // TODO: Remove optional after legacy controls are dropped\n private readonly textfield = inject(TuiTextfieldComponent, {optional: true});\n private readonly host = inject(TUI_DATA_LIST_HOST);\n private readonly itemsHandlers: TuiItemsHandlers<unknown> =\n inject(TUI_ITEMS_HANDLERS);\n\n public transform<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher?: TuiStringMatcher<T>,\n ): ReadonlyArray<readonly T[]>;\n public transform<T>(items: readonly T[], matcher?: TuiStringMatcher<T>): readonly T[];\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | null,\n matcher?: TuiStringMatcher<T>,\n ): ReadonlyArray<readonly T[]> | null;\n public transform<T>(\n items: readonly T[] | null,\n matcher?: TuiStringMatcher<T>,\n ): readonly T[] | null;\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[] | null,\n matcher: TuiStringMatcher<T> = TUI_DEFAULT_MATCHER,\n ): ReadonlyArray<readonly T[]> | readonly T[] | null {\n return this.filter<T>(\n items,\n matcher,\n (this.textfield\n ? this.itemsHandlers.stringify()\n : // TODO(v5): delete backward compatibility\n this.host.stringify) || String,\n this.textfield?.value() ||\n (this.host as any).nativeFocusableElement?.value ||\n '',\n );\n }\n\n @tuiPure\n private filter<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[] | null,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> | readonly T[] | null {\n if (!items) {\n return null;\n }\n\n return tuiIsFlat(items)\n ? this.filterFlat(items, matcher, stringify, query)\n : this.filter2d(items, matcher, stringify, query);\n }\n\n private filterFlat<T>(\n items: readonly T[],\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] {\n const match = this.getMatch(items, stringify, query);\n\n return match != null\n ? items\n : items.filter((item) => matcher(item, query, stringify));\n }\n\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> {\n const match = items.find((item) => this.getMatch(item, stringify, query) != null);\n\n return match != null\n ? items\n : items.map((inner) => this.filterFlat(inner, matcher, stringify, query));\n }\n\n private getMatch<T>(\n items: readonly T[],\n stringify: TuiStringHandler<T>,\n query: string,\n ): T | undefined {\n // TODO: Refactor when tui-textfield[multi] is ready\n if ((this.host as any).tagValidator) {\n return undefined;\n }\n\n return items.find(\n (item) => stringify(item).toLocaleLowerCase() === query.toLocaleLowerCase(),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAYA;MAKa,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;;QAMqB,IAAS,CAAA,SAAA,GAAG,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAC3D,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACjC,QAAA,IAAA,CAAA,aAAa,GAC1B,MAAM,CAAC,kBAAkB,CAAC;AAwFjC;AAzEU,IAAA,SAAS,CACZ,KAAwD,EACxD,OAAA,GAA+B,mBAAmB,EAAA;QAElD,OAAO,IAAI,CAAC,MAAM,CACd,KAAK,EACL,OAAO,EACP,CAAC,IAAI,CAAC;AACF,cAAE,IAAI,CAAC,aAAa,CAAC,SAAS;AAC9B;AACE,gBAAA,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,MAAM,EACpC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE;AAClB,YAAA,IAAI,CAAC,IAAY,CAAC,sBAAsB,EAAE,KAAK;AAChD,YAAA,EAAE,CACT;;AAIG,IA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AC,IAAI,CAAC,CAAC,iBAAiB,EAAE,KAAK,KAAK,CAAC,iBAAiB,EAAE,CAC9E;;+GA3FI,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA,CAAA;;AAsCrB,UAAA,CAAA;IADP;AAcA,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;4FAnDQ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;AACxB,oBAAA,IAAI,EAAE,KAAK;AACd,iBAAA;8BAuCW,MAAM,EAAA,EAAA,EAAA,EAAA,CAAA;;ACvDlB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-filter-by-input.mjs","sources":["../../../projects/kit/pipes/filter-by-input/filter-by-input.pipe.ts","../../../projects/kit/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TUI_DEFAULT_MATCHER} from '@taiga-ui/cdk/constants';\nimport {type TuiStringHandler, type TuiStringMatcher} from '@taiga-ui/cdk/types';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {TUI_ITEMS_HANDLERS} from '@taiga-ui/core/directives/items-handlers';\nimport {tuiIsFlat} from '@taiga-ui/kit/utils';\n\n@Pipe({\n name: 'tuiFilterByInput',\n pure: false,\n})\nexport class TuiFilterByInputPipe implements PipeTransform {\n private readonly textfield = inject(TuiTextfieldComponent);\n private readonly handlers = inject(TUI_ITEMS_HANDLERS);\n private readonly multi = this.textfield.el.matches('[multi]');\n\n public transform<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher?: TuiStringMatcher<T>,\n ): ReadonlyArray<readonly T[]>;\n public transform<T>(items: readonly T[], matcher?: TuiStringMatcher<T>): readonly T[];\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | null,\n matcher?: TuiStringMatcher<T>,\n ): ReadonlyArray<readonly T[]> | null;\n public transform<T>(\n items: readonly T[] | null,\n matcher?: TuiStringMatcher<T>,\n ): readonly T[] | null;\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[] | null,\n matcher: TuiStringMatcher<T> = TUI_DEFAULT_MATCHER,\n ): ReadonlyArray<readonly T[]> | readonly T[] | null {\n return this.filter<T>(\n items,\n matcher,\n this.handlers.stringify(),\n this.textfield.value(),\n );\n }\n\n @tuiPure\n private filter<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[] | null,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> | readonly T[] | null {\n if (!items) {\n return null;\n }\n\n return tuiIsFlat(items)\n ? this.filterFlat(items, matcher, stringify, query)\n : this.filter2d(items, matcher, stringify, query);\n }\n\n private filterFlat<T>(\n items: readonly T[],\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] {\n return this.getMatch(items, stringify, query.toLocaleLowerCase()) != null\n ? items\n : items.filter((item) => matcher(item, query, stringify));\n }\n\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> {\n return items.find(\n (item) => this.getMatch(item, stringify, query.toLocaleLowerCase()) != null,\n ) != null\n ? items\n : items.map((inner) => this.filterFlat(inner, matcher, stringify, query));\n }\n\n private getMatch<T>(\n items: readonly T[],\n stringify: TuiStringHandler<T>,\n query: string,\n ): T | undefined {\n return this.multi\n ? undefined\n : items.find((item) => st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+ class TuiFlagPipe {
6
+ constructor() {
7
+ this.staticPath = inject(TUI_ASSETS_PATH);
8
+ }
9
+ transform(countryIsoCode) {
10
+ if (!countryIsoCode) {
11
+ return null;
12
+ }
13
+ return `${this.staticPath}/flags/${countryIsoCode.toLowerCase()}.svg`;
14
+ }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiFlagPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
16
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiFlagPipe, isStandalone: true, name: "tuiFlag" }); }
17
+ }
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiFlagPipe, decorators: [{
19
+ type: Pipe,
20
+ args: [{
21
+ name: 'tuiFlag',
22
+ }]
23
+ }] });
24
+
25
+ /**
26
+ * Generated bundle index. Do not edit.
27
+ */
28
+
29
+ export { TuiFlagPipe };
30
+ //# sourceMappingURL=taiga-ui-kit-pipes-flag.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-kit-pipes-flag.mjs","sources":["../../../projects/kit/pipes/flag/flag.pipe.ts","../../../projects/kit/pipes/flag/taiga-ui-kit-pipes-flag.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiLooseUnion} from '@taiga-ui/cdk/types';\nimport {TUI_ASSETS_PATH} from '@taiga-ui/core/tokens';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\n\ntype IsoCode = TuiLooseUnion<TuiCountryIsoCode>;\n\n@Pipe({\n name: 'tuiFlag',\n})\nexport class TuiFlagPipe implements PipeTransform {\n private readonly staticPath = inject(TUI_ASSETS_PATH);\n\n public transform(countryIsoCode: IsoCode): string;\n public transform(countryIsoCode: IsoCode | undefined): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null {\n if (!countryIsoCode) {\n return null;\n }\n\n return `${this.staticPath}/flags/${countryIsoCode.toLowerCase()}.svg`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAUa,WAAW,CAAA;AAHxB,IAAA,WAAA,GAAA;AAIqB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,eAAe,CAAC;AAYxD;AAPU,IAAA,SAAS,CAAC,cAA+B,EAAA;QAC5C,IAAI,CAAC,cAAc,EAAE;AACjB,YAAA,OAAO,IAAI;;QAGf,OAAO,CAAA,EAAG,IAAI,CAAC,UAAU,CAAA,OAAA,EAAU,cAAc,CAAC,WAAW,EAAE,CAAA,IAAA,CAAM;;+GAXhE,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAHvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,SAAS;AAClB,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -15,7 +15,7 @@ class TuiHideSelectedPipe {
15
15
  if (!items) {
16
16
  return null;
17
17
  }
18
- const value = this.textfield.control?.value || [];
18
+ const value = this.textfield.control()?.value || [];
19
19
  return tuiIsFlat(items)
20
20
  ? this.filter(items, value, this.handlers.identityMatcher())
21
21
  : this.filter2d(items, value, this.handlers.identityMatcher());
@@ -26,8 +26,8 @@ class TuiHideSelectedPipe {
26
26
  filter(items, value, matcher) {
27
27
  return items.filter((item) => value.every((selected) => !matcher(selected, item)));
28
28
  }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiHideSelectedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
30
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiHideSelectedPipe, isStandalone: true, name: "tuiHideSelected", pure: false }); }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiHideSelectedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
30
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiHideSelectedPipe, isStandalone: true, name: "tuiHideSelected", pure: false }); }
31
31
  }
32
32
  __decorate([
33
33
  tuiPure
@@ -35,7 +35,7 @@ __decorate([
35
35
  __decorate([
36
36
  tuiPure
37
37
  ], TuiHideSelectedPipe.prototype, "filter", null);
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiHideSelectedPipe, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiHideSelectedPipe, decorators: [{
39
39
  type: Pipe,
40
40
  args: [{
41
41
  name: 'tuiHideSelected',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-hide-selected.mjs","sources":["../../../projects/kit/pipes/hide-selected/hide-selected.pipe.ts","../../../projects/kit/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {TUI_ITEMS_HANDLERS} from '@taiga-ui/core/directives/items-handlers';\nimport {tuiIsFlat} from '@taiga-ui/kit/utils';\n\n@Pipe({\n name: 'tuiHideSelected',\n pure: false,\n})\nexport class TuiHideSelectedPipe implements PipeTransform {\n private readonly textfield = inject(TuiTextfieldComponent);\n private readonly handlers = inject(TUI_ITEMS_HANDLERS);\n\n public transform<T>(items: readonly T[] | null): readonly T[] | null;\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | null,\n ): ReadonlyArray<readonly T[]> | null;\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[] | null,\n ): ReadonlyArray<readonly T[]> | readonly T[] | null {\n if (!items) {\n return null;\n }\n\n const value = this.textfield.control?.value || [];\n\n return tuiIsFlat(items)\n ? this.filter(items, value, this.handlers.identityMatcher())\n : this.filter2d(items, value, this.handlers.identityMatcher());\n }\n\n @tuiPure\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): ReadonlyArray<readonly T[]> {\n return items.map((subItems) => this.filter(subItems, value, matcher));\n }\n\n @tuiPure\n private filter<T>(\n items: readonly T[],\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): readonly T[] {\n return items.filter((item) =>\n value.every((selected) => !matcher(selected, item)),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAWa,mBAAmB,CAAA;AAJhC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACzC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAuCzD;AAjCU,IAAA,SAAS,CACZ,KAAwD,EAAA;QAExD,IAAI,CAAC,KAAK,EAAE;AACR,YAAA,OAAO,IAAI;;QAGf,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,IAAI,EAAE;QAEjD,OAAO,SAAS,CAAC,KAAK;AAClB,cAAE,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,C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-ui-kit-pipes-hide-selected.mjs","sources":["../../../projects/kit/pipes/hide-selected/hide-selected.pipe.ts","../../../projects/kit/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {TUI_ITEMS_HANDLERS} from '@taiga-ui/core/directives/items-handlers';\nimport {tuiIsFlat} from '@taiga-ui/kit/utils';\n\n@Pipe({\n name: 'tuiHideSelected',\n pure: false,\n})\nexport class TuiHideSelectedPipe implements PipeTransform {\n private readonly textfield = inject(TuiTextfieldComponent);\n private readonly handlers = inject(TUI_ITEMS_HANDLERS);\n\n public transform<T>(items: readonly T[] | null): readonly T[] | null;\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | null,\n ): ReadonlyArray<readonly T[]> | null;\n public transform<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[] | null,\n ): ReadonlyArray<readonly T[]> | readonly T[] | null {\n if (!items) {\n return null;\n }\n\n const value = this.textfield.control()?.value || [];\n\n return tuiIsFlat(items)\n ? this.filter(items, value, this.handlers.identityMatcher())\n : this.filter2d(items, value, this.handlers.identityMatcher());\n }\n\n @tuiPure\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): ReadonlyArray<readonly T[]> {\n return items.map((subItems) => this.filter(subItems, value, matcher));\n }\n\n @tuiPure\n private filter<T>(\n items: readonly T[],\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): readonly T[] {\n return items.filter((item) =>\n value.every((selected) => !matcher(selected, item)),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAWa,mBAAmB,CAAA;AAJhC,IAAA,WAAA,GAAA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,CAAA,SAAA,EAAA,UAAA,EAAA,IAAA,CAAA;AAGO,UAAA,CAAA;IADP;AASA,CAAA,EAAA,mBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;4FAxCQ,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,iBAAiB;AACvB,oBAAA,IAAI,EAAE,KAAK;AACd,iBAAA;AAwBW,SAAA,CAAA,EAAA,cAAA,EAAA,EAAA,QAAQ,MASR,MAAM,EAAA,EAAA,EAAA,EAAA,CAAA;;AC3ClB;;AAEG;;;;"}
@@ -0,0 +1,28 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class TuiInitialsPipe {
5
+ transform(text) {
6
+ return text
7
+ .toUpperCase()
8
+ .split(' ')
9
+ .map(([char]) => char)
10
+ .join('')
11
+ .slice(0, 2);
12
+ }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
14
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiInitialsPipe, isStandalone: true, name: "tuiInitials" }); }
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiInitialsPipe, decorators: [{
17
+ type: Pipe,
18
+ args: [{
19
+ name: 'tuiInitials',
20
+ }]
21
+ }] });
22
+
23
+ /**
24
+ * Generated bundle index. Do not edit.
25
+ */
26
+
27
+ export { TuiInitialsPipe };
28
+ //# sourceMappingURL=taiga-ui-kit-pipes-initials.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-kit-pipes-initials.mjs","sources":["../../../projects/kit/pipes/initials/initials.pipe.ts","../../../projects/kit/pipes/initials/taiga-ui-kit-pipes-initials.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({\n name: 'tuiInitials',\n})\nexport class TuiInitialsPipe implements PipeTransform {\n public transform(text: string): string {\n return text\n .toUpperCase()\n .split(' ')\n .map(([char]) => char)\n .join('')\n .slice(0, 2);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,eAAe,CAAA;AACjB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO;AACF,aAAA,WAAW;aACX,KAAK,CAAC,GAAG;aACT,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI;aACpB,IAAI,CAAC,EAAE;AACP,aAAA,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;;+GAPX,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,aAAa;AACtB,iBAAA;;;ACJD;;AAEG;;;;"}
@@ -1,23 +1,25 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { toObservable } from '@angular/core/rxjs-interop';
2
+ import { inject, signal, computed, untracked, Pipe } from '@angular/core';
4
3
  import { TUI_COUNTRIES } from '@taiga-ui/kit/tokens';
5
- import { map } from 'rxjs';
6
4
 
7
5
  class TuiSortCountriesPipe {
8
6
  constructor() {
9
- this.countriesNames$ = toObservable(inject(TUI_COUNTRIES));
7
+ this.names = inject(TUI_COUNTRIES);
8
+ this.countries = signal([]);
9
+ this.result = computed((names = this.names()) => [...this.countries()].sort((a, b) => names[a].localeCompare(names[b])));
10
10
  }
11
11
  transform(countries) {
12
- return this.countriesNames$.pipe(map((names) => [...countries].sort((a, b) => names[a].localeCompare(names[b]))));
12
+ untracked(() => this.countries.set(countries));
13
+ return this.result();
13
14
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSortCountriesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
15
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiSortCountriesPipe, isStandalone: true, name: "tuiSortCountries" }); }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSortCountriesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
16
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiSortCountriesPipe, isStandalone: true, name: "tuiSortCountries", pure: false }); }
16
17
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSortCountriesPipe, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSortCountriesPipe, decorators: [{
18
19
  type: Pipe,
19
20
  args: [{
20
21
  name: 'tuiSortCountries',
22
+ pure: false,
21
23
  }]
22
24
  }] });
23
25
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-sort-countries.mjs","sources":["../../../projects/kit/pipes/sort-countries/sort-countries.pipe.ts","../../../projects/kit/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {TUI_COUNTRIES} from '@taiga-ui/kit/tokens';\nimport {map, type Observable} from 'rxjs';\n\n@Pipe({\n name: 'tuiSortCountries',\n})\nexport class TuiSortCountriesPipe implements PipeTransform {\n private readonly countriesNames$ = toObservable(inject(TUI_COUNTRIES));\n\n public transform(\n countries: readonly TuiCountryIsoCode[],\n ): Observable<TuiCountryIsoCode[]> {\n return this.countriesNames$.pipe(\n map((names) =>\n [...countries].sort((a, b) => names[a].localeCompare(names[b])),\n ),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MASa,oBAAoB,CAAA;AAHjC,IAAA,WAAA,GAAA;QAIqB,IAAe,CAAA,eAAA,GAAG,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAWzE;AATU,IAAA,SAAS,CACZ,SAAuC,EAAA;AAEvC,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAC5B,GAAG,CAAC,CAAC,KAAK,KACN,CAAC,GAAG,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAClE,CACJ;;+GAVI,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-sort-countries.mjs","sources":["../../../projects/kit/pipes/sort-countries/sort-countries.pipe.ts","../../../projects/kit/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.ts"],"sourcesContent":["import {\n computed,\n inject,\n Pipe,\n type PipeTransform,\n signal,\n untracked,\n} from '@angular/core';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {TUI_COUNTRIES} from '@taiga-ui/kit/tokens';\n\n@Pipe({\n name: 'tuiSortCountries',\n pure: false,\n})\nexport class TuiSortCountriesPipe implements PipeTransform {\n private readonly names = inject(TUI_COUNTRIES);\n private readonly countries = signal<readonly TuiCountryIsoCode[]>([]);\n private readonly result = computed((names = this.names()) =>\n [...this.countries()].sort((a, b) => names[a].localeCompare(names[b])),\n );\n\n public transform(countries: readonly TuiCountryIsoCode[]): TuiCountryIsoCode[] {\n untracked(() => this.countries.set(countries));\n\n return this.result();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAea,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,aAAa,CAAC;AAC7B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAA+B,EAAE,CAAC;QACpD,IAAM,CAAA,MAAA,GAAG,QAAQ,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,KACpD,CAAC,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CACzE;AAOJ;AALU,IAAA,SAAS,CAAC,SAAuC,EAAA;AACpD,QAAA,SAAS,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAE9C,QAAA,OAAO,IAAI,CAAC,MAAM,EAAE;;+GAVf,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;AACxB,oBAAA,IAAI,EAAE,KAAK;AACd,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -5,10 +5,10 @@ class TuiStringifyContentPipe {
5
5
  transform(stringify) {
6
6
  return ({ $implicit }) => stringify($implicit);
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyContentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyContentPipe, isStandalone: true, name: "tuiStringifyContent" }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyContentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyContentPipe, isStandalone: true, name: "tuiStringifyContent" }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyContentPipe, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyContentPipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{
14
14
  name: 'tuiStringifyContent',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.mjs","sources":["../../../projects/kit/pipes/stringify-content/stringify-content.pipe.ts","../../../projects/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {type TuiValueContentContext} from '@taiga-ui/core/types';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n public transform<T>(\n stringify: TuiStringHandler<T>,\n ): TuiStringHandler<TuiValueContentContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,uBAAuB,CAAA;AACzB,IAAA,SAAS,CACZ,SAA8B,EAAA;QAE9B,OAAO,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS,CAAC,SAAS,CAAC;;+GAJvC,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,qBAAA,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,qBAAqB;AAC9B,iBAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.mjs","sources":["../../../projects/kit/pipes/stringify-content/stringify-content.pipe.ts","../../../projects/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiContext, type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n public transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,uBAAuB,CAAA;AACzB,IAAA,SAAS,CAAI,SAA8B,EAAA;QAC9C,OAAO,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS,CAAC,SAAS,CAAC;;+GAFvC,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,qBAAA,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,qBAAqB;AAC9B,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -5,10 +5,10 @@ class TuiStringifyPipe {
5
5
  transform(key) {
6
6
  return (value) => String(value[key] ?? '');
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyPipe, isStandalone: true, name: "tuiStringify" }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyPipe, isStandalone: true, name: "tuiStringify" }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyPipe, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyPipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{
14
14
  name: 'tuiStringify',
@@ -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';
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes.mjs","sources":["../../../projects/kit/pipes/taiga-ui-kit-pipes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes.mjs","sources":["../../../projects/kit/pipes/taiga-ui-kit-pipes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;AAEG"}
@@ -1,56 +1,5 @@
1
- import { InjectionToken, Optional, Self, inject } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { tuiControlValue } from '@taiga-ui/cdk/observables';
4
- import { of, map } from 'rxjs';
5
- import { TUI_IDENTITY_VALUE_TRANSFORMER } from '@taiga-ui/cdk/classes';
1
+ import { InjectionToken } from '@angular/core';
6
2
  import { tuiExtractI18n } from '@taiga-ui/i18n/utils';
7
- import { TUI_LAST_DAY, TUI_FIRST_DAY } from '@taiga-ui/cdk/date-time';
8
- import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
9
- import { TUI_FALSE_HANDLER, TUI_DEFAULT_IDENTITY_MATCHER } from '@taiga-ui/cdk/constants';
10
- import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
11
- import { TUI_DROPDOWN_COMPONENT } from '@taiga-ui/core/directives/dropdown';
12
- import { toObservable } from '@angular/core/rxjs-interop';
13
- import { TUI_MONTHS } from '@taiga-ui/core/tokens';
14
-
15
- /**
16
- * Stream that emits calendar data change
17
- * @deprecated this should be rewritten in v5
18
- */
19
- const TUI_CALENDAR_DATE_STREAM = new InjectionToken(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');
20
- function tuiDateStreamWithTransformer(transformer) {
21
- return {
22
- provide: TUI_CALENDAR_DATE_STREAM,
23
- deps: [
24
- [new Optional(), new Self(), NgControl],
25
- [new Optional(), transformer],
26
- ],
27
- useFactory: tuiControlValueFactory,
28
- };
29
- }
30
- function tuiControlValueFactory(control, transformer) {
31
- return control
32
- ? tuiControlValue(control).pipe(map((value) => transformer ? transformer?.fromControlValue(value) : value))
33
- : of(null);
34
- }
35
-
36
- /**
37
- * Control value transformer of TuiDay to custom value format for InputDate* components
38
- */
39
- const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {
40
- factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,
41
- });
42
- /**
43
- * Control value transformer for InputDateRange component
44
- */
45
- const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');
46
- /**
47
- * Control value transformer for InputDateTime component
48
- */
49
- const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');
50
- /**
51
- * Control value transformer for InputTime component
52
- */
53
- const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');
54
3
 
55
4
  const TUI_CONFIRM_WORDS = new InjectionToken(ngDevMode ? 'TUI_CONFIRM_WORDS' : '', {
56
5
  factory: tuiExtractI18n('confirm'),
@@ -124,66 +73,13 @@ const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PREVIEW_ZOOM_
124
73
  const TUI_INTERNATIONAL_SEARCH = new InjectionToken(ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '', {
125
74
  factory: tuiExtractI18n('phoneSearch'),
126
75
  });
127
-
128
- const TUI_INPUT_DATE_DEFAULT_OPTIONS = {
129
- icon: () => '@tui.calendar',
130
- min: TUI_FIRST_DAY,
131
- max: TUI_LAST_DAY,
132
- nativePicker: false,
133
- };
134
- /**
135
- * Default parameters for InputDate component
136
- */
137
- const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(TUI_INPUT_DATE_DEFAULT_OPTIONS);
138
-
139
- /**
140
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
141
- * TODO(v5): delete
142
- */
143
- const TUI_DEFAULT_ITEMS_HANDLERS = {
144
- stringify: String,
145
- identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,
146
- disabledItemHandler: TUI_FALSE_HANDLER,
147
- };
148
- /**
149
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
150
- * TODO(v5): delete
151
- */
152
- const [TUI_ITEMS_HANDLERS, tuiItemsHandlersProvider] = tuiCreateOptions(TUI_DEFAULT_ITEMS_HANDLERS);
153
-
154
- /**
155
- * A component for mobile data picker
156
- */
157
- const TUI_MOBILE_CALENDAR = new InjectionToken(ngDevMode ? 'TUI_MOBILE_CALENDAR' : '');
158
- const TUI_MOBILE_CALENDAR_PROVIDER = {
159
- provide: TUI_DROPDOWN_COMPONENT,
160
- useFactory: () => (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, { optional: true })) ||
161
- inject(TUI_DROPDOWN_COMPONENT, { skipSelf: true }),
162
- };
163
-
164
- // TODO: replace with signal
165
- const TUI_MONTH_FORMATTER = new InjectionToken(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {
166
- factory: () => toObservable(inject(TUI_MONTHS)).pipe(map((months) => (date) => {
167
- if (!date) {
168
- return '';
169
- }
170
- return `${months[date.month] ?? ''} ${date.formattedYear}`;
171
- })),
76
+ const TUI_DAY_RANGE_PERIODS = new InjectionToken(ngDevMode ? 'TUI_DAY_RANGE_PERIODS' : '', {
77
+ factory: tuiExtractI18n('dayRangePeriods'),
172
78
  });
173
79
 
174
- const TUI_PREVIEW_ICONS_DEFAULT = {
175
- rotate: '@tui.rotate-ccw-square',
176
- prev: '@tui.arrow-left',
177
- next: '@tui.arrow-right',
178
- zoomIn: '@tui.plus',
179
- zoomOut: '@tui.minus',
180
- zoomReset: '@tui.minimize',
181
- };
182
- const [TUI_PREVIEW_ICONS, tuiPreviewIconsProvider] = tuiCreateOptions(TUI_PREVIEW_ICONS_DEFAULT);
183
-
184
80
  /**
185
81
  * Generated bundle index. Do not edit.
186
82
  */
187
83
 
188
- export { TUI_CALENDAR_DATE_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_CONFIRM_WORDS, TUI_COPY_TEXTS, TUI_COUNTRIES, TUI_DATE_RANGE_VALUE_TRANSFORMER, TUI_DATE_TEXTS, TUI_DATE_TIME_VALUE_TRANSFORMER, TUI_DATE_VALUE_TRANSFORMER, TUI_DEFAULT_ITEMS_HANDLERS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_HIDE_TEXT, TUI_INPUT_DATE_DEFAULT_OPTIONS, TUI_INPUT_DATE_OPTIONS, TUI_INPUT_FILE_TEXTS, TUI_INTERNATIONAL_SEARCH, TUI_ITEMS_HANDLERS, TUI_MOBILE_CALENDAR, TUI_MOBILE_CALENDAR_PROVIDER, TUI_MONTH_FORMATTER, TUI_MORE_WORD, TUI_MULTI_SELECT_TEXTS, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_PREVIEW_ICONS, TUI_PREVIEW_ICONS_DEFAULT, TUI_PREVIEW_TEXTS, TUI_PREVIEW_ZOOM_TEXTS, TUI_SHOW_ALL_TEXT, TUI_TIME_TEXTS, TUI_TIME_VALUE_TRANSFORMER, tuiDateStreamWithTransformer, tuiInputDateOptionsProvider, tuiItemsHandlersProvider, tuiPreviewIconsProvider };
84
+ export { TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_CONFIRM_WORDS, TUI_COPY_TEXTS, TUI_COUNTRIES, TUI_DATE_TEXTS, TUI_DAY_RANGE_PERIODS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_HIDE_TEXT, TUI_INPUT_FILE_TEXTS, TUI_INTERNATIONAL_SEARCH, TUI_MORE_WORD, TUI_MULTI_SELECT_TEXTS, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_PREVIEW_TEXTS, TUI_PREVIEW_ZOOM_TEXTS, TUI_SHOW_ALL_TEXT, TUI_TIME_TEXTS };
189
85
  //# sourceMappingURL=taiga-ui-kit-tokens.mjs.map
@@ -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, 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 {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 {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\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, tuiItemsHandlersProvider] = tuiCreateOptions(\n 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 {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\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, tuiPreviewIconsProvider] = tuiCreateOptions(\n 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,E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,MAAA,4BAA4B,GAAoB;AACzD,IAAA,OAAO,EAAE,sBAAsB;IAC/B,UAAU,EAAE,MACR,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,MAAM,CAAC,mBAAmB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;QACvE,MAAM,CAAC,sBAAsB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;;;ACRxD;AACa,MAAA,mBAAmB,GAAG,IAAI,cAAc,CAEnD,SAAS,GAAG,qBAAqB,GAAG,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;;ACVY,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;;AAGvB,MAAM,CAAC,iBAAiB,EAAE,uBAAuB,CAAC,GAAG,gBAAgB,CACxE,yBAAyB;;ACrB7B;;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,cAAc,CAC/C,SA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