@taiga-ui/kit 2.24.0 → 2.27.1

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 (1002) hide show
  1. package/abstract/input-slider.d.ts +5 -5
  2. package/abstract/slider/slider.d.ts +5 -5
  3. package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.js +9 -9
  5. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-abstract.umd.min.js +1 -1
  7. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-accordion.umd.js +23 -7
  9. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +2 -2
  11. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-action.umd.js +3 -3
  13. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  15. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +4 -4
  25. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
  27. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +7 -7
  29. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  31. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-carousel.umd.js +527 -0
  35. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -0
  36. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +16 -0
  37. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -0
  38. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +3 -3
  39. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  41. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +3 -3
  43. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  45. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-checkbox.umd.js +3 -3
  47. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  49. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-combo-box.umd.js +18 -19
  51. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  53. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +7 -7
  55. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  57. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-filter.umd.js +8 -8
  61. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  63. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-copy.umd.js +4 -4
  65. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  67. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-count.umd.js +3 -3
  69. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  71. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +16 -13
  73. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  75. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +20 -17
  77. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-date.umd.js +17 -14
  81. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  83. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-file.umd.js +190 -190
  85. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
  87. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-inline.umd.js +5 -4
  89. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  91. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +4 -3
  93. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  95. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-month.umd.js +4 -3
  97. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-number.umd.js +17 -31
  101. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +2 -2
  103. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -3
  105. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  107. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +22 -22
  109. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  111. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-phone.umd.js +6 -6
  113. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  115. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-slider.umd.js +3 -3
  117. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  119. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-input-tag.umd.js +31 -31
  121. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  123. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-input-time.umd.js +16 -16
  125. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  127. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-input.umd.js +7 -7
  129. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  131. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +11 -11
  135. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +2 -2
  137. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +1 -1
  139. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  141. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-multi-select.umd.js +17 -17
  145. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +1 -1
  147. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-pagination.umd.js +4 -4
  149. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  151. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +330 -0
  153. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
  154. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
  155. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
  156. package/bundles/taiga-ui-kit-components-progress.umd.js +29 -29
  157. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  159. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-radio-block.umd.js +3 -3
  161. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  163. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +3 -3
  167. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  169. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-radio-list.umd.js +7 -7
  171. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-radio.umd.js +3 -3
  175. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  177. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  182. package/bundles/taiga-ui-kit-components-select.umd.js +9 -12
  183. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-select.umd.min.js +1 -1
  185. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-stepper.umd.js +18 -18
  189. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  191. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  192. package/bundles/taiga-ui-kit-components-tabs.umd.js +22 -22
  193. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  194. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  195. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  198. package/bundles/taiga-ui-kit-components-text-area.umd.js +4 -4
  199. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  201. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  202. package/bundles/taiga-ui-kit-components-toggle.umd.js +3 -3
  203. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  204. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  205. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  206. package/bundles/taiga-ui-kit-components-tree.umd.js +148 -137
  207. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  208. package/bundles/taiga-ui-kit-components-tree.umd.min.js +2 -2
  209. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  210. package/bundles/taiga-ui-kit-components.umd.js +42 -26
  211. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  212. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  213. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +2 -4
  214. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +1 -1
  216. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  217. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  218. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  219. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +3 -2
  220. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  221. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  222. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  223. package/bundles/taiga-ui-kit-directives-highlight.umd.js +7 -2
  224. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  225. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +1 -1
  226. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  227. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +7 -1
  228. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  229. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +1 -1
  230. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  231. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  232. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  233. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  234. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  235. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  236. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  237. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  238. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  239. package/bundles/taiga-ui-kit-directives.umd.js +12 -12
  240. package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
  241. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +2 -2
  242. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  243. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  244. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  245. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
  246. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  247. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
  248. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  249. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  250. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  251. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  252. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  253. package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
  254. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  255. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  256. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  257. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +2 -0
  258. package/components/accordion/accordion-item/accordion-item.component.d.ts +4 -2
  259. package/components/accordion/index.d.ts +1 -0
  260. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  261. package/components/action/action.component.d.ts +1 -1
  262. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  263. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  264. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  265. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  266. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  267. package/components/breadcrumbs/index.d.ts +1 -1
  268. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  269. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  270. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  271. package/components/calendar-range/calendar-range.component.d.ts +1 -1
  272. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  273. package/components/carousel/carousel-autoscroll.directive.d.ts +5 -0
  274. package/components/carousel/carousel-buttons.directive.d.ts +4 -0
  275. package/components/carousel/carousel-scroll.directive.d.ts +6 -0
  276. package/components/carousel/carousel.component.d.ts +29 -0
  277. package/components/carousel/carousel.directive.d.ts +11 -0
  278. package/components/carousel/carousel.module.d.ts +2 -0
  279. package/components/carousel/index.d.ts +6 -0
  280. package/components/carousel/package.json +13 -0
  281. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +4 -0
  282. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -0
  283. package/components/checkbox/checkbox.component.d.ts +1 -1
  284. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  285. package/components/checkbox-block/checkbox-block.component.d.ts +1 -1
  286. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  287. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +1 -1
  288. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  289. package/components/combo-box/combo-box.component.d.ts +5 -5
  290. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  291. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +2 -2
  292. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  293. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  294. package/components/filter/filter.component.d.ts +2 -2
  295. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  296. package/components/index.d.ts +5 -3
  297. package/components/input/input.component.d.ts +3 -3
  298. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  299. package/components/input-copy/input-copy.component.d.ts +2 -2
  300. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  301. package/components/input-count/input-count.component.d.ts +2 -2
  302. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  303. package/components/input-date/input-date.component.d.ts +4 -4
  304. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  305. package/components/input-date-range/input-date-range.component.d.ts +3 -3
  306. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  307. package/components/input-date-time/input-date-time.component.d.ts +4 -4
  308. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  309. package/components/input-file/index.d.ts +1 -1
  310. package/components/input-file/input-file.component.d.ts +1 -1
  311. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  312. package/components/input-inline/input-inline.component.d.ts +1 -1
  313. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  314. package/components/input-month/input-month.component.d.ts +1 -1
  315. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  316. package/components/input-month-range/input-month-range.component.d.ts +1 -1
  317. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  318. package/components/input-number/input-number.component.d.ts +3 -4
  319. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  320. package/components/input-password/index.d.ts +1 -1
  321. package/components/input-password/input-password.component.d.ts +2 -2
  322. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  323. package/components/input-phone/input-phone.component.d.ts +3 -3
  324. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  325. package/components/input-phone-international/input-phone-international.component.d.ts +6 -6
  326. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  327. package/components/input-slider/input-slider.component.d.ts +1 -1
  328. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  329. package/components/input-tag/input-tag.component.d.ts +11 -11
  330. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  331. package/components/input-time/input-time.component.d.ts +4 -4
  332. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  333. package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
  334. package/components/line-clamp/index.d.ts +1 -1
  335. package/components/line-clamp/line-clamp.component.d.ts +4 -4
  336. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  337. package/components/marker-icon/marker-icon.component.d.ts +1 -1
  338. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  339. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  340. package/components/multi-select/multi-select.component.d.ts +7 -7
  341. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  342. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  343. package/components/pagination/pagination.component.d.ts +1 -1
  344. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  345. package/components/pdf-viewer/index.d.ts +5 -0
  346. package/components/pdf-viewer/package.json +13 -0
  347. package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
  348. package/components/pdf-viewer/pdf-viewer.component.d.ts +17 -0
  349. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
  350. package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  351. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  352. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
  353. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
  354. package/components/progress/index.d.ts +4 -4
  355. package/components/progress/progress-circle/progress-circle.component.d.ts +1 -1
  356. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  357. package/components/radio/radio.component.d.ts +1 -1
  358. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  359. package/components/radio-block/radio-block.component.d.ts +1 -1
  360. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  361. package/components/radio-group/radio-group.component.d.ts +1 -1
  362. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  363. package/components/radio-labeled/radio-labeled.component.d.ts +1 -1
  364. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  365. package/components/radio-list/radio-list.component.d.ts +3 -3
  366. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  367. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  368. package/components/select/select.component.d.ts +3 -3
  369. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  370. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  371. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  372. package/components/stepper/stepper.component.d.ts +3 -3
  373. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  374. package/components/tabs/index.d.ts +2 -2
  375. package/components/tabs/tabs/tabs.component.d.ts +2 -2
  376. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +2 -2
  377. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  378. package/components/tabs/underline/underline.component.d.ts +2 -2
  379. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  380. package/components/taiga-ui-kit-components.metadata.json +1 -1
  381. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  382. package/components/text-area/text-area.component.d.ts +1 -1
  383. package/components/toggle/index.d.ts +1 -1
  384. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  385. package/components/toggle/toggle.component.d.ts +1 -1
  386. package/components/tree/components/tree/tree.component.d.ts +7 -2
  387. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  388. package/components/tree/directives/tree-item-controller.directive.d.ts +1 -1
  389. package/components/tree/index.d.ts +4 -4
  390. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  391. package/directives/dropdown-context/dropdown-context.directive.d.ts +1 -1
  392. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  393. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
  394. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +3 -3
  395. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  396. package/directives/highlight/highlight.directive.d.ts +2 -1
  397. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  398. package/directives/index.d.ts +1 -1
  399. package/directives/lazy-loading/lazy-loading.directive.d.ts +1 -1
  400. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  401. package/directives/present/present.directive.d.ts +1 -1
  402. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  403. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
  404. package/directives/taiga-ui-kit-directives.metadata.json +1 -1
  405. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
  406. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
  407. package/esm2015/abstract/input-slider.js +2 -2
  408. package/esm2015/abstract/slider/slider.js +9 -9
  409. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  410. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +11 -0
  411. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +10 -6
  412. package/esm2015/components/accordion/accordion.component.js +1 -1
  413. package/esm2015/components/accordion/accordion.module.js +6 -3
  414. package/esm2015/components/accordion/index.js +2 -1
  415. package/esm2015/components/action/action.component.js +4 -4
  416. package/esm2015/components/arrow/arrow.module.js +1 -1
  417. package/esm2015/components/avatar/avatar.module.js +1 -1
  418. package/esm2015/components/badge/badge.module.js +1 -1
  419. package/esm2015/components/badged-content/badged-content.module.js +1 -1
  420. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  421. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
  422. package/esm2015/components/breadcrumbs/index.js +2 -2
  423. package/esm2015/components/calendar-month/calendar-month.component.js +6 -6
  424. package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
  425. package/esm2015/components/calendar-range/calendar-range.component.js +1 -1
  426. package/esm2015/components/carousel/carousel-autoscroll.directive.js +21 -0
  427. package/esm2015/components/carousel/carousel-buttons.directive.js +24 -0
  428. package/esm2015/components/carousel/carousel-scroll.directive.js +26 -0
  429. package/esm2015/components/carousel/carousel.component.js +144 -0
  430. package/esm2015/components/carousel/carousel.directive.js +35 -0
  431. package/esm2015/components/carousel/carousel.module.js +38 -0
  432. package/esm2015/components/carousel/index.js +7 -0
  433. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  434. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  435. package/esm2015/components/checkbox/checkbox.module.js +1 -1
  436. package/esm2015/components/checkbox-block/checkbox-block.component.js +4 -4
  437. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  438. package/esm2015/components/combo-box/combo-box.component.js +19 -20
  439. package/esm2015/components/combo-box/combo-box.module.js +1 -1
  440. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -1
  441. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +8 -8
  442. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  443. package/esm2015/components/field-error/field-error.module.js +1 -1
  444. package/esm2015/components/filter/filter.component.js +9 -9
  445. package/esm2015/components/filter/filter.module.js +1 -1
  446. package/esm2015/components/index.js +6 -4
  447. package/esm2015/components/input/input.component.js +8 -8
  448. package/esm2015/components/input/input.module.js +1 -1
  449. package/esm2015/components/input/input.providers.js +1 -1
  450. package/esm2015/components/input-copy/input-copy.component.js +5 -5
  451. package/esm2015/components/input-copy/input-copy.module.js +1 -1
  452. package/esm2015/components/input-count/input-count.component.js +4 -4
  453. package/esm2015/components/input-count/input-count.module.js +1 -1
  454. package/esm2015/components/input-date/input-date.component.js +18 -15
  455. package/esm2015/components/input-date/input-date.module.js +1 -1
  456. package/esm2015/components/input-date-range/input-date-range.component.js +17 -14
  457. package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
  458. package/esm2015/components/input-date-time/input-date-time.component.js +20 -17
  459. package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
  460. package/esm2015/components/input-file/index.js +2 -2
  461. package/esm2015/components/input-file/input-file.component.js +2 -2
  462. package/esm2015/components/input-file/input-file.module.js +1 -1
  463. package/esm2015/components/input-inline/input-inline.component.js +6 -5
  464. package/esm2015/components/input-inline/input-inline.module.js +1 -1
  465. package/esm2015/components/input-month/input-month.component.js +5 -4
  466. package/esm2015/components/input-month-range/input-month-range.component.js +5 -4
  467. package/esm2015/components/input-number/input-number.component.js +17 -27
  468. package/esm2015/components/input-number/input-number.module.js +1 -1
  469. package/esm2015/components/input-password/index.js +2 -2
  470. package/esm2015/components/input-password/input-password.component.js +4 -4
  471. package/esm2015/components/input-password/input-password.module.js +1 -1
  472. package/esm2015/components/input-phone/input-phone.component.js +7 -7
  473. package/esm2015/components/input-phone/input-phone.module.js +1 -1
  474. package/esm2015/components/input-phone-international/const/countries.js +1 -1
  475. package/esm2015/components/input-phone-international/input-phone-international.component.js +20 -20
  476. package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
  477. package/esm2015/components/input-slider/input-slider.component.js +4 -4
  478. package/esm2015/components/input-tag/input-tag.component.js +32 -32
  479. package/esm2015/components/input-tag/input-tag.module.js +1 -1
  480. package/esm2015/components/input-time/input-time.component.js +17 -17
  481. package/esm2015/components/input-time/input-time.module.js +1 -1
  482. package/esm2015/components/island/island.module.js +1 -1
  483. package/esm2015/components/line-clamp/index.js +2 -2
  484. package/esm2015/components/line-clamp/line-clamp.component.js +8 -8
  485. package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
  486. package/esm2015/components/marker-icon/marker-icon.component.js +2 -2
  487. package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
  488. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  489. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  490. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  491. package/esm2015/components/multi-select/multi-select.component.js +14 -14
  492. package/esm2015/components/multi-select/multi-select.module.js +2 -2
  493. package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
  494. package/esm2015/components/pagination/pagination.component.js +5 -5
  495. package/esm2015/components/pagination/pagination.module.js +1 -1
  496. package/esm2015/components/pdf-viewer/index.js +5 -0
  497. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
  498. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +36 -0
  499. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
  500. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
  501. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +27 -0
  502. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  503. package/esm2015/components/progress/index.js +5 -5
  504. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +1 -1
  505. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +1 -1
  506. package/esm2015/components/progress/progress-circle/progress-circle.component.js +4 -4
  507. package/esm2015/components/progress/progress.module.js +2 -2
  508. package/esm2015/components/radio/radio.component.js +4 -4
  509. package/esm2015/components/radio/radio.module.js +1 -1
  510. package/esm2015/components/radio-block/radio-block.component.js +4 -4
  511. package/esm2015/components/radio-group/radio-group.component.js +1 -1
  512. package/esm2015/components/radio-group/radio-group.module.js +1 -1
  513. package/esm2015/components/radio-labeled/radio-labeled.component.js +4 -4
  514. package/esm2015/components/radio-list/radio-list.component.js +8 -8
  515. package/esm2015/components/range/range.module.js +1 -1
  516. package/esm2015/components/select/select.component.js +10 -13
  517. package/esm2015/components/select/select.module.js +1 -1
  518. package/esm2015/components/select-option/select-option.module.js +1 -1
  519. package/esm2015/components/slider/slider.module.js +1 -1
  520. package/esm2015/components/stepper/step/step.component.js +1 -1
  521. package/esm2015/components/stepper/stepper.component.js +18 -18
  522. package/esm2015/components/stepper/stepper.module.js +1 -1
  523. package/esm2015/components/tabs/index.js +3 -3
  524. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  525. package/esm2015/components/tabs/tabs/tabs.component.js +16 -16
  526. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  527. package/esm2015/components/tabs/tabs.module.js +2 -2
  528. package/esm2015/components/tabs/underline/underline.component.js +3 -3
  529. package/esm2015/components/tag/tag.module.js +1 -1
  530. package/esm2015/components/text-area/text-area.component.js +5 -5
  531. package/esm2015/components/text-area/text-area.module.js +1 -1
  532. package/esm2015/components/text-area/text-area.providers.js +1 -1
  533. package/esm2015/components/toggle/index.js +2 -2
  534. package/esm2015/components/toggle/toggle.component.js +4 -4
  535. package/esm2015/components/toggle/toggle.module.js +1 -1
  536. package/esm2015/components/tree/components/tree/tree.component.js +15 -2
  537. package/esm2015/components/tree/components/tree-item/tree-item.component.js +10 -10
  538. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
  539. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  540. package/esm2015/components/tree/directives/tree-controller.directive.js +1 -1
  541. package/esm2015/components/tree/directives/tree-item-controller.directive.js +2 -2
  542. package/esm2015/components/tree/directives/tree-node.directive.js +1 -1
  543. package/esm2015/components/tree/index.js +4 -4
  544. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  545. package/esm2015/components/tree/misc/tree.interfaces.js +1 -1
  546. package/esm2015/components/tree/misc/tree.service.js +1 -1
  547. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  548. package/esm2015/components/tree/tree.module.js +3 -3
  549. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +3 -5
  550. package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
  551. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  552. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +4 -3
  553. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  554. package/esm2015/directives/highlight/highlight.directive.js +8 -3
  555. package/esm2015/directives/highlight/highlight.module.js +1 -1
  556. package/esm2015/directives/index.js +2 -2
  557. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +4 -2
  558. package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
  559. package/esm2015/directives/present/present.directive.js +1 -1
  560. package/esm2015/directives/present/present.module.js +1 -1
  561. package/esm2015/directives/project-class/project-class.module.js +1 -1
  562. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  563. package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
  564. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  565. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  566. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  567. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
  568. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  569. package/esm2015/pipes/stringify/stringify.module.js +1 -1
  570. package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
  571. package/esm2015/tokens/index.js +2 -2
  572. package/esm2015/utils/mask/index.js +2 -2
  573. package/esm5/abstract/input-slider.js +2 -2
  574. package/esm5/abstract/slider/slider.js +9 -9
  575. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  576. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +14 -0
  577. package/esm5/components/accordion/accordion-item/accordion-item.component.js +10 -6
  578. package/esm5/components/accordion/accordion.component.js +1 -1
  579. package/esm5/components/accordion/accordion.module.js +6 -3
  580. package/esm5/components/accordion/index.js +2 -1
  581. package/esm5/components/action/action.component.js +4 -4
  582. package/esm5/components/arrow/arrow.module.js +1 -1
  583. package/esm5/components/avatar/avatar.module.js +1 -1
  584. package/esm5/components/badge/badge.module.js +1 -1
  585. package/esm5/components/badged-content/badged-content.module.js +1 -1
  586. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  587. package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
  588. package/esm5/components/breadcrumbs/index.js +2 -2
  589. package/esm5/components/calendar-month/calendar-month.component.js +8 -8
  590. package/esm5/components/calendar-month/calendar-month.module.js +1 -1
  591. package/esm5/components/calendar-range/calendar-range.component.js +1 -1
  592. package/esm5/components/carousel/carousel-autoscroll.directive.js +22 -0
  593. package/esm5/components/carousel/carousel-buttons.directive.js +27 -0
  594. package/esm5/components/carousel/carousel-scroll.directive.js +34 -0
  595. package/esm5/components/carousel/carousel.component.js +158 -0
  596. package/esm5/components/carousel/carousel.directive.js +45 -0
  597. package/esm5/components/carousel/carousel.module.js +41 -0
  598. package/esm5/components/carousel/index.js +7 -0
  599. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  600. package/esm5/components/checkbox/checkbox.component.js +4 -4
  601. package/esm5/components/checkbox/checkbox.module.js +1 -1
  602. package/esm5/components/checkbox-block/checkbox-block.component.js +4 -4
  603. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  604. package/esm5/components/combo-box/combo-box.component.js +19 -20
  605. package/esm5/components/combo-box/combo-box.module.js +1 -1
  606. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -1
  607. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +8 -8
  608. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  609. package/esm5/components/field-error/field-error.module.js +1 -1
  610. package/esm5/components/filter/filter.component.js +9 -9
  611. package/esm5/components/filter/filter.module.js +1 -1
  612. package/esm5/components/index.js +6 -4
  613. package/esm5/components/input/input.component.js +8 -8
  614. package/esm5/components/input/input.module.js +1 -1
  615. package/esm5/components/input/input.providers.js +1 -1
  616. package/esm5/components/input-copy/input-copy.component.js +5 -5
  617. package/esm5/components/input-copy/input-copy.module.js +1 -1
  618. package/esm5/components/input-count/input-count.component.js +4 -4
  619. package/esm5/components/input-count/input-count.module.js +1 -1
  620. package/esm5/components/input-date/input-date.component.js +18 -15
  621. package/esm5/components/input-date/input-date.module.js +1 -1
  622. package/esm5/components/input-date-range/input-date-range.component.js +17 -14
  623. package/esm5/components/input-date-range/input-date-range.module.js +1 -1
  624. package/esm5/components/input-date-time/input-date-time.component.js +21 -18
  625. package/esm5/components/input-date-time/input-date-time.module.js +1 -1
  626. package/esm5/components/input-file/index.js +2 -2
  627. package/esm5/components/input-file/input-file.component.js +2 -2
  628. package/esm5/components/input-file/input-file.module.js +1 -1
  629. package/esm5/components/input-inline/input-inline.component.js +6 -5
  630. package/esm5/components/input-inline/input-inline.module.js +1 -1
  631. package/esm5/components/input-month/input-month.component.js +5 -4
  632. package/esm5/components/input-month-range/input-month-range.component.js +5 -4
  633. package/esm5/components/input-number/input-number.component.js +18 -32
  634. package/esm5/components/input-number/input-number.module.js +1 -1
  635. package/esm5/components/input-password/index.js +2 -2
  636. package/esm5/components/input-password/input-password.component.js +4 -4
  637. package/esm5/components/input-password/input-password.module.js +1 -1
  638. package/esm5/components/input-phone/input-phone.component.js +7 -7
  639. package/esm5/components/input-phone/input-phone.module.js +1 -1
  640. package/esm5/components/input-phone-international/const/countries.js +1 -1
  641. package/esm5/components/input-phone-international/input-phone-international.component.js +23 -23
  642. package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
  643. package/esm5/components/input-slider/input-slider.component.js +4 -4
  644. package/esm5/components/input-tag/input-tag.component.js +32 -32
  645. package/esm5/components/input-tag/input-tag.module.js +1 -1
  646. package/esm5/components/input-time/input-time.component.js +17 -17
  647. package/esm5/components/input-time/input-time.module.js +1 -1
  648. package/esm5/components/island/island.module.js +1 -1
  649. package/esm5/components/line-clamp/index.js +2 -2
  650. package/esm5/components/line-clamp/line-clamp.component.js +8 -8
  651. package/esm5/components/line-clamp/line-clamp.module.js +1 -1
  652. package/esm5/components/marker-icon/marker-icon.component.js +2 -2
  653. package/esm5/components/marker-icon/marker-icon.module.js +1 -1
  654. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  655. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  656. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  657. package/esm5/components/multi-select/multi-select.component.js +14 -14
  658. package/esm5/components/multi-select/multi-select.module.js +2 -2
  659. package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
  660. package/esm5/components/pagination/pagination.component.js +5 -5
  661. package/esm5/components/pagination/pagination.module.js +1 -1
  662. package/esm5/components/pdf-viewer/index.js +5 -0
  663. package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
  664. package/esm5/components/pdf-viewer/pdf-viewer.component.js +37 -0
  665. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
  666. package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
  667. package/esm5/components/pdf-viewer/pdf-viewer.service.js +31 -0
  668. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  669. package/esm5/components/progress/index.js +5 -5
  670. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +1 -1
  671. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +1 -1
  672. package/esm5/components/progress/progress-circle/progress-circle.component.js +4 -4
  673. package/esm5/components/progress/progress.module.js +2 -2
  674. package/esm5/components/radio/radio.component.js +4 -4
  675. package/esm5/components/radio/radio.module.js +1 -1
  676. package/esm5/components/radio-block/radio-block.component.js +4 -4
  677. package/esm5/components/radio-group/radio-group.component.js +1 -1
  678. package/esm5/components/radio-group/radio-group.module.js +1 -1
  679. package/esm5/components/radio-labeled/radio-labeled.component.js +4 -4
  680. package/esm5/components/radio-list/radio-list.component.js +8 -8
  681. package/esm5/components/range/range.module.js +1 -1
  682. package/esm5/components/select/select.component.js +10 -13
  683. package/esm5/components/select/select.module.js +1 -1
  684. package/esm5/components/select-option/select-option.module.js +1 -1
  685. package/esm5/components/slider/slider.module.js +1 -1
  686. package/esm5/components/stepper/step/step.component.js +1 -1
  687. package/esm5/components/stepper/stepper.component.js +19 -19
  688. package/esm5/components/stepper/stepper.module.js +1 -1
  689. package/esm5/components/tabs/index.js +3 -3
  690. package/esm5/components/tabs/tab/tab.component.js +1 -1
  691. package/esm5/components/tabs/tabs/tabs.component.js +17 -17
  692. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  693. package/esm5/components/tabs/tabs.module.js +2 -2
  694. package/esm5/components/tabs/underline/underline.component.js +3 -3
  695. package/esm5/components/tag/tag.module.js +1 -1
  696. package/esm5/components/text-area/text-area.component.js +5 -5
  697. package/esm5/components/text-area/text-area.module.js +1 -1
  698. package/esm5/components/text-area/text-area.providers.js +1 -1
  699. package/esm5/components/toggle/index.js +2 -2
  700. package/esm5/components/toggle/toggle.component.js +4 -4
  701. package/esm5/components/toggle/toggle.module.js +1 -1
  702. package/esm5/components/tree/components/tree/tree.component.js +15 -2
  703. package/esm5/components/tree/components/tree-item/tree-item.component.js +10 -10
  704. package/esm5/components/tree/components/tree-item/tree-item.providers.js +1 -1
  705. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  706. package/esm5/components/tree/directives/tree-controller.directive.js +1 -1
  707. package/esm5/components/tree/directives/tree-item-controller.directive.js +2 -2
  708. package/esm5/components/tree/directives/tree-node.directive.js +1 -1
  709. package/esm5/components/tree/index.js +4 -4
  710. package/esm5/components/tree/misc/tree.constants.js +1 -1
  711. package/esm5/components/tree/misc/tree.interfaces.js +1 -1
  712. package/esm5/components/tree/misc/tree.service.js +1 -1
  713. package/esm5/components/tree/misc/tree.tokens.js +1 -1
  714. package/esm5/components/tree/tree.module.js +3 -3
  715. package/esm5/directives/dropdown-context/dropdown-context.directive.js +3 -5
  716. package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
  717. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  718. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +4 -3
  719. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  720. package/esm5/directives/highlight/highlight.directive.js +8 -3
  721. package/esm5/directives/highlight/highlight.module.js +1 -1
  722. package/esm5/directives/index.js +2 -2
  723. package/esm5/directives/lazy-loading/lazy-loading.directive.js +8 -2
  724. package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
  725. package/esm5/directives/present/present.directive.js +1 -1
  726. package/esm5/directives/present/present.module.js +1 -1
  727. package/esm5/directives/project-class/project-class.module.js +1 -1
  728. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  729. package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
  730. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +3 -3
  731. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  732. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  733. package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
  734. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  735. package/esm5/pipes/stringify/stringify.module.js +1 -1
  736. package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
  737. package/esm5/tokens/index.js +2 -2
  738. package/esm5/utils/mask/index.js +2 -2
  739. package/fesm2015/taiga-ui-kit-abstract.js +9 -9
  740. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  741. package/fesm2015/taiga-ui-kit-components-accordion.js +21 -9
  742. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-action.js +4 -4
  744. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  746. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  748. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +2 -2
  750. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-calendar-month.js +5 -5
  752. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  754. package/fesm2015/taiga-ui-kit-components-carousel.js +267 -0
  755. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -0
  756. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +4 -4
  757. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  758. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  759. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  760. package/fesm2015/taiga-ui-kit-components-checkbox.js +4 -4
  761. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  762. package/fesm2015/taiga-ui-kit-components-combo-box.js +20 -21
  763. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  764. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +9 -9
  765. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  766. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-components-filter.js +9 -9
  768. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-components-input-copy.js +5 -5
  770. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-components-input-count.js +4 -4
  772. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-components-input-date-range.js +18 -15
  774. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-components-input-date-time.js +20 -17
  776. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-components-input-date.js +18 -15
  778. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-components-input-file.js +147 -147
  780. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-components-input-inline.js +6 -5
  782. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-components-input-month-range.js +5 -4
  784. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  785. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -4
  786. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  787. package/fesm2015/taiga-ui-kit-components-input-number.js +17 -27
  788. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-components-input-password.js +4 -4
  790. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +20 -20
  792. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-components-input-phone.js +8 -8
  794. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  795. package/fesm2015/taiga-ui-kit-components-input-slider.js +4 -4
  796. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  797. package/fesm2015/taiga-ui-kit-components-input-tag.js +34 -34
  798. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  799. package/fesm2015/taiga-ui-kit-components-input-time.js +17 -17
  800. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  801. package/fesm2015/taiga-ui-kit-components-input.js +9 -9
  802. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  803. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  804. package/fesm2015/taiga-ui-kit-components-line-clamp.js +9 -9
  805. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  806. package/fesm2015/taiga-ui-kit-components-marker-icon.js +1 -1
  807. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  808. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  809. package/fesm2015/taiga-ui-kit-components-multi-select.js +19 -19
  810. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  811. package/fesm2015/taiga-ui-kit-components-pagination.js +6 -6
  812. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  813. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +98 -0
  814. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  815. package/fesm2015/taiga-ui-kit-components-progress.js +14 -14
  816. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  817. package/fesm2015/taiga-ui-kit-components-radio-block.js +4 -4
  818. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  819. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  820. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +4 -4
  821. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  822. package/fesm2015/taiga-ui-kit-components-radio-list.js +9 -9
  823. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  824. package/fesm2015/taiga-ui-kit-components-radio.js +4 -4
  825. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  826. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  827. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  828. package/fesm2015/taiga-ui-kit-components-select.js +11 -14
  829. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  830. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  831. package/fesm2015/taiga-ui-kit-components-stepper.js +18 -18
  832. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  833. package/fesm2015/taiga-ui-kit-components-tabs.js +22 -22
  834. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  835. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  836. package/fesm2015/taiga-ui-kit-components-text-area.js +5 -5
  837. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  838. package/fesm2015/taiga-ui-kit-components-toggle.js +4 -4
  839. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  840. package/fesm2015/taiga-ui-kit-components-tree.js +133 -122
  841. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  842. package/fesm2015/taiga-ui-kit-components.js +5 -3
  843. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  844. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +2 -4
  845. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  846. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  847. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +3 -2
  848. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  849. package/fesm2015/taiga-ui-kit-directives-highlight.js +7 -2
  850. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  851. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +3 -1
  852. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  853. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  854. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  855. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  856. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  857. package/fesm2015/taiga-ui-kit-directives.js +1 -1
  858. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  859. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  860. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
  861. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  862. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  863. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  864. package/fesm2015/taiga-ui-kit-tokens.js +14 -14
  865. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  866. package/fesm5/taiga-ui-kit-abstract.js +9 -9
  867. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  868. package/fesm5/taiga-ui-kit-components-accordion.js +24 -9
  869. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  870. package/fesm5/taiga-ui-kit-components-action.js +4 -4
  871. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  872. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  874. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  876. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +2 -2
  877. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  878. package/fesm5/taiga-ui-kit-components-calendar-month.js +7 -7
  879. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  880. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-carousel.js +306 -0
  882. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -0
  883. package/fesm5/taiga-ui-kit-components-checkbox-block.js +4 -4
  884. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  886. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-components-checkbox.js +4 -4
  888. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  889. package/fesm5/taiga-ui-kit-components-combo-box.js +20 -21
  890. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  891. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +9 -9
  892. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  893. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-components-filter.js +9 -9
  895. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  896. package/fesm5/taiga-ui-kit-components-input-copy.js +5 -5
  897. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-components-input-count.js +4 -4
  899. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-components-input-date-range.js +18 -15
  901. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-components-input-date-time.js +21 -18
  903. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-components-input-date.js +18 -15
  905. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  906. package/fesm5/taiga-ui-kit-components-input-file.js +193 -193
  907. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  908. package/fesm5/taiga-ui-kit-components-input-inline.js +6 -5
  909. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  910. package/fesm5/taiga-ui-kit-components-input-month-range.js +5 -4
  911. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  912. package/fesm5/taiga-ui-kit-components-input-month.js +5 -4
  913. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  914. package/fesm5/taiga-ui-kit-components-input-number.js +18 -32
  915. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  916. package/fesm5/taiga-ui-kit-components-input-password.js +4 -4
  917. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-components-input-phone-international.js +23 -23
  919. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-components-input-phone.js +8 -8
  921. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-components-input-slider.js +4 -4
  923. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-components-input-tag.js +34 -34
  925. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-components-input-time.js +17 -17
  927. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-components-input.js +9 -9
  929. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  930. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  931. package/fesm5/taiga-ui-kit-components-line-clamp.js +9 -9
  932. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  933. package/fesm5/taiga-ui-kit-components-marker-icon.js +1 -1
  934. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  935. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-components-multi-select.js +19 -19
  937. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-components-pagination.js +6 -6
  939. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  940. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +111 -0
  941. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  942. package/fesm5/taiga-ui-kit-components-progress.js +20 -20
  943. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  944. package/fesm5/taiga-ui-kit-components-radio-block.js +4 -4
  945. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  947. package/fesm5/taiga-ui-kit-components-radio-labeled.js +4 -4
  948. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  949. package/fesm5/taiga-ui-kit-components-radio-list.js +9 -9
  950. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  951. package/fesm5/taiga-ui-kit-components-radio.js +4 -4
  952. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  953. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  954. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  955. package/fesm5/taiga-ui-kit-components-select.js +11 -14
  956. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  957. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  958. package/fesm5/taiga-ui-kit-components-stepper.js +19 -19
  959. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  960. package/fesm5/taiga-ui-kit-components-tabs.js +23 -23
  961. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  962. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  963. package/fesm5/taiga-ui-kit-components-text-area.js +5 -5
  964. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  965. package/fesm5/taiga-ui-kit-components-toggle.js +4 -4
  966. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  967. package/fesm5/taiga-ui-kit-components-tree.js +148 -137
  968. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  969. package/fesm5/taiga-ui-kit-components.js +5 -3
  970. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  971. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +2 -4
  972. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  973. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  974. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +3 -2
  975. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  976. package/fesm5/taiga-ui-kit-directives-highlight.js +7 -2
  977. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  978. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +7 -1
  979. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  980. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  981. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  982. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  983. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  984. package/fesm5/taiga-ui-kit-directives.js +1 -1
  985. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +2 -2
  986. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  987. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
  988. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  989. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  990. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  991. package/fesm5/taiga-ui-kit-tokens.js +14 -14
  992. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  993. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +1 -1
  994. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  995. package/package.json +6 -5
  996. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
  997. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
  998. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
  999. package/tokens/index.d.ts +1 -1
  1000. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  1001. package/utils/mask/index.d.ts +1 -1
  1002. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-range.js","sources":["ng://@taiga-ui/kit/components/range/range.component.ts","ng://@taiga-ui/kit/components/range/range.module.ts","ng://@taiga-ui/kit/components/range/taiga-ui-kit-components-range.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocusedIn,\n round,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider, DOT_WIDTH} from '@taiga-ui/kit/abstract';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Component({\n selector: 'tui-range',\n templateUrl: '../../abstract/slider/slider.common.template.html',\n styleUrls: ['../../abstract/slider/slider.common.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRangeComponent),\n },\n ],\n})\nexport class TuiRangeComponent\n extends AbstractTuiSlider<[number, number]>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n if (this.computedDisabled || !this.dotLeft || !this.dotRight) {\n return null;\n }\n\n return this.isLeftFocusable\n ? this.dotLeft.nativeElement\n : this.dotRight.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n get left(): number {\n return 100 * this.getFractionFromValue(this.value[0]);\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value[1]);\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n protected processStep(increment: boolean, right: boolean) {\n const fraction = this.getFractionFromValue(right ? this.value[1] : this.value[0]);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value, right);\n }\n\n protected processValue(value: number, right: boolean) {\n const guardedValue = this.valueGuard(value);\n\n if (right === true) {\n this.updateEnd(guardedValue);\n } else {\n this.updateStart(guardedValue);\n }\n }\n\n protected getCalibratedFractionFromEvents(\n rect: ClientRect,\n clientX: number,\n isMouseDownRight: boolean,\n ): number {\n const value =\n clientX -\n rect.left -\n DOT_WIDTH[this.size] / 2 -\n (isMouseDownRight ? DOT_WIDTH[this.size] : 0);\n const total = rect.width - 2 * DOT_WIDTH[this.size];\n\n return round(value / total, TUI_FLOATING_PRECISION);\n }\n\n private updateStart(value: number) {\n this.updateValue([Math.min(value, this.value[1]), this.value[1]]);\n }\n\n private updateEnd(value: number) {\n this.updateValue([this.value[0], Math.max(value, this.value[0])]);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\nimport {TuiRangeComponent} from './range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiActiveZoneModule,\n TuiFocusVisibleModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [TuiRangeComponent],\n exports: [TuiRangeComponent],\n})\nexport class TuiRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";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+ {"version":3,"file":"taiga-ui-kit-components-range.js","sources":["ng://@taiga-ui/kit/components/range/range.component.ts","ng://@taiga-ui/kit/components/range/range.module.ts","ng://@taiga-ui/kit/components/range/taiga-ui-kit-components-range.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocusedIn,\n round,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider, DOT_WIDTH} from '@taiga-ui/kit/abstract';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Component({\n selector: 'tui-range',\n templateUrl: '../../abstract/slider/slider.common.template.html',\n styleUrls: ['../../abstract/slider/slider.common.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRangeComponent),\n },\n ],\n})\nexport class TuiRangeComponent\n extends AbstractTuiSlider<[number, number]>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n if (this.computedDisabled || !this.dotLeft || !this.dotRight) {\n return null;\n }\n\n return this.isLeftFocusable\n ? this.dotLeft.nativeElement\n : this.dotRight.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n get left(): number {\n return 100 * this.getFractionFromValue(this.value[0]);\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value[1]);\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n protected processStep(increment: boolean, right: boolean) {\n const fraction = this.getFractionFromValue(right ? this.value[1] : this.value[0]);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value, right);\n }\n\n protected processValue(value: number, right: boolean) {\n const guardedValue = this.valueGuard(value);\n\n if (right === true) {\n this.updateEnd(guardedValue);\n } else {\n this.updateStart(guardedValue);\n }\n }\n\n protected getCalibratedFractionFromEvents(\n rect: ClientRect,\n clientX: number,\n isMouseDownRight: boolean,\n ): number {\n const value =\n clientX -\n rect.left -\n DOT_WIDTH[this.size] / 2 -\n (isMouseDownRight ? DOT_WIDTH[this.size] : 0);\n const total = rect.width - 2 * DOT_WIDTH[this.size];\n\n return round(value / total, TUI_FLOATING_PRECISION);\n }\n\n private updateStart(value: number) {\n this.updateValue([Math.min(value, this.value[1]), this.value[1]]);\n }\n\n private updateEnd(value: number) {\n this.updateValue([this.value[0], Math.max(value, this.value[0])]);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\n\nimport {TuiRangeComponent} from './range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiActiveZoneModule,\n TuiFocusVisibleModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [TuiRangeComponent],\n exports: [TuiRangeComponent],\n})\nexport class TuiRangeModule {}\n","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OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;ACxBA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-select-option.js","sources":["ng://@taiga-ui/kit/components/select-option/select-option.component.ts","ng://@taiga-ui/kit/components/select-option/select-option.module.ts","ng://@taiga-ui/kit/components/select-option/taiga-ui-kit-components-select-option.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n OnInit,\n TemplateRef,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isPresent,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TuiContextWithImplicit,\n TuiIdentityMatcher,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TuiDataListHost, TuiOptionComponent} from '@taiga-ui/core';\nimport {POLYMORPHEUS_CONTEXT, PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\nimport {EMPTY, merge} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-select-option',\n templateUrl: './select-option.template.html',\n styleUrls: ['./select-option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSelectOptionComponent<T> implements OnInit {\n readonly selected$ = merge(\n this.control.valueChanges ?? EMPTY,\n typedFromEvent(this.elementRef.nativeElement, 'animationstart'),\n ).pipe(\n startWith(null),\n map(() => this.selected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiContextWithImplicit<TemplateRef<{}>>,\n @Inject(TUI_DATA_LIST_HOST)\n private readonly host: TuiDataListHost<T>,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiOptionComponent) protected readonly option: TuiOptionComponent<T>,\n @Inject(NgControl) protected readonly control: NgControl,\n ) {}\n\n get matcher(): TuiIdentityMatcher<T> {\n return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;\n }\n\n ngOnInit() {\n if (isPresent(this.option.value) && this.host.checkOption) {\n this.host.checkOption(this.option.value);\n }\n }\n\n protected get selected(): boolean {\n return (\n isPresent(this.option.value) &&\n isPresent(this.control.value) &&\n this.matcher(this.control.value, this.option.value)\n );\n }\n}\n\nexport const TUI_SELECT_OPTION = new PolymorpheusComponent(TuiSelectOptionComponent);\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiScrollIntoViewModule, TuiSvgModule} from '@taiga-ui/core';\nimport {TuiSelectOptionComponent} from './select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule, TuiScrollIntoViewModule],\n declarations: [TuiSelectOptionComponent],\n exports: [TuiSelectOptionComponent],\n entryComponents: [TuiSelectOptionComponent],\n})\nexport class TuiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;IAqCI,kCAEa,OAAgD,EAExC,IAAwB,EACJ,UAAmC,EACzB,MAA6B,EACtC,OAAkB;QAP5D,iBAQI;;QANS,YAAO,GAAP,OAAO,CAAyC;QAExC,SAAI,GAAJ,IAAI,CAAoB;QACJ,eAAU,GAAV,UAAU,CAAyB;QACzB,WAAM,GAAN,MAAM,CAAuB;QACtC,YAAO,GAAP,OAAO,CAAW;QAhBnD,cAAS,GAAG,KAAK,OACtB,IAAI,CAAC,OAAO,CAAC,YAAY,mCAAI,KAAK,EAClC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAClE,CAAC,IAAI,CACF,SAAS,CAAC,IAAI,CAAC,EACf,GAAG,CAAC,cAAM,OAAA,KAAI,CAAC,QAAQ,GAAA,CAAC,EACxB,oBAAoB,EAAE,CACzB,CAAC;KAUE;IAEJ,sBAAI,6CAAO;aAAX;YACI,OAAO,IAAI,CAAC,IAAI,CAAC,eAAe,IAAI,4BAA4B,CAAC;SACpE;;;OAAA;IAED,2CAAQ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AAY,EAAE,CAAC,wBAAwB,CAAC;YACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;YACnC,eAAe,EAAE,CAAC,wBAAwB,CAAC;SAC9C,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAArC;;ACXA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-select-option.js","sources":["ng://@taiga-ui/kit/components/select-option/select-option.component.ts","ng://@taiga-ui/kit/components/select-option/select-option.module.ts","ng://@taiga-ui/kit/components/select-option/taiga-ui-kit-components-select-option.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n OnInit,\n TemplateRef,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isPresent,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TuiContextWithImplicit,\n TuiIdentityMatcher,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TuiDataListHost, TuiOptionComponent} from '@taiga-ui/core';\nimport {POLYMORPHEUS_CONTEXT, PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\nimport {EMPTY, merge} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-select-option',\n templateUrl: './select-option.template.html',\n styleUrls: ['./select-option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSelectOptionComponent<T> implements OnInit {\n readonly selected$ = merge(\n this.control.valueChanges ?? EMPTY,\n typedFromEvent(this.elementRef.nativeElement, 'animationstart'),\n ).pipe(\n startWith(null),\n map(() => this.selected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiContextWithImplicit<TemplateRef<{}>>,\n @Inject(TUI_DATA_LIST_HOST)\n private readonly host: TuiDataListHost<T>,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiOptionComponent) protected readonly option: TuiOptionComponent<T>,\n @Inject(NgControl) protected readonly control: NgControl,\n ) {}\n\n get matcher(): TuiIdentityMatcher<T> {\n return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;\n }\n\n ngOnInit() {\n if (isPresent(this.option.value) && this.host.checkOption) {\n this.host.checkOption(this.option.value);\n }\n }\n\n protected get selected(): boolean {\n return (\n isPresent(this.option.value) &&\n isPresent(this.control.value) &&\n this.matcher(this.control.value, this.option.value)\n );\n }\n}\n\nexport const TUI_SELECT_OPTION = new PolymorpheusComponent(TuiSelectOptionComponent);\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiScrollIntoViewModule, TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiSelectOptionComponent} from './select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule, TuiScrollIntoViewModule],\n declarations: [TuiSelectOptionComponent],\n exports: [TuiSelectOptionComponent],\n entryComponents: [TuiSelectOptionComponent],\n})\nexport class TuiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;IAqCI,kCAEa,OAAgD,EAExC,IAAwB,EACJ,UAAmC,EACzB,MAA6B,EACtC,OAAkB;QAP5D,iBAQI;;QANS,YAAO,GAAP,OAAO,CAAyC;QAExC,SAAI,GAAJ,IAAI,CAAoB;QACJ,eAAU,GAAV,UAAU,CAAyB;QACzB,WAAM,GAAN,MAAM,CAAuB;QACtC,YAAO,GAAP,OAAO,CAAW;QAhBnD,cAAS,GAAG,KAAK,OACtB,IAAI,CAAC,OAAO,CAAC,YAAY,mCAAI,KAAK,EAClC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAClE,CAAC,IAAI,CACF,SAAS,CAAC,IAAI,CAAC,EACf,GAAG,CAAC,cAAM,OAAA,KAAI,CAAC,QAAQ,GAAA,CAAC,EACxB,oBAAoB,EAAE,CACzB,CAAC;KAUE;IAE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AAqC;IAAxB,qBAAqB;QANjC,QAAQ,CAAC;YACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,uBAAuB,CAAC;YAC9D,YAAY,EAAE,CAAC,wBAAwB,CAAC;YACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;YACnC,eAAe,EAAE,CAAC,wBAAwB,CAAC;SAC9C,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAArC;;ACZA;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  import { __extends, __decorate, __param } from 'tslib';
2
- import { Optional, Self, Inject, ChangeDetectorRef, Input, ContentChild, TemplateRef, ViewChild, Component, ChangeDetectionStrategy, forwardRef, NgModule } from '@angular/core';
2
+ import { Optional, Self, Inject, ChangeDetectorRef, ViewChild, Input, ContentChild, TemplateRef, Component, ChangeDetectionStrategy, forwardRef, NgModule } from '@angular/core';
3
3
  import { NgControl } from '@angular/forms';
4
4
  import { TUI_DEFAULT_IDENTITY_MATCHER, isNativeFocused, setNativeFocused, tuiDefaultProp, tuiPure, TUI_FOCUSABLE_ITEM_ACCESSOR, AbstractTuiNullableControl, TuiActiveZoneModule } from '@taiga-ui/cdk';
5
- import { TuiTextfieldCleanerDirective, TUI_TEXTFIELD_CLEANER, TuiDataListDirective, TuiPrimitiveTextfieldComponent, TuiHostedDropdownComponent, TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT, TuiPrimitiveTextfieldModule, TuiHostedDropdownModule } from '@taiga-ui/core';
5
+ import { TuiTextfieldCleanerDirective, TUI_TEXTFIELD_CLEANER, TuiPrimitiveTextfieldComponent, TuiHostedDropdownComponent, TuiDataListDirective, TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT, TuiPrimitiveTextfieldModule, TuiHostedDropdownModule } from '@taiga-ui/core';
6
6
  import { TUI_ARROW, TuiArrowModule } from '@taiga-ui/kit/components/arrow';
7
7
  import { TUI_SELECT_OPTION, TuiSelectOptionModule } from '@taiga-ui/kit/components/select-option';
8
8
  import { FIXED_DROPDOWN_CONTROLLER_PROVIDER } from '@taiga-ui/kit/providers';
@@ -65,6 +65,9 @@ var TuiSelectComponent = /** @class */ (function (_super) {
65
65
  enumerable: true,
66
66
  configurable: true
67
67
  });
68
+ TuiSelectComponent.prototype.computeContext = function ($implicit, active) {
69
+ return { $implicit: $implicit, active: active };
70
+ };
68
71
  TuiSelectComponent.prototype.onValueChange = function (value) {
69
72
  if (!value) {
70
73
  this.updateValue(null);
@@ -88,12 +91,6 @@ var TuiSelectComponent = /** @class */ (function (_super) {
88
91
  this.hostedDropdown.updateOpen(false);
89
92
  }
90
93
  };
91
- TuiSelectComponent.prototype.computeContext = function ($implicit, active) {
92
- return {
93
- $implicit: $implicit,
94
- active: active,
95
- };
96
- };
97
94
  TuiSelectComponent.prototype.focusInput = function (preventScroll) {
98
95
  if (preventScroll === void 0) { preventScroll = false; }
99
96
  if (this.nativeFocusableElement) {
@@ -106,6 +103,12 @@ var TuiSelectComponent = /** @class */ (function (_super) {
106
103
  { type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
107
104
  { type: TuiTextfieldCleanerDirective, decorators: [{ type: Inject, args: [TUI_TEXTFIELD_CLEANER,] }] }
108
105
  ]; };
106
+ __decorate([
107
+ ViewChild(TuiPrimitiveTextfieldComponent)
108
+ ], TuiSelectComponent.prototype, "textfield", void 0);
109
+ __decorate([
110
+ ViewChild(TuiHostedDropdownComponent)
111
+ ], TuiSelectComponent.prototype, "hostedDropdown", void 0);
109
112
  __decorate([
110
113
  Input(),
111
114
  tuiDefaultProp()
@@ -117,12 +120,6 @@ var TuiSelectComponent = /** @class */ (function (_super) {
117
120
  __decorate([
118
121
  ContentChild(TuiDataListDirective, { read: TemplateRef })
119
122
  ], TuiSelectComponent.prototype, "datalist", void 0);
120
- __decorate([
121
- ViewChild(TuiPrimitiveTextfieldComponent)
122
- ], TuiSelectComponent.prototype, "textfield", void 0);
123
- __decorate([
124
- ViewChild(TuiHostedDropdownComponent)
125
- ], TuiSelectComponent.prototype, "hostedDropdown", void 0);
126
123
  __decorate([
127
124
  tuiPure
128
125
  ], TuiSelectComponent.prototype, "computeContext", null);
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-select.js","sources":["ng://@taiga-ui/kit/components/select/select.component.ts","ng://@taiga-ui/kit/components/select/select.module.ts","ng://@taiga-ui/kit/components/select/taiga-ui-kit-components-select.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n forwardRef,\n Inject,\n Input,\n Optional,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n setNativeFocused,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiIdentityMatcher,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n TUI_DATA_LIST_HOST,\n TUI_OPTION_CONTENT,\n TUI_TEXTFIELD_CLEANER,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiPrimitiveTextfieldComponent,\n TuiTextfieldCleanerDirective,\n TuiValueContentContext,\n} from '@taiga-ui/core';\nimport {TUI_ARROW} from '@taiga-ui/kit/components/arrow';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/kit/components/select-option';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\n// TODO: remove in ivy compilation\nexport const SELECT_OPTION: unknown = TUI_SELECT_OPTION;\n\n@Component({\n selector: 'tui-select',\n templateUrl: './select.template.html',\n styleUrls: ['./select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_OPTION_CONTENT,\n useValue: SELECT_OPTION,\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiSelectComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiIdentityMatcher<T | string> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n @Input()\n @tuiDefaultProp()\n valueContent: PolymorpheusContent<TuiValueContentContext<T>> = '';\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent = '';\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_CLEANER)\n private readonly textfieldCleaner: TuiTextfieldCleanerDirective,\n ) {\n super(control, changeDetectorRef);\n }\n\n get arrow(): PolymorpheusContent {\n return this.disabled || this.readOnly ? '' : TUI_ARROW;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): string {\n return this.value === null ? '' : String(this.value) || ' ';\n }\n\n get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.computedValue;\n }\n\n get canOpen(): boolean {\n return !this.computedDisabled && !this.readOnly;\n }\n\n onValueChange(value: string) {\n if (!value) {\n this.updateValue(null);\n }\n }\n\n onActiveZone(active: boolean) {\n this.updateFocused(active);\n }\n\n onHovered(hovered: boolean) {\n this.updateHovered(hovered);\n }\n\n onKeyDownDelete() {\n if (this.textfieldCleaner.cleaner) {\n this.updateValue(null);\n }\n }\n\n handleOption(option: T) {\n this.focusInput();\n this.updateValue(option);\n\n if (this.hostedDropdown) {\n this.hostedDropdown.updateOpen(false);\n }\n }\n\n @tuiPure\n computeContext(\n $implicit: T | null,\n active: boolean,\n ): TuiValueContentContext<T | null> {\n return {\n $implicit,\n active,\n };\n }\n\n private focusInput(preventScroll: boolean = false) {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {TuiHostedDropdownModule, TuiPrimitiveTextfieldModule} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiSelectOptionModule} from '@taiga-ui/kit/components/select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TuiSelectComponent} from './select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiPrimitiveTextfieldModule,\n TuiHostedDropdownModule,\n TuiSelectOptionModule,\n TuiArrowModule,\n ],\n declarations: [TuiSelectComponent],\n exports: [TuiSelectComponent],\n})\nexport class TuiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAyCA;IACa,aAAa,GAAY,kBAAkB;;IAwB5C,sCAA6B;IAoBrC,4BAII,OAAyB,EACE,iBAAoC,EAE9C,gBAA8C;QAPnE,YASI,kBAAM,OAAO,EAAE,iBAAiB,CAAC,SACpC;QAHoB,sBAAgB,GAAhB,gBAAgB,CAA8B;QAtBnE,qBAAe,GAAmC,4BAA4B,CAAC;QAI/E,kBAAY,GAAmD,EAAE,CAAC;QAGzD,cAA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oBAAkB,GAAA,CAAC;iBACpD;gBACD;oBACI,OAAO,EAAE,kBAAkB;oBAC3B,WAAW,EAAE,UAAU,CAAC,cAAM,OAAA,oBAAkB,GAAA,CAAC;iBACpD;gBACD;oBACI,OAAO,EAAE,kBAAkB;oBAC3B,QAAQ,EAAE,aAAa;iBAC1B;gBACD,kCAAkC;aACrC;;SACJ,CAAC;QAuBO,WAAA,QAAQ,EAAE,CAAA;QACV,WAAA,IAAI,EAAE,CAAA;QACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;QAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;OA3BzB,kBAAkB,CAyG9B;IAAD,yBAAC;CAAA,CAxGW,0BAA0B;;;IC5CtC;KAA+B;IAAlB,eAAe;QAb3B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,kBAAkB;gBAClB,mBAAmB;gBACnB,2BAA2B;gBAC3B,uBAAuB;gBACvB,qBAAqB;gBACrB,cAAc;aACjB;YACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACtBA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-select.js","sources":["ng://@taiga-ui/kit/components/select/select.component.ts","ng://@taiga-ui/kit/components/select/select.module.ts","ng://@taiga-ui/kit/components/select/taiga-ui-kit-components-select.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n forwardRef,\n Inject,\n Input,\n Optional,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n setNativeFocused,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiIdentityMatcher,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n TUI_DATA_LIST_HOST,\n TUI_OPTION_CONTENT,\n TUI_TEXTFIELD_CLEANER,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiPrimitiveTextfieldComponent,\n TuiTextfieldCleanerDirective,\n TuiValueContentContext,\n} from '@taiga-ui/core';\nimport {TUI_ARROW} from '@taiga-ui/kit/components/arrow';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/kit/components/select-option';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\n// TODO: remove in ivy compilation\nexport const SELECT_OPTION: unknown = TUI_SELECT_OPTION;\n\n@Component({\n selector: 'tui-select',\n templateUrl: './select.template.html',\n styleUrls: ['./select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_OPTION_CONTENT,\n useValue: SELECT_OPTION,\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiSelectComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiIdentityMatcher<T | string> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n @Input()\n @tuiDefaultProp()\n valueContent: PolymorpheusContent<TuiValueContentContext<T>> = '';\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent = '';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_CLEANER)\n private readonly textfieldCleaner: TuiTextfieldCleanerDirective,\n ) {\n super(control, changeDetectorRef);\n }\n\n get arrow(): PolymorpheusContent {\n return this.disabled || this.readOnly ? '' : TUI_ARROW;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): string {\n return this.value === null ? '' : String(this.value) || ' ';\n }\n\n get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.computedValue;\n }\n\n get canOpen(): boolean {\n return !this.computedDisabled && !this.readOnly;\n }\n\n @tuiPure\n computeContext(\n $implicit: T | null,\n active: boolean,\n ): TuiValueContentContext<T | null> {\n return {$implicit, active};\n }\n\n onValueChange(value: string) {\n if (!value) {\n this.updateValue(null);\n }\n }\n\n onActiveZone(active: boolean) {\n this.updateFocused(active);\n }\n\n onHovered(hovered: boolean) {\n this.updateHovered(hovered);\n }\n\n onKeyDownDelete() {\n if (this.textfieldCleaner.cleaner) {\n this.updateValue(null);\n }\n }\n\n handleOption(option: T) {\n this.focusInput();\n this.updateValue(option);\n\n if (this.hostedDropdown) {\n this.hostedDropdown.updateOpen(false);\n }\n }\n\n private focusInput(preventScroll: boolean = false) {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {TuiHostedDropdownModule, TuiPrimitiveTextfieldModule} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiSelectOptionModule} from '@taiga-ui/kit/components/select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSelectComponent} from './select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiPrimitiveTextfieldModule,\n TuiHostedDropdownModule,\n TuiSelectOptionModule,\n TuiArrowModule,\n ],\n declarations: [TuiSelectComponent],\n exports: [TuiSelectComponent],\n})\nexport class TuiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAyCA;IACa,aAAa,GAAY,kBAAkB;;IAwB5C,sCAA6B;IAoBrC,4BAII,OAAyB,EACE,iBAAoC,EAE9C,gBAA8C;QAPnE,YASI,kBAAM,OAAO,EAAE,iBAAiB,CAAC,SACpC;QAHoB,sBAAgB,GAAhB,gBAAgB,CAA8B;QAhBnE,qBAAe,GAAmC,4BAA4B,CAAC;QAI/E,kBAAY,GAAmD,EAAE,CAAC;QAGzD,cAAQ,GAAwB,EAAE,CAAC;;KAY3C;2BA/BQ,kBAAkB;IAiC3B,sBAAI,qCAAK;aAAT;YACI,OAAO,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,GAAG,EAAE,GAAG,SAAS,CAAC;SAC1D;;;OAAA;IAED,sBAAI,sDAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,sBAAsB,GAAG,IAAI,CAAC;SACxE;;;OAAA;IAED,sBAAI,uCAAO;aAAX;YACI,QACI,eAAe,CAAC,IAAI,CAAC,sBAAsB,CAAC;iBAC3C,CAAC,CAAC,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EACxD;SACL;;;OAAA;IAED,sBAAI,6CAAa;aAAjB;YACI,OAAO,IAAI,CAAC,KAAK,KAAK,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AC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,kBAAkB;gBAClB,mBAAmB;gBACnB,2BAA2B;gBAC3B,uBAAuB;gBACvB,qBAAqB;gBACrB,cAAc;aACjB;YACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACvBA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-slider.js","sources":["ng://@taiga-ui/kit/components/slider/slider.component.ts","ng://@taiga-ui/kit/components/slider/slider.module.ts","ng://@taiga-ui/kit/components/slider/taiga-ui-kit-components-slider.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider} from '@taiga-ui/kit/abstract';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Component({\n selector: 'tui-slider',\n templateUrl: '../../abstract/slider/slider.common.template.html',\n styleUrls: ['../../abstract/slider/slider.common.style.less', './slider.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSliderComponent),\n },\n ],\n})\nexport class TuiSliderComponent\n extends AbstractTuiSlider<number>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.dotRight ? this.dotRight.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get left(): number {\n return 0;\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n protected processStep(increment: boolean) {\n const fraction = this.getFractionFromValue(this.value);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value);\n }\n\n protected processValue(value: number) {\n this.updateValue(this.valueGuard(value));\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\nimport {TuiSliderComponent} from './slider.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiActiveZoneModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [TuiSliderComponent],\n exports: [TuiSliderComponent],\n})\nexport class TuiSliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAqBA;;IAcY,sCAAyB;IAGjC,4BAII,OAAyB,EACE,iBAAoC,EAC7C,WAAqB,EACZ,YAA0C;eAErE,kBAAM,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC;KAC/D;2BAdQ,kBAAkB;IAgB3B,sBAAI,sDAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;SAC7D;;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ACpD;aACJ;;SACJ,CAAC;QAMO,WAAA,QAAQ,EAAE,CAAA;QACV,WAAA,IAAI,EAAE,CAAA;QACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;QAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;QAChB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;OAXrB,kBAAkB,CAiD9B;IAAD,yBAAC;CAAA,CAhDW,iBAAiB;;;ICZ7B;KAA+B;IAAlB,eAAe;QAZ3B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,oBAAoB;gBACpB,kBAAkB;gBAClB,qBAAqB;gBACrB,mBAAmB;gBACnB,yBAAyB;aAC5B;YACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACvBA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-slider.js","sources":["ng://@taiga-ui/kit/components/slider/slider.component.ts","ng://@taiga-ui/kit/components/slider/slider.module.ts","ng://@taiga-ui/kit/components/slider/taiga-ui-kit-components-slider.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider} from '@taiga-ui/kit/abstract';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Component({\n selector: 'tui-slider',\n templateUrl: '../../abstract/slider/slider.common.template.html',\n styleUrls: ['../../abstract/slider/slider.common.style.less', './slider.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSliderComponent),\n },\n ],\n})\nexport class TuiSliderComponent\n extends AbstractTuiSlider<number>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.dotRight ? this.dotRight.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get left(): number {\n return 0;\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n protected processStep(increment: boolean) {\n const fraction = this.getFractionFromValue(this.value);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value);\n }\n\n protected processValue(value: number) {\n this.updateValue(this.valueGuard(value));\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\n\nimport {TuiSliderComponent} from './slider.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiActiveZoneModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [TuiSliderComponent],\n exports: [TuiSliderComponent],\n})\nexport class TuiSliderModule {}\n","/**\n * Generated bundle index. Do not edit.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AA9D,MAAM,SAAC,iBAAiB;gBACM,QAAQ,uBAAtC,MAAM,SAAC,QAAQ;gBACyB,UAAU,uBAAlD,MAAM,SAAC,iBAAiB;;IAXpB,kBAAkB;QAZ9B,SAAS,CAAC;YACP,QAAQ,EAAE,YAAY;YACtB,61EAAgE;YAEhE,eAAe,EAAE,uBAAuB,CAAC,MAAM;YAC/C,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,2BAA2B;oBACpC,WAAW,EAAE,UAAU,CAAC,cAAM,OAAA,oBAAkB,GAAA,CAAC;iBACpD;aACJ;;SACJ,CAAC;QAMO,WAAA,QAAQ,EAAE,CAAA;QACV,WAAA,IAAI,EAAE,CAAA;QACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;QAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;QAChB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;OAXrB,kBAAkB,CAiD9B;IAAD,yBAAC;CAAA,CAhDW,iBAAiB;;;ICX7B;KAA+B;IAAlB,eAAe;QAZ3B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,oBAAoB;gBACpB,kBAAkB;gBAClB,qBAAqB;gBACrB,mBAAmB;gBACnB,yBAAyB;aAC5B;YACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACxBA;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'tslib';
2
- import { EventEmitter, Input, HostBinding, Output, ContentChildren, forwardRef, ElementRef, HostListener, Component, ChangeDetectionStrategy, Inject, NgModule } from '@angular/core';
2
+ import { EventEmitter, ContentChildren, forwardRef, ElementRef, Input, HostBinding, Output, HostListener, Component, ChangeDetectionStrategy, Inject, NgModule } from '@angular/core';
3
3
  import { EMPTY_QUERY, itemsQueryListObservable, getOriginalArrayFromQueryList, moveFocus, tuiDefaultProp, tuiPure, identity, TuiFocusVisibleService, TuiDestroyService } from '@taiga-ui/cdk';
4
4
  import { TuiRouterLinkActiveService, TuiSvgModule } from '@taiga-ui/core';
5
5
  import { Observable } from 'rxjs';
@@ -8,10 +8,10 @@ import { CommonModule } from '@angular/common';
8
8
 
9
9
  var TuiStepperComponent = /** @class */ (function () {
10
10
  function TuiStepperComponent() {
11
+ this.steps = EMPTY_QUERY;
11
12
  this.orientation = 'horizontal';
12
13
  this.activeItemIndex = 0;
13
14
  this.activeItemIndexChange = new EventEmitter();
14
- this.steps = EMPTY_QUERY;
15
15
  }
16
16
  Object.defineProperty(TuiStepperComponent.prototype, "changes$", {
17
17
  get: function () {
@@ -22,6 +22,20 @@ var TuiStepperComponent = /** @class */ (function () {
22
22
  enumerable: true,
23
23
  configurable: true
24
24
  });
25
+ TuiStepperComponent.prototype.onHorizontal = function (event, step) {
26
+ if (this.orientation !== 'horizontal' || !event.target) {
27
+ return;
28
+ }
29
+ event.preventDefault();
30
+ this.moveFocus(event.target, step);
31
+ };
32
+ TuiStepperComponent.prototype.onVertical = function (event, step) {
33
+ if (this.orientation !== 'vertical' || !event.target) {
34
+ return;
35
+ }
36
+ event.preventDefault();
37
+ this.moveFocus(event.target, step);
38
+ };
25
39
  TuiStepperComponent.prototype.indexOf = function (step) {
26
40
  return getOriginalArrayFromQueryList(this.steps).findIndex(function (_a) {
27
41
  var nativeElement = _a.nativeElement;
@@ -38,20 +52,6 @@ var TuiStepperComponent = /** @class */ (function () {
38
52
  this.activeItemIndex = index;
39
53
  this.activeItemIndexChange.emit(index);
40
54
  };
41
- TuiStepperComponent.prototype.onHorizontal = function (event, step) {
42
- if (this.orientation !== 'horizontal' || !event.target) {
43
- return;
44
- }
45
- event.preventDefault();
46
- this.moveFocus(event.target, step);
47
- };
48
- TuiStepperComponent.prototype.onVertical = function (event, step) {
49
- if (this.orientation !== 'vertical' || !event.target) {
50
- return;
51
- }
52
- event.preventDefault();
53
- this.moveFocus(event.target, step);
54
- };
55
55
  TuiStepperComponent.prototype.moveFocus = function (current, step) {
56
56
  var steps = getOriginalArrayFromQueryList(this.steps).map(function (_a) {
57
57
  var nativeElement = _a.nativeElement;
@@ -59,6 +59,9 @@ var TuiStepperComponent = /** @class */ (function () {
59
59
  });
60
60
  moveFocus(steps.indexOf(current), steps, step);
61
61
  };
62
+ __decorate([
63
+ ContentChildren(forwardRef(function () { return TuiStepComponent; }), { read: ElementRef })
64
+ ], TuiStepperComponent.prototype, "steps", void 0);
62
65
  __decorate([
63
66
  Input(),
64
67
  HostBinding('attr.data-orientation'),
@@ -71,9 +74,6 @@ var TuiStepperComponent = /** @class */ (function () {
71
74
  __decorate([
72
75
  Output()
73
76
  ], TuiStepperComponent.prototype, "activeItemIndexChange", void 0);
74
- __decorate([
75
- ContentChildren(forwardRef(function () { return TuiStepComponent; }), { read: ElementRef })
76
- ], TuiStepperComponent.prototype, "steps", void 0);
77
77
  __decorate([
78
78
  tuiPure
79
79
  ], TuiStepperComponent.prototype, "changes$", null);
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-stepper.js","sources":["ng://@taiga-ui/kit/components/stepper/stepper.component.ts","ng://@taiga-ui/kit/components/stepper/step/step.component.ts","ng://@taiga-ui/kit/components/stepper/stepper.module.ts","ng://@taiga-ui/kit/components/stepper/taiga-ui-kit-components-stepper.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n HostListener,\n Input,\n Output,\n QueryList,\n} from '@angular/core';\nimport {\n EMPTY_QUERY,\n getOriginalArrayFromQueryList,\n itemsQueryListObservable,\n moveFocus,\n tuiDefaultProp,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {TuiOrientationT} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\nimport {delay} from 'rxjs/operators';\nimport {TuiStepComponent} from './step/step.component';\n\n@Component({\n selector: 'tui-stepper, nav[tuiStepper]',\n templateUrl: './stepper.template.html',\n styleUrls: ['./stepper.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiStepperComponent {\n @Input()\n @HostBinding('attr.data-orientation')\n @tuiDefaultProp()\n orientation: TuiOrientationT = 'horizontal';\n\n @Input()\n @tuiDefaultProp()\n activeItemIndex = 0;\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @ContentChildren(forwardRef(() => TuiStepComponent), {read: ElementRef})\n private readonly steps: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n @tuiPure\n get changes$(): Observable<unknown> {\n // Delay is required to trigger change detection after steps are rendered\n // so they can update their \"active\" status\n return itemsQueryListObservable(this.steps).pipe(delay(0));\n }\n\n indexOf(step: HTMLElement): number {\n return getOriginalArrayFromQueryList(this.steps).findIndex(\n ({nativeElement}) => nativeElement === step,\n );\n }\n\n isActive(index: number): boolean {\n return index === this.activeItemIndex;\n }\n\n activate(index: number) {\n if (this.activeItemIndex === index) {\n return;\n }\n\n this.activeItemIndex = index;\n this.activeItemIndexChange.emit(index);\n }\n\n @HostListener('keydown.arrowRight', ['$event', '1'])\n @HostListener('keydown.arrowLeft', ['$event', '-1'])\n onHorizontal(event: Event, step: number) {\n if (this.orientation !== 'horizontal' || !event.target) {\n return;\n }\n\n event.preventDefault();\n this.moveFocus(event.target, step);\n }\n\n @HostListener('keydown.arrowDown', ['$event', '1'])\n @HostListener('keydown.arrowUp', ['$event', '-1'])\n onVertical(event: Event, step: number) {\n if (this.orientation !== 'vertical' || !event.target) {\n return;\n }\n\n event.preventDefault();\n this.moveFocus(event.target, step);\n }\n\n private moveFocus(current: EventTarget, step: number) {\n const steps = getOriginalArrayFromQueryList(this.steps).map(\n ({nativeElement}) => nativeElement,\n );\n\n moveFocus(steps.indexOf(current as HTMLElement), steps, step);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n} from '@angular/core';\nimport {\n identity,\n tuiDefaultProp,\n TuiDestroyService,\n TuiFocusVisibleService,\n} from '@taiga-ui/cdk';\nimport {TuiRouterLinkActiveService} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\nimport {filter} from 'rxjs/operators';\nimport {TuiStepperComponent} from '../stepper.component';\n\n@Component({\n selector:\n 'button[tuiStep], a[tuiStep]:not([routerLink]), a[tuiStep][routerLink][routerLinkActive]',\n templateUrl: './step.template.html',\n styleUrls: ['./step.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService, TuiRouterLinkActiveService, TuiFocusVisibleService],\n host: {\n type: 'button',\n },\n})\nexport class TuiStepComponent {\n @Input()\n @HostBinding('attr.data-state')\n @tuiDefaultProp()\n state: 'normal' | 'pass' | 'error' = 'normal';\n\n @Input()\n @tuiDefaultProp()\n icon = '';\n\n @HostBinding('class._focus-visible')\n focusVisible = false;\n\n constructor(\n @Inject(TuiFocusVisibleService) focusVisible$: TuiFocusVisibleService,\n @Inject(TuiRouterLinkActiveService) routerLinkActive$: Observable<boolean>,\n @Inject(TuiStepperComponent) private readonly stepper: TuiStepperComponent,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {\n routerLinkActive$.pipe(filter(identity)).subscribe(() => {\n this.activate();\n });\n\n focusVisible$.subscribe(visible => {\n this.focusVisible = visible;\n });\n }\n\n @HostBinding('class._active')\n get isActive(): boolean {\n return this.stepper.isActive(this.index);\n }\n\n @HostBinding('class._vertical')\n get isVertical(): boolean {\n return this.stepper.orientation === 'vertical';\n }\n\n @HostBinding('tabIndex')\n get tabIndex(): number {\n return this.isActive ? 0 : -1;\n }\n\n get index(): number {\n return this.stepper.indexOf(this.elementRef.nativeElement);\n }\n\n @HostListener('click')\n activate() {\n this.stepper.activate(this.index);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\nimport {TuiStepComponent} from './step/step.component';\nimport {TuiStepperComponent} from './stepper.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiStepperComponent, TuiStepComponent],\n exports: [TuiStepperComponent, TuiStepComponent],\n})\nexport class TuiStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;IAgCA;QAII,gBAAW,GAAoB,YAAY,CAAC;QAI5C,oBAAe,GAAG,CAAC,CAAC;QAGX,0BAAqB,GAAG,IAAI,YAAY,EAAU,CAAC;QAG3C,UAAK,GAAuC,WAAW,CAAC;KAyD5E;IAtDG,sBAAI,yCAAQ;aAAZ;;;YAGI,OAAO,wBAAwB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAC9D;;;OAAA;IAED,qCAAO,GAAP,UAAQ,IAAiB;QACrB,OAAO,6BAA6B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,CACtD,UAAC,EAAe;gBAAd,gCAAa;YAAM,OAAA,aAAa,KAAK,IAAI;SAAA,CAC9C,CAAC;KACL;IAED,sCAAQ,GAAR,UAAS,KAAa;QAClB,OAAO,KAAK,KAAK,IAAI,CAAC,eAAe,CAAC;KACzC;IAED,sCAAQ,GAAR,UAAS,KAAa;QAClB,IAAI,IAAI,CAAC,eAAe,KAAK,KAAK,EAAE;YAChC,OAAO;SACV;QAED,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC1C;IAID,0CAAY,GAAZ,UAAa,KAAY,EAAE,IAAY;QACnC,IAAI,IAAI,CAAC,WAAW,KAAK,YAAY,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;YACpD,OAAO;SACV;QAED,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,IAAI,CAAC,SAAS,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1
+ {"version":3,"file":"taiga-ui-kit-components-stepper.js","sources":["ng://@taiga-ui/kit/components/stepper/stepper.component.ts","ng://@taiga-ui/kit/components/stepper/step/step.component.ts","ng://@taiga-ui/kit/components/stepper/stepper.module.ts","ng://@taiga-ui/kit/components/stepper/taiga-ui-kit-components-stepper.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n HostListener,\n Input,\n Output,\n QueryList,\n} from '@angular/core';\nimport {\n EMPTY_QUERY,\n getOriginalArrayFromQueryList,\n itemsQueryListObservable,\n moveFocus,\n tuiDefaultProp,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {TuiOrientationT} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\nimport {delay} from 'rxjs/operators';\n\nimport {TuiStepComponent} from './step/step.component';\n\n@Component({\n selector: 'tui-stepper, nav[tuiStepper]',\n templateUrl: './stepper.template.html',\n styleUrls: ['./stepper.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiStepperComponent {\n @ContentChildren(forwardRef(() => TuiStepComponent), {read: ElementRef})\n private readonly steps: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n @Input()\n @HostBinding('attr.data-orientation')\n @tuiDefaultProp()\n orientation: TuiOrientationT = 'horizontal';\n\n @Input()\n @tuiDefaultProp()\n activeItemIndex = 0;\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @tuiPure\n get changes$(): Observable<unknown> {\n // Delay is required to trigger change detection after steps are rendered\n // so they can update their \"active\" status\n return itemsQueryListObservable(this.steps).pipe(delay(0));\n }\n\n @HostListener('keydown.arrowRight', ['$event', '1'])\n @HostListener('keydown.arrowLeft', ['$event', '-1'])\n onHorizontal(event: Event, step: number) {\n if (this.orientation !== 'horizontal' || !event.target) {\n return;\n }\n\n event.preventDefault();\n this.moveFocus(event.target, step);\n }\n\n @HostListener('keydown.arrowDown', ['$event', '1'])\n @HostListener('keydown.arrowUp', ['$event', '-1'])\n onVertical(event: Event, step: number) {\n if (this.orientation !== 'vertical' || !event.target) {\n return;\n }\n\n event.preventDefault();\n this.moveFocus(event.target, step);\n }\n\n indexOf(step: HTMLElement): number {\n return getOriginalArrayFromQueryList(this.steps).findIndex(\n ({nativeElement}) => nativeElement === step,\n );\n }\n\n isActive(index: number): boolean {\n return index === this.activeItemIndex;\n }\n\n activate(index: number) {\n if (this.activeItemIndex === index) {\n return;\n }\n\n this.activeItemIndex = index;\n this.activeItemIndexChange.emit(index);\n }\n\n private moveFocus(current: EventTarget, step: number) {\n const steps = getOriginalArrayFromQueryList(this.steps).map(\n ({nativeElement}) => nativeElement,\n );\n\n moveFocus(steps.indexOf(current as HTMLElement), steps, step);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n} from '@angular/core';\nimport {\n identity,\n tuiDefaultProp,\n TuiDestroyService,\n TuiFocusVisibleService,\n} from '@taiga-ui/cdk';\nimport {TuiRouterLinkActiveService} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\nimport {filter} from 'rxjs/operators';\n\nimport {TuiStepperComponent} from '../stepper.component';\n\n@Component({\n selector:\n 'button[tuiStep], a[tuiStep]:not([routerLink]), a[tuiStep][routerLink][routerLinkActive]',\n templateUrl: './step.template.html',\n styleUrls: ['./step.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService, TuiRouterLinkActiveService, TuiFocusVisibleService],\n host: {\n type: 'button',\n },\n})\nexport class TuiStepComponent {\n @Input()\n @HostBinding('attr.data-state')\n @tuiDefaultProp()\n state: 'normal' | 'pass' | 'error' = 'normal';\n\n @Input()\n @tuiDefaultProp()\n icon = '';\n\n @HostBinding('class._focus-visible')\n focusVisible = false;\n\n constructor(\n @Inject(TuiFocusVisibleService) focusVisible$: TuiFocusVisibleService,\n @Inject(TuiRouterLinkActiveService) routerLinkActive$: Observable<boolean>,\n @Inject(TuiStepperComponent) private readonly stepper: TuiStepperComponent,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {\n routerLinkActive$.pipe(filter(identity)).subscribe(() => {\n this.activate();\n });\n\n focusVisible$.subscribe(visible => {\n this.focusVisible = visible;\n });\n }\n\n @HostBinding('class._active')\n get isActive(): boolean {\n return this.stepper.isActive(this.index);\n }\n\n @HostBinding('class._vertical')\n get isVertical(): boolean {\n return this.stepper.orientation === 'vertical';\n }\n\n @HostBinding('tabIndex')\n get tabIndex(): number {\n return this.isActive ? 0 : -1;\n }\n\n get index(): number {\n return this.stepper.indexOf(this.elementRef.nativeElement);\n }\n\n @HostListener('click')\n activate() {\n this.stepper.activate(this.index);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiStepComponent} from './step/step.component';\nimport {TuiStepperComponent} from './stepper.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiStepperComponent, TuiStepComponent],\n exports: [TuiStepperComponent, TuiStepComponent],\n})\nexport class TuiStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;IAiCA;QAEqB,UAAK,GAAuC,WAAW,CAAC;QAKzE,gBAAW,GAAoB,YAAY,CAAC;QAI5C,oBAAe,GAAG,CAAC,CAAC;QAGX,0BAAqB,GAAG,IAAI,YAAY,EAAU,CAAC;KAyD/D;IAtDG,sBAAI,yCAAQ;aAAZ;;;YAGI,OAAO,wBAAwB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAC9D;;;OAAA;IAID,0CAAY,GAAZ,UAAa,KAAY,EAAE,IAAY;QACnC,IAAI,IAAI,CAAC,WAAW,KAAK,YAAY,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;YAC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AE;gBACF,IAAI,EAAE,QAAQ;aACjB;;SACJ,CAAC;QAeO,WAAA,MAAM,CAAC,sBAAsB,CAAC,CAAA;QAC9B,WAAA,MAAM,CAAC,0BAA0B,CAAC,CAAA;QAClC,WAAA,MAAM,CAAC,mBAAmB,CAAC,CAAA;QAC3B,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;OAjBd,gBAAgB,CAmD5B;IAAD,uBAAC;CAnDD;;;ICpBA;KAAgC;IAAnB,gBAAgB;QAL5B,QAAQ,CAAC;YACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;YACrC,YAAY,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;YACrD,OAAO,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;SACnD,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;ACZA;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'tslib';
2
- import { TemplateRef, Inject, Directive, InjectionToken, ElementRef, Optional, HostBinding, Component, ChangeDetectionStrategy, EventEmitter, Renderer2, ChangeDetectorRef, Input, Output, ContentChildren, forwardRef, HostListener, ViewChild, NgZone, NgModule } from '@angular/core';
2
+ import { TemplateRef, Inject, Directive, InjectionToken, ElementRef, Optional, HostBinding, Component, ChangeDetectionStrategy, EventEmitter, Renderer2, ChangeDetectorRef, ContentChildren, forwardRef, Input, Output, HostListener, ViewChild, NgZone, NgModule } from '@angular/core';
3
3
  import { RouterLinkActive } from '@angular/router';
4
4
  import { TuiDestroyService, TuiFocusVisibleService, identity, typedFromEvent, tuiCustomEvent, isNativeFocused, setNativeFocused, TUI_IS_IOS, TUI_IS_ANDROID, EMPTY_QUERY, itemsQueryListObservable, moveFocus, TuiResizeService, tuiDefaultProp, tuiPure, getClosestFocusable, toInt, tuiZonefree, px, TuiFocusableModule } from '@taiga-ui/cdk';
5
5
  import { TuiRouterLinkActiveService, MODE_PROVIDER, TUI_MODE, TuiHostedDropdownModule, TuiSvgModule } from '@taiga-ui/core';
@@ -143,9 +143,9 @@ var TuiTabsComponent = /** @class */ (function () {
143
143
  var _this = this;
144
144
  this.elementRef = elementRef;
145
145
  this.renderer = renderer;
146
+ this.children = EMPTY_QUERY;
146
147
  this.underline = true;
147
148
  this.activeItemIndexChange = new EventEmitter();
148
- this.children = EMPTY_QUERY;
149
149
  this.activeItemIndex = 0;
150
150
  this.isIos = mobileAware && isIos;
151
151
  this.isAndroid = mobileAware && isAndroid;
@@ -182,18 +182,6 @@ var TuiTabsComponent = /** @class */ (function () {
182
182
  enumerable: true,
183
183
  configurable: true
184
184
  });
185
- TuiTabsComponent.prototype.ngAfterViewChecked = function () {
186
- var _this = this;
187
- var _a = this, tabs = _a.tabs, activeElement = _a.activeElement;
188
- tabs.forEach(function (nativeElement) {
189
- _this.renderer.removeClass(nativeElement, TAB_ACTIVE_CLASS);
190
- _this.renderer.setAttribute(nativeElement, 'tabIndex', '-1');
191
- });
192
- if (activeElement) {
193
- this.renderer.addClass(activeElement, TAB_ACTIVE_CLASS);
194
- this.renderer.setAttribute(activeElement, 'tabIndex', '0');
195
- }
196
- };
197
185
  TuiTabsComponent.prototype.onActivate = function (element) {
198
186
  var index = this.tabs.findIndex(function (tab) { return tab === element; });
199
187
  if (index === this.activeItemIndex) {
@@ -206,6 +194,18 @@ var TuiTabsComponent = /** @class */ (function () {
206
194
  var tabs = this.tabs;
207
195
  moveFocus(tabs.indexOf(current), tabs, step);
208
196
  };
197
+ TuiTabsComponent.prototype.ngAfterViewChecked = function () {
198
+ var _this = this;
199
+ var _a = this, tabs = _a.tabs, activeElement = _a.activeElement;
200
+ tabs.forEach(function (nativeElement) {
201
+ _this.renderer.removeClass(nativeElement, TAB_ACTIVE_CLASS);
202
+ _this.renderer.setAttribute(nativeElement, 'tabIndex', '-1');
203
+ });
204
+ if (activeElement) {
205
+ this.renderer.addClass(activeElement, TAB_ACTIVE_CLASS);
206
+ this.renderer.setAttribute(activeElement, 'tabIndex', '0');
207
+ }
208
+ };
209
209
  TuiTabsComponent.prototype.scrollTo = function (element) {
210
210
  if (!element) {
211
211
  return;
@@ -230,6 +230,9 @@ var TuiTabsComponent = /** @class */ (function () {
230
230
  { type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_ANDROID,] }] },
231
231
  { type: Boolean, decorators: [{ type: Inject, args: [TUI_MOBILE_AWARE,] }] }
232
232
  ]; };
233
+ __decorate([
234
+ ContentChildren(forwardRef(function () { return TuiTabComponent; }))
235
+ ], TuiTabsComponent.prototype, "children", void 0);
233
236
  __decorate([
234
237
  Input(),
235
238
  HostBinding('class._underline'),
@@ -247,9 +250,6 @@ var TuiTabsComponent = /** @class */ (function () {
247
250
  __decorate([
248
251
  HostBinding('class._android')
249
252
  ], TuiTabsComponent.prototype, "isAndroid", void 0);
250
- __decorate([
251
- ContentChildren(forwardRef(function () { return TuiTabComponent; }))
252
- ], TuiTabsComponent.prototype, "children", void 0);
253
253
  __decorate([
254
254
  tuiPure
255
255
  ], TuiTabsComponent.prototype, "refresh$", null);
@@ -329,6 +329,7 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
329
329
  this.elementRef = elementRef;
330
330
  this.changeDetectorRef = changeDetectorRef;
331
331
  this.moreWord$ = moreWord$;
332
+ this.maxIndex = Infinity;
332
333
  this.moreContent = '';
333
334
  this.underline = true;
334
335
  this.activeItemIndex = 0;
@@ -336,7 +337,6 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
336
337
  this.activeItemIndexChange = new EventEmitter();
337
338
  this.items = EMPTY_QUERY;
338
339
  this.open = false;
339
- this.maxIndex = Infinity;
340
340
  }
341
341
  Object.defineProperty(TuiTabsWithMoreComponent.prototype, "tabs", {
342
342
  get: function () {
@@ -464,6 +464,9 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
464
464
  { type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
465
465
  { type: Observable, decorators: [{ type: Inject, args: [TUI_MORE_WORD,] }] }
466
466
  ]; };
467
+ __decorate([
468
+ ViewChild(TuiTabComponent, { read: ElementRef })
469
+ ], TuiTabsWithMoreComponent.prototype, "moreButton", void 0);
467
470
  __decorate([
468
471
  Input(),
469
472
  tuiDefaultProp()
@@ -487,9 +490,6 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
487
490
  __decorate([
488
491
  ContentChildren(TuiTabDirective, { read: TemplateRef })
489
492
  ], TuiTabsWithMoreComponent.prototype, "items", void 0);
490
- __decorate([
491
- ViewChild(TuiTabComponent, { read: ElementRef })
492
- ], TuiTabsWithMoreComponent.prototype, "moreButton", void 0);
493
493
  TuiTabsWithMoreComponent = __decorate([
494
494
  Component({
495
495
  selector: 'tui-tabs-with-more, nav[tuiTabsWithMore]',
@@ -516,14 +516,14 @@ var TuiUnderlineComponent = /** @class */ (function () {
516
516
  this.ios = ios;
517
517
  this.android = android;
518
518
  this.mode$ = mode$;
519
- this.isIos = this.mobileAware && this.ios;
520
- this.isAndroid = this.mobileAware && this.android;
521
519
  this.element$ = new ReplaySubject(1);
522
520
  this.refresh$ = this.element$.pipe(switchMap(function (element) {
523
521
  return element
524
522
  ? _this.animationFrame$.pipe(mapTo(element), tuiZonefree(_this.ngZone))
525
523
  : of(null);
526
524
  }), share());
525
+ this.isIos = this.mobileAware && this.ios;
526
+ this.isAndroid = this.mobileAware && this.android;
527
527
  this.transition$ = asCallable(this.element$.pipe(map(function (element) { return element && 'all'; }), debounceTime(50)));
528
528
  this.transform$ = asCallable(this.refresh$.pipe(map(function (element) {
529
529
  return element ? "translate3d(" + px(element.offsetLeft) + ", 0, 0)" : null;