@taiga-ui/kit 2.20.0 → 2.24.0

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 (572) hide show
  1. package/README.md +7 -3
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js +5 -6
  3. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
  5. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-action.umd.js +2 -2
  7. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  8. package/bundles/taiga-ui-kit-components-avatar.umd.js +1 -1
  9. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  11. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-badge.umd.js +2 -2
  13. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
  15. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
  17. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +1 -1
  18. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +2 -2
  19. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +1 -1
  21. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +1 -1
  23. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  25. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +1 -1
  27. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  29. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-combo-box.umd.js +13 -4
  31. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  33. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +2 -2
  35. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  37. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-filter.umd.js +1 -1
  39. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  40. package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
  41. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  42. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-count.umd.js +7 -2
  44. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +2 -2
  46. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +2 -2
  48. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  49. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
  51. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  52. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
  54. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  56. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-file.umd.js +4 -4
  58. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +1 -1
  60. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-inline.umd.js +1 -1
  62. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  63. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
  64. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  65. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
  67. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  68. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-number.umd.js +8 -2
  70. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  72. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -2
  74. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  76. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +1 -1
  78. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  80. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
  82. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  83. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
  85. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
  87. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-slider.umd.js +2 -2
  89. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  91. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-tag.umd.js +2 -2
  93. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
  95. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-time.umd.js +2 -2
  97. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
  101. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  102. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +1 -1
  104. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +1 -1
  105. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +16 -12
  106. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +2 -2
  108. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-multi-select.umd.js +18 -45
  110. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +2 -2
  112. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-pagination.umd.js +1 -1
  114. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  115. package/bundles/taiga-ui-kit-components-progress.umd.js +54 -18
  116. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  118. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +1 -1
  120. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  121. package/bundles/taiga-ui-kit-components-range.umd.js +2 -2
  122. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  124. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-select-option.umd.js +23 -14
  126. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +2 -2
  128. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  129. package/bundles/taiga-ui-kit-components-select.umd.js +9 -3
  130. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-components-select.umd.min.js +2 -2
  132. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  133. package/bundles/taiga-ui-kit-components-slider.umd.js +2 -2
  134. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  136. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  137. package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
  138. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  139. package/bundles/taiga-ui-kit-components-tabs.umd.js +3 -3
  140. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  142. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-tag.umd.js +2 -2
  144. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-tag.umd.min.js +2 -2
  146. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  147. package/bundles/taiga-ui-kit-components-text-area.umd.js +19 -2
  148. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  150. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-toggle.umd.js +1 -1
  152. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  154. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-tree.umd.js +653 -0
  156. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -0
  157. package/bundles/taiga-ui-kit-components-tree.umd.min.js +16 -0
  158. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -0
  159. package/bundles/taiga-ui-kit-components.umd.js +12 -4
  160. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  162. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +1 -1
  163. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  164. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  165. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-utils-format.umd.js +0 -2
  167. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  169. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  170. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  171. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  172. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  173. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  174. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  175. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  176. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  177. package/components/combo-box/combo-box.component.d.ts +3 -3
  178. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  179. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  180. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  181. package/components/index.d.ts +1 -0
  182. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  183. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  184. package/components/input-count/input-count.component.d.ts +1 -0
  185. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  186. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  187. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  188. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  189. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  190. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  191. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  192. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  193. package/components/input-number/input-number.component.d.ts +1 -0
  194. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  195. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  196. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  197. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  198. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  199. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  200. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  201. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  202. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  203. package/components/multi-select/index.d.ts +0 -1
  204. package/components/multi-select/multi-select.component.d.ts +6 -5
  205. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  206. package/components/multi-select-option/multi-select-option.component.d.ts +1 -1
  207. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  208. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  209. package/components/progress/index.d.ts +2 -0
  210. package/components/progress/pipes/abstract-color-segments.d.ts +9 -0
  211. package/components/progress/pipes/progress-color-segments-async.pipe.d.ts +5 -0
  212. package/components/progress/pipes/progress-color-segments.pipe.d.ts +7 -6
  213. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  214. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  215. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  216. package/components/select/select.component.d.ts +1 -1
  217. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  218. package/components/select-option/select-option.component.d.ts +4 -2
  219. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  220. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  221. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  222. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  223. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  224. package/components/taiga-ui-kit-components.metadata.json +1 -1
  225. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  226. package/components/text-area/text-area.component.d.ts +2 -0
  227. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  228. package/components/tree/components/tree/tree.component.d.ts +10 -0
  229. package/components/tree/components/tree-item/tree-item.component.d.ts +17 -0
  230. package/components/tree/components/tree-item/tree-item.providers.d.ts +3 -0
  231. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +9 -0
  232. package/components/tree/directives/tree-children.directive.d.ts +5 -0
  233. package/components/tree/directives/tree-controller.directive.d.ts +13 -0
  234. package/components/tree/directives/tree-item-controller.directive.d.ts +8 -0
  235. package/components/tree/directives/tree-node.directive.d.ts +10 -0
  236. package/components/tree/index.d.ts +13 -0
  237. package/components/tree/misc/tree.constants.d.ts +5 -0
  238. package/components/tree/misc/tree.interfaces.d.ts +22 -0
  239. package/components/tree/misc/tree.service.d.ts +12 -0
  240. package/components/tree/misc/tree.tokens.d.ts +11 -0
  241. package/components/tree/package.json +13 -0
  242. package/components/tree/taiga-ui-kit-components-tree.d.ts +4 -0
  243. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -0
  244. package/components/tree/tree.module.d.ts +2 -0
  245. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +5 -6
  246. package/esm2015/components/accordion/accordion.component.js +1 -1
  247. package/esm2015/components/action/action.component.js +2 -2
  248. package/esm2015/components/avatar/avatar.component.js +2 -2
  249. package/esm2015/components/badge/badge.component.js +3 -3
  250. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  251. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  252. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +2 -2
  253. package/esm2015/components/calendar-month/calendar-month.component.js +2 -2
  254. package/esm2015/components/calendar-range/calendar-range.component.js +2 -2
  255. package/esm2015/components/combo-box/combo-box.component.js +10 -5
  256. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  257. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  258. package/esm2015/components/filter/filter.component.js +1 -1
  259. package/esm2015/components/index.js +2 -1
  260. package/esm2015/components/input/input.component.js +1 -1
  261. package/esm2015/components/input-copy/input-copy.component.js +2 -2
  262. package/esm2015/components/input-count/input-count.component.js +8 -3
  263. package/esm2015/components/input-date/input-date.component.js +3 -3
  264. package/esm2015/components/input-date-range/input-date-range.component.js +2 -2
  265. package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
  266. package/esm2015/components/input-file/file/file.component.js +3 -3
  267. package/esm2015/components/input-file/input-file.component.js +3 -3
  268. package/esm2015/components/input-inline/input-inline.component.js +1 -1
  269. package/esm2015/components/input-month/input-month.component.js +1 -1
  270. package/esm2015/components/input-month-range/input-month-range.component.js +1 -1
  271. package/esm2015/components/input-number/input-number.component.js +9 -3
  272. package/esm2015/components/input-password/input-password.component.js +3 -3
  273. package/esm2015/components/input-password/input-password.module.js +3 -1
  274. package/esm2015/components/input-phone/input-phone.component.js +2 -2
  275. package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
  276. package/esm2015/components/input-range/input-range.component.js +3 -3
  277. package/esm2015/components/input-slider/input-slider.component.js +3 -3
  278. package/esm2015/components/input-tag/input-tag.component.js +3 -3
  279. package/esm2015/components/input-time/input-time.component.js +3 -3
  280. package/esm2015/components/line-clamp/line-clamp.component.js +1 -1
  281. package/esm2015/components/multi-select/index.js +1 -2
  282. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  283. package/esm2015/components/multi-select/multi-select.component.js +12 -20
  284. package/esm2015/components/multi-select/multi-select.module.js +1 -3
  285. package/esm2015/components/multi-select-option/multi-select-option.component.js +8 -10
  286. package/esm2015/components/pagination/pagination.component.js +1 -1
  287. package/esm2015/components/progress/index.js +3 -1
  288. package/esm2015/components/progress/pipes/abstract-color-segments.js +32 -0
  289. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +15 -0
  290. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +12 -28
  291. package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -2
  292. package/esm2015/components/progress/progress-label/progress-label.component.js +1 -1
  293. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  294. package/esm2015/components/progress/progress.module.js +4 -1
  295. package/esm2015/components/radio-labeled/radio-labeled.component.js +1 -1
  296. package/esm2015/components/range/range.component.js +3 -3
  297. package/esm2015/components/select/select.component.js +6 -4
  298. package/esm2015/components/select-option/select-option.component.js +20 -12
  299. package/esm2015/components/slider/slider.component.js +3 -3
  300. package/esm2015/components/stepper/step/step.component.js +1 -1
  301. package/esm2015/components/tabs/tabs/tabs.component.js +1 -1
  302. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  303. package/esm2015/components/tag/tag.component.js +3 -3
  304. package/esm2015/components/text-area/text-area.component.js +10 -4
  305. package/esm2015/components/text-area/text-area.module.js +5 -2
  306. package/esm2015/components/toggle/toggle.component.js +2 -2
  307. package/esm2015/components/tree/components/tree/tree.component.js +44 -0
  308. package/esm2015/components/tree/components/tree-item/tree-item.component.js +58 -0
  309. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +18 -0
  310. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +41 -0
  311. package/esm2015/components/tree/directives/tree-children.directive.js +23 -0
  312. package/esm2015/components/tree/directives/tree-controller.directive.js +62 -0
  313. package/esm2015/components/tree/directives/tree-item-controller.directive.js +36 -0
  314. package/esm2015/components/tree/directives/tree-node.directive.js +35 -0
  315. package/esm2015/components/tree/index.js +13 -0
  316. package/esm2015/components/tree/misc/tree.constants.js +9 -0
  317. package/esm2015/components/tree/misc/tree.interfaces.js +1 -0
  318. package/esm2015/components/tree/misc/tree.service.js +40 -0
  319. package/esm2015/components/tree/misc/tree.tokens.js +17 -0
  320. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +5 -0
  321. package/esm2015/components/tree/tree.module.js +38 -0
  322. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  323. package/esm2015/types/status.js +1 -1
  324. package/esm2015/utils/format/string-hash-to-hsl.js +1 -3
  325. package/esm5/components/accordion/accordion-item/accordion-item.component.js +5 -6
  326. package/esm5/components/accordion/accordion.component.js +1 -1
  327. package/esm5/components/action/action.component.js +2 -2
  328. package/esm5/components/avatar/avatar.component.js +2 -2
  329. package/esm5/components/badge/badge.component.js +3 -3
  330. package/esm5/components/badged-content/badged-content.component.js +1 -1
  331. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  332. package/esm5/components/breadcrumbs/breadcrumbs.component.js +2 -2
  333. package/esm5/components/calendar-month/calendar-month.component.js +2 -2
  334. package/esm5/components/calendar-range/calendar-range.component.js +2 -2
  335. package/esm5/components/combo-box/combo-box.component.js +14 -5
  336. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  337. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  338. package/esm5/components/filter/filter.component.js +1 -1
  339. package/esm5/components/index.js +2 -1
  340. package/esm5/components/input/input.component.js +1 -1
  341. package/esm5/components/input-copy/input-copy.component.js +2 -2
  342. package/esm5/components/input-count/input-count.component.js +8 -3
  343. package/esm5/components/input-date/input-date.component.js +3 -3
  344. package/esm5/components/input-date-range/input-date-range.component.js +2 -2
  345. package/esm5/components/input-date-time/input-date-time.component.js +2 -2
  346. package/esm5/components/input-file/file/file.component.js +3 -3
  347. package/esm5/components/input-file/input-file.component.js +3 -3
  348. package/esm5/components/input-inline/input-inline.component.js +1 -1
  349. package/esm5/components/input-month/input-month.component.js +1 -1
  350. package/esm5/components/input-month-range/input-month-range.component.js +1 -1
  351. package/esm5/components/input-number/input-number.component.js +9 -3
  352. package/esm5/components/input-password/input-password.component.js +3 -3
  353. package/esm5/components/input-password/input-password.module.js +3 -1
  354. package/esm5/components/input-phone/input-phone.component.js +2 -2
  355. package/esm5/components/input-phone-international/input-phone-international.component.js +2 -2
  356. package/esm5/components/input-range/input-range.component.js +3 -3
  357. package/esm5/components/input-slider/input-slider.component.js +3 -3
  358. package/esm5/components/input-tag/input-tag.component.js +3 -3
  359. package/esm5/components/input-time/input-time.component.js +3 -3
  360. package/esm5/components/line-clamp/line-clamp.component.js +1 -1
  361. package/esm5/components/multi-select/index.js +1 -2
  362. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  363. package/esm5/components/multi-select/multi-select.component.js +12 -24
  364. package/esm5/components/multi-select/multi-select.module.js +1 -3
  365. package/esm5/components/multi-select-option/multi-select-option.component.js +14 -11
  366. package/esm5/components/pagination/pagination.component.js +1 -1
  367. package/esm5/components/progress/index.js +3 -1
  368. package/esm5/components/progress/pipes/abstract-color-segments.js +35 -0
  369. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +21 -0
  370. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +16 -30
  371. package/esm5/components/progress/progress-circle/progress-circle.component.js +2 -2
  372. package/esm5/components/progress/progress-label/progress-label.component.js +1 -1
  373. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  374. package/esm5/components/progress/progress.module.js +4 -1
  375. package/esm5/components/radio-labeled/radio-labeled.component.js +1 -1
  376. package/esm5/components/range/range.component.js +3 -3
  377. package/esm5/components/select/select.component.js +10 -4
  378. package/esm5/components/select-option/select-option.component.js +24 -14
  379. package/esm5/components/slider/slider.component.js +3 -3
  380. package/esm5/components/stepper/step/step.component.js +1 -1
  381. package/esm5/components/tabs/tabs/tabs.component.js +1 -1
  382. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  383. package/esm5/components/tag/tag.component.js +3 -3
  384. package/esm5/components/text-area/text-area.component.js +18 -4
  385. package/esm5/components/text-area/text-area.module.js +5 -2
  386. package/esm5/components/toggle/toggle.component.js +2 -2
  387. package/esm5/components/tree/components/tree/tree.component.js +53 -0
  388. package/esm5/components/tree/components/tree-item/tree-item.component.js +68 -0
  389. package/esm5/components/tree/components/tree-item/tree-item.providers.js +18 -0
  390. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +50 -0
  391. package/esm5/components/tree/directives/tree-children.directive.js +25 -0
  392. package/esm5/components/tree/directives/tree-controller.directive.js +64 -0
  393. package/esm5/components/tree/directives/tree-item-controller.directive.js +38 -0
  394. package/esm5/components/tree/directives/tree-node.directive.js +40 -0
  395. package/esm5/components/tree/index.js +13 -0
  396. package/esm5/components/tree/misc/tree.constants.js +9 -0
  397. package/esm5/components/tree/misc/tree.interfaces.js +1 -0
  398. package/esm5/components/tree/misc/tree.service.js +44 -0
  399. package/esm5/components/tree/misc/tree.tokens.js +17 -0
  400. package/esm5/components/tree/taiga-ui-kit-components-tree.js +5 -0
  401. package/esm5/components/tree/tree.module.js +41 -0
  402. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  403. package/esm5/types/status.js +1 -1
  404. package/esm5/utils/format/string-hash-to-hsl.js +1 -3
  405. package/fesm2015/taiga-ui-kit-components-accordion.js +5 -6
  406. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  407. package/fesm2015/taiga-ui-kit-components-action.js +2 -2
  408. package/fesm2015/taiga-ui-kit-components-avatar.js +1 -1
  409. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  410. package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
  411. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  412. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
  413. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +2 -2
  414. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  415. package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -1
  416. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  417. package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -1
  418. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  419. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -4
  420. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  421. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  422. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  423. package/fesm2015/taiga-ui-kit-components-filter.js +1 -1
  424. package/fesm2015/taiga-ui-kit-components-input-copy.js +2 -2
  425. package/fesm2015/taiga-ui-kit-components-input-count.js +7 -2
  426. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  427. package/fesm2015/taiga-ui-kit-components-input-date-range.js +2 -2
  428. package/fesm2015/taiga-ui-kit-components-input-date-time.js +2 -2
  429. package/fesm2015/taiga-ui-kit-components-input-date.js +2 -2
  430. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  431. package/fesm2015/taiga-ui-kit-components-input-file.js +4 -4
  432. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  433. package/fesm2015/taiga-ui-kit-components-input-inline.js +1 -1
  434. package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -1
  435. package/fesm2015/taiga-ui-kit-components-input-month.js +1 -1
  436. package/fesm2015/taiga-ui-kit-components-input-number.js +8 -2
  437. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  438. package/fesm2015/taiga-ui-kit-components-input-password.js +4 -3
  439. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  440. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +1 -1
  441. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  442. package/fesm2015/taiga-ui-kit-components-input-phone.js +2 -2
  443. package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
  444. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  445. package/fesm2015/taiga-ui-kit-components-input-slider.js +2 -2
  446. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  447. package/fesm2015/taiga-ui-kit-components-input-tag.js +2 -2
  448. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  449. package/fesm2015/taiga-ui-kit-components-input-time.js +2 -2
  450. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  451. package/fesm2015/taiga-ui-kit-components-input.js +1 -1
  452. package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -1
  453. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -9
  454. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  455. package/fesm2015/taiga-ui-kit-components-multi-select.js +21 -40
  456. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  457. package/fesm2015/taiga-ui-kit-components-pagination.js +1 -1
  458. package/fesm2015/taiga-ui-kit-components-progress.js +39 -14
  459. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  460. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +1 -1
  461. package/fesm2015/taiga-ui-kit-components-range.js +2 -2
  462. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  463. package/fesm2015/taiga-ui-kit-components-select-option.js +19 -11
  464. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  465. package/fesm2015/taiga-ui-kit-components-select.js +5 -3
  466. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  467. package/fesm2015/taiga-ui-kit-components-slider.js +2 -2
  468. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  469. package/fesm2015/taiga-ui-kit-components-stepper.js +1 -1
  470. package/fesm2015/taiga-ui-kit-components-tabs.js +3 -3
  471. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  472. package/fesm2015/taiga-ui-kit-components-tag.js +2 -2
  473. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  474. package/fesm2015/taiga-ui-kit-components-text-area.js +12 -3
  475. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  476. package/fesm2015/taiga-ui-kit-components-toggle.js +1 -1
  477. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  478. package/fesm2015/taiga-ui-kit-components-tree.js +371 -0
  479. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -0
  480. package/fesm2015/taiga-ui-kit-components.js +1 -0
  481. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  482. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  483. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  484. package/fesm2015/taiga-ui-kit-utils-format.js +0 -2
  485. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  486. package/fesm5/taiga-ui-kit-components-accordion.js +5 -6
  487. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  488. package/fesm5/taiga-ui-kit-components-action.js +2 -2
  489. package/fesm5/taiga-ui-kit-components-avatar.js +1 -1
  490. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  491. package/fesm5/taiga-ui-kit-components-badge.js +2 -2
  492. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  493. package/fesm5/taiga-ui-kit-components-badged-content.js +1 -1
  494. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +2 -2
  495. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  496. package/fesm5/taiga-ui-kit-components-calendar-month.js +1 -1
  497. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  498. package/fesm5/taiga-ui-kit-components-calendar-range.js +1 -1
  499. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  500. package/fesm5/taiga-ui-kit-components-combo-box.js +13 -4
  501. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  502. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  503. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  504. package/fesm5/taiga-ui-kit-components-filter.js +1 -1
  505. package/fesm5/taiga-ui-kit-components-input-copy.js +2 -2
  506. package/fesm5/taiga-ui-kit-components-input-count.js +7 -2
  507. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  508. package/fesm5/taiga-ui-kit-components-input-date-range.js +2 -2
  509. package/fesm5/taiga-ui-kit-components-input-date-time.js +2 -2
  510. package/fesm5/taiga-ui-kit-components-input-date.js +2 -2
  511. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  512. package/fesm5/taiga-ui-kit-components-input-file.js +4 -4
  513. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  514. package/fesm5/taiga-ui-kit-components-input-inline.js +1 -1
  515. package/fesm5/taiga-ui-kit-components-input-month-range.js +1 -1
  516. package/fesm5/taiga-ui-kit-components-input-month.js +1 -1
  517. package/fesm5/taiga-ui-kit-components-input-number.js +8 -2
  518. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  519. package/fesm5/taiga-ui-kit-components-input-password.js +4 -3
  520. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  521. package/fesm5/taiga-ui-kit-components-input-phone-international.js +1 -1
  522. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  523. package/fesm5/taiga-ui-kit-components-input-phone.js +2 -2
  524. package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
  525. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  526. package/fesm5/taiga-ui-kit-components-input-slider.js +2 -2
  527. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  528. package/fesm5/taiga-ui-kit-components-input-tag.js +2 -2
  529. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  530. package/fesm5/taiga-ui-kit-components-input-time.js +2 -2
  531. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  532. package/fesm5/taiga-ui-kit-components-input.js +1 -1
  533. package/fesm5/taiga-ui-kit-components-line-clamp.js +1 -1
  534. package/fesm5/taiga-ui-kit-components-multi-select-option.js +13 -10
  535. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  536. package/fesm5/taiga-ui-kit-components-multi-select.js +21 -47
  537. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  538. package/fesm5/taiga-ui-kit-components-pagination.js +1 -1
  539. package/fesm5/taiga-ui-kit-components-progress.js +53 -17
  540. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  541. package/fesm5/taiga-ui-kit-components-radio-labeled.js +1 -1
  542. package/fesm5/taiga-ui-kit-components-range.js +2 -2
  543. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  544. package/fesm5/taiga-ui-kit-components-select-option.js +23 -13
  545. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  546. package/fesm5/taiga-ui-kit-components-select.js +9 -3
  547. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  548. package/fesm5/taiga-ui-kit-components-slider.js +2 -2
  549. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  550. package/fesm5/taiga-ui-kit-components-stepper.js +1 -1
  551. package/fesm5/taiga-ui-kit-components-tabs.js +3 -3
  552. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  553. package/fesm5/taiga-ui-kit-components-tag.js +2 -2
  554. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  555. package/fesm5/taiga-ui-kit-components-text-area.js +20 -3
  556. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  557. package/fesm5/taiga-ui-kit-components-toggle.js +1 -1
  558. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  559. package/fesm5/taiga-ui-kit-components-tree.js +417 -0
  560. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -0
  561. package/fesm5/taiga-ui-kit-components.js +1 -0
  562. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  563. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  564. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  565. package/fesm5/taiga-ui-kit-utils-format.js +0 -2
  566. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  567. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  568. package/package.json +5 -5
  569. package/types/status.d.ts +1 -1
  570. package/components/multi-select/multi-select-group/multi-select-group-reset.directive.d.ts +0 -3
  571. package/esm2015/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -20
  572. package/esm5/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -23
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"ToggleOptions":{"__symbolic":"interface"},"TUI_TOGGLE_DEFAULT_OPTIONS":{"icons":{},"singleColor":false,"showIcons":false,"size":"m"},"TUI_TOGGLE_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":38},"arguments":["Default parameters for toggle component",{"__symbolic":"error","message":"Lambda not supported","line":33,"character":17,"module":"./toggle-options"}]},"TuiToggleComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"AbstractTuiControl","line":46,"character":12},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":33,"character":1},"arguments":[{"selector":"tui-toggle","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":37,"character":21},"member":"OnPush"},"providers":[{"provide":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_FOCUSABLE_ITEM_ACCESSOR","line":40,"character":21},"useExisting":{"__symbolic":"reference","name":"TuiToggleComponent"}}],"template":"<tui-wrapper\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocusVisible\"\n [hovered]=\"computedHovered\"\n [pressed]=\"computedPressed\"\n [invalid]=\"computedInvalid\"\n>\n <div class=\"toggle\">\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"loader\"\n [size]=\"loaderSize\"\n [inheritColor]=\"true\"\n [showLoader]=\"checked\"\n ></tui-loader>\n <span\n polymorpheus-outlet\n class=\"icon-wrapper\"\n [content]=\"iconOn\"\n [context]=\"{ $implicit: size }\"\n >\n <ng-template let-icon>\n <tui-svg\n *ngIf=\"showIcons && !showLoader\"\n class=\"icon\"\n automation-id=\"tui-toggle__check-icon\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n <div class=\"circle\"></div>\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"loader\"\n [size]=\"loaderSize\"\n [inheritColor]=\"true\"\n [showLoader]=\"!checked\"\n ></tui-loader>\n <span\n polymorpheus-outlet\n class=\"icon-wrapper\"\n [content]=\"iconOff\"\n [context]=\"{ $implicit: size }\"\n >\n <ng-template let-icon>\n <tui-svg\n *ngIf=\"showIcons && !showLoader\"\n class=\"icon icon_off\"\n automation-id=\"tui-toggle__cancel-icon\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n </div>\n</tui-wrapper>\n<input\n #focusableElement\n type=\"checkbox\"\n class=\"checkbox\"\n role=\"switch\"\n automation-id=\"tui-toggle__checkbox\"\n [attr.aria-checked]=\"value\"\n [id]=\"id\"\n [disabled]=\"disabled\"\n [tuiChecked]=\"checked\"\n [tuiFocusable]=\"focusable\"\n (tuiCheckedChange)=\"onChecked($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (tuiPressedChange)=\"onPressed($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n/>\n","styles":[":host{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}:host[data-tui-host-size='m']{width:2rem;height:1rem}:host[data-tui-host-size='l']{width:3rem;height:1.5rem}.checkbox{padding:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.checkbox:-webkit-autofill,.checkbox:-webkit-autofill:focus,.checkbox:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 1000px var(--tui-autofill) inset!important}:host._disabled .checkbox{pointer-events:none;cursor:default}.toggle{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}:host[data-tui-host-size='m'] .toggle{width:3rem;height:1rem;transform:translateX(-1rem)}:host[data-tui-host-size='l'] .toggle{width:4.5rem;height:1.5rem;transform:translateX(-1.5rem)}:host._checked .toggle{transform:translateX(0)}.circle{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}:host._disabled .circle_light{opacity:.24}:host[data-tui-host-size='m'] .circle{width:.75rem;height:.75rem}:host[data-tui-host-size='l'] .circle{width:1rem;height:1rem}:host._disabled .circle{background-color:var(--tui-base-01)}:host:not(._checked) .loader{color:var(--tui-base-06)}:host:not(._checked)._disabled .loader{color:var(--tui-base-05)}:host:not(._checked)[data-mode=onDark] .loader{color:var(--tui-text-03-night)}:host:not(._checked)[data-mode=onDark]._disabled .loader{color:var(--tui-clear-inverse-active)}:host:not(._checked)[data-mode=onLight] .loader{color:var(--tui-text-03)}:host:not(._checked)[data-mode=onLight]._disabled .loader{color:var(--tui-clear-active)}:host[data-tui-host-size='m'] .loader{width:.75rem;margin:0 .2rem;transform:scale(.75)}:host[data-tui-host-size='l'] .loader{width:1rem;margin:0 .25rem}.icon-wrapper{display:flex}.icon{opacity:.8}.icon_off{color:var(--tui-base-06)}:host._disabled .icon_off{color:var(--tui-base-05)}:host[data-mode=onDark] .icon_off{color:var(--tui-text-03-night)}:host[data-mode=onDark]._disabled .icon_off{color:var(--tui-clear-inverse-active)}:host[data-mode=onLight] .icon_off{color:var(--tui-text-03)}:host[data-mode=onLight]._disabled .icon_off{color:var(--tui-clear-active)}:host[data-tui-host-size='m'] .icon{width:1rem;height:1rem;transform:scale(.75)}:host[data-tui-host-size='l'] .icon{margin:0 .125rem;width:1.5rem;height:1.5rem}:host._hovered .icon{opacity:1}"]}]}],"members":{"singleColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":50,"character":5}}]}],"showIcons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":54,"character":5}}]}],"showLoader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":58,"character":5}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":62,"character":5},"arguments":["attr.data-tui-host-size"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":63,"character":5}}]}],"focusableElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":66,"character":5},"arguments":["focusableElement"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":70,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":71,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":72,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":72,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":74,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":74,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":75,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":76,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiModeDirective","line":76,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":78,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TOGGLE_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":73,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":74,"character":54},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiModeDirective","line":77,"character":40},{"__symbolic":"reference","name":"ToggleOptions"}]}],"checked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":110,"character":5},"arguments":["class._checked"]}]}],"hostMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":119,"character":5},"arguments":["attr.data-mode"]}]}],"onChecked":[{"__symbolic":"method"}],"onFocused":[{"__symbolic":"method"}],"onHovered":[{"__symbolic":"method"}],"onPressed":[{"__symbolic":"method"}],"onFocusVisible":[{"__symbolic":"method"}],"getFallbackValue":[{"__symbolic":"method"}]}},"TuiToggleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusedModule","line":17,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusableModule","line":18,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiHoveredModule","line":19,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiPressedModule","line":20,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusVisibleModule","line":21,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiCheckedModule","line":22,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiWrapperModule","line":23,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiSvgModule","line":24,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiLoaderModule","line":25,"character":8},{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusModule","line":26,"character":8}],"declarations":[{"__symbolic":"reference","name":"TuiToggleComponent"}],"exports":[{"__symbolic":"reference","name":"TuiToggleComponent"}]}]}],"members":{}}},"origins":{"ToggleOptions":"./toggle-options","TUI_TOGGLE_DEFAULT_OPTIONS":"./toggle-options","TUI_TOGGLE_OPTIONS":"./toggle-options","TuiToggleComponent":"./toggle.component","TuiToggleModule":"./toggle.module"},"importAs":"@taiga-ui/kit/components/toggle"}
1
+ {"__symbolic":"module","version":4,"metadata":{"ToggleOptions":{"__symbolic":"interface"},"TUI_TOGGLE_DEFAULT_OPTIONS":{"icons":{},"singleColor":false,"showIcons":false,"size":"m"},"TUI_TOGGLE_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":38},"arguments":["Default parameters for toggle component",{"__symbolic":"error","message":"Lambda not supported","line":33,"character":17,"module":"./toggle-options"}]},"TuiToggleComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"AbstractTuiControl","line":46,"character":12},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":33,"character":1},"arguments":[{"selector":"tui-toggle","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":37,"character":21},"member":"OnPush"},"providers":[{"provide":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_FOCUSABLE_ITEM_ACCESSOR","line":40,"character":21},"useExisting":{"__symbolic":"reference","name":"TuiToggleComponent"}}],"template":"<tui-wrapper\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocusVisible\"\n [hovered]=\"computedHovered\"\n [pressed]=\"computedPressed\"\n [invalid]=\"computedInvalid\"\n>\n <div class=\"toggle\">\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"loader\"\n [size]=\"loaderSize\"\n [inheritColor]=\"true\"\n [showLoader]=\"checked\"\n ></tui-loader>\n <span\n polymorpheus-outlet\n class=\"icon-wrapper\"\n [content]=\"iconOn\"\n [context]=\"{$implicit: size}\"\n >\n <ng-template let-icon>\n <tui-svg\n *ngIf=\"showIcons && !showLoader\"\n automation-id=\"tui-toggle__check-icon\"\n class=\"icon\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n <div class=\"circle\"></div>\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"loader\"\n [size]=\"loaderSize\"\n [inheritColor]=\"true\"\n [showLoader]=\"!checked\"\n ></tui-loader>\n <span\n polymorpheus-outlet\n class=\"icon-wrapper\"\n [content]=\"iconOff\"\n [context]=\"{$implicit: size}\"\n >\n <ng-template let-icon>\n <tui-svg\n *ngIf=\"showIcons && !showLoader\"\n automation-id=\"tui-toggle__cancel-icon\"\n class=\"icon icon_off\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n </div>\n</tui-wrapper>\n<input\n #focusableElement\n type=\"checkbox\"\n role=\"switch\"\n automation-id=\"tui-toggle__checkbox\"\n class=\"checkbox\"\n [attr.aria-checked]=\"value\"\n [id]=\"id\"\n [disabled]=\"disabled\"\n [tuiChecked]=\"checked\"\n [tuiFocusable]=\"focusable\"\n (tuiCheckedChange)=\"onChecked($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (tuiPressedChange)=\"onPressed($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n/>\n","styles":[":host{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}:host[data-tui-host-size='m']{width:2rem;height:1rem}:host[data-tui-host-size='l']{width:3rem;height:1.5rem}.checkbox{padding:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.checkbox:-webkit-autofill,.checkbox:-webkit-autofill:focus,.checkbox:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 1000px var(--tui-autofill) inset!important}:host._disabled .checkbox{pointer-events:none;cursor:default}.toggle{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}:host[data-tui-host-size='m'] .toggle{width:3rem;height:1rem;transform:translateX(-1rem)}:host[data-tui-host-size='l'] .toggle{width:4.5rem;height:1.5rem;transform:translateX(-1.5rem)}:host._checked .toggle{transform:translateX(0)}.circle{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}:host._disabled .circle_light{opacity:.24}:host[data-tui-host-size='m'] .circle{width:.75rem;height:.75rem}:host[data-tui-host-size='l'] .circle{width:1rem;height:1rem}:host._disabled .circle{background-color:var(--tui-base-01)}:host:not(._checked) .loader{color:var(--tui-base-06)}:host:not(._checked)._disabled .loader{color:var(--tui-base-05)}:host:not(._checked)[data-mode=onDark] .loader{color:var(--tui-text-03-night)}:host:not(._checked)[data-mode=onDark]._disabled .loader{color:var(--tui-clear-inverse-active)}:host:not(._checked)[data-mode=onLight] .loader{color:var(--tui-text-03)}:host:not(._checked)[data-mode=onLight]._disabled .loader{color:var(--tui-clear-active)}:host[data-tui-host-size='m'] .loader{width:.75rem;margin:0 .2rem;transform:scale(.75)}:host[data-tui-host-size='l'] .loader{width:1rem;margin:0 .25rem}.icon-wrapper{display:flex}.icon{opacity:.8}.icon_off{color:var(--tui-base-06)}:host._disabled .icon_off{color:var(--tui-base-05)}:host[data-mode=onDark] .icon_off{color:var(--tui-text-03-night)}:host[data-mode=onDark]._disabled .icon_off{color:var(--tui-clear-inverse-active)}:host[data-mode=onLight] .icon_off{color:var(--tui-text-03)}:host[data-mode=onLight]._disabled .icon_off{color:var(--tui-clear-active)}:host[data-tui-host-size='m'] .icon{width:1rem;height:1rem;transform:scale(.75)}:host[data-tui-host-size='l'] .icon{margin:0 .125rem;width:1.5rem;height:1.5rem}:host._hovered .icon{opacity:1}"]}]}],"members":{"singleColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":50,"character":5}}]}],"showIcons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":54,"character":5}}]}],"showLoader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":58,"character":5}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":62,"character":5},"arguments":["attr.data-tui-host-size"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":63,"character":5}}]}],"focusableElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":66,"character":5},"arguments":["focusableElement"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":70,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":71,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":72,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":72,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":74,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":74,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":75,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":76,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiModeDirective","line":76,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":78,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TOGGLE_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":73,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":74,"character":54},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiModeDirective","line":77,"character":40},{"__symbolic":"reference","name":"ToggleOptions"}]}],"checked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":110,"character":5},"arguments":["class._checked"]}]}],"hostMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":119,"character":5},"arguments":["attr.data-mode"]}]}],"onChecked":[{"__symbolic":"method"}],"onFocused":[{"__symbolic":"method"}],"onHovered":[{"__symbolic":"method"}],"onPressed":[{"__symbolic":"method"}],"onFocusVisible":[{"__symbolic":"method"}],"getFallbackValue":[{"__symbolic":"method"}]}},"TuiToggleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusedModule","line":17,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusableModule","line":18,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiHoveredModule","line":19,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiPressedModule","line":20,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusVisibleModule","line":21,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiCheckedModule","line":22,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiWrapperModule","line":23,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiSvgModule","line":24,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiLoaderModule","line":25,"character":8},{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusModule","line":26,"character":8}],"declarations":[{"__symbolic":"reference","name":"TuiToggleComponent"}],"exports":[{"__symbolic":"reference","name":"TuiToggleComponent"}]}]}],"members":{}}},"origins":{"ToggleOptions":"./toggle-options","TUI_TOGGLE_DEFAULT_OPTIONS":"./toggle-options","TUI_TOGGLE_OPTIONS":"./toggle-options","TuiToggleComponent":"./toggle.component","TuiToggleModule":"./toggle.module"},"importAs":"@taiga-ui/kit/components/toggle"}
@@ -0,0 +1,10 @@
1
+ import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
2
+ import { TuiTreeChildrenDirective } from '../../directives/tree-children.directive';
3
+ import { TuiTreeContext } from '../../misc/tree.interfaces';
4
+ export declare class TuiTreeComponent<T> {
5
+ readonly directive: TuiTreeChildrenDirective<T> | null;
6
+ value: T;
7
+ content: PolymorpheusContent<TuiTreeContext<T>>;
8
+ constructor(directive: TuiTreeChildrenDirective<T> | null);
9
+ get children(): readonly T[];
10
+ }
@@ -0,0 +1,17 @@
1
+ import { DoCheck, ElementRef } from '@angular/core';
2
+ import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
3
+ import { TuiTreeController, TuiTreeItemContext } from '../../misc/tree.interfaces';
4
+ export declare class TuiTreeItemComponent implements DoCheck {
5
+ private readonly elementRef;
6
+ private readonly controller;
7
+ readonly level: number;
8
+ readonly content: PolymorpheusContent<TuiTreeItemContext>;
9
+ private readonly change$;
10
+ private readonly nested;
11
+ readonly expanded$: import("rxjs").Observable<boolean>;
12
+ readonly attached$: import("rxjs").Observable<boolean>;
13
+ constructor(elementRef: ElementRef<HTMLElement>, controller: TuiTreeController, level: number, content: PolymorpheusContent<TuiTreeItemContext>);
14
+ get isExpandable(): boolean;
15
+ get isExpanded(): boolean;
16
+ ngDoCheck(): void;
17
+ }
@@ -0,0 +1,3 @@
1
+ import { Provider } from '@angular/core';
2
+ export declare const TUI_TREE_ITEM_PROVIDERS: Provider[];
3
+ export declare function treeLevelFactory(level: number): number;
@@ -0,0 +1,9 @@
1
+ import { TuiTreeController, TuiTreeItemContext } from '../../misc/tree.interfaces';
2
+ export declare class TuiTreeItemContentComponent {
3
+ readonly context: TuiTreeItemContext;
4
+ private readonly controller;
5
+ constructor(context: TuiTreeItemContext, controller: TuiTreeController);
6
+ get isExpanded(): boolean;
7
+ get isExpandable(): boolean;
8
+ onClick(): void;
9
+ }
@@ -0,0 +1,5 @@
1
+ import { TuiHandler } from '@taiga-ui/cdk';
2
+ export declare class TuiTreeChildrenDirective<T> {
3
+ childrenHandler: TuiHandler<T, readonly T[]>;
4
+ static defaultHandler<G>(item: G): readonly G[];
5
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { TuiTreeItemComponent } from '../components/tree-item/tree-item.component';
3
+ import { TuiTreeAccessor, TuiTreeController } from '../misc/tree.interfaces';
4
+ export declare class TuiTreeControllerDirective<T> implements TuiTreeController, TuiTreeAccessor<T> {
5
+ fallback: boolean;
6
+ map: Map<T, boolean>;
7
+ readonly toggled: EventEmitter<T>;
8
+ readonly items: Map<TuiTreeItemComponent, T>;
9
+ register(item: TuiTreeItemComponent, value: T): void;
10
+ unregister(item: TuiTreeItemComponent): void;
11
+ isExpanded(item: TuiTreeItemComponent): boolean;
12
+ toggle(item: TuiTreeItemComponent): void;
13
+ }
@@ -0,0 +1,8 @@
1
+ import { TuiTreeItemComponent } from '../components/tree-item/tree-item.component';
2
+ import { TuiTreeController } from '../misc/tree.interfaces';
3
+ export declare class TuiTreeItemControllerDirective implements TuiTreeController {
4
+ fallback: boolean;
5
+ private readonly map;
6
+ isExpanded(item: TuiTreeItemComponent): boolean;
7
+ toggle(item: TuiTreeItemComponent): void;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { TuiTreeItemComponent } from '../components/tree-item/tree-item.component';
3
+ import { TuiTreeAccessor } from '../misc/tree.interfaces';
4
+ export declare class TuiTreeNodeDirective<T> implements OnDestroy {
5
+ private readonly directive;
6
+ private readonly component;
7
+ set value(value: T);
8
+ constructor(directive: TuiTreeAccessor<T>, component: TuiTreeItemComponent);
9
+ ngOnDestroy(): void;
10
+ }
@@ -0,0 +1,13 @@
1
+ export * from './misc/tree.constants';
2
+ export * from './misc/tree.interfaces';
3
+ export * from './misc/tree.tokens';
4
+ export * from './misc/tree.service';
5
+ export * from './components/tree/tree.component';
6
+ export * from './components/tree-item/tree-item.component';
7
+ export * from './components/tree-item/tree-item.providers';
8
+ export * from './components/tree-item-content/tree-item-content.component';
9
+ export * from './directives/tree-children.directive';
10
+ export * from './directives/tree-controller.directive';
11
+ export * from './directives/tree-item-controller.directive';
12
+ export * from './directives/tree-node.directive';
13
+ export * from './tree.module';
@@ -0,0 +1,5 @@
1
+ import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
2
+ import { TuiTreeItemContentComponent } from '../components/tree-item-content/tree-item-content.component';
3
+ import { TuiTreeController } from './tree.interfaces';
4
+ export declare const TUI_TREE_ITEM_CONTENT: PolymorpheusComponent<TuiTreeItemContentComponent, object>;
5
+ export declare const TUI_DEFAULT_TREE_CONTROLLER: TuiTreeController;
@@ -0,0 +1,22 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { TuiContextWithImplicit } from '@taiga-ui/cdk';
3
+ import { Observable } from 'rxjs';
4
+ import { TuiTreeItemComponent } from '../components/tree-item/tree-item.component';
5
+ export interface TuiTreeItemContext extends TuiContextWithImplicit<TuiTreeItemComponent> {
6
+ readonly template: TemplateRef<unknown>;
7
+ }
8
+ export interface TuiTreeContext<T> extends TuiContextWithImplicit<T> {
9
+ readonly node: TuiTreeItemComponent;
10
+ }
11
+ export interface TuiTreeController {
12
+ isExpanded(item: TuiTreeItemComponent): boolean;
13
+ toggle(item: TuiTreeItemComponent): void;
14
+ }
15
+ export interface TuiTreeAccessor<T> {
16
+ register(item: TuiTreeItemComponent, value: T): void;
17
+ unregister(item: TuiTreeItemComponent): void;
18
+ }
19
+ export interface TuiTreeLoader<T> {
20
+ loadChildren(item: T): Observable<T[]>;
21
+ hasChildren(item: T): boolean;
22
+ }
@@ -0,0 +1,12 @@
1
+ import { TuiTreeLoader } from './tree.interfaces';
2
+ export declare class TuiTreeService<T> {
3
+ private readonly loading;
4
+ private readonly start;
5
+ private readonly loader;
6
+ private readonly map;
7
+ private readonly load$;
8
+ readonly data$: import("rxjs").Observable<T>;
9
+ constructor(loading: T, start: T, loader: TuiTreeLoader<T>);
10
+ getChildren(item: T): readonly T[];
11
+ loadChildren(item: T): void;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
3
+ import { TuiTreeAccessor, TuiTreeController, TuiTreeItemContext, TuiTreeLoader } from './tree.interfaces';
4
+ export declare const TUI_TREE_ACCESSOR: InjectionToken<TuiTreeAccessor<any>>;
5
+ export declare const TUI_TREE_CONTROLLER: InjectionToken<TuiTreeController>;
6
+ export declare const TUI_TREE_NODE: InjectionToken<unknown>;
7
+ export declare const TUI_TREE_LOADING: InjectionToken<{}>;
8
+ export declare const TUI_TREE_START: InjectionToken<unknown>;
9
+ export declare const TUI_TREE_LOADER: InjectionToken<TuiTreeLoader<any>>;
10
+ export declare const TUI_TREE_CONTENT: InjectionToken<PolymorpheusContent<TuiTreeItemContext>>;
11
+ export declare const TUI_TREE_LEVEL: InjectionToken<number>;
@@ -0,0 +1,13 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-kit-components-tree.umd.js",
3
+ "module": "../../fesm5/taiga-ui-kit-components-tree.js",
4
+ "es2015": "../../fesm2015/taiga-ui-kit-components-tree.js",
5
+ "esm5": "../../esm5/components/tree/taiga-ui-kit-components-tree.js",
6
+ "esm2015": "../../esm2015/components/tree/taiga-ui-kit-components-tree.js",
7
+ "fesm5": "../../fesm5/taiga-ui-kit-components-tree.js",
8
+ "fesm2015": "../../fesm2015/taiga-ui-kit-components-tree.js",
9
+ "typings": "taiga-ui-kit-components-tree.d.ts",
10
+ "metadata": "taiga-ui-kit-components-tree.metadata.json",
11
+ "sideEffects": false,
12
+ "name": "@taiga-ui/kit/components/tree"
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"TUI_TREE_ITEM_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusComponent","line":5,"character":41},"arguments":[{"__symbolic":"reference","name":"TuiTreeItemContentComponent"}]},"TUI_DEFAULT_TREE_CONTROLLER":{"isExpanded":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"ALWAYS_TRUE_HANDLER","line":10,"character":16},"toggle":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"EMPTY_FUNCTION","line":11,"character":12}},"TuiTreeItemContext":{"__symbolic":"interface"},"TuiTreeContext":{"__symbolic":"interface"},"TuiTreeController":{"__symbolic":"interface"},"TuiTreeAccessor":{"__symbolic":"interface"},"TuiTreeLoader":{"__symbolic":"interface"},"TUI_TREE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":10,"character":37},"arguments":["Controller for tracking value - TuiTreeItemComponent pairs"]},"TUI_TREE_CONTROLLER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":14,"character":39},"arguments":["Controller for expanding the tree",{"__symbolic":"error","message":"Lambda not supported","line":17,"character":17,"module":"./misc/tree.tokens"}]},"TUI_TREE_NODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":21,"character":33},"arguments":["A node of a tree view"]},"TUI_TREE_LOADING":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":23,"character":36},"arguments":["A tree node placeholder for loading",{"__symbolic":"error","message":"Lambda not supported","line":25,"character":14,"module":"./misc/tree.tokens"}]},"TUI_TREE_START":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":28,"character":34},"arguments":["A tree node starting point"]},"TUI_TREE_LOADER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":35},"arguments":["A service to load tree progressively"]},"TUI_TREE_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":34,"character":36},"arguments":["Content for a tree item",{"__symbolic":"error","message":"Lambda not supported","line":37,"character":13,"module":"./misc/tree.tokens"}]},"TUI_TREE_LEVEL":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":40,"character":34},"arguments":["Nesting level of current TreeView node",{"__symbolic":"error","message":"Lambda not supported","line":43,"character":17,"module":"./misc/tree.tokens"}]},"TuiTreeService":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_LOADING"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":27,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_START"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":28,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_LOADER"}]}]],"parameters":[{"__symbolic":"error","message":"Could not resolve type","line":26,"character":60,"context":{"typeName":"T"},"module":"./misc/tree.service"},{"__symbolic":"error","message":"Could not resolve type","line":27,"character":56,"context":{"typeName":"T"},"module":"./misc/tree.service"},{"__symbolic":"reference","name":"TuiTreeLoader"}]}],"getChildren":[{"__symbolic":"method"}],"loadChildren":[{"__symbolic":"method"}]}},"TuiTreeComponent":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"tui-tree[value]","providers":[{"provide":{"__symbolic":"reference","name":"TUI_TREE_NODE"},"useExisting":{"__symbolic":"reference","name":"TuiTreeComponent"}}],"host":{"role":"tree"},"template":"<tui-tree-item #view [tuiTreeNode]=\"value\">\n <div\n *ngIf=\"value !== children\"\n polymorpheus-outlet\n [content]=\"content\"\n [context]=\"{$implicit: value, node: view}\"\n ></div>\n <tui-tree\n *ngFor=\"let child of children\"\n [value]=\"child\"\n [content]=\"content\"\n ></tui-tree>\n</tui-tree-item>\n","styles":[":host{position:relative;display:block}"]}]}],"members":{"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":5}}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":28,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":29,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiTreeChildrenDirective"}]}]],"parameters":[{"__symbolic":"reference","name":"TuiTreeChildrenDirective"}]}]}},"TuiTreeItemComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"tui-tree-item","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":27,"character":21},"member":"OnPush"},"providers":{"__symbolic":"reference","name":"TUI_TREE_ITEM_PROVIDERS"},"host":{"role":"treeitem"},"template":"<ng-template #template><ng-content></ng-content></ng-template>\n<div\n polymorpheus-outlet\n class=\"t-content\"\n [content]=\"content\"\n [context]=\"{$implicit: this, template: template}\"\n></div>\n<tui-expand\n *ngIf=\"isExpandable\"\n role=\"group\"\n class=\"t-children\"\n [expanded]=\"expanded$ | async\"\n>\n <div>\n <ng-content select=\"tui-tree-item\"></ng-content>\n <ng-content select=\"tui-tree\"></ng-content>\n </div>\n</tui-expand>\n<ng-container *ngIf=\"attached$ | async\"></ng-container>\n","styles":[":host{display:block}.t-children{position:relative;margin-left:var(--tui-tree-item-indent,1.5rem)}"]}]}],"members":{"nested":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":36,"character":5},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_NODE"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":51,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":51,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":53,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_CONTROLLER"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":55,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_LEVEL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":57,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_CONTENT"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":52,"character":48,"context":{"typeName":"HTMLElement"},"module":"./components/tree-item/tree-item.component"}]},{"__symbolic":"reference","name":"TuiTreeController"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"PolymorpheusContent","module":"@tinkoff/ng-polymorpheus","arguments":[{"__symbolic":"reference","name":"TuiTreeItemContext"}]}]}],"isExpandable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":61,"character":5},"arguments":["class._expandable"]}]}],"ngDoCheck":[{"__symbolic":"method"}]}},"TUI_TREE_ITEM_PROVIDERS":[{"provide":{"__symbolic":"reference","name":"TUI_TREE_LEVEL"},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":7,"character":20}},{"__symbolic":"reference","name":"TUI_TREE_LEVEL"}]],"useFactory":{"__symbolic":"reference","name":"treeLevelFactory"}},{"provide":{"__symbolic":"reference","name":"TUI_TREE_NODE"},"useExisting":{"__symbolic":"reference","name":"TuiTreeItemComponent"}}],"treeLevelFactory":{"__symbolic":"function","parameters":["level"]},"TuiTreeItemContentComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"tui-tree-item-content","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":21},"member":"OnPush"},"template":"<button\n *ngIf=\"isExpandable\"\n tuiIconButton\n size=\"xs\"\n appearance=\"flat\"\n icon=\"tuiIconChevronRight\"\n shape=\"rounded\"\n class=\"t-button\"\n [class.t-button_expanded]=\"isExpanded\"\n (click)=\"onClick()\"\n></button>\n<ng-container *ngTemplateOutlet=\"context.template\"></ng-container>\n","styles":[":host{display:flex;align-items:center}:host :host-context(tui-tree-item._expandable):not(._expandable){padding-left:2rem}.t-button{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;margin-right:.5rem}.t-button_expanded{transform:rotate(90deg)}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":14,"character":9},"arguments":[{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"POLYMORPHEUS_CONTEXT","line":14,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":15,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_CONTROLLER"}]}]],"parameters":[{"__symbolic":"reference","name":"TuiTreeItemContext"},{"__symbolic":"reference","name":"TuiTreeController"}]}],"isExpandable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":23,"character":5},"arguments":["class._expandable"]}]}],"onClick":[{"__symbolic":"method"}]}},"TuiTreeChildrenDirective":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":3,"character":1},"arguments":[{"selector":"tui-tree[childrenHandler]"}]}],"members":{"childrenHandler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":8,"character":5}}]}]},"statics":{"defaultHandler":{"__symbolic":"function","parameters":["item"],"value":{"__symbolic":"if","condition":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Array"},"member":"isArray"},"arguments":[{"__symbolic":"reference","name":"item"}]},"thenExpression":{"__symbolic":"reference","name":"item"},"elseExpression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"EMPTY_ARRAY","line":13,"character":44}}}}},"TuiTreeControllerDirective":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":6,"character":1},"arguments":[{"selector":"[tuiTreeController][map]","exportAs":"tuiTreeController","providers":[{"provide":{"__symbolic":"reference","name":"TUI_TREE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"TuiTreeControllerDirective"}},{"provide":{"__symbolic":"reference","name":"TUI_TREE_CONTROLLER"},"useExisting":{"__symbolic":"reference","name":"TuiTreeControllerDirective"}}]}]}],"members":{"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":5},"arguments":["tuiTreeController"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":24,"character":5}}]}],"map":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":28,"character":5}}]}],"toggled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":31,"character":5}}]}],"register":[{"__symbolic":"method"}],"unregister":[{"__symbolic":"method"}],"isExpanded":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}]}},"TuiTreeItemControllerDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":6,"character":1},"arguments":[{"selector":"[tuiTreeController]:not([map])","exportAs":"tuiTreeController","providers":[{"provide":{"__symbolic":"reference","name":"TUI_TREE_CONTROLLER"},"useExisting":{"__symbolic":"reference","name":"TuiTreeItemControllerDirective"}}]}]}],"members":{"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":5},"arguments":["tuiTreeController"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":18,"character":5}}]}],"isExpanded":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}]}},"TuiTreeNodeDirective":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"tui-tree-item[tuiTreeNode]"}]}],"members":{"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5},"arguments":["tuiTreeNode"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":15,"character":9}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":16,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_TREE_ACCESSOR"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiTreeItemComponent"}]}]],"parameters":[{"__symbolic":"reference","name":"TuiTreeAccessor"},{"__symbolic":"reference","name":"TuiTreeItemComponent"}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TuiTreeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":14},{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusModule","line":13,"character":28},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiExpandModule","line":13,"character":48},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiButtonModule","line":13,"character":65}],"entryComponents":[{"__symbolic":"reference","name":"TuiTreeItemContentComponent"}],"declarations":[{"__symbolic":"reference","name":"TuiTreeComponent"},{"__symbolic":"reference","name":"TuiTreeItemComponent"},{"__symbolic":"reference","name":"TuiTreeItemContentComponent"},{"__symbolic":"reference","name":"TuiTreeChildrenDirective"},{"__symbolic":"reference","name":"TuiTreeItemControllerDirective"},{"__symbolic":"reference","name":"TuiTreeControllerDirective"},{"__symbolic":"reference","name":"TuiTreeNodeDirective"}],"exports":[{"__symbolic":"reference","name":"TuiTreeComponent"},{"__symbolic":"reference","name":"TuiTreeItemComponent"},{"__symbolic":"reference","name":"TuiTreeChildrenDirective"},{"__symbolic":"reference","name":"TuiTreeItemControllerDirective"},{"__symbolic":"reference","name":"TuiTreeControllerDirective"}]}]}],"members":{}}},"origins":{"TUI_TREE_ITEM_CONTENT":"./misc/tree.constants","TUI_DEFAULT_TREE_CONTROLLER":"./misc/tree.constants","TuiTreeItemContext":"./misc/tree.interfaces","TuiTreeContext":"./misc/tree.interfaces","TuiTreeController":"./misc/tree.interfaces","TuiTreeAccessor":"./misc/tree.interfaces","TuiTreeLoader":"./misc/tree.interfaces","TUI_TREE_ACCESSOR":"./misc/tree.tokens","TUI_TREE_CONTROLLER":"./misc/tree.tokens","TUI_TREE_NODE":"./misc/tree.tokens","TUI_TREE_LOADING":"./misc/tree.tokens","TUI_TREE_START":"./misc/tree.tokens","TUI_TREE_LOADER":"./misc/tree.tokens","TUI_TREE_CONTENT":"./misc/tree.tokens","TUI_TREE_LEVEL":"./misc/tree.tokens","TuiTreeService":"./misc/tree.service","TuiTreeComponent":"./components/tree/tree.component","TuiTreeItemComponent":"./components/tree-item/tree-item.component","TUI_TREE_ITEM_PROVIDERS":"./components/tree-item/tree-item.providers","treeLevelFactory":"./components/tree-item/tree-item.providers","TuiTreeItemContentComponent":"./components/tree-item-content/tree-item-content.component","TuiTreeChildrenDirective":"./directives/tree-children.directive","TuiTreeControllerDirective":"./directives/tree-controller.directive","TuiTreeItemControllerDirective":"./directives/tree-item-controller.directive","TuiTreeNodeDirective":"./directives/tree-node.directive","TuiTreeModule":"./tree.module"},"importAs":"@taiga-ui/kit/components/tree"}
@@ -0,0 +1,2 @@
1
+ export declare class TuiTreeModule {
2
+ }
@@ -40,10 +40,9 @@ let TuiAccordionItemComponent = TuiAccordionItemComponent_1 = class TuiAccordion
40
40
  this.updateFocusVisible(focusVisible);
41
41
  }
42
42
  onRowToggle() {
43
- if (this.disabled) {
44
- return;
43
+ if (!this.disabled) {
44
+ this.updateOpen(!this.open);
45
45
  }
46
- this.updateOpen(!this.open);
47
46
  }
48
47
  onItemKeyDownEsc(event) {
49
48
  if (!this.focused || !this.open) {
@@ -124,7 +123,7 @@ __decorate([
124
123
  TuiAccordionItemComponent = TuiAccordionItemComponent_1 = __decorate([
125
124
  Component({
126
125
  selector: 'tui-accordion-item',
127
- template: "<div\n #focusableElement\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"wrapper\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (keydown.space)=\"onItemKeyDownSpace($event)\"\n (keydown.enter)=\"onItemKeyDownSpace($event)\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n>\n <div\n automation-id=\"tui-accordion__item-header\"\n class=\"header\"\n [class.header_open]=\"open\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (click)=\"onRowToggle()\"\n >\n <div class=\"title\" automation-id=\"tui-accordion__item-title\">\n <ng-content></ng-content>\n </div>\n <tui-svg\n *ngIf=\"showArrow\"\n automation-id=\"tui-accordion__item-arrow\"\n class=\"icon\"\n src=\"tuiIconChevronDownLarge\"\n [class.icon_open]=\"open\"\n ></tui-svg>\n </div>\n <tui-expand [async]=\"async\" [expanded]=\"open\">\n <ng-template tuiExpandContent>\n <div\n polymorpheus-outlet\n automation-id=\"tui-accordion__item-content\"\n class=\"content\"\n [content]=\"content\"\n ></div>\n </ng-template>\n </tui-expand>\n</div>\n",
126
+ template: "<div\n #focusableElement\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"wrapper\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (keydown.space)=\"onItemKeyDownSpace($event)\"\n (keydown.enter)=\"onItemKeyDownSpace($event)\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n>\n <div\n automation-id=\"tui-accordion__item-header\"\n class=\"header\"\n [class.header_open]=\"open\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (click)=\"onRowToggle()\"\n >\n <div automation-id=\"tui-accordion__item-title\" class=\"title\">\n <ng-content></ng-content>\n </div>\n <tui-svg\n *ngIf=\"showArrow\"\n automation-id=\"tui-accordion__item-arrow\"\n src=\"tuiIconChevronDownLarge\"\n class=\"icon\"\n [class.icon_open]=\"open\"\n ></tui-svg>\n </div>\n <tui-expand [async]=\"async\" [expanded]=\"open\">\n <ng-template tuiExpandContent>\n <div\n polymorpheus-outlet\n automation-id=\"tui-accordion__item-content\"\n class=\"content\"\n [content]=\"content\"\n ></div>\n </ng-template>\n </tui-expand>\n</div>\n",
128
127
  changeDetection: ChangeDetectionStrategy.OnPush,
129
128
  providers: [
130
129
  {
@@ -136,10 +135,10 @@ TuiAccordionItemComponent = TuiAccordionItemComponent_1 = __decorate([
136
135
  host: {
137
136
  '($.data-mode.attr)': 'mode$',
138
137
  },
139
- styles: [":host{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}:host[data-tui-host-borders=top-bottom]{border-radius:0!important}.wrapper{position:relative;border-radius:inherit}.wrapper:focus{outline:0}.wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:'';box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}:host:not([data-tui-host-borders]) .wrapper:after{border-width:0}:host[data-tui-host-borders=all] .wrapper:after{border-width:1px}:host[data-tui-host-borders=top-bottom] .wrapper:after{border-left-width:0;border-right-width:0}:host[data-tui-host-borders=top] .wrapper:after{border-left-width:0;border-right-width:0;border-bottom-width:0}:host[data-tui-host-borders=bottom] .wrapper:after{border-left-width:0;border-right-width:0;border-top-width:0}:host[data-mode=onDark] .wrapper:after{border-color:var(--tui-base-03)}:host[data-mode=onLight] .wrapper:after{border-color:var(--tui-text-01)}:host._focus-visible .wrapper:after{border:2px solid var(--tui-focus)}:host:not([data-mode]) .wrapper{background:var(--tui-base-01)}.header{font:var(--tui-font-text-l);transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer}:host[data-mode=onDark] .header{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}:host[data-mode=onLight] .header{border-color:var(--tui-text-01)}:host:not([data-tui-host-borders]) .header{border-bottom-width:0;box-shadow:none}:host._has-arrow .header{padding-right:.75rem}:host._hovered:not([data-mode]) .header{background:var(--tui-base-02)}:host._hovered[data-mode=onDark] .header,:host[data-mode=onDark] .header_open{background:var(--tui-clear-inverse)}:host._hovered[data-mode=onLight] .header,:host[data-mode=onLight] .header_open{background:var(--tui-clear)}:host[data-tui-host-size='s'] .header{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}:host._no-padding .header{padding-left:0;padding-right:0}:host._disabled .header{cursor:default}.title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}:host._has-arrow .title{margin-right:.5rem}.icon{transition-property:transform,color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.icon_open{transform:rotate(180deg)}:host[data-mode] .icon{opacity:var(--tui-disabled-opacity)}:host._hovered[data-mode] .icon{opacity:.8}:host[data-mode=onDark] .icon{color:var(--tui-text-01-night)}:host[data-mode=onLight] .icon{color:var(--tui-text-01)}:host._hovered:not([data-mode]) .icon{color:var(--tui-base-07)}.content{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}:host[data-tui-host-size='s'] .content{font:var(--tui-font-text-s);padding:1rem}"]
138
+ styles: [":host{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}:host[data-tui-host-borders=top-bottom]{border-radius:0!important}.wrapper{position:relative;border-radius:inherit}.wrapper:focus{outline:0}.wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:'';box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}:host:not([data-tui-host-borders]) .wrapper:after{border-width:0}:host[data-tui-host-borders=all] .wrapper:after{border-width:1px}:host[data-tui-host-borders=top-bottom] .wrapper:after{border-left-width:0;border-right-width:0}:host[data-tui-host-borders=top] .wrapper:after{border-left-width:0;border-right-width:0;border-bottom-width:0}:host[data-tui-host-borders=bottom] .wrapper:after{border-left-width:0;border-right-width:0;border-top-width:0}:host[data-mode=onDark] .wrapper:after{border-color:var(--tui-base-03)}:host[data-mode=onLight] .wrapper:after{border-color:var(--tui-text-01)}:host._focus-visible .wrapper:after{border:2px solid var(--tui-focus)}:host:not([data-mode]) .wrapper{background:var(--tui-base-01)}.header{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer}:host[data-mode=onDark] .header{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}:host[data-mode=onLight] .header{border-color:var(--tui-text-01)}:host:not([data-tui-host-borders]) .header{border-bottom-width:0;box-shadow:none}:host._has-arrow .header{padding-right:.75rem}:host._hovered:not([data-mode]) .header{background:var(--tui-base-02)}:host._hovered[data-mode=onDark] .header,:host[data-mode=onDark] .header_open{background:var(--tui-clear-inverse)}:host._hovered[data-mode=onLight] .header,:host[data-mode=onLight] .header_open{background:var(--tui-clear)}:host[data-tui-host-size='s'] .header{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}:host._no-padding .header{padding-left:0;padding-right:0}:host._disabled .header{cursor:default}.title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}:host._has-arrow .title{margin-right:.5rem}.icon{transition-property:transform,color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.icon_open{transform:rotate(180deg)}:host[data-mode] .icon{opacity:var(--tui-disabled-opacity)}:host._hovered[data-mode] .icon{opacity:.8}:host[data-mode=onDark] .icon{color:var(--tui-text-01-night)}:host[data-mode=onLight] .icon{color:var(--tui-text-01)}:host._hovered:not([data-mode]) .icon{color:var(--tui-base-07)}.content{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}:host[data-tui-host-size='s'] .content{font:var(--tui-font-text-s);padding:1rem}"]
140
139
  }),
141
140
  __param(0, Inject(ChangeDetectorRef)),
142
141
  __param(1, Inject(TUI_MODE))
143
142
  ], TuiAccordionItemComponent);
144
143
  export { TuiAccordionItemComponent };
145
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2tpdC9jb21wb25lbnRzL2FjY29yZGlvbi8iLCJzb3VyY2VzIjpbImFjY29yZGlvbi1pdGVtL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osVUFBVSxFQUNWLFlBQVksRUFDWixVQUFVLEVBQ1YsV0FBVyxFQUNYLE1BQU0sRUFDTixLQUFLLEVBQ0wsTUFBTSxFQUNOLFNBQVMsR0FDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQ0gsc0JBQXNCLEVBQ3RCLGVBQWUsRUFDZiwyQkFBMkIsRUFDM0IsY0FBYyxHQUdqQixNQUFNLGVBQWUsQ0F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T3BlbihmYWxzZSk7XG4gICAgICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3JSZWYubWFya0ZvckNoZWNrKCk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSB1cGRhdGVPcGVuKG9wZW46IGJvb2xlYW4pIHtcbiAgICAgICAgaWYgKHRoaXMub3BlbiA9PT0gb3Blbikge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5vcGVuID0gb3BlbjtcbiAgICAgICAgdGhpcy5vcGVuQ2hhbmdlLmVtaXQob3Blbik7XG4gICAgfVxufVxuIl19
@@ -42,7 +42,7 @@ __decorate([
42
42
  TuiAccordionComponent = __decorate([
43
43
  Component({
44
44
  selector: 'tui-accordion',
45
- template: "<!--TODO: Unnecessary nesting, probably accordion can be a directive-->\n<div\n tuiGroup\n automation-id=\"tui-accordion__group\"\n class=\"group\"\n orientation=\"vertical\"\n size=\"l\"\n [collapsed]=\"true\"\n [rounded]=\"rounded\"\n>\n <ng-content select=\"tui-accordion-item\"></ng-content>\n</div>\n",
45
+ template: "<!--TODO: Unnecessary nesting, probably accordion can be a directive-->\n<div\n tuiGroup\n automation-id=\"tui-accordion__group\"\n orientation=\"vertical\"\n size=\"l\"\n class=\"group\"\n [collapsed]=\"true\"\n [rounded]=\"rounded\"\n>\n <ng-content select=\"tui-accordion-item\"></ng-content>\n</div>\n",
46
46
  changeDetection: ChangeDetectionStrategy.OnPush,
47
47
  providers: [TuiDestroyService],
48
48
  styles: [":host{display:block}.group{display:flex}"]
@@ -57,7 +57,7 @@ __decorate([
57
57
  TuiActionComponent = TuiActionComponent_1 = __decorate([
58
58
  Component({
59
59
  selector: 'tui-action, a[tuiAction]',
60
- template: "<label\n *ngIf=\"!isLink; else content\"\n automation-id=\"tui-action__content\"\n class=\"wrapper\"\n>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n <button\n #focusableElement\n class=\"button\"\n type=\"button\"\n automation-id=\"tui-action__native\"\n [id]=\"id\"\n [tuiDescribedBy]=\"id\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n ></button>\n</label>\n<ng-template #content>\n <div class=\"wrapper\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n<tui-marker-icon class=\"icon\" size=\"s\" [src]=\"icon\"></tui-marker-icon>\n",
60
+ template: "<label\n *ngIf=\"!isLink; else content\"\n automation-id=\"tui-action__content\"\n class=\"wrapper\"\n>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n <button\n #focusableElement\n type=\"button\"\n automation-id=\"tui-action__native\"\n class=\"button\"\n [id]=\"id\"\n [tuiDescribedBy]=\"id\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n ></button>\n</label>\n<ng-template #content>\n <div class=\"wrapper\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n<tui-marker-icon size=\"s\" class=\"icon\" [src]=\"icon\"></tui-marker-icon>\n",
61
61
  changeDetection: ChangeDetectionStrategy.OnPush,
62
62
  providers: [
63
63
  TuiDestroyService,
@@ -67,7 +67,7 @@ TuiActionComponent = TuiActionComponent_1 = __decorate([
67
67
  useExisting: forwardRef(() => TuiActionComponent_1),
68
68
  },
69
69
  ],
70
- styles: [":host{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;cursor:pointer;transition-property:transform,box-shadow;will-change:transform,box-shadow;font:var(--tui-font-text-m);position:relative;display:flex;padding:.875rem;color:var(--tui-text-01);text-decoration:none;border:2px solid transparent;border-radius:var(--tui-radius-l);outline:0}:host:hover{box-shadow:0 .75rem 2.25rem rgba(0,0,0,.2);transform:translateY(-.25rem)}:host._focus-visible{border-color:var(--tui-focus)}.button{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:0 0;font-size:inherit;line-height:inherit;cursor:pointer;outline:0}.icon{margin-left:1.25rem;color:var(--tui-link)}.wrapper{flex:1}"]
70
+ styles: [":host{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;cursor:pointer;transition-property:transform,box-shadow;will-change:transform,box-shadow;position:relative;display:flex;font:var(--tui-font-text-m);padding:.875rem;color:var(--tui-text-01);text-decoration:none;border:2px solid transparent;border-radius:var(--tui-radius-l);outline:0}:host:hover{box-shadow:0 .75rem 2.25rem rgba(0,0,0,.2);transform:translateY(-.25rem)}:host._focus-visible{border-color:var(--tui-focus)}.button{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:0 0;font-size:inherit;line-height:inherit;cursor:pointer;outline:0}.icon{margin-left:1.25rem;color:var(--tui-link)}.wrapper{flex:1}"]
71
71
  }),
72
72
  __param(0, Inject(TuiFocusVisibleService)),
73
73
  __param(1, Inject(ElementRef))
@@ -67,9 +67,9 @@ TuiAvatarComponent = __decorate([
67
67
  Component({
68
68
  selector: 'tui-avatar',
69
69
  changeDetection: ChangeDetectionStrategy.OnPush,
70
- template: "<img\n *ngIf=\"isUrlValid\"\n class=\"image\"\n loading=\"lazy\"\n [attr.alt]=\"text\"\n [src]=\"avatarUrl\"\n (error)=\"onError()\"\n/>\n<span class=\"text\">{{computedText}}</span>\n",
70
+ template: "<img\n *ngIf=\"isUrlValid\"\n loading=\"lazy\"\n class=\"image\"\n [attr.alt]=\"text\"\n [src]=\"avatarUrl\"\n (error)=\"onError()\"\n/>\n<span class=\"text\">{{ computedText }}</span>\n",
71
71
  styles: [":host{position:relative;display:flex;flex-shrink:0;border-radius:var(--tui-radius-m);color:var(--tui-secondary-active);text-align:center;text-transform:uppercase;justify-content:center;align-items:center;background-color:currentColor;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}:host[data-tui-host-size=xs]{font:var(--tui-font-text-s);width:1.5rem;height:1.5rem}:host[data-tui-host-size='s']{font:var(--tui-font-text-m);width:2rem;height:2rem}:host[data-tui-host-size='m']{font:var(--tui-font-text-l);width:3rem;height:3rem}:host[data-tui-host-size='l']{font:var(--tui-font-heading-5);width:4rem;height:4rem;border-radius:var(--tui-radius-l)}:host[data-tui-host-size=xl]{font:var(--tui-font-heading-3);width:6rem;height:6rem;border-radius:var(--tui-radius-l)}:host[data-tui-host-size=xxl]{font:var(--tui-font-heading-1);width:9rem;height:9rem;border-radius:var(--tui-radius-l)}:host._has-avatar{background-color:transparent}:host._rounded{border-radius:100%}.image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.text{color:var(--tui-text-01)}"]
72
72
  })
73
73
  ], TuiAvatarComponent);
74
74
  export { TuiAvatarComponent };
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9hdmF0YXIvIiwic291cmNlcyI6WyJhdmF0YXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDckYsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNoRSxPQUFPLEVBQUMsVUFBVSxFQUF3QixNQUFNLGdCQUFnQixDQUFDO0FBQ2pFLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQVEzRCxJQUFhLGtCQUFrQixHQUEvQixNQUFhLGtCQUFrQjtJQUEvQjtRQUlJLFNBQUksR0FBMkIsR0FBRyxDQUFDO1FBV25DLFNBQUksR0FBRyxFQUFFLENBQUM7UUFJVixjQUFTLEd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dXJuIHRoaXMuYXV0b0NvbG9yID8gc3RyaW5nSGFzaFRvSHNsKHRoaXMudGV4dCkgOiAnJztcbiAgICB9XG5cbiAgICBASG9zdEJpbmRpbmcoJ2NsYXNzLl9oYXMtYXZhdGFyJylcbiAgICBnZXQgaGFzQXZhdGFyKCk6IGJvb2xlYW4ge1xuICAgICAgICByZXR1cm4gdGhpcy5hdmF0YXJVcmwgIT09IG51bGwgJiYgdGhpcy5pc1VybFZhbGlkO1xuICAgIH1cblxuICAgIGdldCBjb21wdXRlZFRleHQoKTogc3RyaW5nIHtcbiAgICAgICAgaWYgKHRoaXMuaGFzQXZhdGFyIHx8IHRoaXMudGV4dCA9PT0gJycpIHtcbiAgICAgICAgICAgIHJldHVybiAnJztcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHdvcmRzID0gdGhpcy50ZXh0LnNwbGl0KCcgJyk7XG5cbiAgICAgICAgcmV0dXJuIHdvcmRzLmxlbmd0aCA+IDEgJiYgc2l6ZUJpZ2dlcih0aGlzLnNpemUpXG4gICAgICAgICAgICA/IHdvcmRzWzBdLnN1YnN0cigwLCAxKSArIHdvcmRzWzFdLnN1YnN0cigwLCAxKVxuICAgICAgICAgICAgOiB3b3Jkc1swXS5zdWJzdHIoMCwgMSk7XG4gICAgfVxuXG4gICAgb25FcnJvcigpIHtcbiAgICAgICAgdGhpcy5pc1VybFZhbGlkID0gZmFsc2U7XG4gICAgfVxufVxuIl19
@@ -61,14 +61,14 @@ TuiBadgeComponent = __decorate([
61
61
  Component({
62
62
  selector: 'tui-badge',
63
63
  changeDetection: ChangeDetectionStrategy.OnPush,
64
- template: "<span class=\"left-content\"><ng-content></ng-content></span>{{outputValue}}\n",
64
+ template: "<span class=\"left-content\"><ng-content></ng-content></span>\n{{ outputValue }}\n",
65
65
  providers: [MODE_PROVIDER],
66
66
  host: {
67
67
  '($.data-mode.attr)': 'mode$',
68
68
  },
69
- styles: [":host{font:var(--tui-font-text-s);transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:var(--tui-base-01);border-radius:6.25rem;white-space:nowrap;overflow:hidden;vertical-align:middle;--left-content-color:currentColor}:host:after{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:'';box-sizing:border-box;border-radius:inherit;pointer-events:none}:host._hoverable:active[data-tui-host-status=custom]:after,:host._hoverable:hover[data-tui-host-status=custom]:after{background-color:var(--tui-clear)}:host[data-tui-host-status=primary]{background-color:var(--tui-primary);color:var(--tui-primary-text)}:host[data-tui-host-status=primary]._hoverable:hover{background-color:var(--tui-primary-hover)}:host[data-tui-host-status=primary]._hoverable:active{background-color:var(--tui-primary-active)}:host[data-tui-host-status=error]{background-color:var(--tui-error-bg);color:var(--tui-text-01);--left-content-color:var(--tui-error-fill)}:host[data-tui-host-status=error]._hoverable:active,:host[data-tui-host-status=error]._hoverable:hover{background-color:var(--tui-error-bg-hover)}:host[data-tui-host-status=error][data-mode=onDark]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=error][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=error][data-mode=onDark]._hoverable:hover{background-color:var(--tui-error-bg-night-hover)}:host[data-tui-host-status=success]{background-color:var(--tui-success-bg);color:var(--tui-text-01);--left-content-color:var(--tui-success-fill)}:host[data-tui-host-status=success]._hoverable:active,:host[data-tui-host-status=success]._hoverable:hover{background-color:var(--tui-success-bg-hover)}:host[data-tui-host-status=success][data-mode=onDark]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=success][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=success][data-mode=onDark]._hoverable:hover{background-color:var(--tui-success-bg-night-hover)}:host[data-tui-host-status=warning]{background-color:var(--tui-warning-bg);color:var(--tui-text-01);--left-content-color:var(--tui-warning-fill)}:host[data-tui-host-status=warning]._hoverable:active,:host[data-tui-host-status=warning]._hoverable:hover{background-color:var(--tui-warning-bg-hover)}:host[data-tui-host-status=warning][data-mode=onDark]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=warning][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=warning][data-mode=onDark]._hoverable:hover{background-color:var(--tui-warning-bg-night-hover)}:host[data-tui-host-status=default]{background-color:var(--tui-base-06)}:host[data-tui-host-status=default]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}:host[data-tui-host-status=default]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}:host[data-tui-host-status=default][data-mode=onDark]{background-color:var(--tui-clear-inverse-hover)}:host[data-tui-host-status=default][data-mode=onDark]._hoverable:hover{background-color:var(--tui-clear-inverse-active)}:host[data-tui-host-status=default][data-mode=onDark]._hoverable:active{background-color:var(--tui-clear-inverse-active)}:host[data-tui-host-status=default][data-mode=onDark]:focus:after{border:2px solid var(--tui-base-01)}:host[data-tui-host-status=default][data-mode=onLight]{background-color:var(--tui-clear);color:var(--tui-text-01)}:host[data-tui-host-status=default][data-mode=onLight]._hoverable:hover{background-color:var(--tui-clear-hover)}:host[data-tui-host-status=default][data-mode=onLight]._hoverable:active{background-color:var(--tui-clear-active)}:host._hoverable{cursor:pointer}:host[data-tui-host-padding='m']{padding:0 .5rem}:host[data-tui-host-padding='m'][data-tui-host-size='s']{padding:0 .375rem}:host[data-tui-host-padding='m'][data-tui-host-size='l']{padding:0 .625rem}:host[data-tui-host-padding='l']{padding:0 .625rem}:host[data-tui-host-padding='l'][data-tui-host-size='s']{padding:0 .5rem}:host[data-tui-host-padding='l'][data-tui-host-size='l']{padding:0 .75rem}:host[data-tui-host-size='s']{font:var(--tui-font-text-xs);height:1.25rem;min-width:1.25rem}:host[data-tui-host-size='s'] .left-content:before{width:.25rem;height:.25rem}:host[data-tui-host-size='m']{height:var(--tui-height-xs);line-height:var(--tui-height-xs);min-width:var(--tui-height-xs)}:host[data-tui-host-size='l']{height:var(--tui-height-s);line-height:var(--tui-height-s);min-width:var(--tui-height-s)}:host[data-tui-host-size='l'] .left-content:before{margin:0 .5rem 0 0;width:.5rem;height:.5rem}:host._empty-value .left-content{margin:0 -.25rem}:host._empty-value .left-content:before{margin:0}.left-content{display:none;color:var(--left-content-color);line-height:0}.left-content:not(:empty){display:block;margin-left:-.25rem}.left-content:not(:empty):before{content:none}:host[data-tui-host-status=error] .left-content,:host[data-tui-host-status=success] .left-content,:host[data-tui-host-status=warning] .left-content{display:block}.left-content:before{display:block;background:currentColor;margin:0 .375rem 0 0;width:.375rem;height:.375rem;border-radius:100%;content:''}"]
69
+ styles: [":host{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;--left-content-color:currentColor;position:relative;display:inline-flex;font:var(--tui-font-text-s);align-items:center;justify-content:center;box-sizing:border-box;color:var(--tui-base-01);border-radius:6.25rem;white-space:nowrap;overflow:hidden;vertical-align:middle}:host:after{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:'';box-sizing:border-box;border-radius:inherit;pointer-events:none}:host._hoverable:active[data-tui-host-status=custom]:after,:host._hoverable:hover[data-tui-host-status=custom]:after{background-color:var(--tui-clear)}:host[data-tui-host-status=primary]{background-color:var(--tui-primary);color:var(--tui-primary-text)}:host[data-tui-host-status=primary]._hoverable:hover{background-color:var(--tui-primary-hover)}:host[data-tui-host-status=primary]._hoverable:active{background-color:var(--tui-primary-active)}:host[data-tui-host-status=error]{--left-content-color:var(--tui-error-fill);background-color:var(--tui-error-bg);color:var(--tui-text-01)}:host[data-tui-host-status=error]._hoverable:active,:host[data-tui-host-status=error]._hoverable:hover{background-color:var(--tui-error-bg-hover)}:host[data-tui-host-status=error][data-mode=onDark]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=error][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=error][data-mode=onDark]._hoverable:hover{background-color:var(--tui-error-bg-night-hover)}:host[data-tui-host-status=success]{--left-content-color:var(--tui-success-fill);background-color:var(--tui-success-bg);color:var(--tui-text-01)}:host[data-tui-host-status=success]._hoverable:active,:host[data-tui-host-status=success]._hoverable:hover{background-color:var(--tui-success-bg-hover)}:host[data-tui-host-status=success][data-mode=onDark]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=success][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=success][data-mode=onDark]._hoverable:hover{background-color:var(--tui-success-bg-night-hover)}:host[data-tui-host-status=warning]{--left-content-color:var(--tui-warning-fill);background-color:var(--tui-warning-bg);color:var(--tui-text-01)}:host[data-tui-host-status=warning]._hoverable:active,:host[data-tui-host-status=warning]._hoverable:hover{background-color:var(--tui-warning-bg-hover)}:host[data-tui-host-status=warning][data-mode=onDark]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=warning][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=warning][data-mode=onDark]._hoverable:hover{background-color:var(--tui-warning-bg-night-hover)}:host[data-tui-host-status=info]{--left-content-color:var(--tui-info-fill);background-color:var(--tui-info-bg);color:var(--tui-text-01)}:host[data-tui-host-status=info]._hoverable:active,:host[data-tui-host-status=info]._hoverable:hover{background-color:var(--tui-info-bg-hover)}:host[data-tui-host-status=info][data-mode=onDark]{background-color:var(--tui-info-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=info][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=info][data-mode=onDark]._hoverable:hover{background-color:var(--tui-info-bg-night-hover)}:host[data-tui-host-status=neutral]{--left-content-color:var(--tui-neutral-fill);background-color:var(--tui-neutral-bg);color:var(--tui-text-01)}:host[data-tui-host-status=neutral]._hoverable:active,:host[data-tui-host-status=neutral]._hoverable:hover{background-color:var(--tui-neutral-bg-hover)}:host[data-tui-host-status=neutral][data-mode=onDark]{background-color:var(--tui-neutral-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=neutral][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=neutral][data-mode=onDark]._hoverable:hover{background-color:var(--tui-neutral-bg-night-hover)}:host[data-tui-host-status=default]{background-color:var(--tui-base-06)}:host[data-tui-host-status=default]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}:host[data-tui-host-status=default]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}:host[data-tui-host-status=default][data-mode=onDark]{background-color:var(--tui-clear-inverse-hover)}:host[data-tui-host-status=default][data-mode=onDark]._hoverable:hover{background-color:var(--tui-clear-inverse-active)}:host[data-tui-host-status=default][data-mode=onDark]._hoverable:active{background-color:var(--tui-clear-inverse-active)}:host[data-tui-host-status=default][data-mode=onDark]:focus:after{border:2px solid var(--tui-base-01)}:host[data-tui-host-status=default][data-mode=onLight]{background-color:var(--tui-clear);color:var(--tui-text-01)}:host[data-tui-host-status=default][data-mode=onLight]._hoverable:hover{background-color:var(--tui-clear-hover)}:host[data-tui-host-status=default][data-mode=onLight]._hoverable:active{background-color:var(--tui-clear-active)}:host._hoverable{cursor:pointer}:host[data-tui-host-padding='m']{padding:0 .5rem}:host[data-tui-host-padding='m'][data-tui-host-size='s']{padding:0 .375rem}:host[data-tui-host-padding='m'][data-tui-host-size='l']{padding:0 .625rem}:host[data-tui-host-padding='l']{padding:0 .625rem}:host[data-tui-host-padding='l'][data-tui-host-size='s']{padding:0 .5rem}:host[data-tui-host-padding='l'][data-tui-host-size='l']{padding:0 .75rem}:host[data-tui-host-size='s']{font:var(--tui-font-text-xs);height:1.25rem;min-width:1.25rem}:host[data-tui-host-size='s'] .left-content:before{width:.25rem;height:.25rem}:host[data-tui-host-size='m']{height:var(--tui-height-xs);line-height:var(--tui-height-xs);min-width:var(--tui-height-xs)}:host[data-tui-host-size='l']{height:var(--tui-height-s);line-height:var(--tui-height-s);min-width:var(--tui-height-s)}:host[data-tui-host-size='l'] .left-content:before{margin:0 .5rem 0 0;width:.5rem;height:.5rem}:host._empty-value .left-content{margin:0 -.25rem}:host._empty-value .left-content:before{margin:0}.left-content{display:none;color:var(--left-content-color);line-height:0}.left-content:not(:empty){display:block;margin-left:-.25rem}.left-content:not(:empty):before{content:none}:host[data-tui-host-status=error] .left-content,:host[data-tui-host-status=info] .left-content,:host[data-tui-host-status=neutral] .left-content,:host[data-tui-host-status=success] .left-content,:host[data-tui-host-status=warning] .left-content{display:block}.left-content:before{content:'';display:block;background:currentColor;margin:0 .375rem 0 0;width:.375rem;height:.375rem;border-radius:100%}"]
70
70
  }),
71
71
  __param(0, Inject(TUI_MODE))
72
72
  ], TuiBadgeComponent);
73
73
  export { TuiBadgeComponent };
74
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2tpdC9jb21wb25lbnRzL2JhZGdlLyIsInNvdXJjZXMiOlsiYmFkZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssR0FDUixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsUUFBUSxFQUFFLGNBQWMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2RCxPQUFPLEVBQUMsYUFBYSxFQUFFLFFBQVEsRUFBb0MsTUFBTSxnQkFBZ0IsQ0FBQztBQUUxRixPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBWWhDLElBQWEsaUJBQWlCLEdBQTlCLE1BQWEsaUJBQWlCO0lBb0IxQixZQUF1QyxLQUF1QztRQUF2QyxVQUFLLEdBQUwsS0FBSyxDQUFrQztRQWpCOUUsVUFBSyxHQUFvQixFQUFFLENBQUM7UUFLNUIsU0FBSSx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