@taiga-ui/kit 2.21.0 → 2.25.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 (918) hide show
  1. package/README.md +7 -3
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js +5 -6
  3. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
  5. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-action.umd.js +2 -2
  7. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  8. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-avatar.umd.js +1 -1
  11. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  13. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-badge.umd.js +2 -2
  15. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
  17. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
  19. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +1 -1
  21. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +6 -6
  23. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
  25. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +1 -1
  27. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  29. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +1 -1
  31. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-combo-box.umd.js +13 -4
  37. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  39. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +2 -2
  41. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  43. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-filter.umd.js +1 -1
  47. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  49. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
  51. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  53. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-input-count.umd.js +7 -2
  55. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +2 -2
  57. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +2 -2
  59. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  61. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
  63. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  65. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
  67. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  69. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-file.umd.js +191 -191
  71. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
  73. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-inline.umd.js +1 -1
  75. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  77. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  80. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
  82. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  83. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-number.umd.js +8 -2
  85. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  87. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -2
  89. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  91. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +1 -1
  93. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  95. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
  97. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
  101. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
  103. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-slider.umd.js +2 -2
  105. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  107. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-tag.umd.js +2 -2
  109. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
  111. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-time.umd.js +2 -2
  113. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  115. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
  117. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  119. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +5 -5
  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 +2 -2
  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.map +1 -1
  127. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +16 -12
  129. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +2 -2
  131. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-multi-select.umd.js +18 -45
  133. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +2 -2
  135. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-pagination.umd.js +1 -1
  137. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  139. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +338 -0
  141. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
  142. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
  143. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
  144. package/bundles/taiga-ui-kit-components-progress.umd.js +61 -25
  145. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  147. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +1 -1
  151. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  152. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  154. package/bundles/taiga-ui-kit-components-range.umd.js +2 -2
  155. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  157. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-select-option.umd.js +23 -14
  159. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +2 -2
  161. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-select.umd.js +9 -3
  163. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-select.umd.min.js +2 -2
  165. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-slider.umd.js +2 -2
  167. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  169. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
  171. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-tabs.umd.js +3 -3
  175. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  177. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-tag.umd.js +2 -2
  179. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-tag.umd.min.js +2 -2
  181. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  182. package/bundles/taiga-ui-kit-components-text-area.umd.js +19 -2
  183. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  185. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-toggle.umd.js +1 -1
  187. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  189. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-tree.umd.js +653 -0
  191. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -0
  192. package/bundles/taiga-ui-kit-components-tree.umd.min.js +16 -0
  193. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -0
  194. package/bundles/taiga-ui-kit-components.umd.js +36 -20
  195. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  197. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  198. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  199. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  201. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +2 -1
  202. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  203. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  204. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  205. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  206. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  207. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  208. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  209. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  210. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  212. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  213. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  214. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  216. package/bundles/taiga-ui-kit-directives.umd.js +12 -12
  217. package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
  218. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +1 -1
  219. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  221. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  222. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
  223. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  224. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
  225. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  227. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  228. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  229. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  230. package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
  231. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  232. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  233. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  234. package/bundles/taiga-ui-kit-utils-format.umd.js +0 -2
  235. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  236. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  237. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  238. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  239. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  240. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  241. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  242. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  243. package/components/breadcrumbs/index.d.ts +1 -1
  244. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  245. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  246. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  247. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  248. package/components/combo-box/combo-box.component.d.ts +3 -3
  249. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  250. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  251. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  252. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  253. package/components/index.d.ts +4 -2
  254. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  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 +1 -0
  257. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  258. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  259. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  260. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  261. package/components/input-file/index.d.ts +1 -1
  262. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  263. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  264. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  265. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  266. package/components/input-number/input-number.component.d.ts +1 -0
  267. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  268. package/components/input-password/index.d.ts +1 -1
  269. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  270. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  271. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  272. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  273. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  274. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  275. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  276. package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
  277. package/components/line-clamp/index.d.ts +1 -1
  278. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  279. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  280. package/components/multi-select/index.d.ts +0 -1
  281. package/components/multi-select/multi-select.component.d.ts +6 -5
  282. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  283. package/components/multi-select-option/multi-select-option.component.d.ts +1 -1
  284. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  285. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  286. package/components/pdf-viewer/index.d.ts +5 -0
  287. package/components/pdf-viewer/package.json +13 -0
  288. package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
  289. package/components/pdf-viewer/pdf-viewer.component.d.ts +20 -0
  290. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
  291. package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  292. package/components/pdf-viewer/pdf-viewer.service.d.ts +8 -0
  293. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
  294. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
  295. package/components/progress/index.d.ts +4 -2
  296. package/components/progress/pipes/abstract-color-segments.d.ts +9 -0
  297. package/components/progress/pipes/progress-color-segments-async.pipe.d.ts +5 -0
  298. package/components/progress/pipes/progress-color-segments.pipe.d.ts +7 -6
  299. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  300. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  301. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  302. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  303. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  304. package/components/select/select.component.d.ts +1 -1
  305. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  306. package/components/select-option/select-option.component.d.ts +4 -2
  307. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  308. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  309. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  310. package/components/tabs/index.d.ts +2 -2
  311. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  312. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  313. package/components/taiga-ui-kit-components.metadata.json +1 -1
  314. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  315. package/components/text-area/text-area.component.d.ts +2 -0
  316. package/components/toggle/index.d.ts +1 -1
  317. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  318. package/components/tree/components/tree/tree.component.d.ts +10 -0
  319. package/components/tree/components/tree-item/tree-item.component.d.ts +17 -0
  320. package/components/tree/components/tree-item/tree-item.providers.d.ts +3 -0
  321. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +9 -0
  322. package/components/tree/directives/tree-children.directive.d.ts +5 -0
  323. package/components/tree/directives/tree-controller.directive.d.ts +13 -0
  324. package/components/tree/directives/tree-item-controller.directive.d.ts +8 -0
  325. package/components/tree/directives/tree-node.directive.d.ts +10 -0
  326. package/components/tree/index.d.ts +13 -0
  327. package/components/tree/misc/tree.constants.d.ts +5 -0
  328. package/components/tree/misc/tree.interfaces.d.ts +22 -0
  329. package/components/tree/misc/tree.service.d.ts +12 -0
  330. package/components/tree/misc/tree.tokens.d.ts +11 -0
  331. package/components/tree/package.json +13 -0
  332. package/components/tree/taiga-ui-kit-components-tree.d.ts +4 -0
  333. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -0
  334. package/components/tree/tree.module.d.ts +2 -0
  335. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  336. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
  337. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  338. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  339. package/directives/index.d.ts +1 -1
  340. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  341. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  342. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
  343. package/directives/taiga-ui-kit-directives.metadata.json +1 -1
  344. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
  345. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
  346. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +5 -6
  347. package/esm2015/components/accordion/accordion.component.js +2 -2
  348. package/esm2015/components/accordion/accordion.module.js +3 -3
  349. package/esm2015/components/action/action.component.js +2 -2
  350. package/esm2015/components/arrow/arrow.module.js +1 -1
  351. package/esm2015/components/avatar/avatar.component.js +2 -2
  352. package/esm2015/components/avatar/avatar.module.js +1 -1
  353. package/esm2015/components/badge/badge.component.js +3 -3
  354. package/esm2015/components/badge/badge.module.js +1 -1
  355. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  356. package/esm2015/components/badged-content/badged-content.module.js +1 -1
  357. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  358. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +2 -2
  359. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
  360. package/esm2015/components/breadcrumbs/index.js +2 -2
  361. package/esm2015/components/calendar-month/calendar-month.component.js +2 -2
  362. package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
  363. package/esm2015/components/calendar-range/calendar-range.component.js +2 -2
  364. package/esm2015/components/checkbox/checkbox.module.js +1 -1
  365. package/esm2015/components/combo-box/combo-box.component.js +10 -5
  366. package/esm2015/components/combo-box/combo-box.module.js +1 -1
  367. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  368. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  369. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  370. package/esm2015/components/field-error/field-error.module.js +1 -1
  371. package/esm2015/components/filter/filter.component.js +1 -1
  372. package/esm2015/components/filter/filter.module.js +1 -1
  373. package/esm2015/components/index.js +5 -3
  374. package/esm2015/components/input/input.component.js +2 -2
  375. package/esm2015/components/input/input.module.js +1 -1
  376. package/esm2015/components/input/input.providers.js +1 -1
  377. package/esm2015/components/input-copy/input-copy.component.js +2 -2
  378. package/esm2015/components/input-copy/input-copy.module.js +1 -1
  379. package/esm2015/components/input-count/input-count.component.js +8 -3
  380. package/esm2015/components/input-count/input-count.module.js +1 -1
  381. package/esm2015/components/input-date/input-date.component.js +3 -3
  382. package/esm2015/components/input-date/input-date.module.js +1 -1
  383. package/esm2015/components/input-date-range/input-date-range.component.js +2 -2
  384. package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
  385. package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
  386. package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
  387. package/esm2015/components/input-file/file/file.component.js +3 -3
  388. package/esm2015/components/input-file/index.js +2 -2
  389. package/esm2015/components/input-file/input-file.component.js +3 -3
  390. package/esm2015/components/input-file/input-file.module.js +1 -1
  391. package/esm2015/components/input-inline/input-inline.component.js +1 -1
  392. package/esm2015/components/input-inline/input-inline.module.js +1 -1
  393. package/esm2015/components/input-month/input-month.component.js +1 -1
  394. package/esm2015/components/input-month-range/input-month-range.component.js +1 -1
  395. package/esm2015/components/input-number/input-number.component.js +9 -3
  396. package/esm2015/components/input-number/input-number.module.js +1 -1
  397. package/esm2015/components/input-password/index.js +2 -2
  398. package/esm2015/components/input-password/input-password.component.js +3 -3
  399. package/esm2015/components/input-password/input-password.module.js +3 -1
  400. package/esm2015/components/input-phone/input-phone.component.js +3 -3
  401. package/esm2015/components/input-phone/input-phone.module.js +1 -1
  402. package/esm2015/components/input-phone-international/const/countries.js +1 -1
  403. package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
  404. package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
  405. package/esm2015/components/input-range/input-range.component.js +3 -3
  406. package/esm2015/components/input-slider/input-slider.component.js +3 -3
  407. package/esm2015/components/input-tag/input-tag.component.js +3 -3
  408. package/esm2015/components/input-tag/input-tag.module.js +1 -1
  409. package/esm2015/components/input-time/input-time.component.js +3 -3
  410. package/esm2015/components/input-time/input-time.module.js +1 -1
  411. package/esm2015/components/island/island.module.js +1 -1
  412. package/esm2015/components/line-clamp/index.js +2 -2
  413. package/esm2015/components/line-clamp/line-clamp.component.js +1 -1
  414. package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
  415. package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
  416. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  417. package/esm2015/components/multi-select/index.js +1 -2
  418. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  419. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  420. package/esm2015/components/multi-select/multi-select.component.js +12 -20
  421. package/esm2015/components/multi-select/multi-select.module.js +2 -4
  422. package/esm2015/components/multi-select-option/multi-select-option.component.js +8 -10
  423. package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
  424. package/esm2015/components/pagination/pagination.component.js +1 -1
  425. package/esm2015/components/pagination/pagination.module.js +1 -1
  426. package/esm2015/components/pdf-viewer/index.js +5 -0
  427. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
  428. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +50 -0
  429. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
  430. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
  431. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +24 -0
  432. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  433. package/esm2015/components/progress/index.js +5 -3
  434. package/esm2015/components/progress/pipes/abstract-color-segments.js +32 -0
  435. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +15 -0
  436. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +12 -28
  437. package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -2
  438. package/esm2015/components/progress/progress-label/progress-label.component.js +1 -1
  439. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  440. package/esm2015/components/progress/progress.module.js +4 -1
  441. package/esm2015/components/radio/radio.component.js +1 -1
  442. package/esm2015/components/radio/radio.module.js +1 -1
  443. package/esm2015/components/radio-group/radio-group.module.js +1 -1
  444. package/esm2015/components/radio-labeled/radio-labeled.component.js +1 -1
  445. package/esm2015/components/range/range.component.js +3 -3
  446. package/esm2015/components/range/range.module.js +1 -1
  447. package/esm2015/components/select/select.component.js +6 -4
  448. package/esm2015/components/select/select.module.js +1 -1
  449. package/esm2015/components/select-option/select-option.component.js +20 -12
  450. package/esm2015/components/select-option/select-option.module.js +1 -1
  451. package/esm2015/components/slider/slider.component.js +3 -3
  452. package/esm2015/components/slider/slider.module.js +1 -1
  453. package/esm2015/components/stepper/step/step.component.js +2 -2
  454. package/esm2015/components/stepper/stepper.component.js +1 -1
  455. package/esm2015/components/stepper/stepper.module.js +1 -1
  456. package/esm2015/components/tabs/index.js +3 -3
  457. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  458. package/esm2015/components/tabs/tabs/tabs.component.js +2 -2
  459. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  460. package/esm2015/components/tabs/tabs.module.js +2 -2
  461. package/esm2015/components/tag/tag.component.js +3 -3
  462. package/esm2015/components/tag/tag.module.js +1 -1
  463. package/esm2015/components/text-area/text-area.component.js +10 -4
  464. package/esm2015/components/text-area/text-area.module.js +5 -2
  465. package/esm2015/components/text-area/text-area.providers.js +1 -1
  466. package/esm2015/components/toggle/index.js +2 -2
  467. package/esm2015/components/toggle/toggle.component.js +2 -2
  468. package/esm2015/components/toggle/toggle.module.js +1 -1
  469. package/esm2015/components/tree/components/tree/tree.component.js +44 -0
  470. package/esm2015/components/tree/components/tree-item/tree-item.component.js +58 -0
  471. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +18 -0
  472. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +41 -0
  473. package/esm2015/components/tree/directives/tree-children.directive.js +23 -0
  474. package/esm2015/components/tree/directives/tree-controller.directive.js +62 -0
  475. package/esm2015/components/tree/directives/tree-item-controller.directive.js +36 -0
  476. package/esm2015/components/tree/directives/tree-node.directive.js +35 -0
  477. package/esm2015/components/tree/index.js +13 -0
  478. package/esm2015/components/tree/misc/tree.constants.js +9 -0
  479. package/esm2015/components/tree/misc/tree.interfaces.js +1 -0
  480. package/esm2015/components/tree/misc/tree.service.js +40 -0
  481. package/esm2015/components/tree/misc/tree.tokens.js +17 -0
  482. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +5 -0
  483. package/esm2015/components/tree/tree.module.js +38 -0
  484. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +1 -1
  485. package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
  486. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  487. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  488. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  489. package/esm2015/directives/highlight/highlight.module.js +1 -1
  490. package/esm2015/directives/index.js +2 -2
  491. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +1 -1
  492. package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
  493. package/esm2015/directives/present/present.module.js +1 -1
  494. package/esm2015/directives/project-class/project-class.module.js +1 -1
  495. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  496. package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
  497. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  498. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  499. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  500. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
  501. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  502. package/esm2015/pipes/stringify/stringify.module.js +1 -1
  503. package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
  504. package/esm2015/tokens/index.js +2 -2
  505. package/esm2015/types/status.js +1 -1
  506. package/esm2015/utils/format/string-hash-to-hsl.js +1 -3
  507. package/esm2015/utils/mask/index.js +2 -2
  508. package/esm5/components/accordion/accordion-item/accordion-item.component.js +5 -6
  509. package/esm5/components/accordion/accordion.component.js +2 -2
  510. package/esm5/components/accordion/accordion.module.js +3 -3
  511. package/esm5/components/action/action.component.js +2 -2
  512. package/esm5/components/arrow/arrow.module.js +1 -1
  513. package/esm5/components/avatar/avatar.component.js +2 -2
  514. package/esm5/components/avatar/avatar.module.js +1 -1
  515. package/esm5/components/badge/badge.component.js +3 -3
  516. package/esm5/components/badge/badge.module.js +1 -1
  517. package/esm5/components/badged-content/badged-content.component.js +1 -1
  518. package/esm5/components/badged-content/badged-content.module.js +1 -1
  519. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  520. package/esm5/components/breadcrumbs/breadcrumbs.component.js +2 -2
  521. package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
  522. package/esm5/components/breadcrumbs/index.js +2 -2
  523. package/esm5/components/calendar-month/calendar-month.component.js +2 -2
  524. package/esm5/components/calendar-month/calendar-month.module.js +1 -1
  525. package/esm5/components/calendar-range/calendar-range.component.js +2 -2
  526. package/esm5/components/checkbox/checkbox.module.js +1 -1
  527. package/esm5/components/combo-box/combo-box.component.js +14 -5
  528. package/esm5/components/combo-box/combo-box.module.js +1 -1
  529. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  530. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  531. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  532. package/esm5/components/field-error/field-error.module.js +1 -1
  533. package/esm5/components/filter/filter.component.js +1 -1
  534. package/esm5/components/filter/filter.module.js +1 -1
  535. package/esm5/components/index.js +5 -3
  536. package/esm5/components/input/input.component.js +2 -2
  537. package/esm5/components/input/input.module.js +1 -1
  538. package/esm5/components/input/input.providers.js +1 -1
  539. package/esm5/components/input-copy/input-copy.component.js +2 -2
  540. package/esm5/components/input-copy/input-copy.module.js +1 -1
  541. package/esm5/components/input-count/input-count.component.js +8 -3
  542. package/esm5/components/input-count/input-count.module.js +1 -1
  543. package/esm5/components/input-date/input-date.component.js +3 -3
  544. package/esm5/components/input-date/input-date.module.js +1 -1
  545. package/esm5/components/input-date-range/input-date-range.component.js +2 -2
  546. package/esm5/components/input-date-range/input-date-range.module.js +1 -1
  547. package/esm5/components/input-date-time/input-date-time.component.js +2 -2
  548. package/esm5/components/input-date-time/input-date-time.module.js +1 -1
  549. package/esm5/components/input-file/file/file.component.js +3 -3
  550. package/esm5/components/input-file/index.js +2 -2
  551. package/esm5/components/input-file/input-file.component.js +3 -3
  552. package/esm5/components/input-file/input-file.module.js +1 -1
  553. package/esm5/components/input-inline/input-inline.component.js +1 -1
  554. package/esm5/components/input-inline/input-inline.module.js +1 -1
  555. package/esm5/components/input-month/input-month.component.js +1 -1
  556. package/esm5/components/input-month-range/input-month-range.component.js +1 -1
  557. package/esm5/components/input-number/input-number.component.js +9 -3
  558. package/esm5/components/input-number/input-number.module.js +1 -1
  559. package/esm5/components/input-password/index.js +2 -2
  560. package/esm5/components/input-password/input-password.component.js +3 -3
  561. package/esm5/components/input-password/input-password.module.js +3 -1
  562. package/esm5/components/input-phone/input-phone.component.js +3 -3
  563. package/esm5/components/input-phone/input-phone.module.js +1 -1
  564. package/esm5/components/input-phone-international/const/countries.js +1 -1
  565. package/esm5/components/input-phone-international/input-phone-international.component.js +2 -2
  566. package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
  567. package/esm5/components/input-range/input-range.component.js +3 -3
  568. package/esm5/components/input-slider/input-slider.component.js +3 -3
  569. package/esm5/components/input-tag/input-tag.component.js +3 -3
  570. package/esm5/components/input-tag/input-tag.module.js +1 -1
  571. package/esm5/components/input-time/input-time.component.js +3 -3
  572. package/esm5/components/input-time/input-time.module.js +1 -1
  573. package/esm5/components/island/island.module.js +1 -1
  574. package/esm5/components/line-clamp/index.js +2 -2
  575. package/esm5/components/line-clamp/line-clamp.component.js +1 -1
  576. package/esm5/components/line-clamp/line-clamp.module.js +1 -1
  577. package/esm5/components/marker-icon/marker-icon.module.js +1 -1
  578. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  579. package/esm5/components/multi-select/index.js +1 -2
  580. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  581. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  582. package/esm5/components/multi-select/multi-select.component.js +12 -24
  583. package/esm5/components/multi-select/multi-select.module.js +2 -4
  584. package/esm5/components/multi-select-option/multi-select-option.component.js +14 -11
  585. package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
  586. package/esm5/components/pagination/pagination.component.js +1 -1
  587. package/esm5/components/pagination/pagination.module.js +1 -1
  588. package/esm5/components/pdf-viewer/index.js +5 -0
  589. package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
  590. package/esm5/components/pdf-viewer/pdf-viewer.component.js +51 -0
  591. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
  592. package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
  593. package/esm5/components/pdf-viewer/pdf-viewer.service.js +27 -0
  594. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  595. package/esm5/components/progress/index.js +5 -3
  596. package/esm5/components/progress/pipes/abstract-color-segments.js +35 -0
  597. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +21 -0
  598. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +16 -30
  599. package/esm5/components/progress/progress-circle/progress-circle.component.js +2 -2
  600. package/esm5/components/progress/progress-label/progress-label.component.js +1 -1
  601. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  602. package/esm5/components/progress/progress.module.js +4 -1
  603. package/esm5/components/radio/radio.component.js +1 -1
  604. package/esm5/components/radio/radio.module.js +1 -1
  605. package/esm5/components/radio-group/radio-group.module.js +1 -1
  606. package/esm5/components/radio-labeled/radio-labeled.component.js +1 -1
  607. package/esm5/components/range/range.component.js +3 -3
  608. package/esm5/components/range/range.module.js +1 -1
  609. package/esm5/components/select/select.component.js +10 -4
  610. package/esm5/components/select/select.module.js +1 -1
  611. package/esm5/components/select-option/select-option.component.js +24 -14
  612. package/esm5/components/select-option/select-option.module.js +1 -1
  613. package/esm5/components/slider/slider.component.js +3 -3
  614. package/esm5/components/slider/slider.module.js +1 -1
  615. package/esm5/components/stepper/step/step.component.js +2 -2
  616. package/esm5/components/stepper/stepper.component.js +1 -1
  617. package/esm5/components/stepper/stepper.module.js +1 -1
  618. package/esm5/components/tabs/index.js +3 -3
  619. package/esm5/components/tabs/tab/tab.component.js +1 -1
  620. package/esm5/components/tabs/tabs/tabs.component.js +2 -2
  621. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  622. package/esm5/components/tabs/tabs.module.js +2 -2
  623. package/esm5/components/tag/tag.component.js +3 -3
  624. package/esm5/components/tag/tag.module.js +1 -1
  625. package/esm5/components/text-area/text-area.component.js +18 -4
  626. package/esm5/components/text-area/text-area.module.js +5 -2
  627. package/esm5/components/text-area/text-area.providers.js +1 -1
  628. package/esm5/components/toggle/index.js +2 -2
  629. package/esm5/components/toggle/toggle.component.js +2 -2
  630. package/esm5/components/toggle/toggle.module.js +1 -1
  631. package/esm5/components/tree/components/tree/tree.component.js +53 -0
  632. package/esm5/components/tree/components/tree-item/tree-item.component.js +68 -0
  633. package/esm5/components/tree/components/tree-item/tree-item.providers.js +18 -0
  634. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +50 -0
  635. package/esm5/components/tree/directives/tree-children.directive.js +25 -0
  636. package/esm5/components/tree/directives/tree-controller.directive.js +64 -0
  637. package/esm5/components/tree/directives/tree-item-controller.directive.js +38 -0
  638. package/esm5/components/tree/directives/tree-node.directive.js +40 -0
  639. package/esm5/components/tree/index.js +13 -0
  640. package/esm5/components/tree/misc/tree.constants.js +9 -0
  641. package/esm5/components/tree/misc/tree.interfaces.js +1 -0
  642. package/esm5/components/tree/misc/tree.service.js +44 -0
  643. package/esm5/components/tree/misc/tree.tokens.js +17 -0
  644. package/esm5/components/tree/taiga-ui-kit-components-tree.js +5 -0
  645. package/esm5/components/tree/tree.module.js +41 -0
  646. package/esm5/directives/dropdown-context/dropdown-context.directive.js +1 -1
  647. package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
  648. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  649. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  650. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  651. package/esm5/directives/highlight/highlight.module.js +1 -1
  652. package/esm5/directives/index.js +2 -2
  653. package/esm5/directives/lazy-loading/lazy-loading.directive.js +1 -1
  654. package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
  655. package/esm5/directives/present/present.module.js +1 -1
  656. package/esm5/directives/project-class/project-class.module.js +1 -1
  657. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  658. package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
  659. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  660. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  661. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  662. package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
  663. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  664. package/esm5/pipes/stringify/stringify.module.js +1 -1
  665. package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
  666. package/esm5/tokens/index.js +2 -2
  667. package/esm5/types/status.js +1 -1
  668. package/esm5/utils/format/string-hash-to-hsl.js +1 -3
  669. package/esm5/utils/mask/index.js +2 -2
  670. package/fesm2015/taiga-ui-kit-components-accordion.js +5 -6
  671. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  672. package/fesm2015/taiga-ui-kit-components-action.js +2 -2
  673. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  674. package/fesm2015/taiga-ui-kit-components-avatar.js +1 -1
  675. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  676. package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
  677. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  678. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
  679. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  680. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +4 -4
  681. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  682. package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -1
  683. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  684. package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -1
  685. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  686. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  687. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -4
  688. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  689. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  690. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  691. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  692. package/fesm2015/taiga-ui-kit-components-filter.js +1 -1
  693. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  694. package/fesm2015/taiga-ui-kit-components-input-copy.js +2 -2
  695. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  696. package/fesm2015/taiga-ui-kit-components-input-count.js +7 -2
  697. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  698. package/fesm2015/taiga-ui-kit-components-input-date-range.js +2 -2
  699. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  700. package/fesm2015/taiga-ui-kit-components-input-date-time.js +2 -2
  701. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  702. package/fesm2015/taiga-ui-kit-components-input-date.js +2 -2
  703. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  704. package/fesm2015/taiga-ui-kit-components-input-file.js +148 -148
  705. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  706. package/fesm2015/taiga-ui-kit-components-input-inline.js +1 -1
  707. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  708. package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -1
  709. package/fesm2015/taiga-ui-kit-components-input-month.js +1 -1
  710. package/fesm2015/taiga-ui-kit-components-input-number.js +8 -2
  711. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  712. package/fesm2015/taiga-ui-kit-components-input-password.js +5 -4
  713. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  714. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +1 -1
  715. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  716. package/fesm2015/taiga-ui-kit-components-input-phone.js +2 -2
  717. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  718. package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
  719. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  720. package/fesm2015/taiga-ui-kit-components-input-slider.js +2 -2
  721. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  722. package/fesm2015/taiga-ui-kit-components-input-tag.js +2 -2
  723. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  724. package/fesm2015/taiga-ui-kit-components-input-time.js +2 -2
  725. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  726. package/fesm2015/taiga-ui-kit-components-input.js +1 -1
  727. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  728. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  729. package/fesm2015/taiga-ui-kit-components-line-clamp.js +2 -2
  730. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  731. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  732. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -9
  733. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  734. package/fesm2015/taiga-ui-kit-components-multi-select.js +21 -40
  735. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  736. package/fesm2015/taiga-ui-kit-components-pagination.js +1 -1
  737. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  738. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +108 -0
  739. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  740. package/fesm2015/taiga-ui-kit-components-progress.js +41 -16
  741. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  742. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +1 -1
  744. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-range.js +2 -2
  746. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-select-option.js +19 -11
  748. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-select.js +5 -3
  750. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-slider.js +2 -2
  752. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-stepper.js +1 -1
  754. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-tabs.js +3 -3
  756. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-tag.js +2 -2
  758. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-components-text-area.js +12 -3
  760. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-components-toggle.js +2 -2
  762. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-components-tree.js +371 -0
  764. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -0
  765. package/fesm2015/taiga-ui-kit-components.js +4 -2
  766. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  768. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  770. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  772. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  774. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  776. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-directives.js +1 -1
  778. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  779. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  780. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
  781. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  782. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  784. package/fesm2015/taiga-ui-kit-tokens.js +14 -14
  785. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  786. package/fesm2015/taiga-ui-kit-utils-format.js +0 -2
  787. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  788. package/fesm5/taiga-ui-kit-components-accordion.js +5 -6
  789. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  790. package/fesm5/taiga-ui-kit-components-action.js +2 -2
  791. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  792. package/fesm5/taiga-ui-kit-components-avatar.js +1 -1
  793. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  794. package/fesm5/taiga-ui-kit-components-badge.js +2 -2
  795. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  796. package/fesm5/taiga-ui-kit-components-badged-content.js +1 -1
  797. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  798. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +4 -4
  799. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  800. package/fesm5/taiga-ui-kit-components-calendar-month.js +1 -1
  801. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  802. package/fesm5/taiga-ui-kit-components-calendar-range.js +1 -1
  803. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  804. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  805. package/fesm5/taiga-ui-kit-components-combo-box.js +13 -4
  806. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  807. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  808. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  809. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  810. package/fesm5/taiga-ui-kit-components-filter.js +1 -1
  811. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  812. package/fesm5/taiga-ui-kit-components-input-copy.js +2 -2
  813. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  814. package/fesm5/taiga-ui-kit-components-input-count.js +7 -2
  815. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  816. package/fesm5/taiga-ui-kit-components-input-date-range.js +2 -2
  817. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  818. package/fesm5/taiga-ui-kit-components-input-date-time.js +2 -2
  819. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  820. package/fesm5/taiga-ui-kit-components-input-date.js +2 -2
  821. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  822. package/fesm5/taiga-ui-kit-components-input-file.js +194 -194
  823. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  824. package/fesm5/taiga-ui-kit-components-input-inline.js +1 -1
  825. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  826. package/fesm5/taiga-ui-kit-components-input-month-range.js +1 -1
  827. package/fesm5/taiga-ui-kit-components-input-month.js +1 -1
  828. package/fesm5/taiga-ui-kit-components-input-number.js +8 -2
  829. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  830. package/fesm5/taiga-ui-kit-components-input-password.js +5 -4
  831. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  832. package/fesm5/taiga-ui-kit-components-input-phone-international.js +1 -1
  833. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  834. package/fesm5/taiga-ui-kit-components-input-phone.js +2 -2
  835. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  836. package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
  837. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  838. package/fesm5/taiga-ui-kit-components-input-slider.js +2 -2
  839. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  840. package/fesm5/taiga-ui-kit-components-input-tag.js +2 -2
  841. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  842. package/fesm5/taiga-ui-kit-components-input-time.js +2 -2
  843. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  844. package/fesm5/taiga-ui-kit-components-input.js +1 -1
  845. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  846. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  847. package/fesm5/taiga-ui-kit-components-line-clamp.js +2 -2
  848. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  849. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  850. package/fesm5/taiga-ui-kit-components-multi-select-option.js +13 -10
  851. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  852. package/fesm5/taiga-ui-kit-components-multi-select.js +21 -47
  853. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  854. package/fesm5/taiga-ui-kit-components-pagination.js +1 -1
  855. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  856. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +120 -0
  857. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  858. package/fesm5/taiga-ui-kit-components-progress.js +55 -19
  859. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  860. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  861. package/fesm5/taiga-ui-kit-components-radio-labeled.js +1 -1
  862. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  863. package/fesm5/taiga-ui-kit-components-range.js +2 -2
  864. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  865. package/fesm5/taiga-ui-kit-components-select-option.js +23 -13
  866. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  867. package/fesm5/taiga-ui-kit-components-select.js +9 -3
  868. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  869. package/fesm5/taiga-ui-kit-components-slider.js +2 -2
  870. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  871. package/fesm5/taiga-ui-kit-components-stepper.js +1 -1
  872. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-tabs.js +3 -3
  874. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-tag.js +2 -2
  876. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  877. package/fesm5/taiga-ui-kit-components-text-area.js +20 -3
  878. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  879. package/fesm5/taiga-ui-kit-components-toggle.js +2 -2
  880. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-tree.js +417 -0
  882. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -0
  883. package/fesm5/taiga-ui-kit-components.js +4 -2
  884. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  886. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  888. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  889. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  890. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  891. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  892. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  893. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  895. package/fesm5/taiga-ui-kit-directives.js +1 -1
  896. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  897. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
  899. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  901. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-tokens.js +14 -14
  903. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-utils-format.js +0 -2
  905. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  906. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  907. package/package.json +5 -5
  908. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
  909. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
  910. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
  911. package/tokens/index.d.ts +1 -1
  912. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  913. package/types/status.d.ts +1 -1
  914. package/utils/mask/index.d.ts +1 -1
  915. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
  916. package/components/multi-select/multi-select-group/multi-select-group-reset.directive.d.ts +0 -3
  917. package/esm2015/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -20
  918. package/esm5/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -23
@@ -0,0 +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","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ff/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";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
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})}));
16
+ //# sourceMappingURL=taiga-ui-kit-components-tree.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/tree/directives/tree-children.directive.ts","ng://@taiga-ui/kit/components/tree/components/tree-item-content/tree-item-content.component.ts","ng://@taiga-ui/kit/components/tree/misc/tree.constants.ts","ng://@taiga-ui/kit/components/tree/misc/tree.tokens.ts","ng://@taiga-ui/kit/components/tree/components/tree/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"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","TuiTreeChildrenDirective","this","childrenHandler","TuiTreeChildrenDirective_1","defaultHandler","item","Array","isArray","EMPTY_ARRAY","Input","tuiDefaultProp","Directive","selector","TuiTreeItemContentComponent","context","controller","prototype","$implicit","isExpanded","isExpandable","TUI_DEFAULT_TREE_CONTROLLER","onClick","_a","toggle","Inject","args","POLYMORPHEUS_CONTEXT","forwardRef","TUI_TREE_CONTROLLER","HostBinding","Component","template","changeDetection","ChangeDetectionStrategy","OnPush","TUI_TREE_ITEM_CONTENT","PolymorpheusComponent","ALWAYS_TRUE_HANDLER","EMPTY_FUNCTION","TUI_TREE_ACCESSOR","InjectionToken","factory","TUI_TREE_NODE","TUI_TREE_LOADING","TUI_TREE_START","TUI_TREE_LOADER","TUI_TREE_CONTENT","TUI_TREE_LEVEL","TuiTreeComponent","directive","content","String","_b","value","type","Optional","TuiTreeComponent_1","providers","provide","useExisting","host","role","TUI_TREE_ITEM_PROVIDERS","deps","SkipSelf","useFactory","treeLevelFactory","TuiTreeItemComponent","level","elementRef","_this","change$","Subject","nested","EMPTY_QUERY","expanded$","pipe","startWith","map","distinctUntilChanged","attached$","nativeElement","isConnected","ngDoCheck","next","ElementRef","ContentChildren","TuiTreeControllerDirective","fallback","Map","toggled","EventEmitter","items","register","set","unregister","delete","get","expanded","isPresent","emit","Output","TuiTreeControllerDirective_1","exportAs","TuiTreeItemControllerDirective","WeakMap","TuiTreeItemControllerDirective_1","TuiTreeNodeDirective","component","ngOnDestroy","TuiTreeService","loading","start","loader","load$","data$","switchMap","loadChildren","tap","children","filter","hasChildren","forEach","child","mapTo","getChildren","Injectable","TuiTreeModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiExpandModule","TuiButtonModule","entryComponents","declarations","exports"],"mappings":";;;;;;;;;;;;;;oFAoDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAGzD,SAASO,EAAQC,EAAYC,GAChC,OAAO,SAAUhB,EAAQC,GAAOe,EAAUhB,EAAQC,EAAKc,qBCtD3D,SAAAE,IAGIC,KAAAC,gBACIC,EAAyBC,qBAKjC,SATaJ,EAMFA,EAAAI,eAAP,SAAyBC,GACrB,OAAOC,MAAMC,QAAQF,GAAQA,EAAOG,EAAAA,aAJxC3B,EAAA,CAFC4B,EAAAA,QACAC,EAAAA,wDAFQV,EAAwBG,EAAAtB,EAAA,CAHpC8B,EAAAA,UAAU,CACPC,SAAU,+BAEDZ,mBCcT,SAAAa,EAC2CC,EAEtBC,GAFsBd,KAAAa,QAAAA,EAEtBb,KAAAc,WAAAA,EAkBzB,OAfIxB,OAAAK,eAAIiB,EAAAG,UAAA,aAAU,KAAd,WACI,OAAOf,KAAKa,QAAQG,UAAUC,4CAIlC3B,OAAAK,eAAIiB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,OAAAA,EAASC,QAAO,SAAAnH,GAAQ,OAACiE,EAAK2C,OAAOQ,YAAYpH,SACjEiH,EAAAA,KAAI,SAAAC,GAAY,OAAAA,EAASG,SAAQ,SAAAC,GAAS,OAAArD,EAAKQ,IAAIgB,IAAI6B,EAAO,cAGtE9C,EAAAA,UAAU,MACV+C,EAAAA,MAAM3H,KAAK+G,QAqBnB,OAZIF,EAAA9F,UAAA6G,YAAA,SAAYxH,SACR,OAAyB,QAAzBiB,EAAOrB,KAAK6E,IAAImB,IAAI5F,UAAK,IAAAiB,EAAAA,EAAI,CAACrB,KAAK8G,UAGvCD,EAAA9F,UAAAqG,aAAA,SAAahH,GACLJ,KAAK6E,IAAImB,IAAI5F,KAIjBJ,KAAK6E,IAAIgB,IAAIzF,EAAM,CAACJ,KAAK8G,UACzB9G,KAAKiH,MAAM9B,KAAK/E,uEAffmB,EAAAA,OAAMC,KAAA,CAACkB,qCACPnB,EAAAA,OAAMC,KAAA,CAACmB,qCACPpB,EAAAA,OAAMC,KAAA,CAACoB,QApBHiE,EAAcjI,EAAA,CAD1BiJ,EAAAA,aAmBQjI,EAAA,EAAA2B,EAAAA,OAAOmB,IACP9C,EAAA,EAAA2B,EAAAA,OAAOoB,IACP/C,EAAA,EAAA2B,EAAAA,OAAOqB,KApBHiE,mBCwBb,SAAAiB,KAA4B,OAAfA,EAAalJ,EAAA,CApBzBmJ,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,mBAAoBC,EAAAA,gBAAiBC,EAAAA,iBAC7DC,gBAAiB,CAACzH,GAClB0H,aAAc,CACVvF,EACAmB,EACAtD,EACAb,EACAwG,EACAjB,EACAoB,GAEJ6B,QAAS,CACLxF,EACAmB,EACAnE,EACAwG,EACAjB,MAGKwC","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"]}
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/components/accordion'), require('@taiga-ui/kit/components/action'), require('@taiga-ui/kit/components/arrow'), require('@taiga-ui/kit/components/avatar'), require('@taiga-ui/kit/components/badge'), require('@taiga-ui/kit/components/badged-content'), require('@taiga-ui/kit/components/breadcrumbs'), require('@taiga-ui/kit/components/calendar-month'), require('@taiga-ui/kit/components/calendar-range'), require('@taiga-ui/kit/components/checkbox'), require('@taiga-ui/kit/components/checkbox-block'), require('@taiga-ui/kit/components/checkbox-labeled'), require('@taiga-ui/kit/components/combo-box'), require('@taiga-ui/kit/components/data-list-wrapper'), require('@taiga-ui/kit/components/field-error'), require('@taiga-ui/kit/components/filter'), require('@taiga-ui/kit/components/input-inline'), require('@taiga-ui/kit/components/input'), require('@taiga-ui/kit/components/input-copy'), require('@taiga-ui/kit/components/input-count'), require('@taiga-ui/kit/components/input-date'), require('@taiga-ui/kit/components/input-date-range'), require('@taiga-ui/kit/components/input-date-time'), require('@taiga-ui/kit/components/input-file'), require('@taiga-ui/kit/components/input-month'), require('@taiga-ui/kit/components/input-month-range'), require('@taiga-ui/kit/components/input-number'), require('@taiga-ui/kit/components/input-password'), require('@taiga-ui/kit/components/input-phone'), require('@taiga-ui/kit/components/input-range'), require('@taiga-ui/kit/components/input-slider'), require('@taiga-ui/kit/components/input-tag'), require('@taiga-ui/kit/components/input-time'), require('@taiga-ui/kit/components/input-phone-international'), require('@taiga-ui/kit/components/island'), require('@taiga-ui/kit/components/line-clamp'), require('@taiga-ui/kit/components/marker-icon'), require('@taiga-ui/kit/components/multi-select'), require('@taiga-ui/kit/components/multi-select-option'), require('@taiga-ui/kit/components/pagination'), require('@taiga-ui/kit/components/progress'), require('@taiga-ui/kit/components/radio'), require('@taiga-ui/kit/components/radio-block'), require('@taiga-ui/kit/components/radio-group'), require('@taiga-ui/kit/components/radio-labeled'), require('@taiga-ui/kit/components/radio-list'), require('@taiga-ui/kit/components/range'), require('@taiga-ui/kit/components/select'), require('@taiga-ui/kit/components/select-option'), require('@taiga-ui/kit/components/slider'), require('@taiga-ui/kit/components/stepper'), require('@taiga-ui/kit/components/tabs'), require('@taiga-ui/kit/components/tag'), require('@taiga-ui/kit/components/text-area'), require('@taiga-ui/kit/components/toggle')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components', ['exports', '@taiga-ui/kit/components/accordion', '@taiga-ui/kit/components/action', '@taiga-ui/kit/components/arrow', '@taiga-ui/kit/components/avatar', '@taiga-ui/kit/components/badge', '@taiga-ui/kit/components/badged-content', '@taiga-ui/kit/components/breadcrumbs', '@taiga-ui/kit/components/calendar-month', '@taiga-ui/kit/components/calendar-range', '@taiga-ui/kit/components/checkbox', '@taiga-ui/kit/components/checkbox-block', '@taiga-ui/kit/components/checkbox-labeled', '@taiga-ui/kit/components/combo-box', '@taiga-ui/kit/components/data-list-wrapper', '@taiga-ui/kit/components/field-error', '@taiga-ui/kit/components/filter', '@taiga-ui/kit/components/input-inline', '@taiga-ui/kit/components/input', '@taiga-ui/kit/components/input-copy', '@taiga-ui/kit/components/input-count', '@taiga-ui/kit/components/input-date', '@taiga-ui/kit/components/input-date-range', '@taiga-ui/kit/components/input-date-time', '@taiga-ui/kit/components/input-file', '@taiga-ui/kit/components/input-month', '@taiga-ui/kit/components/input-month-range', '@taiga-ui/kit/components/input-number', '@taiga-ui/kit/components/input-password', '@taiga-ui/kit/components/input-phone', '@taiga-ui/kit/components/input-range', '@taiga-ui/kit/components/input-slider', '@taiga-ui/kit/components/input-tag', '@taiga-ui/kit/components/input-time', '@taiga-ui/kit/components/input-phone-international', '@taiga-ui/kit/components/island', '@taiga-ui/kit/components/line-clamp', '@taiga-ui/kit/components/marker-icon', '@taiga-ui/kit/components/multi-select', '@taiga-ui/kit/components/multi-select-option', '@taiga-ui/kit/components/pagination', '@taiga-ui/kit/components/progress', '@taiga-ui/kit/components/radio', '@taiga-ui/kit/components/radio-block', '@taiga-ui/kit/components/radio-group', '@taiga-ui/kit/components/radio-labeled', '@taiga-ui/kit/components/radio-list', '@taiga-ui/kit/components/range', '@taiga-ui/kit/components/select', '@taiga-ui/kit/components/select-option', '@taiga-ui/kit/components/slider', '@taiga-ui/kit/components/stepper', '@taiga-ui/kit/components/tabs', '@taiga-ui/kit/components/tag', '@taiga-ui/kit/components/text-area', '@taiga-ui/kit/components/toggle'], factory) :
4
- (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui'].kit = global['taiga-ui'].kit || {}, global['taiga-ui'].kit.components = {}), global['taiga-ui'].kit.components.accordion, global['taiga-ui'].kit.components.action, global['taiga-ui'].kit.components.arrow, global['taiga-ui'].kit.components.avatar, global['taiga-ui'].kit.components.badge, global['taiga-ui'].kit.components['badged-content'], global['taiga-ui'].kit.components.breadcrumbs, global['taiga-ui'].kit.components['calendar-month'], global['taiga-ui'].kit.components['calendar-range'], global['taiga-ui'].kit.components.checkbox, global['taiga-ui'].kit.components['checkbox-block'], global['taiga-ui'].kit.components['checkbox-labeled'], global['taiga-ui'].kit.components['combo-box'], global['taiga-ui'].kit.components['data-list-wrapper'], global['taiga-ui'].kit.components['field-error'], global['taiga-ui'].kit.components.filter, global['taiga-ui'].kit.components['input-inline'], global['taiga-ui'].kit.components.input, global['taiga-ui'].kit.components['input-copy'], global['taiga-ui'].kit.components['input-count'], global['taiga-ui'].kit.components['input-date'], global['taiga-ui'].kit.components['input-date-range'], global['taiga-ui'].kit.components['input-date-time'], global['taiga-ui'].kit.components['input-file'], global['taiga-ui'].kit.components['input-month'], global['taiga-ui'].kit.components['input-month-range'], global['taiga-ui'].kit.components['input-number'], global['taiga-ui'].kit.components['input-password'], global['taiga-ui'].kit.components['input-phone'], global['taiga-ui'].kit.components['input-range'], global['taiga-ui'].kit.components['input-slider'], global['taiga-ui'].kit.components['input-tag'], global['taiga-ui'].kit.components['input-time'], global['taiga-ui'].kit.components['input-phone-international'], global['taiga-ui'].kit.components.island, global['taiga-ui'].kit.components['line-clamp'], global['taiga-ui'].kit.components['marker-icon'], global['taiga-ui'].kit.components['multi-select'], global['taiga-ui'].kit.components['multi-select-option'], global['taiga-ui'].kit.components.pagination, global['taiga-ui'].kit.components.progress, global['taiga-ui'].kit.components.radio, global['taiga-ui'].kit.components['radio-block'], global['taiga-ui'].kit.components['radio-group'], global['taiga-ui'].kit.components['radio-labeled'], global['taiga-ui'].kit.components['radio-list'], global['taiga-ui'].kit.components.range, global['taiga-ui'].kit.components.select, global['taiga-ui'].kit.components['select-option'], global['taiga-ui'].kit.components.slider, global['taiga-ui'].kit.components.stepper, global['taiga-ui'].kit.components.tabs, global['taiga-ui'].kit.components.tag, global['taiga-ui'].kit.components['text-area'], global['taiga-ui'].kit.components.toggle));
5
- }(this, (function (exports, accordion, action, arrow, avatar, badge, badgedContent, breadcrumbs, calendarMonth, calendarRange, checkbox, checkboxBlock, checkboxLabeled, comboBox, dataListWrapper, fieldError, filter, inputInline, input, inputCopy, inputCount, inputDate, inputDateRange, inputDateTime, inputFile, inputMonth, inputMonthRange, inputNumber, inputPassword, inputPhone, inputRange, inputSlider, inputTag, inputTime, inputPhoneInternational, island, lineClamp, markerIcon, multiSelect, multiSelectOption, pagination, progress, radio, radioBlock, radioGroup, radioLabeled, radioList, range, select, selectOption, slider, stepper, tabs, tag, textArea, toggle) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/components/accordion'), require('@taiga-ui/kit/components/action'), require('@taiga-ui/kit/components/arrow'), require('@taiga-ui/kit/components/avatar'), require('@taiga-ui/kit/components/badge'), require('@taiga-ui/kit/components/badged-content'), require('@taiga-ui/kit/components/breadcrumbs'), require('@taiga-ui/kit/components/calendar-month'), require('@taiga-ui/kit/components/calendar-range'), require('@taiga-ui/kit/components/checkbox'), require('@taiga-ui/kit/components/checkbox-block'), require('@taiga-ui/kit/components/checkbox-labeled'), require('@taiga-ui/kit/components/combo-box'), require('@taiga-ui/kit/components/data-list-wrapper'), require('@taiga-ui/kit/components/field-error'), require('@taiga-ui/kit/components/filter'), require('@taiga-ui/kit/components/input'), require('@taiga-ui/kit/components/input-copy'), require('@taiga-ui/kit/components/input-count'), require('@taiga-ui/kit/components/input-date'), require('@taiga-ui/kit/components/input-date-range'), require('@taiga-ui/kit/components/input-date-time'), require('@taiga-ui/kit/components/input-file'), require('@taiga-ui/kit/components/input-inline'), require('@taiga-ui/kit/components/input-month'), require('@taiga-ui/kit/components/input-month-range'), require('@taiga-ui/kit/components/input-number'), require('@taiga-ui/kit/components/input-password'), require('@taiga-ui/kit/components/input-phone'), require('@taiga-ui/kit/components/input-phone-international'), require('@taiga-ui/kit/components/input-range'), require('@taiga-ui/kit/components/input-slider'), require('@taiga-ui/kit/components/input-tag'), require('@taiga-ui/kit/components/input-time'), require('@taiga-ui/kit/components/island'), require('@taiga-ui/kit/components/line-clamp'), require('@taiga-ui/kit/components/marker-icon'), require('@taiga-ui/kit/components/multi-select'), require('@taiga-ui/kit/components/multi-select-option'), require('@taiga-ui/kit/components/pagination'), require('@taiga-ui/kit/components/pdf-viewer'), require('@taiga-ui/kit/components/progress'), require('@taiga-ui/kit/components/radio'), require('@taiga-ui/kit/components/radio-block'), require('@taiga-ui/kit/components/radio-group'), require('@taiga-ui/kit/components/radio-labeled'), require('@taiga-ui/kit/components/radio-list'), require('@taiga-ui/kit/components/range'), require('@taiga-ui/kit/components/select'), require('@taiga-ui/kit/components/select-option'), require('@taiga-ui/kit/components/slider'), require('@taiga-ui/kit/components/stepper'), require('@taiga-ui/kit/components/tabs'), require('@taiga-ui/kit/components/tag'), require('@taiga-ui/kit/components/text-area'), require('@taiga-ui/kit/components/toggle'), require('@taiga-ui/kit/components/tree')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components', ['exports', '@taiga-ui/kit/components/accordion', '@taiga-ui/kit/components/action', '@taiga-ui/kit/components/arrow', '@taiga-ui/kit/components/avatar', '@taiga-ui/kit/components/badge', '@taiga-ui/kit/components/badged-content', '@taiga-ui/kit/components/breadcrumbs', '@taiga-ui/kit/components/calendar-month', '@taiga-ui/kit/components/calendar-range', '@taiga-ui/kit/components/checkbox', '@taiga-ui/kit/components/checkbox-block', '@taiga-ui/kit/components/checkbox-labeled', '@taiga-ui/kit/components/combo-box', '@taiga-ui/kit/components/data-list-wrapper', '@taiga-ui/kit/components/field-error', '@taiga-ui/kit/components/filter', '@taiga-ui/kit/components/input', '@taiga-ui/kit/components/input-copy', '@taiga-ui/kit/components/input-count', '@taiga-ui/kit/components/input-date', '@taiga-ui/kit/components/input-date-range', '@taiga-ui/kit/components/input-date-time', '@taiga-ui/kit/components/input-file', '@taiga-ui/kit/components/input-inline', '@taiga-ui/kit/components/input-month', '@taiga-ui/kit/components/input-month-range', '@taiga-ui/kit/components/input-number', '@taiga-ui/kit/components/input-password', '@taiga-ui/kit/components/input-phone', '@taiga-ui/kit/components/input-phone-international', '@taiga-ui/kit/components/input-range', '@taiga-ui/kit/components/input-slider', '@taiga-ui/kit/components/input-tag', '@taiga-ui/kit/components/input-time', '@taiga-ui/kit/components/island', '@taiga-ui/kit/components/line-clamp', '@taiga-ui/kit/components/marker-icon', '@taiga-ui/kit/components/multi-select', '@taiga-ui/kit/components/multi-select-option', '@taiga-ui/kit/components/pagination', '@taiga-ui/kit/components/pdf-viewer', '@taiga-ui/kit/components/progress', '@taiga-ui/kit/components/radio', '@taiga-ui/kit/components/radio-block', '@taiga-ui/kit/components/radio-group', '@taiga-ui/kit/components/radio-labeled', '@taiga-ui/kit/components/radio-list', '@taiga-ui/kit/components/range', '@taiga-ui/kit/components/select', '@taiga-ui/kit/components/select-option', '@taiga-ui/kit/components/slider', '@taiga-ui/kit/components/stepper', '@taiga-ui/kit/components/tabs', '@taiga-ui/kit/components/tag', '@taiga-ui/kit/components/text-area', '@taiga-ui/kit/components/toggle', '@taiga-ui/kit/components/tree'], factory) :
4
+ (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui'].kit = global['taiga-ui'].kit || {}, global['taiga-ui'].kit.components = {}), global['taiga-ui'].kit.components.accordion, global['taiga-ui'].kit.components.action, global['taiga-ui'].kit.components.arrow, global['taiga-ui'].kit.components.avatar, global['taiga-ui'].kit.components.badge, global['taiga-ui'].kit.components['badged-content'], global['taiga-ui'].kit.components.breadcrumbs, global['taiga-ui'].kit.components['calendar-month'], global['taiga-ui'].kit.components['calendar-range'], global['taiga-ui'].kit.components.checkbox, global['taiga-ui'].kit.components['checkbox-block'], global['taiga-ui'].kit.components['checkbox-labeled'], global['taiga-ui'].kit.components['combo-box'], global['taiga-ui'].kit.components['data-list-wrapper'], global['taiga-ui'].kit.components['field-error'], global['taiga-ui'].kit.components.filter, global['taiga-ui'].kit.components.input, global['taiga-ui'].kit.components['input-copy'], global['taiga-ui'].kit.components['input-count'], global['taiga-ui'].kit.components['input-date'], global['taiga-ui'].kit.components['input-date-range'], global['taiga-ui'].kit.components['input-date-time'], global['taiga-ui'].kit.components['input-file'], global['taiga-ui'].kit.components['input-inline'], global['taiga-ui'].kit.components['input-month'], global['taiga-ui'].kit.components['input-month-range'], global['taiga-ui'].kit.components['input-number'], global['taiga-ui'].kit.components['input-password'], global['taiga-ui'].kit.components['input-phone'], global['taiga-ui'].kit.components['input-phone-international'], global['taiga-ui'].kit.components['input-range'], global['taiga-ui'].kit.components['input-slider'], global['taiga-ui'].kit.components['input-tag'], global['taiga-ui'].kit.components['input-time'], global['taiga-ui'].kit.components.island, global['taiga-ui'].kit.components['line-clamp'], global['taiga-ui'].kit.components['marker-icon'], global['taiga-ui'].kit.components['multi-select'], global['taiga-ui'].kit.components['multi-select-option'], global['taiga-ui'].kit.components.pagination, global['taiga-ui'].kit.components['pdf-viewer'], global['taiga-ui'].kit.components.progress, global['taiga-ui'].kit.components.radio, global['taiga-ui'].kit.components['radio-block'], global['taiga-ui'].kit.components['radio-group'], global['taiga-ui'].kit.components['radio-labeled'], global['taiga-ui'].kit.components['radio-list'], global['taiga-ui'].kit.components.range, global['taiga-ui'].kit.components.select, global['taiga-ui'].kit.components['select-option'], global['taiga-ui'].kit.components.slider, global['taiga-ui'].kit.components.stepper, global['taiga-ui'].kit.components.tabs, global['taiga-ui'].kit.components.tag, global['taiga-ui'].kit.components['text-area'], global['taiga-ui'].kit.components.toggle, global['taiga-ui'].kit.components.tree));
5
+ }(this, (function (exports, accordion, action, arrow, avatar, badge, badgedContent, breadcrumbs, calendarMonth, calendarRange, checkbox, checkboxBlock, checkboxLabeled, comboBox, dataListWrapper, fieldError, filter, input, inputCopy, inputCount, inputDate, inputDateRange, inputDateTime, inputFile, inputInline, inputMonth, inputMonthRange, inputNumber, inputPassword, inputPhone, inputPhoneInternational, inputRange, inputSlider, inputTag, inputTime, island, lineClamp, markerIcon, multiSelect, multiSelectOption, pagination, pdfViewer, progress, radio, radioBlock, radioGroup, radioLabeled, radioList, range, select, selectOption, slider, stepper, tabs, tag, textArea, toggle, tree) { 'use strict';
6
6
 
7
7
  /**
8
8
  * Generated bundle index. Do not edit.
@@ -136,14 +136,6 @@
136
136
  }
137
137
  });
138
138
  });
139
- Object.keys(inputInline).forEach(function (k) {
140
- if (k !== 'default') Object.defineProperty(exports, k, {
141
- enumerable: true,
142
- get: function () {
143
- return inputInline[k];
144
- }
145
- });
146
- });
147
139
  Object.keys(input).forEach(function (k) {
148
140
  if (k !== 'default') Object.defineProperty(exports, k, {
149
141
  enumerable: true,
@@ -200,6 +192,14 @@
200
192
  }
201
193
  });
202
194
  });
195
+ Object.keys(inputInline).forEach(function (k) {
196
+ if (k !== 'default') Object.defineProperty(exports, k, {
197
+ enumerable: true,
198
+ get: function () {
199
+ return inputInline[k];
200
+ }
201
+ });
202
+ });
203
203
  Object.keys(inputMonth).forEach(function (k) {
204
204
  if (k !== 'default') Object.defineProperty(exports, k, {
205
205
  enumerable: true,
@@ -240,6 +240,14 @@
240
240
  }
241
241
  });
242
242
  });
243
+ Object.keys(inputPhoneInternational).forEach(function (k) {
244
+ if (k !== 'default') Object.defineProperty(exports, k, {
245
+ enumerable: true,
246
+ get: function () {
247
+ return inputPhoneInternational[k];
248
+ }
249
+ });
250
+ });
243
251
  Object.keys(inputRange).forEach(function (k) {
244
252
  if (k !== 'default') Object.defineProperty(exports, k, {
245
253
  enumerable: true,
@@ -272,14 +280,6 @@
272
280
  }
273
281
  });
274
282
  });
275
- Object.keys(inputPhoneInternational).forEach(function (k) {
276
- if (k !== 'default') Object.defineProperty(exports, k, {
277
- enumerable: true,
278
- get: function () {
279
- return inputPhoneInternational[k];
280
- }
281
- });
282
- });
283
283
  Object.keys(island).forEach(function (k) {
284
284
  if (k !== 'default') Object.defineProperty(exports, k, {
285
285
  enumerable: true,
@@ -328,6 +328,14 @@
328
328
  }
329
329
  });
330
330
  });
331
+ Object.keys(pdfViewer).forEach(function (k) {
332
+ if (k !== 'default') Object.defineProperty(exports, k, {
333
+ enumerable: true,
334
+ get: function () {
335
+ return pdfViewer[k];
336
+ }
337
+ });
338
+ });
331
339
  Object.keys(progress).forEach(function (k) {
332
340
  if (k !== 'default') Object.defineProperty(exports, k, {
333
341
  enumerable: true,
@@ -448,6 +456,14 @@
448
456
  }
449
457
  });
450
458
  });
459
+ Object.keys(tree).forEach(function (k) {
460
+ if (k !== 'default') Object.defineProperty(exports, k, {
461
+ enumerable: true,
462
+ get: function () {
463
+ return tree[k];
464
+ }
465
+ });
466
+ });
451
467
 
452
468
  Object.defineProperty(exports, '__esModule', { value: true });
453
469
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components.umd.js","sources":["ng://@taiga-ui/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components.umd.js","sources":["ng://@taiga-ui/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@taiga-ui/kit/components/accordion"),require("@taiga-ui/kit/components/action"),require("@taiga-ui/kit/components/arrow"),require("@taiga-ui/kit/components/avatar"),require("@taiga-ui/kit/components/badge"),require("@taiga-ui/kit/components/badged-content"),require("@taiga-ui/kit/components/breadcrumbs"),require("@taiga-ui/kit/components/calendar-month"),require("@taiga-ui/kit/components/calendar-range"),require("@taiga-ui/kit/components/checkbox"),require("@taiga-ui/kit/components/checkbox-block"),require("@taiga-ui/kit/components/checkbox-labeled"),require("@taiga-ui/kit/components/combo-box"),require("@taiga-ui/kit/components/data-list-wrapper"),require("@taiga-ui/kit/components/field-error"),require("@taiga-ui/kit/components/filter"),require("@taiga-ui/kit/components/input-inline"),require("@taiga-ui/kit/components/input"),require("@taiga-ui/kit/components/input-copy"),require("@taiga-ui/kit/components/input-count"),require("@taiga-ui/kit/components/input-date"),require("@taiga-ui/kit/components/input-date-range"),require("@taiga-ui/kit/components/input-date-time"),require("@taiga-ui/kit/components/input-file"),require("@taiga-ui/kit/components/input-month"),require("@taiga-ui/kit/components/input-month-range"),require("@taiga-ui/kit/components/input-number"),require("@taiga-ui/kit/components/input-password"),require("@taiga-ui/kit/components/input-phone"),require("@taiga-ui/kit/components/input-range"),require("@taiga-ui/kit/components/input-slider"),require("@taiga-ui/kit/components/input-tag"),require("@taiga-ui/kit/components/input-time"),require("@taiga-ui/kit/components/input-phone-international"),require("@taiga-ui/kit/components/island"),require("@taiga-ui/kit/components/line-clamp"),require("@taiga-ui/kit/components/marker-icon"),require("@taiga-ui/kit/components/multi-select"),require("@taiga-ui/kit/components/multi-select-option"),require("@taiga-ui/kit/components/pagination"),require("@taiga-ui/kit/components/progress"),require("@taiga-ui/kit/components/radio"),require("@taiga-ui/kit/components/radio-block"),require("@taiga-ui/kit/components/radio-group"),require("@taiga-ui/kit/components/radio-labeled"),require("@taiga-ui/kit/components/radio-list"),require("@taiga-ui/kit/components/range"),require("@taiga-ui/kit/components/select"),require("@taiga-ui/kit/components/select-option"),require("@taiga-ui/kit/components/slider"),require("@taiga-ui/kit/components/stepper"),require("@taiga-ui/kit/components/tabs"),require("@taiga-ui/kit/components/tag"),require("@taiga-ui/kit/components/text-area"),require("@taiga-ui/kit/components/toggle")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components",["exports","@taiga-ui/kit/components/accordion","@taiga-ui/kit/components/action","@taiga-ui/kit/components/arrow","@taiga-ui/kit/components/avatar","@taiga-ui/kit/components/badge","@taiga-ui/kit/components/badged-content","@taiga-ui/kit/components/breadcrumbs","@taiga-ui/kit/components/calendar-month","@taiga-ui/kit/components/calendar-range","@taiga-ui/kit/components/checkbox","@taiga-ui/kit/components/checkbox-block","@taiga-ui/kit/components/checkbox-labeled","@taiga-ui/kit/components/combo-box","@taiga-ui/kit/components/data-list-wrapper","@taiga-ui/kit/components/field-error","@taiga-ui/kit/components/filter","@taiga-ui/kit/components/input-inline","@taiga-ui/kit/components/input","@taiga-ui/kit/components/input-copy","@taiga-ui/kit/components/input-count","@taiga-ui/kit/components/input-date","@taiga-ui/kit/components/input-date-range","@taiga-ui/kit/components/input-date-time","@taiga-ui/kit/components/input-file","@taiga-ui/kit/components/input-month","@taiga-ui/kit/components/input-month-range","@taiga-ui/kit/components/input-number","@taiga-ui/kit/components/input-password","@taiga-ui/kit/components/input-phone","@taiga-ui/kit/components/input-range","@taiga-ui/kit/components/input-slider","@taiga-ui/kit/components/input-tag","@taiga-ui/kit/components/input-time","@taiga-ui/kit/components/input-phone-international","@taiga-ui/kit/components/island","@taiga-ui/kit/components/line-clamp","@taiga-ui/kit/components/marker-icon","@taiga-ui/kit/components/multi-select","@taiga-ui/kit/components/multi-select-option","@taiga-ui/kit/components/pagination","@taiga-ui/kit/components/progress","@taiga-ui/kit/components/radio","@taiga-ui/kit/components/radio-block","@taiga-ui/kit/components/radio-group","@taiga-ui/kit/components/radio-labeled","@taiga-ui/kit/components/radio-list","@taiga-ui/kit/components/range","@taiga-ui/kit/components/select","@taiga-ui/kit/components/select-option","@taiga-ui/kit/components/slider","@taiga-ui/kit/components/stepper","@taiga-ui/kit/components/tabs","@taiga-ui/kit/components/tag","@taiga-ui/kit/components/text-area","@taiga-ui/kit/components/toggle"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].kit=t["taiga-ui"].kit||{},t["taiga-ui"].kit.components={}),t["taiga-ui"].kit.components.accordion,t["taiga-ui"].kit.components.action,t["taiga-ui"].kit.components.arrow,t["taiga-ui"].kit.components.avatar,t["taiga-ui"].kit.components.badge,t["taiga-ui"].kit.components["badged-content"],t["taiga-ui"].kit.components.breadcrumbs,t["taiga-ui"].kit.components["calendar-month"],t["taiga-ui"].kit.components["calendar-range"],t["taiga-ui"].kit.components.checkbox,t["taiga-ui"].kit.components["checkbox-block"],t["taiga-ui"].kit.components["checkbox-labeled"],t["taiga-ui"].kit.components["combo-box"],t["taiga-ui"].kit.components["data-list-wrapper"],t["taiga-ui"].kit.components["field-error"],t["taiga-ui"].kit.components.filter,t["taiga-ui"].kit.components["input-inline"],t["taiga-ui"].kit.components.input,t["taiga-ui"].kit.components["input-copy"],t["taiga-ui"].kit.components["input-count"],t["taiga-ui"].kit.components["input-date"],t["taiga-ui"].kit.components["input-date-range"],t["taiga-ui"].kit.components["input-date-time"],t["taiga-ui"].kit.components["input-file"],t["taiga-ui"].kit.components["input-month"],t["taiga-ui"].kit.components["input-month-range"],t["taiga-ui"].kit.components["input-number"],t["taiga-ui"].kit.components["input-password"],t["taiga-ui"].kit.components["input-phone"],t["taiga-ui"].kit.components["input-range"],t["taiga-ui"].kit.components["input-slider"],t["taiga-ui"].kit.components["input-tag"],t["taiga-ui"].kit.components["input-time"],t["taiga-ui"].kit.components["input-phone-international"],t["taiga-ui"].kit.components.island,t["taiga-ui"].kit.components["line-clamp"],t["taiga-ui"].kit.components["marker-icon"],t["taiga-ui"].kit.components["multi-select"],t["taiga-ui"].kit.components["multi-select-option"],t["taiga-ui"].kit.components.pagination,t["taiga-ui"].kit.components.progress,t["taiga-ui"].kit.components.radio,t["taiga-ui"].kit.components["radio-block"],t["taiga-ui"].kit.components["radio-group"],t["taiga-ui"].kit.components["radio-labeled"],t["taiga-ui"].kit.components["radio-list"],t["taiga-ui"].kit.components.range,t["taiga-ui"].kit.components.select,t["taiga-ui"].kit.components["select-option"],t["taiga-ui"].kit.components.slider,t["taiga-ui"].kit.components.stepper,t["taiga-ui"].kit.components.tabs,t["taiga-ui"].kit.components.tag,t["taiga-ui"].kit.components["text-area"],t["taiga-ui"].kit.components.toggle)}(this,(function(t,e,i,n,o,a,u,r,c,p,f,s,g,m,k,b,l,d,y,j,O,h,P,q,E,x,w,v,_,M,z,A,B,C,D,F,G,H,I,J,K,L,N,Q,R,S,T,U,V,W,X,Y,Z,$,tt,et){"use strict";Object.keys(e).forEach((function(i){"default"!==i&&Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[i]}})})),Object.keys(i).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})),Object.keys(n).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})})),Object.keys(o).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})),Object.keys(a).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})})),Object.keys(u).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})})),Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})})),Object.keys(c).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})})),Object.keys(p).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})})),Object.keys(f).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})})),Object.keys(s).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})})),Object.keys(g).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})})),Object.keys(m).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})})),Object.keys(k).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}})})),Object.keys(b).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})})),Object.keys(l).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})})),Object.keys(d).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})})),Object.keys(y).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})})),Object.keys(j).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}})})),Object.keys(O).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}})})),Object.keys(h).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})})),Object.keys(P).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return P[e]}})})),Object.keys(q).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return q[e]}})})),Object.keys(E).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})})),Object.keys(x).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}})})),Object.keys(w).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})})),Object.keys(v).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})})),Object.keys(_).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})})),Object.keys(M).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return M[e]}})})),Object.keys(z).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return z[e]}})})),Object.keys(A).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}})})),Object.keys(B).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}})})),Object.keys(C).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}})})),Object.keys(D).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}})})),Object.keys(F).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}})})),Object.keys(G).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return G[e]}})})),Object.keys(H).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}})})),Object.keys(I).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}})})),Object.keys(J).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}})})),Object.keys(K).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return K[e]}})})),Object.keys(L).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}})})),Object.keys(N).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return N[e]}})})),Object.keys(Q).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}})})),Object.keys(R).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return R[e]}})})),Object.keys(S).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}})})),Object.keys(T).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}})})),Object.keys(U).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return U[e]}})})),Object.keys(V).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}})})),Object.keys(W).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return W[e]}})})),Object.keys(X).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return X[e]}})})),Object.keys(Y).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Y[e]}})})),Object.keys(Z).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return Z[e]}})})),Object.keys($).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return $[e]}})})),Object.keys(tt).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return tt[e]}})})),Object.keys(et).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return et[e]}})})),Object.defineProperty(t,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@taiga-ui/kit/components/accordion"),require("@taiga-ui/kit/components/action"),require("@taiga-ui/kit/components/arrow"),require("@taiga-ui/kit/components/avatar"),require("@taiga-ui/kit/components/badge"),require("@taiga-ui/kit/components/badged-content"),require("@taiga-ui/kit/components/breadcrumbs"),require("@taiga-ui/kit/components/calendar-month"),require("@taiga-ui/kit/components/calendar-range"),require("@taiga-ui/kit/components/checkbox"),require("@taiga-ui/kit/components/checkbox-block"),require("@taiga-ui/kit/components/checkbox-labeled"),require("@taiga-ui/kit/components/combo-box"),require("@taiga-ui/kit/components/data-list-wrapper"),require("@taiga-ui/kit/components/field-error"),require("@taiga-ui/kit/components/filter"),require("@taiga-ui/kit/components/input"),require("@taiga-ui/kit/components/input-copy"),require("@taiga-ui/kit/components/input-count"),require("@taiga-ui/kit/components/input-date"),require("@taiga-ui/kit/components/input-date-range"),require("@taiga-ui/kit/components/input-date-time"),require("@taiga-ui/kit/components/input-file"),require("@taiga-ui/kit/components/input-inline"),require("@taiga-ui/kit/components/input-month"),require("@taiga-ui/kit/components/input-month-range"),require("@taiga-ui/kit/components/input-number"),require("@taiga-ui/kit/components/input-password"),require("@taiga-ui/kit/components/input-phone"),require("@taiga-ui/kit/components/input-phone-international"),require("@taiga-ui/kit/components/input-range"),require("@taiga-ui/kit/components/input-slider"),require("@taiga-ui/kit/components/input-tag"),require("@taiga-ui/kit/components/input-time"),require("@taiga-ui/kit/components/island"),require("@taiga-ui/kit/components/line-clamp"),require("@taiga-ui/kit/components/marker-icon"),require("@taiga-ui/kit/components/multi-select"),require("@taiga-ui/kit/components/multi-select-option"),require("@taiga-ui/kit/components/pagination"),require("@taiga-ui/kit/components/pdf-viewer"),require("@taiga-ui/kit/components/progress"),require("@taiga-ui/kit/components/radio"),require("@taiga-ui/kit/components/radio-block"),require("@taiga-ui/kit/components/radio-group"),require("@taiga-ui/kit/components/radio-labeled"),require("@taiga-ui/kit/components/radio-list"),require("@taiga-ui/kit/components/range"),require("@taiga-ui/kit/components/select"),require("@taiga-ui/kit/components/select-option"),require("@taiga-ui/kit/components/slider"),require("@taiga-ui/kit/components/stepper"),require("@taiga-ui/kit/components/tabs"),require("@taiga-ui/kit/components/tag"),require("@taiga-ui/kit/components/text-area"),require("@taiga-ui/kit/components/toggle"),require("@taiga-ui/kit/components/tree")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components",["exports","@taiga-ui/kit/components/accordion","@taiga-ui/kit/components/action","@taiga-ui/kit/components/arrow","@taiga-ui/kit/components/avatar","@taiga-ui/kit/components/badge","@taiga-ui/kit/components/badged-content","@taiga-ui/kit/components/breadcrumbs","@taiga-ui/kit/components/calendar-month","@taiga-ui/kit/components/calendar-range","@taiga-ui/kit/components/checkbox","@taiga-ui/kit/components/checkbox-block","@taiga-ui/kit/components/checkbox-labeled","@taiga-ui/kit/components/combo-box","@taiga-ui/kit/components/data-list-wrapper","@taiga-ui/kit/components/field-error","@taiga-ui/kit/components/filter","@taiga-ui/kit/components/input","@taiga-ui/kit/components/input-copy","@taiga-ui/kit/components/input-count","@taiga-ui/kit/components/input-date","@taiga-ui/kit/components/input-date-range","@taiga-ui/kit/components/input-date-time","@taiga-ui/kit/components/input-file","@taiga-ui/kit/components/input-inline","@taiga-ui/kit/components/input-month","@taiga-ui/kit/components/input-month-range","@taiga-ui/kit/components/input-number","@taiga-ui/kit/components/input-password","@taiga-ui/kit/components/input-phone","@taiga-ui/kit/components/input-phone-international","@taiga-ui/kit/components/input-range","@taiga-ui/kit/components/input-slider","@taiga-ui/kit/components/input-tag","@taiga-ui/kit/components/input-time","@taiga-ui/kit/components/island","@taiga-ui/kit/components/line-clamp","@taiga-ui/kit/components/marker-icon","@taiga-ui/kit/components/multi-select","@taiga-ui/kit/components/multi-select-option","@taiga-ui/kit/components/pagination","@taiga-ui/kit/components/pdf-viewer","@taiga-ui/kit/components/progress","@taiga-ui/kit/components/radio","@taiga-ui/kit/components/radio-block","@taiga-ui/kit/components/radio-group","@taiga-ui/kit/components/radio-labeled","@taiga-ui/kit/components/radio-list","@taiga-ui/kit/components/range","@taiga-ui/kit/components/select","@taiga-ui/kit/components/select-option","@taiga-ui/kit/components/slider","@taiga-ui/kit/components/stepper","@taiga-ui/kit/components/tabs","@taiga-ui/kit/components/tag","@taiga-ui/kit/components/text-area","@taiga-ui/kit/components/toggle","@taiga-ui/kit/components/tree"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components={}),e["taiga-ui"].kit.components.accordion,e["taiga-ui"].kit.components.action,e["taiga-ui"].kit.components.arrow,e["taiga-ui"].kit.components.avatar,e["taiga-ui"].kit.components.badge,e["taiga-ui"].kit.components["badged-content"],e["taiga-ui"].kit.components.breadcrumbs,e["taiga-ui"].kit.components["calendar-month"],e["taiga-ui"].kit.components["calendar-range"],e["taiga-ui"].kit.components.checkbox,e["taiga-ui"].kit.components["checkbox-block"],e["taiga-ui"].kit.components["checkbox-labeled"],e["taiga-ui"].kit.components["combo-box"],e["taiga-ui"].kit.components["data-list-wrapper"],e["taiga-ui"].kit.components["field-error"],e["taiga-ui"].kit.components.filter,e["taiga-ui"].kit.components.input,e["taiga-ui"].kit.components["input-copy"],e["taiga-ui"].kit.components["input-count"],e["taiga-ui"].kit.components["input-date"],e["taiga-ui"].kit.components["input-date-range"],e["taiga-ui"].kit.components["input-date-time"],e["taiga-ui"].kit.components["input-file"],e["taiga-ui"].kit.components["input-inline"],e["taiga-ui"].kit.components["input-month"],e["taiga-ui"].kit.components["input-month-range"],e["taiga-ui"].kit.components["input-number"],e["taiga-ui"].kit.components["input-password"],e["taiga-ui"].kit.components["input-phone"],e["taiga-ui"].kit.components["input-phone-international"],e["taiga-ui"].kit.components["input-range"],e["taiga-ui"].kit.components["input-slider"],e["taiga-ui"].kit.components["input-tag"],e["taiga-ui"].kit.components["input-time"],e["taiga-ui"].kit.components.island,e["taiga-ui"].kit.components["line-clamp"],e["taiga-ui"].kit.components["marker-icon"],e["taiga-ui"].kit.components["multi-select"],e["taiga-ui"].kit.components["multi-select-option"],e["taiga-ui"].kit.components.pagination,e["taiga-ui"].kit.components["pdf-viewer"],e["taiga-ui"].kit.components.progress,e["taiga-ui"].kit.components.radio,e["taiga-ui"].kit.components["radio-block"],e["taiga-ui"].kit.components["radio-group"],e["taiga-ui"].kit.components["radio-labeled"],e["taiga-ui"].kit.components["radio-list"],e["taiga-ui"].kit.components.range,e["taiga-ui"].kit.components.select,e["taiga-ui"].kit.components["select-option"],e["taiga-ui"].kit.components.slider,e["taiga-ui"].kit.components.stepper,e["taiga-ui"].kit.components.tabs,e["taiga-ui"].kit.components.tag,e["taiga-ui"].kit.components["text-area"],e["taiga-ui"].kit.components.toggle,e["taiga-ui"].kit.components.tree)}(this,(function(e,t,i,n,o,a,u,r,c,p,f,s,g,m,k,b,l,d,y,j,O,h,P,q,E,x,w,v,_,M,z,A,B,C,D,F,G,H,I,J,K,L,N,Q,R,S,T,U,V,W,X,Y,Z,$,ee,te,ie,ne){"use strict";Object.keys(t).forEach((function(i){"default"!==i&&Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}})})),Object.keys(i).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})})),Object.keys(n).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})),Object.keys(o).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})),Object.keys(a).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})})),Object.keys(u).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}})})),Object.keys(r).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})),Object.keys(c).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}})})),Object.keys(p).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}})})),Object.keys(f).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}})})),Object.keys(s).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})})),Object.keys(g).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return g[t]}})})),Object.keys(m).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}})})),Object.keys(k).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return k[t]}})})),Object.keys(b).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}})})),Object.keys(l).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}})})),Object.keys(d).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}})})),Object.keys(y).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}})})),Object.keys(j).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return j[t]}})})),Object.keys(O).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}})})),Object.keys(h).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}})})),Object.keys(P).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return P[t]}})})),Object.keys(q).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return q[t]}})})),Object.keys(E).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return E[t]}})})),Object.keys(x).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return x[t]}})})),Object.keys(w).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return w[t]}})})),Object.keys(v).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return v[t]}})})),Object.keys(_).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return _[t]}})})),Object.keys(M).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return M[t]}})})),Object.keys(z).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return z[t]}})})),Object.keys(A).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return A[t]}})})),Object.keys(B).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return B[t]}})})),Object.keys(C).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return C[t]}})})),Object.keys(D).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return D[t]}})})),Object.keys(F).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return F[t]}})})),Object.keys(G).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return G[t]}})})),Object.keys(H).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return H[t]}})})),Object.keys(I).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return I[t]}})})),Object.keys(J).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return J[t]}})})),Object.keys(K).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return K[t]}})})),Object.keys(L).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return L[t]}})})),Object.keys(N).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return N[t]}})})),Object.keys(Q).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return Q[t]}})})),Object.keys(R).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return R[t]}})})),Object.keys(S).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return S[t]}})})),Object.keys(T).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return T[t]}})})),Object.keys(U).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return U[t]}})})),Object.keys(V).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return V[t]}})})),Object.keys(W).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return W[t]}})})),Object.keys(X).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return X[t]}})})),Object.keys(Y).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return Y[t]}})})),Object.keys(Z).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return Z[t]}})})),Object.keys($).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return $[t]}})})),Object.keys(ee).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return ee[t]}})})),Object.keys(te).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return te[t]}})})),Object.keys(ie).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return ie[t]}})})),Object.keys(ne).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return ne[t]}})})),Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=taiga-ui-kit-components.umd.min.js.map