@taiga-ui/kit 2.25.0 → 2.28.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 (707) hide show
  1. package/abstract/input-slider.d.ts +5 -5
  2. package/abstract/slider/slider.d.ts +5 -5
  3. package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.js +9 -9
  5. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-abstract.umd.min.js +1 -1
  7. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-accordion.umd.js +23 -7
  9. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +2 -2
  11. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-action.umd.js +3 -3
  13. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  15. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +7 -7
  17. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  19. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-carousel.umd.js +527 -0
  23. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -0
  24. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +16 -0
  25. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -0
  26. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +3 -3
  27. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  29. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +3 -3
  31. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  33. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-checkbox.umd.js +3 -3
  35. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  37. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-combo-box.umd.js +18 -19
  39. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  41. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +7 -7
  43. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  45. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-field-error.umd.js +20 -8
  47. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +2 -2
  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 +8 -8
  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 +4 -4
  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 +3 -3
  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 +1 -1
  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 +16 -13
  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 +20 -17
  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 +17 -14
  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 +1 -1
  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 +1 -1
  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 +5 -4
  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 +4 -3
  83. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  85. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-month.umd.js +4 -3
  87. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  89. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-number.umd.js +17 -31
  91. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +2 -2
  93. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -3
  95. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  97. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +22 -22
  99. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  101. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-phone.umd.js +6 -6
  103. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  105. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-slider.umd.js +3 -3
  107. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  109. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-tag.umd.js +31 -31
  111. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  113. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-time.umd.js +16 -16
  115. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  117. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input.umd.js +7 -7
  119. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  121. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +7 -7
  123. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +1 -1
  125. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +1 -1
  127. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  129. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-multi-select.umd.js +18 -18
  131. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +1 -1
  133. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-pagination.umd.js +4 -4
  135. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  137. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +13 -21
  139. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +2 -2
  141. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-progress.umd.js +3 -3
  143. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-progress.umd.min.js +1 -1
  145. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-radio-block.umd.js +3 -3
  147. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  149. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +3 -3
  153. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  154. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  155. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-radio-list.umd.js +7 -7
  157. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  159. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-radio.umd.js +3 -3
  161. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  163. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-select.umd.js +9 -12
  165. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-select.umd.min.js +1 -1
  167. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-stepper.umd.js +18 -18
  169. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  171. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-tabs.umd.js +22 -22
  173. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  175. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-text-area.umd.js +4 -4
  177. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  179. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-toggle.umd.js +3 -3
  181. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  182. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  183. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-tree.umd.js +64 -53
  185. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-tree.umd.min.js +2 -2
  187. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components.umd.js +12 -4
  189. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  191. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +2 -4
  192. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  193. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +1 -1
  194. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  195. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +1 -1
  196. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  197. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  198. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  199. package/bundles/taiga-ui-kit-directives-highlight.umd.js +7 -2
  200. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  201. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +1 -1
  202. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  203. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +7 -1
  204. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  205. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +1 -1
  206. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  207. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  208. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  209. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +2 -2
  210. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  212. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  213. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  214. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  215. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  216. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  217. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +2 -0
  218. package/components/accordion/accordion-item/accordion-item.component.d.ts +4 -2
  219. package/components/accordion/index.d.ts +1 -0
  220. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  221. package/components/action/action.component.d.ts +1 -1
  222. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  223. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  224. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  225. package/components/calendar-range/calendar-range.component.d.ts +1 -1
  226. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  227. package/components/carousel/carousel-autoscroll.directive.d.ts +5 -0
  228. package/components/carousel/carousel-buttons.directive.d.ts +4 -0
  229. package/components/carousel/carousel-scroll.directive.d.ts +6 -0
  230. package/components/carousel/carousel.component.d.ts +29 -0
  231. package/components/carousel/carousel.directive.d.ts +11 -0
  232. package/components/carousel/carousel.module.d.ts +2 -0
  233. package/components/carousel/index.d.ts +6 -0
  234. package/components/carousel/package.json +13 -0
  235. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +4 -0
  236. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -0
  237. package/components/checkbox/checkbox.component.d.ts +1 -1
  238. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  239. package/components/checkbox-block/checkbox-block.component.d.ts +1 -1
  240. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  241. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +1 -1
  242. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  243. package/components/combo-box/combo-box.component.d.ts +5 -5
  244. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  245. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +2 -2
  246. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  247. package/components/field-error/field-error.component.d.ts +3 -2
  248. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  249. package/components/filter/filter.component.d.ts +2 -2
  250. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  251. package/components/index.d.ts +1 -0
  252. package/components/input/input.component.d.ts +3 -3
  253. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  254. package/components/input-copy/input-copy.component.d.ts +2 -2
  255. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  256. package/components/input-count/input-count.component.d.ts +2 -2
  257. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  258. package/components/input-date/input-date.component.d.ts +4 -4
  259. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  260. package/components/input-date-range/input-date-range.component.d.ts +3 -3
  261. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  262. package/components/input-date-time/input-date-time.component.d.ts +4 -4
  263. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  264. package/components/input-file/input-file.component.d.ts +1 -1
  265. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  266. package/components/input-inline/input-inline.component.d.ts +1 -1
  267. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  268. package/components/input-month/input-month.component.d.ts +1 -1
  269. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  270. package/components/input-month-range/input-month-range.component.d.ts +1 -1
  271. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  272. package/components/input-number/input-number.component.d.ts +3 -4
  273. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  274. package/components/input-password/input-password.component.d.ts +2 -2
  275. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  276. package/components/input-phone/input-phone.component.d.ts +3 -3
  277. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  278. package/components/input-phone-international/input-phone-international.component.d.ts +6 -6
  279. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  280. package/components/input-slider/input-slider.component.d.ts +1 -1
  281. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  282. package/components/input-tag/input-tag.component.d.ts +11 -11
  283. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  284. package/components/input-time/input-time.component.d.ts +4 -4
  285. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  286. package/components/line-clamp/line-clamp.component.d.ts +4 -4
  287. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  288. package/components/marker-icon/marker-icon.component.d.ts +1 -1
  289. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  290. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  291. package/components/multi-select/multi-select.component.d.ts +7 -7
  292. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  293. package/components/pagination/pagination.component.d.ts +1 -1
  294. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  295. package/components/pdf-viewer/pdf-viewer.component.d.ts +1 -4
  296. package/components/pdf-viewer/pdf-viewer.service.d.ts +7 -2
  297. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -1
  298. package/components/progress/progress-circle/progress-circle.component.d.ts +1 -1
  299. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  300. package/components/radio/radio.component.d.ts +1 -1
  301. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  302. package/components/radio-block/radio-block.component.d.ts +1 -1
  303. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  304. package/components/radio-group/radio-group.component.d.ts +1 -1
  305. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  306. package/components/radio-labeled/radio-labeled.component.d.ts +1 -1
  307. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  308. package/components/radio-list/radio-list.component.d.ts +3 -3
  309. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  310. package/components/select/select.component.d.ts +3 -3
  311. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  312. package/components/stepper/stepper.component.d.ts +3 -3
  313. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  314. package/components/tabs/tabs/tabs.component.d.ts +2 -2
  315. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +2 -2
  316. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  317. package/components/tabs/underline/underline.component.d.ts +2 -2
  318. package/components/taiga-ui-kit-components.metadata.json +1 -1
  319. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  320. package/components/text-area/text-area.component.d.ts +1 -1
  321. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  322. package/components/toggle/toggle.component.d.ts +1 -1
  323. package/components/tree/components/tree/tree.component.d.ts +7 -2
  324. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  325. package/components/tree/directives/tree-item-controller.directive.d.ts +1 -1
  326. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  327. package/directives/dropdown-context/dropdown-context.directive.d.ts +1 -1
  328. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  329. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +3 -3
  330. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  331. package/directives/highlight/highlight.directive.d.ts +2 -1
  332. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  333. package/directives/lazy-loading/lazy-loading.directive.d.ts +1 -1
  334. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  335. package/directives/present/present.directive.d.ts +1 -1
  336. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  337. package/esm2015/abstract/input-slider.js +2 -2
  338. package/esm2015/abstract/slider/slider.js +9 -9
  339. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  340. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +11 -0
  341. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +10 -6
  342. package/esm2015/components/accordion/accordion.module.js +4 -1
  343. package/esm2015/components/accordion/index.js +2 -1
  344. package/esm2015/components/action/action.component.js +4 -4
  345. package/esm2015/components/calendar-month/calendar-month.component.js +6 -6
  346. package/esm2015/components/calendar-range/calendar-range.component.js +1 -1
  347. package/esm2015/components/carousel/carousel-autoscroll.directive.js +21 -0
  348. package/esm2015/components/carousel/carousel-buttons.directive.js +24 -0
  349. package/esm2015/components/carousel/carousel-scroll.directive.js +26 -0
  350. package/esm2015/components/carousel/carousel.component.js +144 -0
  351. package/esm2015/components/carousel/carousel.directive.js +35 -0
  352. package/esm2015/components/carousel/carousel.module.js +38 -0
  353. package/esm2015/components/carousel/index.js +7 -0
  354. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  355. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  356. package/esm2015/components/checkbox-block/checkbox-block.component.js +4 -4
  357. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  358. package/esm2015/components/combo-box/combo-box.component.js +19 -20
  359. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +8 -8
  360. package/esm2015/components/field-error/field-error.component.js +15 -6
  361. package/esm2015/components/filter/filter.component.js +9 -9
  362. package/esm2015/components/index.js +2 -1
  363. package/esm2015/components/input/input.component.js +8 -8
  364. package/esm2015/components/input-copy/input-copy.component.js +5 -5
  365. package/esm2015/components/input-count/input-count.component.js +4 -4
  366. package/esm2015/components/input-date/input-date.component.js +18 -15
  367. package/esm2015/components/input-date-range/input-date-range.component.js +17 -14
  368. package/esm2015/components/input-date-time/input-date-time.component.js +20 -17
  369. package/esm2015/components/input-file/input-file.component.js +2 -2
  370. package/esm2015/components/input-inline/input-inline.component.js +6 -5
  371. package/esm2015/components/input-month/input-month.component.js +5 -4
  372. package/esm2015/components/input-month-range/input-month-range.component.js +5 -4
  373. package/esm2015/components/input-number/input-number.component.js +17 -27
  374. package/esm2015/components/input-password/input-password.component.js +4 -4
  375. package/esm2015/components/input-phone/input-phone.component.js +7 -7
  376. package/esm2015/components/input-phone-international/input-phone-international.component.js +20 -20
  377. package/esm2015/components/input-slider/input-slider.component.js +4 -4
  378. package/esm2015/components/input-tag/input-tag.component.js +32 -32
  379. package/esm2015/components/input-time/input-time.component.js +17 -17
  380. package/esm2015/components/line-clamp/line-clamp.component.js +8 -8
  381. package/esm2015/components/marker-icon/marker-icon.component.js +2 -2
  382. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  383. package/esm2015/components/multi-select/multi-select.component.js +15 -15
  384. package/esm2015/components/pagination/pagination.component.js +5 -5
  385. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -20
  386. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +4 -1
  387. package/esm2015/components/progress/pipes/abstract-color-segments.js +1 -1
  388. package/esm2015/components/progress/progress-circle/progress-circle.component.js +4 -4
  389. package/esm2015/components/radio/radio.component.js +4 -4
  390. package/esm2015/components/radio-block/radio-block.component.js +4 -4
  391. package/esm2015/components/radio-group/radio-group.component.js +1 -1
  392. package/esm2015/components/radio-labeled/radio-labeled.component.js +4 -4
  393. package/esm2015/components/radio-list/radio-list.component.js +8 -8
  394. package/esm2015/components/select/select.component.js +10 -13
  395. package/esm2015/components/stepper/stepper.component.js +18 -18
  396. package/esm2015/components/tabs/tabs/tabs.component.js +16 -16
  397. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  398. package/esm2015/components/tabs/underline/underline.component.js +3 -3
  399. package/esm2015/components/text-area/text-area.component.js +5 -5
  400. package/esm2015/components/toggle/toggle.component.js +4 -4
  401. package/esm2015/components/tree/components/tree/tree.component.js +15 -2
  402. package/esm2015/components/tree/components/tree-item/tree-item.component.js +3 -3
  403. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +2 -3
  404. package/esm2015/components/tree/directives/tree-item-controller.directive.js +2 -2
  405. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +3 -5
  406. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +2 -2
  407. package/esm2015/directives/highlight/highlight.directive.js +8 -3
  408. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +4 -2
  409. package/esm2015/directives/present/present.directive.js +1 -1
  410. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  411. package/esm2015/pipes/stringify/stringify.pipe.js +1 -1
  412. package/esm2015/tokens/validation-errors.js +1 -1
  413. package/esm5/abstract/input-slider.js +2 -2
  414. package/esm5/abstract/slider/slider.js +9 -9
  415. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  416. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +14 -0
  417. package/esm5/components/accordion/accordion-item/accordion-item.component.js +10 -6
  418. package/esm5/components/accordion/accordion.module.js +4 -1
  419. package/esm5/components/accordion/index.js +2 -1
  420. package/esm5/components/action/action.component.js +4 -4
  421. package/esm5/components/calendar-month/calendar-month.component.js +8 -8
  422. package/esm5/components/calendar-range/calendar-range.component.js +1 -1
  423. package/esm5/components/carousel/carousel-autoscroll.directive.js +22 -0
  424. package/esm5/components/carousel/carousel-buttons.directive.js +27 -0
  425. package/esm5/components/carousel/carousel-scroll.directive.js +34 -0
  426. package/esm5/components/carousel/carousel.component.js +158 -0
  427. package/esm5/components/carousel/carousel.directive.js +45 -0
  428. package/esm5/components/carousel/carousel.module.js +41 -0
  429. package/esm5/components/carousel/index.js +7 -0
  430. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  431. package/esm5/components/checkbox/checkbox.component.js +4 -4
  432. package/esm5/components/checkbox-block/checkbox-block.component.js +4 -4
  433. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  434. package/esm5/components/combo-box/combo-box.component.js +19 -20
  435. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +8 -8
  436. package/esm5/components/field-error/field-error.component.js +19 -6
  437. package/esm5/components/filter/filter.component.js +9 -9
  438. package/esm5/components/index.js +2 -1
  439. package/esm5/components/input/input.component.js +8 -8
  440. package/esm5/components/input-copy/input-copy.component.js +5 -5
  441. package/esm5/components/input-count/input-count.component.js +4 -4
  442. package/esm5/components/input-date/input-date.component.js +18 -15
  443. package/esm5/components/input-date-range/input-date-range.component.js +17 -14
  444. package/esm5/components/input-date-time/input-date-time.component.js +21 -18
  445. package/esm5/components/input-file/input-file.component.js +2 -2
  446. package/esm5/components/input-inline/input-inline.component.js +6 -5
  447. package/esm5/components/input-month/input-month.component.js +5 -4
  448. package/esm5/components/input-month-range/input-month-range.component.js +5 -4
  449. package/esm5/components/input-number/input-number.component.js +18 -32
  450. package/esm5/components/input-password/input-password.component.js +4 -4
  451. package/esm5/components/input-phone/input-phone.component.js +7 -7
  452. package/esm5/components/input-phone-international/input-phone-international.component.js +23 -23
  453. package/esm5/components/input-slider/input-slider.component.js +4 -4
  454. package/esm5/components/input-tag/input-tag.component.js +32 -32
  455. package/esm5/components/input-time/input-time.component.js +17 -17
  456. package/esm5/components/line-clamp/line-clamp.component.js +8 -8
  457. package/esm5/components/marker-icon/marker-icon.component.js +2 -2
  458. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  459. package/esm5/components/multi-select/multi-select.component.js +15 -15
  460. package/esm5/components/pagination/pagination.component.js +5 -5
  461. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -20
  462. package/esm5/components/pdf-viewer/pdf-viewer.service.js +5 -1
  463. package/esm5/components/progress/pipes/abstract-color-segments.js +1 -1
  464. package/esm5/components/progress/progress-circle/progress-circle.component.js +4 -4
  465. package/esm5/components/radio/radio.component.js +4 -4
  466. package/esm5/components/radio-block/radio-block.component.js +4 -4
  467. package/esm5/components/radio-group/radio-group.component.js +1 -1
  468. package/esm5/components/radio-labeled/radio-labeled.component.js +4 -4
  469. package/esm5/components/radio-list/radio-list.component.js +8 -8
  470. package/esm5/components/select/select.component.js +10 -13
  471. package/esm5/components/stepper/stepper.component.js +19 -19
  472. package/esm5/components/tabs/tabs/tabs.component.js +17 -17
  473. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  474. package/esm5/components/tabs/underline/underline.component.js +3 -3
  475. package/esm5/components/text-area/text-area.component.js +5 -5
  476. package/esm5/components/toggle/toggle.component.js +4 -4
  477. package/esm5/components/tree/components/tree/tree.component.js +15 -2
  478. package/esm5/components/tree/components/tree-item/tree-item.component.js +3 -3
  479. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +2 -3
  480. package/esm5/components/tree/directives/tree-item-controller.directive.js +2 -2
  481. package/esm5/directives/dropdown-context/dropdown-context.directive.js +3 -5
  482. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +2 -2
  483. package/esm5/directives/highlight/highlight.directive.js +8 -3
  484. package/esm5/directives/lazy-loading/lazy-loading.directive.js +8 -2
  485. package/esm5/directives/present/present.directive.js +1 -1
  486. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +3 -3
  487. package/esm5/pipes/stringify/stringify.pipe.js +1 -1
  488. package/esm5/tokens/validation-errors.js +1 -1
  489. package/fesm2015/taiga-ui-kit-abstract.js +9 -9
  490. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  491. package/fesm2015/taiga-ui-kit-components-accordion.js +21 -9
  492. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  493. package/fesm2015/taiga-ui-kit-components-action.js +4 -4
  494. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  495. package/fesm2015/taiga-ui-kit-components-calendar-month.js +5 -5
  496. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  497. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  498. package/fesm2015/taiga-ui-kit-components-carousel.js +267 -0
  499. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -0
  500. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +4 -4
  501. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  502. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  503. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  504. package/fesm2015/taiga-ui-kit-components-checkbox.js +4 -4
  505. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  506. package/fesm2015/taiga-ui-kit-components-combo-box.js +20 -21
  507. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  508. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +9 -9
  509. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  510. package/fesm2015/taiga-ui-kit-components-field-error.js +14 -5
  511. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  512. package/fesm2015/taiga-ui-kit-components-filter.js +9 -9
  513. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  514. package/fesm2015/taiga-ui-kit-components-input-copy.js +5 -5
  515. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  516. package/fesm2015/taiga-ui-kit-components-input-count.js +4 -4
  517. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  518. package/fesm2015/taiga-ui-kit-components-input-date-range.js +18 -15
  519. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  520. package/fesm2015/taiga-ui-kit-components-input-date-time.js +20 -17
  521. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  522. package/fesm2015/taiga-ui-kit-components-input-date.js +18 -15
  523. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  524. package/fesm2015/taiga-ui-kit-components-input-file.js +1 -1
  525. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  526. package/fesm2015/taiga-ui-kit-components-input-inline.js +6 -5
  527. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  528. package/fesm2015/taiga-ui-kit-components-input-month-range.js +5 -4
  529. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  530. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -4
  531. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  532. package/fesm2015/taiga-ui-kit-components-input-number.js +17 -27
  533. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  534. package/fesm2015/taiga-ui-kit-components-input-password.js +3 -3
  535. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  536. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +20 -20
  537. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  538. package/fesm2015/taiga-ui-kit-components-input-phone.js +8 -8
  539. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  540. package/fesm2015/taiga-ui-kit-components-input-slider.js +4 -4
  541. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  542. package/fesm2015/taiga-ui-kit-components-input-tag.js +34 -34
  543. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  544. package/fesm2015/taiga-ui-kit-components-input-time.js +17 -17
  545. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  546. package/fesm2015/taiga-ui-kit-components-input.js +9 -9
  547. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  548. package/fesm2015/taiga-ui-kit-components-line-clamp.js +8 -8
  549. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  550. package/fesm2015/taiga-ui-kit-components-marker-icon.js +1 -1
  551. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  552. package/fesm2015/taiga-ui-kit-components-multi-select.js +20 -20
  553. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  554. package/fesm2015/taiga-ui-kit-components-pagination.js +6 -6
  555. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  556. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +9 -19
  557. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  558. package/fesm2015/taiga-ui-kit-components-progress.js +3 -3
  559. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  560. package/fesm2015/taiga-ui-kit-components-radio-block.js +4 -4
  561. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  562. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  563. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +4 -4
  564. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  565. package/fesm2015/taiga-ui-kit-components-radio-list.js +9 -9
  566. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  567. package/fesm2015/taiga-ui-kit-components-radio.js +4 -4
  568. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  569. package/fesm2015/taiga-ui-kit-components-select.js +11 -14
  570. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  571. package/fesm2015/taiga-ui-kit-components-stepper.js +18 -18
  572. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  573. package/fesm2015/taiga-ui-kit-components-tabs.js +22 -22
  574. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  575. package/fesm2015/taiga-ui-kit-components-text-area.js +5 -5
  576. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  577. package/fesm2015/taiga-ui-kit-components-toggle.js +4 -4
  578. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  579. package/fesm2015/taiga-ui-kit-components-tree.js +56 -45
  580. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  581. package/fesm2015/taiga-ui-kit-components.js +1 -0
  582. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  583. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +2 -4
  584. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  585. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +1 -1
  586. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  587. package/fesm2015/taiga-ui-kit-directives-highlight.js +7 -2
  588. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  589. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +3 -1
  590. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  591. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  592. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  593. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  594. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  595. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  596. package/fesm5/taiga-ui-kit-abstract.js +9 -9
  597. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  598. package/fesm5/taiga-ui-kit-components-accordion.js +24 -9
  599. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  600. package/fesm5/taiga-ui-kit-components-action.js +4 -4
  601. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  602. package/fesm5/taiga-ui-kit-components-calendar-month.js +7 -7
  603. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  604. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  605. package/fesm5/taiga-ui-kit-components-carousel.js +306 -0
  606. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -0
  607. package/fesm5/taiga-ui-kit-components-checkbox-block.js +4 -4
  608. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  609. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  610. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  611. package/fesm5/taiga-ui-kit-components-checkbox.js +4 -4
  612. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  613. package/fesm5/taiga-ui-kit-components-combo-box.js +20 -21
  614. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  615. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +9 -9
  616. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  617. package/fesm5/taiga-ui-kit-components-field-error.js +18 -5
  618. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  619. package/fesm5/taiga-ui-kit-components-filter.js +9 -9
  620. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  621. package/fesm5/taiga-ui-kit-components-input-copy.js +5 -5
  622. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  623. package/fesm5/taiga-ui-kit-components-input-count.js +4 -4
  624. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  625. package/fesm5/taiga-ui-kit-components-input-date-range.js +18 -15
  626. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  627. package/fesm5/taiga-ui-kit-components-input-date-time.js +21 -18
  628. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  629. package/fesm5/taiga-ui-kit-components-input-date.js +18 -15
  630. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  631. package/fesm5/taiga-ui-kit-components-input-file.js +1 -1
  632. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  633. package/fesm5/taiga-ui-kit-components-input-inline.js +6 -5
  634. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  635. package/fesm5/taiga-ui-kit-components-input-month-range.js +5 -4
  636. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  637. package/fesm5/taiga-ui-kit-components-input-month.js +5 -4
  638. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  639. package/fesm5/taiga-ui-kit-components-input-number.js +18 -32
  640. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  641. package/fesm5/taiga-ui-kit-components-input-password.js +3 -3
  642. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  643. package/fesm5/taiga-ui-kit-components-input-phone-international.js +23 -23
  644. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  645. package/fesm5/taiga-ui-kit-components-input-phone.js +8 -8
  646. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  647. package/fesm5/taiga-ui-kit-components-input-slider.js +4 -4
  648. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  649. package/fesm5/taiga-ui-kit-components-input-tag.js +34 -34
  650. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  651. package/fesm5/taiga-ui-kit-components-input-time.js +17 -17
  652. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  653. package/fesm5/taiga-ui-kit-components-input.js +9 -9
  654. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  655. package/fesm5/taiga-ui-kit-components-line-clamp.js +8 -8
  656. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  657. package/fesm5/taiga-ui-kit-components-marker-icon.js +1 -1
  658. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  659. package/fesm5/taiga-ui-kit-components-multi-select.js +20 -20
  660. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  661. package/fesm5/taiga-ui-kit-components-pagination.js +6 -6
  662. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  663. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +10 -19
  664. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  665. package/fesm5/taiga-ui-kit-components-progress.js +3 -3
  666. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  667. package/fesm5/taiga-ui-kit-components-radio-block.js +4 -4
  668. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  669. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  670. package/fesm5/taiga-ui-kit-components-radio-labeled.js +4 -4
  671. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  672. package/fesm5/taiga-ui-kit-components-radio-list.js +9 -9
  673. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  674. package/fesm5/taiga-ui-kit-components-radio.js +4 -4
  675. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  676. package/fesm5/taiga-ui-kit-components-select.js +11 -14
  677. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  678. package/fesm5/taiga-ui-kit-components-stepper.js +19 -19
  679. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  680. package/fesm5/taiga-ui-kit-components-tabs.js +23 -23
  681. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  682. package/fesm5/taiga-ui-kit-components-text-area.js +5 -5
  683. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  684. package/fesm5/taiga-ui-kit-components-toggle.js +4 -4
  685. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  686. package/fesm5/taiga-ui-kit-components-tree.js +65 -54
  687. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  688. package/fesm5/taiga-ui-kit-components.js +1 -0
  689. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  690. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +2 -4
  691. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  692. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +1 -1
  693. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  694. package/fesm5/taiga-ui-kit-directives-highlight.js +7 -2
  695. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  696. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +7 -1
  697. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  698. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  699. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +2 -2
  700. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  701. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  702. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  703. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +1 -1
  704. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  705. package/package.json +6 -5
  706. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  707. package/tokens/validation-errors.d.ts +2 -1
@@ -265,8 +265,7 @@
265
265
  configurable: true
266
266
  });
267
267
  TuiTreeItemContentComponent.prototype.onClick = function () {
268
- var _a;
269
- (_a = this.controller) === null || _a === void 0 ? void 0 : _a.toggle(this.context.$implicit);
268
+ this.controller.toggle(this.context.$implicit);
270
269
  };
271
270
  TuiTreeItemContentComponent.ctorParameters = function () { return [
272
271
  { type: undefined, decorators: [{ type: core.Inject, args: [ngPolymorpheus.POLYMORPHEUS_CONTEXT,] }] },
@@ -309,54 +308,6 @@
309
308
  factory: function () { return -1; },
310
309
  });
311
310
 
312
- var TuiTreeComponent = /** @class */ (function () {
313
- function TuiTreeComponent(directive) {
314
- this.directive = directive;
315
- this.content = function (_a) {
316
- var $implicit = _a.$implicit;
317
- return String($implicit);
318
- };
319
- }
320
- TuiTreeComponent_1 = TuiTreeComponent;
321
- Object.defineProperty(TuiTreeComponent.prototype, "children", {
322
- get: function () {
323
- var _a, _b;
324
- return ((_b = (_a = this.directive) === null || _a === void 0 ? void 0 : _a.childrenHandler(this.value)) !== null && _b !== void 0 ? _b : TuiTreeChildrenDirective.defaultHandler(this.value));
325
- },
326
- enumerable: true,
327
- configurable: true
328
- });
329
- var TuiTreeComponent_1;
330
- TuiTreeComponent.ctorParameters = function () { return [
331
- { type: TuiTreeChildrenDirective, decorators: [{ type: core.Optional }, { type: core.Inject, args: [TuiTreeChildrenDirective,] }] }
332
- ]; };
333
- __decorate([
334
- core.Input()
335
- ], TuiTreeComponent.prototype, "value", void 0);
336
- __decorate([
337
- core.Input()
338
- ], TuiTreeComponent.prototype, "content", void 0);
339
- TuiTreeComponent = TuiTreeComponent_1 = __decorate([
340
- core.Component({
341
- selector: 'tui-tree[value]',
342
- 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",
343
- providers: [
344
- {
345
- provide: TUI_TREE_NODE,
346
- useExisting: TuiTreeComponent_1,
347
- },
348
- ],
349
- host: {
350
- role: 'tree',
351
- },
352
- styles: [":host{position:relative;display:block}"]
353
- }),
354
- __param(0, core.Optional()),
355
- __param(0, core.Inject(TuiTreeChildrenDirective))
356
- ], TuiTreeComponent);
357
- return TuiTreeComponent;
358
- }());
359
-
360
311
  var TUI_TREE_ITEM_PROVIDERS = [
361
312
  {
362
313
  provide: TUI_TREE_LEVEL,
@@ -379,8 +330,8 @@
379
330
  this.controller = controller;
380
331
  this.level = level;
381
332
  this.content = content;
382
- this.change$ = new rxjs.Subject();
383
333
  this.nested = cdk.EMPTY_QUERY;
334
+ this.change$ = new rxjs.Subject();
384
335
  this.expanded$ = this.change$.pipe(operators.startWith(null), operators.map(function () { return _this.isExpanded; }), operators.distinctUntilChanged());
385
336
  this.attached$ = this.change$.pipe(operators.map(function () { return _this.elementRef.nativeElement.isConnected; }), operators.distinctUntilChanged());
386
337
  }
@@ -416,7 +367,7 @@
416
367
  TuiTreeItemComponent = __decorate([
417
368
  core.Component({
418
369
  selector: 'tui-tree-item',
419
- template: "<ng-template #template><ng-content></ng-content></ng-template>\n<div\n polymorpheus-outlet\n class=\"t-content\"\n [content]=\"content\"\n [context]=\"{$implicit: this, template: template}\"\n></div>\n<tui-expand\n *ngIf=\"isExpandable\"\n role=\"group\"\n class=\"t-children\"\n [expanded]=\"expanded$ | async\"\n>\n <div>\n <ng-content select=\"tui-tree-item\"></ng-content>\n <ng-content select=\"tui-tree\"></ng-content>\n </div>\n</tui-expand>\n<ng-container *ngIf=\"attached$ | async\"></ng-container>\n",
370
+ 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",
420
371
  changeDetection: core.ChangeDetectionStrategy.OnPush,
421
372
  providers: TUI_TREE_ITEM_PROVIDERS,
422
373
  host: {
@@ -432,6 +383,66 @@
432
383
  return TuiTreeItemComponent;
433
384
  }());
434
385
 
386
+ var TuiTreeComponent = /** @class */ (function () {
387
+ function TuiTreeComponent(directive) {
388
+ this.directive = directive;
389
+ this.content = function (_a) {
390
+ var $implicit = _a.$implicit;
391
+ return String($implicit);
392
+ };
393
+ }
394
+ TuiTreeComponent_1 = TuiTreeComponent;
395
+ Object.defineProperty(TuiTreeComponent.prototype, "children", {
396
+ get: function () {
397
+ var _a, _b;
398
+ return ((_b = (_a = this.directive) === null || _a === void 0 ? void 0 : _a.childrenHandler(this.value)) !== null && _b !== void 0 ? _b : TuiTreeChildrenDirective.defaultHandler(this.value));
399
+ },
400
+ enumerable: true,
401
+ configurable: true
402
+ });
403
+ TuiTreeComponent.prototype.ngDoCheck = function () {
404
+ var _a, _b;
405
+ (_a = this.item) === null || _a === void 0 ? void 0 : _a.ngDoCheck();
406
+ (_b = this.child) === null || _b === void 0 ? void 0 : _b.ngDoCheck();
407
+ };
408
+ var TuiTreeComponent_1;
409
+ TuiTreeComponent.ctorParameters = function () { return [
410
+ { type: TuiTreeChildrenDirective, decorators: [{ type: core.Optional }, { type: core.Inject, args: [TuiTreeChildrenDirective,] }] }
411
+ ]; };
412
+ __decorate([
413
+ core.Input()
414
+ ], TuiTreeComponent.prototype, "value", void 0);
415
+ __decorate([
416
+ core.ViewChild(TuiTreeItemComponent)
417
+ ], TuiTreeComponent.prototype, "item", void 0);
418
+ __decorate([
419
+ core.ViewChild(TuiTreeComponent_1)
420
+ ], TuiTreeComponent.prototype, "child", void 0);
421
+ __decorate([
422
+ core.Input()
423
+ ], TuiTreeComponent.prototype, "content", void 0);
424
+ TuiTreeComponent = TuiTreeComponent_1 = __decorate([
425
+ core.Component({
426
+ selector: 'tui-tree[value]',
427
+ 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",
428
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
429
+ providers: [
430
+ {
431
+ provide: TUI_TREE_NODE,
432
+ useExisting: TuiTreeComponent_1,
433
+ },
434
+ ],
435
+ host: {
436
+ role: 'tree',
437
+ },
438
+ styles: [":host{position:relative;display:block}"]
439
+ }),
440
+ __param(0, core.Optional()),
441
+ __param(0, core.Inject(TuiTreeChildrenDirective))
442
+ ], TuiTreeComponent);
443
+ return TuiTreeComponent;
444
+ }());
445
+
435
446
  var TuiTreeControllerDirective = /** @class */ (function () {
436
447
  function TuiTreeControllerDirective() {
437
448
  this.fallback = true;
@@ -493,8 +504,8 @@
493
504
 
494
505
  var TuiTreeItemControllerDirective = /** @class */ (function () {
495
506
  function TuiTreeItemControllerDirective() {
496
- this.fallback = true;
497
507
  this.map = new WeakMap();
508
+ this.fallback = true;
498
509
  }
499
510
  TuiTreeItemControllerDirective_1 = TuiTreeItemControllerDirective;
500
511
  TuiTreeItemControllerDirective.prototype.isExpanded = function (item) {
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-tree.umd.js","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/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/misc/tree.service.ts","ng://@taiga-ui/kit/components/tree/tree.module.ts"],"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 {Component, Inject, Input, Optional} 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';\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';\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 {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"],"names":["EMPTY_ARRAY","Input","tuiDefaultProp","Directive","Inject","POLYMORPHEUS_CONTEXT","forwardRef","HostBinding","Component","ChangeDetectionStrategy","PolymorpheusComponent","ALWAYS_TRUE_HANDLER","EMPTY_FUNCTION","InjectionToken","Optional","SkipSelf","Subject","EMPTY_QUERY","startWith","map","distinctUntilChanged","ElementRef","ContentChildren","EventEmitter","isPresent","Output","switchMap","tap","mapTo","Injectable","NgModule","CommonModule","PolymorpheusModule","TuiExpandModule","TuiButtonModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;AACD;IACO,IAAI,QAAQ,GAAG,WAAW;IACjC,IAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,QAAQ,CAAC,CAAC,EAAE;IACrD,QAAQ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it-components-tree.umd.js","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"],"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 @ContentChildren(TUI_TREE_NODE as any)\n private readonly nested: QueryList<unknown> = EMPTY_QUERY;\n\n private readonly change$ = new Subject<void>();\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 @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 @Input()\n content: PolymorpheusContent<TuiTreeContext<T>> = ({$implicit}) => String($implicit);\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 private readonly map = new WeakMap<TuiTreeItemComponent, boolean>();\n\n @Input('tuiTreeController')\n @tuiDefaultProp()\n fallback = true;\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"],"names":["EMPTY_ARRAY","Input","tuiDefaultProp","Directive","Inject","POLYMORPHEUS_CONTEXT","forwardRef","HostBinding","Component","ChangeDetectionStrategy","PolymorpheusComponent","ALWAYS_TRUE_HANDLER","EMPTY_FUNCTION","InjectionToken","SkipSelf","EMPTY_QUERY","Subject","startWith","map","distinctUntilChanged","ElementRef","ContentChildren","Optional","ViewChild","EventEmitter","isPresent","Output","switchMap","tap","mapTo","Injectable","NgModule","CommonModule","PolymorpheusModule","TuiExpandModule","TuiButtonModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IACzF,C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BAC7E,eAAe,EAAE,CAAC,2BAA2B,CAAC;gBAC9C,YAAY,EAAE;oBACV,gBAAgB;oBAChB,oBAAoB;oBACpB,2BAA2B;oBAC3B,wBAAwB;oBACxB,8BAA8B;oBAC9B,0BAA0B;oBAC1B,oBAAoB;iBACvB;gBACD,OAAO,EAAE;oBACL,gBAAgB;oBAChB,oBAAoB;oBACpB,wBAAwB;oBACxB,8BAA8B;oBAC9B,0BAA0B;iBAC7B;aACJ,CAAC;WACW,aAAa,CAAG;QAAD,oBAAC;KAA7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
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,r,o,i,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,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}var s=function(){function e(){this.childrenHandler=r.defaultHandler}var r;return r=e,e.defaultHandler=function(e){return Array.isArray(e)?e:n.EMPTY_ARRAY},u([t.Input(),n.tuiDefaultProp()],e.prototype,"childrenHandler",void 0),e=r=u([t.Directive({selector:"tui-tree[childrenHandler]"})],e)}(),p=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(){var e;null===(e=this.controller)||void 0===e||e.toggle(this.context.$implicit)},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[r.POLYMORPHEUS_CONTEXT]}]},{type:void 0,decorators:[{type:t.Inject,args:[t.forwardRef((function(){return h}))]}]}]},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(r.POLYMORPHEUS_CONTEXT)),l(1,t.Inject(t.forwardRef((function(){return h}))))],e)}(),d=new r.PolymorpheusComponent(p),f={isExpanded:n.ALWAYS_TRUE_HANDLER,toggle:n.EMPTY_FUNCTION},g=new t.InjectionToken("Controller for tracking value - TuiTreeItemComponent pairs"),h=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=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:s.defaultHandler(this.value)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:s,decorators:[{type:t.Optional},{type:t.Inject,args:[s]}]}]},u([t.Input()],e.prototype,"value",void 0),u([t.Input()],e.prototype,"content",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',providers:[{provide:m,useExisting:n}],host:{role:"tree"},styles:[":host{position:relative;display:block}"]}),l(0,t.Optional()),l(0,t.Inject(s))],e)}(),b=[{provide:I,deps:[[new t.SkipSelf,I]],useFactory:j},{provide:m,useExisting:t.forwardRef((function(){return C}))}];function j(e){return++e}var C=function(){function e(e,t,r,a){var c=this;this.elementRef=e,this.controller=t,this.level=r,this.content=a,this.change$=new o.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 h}))]}]},{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 class="t-content"\n [content]="content"\n [context]="{$implicit: this, template: template}"\n></div>\n<tui-expand\n *ngIf="isExpandable"\n role="group"\n class="t-children"\n [expanded]="expanded$ | async"\n>\n <div>\n <ng-content select="tui-tree-item"></ng-content>\n <ng-content select="tui-tree"></ng-content>\n </div>\n</tui-expand>\n<ng-container *ngIf="attached$ | async"></ng-container>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:b,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 h})))),l(2,t.Inject(t.forwardRef((function(){return I})))),l(3,t.Inject(t.forwardRef((function(){return E}))))],e)}(),R=function(){function e(){this.fallback=!0,this.map=new Map,this.toggled=new t.EventEmitter,this.items=new Map}var r;return r=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),r=this.isExpanded(e);n.isPresent(t)&&(this.toggled.emit(t),this.map.set(t,!r))},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=r=u([t.Directive({selector:"[tuiTreeController][map]",exportAs:"tuiTreeController",providers:[{provide:g,useExisting:r},{provide:h,useExisting:r}]})],e)}(),_=function(){function e(){this.fallback=!0,this.map=new WeakMap}var r;return r=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=r=u([t.Directive({selector:"[tuiTreeController]:not([map])",exportAs:"tuiTreeController",providers:[{provide:h,useExisting:r}]})],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:[g]}]},{type:C,decorators:[{type:t.Inject,args:[C]}]}]},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(g)),l(1,t.Inject(C))],e)}(),k=function(){function e(e,t,n){var r=this;this.loading=e,this.start=t,this.loader=n,this.map=new Map([[this.loading,[]]]),this.load$=new o.Subject,this.data$=this.load$.pipe(i.switchMap((function(e){return r.loader.loadChildren(e).pipe(i.tap((function(t){return r.map.set(e,t)})),i.map((function(e){return e.filter((function(e){return!r.loader.hasChildren(e)}))})),i.tap((function(e){return e.forEach((function(e){return r.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,r.PolymorpheusModule,c.TuiExpandModule,c.TuiButtonModule],entryComponents:[p],declarations:[x,C,p,s,_,R,O],exports:[x,C,s,_,R]})],e)}();e.TUI_DEFAULT_TREE_CONTROLLER=f,e.TUI_TREE_ACCESSOR=g,e.TUI_TREE_CONTENT=E,e.TUI_TREE_CONTROLLER=h,e.TUI_TREE_ITEM_CONTENT=d,e.TUI_TREE_ITEM_PROVIDERS=b,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=s,e.TuiTreeComponent=x,e.TuiTreeControllerDirective=R,e.TuiTreeItemComponent=C,e.TuiTreeItemContentComponent=p,e.TuiTreeItemControllerDirective=_,e.TuiTreeModule=w,e.TuiTreeNodeDirective=O,e.TuiTreeService=k,e.treeLevelFactory=j,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.nested=n.EMPTY_QUERY,this.change$=new r.Subject,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.ViewChild(b)],e.prototype,"item",void 0),u([t.ViewChild(n)],e.prototype,"child",void 0),u([t.Input()],e.prototype,"content",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.map=new WeakMap,this.fallback=!0}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