@taiga-ui/kit 4.52.0-canary.a4e325d → 4.52.0-canary.bf9131e

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 (352) hide show
  1. package/components/accordion/accordion.component.d.ts +13 -0
  2. package/components/accordion/accordion.d.ts +4 -4
  3. package/components/accordion/accordion.directive.d.ts +11 -10
  4. package/components/accordion/index.d.ts +1 -3
  5. package/components/action-bar/action-bar.component.d.ts +5 -7
  6. package/components/action-bar/index.d.ts +0 -2
  7. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  8. package/components/avatar/avatar.directive.d.ts +15 -0
  9. package/components/avatar/avatar.options.d.ts +1 -4
  10. package/components/avatar/index.d.ts +1 -1
  11. package/components/badge/badge.directive.d.ts +2 -2
  12. package/components/block/block.directive.d.ts +4 -4
  13. package/components/block/block.options.d.ts +1 -1
  14. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  15. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  16. package/components/calendar-range/calendar-range.component.d.ts +1 -2
  17. package/components/checkbox/checkbox.component.d.ts +7 -18
  18. package/components/checkbox/checkbox.options.d.ts +5 -9
  19. package/components/chip/chip.directive.d.ts +2 -4
  20. package/components/comment/comment.directive.d.ts +2 -2
  21. package/components/confirm/confirm.component.d.ts +2 -1
  22. package/components/confirm/confirm.service.d.ts +2 -1
  23. package/{directives → components}/copy/copy.component.d.ts +1 -1
  24. package/{directives → components}/copy/copy.directive.d.ts +2 -2
  25. package/{directives → components}/copy/copy.options.d.ts +2 -2
  26. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
  27. package/components/files/file/file.options.d.ts +1 -1
  28. package/components/files/files/files.component.d.ts +2 -2
  29. package/components/floating-container/floating-container.directive.d.ts +2 -2
  30. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  31. package/components/fullscreen/index.d.ts +1 -0
  32. package/components/index.d.ts +3 -2
  33. package/components/input-chip/input-chip.options.d.ts +1 -1
  34. package/components/input-color/input-color.component.d.ts +2 -2
  35. package/components/input-color/input-color.options.d.ts +1 -1
  36. package/components/input-date/input-date.options.d.ts +1 -1
  37. package/components/input-number/input-number.options.d.ts +1 -1
  38. package/components/input-number/quantum.directive.d.ts +1 -1
  39. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  40. package/components/input-phone/input-phone.options.d.ts +1 -1
  41. package/components/input-phone-international/input-phone-international.component.d.ts +24 -30
  42. package/components/input-pin/input-pin.component.d.ts +1 -1
  43. package/components/input-range/input-range.component.d.ts +9 -12
  44. package/components/input-slider/input-slider.directive.d.ts +2 -4
  45. package/components/input-time/input-time.directive.d.ts +6 -8
  46. package/components/input-time/input-time.options.d.ts +1 -1
  47. package/components/like/like.component.d.ts +4 -11
  48. package/components/like/like.options.d.ts +3 -4
  49. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  50. package/components/line-clamp/line-clamp.component.d.ts +12 -18
  51. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -3
  52. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  53. package/components/pager/pager.component.d.ts +1 -1
  54. package/components/pagination/pagination.component.d.ts +1 -1
  55. package/components/pin/pin.directive.d.ts +2 -2
  56. package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
  57. package/components/preview/preview.component.d.ts +1 -1
  58. package/components/preview/zoom/preview-zoom.component.d.ts +1 -1
  59. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  60. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  61. package/components/push/push-alert.component.d.ts +4 -3
  62. package/components/push/push.component.d.ts +2 -2
  63. package/components/push/push.directive.d.ts +4 -6
  64. package/components/push/push.options.d.ts +4 -8
  65. package/components/push/push.service.d.ts +6 -2
  66. package/components/radio/radio.component.d.ts +7 -8
  67. package/components/radio/radio.directive.d.ts +2 -2
  68. package/components/radio/radio.options.d.ts +2 -5
  69. package/components/range/range-change.directive.d.ts +1 -2
  70. package/components/range/range.component.d.ts +16 -24
  71. package/components/rating/rating.component.d.ts +5 -5
  72. package/components/rating/rating.options.d.ts +5 -3
  73. package/components/segmented/segmented.component.d.ts +1 -3
  74. package/components/slider/helpers/key-steps.d.ts +1 -2
  75. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  76. package/components/slides/slides.directive.d.ts +4 -4
  77. package/components/status/status.directive.d.ts +2 -2
  78. package/components/switch/switch.component.d.ts +7 -19
  79. package/components/switch/switch.options.d.ts +4 -8
  80. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  81. package/components/textarea/textarea-limit.directive.d.ts +4 -5
  82. package/components/textarea/textarea.options.d.ts +1 -1
  83. package/components/toast/index.d.ts +5 -0
  84. package/components/toast/toast.component.d.ts +18 -0
  85. package/components/toast/toast.d.ts +3 -0
  86. package/components/toast/toast.directive.d.ts +7 -0
  87. package/components/toast/toast.options.d.ts +9 -0
  88. package/components/toast/toast.service.d.ts +17 -0
  89. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -1
  90. package/directives/button-select/button-select.directive.d.ts +1 -2
  91. package/directives/chevron/chevron.directive.d.ts +2 -3
  92. package/directives/fade/fade.directive.d.ts +1 -0
  93. package/directives/highlight/highlight.directive.d.ts +1 -3
  94. package/directives/index.d.ts +0 -2
  95. package/directives/password/password.options.d.ts +1 -1
  96. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  97. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  98. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  99. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  100. package/directives/tooltip/tooltip.options.d.ts +1 -4
  101. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -145
  102. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  104. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-kit-components-avatar.mjs +81 -100
  106. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +3 -3
  108. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-kit-components-badge.mjs +15 -21
  110. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +6 -6
  112. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
  114. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +7 -10
  116. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +6 -6
  118. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -8
  120. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +7 -8
  122. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-carousel.mjs +17 -19
  124. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
  126. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
  128. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +8 -8
  130. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
  132. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-kit-components-compass.mjs +3 -3
  134. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-kit-components-confirm.mjs +13 -14
  136. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-kit-components-copy.mjs +120 -0
  138. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  139. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +18 -11
  140. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
  142. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +6 -6
  144. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-kit-components-files.mjs +35 -43
  146. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-kit-components-filter.mjs +6 -15
  148. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
  150. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  152. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  153. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +20 -17
  154. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-kit-components-input-color.mjs +9 -12
  156. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +6 -7
  158. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +3 -3
  160. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -10
  162. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-input-date.mjs +16 -18
  164. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +5 -5
  166. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +8 -9
  168. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-input-month.mjs +13 -15
  170. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-input-number.mjs +28 -27
  172. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +105 -131
  174. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +5 -6
  176. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
  178. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-input-range.mjs +34 -38
  180. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +28 -42
  182. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-input-time.mjs +39 -45
  184. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-input-year.mjs +7 -8
  186. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +16 -16
  188. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
  190. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +38 -83
  192. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-message.mjs +9 -11
  194. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +45 -44
  196. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -19
  198. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -6
  200. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-components-pagination.mjs +7 -8
  202. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
  204. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  205. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +11 -11
  206. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  207. package/fesm2022/taiga-ui-kit-components-preview.mjs +34 -36
  208. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-components-progress.mjs +37 -50
  210. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
  212. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-components-push.mjs +49 -56
  214. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +5 -6
  216. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-radio.mjs +34 -39
  218. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-range.mjs +40 -81
  220. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -21
  222. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -3
  224. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-segmented.mjs +6 -6
  226. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-select.mjs +38 -31
  228. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-slider.mjs +69 -67
  230. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
  232. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
  234. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-stepper.mjs +11 -11
  236. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
  238. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-tabs.mjs +29 -34
  240. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-components-textarea.mjs +17 -25
  242. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
  244. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-toast.mjs +165 -0
  246. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  247. package/fesm2022/taiga-ui-kit-components-tree.mjs +33 -41
  248. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-components.mjs +3 -2
  250. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  252. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +9 -12
  254. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +5 -12
  256. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
  258. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-directives-connected.mjs +9 -14
  260. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +3 -3
  262. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -12
  264. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
  266. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -3
  268. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  269. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +6 -7
  270. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-directives-password.mjs +8 -11
  272. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -3
  274. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  276. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  277. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  278. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +27 -38
  280. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +15 -20
  282. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +5 -6
  284. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +3 -3
  286. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-directives.mjs +0 -2
  288. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  290. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  292. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  294. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +5 -4
  296. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  298. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  300. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  302. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -7
  304. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  306. package/package.json +30 -37
  307. package/pipes/index.d.ts +0 -1
  308. package/styles/components/avatar.less +188 -0
  309. package/styles/components/badge.less +1 -0
  310. package/styles/components/block.less +1 -1
  311. package/styles/components/checkbox.less +14 -12
  312. package/styles/components/chip.less +13 -4
  313. package/styles/components/like.less +4 -9
  314. package/styles/components/pin.less +3 -7
  315. package/styles/components/radio.less +1 -1
  316. package/styles/components/switch.less +9 -9
  317. package/styles/components/toast.less +44 -0
  318. package/tokens/i18n.d.ts +25 -26
  319. package/tokens/index.d.ts +0 -1
  320. package/tokens/input-date-options.d.ts +1 -1
  321. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  322. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  323. package/components/accordion/accordion-item.component.d.ts +0 -25
  324. package/components/action-bar/action-bar.d.ts +0 -3
  325. package/components/action-bar/action-bar.directive.d.ts +0 -6
  326. package/components/avatar/avatar.component.d.ts +0 -15
  327. package/components/input-password/index.d.ts +0 -2
  328. package/components/input-password/input-password.component.d.ts +0 -16
  329. package/components/input-password/input-password.options.d.ts +0 -24
  330. package/components/pdf-viewer/index.d.ts +0 -4
  331. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  332. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  333. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  334. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  335. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  336. package/directives/icon-badge/index.d.ts +0 -1
  337. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -95
  338. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  339. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  340. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  341. package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -120
  342. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  343. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  344. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  345. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  346. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  347. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  348. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  349. package/pipes/field-error/index.d.ts +0 -2
  350. package/tokens/validation-errors.d.ts +0 -5
  351. /package/{directives → components}/copy/copy.d.ts +0 -0
  352. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-drawer.mjs","sources":["../../../projects/kit/components/drawer/drawer.component.ts","../../../projects/kit/components/drawer/drawer.template.html","../../../projects/kit/components/drawer/taiga-ui-kit-components-drawer.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiScrollbar} from '@taiga-ui/core/components/scrollbar';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\n\n@Component({\n selector: 'tui-drawer',\n imports: [TuiScrollbar],\n templateUrl: './drawer.template.html',\n styleUrls: ['./drawer.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiButtonOptionsProvider({\n appearance: 'secondary',\n size: 's',\n }),\n ],\n hostDirectives: [TuiAnimated],\n host: {\n '[class._overlay]': 'overlay',\n '[style.border-top-left-radius]': 'direction === \"left\" ? 0 : null',\n '[style.border-top-right-radius]': 'direction === \"right\" ? 0 : null',\n '[style.left]': 'direction === \"left\" ? 0 : null',\n '[style.right]': 'direction === \"right\" ? 0 : null',\n '[style.--tui-from]': 'from',\n },\n})\nexport class TuiDrawer {\n @Input()\n public direction: TuiHorizontalDirection = 'right';\n\n @Input()\n public overlay = false;\n\n public get from(): string {\n return this.direction === 'right' ? 'translateX(100%)' : 'translateX(-100%)';\n }\n}\n","<aside class=\"t-aside\">\n <tui-scrollbar class=\"t-scrollbar\">\n <ng-content select=\"header\" />\n <div class=\"t-content\">\n <ng-content />\n </div>\n </tui-scrollbar>\n <tui-scrollbar\n class=\"t-footer\"\n [hidden]=\"true\"\n >\n <ng-content select=\"footer\" />\n </tui-scrollbar>\n</aside>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA4Ba,SAAS,CAAA;AAtBtB,IAAA,WAAA,GAAA;QAwBW,IAAA,CAAA,SAAS,GAA2B,OAAO;QAG3C,IAAA,CAAA,OAAO,GAAG,KAAK;AAKzB,IAAA;AAHG,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,SAAS,KAAK,OAAO,GAAG,kBAAkB,GAAG,mBAAmB;IAChF;8GATS,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,SAAA,EAAA,8BAAA,EAAA,mCAAA,EAAA,+BAAA,EAAA,oCAAA,EAAA,YAAA,EAAA,mCAAA,EAAA,aAAA,EAAA,oCAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,EAAA,SAAA,EAhBP;AACP,YAAA,wBAAwB,CAAC;AACrB,gBAAA,UAAU,EAAE,WAAW;AACvB,gBAAA,IAAI,EAAE,GAAG;aACZ,CAAC;SACL,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjBL,mXAcA,igFDNc,YAAY,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAoBb,SAAS,EAAA,UAAA,EAAA,CAAA;kBAtBrB,SAAS;+BACI,YAAY,EAAA,OAAA,EACb,CAAC,YAAY,CAAC,mBAGN,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC;AACP,wBAAA,wBAAwB,CAAC;AACrB,4BAAA,UAAU,EAAE,WAAW;AACvB,4BAAA,IAAI,EAAE,GAAG;yBACZ,CAAC;qBACL,EAAA,cAAA,EACe,CAAC,WAAW,CAAC,EAAA,IAAA,EACvB;AACF,wBAAA,kBAAkB,EAAE,SAAS;AAC7B,wBAAA,gCAAgC,EAAE,iCAAiC;AACnE,wBAAA,iCAAiC,EAAE,kCAAkC;AACrE,wBAAA,cAAc,EAAE,iCAAiC;AACjD,wBAAA,eAAe,EAAE,kCAAkC;AACnD,wBAAA,oBAAoB,EAAE,MAAM;AAC/B,qBAAA,EAAA,QAAA,EAAA,mXAAA,EAAA,MAAA,EAAA,CAAA,y8EAAA,CAAA,EAAA;8BAIM,SAAS,EAAA,CAAA;sBADf;gBAIM,OAAO,EAAA,CAAA;sBADb;;;AEhCL;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-drawer.mjs","sources":["../../../projects/kit/components/drawer/drawer.component.ts","../../../projects/kit/components/drawer/drawer.template.html","../../../projects/kit/components/drawer/taiga-ui-kit-components-drawer.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiScrollbar} from '@taiga-ui/core/components/scrollbar';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\n\n@Component({\n selector: 'tui-drawer',\n imports: [TuiScrollbar],\n templateUrl: './drawer.template.html',\n styleUrl: './drawer.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiButtonOptionsProvider({\n appearance: 'secondary',\n size: 's',\n }),\n ],\n hostDirectives: [TuiAnimated],\n host: {\n '[class._overlay]': 'overlay',\n '[style.border-top-left-radius]': 'direction === \"left\" ? 0 : null',\n '[style.border-top-right-radius]': 'direction === \"right\" ? 0 : null',\n '[style.left]': 'direction === \"left\" ? 0 : null',\n '[style.right]': 'direction === \"right\" ? 0 : null',\n '[style.--tui-from]': 'from',\n },\n})\nexport class TuiDrawer {\n @Input()\n public direction: TuiHorizontalDirection = 'right';\n\n @Input()\n public overlay = false;\n\n public get from(): string {\n return this.direction === 'right' ? 'translateX(100%)' : 'translateX(-100%)';\n }\n}\n","<aside class=\"t-aside\">\n <tui-scrollbar class=\"t-scrollbar\">\n <ng-content select=\"header\" />\n <div class=\"t-content\">\n <ng-content />\n </div>\n </tui-scrollbar>\n <tui-scrollbar\n class=\"t-footer\"\n [hidden]=\"true\"\n >\n <ng-content select=\"footer\" />\n </tui-scrollbar>\n</aside>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA4Ba,SAAS,CAAA;AAtBtB,IAAA,WAAA,GAAA;QAwBW,IAAS,CAAA,SAAA,GAA2B,OAAO;QAG3C,IAAO,CAAA,OAAA,GAAG,KAAK;AAKzB;AAHG,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,SAAS,KAAK,OAAO,GAAG,kBAAkB,GAAG,mBAAmB;;+GARvE,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,SAAS,EAhBP,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,SAAA,EAAA,8BAAA,EAAA,mCAAA,EAAA,+BAAA,EAAA,oCAAA,EAAA,YAAA,EAAA,mCAAA,EAAA,aAAA,EAAA,oCAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,EAAA,SAAA,EAAA;AACP,YAAA,wBAAwB,CAAC;AACrB,gBAAA,UAAU,EAAE,WAAW;AACvB,gBAAA,IAAI,EAAE,GAAG;aACZ,CAAC;SACL,ECjBL,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,mXAcA,siFDNc,YAAY,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAoBb,SAAS,EAAA,UAAA,EAAA,CAAA;kBAtBrB,SAAS;+BACI,YAAY,EAAA,OAAA,EACb,CAAC,YAAY,CAAC,mBAGN,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA,wBAAwB,CAAC;AACrB,4BAAA,UAAU,EAAE,WAAW;AACvB,4BAAA,IAAI,EAAE,GAAG;yBACZ,CAAC;qBACL,EACe,cAAA,EAAA,CAAC,WAAW,CAAC,EACvB,IAAA,EAAA;AACF,wBAAA,kBAAkB,EAAE,SAAS;AAC7B,wBAAA,gCAAgC,EAAE,iCAAiC;AACnE,wBAAA,iCAAiC,EAAE,kCAAkC;AACrE,wBAAA,cAAc,EAAE,iCAAiC;AACjD,wBAAA,eAAe,EAAE,kCAAkC;AACnD,wBAAA,oBAAoB,EAAE,MAAM;AAC/B,qBAAA,EAAA,QAAA,EAAA,mXAAA,EAAA,MAAA,EAAA,CAAA,8+EAAA,CAAA,EAAA;8BAIM,SAAS,EAAA,CAAA;sBADf;gBAIM,OAAO,EAAA,CAAA;sBADb;;;AEhCL;;AAEG;;;;"}
@@ -12,8 +12,8 @@ class TuiElasticContainerDirective {
12
12
  this.el = tuiInjectElement();
13
13
  this.tuiElasticContainer = merge(inject(ResizeObserverService, { self: true }), inject(MutationObserverService, { self: true })).pipe(debounceTime(0), map(() => this.el.clientHeight - 1), distinctUntilChanged());
14
14
  }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiElasticContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
16
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiElasticContainerDirective, isStandalone: true, selector: "[tuiElasticContainer]", outputs: { tuiElasticContainer: "tuiElasticContainer" }, providers: [
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
16
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiElasticContainerDirective, isStandalone: true, selector: "[tuiElasticContainer]", outputs: { tuiElasticContainer: "tuiElasticContainer" }, providers: [
17
17
  ResizeObserverService,
18
18
  MutationObserverService,
19
19
  {
@@ -26,7 +26,7 @@ class TuiElasticContainerDirective {
26
26
  },
27
27
  ], ngImport: i0 }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiElasticContainerDirective, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainerDirective, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  standalone: true,
@@ -56,13 +56,13 @@ class TuiElasticContainer {
56
56
  onAnimation(_name, count) {
57
57
  this.transitions += count;
58
58
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiElasticContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiElasticContainer, isStandalone: true, selector: "tui-elastic-container", host: { properties: { "style.height.px": "height", "class._transitioning": "transitions" } }, ngImport: i0, template: "<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}:host._transitioning{block-size:auto!important}.t-wrapper{padding-block-start:1px;margin-block-start:-1px}\n"], dependencies: [{ kind: "directive", type: TuiElasticContainerDirective, selector: "[tuiElasticContainer]", outputs: ["tuiElasticContainer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiElasticContainer, isStandalone: true, selector: "tui-elastic-container", host: { properties: { "style.height.px": "height", "class._transitioning": "transitions" } }, ngImport: i0, template: "<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}:host._transitioning{block-size:auto!important}.t-wrapper{padding-block-start:1px;margin-block-start:-1px}\n"], dependencies: [{ kind: "directive", type: TuiElasticContainerDirective, selector: "[tuiElasticContainer]", outputs: ["tuiElasticContainer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
61
61
  }
62
62
  __decorate([
63
63
  shouldCall((name) => name === 'height')
64
64
  ], TuiElasticContainer.prototype, "onAnimation", null);
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiElasticContainer, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, decorators: [{
66
66
  type: Component,
67
67
  args: [{ selector: 'tui-elastic-container', imports: [TuiElasticContainerDirective], changeDetection: ChangeDetectionStrategy.OnPush, host: {
68
68
  '[style.height.px]': 'height',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-elastic-container.mjs","sources":["../../../projects/kit/components/elastic-container/elastic-container.directive.ts","../../../projects/kit/components/elastic-container/elastic-container.component.ts","../../../projects/kit/components/elastic-container/elastic-container.component.html","../../../projects/kit/components/elastic-container/taiga-ui-kit-components-elastic-container.ts"],"sourcesContent":["import {Directive, inject, Output} from '@angular/core';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {debounceTime, distinctUntilChanged, map, merge} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiElasticContainer]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {\n childList: true,\n characterData: true,\n subtree: true,\n },\n },\n ],\n})\nexport class TuiElasticContainerDirective {\n private readonly el = tuiInjectElement();\n\n @Output()\n public readonly tuiElasticContainer = merge(\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n ).pipe(\n debounceTime(0),\n map(() => this.el.clientHeight - 1),\n distinctUntilChanged(),\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {shouldCall} from '@taiga-ui/event-plugins';\n\nimport {TuiElasticContainerDirective} from './elastic-container.directive';\n\n@Component({\n selector: 'tui-elastic-container',\n imports: [TuiElasticContainerDirective],\n templateUrl: './elastic-container.component.html',\n styleUrls: ['./elastic-container.component.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[style.height.px]': 'height',\n '[class._transitioning]': 'transitions',\n },\n})\nexport class TuiElasticContainer {\n protected height = NaN;\n protected transitions = 0;\n\n @shouldCall((name) => name === 'height')\n protected onAnimation(_name: string, count: number): void {\n this.transitions += count;\n }\n}\n","<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"taiga-ui-kit-components-elastic-container.mjs","sources":["../../../projects/kit/components/elastic-container/elastic-container.directive.ts","../../../projects/kit/components/elastic-container/elastic-container.component.ts","../../../projects/kit/components/elastic-container/elastic-container.component.html","../../../projects/kit/components/elastic-container/taiga-ui-kit-components-elastic-container.ts"],"sourcesContent":["import {Directive, inject, Output} from '@angular/core';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {debounceTime, distinctUntilChanged, map, merge} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiElasticContainer]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {\n childList: true,\n characterData: true,\n subtree: true,\n },\n },\n ],\n})\nexport class TuiElasticContainerDirective {\n private readonly el = tuiInjectElement();\n\n @Output()\n public readonly tuiElasticContainer = merge(\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n ).pipe(\n debounceTime(0),\n map(() => this.el.clientHeight - 1),\n distinctUntilChanged(),\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {shouldCall} from '@taiga-ui/event-plugins';\n\nimport {TuiElasticContainerDirective} from './elastic-container.directive';\n\n@Component({\n selector: 'tui-elastic-container',\n imports: [TuiElasticContainerDirective],\n templateUrl: './elastic-container.component.html',\n styleUrl: './elastic-container.component.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[style.height.px]': 'height',\n '[class._transitioning]': 'transitions',\n },\n})\nexport class TuiElasticContainer {\n protected height = NaN;\n protected transitions = 0;\n\n @shouldCall((name) => name === 'height')\n protected onAnimation(_name: string, count: number): void {\n this.transitions += count;\n }\n}\n","<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
@@ -1,7 +1,8 @@
1
1
  import { __decorate } from 'tslib';
2
- import { AsyncPipe, NgIf, NgFor, NgTemplateOutlet } from '@angular/common';
2
+ import { AsyncPipe, NgTemplateOutlet } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, LOCALE_ID, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, TemplateRef, ContentChildren, ViewEncapsulation, InjectionToken, Directive, forwardRef, ContentChild, Pipe } from '@angular/core';
5
+ import { toObservable } from '@angular/core/rxjs-interop';
5
6
  import { DomSanitizer } from '@angular/platform-browser';
6
7
  import { WA_WINDOW } from '@ng-web-apis/common';
7
8
  import { tuiPure, tuiProvideOptions, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
@@ -20,7 +21,7 @@ import { coerceArray } from '@angular/cdk/coercion';
20
21
  import { tuiRound } from '@taiga-ui/cdk/utils/math';
21
22
  import { TuiItem } from '@taiga-ui/cdk/directives/item';
22
23
  import { EMPTY_QUERY, EMPTY_ARRAY, CHAR_NO_BREAK_SPACE } from '@taiga-ui/cdk/constants';
23
- import { TuiExpandComponent } from '@taiga-ui/core/components/expand';
24
+ import { TuiExpand } from '@taiga-ui/core/components/expand';
24
25
  import * as i1$1 from '@taiga-ui/core/directives/group';
25
26
  import { TuiGroup, tuiGroupOptionsProvider } from '@taiga-ui/core/directives/group';
26
27
  import { TuiLink } from '@taiga-ui/core/components/link';
@@ -110,10 +111,10 @@ class TuiFile {
110
111
  this.sanitizer = inject(DomSanitizer);
111
112
  this.options = inject(TUI_FILE_OPTIONS);
112
113
  this.locale = inject(LOCALE_ID);
113
- this.units$ = inject(TUI_DIGITAL_INFORMATION_UNITS);
114
+ this.units$ = toObservable(inject(TUI_DIGITAL_INFORMATION_UNITS));
114
115
  this.win = inject(WA_WINDOW);
115
116
  this.icons = inject(TUI_COMMON_ICONS);
116
- this.fileTexts$ = inject(TUI_FILE_TEXTS);
117
+ this.fileTexts$ = toObservable(inject(TUI_FILE_TEXTS));
117
118
  this.file = { name: '' };
118
119
  this.state = 'normal';
119
120
  this.size = 'm';
@@ -183,8 +184,8 @@ class TuiFile {
183
184
  // only return an extension when there is one
184
185
  return dot > 0 ? file.name.slice(dot) : '';
185
186
  }
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFile, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
187
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiFile, isStandalone: true, selector: "tui-file,a[tuiFile],button[tuiFile]", inputs: { file: "file", state: "state", size: "size", showDelete: "showDelete", showSize: "showSize", leftContent: "leftContent" }, outputs: { remove: "remove" }, host: { properties: { "attr.data-delete": "showDelete" } }, providers: [tuiAppearanceOptionsProvider(TUI_FILE_OPTIONS)], hostDirectives: [{ directive: i1.TuiAppearance }], ngImport: i0, template: "<div\n class=\"t-preview\"\n [class.t-preview_big]=\"isBig\"\n>\n <ng-container *polymorpheusOutlet=\"leftContent || defaultLeftContent as text\">\n {{ text }}\n </ng-container>\n</div>\n<div class=\"t-wrapper\">\n <div class=\"t-text\">\n <div\n tuiHintOverflow\n class=\"t-name\"\n >\n {{ name }}\n </div>\n <div class=\"t-type\">{{ type }}</div>\n <div\n *ngIf=\"showSize && (fileSize$ | async) as fileSize\"\n class=\"t-size\"\n >\n {{ fileSize }}\n </div>\n </div>\n <div\n *ngIf=\"content$ | async as content\"\n class=\"t-content\"\n >\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n </div>\n <ng-content />\n</div>\n<ng-container *ngIf=\"allowDelete\">\n <button\n *ngIf=\"fileTexts$ | async as texts\"\n appearance=\"icon\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-remove\"\n [iconStart]=\"icons.close\"\n (click.prevent)=\"remove.emit()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ texts.remove }}\n </button>\n</ng-container>\n\n<ng-template #defaultLeftContent>\n <img\n *ngIf=\"preview; else loader\"\n alt=\"file preview\"\n class=\"t-image\"\n [src]=\"preview\"\n />\n <ng-template #loader>\n <tui-loader\n *ngIf=\"isLoading; else svg\"\n class=\"t-loader\"\n [inheritColor]=\"isBig\"\n />\n </ng-template>\n <ng-template #svg>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-icon\"\n [class.t-icon_blank]=\"isBig || isDeleted\"\n [class.t-icon_error]=\"isError\"\n [icon]=\"src.toString()\"\n />\n </ng-template>\n</ng-template>\n", styles: [":host{position:relative;display:flex;align-items:center;font:var(--tui-font-text-m);padding:.625rem;padding-inline-end:2.25rem;text-decoration:none;border-radius:var(--tui-radius-m)}:host:hover .t-remove,:host[data-delete=always] .t-remove{opacity:1}.t-preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;inline-size:1.5rem;block-size:1.5rem;margin-inline-end:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:var(--tui-text-tertiary)}.t-preview_big{inline-size:4rem;block-size:4rem;margin-inline-end:1rem}.t-preview_big:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";background:var(--tui-background-neutral-1)}.t-image{max-inline-size:100%;max-block-size:100%}.t-loader{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}.t-icon{position:absolute;top:0;left:0;bottom:0;right:0;color:var(--tui-status-positive);margin:auto}.t-icon_blank{color:var(--tui-text-tertiary)}.t-icon_error{color:var(--tui-text-negative)}.t-remove{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem}@supports (inset-inline-end: 0){.t-remove{right:unset;inset-inline-end:.625rem}}.t-remove:focus{opacity:1}.t-remove:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}@media (hover: hover) and (pointer: fine){.t-remove{opacity:0}}.t-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;color:var(--tui-text-primary)}.t-text{display:flex;inline-size:100%}.t-size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-inline-start:.5rem}.t-type{flex-shrink:0}.t-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-content{font:var(--tui-font-text-s);color:var(--tui-text-negative)}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "directive", type: TuiHintOverflow, selector: "[tuiHintOverflow]", inputs: ["tuiHintOverflow"] }, { kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "component", type: TuiLoader, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
187
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFile, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
188
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiFile, isStandalone: true, selector: "tui-file,a[tuiFile],button[tuiFile]", inputs: { file: "file", state: "state", size: "size", showDelete: "showDelete", showSize: "showSize", leftContent: "leftContent" }, outputs: { remove: "remove" }, host: { properties: { "attr.data-delete": "showDelete" } }, providers: [tuiAppearanceOptionsProvider(TUI_FILE_OPTIONS)], hostDirectives: [{ directive: i1.TuiAppearance }], ngImport: i0, template: "<div\n class=\"t-preview\"\n [class.t-preview_big]=\"isBig\"\n>\n <ng-container *polymorpheusOutlet=\"leftContent || defaultLeftContent as text\">\n {{ text }}\n </ng-container>\n</div>\n<div class=\"t-wrapper\">\n <div class=\"t-text\">\n <div\n tuiHintOverflow\n class=\"t-name\"\n >\n {{ name }}\n </div>\n <div class=\"t-type\">{{ type }}</div>\n @if (showSize && (fileSize$ | async); as fileSize) {\n <div class=\"t-size\">\n {{ fileSize }}\n </div>\n }\n </div>\n @if (content$ | async; as content) {\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n </div>\n }\n <ng-content />\n</div>\n@if (allowDelete) {\n @if (fileTexts$ | async; as texts) {\n <button\n appearance=\"icon\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-remove\"\n [iconStart]=\"icons.close\"\n (click.prevent)=\"remove.emit()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ texts.remove }}\n </button>\n }\n}\n\n<ng-template #defaultLeftContent>\n @if (preview) {\n <img\n alt=\"file preview\"\n class=\"t-image\"\n [src]=\"preview\"\n />\n } @else {\n @if (isLoading) {\n <tui-loader\n class=\"t-loader\"\n [inheritColor]=\"isBig\"\n />\n } @else {\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-icon\"\n [class.t-icon_blank]=\"isBig || isDeleted\"\n [class.t-icon_error]=\"isError\"\n [icon]=\"src.toString()\"\n />\n }\n }\n</ng-template>\n", styles: [":host{position:relative;display:flex;align-items:center;font:var(--tui-font-text-m);padding:.625rem;padding-inline-end:2.25rem;text-decoration:none;border-radius:var(--tui-radius-m)}:host:hover .t-remove,:host[data-delete=always] .t-remove{opacity:1}.t-preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;inline-size:1.5rem;block-size:1.5rem;margin-inline-end:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:var(--tui-text-tertiary)}.t-preview_big{inline-size:4rem;block-size:4rem;margin-inline-end:1rem}.t-preview_big:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";background:var(--tui-background-neutral-1)}.t-image{max-inline-size:100%;max-block-size:100%}.t-loader{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}.t-icon{position:absolute;top:0;left:0;bottom:0;right:0;color:var(--tui-status-positive);margin:auto}.t-icon_blank{color:var(--tui-text-tertiary)}.t-icon_error{color:var(--tui-text-negative)}.t-remove{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem}@supports (inset-inline-end: 0){.t-remove{right:unset;inset-inline-end:.625rem}}.t-remove:focus{opacity:1}.t-remove:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}@media (hover: hover) and (pointer: fine){.t-remove{opacity:0}}.t-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;color:var(--tui-text-primary)}.t-text{display:flex;inline-size:100%}.t-size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-inline-start:.5rem}.t-type{flex-shrink:0}.t-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-content{font:var(--tui-font-text-s);color:var(--tui-text-negative)}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "directive", type: TuiHintOverflow, selector: "[tuiHintOverflow]", inputs: ["tuiHintOverflow"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "component", type: TuiLoader, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "loading"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
188
189
  }
189
190
  __decorate([
190
191
  tuiPure
@@ -201,11 +202,10 @@ __decorate([
201
202
  __decorate([
202
203
  tuiPure
203
204
  ], TuiFile.prototype, "getType", null);
204
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFile, decorators: [{
205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFile, decorators: [{
205
206
  type: Component,
206
207
  args: [{ selector: 'tui-file,a[tuiFile],button[tuiFile]', imports: [
207
208
  AsyncPipe,
208
- NgIf,
209
209
  PolymorpheusOutlet,
210
210
  TuiButton,
211
211
  TuiHintOverflow,
@@ -213,7 +213,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
213
213
  TuiLoader,
214
214
  ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TUI_FILE_OPTIONS)], hostDirectives: [TuiAppearance], host: {
215
215
  '[attr.data-delete]': 'showDelete',
216
- }, template: "<div\n class=\"t-preview\"\n [class.t-preview_big]=\"isBig\"\n>\n <ng-container *polymorpheusOutlet=\"leftContent || defaultLeftContent as text\">\n {{ text }}\n </ng-container>\n</div>\n<div class=\"t-wrapper\">\n <div class=\"t-text\">\n <div\n tuiHintOverflow\n class=\"t-name\"\n >\n {{ name }}\n </div>\n <div class=\"t-type\">{{ type }}</div>\n <div\n *ngIf=\"showSize && (fileSize$ | async) as fileSize\"\n class=\"t-size\"\n >\n {{ fileSize }}\n </div>\n </div>\n <div\n *ngIf=\"content$ | async as content\"\n class=\"t-content\"\n >\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n </div>\n <ng-content />\n</div>\n<ng-container *ngIf=\"allowDelete\">\n <button\n *ngIf=\"fileTexts$ | async as texts\"\n appearance=\"icon\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-remove\"\n [iconStart]=\"icons.close\"\n (click.prevent)=\"remove.emit()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ texts.remove }}\n </button>\n</ng-container>\n\n<ng-template #defaultLeftContent>\n <img\n *ngIf=\"preview; else loader\"\n alt=\"file preview\"\n class=\"t-image\"\n [src]=\"preview\"\n />\n <ng-template #loader>\n <tui-loader\n *ngIf=\"isLoading; else svg\"\n class=\"t-loader\"\n [inheritColor]=\"isBig\"\n />\n </ng-template>\n <ng-template #svg>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-icon\"\n [class.t-icon_blank]=\"isBig || isDeleted\"\n [class.t-icon_error]=\"isError\"\n [icon]=\"src.toString()\"\n />\n </ng-template>\n</ng-template>\n", styles: [":host{position:relative;display:flex;align-items:center;font:var(--tui-font-text-m);padding:.625rem;padding-inline-end:2.25rem;text-decoration:none;border-radius:var(--tui-radius-m)}:host:hover .t-remove,:host[data-delete=always] .t-remove{opacity:1}.t-preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;inline-size:1.5rem;block-size:1.5rem;margin-inline-end:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:var(--tui-text-tertiary)}.t-preview_big{inline-size:4rem;block-size:4rem;margin-inline-end:1rem}.t-preview_big:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";background:var(--tui-background-neutral-1)}.t-image{max-inline-size:100%;max-block-size:100%}.t-loader{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}.t-icon{position:absolute;top:0;left:0;bottom:0;right:0;color:var(--tui-status-positive);margin:auto}.t-icon_blank{color:var(--tui-text-tertiary)}.t-icon_error{color:var(--tui-text-negative)}.t-remove{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem}@supports (inset-inline-end: 0){.t-remove{right:unset;inset-inline-end:.625rem}}.t-remove:focus{opacity:1}.t-remove:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}@media (hover: hover) and (pointer: fine){.t-remove{opacity:0}}.t-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;color:var(--tui-text-primary)}.t-text{display:flex;inline-size:100%}.t-size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-inline-start:.5rem}.t-type{flex-shrink:0}.t-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-content{font:var(--tui-font-text-s);color:var(--tui-text-negative)}\n"] }]
216
+ }, template: "<div\n class=\"t-preview\"\n [class.t-preview_big]=\"isBig\"\n>\n <ng-container *polymorpheusOutlet=\"leftContent || defaultLeftContent as text\">\n {{ text }}\n </ng-container>\n</div>\n<div class=\"t-wrapper\">\n <div class=\"t-text\">\n <div\n tuiHintOverflow\n class=\"t-name\"\n >\n {{ name }}\n </div>\n <div class=\"t-type\">{{ type }}</div>\n @if (showSize && (fileSize$ | async); as fileSize) {\n <div class=\"t-size\">\n {{ fileSize }}\n </div>\n }\n </div>\n @if (content$ | async; as content) {\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n </div>\n }\n <ng-content />\n</div>\n@if (allowDelete) {\n @if (fileTexts$ | async; as texts) {\n <button\n appearance=\"icon\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-remove\"\n [iconStart]=\"icons.close\"\n (click.prevent)=\"remove.emit()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ texts.remove }}\n </button>\n }\n}\n\n<ng-template #defaultLeftContent>\n @if (preview) {\n <img\n alt=\"file preview\"\n class=\"t-image\"\n [src]=\"preview\"\n />\n } @else {\n @if (isLoading) {\n <tui-loader\n class=\"t-loader\"\n [inheritColor]=\"isBig\"\n />\n } @else {\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-icon\"\n [class.t-icon_blank]=\"isBig || isDeleted\"\n [class.t-icon_error]=\"isError\"\n [icon]=\"src.toString()\"\n />\n }\n }\n</ng-template>\n", styles: [":host{position:relative;display:flex;align-items:center;font:var(--tui-font-text-m);padding:.625rem;padding-inline-end:2.25rem;text-decoration:none;border-radius:var(--tui-radius-m)}:host:hover .t-remove,:host[data-delete=always] .t-remove{opacity:1}.t-preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;inline-size:1.5rem;block-size:1.5rem;margin-inline-end:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:var(--tui-text-tertiary)}.t-preview_big{inline-size:4rem;block-size:4rem;margin-inline-end:1rem}.t-preview_big:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";background:var(--tui-background-neutral-1)}.t-image{max-inline-size:100%;max-block-size:100%}.t-loader{position:absolute;top:0;left:0;inline-size:100%;block-size:100%}.t-icon{position:absolute;top:0;left:0;bottom:0;right:0;color:var(--tui-status-positive);margin:auto}.t-icon_blank{color:var(--tui-text-tertiary)}.t-icon_error{color:var(--tui-text-negative)}.t-remove{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem}@supports (inset-inline-end: 0){.t-remove{right:unset;inset-inline-end:.625rem}}.t-remove:focus{opacity:1}.t-remove:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}@media (hover: hover) and (pointer: fine){.t-remove{opacity:0}}.t-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;color:var(--tui-text-primary)}.t-text{display:flex;inline-size:100%}.t-size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-inline-start:.5rem}.t-type{flex-shrink:0}.t-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-content{font:var(--tui-font-text-s);color:var(--tui-text-negative)}\n"] }]
217
217
  }], propDecorators: { file: [{
218
218
  type: Input
219
219
  }], state: [{
@@ -233,8 +233,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
233
233
  class TuiFilesComponent {
234
234
  constructor() {
235
235
  this.items = EMPTY_QUERY;
236
- this.hideText$ = inject(TUI_HIDE_TEXT);
237
- this.showAllText$ = inject(TUI_SHOW_ALL_TEXT);
236
+ this.hideText = inject(TUI_HIDE_TEXT);
237
+ this.showAllText = inject(TUI_SHOW_ALL_TEXT);
238
238
  this.max = 0;
239
239
  this.expanded = false;
240
240
  this.expandedChange = new EventEmitter();
@@ -246,24 +246,16 @@ class TuiFilesComponent {
246
246
  this.expanded = !this.expanded;
247
247
  this.expandedChange.emit(this.expanded);
248
248
  }
249
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
250
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiFilesComponent, isStandalone: true, selector: "tui-files", inputs: { max: "max", expanded: "expanded" }, outputs: { expandedChange: "expandedChange" }, providers: [
249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
250
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiFilesComponent, isStandalone: true, selector: "tui-files", inputs: { max: "max", expanded: "expanded" }, outputs: { expandedChange: "expandedChange" }, providers: [
251
251
  tuiGroupOptionsProvider({ size: 'm', collapsed: true, orientation: 'vertical' }),
252
- ], queries: [{ propertyName: "items", predicate: TuiItem, read: TemplateRef }], hostDirectives: [{ directive: i1$1.TuiGroup }], ngImport: i0, template: "<ng-container *ngIf=\"items?.changes | async\" />\n<ng-content />\n<ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"!max || index < max\"\n [ngTemplateOutlet]=\"item\"\n />\n</ng-container>\n<tui-expand\n *ngIf=\"hasExtraItems\"\n [expanded]=\"expanded\"\n>\n <div\n tuiGroup\n class=\"t-extra-items\"\n >\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"max && index >= max\"\n [ngTemplateOutlet]=\"item\"\n />\n </ng-container>\n </div>\n</tui-expand>\n<div\n *ngIf=\"hasExtraItems\"\n class=\"t-bottom\"\n [class.t-bottom_collapsed]=\"!expanded\"\n>\n <button\n appearance=\"outline\"\n size=\"m\"\n tuiButton\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ (expanded ? hideText$ : showAllText$) | async }}\n </button>\n</div>\n", styles: ["tui-files{inline-size:100%;overflow:hidden;border-radius:var(--tui-radius-m)}tui-files:empty:empty{display:none}tui-files .t-files{position:relative;display:block;inline-size:100%;block-size:100%;border-radius:var(--tui-radius-m);overflow:hidden}tui-files .t-button{inline-size:100%;border-radius:inherit}tui-files .t-bottom{z-index:3;inline-size:100%;background:var(--tui-background-base);mask:none!important}tui-files .t-bottom_collapsed{box-shadow:var(--tui-shadow-popup);margin-block-start:-1.5rem}tui-files .t-extra-items{inline-size:100%}tui-files .t-extra-items>*{border-radius:0!important}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "component", type: TuiExpandComponent, selector: "tui-expand", inputs: ["async", "expanded"] }, { kind: "directive", type: TuiGroup, selector: "[tuiGroup]:not(ng-container)", inputs: ["orientation", "collapsed", "rounded", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
252
+ ], queries: [{ propertyName: "items", predicate: TuiItem, read: TemplateRef }], hostDirectives: [{ directive: i1$1.TuiGroup }], ngImport: i0, template: "@if (items.changes | async) {}\n<ng-content />\n@for (item of items; track item) {\n @if (!max || $index < max) {\n <ng-container [ngTemplateOutlet]=\"item\" />\n }\n}\n@if (hasExtraItems) {\n <tui-expand [expanded]=\"expanded\">\n <div\n tuiGroup\n class=\"t-extra-items\"\n >\n @for (item of items; track item) {\n @if (max && $index >= max) {\n <ng-container [ngTemplateOutlet]=\"item\" />\n }\n }\n </div>\n </tui-expand>\n}\n@if (hasExtraItems) {\n <div\n class=\"t-bottom\"\n [class.t-bottom_collapsed]=\"!expanded\"\n >\n <button\n appearance=\"outline\"\n size=\"m\"\n tuiButton\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ expanded ? hideText() : showAllText() }}\n </button>\n </div>\n}\n", styles: ["tui-files{inline-size:100%;overflow:hidden;border-radius:var(--tui-radius-m)}tui-files:empty:empty{display:none}tui-files .t-files{position:relative;display:block;inline-size:100%;block-size:100%;border-radius:var(--tui-radius-m);overflow:hidden}tui-files .t-button{inline-size:100%;border-radius:inherit}tui-files .t-bottom{z-index:3;inline-size:100%;background:var(--tui-background-base);mask:none!important}tui-files .t-bottom_collapsed{box-shadow:var(--tui-shadow-popup);margin-block-start:-1.5rem}tui-files .t-extra-items{inline-size:100%}tui-files .t-extra-items>*{border-radius:0!important}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "component", type: TuiExpand, selector: "tui-expand", inputs: ["expanded"] }, { kind: "directive", type: TuiGroup, selector: "[tuiGroup]:not(ng-container)", inputs: ["orientation", "collapsed", "rounded", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
253
253
  }
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFilesComponent, decorators: [{
254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFilesComponent, decorators: [{
255
255
  type: Component,
256
- args: [{ selector: 'tui-files', imports: [
257
- AsyncPipe,
258
- NgFor,
259
- NgIf,
260
- NgTemplateOutlet,
261
- TuiButton,
262
- TuiExpandComponent,
263
- TuiGroup,
264
- ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
256
+ args: [{ selector: 'tui-files', imports: [AsyncPipe, NgTemplateOutlet, TuiButton, TuiExpand, TuiGroup], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
265
257
  tuiGroupOptionsProvider({ size: 'm', collapsed: true, orientation: 'vertical' }),
266
- ], hostDirectives: [TuiGroup], template: "<ng-container *ngIf=\"items?.changes | async\" />\n<ng-content />\n<ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"!max || index < max\"\n [ngTemplateOutlet]=\"item\"\n />\n</ng-container>\n<tui-expand\n *ngIf=\"hasExtraItems\"\n [expanded]=\"expanded\"\n>\n <div\n tuiGroup\n class=\"t-extra-items\"\n >\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"max && index >= max\"\n [ngTemplateOutlet]=\"item\"\n />\n </ng-container>\n </div>\n</tui-expand>\n<div\n *ngIf=\"hasExtraItems\"\n class=\"t-bottom\"\n [class.t-bottom_collapsed]=\"!expanded\"\n>\n <button\n appearance=\"outline\"\n size=\"m\"\n tuiButton\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ (expanded ? hideText$ : showAllText$) | async }}\n </button>\n</div>\n", styles: ["tui-files{inline-size:100%;overflow:hidden;border-radius:var(--tui-radius-m)}tui-files:empty:empty{display:none}tui-files .t-files{position:relative;display:block;inline-size:100%;block-size:100%;border-radius:var(--tui-radius-m);overflow:hidden}tui-files .t-button{inline-size:100%;border-radius:inherit}tui-files .t-bottom{z-index:3;inline-size:100%;background:var(--tui-background-base);mask:none!important}tui-files .t-bottom_collapsed{box-shadow:var(--tui-shadow-popup);margin-block-start:-1.5rem}tui-files .t-extra-items{inline-size:100%}tui-files .t-extra-items>*{border-radius:0!important}\n"] }]
258
+ ], hostDirectives: [TuiGroup], template: "@if (items.changes | async) {}\n<ng-content />\n@for (item of items; track item) {\n @if (!max || $index < max) {\n <ng-container [ngTemplateOutlet]=\"item\" />\n }\n}\n@if (hasExtraItems) {\n <tui-expand [expanded]=\"expanded\">\n <div\n tuiGroup\n class=\"t-extra-items\"\n >\n @for (item of items; track item) {\n @if (max && $index >= max) {\n <ng-container [ngTemplateOutlet]=\"item\" />\n }\n }\n </div>\n </tui-expand>\n}\n@if (hasExtraItems) {\n <div\n class=\"t-bottom\"\n [class.t-bottom_collapsed]=\"!expanded\"\n >\n <button\n appearance=\"outline\"\n size=\"m\"\n tuiButton\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ expanded ? hideText() : showAllText() }}\n </button>\n </div>\n}\n", styles: ["tui-files{inline-size:100%;overflow:hidden;border-radius:var(--tui-radius-m)}tui-files:empty:empty{display:none}tui-files .t-files{position:relative;display:block;inline-size:100%;block-size:100%;border-radius:var(--tui-radius-m);overflow:hidden}tui-files .t-button{inline-size:100%;border-radius:inherit}tui-files .t-bottom{z-index:3;inline-size:100%;background:var(--tui-background-base);mask:none!important}tui-files .t-bottom_collapsed{box-shadow:var(--tui-shadow-popup);margin-block-start:-1.5rem}tui-files .t-extra-items{inline-size:100%}tui-files .t-extra-items>*{border-radius:0!important}\n"] }]
267
259
  }], propDecorators: { items: [{
268
260
  type: ContentChildren,
269
261
  args: [TuiItem, { read: TemplateRef }]
@@ -278,7 +270,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
278
270
  class TuiInputFilesContent {
279
271
  constructor() {
280
272
  this.breakpoint$ = inject(TuiBreakpointService);
281
- this.text$ = inject(TUI_INPUT_FILE_TEXTS);
273
+ this.text$ = toObservable(inject(TUI_INPUT_FILE_TEXTS));
282
274
  this.context = injectContext();
283
275
  this.component = inject(TuiInputFiles);
284
276
  }
@@ -310,8 +302,8 @@ class TuiInputFilesContent {
310
302
  : text.defaultLabelSingle;
311
303
  }));
312
304
  }
313
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFilesContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
314
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiInputFilesContent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
305
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFilesContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
306
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputFilesContent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
315
307
  <a tuiLink>{{ link$ | async }}</a>
316
308
  {{ label$ | async }}
317
309
  `, isInline: true, dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
@@ -322,7 +314,7 @@ __decorate([
322
314
  __decorate([
323
315
  tuiPure
324
316
  ], TuiInputFilesContent.prototype, "computeLabel$", null);
325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFilesContent, decorators: [{
317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFilesContent, decorators: [{
326
318
  type: Component,
327
319
  args: [{
328
320
  imports: [AsyncPipe, TuiLink],
@@ -373,10 +365,10 @@ class TuiInputFilesValidator extends TuiValidator {
373
365
  ]) || Validators.nullValidator;
374
366
  this.onChange();
375
367
  }
376
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFilesValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
377
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiInputFilesValidator, isStandalone: true, inputs: { accept: "accept", maxFileSize: "maxFileSize" }, host: { properties: { "accept": "accept" } }, providers: [tuiProvide(NG_VALIDATORS, TuiInputFilesValidator, true)], exportAs: ["tuiInputFilesValidator"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
368
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFilesValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
369
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputFilesValidator, isStandalone: true, inputs: { accept: "accept", maxFileSize: "maxFileSize" }, host: { properties: { "accept": "accept" } }, providers: [tuiProvide(NG_VALIDATORS, TuiInputFilesValidator, true)], exportAs: ["tuiInputFilesValidator"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
378
370
  }
379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFilesValidator, decorators: [{
371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFilesValidator, decorators: [{
380
372
  type: Directive,
381
373
  args: [{
382
374
  standalone: true,
@@ -410,13 +402,13 @@ class TuiInputFilesDirective extends TuiControl {
410
402
  event.preventDefault();
411
403
  }
412
404
  }
413
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFilesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
414
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiInputFilesDirective, isStandalone: true, selector: "input[tuiInputFiles]", outputs: { reject: "reject" }, host: { attributes: { "title": "", "type": "file" }, listeners: { "blur": "onTouched()", "click": "onClick($event)" }, properties: { "disabled": "disabled()" } }, providers: [
405
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFilesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
406
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputFilesDirective, isStandalone: true, selector: "input[tuiInputFiles]", outputs: { reject: "reject" }, host: { attributes: { "title": "", "type": "file" }, listeners: { "blur": "onTouched()", "click": "onClick($event)" }, properties: { "disabled": "disabled()" } }, providers: [
415
407
  tuiAsControl(TuiInputFilesDirective),
416
408
  tuiAppearanceOptionsProvider(TUI_INPUT_FILES_OPTIONS),
417
409
  ], usesInheritance: true, hostDirectives: [{ directive: i1$2.TuiNativeValidator }, { directive: i1.TuiWithAppearance }, { directive: TuiInputFilesValidator, inputs: ["accept", "accept", "maxFileSize", "maxFileSize"] }], ngImport: i0 }); }
418
410
  }
419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFilesDirective, decorators: [{
411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFilesDirective, decorators: [{
420
412
  type: Directive,
421
413
  args: [{
422
414
  standalone: true,
@@ -471,8 +463,8 @@ class TuiInputFiles {
471
463
  onDrag(dataTransfer) {
472
464
  this.files = dataTransfer?.files;
473
465
  }
474
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFiles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
475
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiInputFiles, isStandalone: true, selector: "label[tuiInputFiles]", host: { listeners: { "dragover.prevent.zoneless": "0", "drop.prevent": "onDropped($event)", "dragenter": "onDrag($event.dataTransfer)", "dragleave": "onDrag(null)", "change": "onFilesSelected($event.target)" }, properties: { "class._dragged": "fileDragged" } }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }, { propertyName: "input", first: true, predicate: TuiInputFilesDirective, descendants: true }], ngImport: i0, template: `
466
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFiles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
467
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputFiles, isStandalone: true, selector: "label[tuiInputFiles]", host: { listeners: { "dragover.prevent.zoneless": "0", "drop.prevent": "onDropped($event)", "dragenter": "onDrag($event.dataTransfer)", "dragleave": "onDrag(null)", "change": "onFilesSelected($event.target)" }, properties: { "class._dragged": "fileDragged" } }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }, { propertyName: "input", first: true, predicate: TuiInputFilesDirective, descendants: true }], ngImport: i0, template: `
476
468
  <ng-content />
477
469
  <span
478
470
  *polymorpheusOutlet="
@@ -484,7 +476,7 @@ class TuiInputFiles {
484
476
  </span>
485
477
  `, isInline: true, styles: ["label[tuiInputFiles]{position:relative;display:flex;min-block-size:var(--tui-height-l);justify-content:center;align-items:center;text-align:center;border-radius:var(--tui-radius-m);font:var(--tui-font-text-m);overflow-wrap:break-word;padding:0 .5rem}label[tuiInputFiles]>:not(input){position:relative;pointer-events:none}label[tuiInputFiles] input{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;color:transparent;cursor:pointer}label[tuiInputFiles] input:disabled~*{opacity:var(--tui-disabled-opacity)}label[tuiInputFiles] input::-webkit-file-upload-button{display:none}label[tuiInputFiles] input::file-selector-button{display:none}*:disabled label[tuiInputFiles]{pointer-events:none}[tuiAppearance][data-appearance=file]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border-radius:inherit;box-sizing:border-box;border:1px dashed var(--tui-text-action);outline:none}tui-root._mobile [tuiAppearance][data-appearance=file]{border-style:solid}[tuiInputFiles]._dragged [tuiAppearance][data-appearance=file]{background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=file]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=file]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}}[tuiAppearance][data-appearance=file][data-state=hover]{background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=file][tuiWrapper]:hover:not(._no-hover),[tuiAppearance][data-appearance=file][tuiWrapper][data-state=hover]{background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}}[tuiAppearance][data-appearance=file]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file][data-state=active]{background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file][tuiWrapper]:active:not(._no-active),[tuiAppearance][data-appearance=file][tuiWrapper][data-state=active],[tuiAppearance][data-appearance=file][tuiWrapper][data-state=active]:hover{background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file]:disabled:not([data-state]),[tuiAppearance][data-appearance=file][data-state=disabled]{background:transparent;border-color:var(--tui-text-tertiary)}[tuiAppearance][data-appearance=file][tuiWrapper]:disabled:not([data-state]),[tuiAppearance][data-appearance=file][tuiWrapper][data-state=disabled]{background:transparent;border-color:var(--tui-text-tertiary)}[tuiAppearance][data-appearance=file]:focus-visible:not([data-focus=false]){border:.125rem solid var(--tui-border-focus)}[tuiAppearance][data-appearance=file][data-focus=true]{border:.125rem solid var(--tui-border-focus)}[tuiAppearance][data-appearance=file][tuiWrapper]:not(._focused):has(:focus-visible),[tuiAppearance][data-appearance=file][tuiWrapper]._focused{border:.125rem solid var(--tui-border-focus)}[tuiAppearance][data-appearance=file]:not(:disabled)[data-mode~=invalid],[tuiAppearance][data-appearance=file]:invalid:not(:disabled):not([data-mode]){border-color:var(--tui-status-negative)!important}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
486
478
  }
487
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputFiles, decorators: [{
479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputFiles, decorators: [{
488
480
  type: Component,
489
481
  args: [{ selector: 'label[tuiInputFiles]', imports: [PolymorpheusOutlet], template: `
490
482
  <ng-content />
@@ -517,8 +509,8 @@ class TuiFileRejectedPipe {
517
509
  this.options = inject(TUI_INPUT_FILES_OPTIONS);
518
510
  this.formatSize = inject(TUI_FILE_OPTIONS).formatSize;
519
511
  this.locale = inject(LOCALE_ID);
520
- this.text$ = inject(TUI_INPUT_FILE_TEXTS);
521
- this.unit$ = inject(TUI_DIGITAL_INFORMATION_UNITS);
512
+ this.text$ = toObservable(inject(TUI_INPUT_FILE_TEXTS));
513
+ this.unit$ = toObservable(inject(TUI_DIGITAL_INFORMATION_UNITS));
522
514
  }
523
515
  transform(file, { accept = this.options.accept, maxFileSize = this.options.maxFileSize, } = this.options) {
524
516
  const sizeValidator = tuiCreateFileSizeValidator(maxFileSize);
@@ -542,10 +534,10 @@ class TuiFileRejectedPipe {
542
534
  return null;
543
535
  }));
544
536
  }
545
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFileRejectedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
546
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: TuiFileRejectedPipe, isStandalone: true, name: "tuiFileRejected" }); }
537
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFileRejectedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
538
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFileRejectedPipe, isStandalone: true, name: "tuiFileRejected" }); }
547
539
  }
548
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFileRejectedPipe, decorators: [{
540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFileRejectedPipe, decorators: [{
549
541
  type: Pipe,
550
542
  args: [{
551
543
  standalone: true,