@taiga-ui/kit 2.22.0 → 2.26.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 (951) 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-arrow.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-avatar.umd.js +1 -1
  11. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  13. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-badge.umd.js +2 -2
  15. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
  17. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
  19. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +1 -1
  21. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +6 -6
  23. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
  25. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +1 -1
  27. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  29. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +1 -1
  31. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-carousel.umd.js +581 -0
  35. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -0
  36. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +16 -0
  37. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -0
  38. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-combo-box.umd.js +2 -2
  41. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  43. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +2 -2
  45. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  47. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-filter.umd.js +1 -1
  51. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  53. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
  55. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  57. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-input-count.umd.js +7 -2
  59. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +2 -2
  61. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +2 -2
  63. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  65. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
  67. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  69. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
  71. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  73. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-file.umd.js +191 -191
  75. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
  77. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-inline.umd.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  81. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
  83. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  84. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
  86. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  87. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-number.umd.js +8 -2
  89. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  91. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -2
  93. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  95. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +1 -1
  97. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
  101. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  103. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
  105. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
  107. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-slider.umd.js +2 -2
  109. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  111. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-tag.umd.js +2 -2
  113. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
  115. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-time.umd.js +2 -2
  117. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  119. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
  121. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  123. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +5 -5
  127. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +2 -2
  129. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +16 -12
  133. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +2 -2
  135. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-multi-select.umd.js +29 -46
  137. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +2 -2
  139. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-pagination.umd.js +1 -1
  141. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  143. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +338 -0
  145. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
  146. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
  147. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
  148. package/bundles/taiga-ui-kit-components-progress.umd.js +61 -25
  149. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  151. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  154. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +1 -1
  155. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  156. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-range.umd.js +2 -2
  159. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  161. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-select-option.umd.js +23 -14
  163. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +2 -2
  165. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-select.umd.js +2 -2
  167. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-select.umd.min.js +1 -1
  169. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-slider.umd.js +2 -2
  171. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
  175. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  177. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-tabs.umd.js +3 -3
  179. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  181. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  182. package/bundles/taiga-ui-kit-components-tag.umd.js +2 -2
  183. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-tag.umd.min.js +2 -2
  185. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-text-area.umd.js +19 -2
  187. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  189. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-toggle.umd.js +1 -1
  191. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  192. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  193. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  194. package/bundles/taiga-ui-kit-components-tree.umd.js +146 -135
  195. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components-tree.umd.min.js +2 -2
  197. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  198. package/bundles/taiga-ui-kit-components.umd.js +42 -26
  199. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  201. package/bundles/taiga-ui-kit-constants.umd.js +3 -0
  202. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  203. package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
  204. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  205. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  206. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  207. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  208. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  209. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +2 -1
  210. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  212. package/bundles/taiga-ui-kit-directives-highlight.umd.js +6 -1
  213. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  214. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +1 -1
  215. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  216. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  217. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  218. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  219. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  220. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  221. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  222. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  223. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  224. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  225. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-directives.umd.js +12 -12
  227. package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
  228. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +1 -1
  229. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  230. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  231. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  232. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
  233. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  234. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
  235. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  236. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  237. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  238. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  239. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  240. package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
  241. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  242. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  243. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  244. package/bundles/taiga-ui-kit-utils-format.umd.js +0 -2
  245. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  246. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  247. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  248. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  249. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  250. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  251. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  252. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  253. package/components/breadcrumbs/index.d.ts +1 -1
  254. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  255. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  256. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  257. package/components/carousel/carousel-buttons.directive.d.ts +4 -0
  258. package/components/carousel/carousel-draggable.directive.d.ts +16 -0
  259. package/components/carousel/carousel-scroller.directive.d.ts +17 -0
  260. package/components/carousel/carousel.component.d.ts +18 -0
  261. package/components/carousel/carousel.directive.d.ts +18 -0
  262. package/components/carousel/carousel.module.d.ts +2 -0
  263. package/components/carousel/index.d.ts +6 -0
  264. package/components/carousel/package.json +13 -0
  265. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +4 -0
  266. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -0
  267. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  268. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  269. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  270. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  271. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  272. package/components/index.d.ts +5 -3
  273. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  274. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  275. package/components/input-count/input-count.component.d.ts +1 -0
  276. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  277. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  278. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  279. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  280. package/components/input-file/index.d.ts +1 -1
  281. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  282. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  283. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  284. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  285. package/components/input-number/input-number.component.d.ts +1 -0
  286. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  287. package/components/input-password/index.d.ts +1 -1
  288. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  289. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  290. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  291. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  292. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  293. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  294. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  295. package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
  296. package/components/line-clamp/index.d.ts +1 -1
  297. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  298. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  299. package/components/multi-select/index.d.ts +0 -1
  300. package/components/multi-select/multi-select.component.d.ts +7 -5
  301. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  302. package/components/multi-select-option/multi-select-option.component.d.ts +1 -1
  303. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  304. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  305. package/components/pdf-viewer/index.d.ts +5 -0
  306. package/components/pdf-viewer/package.json +13 -0
  307. package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
  308. package/components/pdf-viewer/pdf-viewer.component.d.ts +20 -0
  309. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
  310. package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  311. package/components/pdf-viewer/pdf-viewer.service.d.ts +8 -0
  312. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
  313. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
  314. package/components/progress/index.d.ts +4 -2
  315. package/components/progress/pipes/abstract-color-segments.d.ts +9 -0
  316. package/components/progress/pipes/progress-color-segments-async.pipe.d.ts +5 -0
  317. package/components/progress/pipes/progress-color-segments.pipe.d.ts +7 -6
  318. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  319. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  320. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  321. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  322. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  323. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  324. package/components/select-option/select-option.component.d.ts +4 -2
  325. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  326. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  327. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  328. package/components/tabs/index.d.ts +2 -2
  329. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  330. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  331. package/components/taiga-ui-kit-components.metadata.json +1 -1
  332. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  333. package/components/text-area/text-area.component.d.ts +2 -0
  334. package/components/toggle/index.d.ts +1 -1
  335. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  336. package/components/tree/components/tree/tree.component.d.ts +6 -1
  337. package/components/tree/index.d.ts +4 -4
  338. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  339. package/constants/icon-blank.d.ts +1 -0
  340. package/constants/index.d.ts +1 -0
  341. package/constants/taiga-ui-kit-constants.metadata.json +1 -1
  342. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  343. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
  344. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  345. package/directives/highlight/highlight.directive.d.ts +1 -0
  346. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  347. package/directives/index.d.ts +1 -1
  348. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  349. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  350. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
  351. package/directives/taiga-ui-kit-directives.metadata.json +1 -1
  352. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
  353. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
  354. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +5 -6
  355. package/esm2015/components/accordion/accordion.component.js +2 -2
  356. package/esm2015/components/accordion/accordion.module.js +3 -3
  357. package/esm2015/components/action/action.component.js +2 -2
  358. package/esm2015/components/arrow/arrow.module.js +1 -1
  359. package/esm2015/components/avatar/avatar.component.js +2 -2
  360. package/esm2015/components/avatar/avatar.module.js +1 -1
  361. package/esm2015/components/badge/badge.component.js +3 -3
  362. package/esm2015/components/badge/badge.module.js +1 -1
  363. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  364. package/esm2015/components/badged-content/badged-content.module.js +1 -1
  365. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  366. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +2 -2
  367. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
  368. package/esm2015/components/breadcrumbs/index.js +2 -2
  369. package/esm2015/components/calendar-month/calendar-month.component.js +2 -2
  370. package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
  371. package/esm2015/components/calendar-range/calendar-range.component.js +2 -2
  372. package/esm2015/components/carousel/carousel-buttons.directive.js +24 -0
  373. package/esm2015/components/carousel/carousel-draggable.directive.js +67 -0
  374. package/esm2015/components/carousel/carousel-scroller.directive.js +76 -0
  375. package/esm2015/components/carousel/carousel.component.js +87 -0
  376. package/esm2015/components/carousel/carousel.directive.js +65 -0
  377. package/esm2015/components/carousel/carousel.module.js +34 -0
  378. package/esm2015/components/carousel/index.js +7 -0
  379. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  380. package/esm2015/components/checkbox/checkbox.module.js +1 -1
  381. package/esm2015/components/combo-box/combo-box.component.js +2 -2
  382. package/esm2015/components/combo-box/combo-box.module.js +1 -1
  383. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  384. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  385. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  386. package/esm2015/components/field-error/field-error.module.js +1 -1
  387. package/esm2015/components/filter/filter.component.js +1 -1
  388. package/esm2015/components/filter/filter.module.js +1 -1
  389. package/esm2015/components/index.js +6 -4
  390. package/esm2015/components/input/input.component.js +2 -2
  391. package/esm2015/components/input/input.module.js +1 -1
  392. package/esm2015/components/input/input.providers.js +1 -1
  393. package/esm2015/components/input-copy/input-copy.component.js +2 -2
  394. package/esm2015/components/input-copy/input-copy.module.js +1 -1
  395. package/esm2015/components/input-count/input-count.component.js +8 -3
  396. package/esm2015/components/input-count/input-count.module.js +1 -1
  397. package/esm2015/components/input-date/input-date.component.js +3 -3
  398. package/esm2015/components/input-date/input-date.module.js +1 -1
  399. package/esm2015/components/input-date-range/input-date-range.component.js +2 -2
  400. package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
  401. package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
  402. package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
  403. package/esm2015/components/input-file/file/file.component.js +3 -3
  404. package/esm2015/components/input-file/index.js +2 -2
  405. package/esm2015/components/input-file/input-file.component.js +3 -3
  406. package/esm2015/components/input-file/input-file.module.js +1 -1
  407. package/esm2015/components/input-inline/input-inline.component.js +1 -1
  408. package/esm2015/components/input-inline/input-inline.module.js +1 -1
  409. package/esm2015/components/input-month/input-month.component.js +1 -1
  410. package/esm2015/components/input-month-range/input-month-range.component.js +1 -1
  411. package/esm2015/components/input-number/input-number.component.js +9 -3
  412. package/esm2015/components/input-number/input-number.module.js +1 -1
  413. package/esm2015/components/input-password/index.js +2 -2
  414. package/esm2015/components/input-password/input-password.component.js +3 -3
  415. package/esm2015/components/input-password/input-password.module.js +3 -1
  416. package/esm2015/components/input-phone/input-phone.component.js +3 -3
  417. package/esm2015/components/input-phone/input-phone.module.js +1 -1
  418. package/esm2015/components/input-phone-international/const/countries.js +1 -1
  419. package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
  420. package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
  421. package/esm2015/components/input-range/input-range.component.js +3 -3
  422. package/esm2015/components/input-slider/input-slider.component.js +3 -3
  423. package/esm2015/components/input-tag/input-tag.component.js +3 -3
  424. package/esm2015/components/input-tag/input-tag.module.js +1 -1
  425. package/esm2015/components/input-time/input-time.component.js +3 -3
  426. package/esm2015/components/input-time/input-time.module.js +1 -1
  427. package/esm2015/components/island/island.module.js +1 -1
  428. package/esm2015/components/line-clamp/index.js +2 -2
  429. package/esm2015/components/line-clamp/line-clamp.component.js +1 -1
  430. package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
  431. package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
  432. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  433. package/esm2015/components/multi-select/index.js +1 -2
  434. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  435. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  436. package/esm2015/components/multi-select/multi-select.component.js +16 -17
  437. package/esm2015/components/multi-select/multi-select.module.js +2 -4
  438. package/esm2015/components/multi-select-option/multi-select-option.component.js +8 -10
  439. package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
  440. package/esm2015/components/pagination/pagination.component.js +1 -1
  441. package/esm2015/components/pagination/pagination.module.js +1 -1
  442. package/esm2015/components/pdf-viewer/index.js +5 -0
  443. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
  444. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +50 -0
  445. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
  446. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
  447. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +24 -0
  448. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  449. package/esm2015/components/progress/index.js +5 -3
  450. package/esm2015/components/progress/pipes/abstract-color-segments.js +32 -0
  451. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +15 -0
  452. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +12 -28
  453. package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -2
  454. package/esm2015/components/progress/progress-label/progress-label.component.js +1 -1
  455. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  456. package/esm2015/components/progress/progress.module.js +4 -1
  457. package/esm2015/components/radio/radio.component.js +1 -1
  458. package/esm2015/components/radio/radio.module.js +1 -1
  459. package/esm2015/components/radio-group/radio-group.module.js +1 -1
  460. package/esm2015/components/radio-labeled/radio-labeled.component.js +1 -1
  461. package/esm2015/components/range/range.component.js +3 -3
  462. package/esm2015/components/range/range.module.js +1 -1
  463. package/esm2015/components/select/select.component.js +2 -2
  464. package/esm2015/components/select/select.module.js +1 -1
  465. package/esm2015/components/select-option/select-option.component.js +20 -12
  466. package/esm2015/components/select-option/select-option.module.js +1 -1
  467. package/esm2015/components/slider/slider.component.js +3 -3
  468. package/esm2015/components/slider/slider.module.js +1 -1
  469. package/esm2015/components/stepper/step/step.component.js +2 -2
  470. package/esm2015/components/stepper/stepper.component.js +1 -1
  471. package/esm2015/components/stepper/stepper.module.js +1 -1
  472. package/esm2015/components/tabs/index.js +3 -3
  473. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  474. package/esm2015/components/tabs/tabs/tabs.component.js +2 -2
  475. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  476. package/esm2015/components/tabs/tabs.module.js +2 -2
  477. package/esm2015/components/tag/tag.component.js +3 -3
  478. package/esm2015/components/tag/tag.module.js +1 -1
  479. package/esm2015/components/text-area/text-area.component.js +10 -4
  480. package/esm2015/components/text-area/text-area.module.js +5 -2
  481. package/esm2015/components/text-area/text-area.providers.js +1 -1
  482. package/esm2015/components/toggle/index.js +2 -2
  483. package/esm2015/components/toggle/toggle.component.js +2 -2
  484. package/esm2015/components/toggle/toggle.module.js +1 -1
  485. package/esm2015/components/tree/components/tree/tree.component.js +16 -3
  486. package/esm2015/components/tree/components/tree-item/tree-item.component.js +9 -9
  487. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
  488. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  489. package/esm2015/components/tree/directives/tree-controller.directive.js +1 -1
  490. package/esm2015/components/tree/directives/tree-item-controller.directive.js +1 -1
  491. package/esm2015/components/tree/directives/tree-node.directive.js +1 -1
  492. package/esm2015/components/tree/index.js +4 -4
  493. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  494. package/esm2015/components/tree/misc/tree.interfaces.js +1 -1
  495. package/esm2015/components/tree/misc/tree.service.js +1 -1
  496. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  497. package/esm2015/components/tree/tree.module.js +3 -3
  498. package/esm2015/constants/icon-blank.js +2 -0
  499. package/esm2015/constants/index.js +2 -1
  500. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +1 -1
  501. package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
  502. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  503. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  504. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  505. package/esm2015/directives/highlight/highlight.directive.js +7 -2
  506. package/esm2015/directives/highlight/highlight.module.js +1 -1
  507. package/esm2015/directives/index.js +2 -2
  508. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +1 -1
  509. package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
  510. package/esm2015/directives/present/present.module.js +1 -1
  511. package/esm2015/directives/project-class/project-class.module.js +1 -1
  512. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  513. package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
  514. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  515. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  516. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  517. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
  518. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  519. package/esm2015/pipes/stringify/stringify.module.js +1 -1
  520. package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
  521. package/esm2015/tokens/index.js +2 -2
  522. package/esm2015/utils/format/string-hash-to-hsl.js +1 -3
  523. package/esm2015/utils/mask/index.js +2 -2
  524. package/esm5/components/accordion/accordion-item/accordion-item.component.js +5 -6
  525. package/esm5/components/accordion/accordion.component.js +2 -2
  526. package/esm5/components/accordion/accordion.module.js +3 -3
  527. package/esm5/components/action/action.component.js +2 -2
  528. package/esm5/components/arrow/arrow.module.js +1 -1
  529. package/esm5/components/avatar/avatar.component.js +2 -2
  530. package/esm5/components/avatar/avatar.module.js +1 -1
  531. package/esm5/components/badge/badge.component.js +3 -3
  532. package/esm5/components/badge/badge.module.js +1 -1
  533. package/esm5/components/badged-content/badged-content.component.js +1 -1
  534. package/esm5/components/badged-content/badged-content.module.js +1 -1
  535. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  536. package/esm5/components/breadcrumbs/breadcrumbs.component.js +2 -2
  537. package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
  538. package/esm5/components/breadcrumbs/index.js +2 -2
  539. package/esm5/components/calendar-month/calendar-month.component.js +2 -2
  540. package/esm5/components/calendar-month/calendar-month.module.js +1 -1
  541. package/esm5/components/calendar-range/calendar-range.component.js +2 -2
  542. package/esm5/components/carousel/carousel-buttons.directive.js +27 -0
  543. package/esm5/components/carousel/carousel-draggable.directive.js +73 -0
  544. package/esm5/components/carousel/carousel-scroller.directive.js +82 -0
  545. package/esm5/components/carousel/carousel.component.js +90 -0
  546. package/esm5/components/carousel/carousel.directive.js +82 -0
  547. package/esm5/components/carousel/carousel.module.js +37 -0
  548. package/esm5/components/carousel/index.js +7 -0
  549. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  550. package/esm5/components/checkbox/checkbox.module.js +1 -1
  551. package/esm5/components/combo-box/combo-box.component.js +2 -2
  552. package/esm5/components/combo-box/combo-box.module.js +1 -1
  553. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  554. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  555. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  556. package/esm5/components/field-error/field-error.module.js +1 -1
  557. package/esm5/components/filter/filter.component.js +1 -1
  558. package/esm5/components/filter/filter.module.js +1 -1
  559. package/esm5/components/index.js +6 -4
  560. package/esm5/components/input/input.component.js +2 -2
  561. package/esm5/components/input/input.module.js +1 -1
  562. package/esm5/components/input/input.providers.js +1 -1
  563. package/esm5/components/input-copy/input-copy.component.js +2 -2
  564. package/esm5/components/input-copy/input-copy.module.js +1 -1
  565. package/esm5/components/input-count/input-count.component.js +8 -3
  566. package/esm5/components/input-count/input-count.module.js +1 -1
  567. package/esm5/components/input-date/input-date.component.js +3 -3
  568. package/esm5/components/input-date/input-date.module.js +1 -1
  569. package/esm5/components/input-date-range/input-date-range.component.js +2 -2
  570. package/esm5/components/input-date-range/input-date-range.module.js +1 -1
  571. package/esm5/components/input-date-time/input-date-time.component.js +2 -2
  572. package/esm5/components/input-date-time/input-date-time.module.js +1 -1
  573. package/esm5/components/input-file/file/file.component.js +3 -3
  574. package/esm5/components/input-file/index.js +2 -2
  575. package/esm5/components/input-file/input-file.component.js +3 -3
  576. package/esm5/components/input-file/input-file.module.js +1 -1
  577. package/esm5/components/input-inline/input-inline.component.js +1 -1
  578. package/esm5/components/input-inline/input-inline.module.js +1 -1
  579. package/esm5/components/input-month/input-month.component.js +1 -1
  580. package/esm5/components/input-month-range/input-month-range.component.js +1 -1
  581. package/esm5/components/input-number/input-number.component.js +9 -3
  582. package/esm5/components/input-number/input-number.module.js +1 -1
  583. package/esm5/components/input-password/index.js +2 -2
  584. package/esm5/components/input-password/input-password.component.js +3 -3
  585. package/esm5/components/input-password/input-password.module.js +3 -1
  586. package/esm5/components/input-phone/input-phone.component.js +3 -3
  587. package/esm5/components/input-phone/input-phone.module.js +1 -1
  588. package/esm5/components/input-phone-international/const/countries.js +1 -1
  589. package/esm5/components/input-phone-international/input-phone-international.component.js +2 -2
  590. package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
  591. package/esm5/components/input-range/input-range.component.js +3 -3
  592. package/esm5/components/input-slider/input-slider.component.js +3 -3
  593. package/esm5/components/input-tag/input-tag.component.js +3 -3
  594. package/esm5/components/input-tag/input-tag.module.js +1 -1
  595. package/esm5/components/input-time/input-time.component.js +3 -3
  596. package/esm5/components/input-time/input-time.module.js +1 -1
  597. package/esm5/components/island/island.module.js +1 -1
  598. package/esm5/components/line-clamp/index.js +2 -2
  599. package/esm5/components/line-clamp/line-clamp.component.js +1 -1
  600. package/esm5/components/line-clamp/line-clamp.module.js +1 -1
  601. package/esm5/components/marker-icon/marker-icon.module.js +1 -1
  602. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  603. package/esm5/components/multi-select/index.js +1 -2
  604. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  605. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  606. package/esm5/components/multi-select/multi-select.component.js +20 -21
  607. package/esm5/components/multi-select/multi-select.module.js +2 -4
  608. package/esm5/components/multi-select-option/multi-select-option.component.js +14 -11
  609. package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
  610. package/esm5/components/pagination/pagination.component.js +1 -1
  611. package/esm5/components/pagination/pagination.module.js +1 -1
  612. package/esm5/components/pdf-viewer/index.js +5 -0
  613. package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
  614. package/esm5/components/pdf-viewer/pdf-viewer.component.js +51 -0
  615. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
  616. package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
  617. package/esm5/components/pdf-viewer/pdf-viewer.service.js +27 -0
  618. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  619. package/esm5/components/progress/index.js +5 -3
  620. package/esm5/components/progress/pipes/abstract-color-segments.js +35 -0
  621. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +21 -0
  622. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +16 -30
  623. package/esm5/components/progress/progress-circle/progress-circle.component.js +2 -2
  624. package/esm5/components/progress/progress-label/progress-label.component.js +1 -1
  625. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  626. package/esm5/components/progress/progress.module.js +4 -1
  627. package/esm5/components/radio/radio.component.js +1 -1
  628. package/esm5/components/radio/radio.module.js +1 -1
  629. package/esm5/components/radio-group/radio-group.module.js +1 -1
  630. package/esm5/components/radio-labeled/radio-labeled.component.js +1 -1
  631. package/esm5/components/range/range.component.js +3 -3
  632. package/esm5/components/range/range.module.js +1 -1
  633. package/esm5/components/select/select.component.js +2 -2
  634. package/esm5/components/select/select.module.js +1 -1
  635. package/esm5/components/select-option/select-option.component.js +24 -14
  636. package/esm5/components/select-option/select-option.module.js +1 -1
  637. package/esm5/components/slider/slider.component.js +3 -3
  638. package/esm5/components/slider/slider.module.js +1 -1
  639. package/esm5/components/stepper/step/step.component.js +2 -2
  640. package/esm5/components/stepper/stepper.component.js +1 -1
  641. package/esm5/components/stepper/stepper.module.js +1 -1
  642. package/esm5/components/tabs/index.js +3 -3
  643. package/esm5/components/tabs/tab/tab.component.js +1 -1
  644. package/esm5/components/tabs/tabs/tabs.component.js +2 -2
  645. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  646. package/esm5/components/tabs/tabs.module.js +2 -2
  647. package/esm5/components/tag/tag.component.js +3 -3
  648. package/esm5/components/tag/tag.module.js +1 -1
  649. package/esm5/components/text-area/text-area.component.js +18 -4
  650. package/esm5/components/text-area/text-area.module.js +5 -2
  651. package/esm5/components/text-area/text-area.providers.js +1 -1
  652. package/esm5/components/toggle/index.js +2 -2
  653. package/esm5/components/toggle/toggle.component.js +2 -2
  654. package/esm5/components/toggle/toggle.module.js +1 -1
  655. package/esm5/components/tree/components/tree/tree.component.js +16 -3
  656. package/esm5/components/tree/components/tree-item/tree-item.component.js +9 -9
  657. package/esm5/components/tree/components/tree-item/tree-item.providers.js +1 -1
  658. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  659. package/esm5/components/tree/directives/tree-controller.directive.js +1 -1
  660. package/esm5/components/tree/directives/tree-item-controller.directive.js +1 -1
  661. package/esm5/components/tree/directives/tree-node.directive.js +1 -1
  662. package/esm5/components/tree/index.js +4 -4
  663. package/esm5/components/tree/misc/tree.constants.js +1 -1
  664. package/esm5/components/tree/misc/tree.interfaces.js +1 -1
  665. package/esm5/components/tree/misc/tree.service.js +1 -1
  666. package/esm5/components/tree/misc/tree.tokens.js +1 -1
  667. package/esm5/components/tree/tree.module.js +3 -3
  668. package/esm5/constants/icon-blank.js +2 -0
  669. package/esm5/constants/index.js +2 -1
  670. package/esm5/directives/dropdown-context/dropdown-context.directive.js +1 -1
  671. package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
  672. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  673. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  674. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  675. package/esm5/directives/highlight/highlight.directive.js +7 -2
  676. package/esm5/directives/highlight/highlight.module.js +1 -1
  677. package/esm5/directives/index.js +2 -2
  678. package/esm5/directives/lazy-loading/lazy-loading.directive.js +1 -1
  679. package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
  680. package/esm5/directives/present/present.module.js +1 -1
  681. package/esm5/directives/project-class/project-class.module.js +1 -1
  682. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  683. package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
  684. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  685. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  686. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  687. package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
  688. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  689. package/esm5/pipes/stringify/stringify.module.js +1 -1
  690. package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
  691. package/esm5/tokens/index.js +2 -2
  692. package/esm5/utils/format/string-hash-to-hsl.js +1 -3
  693. package/esm5/utils/mask/index.js +2 -2
  694. package/fesm2015/taiga-ui-kit-components-accordion.js +5 -6
  695. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  696. package/fesm2015/taiga-ui-kit-components-action.js +2 -2
  697. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  698. package/fesm2015/taiga-ui-kit-components-avatar.js +1 -1
  699. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  700. package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
  701. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  702. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
  703. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  704. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +4 -4
  705. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  706. package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -1
  707. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  708. package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -1
  709. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  710. package/fesm2015/taiga-ui-kit-components-carousel.js +323 -0
  711. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -0
  712. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  713. package/fesm2015/taiga-ui-kit-components-combo-box.js +2 -2
  714. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  715. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  716. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  717. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  718. package/fesm2015/taiga-ui-kit-components-filter.js +1 -1
  719. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  720. package/fesm2015/taiga-ui-kit-components-input-copy.js +2 -2
  721. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  722. package/fesm2015/taiga-ui-kit-components-input-count.js +7 -2
  723. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  724. package/fesm2015/taiga-ui-kit-components-input-date-range.js +2 -2
  725. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  726. package/fesm2015/taiga-ui-kit-components-input-date-time.js +2 -2
  727. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  728. package/fesm2015/taiga-ui-kit-components-input-date.js +2 -2
  729. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  730. package/fesm2015/taiga-ui-kit-components-input-file.js +148 -148
  731. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  732. package/fesm2015/taiga-ui-kit-components-input-inline.js +1 -1
  733. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  734. package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -1
  735. package/fesm2015/taiga-ui-kit-components-input-month.js +1 -1
  736. package/fesm2015/taiga-ui-kit-components-input-number.js +8 -2
  737. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  738. package/fesm2015/taiga-ui-kit-components-input-password.js +5 -4
  739. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  740. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +1 -1
  741. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  742. package/fesm2015/taiga-ui-kit-components-input-phone.js +2 -2
  743. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  744. package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
  745. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  746. package/fesm2015/taiga-ui-kit-components-input-slider.js +2 -2
  747. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  748. package/fesm2015/taiga-ui-kit-components-input-tag.js +2 -2
  749. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  750. package/fesm2015/taiga-ui-kit-components-input-time.js +2 -2
  751. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  752. package/fesm2015/taiga-ui-kit-components-input.js +1 -1
  753. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  754. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-line-clamp.js +2 -2
  756. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  758. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -9
  759. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  760. package/fesm2015/taiga-ui-kit-components-multi-select.js +25 -37
  761. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  762. package/fesm2015/taiga-ui-kit-components-pagination.js +1 -1
  763. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  764. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +108 -0
  765. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  766. package/fesm2015/taiga-ui-kit-components-progress.js +41 -16
  767. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  768. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +1 -1
  770. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-components-range.js +2 -2
  772. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-components-select-option.js +19 -11
  774. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-components-select.js +2 -2
  776. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-components-slider.js +2 -2
  778. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-components-stepper.js +1 -1
  780. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-components-tabs.js +3 -3
  782. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-components-tag.js +2 -2
  784. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  785. package/fesm2015/taiga-ui-kit-components-text-area.js +12 -3
  786. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  787. package/fesm2015/taiga-ui-kit-components-toggle.js +2 -2
  788. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-components-tree.js +131 -120
  790. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-components.js +5 -3
  792. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-constants.js +3 -1
  794. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  795. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  796. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  797. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  798. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  799. package/fesm2015/taiga-ui-kit-directives-highlight.js +6 -1
  800. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  801. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  802. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  803. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  804. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  805. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  806. package/fesm2015/taiga-ui-kit-directives.js +1 -1
  807. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  808. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  809. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
  810. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  811. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  812. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  813. package/fesm2015/taiga-ui-kit-tokens.js +14 -14
  814. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  815. package/fesm2015/taiga-ui-kit-utils-format.js +0 -2
  816. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  817. package/fesm5/taiga-ui-kit-components-accordion.js +5 -6
  818. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  819. package/fesm5/taiga-ui-kit-components-action.js +2 -2
  820. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  821. package/fesm5/taiga-ui-kit-components-avatar.js +1 -1
  822. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  823. package/fesm5/taiga-ui-kit-components-badge.js +2 -2
  824. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  825. package/fesm5/taiga-ui-kit-components-badged-content.js +1 -1
  826. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  827. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +4 -4
  828. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  829. package/fesm5/taiga-ui-kit-components-calendar-month.js +1 -1
  830. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  831. package/fesm5/taiga-ui-kit-components-calendar-range.js +1 -1
  832. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  833. package/fesm5/taiga-ui-kit-components-carousel.js +361 -0
  834. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -0
  835. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  836. package/fesm5/taiga-ui-kit-components-combo-box.js +2 -2
  837. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  838. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  839. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  840. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  841. package/fesm5/taiga-ui-kit-components-filter.js +1 -1
  842. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  843. package/fesm5/taiga-ui-kit-components-input-copy.js +2 -2
  844. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  845. package/fesm5/taiga-ui-kit-components-input-count.js +7 -2
  846. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  847. package/fesm5/taiga-ui-kit-components-input-date-range.js +2 -2
  848. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  849. package/fesm5/taiga-ui-kit-components-input-date-time.js +2 -2
  850. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  851. package/fesm5/taiga-ui-kit-components-input-date.js +2 -2
  852. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  853. package/fesm5/taiga-ui-kit-components-input-file.js +194 -194
  854. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  855. package/fesm5/taiga-ui-kit-components-input-inline.js +1 -1
  856. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  857. package/fesm5/taiga-ui-kit-components-input-month-range.js +1 -1
  858. package/fesm5/taiga-ui-kit-components-input-month.js +1 -1
  859. package/fesm5/taiga-ui-kit-components-input-number.js +8 -2
  860. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  861. package/fesm5/taiga-ui-kit-components-input-password.js +5 -4
  862. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  863. package/fesm5/taiga-ui-kit-components-input-phone-international.js +1 -1
  864. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  865. package/fesm5/taiga-ui-kit-components-input-phone.js +2 -2
  866. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  867. package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
  868. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  869. package/fesm5/taiga-ui-kit-components-input-slider.js +2 -2
  870. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  871. package/fesm5/taiga-ui-kit-components-input-tag.js +2 -2
  872. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-input-time.js +2 -2
  874. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-input.js +1 -1
  876. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  877. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  878. package/fesm5/taiga-ui-kit-components-line-clamp.js +2 -2
  879. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  880. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-multi-select-option.js +13 -10
  882. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  883. package/fesm5/taiga-ui-kit-components-multi-select.js +29 -44
  884. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-components-pagination.js +1 -1
  886. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +120 -0
  888. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  889. package/fesm5/taiga-ui-kit-components-progress.js +55 -19
  890. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  891. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  892. package/fesm5/taiga-ui-kit-components-radio-labeled.js +1 -1
  893. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-components-range.js +2 -2
  895. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  896. package/fesm5/taiga-ui-kit-components-select-option.js +23 -13
  897. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-components-select.js +2 -2
  899. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-components-slider.js +2 -2
  901. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-components-stepper.js +1 -1
  903. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-components-tabs.js +3 -3
  905. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  906. package/fesm5/taiga-ui-kit-components-tag.js +2 -2
  907. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  908. package/fesm5/taiga-ui-kit-components-text-area.js +20 -3
  909. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  910. package/fesm5/taiga-ui-kit-components-toggle.js +2 -2
  911. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  912. package/fesm5/taiga-ui-kit-components-tree.js +146 -135
  913. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  914. package/fesm5/taiga-ui-kit-components.js +5 -3
  915. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  916. package/fesm5/taiga-ui-kit-constants.js +3 -1
  917. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  919. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  921. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-directives-highlight.js +6 -1
  923. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  925. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  927. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  929. package/fesm5/taiga-ui-kit-directives.js +1 -1
  930. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  931. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  932. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
  933. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  934. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  935. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-tokens.js +14 -14
  937. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-utils-format.js +0 -2
  939. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  940. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  941. package/package.json +7 -6
  942. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
  943. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
  944. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
  945. package/tokens/index.d.ts +1 -1
  946. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  947. package/utils/mask/index.d.ts +1 -1
  948. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
  949. package/components/multi-select/multi-select-group/multi-select-group-reset.directive.d.ts +0 -3
  950. package/esm2015/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -20
  951. package/esm5/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -23
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@taiga-ui/cdk"),require("@tinkoff/ng-polymorpheus"),require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/core")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/tree",["exports","@taiga-ui/cdk","@tinkoff/ng-polymorpheus","@angular/core","rxjs","rxjs/operators","@angular/common","@taiga-ui/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components.tree={}),e.cdk,e.ngPolymorpheus,e.ng.core,e.rxjs,e.rxjs.operators,e.ng.common,e.core$1)}(this,(function(e,t,n,o,i,r,a,c){"use strict";
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@tinkoff/ng-polymorpheus"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/core")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/tree",["exports","@angular/core","@taiga-ui/cdk","@tinkoff/ng-polymorpheus","rxjs","rxjs/operators","@angular/common","@taiga-ui/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components.tree={}),e.ng.core,e.cdk,e.ngPolymorpheus,e.rxjs,e.rxjs.operators,e.ng.common,e.core$1)}(this,(function(e,t,n,o,r,i,a,c){"use strict";
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
@@ -12,5 +12,5 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */function u(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,o){t(n,o,e)}}var s=new o.InjectionToken("Controller for tracking value - TuiTreeItemComponent pairs"),p=new o.InjectionToken("Controller for expanding the tree",{factory:function(){return E}}),d=new o.InjectionToken("A node of a tree view"),f=new o.InjectionToken("A tree node placeholder for loading",{factory:function(){return{}}}),g=new o.InjectionToken("A tree node starting point"),h=new o.InjectionToken("A service to load tree progressively"),m=new o.InjectionToken("Content for a tree item",{factory:function(){return T}}),v=new o.InjectionToken("Nesting level of current TreeView node",{factory:function(){return-1}}),y=function(){function e(e,t){this.context=e,this.controller=t}return Object.defineProperty(e.prototype,"isExpanded",{get:function(){return this.context.$implicit.isExpanded},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExpandable",{get:function(){return this.context.$implicit.isExpandable&&this.controller!==E},enumerable:!0,configurable:!0}),e.prototype.onClick=function(){var e;null===(e=this.controller)||void 0===e||e.toggle(this.context.$implicit)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[n.POLYMORPHEUS_CONTEXT]}]},{type:void 0,decorators:[{type:o.Inject,args:[p]}]}]},u([o.HostBinding("class._expandable")],e.prototype,"isExpandable",null),e=u([o.Component({selector:"tui-tree-item-content",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',changeDetection:o.ChangeDetectionStrategy.OnPush,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)}"]}),l(0,o.Inject(n.POLYMORPHEUS_CONTEXT)),l(1,o.Inject(p))],e)}(),T=new n.PolymorpheusComponent(y),E={isExpanded:t.ALWAYS_TRUE_HANDLER,toggle:t.EMPTY_FUNCTION},I=function(){function e(e,t,n){var o=this;this.loading=e,this.start=t,this.loader=n,this.map=new Map([[this.loading,[]]]),this.load$=new i.Subject,this.data$=this.load$.pipe(r.switchMap((function(e){return o.loader.loadChildren(e).pipe(r.tap((function(t){return o.map.set(e,t)})),r.map((function(e){return e.filter((function(e){return!o.loader.hasChildren(e)}))})),r.tap((function(e){return e.forEach((function(e){return o.map.set(e,[])}))})))})),r.startWith(null),r.mapTo(this.start))}return e.prototype.getChildren=function(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:[this.loading]},e.prototype.loadChildren=function(e){this.map.get(e)||(this.map.set(e,[this.loading]),this.load$.next(e))},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[f]}]},{type:void 0,decorators:[{type:o.Inject,args:[g]}]},{type:void 0,decorators:[{type:o.Inject,args:[h]}]}]},e=u([o.Injectable(),l(0,o.Inject(f)),l(1,o.Inject(g)),l(2,o.Inject(h))],e)}(),x=function(){function e(){this.childrenHandler=n.defaultHandler}var n;return n=e,e.defaultHandler=function(e){return Array.isArray(e)?e:t.EMPTY_ARRAY},u([o.Input(),t.tuiDefaultProp()],e.prototype,"childrenHandler",void 0),e=n=u([o.Directive({selector:"tui-tree[childrenHandler]"})],e)}(),b=function(){function e(e){this.directive=e,this.content=function(e){var t=e.$implicit;return String(t)}}var t;return t=e,Object.defineProperty(e.prototype,"children",{get:function(){var e,t;return null!==(t=null===(e=this.directive)||void 0===e?void 0:e.childrenHandler(this.value))&&void 0!==t?t:x.defaultHandler(this.value)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:x,decorators:[{type:o.Optional},{type:o.Inject,args:[x]}]}]},u([o.Input()],e.prototype,"value",void 0),u([o.Input()],e.prototype,"content",void 0),e=t=u([o.Component({selector:"tui-tree[value]",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',providers:[{provide:d,useExisting:t}],host:{role:"tree"},styles:[":host{position:relative;display:block}"]}),l(0,o.Optional()),l(0,o.Inject(x))],e)}(),j=[{provide:v,deps:[[new o.SkipSelf,v]],useFactory:C},{provide:d,useExisting:o.forwardRef((function(){return _}))}];function C(e){return++e}var _=function(){function e(e,n,o,a){var c=this;this.elementRef=e,this.controller=n,this.level=o,this.content=a,this.change$=new i.Subject,this.nested=t.EMPTY_QUERY,this.expanded$=this.change$.pipe(r.startWith(null),r.map((function(){return c.isExpanded})),r.distinctUntilChanged()),this.attached$=this.change$.pipe(r.map((function(){return c.elementRef.nativeElement.isConnected})),r.distinctUntilChanged())}return Object.defineProperty(e.prototype,"isExpandable",{get:function(){return!!this.nested.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExpanded",{get:function(){return this.controller.isExpanded(this)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this.change$.next()},e.ctorParameters=function(){return[{type:o.ElementRef,decorators:[{type:o.Inject,args:[o.ElementRef]}]},{type:void 0,decorators:[{type:o.Inject,args:[p]}]},{type:Number,decorators:[{type:o.Inject,args:[v]}]},{type:void 0,decorators:[{type:o.Inject,args:[m]}]}]},u([o.ContentChildren(d)],e.prototype,"nested",void 0),u([o.HostBinding("class._expandable")],e.prototype,"isExpandable",null),e=u([o.Component({selector:"tui-tree-item",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 class="t-children"\n role="group"\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',changeDetection:o.ChangeDetectionStrategy.OnPush,providers:j,host:{role:"treeitem"},styles:[":host{display:block}.t-children{position:relative;margin-left:var(--tui-tree-item-indent,1.5rem)}"]}),l(0,o.Inject(o.ElementRef)),l(1,o.Inject(p)),l(2,o.Inject(v)),l(3,o.Inject(m))],e)}(),O=function(){function e(){this.fallback=!0,this.map=new Map,this.toggled=new o.EventEmitter,this.items=new Map}var n;return n=e,e.prototype.register=function(e,t){this.items.set(e,t)},e.prototype.unregister=function(e){this.items.delete(e)},e.prototype.isExpanded=function(e){var t,n=this.items.get(e);return null!==(t=n&&this.map.get(n))&&void 0!==t?t:this.fallback},e.prototype.toggle=function(e){var n=this.items.get(e),o=this.isExpanded(e);t.isPresent(n)&&(this.toggled.emit(n),this.map.set(n,!o))},u([o.Input("tuiTreeController"),t.tuiDefaultProp()],e.prototype,"fallback",void 0),u([o.Input(),t.tuiDefaultProp()],e.prototype,"map",void 0),u([o.Output()],e.prototype,"toggled",void 0),e=n=u([o.Directive({selector:"[tuiTreeController][map]",exportAs:"tuiTreeController",providers:[{provide:s,useExisting:n},{provide:p,useExisting:n}]})],e)}(),R=function(){function e(){this.fallback=!0,this.map=new WeakMap}var n;return n=e,e.prototype.isExpanded=function(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:this.fallback},e.prototype.toggle=function(e){this.map.set(e,!this.isExpanded(e))},u([o.Input("tuiTreeController"),t.tuiDefaultProp()],e.prototype,"fallback",void 0),e=n=u([o.Directive({selector:"[tuiTreeController]:not([map])",exportAs:"tuiTreeController",providers:[{provide:p,useExisting:n}]})],e)}(),k=function(){function e(e,t){this.directive=e,this.component=t}return Object.defineProperty(e.prototype,"value",{set:function(e){var t;null===(t=this.directive)||void 0===t||t.register(this.component,e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){var e;null===(e=this.directive)||void 0===e||e.unregister(this.component)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[s]}]},{type:_,decorators:[{type:o.Inject,args:[_]}]}]},u([o.Input("tuiTreeNode")],e.prototype,"value",null),e=u([o.Directive({selector:"tui-tree-item[tuiTreeNode]"}),l(0,o.Optional()),l(0,o.Inject(s)),l(1,o.Inject(_))],e)}(),P=function(){function e(){}return e=u([o.NgModule({imports:[a.CommonModule,n.PolymorpheusModule,c.TuiExpandModule,c.TuiButtonModule],entryComponents:[y],declarations:[b,_,y,x,R,O,k],exports:[b,_,x,R,O]})],e)}();e.TUI_DEFAULT_TREE_CONTROLLER=E,e.TUI_TREE_ACCESSOR=s,e.TUI_TREE_CONTENT=m,e.TUI_TREE_CONTROLLER=p,e.TUI_TREE_ITEM_CONTENT=T,e.TUI_TREE_ITEM_PROVIDERS=j,e.TUI_TREE_LEVEL=v,e.TUI_TREE_LOADER=h,e.TUI_TREE_LOADING=f,e.TUI_TREE_NODE=d,e.TUI_TREE_START=g,e.TuiTreeChildrenDirective=x,e.TuiTreeComponent=b,e.TuiTreeControllerDirective=O,e.TuiTreeItemComponent=_,e.TuiTreeItemContentComponent=y,e.TuiTreeItemControllerDirective=R,e.TuiTreeModule=P,e.TuiTreeNodeDirective=k,e.TuiTreeService=I,e.treeLevelFactory=C,Object.defineProperty(e,"__esModule",{value:!0})}));
15
+ ***************************************************************************** */function u(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,o){t(n,o,e)}}var p=function(){function e(){this.childrenHandler=o.defaultHandler}var o;return o=e,e.defaultHandler=function(e){return Array.isArray(e)?e:n.EMPTY_ARRAY},u([t.Input(),n.tuiDefaultProp()],e.prototype,"childrenHandler",void 0),e=o=u([t.Directive({selector:"tui-tree[childrenHandler]"})],e)}(),s=function(){function e(e,t){this.context=e,this.controller=t}return Object.defineProperty(e.prototype,"isExpanded",{get:function(){return this.context.$implicit.isExpanded},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExpandable",{get:function(){return this.context.$implicit.isExpandable&&this.controller!==f},enumerable:!0,configurable:!0}),e.prototype.onClick=function(){this.controller.toggle(this.context.$implicit)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[o.POLYMORPHEUS_CONTEXT]}]},{type:void 0,decorators:[{type:t.Inject,args:[t.forwardRef((function(){return g}))]}]}]},u([t.HostBinding("class._expandable")],e.prototype,"isExpandable",null),e=u([t.Component({selector:"tui-tree-item-content",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',changeDetection:t.ChangeDetectionStrategy.OnPush,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)}"]}),l(0,t.Inject(o.POLYMORPHEUS_CONTEXT)),l(1,t.Inject(t.forwardRef((function(){return g}))))],e)}(),d=new o.PolymorpheusComponent(s),f={isExpanded:n.ALWAYS_TRUE_HANDLER,toggle:n.EMPTY_FUNCTION},h=new t.InjectionToken("Controller for tracking value - TuiTreeItemComponent pairs"),g=new t.InjectionToken("Controller for expanding the tree",{factory:function(){return f}}),m=new t.InjectionToken("A node of a tree view"),v=new t.InjectionToken("A tree node placeholder for loading",{factory:function(){return{}}}),y=new t.InjectionToken("A tree node starting point"),T=new t.InjectionToken("A service to load tree progressively"),E=new t.InjectionToken("Content for a tree item",{factory:function(){return d}}),I=new t.InjectionToken("Nesting level of current TreeView node",{factory:function(){return-1}}),x=[{provide:I,deps:[[new t.SkipSelf,I]],useFactory:C},{provide:m,useExisting:t.forwardRef((function(){return b}))}];function C(e){return++e}var b=function(){function e(e,t,o,a){var c=this;this.elementRef=e,this.controller=t,this.level=o,this.content=a,this.change$=new r.Subject,this.nested=n.EMPTY_QUERY,this.expanded$=this.change$.pipe(i.startWith(null),i.map((function(){return c.isExpanded})),i.distinctUntilChanged()),this.attached$=this.change$.pipe(i.map((function(){return c.elementRef.nativeElement.isConnected})),i.distinctUntilChanged())}return Object.defineProperty(e.prototype,"isExpandable",{get:function(){return!!this.nested.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExpanded",{get:function(){return this.controller.isExpanded(this)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this.change$.next()},e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:void 0,decorators:[{type:t.Inject,args:[t.forwardRef((function(){return g}))]}]},{type:Number,decorators:[{type:t.Inject,args:[t.forwardRef((function(){return I}))]}]},{type:void 0,decorators:[{type:t.Inject,args:[t.forwardRef((function(){return E}))]}]}]},u([t.ContentChildren(m)],e.prototype,"nested",void 0),u([t.HostBinding("class._expandable")],e.prototype,"isExpandable",null),e=u([t.Component({selector:"tui-tree-item",template:'<ng-template #template><ng-content></ng-content></ng-template>\n<div\n polymorpheus-outlet\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',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:x,host:{role:"treeitem"},styles:[":host{display:block}.t-children{position:relative;margin-left:var(--tui-tree-item-indent,1.5rem)}"]}),l(0,t.Inject(t.ElementRef)),l(1,t.Inject(t.forwardRef((function(){return g})))),l(2,t.Inject(t.forwardRef((function(){return I})))),l(3,t.Inject(t.forwardRef((function(){return E}))))],e)}(),j=function(){function e(e){this.directive=e,this.content=function(e){var t=e.$implicit;return String(t)}}var n;return n=e,Object.defineProperty(e.prototype,"children",{get:function(){var e,t;return null!==(t=null===(e=this.directive)||void 0===e?void 0:e.childrenHandler(this.value))&&void 0!==t?t:p.defaultHandler(this.value)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){var e,t;null===(e=this.item)||void 0===e||e.ngDoCheck(),null===(t=this.child)||void 0===t||t.ngDoCheck()},e.ctorParameters=function(){return[{type:p,decorators:[{type:t.Optional},{type:t.Inject,args:[p]}]}]},u([t.Input()],e.prototype,"value",void 0),u([t.Input()],e.prototype,"content",void 0),u([t.ViewChild(b)],e.prototype,"item",void 0),u([t.ViewChild(n)],e.prototype,"child",void 0),e=n=u([t.Component({selector:"tui-tree[value]",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',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:m,useExisting:n}],host:{role:"tree"},styles:[":host{position:relative;display:block}"]}),l(0,t.Optional()),l(0,t.Inject(p))],e)}(),R=function(){function e(){this.fallback=!0,this.map=new Map,this.toggled=new t.EventEmitter,this.items=new Map}var o;return o=e,e.prototype.register=function(e,t){this.items.set(e,t)},e.prototype.unregister=function(e){this.items.delete(e)},e.prototype.isExpanded=function(e){var t,n=this.items.get(e);return null!==(t=n&&this.map.get(n))&&void 0!==t?t:this.fallback},e.prototype.toggle=function(e){var t=this.items.get(e),o=this.isExpanded(e);n.isPresent(t)&&(this.toggled.emit(t),this.map.set(t,!o))},u([t.Input("tuiTreeController"),n.tuiDefaultProp()],e.prototype,"fallback",void 0),u([t.Input(),n.tuiDefaultProp()],e.prototype,"map",void 0),u([t.Output()],e.prototype,"toggled",void 0),e=o=u([t.Directive({selector:"[tuiTreeController][map]",exportAs:"tuiTreeController",providers:[{provide:h,useExisting:o},{provide:g,useExisting:o}]})],e)}(),_=function(){function e(){this.fallback=!0,this.map=new WeakMap}var o;return o=e,e.prototype.isExpanded=function(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:this.fallback},e.prototype.toggle=function(e){this.map.set(e,!this.isExpanded(e))},u([t.Input("tuiTreeController"),n.tuiDefaultProp()],e.prototype,"fallback",void 0),e=o=u([t.Directive({selector:"[tuiTreeController]:not([map])",exportAs:"tuiTreeController",providers:[{provide:g,useExisting:o}]})],e)}(),O=function(){function e(e,t){this.directive=e,this.component=t}return Object.defineProperty(e.prototype,"value",{set:function(e){var t;null===(t=this.directive)||void 0===t||t.register(this.component,e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){var e;null===(e=this.directive)||void 0===e||e.unregister(this.component)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[h]}]},{type:b,decorators:[{type:t.Inject,args:[b]}]}]},u([t.Input("tuiTreeNode")],e.prototype,"value",null),e=u([t.Directive({selector:"tui-tree-item[tuiTreeNode]"}),l(0,t.Optional()),l(0,t.Inject(h)),l(1,t.Inject(b))],e)}(),k=function(){function e(e,t,n){var o=this;this.loading=e,this.start=t,this.loader=n,this.map=new Map([[this.loading,[]]]),this.load$=new r.Subject,this.data$=this.load$.pipe(i.switchMap((function(e){return o.loader.loadChildren(e).pipe(i.tap((function(t){return o.map.set(e,t)})),i.map((function(e){return e.filter((function(e){return!o.loader.hasChildren(e)}))})),i.tap((function(e){return e.forEach((function(e){return o.map.set(e,[])}))})))})),i.startWith(null),i.mapTo(this.start))}return e.prototype.getChildren=function(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:[this.loading]},e.prototype.loadChildren=function(e){this.map.get(e)||(this.map.set(e,[this.loading]),this.load$.next(e))},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[v]}]},{type:void 0,decorators:[{type:t.Inject,args:[y]}]},{type:void 0,decorators:[{type:t.Inject,args:[T]}]}]},e=u([t.Injectable(),l(0,t.Inject(v)),l(1,t.Inject(y)),l(2,t.Inject(T))],e)}(),w=function(){function e(){}return e=u([t.NgModule({imports:[a.CommonModule,o.PolymorpheusModule,c.TuiExpandModule,c.TuiButtonModule],entryComponents:[s],declarations:[j,b,s,p,_,R,O],exports:[j,b,p,_,R]})],e)}();e.TUI_DEFAULT_TREE_CONTROLLER=f,e.TUI_TREE_ACCESSOR=h,e.TUI_TREE_CONTENT=E,e.TUI_TREE_CONTROLLER=g,e.TUI_TREE_ITEM_CONTENT=d,e.TUI_TREE_ITEM_PROVIDERS=x,e.TUI_TREE_LEVEL=I,e.TUI_TREE_LOADER=T,e.TUI_TREE_LOADING=v,e.TUI_TREE_NODE=m,e.TUI_TREE_START=y,e.TuiTreeChildrenDirective=p,e.TuiTreeComponent=j,e.TuiTreeControllerDirective=R,e.TuiTreeItemComponent=b,e.TuiTreeItemContentComponent=s,e.TuiTreeItemControllerDirective=_,e.TuiTreeModule=w,e.TuiTreeNodeDirective=O,e.TuiTreeService=k,e.treeLevelFactory=C,Object.defineProperty(e,"__esModule",{value:!0})}));
16
16
  //# sourceMappingURL=taiga-ui-kit-components-tree.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/tree/misc/tree.tokens.ts","ng://@taiga-ui/kit/components/tree/components/tree-item-content/tree-item-content.component.ts","ng://@taiga-ui/kit/components/tree/misc/tree.constants.ts","ng://@taiga-ui/kit/components/tree/misc/tree.service.ts","ng://@taiga-ui/kit/components/tree/directives/tree-children.directive.ts","ng://@taiga-ui/kit/components/tree/components/tree/tree.component.ts","ng://@taiga-ui/kit/components/tree/components/tree-item/tree-item.providers.ts","ng://@taiga-ui/kit/components/tree/components/tree-item/tree-item.component.ts","ng://@taiga-ui/kit/components/tree/directives/tree-controller.directive.ts","ng://@taiga-ui/kit/components/tree/directives/tree-item-controller.directive.ts","ng://@taiga-ui/kit/components/tree/directives/tree-node.directive.ts","ng://@taiga-ui/kit/components/tree/tree.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","TUI_TREE_ACCESSOR","InjectionToken","TUI_TREE_CONTROLLER","factory","TUI_DEFAULT_TREE_CONTROLLER","TUI_TREE_NODE","TUI_TREE_LOADING","TUI_TREE_START","TUI_TREE_LOADER","TUI_TREE_CONTENT","TUI_TREE_ITEM_CONTENT","TUI_TREE_LEVEL","TuiTreeItemContentComponent","context","controller","this","prototype","$implicit","isExpanded","isExpandable","onClick","_a","toggle","Inject","args","POLYMORPHEUS_CONTEXT","HostBinding","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","PolymorpheusComponent","ALWAYS_TRUE_HANDLER","EMPTY_FUNCTION","TuiTreeService","loading","start","loader","_this","map","Map","load$","Subject","data$","pipe","switchMap","item","loadChildren","tap","children","set","filter","hasChildren","forEach","child","startWith","mapTo","getChildren","get","next","Injectable","TuiTreeChildrenDirective","childrenHandler","TuiTreeChildrenDirective_1","defaultHandler","Array","isArray","EMPTY_ARRAY","Input","tuiDefaultProp","Directive","TuiTreeComponent","directive","content","String","_b","value","type","Optional","TuiTreeComponent_1","providers","provide","useExisting","host","role","TUI_TREE_ITEM_PROVIDERS","deps","SkipSelf","useFactory","treeLevelFactory","forwardRef","TuiTreeItemComponent","level","elementRef","change$","nested","EMPTY_QUERY","expanded$","distinctUntilChanged","attached$","nativeElement","isConnected","ngDoCheck","ElementRef","ContentChildren","TuiTreeControllerDirective","fallback","toggled","EventEmitter","items","register","unregister","delete","expanded","isPresent","emit","Output","TuiTreeControllerDirective_1","exportAs","TuiTreeItemControllerDirective","WeakMap","TuiTreeItemControllerDirective_1","TuiTreeNodeDirective","component","ngOnDestroy","TuiTreeModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiExpandModule","TuiButtonModule","entryComponents","declarations","exports"],"mappings":";;;;;;;;;;;;;;oFAoDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAGzD,SAASO,EAAQC,EAAYC,GAChC,OAAO,SAAUhB,EAAQC,GAAOe,EAAUhB,EAAQC,EAAKc,QClD9CE,EAAoB,IAAIC,EAAAA,eACjC,8DAGSC,EAAsB,IAAID,EAAAA,eACnC,oCACA,CACIE,QAAS,WAAM,OAAAC,KAIVC,EAAgB,IAAIJ,EAAAA,eAAe,yBAEnCK,EAAmB,IAAIL,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C,EAAAA,iDAFQkD,EAA8BE,EAAA9I,EAAA,CAV1C2F,EAAAA,UAAU,CACP5C,SAAU,iCACV4F,SAAU,oBACVtC,UAAW,CACP,CACIC,QAASjF,EACTkF,YAAauC,OAIZF,mBCFT,SAAAG,EAGqBlD,EAEAmD,GAFA9G,KAAA2D,UAAAA,EAEA3D,KAAA8G,UAAAA,EAMzB,OAfItI,OAAAK,eAAIgI,EAAA5G,UAAA,QAAK,KAAT,SAAU8D,SACQ,QAAdzD,EAAAN,KAAK2D,iBAAS,IAAArD,GAAAA,EAAE2F,SAASjG,KAAK8G,UAAW/C,oCAW7C8C,EAAA5G,UAAA8G,YAAA,iBACkB,QAAdzG,EAAAN,KAAK2D,iBAAS,IAAArD,GAAAA,EAAE4F,WAAWlG,KAAK8G,8EAR/B7C,EAAAA,UAAQ,CAAAD,KACRxD,EAAAA,OAAMC,KAAA,CAACxB,YAGoB6F,EAAoB/G,WAAA,CAAA,CAAAiG,KAD/CxD,EAAAA,OAAMC,KAAA,CAACqE,QARZhH,EAAA,CADCyF,EAAAA,MAAM,0CADEsD,EAAoB/I,EAAA,CAHhC2F,EAAAA,UAAU,CACP5C,SAAU,+BASL/B,EAAA,EAAAmF,EAAAA,YACAnF,EAAA,EAAA0B,EAAAA,OAAOvB,IAEPH,EAAA,EAAA0B,EAAAA,OAAOsE,KAVH+B,mBCwBb,SAAAG,KAA4B,OAAfA,EAAalJ,EAAA,CApBzBmJ,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,mBAAoBC,EAAAA,gBAAiBC,EAAAA,iBAC7DC,gBAAiB,CAAC1H,GAClB2H,aAAc,CACV9D,EACAoB,EACAjF,EACAmD,EACA0D,EACAd,EACAiB,GAEJY,QAAS,CACL/D,EACAoB,EACA9B,EACA0D,EACAd,MAGKoB","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {TUI_DEFAULT_TREE_CONTROLLER, TUI_TREE_ITEM_CONTENT} from './tree.constants';\nimport {\n TuiTreeAccessor,\n TuiTreeController,\n TuiTreeItemContext,\n TuiTreeLoader,\n} from './tree.interfaces';\n\nexport const TUI_TREE_ACCESSOR = new InjectionToken<TuiTreeAccessor<any>>(\n 'Controller for tracking value - TuiTreeItemComponent pairs',\n);\n\nexport const TUI_TREE_CONTROLLER = new InjectionToken<TuiTreeController>(\n 'Controller for expanding the tree',\n {\n factory: () => TUI_DEFAULT_TREE_CONTROLLER,\n },\n);\n\nexport const TUI_TREE_NODE = new InjectionToken('A node of a tree view');\n\nexport const TUI_TREE_LOADING = new InjectionToken(\n 'A tree node placeholder for loading',\n {factory: () => ({})},\n);\n\nexport const TUI_TREE_START = new InjectionToken('A tree node starting point');\n\nexport const TUI_TREE_LOADER = new InjectionToken<TuiTreeLoader<any>>(\n 'A service to load tree progressively',\n);\n\nexport const TUI_TREE_CONTENT = new InjectionToken<\n PolymorpheusContent<TuiTreeItemContext>\n>('Content for a tree item', {\n factory: () => TUI_TREE_ITEM_CONTENT,\n});\n\nexport const TUI_TREE_LEVEL = new InjectionToken<number>(\n 'Nesting level of current TreeView node',\n {\n factory: () => -1,\n },\n);\n","import {ChangeDetectionStrategy, Component, HostBinding, Inject} from '@angular/core';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\nimport {TUI_DEFAULT_TREE_CONTROLLER} from '../../misc/tree.constants';\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../../misc/tree.tokens';\n\n@Component({\n selector: 'tui-tree-item-content',\n templateUrl: 'tree-item-content.template.html',\n styleUrls: ['tree-item-content.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTreeItemContentComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT) readonly context: TuiTreeItemContext,\n @Inject(TUI_TREE_CONTROLLER)\n private readonly controller: TuiTreeController,\n ) {}\n\n get isExpanded(): boolean {\n return this.context.$implicit.isExpanded;\n }\n\n @HostBinding('class._expandable')\n get isExpandable(): boolean {\n return (\n this.context.$implicit.isExpandable &&\n this.controller !== TUI_DEFAULT_TREE_CONTROLLER\n );\n }\n\n onClick() {\n this.controller?.toggle(this.context.$implicit);\n }\n}\n","import {ALWAYS_TRUE_HANDLER, EMPTY_FUNCTION} from '@taiga-ui/cdk';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\nimport {TuiTreeItemContentComponent} from '../components/tree-item-content/tree-item-content.component';\nimport {TuiTreeController} from './tree.interfaces';\n\nexport const TUI_TREE_ITEM_CONTENT = new PolymorpheusComponent(\n TuiTreeItemContentComponent,\n);\n\nexport const TUI_DEFAULT_TREE_CONTROLLER: TuiTreeController = {\n isExpanded: ALWAYS_TRUE_HANDLER,\n toggle: EMPTY_FUNCTION as () => void,\n};\n","import {Inject, Injectable} from '@angular/core';\nimport {Subject} from 'rxjs';\nimport {map, mapTo, startWith, switchMap, tap} from 'rxjs/operators';\nimport {TuiTreeLoader} from './tree.interfaces';\nimport {TUI_TREE_LOADER, TUI_TREE_LOADING, TUI_TREE_START} from './tree.tokens';\n\n// @dynamic\n@Injectable()\nexport class TuiTreeService<T> {\n private readonly map = new Map<T, readonly T[]>([[this.loading, []]]);\n\n private readonly load$ = new Subject<T>();\n\n readonly data$ = this.load$.pipe(\n switchMap(item =>\n this.loader.loadChildren(item).pipe(\n tap(children => this.map.set(item, children)),\n map(children => children.filter(item => !this.loader.hasChildren(item))),\n tap(children => children.forEach(child => this.map.set(child, []))),\n ),\n ),\n startWith(null),\n mapTo(this.start),\n );\n\n constructor(\n @Inject(TUI_TREE_LOADING) private readonly loading: T,\n @Inject(TUI_TREE_START) private readonly start: T,\n @Inject(TUI_TREE_LOADER) private readonly loader: TuiTreeLoader<T>,\n ) {}\n\n getChildren(item: T): readonly T[] {\n return this.map.get(item) ?? [this.loading];\n }\n\n loadChildren(item: T) {\n if (this.map.get(item)) {\n return;\n }\n\n this.map.set(item, [this.loading]);\n this.load$.next(item);\n }\n}\n","import {Directive, Input} from '@angular/core';\nimport {EMPTY_ARRAY, tuiDefaultProp, TuiHandler} from '@taiga-ui/cdk';\n\n@Directive({\n selector: 'tui-tree[childrenHandler]',\n})\nexport class TuiTreeChildrenDirective<T> {\n @Input()\n @tuiDefaultProp()\n childrenHandler: TuiHandler<T, readonly T[]> =\n TuiTreeChildrenDirective.defaultHandler;\n\n static defaultHandler<G>(item: G): readonly G[] {\n return Array.isArray(item) ? item : EMPTY_ARRAY;\n }\n}\n","import {Component, Inject, Input, Optional} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {TuiTreeChildrenDirective} from '../../directives/tree-children.directive';\nimport {TuiTreeContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_NODE} from '../../misc/tree.tokens';\n\n@Component({\n selector: 'tui-tree[value]',\n templateUrl: 'tree.template.html',\n styleUrls: ['tree.style.less'],\n providers: [\n {\n provide: TUI_TREE_NODE,\n useExisting: TuiTreeComponent,\n },\n ],\n host: {\n role: 'tree',\n },\n})\nexport class TuiTreeComponent<T> {\n @Input()\n value!: T;\n\n @Input()\n content: PolymorpheusContent<TuiTreeContext<T>> = ({$implicit}) => String($implicit);\n\n constructor(\n @Optional()\n @Inject(TuiTreeChildrenDirective)\n readonly directive: TuiTreeChildrenDirective<T> | null,\n ) {}\n\n get children(): readonly T[] {\n return (\n this.directive?.childrenHandler(this.value) ??\n TuiTreeChildrenDirective.defaultHandler(this.value)\n );\n }\n}\n","import {forwardRef, Provider, SkipSelf} from '@angular/core';\nimport {TUI_TREE_LEVEL, TUI_TREE_NODE} from '../../misc/tree.tokens';\nimport {TuiTreeItemComponent} from './tree-item.component';\n\nexport const TUI_TREE_ITEM_PROVIDERS: Provider[] = [\n {\n provide: TUI_TREE_LEVEL,\n deps: [[new SkipSelf(), TUI_TREE_LEVEL]],\n useFactory: treeLevelFactory,\n },\n {\n provide: TUI_TREE_NODE,\n useExisting: forwardRef(() => TuiTreeItemComponent),\n },\n];\n\nexport function treeLevelFactory(level: number): number {\n return ++level;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DoCheck,\n ElementRef,\n HostBinding,\n Inject,\n QueryList,\n} from '@angular/core';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Subject} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {\n TUI_TREE_CONTENT,\n TUI_TREE_CONTROLLER,\n TUI_TREE_LEVEL,\n TUI_TREE_NODE,\n} from '../../misc/tree.tokens';\nimport {TUI_TREE_ITEM_PROVIDERS} from './tree-item.providers';\n\n@Component({\n selector: 'tui-tree-item',\n templateUrl: './tree-item.template.html',\n styleUrls: ['./tree-item.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_TREE_ITEM_PROVIDERS,\n host: {\n role: 'treeitem',\n },\n})\nexport class TuiTreeItemComponent implements DoCheck {\n private readonly change$ = new Subject<void>();\n\n @ContentChildren(TUI_TREE_NODE as any)\n private readonly nested: QueryList<unknown> = EMPTY_QUERY;\n\n readonly expanded$ = this.change$.pipe(\n startWith(null),\n map(() => this.isExpanded),\n distinctUntilChanged(),\n );\n\n readonly attached$ = this.change$.pipe(\n map(() => this.elementRef.nativeElement.isConnected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_TREE_CONTROLLER)\n private readonly controller: TuiTreeController,\n @Inject(TUI_TREE_LEVEL)\n readonly level: number,\n @Inject(TUI_TREE_CONTENT)\n readonly content: PolymorpheusContent<TuiTreeItemContext>,\n ) {}\n\n @HostBinding('class._expandable')\n get isExpandable(): boolean {\n return !!this.nested.length;\n }\n\n get isExpanded(): boolean {\n return this.controller.isExpanded(this);\n }\n\n ngDoCheck() {\n this.change$.next();\n }\n}\n","import {Directive, EventEmitter, Input, Output} from '@angular/core';\nimport {isPresent, tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor, TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR, TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: '[tuiTreeController][map]',\n exportAs: 'tuiTreeController',\n providers: [\n {\n provide: TUI_TREE_ACCESSOR,\n useExisting: TuiTreeControllerDirective,\n },\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeControllerDirective,\n },\n ],\n})\nexport class TuiTreeControllerDirective<T>\n implements TuiTreeController, TuiTreeAccessor<T>\n{\n @Input('tuiTreeController')\n @tuiDefaultProp()\n fallback = true;\n\n @Input()\n @tuiDefaultProp()\n map: Map<T, boolean> = new Map();\n\n @Output()\n readonly toggled = new EventEmitter<T>();\n\n readonly items = new Map<TuiTreeItemComponent, T>();\n\n register(item: TuiTreeItemComponent, value: T) {\n this.items.set(item, value);\n }\n\n unregister(item: TuiTreeItemComponent) {\n this.items.delete(item);\n }\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n const value = this.items.get(item);\n\n return (value && this.map.get(value)) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent) {\n const value = this.items.get(item);\n const expanded = this.isExpanded(item);\n\n if (!isPresent(value)) {\n return;\n }\n\n this.toggled.emit(value);\n this.map.set(value, !expanded);\n }\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: '[tuiTreeController]:not([map])',\n exportAs: 'tuiTreeController',\n providers: [\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeItemControllerDirective,\n },\n ],\n})\nexport class TuiTreeItemControllerDirective implements TuiTreeController {\n @Input('tuiTreeController')\n @tuiDefaultProp()\n fallback = true;\n\n private readonly map = new WeakMap<TuiTreeItemComponent, boolean>();\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n return this.map.get(item) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent) {\n this.map.set(item, !this.isExpanded(item));\n }\n}\n","import {Directive, Inject, Input, OnDestroy, Optional} from '@angular/core';\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR} from '../misc/tree.tokens';\n\n@Directive({\n selector: 'tui-tree-item[tuiTreeNode]',\n})\nexport class TuiTreeNodeDirective<T> implements OnDestroy {\n @Input('tuiTreeNode')\n set value(value: T) {\n this.directive?.register(this.component, value);\n }\n\n constructor(\n @Optional()\n @Inject(TUI_TREE_ACCESSOR)\n private readonly directive: TuiTreeAccessor<T>,\n @Inject(TuiTreeItemComponent)\n private readonly component: TuiTreeItemComponent,\n ) {}\n\n ngOnDestroy() {\n this.directive?.unregister(this.component);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiButtonModule, TuiExpandModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TuiTreeItemContentComponent} from './components/tree-item-content/tree-item-content.component';\nimport {TuiTreeItemComponent} from './components/tree-item/tree-item.component';\nimport {TuiTreeComponent} from './components/tree/tree.component';\nimport {TuiTreeChildrenDirective} from './directives/tree-children.directive';\nimport {TuiTreeControllerDirective} from './directives/tree-controller.directive';\nimport {TuiTreeItemControllerDirective} from './directives/tree-item-controller.directive';\nimport {TuiTreeNodeDirective} from './directives/tree-node.directive';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule, TuiExpandModule, TuiButtonModule],\n entryComponents: [TuiTreeItemContentComponent],\n declarations: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeItemContentComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n TuiTreeNodeDirective,\n ],\n exports: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n ],\n})\nexport class TuiTreeModule {}\n"]}
1
+ {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/tree/directives/tree-children.directive.ts","ng://@taiga-ui/kit/components/tree/components/tree-item-content/tree-item-content.component.ts","ng://@taiga-ui/kit/components/tree/misc/tree.constants.ts","ng://@taiga-ui/kit/components/tree/misc/tree.tokens.ts","ng://@taiga-ui/kit/components/tree/components/tree-item/tree-item.providers.ts","ng://@taiga-ui/kit/components/tree/components/tree-item/tree-item.component.ts","ng://@taiga-ui/kit/components/tree/components/tree/tree.component.ts","ng://@taiga-ui/kit/components/tree/directives/tree-controller.directive.ts","ng://@taiga-ui/kit/components/tree/directives/tree-item-controller.directive.ts","ng://@taiga-ui/kit/components/tree/directives/tree-node.directive.ts","ng://@taiga-ui/kit/components/tree/misc/tree.service.ts","ng://@taiga-ui/kit/components/tree/tree.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","TuiTreeChildrenDirective","this","childrenHandler","TuiTreeChildrenDirective_1","defaultHandler","item","Array","isArray","EMPTY_ARRAY","Input","tuiDefaultProp","Directive","selector","TuiTreeItemContentComponent","context","controller","prototype","$implicit","isExpanded","isExpandable","TUI_DEFAULT_TREE_CONTROLLER","onClick","toggle","Inject","args","POLYMORPHEUS_CONTEXT","forwardRef","TUI_TREE_CONTROLLER","HostBinding","Component","template","changeDetection","ChangeDetectionStrategy","OnPush","TUI_TREE_ITEM_CONTENT","PolymorpheusComponent","ALWAYS_TRUE_HANDLER","EMPTY_FUNCTION","TUI_TREE_ACCESSOR","InjectionToken","factory","TUI_TREE_NODE","TUI_TREE_LOADING","TUI_TREE_START","TUI_TREE_LOADER","TUI_TREE_CONTENT","TUI_TREE_LEVEL","TUI_TREE_ITEM_PROVIDERS","provide","deps","SkipSelf","useFactory","treeLevelFactory","useExisting","TuiTreeItemComponent","level","elementRef","content","_this","change$","Subject","nested","EMPTY_QUERY","expanded$","pipe","startWith","map","distinctUntilChanged","attached$","nativeElement","isConnected","ngDoCheck","next","ElementRef","type","ContentChildren","providers","host","role","TuiTreeComponent","directive","_a","String","_b","value","child","Optional","ViewChild","TuiTreeComponent_1","TuiTreeControllerDirective","fallback","Map","toggled","EventEmitter","items","register","set","unregister","delete","get","expanded","isPresent","emit","Output","TuiTreeControllerDirective_1","exportAs","TuiTreeItemControllerDirective","WeakMap","TuiTreeItemControllerDirective_1","TuiTreeNodeDirective","component","ngOnDestroy","TuiTreeService","loading","start","loader","load$","data$","switchMap","loadChildren","tap","children","filter","hasChildren","forEach","mapTo","getChildren","Injectable","TuiTreeModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiExpandModule","TuiButtonModule","entryComponents","declarations","exports"],"mappings":";;;;;;;;;;;;;;oFAoDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAGzD,SAASO,EAAQC,EAAYC,GAChC,OAAO,SAAUhB,EAAQC,GAAOe,EAAUhB,EAAQC,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KAAA,CAACkB,qCACPnB,EAAAA,OAAMC,KAAA,CAACmB,qCACPpB,EAAAA,OAAMC,KAAA,CAACoB,QApBHoE,EAAcnI,EAAA,CAD1BkJ,EAAAA,aAmBQlI,EAAA,EAAA0B,EAAAA,OAAOmB,IACP7C,EAAA,EAAA0B,EAAAA,OAAOoB,IACP9C,EAAA,EAAA0B,EAAAA,OAAOqB,KApBHoE,mBCwBb,SAAAgB,KAA4B,OAAfA,EAAanJ,EAAA,CApBzBoJ,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,mBAAoBC,EAAAA,gBAAiBC,EAAAA,iBAC7DC,gBAAiB,CAAC1H,GAClB2H,aAAc,CACVzD,EACAzB,EACAzC,EACAb,EACA0G,EACAjB,EACAoB,GAEJ4B,QAAS,CACL1D,EACAzB,EACAtD,EACA0G,EACAjB,MAGKuC","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {Directive, Input} from '@angular/core';\nimport {EMPTY_ARRAY, tuiDefaultProp, TuiHandler} from '@taiga-ui/cdk';\n\n@Directive({\n selector: 'tui-tree[childrenHandler]',\n})\nexport class TuiTreeChildrenDirective<T> {\n @Input()\n @tuiDefaultProp()\n childrenHandler: TuiHandler<T, readonly T[]> =\n TuiTreeChildrenDirective.defaultHandler;\n\n static defaultHandler<G>(item: G): readonly G[] {\n return Array.isArray(item) ? item : EMPTY_ARRAY;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n HostBinding,\n Inject,\n} from '@angular/core';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_DEFAULT_TREE_CONTROLLER} from '../../misc/tree.constants';\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../../misc/tree.tokens';\n\n@Component({\n selector: 'tui-tree-item-content',\n templateUrl: 'tree-item-content.template.html',\n styleUrls: ['tree-item-content.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTreeItemContentComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT) readonly context: TuiTreeItemContext,\n @Inject(forwardRef(() => TUI_TREE_CONTROLLER))\n private readonly controller: TuiTreeController,\n ) {}\n\n get isExpanded(): boolean {\n return this.context.$implicit.isExpanded;\n }\n\n @HostBinding('class._expandable')\n get isExpandable(): boolean {\n return (\n this.context.$implicit.isExpandable &&\n this.controller !== TUI_DEFAULT_TREE_CONTROLLER\n );\n }\n\n onClick() {\n this.controller.toggle(this.context.$implicit);\n }\n}\n","import {ALWAYS_TRUE_HANDLER, EMPTY_FUNCTION} from '@taiga-ui/cdk';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTreeItemContentComponent} from '../components/tree-item-content/tree-item-content.component';\nimport {TuiTreeController} from './tree.interfaces';\n\nexport const TUI_TREE_ITEM_CONTENT = new PolymorpheusComponent(\n TuiTreeItemContentComponent,\n);\n\nexport const TUI_DEFAULT_TREE_CONTROLLER: TuiTreeController = {\n isExpanded: ALWAYS_TRUE_HANDLER,\n toggle: EMPTY_FUNCTION as () => void,\n};\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_DEFAULT_TREE_CONTROLLER, TUI_TREE_ITEM_CONTENT} from './tree.constants';\nimport {\n TuiTreeAccessor,\n TuiTreeController,\n TuiTreeItemContext,\n TuiTreeLoader,\n} from './tree.interfaces';\n\nexport const TUI_TREE_ACCESSOR = new InjectionToken<TuiTreeAccessor<any>>(\n 'Controller for tracking value - TuiTreeItemComponent pairs',\n);\n\nexport const TUI_TREE_CONTROLLER = new InjectionToken<TuiTreeController>(\n 'Controller for expanding the tree',\n {\n factory: () => TUI_DEFAULT_TREE_CONTROLLER,\n },\n);\n\nexport const TUI_TREE_NODE = new InjectionToken('A node of a tree view');\n\nexport const TUI_TREE_LOADING = new InjectionToken(\n 'A tree node placeholder for loading',\n {factory: () => ({})},\n);\n\nexport const TUI_TREE_START = new InjectionToken('A tree node starting point');\n\nexport const TUI_TREE_LOADER = new InjectionToken<TuiTreeLoader<any>>(\n 'A service to load tree progressively',\n);\n\nexport const TUI_TREE_CONTENT = new InjectionToken<\n PolymorpheusContent<TuiTreeItemContext>\n>('Content for a tree item', {\n factory: () => TUI_TREE_ITEM_CONTENT,\n});\n\nexport const TUI_TREE_LEVEL = new InjectionToken<number>(\n 'Nesting level of current TreeView node',\n {\n factory: () => -1,\n },\n);\n","import {forwardRef, Provider, SkipSelf} from '@angular/core';\n\nimport {TUI_TREE_LEVEL, TUI_TREE_NODE} from '../../misc/tree.tokens';\nimport {TuiTreeItemComponent} from './tree-item.component';\n\nexport const TUI_TREE_ITEM_PROVIDERS: Provider[] = [\n {\n provide: TUI_TREE_LEVEL,\n deps: [[new SkipSelf(), TUI_TREE_LEVEL]],\n useFactory: treeLevelFactory,\n },\n {\n provide: TUI_TREE_NODE,\n useExisting: forwardRef(() => TuiTreeItemComponent),\n },\n];\n\nexport function treeLevelFactory(level: number): number {\n return ++level;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DoCheck,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n QueryList,\n} from '@angular/core';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Subject} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {\n TUI_TREE_CONTENT,\n TUI_TREE_CONTROLLER,\n TUI_TREE_LEVEL,\n TUI_TREE_NODE,\n} from '../../misc/tree.tokens';\nimport {TUI_TREE_ITEM_PROVIDERS} from './tree-item.providers';\n\n@Component({\n selector: 'tui-tree-item',\n templateUrl: './tree-item.template.html',\n styleUrls: ['./tree-item.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_TREE_ITEM_PROVIDERS,\n host: {\n role: 'treeitem',\n },\n})\nexport class TuiTreeItemComponent implements DoCheck {\n private readonly change$ = new Subject<void>();\n\n @ContentChildren(TUI_TREE_NODE as any)\n private readonly nested: QueryList<unknown> = EMPTY_QUERY;\n\n readonly expanded$ = this.change$.pipe(\n startWith(null),\n map(() => this.isExpanded),\n distinctUntilChanged(),\n );\n\n readonly attached$ = this.change$.pipe(\n map(() => this.elementRef.nativeElement.isConnected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(forwardRef(() => TUI_TREE_CONTROLLER))\n private readonly controller: TuiTreeController,\n @Inject(forwardRef(() => TUI_TREE_LEVEL))\n readonly level: number,\n @Inject(forwardRef(() => TUI_TREE_CONTENT))\n readonly content: PolymorpheusContent<TuiTreeItemContext>,\n ) {}\n\n @HostBinding('class._expandable')\n get isExpandable(): boolean {\n return !!this.nested.length;\n }\n\n get isExpanded(): boolean {\n return this.controller.isExpanded(this);\n }\n\n ngDoCheck() {\n this.change$.next();\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DoCheck,\n Inject,\n Input,\n Optional,\n ViewChild,\n} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTreeChildrenDirective} from '../../directives/tree-children.directive';\nimport {TuiTreeContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_NODE} from '../../misc/tree.tokens';\nimport {TuiTreeItemComponent} from '../tree-item/tree-item.component';\n\n@Component({\n selector: 'tui-tree[value]',\n templateUrl: 'tree.template.html',\n styleUrls: ['tree.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_TREE_NODE,\n useExisting: TuiTreeComponent,\n },\n ],\n host: {\n role: 'tree',\n },\n})\nexport class TuiTreeComponent<T> implements DoCheck {\n @Input()\n value!: T;\n\n @Input()\n content: PolymorpheusContent<TuiTreeContext<T>> = ({$implicit}) => String($implicit);\n\n @ViewChild(TuiTreeItemComponent)\n readonly item?: TuiTreeItemComponent;\n\n @ViewChild(TuiTreeComponent)\n readonly child?: TuiTreeComponent<T>;\n\n constructor(\n @Optional()\n @Inject(TuiTreeChildrenDirective)\n readonly directive: TuiTreeChildrenDirective<T> | null,\n ) {}\n\n get children(): readonly T[] {\n return (\n this.directive?.childrenHandler(this.value) ??\n TuiTreeChildrenDirective.defaultHandler(this.value)\n );\n }\n\n ngDoCheck() {\n this.item?.ngDoCheck();\n this.child?.ngDoCheck();\n }\n}\n","import {Directive, EventEmitter, Input, Output} from '@angular/core';\nimport {isPresent, tuiDefaultProp} from '@taiga-ui/cdk';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor, TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR, TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: '[tuiTreeController][map]',\n exportAs: 'tuiTreeController',\n providers: [\n {\n provide: TUI_TREE_ACCESSOR,\n useExisting: TuiTreeControllerDirective,\n },\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeControllerDirective,\n },\n ],\n})\nexport class TuiTreeControllerDirective<T>\n implements TuiTreeController, TuiTreeAccessor<T>\n{\n @Input('tuiTreeController')\n @tuiDefaultProp()\n fallback = true;\n\n @Input()\n @tuiDefaultProp()\n map: Map<T, boolean> = new Map();\n\n @Output()\n readonly toggled = new EventEmitter<T>();\n\n readonly items = new Map<TuiTreeItemComponent, T>();\n\n register(item: TuiTreeItemComponent, value: T) {\n this.items.set(item, value);\n }\n\n unregister(item: TuiTreeItemComponent) {\n this.items.delete(item);\n }\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n const value = this.items.get(item);\n\n return (value && this.map.get(value)) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent) {\n const value = this.items.get(item);\n const expanded = this.isExpanded(item);\n\n if (!isPresent(value)) {\n return;\n }\n\n this.toggled.emit(value);\n this.map.set(value, !expanded);\n }\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: '[tuiTreeController]:not([map])',\n exportAs: 'tuiTreeController',\n providers: [\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeItemControllerDirective,\n },\n ],\n})\nexport class TuiTreeItemControllerDirective implements TuiTreeController {\n @Input('tuiTreeController')\n @tuiDefaultProp()\n fallback = true;\n\n private readonly map = new WeakMap<TuiTreeItemComponent, boolean>();\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n return this.map.get(item) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent) {\n this.map.set(item, !this.isExpanded(item));\n }\n}\n","import {Directive, Inject, Input, OnDestroy, Optional} from '@angular/core';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR} from '../misc/tree.tokens';\n\n@Directive({\n selector: 'tui-tree-item[tuiTreeNode]',\n})\nexport class TuiTreeNodeDirective<T> implements OnDestroy {\n @Input('tuiTreeNode')\n set value(value: T) {\n this.directive?.register(this.component, value);\n }\n\n constructor(\n @Optional()\n @Inject(TUI_TREE_ACCESSOR)\n private readonly directive: TuiTreeAccessor<T>,\n @Inject(TuiTreeItemComponent)\n private readonly component: TuiTreeItemComponent,\n ) {}\n\n ngOnDestroy() {\n this.directive?.unregister(this.component);\n }\n}\n","import {Inject, Injectable} from '@angular/core';\nimport {Subject} from 'rxjs';\nimport {map, mapTo, startWith, switchMap, tap} from 'rxjs/operators';\n\nimport {TuiTreeLoader} from './tree.interfaces';\nimport {TUI_TREE_LOADER, TUI_TREE_LOADING, TUI_TREE_START} from './tree.tokens';\n\n// @dynamic\n@Injectable()\nexport class TuiTreeService<T> {\n private readonly map = new Map<T, readonly T[]>([[this.loading, []]]);\n\n private readonly load$ = new Subject<T>();\n\n readonly data$ = this.load$.pipe(\n switchMap(item =>\n this.loader.loadChildren(item).pipe(\n tap(children => this.map.set(item, children)),\n map(children => children.filter(item => !this.loader.hasChildren(item))),\n tap(children => children.forEach(child => this.map.set(child, []))),\n ),\n ),\n startWith(null),\n mapTo(this.start),\n );\n\n constructor(\n @Inject(TUI_TREE_LOADING) private readonly loading: T,\n @Inject(TUI_TREE_START) private readonly start: T,\n @Inject(TUI_TREE_LOADER) private readonly loader: TuiTreeLoader<T>,\n ) {}\n\n getChildren(item: T): readonly T[] {\n return this.map.get(item) ?? [this.loading];\n }\n\n loadChildren(item: T) {\n if (this.map.get(item)) {\n return;\n }\n\n this.map.set(item, [this.loading]);\n this.load$.next(item);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiButtonModule, TuiExpandModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTreeComponent} from './components/tree/tree.component';\nimport {TuiTreeItemComponent} from './components/tree-item/tree-item.component';\nimport {TuiTreeItemContentComponent} from './components/tree-item-content/tree-item-content.component';\nimport {TuiTreeChildrenDirective} from './directives/tree-children.directive';\nimport {TuiTreeControllerDirective} from './directives/tree-controller.directive';\nimport {TuiTreeItemControllerDirective} from './directives/tree-item-controller.directive';\nimport {TuiTreeNodeDirective} from './directives/tree-node.directive';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule, TuiExpandModule, TuiButtonModule],\n entryComponents: [TuiTreeItemContentComponent],\n declarations: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeItemContentComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n TuiTreeNodeDirective,\n ],\n exports: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n ],\n})\nexport class TuiTreeModule {}\n"]}
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/components/accordion'), require('@taiga-ui/kit/components/action'), require('@taiga-ui/kit/components/arrow'), require('@taiga-ui/kit/components/avatar'), require('@taiga-ui/kit/components/badge'), require('@taiga-ui/kit/components/badged-content'), require('@taiga-ui/kit/components/breadcrumbs'), require('@taiga-ui/kit/components/calendar-month'), require('@taiga-ui/kit/components/calendar-range'), require('@taiga-ui/kit/components/checkbox'), require('@taiga-ui/kit/components/checkbox-block'), require('@taiga-ui/kit/components/checkbox-labeled'), require('@taiga-ui/kit/components/combo-box'), require('@taiga-ui/kit/components/data-list-wrapper'), require('@taiga-ui/kit/components/field-error'), require('@taiga-ui/kit/components/filter'), require('@taiga-ui/kit/components/input-inline'), require('@taiga-ui/kit/components/input'), require('@taiga-ui/kit/components/input-copy'), require('@taiga-ui/kit/components/input-count'), require('@taiga-ui/kit/components/input-date'), require('@taiga-ui/kit/components/input-date-range'), require('@taiga-ui/kit/components/input-date-time'), require('@taiga-ui/kit/components/input-file'), require('@taiga-ui/kit/components/input-month'), require('@taiga-ui/kit/components/input-month-range'), require('@taiga-ui/kit/components/input-number'), require('@taiga-ui/kit/components/input-password'), require('@taiga-ui/kit/components/input-phone'), require('@taiga-ui/kit/components/input-range'), require('@taiga-ui/kit/components/input-slider'), require('@taiga-ui/kit/components/input-tag'), require('@taiga-ui/kit/components/input-time'), require('@taiga-ui/kit/components/input-phone-international'), require('@taiga-ui/kit/components/island'), require('@taiga-ui/kit/components/line-clamp'), require('@taiga-ui/kit/components/marker-icon'), require('@taiga-ui/kit/components/multi-select'), require('@taiga-ui/kit/components/multi-select-option'), require('@taiga-ui/kit/components/pagination'), require('@taiga-ui/kit/components/progress'), require('@taiga-ui/kit/components/radio'), require('@taiga-ui/kit/components/radio-block'), require('@taiga-ui/kit/components/radio-group'), require('@taiga-ui/kit/components/radio-labeled'), require('@taiga-ui/kit/components/radio-list'), require('@taiga-ui/kit/components/range'), require('@taiga-ui/kit/components/select'), require('@taiga-ui/kit/components/select-option'), require('@taiga-ui/kit/components/slider'), require('@taiga-ui/kit/components/stepper'), require('@taiga-ui/kit/components/tabs'), require('@taiga-ui/kit/components/tag'), require('@taiga-ui/kit/components/tree'), require('@taiga-ui/kit/components/text-area'), require('@taiga-ui/kit/components/toggle')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components', ['exports', '@taiga-ui/kit/components/accordion', '@taiga-ui/kit/components/action', '@taiga-ui/kit/components/arrow', '@taiga-ui/kit/components/avatar', '@taiga-ui/kit/components/badge', '@taiga-ui/kit/components/badged-content', '@taiga-ui/kit/components/breadcrumbs', '@taiga-ui/kit/components/calendar-month', '@taiga-ui/kit/components/calendar-range', '@taiga-ui/kit/components/checkbox', '@taiga-ui/kit/components/checkbox-block', '@taiga-ui/kit/components/checkbox-labeled', '@taiga-ui/kit/components/combo-box', '@taiga-ui/kit/components/data-list-wrapper', '@taiga-ui/kit/components/field-error', '@taiga-ui/kit/components/filter', '@taiga-ui/kit/components/input-inline', '@taiga-ui/kit/components/input', '@taiga-ui/kit/components/input-copy', '@taiga-ui/kit/components/input-count', '@taiga-ui/kit/components/input-date', '@taiga-ui/kit/components/input-date-range', '@taiga-ui/kit/components/input-date-time', '@taiga-ui/kit/components/input-file', '@taiga-ui/kit/components/input-month', '@taiga-ui/kit/components/input-month-range', '@taiga-ui/kit/components/input-number', '@taiga-ui/kit/components/input-password', '@taiga-ui/kit/components/input-phone', '@taiga-ui/kit/components/input-range', '@taiga-ui/kit/components/input-slider', '@taiga-ui/kit/components/input-tag', '@taiga-ui/kit/components/input-time', '@taiga-ui/kit/components/input-phone-international', '@taiga-ui/kit/components/island', '@taiga-ui/kit/components/line-clamp', '@taiga-ui/kit/components/marker-icon', '@taiga-ui/kit/components/multi-select', '@taiga-ui/kit/components/multi-select-option', '@taiga-ui/kit/components/pagination', '@taiga-ui/kit/components/progress', '@taiga-ui/kit/components/radio', '@taiga-ui/kit/components/radio-block', '@taiga-ui/kit/components/radio-group', '@taiga-ui/kit/components/radio-labeled', '@taiga-ui/kit/components/radio-list', '@taiga-ui/kit/components/range', '@taiga-ui/kit/components/select', '@taiga-ui/kit/components/select-option', '@taiga-ui/kit/components/slider', '@taiga-ui/kit/components/stepper', '@taiga-ui/kit/components/tabs', '@taiga-ui/kit/components/tag', '@taiga-ui/kit/components/tree', '@taiga-ui/kit/components/text-area', '@taiga-ui/kit/components/toggle'], factory) :
4
- (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui'].kit = global['taiga-ui'].kit || {}, global['taiga-ui'].kit.components = {}), global['taiga-ui'].kit.components.accordion, global['taiga-ui'].kit.components.action, global['taiga-ui'].kit.components.arrow, global['taiga-ui'].kit.components.avatar, global['taiga-ui'].kit.components.badge, global['taiga-ui'].kit.components['badged-content'], global['taiga-ui'].kit.components.breadcrumbs, global['taiga-ui'].kit.components['calendar-month'], global['taiga-ui'].kit.components['calendar-range'], global['taiga-ui'].kit.components.checkbox, global['taiga-ui'].kit.components['checkbox-block'], global['taiga-ui'].kit.components['checkbox-labeled'], global['taiga-ui'].kit.components['combo-box'], global['taiga-ui'].kit.components['data-list-wrapper'], global['taiga-ui'].kit.components['field-error'], global['taiga-ui'].kit.components.filter, global['taiga-ui'].kit.components['input-inline'], global['taiga-ui'].kit.components.input, global['taiga-ui'].kit.components['input-copy'], global['taiga-ui'].kit.components['input-count'], global['taiga-ui'].kit.components['input-date'], global['taiga-ui'].kit.components['input-date-range'], global['taiga-ui'].kit.components['input-date-time'], global['taiga-ui'].kit.components['input-file'], global['taiga-ui'].kit.components['input-month'], global['taiga-ui'].kit.components['input-month-range'], global['taiga-ui'].kit.components['input-number'], global['taiga-ui'].kit.components['input-password'], global['taiga-ui'].kit.components['input-phone'], global['taiga-ui'].kit.components['input-range'], global['taiga-ui'].kit.components['input-slider'], global['taiga-ui'].kit.components['input-tag'], global['taiga-ui'].kit.components['input-time'], global['taiga-ui'].kit.components['input-phone-international'], global['taiga-ui'].kit.components.island, global['taiga-ui'].kit.components['line-clamp'], global['taiga-ui'].kit.components['marker-icon'], global['taiga-ui'].kit.components['multi-select'], global['taiga-ui'].kit.components['multi-select-option'], global['taiga-ui'].kit.components.pagination, global['taiga-ui'].kit.components.progress, global['taiga-ui'].kit.components.radio, global['taiga-ui'].kit.components['radio-block'], global['taiga-ui'].kit.components['radio-group'], global['taiga-ui'].kit.components['radio-labeled'], global['taiga-ui'].kit.components['radio-list'], global['taiga-ui'].kit.components.range, global['taiga-ui'].kit.components.select, global['taiga-ui'].kit.components['select-option'], global['taiga-ui'].kit.components.slider, global['taiga-ui'].kit.components.stepper, global['taiga-ui'].kit.components.tabs, global['taiga-ui'].kit.components.tag, global['taiga-ui'].kit.components.tree, global['taiga-ui'].kit.components['text-area'], global['taiga-ui'].kit.components.toggle));
5
- }(this, (function (exports, accordion, action, arrow, avatar, badge, badgedContent, breadcrumbs, calendarMonth, calendarRange, checkbox, checkboxBlock, checkboxLabeled, comboBox, dataListWrapper, fieldError, filter, inputInline, input, inputCopy, inputCount, inputDate, inputDateRange, inputDateTime, inputFile, inputMonth, inputMonthRange, inputNumber, inputPassword, inputPhone, inputRange, inputSlider, inputTag, inputTime, inputPhoneInternational, island, lineClamp, markerIcon, multiSelect, multiSelectOption, pagination, progress, radio, radioBlock, radioGroup, radioLabeled, radioList, range, select, selectOption, slider, stepper, tabs, tag, tree, textArea, toggle) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/components/accordion'), require('@taiga-ui/kit/components/action'), require('@taiga-ui/kit/components/arrow'), require('@taiga-ui/kit/components/avatar'), require('@taiga-ui/kit/components/badge'), require('@taiga-ui/kit/components/badged-content'), require('@taiga-ui/kit/components/breadcrumbs'), require('@taiga-ui/kit/components/calendar-month'), require('@taiga-ui/kit/components/calendar-range'), require('@taiga-ui/kit/components/carousel'), require('@taiga-ui/kit/components/checkbox'), require('@taiga-ui/kit/components/checkbox-block'), require('@taiga-ui/kit/components/checkbox-labeled'), require('@taiga-ui/kit/components/combo-box'), require('@taiga-ui/kit/components/data-list-wrapper'), require('@taiga-ui/kit/components/field-error'), require('@taiga-ui/kit/components/filter'), require('@taiga-ui/kit/components/input'), require('@taiga-ui/kit/components/input-copy'), require('@taiga-ui/kit/components/input-count'), require('@taiga-ui/kit/components/input-date'), require('@taiga-ui/kit/components/input-date-range'), require('@taiga-ui/kit/components/input-date-time'), require('@taiga-ui/kit/components/input-file'), require('@taiga-ui/kit/components/input-inline'), require('@taiga-ui/kit/components/input-month'), require('@taiga-ui/kit/components/input-month-range'), require('@taiga-ui/kit/components/input-number'), require('@taiga-ui/kit/components/input-password'), require('@taiga-ui/kit/components/input-phone'), require('@taiga-ui/kit/components/input-phone-international'), require('@taiga-ui/kit/components/input-range'), require('@taiga-ui/kit/components/input-slider'), require('@taiga-ui/kit/components/input-tag'), require('@taiga-ui/kit/components/input-time'), require('@taiga-ui/kit/components/island'), require('@taiga-ui/kit/components/line-clamp'), require('@taiga-ui/kit/components/marker-icon'), require('@taiga-ui/kit/components/multi-select'), require('@taiga-ui/kit/components/multi-select-option'), require('@taiga-ui/kit/components/pagination'), require('@taiga-ui/kit/components/pdf-viewer'), require('@taiga-ui/kit/components/progress'), require('@taiga-ui/kit/components/radio'), require('@taiga-ui/kit/components/radio-block'), require('@taiga-ui/kit/components/radio-group'), require('@taiga-ui/kit/components/radio-labeled'), require('@taiga-ui/kit/components/radio-list'), require('@taiga-ui/kit/components/range'), require('@taiga-ui/kit/components/select'), require('@taiga-ui/kit/components/select-option'), require('@taiga-ui/kit/components/slider'), require('@taiga-ui/kit/components/stepper'), require('@taiga-ui/kit/components/tabs'), require('@taiga-ui/kit/components/tag'), require('@taiga-ui/kit/components/text-area'), require('@taiga-ui/kit/components/toggle'), require('@taiga-ui/kit/components/tree')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components', ['exports', '@taiga-ui/kit/components/accordion', '@taiga-ui/kit/components/action', '@taiga-ui/kit/components/arrow', '@taiga-ui/kit/components/avatar', '@taiga-ui/kit/components/badge', '@taiga-ui/kit/components/badged-content', '@taiga-ui/kit/components/breadcrumbs', '@taiga-ui/kit/components/calendar-month', '@taiga-ui/kit/components/calendar-range', '@taiga-ui/kit/components/carousel', '@taiga-ui/kit/components/checkbox', '@taiga-ui/kit/components/checkbox-block', '@taiga-ui/kit/components/checkbox-labeled', '@taiga-ui/kit/components/combo-box', '@taiga-ui/kit/components/data-list-wrapper', '@taiga-ui/kit/components/field-error', '@taiga-ui/kit/components/filter', '@taiga-ui/kit/components/input', '@taiga-ui/kit/components/input-copy', '@taiga-ui/kit/components/input-count', '@taiga-ui/kit/components/input-date', '@taiga-ui/kit/components/input-date-range', '@taiga-ui/kit/components/input-date-time', '@taiga-ui/kit/components/input-file', '@taiga-ui/kit/components/input-inline', '@taiga-ui/kit/components/input-month', '@taiga-ui/kit/components/input-month-range', '@taiga-ui/kit/components/input-number', '@taiga-ui/kit/components/input-password', '@taiga-ui/kit/components/input-phone', '@taiga-ui/kit/components/input-phone-international', '@taiga-ui/kit/components/input-range', '@taiga-ui/kit/components/input-slider', '@taiga-ui/kit/components/input-tag', '@taiga-ui/kit/components/input-time', '@taiga-ui/kit/components/island', '@taiga-ui/kit/components/line-clamp', '@taiga-ui/kit/components/marker-icon', '@taiga-ui/kit/components/multi-select', '@taiga-ui/kit/components/multi-select-option', '@taiga-ui/kit/components/pagination', '@taiga-ui/kit/components/pdf-viewer', '@taiga-ui/kit/components/progress', '@taiga-ui/kit/components/radio', '@taiga-ui/kit/components/radio-block', '@taiga-ui/kit/components/radio-group', '@taiga-ui/kit/components/radio-labeled', '@taiga-ui/kit/components/radio-list', '@taiga-ui/kit/components/range', '@taiga-ui/kit/components/select', '@taiga-ui/kit/components/select-option', '@taiga-ui/kit/components/slider', '@taiga-ui/kit/components/stepper', '@taiga-ui/kit/components/tabs', '@taiga-ui/kit/components/tag', '@taiga-ui/kit/components/text-area', '@taiga-ui/kit/components/toggle', '@taiga-ui/kit/components/tree'], factory) :
4
+ (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui'].kit = global['taiga-ui'].kit || {}, global['taiga-ui'].kit.components = {}), global['taiga-ui'].kit.components.accordion, global['taiga-ui'].kit.components.action, global['taiga-ui'].kit.components.arrow, global['taiga-ui'].kit.components.avatar, global['taiga-ui'].kit.components.badge, global['taiga-ui'].kit.components['badged-content'], global['taiga-ui'].kit.components.breadcrumbs, global['taiga-ui'].kit.components['calendar-month'], global['taiga-ui'].kit.components['calendar-range'], global['taiga-ui'].kit.components.carousel, global['taiga-ui'].kit.components.checkbox, global['taiga-ui'].kit.components['checkbox-block'], global['taiga-ui'].kit.components['checkbox-labeled'], global['taiga-ui'].kit.components['combo-box'], global['taiga-ui'].kit.components['data-list-wrapper'], global['taiga-ui'].kit.components['field-error'], global['taiga-ui'].kit.components.filter, global['taiga-ui'].kit.components.input, global['taiga-ui'].kit.components['input-copy'], global['taiga-ui'].kit.components['input-count'], global['taiga-ui'].kit.components['input-date'], global['taiga-ui'].kit.components['input-date-range'], global['taiga-ui'].kit.components['input-date-time'], global['taiga-ui'].kit.components['input-file'], global['taiga-ui'].kit.components['input-inline'], global['taiga-ui'].kit.components['input-month'], global['taiga-ui'].kit.components['input-month-range'], global['taiga-ui'].kit.components['input-number'], global['taiga-ui'].kit.components['input-password'], global['taiga-ui'].kit.components['input-phone'], global['taiga-ui'].kit.components['input-phone-international'], global['taiga-ui'].kit.components['input-range'], global['taiga-ui'].kit.components['input-slider'], global['taiga-ui'].kit.components['input-tag'], global['taiga-ui'].kit.components['input-time'], global['taiga-ui'].kit.components.island, global['taiga-ui'].kit.components['line-clamp'], global['taiga-ui'].kit.components['marker-icon'], global['taiga-ui'].kit.components['multi-select'], global['taiga-ui'].kit.components['multi-select-option'], global['taiga-ui'].kit.components.pagination, global['taiga-ui'].kit.components['pdf-viewer'], global['taiga-ui'].kit.components.progress, global['taiga-ui'].kit.components.radio, global['taiga-ui'].kit.components['radio-block'], global['taiga-ui'].kit.components['radio-group'], global['taiga-ui'].kit.components['radio-labeled'], global['taiga-ui'].kit.components['radio-list'], global['taiga-ui'].kit.components.range, global['taiga-ui'].kit.components.select, global['taiga-ui'].kit.components['select-option'], global['taiga-ui'].kit.components.slider, global['taiga-ui'].kit.components.stepper, global['taiga-ui'].kit.components.tabs, global['taiga-ui'].kit.components.tag, global['taiga-ui'].kit.components['text-area'], global['taiga-ui'].kit.components.toggle, global['taiga-ui'].kit.components.tree));
5
+ }(this, (function (exports, accordion, action, arrow, avatar, badge, badgedContent, breadcrumbs, calendarMonth, calendarRange, carousel, checkbox, checkboxBlock, checkboxLabeled, comboBox, dataListWrapper, fieldError, filter, input, inputCopy, inputCount, inputDate, inputDateRange, inputDateTime, inputFile, inputInline, inputMonth, inputMonthRange, inputNumber, inputPassword, inputPhone, inputPhoneInternational, inputRange, inputSlider, inputTag, inputTime, island, lineClamp, markerIcon, multiSelect, multiSelectOption, pagination, pdfViewer, progress, radio, radioBlock, radioGroup, radioLabeled, radioList, range, select, selectOption, slider, stepper, tabs, tag, textArea, toggle, tree) { 'use strict';
6
6
 
7
7
  /**
8
8
  * Generated bundle index. Do not edit.
@@ -80,6 +80,14 @@
80
80
  }
81
81
  });
82
82
  });
83
+ Object.keys(carousel).forEach(function (k) {
84
+ if (k !== 'default') Object.defineProperty(exports, k, {
85
+ enumerable: true,
86
+ get: function () {
87
+ return carousel[k];
88
+ }
89
+ });
90
+ });
83
91
  Object.keys(checkbox).forEach(function (k) {
84
92
  if (k !== 'default') Object.defineProperty(exports, k, {
85
93
  enumerable: true,
@@ -136,14 +144,6 @@
136
144
  }
137
145
  });
138
146
  });
139
- Object.keys(inputInline).forEach(function (k) {
140
- if (k !== 'default') Object.defineProperty(exports, k, {
141
- enumerable: true,
142
- get: function () {
143
- return inputInline[k];
144
- }
145
- });
146
- });
147
147
  Object.keys(input).forEach(function (k) {
148
148
  if (k !== 'default') Object.defineProperty(exports, k, {
149
149
  enumerable: true,
@@ -200,6 +200,14 @@
200
200
  }
201
201
  });
202
202
  });
203
+ Object.keys(inputInline).forEach(function (k) {
204
+ if (k !== 'default') Object.defineProperty(exports, k, {
205
+ enumerable: true,
206
+ get: function () {
207
+ return inputInline[k];
208
+ }
209
+ });
210
+ });
203
211
  Object.keys(inputMonth).forEach(function (k) {
204
212
  if (k !== 'default') Object.defineProperty(exports, k, {
205
213
  enumerable: true,
@@ -240,6 +248,14 @@
240
248
  }
241
249
  });
242
250
  });
251
+ Object.keys(inputPhoneInternational).forEach(function (k) {
252
+ if (k !== 'default') Object.defineProperty(exports, k, {
253
+ enumerable: true,
254
+ get: function () {
255
+ return inputPhoneInternational[k];
256
+ }
257
+ });
258
+ });
243
259
  Object.keys(inputRange).forEach(function (k) {
244
260
  if (k !== 'default') Object.defineProperty(exports, k, {
245
261
  enumerable: true,
@@ -272,14 +288,6 @@
272
288
  }
273
289
  });
274
290
  });
275
- Object.keys(inputPhoneInternational).forEach(function (k) {
276
- if (k !== 'default') Object.defineProperty(exports, k, {
277
- enumerable: true,
278
- get: function () {
279
- return inputPhoneInternational[k];
280
- }
281
- });
282
- });
283
291
  Object.keys(island).forEach(function (k) {
284
292
  if (k !== 'default') Object.defineProperty(exports, k, {
285
293
  enumerable: true,
@@ -328,6 +336,14 @@
328
336
  }
329
337
  });
330
338
  });
339
+ Object.keys(pdfViewer).forEach(function (k) {
340
+ if (k !== 'default') Object.defineProperty(exports, k, {
341
+ enumerable: true,
342
+ get: function () {
343
+ return pdfViewer[k];
344
+ }
345
+ });
346
+ });
331
347
  Object.keys(progress).forEach(function (k) {
332
348
  if (k !== 'default') Object.defineProperty(exports, k, {
333
349
  enumerable: true,
@@ -432,27 +448,27 @@
432
448
  }
433
449
  });
434
450
  });
435
- Object.keys(tree).forEach(function (k) {
451
+ Object.keys(textArea).forEach(function (k) {
436
452
  if (k !== 'default') Object.defineProperty(exports, k, {
437
453
  enumerable: true,
438
454
  get: function () {
439
- return tree[k];
455
+ return textArea[k];
440
456
  }
441
457
  });
442
458
  });
443
- Object.keys(textArea).forEach(function (k) {
459
+ Object.keys(toggle).forEach(function (k) {
444
460
  if (k !== 'default') Object.defineProperty(exports, k, {
445
461
  enumerable: true,
446
462
  get: function () {
447
- return textArea[k];
463
+ return toggle[k];
448
464
  }
449
465
  });
450
466
  });
451
- Object.keys(toggle).forEach(function (k) {
467
+ Object.keys(tree).forEach(function (k) {
452
468
  if (k !== 'default') Object.defineProperty(exports, k, {
453
469
  enumerable: true,
454
470
  get: function () {
455
- return toggle[k];
471
+ return tree[k];
456
472
  }
457
473
  });
458
474
  });
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components.umd.js","sources":["ng://@taiga-ui/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components.umd.js","sources":["ng://@taiga-ui/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@taiga-ui/kit/components/accordion"),require("@taiga-ui/kit/components/action"),require("@taiga-ui/kit/components/arrow"),require("@taiga-ui/kit/components/avatar"),require("@taiga-ui/kit/components/badge"),require("@taiga-ui/kit/components/badged-content"),require("@taiga-ui/kit/components/breadcrumbs"),require("@taiga-ui/kit/components/calendar-month"),require("@taiga-ui/kit/components/calendar-range"),require("@taiga-ui/kit/components/checkbox"),require("@taiga-ui/kit/components/checkbox-block"),require("@taiga-ui/kit/components/checkbox-labeled"),require("@taiga-ui/kit/components/combo-box"),require("@taiga-ui/kit/components/data-list-wrapper"),require("@taiga-ui/kit/components/field-error"),require("@taiga-ui/kit/components/filter"),require("@taiga-ui/kit/components/input-inline"),require("@taiga-ui/kit/components/input"),require("@taiga-ui/kit/components/input-copy"),require("@taiga-ui/kit/components/input-count"),require("@taiga-ui/kit/components/input-date"),require("@taiga-ui/kit/components/input-date-range"),require("@taiga-ui/kit/components/input-date-time"),require("@taiga-ui/kit/components/input-file"),require("@taiga-ui/kit/components/input-month"),require("@taiga-ui/kit/components/input-month-range"),require("@taiga-ui/kit/components/input-number"),require("@taiga-ui/kit/components/input-password"),require("@taiga-ui/kit/components/input-phone"),require("@taiga-ui/kit/components/input-range"),require("@taiga-ui/kit/components/input-slider"),require("@taiga-ui/kit/components/input-tag"),require("@taiga-ui/kit/components/input-time"),require("@taiga-ui/kit/components/input-phone-international"),require("@taiga-ui/kit/components/island"),require("@taiga-ui/kit/components/line-clamp"),require("@taiga-ui/kit/components/marker-icon"),require("@taiga-ui/kit/components/multi-select"),require("@taiga-ui/kit/components/multi-select-option"),require("@taiga-ui/kit/components/pagination"),require("@taiga-ui/kit/components/progress"),require("@taiga-ui/kit/components/radio"),require("@taiga-ui/kit/components/radio-block"),require("@taiga-ui/kit/components/radio-group"),require("@taiga-ui/kit/components/radio-labeled"),require("@taiga-ui/kit/components/radio-list"),require("@taiga-ui/kit/components/range"),require("@taiga-ui/kit/components/select"),require("@taiga-ui/kit/components/select-option"),require("@taiga-ui/kit/components/slider"),require("@taiga-ui/kit/components/stepper"),require("@taiga-ui/kit/components/tabs"),require("@taiga-ui/kit/components/tag"),require("@taiga-ui/kit/components/tree"),require("@taiga-ui/kit/components/text-area"),require("@taiga-ui/kit/components/toggle")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components",["exports","@taiga-ui/kit/components/accordion","@taiga-ui/kit/components/action","@taiga-ui/kit/components/arrow","@taiga-ui/kit/components/avatar","@taiga-ui/kit/components/badge","@taiga-ui/kit/components/badged-content","@taiga-ui/kit/components/breadcrumbs","@taiga-ui/kit/components/calendar-month","@taiga-ui/kit/components/calendar-range","@taiga-ui/kit/components/checkbox","@taiga-ui/kit/components/checkbox-block","@taiga-ui/kit/components/checkbox-labeled","@taiga-ui/kit/components/combo-box","@taiga-ui/kit/components/data-list-wrapper","@taiga-ui/kit/components/field-error","@taiga-ui/kit/components/filter","@taiga-ui/kit/components/input-inline","@taiga-ui/kit/components/input","@taiga-ui/kit/components/input-copy","@taiga-ui/kit/components/input-count","@taiga-ui/kit/components/input-date","@taiga-ui/kit/components/input-date-range","@taiga-ui/kit/components/input-date-time","@taiga-ui/kit/components/input-file","@taiga-ui/kit/components/input-month","@taiga-ui/kit/components/input-month-range","@taiga-ui/kit/components/input-number","@taiga-ui/kit/components/input-password","@taiga-ui/kit/components/input-phone","@taiga-ui/kit/components/input-range","@taiga-ui/kit/components/input-slider","@taiga-ui/kit/components/input-tag","@taiga-ui/kit/components/input-time","@taiga-ui/kit/components/input-phone-international","@taiga-ui/kit/components/island","@taiga-ui/kit/components/line-clamp","@taiga-ui/kit/components/marker-icon","@taiga-ui/kit/components/multi-select","@taiga-ui/kit/components/multi-select-option","@taiga-ui/kit/components/pagination","@taiga-ui/kit/components/progress","@taiga-ui/kit/components/radio","@taiga-ui/kit/components/radio-block","@taiga-ui/kit/components/radio-group","@taiga-ui/kit/components/radio-labeled","@taiga-ui/kit/components/radio-list","@taiga-ui/kit/components/range","@taiga-ui/kit/components/select","@taiga-ui/kit/components/select-option","@taiga-ui/kit/components/slider","@taiga-ui/kit/components/stepper","@taiga-ui/kit/components/tabs","@taiga-ui/kit/components/tag","@taiga-ui/kit/components/tree","@taiga-ui/kit/components/text-area","@taiga-ui/kit/components/toggle"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].kit=t["taiga-ui"].kit||{},t["taiga-ui"].kit.components={}),t["taiga-ui"].kit.components.accordion,t["taiga-ui"].kit.components.action,t["taiga-ui"].kit.components.arrow,t["taiga-ui"].kit.components.avatar,t["taiga-ui"].kit.components.badge,t["taiga-ui"].kit.components["badged-content"],t["taiga-ui"].kit.components.breadcrumbs,t["taiga-ui"].kit.components["calendar-month"],t["taiga-ui"].kit.components["calendar-range"],t["taiga-ui"].kit.components.checkbox,t["taiga-ui"].kit.components["checkbox-block"],t["taiga-ui"].kit.components["checkbox-labeled"],t["taiga-ui"].kit.components["combo-box"],t["taiga-ui"].kit.components["data-list-wrapper"],t["taiga-ui"].kit.components["field-error"],t["taiga-ui"].kit.components.filter,t["taiga-ui"].kit.components["input-inline"],t["taiga-ui"].kit.components.input,t["taiga-ui"].kit.components["input-copy"],t["taiga-ui"].kit.components["input-count"],t["taiga-ui"].kit.components["input-date"],t["taiga-ui"].kit.components["input-date-range"],t["taiga-ui"].kit.components["input-date-time"],t["taiga-ui"].kit.components["input-file"],t["taiga-ui"].kit.components["input-month"],t["taiga-ui"].kit.components["input-month-range"],t["taiga-ui"].kit.components["input-number"],t["taiga-ui"].kit.components["input-password"],t["taiga-ui"].kit.components["input-phone"],t["taiga-ui"].kit.components["input-range"],t["taiga-ui"].kit.components["input-slider"],t["taiga-ui"].kit.components["input-tag"],t["taiga-ui"].kit.components["input-time"],t["taiga-ui"].kit.components["input-phone-international"],t["taiga-ui"].kit.components.island,t["taiga-ui"].kit.components["line-clamp"],t["taiga-ui"].kit.components["marker-icon"],t["taiga-ui"].kit.components["multi-select"],t["taiga-ui"].kit.components["multi-select-option"],t["taiga-ui"].kit.components.pagination,t["taiga-ui"].kit.components.progress,t["taiga-ui"].kit.components.radio,t["taiga-ui"].kit.components["radio-block"],t["taiga-ui"].kit.components["radio-group"],t["taiga-ui"].kit.components["radio-labeled"],t["taiga-ui"].kit.components["radio-list"],t["taiga-ui"].kit.components.range,t["taiga-ui"].kit.components.select,t["taiga-ui"].kit.components["select-option"],t["taiga-ui"].kit.components.slider,t["taiga-ui"].kit.components.stepper,t["taiga-ui"].kit.components.tabs,t["taiga-ui"].kit.components.tag,t["taiga-ui"].kit.components.tree,t["taiga-ui"].kit.components["text-area"],t["taiga-ui"].kit.components.toggle)}(this,(function(t,e,i,n,o,a,u,r,c,p,f,s,g,m,k,b,l,d,y,j,O,h,P,q,E,x,w,v,_,M,z,A,B,C,D,F,G,H,I,J,K,L,N,Q,R,S,T,U,V,W,X,Y,Z,$,tt,et,it){"use strict";Object.keys(e).forEach((function(i){"default"!==i&&Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[i]}})})),Object.keys(i).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})),Object.keys(n).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})})),Object.keys(o).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})),Object.keys(a).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})})),Object.keys(u).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})})),Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})})),Object.keys(c).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})})),Object.keys(p).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})})),Object.keys(f).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})})),Object.keys(s).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})})),Object.keys(g).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})})),Object.keys(m).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})})),Object.keys(k).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}})})),Object.keys(b).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})})),Object.keys(l).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})})),Object.keys(d).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})})),Object.keys(y).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})})),Object.keys(j).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}})})),Object.keys(O).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}})})),Object.keys(h).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})})),Object.keys(P).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return P[e]}})})),Object.keys(q).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return q[e]}})})),Object.keys(E).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})})),Object.keys(x).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}})})),Object.keys(w).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})})),Object.keys(v).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})})),Object.keys(_).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})})),Object.keys(M).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return M[e]}})})),Object.keys(z).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return z[e]}})})),Object.keys(A).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}})})),Object.keys(B).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}})})),Object.keys(C).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}})})),Object.keys(D).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}})})),Object.keys(F).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}})})),Object.keys(G).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return G[e]}})})),Object.keys(H).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}})})),Object.keys(I).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}})})),Object.keys(J).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}})})),Object.keys(K).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return K[e]}})})),Object.keys(L).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}})})),Object.keys(N).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return N[e]}})})),Object.keys(Q).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}})})),Object.keys(R).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return R[e]}})})),Object.keys(S).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}})})),Object.keys(T).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}})})),Object.keys(U).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return U[e]}})})),Object.keys(V).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}})})),Object.keys(W).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return W[e]}})})),Object.keys(X).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return X[e]}})})),Object.keys(Y).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Y[e]}})})),Object.keys(Z).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Z[e]}})})),Object.keys($).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return $[e]}})})),Object.keys(tt).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tt[e]}})})),Object.keys(et).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return et[e]}})})),Object.keys(it).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return it[e]}})})),Object.defineProperty(t,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@taiga-ui/kit/components/accordion"),require("@taiga-ui/kit/components/action"),require("@taiga-ui/kit/components/arrow"),require("@taiga-ui/kit/components/avatar"),require("@taiga-ui/kit/components/badge"),require("@taiga-ui/kit/components/badged-content"),require("@taiga-ui/kit/components/breadcrumbs"),require("@taiga-ui/kit/components/calendar-month"),require("@taiga-ui/kit/components/calendar-range"),require("@taiga-ui/kit/components/carousel"),require("@taiga-ui/kit/components/checkbox"),require("@taiga-ui/kit/components/checkbox-block"),require("@taiga-ui/kit/components/checkbox-labeled"),require("@taiga-ui/kit/components/combo-box"),require("@taiga-ui/kit/components/data-list-wrapper"),require("@taiga-ui/kit/components/field-error"),require("@taiga-ui/kit/components/filter"),require("@taiga-ui/kit/components/input"),require("@taiga-ui/kit/components/input-copy"),require("@taiga-ui/kit/components/input-count"),require("@taiga-ui/kit/components/input-date"),require("@taiga-ui/kit/components/input-date-range"),require("@taiga-ui/kit/components/input-date-time"),require("@taiga-ui/kit/components/input-file"),require("@taiga-ui/kit/components/input-inline"),require("@taiga-ui/kit/components/input-month"),require("@taiga-ui/kit/components/input-month-range"),require("@taiga-ui/kit/components/input-number"),require("@taiga-ui/kit/components/input-password"),require("@taiga-ui/kit/components/input-phone"),require("@taiga-ui/kit/components/input-phone-international"),require("@taiga-ui/kit/components/input-range"),require("@taiga-ui/kit/components/input-slider"),require("@taiga-ui/kit/components/input-tag"),require("@taiga-ui/kit/components/input-time"),require("@taiga-ui/kit/components/island"),require("@taiga-ui/kit/components/line-clamp"),require("@taiga-ui/kit/components/marker-icon"),require("@taiga-ui/kit/components/multi-select"),require("@taiga-ui/kit/components/multi-select-option"),require("@taiga-ui/kit/components/pagination"),require("@taiga-ui/kit/components/pdf-viewer"),require("@taiga-ui/kit/components/progress"),require("@taiga-ui/kit/components/radio"),require("@taiga-ui/kit/components/radio-block"),require("@taiga-ui/kit/components/radio-group"),require("@taiga-ui/kit/components/radio-labeled"),require("@taiga-ui/kit/components/radio-list"),require("@taiga-ui/kit/components/range"),require("@taiga-ui/kit/components/select"),require("@taiga-ui/kit/components/select-option"),require("@taiga-ui/kit/components/slider"),require("@taiga-ui/kit/components/stepper"),require("@taiga-ui/kit/components/tabs"),require("@taiga-ui/kit/components/tag"),require("@taiga-ui/kit/components/text-area"),require("@taiga-ui/kit/components/toggle"),require("@taiga-ui/kit/components/tree")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components",["exports","@taiga-ui/kit/components/accordion","@taiga-ui/kit/components/action","@taiga-ui/kit/components/arrow","@taiga-ui/kit/components/avatar","@taiga-ui/kit/components/badge","@taiga-ui/kit/components/badged-content","@taiga-ui/kit/components/breadcrumbs","@taiga-ui/kit/components/calendar-month","@taiga-ui/kit/components/calendar-range","@taiga-ui/kit/components/carousel","@taiga-ui/kit/components/checkbox","@taiga-ui/kit/components/checkbox-block","@taiga-ui/kit/components/checkbox-labeled","@taiga-ui/kit/components/combo-box","@taiga-ui/kit/components/data-list-wrapper","@taiga-ui/kit/components/field-error","@taiga-ui/kit/components/filter","@taiga-ui/kit/components/input","@taiga-ui/kit/components/input-copy","@taiga-ui/kit/components/input-count","@taiga-ui/kit/components/input-date","@taiga-ui/kit/components/input-date-range","@taiga-ui/kit/components/input-date-time","@taiga-ui/kit/components/input-file","@taiga-ui/kit/components/input-inline","@taiga-ui/kit/components/input-month","@taiga-ui/kit/components/input-month-range","@taiga-ui/kit/components/input-number","@taiga-ui/kit/components/input-password","@taiga-ui/kit/components/input-phone","@taiga-ui/kit/components/input-phone-international","@taiga-ui/kit/components/input-range","@taiga-ui/kit/components/input-slider","@taiga-ui/kit/components/input-tag","@taiga-ui/kit/components/input-time","@taiga-ui/kit/components/island","@taiga-ui/kit/components/line-clamp","@taiga-ui/kit/components/marker-icon","@taiga-ui/kit/components/multi-select","@taiga-ui/kit/components/multi-select-option","@taiga-ui/kit/components/pagination","@taiga-ui/kit/components/pdf-viewer","@taiga-ui/kit/components/progress","@taiga-ui/kit/components/radio","@taiga-ui/kit/components/radio-block","@taiga-ui/kit/components/radio-group","@taiga-ui/kit/components/radio-labeled","@taiga-ui/kit/components/radio-list","@taiga-ui/kit/components/range","@taiga-ui/kit/components/select","@taiga-ui/kit/components/select-option","@taiga-ui/kit/components/slider","@taiga-ui/kit/components/stepper","@taiga-ui/kit/components/tabs","@taiga-ui/kit/components/tag","@taiga-ui/kit/components/text-area","@taiga-ui/kit/components/toggle","@taiga-ui/kit/components/tree"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components={}),e["taiga-ui"].kit.components.accordion,e["taiga-ui"].kit.components.action,e["taiga-ui"].kit.components.arrow,e["taiga-ui"].kit.components.avatar,e["taiga-ui"].kit.components.badge,e["taiga-ui"].kit.components["badged-content"],e["taiga-ui"].kit.components.breadcrumbs,e["taiga-ui"].kit.components["calendar-month"],e["taiga-ui"].kit.components["calendar-range"],e["taiga-ui"].kit.components.carousel,e["taiga-ui"].kit.components.checkbox,e["taiga-ui"].kit.components["checkbox-block"],e["taiga-ui"].kit.components["checkbox-labeled"],e["taiga-ui"].kit.components["combo-box"],e["taiga-ui"].kit.components["data-list-wrapper"],e["taiga-ui"].kit.components["field-error"],e["taiga-ui"].kit.components.filter,e["taiga-ui"].kit.components.input,e["taiga-ui"].kit.components["input-copy"],e["taiga-ui"].kit.components["input-count"],e["taiga-ui"].kit.components["input-date"],e["taiga-ui"].kit.components["input-date-range"],e["taiga-ui"].kit.components["input-date-time"],e["taiga-ui"].kit.components["input-file"],e["taiga-ui"].kit.components["input-inline"],e["taiga-ui"].kit.components["input-month"],e["taiga-ui"].kit.components["input-month-range"],e["taiga-ui"].kit.components["input-number"],e["taiga-ui"].kit.components["input-password"],e["taiga-ui"].kit.components["input-phone"],e["taiga-ui"].kit.components["input-phone-international"],e["taiga-ui"].kit.components["input-range"],e["taiga-ui"].kit.components["input-slider"],e["taiga-ui"].kit.components["input-tag"],e["taiga-ui"].kit.components["input-time"],e["taiga-ui"].kit.components.island,e["taiga-ui"].kit.components["line-clamp"],e["taiga-ui"].kit.components["marker-icon"],e["taiga-ui"].kit.components["multi-select"],e["taiga-ui"].kit.components["multi-select-option"],e["taiga-ui"].kit.components.pagination,e["taiga-ui"].kit.components["pdf-viewer"],e["taiga-ui"].kit.components.progress,e["taiga-ui"].kit.components.radio,e["taiga-ui"].kit.components["radio-block"],e["taiga-ui"].kit.components["radio-group"],e["taiga-ui"].kit.components["radio-labeled"],e["taiga-ui"].kit.components["radio-list"],e["taiga-ui"].kit.components.range,e["taiga-ui"].kit.components.select,e["taiga-ui"].kit.components["select-option"],e["taiga-ui"].kit.components.slider,e["taiga-ui"].kit.components.stepper,e["taiga-ui"].kit.components.tabs,e["taiga-ui"].kit.components.tag,e["taiga-ui"].kit.components["text-area"],e["taiga-ui"].kit.components.toggle,e["taiga-ui"].kit.components.tree)}(this,(function(e,t,i,n,o,a,u,r,c,p,f,s,g,m,k,b,l,d,y,j,O,h,P,q,E,x,w,v,_,M,z,A,B,C,D,F,G,H,I,J,K,L,N,Q,R,S,T,U,V,W,X,Y,Z,$,ee,te,ie,ne,oe){"use strict";Object.keys(t).forEach((function(i){"default"!==i&&Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}})})),Object.keys(i).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})})),Object.keys(n).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})),Object.keys(o).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})),Object.keys(a).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})})),Object.keys(u).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}})})),Object.keys(r).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})),Object.keys(c).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}})})),Object.keys(p).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}})})),Object.keys(f).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}})})),Object.keys(s).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})})),Object.keys(g).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return g[t]}})})),Object.keys(m).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}})})),Object.keys(k).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return k[t]}})})),Object.keys(b).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}})})),Object.keys(l).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}})})),Object.keys(d).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}})})),Object.keys(y).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}})})),Object.keys(j).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return j[t]}})})),Object.keys(O).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}})})),Object.keys(h).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}})})),Object.keys(P).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return P[t]}})})),Object.keys(q).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return q[t]}})})),Object.keys(E).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return E[t]}})})),Object.keys(x).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return x[t]}})})),Object.keys(w).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return w[t]}})})),Object.keys(v).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return v[t]}})})),Object.keys(_).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return _[t]}})})),Object.keys(M).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return M[t]}})})),Object.keys(z).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return z[t]}})})),Object.keys(A).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return A[t]}})})),Object.keys(B).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return B[t]}})})),Object.keys(C).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return C[t]}})})),Object.keys(D).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return D[t]}})})),Object.keys(F).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return F[t]}})})),Object.keys(G).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return G[t]}})})),Object.keys(H).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return H[t]}})})),Object.keys(I).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return I[t]}})})),Object.keys(J).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return J[t]}})})),Object.keys(K).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return K[t]}})})),Object.keys(L).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return L[t]}})})),Object.keys(N).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return N[t]}})})),Object.keys(Q).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return Q[t]}})})),Object.keys(R).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return R[t]}})})),Object.keys(S).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return S[t]}})})),Object.keys(T).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return T[t]}})})),Object.keys(U).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return U[t]}})})),Object.keys(V).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return V[t]}})})),Object.keys(W).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return W[t]}})})),Object.keys(X).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return X[t]}})})),Object.keys(Y).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return Y[t]}})})),Object.keys(Z).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return Z[t]}})})),Object.keys($).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return $[t]}})})),Object.keys(ee).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return ee[t]}})})),Object.keys(te).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return te[t]}})})),Object.keys(ie).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return ie[t]}})})),Object.keys(ne).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return ne[t]}})})),Object.keys(oe).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return oe[t]}})})),Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=taiga-ui-kit-components.umd.min.js.map
@@ -243,6 +243,8 @@
243
243
  '_readonly',
244
244
  ];
245
245
 
246
+ var iconBlank = '<svg></svg>';
247
+
246
248
  var TUI_PHONE_MASK = [
247
249
  '+',
248
250
  '7',
@@ -327,6 +329,7 @@
327
329
  exports.TUI_FLOATING_PRECISION = TUI_FLOATING_PRECISION;
328
330
  exports.TUI_PHONE_MASK = TUI_PHONE_MASK;
329
331
  exports.TUI_TIME_MASK = TUI_TIME_MASK;
332
+ exports.iconBlank = iconBlank;
330
333
 
331
334
  Object.defineProperty(exports, '__esModule', { value: true });
332
335