@taiga-ui/kit 5.0.0-canary.26e65fa → 5.0.0-canary.2b8a055

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 (299) hide show
  1. package/components/accordion/accordion.component.d.ts +4 -1
  2. package/components/accordion/accordion.directive.d.ts +1 -0
  3. package/components/calendar-month/calendar-month.component.d.ts +11 -18
  4. package/components/calendar-range/calendar-range.component.d.ts +6 -10
  5. package/components/combo-box/combo-box.directive.d.ts +1 -0
  6. package/components/copy/button-copy.component.d.ts +17 -0
  7. package/components/copy/copy.d.ts +2 -1
  8. package/components/copy/copy.directive.d.ts +5 -2
  9. package/components/copy/copy.options.d.ts +1 -3
  10. package/components/copy/index.d.ts +1 -0
  11. package/components/counter/counter.component.d.ts +17 -0
  12. package/components/counter/counter.options.d.ts +14 -0
  13. package/components/counter/index.d.ts +2 -0
  14. package/components/index.d.ts +3 -3
  15. package/components/input-chip/input-chip.component.d.ts +5 -0
  16. package/components/input-chip/input-chip.directive.d.ts +1 -1
  17. package/components/input-date/input-date.directive.d.ts +3 -2
  18. package/components/input-date/input-date.options.d.ts +2 -4
  19. package/components/input-date-multi/input-date-multi.directive.d.ts +1 -1
  20. package/components/input-date-time/input-date-time.component.d.ts +2 -2
  21. package/components/input-month/input-month.directive.d.ts +1 -1
  22. package/components/input-month/input-month.options.d.ts +1 -7
  23. package/components/input-month-range/input-month-range.directive.d.ts +1 -1
  24. package/components/input-month-range/input-month-range.options.d.ts +1 -3
  25. package/components/input-number/index.d.ts +1 -0
  26. package/components/input-number/input-number.directive.d.ts +1 -0
  27. package/components/input-number/number-mask.directive.d.ts +1 -1
  28. package/components/input-number/step/input-number-step.component.d.ts +3 -5
  29. package/components/input-number/step/input-number-step.service.d.ts +12 -0
  30. package/components/input-phone/input-phone.directive.d.ts +1 -1
  31. package/components/input-range/input-range.component.d.ts +2 -1
  32. package/components/input-slider/input-slider.d.ts +1 -1
  33. package/components/input-time/input-time.directive.d.ts +1 -1
  34. package/components/input-time/input-time.options.d.ts +1 -3
  35. package/components/input-year/input-year.directive.d.ts +1 -1
  36. package/components/line-clamp/line-clamp-box.component.d.ts +2 -0
  37. package/components/line-clamp/line-clamp.component.d.ts +5 -3
  38. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +1 -0
  39. package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +1 -1
  40. package/components/range/range.component.d.ts +2 -2
  41. package/components/select/native-select/native-select.component.d.ts +1 -1
  42. package/components/select/select-option/select-option.component.d.ts +1 -1
  43. package/components/shrink-wrap/index.d.ts +3 -0
  44. package/components/shrink-wrap/shrink-wrap.component.d.ts +5 -0
  45. package/components/shrink-wrap/shrink-wrap.d.ts +3 -0
  46. package/components/shrink-wrap/shrink-wrap.directive.d.ts +6 -0
  47. package/components/stepper/step.component.d.ts +1 -1
  48. package/components/switch/switch.component.d.ts +1 -1
  49. package/components/switch/switch.options.d.ts +1 -1
  50. package/components/tabs/tabs-with-more.component.d.ts +3 -3
  51. package/components/textarea/textarea.directive.d.ts +1 -1
  52. package/components/timeline/index.d.ts +3 -0
  53. package/components/timeline/timeline-item.component.d.ts +14 -0
  54. package/components/timeline/timeline.component.d.ts +16 -0
  55. package/components/timeline/timeline.d.ts +3 -0
  56. package/components/toast/toast.directive.d.ts +4 -1
  57. package/directives/password/password.options.d.ts +2 -4
  58. package/fesm2022/taiga-ui-kit-components-accordion.mjs +20 -10
  59. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +5 -5
  61. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-avatar.mjs +24 -25
  63. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -6
  65. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-components-badge.mjs +8 -7
  67. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -10
  69. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components-block.mjs +8 -7
  71. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +5 -7
  73. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +3 -3
  75. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +36 -50
  77. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +47 -63
  79. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-kit-components-carousel.mjs +18 -22
  81. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-chip.mjs +9 -8
  83. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +9 -5
  85. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-comment.mjs +12 -8
  87. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-compass.mjs +6 -4
  89. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-confirm.mjs +7 -7
  91. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-kit-components-copy.mjs +91 -28
  93. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-kit-components-counter.mjs +66 -0
  95. package/fesm2022/taiga-ui-kit-components-counter.mjs.map +1 -0
  96. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +7 -7
  97. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-components-drawer.mjs +4 -4
  99. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-components-files.mjs +28 -32
  101. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-components-filter.mjs +4 -6
  103. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +3 -3
  105. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +21 -15
  107. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-input-color.mjs +7 -7
  109. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +12 -14
  111. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +3 -3
  113. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +10 -11
  115. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-input-date.mjs +33 -24
  117. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +4 -4
  119. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +10 -6
  121. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-input-month.mjs +16 -20
  123. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-input-number.mjs +84 -59
  125. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +5 -5
  127. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +6 -6
  129. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +4 -4
  131. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-input-range.mjs +8 -4
  133. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +7 -7
  135. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-input-time.mjs +14 -13
  137. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-input-year.mjs +11 -9
  139. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +15 -17
  141. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-like.mjs +6 -5
  143. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +25 -16
  145. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-message.mjs +8 -7
  147. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +27 -22
  149. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -14
  151. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-pager.mjs +3 -3
  153. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-pagination.mjs +4 -4
  155. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-pin.mjs +9 -7
  157. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-preview.mjs +33 -37
  159. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-progress.mjs +30 -32
  161. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
  163. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-push.mjs +14 -16
  165. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -6
  167. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-range.mjs +23 -20
  169. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-rating.mjs +4 -4
  171. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +4 -6
  173. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-segmented.mjs +10 -16
  175. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-select.mjs +21 -23
  177. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs +39 -0
  179. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs.map +1 -0
  180. package/fesm2022/taiga-ui-kit-components-status.mjs +9 -7
  181. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-stepper.mjs +8 -8
  183. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-switch.mjs +6 -5
  185. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-tabs.mjs +40 -37
  187. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-textarea.mjs +18 -19
  189. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -15
  191. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-timeline.mjs +68 -0
  193. package/fesm2022/taiga-ui-kit-components-timeline.mjs.map +1 -0
  194. package/fesm2022/taiga-ui-kit-components-toast.mjs +30 -27
  195. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-tree.mjs +28 -36
  197. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components.mjs +3 -3
  199. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +3 -3
  200. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +8 -10
  202. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
  204. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  205. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +7 -7
  206. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  207. package/fesm2022/taiga-ui-kit-directives-connected.mjs +8 -10
  208. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -6
  210. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-directives-fade.mjs +7 -7
  212. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
  214. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -3
  216. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-directives-password.mjs +4 -10
  218. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -3
  220. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +7 -7
  222. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  224. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +6 -6
  226. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +7 -7
  228. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +3 -3
  230. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +3 -3
  232. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +4 -6
  234. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +4 -6
  236. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +4 -6
  238. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -4
  240. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +4 -6
  242. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
  244. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +4 -6
  246. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +4 -6
  248. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  250. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-tokens.mjs +18 -54
  252. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-utils.mjs +1 -5
  254. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  255. package/package.json +56 -61
  256. package/pipes/index.d.ts +0 -1
  257. package/tokens/i18n.d.ts +0 -1
  258. package/utils/index.d.ts +0 -1
  259. package/components/checkbox/checkbox.component.d.ts +0 -10
  260. package/components/checkbox/checkbox.options.d.ts +0 -10
  261. package/components/checkbox/index.d.ts +0 -2
  262. package/components/radio/index.d.ts +0 -4
  263. package/components/radio/radio.component.d.ts +0 -18
  264. package/components/radio/radio.d.ts +0 -3
  265. package/components/radio/radio.directive.d.ts +0 -8
  266. package/components/radio/radio.options.d.ts +0 -7
  267. package/components/slider/helpers/key-steps.d.ts +0 -27
  268. package/components/slider/helpers/slider-key-steps.directive.d.ts +0 -32
  269. package/components/slider/helpers/slider-readonly.directive.d.ts +0 -15
  270. package/components/slider/helpers/slider-thumb-label.component.d.ts +0 -13
  271. package/components/slider/index.d.ts +0 -6
  272. package/components/slider/slider.component.d.ts +0 -22
  273. package/components/slider/slider.d.ts +0 -5
  274. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +0 -36
  275. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +0 -1
  276. package/fesm2022/taiga-ui-kit-components-radio.mjs +0 -93
  277. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +0 -1
  278. package/fesm2022/taiga-ui-kit-components-slider.mjs +0 -343
  279. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +0 -1
  280. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +0 -60
  281. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +0 -1
  282. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +0 -21
  283. package/pipes/filter-by-input/index.d.ts +0 -1
  284. package/styles/components/avatar.less +0 -188
  285. package/styles/components/badge.less +0 -127
  286. package/styles/components/block.less +0 -118
  287. package/styles/components/checkbox.less +0 -84
  288. package/styles/components/chip.less +0 -139
  289. package/styles/components/comment.less +0 -64
  290. package/styles/components/compass.less +0 -49
  291. package/styles/components/like.less +0 -67
  292. package/styles/components/message.less +0 -33
  293. package/styles/components/pin.less +0 -164
  294. package/styles/components/progress-bar.less +0 -117
  295. package/styles/components/radio.less +0 -59
  296. package/styles/components/status.less +0 -40
  297. package/styles/components/switch.less +0 -103
  298. package/styles/components/toast.less +0 -44
  299. package/utils/is-flat.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "5.0.0-canary.26e65fa",
3
+ "version": "5.0.0-canary.2b8a055",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -15,8 +15,30 @@
15
15
  "url": "https://github.com/taiga-family/taiga-ui"
16
16
  },
17
17
  "license": "Apache-2.0",
18
+ "peerDependencies": {
19
+ "@angular/common": ">=19.0.0",
20
+ "@angular/core": ">=19.0.0",
21
+ "@angular/forms": ">=19.0.0",
22
+ "@angular/router": ">=19.0.0",
23
+ "@maskito/angular": "^5.1.1",
24
+ "@maskito/core": "^5.1.1",
25
+ "@maskito/kit": "^5.1.1",
26
+ "@maskito/phone": "^5.1.1",
27
+ "@ng-web-apis/common": "^5.1.0",
28
+ "@ng-web-apis/intersection-observer": "^5.1.0",
29
+ "@ng-web-apis/mutation-observer": "^5.1.0",
30
+ "@ng-web-apis/platform": "^5.1.0",
31
+ "@ng-web-apis/resize-observer": "^5.1.0",
32
+ "@taiga-ui/cdk": "5.0.0-rc.4",
33
+ "@taiga-ui/core": "5.0.0-rc.4",
34
+ "@taiga-ui/i18n": "5.0.0-rc.4",
35
+ "@taiga-ui/polymorpheus": "^5.0.0",
36
+ "@taiga-ui/styles": "5.0.0-rc.4",
37
+ "rxjs": ">=7.0.0"
38
+ },
39
+ "module": "fesm2022/taiga-ui-kit.mjs",
40
+ "typings": "index.d.ts",
18
41
  "exports": {
19
- "./styles/*": "./styles/*",
20
42
  "./package.json": {
21
43
  "default": "./package.json"
22
44
  },
@@ -32,21 +54,13 @@
32
54
  "types": "./directives/index.d.ts",
33
55
  "default": "./fesm2022/taiga-ui-kit-directives.mjs"
34
56
  },
35
- "./pipes": {
36
- "types": "./pipes/index.d.ts",
37
- "default": "./fesm2022/taiga-ui-kit-pipes.mjs"
38
- },
39
57
  "./tokens": {
40
58
  "types": "./tokens/index.d.ts",
41
59
  "default": "./fesm2022/taiga-ui-kit-tokens.mjs"
42
60
  },
43
- "./components/action-bar": {
44
- "types": "./components/action-bar/index.d.ts",
45
- "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
46
- },
47
- "./components/avatar": {
48
- "types": "./components/avatar/index.d.ts",
49
- "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
61
+ "./pipes": {
62
+ "types": "./pipes/index.d.ts",
63
+ "default": "./fesm2022/taiga-ui-kit-pipes.mjs"
50
64
  },
51
65
  "./utils": {
52
66
  "types": "./utils/index.d.ts",
@@ -56,10 +70,18 @@
56
70
  "types": "./components/accordion/index.d.ts",
57
71
  "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
58
72
  },
73
+ "./components/action-bar": {
74
+ "types": "./components/action-bar/index.d.ts",
75
+ "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
76
+ },
59
77
  "./components/badge": {
60
78
  "types": "./components/badge/index.d.ts",
61
79
  "default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
62
80
  },
81
+ "./components/avatar": {
82
+ "types": "./components/avatar/index.d.ts",
83
+ "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
84
+ },
63
85
  "./components/badge-notification": {
64
86
  "types": "./components/badge-notification/index.d.ts",
65
87
  "default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
@@ -92,10 +114,6 @@
92
114
  "types": "./components/carousel/index.d.ts",
93
115
  "default": "./fesm2022/taiga-ui-kit-components-carousel.mjs"
94
116
  },
95
- "./components/checkbox": {
96
- "types": "./components/checkbox/index.d.ts",
97
- "default": "./fesm2022/taiga-ui-kit-components-checkbox.mjs"
98
- },
99
117
  "./components/chip": {
100
118
  "types": "./components/chip/index.d.ts",
101
119
  "default": "./fesm2022/taiga-ui-kit-components-chip.mjs"
@@ -120,6 +138,10 @@
120
138
  "types": "./components/copy/index.d.ts",
121
139
  "default": "./fesm2022/taiga-ui-kit-components-copy.mjs"
122
140
  },
141
+ "./components/counter": {
142
+ "types": "./components/counter/index.d.ts",
143
+ "default": "./fesm2022/taiga-ui-kit-components-counter.mjs"
144
+ },
123
145
  "./components/data-list-wrapper": {
124
146
  "types": "./components/data-list-wrapper/index.d.ts",
125
147
  "default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
@@ -148,14 +170,14 @@
148
170
  "types": "./components/input-color/index.d.ts",
149
171
  "default": "./fesm2022/taiga-ui-kit-components-input-color.mjs"
150
172
  },
151
- "./components/input-date": {
152
- "types": "./components/input-date/index.d.ts",
153
- "default": "./fesm2022/taiga-ui-kit-components-input-date.mjs"
154
- },
155
173
  "./components/input-date-multi": {
156
174
  "types": "./components/input-date-multi/index.d.ts",
157
175
  "default": "./fesm2022/taiga-ui-kit-components-input-date-multi.mjs"
158
176
  },
177
+ "./components/input-date": {
178
+ "types": "./components/input-date/index.d.ts",
179
+ "default": "./fesm2022/taiga-ui-kit-components-input-date.mjs"
180
+ },
159
181
  "./components/input-date-range": {
160
182
  "types": "./components/input-date-range/index.d.ts",
161
183
  "default": "./fesm2022/taiga-ui-kit-components-input-date-range.mjs"
@@ -260,10 +282,6 @@
260
282
  "types": "./components/push/index.d.ts",
261
283
  "default": "./fesm2022/taiga-ui-kit-components-push.mjs"
262
284
  },
263
- "./components/radio": {
264
- "types": "./components/radio/index.d.ts",
265
- "default": "./fesm2022/taiga-ui-kit-components-radio.mjs"
266
- },
267
285
  "./components/radio-list": {
268
286
  "types": "./components/radio-list/index.d.ts",
269
287
  "default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
@@ -288,9 +306,9 @@
288
306
  "types": "./components/select/index.d.ts",
289
307
  "default": "./fesm2022/taiga-ui-kit-components-select.mjs"
290
308
  },
291
- "./components/slider": {
292
- "types": "./components/slider/index.d.ts",
293
- "default": "./fesm2022/taiga-ui-kit-components-slider.mjs"
309
+ "./components/shrink-wrap": {
310
+ "types": "./components/shrink-wrap/index.d.ts",
311
+ "default": "./fesm2022/taiga-ui-kit-components-shrink-wrap.mjs"
294
312
  },
295
313
  "./components/status": {
296
314
  "types": "./components/status/index.d.ts",
@@ -300,22 +318,26 @@
300
318
  "types": "./components/stepper/index.d.ts",
301
319
  "default": "./fesm2022/taiga-ui-kit-components-stepper.mjs"
302
320
  },
303
- "./components/textarea": {
304
- "types": "./components/textarea/index.d.ts",
305
- "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
321
+ "./components/switch": {
322
+ "types": "./components/switch/index.d.ts",
323
+ "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
306
324
  },
307
325
  "./components/tabs": {
308
326
  "types": "./components/tabs/index.d.ts",
309
327
  "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
310
328
  },
311
- "./components/switch": {
312
- "types": "./components/switch/index.d.ts",
313
- "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
329
+ "./components/textarea": {
330
+ "types": "./components/textarea/index.d.ts",
331
+ "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
314
332
  },
315
333
  "./components/tiles": {
316
334
  "types": "./components/tiles/index.d.ts",
317
335
  "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
318
336
  },
337
+ "./components/timeline": {
338
+ "types": "./components/timeline/index.d.ts",
339
+ "default": "./fesm2022/taiga-ui-kit-components-timeline.mjs"
340
+ },
319
341
  "./components/toast": {
320
342
  "types": "./components/toast/index.d.ts",
321
343
  "default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
@@ -400,10 +422,6 @@
400
422
  "types": "./pipes/emails/index.d.ts",
401
423
  "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
402
424
  },
403
- "./pipes/filter-by-input": {
404
- "types": "./pipes/filter-by-input/index.d.ts",
405
- "default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
406
- },
407
425
  "./pipes/flag": {
408
426
  "types": "./pipes/flag/index.d.ts",
409
427
  "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
@@ -429,29 +447,6 @@
429
447
  "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
430
448
  }
431
449
  },
432
- "peerDependencies": {
433
- "@angular/common": ">=19.0.0",
434
- "@angular/core": ">=19.0.0",
435
- "@angular/forms": ">=19.0.0",
436
- "@angular/router": ">=19.0.0",
437
- "@maskito/angular": "^5.0.1",
438
- "@maskito/core": "^5.0.1",
439
- "@maskito/kit": "^5.0.1",
440
- "@maskito/phone": "^5.0.1",
441
- "@ng-web-apis/common": "^5.0.3",
442
- "@ng-web-apis/intersection-observer": "^5.0.3",
443
- "@ng-web-apis/mutation-observer": "^5.0.3",
444
- "@ng-web-apis/platform": "^5.0.3",
445
- "@ng-web-apis/resize-observer": "^5.0.3",
446
- "@taiga-ui/cdk": "^5.0.0-rc.1",
447
- "@taiga-ui/core": "^5.0.0-rc.1",
448
- "@taiga-ui/design-tokens": "~0.275.0",
449
- "@taiga-ui/i18n": "^5.0.0-rc.1",
450
- "@taiga-ui/polymorpheus": "^5.0.0",
451
- "rxjs": ">=7.0.0"
452
- },
453
- "module": "fesm2022/taiga-ui-kit.mjs",
454
- "typings": "index.d.ts",
455
450
  "sideEffects": false,
456
451
  "dependencies": {
457
452
  "tslib": ">=2.8.1"
package/pipes/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export * from '@taiga-ui/kit/pipes/auto-color';
2
2
  export * from '@taiga-ui/kit/pipes/emails';
3
- export * from '@taiga-ui/kit/pipes/filter-by-input';
4
3
  export * from '@taiga-ui/kit/pipes/flag';
5
4
  export * from '@taiga-ui/kit/pipes/hide-selected';
6
5
  export * from '@taiga-ui/kit/pipes/initials';
package/tokens/i18n.d.ts CHANGED
@@ -25,7 +25,6 @@ export declare const TUI_TIME_TEXTS: InjectionToken<Signal<{
25
25
  'HH AA': string;
26
26
  HH: string;
27
27
  'MM:SS.MSS': string;
28
- 'MM.SS.MSS': string;
29
28
  'SS.MSS': string;
30
29
  }>>;
31
30
  export declare const TUI_DATE_TEXTS: InjectionToken<Signal<Record<TuiDateMode, string>>>;
package/utils/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from './create-time-periods';
2
2
  export * from './inject-value';
3
- export * from './is-flat';
4
3
  export * from './maskito.binding';
@@ -1,10 +0,0 @@
1
- import { TuiRadioComponent } from '@taiga-ui/kit/components/radio';
2
- import { type TuiCheckboxOptions } from './checkbox.options';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@taiga-ui/core/directives/icons";
5
- export declare class TuiCheckbox extends TuiRadioComponent<TuiCheckboxOptions> {
6
- protected readonly check: import("@angular/core").Signal<string>;
7
- protected readonly indeterminate: import("@angular/core").Signal<string>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckbox, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiCheckbox, "input[type=\"checkbox\"][tuiCheckbox]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiIcons; inputs: {}; outputs: {}; }]>;
10
- }
@@ -1,10 +0,0 @@
1
- import { type TuiStringHandler } from '@taiga-ui/cdk/types';
2
- import { type TuiSizeS } from '@taiga-ui/core/types';
3
- import { type TuiRadioOptions } from '@taiga-ui/kit/components/radio';
4
- export interface TuiCheckboxOptions extends TuiRadioOptions {
5
- readonly icons: Readonly<{
6
- checked: TuiStringHandler<TuiSizeS>;
7
- indeterminate: TuiStringHandler<TuiSizeS>;
8
- }>;
9
- }
10
- export declare const TUI_CHECKBOX_OPTIONS: import("@angular/core").InjectionToken<TuiCheckboxOptions>, tuiCheckboxOptionsProvider: (item: Partial<TuiCheckboxOptions> | (() => Partial<TuiCheckboxOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,2 +0,0 @@
1
- export * from './checkbox.component';
2
- export * from './checkbox.options';
@@ -1,4 +0,0 @@
1
- export * from './radio';
2
- export * from './radio.component';
3
- export * from './radio.directive';
4
- export * from './radio.options';
@@ -1,18 +0,0 @@
1
- import { type DoCheck, type OnInit } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { type TuiRadioOptions } from './radio.options';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@taiga-ui/core/directives/appearance";
6
- import * as i2 from "@taiga-ui/cdk/directives/native-validator";
7
- export declare class TuiRadioComponent<T extends TuiRadioOptions> implements DoCheck, OnInit {
8
- private readonly destroyRef;
9
- protected readonly el: HTMLInputElement;
10
- protected readonly options: T;
11
- protected readonly appearance: import("@angular/core").WritableSignal<string>;
12
- protected readonly control: NgControl | null;
13
- readonly size: import("@angular/core").InputSignal<import("@taiga-ui/core/types").TuiSizeS>;
14
- ngOnInit(): void;
15
- ngDoCheck(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiRadioComponent<any>, "input[type=\"radio\"][tuiRadio]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiAppearance; inputs: { "tuiAppearanceState": "tuiAppearanceState"; "tuiAppearanceFocus": "tuiAppearanceFocus"; "tuiAppearanceMode": "tuiAppearanceMode"; }; outputs: {}; }, { directive: typeof i2.TuiNativeValidator; inputs: {}; outputs: {}; }]>;
18
- }
@@ -1,3 +0,0 @@
1
- import { TuiRadioComponent } from './radio.component';
2
- import { TuiRadioDirective } from './radio.directive';
3
- export declare const TuiRadio: readonly [typeof TuiRadioComponent, typeof TuiRadioDirective];
@@ -1,8 +0,0 @@
1
- import { type TuiIdentityMatcher } from '@taiga-ui/cdk/types';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiRadioDirective<T> {
4
- readonly identityMatcher: import("@angular/core").InputSignal<TuiIdentityMatcher<T>>;
5
- constructor();
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioDirective<any>, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiRadioDirective<any>, "input[type=\"radio\"][tuiRadio][identityMatcher]", never, { "identityMatcher": { "alias": "identityMatcher"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8
- }
@@ -1,7 +0,0 @@
1
- import { type TuiStringHandler } from '@taiga-ui/cdk/types';
2
- import { type TuiSizeS } from '@taiga-ui/core/types';
3
- export interface TuiRadioOptions {
4
- readonly appearance: TuiStringHandler<HTMLInputElement>;
5
- readonly size: TuiSizeS;
6
- }
7
- export declare const TUI_RADIO_OPTIONS: import("@angular/core").InjectionToken<TuiRadioOptions>, tuiRadioOptionsProvider: (item: Partial<TuiRadioOptions> | (() => Partial<TuiRadioOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,27 +0,0 @@
1
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
2
- /**
3
- * Used as a limit for eliminating JS issues with floating point math
4
- */
5
- export declare const TUI_FLOATING_PRECISION = 7;
6
- /**
7
- * Steps for splitting sliders into different linear dependencies.
8
- * Each element of the array has the form [percent, value]
9
- *
10
- * Thus, to set a field from 50,000 to 30,000,000 in steps:
11
- * 1) From 50 000 to 200 000 by 5000 per step (30 steps)
12
- * 2) From 200 000 to 1 000 000 by 50 000 per step (16 steps)
13
- * 3) From 1 000 000 to 30 000 000 by 500 000 per step (58 steps)
14
- *
15
- * You need to pass the following keyStep (where 104 = 30 + 16 + 58 is the total number of steps):
16
- * [
17
- * [0, 50_000],
18
- * [100 / 104 * 30, 200_000],
19
- * [100 / 104 * (30 + 16), 1_000_000],
20
- * [100, 30_000_000],
21
- * ];
22
- *
23
- */
24
- export type TuiKeySteps = [[0, number], ...Array<[number, number]>, [100, number]];
25
- export declare function tuiPercentageToKeyStepValue(valuePercentage: number, keySteps: TuiKeySteps): number;
26
- export declare function tuiKeyStepValueToPercentage(value: number, keySteps: TuiKeySteps): number;
27
- export declare function tuiCreateKeyStepsTransformer(keySteps: TuiKeySteps): TuiValueTransformer<number, number>;
@@ -1,32 +0,0 @@
1
- import { type OnInit } from '@angular/core';
2
- import { TuiControl, type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { TuiSliderComponent } from '../slider.component';
4
- import { type TuiKeySteps } from './key-steps';
5
- import * as i0 from "@angular/core";
6
- export declare class TuiSliderKeyStepsBase implements OnInit {
7
- private readonly injector;
8
- private readonly control;
9
- protected readonly min: import("@angular/core").WritableSignal<number | undefined>;
10
- protected readonly max: import("@angular/core").WritableSignal<number | undefined>;
11
- protected readonly sync: import("@angular/core").EffectRef;
12
- slider: TuiSliderComponent;
13
- readonly step: import("@angular/core").InputSignal<number>;
14
- readonly keySteps: import("@angular/core").InputSignal<[[0, number], ...[number, number][], [100, number]] | undefined>;
15
- readonly transformer: import("@angular/core").WritableSignal<TuiValueTransformer<number, number> | undefined>;
16
- controlValue: import("@angular/core").Signal<number | undefined>;
17
- readonly totalSteps: import("@angular/core").Signal<number>;
18
- ngOnInit(): void;
19
- takeStep(coefficient: number): number;
20
- toSliderValue(fraction: number): number;
21
- setControlValue(controlValue: number): void;
22
- getControlValue(): number;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSliderKeyStepsBase, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSliderKeyStepsBase, "input[tuiSlider][keySteps]", never, { "step": { "alias": "step"; "required": false; "isSignal": true; }; "keySteps": { "alias": "keySteps"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
25
- }
26
- export declare class TuiSliderKeySteps extends TuiControl<number> {
27
- protected readonly base: TuiSliderKeyStepsBase;
28
- set keySteps(steps: TuiKeySteps | null | undefined);
29
- protected setValue(sliderValue: number): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSliderKeySteps, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSliderKeySteps, "input[tuiSlider][keySteps][ngModel],input[tuiSlider][keySteps][formControl],input[tuiSlider][keySteps][formControlName]", never, { "keySteps": { "alias": "keySteps"; "required": false; }; }, {}, never, never, true, never>;
32
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Native <input type='range' readonly> doesn't work.
4
- * This directive imitates this native behaviour.
5
- */
6
- export declare class TuiSliderReadonly {
7
- private readonly el;
8
- private readonly doc;
9
- readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, any>;
10
- constructor();
11
- protected preventEvent(event: Event): void;
12
- protected preventKeyboardInteraction(event: KeyboardEvent): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSliderReadonly, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSliderReadonly, "input[tuiSlider][readonly]", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
- }
@@ -1,13 +0,0 @@
1
- import { type AfterContentInit } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { TuiSliderComponent } from '../slider.component';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiSliderThumbLabel implements AfterContentInit {
6
- protected readonly slider: import("@angular/core").Signal<TuiSliderComponent | undefined>;
7
- protected readonly control: import("@angular/core").Signal<NgControl | undefined>;
8
- ngAfterContentInit(): void;
9
- protected get ratio(): number;
10
- protected get ghostStart(): number;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSliderThumbLabel, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSliderThumbLabel, "[tuiSliderThumbLabel]", never, {}, {}, ["slider", "control"], ["*", "input[type=range]"], true, never>;
13
- }
@@ -1,6 +0,0 @@
1
- export * from './helpers/key-steps';
2
- export * from './helpers/slider-key-steps.directive';
3
- export * from './helpers/slider-readonly.directive';
4
- export * from './helpers/slider-thumb-label.component';
5
- export * from './slider';
6
- export * from './slider.component';
@@ -1,22 +0,0 @@
1
- import { TuiSliderKeyStepsBase } from './helpers/slider-key-steps.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiSliderComponent {
4
- private readonly control;
5
- protected readonly ticksGradient: import("@angular/core").Signal<string>;
6
- readonly segments: import("@angular/core").InputSignalWithTransform<readonly number[], number | readonly number[]>;
7
- readonly el: HTMLInputElement;
8
- readonly keySteps: TuiSliderKeyStepsBase | null;
9
- constructor();
10
- get valueRatio(): number;
11
- get min(): number;
12
- set min(x: number);
13
- get max(): number;
14
- set max(x: number);
15
- get step(): number;
16
- set step(x: number);
17
- get value(): number;
18
- set value(newValue: number);
19
- protected getTicksGradient(segments: readonly number[]): string;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSliderComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSliderComponent, "input[type=range][tuiSlider]", never, { "segments": { "alias": "segments"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
22
- }
@@ -1,5 +0,0 @@
1
- import { TuiSliderKeySteps, TuiSliderKeyStepsBase } from './helpers/slider-key-steps.directive';
2
- import { TuiSliderReadonly } from './helpers/slider-readonly.directive';
3
- import { TuiSliderThumbLabel } from './helpers/slider-thumb-label.component';
4
- import { TuiSliderComponent } from './slider.component';
5
- export declare const TuiSlider: readonly [typeof TuiSliderComponent, typeof TuiSliderThumbLabel, typeof TuiSliderKeyStepsBase, typeof TuiSliderKeySteps, typeof TuiSliderReadonly];
@@ -1,36 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
3
- import { tuiCreateOptions, tuiProvide } from '@taiga-ui/cdk/utils/di';
4
- import * as i1 from '@taiga-ui/core/directives/icons';
5
- import { tuiIconStart, tuiIconEnd, TuiIcons } from '@taiga-ui/core/directives/icons';
6
- import { TuiRadioComponent, TUI_RADIO_OPTIONS } from '@taiga-ui/kit/components/radio';
7
-
8
- const [TUI_CHECKBOX_OPTIONS, tuiCheckboxOptionsProvider] = tuiCreateOptions({
9
- size: 'm',
10
- appearance: (el) => el.checked || el.indeterminate ? 'primary' : 'outline-grayscale',
11
- icons: {
12
- checked: () => '@tui.check',
13
- indeterminate: () => '@tui.minus',
14
- },
15
- });
16
-
17
- class TuiCheckbox extends TuiRadioComponent {
18
- constructor() {
19
- super(...arguments);
20
- this.check = tuiIconStart(computed(() => this.options.icons.checked(this.size())));
21
- this.indeterminate = tuiIconEnd(computed(() => this.options.icons.indeterminate(this.size())));
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TuiCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: TuiCheckbox, isStandalone: true, selector: "input[type=\"checkbox\"][tuiCheckbox]", providers: [tuiProvide(TUI_RADIO_OPTIONS, TUI_CHECKBOX_OPTIONS)], usesInheritance: true, hostDirectives: [{ directive: i1.TuiIcons }], ngImport: i0, template: '', isInline: true, styles: ["[tuiCheckbox]{--t-size: 1.5rem;--t-radius: var(--tui-radius-s);inline-size:var(--t-size);block-size:var(--t-size);border-radius:var(--t-radius);cursor:pointer;margin:0;flex-shrink:0}[tuiCheckbox]:before{position:absolute;block-size:100%;inline-size:100%;font-size:1rem;-webkit-mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>');mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>');transform:scale(0);transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out}[tuiCheckbox]:after{display:none}[tuiCheckbox]:disabled._readonly._readonly{opacity:1;pointer-events:none}[tuiCheckbox]:checked:before,[tuiCheckbox]:indeterminate:before{-webkit-mask-image:var(--t-icon-start);mask-image:var(--t-icon-start);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition-duration:inherit}[tuiCheckbox]:indeterminate:before{-webkit-mask-image:var(--t-icon-end);mask-image:var(--t-icon-end)}[tuiCheckbox][data-size=s]{--t-size: 1rem;--t-radius: var(--tui-radius-xs)}[tuiCheckbox][data-size=s]:before{font-size:.875rem}[tuiCheckbox]:invalid:not([data-mode]),[tuiCheckbox][data-mode~=invalid]{color:#fff}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TuiCheckbox, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'input[type="checkbox"][tuiCheckbox]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiProvide(TUI_RADIO_OPTIONS, TUI_CHECKBOX_OPTIONS)], hostDirectives: [TuiIcons], styles: ["[tuiCheckbox]{--t-size: 1.5rem;--t-radius: var(--tui-radius-s);inline-size:var(--t-size);block-size:var(--t-size);border-radius:var(--t-radius);cursor:pointer;margin:0;flex-shrink:0}[tuiCheckbox]:before{position:absolute;block-size:100%;inline-size:100%;font-size:1rem;-webkit-mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>');mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>');transform:scale(0);transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out}[tuiCheckbox]:after{display:none}[tuiCheckbox]:disabled._readonly._readonly{opacity:1;pointer-events:none}[tuiCheckbox]:checked:before,[tuiCheckbox]:indeterminate:before{-webkit-mask-image:var(--t-icon-start);mask-image:var(--t-icon-start);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition-duration:inherit}[tuiCheckbox]:indeterminate:before{-webkit-mask-image:var(--t-icon-end);mask-image:var(--t-icon-end)}[tuiCheckbox][data-size=s]{--t-size: 1rem;--t-radius: var(--tui-radius-xs)}[tuiCheckbox][data-size=s]:before{font-size:.875rem}[tuiCheckbox]:invalid:not([data-mode]),[tuiCheckbox][data-mode~=invalid]{color:#fff}\n"] }]
29
- }] });
30
-
31
- /**
32
- * Generated bundle index. Do not edit.
33
- */
34
-
35
- export { TUI_CHECKBOX_OPTIONS, TuiCheckbox, tuiCheckboxOptionsProvider };
36
- //# sourceMappingURL=taiga-ui-kit-components-checkbox.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-checkbox.mjs","sources":["../../../projects/kit/components/checkbox/checkbox.options.ts","../../../projects/kit/components/checkbox/checkbox.component.ts","../../../projects/kit/components/checkbox/taiga-ui-kit-components-checkbox.ts"],"sourcesContent":["import {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\nimport {type TuiRadioOptions} from '@taiga-ui/kit/components/radio';\n\nexport interface TuiCheckboxOptions extends TuiRadioOptions {\n readonly icons: Readonly<{\n checked: TuiStringHandler<TuiSizeS>;\n indeterminate: TuiStringHandler<TuiSizeS>;\n }>;\n}\n\nexport const [TUI_CHECKBOX_OPTIONS, tuiCheckboxOptionsProvider] =\n tuiCreateOptions<TuiCheckboxOptions>({\n size: 'm',\n appearance: (el) =>\n el.checked || el.indeterminate ? 'primary' : 'outline-grayscale',\n icons: {\n checked: () => '@tui.check',\n indeterminate: () => '@tui.minus',\n },\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/di';\nimport {tuiIconEnd, TuiIcons, tuiIconStart} from '@taiga-ui/core/directives/icons';\nimport {TUI_RADIO_OPTIONS, TuiRadioComponent} from '@taiga-ui/kit/components/radio';\n\nimport {TUI_CHECKBOX_OPTIONS, type TuiCheckboxOptions} from './checkbox.options';\n\n@Component({\n selector: 'input[type=\"checkbox\"][tuiCheckbox]',\n template: '',\n styles: '@import \"@taiga-ui/kit/styles/components/checkbox.less\";',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiProvide(TUI_RADIO_OPTIONS, TUI_CHECKBOX_OPTIONS)],\n hostDirectives: [TuiIcons],\n})\nexport class TuiCheckbox extends TuiRadioComponent<TuiCheckboxOptions> {\n protected readonly check = tuiIconStart(\n computed(() => this.options.icons.checked(this.size())),\n );\n\n protected readonly indeterminate = tuiIconEnd(\n computed(() => this.options.icons.indeterminate(this.size())),\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAYa,CAAC,oBAAoB,EAAE,0BAA0B,CAAC,GAC3D,gBAAgB,CAAqB;AACjC,IAAA,IAAI,EAAE,GAAG;IACT,UAAU,EAAE,CAAC,EAAE,KACX,EAAE,CAAC,OAAO,IAAI,EAAE,CAAC,aAAa,GAAG,SAAS,GAAG,mBAAmB;AACpE,IAAA,KAAK,EAAE;AACH,QAAA,OAAO,EAAE,MAAM,YAAY;AAC3B,QAAA,aAAa,EAAE,MAAM,YAAY;AACpC,KAAA;AACJ,CAAA;;ACAC,MAAO,WAAY,SAAQ,iBAAqC,CAAA;AATtE,IAAA,WAAA,GAAA;;QAUuB,IAAK,CAAA,KAAA,GAAG,YAAY,CACnC,QAAQ,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAC1D;QAEkB,IAAa,CAAA,aAAA,GAAG,UAAU,CACzC,QAAQ,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAChE;AACJ;+GARY,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uCAAA,EAAA,SAAA,EAHT,CAAC,UAAU,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAJtD,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,qtCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAOH,WAAW,EAAA,UAAA,EAAA,CAAA;kBATvB,SAAS;+BACI,qCAAqC,EAAA,QAAA,EACrC,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,CAAC,UAAU,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,EAAA,cAAA,EAChD,CAAC,QAAQ,CAAC,EAAA,MAAA,EAAA,CAAA,qtCAAA,CAAA,EAAA;;;ACnB9B;;AAEG;;;;"}
@@ -1,93 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, DestroyRef, input, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { NgControl, NgModel, RadioControlValueAccessor } from '@angular/forms';
5
- import * as i2 from '@taiga-ui/cdk/directives/native-validator';
6
- import { TuiNativeValidator } from '@taiga-ui/cdk/directives/native-validator';
7
- import { tuiControlValue } from '@taiga-ui/cdk/observables';
8
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
9
- import * as i1 from '@taiga-ui/core/directives/appearance';
10
- import { tuiAppearance, TuiAppearance } from '@taiga-ui/core/directives/appearance';
11
- import { distinctUntilChanged } from 'rxjs';
12
- import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
13
- import { TUI_DEFAULT_IDENTITY_MATCHER } from '@taiga-ui/cdk/constants';
14
-
15
- const [TUI_RADIO_OPTIONS, tuiRadioOptionsProvider] = tuiCreateOptions({
16
- size: 'm',
17
- appearance: ({ checked }) => (checked ? 'primary' : 'outline-grayscale'),
18
- });
19
-
20
- class TuiRadioComponent {
21
- constructor() {
22
- this.destroyRef = inject(DestroyRef);
23
- this.el = tuiInjectElement();
24
- this.options = inject(TUI_RADIO_OPTIONS);
25
- this.appearance = tuiAppearance(this.options.appearance(this.el));
26
- this.control = inject(NgControl, { self: true, optional: true });
27
- this.size = input(this.options.size);
28
- }
29
- ngOnInit() {
30
- tuiControlValue(this.control)
31
- .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))
32
- .subscribe((value) => {
33
- // https://github.com/angular/angular/issues/14988
34
- const fix = this.control instanceof NgModel && value == null
35
- ? this.control.model
36
- : value;
37
- this.el.indeterminate = fix == null && this.el.matches('[tuiCheckbox]');
38
- this.ngDoCheck();
39
- });
40
- }
41
- ngDoCheck() {
42
- this.appearance.set(this.options.appearance(this.el));
43
- }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TuiRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
45
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: TuiRadioComponent, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, 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._readonly{opacity:1}[tuiRadio]:before{position:absolute;inset:0;content:\"\";margin:auto;border-radius:100%;background:currentColor;transform:scale(0);transition-property:transform}[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 }); }
46
- }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TuiRadioComponent, decorators: [{
48
- type: Component,
49
- args: [{ selector: 'input[type="radio"][tuiRadio]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
50
- {
51
- directive: TuiAppearance,
52
- inputs: ['tuiAppearanceState', 'tuiAppearanceFocus', 'tuiAppearanceMode'],
53
- },
54
- TuiNativeValidator,
55
- ], host: {
56
- '[disabled]': '!control || control.disabled',
57
- '[attr.data-size]': 'size()',
58
- '[class._readonly]': '!control',
59
- }, 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._readonly{opacity:1}[tuiRadio]:before{position:absolute;inset:0;content:\"\";margin:auto;border-radius:100%;background:currentColor;transform:scale(0);transition-property:transform}[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"] }]
60
- }] });
61
-
62
- class TuiRadioDirective {
63
- constructor() {
64
- this.identityMatcher = input(TUI_DEFAULT_IDENTITY_MATCHER);
65
- const accessor = inject(RadioControlValueAccessor);
66
- const writeValue = accessor.writeValue.bind(accessor);
67
- accessor.writeValue = (value) => {
68
- if (this.identityMatcher()(value, accessor.value)) {
69
- writeValue(accessor.value);
70
- }
71
- else {
72
- writeValue(value);
73
- }
74
- };
75
- }
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TuiRadioDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
77
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.18", type: TuiRadioDirective, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio][identityMatcher]", inputs: { identityMatcher: { classPropertyName: "identityMatcher", publicName: "identityMatcher", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
78
- }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TuiRadioDirective, decorators: [{
80
- type: Directive,
81
- args: [{
82
- selector: 'input[type="radio"][tuiRadio][identityMatcher]',
83
- }]
84
- }], ctorParameters: () => [] });
85
-
86
- const TuiRadio = [TuiRadioComponent, TuiRadioDirective];
87
-
88
- /**
89
- * Generated bundle index. Do not edit.
90
- */
91
-
92
- export { TUI_RADIO_OPTIONS, TuiRadio, TuiRadioComponent, TuiRadioDirective, tuiRadioOptionsProvider };
93
- //# sourceMappingURL=taiga-ui-kit-components-radio.mjs.map
@@ -1 +0,0 @@
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 {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiRadioOptions {\n readonly appearance: TuiStringHandler<HTMLInputElement>;\n readonly size: TuiSizeS;\n}\n\nexport const [TUI_RADIO_OPTIONS, tuiRadioOptionsProvider] =\n tuiCreateOptions<TuiRadioOptions>({\n size: 'm',\n appearance: ({checked}) => (checked ? 'primary' : 'outline-grayscale'),\n });\n","import {\n ChangeDetectionStrategy,\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, NgModel} from '@angular/forms';\nimport {TuiNativeValidator} from '@taiga-ui/cdk/directives/native-validator';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TuiAppearance, tuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {distinctUntilChanged} from 'rxjs';\n\nimport {TUI_RADIO_OPTIONS, type TuiRadioOptions} from './radio.options';\n\n@Component({\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<T extends TuiRadioOptions> implements DoCheck, OnInit {\n private readonly destroyRef = inject(DestroyRef);\n\n protected readonly el = tuiInjectElement<HTMLInputElement>();\n protected readonly options = inject<T>(TUI_RADIO_OPTIONS);\n protected readonly appearance = tuiAppearance(this.options.appearance(this.el));\n protected readonly control = inject(NgControl, {self: true, optional: true});\n\n public readonly size = input(this.options.size);\n\n public ngOnInit(): void {\n tuiControlValue(this.control)\n .pipe(distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))\n .subscribe((value) => {\n // https://github.com/angular/angular/issues/14988\n const fix =\n this.control instanceof NgModel && value == null\n ? this.control.model\n : value;\n\n this.el.indeterminate = fix == null && this.el.matches('[tuiCheckbox]');\n this.ngDoCheck();\n });\n }\n\n public ngDoCheck(): void {\n this.appearance.set(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 selector: 'input[type=\"radio\"][tuiRadio][identityMatcher]',\n})\nexport class TuiRadioDirective<T> {\n public readonly identityMatcher = input<TuiIdentityMatcher<T>>(\n TUI_DEFAULT_IDENTITY_MATCHER,\n );\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":"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"}