@taiga-ui/kit 4.51.0 → 4.52.0-canary.34c26c6

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 (726) hide show
  1. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  2. package/components/files/file/file.options.d.ts +1 -1
  3. package/components/index.d.ts +1 -0
  4. package/components/input-chip/input-chip.options.d.ts +1 -1
  5. package/components/input-color/input-color.component.d.ts +2 -1
  6. package/components/input-color/input-color.options.d.ts +1 -1
  7. package/components/input-date/input-date.directive.d.ts +1 -1
  8. package/components/input-date/input-date.options.d.ts +1 -1
  9. package/components/input-number/input-number.options.d.ts +1 -1
  10. package/components/input-number/quantum.directive.d.ts +1 -1
  11. package/components/input-phone/input-phone.options.d.ts +1 -1
  12. package/components/input-time/input-time.component.d.ts +1 -1
  13. package/components/input-time/input-time.options.d.ts +1 -1
  14. package/components/like/like.options.d.ts +1 -1
  15. package/components/notification-middle/index.d.ts +3 -0
  16. package/components/notification-middle/notification-middle.component.d.ts +16 -0
  17. package/components/notification-middle/notification-middle.directive.d.ts +7 -0
  18. package/components/notification-middle/notification-middle.service.d.ts +7 -0
  19. package/components/segmented/segmented.component.d.ts +6 -4
  20. package/components/textarea/textarea-limit.directive.d.ts +0 -1
  21. package/components/textarea/textarea.options.d.ts +1 -1
  22. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  23. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -6
  24. package/directives/copy/copy.options.d.ts +1 -1
  25. package/directives/highlight/highlight.directive.d.ts +3 -1
  26. package/directives/password/password.options.d.ts +1 -1
  27. package/directives/tooltip/tooltip.options.d.ts +4 -1
  28. package/fesm2022/taiga-ui-kit-components-accordion.mjs +14 -14
  29. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
  31. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-kit-components-avatar.mjs +18 -18
  33. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -4
  35. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-kit-components-badge.mjs +8 -8
  37. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -8
  39. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-kit-components-block.mjs +7 -7
  41. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +4 -4
  43. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +4 -4
  45. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -5
  47. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +6 -6
  49. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-kit-components-carousel.mjs +18 -18
  51. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -5
  53. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-kit-components-chip.mjs +8 -8
  55. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +4 -4
  57. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-kit-components-comment.mjs +8 -8
  59. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
  61. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-confirm.mjs +9 -10
  63. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +9 -9
  65. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-components-drawer.mjs +6 -6
  67. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +7 -7
  69. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components-files.mjs +38 -30
  71. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-components-filter.mjs +4 -4
  73. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +7 -7
  75. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +10 -10
  77. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-kit-components-input-color.mjs +8 -8
  79. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +4 -4
  81. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -4
  83. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +7 -7
  85. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-input-date.mjs +11 -11
  87. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +4 -4
  89. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +3 -3
  91. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-kit-components-input-month.mjs +7 -7
  93. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-kit-components-input-number.mjs +20 -20
  95. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-kit-components-input-password.mjs +4 -4
  97. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +14 -14
  99. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +9 -10
  101. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +6 -5
  103. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-input-range.mjs +5 -5
  105. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +7 -7
  107. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-input-time.mjs +10 -10
  109. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-input-year.mjs +4 -4
  111. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +16 -16
  113. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-like.mjs +5 -5
  115. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +12 -12
  117. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-message.mjs +8 -8
  119. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +14 -14
  121. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +97 -0
  123. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -0
  124. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -6
  125. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-pagination.mjs +4 -4
  127. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +10 -10
  129. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-pin.mjs +8 -8
  131. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +10 -10
  133. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-preview.mjs +25 -25
  135. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-progress.mjs +28 -28
  137. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
  139. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-push.mjs +15 -15
  141. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +5 -5
  143. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-radio.mjs +8 -8
  145. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-range.mjs +8 -8
  147. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-rating.mjs +6 -7
  149. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +5 -5
  151. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-segmented.mjs +8 -8
  153. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-select.mjs +11 -11
  155. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-slider.mjs +19 -20
  157. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-slides.mjs +7 -7
  159. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-status.mjs +7 -7
  161. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-stepper.mjs +7 -7
  163. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-switch.mjs +5 -5
  165. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-tabs.mjs +26 -24
  167. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-textarea.mjs +16 -17
  169. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -13
  171. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-tree.mjs +29 -37
  173. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components.mjs +1 -0
  175. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  177. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  179. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
  181. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +7 -7
  183. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-directives-connected.mjs +8 -8
  185. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-directives-copy.mjs +8 -8
  187. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -4
  189. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -9
  191. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
  193. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -5
  195. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +8 -8
  197. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -8
  199. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-directives-password.mjs +3 -3
  201. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -4
  203. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +8 -8
  205. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +8 -8
  207. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -7
  209. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +7 -7
  211. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +4 -4
  213. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
  215. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  217. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +7 -7
  219. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  221. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  223. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
  225. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  227. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  229. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-tokens.mjs +3 -3
  231. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
  233. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  234. package/package.json +12 -218
  235. package/styles/components/chip.less +6 -0
  236. package/tokens/input-date-options.d.ts +1 -1
  237. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  238. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  239. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  240. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  241. package/esm2022/components/accordion/accordion.mjs +0 -11
  242. package/esm2022/components/accordion/index.mjs +0 -6
  243. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  244. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  245. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  246. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  247. package/esm2022/components/action-bar/index.mjs +0 -4
  248. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  249. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  250. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  251. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  252. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  253. package/esm2022/components/avatar/avatar.options.mjs +0 -14
  254. package/esm2022/components/avatar/index.mjs +0 -6
  255. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  256. package/esm2022/components/badge/badge.directive.mjs +0 -42
  257. package/esm2022/components/badge/badge.options.mjs +0 -13
  258. package/esm2022/components/badge/index.mjs +0 -3
  259. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  260. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  261. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  262. package/esm2022/components/badge-notification/index.mjs +0 -3
  263. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  264. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  265. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  266. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  267. package/esm2022/components/badged-content/index.mjs +0 -4
  268. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  269. package/esm2022/components/block/block.directive.mjs +0 -58
  270. package/esm2022/components/block/block.options.mjs +0 -13
  271. package/esm2022/components/block/index.mjs +0 -3
  272. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  273. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  274. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  275. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  276. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  277. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  278. package/esm2022/components/button-loading/index.mjs +0 -2
  279. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  280. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  281. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  282. package/esm2022/components/calendar-month/index.mjs +0 -3
  283. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  284. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  285. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  286. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  287. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  288. package/esm2022/components/calendar-range/index.mjs +0 -5
  289. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  290. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  291. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  292. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  293. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  294. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  295. package/esm2022/components/carousel/carousel.mjs +0 -15
  296. package/esm2022/components/carousel/index.mjs +0 -7
  297. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  298. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  299. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  300. package/esm2022/components/checkbox/index.mjs +0 -3
  301. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  302. package/esm2022/components/chip/chip.directive.mjs +0 -63
  303. package/esm2022/components/chip/chip.options.mjs +0 -13
  304. package/esm2022/components/chip/index.mjs +0 -3
  305. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  306. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  307. package/esm2022/components/combo-box/index.mjs +0 -2
  308. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  309. package/esm2022/components/comment/comment.directive.mjs +0 -35
  310. package/esm2022/components/comment/index.mjs +0 -2
  311. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  312. package/esm2022/components/compass/compass.component.mjs +0 -19
  313. package/esm2022/components/compass/index.mjs +0 -2
  314. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  315. package/esm2022/components/confirm/confirm.component.mjs +0 -29
  316. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  317. package/esm2022/components/confirm/index.mjs +0 -3
  318. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  319. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  320. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  321. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  322. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  323. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  324. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  325. package/esm2022/components/drawer/index.mjs +0 -2
  326. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  327. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  328. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  329. package/esm2022/components/elastic-container/index.mjs +0 -3
  330. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  331. package/esm2022/components/files/file/file.component.mjs +0 -144
  332. package/esm2022/components/files/file/file.options.mjs +0 -16
  333. package/esm2022/components/files/files/files.component.mjs +0 -49
  334. package/esm2022/components/files/files.mjs +0 -15
  335. package/esm2022/components/files/files.types.mjs +0 -2
  336. package/esm2022/components/files/files.utils.mjs +0 -30
  337. package/esm2022/components/files/files.validators.mjs +0 -32
  338. package/esm2022/components/files/index.mjs +0 -13
  339. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  340. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  341. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  342. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  343. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  344. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  345. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  346. package/esm2022/components/filter/filter.component.mjs +0 -65
  347. package/esm2022/components/filter/index.mjs +0 -2
  348. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  349. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  350. package/esm2022/components/floating-container/index.mjs +0 -2
  351. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  352. package/esm2022/components/index.mjs +0 -72
  353. package/esm2022/components/input-chip/index.mjs +0 -5
  354. package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
  355. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
  356. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  357. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  358. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  359. package/esm2022/components/input-color/index.mjs +0 -3
  360. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  361. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  362. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  363. package/esm2022/components/input-date/date-filler.mjs +0 -20
  364. package/esm2022/components/input-date/index.mjs +0 -6
  365. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  366. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  367. package/esm2022/components/input-date/input-date.mjs +0 -9
  368. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  369. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  370. package/esm2022/components/input-date-multi/index.mjs +0 -3
  371. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  372. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  373. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  374. package/esm2022/components/input-date-range/index.mjs +0 -4
  375. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  376. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  377. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  378. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  379. package/esm2022/components/input-date-time/index.mjs +0 -5
  380. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  381. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
  382. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  383. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  384. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  385. package/esm2022/components/input-inline/index.mjs +0 -2
  386. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  387. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  388. package/esm2022/components/input-month/index.mjs +0 -5
  389. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  390. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  391. package/esm2022/components/input-month/input-month.mjs +0 -9
  392. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  393. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  394. package/esm2022/components/input-month-range/index.mjs +0 -4
  395. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  396. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  397. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  398. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  399. package/esm2022/components/input-number/index.mjs +0 -6
  400. package/esm2022/components/input-number/input-number.directive.mjs +0 -196
  401. package/esm2022/components/input-number/input-number.mjs +0 -9
  402. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  403. package/esm2022/components/input-number/quantum.directive.mjs +0 -68
  404. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  405. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  406. package/esm2022/components/input-password/index.mjs +0 -3
  407. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  408. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  409. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  410. package/esm2022/components/input-phone/index.mjs +0 -3
  411. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  412. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  413. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  414. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  415. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  416. package/esm2022/components/input-phone-international/index.mjs +0 -3
  417. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  418. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  419. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  420. package/esm2022/components/input-pin/index.mjs +0 -2
  421. package/esm2022/components/input-pin/input-pin.component.mjs +0 -65
  422. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  423. package/esm2022/components/input-range/index.mjs +0 -3
  424. package/esm2022/components/input-range/input-range.component.mjs +0 -166
  425. package/esm2022/components/input-range/input-range.mjs +0 -4
  426. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  427. package/esm2022/components/input-slider/index.mjs +0 -3
  428. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
  429. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  430. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  431. package/esm2022/components/input-time/index.mjs +0 -5
  432. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  433. package/esm2022/components/input-time/input-time.directive.mjs +0 -159
  434. package/esm2022/components/input-time/input-time.mjs +0 -4
  435. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  436. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  437. package/esm2022/components/input-year/index.mjs +0 -4
  438. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  439. package/esm2022/components/input-year/input-year.mjs +0 -4
  440. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  441. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  442. package/esm2022/components/items-with-more/index.mjs +0 -6
  443. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  444. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  445. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  446. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  447. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  448. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  449. package/esm2022/components/like/index.mjs +0 -3
  450. package/esm2022/components/like/like.component.mjs +0 -46
  451. package/esm2022/components/like/like.options.mjs +0 -10
  452. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  453. package/esm2022/components/line-clamp/index.mjs +0 -4
  454. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  455. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  456. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
  457. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  458. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  459. package/esm2022/components/message/index.mjs +0 -2
  460. package/esm2022/components/message/message.directive.mjs +0 -43
  461. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  462. package/esm2022/components/multi-select/index.mjs +0 -6
  463. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
  464. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  465. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
  466. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  467. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  468. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  469. package/esm2022/components/pager/index.mjs +0 -2
  470. package/esm2022/components/pager/pager.component.mjs +0 -97
  471. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  472. package/esm2022/components/pagination/index.mjs +0 -2
  473. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  474. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  475. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  476. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  477. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  478. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  479. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  480. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  481. package/esm2022/components/pin/index.mjs +0 -2
  482. package/esm2022/components/pin/pin.directive.mjs +0 -35
  483. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  484. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  485. package/esm2022/components/preview/dialog/index.mjs +0 -4
  486. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  487. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  488. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  489. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  490. package/esm2022/components/preview/index.mjs +0 -8
  491. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  492. package/esm2022/components/preview/preview.component.mjs +0 -142
  493. package/esm2022/components/preview/preview.mjs +0 -13
  494. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  495. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  496. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  497. package/esm2022/components/progress/index.mjs +0 -9
  498. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  499. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  500. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  501. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  502. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  503. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  504. package/esm2022/components/progress/progress.mjs +0 -15
  505. package/esm2022/components/progress/progress.options.mjs +0 -13
  506. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  507. package/esm2022/components/pulse/index.mjs +0 -2
  508. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  509. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  510. package/esm2022/components/push/index.mjs +0 -7
  511. package/esm2022/components/push/push-alert.component.mjs +0 -29
  512. package/esm2022/components/push/push.component.mjs +0 -39
  513. package/esm2022/components/push/push.directive.mjs +0 -33
  514. package/esm2022/components/push/push.mjs +0 -5
  515. package/esm2022/components/push/push.options.mjs +0 -21
  516. package/esm2022/components/push/push.service.mjs +0 -19
  517. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  518. package/esm2022/components/radio/index.mjs +0 -5
  519. package/esm2022/components/radio/radio.component.mjs +0 -53
  520. package/esm2022/components/radio/radio.directive.mjs +0 -32
  521. package/esm2022/components/radio/radio.mjs +0 -4
  522. package/esm2022/components/radio/radio.options.mjs +0 -13
  523. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  524. package/esm2022/components/radio-list/index.mjs +0 -2
  525. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  526. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  527. package/esm2022/components/range/index.mjs +0 -3
  528. package/esm2022/components/range/range-change.directive.mjs +0 -78
  529. package/esm2022/components/range/range.component.mjs +0 -164
  530. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  531. package/esm2022/components/rating/index.mjs +0 -3
  532. package/esm2022/components/rating/rating.component.mjs +0 -65
  533. package/esm2022/components/rating/rating.options.mjs +0 -13
  534. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  535. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  536. package/esm2022/components/routable-dialog/index.mjs +0 -3
  537. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  538. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  539. package/esm2022/components/segmented/index.mjs +0 -3
  540. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  541. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  542. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  543. package/esm2022/components/select/index.mjs +0 -5
  544. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  545. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  546. package/esm2022/components/select/select.directive.mjs +0 -56
  547. package/esm2022/components/select/select.mjs +0 -4
  548. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  549. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  550. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  551. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  552. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  553. package/esm2022/components/slider/index.mjs +0 -8
  554. package/esm2022/components/slider/slider.component.mjs +0 -124
  555. package/esm2022/components/slider/slider.mjs +0 -12
  556. package/esm2022/components/slider/slider.options.mjs +0 -16
  557. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  558. package/esm2022/components/slides/index.mjs +0 -2
  559. package/esm2022/components/slides/slides.directive.mjs +0 -51
  560. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  561. package/esm2022/components/status/index.mjs +0 -2
  562. package/esm2022/components/status/status.directive.mjs +0 -35
  563. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  564. package/esm2022/components/stepper/index.mjs +0 -4
  565. package/esm2022/components/stepper/step.component.mjs +0 -58
  566. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  567. package/esm2022/components/stepper/stepper.mjs +0 -4
  568. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  569. package/esm2022/components/switch/index.mjs +0 -3
  570. package/esm2022/components/switch/switch.component.mjs +0 -63
  571. package/esm2022/components/switch/switch.options.mjs +0 -15
  572. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  573. package/esm2022/components/tabs/index.mjs +0 -9
  574. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  575. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  576. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  577. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -211
  578. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  579. package/esm2022/components/tabs/tabs.mjs +0 -15
  580. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  581. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  582. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  583. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  584. package/esm2022/components/textarea/index.mjs +0 -4
  585. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  586. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -94
  587. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  588. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  589. package/esm2022/components/tiles/index.mjs +0 -7
  590. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  591. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  592. package/esm2022/components/tiles/tile.component.mjs +0 -69
  593. package/esm2022/components/tiles/tile.service.mjs +0 -90
  594. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  595. package/esm2022/components/tiles/tiles.mjs +0 -5
  596. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  597. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  598. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  599. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  600. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  601. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  602. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  603. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  604. package/esm2022/components/tree/index.mjs +0 -12
  605. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  606. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  607. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  608. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  609. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  610. package/esm2022/components/tree/tree.mjs +0 -17
  611. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  612. package/esm2022/directives/button-close/index.mjs +0 -2
  613. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  614. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  615. package/esm2022/directives/button-group/index.mjs +0 -2
  616. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  617. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  618. package/esm2022/directives/button-select/index.mjs +0 -2
  619. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  620. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  621. package/esm2022/directives/chevron/index.mjs +0 -2
  622. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  623. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  624. package/esm2022/directives/connected/index.mjs +0 -2
  625. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  626. package/esm2022/directives/copy/copy.component.mjs +0 -48
  627. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  628. package/esm2022/directives/copy/copy.mjs +0 -4
  629. package/esm2022/directives/copy/copy.options.mjs +0 -3
  630. package/esm2022/directives/copy/index.mjs +0 -6
  631. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  632. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  633. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  634. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  635. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  636. package/esm2022/directives/fade/index.mjs +0 -2
  637. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  638. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  639. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  640. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  641. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  642. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  643. package/esm2022/directives/highlight/index.mjs +0 -2
  644. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  645. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  646. package/esm2022/directives/icon-badge/index.mjs +0 -2
  647. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  648. package/esm2022/directives/index.mjs +0 -21
  649. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  650. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  651. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  652. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  653. package/esm2022/directives/password/index.mjs +0 -3
  654. package/esm2022/directives/password/password.directive.mjs +0 -67
  655. package/esm2022/directives/password/password.options.mjs +0 -8
  656. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  657. package/esm2022/directives/present/index.mjs +0 -2
  658. package/esm2022/directives/present/present.directive.mjs +0 -33
  659. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  660. package/esm2022/directives/sensitive/index.mjs +0 -2
  661. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  662. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  663. package/esm2022/directives/shimmer/index.mjs +0 -2
  664. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  665. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  666. package/esm2022/directives/skeleton/index.mjs +0 -2
  667. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  668. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  669. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  670. package/esm2022/directives/tooltip/index.mjs +0 -3
  671. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  672. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  673. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  674. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  675. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  676. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  677. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  678. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  679. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  680. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  681. package/esm2022/index.mjs +0 -6
  682. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  683. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  684. package/esm2022/pipes/emails/index.mjs +0 -3
  685. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  686. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  687. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  688. package/esm2022/pipes/field-error/index.mjs +0 -3
  689. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  690. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  691. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  692. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  693. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  694. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  695. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  696. package/esm2022/pipes/index.mjs +0 -8
  697. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  698. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  699. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  700. package/esm2022/pipes/stringify/index.mjs +0 -2
  701. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  702. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  703. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  704. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  705. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  706. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  707. package/esm2022/taiga-ui-kit.mjs +0 -5
  708. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  709. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  710. package/esm2022/tokens/i18n.mjs +0 -75
  711. package/esm2022/tokens/index.mjs +0 -10
  712. package/esm2022/tokens/input-date-options.mjs +0 -13
  713. package/esm2022/tokens/items-handlers.mjs +0 -27
  714. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  715. package/esm2022/tokens/month-formatter.mjs +0 -12
  716. package/esm2022/tokens/preview-icons.mjs +0 -17
  717. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  718. package/esm2022/tokens/validation-errors.mjs +0 -6
  719. package/esm2022/utils/create-time-periods.mjs +0 -12
  720. package/esm2022/utils/index.mjs +0 -7
  721. package/esm2022/utils/inject-value.mjs +0 -11
  722. package/esm2022/utils/is-flat.mjs +0 -4
  723. package/esm2022/utils/maskito.binding.mjs +0 -6
  724. package/esm2022/utils/phone.mjs +0 -6
  725. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  726. package/esm2022/utils/toggle-day.mjs +0 -6
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-progress.mjs","sources":["../../../projects/kit/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.ts","../../../projects/kit/components/progress/progress.options.ts","../../../projects/kit/components/progress/progress-bar/progress-bar.component.ts","../../../projects/kit/components/progress/progress-bar/progress-color-segments.directive.ts","../../../projects/kit/components/progress/progress-circle/progress-circle.component.ts","../../../projects/kit/components/progress/progress-circle/progress-circle.template.html","../../../projects/kit/components/progress/progress-label/progress-label.component.ts","../../../projects/kit/components/progress/progress-label/progress-label.template.html","../../../projects/kit/components/progress/progress-segmented/progress-segmented.directive.ts","../../../projects/kit/components/progress/progress.ts","../../../projects/kit/components/progress/taiga-ui-kit-components-progress.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./progress-fixed-gradient.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-fixed-gradient',\n },\n})\nclass TuiProgressFixedGradientStyles {}\n\n@Directive({\n standalone: true,\n selector: 'progress[tuiProgressBar][tuiProgressFixedGradient]',\n host: {\n '[style.--tui-progress-percent.%]': 'progressPercent',\n },\n})\nexport class TuiProgressFixedGradientDirective {\n private readonly nativeProgress = tuiInjectElement<HTMLProgressElement>();\n protected readonly nothing = tuiWithStyles(TuiProgressFixedGradientStyles);\n\n protected get progressPercent(): number {\n const {value} = this.nativeProgress;\n const max = this.nativeProgress.max ?? 1;\n\n return Math.min((value / max) * 100, 100);\n }\n}\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeXXL, type TuiSizeXXS} from '@taiga-ui/core/types';\n\nexport interface TuiProgressOptions {\n readonly color: string | null;\n readonly size: TuiSizeXXL | TuiSizeXXS;\n}\n\nexport const TUI_PROGRESS_DEFAULT_OPTIONS: TuiProgressOptions = {\n color: null,\n size: 'm',\n};\n\nexport const TUI_PROGRESS_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_PROGRESS_OPTIONS' : '',\n {\n factory: () => TUI_PROGRESS_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiProgressOptionsProvider(\n options: Partial<TuiProgressOptions>,\n): Provider {\n return tuiProvideOptions(TUI_PROGRESS_OPTIONS, options, TUI_PROGRESS_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiSizeXXL, type TuiSizeXXS} from '@taiga-ui/core/types';\n\nimport {TUI_PROGRESS_OPTIONS} from '../progress.options';\n\n@Component({\n standalone: true,\n selector: 'progress[tuiProgressBar]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/progress-bar.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[style.--tui-progress-color]': 'color',\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiProgressBar {\n private readonly options = inject(TUI_PROGRESS_OPTIONS);\n\n @Input()\n public color: string | null = this.options.color;\n\n @Input()\n public size: TuiSizeXXL | TuiSizeXXS = this.options.size;\n}\n","import {Directive, inject, Input} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiWatch, tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {BehaviorSubject, combineLatest, distinctUntilChanged, map} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: 'progress[tuiProgressBar][tuiProgressColorSegments]',\n providers: [ResizeObserverService],\n host: {'[style.--tui-progress-color]': 'color()'},\n})\nexport class TuiProgressColorSegments {\n private readonly colors$ = new BehaviorSubject<string[]>([]);\n private readonly el = tuiInjectElement<HTMLProgressElement>();\n\n protected readonly color = toSignal(\n combineLatest([\n this.colors$,\n inject(ResizeObserverService, {self: true}).pipe(\n map(() => this.el.offsetWidth),\n distinctUntilChanged(),\n ),\n ]).pipe(\n map(([colors, width]) => {\n const segmentWidth = Math.ceil(width / colors.length);\n const colorsString = colors.reduce(\n (acc, color, i) =>\n `${acc}, ${color} ${i * segmentWidth}px ${(i + 1) * segmentWidth}px`,\n '',\n );\n\n return `linear-gradient(to right ${colorsString})`;\n }),\n tuiZonefull(),\n tuiWatch(),\n ),\n );\n\n @Input('tuiProgressColorSegments')\n public set colors(colors: string[]) {\n this.colors$.next(colors);\n }\n}\n","import {type BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {type TuiSizeXXL, type TuiSizeXXS} from '@taiga-ui/core/types';\nimport {delay, of} from 'rxjs';\n\nimport {TUI_PROGRESS_OPTIONS} from '../progress.options';\n\n@Component({\n standalone: true,\n selector: 'tui-progress-circle',\n templateUrl: './progress-circle.template.html',\n styleUrls: ['./progress-circle.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.data-size]': 'size',\n '[style.--tui-progress-color]': 'color',\n '[style.--t-progress-ratio]': 'progressRatio',\n '[class._arc]': 'arc',\n },\n})\nexport class TuiProgressCircle {\n private readonly options = inject(TUI_PROGRESS_OPTIONS);\n\n protected readonly animationDelay = toSignal(of(true).pipe(delay(0)));\n\n @Input()\n public value = 0;\n\n @Input()\n public max = 1;\n\n @Input()\n public color: string | null = this.options.color;\n\n @Input()\n public size: TuiSizeXXL | TuiSizeXXS = this.options.size;\n\n @Input({transform: coerceBooleanProperty})\n public arc: BooleanInput = false;\n\n protected get progressRatio(): number {\n const ratio = this.value / this.max;\n\n return Number.isFinite(ratio) ? ratio : 0;\n }\n}\n","<progress\n class=\"t-hidden-progress\"\n [max]=\"max\"\n [value]=\"value\"\n></progress>\n\n<svg\n aria-hidden=\"true\"\n height=\"100%\"\n width=\"100%\"\n class=\"t-svg\"\n>\n <circle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-track\"\n />\n\n <circle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-progress\"\n [class.t-progress_filled]=\"animationDelay()\"\n />\n</svg>\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n standalone: true,\n selector: 'label[tuiProgressLabel]',\n templateUrl: './progress-label.template.html',\n styleUrls: ['./progress-label.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressLabel {}\n","<ng-content select=\"progress\" />\n<ng-content select=\"tui-progress-circle\" />\n<span class=\"t-label\">\n <ng-content />\n</span>\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: ['./progress-segmented.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-progress-segmented'},\n})\nclass TuiProgressSegmentedStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiProgressBar][segments]',\n host: {\n class: '_segmented',\n '[style.--t-segment-width]': '1 / segments',\n },\n})\nexport class TuiProgressSegmented {\n protected readonly nothing = tuiWithStyles(TuiProgressSegmentedStyles);\n\n @Input()\n public segments = 1;\n}\n","import {TuiProgressFixedGradientDirective} from './progress-bar/fixed-gradient/progress-fixed-gradient.directive';\nimport {TuiProgressBar} from './progress-bar/progress-bar.component';\nimport {TuiProgressColorSegments} from './progress-bar/progress-color-segments.directive';\nimport {TuiProgressCircle} from './progress-circle/progress-circle.component';\nimport {TuiProgressLabel} from './progress-label/progress-label.component';\nimport {TuiProgressSegmented} from './progress-segmented/progress-segmented.directive';\n\nexport const TuiProgress = [\n TuiProgressBar,\n TuiProgressCircle,\n TuiProgressColorSegments,\n TuiProgressFixedGradientDirective,\n TuiProgressLabel,\n TuiProgressSegmented,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AASA,MAUM,8BAA8B,CAAA;+GAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SA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;AARjC,IAAA,WAAA,GAAA;AASuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,0BAA0B,CAAC,CAAC;QAGhE,IAAQ,CAAA,QAAA,GAAG,CAAC,CAAC;AACvB,KAAA;+GALY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,yBAAA,EAAA,cAAA,EAAA,EAAA,cAAA,EAAA,YAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,YAAY;AACnB,wBAAA,2BAA2B,EAAE,cAAc;AAC9C,qBAAA;AACJ,iBAAA,CAAA;8BAKU,QAAQ,EAAA,CAAA;sBADd,KAAK;;;ACvBG,MAAA,WAAW,GAAG;IACvB,cAAc;IACd,iBAAiB;IACjB,wBAAwB;IACxB,iCAAiC;IACjC,gBAAgB;IAChB,oBAAoB;;;ACbxB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-progress.mjs","sources":["../../../projects/kit/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.ts","../../../projects/kit/components/progress/progress.options.ts","../../../projects/kit/components/progress/progress-bar/progress-bar.component.ts","../../../projects/kit/components/progress/progress-bar/progress-color-segments.directive.ts","../../../projects/kit/components/progress/progress-circle/progress-circle.component.ts","../../../projects/kit/components/progress/progress-circle/progress-circle.template.html","../../../projects/kit/components/progress/progress-label/progress-label.component.ts","../../../projects/kit/components/progress/progress-label/progress-label.template.html","../../../projects/kit/components/progress/progress-segmented/progress-segmented.directive.ts","../../../projects/kit/components/progress/progress.ts","../../../projects/kit/components/progress/taiga-ui-kit-components-progress.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./progress-fixed-gradient.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-fixed-gradient',\n },\n})\nclass TuiProgressFixedGradientStyles {}\n\n@Directive({\n standalone: true,\n selector: 'progress[tuiProgressBar][tuiProgressFixedGradient]',\n host: {\n '[style.--tui-progress-percent.%]': 'progressPercent',\n },\n})\nexport class TuiProgressFixedGradientDirective {\n private readonly nativeProgress = tuiInjectElement<HTMLProgressElement>();\n protected readonly nothing = tuiWithStyles(TuiProgressFixedGradientStyles);\n\n protected get progressPercent(): number {\n const {value} = this.nativeProgress;\n const max = this.nativeProgress.max ?? 1;\n\n return Math.min((value / max) * 100, 100);\n }\n}\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeXXL, type TuiSizeXXS} from '@taiga-ui/core/types';\n\nexport interface TuiProgressOptions {\n readonly color: string | null;\n readonly size: TuiSizeXXL | TuiSizeXXS;\n}\n\nexport const TUI_PROGRESS_DEFAULT_OPTIONS: TuiProgressOptions = {\n color: null,\n size: 'm',\n};\n\nexport const TUI_PROGRESS_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_PROGRESS_OPTIONS' : '',\n {\n factory: () => TUI_PROGRESS_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiProgressOptionsProvider(\n options: Partial<TuiProgressOptions>,\n): Provider {\n return tuiProvideOptions(TUI_PROGRESS_OPTIONS, options, TUI_PROGRESS_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiSizeXXL, type TuiSizeXXS} from '@taiga-ui/core/types';\n\nimport {TUI_PROGRESS_OPTIONS} from '../progress.options';\n\n@Component({\n standalone: true,\n selector: 'progress[tuiProgressBar]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/progress-bar.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[style.--tui-progress-color]': 'color',\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiProgressBar {\n private readonly options = inject(TUI_PROGRESS_OPTIONS);\n\n @Input()\n public color: string | null = this.options.color;\n\n @Input()\n public size: TuiSizeXXL | TuiSizeXXS = this.options.size;\n}\n","import {Directive, inject, Input} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiWatch, tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {BehaviorSubject, combineLatest, distinctUntilChanged, map} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: 'progress[tuiProgressBar][tuiProgressColorSegments]',\n providers: [ResizeObserverService],\n host: {'[style.--tui-progress-color]': 'color()'},\n})\nexport class TuiProgressColorSegments {\n private readonly colors$ = new BehaviorSubject<string[]>([]);\n private readonly el = tuiInjectElement<HTMLProgressElement>();\n\n protected readonly color = toSignal(\n combineLatest([\n this.colors$,\n inject(ResizeObserverService, {self: true}).pipe(\n map(() => this.el.offsetWidth),\n distinctUntilChanged(),\n ),\n ]).pipe(\n map(([colors, width]) => {\n const segmentWidth = Math.ceil(width / colors.length);\n const colorsString = colors.reduce(\n (acc, color, i) =>\n `${acc}, ${color} ${i * segmentWidth}px ${(i + 1) * segmentWidth}px`,\n '',\n );\n\n return `linear-gradient(to right ${colorsString})`;\n }),\n tuiZonefull(),\n tuiWatch(),\n ),\n );\n\n @Input('tuiProgressColorSegments')\n public set colors(colors: string[]) {\n this.colors$.next(colors);\n }\n}\n","import {type BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {type TuiSizeXXL, type TuiSizeXXS} from '@taiga-ui/core/types';\nimport {delay, of} from 'rxjs';\n\nimport {TUI_PROGRESS_OPTIONS} from '../progress.options';\n\n@Component({\n standalone: true,\n selector: 'tui-progress-circle',\n templateUrl: './progress-circle.template.html',\n styleUrls: ['./progress-circle.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.data-size]': 'size',\n '[style.--tui-progress-color]': 'color',\n '[style.--t-progress-ratio]': 'progressRatio',\n '[class._arc]': 'arc',\n },\n})\nexport class TuiProgressCircle {\n private readonly options = inject(TUI_PROGRESS_OPTIONS);\n\n protected readonly animationDelay = toSignal(of(true).pipe(delay(0)));\n\n @Input()\n public value = 0;\n\n @Input()\n public max = 1;\n\n @Input()\n public color: string | null = this.options.color;\n\n @Input()\n public size: TuiSizeXXL | TuiSizeXXS = this.options.size;\n\n @Input({transform: coerceBooleanProperty})\n public arc: BooleanInput = false;\n\n protected get progressRatio(): number {\n const ratio = this.value / this.max;\n\n return Number.isFinite(ratio) ? ratio : 0;\n }\n}\n","<progress\n class=\"t-hidden-progress\"\n [max]=\"max\"\n [value]=\"value\"\n></progress>\n\n<svg\n aria-hidden=\"true\"\n height=\"100%\"\n width=\"100%\"\n class=\"t-svg\"\n>\n <circle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-track\"\n />\n\n <circle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-progress\"\n [class.t-progress_filled]=\"animationDelay()\"\n />\n</svg>\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n standalone: true,\n selector: 'label[tuiProgressLabel]',\n templateUrl: './progress-label.template.html',\n styleUrls: ['./progress-label.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressLabel {}\n","<ng-content select=\"progress\" />\n<ng-content select=\"tui-progress-circle\" />\n<span class=\"t-label\">\n <ng-content />\n</span>\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: ['./progress-segmented.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-progress-segmented'},\n})\nclass TuiProgressSegmentedStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiProgressBar][segments]',\n host: {\n class: '_segmented',\n '[style.--t-segment-width]': '1 / segments',\n },\n})\nexport class TuiProgressSegmented {\n protected readonly nothing = tuiWithStyles(TuiProgressSegmentedStyles);\n\n @Input()\n public segments = 1;\n}\n","import {TuiProgressFixedGradientDirective} from './progress-bar/fixed-gradient/progress-fixed-gradient.directive';\nimport {TuiProgressBar} from './progress-bar/progress-bar.component';\nimport {TuiProgressColorSegments} from './progress-bar/progress-color-segments.directive';\nimport {TuiProgressCircle} from './progress-circle/progress-circle.component';\nimport {TuiProgressLabel} from './progress-label/progress-label.component';\nimport {TuiProgressSegmented} from './progress-segmented/progress-segmented.directive';\n\nexport const TuiProgress = [\n TuiProgressBar,\n TuiProgressCircle,\n TuiProgressColorSegments,\n TuiProgressFixedGradientDirective,\n TuiProgressLabel,\n TuiProgressSegmented,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AASA,MAUM,8BAA8B,CAAA;8GAA9B,8BAA8B,EAAA,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AA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,yBAAA,EAAA,cAAA,EAAA,EAAA,cAAA,EAAA,YAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,YAAY;AACnB,wBAAA,2BAA2B,EAAE,cAAc;AAC9C,qBAAA;AACJ,iBAAA;8BAKU,QAAQ,EAAA,CAAA;sBADd;;;ACvBE,MAAM,WAAW,GAAG;IACvB,cAAc;IACd,iBAAiB;IACjB,wBAAwB;IACxB,iCAAiC;IACjC,gBAAgB;IAChB,oBAAoB;;;ACbxB;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { isPlatformBrowser } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, PLATFORM_ID, Component, ChangeDetectionStrategy, Input } from '@angular/core';
3
+ import { inject, PLATFORM_ID, Input, ChangeDetectionStrategy, Component } from '@angular/core';
4
4
  import * as i1 from '@taiga-ui/cdk/directives/animated';
5
5
  import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
6
6
  import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
@@ -20,10 +20,10 @@ class TuiPulse extends TuiRectAccessor {
20
20
  ? new DOMRect(rect.x - 4, rect.y - 4, rect.width + 8, rect.height + 8)
21
21
  : rect;
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPulse, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPulse, isStandalone: true, selector: "tui-pulse", inputs: { playing: "playing" }, host: { properties: { "class._playing": "playing" } }, providers: [tuiAsRectAccessor(TuiPulse)], usesInheritance: true, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: '', isInline: true, styles: ["@keyframes tuiPulse{to{opacity:0;transform:scale(2.5)}}:host{position:relative;color:var(--tui-background-accent-1)}:host.tui-enter,:host.tui-leave{animation-name:tuiScale}:host:before,:host:after{transition-property:box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;inline-size:.5rem;block-size:.5rem;border-radius:100%;margin:-.25rem;background:currentColor}:host:before{opacity:1;transform:scale(0)}:host._playing:before{animation:tuiPulse 1s 1s ease-in-out infinite}:host._playing:after{box-shadow:0 0 .5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPulse, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiPulse, isStandalone: true, selector: "tui-pulse", inputs: { playing: "playing" }, host: { properties: { "class._playing": "playing" } }, providers: [tuiAsRectAccessor(TuiPulse)], usesInheritance: true, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: '', isInline: true, styles: ["@keyframes tuiPulse{to{opacity:0;transform:scale(2.5)}}:host{position:relative;color:var(--tui-background-accent-1)}:host.tui-enter,:host.tui-leave{animation-name:tuiScale}:host:before,:host:after{transition-property:box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;inline-size:.5rem;block-size:.5rem;border-radius:100%;margin:-.25rem;background:currentColor}:host:before{opacity:1;transform:scale(0)}:host._playing:before{animation:tuiPulse 1s 1s ease-in-out infinite}:host._playing:after{box-shadow:0 0 .5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPulse, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPulse, decorators: [{
27
27
  type: Component,
28
28
  args: [{ standalone: true, selector: 'tui-pulse', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAsRectAccessor(TuiPulse)], hostDirectives: [TuiAnimated], host: {
29
29
  '[class._playing]': 'playing',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-pulse.mjs","sources":["../../../projects/kit/components/pulse/pulse.component.ts","../../../projects/kit/components/pulse/taiga-ui-kit-components-pulse.ts"],"sourcesContent":["import {isPlatformBrowser} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n PLATFORM_ID,\n} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiAsRectAccessor, TuiRectAccessor} from '@taiga-ui/core/classes';\n\n@Component({\n standalone: true,\n selector: 'tui-pulse',\n template: '',\n styleUrls: ['./pulse.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAsRectAccessor(TuiPulse)],\n hostDirectives: [TuiAnimated],\n host: {\n '[class._playing]': 'playing',\n },\n})\nexport class TuiPulse extends TuiRectAccessor {\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n private readonly el = tuiInjectElement();\n\n @Input()\n public playing = true;\n\n public readonly type = 'hint';\n\n public getClientRect(): DOMRect {\n const rect = this.el.getBoundingClientRect();\n\n return this.isBrowser\n ? new DOMRect(rect.x - 4, rect.y - 4, rect.width + 8, rect.height + 8)\n : rect;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":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AAA,QAAA,EACX,EAAE,EAAA,eAAA,EAEK,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA,CAAC,iBAAiB,CAAU,QAAA,CAAA,CAAC,kBACxB,CAAC,WAAW,CAAC,EACvB,IAAA,EAAA;AACF,wBAAA,kBAAkB,EAAE,SAAS;AAChC,qBAAA,EAAA,MAAA,EAAA,CAAA,glBAAA,CAAA,EAAA,CAAA;8BAOM,OAAO,EAAA,CAAA;sBADb,KAAK;;;AC5BV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-pulse.mjs","sources":["../../../projects/kit/components/pulse/pulse.component.ts","../../../projects/kit/components/pulse/taiga-ui-kit-components-pulse.ts"],"sourcesContent":["import {isPlatformBrowser} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n PLATFORM_ID,\n} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiAsRectAccessor, TuiRectAccessor} from '@taiga-ui/core/classes';\n\n@Component({\n standalone: true,\n selector: 'tui-pulse',\n template: '',\n styleUrls: ['./pulse.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAsRectAccessor(TuiPulse)],\n hostDirectives: [TuiAnimated],\n host: {\n '[class._playing]': 'playing',\n },\n})\nexport class TuiPulse extends TuiRectAccessor {\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n private readonly el = tuiInjectElement();\n\n @Input()\n public playing = true;\n\n public readonly type = 'hint';\n\n public getClientRect(): DOMRect {\n const rect = this.el.getBoundingClientRect();\n\n return this.isBrowser\n ? new DOMRect(rect.x - 4, rect.y - 4, rect.width + 8, rect.height + 8)\n : rect;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAwBM,MAAO,QAAS,SAAQ,eAAe,CAAA;AAZ7C,IAAA,WAA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AC,WAAW,CAAC,EAAA,IAAA,EACvB;AACF,wBAAA,kBAAkB,EAAE,SAAS;AAChC,qBAAA,EAAA,MAAA,EAAA,CAAA,glBAAA,CAAA,EAAA;8BAOM,OAAO,EAAA,CAAA;sBADb;;;AC5BL;;AAEG;;;;"}
@@ -1,8 +1,8 @@
1
1
  import { AsyncPipe, NgIf } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, InjectionToken, Injectable, TemplateRef, ChangeDetectorRef, forwardRef, Directive } from '@angular/core';
3
+ import { inject, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, InjectionToken, Injectable, TemplateRef, ChangeDetectorRef, forwardRef, Directive } from '@angular/core';
4
4
  import { tuiIsString, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
5
- import { tuiButtonOptionsProvider, TuiButton } from '@taiga-ui/core/components/button';
5
+ import { TuiButton, tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
6
6
  import { TuiFormatDatePipe } from '@taiga-ui/core/pipes/format-date';
7
7
  import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
8
8
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
@@ -27,10 +27,10 @@ class TuiPushComponent {
27
27
  this.timestamp = '';
28
28
  this.close = new EventEmitter();
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPushComponent, isStandalone: true, selector: "tui-push", inputs: { heading: "heading", type: "type", lines: "lines", timestamp: "timestamp" }, outputs: { close: "close" }, host: { properties: { "style.--t-lines": "lines" } }, providers: [tuiButtonOptionsProvider({ size: 's', appearance: 'secondary' })], ngImport: i0, template: "<div class=\"t-image\">\n <ng-content select=\"img\" />\n</div>\n<button\n *ngIf=\"close.observed\"\n appearance=\"\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close.emit()\"\n>\n {{ closeWord$ | async }}\n</button>\n<div class=\"t-top\">\n <span class=\"t-icon\">\n <ng-content select=\"tui-svg,tui-icon\" />\n </span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"isString(timestamp) ? timestamp : (timestamp | tuiFormatDate | async)\"\n ></span>\n</div>\n<h3\n automation-id=\"tui-push__heading\"\n class=\"t-heading\"\n>\n {{ heading }}\n</h3>\n<div class=\"t-content\">\n <ng-content />\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\">\n <ng-content select=\"[tuiButton]\" />\n </span>\n <span class=\"t-link\">\n <ng-content select=\"[tuiLink]\" />\n </span>\n</div>\n", styles: [":host{position:relative;display:block;inline-size:22.5rem;max-inline-size:100%;box-sizing:border-box;padding:1.25rem 1.25rem .25rem;overflow:hidden;font:var(--tui-font-text-m);border-radius:var(--tui-radius-xl);background:var(--tui-background-elevation-2);box-shadow:var(--tui-shadow-small)}.t-image{display:flex;flex-direction:column;max-block-size:10.625rem;overflow:hidden;margin:-1.25rem -1.25rem 1.25rem}.t-close{position:absolute;top:.75rem;right:.75rem;color:#0000008a;background:#f2f2f252;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem)}@supports (inset-inline-end: 0){.t-close{right:unset;inset-inline-end:.75rem}}.t-top{display:flex;align-items:center;font:var(--tui-font-text-s);color:var(--tui-text-secondary)}.t-icon{block-size:1.25rem;margin-inline-end:.5rem;transform:scale(.833);transform-origin:top left;color:var(--tui-text-action)}.t-time:before{content:\"\\2022\";display:inline-block;inline-size:1rem;text-align:center}.t-heading{line-height:1.25rem;font-weight:700;margin:.75rem 0 .25rem}.t-heading,.t-content{display:-webkit-box;-webkit-box-orient:block-axis;-webkit-line-clamp:var(--t-lines);word-break:break-word;overflow:hidden}.t-actions{display:flex;align-items:center;font:var(--tui-font-text-s)}.t-button:not(:empty){margin:.75rem .75rem .75rem 0}.t-link{margin:.75rem 0}.t-link:empty{margin:.5rem}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "pipe", type: TuiFormatDatePipe, name: "tuiFormatDate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiPushComponent, isStandalone: true, selector: "tui-push", inputs: { heading: "heading", type: "type", lines: "lines", timestamp: "timestamp" }, outputs: { close: "close" }, host: { properties: { "style.--t-lines": "lines" } }, providers: [tuiButtonOptionsProvider({ size: 's', appearance: 'secondary' })], ngImport: i0, template: "<div class=\"t-image\">\n <ng-content select=\"img\" />\n</div>\n<button\n *ngIf=\"close.observed\"\n appearance=\"\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close.emit()\"\n>\n {{ closeWord$ | async }}\n</button>\n<div class=\"t-top\">\n <span class=\"t-icon\">\n <ng-content select=\"tui-svg,tui-icon\" />\n </span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"isString(timestamp) ? timestamp : (timestamp | tuiFormatDate | async)\"\n ></span>\n</div>\n<h3\n automation-id=\"tui-push__heading\"\n class=\"t-heading\"\n>\n {{ heading }}\n</h3>\n<div class=\"t-content\">\n <ng-content />\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\">\n <ng-content select=\"[tuiButton]\" />\n </span>\n <span class=\"t-link\">\n <ng-content select=\"[tuiLink]\" />\n </span>\n</div>\n", styles: [":host{position:relative;display:block;inline-size:22.5rem;max-inline-size:100%;box-sizing:border-box;padding:1.25rem 1.25rem .25rem;overflow:hidden;font:var(--tui-font-text-m);border-radius:var(--tui-radius-xl);background:var(--tui-background-elevation-2);box-shadow:var(--tui-shadow-small)}.t-image{display:flex;flex-direction:column;max-block-size:10.625rem;overflow:hidden;margin:-1.25rem -1.25rem 1.25rem}.t-close{position:absolute;top:.75rem;right:.75rem;color:#0000008a;background:#f2f2f252;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem)}@supports (inset-inline-end: 0){.t-close{right:unset;inset-inline-end:.75rem}}.t-top{display:flex;align-items:center;font:var(--tui-font-text-s);color:var(--tui-text-secondary)}.t-icon{block-size:1.25rem;margin-inline-end:.5rem;transform:scale(.833);transform-origin:top left;color:var(--tui-text-action)}.t-time:before{content:\"\\2022\";display:inline-block;inline-size:1rem;text-align:center}.t-heading{line-height:1.25rem;font-weight:700;margin:.75rem 0 .25rem}.t-heading,.t-content{display:-webkit-box;-webkit-box-orient:block-axis;-webkit-line-clamp:var(--t-lines);word-break:break-word;overflow:hidden}.t-actions{display:flex;align-items:center;font:var(--tui-font-text-s)}.t-button:not(:empty){margin:.75rem .75rem .75rem 0}.t-link{margin:.75rem 0}.t-link:empty{margin:.5rem}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "pipe", type: TuiFormatDatePipe, name: "tuiFormatDate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushComponent, decorators: [{
34
34
  type: Component,
35
35
  args: [{ standalone: true, selector: 'tui-push', imports: [AsyncPipe, NgIf, TuiButton, TuiFormatDatePipe], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiButtonOptionsProvider({ size: 's', appearance: 'secondary' })], host: {
36
36
  '[style.--t-lines]': 'lines',
@@ -73,10 +73,10 @@ class TuiPushAlert {
73
73
  get isDirective() {
74
74
  return this.context.content instanceof TuiPushDirective;
75
75
  }
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushAlert, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
77
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPushAlert, isStandalone: true, selector: "ng-component", host: { attributes: { "role": "alert" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<div class=\"t-wrapper\">\n <tui-push\n *ngIf=\"!isDirective; else directive\"\n [heading]=\"context.heading\"\n [timestamp]=\"context.timestamp\"\n [type]=\"context.type\"\n (close)=\"context.$implicit.complete()\"\n >\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-icon\n *ngIf=\"context.icon\"\n [icon]=\"context.icon\"\n [style.color]=\"context.iconColor\"\n />\n <div\n *polymorpheusOutlet=\"context.content as text; context: context\"\n [innerHTML]=\"text\"\n ></div>\n <button\n *ngIf=\"context.buttons.length > 1\"\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[0] || '')\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1] || '')\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n </tui-push>\n <ng-template #directive>\n <ng-container *polymorpheusOutlet=\"context.content\" />\n </ng-template>\n</div>\n", styles: [":host{position:relative;bottom:1rem;display:grid;flex-shrink:0;max-inline-size:calc(100% - 2rem);margin:0 1rem 0 auto;border-radius:var(--tui-radius-xl);box-shadow:var(--tui-shadow-small);overflow:hidden;--tui-from: translateX(100%)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}:host.tui-leave:not(:first-child){transition-property:margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-block-start:-1rem!important}:host:first-child{margin-block-start:auto}:host:not(:last-child){transition-property:margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-block-end:1rem}.t-wrapper{grid-row:1 / span 2;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }, { kind: "component", type: TuiPushComponent, selector: "tui-push", inputs: ["heading", "type", "lines", "timestamp"], outputs: ["close"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushAlert, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
77
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiPushAlert, isStandalone: true, selector: "ng-component", host: { attributes: { "role": "alert" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<div class=\"t-wrapper\">\n <tui-push\n *ngIf=\"!isDirective; else directive\"\n [heading]=\"context.heading\"\n [timestamp]=\"context.timestamp\"\n [type]=\"context.type\"\n (close)=\"context.$implicit.complete()\"\n >\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-icon\n *ngIf=\"context.icon\"\n [icon]=\"context.icon\"\n [style.color]=\"context.iconColor\"\n />\n <div\n *polymorpheusOutlet=\"context.content as text; context: context\"\n [innerHTML]=\"text\"\n ></div>\n <button\n *ngIf=\"context.buttons.length > 1\"\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[0] || '')\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1] || '')\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n </tui-push>\n <ng-template #directive>\n <ng-container *polymorpheusOutlet=\"context.content\" />\n </ng-template>\n</div>\n", styles: [":host{position:relative;bottom:1rem;display:grid;flex-shrink:0;max-inline-size:calc(100% - 2rem);margin:0 1rem 0 auto;border-radius:var(--tui-radius-xl);box-shadow:var(--tui-shadow-small);overflow:hidden;--tui-from: translateX(100%)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}:host.tui-leave:not(:first-child){transition-property:margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-block-start:-1rem!important}:host:first-child{margin-block-start:auto}:host:not(:last-child){transition-property:margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-block-end:1rem}.t-wrapper{grid-row:1 / span 2;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }, { kind: "component", type: TuiPushComponent, selector: "tui-push", inputs: ["heading", "type", "lines", "timestamp"], outputs: ["close"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushAlert, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushAlert, decorators: [{
80
80
  type: Component,
81
81
  args: [{ standalone: true, imports: [NgIf, PolymorpheusOutlet, TuiButton, TuiIcon, TuiLink, TuiPushComponent], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
82
82
  role: 'alert',
@@ -84,10 +84,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
84
84
  }] });
85
85
 
86
86
  class TuiPushService extends TuiPopoverService {
87
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
88
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushService, providedIn: 'root', useFactory: () => new TuiPushService(TUI_ALERTS, TuiPushAlert, inject(TUI_PUSH_OPTIONS)) }); }
87
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
88
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushService, providedIn: 'root', useFactory: () => new TuiPushService(TUI_ALERTS, TuiPushAlert, inject(TUI_PUSH_OPTIONS)) }); }
89
89
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushService, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushService, decorators: [{
91
91
  type: Injectable,
92
92
  args: [{
93
93
  providedIn: 'root',
@@ -107,16 +107,16 @@ class TuiPushDirective extends PolymorpheusTemplate {
107
107
  set tuiPush(show) {
108
108
  this.show$.next(show);
109
109
  }
110
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
111
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPushDirective, isStandalone: true, selector: "ng-template[tuiPush]", inputs: { tuiPush: "tuiPush" }, usesInheritance: true, ngImport: i0 }); }
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
111
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiPushDirective, isStandalone: true, selector: "ng-template[tuiPush]", inputs: { tuiPush: "tuiPush" }, usesInheritance: true, ngImport: i0 }); }
112
112
  }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushDirective, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPushDirective, decorators: [{
114
114
  type: Directive,
115
115
  args: [{
116
116
  standalone: true,
117
117
  selector: 'ng-template[tuiPush]',
118
118
  }]
119
- }], ctorParameters: function () { return []; }, propDecorators: { tuiPush: [{
119
+ }], ctorParameters: () => [], propDecorators: { tuiPush: [{
120
120
  type: Input
121
121
  }] } });
122
122
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-push.mjs","sources":["../../../projects/kit/components/push/push.component.ts","../../../projects/kit/components/push/push.template.html","../../../projects/kit/components/push/push.options.ts","../../../projects/kit/components/push/push-alert.component.ts","../../../projects/kit/components/push/push-alert.template.html","../../../projects/kit/components/push/push.service.ts","../../../projects/kit/components/push/push.directive.ts","../../../projects/kit/components/push/push.ts","../../../projects/kit/components/push/taiga-ui-kit-components-push.ts"],"sourcesContent":["import {AsyncPipe, NgIf} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiFormatDatePipe} from '@taiga-ui/core/pipes/format-date';\nimport {TUI_CLOSE_WORD, TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\n\n@Component({\n standalone: true,\n selector: 'tui-push',\n imports: [AsyncPipe, NgIf, TuiButton, TuiFormatDatePipe],\n templateUrl: './push.template.html',\n styleUrls: ['./push.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiButtonOptionsProvider({size: 's', appearance: 'secondary'})],\n host: {\n '[style.--t-lines]': 'lines',\n },\n})\nexport class TuiPushComponent {\n protected readonly isString = tuiIsString;\n protected readonly closeWord$ = inject(TUI_CLOSE_WORD);\n protected readonly icons = inject(TUI_COMMON_ICONS);\n\n @Input()\n public heading = '';\n\n @Input()\n public type = '';\n\n @Input()\n public lines = 2;\n\n @Input()\n public timestamp: number | string = '';\n\n @Output()\n public readonly close = new EventEmitter<void>();\n}\n","<div class=\"t-image\">\n <ng-content select=\"img\" />\n</div>\n<button\n *ngIf=\"close.observed\"\n appearance=\"\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close.emit()\"\n>\n {{ closeWord$ | async }}\n</button>\n<div class=\"t-top\">\n <span class=\"t-icon\">\n <ng-content select=\"tui-svg,tui-icon\" />\n </span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"isString(timestamp) ? timestamp : (timestamp | tuiFormatDate | async)\"\n ></span>\n</div>\n<h3\n automation-id=\"tui-push__heading\"\n class=\"t-heading\"\n>\n {{ heading }}\n</h3>\n<div class=\"t-content\">\n <ng-content />\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\">\n <ng-content select=\"[tuiButton]\" />\n </span>\n <span class=\"t-link\">\n <ng-content select=\"[tuiLink]\" />\n </span>\n</div>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPushOptions {\n readonly buttons: readonly string[];\n readonly heading: string;\n readonly icon: string;\n readonly iconColor: string;\n readonly image: string;\n readonly timestamp: number | string;\n readonly type: string;\n}\n\nexport const TUI_PUSH_DEFAULT_OPTIONS: TuiPushOptions = {\n heading: '',\n type: '',\n timestamp: '',\n image: '',\n icon: '',\n iconColor: '',\n buttons: [],\n};\n\n/**\n * Default parameters for Push component\n */\nexport const TUI_PUSH_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_PUSH_OPTIONS' : '', {\n factory: () => TUI_PUSH_DEFAULT_OPTIONS,\n});\n\nexport function tuiPushOptionsProvider(options: Partial<TuiPushOptions>): Provider {\n return tuiProvideOptions(TUI_PUSH_OPTIONS, options, TUI_PUSH_DEFAULT_OPTIONS);\n}\n","import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiLink} from '@taiga-ui/core/components/link';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiPushComponent} from './push.component';\nimport {TuiPushDirective} from './push.directive';\nimport {type TuiPushOptions} from './push.options';\n\n@Component({\n standalone: true,\n imports: [NgIf, PolymorpheusOutlet, TuiButton, TuiIcon, TuiLink, TuiPushComponent],\n templateUrl: './push-alert.template.html',\n styleUrls: ['./push-alert.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n role: 'alert',\n },\n})\nexport class TuiPushAlert {\n protected readonly context = injectContext<TuiPopover<TuiPushOptions, string>>();\n\n protected get isDirective(): boolean {\n return this.context.content instanceof TuiPushDirective;\n }\n}\n","<div class=\"t-wrapper\">\n <tui-push\n *ngIf=\"!isDirective; else directive\"\n [heading]=\"context.heading\"\n [timestamp]=\"context.timestamp\"\n [type]=\"context.type\"\n (close)=\"context.$implicit.complete()\"\n >\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-icon\n *ngIf=\"context.icon\"\n [icon]=\"context.icon\"\n [style.color]=\"context.iconColor\"\n />\n <div\n *polymorpheusOutlet=\"context.content as text; context: context\"\n [innerHTML]=\"text\"\n ></div>\n <button\n *ngIf=\"context.buttons.length > 1\"\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[0] || '')\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1] || '')\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n </tui-push>\n <ng-template #directive>\n <ng-container *polymorpheusOutlet=\"context.content\" />\n </ng-template>\n</div>\n","import {inject, Injectable} from '@angular/core';\nimport {TuiPopoverService} from '@taiga-ui/cdk/services';\nimport {TUI_ALERTS} from '@taiga-ui/core/components/alert';\n\nimport {TUI_PUSH_OPTIONS, type TuiPushOptions} from './push.options';\nimport {TuiPushAlert} from './push-alert.component';\n\n@Injectable({\n providedIn: 'root',\n useFactory: () =>\n new TuiPushService(TUI_ALERTS, TuiPushAlert, inject(TUI_PUSH_OPTIONS)),\n})\nexport class TuiPushService extends TuiPopoverService<TuiPushOptions, string> {}\n","import {\n ChangeDetectorRef,\n Directive,\n forwardRef,\n inject,\n Input,\n TemplateRef,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiIfMap} from '@taiga-ui/cdk/observables';\nimport {PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\nimport {Subject} from 'rxjs';\n\nimport {TuiPushService} from './push.service';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiPush]',\n})\nexport class TuiPushDirective extends PolymorpheusTemplate {\n private readonly push: TuiPushService = inject(forwardRef(() => TuiPushService));\n private readonly show$ = new Subject<boolean>();\n\n constructor() {\n super(inject(TemplateRef), inject(ChangeDetectorRef));\n\n this.show$\n .pipe(\n tuiIfMap(() => this.push.open(this)),\n takeUntilDestroyed(),\n )\n .subscribe();\n }\n\n @Input()\n public set tuiPush(show: boolean) {\n this.show$.next(show);\n }\n}\n","import {TuiPushComponent} from './push.component';\nimport {TuiPushDirective} from './push.directive';\nimport {TuiPushAlert} from './push-alert.component';\n\nexport const TuiPush = [TuiPushComponent, TuiPushAlert, TuiPushDirective] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAcA,MAYa,gBAAgB,CAAA;AAZ7B,IAAA,WAAA,GAAA;QAauB,IAAQ,CAAA,QAAA,GAAG,WAAW,CAAC;AACvB,Q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AAA,EAAA,CAAA,CAAA,EAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sBAAsB;AACnC,iBAAA,CAAA;0EAiBc,OAAO,EAAA,CAAA;sBADjB,KAAK;;;AC9BG,MAAA,OAAO,GAAG,CAAC,gBAAgB,EAAE,YAAY,EAAE,gBAAgB;;ACJxE;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-push.mjs","sources":["../../../projects/kit/components/push/push.component.ts","../../../projects/kit/components/push/push.template.html","../../../projects/kit/components/push/push.options.ts","../../../projects/kit/components/push/push-alert.component.ts","../../../projects/kit/components/push/push-alert.template.html","../../../projects/kit/components/push/push.service.ts","../../../projects/kit/components/push/push.directive.ts","../../../projects/kit/components/push/push.ts","../../../projects/kit/components/push/taiga-ui-kit-components-push.ts"],"sourcesContent":["import {AsyncPipe, NgIf} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiFormatDatePipe} from '@taiga-ui/core/pipes/format-date';\nimport {TUI_CLOSE_WORD, TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\n\n@Component({\n standalone: true,\n selector: 'tui-push',\n imports: [AsyncPipe, NgIf, TuiButton, TuiFormatDatePipe],\n templateUrl: './push.template.html',\n styleUrls: ['./push.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiButtonOptionsProvider({size: 's', appearance: 'secondary'})],\n host: {\n '[style.--t-lines]': 'lines',\n },\n})\nexport class TuiPushComponent {\n protected readonly isString = tuiIsString;\n protected readonly closeWord$ = inject(TUI_CLOSE_WORD);\n protected readonly icons = inject(TUI_COMMON_ICONS);\n\n @Input()\n public heading = '';\n\n @Input()\n public type = '';\n\n @Input()\n public lines = 2;\n\n @Input()\n public timestamp: number | string = '';\n\n @Output()\n public readonly close = new EventEmitter<void>();\n}\n","<div class=\"t-image\">\n <ng-content select=\"img\" />\n</div>\n<button\n *ngIf=\"close.observed\"\n appearance=\"\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close.emit()\"\n>\n {{ closeWord$ | async }}\n</button>\n<div class=\"t-top\">\n <span class=\"t-icon\">\n <ng-content select=\"tui-svg,tui-icon\" />\n </span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"isString(timestamp) ? timestamp : (timestamp | tuiFormatDate | async)\"\n ></span>\n</div>\n<h3\n automation-id=\"tui-push__heading\"\n class=\"t-heading\"\n>\n {{ heading }}\n</h3>\n<div class=\"t-content\">\n <ng-content />\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\">\n <ng-content select=\"[tuiButton]\" />\n </span>\n <span class=\"t-link\">\n <ng-content select=\"[tuiLink]\" />\n </span>\n</div>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPushOptions {\n readonly buttons: readonly string[];\n readonly heading: string;\n readonly icon: string;\n readonly iconColor: string;\n readonly image: string;\n readonly timestamp: number | string;\n readonly type: string;\n}\n\nexport const TUI_PUSH_DEFAULT_OPTIONS: TuiPushOptions = {\n heading: '',\n type: '',\n timestamp: '',\n image: '',\n icon: '',\n iconColor: '',\n buttons: [],\n};\n\n/**\n * Default parameters for Push component\n */\nexport const TUI_PUSH_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_PUSH_OPTIONS' : '', {\n factory: () => TUI_PUSH_DEFAULT_OPTIONS,\n});\n\nexport function tuiPushOptionsProvider(options: Partial<TuiPushOptions>): Provider {\n return tuiProvideOptions(TUI_PUSH_OPTIONS, options, TUI_PUSH_DEFAULT_OPTIONS);\n}\n","import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiLink} from '@taiga-ui/core/components/link';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiPushComponent} from './push.component';\nimport {TuiPushDirective} from './push.directive';\nimport {type TuiPushOptions} from './push.options';\n\n@Component({\n standalone: true,\n imports: [NgIf, PolymorpheusOutlet, TuiButton, TuiIcon, TuiLink, TuiPushComponent],\n templateUrl: './push-alert.template.html',\n styleUrls: ['./push-alert.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n role: 'alert',\n },\n})\nexport class TuiPushAlert {\n protected readonly context = injectContext<TuiPopover<TuiPushOptions, string>>();\n\n protected get isDirective(): boolean {\n return this.context.content instanceof TuiPushDirective;\n }\n}\n","<div class=\"t-wrapper\">\n <tui-push\n *ngIf=\"!isDirective; else directive\"\n [heading]=\"context.heading\"\n [timestamp]=\"context.timestamp\"\n [type]=\"context.type\"\n (close)=\"context.$implicit.complete()\"\n >\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-icon\n *ngIf=\"context.icon\"\n [icon]=\"context.icon\"\n [style.color]=\"context.iconColor\"\n />\n <div\n *polymorpheusOutlet=\"context.content as text; context: context\"\n [innerHTML]=\"text\"\n ></div>\n <button\n *ngIf=\"context.buttons.length > 1\"\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[0] || '')\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1] || '')\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n </tui-push>\n <ng-template #directive>\n <ng-container *polymorpheusOutlet=\"context.content\" />\n </ng-template>\n</div>\n","import {inject, Injectable} from '@angular/core';\nimport {TuiPopoverService} from '@taiga-ui/cdk/services';\nimport {TUI_ALERTS} from '@taiga-ui/core/components/alert';\n\nimport {TUI_PUSH_OPTIONS, type TuiPushOptions} from './push.options';\nimport {TuiPushAlert} from './push-alert.component';\n\n@Injectable({\n providedIn: 'root',\n useFactory: () =>\n new TuiPushService(TUI_ALERTS, TuiPushAlert, inject(TUI_PUSH_OPTIONS)),\n})\nexport class TuiPushService extends TuiPopoverService<TuiPushOptions, string> {}\n","import {\n ChangeDetectorRef,\n Directive,\n forwardRef,\n inject,\n Input,\n TemplateRef,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiIfMap} from '@taiga-ui/cdk/observables';\nimport {PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\nimport {Subject} from 'rxjs';\n\nimport {TuiPushService} from './push.service';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiPush]',\n})\nexport class TuiPushDirective extends PolymorpheusTemplate {\n private readonly push: TuiPushService = inject(forwardRef(() => TuiPushService));\n private readonly show$ = new Subject<boolean>();\n\n constructor() {\n super(inject(TemplateRef), inject(ChangeDetectorRef));\n\n this.show$\n .pipe(\n tuiIfMap(() => this.push.open(this)),\n takeUntilDestroyed(),\n )\n .subscribe();\n }\n\n @Input()\n public set tuiPush(show: boolean) {\n this.show$.next(show);\n }\n}\n","import {TuiPushComponent} from './push.component';\nimport {TuiPushDirective} from './push.directive';\nimport {TuiPushAlert} from './push-alert.component';\n\nexport const TuiPush = [TuiPushComponent, TuiPushAlert, TuiPushDirective] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;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AA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sBAAsB;AACnC,iBAAA;wDAiBc,OAAO,EAAA,CAAA;sBADjB;;;AC9BE,MAAM,OAAO,GAAG,CAAC,gBAAgB,EAAE,YAAY,EAAE,gBAAgB;;ACJxE;;AAEG;;;;"}
@@ -1,8 +1,8 @@
1
1
  import { NgForOf } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, computed, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChildren, Input } from '@angular/core';
3
+ import { inject, computed, Input, ViewChildren, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
4
4
  import * as i1 from '@angular/forms';
5
- import { Validators, NgControl, FormsModule } from '@angular/forms';
5
+ import { Validators, FormsModule, NgControl } from '@angular/forms';
6
6
  import { TuiControl, tuiAsControl } from '@taiga-ui/cdk/classes';
7
7
  import { EMPTY_QUERY, TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
8
8
  import { TuiValidator } from '@taiga-ui/cdk/directives/validator';
@@ -38,10 +38,10 @@ class TuiRadioList extends TuiControl {
38
38
  ? item === null
39
39
  : this.identityMatcher(this.value(), item);
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRadioList, isStandalone: true, selector: "tui-radio-list", inputs: { items: "items", size: "size", identityMatcher: "identityMatcher", disabledItemHandler: "disabledItemHandler", itemContent: "itemContent" }, host: { listeners: { "focusout": "onFocusOut()" }, properties: { "attr.data-size": "size" } }, providers: [tuiAsControl(TuiRadioList)], viewQueries: [{ propertyName: "controls", predicate: NgControl, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [class.t-item_disabled]=\"disabled() || disabledItemHandler(item)\"\n>\n <input\n tuiRadio\n type=\"radio\"\n [disabled]=\"disabled() || disabledItemHandler(item)\"\n [identityMatcher]=\"identityMatcher\"\n [name]=\"name\"\n [ngModel]=\"value()\"\n [ngModelOptions]=\"{standalone: true}\"\n [size]=\"size\"\n [tuiValidator]=\"validator()\"\n [value]=\"item\"\n (ngModelChange)=\"onChange($event)\"\n />\n <ng-container *polymorpheusOutlet=\"itemContent as text; context: {$implicit: item, active: itemIsActive(item)}\">\n {{ text }}\n </ng-container>\n</label>\n", styles: ["tui-radio-list{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem 1.5rem;font:var(--tui-font-text-m)}tui-radio-list[data-size=s],tui-radio-list[data-size=s] [tuiTitle]{font:var(--tui-font-text-ui-s)}tui-radio-list[data-size=s] [tuiSubtitle],tui-radio-list[data-size=s] [tuiTitle] [tuiSubtitle]{font:var(--tui-font-text-xs)}tui-radio-list[data-size=s]>.t-item,tui-radio-list[data-size=s] [tuiTitle]>.t-item{gap:.5rem}tui-radio-list [tuiTitle]{font:var(--tui-font-text-m)}tui-radio-list [tuiSubtitle]{color:var(--tui-text-tertiary)}tui-radio-list>.t-item{display:flex;gap:.75rem}tui-radio-list>.t-item_disabled{opacity:var(--tui-disabled-opacity)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i2.TuiRadioComponent, selector: "input[type=\"radio\"][tuiRadio]", inputs: ["size"] }, { kind: "directive", type: i2.TuiRadioDirective, selector: "input[type=\"radio\"][tuiRadio][identityMatcher]", inputs: ["identityMatcher"] }, { kind: "directive", type: TuiValidator, selector: "[tuiValidator]", inputs: ["tuiValidator"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRadioList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
42
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiRadioList, isStandalone: true, selector: "tui-radio-list", inputs: { items: "items", size: "size", identityMatcher: "identityMatcher", disabledItemHandler: "disabledItemHandler", itemContent: "itemContent" }, host: { listeners: { "focusout": "onFocusOut()" }, properties: { "attr.data-size": "size" } }, providers: [tuiAsControl(TuiRadioList)], viewQueries: [{ propertyName: "controls", predicate: NgControl, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [class.t-item_disabled]=\"disabled() || disabledItemHandler(item)\"\n>\n <input\n tuiRadio\n type=\"radio\"\n [disabled]=\"disabled() || disabledItemHandler(item)\"\n [identityMatcher]=\"identityMatcher\"\n [name]=\"name\"\n [ngModel]=\"value()\"\n [ngModelOptions]=\"{standalone: true}\"\n [size]=\"size\"\n [tuiValidator]=\"validator()\"\n [value]=\"item\"\n (ngModelChange)=\"onChange($event)\"\n />\n <ng-container *polymorpheusOutlet=\"itemContent as text; context: {$implicit: item, active: itemIsActive(item)}\">\n {{ text }}\n </ng-container>\n</label>\n", styles: ["tui-radio-list{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem 1.5rem;font:var(--tui-font-text-m)}tui-radio-list[data-size=s],tui-radio-list[data-size=s] [tuiTitle]{font:var(--tui-font-text-ui-s)}tui-radio-list[data-size=s] [tuiSubtitle],tui-radio-list[data-size=s] [tuiTitle] [tuiSubtitle]{font:var(--tui-font-text-xs)}tui-radio-list[data-size=s]>.t-item,tui-radio-list[data-size=s] [tuiTitle]>.t-item{gap:.5rem}tui-radio-list [tuiTitle]{font:var(--tui-font-text-m)}tui-radio-list [tuiSubtitle]{color:var(--tui-text-tertiary)}tui-radio-list>.t-item{display:flex;gap:.75rem}tui-radio-list>.t-item_disabled{opacity:var(--tui-disabled-opacity)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i2.TuiRadioComponent, selector: "input[type=\"radio\"][tuiRadio]", inputs: ["size"] }, { kind: "directive", type: i2.TuiRadioDirective, selector: "input[type=\"radio\"][tuiRadio][identityMatcher]", inputs: ["identityMatcher"] }, { kind: "directive", type: TuiValidator, selector: "[tuiValidator]", inputs: ["tuiValidator"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioList, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRadioList, decorators: [{
45
45
  type: Component,
46
46
  args: [{ standalone: true, selector: 'tui-radio-list', imports: [FormsModule, NgForOf, PolymorpheusOutlet, TuiRadio, TuiValidator], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAsControl(TuiRadioList)], host: {
47
47
  '[attr.data-size]': 'size',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-radio-list.mjs","sources":["../../../projects/kit/components/radio-list/radio-list.component.ts","../../../projects/kit/components/radio-list/radio-list.template.html","../../../projects/kit/components/radio-list/taiga-ui-kit-components-radio-list.ts"],"sourcesContent":["import {NgForOf} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n Input,\n type QueryList,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport {FormsModule, NgControl, type ValidatorFn, Validators} from '@angular/forms';\nimport {tuiAsControl, TuiControl} from '@taiga-ui/cdk/classes';\nimport {\n EMPTY_QUERY,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_FALSE_HANDLER,\n} from '@taiga-ui/cdk/constants';\nimport {TuiValidator} from '@taiga-ui/cdk/directives/validator';\nimport {TuiIdService} from '@taiga-ui/cdk/services';\nimport {type TuiBooleanHandler, type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\nimport {type TuiSizeS, type TuiValueContentContext} from '@taiga-ui/core/types';\nimport {TuiRadio} from '@taiga-ui/kit/components/radio';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nconst ERROR: ValidatorFn = () => ({error: 'Invalid'});\n\n@Component({\n standalone: true,\n selector: 'tui-radio-list',\n imports: [FormsModule, NgForOf, PolymorpheusOutlet, TuiRadio, TuiValidator],\n templateUrl: './radio-list.template.html',\n styleUrls: ['./radio-list.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAsControl(TuiRadioList)],\n host: {\n '[attr.data-size]': 'size',\n '(focusout)': 'onFocusOut()',\n },\n})\nexport class TuiRadioList<T> extends TuiControl<T> {\n @ViewChildren(NgControl)\n private readonly controls: QueryList<NgControl> = EMPTY_QUERY;\n\n private readonly id = inject(TuiIdService).generate();\n\n protected validator = computed(() =>\n this.invalid() ? ERROR : Validators.nullValidator,\n );\n\n @Input()\n public items: readonly T[] = [];\n\n @Input()\n public size: TuiSizeS = 'm';\n\n @Input()\n public identityMatcher: TuiIdentityMatcher<T> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<T> = TUI_FALSE_HANDLER;\n\n @Input()\n public itemContent: PolymorpheusContent<TuiValueContentContext<T>> = ({$implicit}) =>\n String($implicit);\n\n protected get name(): string {\n return `${this.control.name}-${this.id}`;\n }\n\n protected onFocusOut(): void {\n this.controls.forEach((control) => control.control?.markAsTouched());\n\n if (!this.touched()) {\n this.onTouched();\n }\n }\n\n protected itemIsActive(item: T): boolean {\n return this.value() === null\n ? item === null\n : this.identityMatcher(this.value(), item);\n }\n}\n","<label\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [class.t-item_disabled]=\"disabled() || disabledItemHandler(item)\"\n>\n <input\n tuiRadio\n type=\"radio\"\n [disabled]=\"disabled() || disabledItemHandler(item)\"\n [identityMatcher]=\"identityMatcher\"\n [name]=\"name\"\n [ngModel]=\"value()\"\n [ngModelOptions]=\"{standalone: true}\"\n [size]=\"size\"\n [tuiValidator]=\"validator()\"\n [value]=\"item\"\n (ngModelChange)=\"onChange($event)\"\n />\n <ng-container *polymorpheusOutlet=\"itemContent as text; context: {$implicit: item, active: itemIsActive(item)}\">\n {{ text }}\n </ng-container>\n</label>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAyBA,MAAM,KAAK,GAAgB,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC,CAAC;AAEtD,MAca,YAAgB,SAAQ,UAAa,CAAA;AAdlD,IAAA,WAAA,GAAA;;QAgBqB,IAAQ,CAAA,QAAA,GAAyB,WAAW,CAAC;QAE7C,IAAE,CAAA,EAAA,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC;QAE5C,IAAS,CAAA,SAAA,GAAG,QAAQ,CAAC,MAC3B,IAAI,CAAC,OAAO,EAAE,GAAG,KAAK,GAAG,UAAU,CAAC,aAAa,CACpD,CAAC;QAGK,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;QAGzB,IAAI,CAAA,IAAA,GAAa,GAAG,CAAC;QAGrB,IAAe,CAAA,eAAA,GAA0B,4BAA4B,CAAC;QAGtE,IAAmB,CAAA,mBAAA,GAAyB,iBAAiB,CAAC;AAG9D,QAAA,IAAA,CAAA,WAAW,GAAmD,CAAC,EAAC,SAAS,EAAC,KAC7E,MAAM,CAAC,SAAS,CAAC,CAAC;AAmBzB,KAAA;AAjBG,IAAA,IAAc,IAAI,GAAA;QACd,OAAO,CAAA,EAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAA,CAAA,EAAI,IAAI,CAAC,EAAE,CAAA,CAAE,CAAC;KAC5C;IAES,UAAU,GAAA;AAChB,QAAA,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,CAAC,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e,EAAA,CAAA;sBADrB,KAAK;gBAIC,mBAAmB,EAAA,CAAA;sBADzB,KAAK;gBAIC,WAAW,EAAA,CAAA;sBADjB,KAAK;;;AE/DV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-radio-list.mjs","sources":["../../../projects/kit/components/radio-list/radio-list.component.ts","../../../projects/kit/components/radio-list/radio-list.template.html","../../../projects/kit/components/radio-list/taiga-ui-kit-components-radio-list.ts"],"sourcesContent":["import {NgForOf} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n Input,\n type QueryList,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport {FormsModule, NgControl, type ValidatorFn, Validators} from '@angular/forms';\nimport {tuiAsControl, TuiControl} from '@taiga-ui/cdk/classes';\nimport {\n EMPTY_QUERY,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_FALSE_HANDLER,\n} from '@taiga-ui/cdk/constants';\nimport {TuiValidator} from '@taiga-ui/cdk/directives/validator';\nimport {TuiIdService} from '@taiga-ui/cdk/services';\nimport {type TuiBooleanHandler, type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\nimport {type TuiSizeS, type TuiValueContentContext} from '@taiga-ui/core/types';\nimport {TuiRadio} from '@taiga-ui/kit/components/radio';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nconst ERROR: ValidatorFn = () => ({error: 'Invalid'});\n\n@Component({\n standalone: true,\n selector: 'tui-radio-list',\n imports: [FormsModule, NgForOf, PolymorpheusOutlet, TuiRadio, TuiValidator],\n templateUrl: './radio-list.template.html',\n styleUrls: ['./radio-list.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAsControl(TuiRadioList)],\n host: {\n '[attr.data-size]': 'size',\n '(focusout)': 'onFocusOut()',\n },\n})\nexport class TuiRadioList<T> extends TuiControl<T> {\n @ViewChildren(NgControl)\n private readonly controls: QueryList<NgControl> = EMPTY_QUERY;\n\n private readonly id = inject(TuiIdService).generate();\n\n protected validator = computed(() =>\n this.invalid() ? ERROR : Validators.nullValidator,\n );\n\n @Input()\n public items: readonly T[] = [];\n\n @Input()\n public size: TuiSizeS = 'm';\n\n @Input()\n public identityMatcher: TuiIdentityMatcher<T> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n @Input()\n public disabledItemHandler: TuiBooleanHandler<T> = TUI_FALSE_HANDLER;\n\n @Input()\n public itemContent: PolymorpheusContent<TuiValueContentContext<T>> = ({$implicit}) =>\n String($implicit);\n\n protected get name(): string {\n return `${this.control.name}-${this.id}`;\n }\n\n protected onFocusOut(): void {\n this.controls.forEach((control) => control.control?.markAsTouched());\n\n if (!this.touched()) {\n this.onTouched();\n }\n }\n\n protected itemIsActive(item: T): boolean {\n return this.value() === null\n ? item === null\n : this.identityMatcher(this.value(), item);\n }\n}\n","<label\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [class.t-item_disabled]=\"disabled() || disabledItemHandler(item)\"\n>\n <input\n tuiRadio\n type=\"radio\"\n [disabled]=\"disabled() || disabledItemHandler(item)\"\n [identityMatcher]=\"identityMatcher\"\n [name]=\"name\"\n [ngModel]=\"value()\"\n [ngModelOptions]=\"{standalone: true}\"\n [size]=\"size\"\n [tuiValidator]=\"validator()\"\n [value]=\"item\"\n (ngModelChange)=\"onChange($event)\"\n />\n <ng-container *polymorpheusOutlet=\"itemContent as text; context: {$implicit: item, active: itemIsActive(item)}\">\n {{ text }}\n </ng-container>\n</label>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAyBA,MAAM,KAAK,GAAgB,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC;AAgB/C,MAAO,YAAgB,SAAQ,UAAa,CAAA;AAdlD,IAAA,WAAA,GAAA;;QAgBqB,IAAA,CAAA,QAAQ,GAAyB,WAAW;QAE5C,IAAA,CAA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CAAA,IAAA,EAAA,CAAA,CAAA;;2FAWjE,YAAY,EAAA,UAAA,EAAA,CAAA;kBAdxB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,gBAAgB,EAAA,OAAA,EACjB,CAAC,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,YAAY,CAAC,EAAA,aAAA,EAG5D,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,CAAC,YAAY,CAAA,YAAA,CAAc,CAAC,EAAA,IAAA,EACjC;AACF,wBAAA,kBAAkB,EAAE,MAAM;AAC1B,wBAAA,YAAY,EAAE,cAAc;AAC/B,qBAAA,EAAA,QAAA,EAAA,wuBAAA,EAAA,MAAA,EAAA,CAAA,2pBAAA,CAAA,EAAA;8BAIgB,QAAQ,EAAA,CAAA;sBADxB,YAAY;uBAAC,SAAS;gBAUhB,KAAK,EAAA,CAAA;sBADX;gBAIM,IAAI,EAAA,CAAA;sBADV;gBAIM,eAAe,EAAA,CAAA;sBADrB;gBAIM,mBAAmB,EAAA,CAAA;sBADzB;gBAIM,WAAW,EAAA,CAAA;sBADjB;;;AE/DL;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, DestroyRef, ChangeDetectorRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Directive } from '@angular/core';
2
+ import { InjectionToken, inject, DestroyRef, ChangeDetectorRef, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive } from '@angular/core';
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import { NgControl, RadioControlValueAccessor } from '@angular/forms';
5
5
  import * as i2 from '@taiga-ui/cdk/directives/native-validator';
@@ -42,10 +42,10 @@ class TuiRadioComponent {
42
42
  ? this.options.appearance
43
43
  : this.options.appearance(this.el);
44
44
  }
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
46
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRadioComponent, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio]", inputs: { size: "size" }, host: { properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._readonly": "!control" } }, hostDirectives: [{ directive: i1.TuiAppearance, inputs: ["tuiAppearanceState", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceFocus", "tuiAppearanceMode", "tuiAppearanceMode"] }, { directive: i2.TuiNativeValidator }], ngImport: i0, template: '', isInline: true, styles: ["[tuiRadio]{--t-size: 1.5rem;transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;inline-size:var(--t-size);block-size:var(--t-size);cursor:pointer;margin:0;flex-shrink:0;border-radius:100%;color:var(--tui-text-primary-on-accent-1)}[tuiRadio]:disabled._readonly{opacity:1}[tuiRadio]:before{position:absolute;top:0;left:0;bottom:0;right:0;transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";margin:auto;border-radius:100%;background:currentColor;transform:scale(0)}[tuiRadio]:checked:before{transform:scale(.5)}[tuiRadio][data-size=s]{--t-size: 1rem}[tuiRadio]:invalid:not([data-mode]),[tuiRadio][data-mode~=invalid]{color:#fff}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
46
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiRadioComponent, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio]", inputs: { size: "size" }, host: { properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._readonly": "!control" } }, hostDirectives: [{ directive: i1.TuiAppearance, inputs: ["tuiAppearanceState", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceFocus", "tuiAppearanceMode", "tuiAppearanceMode"] }, { directive: i2.TuiNativeValidator }], ngImport: i0, template: '', isInline: true, styles: ["[tuiRadio]{--t-size: 1.5rem;transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;inline-size:var(--t-size);block-size:var(--t-size);cursor:pointer;margin:0;flex-shrink:0;border-radius:100%;color:var(--tui-text-primary-on-accent-1)}[tuiRadio]:disabled._readonly{opacity:1}[tuiRadio]:before{position:absolute;top:0;left:0;bottom:0;right:0;transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";margin:auto;border-radius:100%;background:currentColor;transform:scale(0)}[tuiRadio]:checked:before{transform:scale(.5)}[tuiRadio][data-size=s]{--t-size: 1rem}[tuiRadio]:invalid:not([data-mode]),[tuiRadio][data-mode~=invalid]{color:#fff}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioComponent, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRadioComponent, decorators: [{
49
49
  type: Component,
50
50
  args: [{ standalone: true, selector: 'input[type="radio"][tuiRadio]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
51
51
  {
@@ -76,16 +76,16 @@ class TuiRadioDirective {
76
76
  }
77
77
  };
78
78
  }
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
80
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiRadioDirective, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio][identityMatcher]", inputs: { identityMatcher: "identityMatcher" }, ngImport: i0 }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRadioDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
80
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiRadioDirective, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio][identityMatcher]", inputs: { identityMatcher: "identityMatcher" }, ngImport: i0 }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioDirective, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRadioDirective, decorators: [{
83
83
  type: Directive,
84
84
  args: [{
85
85
  standalone: true,
86
86
  selector: 'input[type="radio"][tuiRadio][identityMatcher]',
87
87
  }]
88
- }], ctorParameters: function () { return []; }, propDecorators: { identityMatcher: [{
88
+ }], ctorParameters: () => [], propDecorators: { identityMatcher: [{
89
89
  type: Input
90
90
  }] } });
91
91
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-radio.mjs","sources":["../../../projects/kit/components/radio/radio.options.ts","../../../projects/kit/components/radio/radio.component.ts","../../../projects/kit/components/radio/radio.directive.ts","../../../projects/kit/components/radio/radio.ts","../../../projects/kit/components/radio/taiga-ui-kit-components-radio.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiRadioOptions {\n readonly appearance: TuiStringHandler<HTMLInputElement> | string;\n readonly size: TuiSizeS;\n}\n\nexport const TUI_RADIO_DEFAULT_OPTIONS: TuiRadioOptions = {\n size: 'm',\n appearance: ({checked}) => (checked ? 'primary' : 'outline-grayscale'),\n};\n\nexport const TUI_RADIO_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_RADIO_OPTIONS' : '',\n {\n factory: () => TUI_RADIO_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiRadioOptionsProvider(options: Partial<TuiRadioOptions>): Provider {\n return tuiProvideOptions(TUI_RADIO_OPTIONS, options, TUI_RADIO_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n type DoCheck,\n inject,\n Input,\n type OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {TuiNativeValidator} from '@taiga-ui/cdk/directives/native-validator';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TUI_RADIO_OPTIONS} from './radio.options';\n\n@Component({\n standalone: true,\n selector: 'input[type=\"radio\"][tuiRadio]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/radio.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: TuiAppearance,\n inputs: ['tuiAppearanceState', 'tuiAppearanceFocus', 'tuiAppearanceMode'],\n },\n TuiNativeValidator,\n ],\n host: {\n '[disabled]': '!control || control.disabled',\n '[attr.data-size]': 'size',\n '[class._readonly]': '!control',\n },\n})\nexport class TuiRadioComponent implements DoCheck, OnInit {\n private readonly appearance = inject(TuiAppearance);\n private readonly destroyRef = inject(DestroyRef);\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly options = inject(TUI_RADIO_OPTIONS);\n private readonly el = tuiInjectElement<HTMLInputElement>();\n\n protected readonly control = inject(NgControl, {self: true, optional: true});\n\n @Input()\n public size: TuiSizeS = this.options.size;\n\n public ngOnInit(): void {\n this.control?.valueChanges\n ?.pipe(tuiWatch(this.cdr), takeUntilDestroyed(this.destroyRef))\n .subscribe();\n }\n\n public ngDoCheck(): void {\n this.appearance.tuiAppearance = tuiIsString(this.options.appearance)\n ? this.options.appearance\n : this.options.appearance(this.el);\n }\n}\n","import {Directive, inject, Input} from '@angular/core';\nimport {RadioControlValueAccessor} from '@angular/forms';\nimport {TUI_DEFAULT_IDENTITY_MATCHER} from '@taiga-ui/cdk/constants';\nimport {type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\n@Directive({\n standalone: true,\n selector: 'input[type=\"radio\"][tuiRadio][identityMatcher]',\n})\nexport class TuiRadioDirective<T> {\n @Input()\n public identityMatcher: TuiIdentityMatcher<T> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n constructor() {\n const accessor = inject(RadioControlValueAccessor);\n const writeValue = accessor.writeValue.bind(accessor);\n\n accessor.writeValue = (value: T) => {\n if (this.identityMatcher(value, accessor.value)) {\n writeValue(accessor.value);\n } else {\n writeValue(value);\n }\n };\n }\n}\n","import {TuiRadioComponent} from './radio.component';\nimport {TuiRadioDirective} from './radio.directive';\n\nexport const TuiRadio = [TuiRadioComponent, TuiRadioDirective] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAUa,MAAA,yBAAyB,GAAoB;AACtD,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,UAAU,EAAE,CAAC,EAAC,OAAO,EAAC,MAAM,OAAO,GAAG,SAAS,GAAG,mBAAmB,CAAC;EACxE;AAEW,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAA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AAyB,CAAC,CAAC;QACnD,MAAM,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AAEtD,QAAA,QAAQ,CAAC,UAAU,GAAG,CAAC,KAAQ,KAAI;YAC/B,IAAI,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,EAAE;AAC7C,gBAAA,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC9B,aAAA;AAAM,iBAAA;gBACH,UAAU,CAAC,KAAK,CAAC,CAAC;AACrB,aAAA;AACL,SAAC,CAAC;KACL;+GAfQ,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kDAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gDAAgD;AAC7D,iBAAA,CAAA;0EAGU,eAAe,EAAA,CAAA;sBADrB,KAAK;;;MCPG,QAAQ,GAAG,CAAC,iBAAiB,EAAE,iBAAiB;;ACH7D;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-radio.mjs","sources":["../../../projects/kit/components/radio/radio.options.ts","../../../projects/kit/components/radio/radio.component.ts","../../../projects/kit/components/radio/radio.directive.ts","../../../projects/kit/components/radio/radio.ts","../../../projects/kit/components/radio/taiga-ui-kit-components-radio.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiRadioOptions {\n readonly appearance: TuiStringHandler<HTMLInputElement> | string;\n readonly size: TuiSizeS;\n}\n\nexport const TUI_RADIO_DEFAULT_OPTIONS: TuiRadioOptions = {\n size: 'm',\n appearance: ({checked}) => (checked ? 'primary' : 'outline-grayscale'),\n};\n\nexport const TUI_RADIO_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_RADIO_OPTIONS' : '',\n {\n factory: () => TUI_RADIO_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiRadioOptionsProvider(options: Partial<TuiRadioOptions>): Provider {\n return tuiProvideOptions(TUI_RADIO_OPTIONS, options, TUI_RADIO_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n type DoCheck,\n inject,\n Input,\n type OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {TuiNativeValidator} from '@taiga-ui/cdk/directives/native-validator';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TUI_RADIO_OPTIONS} from './radio.options';\n\n@Component({\n standalone: true,\n selector: 'input[type=\"radio\"][tuiRadio]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/radio.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: TuiAppearance,\n inputs: ['tuiAppearanceState', 'tuiAppearanceFocus', 'tuiAppearanceMode'],\n },\n TuiNativeValidator,\n ],\n host: {\n '[disabled]': '!control || control.disabled',\n '[attr.data-size]': 'size',\n '[class._readonly]': '!control',\n },\n})\nexport class TuiRadioComponent implements DoCheck, OnInit {\n private readonly appearance = inject(TuiAppearance);\n private readonly destroyRef = inject(DestroyRef);\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly options = inject(TUI_RADIO_OPTIONS);\n private readonly el = tuiInjectElement<HTMLInputElement>();\n\n protected readonly control = inject(NgControl, {self: true, optional: true});\n\n @Input()\n public size: TuiSizeS = this.options.size;\n\n public ngOnInit(): void {\n this.control?.valueChanges\n ?.pipe(tuiWatch(this.cdr), takeUntilDestroyed(this.destroyRef))\n .subscribe();\n }\n\n public ngDoCheck(): void {\n this.appearance.tuiAppearance = tuiIsString(this.options.appearance)\n ? this.options.appearance\n : this.options.appearance(this.el);\n }\n}\n","import {Directive, inject, Input} from '@angular/core';\nimport {RadioControlValueAccessor} from '@angular/forms';\nimport {TUI_DEFAULT_IDENTITY_MATCHER} from '@taiga-ui/cdk/constants';\nimport {type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\n@Directive({\n standalone: true,\n selector: 'input[type=\"radio\"][tuiRadio][identityMatcher]',\n})\nexport class TuiRadioDirective<T> {\n @Input()\n public identityMatcher: TuiIdentityMatcher<T> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n constructor() {\n const accessor = inject(RadioControlValueAccessor);\n const writeValue = accessor.writeValue.bind(accessor);\n\n accessor.writeValue = (value: T) => {\n if (this.identityMatcher(value, accessor.value)) {\n writeValue(accessor.value);\n } else {\n writeValue(value);\n }\n };\n }\n}\n","import {TuiRadioComponent} from './radio.component';\nimport {TuiRadioDirective} from './radio.directive';\n\nexport const TuiRadio = [TuiRadioComponent, TuiRadioDirective] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAUO,MAAM,yBAAyB,GAAoB;AACtD,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,UAAU,EAAE,CAAC,EAAC,OAAO,EAAC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