@taiga-ui/kit 4.52.0-canary.536e4ff → 4.52.0-canary.55ce829

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 (835) 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/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
  24. package/components/files/file/file.options.d.ts +1 -1
  25. package/components/floating-container/floating-container.directive.d.ts +2 -2
  26. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  27. package/components/fullscreen/index.d.ts +1 -0
  28. package/components/index.d.ts +3 -2
  29. package/components/input-chip/input-chip.options.d.ts +1 -1
  30. package/components/input-color/input-color.component.d.ts +2 -1
  31. package/components/input-color/input-color.options.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 +8 -11
  38. package/components/input-slider/input-slider.directive.d.ts +2 -4
  39. package/components/input-time/input-time.directive.d.ts +1 -0
  40. package/components/input-time/input-time.options.d.ts +1 -1
  41. package/components/like/like.component.d.ts +4 -11
  42. package/components/like/like.options.d.ts +3 -4
  43. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  44. package/components/line-clamp/line-clamp.component.d.ts +12 -18
  45. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +2 -2
  46. package/components/pager/pager.component.d.ts +1 -1
  47. package/components/pin/pin.directive.d.ts +2 -2
  48. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  49. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  50. package/components/push/push-alert.component.d.ts +4 -3
  51. package/components/push/push.component.d.ts +1 -1
  52. package/components/push/push.directive.d.ts +4 -6
  53. package/components/push/push.options.d.ts +4 -8
  54. package/components/push/push.service.d.ts +6 -2
  55. package/components/radio/radio.component.d.ts +7 -8
  56. package/components/radio/radio.directive.d.ts +2 -2
  57. package/components/radio/radio.options.d.ts +2 -5
  58. package/components/range/range-change.directive.d.ts +1 -1
  59. package/components/range/range.component.d.ts +0 -5
  60. package/components/rating/rating.component.d.ts +5 -5
  61. package/components/rating/rating.options.d.ts +5 -3
  62. package/components/segmented/segmented.component.d.ts +4 -6
  63. package/components/slider/helpers/key-steps.d.ts +1 -2
  64. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  65. package/components/slides/slides.directive.d.ts +4 -4
  66. package/components/status/status.directive.d.ts +2 -2
  67. package/components/switch/switch.component.d.ts +7 -19
  68. package/components/switch/switch.options.d.ts +4 -8
  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 +18 -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 +9 -0
  75. package/components/toast/toast.service.d.ts +17 -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 +1 -3
  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 +1 -4
  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 +9 -9
  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 -14
  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} +14 -15
  126. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  127. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +21 -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 +32 -42
  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 +7 -8
  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 +17 -19
  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 +8 -9
  156. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-input-month.mjs +14 -16
  158. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-input-number.mjs +33 -32
  160. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +105 -131
  162. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +11 -13
  164. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +7 -7
  166. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-input-range.mjs +35 -39
  168. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +28 -42
  170. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-input-time.mjs +31 -14
  172. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-input-year.mjs +8 -9
  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 +38 -83
  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 +44 -42
  184. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +15 -22
  186. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  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 +49 -56
  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 -21
  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 +41 -34
  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 +31 -36
  228. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-textarea.mjs +15 -16
  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 +165 -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 +3 -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 +7 -7
  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 +15 -20
  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 +30 -249
  296. package/pipes/index.d.ts +0 -1
  297. package/styles/components/avatar.less +188 -0
  298. package/styles/components/badge.less +4 -18
  299. package/styles/components/block.less +1 -1
  300. package/styles/components/checkbox.less +17 -16
  301. package/styles/components/chip.less +13 -4
  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 -28
  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 -56
  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 -73
  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 -66
  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/notification-middle/index.mjs +0 -4
  558. package/esm2022/components/notification-middle/notification-middle.component.mjs +0 -57
  559. package/esm2022/components/notification-middle/notification-middle.directive.mjs +0 -21
  560. package/esm2022/components/notification-middle/notification-middle.service.mjs +0 -22
  561. package/esm2022/components/notification-middle/taiga-ui-kit-components-notification-middle.mjs +0 -5
  562. package/esm2022/components/pager/index.mjs +0 -2
  563. package/esm2022/components/pager/pager.component.mjs +0 -97
  564. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  565. package/esm2022/components/pagination/index.mjs +0 -2
  566. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  567. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  568. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  569. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  570. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  571. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  572. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  573. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  574. package/esm2022/components/pin/index.mjs +0 -2
  575. package/esm2022/components/pin/pin.directive.mjs +0 -35
  576. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  577. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  578. package/esm2022/components/preview/dialog/index.mjs +0 -4
  579. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  580. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  581. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  582. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  583. package/esm2022/components/preview/index.mjs +0 -8
  584. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  585. package/esm2022/components/preview/preview.component.mjs +0 -142
  586. package/esm2022/components/preview/preview.mjs +0 -13
  587. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  588. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  589. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  590. package/esm2022/components/progress/index.mjs +0 -9
  591. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  592. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  593. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  594. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  595. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  596. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  597. package/esm2022/components/progress/progress.mjs +0 -15
  598. package/esm2022/components/progress/progress.options.mjs +0 -13
  599. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  600. package/esm2022/components/pulse/index.mjs +0 -2
  601. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  602. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  603. package/esm2022/components/push/index.mjs +0 -7
  604. package/esm2022/components/push/push-alert.component.mjs +0 -29
  605. package/esm2022/components/push/push.component.mjs +0 -39
  606. package/esm2022/components/push/push.directive.mjs +0 -33
  607. package/esm2022/components/push/push.mjs +0 -5
  608. package/esm2022/components/push/push.options.mjs +0 -21
  609. package/esm2022/components/push/push.service.mjs +0 -19
  610. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  611. package/esm2022/components/radio/index.mjs +0 -5
  612. package/esm2022/components/radio/radio.component.mjs +0 -53
  613. package/esm2022/components/radio/radio.directive.mjs +0 -32
  614. package/esm2022/components/radio/radio.mjs +0 -4
  615. package/esm2022/components/radio/radio.options.mjs +0 -13
  616. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  617. package/esm2022/components/radio-list/index.mjs +0 -2
  618. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  619. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  620. package/esm2022/components/range/index.mjs +0 -3
  621. package/esm2022/components/range/range-change.directive.mjs +0 -78
  622. package/esm2022/components/range/range.component.mjs +0 -164
  623. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  624. package/esm2022/components/rating/index.mjs +0 -3
  625. package/esm2022/components/rating/rating.component.mjs +0 -64
  626. package/esm2022/components/rating/rating.options.mjs +0 -13
  627. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  628. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  629. package/esm2022/components/routable-dialog/index.mjs +0 -3
  630. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  631. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  632. package/esm2022/components/segmented/index.mjs +0 -3
  633. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  634. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  635. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  636. package/esm2022/components/select/index.mjs +0 -5
  637. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  638. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  639. package/esm2022/components/select/select.directive.mjs +0 -56
  640. package/esm2022/components/select/select.mjs +0 -4
  641. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  642. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  643. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  644. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  645. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  646. package/esm2022/components/slider/index.mjs +0 -8
  647. package/esm2022/components/slider/slider.component.mjs +0 -124
  648. package/esm2022/components/slider/slider.mjs +0 -12
  649. package/esm2022/components/slider/slider.options.mjs +0 -16
  650. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  651. package/esm2022/components/slides/index.mjs +0 -2
  652. package/esm2022/components/slides/slides.directive.mjs +0 -51
  653. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  654. package/esm2022/components/status/index.mjs +0 -2
  655. package/esm2022/components/status/status.directive.mjs +0 -35
  656. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  657. package/esm2022/components/stepper/index.mjs +0 -4
  658. package/esm2022/components/stepper/step.component.mjs +0 -58
  659. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  660. package/esm2022/components/stepper/stepper.mjs +0 -4
  661. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  662. package/esm2022/components/switch/index.mjs +0 -3
  663. package/esm2022/components/switch/switch.component.mjs +0 -63
  664. package/esm2022/components/switch/switch.options.mjs +0 -15
  665. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  666. package/esm2022/components/tabs/index.mjs +0 -9
  667. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  668. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  669. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  670. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -213
  671. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  672. package/esm2022/components/tabs/tabs.mjs +0 -15
  673. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  674. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  675. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  676. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  677. package/esm2022/components/textarea/index.mjs +0 -4
  678. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  679. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -93
  680. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  681. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  682. package/esm2022/components/tiles/index.mjs +0 -7
  683. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  684. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  685. package/esm2022/components/tiles/tile.component.mjs +0 -69
  686. package/esm2022/components/tiles/tile.service.mjs +0 -90
  687. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  688. package/esm2022/components/tiles/tiles.mjs +0 -5
  689. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  690. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  691. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  692. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  693. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  694. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  695. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  696. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  697. package/esm2022/components/tree/index.mjs +0 -12
  698. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  699. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  700. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  701. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  702. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  703. package/esm2022/components/tree/tree.mjs +0 -17
  704. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  705. package/esm2022/directives/button-close/index.mjs +0 -2
  706. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  707. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  708. package/esm2022/directives/button-group/index.mjs +0 -2
  709. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  710. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  711. package/esm2022/directives/button-select/index.mjs +0 -2
  712. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  713. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  714. package/esm2022/directives/chevron/index.mjs +0 -2
  715. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  716. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  717. package/esm2022/directives/connected/index.mjs +0 -2
  718. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  719. package/esm2022/directives/copy/copy.component.mjs +0 -48
  720. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  721. package/esm2022/directives/copy/copy.mjs +0 -4
  722. package/esm2022/directives/copy/copy.options.mjs +0 -3
  723. package/esm2022/directives/copy/index.mjs +0 -6
  724. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  725. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  726. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  727. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  728. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  729. package/esm2022/directives/fade/index.mjs +0 -2
  730. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  731. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  732. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  733. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  734. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  735. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  736. package/esm2022/directives/highlight/index.mjs +0 -2
  737. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  738. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  739. package/esm2022/directives/icon-badge/index.mjs +0 -2
  740. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  741. package/esm2022/directives/index.mjs +0 -21
  742. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  743. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  744. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  745. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  746. package/esm2022/directives/password/index.mjs +0 -3
  747. package/esm2022/directives/password/password.directive.mjs +0 -67
  748. package/esm2022/directives/password/password.options.mjs +0 -8
  749. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  750. package/esm2022/directives/present/index.mjs +0 -2
  751. package/esm2022/directives/present/present.directive.mjs +0 -33
  752. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  753. package/esm2022/directives/sensitive/index.mjs +0 -2
  754. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  755. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  756. package/esm2022/directives/shimmer/index.mjs +0 -2
  757. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  758. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  759. package/esm2022/directives/skeleton/index.mjs +0 -2
  760. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  761. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  762. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  763. package/esm2022/directives/tooltip/index.mjs +0 -3
  764. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  765. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  766. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  767. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  768. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  769. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  770. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  771. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  772. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  773. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  774. package/esm2022/index.mjs +0 -6
  775. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  776. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  777. package/esm2022/pipes/emails/index.mjs +0 -3
  778. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  779. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  780. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  781. package/esm2022/pipes/field-error/index.mjs +0 -3
  782. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  783. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  784. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  785. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  786. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  787. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  788. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  789. package/esm2022/pipes/index.mjs +0 -8
  790. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  791. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  792. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  793. package/esm2022/pipes/stringify/index.mjs +0 -2
  794. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  795. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  796. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  797. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  798. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  799. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  800. package/esm2022/taiga-ui-kit.mjs +0 -5
  801. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  802. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  803. package/esm2022/tokens/i18n.mjs +0 -75
  804. package/esm2022/tokens/index.mjs +0 -10
  805. package/esm2022/tokens/input-date-options.mjs +0 -13
  806. package/esm2022/tokens/items-handlers.mjs +0 -27
  807. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  808. package/esm2022/tokens/month-formatter.mjs +0 -12
  809. package/esm2022/tokens/preview-icons.mjs +0 -17
  810. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  811. package/esm2022/tokens/validation-errors.mjs +0 -6
  812. package/esm2022/utils/create-time-periods.mjs +0 -12
  813. package/esm2022/utils/index.mjs +0 -7
  814. package/esm2022/utils/inject-value.mjs +0 -11
  815. package/esm2022/utils/is-flat.mjs +0 -4
  816. package/esm2022/utils/maskito.binding.mjs +0 -6
  817. package/esm2022/utils/phone.mjs +0 -6
  818. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  819. package/esm2022/utils/toggle-day.mjs +0 -6
  820. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -96
  821. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  822. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  823. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  824. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  825. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  826. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  827. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  828. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  829. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  830. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  831. package/pipes/field-error/index.d.ts +0 -2
  832. package/tokens/validation-errors.d.ts +0 -5
  833. /package/{directives → components}/copy/copy.component.d.ts +0 -0
  834. /package/{directives → components}/copy/copy.d.ts +0 -0
  835. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -1,58 +1,42 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, Directive } from '@angular/core';
2
+ import { input, inject, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import * as i1 from '@taiga-ui/cdk/directives/animated';
4
4
  import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
5
- import { tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
6
- import { TUI_BUTTON_OPTIONS } from '@taiga-ui/core/components/button';
7
- import { TuiExpandComponent } from '@taiga-ui/core/components/expand';
5
+ import { tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
6
+ import { TuiExpand } from '@taiga-ui/core/components/expand';
8
7
  import { tuiLinkOptionsProvider } from '@taiga-ui/core/components/link';
9
- import { TuiDropdownPortal } from '@taiga-ui/core/directives/dropdown';
10
8
 
11
- class TuiActionBarComponent {
9
+ class TuiActionBar {
12
10
  constructor() {
13
- this.expanded = false;
14
- this.size = 'm';
15
- this.appearance = 'secondary-grayscale';
11
+ this.expanded = input(false);
12
+ this.size = input('m');
16
13
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiActionBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiActionBarComponent, isStandalone: true, selector: "tui-action-bar", inputs: { expanded: "expanded", size: "size" }, host: { attributes: { "tuiTheme": "dark" }, properties: { "attr.data-size": "size" } }, providers: [
19
- tuiProvide(TUI_BUTTON_OPTIONS, TuiActionBarComponent),
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiActionBar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.15", type: TuiActionBar, isStandalone: true, selector: "tui-action-bar", inputs: { expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiTheme": "dark" }, properties: { "attr.data-size": "size()" } }, providers: [
20
16
  tuiLinkOptionsProvider({ appearance: 'action-grayscale', pseudo: true }),
21
- ], hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<tui-expand [expanded]=\"expanded\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;left:max(calc(50% - 37rem),1.5rem);bottom:max(1rem,env(safe-area-inset-bottom));display:flex;inline-size:100%;max-inline-size:min(calc(100vw - 3rem),74rem);box-sizing:border-box;border-radius:1rem;background:var(--tui-background-elevation-2);background:color-mix(in hsl,var(--tui-background-elevation-2) 75%,transparent);color:var(--tui-text-primary);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem);flex-direction:column;justify-content:center;padding:.75rem;text-indent:.75rem;font:var(--tui-font-text-m);white-space:nowrap}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host[data-size=s]{border-radius:var(--tui-radius-l);font:var(--tui-font-text-s);padding:.5rem}:host-context(tui-root._mobile) :host{padding:1rem;border-radius:1.25rem;text-indent:0}:host ::ng-deep tui-data-list[data-size]{padding:0;margin:-.625rem -.625rem 1rem}:host ::ng-deep tui-items-with-more{text-indent:.5rem}:host-context(tui-root._mobile) :host ::ng-deep tui-items-with-more{display:none}.t-content{display:flex;align-items:center;gap:.7rem 2.5rem}:host-context(tui-root._mobile) .t-content{flex-wrap:wrap}.t-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-inline-start:auto;text-indent:0}:host-context(tui-root._mobile) .t-actions{flex:1}:host-context(tui-root._mobile) .t-actions ::ng-deep [tuiButton]{flex:1}\n"], dependencies: [{ kind: "component", type: TuiExpandComponent, selector: "tui-expand", inputs: ["async", "expanded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
+ tuiButtonOptionsProvider(() => ({
18
+ appearance: 'secondary-grayscale',
19
+ size: inject(TuiActionBar).size(),
20
+ })),
21
+ ], hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;left:max(calc(50% - 37rem),1.5rem);bottom:max(1rem,env(safe-area-inset-bottom));display:flex;inline-size:100%;max-inline-size:min(calc(100vw - 3rem),74rem);box-sizing:border-box;border-radius:1rem;background:var(--tui-background-elevation-2);background:color-mix(in hsl,var(--tui-background-elevation-2) 75%,transparent);color:var(--tui-text-primary);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem);flex-direction:column;justify-content:center;padding:.75rem;text-indent:.75rem;font:var(--tui-font-text-m);white-space:nowrap}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host[data-size=s]{border-radius:var(--tui-radius-l);font:var(--tui-font-text-s);padding:.5rem}:host-context(tui-root._mobile) :host{padding:1rem;border-radius:1.25rem;text-indent:0}:host ::ng-deep tui-data-list[data-size]{padding:0;margin:-.625rem -.625rem 1rem}:host ::ng-deep tui-items-with-more{text-indent:.5rem}:host-context(tui-root._mobile) :host ::ng-deep tui-items-with-more{display:none}.t-content{display:flex;align-items:center;gap:.7rem 2.5rem}:host-context(tui-root._mobile) .t-content{flex-wrap:wrap}.t-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-inline-start:auto;text-indent:0}:host-context(tui-root._mobile) .t-actions{flex:1}:host-context(tui-root._mobile) .t-actions ::ng-deep [tuiButton]{flex:1}\n"], dependencies: [{ kind: "component", type: TuiExpand, selector: "tui-expand", inputs: ["expanded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiActionBarComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiActionBar, decorators: [{
24
24
  type: Component,
25
- args: [{ standalone: true, selector: 'tui-action-bar', imports: [TuiExpandComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
26
- tuiProvide(TUI_BUTTON_OPTIONS, TuiActionBarComponent),
25
+ args: [{ selector: 'tui-action-bar', imports: [TuiExpand], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
27
26
  tuiLinkOptionsProvider({ appearance: 'action-grayscale', pseudo: true }),
27
+ tuiButtonOptionsProvider(() => ({
28
+ appearance: 'secondary-grayscale',
29
+ size: inject(TuiActionBar).size(),
30
+ })),
28
31
  ], hostDirectives: [TuiAnimated], host: {
29
32
  tuiTheme: 'dark',
30
- '[attr.data-size]': 'size',
31
- }, template: "<tui-expand [expanded]=\"expanded\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;left:max(calc(50% - 37rem),1.5rem);bottom:max(1rem,env(safe-area-inset-bottom));display:flex;inline-size:100%;max-inline-size:min(calc(100vw - 3rem),74rem);box-sizing:border-box;border-radius:1rem;background:var(--tui-background-elevation-2);background:color-mix(in hsl,var(--tui-background-elevation-2) 75%,transparent);color:var(--tui-text-primary);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem);flex-direction:column;justify-content:center;padding:.75rem;text-indent:.75rem;font:var(--tui-font-text-m);white-space:nowrap}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host[data-size=s]{border-radius:var(--tui-radius-l);font:var(--tui-font-text-s);padding:.5rem}:host-context(tui-root._mobile) :host{padding:1rem;border-radius:1.25rem;text-indent:0}:host ::ng-deep tui-data-list[data-size]{padding:0;margin:-.625rem -.625rem 1rem}:host ::ng-deep tui-items-with-more{text-indent:.5rem}:host-context(tui-root._mobile) :host ::ng-deep tui-items-with-more{display:none}.t-content{display:flex;align-items:center;gap:.7rem 2.5rem}:host-context(tui-root._mobile) .t-content{flex-wrap:wrap}.t-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-inline-start:auto;text-indent:0}:host-context(tui-root._mobile) .t-actions{flex:1}:host-context(tui-root._mobile) .t-actions ::ng-deep [tuiButton]{flex:1}\n"] }]
32
- }], propDecorators: { expanded: [{
33
- type: Input
34
- }], size: [{
35
- type: Input
36
- }] } });
37
-
38
- class TuiActionBarDirective extends TuiDropdownPortal {
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiActionBarDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
40
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiActionBarDirective, isStandalone: true, selector: "ng-template[tuiActionBar]", inputs: { tuiDropdown: ["tuiActionBar", "tuiDropdown"] }, usesInheritance: true, ngImport: i0 }); }
41
- }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiActionBarDirective, decorators: [{
43
- type: Directive,
44
- args: [{
45
- standalone: true,
46
- selector: 'ng-template[tuiActionBar]',
47
- inputs: ['tuiDropdown: tuiActionBar'],
48
- }]
33
+ '[attr.data-size]': 'size()',
34
+ }, template: "<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;left:max(calc(50% - 37rem),1.5rem);bottom:max(1rem,env(safe-area-inset-bottom));display:flex;inline-size:100%;max-inline-size:min(calc(100vw - 3rem),74rem);box-sizing:border-box;border-radius:1rem;background:var(--tui-background-elevation-2);background:color-mix(in hsl,var(--tui-background-elevation-2) 75%,transparent);color:var(--tui-text-primary);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem);flex-direction:column;justify-content:center;padding:.75rem;text-indent:.75rem;font:var(--tui-font-text-m);white-space:nowrap}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host[data-size=s]{border-radius:var(--tui-radius-l);font:var(--tui-font-text-s);padding:.5rem}:host-context(tui-root._mobile) :host{padding:1rem;border-radius:1.25rem;text-indent:0}:host ::ng-deep tui-data-list[data-size]{padding:0;margin:-.625rem -.625rem 1rem}:host ::ng-deep tui-items-with-more{text-indent:.5rem}:host-context(tui-root._mobile) :host ::ng-deep tui-items-with-more{display:none}.t-content{display:flex;align-items:center;gap:.7rem 2.5rem}:host-context(tui-root._mobile) .t-content{flex-wrap:wrap}.t-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-inline-start:auto;text-indent:0}:host-context(tui-root._mobile) .t-actions{flex:1}:host-context(tui-root._mobile) .t-actions ::ng-deep [tuiButton]{flex:1}\n"] }]
49
35
  }] });
50
36
 
51
- const TuiActionBar = [TuiActionBarComponent, TuiActionBarDirective];
52
-
53
37
  /**
54
38
  * Generated bundle index. Do not edit.
55
39
  */
56
40
 
57
- export { TuiActionBar, TuiActionBarComponent, TuiActionBarDirective };
41
+ export { TuiActionBar };
58
42
  //# sourceMappingURL=taiga-ui-kit-components-action-bar.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-action-bar.mjs","sources":["../../../projects/kit/components/action-bar/action-bar.component.ts","../../../projects/kit/components/action-bar/action-bar.template.html","../../../projects/kit/components/action-bar/action-bar.directive.ts","../../../projects/kit/components/action-bar/action-bar.ts","../../../projects/kit/components/action-bar/taiga-ui-kit-components-action-bar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_BUTTON_OPTIONS,\n type TuiButtonOptions,\n} from '@taiga-ui/core/components/button';\nimport {TuiExpandComponent} from '@taiga-ui/core/components/expand';\nimport {tuiLinkOptionsProvider} from '@taiga-ui/core/components/link';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n standalone: true,\n selector: 'tui-action-bar',\n imports: [TuiExpandComponent],\n templateUrl: './action-bar.template.html',\n styleUrls: ['./action-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiProvide(TUI_BUTTON_OPTIONS, TuiActionBarComponent),\n tuiLinkOptionsProvider({appearance: 'action-grayscale', pseudo: true}),\n ],\n hostDirectives: [TuiAnimated],\n host: {\n tuiTheme: 'dark',\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiActionBarComponent implements TuiButtonOptions {\n @Input()\n public expanded = false;\n\n @Input()\n public size: TuiSizeS = 'm';\n\n public readonly appearance = 'secondary-grayscale';\n}\n","<tui-expand [expanded]=\"expanded\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n","import {Directive} from '@angular/core';\nimport {TuiDropdownPortal} from '@taiga-ui/core/directives/dropdown';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiActionBar]',\n inputs: ['tuiDropdown: tuiActionBar'],\n})\nexport class TuiActionBarDirective extends TuiDropdownPortal {}\n","import {TuiActionBarComponent} from './action-bar.component';\nimport {TuiActionBarDirective} from './action-bar.directive';\n\nexport const TuiActionBar = [TuiActionBarComponent, TuiActionBarDirective] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAWA,MAiBa,qBAAqB,CAAA;AAjBlC,IAAA,WAAA,GAAA;QAmBW,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QAGjB,IAAI,CAAA,IAAA,GAAa,GAAG,CAAC;QAEZ,IAAU,CAAA,UAAA,GAAG,qBAAqB,CAAC;AACtD,KAAA;+G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kB,EAAE,MAAM,EAAE,IAAI,EAAC,CAAC;qBACzE,EACe,cAAA,EAAA,CAAC,WAAW,CAAC,EACvB,IAAA,EAAA;AACF,wBAAA,QAAQ,EAAE,MAAM;AAChB,wBAAA,kBAAkB,EAAE,MAAM;AAC7B,qBAAA,EAAA,QAAA,EAAA,4QAAA,EAAA,MAAA,EAAA,CAAA,o1CAAA,CAAA,EAAA,CAAA;8BAIM,QAAQ,EAAA,CAAA;sBADd,KAAK;gBAIC,IAAI,EAAA,CAAA;sBADV,KAAK;;;AE7BV,MAKa,qBAAsB,SAAQ,iBAAiB,CAAA;+GAA/C,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,CAAA,cAAA,EAAA,aAAA,CAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,2BAA2B;oBACrC,MAAM,EAAE,CAAC,2BAA2B,CAAC;AACxC,iBAAA,CAAA;;;MCJY,YAAY,GAAG,CAAC,qBAAqB,EAAE,qBAAqB;;ACHzE;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-action-bar.mjs","sources":["../../../projects/kit/components/action-bar/action-bar.component.ts","../../../projects/kit/components/action-bar/action-bar.template.html","../../../projects/kit/components/action-bar/taiga-ui-kit-components-action-bar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, inject, input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {tuiLinkOptionsProvider} from '@taiga-ui/core/components/link';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n selector: 'tui-action-bar',\n imports: [TuiExpand],\n templateUrl: './action-bar.template.html',\n styleUrl: './action-bar.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiLinkOptionsProvider({appearance: 'action-grayscale', pseudo: true}),\n tuiButtonOptionsProvider(() => ({\n appearance: 'secondary-grayscale',\n size: inject(TuiActionBar).size(),\n })),\n ],\n hostDirectives: [TuiAnimated],\n host: {\n tuiTheme: 'dark',\n '[attr.data-size]': 'size()',\n },\n})\nexport class TuiActionBar {\n public readonly expanded = input(false);\n public readonly size = input<TuiSizeS>('m');\n}\n","<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MA0Ba,YAAY,CAAA;AAnBzB,IAAA,WAAA,GAAA;AAoBoB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC;AACvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAW,GAAG,CAAC;AAC9C;+GAHY,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,YAAY,EAbV,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MA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OAAO;AAC5B,4BAAA,UAAU,EAAE,qBAAqB;AACjC,4BAAA,IAAI,EAAE,MAAM,CAAc,YAAA,CAAA,CAAC,IAAI,EAAE;AACpC,yBAAA,CAAC,CAAC;qBACN,EACe,cAAA,EAAA,CAAC,WAAW,CAAC,EACvB,IAAA,EAAA;AACF,wBAAA,QAAQ,EAAE,MAAM;AAChB,wBAAA,kBAAkB,EAAE,QAAQ;AAC/B,qBAAA,EAAA,QAAA,EAAA,8QAAA,EAAA,MAAA,EAAA,CAAA,o1CAAA,CAAA,EAAA;;;AExBL;;AAEG;;;;"}
@@ -1,74 +1,66 @@
1
- import { NgIf, NgForOf } from '@angular/common';
2
1
  import * as i0 from '@angular/core';
3
- import { InjectionToken, inject, Component, ChangeDetectionStrategy, Input, ViewEncapsulation, Directive } from '@angular/core';
4
- import { tuiProvideOptions, tuiIsString, tuiPure, tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, inject, signal, input, Directive, Input, computed } from '@angular/core';
3
+ import { tuiWithStyles, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
5
4
  import * as i1 from '@taiga-ui/core/directives/appearance';
6
5
  import { tuiAppearanceOptionsProvider, TuiWithAppearance } from '@taiga-ui/core/directives/appearance';
7
6
  import * as i2 from '@taiga-ui/core/directives/icons';
8
7
  import { TuiIcons } from '@taiga-ui/core/directives/icons';
8
+ import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
9
9
  import { __decorate } from 'tslib';
10
10
  import { TuiFade } from '@taiga-ui/kit/directives/fade';
11
11
 
12
- const TUI_AVATAR_DEFAULT_OPTIONS = {
12
+ const [TUI_AVATAR_OPTIONS, tuiAvatarOptionsProvider] = tuiCreateOptions({
13
13
  appearance: '',
14
14
  round: true,
15
- size: 'l',
16
- };
17
- const TUI_AVATAR_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_AVATAR_OPTIONS' : '', {
18
- factory: () => TUI_AVATAR_DEFAULT_OPTIONS,
15
+ size: 'm',
19
16
  });
20
- function tuiAvatarOptionsProvider(options) {
21
- return tuiProvideOptions(TUI_AVATAR_OPTIONS, options, TUI_AVATAR_DEFAULT_OPTIONS);
22
- }
23
17
 
18
+ let Styles$1 = class Styles {
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-avatar" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiAvatar]{--t-size: var(--tui-height-l);--t-radius: .75rem;--t-corner-offset: calc((var(--t-radius) * 1.4142 - var(--t-radius)) * 1 / 1.4142);position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--t-size);block-size:var(--t-size);align-items:center;justify-content:center;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;font:var(--tui-font-text-l);font-weight:700;opacity:.999}[tuiAvatar]:before{inline-size:auto;block-size:auto}[tuiAvatar]:not(._initials):before{position:absolute;top:0;right:0;bottom:0;left:0;font-size:calc(var(--t-size) * .6)}[tuiAvatar][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-ui-xs);font-size:.5625rem}[tuiAvatar][data-size=xs]._initials:before{font:var(--tui-font-text-ui-xs);font-weight:700}[tuiAvatar][data-size=s]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-ui-xs);font-weight:700}[tuiAvatar][data-size=s]._initials:before{font:var(--tui-font-text-s);font-weight:700}[tuiAvatar][data-size=m]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-ui-m);font-weight:700}[tuiAvatar][data-size=m]._initials:before{font:var(--tui-font-text-m);font-weight:700}[tuiAvatar][data-size=xl]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-4)}[tuiAvatar][data-size=xl]._initials:before{font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxl]._initials:before{font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxxl]._initials:before{font:var(--tui-font-heading-2)}[tuiAvatar]:not([data-shape=square]){--t-radius: calc(var(--t-size) / 2)}[tuiAvatar]._initials:before{content:attr(data-icon-start);mask:none;background:none;font:var(--tui-font-heading-6)}[tuiAvatar]._badge{mask:radial-gradient(circle at calc(100% - var(--t-corner-offset)) calc(100% - var(--t-corner-offset)),black .23rem,transparent .25rem,transparent .375rem,black .39rem);mask-clip:no-clip}[tuiAvatar]._badge:after{content:\"\";position:absolute;top:calc(100% - var(--t-corner-offset));left:calc(100% - var(--t-corner-offset));display:block;inline-size:.55rem;block-size:.55rem;border-radius:100%;background:var(--t-badge);transform:translate3d(-50%,-50%,0)}[tuiAvatar]._fallback img,[tuiAvatar]._fallback video{display:none}[tuiAvatar] img,[tuiAvatar] video,[tuiAvatar] picture{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;object-fit:cover;box-sizing:border-box;border-radius:inherit}[tuiAvatar]:has(img,video):not(._fallback){background:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
21
+ };
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles$1, decorators: [{
23
+ type: Component,
24
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-avatar' }, styles: ["[tuiAvatar]{--t-size: var(--tui-height-l);--t-radius: .75rem;--t-corner-offset: calc((var(--t-radius) * 1.4142 - var(--t-radius)) * 1 / 1.4142);position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--t-size);block-size:var(--t-size);align-items:center;justify-content:center;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;font:var(--tui-font-text-l);font-weight:700;opacity:.999}[tuiAvatar]:before{inline-size:auto;block-size:auto}[tuiAvatar]:not(._initials):before{position:absolute;top:0;right:0;bottom:0;left:0;font-size:calc(var(--t-size) * .6)}[tuiAvatar][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-ui-xs);font-size:.5625rem}[tuiAvatar][data-size=xs]._initials:before{font:var(--tui-font-text-ui-xs);font-weight:700}[tuiAvatar][data-size=s]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-ui-xs);font-weight:700}[tuiAvatar][data-size=s]._initials:before{font:var(--tui-font-text-s);font-weight:700}[tuiAvatar][data-size=m]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-ui-m);font-weight:700}[tuiAvatar][data-size=m]._initials:before{font:var(--tui-font-text-m);font-weight:700}[tuiAvatar][data-size=xl]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-4)}[tuiAvatar][data-size=xl]._initials:before{font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxl]._initials:before{font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-3)}[tuiAvatar][data-size=xxxl]._initials:before{font:var(--tui-font-heading-2)}[tuiAvatar]:not([data-shape=square]){--t-radius: calc(var(--t-size) / 2)}[tuiAvatar]._initials:before{content:attr(data-icon-start);mask:none;background:none;font:var(--tui-font-heading-6)}[tuiAvatar]._badge{mask:radial-gradient(circle at calc(100% - var(--t-corner-offset)) calc(100% - var(--t-corner-offset)),black .23rem,transparent .25rem,transparent .375rem,black .39rem);mask-clip:no-clip}[tuiAvatar]._badge:after{content:\"\";position:absolute;top:calc(100% - var(--t-corner-offset));left:calc(100% - var(--t-corner-offset));display:block;inline-size:.55rem;block-size:.55rem;border-radius:100%;background:var(--t-badge);transform:translate3d(-50%,-50%,0)}[tuiAvatar]._fallback img,[tuiAvatar]._fallback video{display:none}[tuiAvatar] img,[tuiAvatar] video,[tuiAvatar] picture{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;object-fit:cover;box-sizing:border-box;border-radius:inherit}[tuiAvatar]:has(img,video):not(._fallback){background:none}\n"] }]
25
+ }] });
24
26
  class TuiAvatar {
25
27
  constructor() {
26
28
  this.options = inject(TUI_AVATAR_OPTIONS);
27
- this.size = this.options.size;
28
- this.round = this.options.round;
29
- }
30
- get value() {
31
- return this.src || '';
32
- }
33
- get svg() {
34
- return tuiIsString(this.value) && this.value.endsWith('.svg');
29
+ this.nothing = tuiWithStyles(Styles$1);
30
+ this.icons = inject(TuiIcons);
31
+ this.fallback = signal(false);
32
+ this.size = input(this.options.size);
33
+ this.round = input(this.options.round);
34
+ this.badge = input('');
35
35
  }
36
- get type() {
37
- if (this.value && !tuiIsString(this.value)) {
38
- return 'img';
39
- }
40
- if (this.value.startsWith('@tui.')) {
41
- return 'icon';
42
- }
43
- if (this.value.length > 0 && this.value.length < 3) {
44
- return 'text';
45
- }
46
- return this.value.length ? 'img' : 'content';
47
- }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
49
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatar, isStandalone: true, selector: "tui-avatar,button[tuiAvatar],a[tuiAvatar]", inputs: { size: "size", round: "round", src: "src" }, host: { properties: { "attr.data-size": "size", "attr.data-type": "type", "class._round": "round", "class._svg": "svg" } }, providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiIcons, inputs: ["iconStart", "src"] }], ngImport: i0, template: "<img\n *ngIf=\"type === 'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n/>\n<ng-container *ngIf=\"type === 'text'\">{{ value }}</ng-container>\n<ng-content />\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--t-size);block-size:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host[data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=s]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}:host[data-size=s][data-type=content]{font:var(--tui-font-text-xs);font-weight:700}:host[data-size=m]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}:host[data-size=m][data-type=content]{font:var(--tui-font-text-m);font-weight:700}:host[data-size=l]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=l][data-type=content]{font:var(--tui-font-text-l);font-weight:700}:host[data-size=xl]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xxl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type]:before{display:none}:host:not([data-type=icon]):before{-webkit-mask:none;mask:none}:host[data-type=img]:not(._svg){background:transparent}:host[data-type=icon]:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block;font-size:calc(var(--t-size) * .6);-webkit-mask-size:1em;mask-size:1em}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;object-fit:cover;box-sizing:border-box;border-radius:inherit}:host._svg img{padding:20%;object-fit:contain;border-radius:unset}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
37
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiAvatar, isStandalone: true, selector: "[tuiAvatar]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, round: { classPropertyName: "round", publicName: "round", isSignal: true, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiAvatar": "" }, listeners: { "error.capture": "fallback.set(true)", "load.capture": "fallback.set(false)" }, properties: { "attr.data-size": "size()", "attr.data-shape": "round() ? \"round\" : \"square\"", "class._initials": "icons.iconStart()?.length < 3", "class._fallback": "fallback()", "class._badge": "badge()", "style.--t-badge": "badge()" } }, providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiIcons, inputs: ["iconStart", "tuiAvatar"] }], ngImport: i0 }); }
50
38
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatar, decorators: [{
52
- type: Component,
53
- args: [{ standalone: true, selector: 'tui-avatar,button[tuiAvatar],a[tuiAvatar]', imports: [NgIf], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)], hostDirectives: [
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatar, decorators: [{
40
+ type: Directive,
41
+ args: [{
42
+ selector: '[tuiAvatar]',
43
+ providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)],
44
+ hostDirectives: [
54
45
  TuiWithAppearance,
55
46
  {
56
47
  directive: TuiIcons,
57
- inputs: ['iconStart: src'],
48
+ inputs: ['iconStart: tuiAvatar'],
58
49
  },
59
- ], host: {
60
- '[attr.data-size]': 'size',
61
- '[attr.data-type]': 'type',
62
- '[class._round]': 'round',
63
- '[class._svg]': 'svg',
64
- }, template: "<img\n *ngIf=\"type === 'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n/>\n<ng-container *ngIf=\"type === 'text'\">{{ value }}</ng-container>\n<ng-content />\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--t-size);block-size:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host[data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=s]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}:host[data-size=s][data-type=content]{font:var(--tui-font-text-xs);font-weight:700}:host[data-size=m]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}:host[data-size=m][data-type=content]{font:var(--tui-font-text-m);font-weight:700}:host[data-size=l]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=l][data-type=content]{font:var(--tui-font-text-l);font-weight:700}:host[data-size=xl]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xxl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type]:before{display:none}:host:not([data-type=icon]):before{-webkit-mask:none;mask:none}:host[data-type=img]:not(._svg){background:transparent}:host[data-type=icon]:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block;font-size:calc(var(--t-size) * .6);-webkit-mask-size:1em;mask-size:1em}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;object-fit:cover;box-sizing:border-box;border-radius:inherit}:host._svg img{padding:20%;object-fit:contain;border-radius:unset}\n"] }]
65
- }], propDecorators: { size: [{
66
- type: Input
67
- }], round: [{
68
- type: Input
69
- }], src: [{
70
- type: Input
71
- }] } });
50
+ ],
51
+ host: {
52
+ tuiAvatar: '',
53
+ '[attr.data-size]': 'size()',
54
+ '[attr.data-shape]': 'round() ? "round" : "square"',
55
+ '[class._initials]': 'icons.iconStart()?.length < 3',
56
+ '[class._fallback]': 'fallback()',
57
+ '[class._badge]': 'badge()',
58
+ '[style.--t-badge]': 'badge()',
59
+ '(error.capture)': 'fallback.set(true)',
60
+ '(load.capture)': 'fallback.set(false)',
61
+ },
62
+ }]
63
+ }] });
72
64
 
73
65
  class TuiAvatarLabeled {
74
66
  constructor() {
@@ -77,88 +69,77 @@ class TuiAvatarLabeled {
77
69
  split(label) {
78
70
  return label.split(' ');
79
71
  }
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarLabeled, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarLabeled, isStandalone: true, selector: "tui-avatar-labeled", inputs: { label: "label" }, ngImport: i0, template: `
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatarLabeled, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiAvatarLabeled, isStandalone: true, selector: "tui-avatar-labeled", inputs: { label: "label" }, ngImport: i0, template: `
82
74
  <ng-content />
83
- <ng-container *ngIf="label.length">
84
- <span
85
- *ngFor="let item of split(label)"
86
- tuiFade
87
- >
88
- {{ item }}
89
- </span>
90
- </ng-container>
91
- `, isInline: true, styles: ["tui-avatar-labeled{display:flex;inline-size:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-block-end:.375rem}tui-avatar-labeled [tuiFade]{inline-size:calc(100% + 1rem)}\n"], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TuiFade, selector: "[tuiFade]", inputs: ["tuiFadeHeight", "tuiFadeSize", "tuiFadeOffset", "tuiFade"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
75
+ @if (label.length) {
76
+ @for (item of split(label); track item) {
77
+ <span tuiFade>
78
+ {{ item }}
79
+ </span>
80
+ }
81
+ }
82
+ `, isInline: true, styles: ["tui-avatar-labeled{display:flex;inline-size:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled [tuiAvatar]{margin-block-end:.375rem}tui-avatar-labeled [tuiFade]{inline-size:calc(100% + 1rem)}\n"], dependencies: [{ kind: "directive", type: TuiFade, selector: "[tuiFade]", inputs: ["tuiFadeHeight", "tuiFadeSize", "tuiFadeOffset", "tuiFade"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
92
83
  }
93
84
  __decorate([
94
85
  tuiPure
95
86
  ], TuiAvatarLabeled.prototype, "split", null);
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarLabeled, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatarLabeled, decorators: [{
97
88
  type: Component,
98
- args: [{ standalone: true, selector: 'tui-avatar-labeled', imports: [NgForOf, NgIf, TuiFade], template: `
89
+ args: [{ selector: 'tui-avatar-labeled', imports: [TuiFade], template: `
99
90
  <ng-content />
100
- <ng-container *ngIf="label.length">
101
- <span
102
- *ngFor="let item of split(label)"
103
- tuiFade
104
- >
105
- {{ item }}
106
- </span>
107
- </ng-container>
108
- `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["tui-avatar-labeled{display:flex;inline-size:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-block-end:.375rem}tui-avatar-labeled [tuiFade]{inline-size:calc(100% + 1rem)}\n"] }]
91
+ @if (label.length) {
92
+ @for (item of split(label); track item) {
93
+ <span tuiFade>
94
+ {{ item }}
95
+ </span>
96
+ }
97
+ }
98
+ `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["tui-avatar-labeled{display:flex;inline-size:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled [tuiAvatar]{margin-block-end:.375rem}tui-avatar-labeled [tuiFade]{inline-size:calc(100% + 1rem)}\n"] }]
109
99
  }], propDecorators: { label: [{
110
100
  type: Input
111
101
  }], split: [] } });
112
102
 
113
- class TuiAvatarOutlineStyles {
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutlineStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarOutlineStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-avatar-outline" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiAvatarOutline]{--t-outline: .1875rem;--t-gap: .125rem}[tuiAvatarOutline][data-size=xs],[tuiAvatarOutline][data-size=s],[tuiAvatarOutline][data-size=m]{--t-outline: .125rem;--t-gap: .0625rem}[tuiAvatarOutline]._outline{-webkit-mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}[tuiAvatarOutline]._outline:after{content:\"\";position:absolute;top:0;left:0;inline-size:100%;block-size:100%;background:var(--t-fill);-webkit-mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
103
+ class Styles {
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
105
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-avatar-outline" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiAvatarOutline]{--t-outline: .1875rem;--t-gap: .125rem}[tuiAvatarOutline][data-size=xs],[tuiAvatarOutline][data-size=s],[tuiAvatarOutline][data-size=m]{--t-outline: .125rem;--t-gap: .0625rem}[tuiAvatarOutline]._outline{mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}[tuiAvatarOutline]._outline:after{content:\"\";position:absolute;top:0;left:0;inline-size:100%;block-size:100%;background:var(--t-fill);mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
116
106
  }
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutlineStyles, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
118
108
  type: Component,
119
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
120
- class: 'tui-avatar-outline',
121
- }, styles: ["[tuiAvatarOutline]{--t-outline: .1875rem;--t-gap: .125rem}[tuiAvatarOutline][data-size=xs],[tuiAvatarOutline][data-size=s],[tuiAvatarOutline][data-size=m]{--t-outline: .125rem;--t-gap: .0625rem}[tuiAvatarOutline]._outline{-webkit-mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}[tuiAvatarOutline]._outline:after{content:\"\";position:absolute;top:0;left:0;inline-size:100%;block-size:100%;background:var(--t-fill);-webkit-mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}\n"] }]
109
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-avatar-outline' }, styles: ["[tuiAvatarOutline]{--t-outline: .1875rem;--t-gap: .125rem}[tuiAvatarOutline][data-size=xs],[tuiAvatarOutline][data-size=s],[tuiAvatarOutline][data-size=m]{--t-outline: .125rem;--t-gap: .0625rem}[tuiAvatarOutline]._outline{mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}[tuiAvatarOutline]._outline:after{content:\"\";position:absolute;top:0;left:0;inline-size:100%;block-size:100%;background:var(--t-fill);mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}\n"] }]
122
110
  }] });
123
111
  class TuiAvatarOutline {
124
112
  constructor() {
125
- this.nothing = tuiWithStyles(TuiAvatarOutlineStyles);
126
- this.tuiAvatarOutline = '';
127
- }
128
- get value() {
129
- return this.tuiAvatarOutline === ''
130
- ? 'var(--tui-background-accent-1)'
131
- : this.tuiAvatarOutline;
113
+ this.nothing = tuiWithStyles(Styles);
114
+ this.value = computed((value = this.tuiAvatarOutline()) => value === '' ? 'var(--tui-background-accent-1)' : value);
115
+ this.tuiAvatarOutline = input('');
132
116
  }
133
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutline, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
134
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarOutline, isStandalone: true, selector: "[tuiAvatarOutline]", inputs: { tuiAvatarOutline: "tuiAvatarOutline" }, host: { properties: { "style.--t-fill": "value", "class._outline": "value" } }, ngImport: i0 }); }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatarOutline, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
118
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiAvatarOutline, isStandalone: true, selector: "[tuiAvatarOutline]", inputs: { tuiAvatarOutline: { classPropertyName: "tuiAvatarOutline", publicName: "tuiAvatarOutline", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--t-fill": "value()", "class._outline": "value()" } }, ngImport: i0 }); }
135
119
  }
136
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutline, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatarOutline, decorators: [{
137
121
  type: Directive,
138
122
  args: [{
139
- standalone: true,
140
123
  selector: '[tuiAvatarOutline]',
141
124
  host: {
142
- '[style.--t-fill]': 'value',
143
- '[class._outline]': 'value',
125
+ '[style.--t-fill]': 'value()',
126
+ '[class._outline]': 'value()',
144
127
  },
145
128
  }]
146
- }], propDecorators: { tuiAvatarOutline: [{
147
- type: Input
148
- }] } });
129
+ }] });
149
130
 
150
131
  class TuiAvatarStack {
151
132
  constructor() {
152
133
  this.direction = 'right';
153
134
  }
154
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarStack, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
155
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarStack, isStandalone: true, selector: "tui-avatar-stack", inputs: { direction: "direction" }, host: { properties: { "attr.data-direction": "direction" } }, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack tui-avatar{--t-offset: 2.5rem}tui-avatar-stack tui-avatar[data-size=xl]{--t-offset: 2.125rem}tui-avatar-stack tui-avatar[data-size=l]{--t-offset: 1.5rem}tui-avatar-stack tui-avatar[data-size=m]{--t-offset: .75rem}tui-avatar-stack tui-avatar[data-size=s]{--t-offset: .575rem}tui-avatar-stack tui-avatar[data-size=xs]{--t-offset: .375rem}tui-avatar-stack tui-avatar._round{-webkit-mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: -1}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: 1}tui-avatar-stack[data-direction=right] tui-avatar._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child),[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom;mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom}tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child),[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom;mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom}tui-avatar-stack tui-avatar:not(._round){-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round),tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:unset;mask-size:unset}tui-avatar-stack tui-avatar:not(:last-child){margin-inline-end:calc(-1 * var(--t-offset))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
135
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatarStack, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
136
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiAvatarStack, isStandalone: true, selector: "tui-avatar-stack", inputs: { direction: "direction" }, host: { properties: { "attr.data-direction": "direction" } }, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack [tuiAvatar]{--t-offset: 2.5rem}tui-avatar-stack [tuiAvatar][data-size=xl]{--t-offset: 2.125rem}tui-avatar-stack [tuiAvatar][data-size=l]{--t-offset: 1.5rem}tui-avatar-stack [tuiAvatar][data-size=m]{--t-offset: .75rem}tui-avatar-stack [tuiAvatar][data-size=s]{--t-offset: .575rem}tui-avatar-stack [tuiAvatar][data-size=xs]{--t-offset: .375rem}tui-avatar-stack [tuiAvatar]._round{-webkit-mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] [tuiAvatar]._round{--tui-inline: -1}[dir=rtl] tui-avatar-stack[data-direction=right] [tuiAvatar]._round{--tui-inline: 1}tui-avatar-stack[data-direction=right] [tuiAvatar]._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] [tuiAvatar]._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] [tuiAvatar]:not(._round):not(:first-child),[dir=rtl] tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom;mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom}tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round):not(:last-child),[dir=rtl] tui-avatar-stack[data-direction=left] [tuiAvatar]:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom;mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom}tui-avatar-stack [tuiAvatar]:not(._round){-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[dir=rtl] tui-avatar-stack[data-direction=left] [tuiAvatar]:not(._round),tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%}[dir=rtl] tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round){-webkit-mask-size:unset;mask-size:unset}tui-avatar-stack [tuiAvatar]:not(:last-child){margin-inline-end:calc(-1 * var(--t-offset))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
156
137
  }
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarStack, decorators: [{
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAvatarStack, decorators: [{
158
139
  type: Component,
159
140
  args: [{ standalone: true, selector: 'tui-avatar-stack', template: '<ng-content />', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
160
141
  '[attr.data-direction]': 'direction',
161
- }, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack tui-avatar{--t-offset: 2.5rem}tui-avatar-stack tui-avatar[data-size=xl]{--t-offset: 2.125rem}tui-avatar-stack tui-avatar[data-size=l]{--t-offset: 1.5rem}tui-avatar-stack tui-avatar[data-size=m]{--t-offset: .75rem}tui-avatar-stack tui-avatar[data-size=s]{--t-offset: .575rem}tui-avatar-stack tui-avatar[data-size=xs]{--t-offset: .375rem}tui-avatar-stack tui-avatar._round{-webkit-mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: -1}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: 1}tui-avatar-stack[data-direction=right] tui-avatar._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child),[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom;mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom}tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child),[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom;mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom}tui-avatar-stack tui-avatar:not(._round){-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round),tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:unset;mask-size:unset}tui-avatar-stack tui-avatar:not(:last-child){margin-inline-end:calc(-1 * var(--t-offset))}\n"] }]
142
+ }, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack [tuiAvatar]{--t-offset: 2.5rem}tui-avatar-stack [tuiAvatar][data-size=xl]{--t-offset: 2.125rem}tui-avatar-stack [tuiAvatar][data-size=l]{--t-offset: 1.5rem}tui-avatar-stack [tuiAvatar][data-size=m]{--t-offset: .75rem}tui-avatar-stack [tuiAvatar][data-size=s]{--t-offset: .575rem}tui-avatar-stack [tuiAvatar][data-size=xs]{--t-offset: .375rem}tui-avatar-stack [tuiAvatar]._round{-webkit-mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] [tuiAvatar]._round{--tui-inline: -1}[dir=rtl] tui-avatar-stack[data-direction=right] [tuiAvatar]._round{--tui-inline: 1}tui-avatar-stack[data-direction=right] [tuiAvatar]._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] [tuiAvatar]._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] [tuiAvatar]:not(._round):not(:first-child),[dir=rtl] tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom;mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom}tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round):not(:last-child),[dir=rtl] tui-avatar-stack[data-direction=left] [tuiAvatar]:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom;mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom}tui-avatar-stack [tuiAvatar]:not(._round){-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[dir=rtl] tui-avatar-stack[data-direction=left] [tuiAvatar]:not(._round),tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%}[dir=rtl] tui-avatar-stack[data-direction=right] [tuiAvatar]:not(._round){-webkit-mask-size:unset;mask-size:unset}tui-avatar-stack [tuiAvatar]:not(:last-child){margin-inline-end:calc(-1 * var(--t-offset))}\n"] }]
162
143
  }], propDecorators: { direction: [{
163
144
  type: Input
164
145
  }] } });
@@ -167,5 +148,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
167
148
  * Generated bundle index. Do not edit.
168
149
  */
169
150
 
170
- export { TUI_AVATAR_DEFAULT_OPTIONS, TUI_AVATAR_OPTIONS, TuiAvatar, TuiAvatarLabeled, TuiAvatarOutline, TuiAvatarStack, tuiAvatarOptionsProvider };
151
+ export { TUI_AVATAR_OPTIONS, TuiAvatar, TuiAvatarLabeled, TuiAvatarOutline, TuiAvatarStack, tuiAvatarOptionsProvider };
171
152
  //# sourceMappingURL=taiga-ui-kit-components-avatar.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-avatar.mjs","sources":["../../../projects/kit/components/avatar/avatar.options.ts","../../../projects/kit/components/avatar/avatar.component.ts","../../../projects/kit/components/avatar/avatar.template.html","../../../projects/kit/components/avatar/avatar-labeled.component.ts","../../../projects/kit/components/avatar/avatar-outline.directive.ts","../../../projects/kit/components/avatar/avatar-stack.component.ts","../../../projects/kit/components/avatar/taiga-ui-kit-components-avatar.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives/appearance';\nimport {type TuiSizeXS, type TuiSizeXXL} from '@taiga-ui/core/types';\n\nexport interface TuiAvatarOptions extends TuiAppearanceOptions {\n readonly appearance: string;\n readonly round: boolean;\n readonly size: TuiSizeXS | TuiSizeXXL;\n}\n\nexport const TUI_AVATAR_DEFAULT_OPTIONS: TuiAvatarOptions = {\n appearance: '',\n round: true,\n size: 'l',\n};\n\nexport const TUI_AVATAR_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_AVATAR_OPTIONS' : '',\n {\n factory: () => TUI_AVATAR_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiAvatarOptionsProvider(options: Partial<TuiAvatarOptions>): Provider {\n return tuiProvideOptions(TUI_AVATAR_OPTIONS, options, TUI_AVATAR_DEFAULT_OPTIONS);\n}\n","import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TuiIcons} from '@taiga-ui/core/directives/icons';\n\nimport {TUI_AVATAR_OPTIONS} from './avatar.options';\n\n@Component({\n standalone: true,\n // TODO: Remove `tui-avatar` selector leaving only [tuiAvatar] in v5\n selector: 'tui-avatar,button[tuiAvatar],a[tuiAvatar]',\n imports: [NgIf],\n templateUrl: './avatar.template.html',\n styleUrls: ['./avatar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiIcons,\n inputs: ['iconStart: src'],\n },\n ],\n host: {\n '[attr.data-size]': 'size',\n '[attr.data-type]': 'type',\n '[class._round]': 'round',\n '[class._svg]': 'svg',\n },\n})\nexport class TuiAvatar {\n private readonly options = inject(TUI_AVATAR_OPTIONS);\n\n @Input()\n public size = this.options.size;\n\n @Input()\n public round = this.options.round;\n\n @Input()\n public src?: SafeResourceUrl | string | null;\n\n protected get value(): SafeResourceUrl | string {\n return this.src || '';\n }\n\n protected get svg(): boolean {\n return tuiIsString(this.value) && this.value.endsWith('.svg');\n }\n\n protected get type(): 'content' | 'icon' | 'img' | 'text' {\n if (this.value && !tuiIsString(this.value)) {\n return 'img';\n }\n\n if (this.value.startsWith('@tui.')) {\n return 'icon';\n }\n\n if (this.value.length > 0 && this.value.length < 3) {\n return 'text';\n }\n\n return this.value.length ? 'img' : 'content';\n }\n}\n","<img\n *ngIf=\"type === 'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n/>\n<ng-container *ngIf=\"type === 'text'\">{{ value }}</ng-container>\n<ng-content />\n","import {NgForOf, NgIf} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiFade} from '@taiga-ui/kit/directives/fade';\n\n@Component({\n standalone: true,\n selector: 'tui-avatar-labeled',\n imports: [NgForOf, NgIf, TuiFade],\n template: `\n <ng-content />\n <ng-container *ngIf=\"label.length\">\n <span\n *ngFor=\"let item of split(label)\"\n tuiFade\n >\n {{ item }}\n </span>\n </ng-container>\n `,\n styleUrls: ['./avatar-labeled.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAvatarLabeled {\n @Input()\n public label = '';\n\n @tuiPure\n protected split(label: string): readonly string[] {\n return label.split(' ');\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./avatar-outline.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-avatar-outline',\n },\n})\nclass TuiAvatarOutlineStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiAvatarOutline]',\n host: {\n '[style.--t-fill]': 'value',\n '[class._outline]': 'value',\n },\n})\nexport class TuiAvatarOutline {\n protected readonly nothing = tuiWithStyles(TuiAvatarOutlineStyles);\n\n @Input()\n public tuiAvatarOutline: string | null = '';\n\n protected get value(): string | null {\n return this.tuiAvatarOutline === ''\n ? 'var(--tui-background-accent-1)'\n : this.tuiAvatarOutline;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\n\n@Component({\n standalone: true,\n selector: 'tui-avatar-stack',\n template: '<ng-content />',\n styleUrls: ['./avatar-stack.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.data-direction]': 'direction',\n },\n})\nexport class TuiAvatarStack {\n @Input()\n public direction: TuiHorizontalDirection = 'right';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAWa,MAAA,0BAA0B,GAAqB;AACxD,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,IAAI,EAAE,GAAG;EACX;AAEW,MAAA,kBAAkB,GAAG,IAAI,cAAc,CAChD,SAAS,GAAG,oBAAoB,GAAG,EAAE,EACrC;AACI,IAAA,OAAO,EAAE,MAAM,0BAA0B;AAC5C,CAAA,EACH;AAEI,SAAU,wBAAwB,CAAC,OAAkC,EAAA;IACvE,OAAO,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,0BAA0B,CAAC,CAAC;AACtF;;ACdA,MAuBa,SAAS,CAAA;AAvBtB,IAAA,WAAA,GAAA;AAwBqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,kBAAkB,CAA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AAC9B,qBAAA;AACJ,iBAAA,CAAA;8BAKU,gBAAgB,EAAA,CAAA;sBADtB,KAAK;;;ACxBV,MAWa,cAAc,CAAA;AAX3B,IAAA,WAAA,GAAA;QAaW,IAAS,CAAA,SAAA,GAA2B,OAAO,CAAC;AACtD,KAAA;+GAHY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,8KARb,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,itJAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQjB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAX1B,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,kBAAkB,EAClB,QAAA,EAAA,gBAAgB,EAEX,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,uBAAuB,EAAE,WAAW;AACvC,qBAAA,EAAA,MAAA,EAAA,CAAA,itJAAA,CAAA,EAAA,CAAA;8BAIM,SAAS,EAAA,CAAA;sBADf,KAAK;;;ACpBV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-avatar.mjs","sources":["../../../projects/kit/components/avatar/avatar.options.ts","../../../projects/kit/components/avatar/avatar.directive.ts","../../../projects/kit/components/avatar/avatar-labeled.component.ts","../../../projects/kit/components/avatar/avatar-outline.directive.ts","../../../projects/kit/components/avatar/avatar-stack.component.ts","../../../projects/kit/components/avatar/taiga-ui-kit-components-avatar.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives/appearance';\nimport {type TuiSizeXS, type TuiSizeXXL} from '@taiga-ui/core/types';\n\nexport interface TuiAvatarOptions extends TuiAppearanceOptions {\n readonly appearance: string;\n readonly round: boolean;\n readonly size: TuiSizeXS | TuiSizeXXL;\n}\n\nexport const [TUI_AVATAR_OPTIONS, tuiAvatarOptionsProvider] =\n tuiCreateOptions<TuiAvatarOptions>({\n appearance: '',\n round: true,\n size: 'm',\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TuiIcons} from '@taiga-ui/core/directives/icons';\n\nimport {TUI_AVATAR_OPTIONS} from './avatar.options';\n\n@Component({\n template: '',\n styles: '@import \"@taiga-ui/kit/styles/components/avatar.less\";',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-avatar'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiAvatar]',\n providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiIcons,\n inputs: ['iconStart: tuiAvatar'],\n },\n ],\n host: {\n tuiAvatar: '',\n '[attr.data-size]': 'size()',\n '[attr.data-shape]': 'round() ? \"round\" : \"square\"',\n '[class._initials]': 'icons.iconStart()?.length < 3',\n '[class._fallback]': 'fallback()',\n '[class._badge]': 'badge()',\n '[style.--t-badge]': 'badge()',\n '(error.capture)': 'fallback.set(true)',\n '(load.capture)': 'fallback.set(false)',\n },\n})\nexport class TuiAvatar {\n private readonly options = inject(TUI_AVATAR_OPTIONS);\n\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly icons = inject(TuiIcons);\n protected readonly fallback = signal(false);\n\n public readonly size = input(this.options.size);\n public readonly round = input(this.options.round);\n public readonly badge = input('');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiFade} from '@taiga-ui/kit/directives/fade';\n\n@Component({\n selector: 'tui-avatar-labeled',\n imports: [TuiFade],\n template: `\n <ng-content />\n @if (label.length) {\n @for (item of split(label); track item) {\n <span tuiFade>\n {{ item }}\n </span>\n }\n }\n `,\n styleUrl: './avatar-labeled.styles.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAvatarLabeled {\n @Input()\n public label = '';\n\n @tuiPure\n protected split(label: string): readonly string[] {\n return label.split(' ');\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrl: './avatar-outline.styles.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-avatar-outline'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiAvatarOutline]',\n host: {\n '[style.--t-fill]': 'value()',\n '[class._outline]': 'value()',\n },\n})\nexport class TuiAvatarOutline {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly value = computed((value = this.tuiAvatarOutline()) =>\n value === '' ? 'var(--tui-background-accent-1)' : value,\n );\n\n public readonly tuiAvatarOutline = input<string | null>('');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\n\n@Component({\n standalone: true,\n selector: 'tui-avatar-stack',\n template: '<ng-content />',\n styleUrl: './avatar-stack.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.data-direction]': 'direction',\n },\n})\nexport class TuiAvatarStack {\n @Input()\n public direction: TuiHorizontalDirection = 'right';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Styles"],"mappings":";;;;;;;;;;;MAUa,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,GACvD,gBAAgB,CAAmB;AAC/B,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,IAAI,EAAE,GAAG;AACZ,CAAA;;eCGL,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,gHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,6wFAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMVA,QAAM,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,YAAY,EAAC,EAAA,MAAA,EAAA,CAAA,6wFAAA,CAAA,EAAA;;MA0BlB,SAAS,CAAA;AAtBtB,IAAA,WAAA,GAAA;AA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AA;AAX3B,IAAA,WAAA,GAAA;QAaW,IAAS,CAAA,SAAA,GAA2B,OAAO;AACrD;+GAHY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,8KARb,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,quJAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAQjB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAX1B,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,kBAAkB,EAClB,QAAA,EAAA,gBAAgB,EAEX,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,uBAAuB,EAAE,WAAW;AACvC,qBAAA,EAAA,MAAA,EAAA,CAAA,quJAAA,CAAA,EAAA;8BAIM,SAAS,EAAA,CAAA;sBADf;;;ACpBL;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, Component, ChangeDetectionStrategy, Input } from '@angular/core';
2
+ import { InjectionToken, inject, Input, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import * as i1 from '@taiga-ui/cdk/directives/animated';
4
4
  import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
5
5
  import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
@@ -18,10 +18,10 @@ class TuiBadgeNotification {
18
18
  constructor() {
19
19
  this.size = inject(TUI_BADGE_NOTIFICATION_OPTIONS).size;
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgeNotification, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBadgeNotification, isStandalone: true, selector: "tui-badge-notification", inputs: { size: "size" }, host: { properties: { "attr.data-size": "size" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{--t-size: 1.5rem;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:#fff;border-radius:2rem;white-space:nowrap;overflow:hidden;vertical-align:middle;font:var(--tui-font-text-s);max-inline-size:100%;padding:0 .25rem;background:#f52222;block-size:var(--t-size);min-inline-size:var(--t-size)}:host.tui-enter{animation:tuiScale var(--tui-duration) cubic-bezier(.34,1.56,.64,1)}:host.tui-leave{animation:tuiScale var(--tui-duration) ease-in-out reverse}:host[data-size=m]{--t-size: 1.25rem}:host[data-size=s]{--t-size: 1rem;padding:0 .125rem;font:var(--tui-font-text-xs)}:host[data-size=xs]{--t-size: .375rem;padding:0;font-size:0}:host :host-context([tuiIconButton]){position:absolute;right:25%;top:25%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiBadgeNotification, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiBadgeNotification, isStandalone: true, selector: "tui-badge-notification", inputs: { size: "size" }, host: { properties: { "attr.data-size": "size" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{--t-size: 1.5rem;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:#fff;border-radius:2rem;white-space:nowrap;overflow:hidden;vertical-align:middle;font:var(--tui-font-text-s);max-inline-size:100%;padding:0 .25rem;background:#f52222;block-size:var(--t-size);min-inline-size:var(--t-size)}:host.tui-enter{animation:tuiScale var(--tui-duration) cubic-bezier(.34,1.56,.64,1)}:host.tui-leave{animation:tuiScale var(--tui-duration) ease-in-out reverse}:host[data-size=m]{--t-size: 1.25rem}:host[data-size=s]{--t-size: 1rem;padding:0 .125rem;font:var(--tui-font-text-xs)}:host[data-size=xs]{--t-size: .375rem;padding:0;font-size:0}:host :host-context([tuiIconButton]){position:absolute;right:25%;top:25%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgeNotification, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiBadgeNotification, decorators: [{
25
25
  type: Component,
26
26
  args: [{ standalone: true, selector: 'tui-badge-notification', template: '<ng-content />', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
27
27
  '[attr.data-size]': 'size',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-badge-notification.mjs","sources":["../../../projects/kit/components/badge-notification/badge-notification.options.ts","../../../projects/kit/components/badge-notification/badge-notification.component.ts","../../../projects/kit/components/badge-notification/taiga-ui-kit-components-badge-notification.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nexport interface TuiBadgeNotificationOptions {\n readonly size: TuiSizeL | TuiSizeXS;\n}\n\nexport const TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS: TuiBadgeNotificationOptions = {\n size: 'm',\n};\n\nexport const TUI_BADGE_NOTIFICATION_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_BADGE_NOTIFICATION_OPTIONS' : '',\n {\n factory: () => TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiBadgeNotificationOptionsProvider(\n options: Partial<TuiBadgeNotificationOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_BADGE_NOTIFICATION_OPTIONS,\n options,\n TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nimport {TUI_BADGE_NOTIFICATION_OPTIONS} from './badge-notification.options';\n\n@Component({\n standalone: true,\n selector: 'tui-badge-notification',\n template: '<ng-content />',\n styleUrls: ['./badge-notification.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiBadgeNotification {\n @Input()\n public size: TuiSizeL | TuiSizeXS = inject(TUI_BADGE_NOTIFICATION_OPTIONS).size;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAQa,MAAA,sCAAsC,GAAgC;AAC/E,IAAA,IAAI,EAAE,GAAG;EACX;AAEW,MAAA,8BAA8B,GAAG,IAAI,cAAc,CAC5D,SAAS,GAAG,gCAAgC,GAAG,EAAE,EACjD;AACI,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACxD,CAAA,EACH;AAEI,SAAU,mCAAmC,CAC/C,OAA6C,EAAA;IAE7C,OAAO,iBAAiB,CACpB,8BAA8B,EAC9B,OAAO,EACP,sCAAsC,CACzC,CAAC;AACN;;ACrBA,MAWa,oBAAoB,CAAA;AAXjC,IAAA,WAAA,GAAA;AAaW,QAAA,IAAA,CAAA,IAAI,GAAyB,MAAM,CAAC,8BAA8B,CAAC,CAAC,IAAI,CAAC;AACnF,KAAA;+GAHY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,iNARnB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,8vBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAQjB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAXhC,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,wBAAwB,EACxB,QAAA,EAAA,gBAAgB,EAET,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA,CAAC,WAAW,CAAC,EACvB,IAAA,EAAA;AACF,wBAAA,kBAAkB,EAAE,MAAM;AAC7B,qBAAA,EAAA,MAAA,EAAA,CAAA,8vBAAA,CAAA,EAAA,CAAA;8BAIM,IAAI,EAAA,CAAA;sBADV,KAAK;;;AClBV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-badge-notification.mjs","sources":["../../../projects/kit/components/badge-notification/badge-notification.options.ts","../../../projects/kit/components/badge-notification/badge-notification.component.ts","../../../projects/kit/components/badge-notification/taiga-ui-kit-components-badge-notification.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nexport interface TuiBadgeNotificationOptions {\n readonly size: TuiSizeL | TuiSizeXS;\n}\n\nexport const TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS: TuiBadgeNotificationOptions = {\n size: 'm',\n};\n\nexport const TUI_BADGE_NOTIFICATION_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_BADGE_NOTIFICATION_OPTIONS' : '',\n {\n factory: () => TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiBadgeNotificationOptionsProvider(\n options: Partial<TuiBadgeNotificationOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_BADGE_NOTIFICATION_OPTIONS,\n options,\n TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiSizeL, type TuiSizeXS} from '@taiga-ui/core/types';\n\nimport {TUI_BADGE_NOTIFICATION_OPTIONS} from './badge-notification.options';\n\n@Component({\n standalone: true,\n selector: 'tui-badge-notification',\n template: '<ng-content />',\n styleUrl: './badge-notification.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiBadgeNotification {\n @Input()\n public size: TuiSizeL | TuiSizeXS = inject(TUI_BADGE_NOTIFICATION_OPTIONS).size;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAQa,MAAA,sCAAsC,GAAgC;AAC/E,IAAA,IAAI,EAAE,GAAG;;AAGA,MAAA,8BAA8B,GAAG,IAAI,cAAc,CAC5D,SAAS,GAAG,gCAAgC,GAAG,EAAE,EACjD;AACI,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACxD,CAAA;AAGC,SAAU,mCAAmC,CAC/C,OAA6C,EAAA;IAE7C,OAAO,iBAAiB,CACpB,8BAA8B,EAC9B,OAAO,EACP,sCAAsC,CACzC;AACL;;MCVa,oB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