@taiga-ui/kit 4.51.0 → 4.52.0-canary.05c3268

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 (830) hide show
  1. package/components/accordion/accordion.component.d.ts +13 -0
  2. package/components/accordion/accordion.d.ts +4 -4
  3. package/components/accordion/accordion.directive.d.ts +11 -10
  4. package/components/accordion/index.d.ts +1 -3
  5. package/components/action-bar/action-bar.component.d.ts +5 -7
  6. package/components/action-bar/index.d.ts +0 -2
  7. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  8. package/components/avatar/avatar.directive.d.ts +15 -0
  9. package/components/avatar/avatar.options.d.ts +1 -4
  10. package/components/avatar/index.d.ts +1 -1
  11. package/components/badge/badge.directive.d.ts +2 -2
  12. package/components/block/block.directive.d.ts +4 -4
  13. package/components/block/block.options.d.ts +1 -1
  14. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  15. package/components/checkbox/checkbox.component.d.ts +7 -18
  16. package/components/checkbox/checkbox.options.d.ts +5 -9
  17. package/components/chip/chip.directive.d.ts +2 -4
  18. package/components/comment/comment.directive.d.ts +2 -2
  19. package/components/confirm/confirm.component.d.ts +1 -0
  20. package/components/confirm/confirm.service.d.ts +2 -1
  21. package/{directives → components}/copy/copy.directive.d.ts +1 -2
  22. package/{directives → components}/copy/copy.options.d.ts +2 -2
  23. package/components/files/file/file.options.d.ts +1 -1
  24. package/components/floating-container/floating-container.directive.d.ts +2 -2
  25. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  26. package/components/fullscreen/index.d.ts +1 -0
  27. package/components/index.d.ts +4 -2
  28. package/components/input-chip/input-chip.options.d.ts +1 -1
  29. package/components/input-color/input-color.component.d.ts +2 -1
  30. package/components/input-color/input-color.options.d.ts +1 -1
  31. package/components/input-date/input-date.directive.d.ts +1 -1
  32. package/components/input-date/input-date.options.d.ts +1 -1
  33. package/components/input-number/input-number.options.d.ts +1 -1
  34. package/components/input-number/quantum.directive.d.ts +2 -2
  35. package/components/input-phone/input-phone.options.d.ts +1 -1
  36. package/components/input-phone-international/input-phone-international.component.d.ts +23 -29
  37. package/components/input-range/input-range.component.d.ts +6 -9
  38. package/components/input-slider/input-slider.directive.d.ts +2 -4
  39. package/components/input-time/input-time.options.d.ts +1 -1
  40. package/components/like/like.component.d.ts +4 -11
  41. package/components/like/like.options.d.ts +3 -4
  42. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  43. package/components/line-clamp/line-clamp.component.d.ts +6 -10
  44. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +2 -2
  45. package/components/notification-middle/index.d.ts +3 -0
  46. package/components/notification-middle/notification-middle.component.d.ts +16 -0
  47. package/components/notification-middle/notification-middle.directive.d.ts +7 -0
  48. package/components/notification-middle/notification-middle.service.d.ts +7 -0
  49. package/components/pager/pager.component.d.ts +1 -1
  50. package/components/pin/pin.directive.d.ts +2 -2
  51. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  52. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  53. package/components/push/push.component.d.ts +1 -1
  54. package/components/radio/radio.component.d.ts +7 -8
  55. package/components/radio/radio.directive.d.ts +2 -2
  56. package/components/radio/radio.options.d.ts +2 -5
  57. package/components/range/range-change.directive.d.ts +1 -1
  58. package/components/range/range.component.d.ts +0 -5
  59. package/components/rating/rating.component.d.ts +5 -5
  60. package/components/rating/rating.options.d.ts +5 -3
  61. package/components/segmented/segmented.component.d.ts +5 -5
  62. package/components/slider/helpers/key-steps.d.ts +1 -2
  63. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  64. package/components/slides/slides.directive.d.ts +4 -4
  65. package/components/status/status.directive.d.ts +2 -2
  66. package/components/switch/switch.component.d.ts +7 -19
  67. package/components/switch/switch.options.d.ts +4 -8
  68. package/components/textarea/textarea-limit.directive.d.ts +0 -1
  69. package/components/textarea/textarea.options.d.ts +1 -1
  70. package/components/toast/index.d.ts +5 -0
  71. package/components/toast/toast.component.d.ts +17 -0
  72. package/components/toast/toast.d.ts +3 -0
  73. package/components/toast/toast.directive.d.ts +7 -0
  74. package/components/toast/toast.options.d.ts +8 -0
  75. package/components/toast/toast.service.d.ts +16 -0
  76. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  77. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -6
  78. package/directives/button-select/button-select.directive.d.ts +1 -2
  79. package/directives/chevron/chevron.directive.d.ts +2 -3
  80. package/directives/fade/fade.directive.d.ts +1 -0
  81. package/directives/highlight/highlight.directive.d.ts +2 -2
  82. package/directives/index.d.ts +0 -2
  83. package/directives/password/password.options.d.ts +1 -1
  84. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  85. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  86. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  87. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  88. package/directives/tooltip/tooltip.options.d.ts +2 -2
  89. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -145
  90. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  92. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-kit-components-avatar.mjs +81 -100
  94. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -4
  96. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-kit-components-badge.mjs +15 -21
  98. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -8
  100. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
  102. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +8 -10
  104. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +4 -5
  106. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -8
  108. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +10 -10
  110. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-kit-components-carousel.mjs +21 -23
  112. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
  114. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
  116. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +4 -4
  118. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
  120. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
  122. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-confirm.mjs +14 -15
  124. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  125. package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +13 -14
  126. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  127. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +13 -14
  128. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
  130. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +8 -8
  132. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-kit-components-files.mjs +33 -35
  134. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-kit-components-filter.mjs +7 -16
  136. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
  138. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  140. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  141. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +22 -19
  142. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-kit-components-input-color.mjs +12 -15
  144. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +6 -6
  146. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -4
  148. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -9
  150. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-kit-components-input-date.mjs +15 -16
  152. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +6 -6
  154. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +5 -5
  156. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-input-month.mjs +11 -12
  158. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-input-number.mjs +30 -29
  160. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +107 -133
  162. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +9 -10
  164. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +9 -8
  166. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-input-range.mjs +31 -37
  168. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +27 -40
  170. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-input-time.mjs +14 -14
  172. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-input-year.mjs +6 -6
  174. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +18 -18
  176. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
  178. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +36 -44
  180. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-message.mjs +10 -12
  182. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +42 -38
  184. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +90 -0
  186. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -0
  187. package/fesm2022/taiga-ui-kit-components-pager.mjs +8 -8
  188. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-pagination.mjs +8 -8
  190. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
  192. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +13 -13
  194. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-preview.mjs +35 -37
  196. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-progress.mjs +39 -52
  198. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
  200. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-components-push.mjs +20 -20
  202. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -8
  204. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  205. package/fesm2022/taiga-ui-kit-components-radio.mjs +34 -39
  206. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  207. package/fesm2022/taiga-ui-kit-components-range.mjs +12 -21
  208. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -22
  210. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +5 -5
  212. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-components-segmented.mjs +8 -8
  214. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-components-select.mjs +17 -17
  216. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-slider.mjs +71 -70
  218. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
  220. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
  222. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-stepper.mjs +12 -12
  224. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
  226. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-tabs.mjs +34 -37
  228. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-textarea.mjs +17 -19
  230. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -13
  232. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-toast.mjs +166 -0
  234. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  235. package/fesm2022/taiga-ui-kit-components-tree.mjs +36 -52
  236. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components.mjs +4 -2
  238. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  240. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +10 -13
  242. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +5 -12
  244. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
  246. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-directives-connected.mjs +10 -15
  248. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -4
  250. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-directives-fade.mjs +11 -14
  252. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
  254. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -5
  256. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -9
  258. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-directives-password.mjs +6 -6
  260. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -4
  262. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  264. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  266. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +27 -38
  268. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  269. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +13 -18
  270. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +5 -6
  272. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
  274. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-directives.mjs +0 -2
  276. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  277. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  278. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  280. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  282. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
  284. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  286. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  288. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  290. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -9
  292. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
  294. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  295. package/package.json +45 -258
  296. package/pipes/index.d.ts +0 -1
  297. package/styles/components/avatar.less +188 -0
  298. package/styles/components/badge.less +3 -18
  299. package/styles/components/block.less +1 -1
  300. package/styles/components/checkbox.less +17 -16
  301. package/styles/components/chip.less +8 -3
  302. package/styles/components/like.less +15 -17
  303. package/styles/components/pin.less +3 -7
  304. package/styles/components/radio.less +2 -2
  305. package/styles/components/switch.less +12 -12
  306. package/styles/components/toast.less +44 -0
  307. package/tokens/index.d.ts +0 -1
  308. package/tokens/input-date-options.d.ts +1 -1
  309. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  310. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  311. package/components/accordion/accordion-item.component.d.ts +0 -25
  312. package/components/action-bar/action-bar.d.ts +0 -3
  313. package/components/action-bar/action-bar.directive.d.ts +0 -6
  314. package/components/avatar/avatar.component.d.ts +0 -15
  315. package/components/input-password/index.d.ts +0 -2
  316. package/components/input-password/input-password.component.d.ts +0 -16
  317. package/components/input-password/input-password.options.d.ts +0 -24
  318. package/components/pdf-viewer/index.d.ts +0 -4
  319. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  320. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  321. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  322. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  323. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  324. package/directives/icon-badge/index.d.ts +0 -1
  325. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  326. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  327. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  328. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  329. package/esm2022/components/accordion/accordion.mjs +0 -11
  330. package/esm2022/components/accordion/index.mjs +0 -6
  331. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  332. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  333. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  334. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  335. package/esm2022/components/action-bar/index.mjs +0 -4
  336. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  337. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  338. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  339. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  340. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  341. package/esm2022/components/avatar/avatar.options.mjs +0 -14
  342. package/esm2022/components/avatar/index.mjs +0 -6
  343. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  344. package/esm2022/components/badge/badge.directive.mjs +0 -42
  345. package/esm2022/components/badge/badge.options.mjs +0 -13
  346. package/esm2022/components/badge/index.mjs +0 -3
  347. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  348. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  349. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  350. package/esm2022/components/badge-notification/index.mjs +0 -3
  351. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  352. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  353. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  354. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  355. package/esm2022/components/badged-content/index.mjs +0 -4
  356. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  357. package/esm2022/components/block/block.directive.mjs +0 -58
  358. package/esm2022/components/block/block.options.mjs +0 -13
  359. package/esm2022/components/block/index.mjs +0 -3
  360. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  361. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  362. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  363. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  364. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  365. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  366. package/esm2022/components/button-loading/index.mjs +0 -2
  367. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  368. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  369. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  370. package/esm2022/components/calendar-month/index.mjs +0 -3
  371. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  372. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  373. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  374. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  375. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  376. package/esm2022/components/calendar-range/index.mjs +0 -5
  377. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  378. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  379. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  380. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  381. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  382. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  383. package/esm2022/components/carousel/carousel.mjs +0 -15
  384. package/esm2022/components/carousel/index.mjs +0 -7
  385. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  386. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  387. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  388. package/esm2022/components/checkbox/index.mjs +0 -3
  389. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  390. package/esm2022/components/chip/chip.directive.mjs +0 -63
  391. package/esm2022/components/chip/chip.options.mjs +0 -13
  392. package/esm2022/components/chip/index.mjs +0 -3
  393. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  394. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  395. package/esm2022/components/combo-box/index.mjs +0 -2
  396. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  397. package/esm2022/components/comment/comment.directive.mjs +0 -35
  398. package/esm2022/components/comment/index.mjs +0 -2
  399. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  400. package/esm2022/components/compass/compass.component.mjs +0 -19
  401. package/esm2022/components/compass/index.mjs +0 -2
  402. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  403. package/esm2022/components/confirm/confirm.component.mjs +0 -29
  404. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  405. package/esm2022/components/confirm/index.mjs +0 -3
  406. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  407. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  408. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  409. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  410. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  411. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  412. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  413. package/esm2022/components/drawer/index.mjs +0 -2
  414. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  415. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  416. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  417. package/esm2022/components/elastic-container/index.mjs +0 -3
  418. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  419. package/esm2022/components/files/file/file.component.mjs +0 -144
  420. package/esm2022/components/files/file/file.options.mjs +0 -16
  421. package/esm2022/components/files/files/files.component.mjs +0 -49
  422. package/esm2022/components/files/files.mjs +0 -15
  423. package/esm2022/components/files/files.types.mjs +0 -2
  424. package/esm2022/components/files/files.utils.mjs +0 -30
  425. package/esm2022/components/files/files.validators.mjs +0 -32
  426. package/esm2022/components/files/index.mjs +0 -13
  427. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  428. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  429. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  430. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  431. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  432. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  433. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  434. package/esm2022/components/filter/filter.component.mjs +0 -65
  435. package/esm2022/components/filter/index.mjs +0 -2
  436. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  437. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  438. package/esm2022/components/floating-container/index.mjs +0 -2
  439. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  440. package/esm2022/components/index.mjs +0 -72
  441. package/esm2022/components/input-chip/index.mjs +0 -5
  442. package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
  443. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
  444. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  445. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  446. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  447. package/esm2022/components/input-color/index.mjs +0 -3
  448. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  449. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  450. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  451. package/esm2022/components/input-date/date-filler.mjs +0 -20
  452. package/esm2022/components/input-date/index.mjs +0 -6
  453. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  454. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  455. package/esm2022/components/input-date/input-date.mjs +0 -9
  456. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  457. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  458. package/esm2022/components/input-date-multi/index.mjs +0 -3
  459. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  460. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  461. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  462. package/esm2022/components/input-date-range/index.mjs +0 -4
  463. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  464. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  465. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  466. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  467. package/esm2022/components/input-date-time/index.mjs +0 -5
  468. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  469. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
  470. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  471. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  472. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  473. package/esm2022/components/input-inline/index.mjs +0 -2
  474. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  475. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  476. package/esm2022/components/input-month/index.mjs +0 -5
  477. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  478. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  479. package/esm2022/components/input-month/input-month.mjs +0 -9
  480. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  481. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  482. package/esm2022/components/input-month-range/index.mjs +0 -4
  483. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  484. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  485. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  486. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  487. package/esm2022/components/input-number/index.mjs +0 -6
  488. package/esm2022/components/input-number/input-number.directive.mjs +0 -196
  489. package/esm2022/components/input-number/input-number.mjs +0 -9
  490. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  491. package/esm2022/components/input-number/quantum.directive.mjs +0 -68
  492. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  493. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  494. package/esm2022/components/input-password/index.mjs +0 -3
  495. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  496. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  497. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  498. package/esm2022/components/input-phone/index.mjs +0 -3
  499. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  500. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  501. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  502. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  503. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  504. package/esm2022/components/input-phone-international/index.mjs +0 -3
  505. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  506. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  507. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  508. package/esm2022/components/input-pin/index.mjs +0 -2
  509. package/esm2022/components/input-pin/input-pin.component.mjs +0 -65
  510. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  511. package/esm2022/components/input-range/index.mjs +0 -3
  512. package/esm2022/components/input-range/input-range.component.mjs +0 -166
  513. package/esm2022/components/input-range/input-range.mjs +0 -4
  514. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  515. package/esm2022/components/input-slider/index.mjs +0 -3
  516. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
  517. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  518. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  519. package/esm2022/components/input-time/index.mjs +0 -5
  520. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  521. package/esm2022/components/input-time/input-time.directive.mjs +0 -159
  522. package/esm2022/components/input-time/input-time.mjs +0 -4
  523. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  524. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  525. package/esm2022/components/input-year/index.mjs +0 -4
  526. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  527. package/esm2022/components/input-year/input-year.mjs +0 -4
  528. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  529. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  530. package/esm2022/components/items-with-more/index.mjs +0 -6
  531. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  532. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  533. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  534. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  535. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  536. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  537. package/esm2022/components/like/index.mjs +0 -3
  538. package/esm2022/components/like/like.component.mjs +0 -46
  539. package/esm2022/components/like/like.options.mjs +0 -10
  540. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  541. package/esm2022/components/line-clamp/index.mjs +0 -4
  542. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  543. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  544. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
  545. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  546. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  547. package/esm2022/components/message/index.mjs +0 -2
  548. package/esm2022/components/message/message.directive.mjs +0 -43
  549. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  550. package/esm2022/components/multi-select/index.mjs +0 -6
  551. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
  552. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  553. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
  554. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  555. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  556. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  557. package/esm2022/components/pager/index.mjs +0 -2
  558. package/esm2022/components/pager/pager.component.mjs +0 -97
  559. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  560. package/esm2022/components/pagination/index.mjs +0 -2
  561. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  562. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  563. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  564. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  565. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  566. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  567. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  568. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  569. package/esm2022/components/pin/index.mjs +0 -2
  570. package/esm2022/components/pin/pin.directive.mjs +0 -35
  571. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  572. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  573. package/esm2022/components/preview/dialog/index.mjs +0 -4
  574. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  575. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  576. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  577. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  578. package/esm2022/components/preview/index.mjs +0 -8
  579. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  580. package/esm2022/components/preview/preview.component.mjs +0 -142
  581. package/esm2022/components/preview/preview.mjs +0 -13
  582. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  583. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  584. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  585. package/esm2022/components/progress/index.mjs +0 -9
  586. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  587. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  588. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  589. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  590. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  591. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  592. package/esm2022/components/progress/progress.mjs +0 -15
  593. package/esm2022/components/progress/progress.options.mjs +0 -13
  594. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  595. package/esm2022/components/pulse/index.mjs +0 -2
  596. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  597. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  598. package/esm2022/components/push/index.mjs +0 -7
  599. package/esm2022/components/push/push-alert.component.mjs +0 -29
  600. package/esm2022/components/push/push.component.mjs +0 -39
  601. package/esm2022/components/push/push.directive.mjs +0 -33
  602. package/esm2022/components/push/push.mjs +0 -5
  603. package/esm2022/components/push/push.options.mjs +0 -21
  604. package/esm2022/components/push/push.service.mjs +0 -19
  605. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  606. package/esm2022/components/radio/index.mjs +0 -5
  607. package/esm2022/components/radio/radio.component.mjs +0 -53
  608. package/esm2022/components/radio/radio.directive.mjs +0 -32
  609. package/esm2022/components/radio/radio.mjs +0 -4
  610. package/esm2022/components/radio/radio.options.mjs +0 -13
  611. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  612. package/esm2022/components/radio-list/index.mjs +0 -2
  613. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  614. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  615. package/esm2022/components/range/index.mjs +0 -3
  616. package/esm2022/components/range/range-change.directive.mjs +0 -78
  617. package/esm2022/components/range/range.component.mjs +0 -164
  618. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  619. package/esm2022/components/rating/index.mjs +0 -3
  620. package/esm2022/components/rating/rating.component.mjs +0 -65
  621. package/esm2022/components/rating/rating.options.mjs +0 -13
  622. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  623. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  624. package/esm2022/components/routable-dialog/index.mjs +0 -3
  625. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  626. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  627. package/esm2022/components/segmented/index.mjs +0 -3
  628. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  629. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  630. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  631. package/esm2022/components/select/index.mjs +0 -5
  632. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  633. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  634. package/esm2022/components/select/select.directive.mjs +0 -56
  635. package/esm2022/components/select/select.mjs +0 -4
  636. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  637. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  638. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  639. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  640. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  641. package/esm2022/components/slider/index.mjs +0 -8
  642. package/esm2022/components/slider/slider.component.mjs +0 -124
  643. package/esm2022/components/slider/slider.mjs +0 -12
  644. package/esm2022/components/slider/slider.options.mjs +0 -16
  645. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  646. package/esm2022/components/slides/index.mjs +0 -2
  647. package/esm2022/components/slides/slides.directive.mjs +0 -51
  648. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  649. package/esm2022/components/status/index.mjs +0 -2
  650. package/esm2022/components/status/status.directive.mjs +0 -35
  651. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  652. package/esm2022/components/stepper/index.mjs +0 -4
  653. package/esm2022/components/stepper/step.component.mjs +0 -58
  654. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  655. package/esm2022/components/stepper/stepper.mjs +0 -4
  656. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  657. package/esm2022/components/switch/index.mjs +0 -3
  658. package/esm2022/components/switch/switch.component.mjs +0 -63
  659. package/esm2022/components/switch/switch.options.mjs +0 -15
  660. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  661. package/esm2022/components/tabs/index.mjs +0 -9
  662. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  663. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  664. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  665. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -211
  666. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  667. package/esm2022/components/tabs/tabs.mjs +0 -15
  668. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  669. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  670. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  671. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  672. package/esm2022/components/textarea/index.mjs +0 -4
  673. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  674. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -94
  675. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  676. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  677. package/esm2022/components/tiles/index.mjs +0 -7
  678. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  679. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  680. package/esm2022/components/tiles/tile.component.mjs +0 -69
  681. package/esm2022/components/tiles/tile.service.mjs +0 -90
  682. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  683. package/esm2022/components/tiles/tiles.mjs +0 -5
  684. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  685. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  686. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  687. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  688. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  689. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  690. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  691. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  692. package/esm2022/components/tree/index.mjs +0 -12
  693. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  694. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  695. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  696. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  697. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  698. package/esm2022/components/tree/tree.mjs +0 -17
  699. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  700. package/esm2022/directives/button-close/index.mjs +0 -2
  701. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  702. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  703. package/esm2022/directives/button-group/index.mjs +0 -2
  704. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  705. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  706. package/esm2022/directives/button-select/index.mjs +0 -2
  707. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  708. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  709. package/esm2022/directives/chevron/index.mjs +0 -2
  710. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  711. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  712. package/esm2022/directives/connected/index.mjs +0 -2
  713. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  714. package/esm2022/directives/copy/copy.component.mjs +0 -48
  715. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  716. package/esm2022/directives/copy/copy.mjs +0 -4
  717. package/esm2022/directives/copy/copy.options.mjs +0 -3
  718. package/esm2022/directives/copy/index.mjs +0 -6
  719. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  720. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  721. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  722. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  723. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  724. package/esm2022/directives/fade/index.mjs +0 -2
  725. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  726. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  727. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  728. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  729. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  730. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  731. package/esm2022/directives/highlight/index.mjs +0 -2
  732. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  733. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  734. package/esm2022/directives/icon-badge/index.mjs +0 -2
  735. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  736. package/esm2022/directives/index.mjs +0 -21
  737. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  738. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  739. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  740. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  741. package/esm2022/directives/password/index.mjs +0 -3
  742. package/esm2022/directives/password/password.directive.mjs +0 -67
  743. package/esm2022/directives/password/password.options.mjs +0 -8
  744. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  745. package/esm2022/directives/present/index.mjs +0 -2
  746. package/esm2022/directives/present/present.directive.mjs +0 -33
  747. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  748. package/esm2022/directives/sensitive/index.mjs +0 -2
  749. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  750. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  751. package/esm2022/directives/shimmer/index.mjs +0 -2
  752. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  753. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  754. package/esm2022/directives/skeleton/index.mjs +0 -2
  755. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  756. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  757. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  758. package/esm2022/directives/tooltip/index.mjs +0 -3
  759. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  760. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  761. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  762. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  763. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  764. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  765. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  766. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  767. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  768. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  769. package/esm2022/index.mjs +0 -6
  770. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  771. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  772. package/esm2022/pipes/emails/index.mjs +0 -3
  773. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  774. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  775. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  776. package/esm2022/pipes/field-error/index.mjs +0 -3
  777. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  778. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  779. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  780. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  781. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  782. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  783. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  784. package/esm2022/pipes/index.mjs +0 -8
  785. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  786. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  787. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  788. package/esm2022/pipes/stringify/index.mjs +0 -2
  789. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  790. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  791. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  792. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  793. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  794. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  795. package/esm2022/taiga-ui-kit.mjs +0 -5
  796. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  797. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  798. package/esm2022/tokens/i18n.mjs +0 -75
  799. package/esm2022/tokens/index.mjs +0 -10
  800. package/esm2022/tokens/input-date-options.mjs +0 -13
  801. package/esm2022/tokens/items-handlers.mjs +0 -27
  802. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  803. package/esm2022/tokens/month-formatter.mjs +0 -12
  804. package/esm2022/tokens/preview-icons.mjs +0 -17
  805. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  806. package/esm2022/tokens/validation-errors.mjs +0 -6
  807. package/esm2022/utils/create-time-periods.mjs +0 -12
  808. package/esm2022/utils/index.mjs +0 -7
  809. package/esm2022/utils/inject-value.mjs +0 -11
  810. package/esm2022/utils/is-flat.mjs +0 -4
  811. package/esm2022/utils/maskito.binding.mjs +0 -6
  812. package/esm2022/utils/phone.mjs +0 -6
  813. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  814. package/esm2022/utils/toggle-day.mjs +0 -6
  815. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -96
  816. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  817. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  818. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  819. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  820. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  821. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  822. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  823. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  824. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  825. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  826. package/pipes/field-error/index.d.ts +0 -2
  827. package/tokens/validation-errors.d.ts +0 -5
  828. /package/{directives → components}/copy/copy.component.d.ts +0 -0
  829. /package/{directives → components}/copy/copy.d.ts +0 -0
  830. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -1,9 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
3
- import { tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
2
+ import { input, inject, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
4
3
  import * as i1 from '@taiga-ui/core/directives/appearance';
5
4
  import { tuiAppearanceOptionsProvider, TuiWithAppearance } from '@taiga-ui/core/directives/appearance';
6
- import { tuiInjectIconResolver } from '@taiga-ui/core/tokens';
5
+ import * as i2 from '@taiga-ui/core/directives/icons';
6
+ import { TuiIcons } from '@taiga-ui/core/directives/icons';
7
+ import { TUI_ICON_START, TUI_ICON_END } from '@taiga-ui/core/tokens';
7
8
  import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
8
9
 
9
10
  const [TUI_LIKE_OPTIONS, tuiLikeOptionsProvider] = tuiCreateOptions({
@@ -17,41 +18,47 @@ const [TUI_LIKE_OPTIONS, tuiLikeOptionsProvider] = tuiCreateOptions({
17
18
 
18
19
  class TuiLike {
19
20
  constructor() {
20
- this.options = inject(TUI_LIKE_OPTIONS);
21
- this.resolver = tuiInjectIconResolver();
22
- this.color = '';
23
- this.uncheckedIcon = this.options.icons.unchecked;
24
- this.checkedIcon = this.options.icons.checked;
25
- this.size = this.options.size;
21
+ this.color = input('', { alias: 'tuiLike' });
22
+ this.size = input(inject(TUI_LIKE_OPTIONS).size);
26
23
  }
27
- getIcon(state) {
28
- const option = state === 'checked' ? this.checkedIcon : this.uncheckedIcon;
29
- const icon = tuiIsString(option) ? option : option(this.size);
30
- return icon && `url(${this.resolver(icon)})`;
31
- }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLike, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiLike, isStandalone: true, selector: "input[tuiLike][type=checkbox]", inputs: { color: ["tuiLike", "color"], uncheckedIcon: "uncheckedIcon", checkedIcon: "checkedIcon", size: "size" }, host: { attributes: { "tuiLike": "" }, properties: { "attr.data-size": "size", "attr.data-mode": "\"\"", "style.--t-icon-color": "color", "style.--t-unchecked-icon": "getIcon(\"unchecked\")", "style.--t-checked-icon": "getIcon(\"checked\")" } }, providers: [tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS)], hostDirectives: [{ directive: i1.TuiWithAppearance }], ngImport: i0, template: '', isInline: true, styles: ["[tuiLike]{--t-size: var(--tui-height-m);--t-border-width: .75rem;inline-size:var(--t-size);block-size:var(--t-size);border:var(--t-border-width) transparent solid;border-radius:100%;cursor:pointer;margin:0;flex-shrink:0}[tuiLike]:before,[tuiLike]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;transition-property:transform,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";background:currentColor;-webkit-mask:var(--t-unchecked-icon) no-repeat center / contain;mask:var(--t-unchecked-icon) no-repeat center / contain}[tuiLike]:after{-webkit-mask-image:var(--t-checked-icon);mask-image:var(--t-checked-icon);opacity:0;color:var(--t-icon-color, inherit);transform:scale(0)}[tuiLike]:checked:before{opacity:0}[tuiLike]:checked:after{opacity:1;transform:scale(1);transition-timing-function:cubic-bezier(.2,.6,.5,1.8),ease-in-out}[tuiLike][data-size=s]{--t-size: var(--tui-height-s);--t-border-width: .5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLike, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.15", type: TuiLike, isStandalone: true, selector: "input[tuiLike][type=checkbox]", inputs: { color: { classPropertyName: "color", publicName: "tuiLike", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiLike": "" }, properties: { "attr.data-size": "size()", "attr.data-mode": "\"\"", "style.--t-icon-color": "color()" } }, providers: [
26
+ tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS),
27
+ {
28
+ provide: TUI_ICON_START,
29
+ useFactory: () => inject(TUI_LIKE_OPTIONS).icons.unchecked,
30
+ },
31
+ {
32
+ provide: TUI_ICON_END,
33
+ useFactory: () => inject(TUI_LIKE_OPTIONS).icons.checked,
34
+ },
35
+ ], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiIcons, inputs: ["iconStart", "uncheckedIcon", "iconEnd", "checkedIcon"] }], ngImport: i0, template: '', isInline: true, styles: ["[tuiLike]{inline-size:1em;block-size:1em;font-size:var(--tui-height-m);border-radius:100%;cursor:pointer;margin:0;flex-shrink:0}[tuiLike]:before,[tuiLike]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;font-size:1.25rem;transition-property:transform,opacity}[tuiLike]:after{opacity:0;color:var(--t-icon-color, inherit);transform:scale(0)}[tuiLike]:checked:before{opacity:0}[tuiLike]:checked:after{opacity:1;transform:scale(1);transition-timing-function:cubic-bezier(.2,.6,.5,1.8),ease-in-out}[tuiLike][data-size=s]{font-size:var(--tui-height-s)}[tuiLike][data-size=s]:before,[tuiLike][data-size=s]:after{font-size:1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
34
36
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLike, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLike, decorators: [{
36
38
  type: Component,
37
- args: [{ standalone: true, selector: 'input[tuiLike][type=checkbox]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS)], hostDirectives: [TuiWithAppearance], host: {
39
+ args: [{ standalone: true, selector: 'input[tuiLike][type=checkbox]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
40
+ tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS),
41
+ {
42
+ provide: TUI_ICON_START,
43
+ useFactory: () => inject(TUI_LIKE_OPTIONS).icons.unchecked,
44
+ },
45
+ {
46
+ provide: TUI_ICON_END,
47
+ useFactory: () => inject(TUI_LIKE_OPTIONS).icons.checked,
48
+ },
49
+ ], hostDirectives: [
50
+ TuiWithAppearance,
51
+ {
52
+ directive: TuiIcons,
53
+ inputs: ['iconStart: uncheckedIcon', 'iconEnd: checkedIcon'],
54
+ },
55
+ ], host: {
38
56
  tuiLike: '',
39
- '[attr.data-size]': 'size',
57
+ '[attr.data-size]': 'size()',
40
58
  '[attr.data-mode]': '""',
41
- '[style.--t-icon-color]': 'color',
42
- '[style.--t-unchecked-icon]': 'getIcon("unchecked")',
43
- '[style.--t-checked-icon]': 'getIcon("checked")',
44
- }, styles: ["[tuiLike]{--t-size: var(--tui-height-m);--t-border-width: .75rem;inline-size:var(--t-size);block-size:var(--t-size);border:var(--t-border-width) transparent solid;border-radius:100%;cursor:pointer;margin:0;flex-shrink:0}[tuiLike]:before,[tuiLike]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;transition-property:transform,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";background:currentColor;-webkit-mask:var(--t-unchecked-icon) no-repeat center / contain;mask:var(--t-unchecked-icon) no-repeat center / contain}[tuiLike]:after{-webkit-mask-image:var(--t-checked-icon);mask-image:var(--t-checked-icon);opacity:0;color:var(--t-icon-color, inherit);transform:scale(0)}[tuiLike]:checked:before{opacity:0}[tuiLike]:checked:after{opacity:1;transform:scale(1);transition-timing-function:cubic-bezier(.2,.6,.5,1.8),ease-in-out}[tuiLike][data-size=s]{--t-size: var(--tui-height-s);--t-border-width: .5rem}\n"] }]
45
- }], propDecorators: { color: [{
46
- type: Input,
47
- args: ['tuiLike']
48
- }], uncheckedIcon: [{
49
- type: Input
50
- }], checkedIcon: [{
51
- type: Input
52
- }], size: [{
53
- type: Input
54
- }] } });
59
+ '[style.--t-icon-color]': 'color()',
60
+ }, styles: ["[tuiLike]{inline-size:1em;block-size:1em;font-size:var(--tui-height-m);border-radius:100%;cursor:pointer;margin:0;flex-shrink:0}[tuiLike]:before,[tuiLike]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;font-size:1.25rem;transition-property:transform,opacity}[tuiLike]:after{opacity:0;color:var(--t-icon-color, inherit);transform:scale(0)}[tuiLike]:checked:before{opacity:0}[tuiLike]:checked:after{opacity:1;transform:scale(1);transition-timing-function:cubic-bezier(.2,.6,.5,1.8),ease-in-out}[tuiLike][data-size=s]{font-size:var(--tui-height-s)}[tuiLike][data-size=s]:before,[tuiLike][data-size=s]:after{font-size:1rem}\n"] }]
61
+ }] });
55
62
 
56
63
  /**
57
64
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-like.mjs","sources":["../../../projects/kit/components/like/like.options.ts","../../../projects/kit/components/like/like.component.ts","../../../projects/kit/components/like/taiga-ui-kit-components-like.ts"],"sourcesContent":["import {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiLikeOptions extends TuiAppearanceOptions {\n readonly size: TuiSizeS;\n readonly icons: Readonly<{\n checked: TuiStringHandler<TuiSizeS> | string;\n unchecked: TuiStringHandler<TuiSizeS> | string;\n }>;\n}\n\nexport const [TUI_LIKE_OPTIONS, tuiLikeOptionsProvider] =\n tuiCreateOptions<TuiLikeOptions>({\n size: 'm',\n appearance: 'secondary',\n icons: {\n unchecked: '@tui.heart',\n checked: '@tui.heart-filled',\n },\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {tuiInjectIconResolver} from '@taiga-ui/core/tokens';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TUI_LIKE_OPTIONS, type TuiLikeOptions} from './like.options';\n\n@Component({\n standalone: true,\n selector: 'input[tuiLike][type=checkbox]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/like.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS)],\n hostDirectives: [TuiWithAppearance],\n host: {\n tuiLike: '',\n '[attr.data-size]': 'size',\n '[attr.data-mode]': '\"\"',\n '[style.--t-icon-color]': 'color',\n '[style.--t-unchecked-icon]': 'getIcon(\"unchecked\")',\n '[style.--t-checked-icon]': 'getIcon(\"checked\")',\n },\n})\nexport class TuiLike {\n private readonly options = inject(TUI_LIKE_OPTIONS);\n private readonly resolver = tuiInjectIconResolver();\n\n @Input('tuiLike')\n public color = '';\n\n @Input()\n public uncheckedIcon: TuiStringHandler<TuiSizeS> | string =\n this.options.icons.unchecked;\n\n @Input()\n public checkedIcon: TuiStringHandler<TuiSizeS> | string = this.options.icons.checked;\n\n @Input()\n public size: TuiSizeS = this.options.size;\n\n protected getIcon(state: keyof TuiLikeOptions['icons']): string {\n const option = state === 'checked' ? this.checkedIcon : this.uncheckedIcon;\n const icon = tuiIsString(option) ? option : option(this.size);\n\n return icon && `url(${this.resolver(icon)})`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAaa,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GACnD,gBAAgB,CAAiB;AAC7B,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,UAAU,EAAE,WAAW;AACvB,IAAA,KAAK,EAAE;AACH,QAAA,SAAS,EAAE,YAAY;AACvB,QAAA,OAAO,EAAE,mBAAmB;AAC/B,KAAA;AACJ,CAAA;;ACHL,MAkBa,OAAO,CAAA;AAlBpB,IAAA,WAAA,GAAA;AAmBqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;QACnC,IAAQ,CAAA,QAAA,GAAG,qBAAqB,EAAE,CAAC;QAG7C,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;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A,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,y9BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAeH,OAAO,EAAA,UAAA,EAAA,CAAA;kBAlBnB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,+BAA+B,EAC/B,QAAA,EAAA,EAAE,iBAEG,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA,CAAC,4BAA4B,CAAC,gBAAgB,CAAC,CAAC,EAC3C,cAAA,EAAA,CAAC,iBAAiB,CAAC,EAC7B,IAAA,EAAA;AACF,wBAAA,OAAO,EAAE,EAAE;AACX,wBAAA,kBAAkB,EAAE,MAAM;AAC1B,wBAAA,kBAAkB,EAAE,IAAI;AACxB,wBAAA,wBAAwB,EAAE,OAAO;AACjC,wBAAA,4BAA4B,EAAE,sBAAsB;AACpD,wBAAA,0BAA0B,EAAE,oBAAoB;AACnD,qBAAA,EAAA,MAAA,EAAA,CAAA,y9BAAA,CAAA,EAAA,CAAA;8BAOM,KAAK,EAAA,CAAA;sBADX,KAAK;uBAAC,SAAS,CAAA;gBAIT,aAAa,EAAA,CAAA;sBADnB,KAAK;gBAKC,WAAW,EAAA,CAAA;sBADjB,KAAK;gBAIC,IAAI,EAAA,CAAA;sBADV,KAAK;;;AClDV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-like.mjs","sources":["../../../projects/kit/components/like/like.options.ts","../../../projects/kit/components/like/like.component.ts","../../../projects/kit/components/like/taiga-ui-kit-components-like.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiLikeOptions extends TuiAppearanceOptions {\n readonly size: TuiSizeS;\n readonly icons: Readonly<{\n checked: string;\n unchecked: string;\n }>;\n}\n\nexport const [TUI_LIKE_OPTIONS, tuiLikeOptionsProvider] =\n tuiCreateOptions<TuiLikeOptions>({\n size: 'm',\n appearance: 'secondary',\n icons: {\n unchecked: '@tui.heart',\n checked: '@tui.heart-filled',\n },\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TuiIcons} from '@taiga-ui/core/directives/icons';\nimport {TUI_ICON_END, TUI_ICON_START} from '@taiga-ui/core/tokens';\n\nimport {TUI_LIKE_OPTIONS} from './like.options';\n\n@Component({\n standalone: true,\n selector: 'input[tuiLike][type=checkbox]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/like.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS),\n {\n provide: TUI_ICON_START,\n useFactory: () => inject(TUI_LIKE_OPTIONS).icons.unchecked,\n },\n {\n provide: TUI_ICON_END,\n useFactory: () => inject(TUI_LIKE_OPTIONS).icons.checked,\n },\n ],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiIcons,\n inputs: ['iconStart: uncheckedIcon', 'iconEnd: checkedIcon'],\n },\n ],\n host: {\n tuiLike: '',\n '[attr.data-size]': 'size()',\n '[attr.data-mode]': '\"\"',\n '[style.--t-icon-color]': 'color()',\n },\n})\nexport class TuiLike {\n public readonly color = input('', {alias: 'tuiLike'});\n public readonly size = input(inject(TUI_LIKE_OPTIONS).size);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAYa,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GACnD,gBAAgB,CAAiB;AAC7B,IAAA,IA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3D,yBAAA;qBACJ,EACe,cAAA,EAAA;wBACZ,iBAAiB;AACjB,wBAAA;AACI,4BAAA,SAAS,EAAE,QAAQ;AACnB,4BAAA,MAAM,EAAE,CAAC,0BAA0B,EAAE,sBAAsB,CAAC;AAC/D,yBAAA;qBACJ,EACK,IAAA,EAAA;AACF,wBAAA,OAAO,EAAE,EAAE;AACX,wBAAA,kBAAkB,EAAE,QAAQ;AAC5B,wBAAA,kBAAkB,EAAE,IAAI;AACxB,wBAAA,wBAAwB,EAAE,SAAS;AACtC,qBAAA,EAAA,MAAA,EAAA,CAAA,soBAAA,CAAA,EAAA;;;AC9CL;;AAEG;;;;"}
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Component, ChangeDetectionStrategy, inject, Directive, ChangeDetectorRef, signal, ElementRef, ViewChild, Input, Output } from '@angular/core';
2
+ import { InjectionToken, ChangeDetectionStrategy, Component, inject, Directive, ElementRef, Input, Output, ViewChild } from '@angular/core';
3
3
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
+ import * as i1 from '@taiga-ui/cdk/directives/transitioned';
5
+ import { TuiTransitioned } from '@taiga-ui/cdk/directives/transitioned';
4
6
  import { tuiTypedFromEvent } from '@taiga-ui/cdk/observables';
5
7
  import { tuiInjectElement, tuiIsCurrentTarget } from '@taiga-ui/cdk/utils/dom';
6
- import * as i1$1 from '@taiga-ui/core/directives/hint';
7
- import { TuiHintBaseComponent, TUI_HINT_PROVIDERS, TuiHintDirective, TUI_HINT_COMPONENT, TuiHint } from '@taiga-ui/core/directives/hint';
8
+ import { tuiProvideOptions, tuiPx } from '@taiga-ui/cdk/utils/miscellaneous';
9
+ import * as i2 from '@taiga-ui/core/directives/hint';
10
+ import { TuiHintComponent, TUI_HINT_PROVIDERS, TuiHintDirective, TUI_HINT_COMPONENT, TuiHint } from '@taiga-ui/core/directives/hint';
8
11
  import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
9
12
  import { BehaviorSubject, Subject, startWith, pairwise, switchMap, of, filter, map, debounceTime, distinctUntilChanged } from 'rxjs';
10
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
11
- import * as i1 from '@taiga-ui/cdk/directives/animated';
12
- import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
13
13
  import { TuiPositionAccessor, tuiAsPositionAccessor } from '@taiga-ui/core/classes';
14
14
 
15
15
  const TUI_LINE_CLAMP_DEFAULT_OPTIONS = {
@@ -25,22 +25,22 @@ function tuiLineClampOptionsProvider(options) {
25
25
  return tuiProvideOptions(TUI_LINE_CLAMP_OPTIONS, options, TUI_LINE_CLAMP_DEFAULT_OPTIONS);
26
26
  }
27
27
 
28
- class TuiLineClampBox extends TuiHintBaseComponent {
28
+ class TuiLineClampBox extends TuiHintComponent {
29
29
  get width() {
30
30
  return this.accessor.getClientRect().width;
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampBox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiLineClampBox, isStandalone: true, selector: "tui-line-clamp-box", host: { properties: { "style.min-width.px": "width" } }, providers: TUI_HINT_PROVIDERS, usesInheritance: true, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: `
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLineClampBox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiLineClampBox, isStandalone: true, selector: "tui-line-clamp-box", host: { properties: { "style.min-width.px": "width" } }, providers: TUI_HINT_PROVIDERS, usesInheritance: true, ngImport: i0, template: `
34
34
  <ng-container *polymorpheusOutlet="content() as text">{{ text }}</ng-container>
35
- `, isInline: true, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:-webkit-min-content;inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
35
+ `, isInline: true, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampBox, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLineClampBox, decorators: [{
38
38
  type: Component,
39
- args: [{ standalone: true, selector: 'tui-line-clamp-box', imports: [PolymorpheusOutlet], template: `
39
+ args: [{ selector: 'tui-line-clamp-box', imports: [PolymorpheusOutlet], template: `
40
40
  <ng-container *polymorpheusOutlet="content() as text">{{ text }}</ng-container>
41
- `, changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_HINT_PROVIDERS, hostDirectives: [TuiAnimated], host: {
41
+ `, changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_HINT_PROVIDERS, host: {
42
42
  '[style.min-width.px]': 'width',
43
- }, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:-webkit-min-content;inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"] }]
43
+ }, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"] }]
44
44
  }] });
45
45
 
46
46
  class TuiLineClampPositionDirective extends TuiPositionAccessor {
@@ -53,10 +53,10 @@ class TuiLineClampPositionDirective extends TuiPositionAccessor {
53
53
  const { top, left } = this.accessor.getClientRect();
54
54
  return [top, left];
55
55
  }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampPositionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
57
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiLineClampPositionDirective, isStandalone: true, selector: "[tuiLineClampPosition]", providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)], usesInheritance: true, ngImport: i0 }); }
56
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLineClampPositionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
57
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiLineClampPositionDirective, isStandalone: true, selector: "[tuiLineClampPosition]", providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)], usesInheritance: true, ngImport: i0 }); }
58
58
  }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampPositionDirective, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLineClampPositionDirective, decorators: [{
60
60
  type: Directive,
61
61
  args: [{
62
62
  standalone: true,
@@ -69,12 +69,8 @@ class TuiLineClamp {
69
69
  constructor() {
70
70
  this.options = inject(TUI_LINE_CLAMP_OPTIONS);
71
71
  this.el = tuiInjectElement();
72
- this.cd = inject(ChangeDetectorRef);
73
72
  this.linesLimit$ = new BehaviorSubject(1);
74
73
  this.isOverflown$ = new Subject();
75
- this.initialized = signal(false);
76
- this.maxHeight = signal(0);
77
- this.height = signal(0);
78
74
  this.lineClamp = toSignal(this.linesLimit$.pipe(startWith(1), pairwise(), switchMap(([prev, next]) => next >= prev
79
75
  ? of(next)
80
76
  : tuiTypedFromEvent(this.el, 'transitionend').pipe(filter(tuiIsCurrentTarget), map(() => next))), takeUntilDestroyed()), { initialValue: 0 });
@@ -88,52 +84,48 @@ class TuiLineClamp {
88
84
  this.update();
89
85
  this.isOverflown$.next(this.overflown);
90
86
  }
91
- ngAfterViewInit() {
92
- this.initialized.set(true);
93
- }
94
87
  get overflown() {
95
88
  if (!this.outlet) {
96
89
  return false;
97
90
  }
98
91
  const { scrollHeight, scrollWidth } = this.outlet.nativeElement;
99
92
  const { clientWidth } = this.el;
100
- return scrollHeight > this.maxHeight() || scrollWidth > clientWidth;
93
+ return scrollHeight > this.maxHeight || scrollWidth > clientWidth;
101
94
  }
102
95
  get computedContent() {
103
96
  return this.options.showHint && this.overflown ? this.content : '';
104
97
  }
105
- updateView() {
106
- this.cd.detectChanges();
107
- }
108
98
  update() {
109
- if (this.outlet) {
110
- this.height.set(this.outlet.nativeElement.scrollHeight);
99
+ if (!this.outlet) {
100
+ return;
111
101
  }
112
- this.maxHeight.set(this.lineHeight * this.linesLimit$.value);
102
+ this.el.style.height = tuiPx(this.outlet.nativeElement.scrollHeight);
103
+ this.el.style.maxHeight = tuiPx(this.maxHeight);
104
+ this.el.classList.toggle('_overflown', this.overflown);
105
+ }
106
+ get maxHeight() {
107
+ return this.lineHeight * this.linesLimit$.value;
113
108
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClamp, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiLineClamp, isStandalone: true, selector: "tui-line-clamp", inputs: { lineHeight: "lineHeight", content: "content", linesLimit: "linesLimit" }, outputs: { overflownChange: "overflownChange" }, host: { listeners: { "transitionend": "updateView()", "mouseenter": "updateView()", "resize": "updateView()" }, properties: { "style.height.px": "height()", "style.max-height.px": "maxHeight()", "class._initialized": "initialized()" } }, providers: [
109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLineClamp, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
110
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiLineClamp, isStandalone: true, selector: "tui-line-clamp", inputs: { lineHeight: "lineHeight", content: "content", linesLimit: "linesLimit" }, outputs: { overflownChange: "overflownChange" }, host: { listeners: { "transitionend": "update()", "mouseenter": "update()", "resize": "update()" } }, providers: [
116
111
  {
117
112
  provide: TUI_HINT_COMPONENT,
118
113
  useValue: TuiLineClampBox,
119
114
  },
120
- ], viewQueries: [{ propertyName: "outlet", first: true, predicate: TuiHintDirective, descendants: true, read: ElementRef }], ngImport: i0, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden}:host._initialized{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-wrapper{display:-webkit-box;-webkit-box-orient:block-axis;overflow:hidden;overflow-wrap:anywhere}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i1$1.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "directive", type: TuiLineClampPositionDirective, selector: "[tuiLineClampPosition]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
115
+ ], viewQueries: [{ propertyName: "outlet", first: true, predicate: TuiHintDirective, descendants: true, read: ElementRef }], hostDirectives: [{ directive: i1.TuiTransitioned }], ngImport: i0, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:block;overflow:hidden}:host._overflown .t-wrapper{-webkit-box-orient:block-axis}.t-wrapper{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i2.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "directive", type: TuiLineClampPositionDirective, selector: "[tuiLineClampPosition]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
121
116
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClamp, decorators: [{
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLineClamp, decorators: [{
123
118
  type: Component,
124
- args: [{ standalone: true, selector: 'tui-line-clamp', imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
119
+ args: [{ selector: 'tui-line-clamp', imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
125
120
  {
126
121
  provide: TUI_HINT_COMPONENT,
127
122
  useValue: TuiLineClampBox,
128
123
  },
129
- ], host: {
130
- '[style.height.px]': 'height()',
131
- '[style.max-height.px]': 'maxHeight()',
132
- '[class._initialized]': 'initialized()',
133
- '(transitionend)': 'updateView()',
134
- '(mouseenter)': 'updateView()',
135
- '(resize)': 'updateView()',
136
- }, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden}:host._initialized{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-wrapper{display:-webkit-box;-webkit-box-orient:block-axis;overflow:hidden;overflow-wrap:anywhere}\n"] }]
124
+ ], hostDirectives: [TuiTransitioned], host: {
125
+ '(transitionend)': 'update()',
126
+ '(mouseenter)': 'update()',
127
+ '(resize)': 'update()',
128
+ }, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:block;overflow:hidden}:host._overflown .t-wrapper{-webkit-box-orient:block-axis}.t-wrapper{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere}\n"] }]
137
129
  }], propDecorators: { outlet: [{
138
130
  type: ViewChild,
139
131
  args: [TuiHintDirective, { read: ElementRef }]
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-line-clamp.mjs","sources":["../../../projects/kit/components/line-clamp/line-clamp.options.ts","../../../projects/kit/components/line-clamp/line-clamp-box.component.ts","../../../projects/kit/components/line-clamp/line-clamp-position.directive.ts","../../../projects/kit/components/line-clamp/line-clamp.component.ts","../../../projects/kit/components/line-clamp/line-clamp.template.html","../../../projects/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\n/**\n * Default parameters for LineClamp component\n */\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_LINE_CLAMP_OPTIONS' : '',\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiLineClampOptionsProvider(\n options: Partial<TuiLineClampOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_LINE_CLAMP_OPTIONS,\n options,\n TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {TUI_HINT_PROVIDERS, TuiHintBaseComponent} from '@taiga-ui/core/directives/hint';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\n@Component({\n standalone: true,\n selector: 'tui-line-clamp-box',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"content() as text\">{{ text }}</ng-container>\n `,\n styleUrls: ['./line-clamp-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_HINT_PROVIDERS,\n hostDirectives: [TuiAnimated],\n host: {\n '[style.min-width.px]': 'width',\n },\n})\nexport class TuiLineClampBox extends TuiHintBaseComponent {\n protected get width(): number {\n return this.accessor.getClientRect().width;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {\n tuiAsPositionAccessor,\n TuiPositionAccessor,\n type TuiRectAccessor,\n} from '@taiga-ui/core/classes';\nimport {TuiHintDirective} from '@taiga-ui/core/directives/hint';\nimport {type TuiPoint} from '@taiga-ui/core/types';\n\n@Directive({\n standalone: true,\n selector: '[tuiLineClampPosition]',\n providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)],\n})\nexport class TuiLineClampPositionDirective extends TuiPositionAccessor {\n private readonly accessor = inject<TuiRectAccessor>(TuiHintDirective);\n public readonly type = 'hint';\n\n public getPosition(): TuiPoint {\n const {top, left} = this.accessor.getClientRect();\n\n return [top, left];\n }\n}\n","import {\n type AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n type DoCheck,\n ElementRef,\n inject,\n Input,\n Output,\n signal,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed, toSignal} from '@angular/core/rxjs-interop';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement, tuiIsCurrentTarget} from '@taiga-ui/cdk/utils/dom';\nimport {\n TUI_HINT_COMPONENT,\n TuiHint,\n TuiHintDirective,\n} from '@taiga-ui/core/directives/hint';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\nimport {\n BehaviorSubject,\n debounceTime,\n distinctUntilChanged,\n filter,\n map,\n type Observable,\n of,\n pairwise,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {TUI_LINE_CLAMP_OPTIONS} from './line-clamp.options';\nimport {TuiLineClampBox} from './line-clamp-box.component';\nimport {TuiLineClampPositionDirective} from './line-clamp-position.directive';\n\n@Component({\n standalone: true,\n selector: 'tui-line-clamp',\n imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective],\n templateUrl: './line-clamp.template.html',\n styleUrls: ['./line-clamp.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_HINT_COMPONENT,\n useValue: TuiLineClampBox,\n },\n ],\n host: {\n '[style.height.px]': 'height()',\n '[style.max-height.px]': 'maxHeight()',\n '[class._initialized]': 'initialized()',\n '(transitionend)': 'updateView()',\n '(mouseenter)': 'updateView()',\n '(resize)': 'updateView()',\n },\n})\nexport class TuiLineClamp implements DoCheck, AfterViewInit {\n @ViewChild(TuiHintDirective, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly options = inject(TUI_LINE_CLAMP_OPTIONS);\n private readonly el = tuiInjectElement();\n private readonly cd = inject(ChangeDetectorRef);\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n protected initialized = signal(false);\n protected maxHeight = signal(0);\n protected height = signal(0);\n\n protected lineClamp = toSignal(\n this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : tuiTypedFromEvent(this.el, 'transitionend').pipe(\n filter(tuiIsCurrentTarget),\n map(() => next),\n ),\n ),\n takeUntilDestroyed(),\n ),\n {initialValue: 0},\n );\n\n @Input()\n public lineHeight = 24;\n\n @Input()\n public content: PolymorpheusContent;\n\n @Output()\n public readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n debounceTime(0),\n distinctUntilChanged(),\n );\n\n @Input()\n public set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n public ngDoCheck(): void {\n this.update();\n this.isOverflown$.next(this.overflown);\n }\n\n public ngAfterViewInit(): void {\n this.initialized.set(true);\n }\n\n protected get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientWidth} = this.el;\n\n return scrollHeight > this.maxHeight() || scrollWidth > clientWidth;\n }\n\n protected get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : '';\n }\n\n protected updateView(): void {\n this.cd.detectChanges();\n }\n\n private update(): void {\n if (this.outlet) {\n this.height.set(this.outlet.nativeElement.scrollHeight);\n }\n\n this.maxHeight.set(this.lineHeight * this.linesLimit$.value);\n }\n}\n","<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOa,MAAA,8BAA8B,GAAwB;AAC/D,IAAA,QAAQ,EAAE,IAAI;EAChB;AAEF;;AAEG;AACU,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,MAAM,8BAA8B;AAChD,CAAA,EACH;AAEI,SAAU,2BAA2B,CACvC,OAAqC,EAAA;IAErC,OAA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,EAAA,eAAA,EAGpD,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,QAAQ,EAAE,eAAe;AAC5B,yBAAA;qBACJ,EACK,IAAA,EAAA;AACF,wBAAA,mBAAmB,EAAE,UAAU;AAC/B,wBAAA,uBAAuB,EAAE,aAAa;AACtC,wBAAA,sBAAsB,EAAE,eAAe;AACvC,wBAAA,iBAAiB,EAAE,cAAc;AACjC,wBAAA,cAAc,EAAE,cAAc;AAC9B,wBAAA,UAAU,EAAE,cAAc;AAC7B,qBAAA,EAAA,QAAA,EAAA,uTAAA,EAAA,MAAA,EAAA,CAAA,oSAAA,CAAA,EAAA,CAAA;8BAIgB,MAAM,EAAA,CAAA;sBADtB,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,gBAAgB,EAAE,EAAC,IAAI,EAAE,UAAU,EAAC,CAAA;gBA8BxC,UAAU,EAAA,CAAA;sBADhB,KAAK;gBAIC,OAAO,EAAA,CAAA;sBADb,KAAK;gBAIU,eAAe,EAAA,CAAA;sBAD9B,MAAM;gBAOI,UAAU,EAAA,CAAA;sBADpB,KAAK;;;AExGV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-line-clamp.mjs","sources":["../../../projects/kit/components/line-clamp/line-clamp.options.ts","../../../projects/kit/components/line-clamp/line-clamp-box.component.ts","../../../projects/kit/components/line-clamp/line-clamp-position.directive.ts","../../../projects/kit/components/line-clamp/line-clamp.component.ts","../../../projects/kit/components/line-clamp/line-clamp.template.html","../../../projects/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\n/**\n * Default parameters for LineClamp component\n */\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_LINE_CLAMP_OPTIONS' : '',\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiLineClampOptionsProvider(\n options: Partial<TuiLineClampOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_LINE_CLAMP_OPTIONS,\n options,\n TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {TUI_HINT_PROVIDERS, TuiHintComponent} from '@taiga-ui/core/directives/hint';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\n@Component({\n selector: 'tui-line-clamp-box',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"content() as text\">{{ text }}</ng-container>\n `,\n styleUrls: ['./line-clamp-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_HINT_PROVIDERS,\n host: {\n '[style.min-width.px]': 'width',\n },\n})\nexport class TuiLineClampBox extends TuiHintComponent {\n protected get width(): number {\n return this.accessor.getClientRect().width;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {\n tuiAsPositionAccessor,\n TuiPositionAccessor,\n type TuiRectAccessor,\n} from '@taiga-ui/core/classes';\nimport {TuiHintDirective} from '@taiga-ui/core/directives/hint';\nimport {type TuiPoint} from '@taiga-ui/core/types';\n\n@Directive({\n standalone: true,\n selector: '[tuiLineClampPosition]',\n providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)],\n})\nexport class TuiLineClampPositionDirective extends TuiPositionAccessor {\n private readonly accessor = inject<TuiRectAccessor>(TuiHintDirective);\n public readonly type = 'hint';\n\n public getPosition(): TuiPoint {\n const {top, left} = this.accessor.getClientRect();\n\n return [top, left];\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n type DoCheck,\n ElementRef,\n inject,\n Input,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed, toSignal} from '@angular/core/rxjs-interop';\nimport {TuiTransitioned} from '@taiga-ui/cdk/directives/transitioned';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement, tuiIsCurrentTarget} from '@taiga-ui/cdk/utils/dom';\nimport {tuiPx} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_HINT_COMPONENT,\n TuiHint,\n TuiHintDirective,\n} from '@taiga-ui/core/directives/hint';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\nimport {\n BehaviorSubject,\n debounceTime,\n distinctUntilChanged,\n filter,\n map,\n type Observable,\n of,\n pairwise,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {TUI_LINE_CLAMP_OPTIONS} from './line-clamp.options';\nimport {TuiLineClampBox} from './line-clamp-box.component';\nimport {TuiLineClampPositionDirective} from './line-clamp-position.directive';\n\n@Component({\n selector: 'tui-line-clamp',\n imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective],\n templateUrl: './line-clamp.template.html',\n styleUrls: ['./line-clamp.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_HINT_COMPONENT,\n useValue: TuiLineClampBox,\n },\n ],\n hostDirectives: [TuiTransitioned],\n host: {\n '(transitionend)': 'update()',\n '(mouseenter)': 'update()',\n '(resize)': 'update()',\n },\n})\nexport class TuiLineClamp implements DoCheck {\n @ViewChild(TuiHintDirective, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly options = inject(TUI_LINE_CLAMP_OPTIONS);\n private readonly el = tuiInjectElement();\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n\n protected lineClamp = toSignal(\n this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : tuiTypedFromEvent(this.el, 'transitionend').pipe(\n filter(tuiIsCurrentTarget),\n map(() => next),\n ),\n ),\n takeUntilDestroyed(),\n ),\n {initialValue: 0},\n );\n\n @Input()\n public lineHeight = 24;\n\n @Input()\n public content: PolymorpheusContent;\n\n @Output()\n public readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n debounceTime(0),\n distinctUntilChanged(),\n );\n\n @Input()\n public set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n public ngDoCheck(): void {\n this.update();\n this.isOverflown$.next(this.overflown);\n }\n\n protected get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientWidth} = this.el;\n\n return scrollHeight > this.maxHeight || scrollWidth > clientWidth;\n }\n\n protected get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : '';\n }\n\n protected update(): void {\n if (!this.outlet) {\n return;\n }\n\n this.el.style.height = tuiPx(this.outlet.nativeElement.scrollHeight);\n this.el.style.maxHeight = tuiPx(this.maxHeight);\n this.el.classList.toggle('_overflown', this.overflown);\n }\n\n private get maxHeight(): number {\n return this.lineHeight * this.linesLimit$.value;\n }\n}\n","<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOa,MAAA,8BAA8B,GAAwB;AAC/D,IAAA,QAAQ,EAAE,IAAI;;AAGlB;;AAEG;AACU,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,MAAM,8BAA8B;AAChD,CAAA;AA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D9B;gBAOU,UAAU,EAAA,CAAA;sBADpB;;;AEhGL;;AAEG;;;;"}
@@ -1,32 +1,30 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive } from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, Directive } from '@angular/core';
3
3
  import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
4
  import * as i1 from '@taiga-ui/core/directives/appearance';
5
5
  import { TUI_APPEARANCE_OPTIONS, TuiWithAppearance } from '@taiga-ui/core/directives/appearance';
6
6
 
7
- class TuiMessageStyles {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessageStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiMessageStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-message" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;-webkit-text-decoration:underline solid!important;text-decoration:underline solid!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
7
+ class Styles {
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-message" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;text-decoration:underline solid!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessageStyles, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
12
12
  type: Component,
13
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
14
- class: 'tui-message',
15
- }, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;-webkit-text-decoration:underline solid!important;text-decoration:underline solid!important}\n"] }]
13
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-message' }, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;text-decoration:underline solid!important}\n"] }]
16
14
  }] });
17
15
  class TuiMessage {
18
16
  constructor() {
19
- this.nothing = tuiWithStyles(TuiMessageStyles);
17
+ this.nothing = tuiWithStyles(Styles);
20
18
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiMessage, isStandalone: true, selector: "[tuiMessage]", providers: [
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMessage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiMessage, isStandalone: true, selector: "[tuiMessage]", providers: [
23
21
  {
24
22
  provide: TUI_APPEARANCE_OPTIONS,
25
23
  useValue: { appearance: 'neutral' },
26
24
  },
27
25
  ], hostDirectives: [{ directive: i1.TuiWithAppearance }], ngImport: i0 }); }
28
26
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessage, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMessage, decorators: [{
30
28
  type: Directive,
31
29
  args: [{
32
30
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-message.mjs","sources":["../../../projects/kit/components/message/message.directive.ts","../../../projects/kit/components/message/taiga-ui-kit-components-message.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_APPEARANCE_OPTIONS,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\n\n@Component({\n standalone: true,\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/message.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-message',\n },\n})\nclass TuiMessageStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiMessage]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'neutral'},\n },\n ],\n hostDirectives: [TuiWithAppearance],\n})\nexport class TuiMessage {\n protected readonly nothing = tuiWithStyles(TuiMessageStyles);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYA,MAUM,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,iHARR,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+cAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAVrB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,KAAK,EAAE,aAAa;AACvB,qBAAA,EAAA,MAAA,EAAA,CAAA,+cAAA,CAAA,EAAA,CAAA;;AAIL,MAWa,UAAU,CAAA;AAXvB,IAAA,WAAA,GAAA;AAYuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;AAChE,KAAA;+GAFY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAV,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,UAAU,EARR,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,SAAA,EAAA;AACP,YAAA;AACI,gBAAA,OAAO,EAAE,sBAAsB;AAC/B,gBAAA,QAAQ,EAAE,EAAC,UAAU,EAAE,SAAS,EAAC;AACpC,aAAA;AACJ,SAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAGQ,UAAU,EAAA,UAAA,EAAA,CAAA;kBAXtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,SAAS,EAAE;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,sBAAsB;AAC/B,4BAAA,QAAQ,EAAE,EAAC,UAAU,EAAE,SAAS,EAAC;AACpC,yBAAA;AACJ,qBAAA;oBACD,cAAc,EAAE,CAAC,iBAAiB,CAAC;AACtC,iBAAA,CAAA;;;AClCD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-message.mjs","sources":["../../../projects/kit/components/message/message.directive.ts","../../../projects/kit/components/message/taiga-ui-kit-components-message.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_APPEARANCE_OPTIONS,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\n\n@Component({\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/message.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-message'},\n})\nclass Styles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiMessage]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'neutral'},\n },\n ],\n hostDirectives: [TuiWithAppearance],\n})\nexport class TuiMessage {\n protected readonly nothing = tuiWithStyles(Styles);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYA,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,iHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,gWAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMV,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPX,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA,EAAC,KAAK,EAAE,aAAa,EAAC,EAAA,MAAA,EAAA,CAAA,gWAAA,CAAA,EAAA;;MAenB,UAAU,CAAA;AAXvB,IAAA,WAAA,GAAA;AAYuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC;AACrD;+GAFY,UAAU,EAAA,IAAA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