@taiga-ui/kit 4.52.0-canary.ece97e9 → 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 (397) 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-range/calendar-range.component.d.ts +0 -1
  13. package/components/calendar-range/day-range-period.d.ts +2 -1
  14. package/components/carousel/carousel.component.d.ts +15 -18
  15. package/components/carousel/carousel.directive.d.ts +5 -4
  16. package/components/chip/chip.options.d.ts +1 -3
  17. package/components/combo-box/combo-box.d.ts +5 -0
  18. package/components/combo-box/combo-box.directive.d.ts +7 -9
  19. package/components/combo-box/index.d.ts +1 -0
  20. package/components/compass/compass.component.d.ts +2 -2
  21. package/components/confirm/confirm.component.d.ts +4 -3
  22. package/components/confirm/confirm.service.d.ts +1 -1
  23. package/components/copy/copy.component.d.ts +3 -4
  24. package/components/copy/copy.directive.d.ts +2 -4
  25. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -2
  26. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  27. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  28. package/components/data-list-wrapper/index.d.ts +1 -1
  29. package/components/drawer/drawer.component.d.ts +3 -4
  30. package/components/files/file/file.component.d.ts +16 -29
  31. package/components/files/file/file.options.d.ts +1 -1
  32. package/components/files/files/files.component.d.ts +5 -8
  33. package/components/files/input-files/input-files.component.d.ts +2 -2
  34. package/components/files/input-files/input-files.content.d.ts +7 -8
  35. package/components/files/input-files/input-files.directive.d.ts +2 -2
  36. package/components/files/input-files/input-files.options.d.ts +1 -3
  37. package/components/filter/filter.component.d.ts +9 -11
  38. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  39. package/components/index.d.ts +0 -3
  40. package/components/input-chip/input-chip.component.d.ts +9 -8
  41. package/components/input-chip/input-chip.d.ts +5 -1
  42. package/components/input-chip/input-chip.directive.d.ts +7 -12
  43. package/components/input-color/index.d.ts +1 -0
  44. package/components/input-color/input-color.component.d.ts +4 -4
  45. package/components/input-color/input-color.d.ts +5 -0
  46. package/components/input-date/input-date.d.ts +4 -1
  47. package/components/input-date/input-date.directive.d.ts +12 -14
  48. package/components/input-date/input-date.options.d.ts +3 -3
  49. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  50. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  51. package/components/input-date-range/input-date-range.d.ts +4 -1
  52. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  53. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  54. package/components/input-date-time/input-date-time.d.ts +4 -1
  55. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  56. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  57. package/components/input-month/input-month.d.ts +4 -1
  58. package/components/input-month/input-month.directive.d.ts +6 -5
  59. package/components/input-month-range/input-month-range.d.ts +4 -1
  60. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  61. package/components/input-number/input-number.d.ts +4 -1
  62. package/components/input-number/input-number.directive.d.ts +5 -7
  63. package/components/input-number/input-number.options.d.ts +2 -3
  64. package/components/input-number/step/input-number-step.component.d.ts +2 -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 +9 -8
  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 +3 -3
  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 +5 -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 +4 -4
  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.options.d.ts +1 -3
  88. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +4 -6
  89. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  90. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  91. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  92. package/components/pagination/pagination.component.d.ts +22 -52
  93. package/components/pagination/pagination.options.d.ts +3 -6
  94. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  95. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  96. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  97. package/components/preview/index.d.ts +1 -0
  98. package/components/preview/pagination/preview-pagination.component.d.ts +2 -1
  99. package/components/preview/preview.component.d.ts +1 -1
  100. package/components/preview/preview.d.ts +2 -1
  101. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  102. package/components/preview/zoom/preview-zoom.component.d.ts +3 -1
  103. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  104. package/components/progress/progress.options.d.ts +1 -3
  105. package/components/pulse/pulse.component.d.ts +2 -2
  106. package/components/push/push-alert.component.d.ts +2 -2
  107. package/components/push/push.options.d.ts +4 -3
  108. package/components/push/push.service.d.ts +2 -2
  109. package/components/radio/radio.component.d.ts +1 -1
  110. package/components/radio-list/radio-list.component.d.ts +5 -3
  111. package/components/rating/rating.component.d.ts +1 -1
  112. package/components/rating/rating.options.d.ts +1 -3
  113. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  114. package/components/segmented/segmented.component.d.ts +4 -6
  115. package/components/segmented/segmented.directive.d.ts +6 -7
  116. package/components/select/native-select/native-select.component.d.ts +4 -4
  117. package/components/select/select.d.ts +4 -1
  118. package/components/select/select.directive.d.ts +4 -3
  119. package/components/slider/slider.options.d.ts +1 -6
  120. package/components/stepper/step.component.d.ts +6 -8
  121. package/components/stepper/stepper.component.d.ts +6 -11
  122. package/components/switch/switch.component.d.ts +1 -0
  123. package/components/tabs/tabs.options.d.ts +1 -6
  124. package/components/textarea/index.d.ts +2 -1
  125. package/components/textarea/textarea.component.d.ts +4 -4
  126. package/components/textarea/textarea.d.ts +6 -0
  127. package/components/textarea/textarea.directive.d.ts +13 -0
  128. package/components/toast/toast.component.d.ts +4 -4
  129. package/components/toast/toast.options.d.ts +4 -3
  130. package/components/toast/toast.service.d.ts +2 -2
  131. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +7 -0
  132. package/components/tree/misc/tree.constants.d.ts +0 -3
  133. package/components/tree/misc/tree.tokens.d.ts +1 -6
  134. package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
  135. package/directives/appearance-proxy/index.d.ts +1 -0
  136. package/directives/button-select/button-select.directive.d.ts +3 -2
  137. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  138. package/directives/fade/fade.directive.d.ts +5 -6
  139. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  140. package/directives/highlight/highlight.directive.d.ts +4 -4
  141. package/directives/index.d.ts +1 -1
  142. package/directives/password/password.directive.d.ts +1 -1
  143. package/directives/present/present.directive.d.ts +2 -4
  144. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  145. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  146. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  147. package/fesm2022/taiga-ui-kit-components-accordion.mjs +8 -9
  148. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
  150. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-kit-components-avatar.mjs +34 -48
  152. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +11 -18
  154. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-kit-components-badge.mjs +11 -15
  156. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -12
  158. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-block.mjs +11 -15
  160. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +18 -37
  162. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +18 -26
  164. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -13
  166. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +23 -23
  168. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-carousel.mjs +64 -114
  170. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -6
  172. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-chip.mjs +11 -15
  174. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +40 -45
  176. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
  178. package/fesm2022/taiga-ui-kit-components-compass.mjs +9 -11
  179. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-confirm.mjs +10 -12
  181. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-copy.mjs +19 -33
  183. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +24 -85
  185. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -32
  187. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-files.mjs +111 -239
  189. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-filter.mjs +20 -34
  191. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +23 -42
  193. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +63 -77
  195. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  197. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +35 -51
  199. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +30 -36
  201. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +32 -29
  203. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-input-date.mjs +45 -48
  205. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
  207. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +26 -23
  208. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-components-input-month.mjs +32 -23
  210. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-components-input-number.mjs +53 -50
  212. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +50 -42
  214. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +29 -19
  216. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  218. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-input-range.mjs +18 -16
  220. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +15 -10
  222. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-input-time.mjs +38 -40
  224. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-input-year.mjs +27 -19
  226. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -14
  228. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-like.mjs +4 -4
  230. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +18 -23
  232. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-message.mjs +7 -8
  234. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +30 -40
  236. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +37 -26
  238. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
  240. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-components-pagination.mjs +59 -140
  242. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  244. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-preview.mjs +68 -48
  246. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-progress.mjs +36 -45
  248. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  250. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-components-push.mjs +22 -23
  252. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +8 -8
  254. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-components-radio.mjs +8 -9
  256. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-components-range.mjs +8 -11
  258. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-components-rating.mjs +7 -12
  260. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +11 -7
  262. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-components-segmented.mjs +32 -59
  264. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-components-select.mjs +52 -29
  266. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-components-slider.mjs +23 -33
  268. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  269. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  270. package/fesm2022/taiga-ui-kit-components-stepper.mjs +45 -79
  271. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  273. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-components-tabs.mjs +28 -36
  275. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-components-textarea.mjs +51 -52
  277. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-components-tiles.mjs +14 -15
  279. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  280. package/fesm2022/taiga-ui-kit-components-toast.mjs +27 -28
  281. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  282. package/fesm2022/taiga-ui-kit-components-tree.mjs +55 -58
  283. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  284. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  285. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  286. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
  287. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
  288. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -4
  289. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  290. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  291. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  292. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +18 -10
  293. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  294. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
  295. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  296. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -7
  297. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  298. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -53
  299. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  300. package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
  301. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  302. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +6 -12
  303. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  304. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -21
  305. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  306. package/fesm2022/taiga-ui-kit-directives-password.mjs +10 -9
  307. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  308. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -18
  309. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  310. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  311. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  312. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  313. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  314. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +9 -9
  315. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  316. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +8 -11
  317. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  318. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -15
  319. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  320. package/fesm2022/taiga-ui-kit-directives.mjs +1 -1
  321. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  322. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  323. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -4
  324. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  325. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -25
  326. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  327. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  328. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  329. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -5
  330. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  331. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  332. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  333. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -9
  334. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  335. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -4
  336. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  337. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
  338. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  339. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  340. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  341. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -123
  342. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  343. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  344. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  345. package/package.json +66 -67
  346. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  347. package/pipes/auto-color/index.d.ts +1 -0
  348. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  349. package/pipes/flag/flag.pipe.d.ts +14 -0
  350. package/pipes/flag/index.d.ts +1 -0
  351. package/pipes/index.d.ts +3 -0
  352. package/pipes/initials/index.d.ts +1 -0
  353. package/pipes/initials/initials.pipe.d.ts +7 -0
  354. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  355. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  356. package/styles/components/avatar.less +14 -14
  357. package/styles/components/badge.less +3 -3
  358. package/styles/components/block.less +4 -4
  359. package/styles/components/chip.less +3 -3
  360. package/styles/components/comment.less +1 -1
  361. package/styles/components/message.less +1 -1
  362. package/styles/components/pin.less +3 -3
  363. package/styles/components/switch.less +2 -2
  364. package/styles/components/toast.less +1 -1
  365. package/tokens/i18n.d.ts +1 -0
  366. package/tokens/index.d.ts +0 -7
  367. package/utils/index.d.ts +0 -2
  368. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  369. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  370. package/components/elastic-container/index.d.ts +0 -2
  371. package/components/floating-container/floating-container.directive.d.ts +0 -7
  372. package/components/floating-container/index.d.ts +0 -1
  373. package/components/input-range/input-range.d.ts +0 -3
  374. package/components/slides/index.d.ts +0 -1
  375. package/components/slides/slides.directive.d.ts +0 -11
  376. package/components/textarea/textarea-limit.directive.d.ts +0 -26
  377. package/directives/lazy-loading/index.d.ts +0 -2
  378. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  379. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  380. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -78
  381. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  382. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  383. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  384. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  385. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  386. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  387. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  388. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -81
  389. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  390. package/tokens/calendar-date-stream.d.ts +0 -10
  391. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  392. package/tokens/input-date-options.d.ts +0 -15
  393. package/tokens/items-handlers.d.ts +0 -26
  394. package/tokens/mobile-calendar.d.ts +0 -6
  395. package/tokens/month-formatter.d.ts +0 -5
  396. package/utils/phone.d.ts +0 -3
  397. package/utils/toggle-day.d.ts +0 -2
@@ -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,13 +24,12 @@ 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
- standalone: true,
34
33
  name: 'tuiEmails',
35
34
  }]
36
35
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-emails.mjs","sources":["../../../projects/kit/pipes/emails/emails.options.ts","../../../projects/kit/pipes/emails/emails.pipe.ts","../../../projects/kit/pipes/emails/taiga-ui-kit-pipes-emails.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\n\nexport const TUI_EMAIL_PIPE_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_EMAIL_PIPE_OPTIONS' : '',\n {\n factory: () => [\n 'gmail.com',\n 'outlook.com',\n 'icloud.com',\n 'me.com',\n 'yahoo.com',\n 'mail.com',\n 'proton.me',\n ],\n },\n);\n","import {inject, Pipe, type PipeTransform} from '@angular/core';\n\nimport {TUI_EMAIL_PIPE_OPTIONS} from './emails.options';\n\n@Pipe({\n standalone: true,\n name: 'tuiEmails',\n})\nexport class TuiEmailsPipe implements PipeTransform {\n private readonly options = inject(TUI_EMAIL_PIPE_OPTIONS);\n\n public transform(\n query: string,\n suggestions: readonly string[] = this.options,\n ): readonly string[] {\n return query.includes('@')\n ? suggestions\n .map(\n (item) =>\n query.slice(0, Math.max(0, query.indexOf('@') + 1)) + item,\n )\n .filter((item) => item.startsWith(query))\n : [];\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEa,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;IACI,OAAO,EAAE,MAAM;QACX,WAAW;QACX,aAAa;QACb,YAAY;QACZ,QAAQ;QACR,WAAW;QACX,UAAU;QACV,WAAW;AACd,KAAA;AACJ,CAAA;;MCNQ,aAAa,CAAA;AAJ1B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAe5D;AAbU,IAAA,SAAS,CACZ,KAAa,EACb,WAAiC,GAAA,IAAI,CAAC,OAAO,EAAA;AAE7C,QAAA,OAAO,KAAK,CAAC,QAAQ,CAAC,GAAG;AACrB,cAAE;AACK,iBAAA,GAAG,CACA,CAAC,IAAI,KACD,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI;AAEjE,iBAAA,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;cAC5C,EAAE;;+GAdH,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,WAAW;AACpB,iBAAA;;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-emails.mjs","sources":["../../../projects/kit/pipes/emails/emails.options.ts","../../../projects/kit/pipes/emails/emails.pipe.ts","../../../projects/kit/pipes/emails/taiga-ui-kit-pipes-emails.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\n\nexport const TUI_EMAIL_PIPE_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_EMAIL_PIPE_OPTIONS' : '',\n {\n factory: () => [\n 'gmail.com',\n 'outlook.com',\n 'icloud.com',\n 'me.com',\n 'yahoo.com',\n 'mail.com',\n 'proton.me',\n ],\n },\n);\n","import {inject, Pipe, type PipeTransform} from '@angular/core';\n\nimport {TUI_EMAIL_PIPE_OPTIONS} from './emails.options';\n\n@Pipe({\n name: 'tuiEmails',\n})\nexport class TuiEmailsPipe implements PipeTransform {\n private readonly options = inject(TUI_EMAIL_PIPE_OPTIONS);\n\n public transform(\n query: string,\n suggestions: readonly string[] = this.options,\n ): readonly string[] {\n return query.includes('@')\n ? suggestions\n .map(\n (item) =>\n query.slice(0, Math.max(0, query.indexOf('@') + 1)) + item,\n )\n .filter((item) => item.startsWith(query))\n : [];\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEa,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;IACI,OAAO,EAAE,MAAM;QACX,WAAW;QACX,aAAa;QACb,YAAY;QACZ,QAAQ;QACR,WAAW;QACX,UAAU;QACV,WAAW;AACd,KAAA;AACJ,CAAA;;MCPQ,aAAa,CAAA;AAH1B,IAAA,WAAA,GAAA;AAIqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAe5D;AAbU,IAAA,SAAS,CACZ,KAAa,EACb,WAAiC,GAAA,IAAI,CAAC,OAAO,EAAA;AAE7C,QAAA,OAAO,KAAK,CAAC,QAAQ,CAAC,GAAG;AACrB,cAAE;AACK,iBAAA,GAAG,CACA,CAAC,IAAI,KACD,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI;AAEjE,iBAAA,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;cAC5C,EAAE;;+GAdH,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,WAAW;AACpB,iBAAA;;;ACND;;AAEG;;;;"}
@@ -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,34 +25,29 @@ 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
- standalone: true,
64
51
  name: 'tuiFilterByInput',
65
52
  pure: false,
66
53
  }]
@@ -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 standalone: true,\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;MAMa,oBAAoB,CAAA;AALjC,IAAA,WAAA,GAAA;;QAOqB,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,IAAA,MAAM,CACV,KAAwD,EACxD,OAA4B,EAC5B,SAA8B,EAC9B,KAAa,EAAA;QAEb,IAAI,CAAC,KAAK,EAAE;AACR,YAAA,OAAO,IAAI;;QAGf,OAAO,SAAS,CAAC,KAAK;AAClB,cAAE,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK;AAClD,cAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC;;AAGjD,IAAA,UAAU,CACd,KAAmB,EACnB,OAA4B,EAC5B,SAA8B,EAC9B,KAAa,EAAA;AAEb,QAAA,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC;QAEpD,OAAO,KAAK,IAAI;AACZ,cAAE;AACF,cAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;;AAGzD,IAAA,QAAQ,CACZ,KAAkC,EAClC,OAA4B,EAC5B,SAA8B,EAC9B,KAAa,EAAA;QAEb,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC;QAEjF,OAAO,KAAK,IAAI;AACZ,cAAE;cACA,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;;AAGzE,IAAA,QAAQ,CACZ,KAAmB,EACnB,SAA8B,EAC9B,KAAa,EAAA;;AAGb,QAAA,IAAK,IAAI,CAAC,IAAY,CAAC,YAAY,EAAE;AACjC,YAAA,OAAO,SAAS;;QAGpB,OAAO,KAAK,CAAC,IAAI,CACb,CAAC,IAAI,KAAK,SAAS,CAAC,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;kBALhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,kBAAkB;AACxB,oBAAA,IAAI,EAAE,KAAK;AACd,iBAAA;8BAuCW,MAAM,EAAA,EAAA,EAAA,EAAA,CAAA;;ACxDlB;;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) => stringify(item).toLocaleLowerCase() === query);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAYa,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACzC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC;QACrC,IAAK,CAAA,KAAA,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;AA4EhE;AA7DU,IAAA,SAAS,CACZ,KAAwD,EACxD,OAAA,GAA+B,mBAAmB,EAAA;QAElD,OAAO,IAAI,CAAC,MAAM,CACd,KAAK,EACL,OAAO,EACP,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,EACzB,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CACzB;;AAIG,IAAA,MAAM,CACV,KAAwD,EACxD,OAA4B,EAC5B,SAA8B,EAC9B,KAAa,EAAA;QAEb,IAAI,CAAC,KAAK,EAAE;AACR,YAAA,OAAO,IAAI;;QAGf,OAAO,SAAS,CAAC,KAAK;AAClB,cAAE,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK;AAClD,cAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC;;AAGjD,IAAA,UAAU,CACd,KAAmB,EACnB,OAA4B,EAC5B,SAA8B,EAC9B,KAAa,EAAA;AAEb,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,iBAAiB,EAAE,CAAC,IAAI;AACjE,cAAE;AACF,cAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;;AAGzD,IAAA,QAAQ,CACZ,KAAkC,EAClC,OAA4B,EAC5B,SAA8B,EAC9B,KAAa,EAAA;QAEb,OAAO,KAAK,CAAC,IAAI,CACb,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,iBAAiB,EAAE,CAAC,IAAI,IAAI,CAC9E,IAAI;AACD,cAAE;cACA,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;;AAGzE,IAAA,QAAQ,CACZ,KAAmB,EACnB,SAA8B,EAC9B,KAAa,EAAA;QAEb,OAAO,IAAI,CAAC;AACR,cAAE;cACA,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,KAAK,KAAK,CAAC;;+GA7EpE,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;;AA+BrB,UAAA,CAAA;IADP;AAcA,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;4FA5CQ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;AACxB,oBAAA,IAAI,EAAE,KAAK;AACd,iBAAA;8BAgCW,MAAM,EAAA,EAAA,EAAA,EAAA,CAAA;;AC3ClB;;AAEG;;;;"}
@@ -0,0 +1,30 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, Pipe } from '@angular/core';
3
+ import { TUI_ASSETS_PATH } from '@taiga-ui/core/tokens';
4
+
5
+ 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,10 +35,9 @@ __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
- standalone: true,
42
41
  name: 'tuiHideSelected',
43
42
  pure: false,
44
43
  }]
@@ -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 standalone: true,\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":";;;;;;;;MAYa,mBAAmB,CAAA;AALhC,IAAA,WAAA,GAAA;AAMqB,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,CAAC,eAAe,EAAE;AAC3D,cAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC;;AAI9D,IAAA,QAAQ,CACZ,KAAkC,EAClC,KAAmB,EACnB,OAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;;AAIjE,IAAA,MAAM,CACV,KAAmB,EACnB,KAAmB,EACnB,OAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KACrB,KAAK,CAAC,KAAK,CAAC,CAAC,QAAQ,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CACtD;;+GAvCI,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA,CAAA;;AAuBpB,UAAA,CAAA;IADP;AAOA,CAAA,EAAA,mBAAA,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;kBAL/B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,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;;AC5ClB;;AAEG;;;;"}
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;;AAGf,QAAA,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI,EAAE;QAEnD,OAAO,SAAS,CAAC,KAAK;AAClB,cAAE,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE;AAC3D,cAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC;;AAI9D,IAAA,QAAQ,CACZ,KAAkC,EAClC,KAAmB,EACnB,OAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;;AAIjE,IAAA,MAAM,CACV,KAAmB,EACnB,KAAmB,EACnB,OAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KACrB,KAAK,CAAC,KAAK,CAAC,CAAC,QAAQ,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CACtD;;+GAvCI,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA,CAAA;;AAuBpB,UAAA,CAAA;IADP;AAOA,CAAA,EAAA,mBAAA,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,24 +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
- standalone: true,
21
21
  name: 'tuiSortCountries',
22
+ pure: false,
22
23
  }]
23
24
  }] });
24
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 standalone: true,\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":";;;;;;MAUa,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;QAKqB,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;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA;;;ACTD;;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,13 +5,12 @@ 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
- standalone: true,
15
14
  name: 'tuiStringifyContent',
16
15
  }]
17
16
  }] });
@@ -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 standalone: true,\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":";;;MAQa,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;kBAJnC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,qBAAqB;AAC9B,iBAAA;;;ACPD;;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,13 +5,12 @@ 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
- standalone: true,
15
14
  name: 'tuiStringify',
16
15
  }]
17
16
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify.mjs","sources":["../../../projects/kit/pipes/stringify/stringify.pipe.ts","../../../projects/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n@Pipe({\n standalone: true,\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<any, any> & Record<K, unknown>>> {\n return (value) => String(value[key] ?? '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CACZ,GAAM,EAAA;AAEN,QAAA,OAAO,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;;+GAJrC,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;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,cAAc;AACvB,iBAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify.mjs","sources":["../../../projects/kit/pipes/stringify/stringify.pipe.ts","../../../projects/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n@Pipe({\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<any, any> & Record<K, unknown>>> {\n return (value) => String(value[key] ?? '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CACZ,GAAM,EAAA;AAEN,QAAA,OAAO,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;;+GAJrC,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;;;ACLD;;AAEG;;;;"}
@@ -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,57 +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 { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
11
- import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
12
- import { TUI_DROPDOWN_COMPONENT } from '@taiga-ui/core/directives/dropdown';
13
- import { toObservable } from '@angular/core/rxjs-interop';
14
- import { TUI_MONTHS } from '@taiga-ui/core/tokens';
15
-
16
- /**
17
- * Stream that emits calendar data change
18
- * @deprecated this should be rewritten in v5
19
- */
20
- const TUI_CALENDAR_DATE_STREAM = new InjectionToken(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');
21
- function tuiDateStreamWithTransformer(transformer) {
22
- return {
23
- provide: TUI_CALENDAR_DATE_STREAM,
24
- deps: [
25
- [new Optional(), new Self(), NgControl],
26
- [new Optional(), transformer],
27
- ],
28
- useFactory: tuiControlValueFactory,
29
- };
30
- }
31
- function tuiControlValueFactory(control, transformer) {
32
- return control
33
- ? tuiControlValue(control).pipe(map((value) => transformer ? transformer?.fromControlValue(value) : value))
34
- : of(null);
35
- }
36
-
37
- /**
38
- * Control value transformer of TuiDay to custom value format for InputDate* components
39
- */
40
- const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {
41
- factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,
42
- });
43
- /**
44
- * Control value transformer for InputDateRange component
45
- */
46
- const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');
47
- /**
48
- * Control value transformer for InputDateTime component
49
- */
50
- const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');
51
- /**
52
- * Control value transformer for InputTime component
53
- */
54
- const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');
55
3
 
56
4
  const TUI_CONFIRM_WORDS = new InjectionToken(ngDevMode ? 'TUI_CONFIRM_WORDS' : '', {
57
5
  factory: tuiExtractI18n('confirm'),
@@ -125,80 +73,13 @@ const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PREVIEW_ZOOM_
125
73
  const TUI_INTERNATIONAL_SEARCH = new InjectionToken(ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '', {
126
74
  factory: tuiExtractI18n('phoneSearch'),
127
75
  });
128
-
129
- const TUI_INPUT_DATE_DEFAULT_OPTIONS = {
130
- icon: () => '@tui.calendar',
131
- min: TUI_FIRST_DAY,
132
- max: TUI_LAST_DAY,
133
- nativePicker: false,
134
- };
135
- /**
136
- * Default parameters for InputDate component
137
- */
138
- const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(TUI_INPUT_DATE_DEFAULT_OPTIONS);
139
-
140
- /**
141
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
142
- * TODO(v5): delete
143
- */
144
- const TUI_DEFAULT_ITEMS_HANDLERS = {
145
- stringify: String,
146
- identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,
147
- disabledItemHandler: TUI_FALSE_HANDLER,
148
- };
149
- /**
150
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
151
- * TODO(v5): delete
152
- */
153
- const TUI_ITEMS_HANDLERS = new InjectionToken(ngDevMode ? 'TUI_ITEMS_HANDLERS' : '', {
154
- factory: () => TUI_DEFAULT_ITEMS_HANDLERS,
155
- });
156
- /**
157
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
158
- * TODO(v5): delete
159
- */
160
- function tuiItemsHandlersProvider(options) {
161
- return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);
162
- }
163
-
164
- /**
165
- * A component for mobile data picker
166
- */
167
- const TUI_MOBILE_CALENDAR = new InjectionToken(ngDevMode ? 'TUI_MOBILE_CALENDAR' : '');
168
- const TUI_MOBILE_CALENDAR_PROVIDER = {
169
- provide: TUI_DROPDOWN_COMPONENT,
170
- useFactory: () => (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, { optional: true })) ||
171
- inject(TUI_DROPDOWN_COMPONENT, { skipSelf: true }),
172
- };
173
-
174
- // TODO: replace with signal
175
- const TUI_MONTH_FORMATTER = new InjectionToken(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {
176
- factory: () => toObservable(inject(TUI_MONTHS)).pipe(map((months) => (date) => {
177
- if (!date) {
178
- return '';
179
- }
180
- return `${months[date.month] ?? ''} ${date.formattedYear}`;
181
- })),
76
+ const TUI_DAY_RANGE_PERIODS = new InjectionToken(ngDevMode ? 'TUI_DAY_RANGE_PERIODS' : '', {
77
+ factory: tuiExtractI18n('dayRangePeriods'),
182
78
  });
183
79
 
184
- const TUI_PREVIEW_ICONS_DEFAULT = {
185
- rotate: '@tui.rotate-ccw-square',
186
- prev: '@tui.arrow-left',
187
- next: '@tui.arrow-right',
188
- zoomIn: '@tui.plus',
189
- zoomOut: '@tui.minus',
190
- zoomReset: '@tui.minimize',
191
- };
192
- const TUI_PREVIEW_ICONS = new InjectionToken(ngDevMode ? 'TUI_PREVIEW_ICONS' : '', {
193
- factory: () => TUI_PREVIEW_ICONS_DEFAULT,
194
- });
195
- function tuiPreviewIconsProvider(icons) {
196
- return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);
197
- }
198
-
199
80
  /**
200
81
  * Generated bundle index. Do not edit.
201
82
  */
202
83
 
203
- 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 };
204
85
  //# sourceMappingURL=taiga-ui-kit-tokens.mjs.map