@taiga-ui/kit 2.75.0 → 2.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (961) hide show
  1. package/abstract/input-slider.d.ts +2 -2
  2. package/abstract/slider/slider.d.ts +1 -1
  3. package/bundles/taiga-ui-kit-abstract.umd.js +46 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.js +59 -14
  7. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-action.umd.js +54 -9
  10. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-arrow.umd.js +47 -2
  13. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-avatar.umd.js +59 -14
  16. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badge.umd.js +62 -19
  19. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badge.umd.min.js +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 +66 -21
  23. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +54 -9
  26. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  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 +48 -3
  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.map +1 -1
  31. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +50 -5
  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 +1 -1
  34. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-carousel.umd.js +69 -33
  36. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +1 -1
  38. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +56 -10
  40. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +50 -5
  44. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +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 +49 -4
  47. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-combo-box.umd.js +55 -10
  50. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +48 -3
  53. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-field-error.umd.js +51 -6
  56. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-files.umd.js +66 -21
  59. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-filter.umd.js +49 -4
  62. package/bundles/taiga-ui-kit-components-filter.umd.js.map +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 +56 -10
  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 +62 -17
  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 +60 -15
  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.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +62 -17
  76. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-date.umd.js +56 -11
  79. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-file.umd.js +80 -35
  82. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-files.umd.js +61 -16
  85. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-input-inline.umd.js +50 -5
  88. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +53 -8
  91. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-input-month.umd.js +51 -6
  94. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-number.umd.js +72 -27
  97. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-password.umd.js +52 -7
  101. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +59 -14
  104. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-phone.umd.js +77 -32
  107. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  109. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-range.umd.js +62 -17
  111. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-input-slider.umd.js +62 -15
  114. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-tag.umd.js +68 -23
  117. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-input-time.umd.js +54 -9
  120. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-input.umd.js +51 -6
  123. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-island.umd.js +64 -19
  126. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +54 -9
  129. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  131. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +52 -7
  132. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +51 -4
  135. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  137. package/bundles/taiga-ui-kit-components-multi-select.umd.js +60 -15
  138. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-pagination.umd.js +53 -8
  141. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +54 -9
  144. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-progress.umd.js +69 -24
  147. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-push.umd.js +60 -15
  150. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-push.umd.min.js +1 -1
  152. package/bundles/taiga-ui-kit-components-push.umd.min.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-radio-block.umd.js +57 -11
  154. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  156. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  157. package/bundles/taiga-ui-kit-components-radio-group.umd.js +47 -2
  158. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +51 -6
  161. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  163. package/bundles/taiga-ui-kit-components-radio-list.umd.js +51 -6
  164. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-radio.umd.js +52 -7
  167. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  169. package/bundles/taiga-ui-kit-components-range.umd.js +79 -34
  170. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-rating.umd.js +50 -5
  173. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  175. package/bundles/taiga-ui-kit-components-select-option.umd.js +48 -3
  176. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-select.umd.js +50 -5
  179. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-slider.umd.js +82 -37
  182. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-stepper.umd.js +72 -27
  185. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-tabs.umd.js +89 -42
  188. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  189. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  190. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  191. package/bundles/taiga-ui-kit-components-tag.umd.js +68 -23
  192. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  193. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  194. package/bundles/taiga-ui-kit-components-text-area.umd.js +63 -18
  195. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components-toggle.umd.js +53 -8
  198. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  199. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components-tree.umd.js +63 -18
  201. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  202. package/bundles/taiga-ui-kit-components-tree.umd.min.js +1 -1
  203. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  204. package/bundles/taiga-ui-kit-constants.umd.js +47 -2
  205. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  206. package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
  207. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  208. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +56 -11
  209. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  210. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  211. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +52 -7
  212. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  213. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  214. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +57 -12
  215. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  216. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  217. package/bundles/taiga-ui-kit-directives-highlight.umd.js +56 -11
  218. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  219. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  220. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +57 -12
  221. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  222. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  223. package/bundles/taiga-ui-kit-directives-present.umd.js +51 -6
  224. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  225. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-directives-project-class.umd.js +48 -3
  227. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  228. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  229. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +50 -5
  230. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  231. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  232. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +47 -2
  233. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  234. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  235. package/bundles/taiga-ui-kit-enums.umd.js.map +1 -1
  236. package/bundles/taiga-ui-kit-enums.umd.min.js.map +1 -1
  237. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +47 -2
  238. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  239. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  240. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +46 -1
  241. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  242. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
  243. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +46 -1
  244. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  245. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  246. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +46 -1
  247. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  248. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  249. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +46 -1
  250. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  251. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  252. package/bundles/taiga-ui-kit-tokens.umd.js +46 -1
  253. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  254. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  255. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  256. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  257. package/bundles/taiga-ui-kit-utils-format.umd.js +1 -1
  258. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  259. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  260. package/bundles/taiga-ui-kit-utils-mask.umd.js +46 -1
  261. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  262. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  263. package/bundles/taiga-ui-kit-utils-math.umd.js +46 -1
  264. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  265. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  266. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +46 -1
  267. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  268. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  269. package/components/arrow/arrow-options.d.ts +2 -2
  270. package/components/avatar/avatar.component.d.ts +3 -3
  271. package/components/badge/badge.component.d.ts +1 -1
  272. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  273. package/components/badged-content/badged-content.component.d.ts +1 -1
  274. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  275. package/components/calendar-range/calendar-range.component.d.ts +2 -2
  276. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -1
  277. package/components/checkbox-block/checkbox-block.component.d.ts +1 -1
  278. package/components/combo-box/combo-box.component.d.ts +1 -1
  279. package/components/data-list-wrapper/data-list-wrapper.d.ts +1 -1
  280. package/components/field-error/field-error.component.d.ts +1 -1
  281. package/components/filter/filter.component.d.ts +1 -1
  282. package/components/input-date/input-date.component.d.ts +1 -1
  283. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  284. package/components/input-date-range/input-date-range.component.d.ts +2 -2
  285. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  286. package/components/input-file/file/file.component.d.ts +1 -1
  287. package/components/input-file/input-file.component.d.ts +5 -5
  288. package/components/input-files/input-files.component.d.ts +2 -2
  289. package/components/input-inline/input-inline.component.d.ts +1 -1
  290. package/components/input-password/input-password-options.d.ts +4 -4
  291. package/components/input-password/input-password.component.d.ts +3 -3
  292. package/components/input-phone-international/input-phone-international.component.d.ts +1 -1
  293. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -1
  294. package/components/input-range/input-range.component.d.ts +1 -1
  295. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  296. package/components/input-tag/input-tag-options.d.ts +1 -1
  297. package/components/input-tag/input-tag.component.d.ts +2 -2
  298. package/components/input-time/input-time-options.d.ts +3 -3
  299. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  300. package/components/island/island.component.d.ts +1 -1
  301. package/components/marker-icon/marker-icon.component.d.ts +1 -1
  302. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  303. package/components/multi-select/multi-select.component.d.ts +2 -2
  304. package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
  305. package/components/push/taiga-ui-kit-components-push.metadata.json +1 -1
  306. package/components/radio-block/radio-block.component.d.ts +1 -1
  307. package/components/range/range-change.directive.d.ts +1 -1
  308. package/components/range/range.component.d.ts +1 -1
  309. package/components/select/select.component.d.ts +1 -1
  310. package/components/slider/helpers/slider-readonly.directive.d.ts +1 -1
  311. package/components/stepper/step/step.component.d.ts +1 -1
  312. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  313. package/components/tabs/tabs-options.d.ts +1 -0
  314. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  315. package/components/tag/tag-options.d.ts +1 -1
  316. package/components/tag/tag.component.d.ts +2 -2
  317. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  318. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +1 -1
  319. package/directives/lazy-loading/lazy-loading.directive.d.ts +2 -2
  320. package/directives/lazy-loading/lazy-loading.service.d.ts +2 -2
  321. package/enums/dropdown-position.d.ts +1 -1
  322. package/enums/file-state.d.ts +1 -1
  323. package/enums/step-state.d.ts +1 -1
  324. package/esm2015/abstract/input-slider.js +1 -1
  325. package/esm2015/abstract/slider/slider.js +1 -1
  326. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  327. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  328. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +11 -11
  329. package/esm2015/components/accordion/accordion.component.js +2 -2
  330. package/esm2015/components/action/action.component.js +9 -9
  331. package/esm2015/components/arrow/arrow-options.js +1 -1
  332. package/esm2015/components/arrow/arrow.component.js +2 -2
  333. package/esm2015/components/avatar/avatar.component.js +14 -14
  334. package/esm2015/components/badge/badge.component.js +17 -19
  335. package/esm2015/components/badged-content/badged-content.component.js +21 -21
  336. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +2 -2
  337. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  338. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +4 -4
  339. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  340. package/esm2015/components/calendar-range/calendar-range.component.js +5 -5
  341. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  342. package/esm2015/components/carousel/carousel-buttons.directive.js +4 -4
  343. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  344. package/esm2015/components/carousel/carousel.component.js +11 -21
  345. package/esm2015/components/carousel/carousel.directive.js +3 -3
  346. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  347. package/esm2015/components/checkbox-block/checkbox-block.component.js +11 -10
  348. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  349. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  350. package/esm2015/components/combo-box/combo-box.component.js +7 -7
  351. package/esm2015/components/combo-box/combo-box.directive.js +2 -2
  352. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  353. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  354. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +1 -1
  355. package/esm2015/components/field-error/field-error.component.js +6 -6
  356. package/esm2015/components/files/file/file.component.js +20 -20
  357. package/esm2015/components/files/files.component.js +2 -2
  358. package/esm2015/components/filter/filter.component.js +4 -4
  359. package/esm2015/components/input/input.component.js +5 -5
  360. package/esm2015/components/input/input.directive.js +2 -2
  361. package/esm2015/components/input-copy/input-copy.component.js +10 -9
  362. package/esm2015/components/input-copy/input-copy.directive.js +2 -2
  363. package/esm2015/components/input-count/input-count.component.js +14 -14
  364. package/esm2015/components/input-count/input-count.directive.js +4 -4
  365. package/esm2015/components/input-date/input-date.component.js +9 -9
  366. package/esm2015/components/input-date/input-date.directive.js +3 -3
  367. package/esm2015/components/input-date-range/input-date-range.component.js +13 -13
  368. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  369. package/esm2015/components/input-date-time/input-date-time.component.js +15 -15
  370. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  371. package/esm2015/components/input-file/file/file.component.js +18 -18
  372. package/esm2015/components/input-file/input-file.component.js +18 -18
  373. package/esm2015/components/input-files/input-files.component.js +16 -16
  374. package/esm2015/components/input-inline/input-inline.component.js +5 -5
  375. package/esm2015/components/input-month/input-month.component.js +4 -4
  376. package/esm2015/components/input-month/input-month.directive.js +3 -3
  377. package/esm2015/components/input-month-range/input-month-range.component.js +5 -5
  378. package/esm2015/components/input-month-range/input-month-range.directive.js +4 -4
  379. package/esm2015/components/input-number/input-number.component.js +25 -25
  380. package/esm2015/components/input-number/input-number.directive.js +3 -3
  381. package/esm2015/components/input-password/input-password-options.js +1 -1
  382. package/esm2015/components/input-password/input-password.component.js +5 -5
  383. package/esm2015/components/input-password/input-password.directive.js +3 -3
  384. package/esm2015/components/input-phone/input-phone.component.js +30 -30
  385. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  386. package/esm2015/components/input-phone-international/input-phone-international.component.js +14 -14
  387. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +1 -1
  388. package/esm2015/components/input-range/input-range.component.js +17 -17
  389. package/esm2015/components/input-slider/input-slider.component.js +17 -15
  390. package/esm2015/components/input-tag/input-tag-options.js +1 -1
  391. package/esm2015/components/input-tag/input-tag.component.js +23 -23
  392. package/esm2015/components/input-time/input-time-options.js +1 -1
  393. package/esm2015/components/input-time/input-time.component.js +9 -9
  394. package/esm2015/components/island/island.component.js +19 -19
  395. package/esm2015/components/line-clamp/line-clamp.component.js +9 -9
  396. package/esm2015/components/marker-icon/marker-icon.component.js +7 -7
  397. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  398. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  399. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  400. package/esm2015/components/multi-select/multi-select.component.js +10 -10
  401. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  402. package/esm2015/components/pagination/pagination.component.js +8 -8
  403. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -6
  404. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  405. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +1 -1
  406. package/esm2015/components/progress/progress-bar/progress-bar.component.js +6 -6
  407. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  408. package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -7
  409. package/esm2015/components/progress/progress-label/progress-label.component.js +2 -2
  410. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  411. package/esm2015/components/push/push-alert.component.js +7 -7
  412. package/esm2015/components/push/push-alert.directive.js +2 -2
  413. package/esm2015/components/push/push.component.js +5 -5
  414. package/esm2015/components/push/push.directive.js +4 -4
  415. package/esm2015/components/radio/radio.component.js +7 -7
  416. package/esm2015/components/radio-block/radio-block.component.js +12 -11
  417. package/esm2015/components/radio-group/radio-group.component.js +2 -2
  418. package/esm2015/components/radio-labeled/radio-labeled.component.js +6 -6
  419. package/esm2015/components/radio-list/radio-list.component.js +6 -6
  420. package/esm2015/components/range/range-change.directive.js +10 -10
  421. package/esm2015/components/range/range.component.js +23 -23
  422. package/esm2015/components/rating/rating.component.js +5 -5
  423. package/esm2015/components/select/select.component.js +4 -4
  424. package/esm2015/components/select/select.directive.js +2 -2
  425. package/esm2015/components/select-option/select-option.component.js +3 -3
  426. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +10 -10
  427. package/esm2015/components/slider/helpers/slider-readonly.directive.js +15 -15
  428. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +5 -5
  429. package/esm2015/components/slider/slider-old.component.js +2 -2
  430. package/esm2015/components/slider/slider.component.js +9 -9
  431. package/esm2015/components/stepper/step/step.component.js +12 -12
  432. package/esm2015/components/stepper/stepper.component.js +16 -16
  433. package/esm2015/components/tabs/tab/tab.component.js +10 -10
  434. package/esm2015/components/tabs/tab.directive.js +2 -2
  435. package/esm2015/components/tabs/tabs/tabs.component.js +13 -13
  436. package/esm2015/components/tabs/tabs-options.js +2 -1
  437. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +9 -8
  438. package/esm2015/components/tabs/underline/underline.component.js +13 -13
  439. package/esm2015/components/tag/tag-options.js +1 -1
  440. package/esm2015/components/tag/tag.component.js +23 -23
  441. package/esm2015/components/text-area/text-area.component.js +17 -17
  442. package/esm2015/components/text-area/text-area.directive.js +2 -2
  443. package/esm2015/components/toggle/toggle.component.js +8 -8
  444. package/esm2015/components/tree/components/tree/tree.component.js +3 -3
  445. package/esm2015/components/tree/components/tree-item/tree-item.component.js +5 -5
  446. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  447. package/esm2015/components/tree/directives/tree-children.directive.js +2 -2
  448. package/esm2015/components/tree/directives/tree-controller.directive.js +4 -4
  449. package/esm2015/components/tree/directives/tree-item-controller.directive.js +4 -4
  450. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  451. package/esm2015/constants/max-day-range-length-mapper.js +2 -2
  452. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +11 -11
  453. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +5 -5
  454. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +12 -12
  455. package/esm2015/directives/highlight/highlight.directive.js +11 -11
  456. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +12 -12
  457. package/esm2015/directives/lazy-loading/lazy-loading.service.js +1 -1
  458. package/esm2015/directives/present/present.directive.js +6 -6
  459. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  460. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  461. package/esm2015/directives/value-accessor/value-accessor.directive.js +2 -2
  462. package/esm2015/enums/dropdown-position.js +1 -1
  463. package/esm2015/enums/file-state.js +1 -1
  464. package/esm2015/enums/step-state.js +1 -1
  465. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  466. package/esm2015/pipes/field-error/field-error-pipe.js +1 -1
  467. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  468. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +1 -1
  469. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  470. package/esm2015/pipes/stringify/stringify.pipe.js +1 -1
  471. package/esm2015/tokens/validation-errors.js +1 -1
  472. package/esm2015/types/marker-icon-mode.js +1 -1
  473. package/esm2015/types/status.js +1 -1
  474. package/esm2015/types/time-format-parts.js +1 -1
  475. package/esm2015/utils/dom/set-range-offset.js +1 -1
  476. package/esm2015/utils/format/string-hash-to-hsl.js +2 -2
  477. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +1 -1
  478. package/esm2015/utils/mask/create-time-mask.js +1 -1
  479. package/esm2015/utils/miscellaneous/is-flat.js +1 -1
  480. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +1 -1
  481. package/esm5/abstract/input-slider.js +1 -1
  482. package/esm5/abstract/slider/slider.js +1 -1
  483. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  484. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  485. package/esm5/components/accordion/accordion-item/accordion-item.component.js +11 -11
  486. package/esm5/components/accordion/accordion.component.js +2 -2
  487. package/esm5/components/action/action.component.js +9 -9
  488. package/esm5/components/arrow/arrow-options.js +1 -1
  489. package/esm5/components/arrow/arrow.component.js +2 -2
  490. package/esm5/components/avatar/avatar.component.js +14 -14
  491. package/esm5/components/badge/badge.component.js +17 -19
  492. package/esm5/components/badged-content/badged-content.component.js +21 -21
  493. package/esm5/components/breadcrumbs/breadcrumb.directive.js +2 -2
  494. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  495. package/esm5/components/breadcrumbs/breadcrumbs.component.js +4 -4
  496. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  497. package/esm5/components/calendar-range/calendar-range.component.js +5 -5
  498. package/esm5/components/carousel/carousel-autoscroll.directive.js +3 -3
  499. package/esm5/components/carousel/carousel-buttons.directive.js +4 -4
  500. package/esm5/components/carousel/carousel-scroll.directive.js +3 -3
  501. package/esm5/components/carousel/carousel.component.js +11 -21
  502. package/esm5/components/carousel/carousel.directive.js +3 -3
  503. package/esm5/components/checkbox/checkbox.component.js +4 -4
  504. package/esm5/components/checkbox-block/checkbox-block.component.js +11 -10
  505. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  506. package/esm5/components/combo-box/combo-box-strict.directive.js +3 -3
  507. package/esm5/components/combo-box/combo-box.component.js +7 -7
  508. package/esm5/components/combo-box/combo-box.directive.js +2 -2
  509. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  510. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  511. package/esm5/components/data-list-wrapper/data-list-wrapper.js +1 -1
  512. package/esm5/components/field-error/field-error.component.js +6 -6
  513. package/esm5/components/files/file/file.component.js +20 -20
  514. package/esm5/components/files/files.component.js +2 -2
  515. package/esm5/components/filter/filter.component.js +4 -4
  516. package/esm5/components/input/input.component.js +5 -5
  517. package/esm5/components/input/input.directive.js +2 -2
  518. package/esm5/components/input-copy/input-copy.component.js +10 -9
  519. package/esm5/components/input-copy/input-copy.directive.js +2 -2
  520. package/esm5/components/input-count/input-count.component.js +14 -14
  521. package/esm5/components/input-count/input-count.directive.js +4 -4
  522. package/esm5/components/input-date/input-date.component.js +9 -9
  523. package/esm5/components/input-date/input-date.directive.js +3 -3
  524. package/esm5/components/input-date-range/input-date-range.component.js +13 -13
  525. package/esm5/components/input-date-range/input-date-range.directive.js +3 -3
  526. package/esm5/components/input-date-time/input-date-time.component.js +15 -15
  527. package/esm5/components/input-date-time/input-date-time.directive.js +3 -3
  528. package/esm5/components/input-file/file/file.component.js +18 -18
  529. package/esm5/components/input-file/input-file.component.js +18 -18
  530. package/esm5/components/input-files/input-files.component.js +16 -16
  531. package/esm5/components/input-inline/input-inline.component.js +5 -5
  532. package/esm5/components/input-month/input-month.component.js +4 -4
  533. package/esm5/components/input-month/input-month.directive.js +3 -3
  534. package/esm5/components/input-month-range/input-month-range.component.js +5 -5
  535. package/esm5/components/input-month-range/input-month-range.directive.js +4 -4
  536. package/esm5/components/input-number/input-number.component.js +25 -25
  537. package/esm5/components/input-number/input-number.directive.js +3 -3
  538. package/esm5/components/input-password/input-password-options.js +1 -1
  539. package/esm5/components/input-password/input-password.component.js +5 -5
  540. package/esm5/components/input-password/input-password.directive.js +3 -3
  541. package/esm5/components/input-phone/input-phone.component.js +30 -30
  542. package/esm5/components/input-phone/input-phone.directive.js +3 -3
  543. package/esm5/components/input-phone-international/input-phone-international.component.js +14 -14
  544. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +1 -1
  545. package/esm5/components/input-range/input-range.component.js +17 -17
  546. package/esm5/components/input-slider/input-slider.component.js +17 -15
  547. package/esm5/components/input-tag/input-tag-options.js +1 -1
  548. package/esm5/components/input-tag/input-tag.component.js +23 -23
  549. package/esm5/components/input-time/input-time-options.js +1 -1
  550. package/esm5/components/input-time/input-time.component.js +9 -9
  551. package/esm5/components/island/island.component.js +19 -19
  552. package/esm5/components/line-clamp/line-clamp.component.js +9 -9
  553. package/esm5/components/marker-icon/marker-icon.component.js +7 -7
  554. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  555. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  556. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  557. package/esm5/components/multi-select/multi-select.component.js +10 -10
  558. package/esm5/components/multi-select-option/multi-select-option.component.js +6 -4
  559. package/esm5/components/pagination/pagination.component.js +8 -8
  560. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -6
  561. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  562. package/esm5/components/pdf-viewer/pdf-viewer.service.js +1 -1
  563. package/esm5/components/progress/progress-bar/progress-bar.component.js +6 -6
  564. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  565. package/esm5/components/progress/progress-circle/progress-circle.component.js +7 -7
  566. package/esm5/components/progress/progress-label/progress-label.component.js +2 -2
  567. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  568. package/esm5/components/push/push-alert.component.js +7 -7
  569. package/esm5/components/push/push-alert.directive.js +2 -2
  570. package/esm5/components/push/push.component.js +5 -5
  571. package/esm5/components/push/push.directive.js +4 -4
  572. package/esm5/components/radio/radio.component.js +7 -7
  573. package/esm5/components/radio-block/radio-block.component.js +12 -11
  574. package/esm5/components/radio-group/radio-group.component.js +2 -2
  575. package/esm5/components/radio-labeled/radio-labeled.component.js +6 -6
  576. package/esm5/components/radio-list/radio-list.component.js +6 -6
  577. package/esm5/components/range/range-change.directive.js +12 -12
  578. package/esm5/components/range/range.component.js +23 -23
  579. package/esm5/components/rating/rating.component.js +5 -5
  580. package/esm5/components/select/select.component.js +4 -4
  581. package/esm5/components/select/select.directive.js +2 -2
  582. package/esm5/components/select-option/select-option.component.js +3 -3
  583. package/esm5/components/slider/helpers/slider-key-steps.directive.js +10 -10
  584. package/esm5/components/slider/helpers/slider-readonly.directive.js +15 -15
  585. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +5 -5
  586. package/esm5/components/slider/slider-old.component.js +2 -2
  587. package/esm5/components/slider/slider.component.js +9 -9
  588. package/esm5/components/stepper/step/step.component.js +12 -12
  589. package/esm5/components/stepper/stepper.component.js +16 -16
  590. package/esm5/components/tabs/tab/tab.component.js +10 -10
  591. package/esm5/components/tabs/tab.directive.js +2 -2
  592. package/esm5/components/tabs/tabs/tabs.component.js +13 -13
  593. package/esm5/components/tabs/tabs-options.js +2 -1
  594. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +9 -8
  595. package/esm5/components/tabs/underline/underline.component.js +13 -13
  596. package/esm5/components/tag/tag-options.js +1 -1
  597. package/esm5/components/tag/tag.component.js +23 -23
  598. package/esm5/components/text-area/text-area.component.js +17 -17
  599. package/esm5/components/text-area/text-area.directive.js +2 -2
  600. package/esm5/components/toggle/toggle.component.js +8 -8
  601. package/esm5/components/tree/components/tree/tree.component.js +3 -3
  602. package/esm5/components/tree/components/tree-item/tree-item.component.js +5 -5
  603. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  604. package/esm5/components/tree/directives/tree-children.directive.js +2 -2
  605. package/esm5/components/tree/directives/tree-controller.directive.js +4 -4
  606. package/esm5/components/tree/directives/tree-item-controller.directive.js +4 -4
  607. package/esm5/components/tree/directives/tree-node.directive.js +3 -3
  608. package/esm5/constants/max-day-range-length-mapper.js +2 -2
  609. package/esm5/directives/dropdown-context/dropdown-context.directive.js +11 -11
  610. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +7 -7
  611. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +12 -12
  612. package/esm5/directives/highlight/highlight.directive.js +11 -11
  613. package/esm5/directives/lazy-loading/lazy-loading.directive.js +12 -12
  614. package/esm5/directives/lazy-loading/lazy-loading.service.js +1 -1
  615. package/esm5/directives/present/present.directive.js +6 -6
  616. package/esm5/directives/project-class/project-class.directive.js +3 -3
  617. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  618. package/esm5/directives/value-accessor/value-accessor.directive.js +2 -2
  619. package/esm5/enums/dropdown-position.js +1 -1
  620. package/esm5/enums/file-state.js +1 -1
  621. package/esm5/enums/step-state.js +1 -1
  622. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  623. package/esm5/pipes/field-error/field-error-pipe.js +1 -1
  624. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  625. package/esm5/pipes/filter-by-input/filter-by-input.base.js +1 -1
  626. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  627. package/esm5/pipes/stringify/stringify.pipe.js +1 -1
  628. package/esm5/tokens/validation-errors.js +1 -1
  629. package/esm5/types/marker-icon-mode.js +1 -1
  630. package/esm5/types/status.js +1 -1
  631. package/esm5/types/time-format-parts.js +1 -1
  632. package/esm5/utils/dom/set-range-offset.js +1 -1
  633. package/esm5/utils/format/string-hash-to-hsl.js +2 -2
  634. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +1 -1
  635. package/esm5/utils/mask/create-time-mask.js +1 -1
  636. package/esm5/utils/miscellaneous/is-flat.js +1 -1
  637. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +1 -1
  638. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  639. package/fesm2015/taiga-ui-kit-components-accordion.js +13 -13
  640. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  641. package/fesm2015/taiga-ui-kit-components-action.js +8 -8
  642. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  643. package/fesm2015/taiga-ui-kit-components-arrow.js +1 -1
  644. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  645. package/fesm2015/taiga-ui-kit-components-avatar.js +13 -13
  646. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  647. package/fesm2015/taiga-ui-kit-components-badge.js +16 -18
  648. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  649. package/fesm2015/taiga-ui-kit-components-badged-content.js +20 -20
  650. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  651. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +8 -8
  652. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  653. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  654. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  655. package/fesm2015/taiga-ui-kit-components-calendar-range.js +4 -4
  656. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  657. package/fesm2015/taiga-ui-kit-components-carousel.js +20 -29
  658. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  659. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +10 -9
  660. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  661. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  662. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  663. package/fesm2015/taiga-ui-kit-components-checkbox.js +3 -3
  664. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  665. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -9
  666. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  667. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  668. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  669. package/fesm2015/taiga-ui-kit-components-field-error.js +5 -5
  670. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  671. package/fesm2015/taiga-ui-kit-components-files.js +20 -20
  672. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  673. package/fesm2015/taiga-ui-kit-components-filter.js +3 -3
  674. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  675. package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -9
  676. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  677. package/fesm2015/taiga-ui-kit-components-input-count.js +16 -16
  678. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  679. package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -14
  680. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  681. package/fesm2015/taiga-ui-kit-components-input-date-time.js +16 -16
  682. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  683. package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
  684. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  685. package/fesm2015/taiga-ui-kit-components-input-file.js +34 -34
  686. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  687. package/fesm2015/taiga-ui-kit-components-input-files.js +15 -15
  688. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  689. package/fesm2015/taiga-ui-kit-components-input-inline.js +4 -4
  690. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  691. package/fesm2015/taiga-ui-kit-components-input-month-range.js +7 -7
  692. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  693. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -5
  694. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  695. package/fesm2015/taiga-ui-kit-components-input-number.js +26 -26
  696. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  697. package/fesm2015/taiga-ui-kit-components-input-password.js +6 -6
  698. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  699. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +13 -13
  700. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  701. package/fesm2015/taiga-ui-kit-components-input-phone.js +31 -31
  702. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  703. package/fesm2015/taiga-ui-kit-components-input-range.js +16 -16
  704. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  705. package/fesm2015/taiga-ui-kit-components-input-slider.js +16 -14
  706. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  707. package/fesm2015/taiga-ui-kit-components-input-tag.js +22 -22
  708. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  709. package/fesm2015/taiga-ui-kit-components-input-time.js +8 -8
  710. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  711. package/fesm2015/taiga-ui-kit-components-input.js +5 -5
  712. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  713. package/fesm2015/taiga-ui-kit-components-island.js +18 -18
  714. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  715. package/fesm2015/taiga-ui-kit-components-line-clamp.js +8 -8
  716. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  717. package/fesm2015/taiga-ui-kit-components-marker-icon.js +6 -6
  718. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  719. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +2 -2
  720. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  721. package/fesm2015/taiga-ui-kit-components-multi-select.js +14 -14
  722. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  723. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  724. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  725. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +8 -8
  726. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  727. package/fesm2015/taiga-ui-kit-components-progress.js +23 -23
  728. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  729. package/fesm2015/taiga-ui-kit-components-push.js +14 -14
  730. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
  731. package/fesm2015/taiga-ui-kit-components-radio-block.js +11 -10
  732. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  733. package/fesm2015/taiga-ui-kit-components-radio-group.js +1 -1
  734. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  735. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +5 -5
  736. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  737. package/fesm2015/taiga-ui-kit-components-radio-list.js +5 -5
  738. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  739. package/fesm2015/taiga-ui-kit-components-radio.js +6 -6
  740. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  741. package/fesm2015/taiga-ui-kit-components-range.js +31 -31
  742. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-rating.js +4 -4
  744. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-select-option.js +2 -2
  746. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-select.js +4 -4
  748. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-slider.js +36 -36
  750. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-stepper.js +26 -26
  752. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-tabs.js +43 -41
  754. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-tag.js +22 -22
  756. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-text-area.js +17 -17
  758. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -7
  760. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-components-tree.js +17 -17
  762. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-constants.js +1 -1
  764. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  765. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +10 -10
  766. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +4 -4
  768. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +11 -11
  770. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-directives-highlight.js +10 -10
  772. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +11 -11
  774. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-directives-present.js +5 -5
  776. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-directives-project-class.js +2 -2
  778. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  780. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +1 -1
  782. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-enums.js.map +1 -1
  784. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  785. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  786. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  787. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  788. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  790. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-utils-format.js +1 -1
  792. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  794. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  795. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  796. package/fesm5/taiga-ui-kit-components-accordion.js +13 -13
  797. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  798. package/fesm5/taiga-ui-kit-components-action.js +8 -8
  799. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  800. package/fesm5/taiga-ui-kit-components-arrow.js +1 -1
  801. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  802. package/fesm5/taiga-ui-kit-components-avatar.js +13 -13
  803. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  804. package/fesm5/taiga-ui-kit-components-badge.js +16 -18
  805. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  806. package/fesm5/taiga-ui-kit-components-badged-content.js +20 -20
  807. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  808. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +8 -8
  809. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  810. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  811. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  812. package/fesm5/taiga-ui-kit-components-calendar-range.js +4 -4
  813. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  814. package/fesm5/taiga-ui-kit-components-carousel.js +20 -29
  815. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  816. package/fesm5/taiga-ui-kit-components-checkbox-block.js +10 -9
  817. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  818. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  819. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  820. package/fesm5/taiga-ui-kit-components-checkbox.js +3 -3
  821. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  822. package/fesm5/taiga-ui-kit-components-combo-box.js +9 -9
  823. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  824. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  825. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  826. package/fesm5/taiga-ui-kit-components-field-error.js +5 -5
  827. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  828. package/fesm5/taiga-ui-kit-components-files.js +20 -20
  829. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  830. package/fesm5/taiga-ui-kit-components-filter.js +3 -3
  831. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  832. package/fesm5/taiga-ui-kit-components-input-copy.js +10 -9
  833. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  834. package/fesm5/taiga-ui-kit-components-input-count.js +16 -16
  835. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  836. package/fesm5/taiga-ui-kit-components-input-date-range.js +14 -14
  837. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  838. package/fesm5/taiga-ui-kit-components-input-date-time.js +16 -16
  839. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  840. package/fesm5/taiga-ui-kit-components-input-date.js +10 -10
  841. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  842. package/fesm5/taiga-ui-kit-components-input-file.js +34 -34
  843. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  844. package/fesm5/taiga-ui-kit-components-input-files.js +15 -15
  845. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  846. package/fesm5/taiga-ui-kit-components-input-inline.js +4 -4
  847. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  848. package/fesm5/taiga-ui-kit-components-input-month-range.js +7 -7
  849. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  850. package/fesm5/taiga-ui-kit-components-input-month.js +5 -5
  851. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  852. package/fesm5/taiga-ui-kit-components-input-number.js +26 -26
  853. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  854. package/fesm5/taiga-ui-kit-components-input-password.js +6 -6
  855. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  856. package/fesm5/taiga-ui-kit-components-input-phone-international.js +13 -13
  857. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  858. package/fesm5/taiga-ui-kit-components-input-phone.js +31 -31
  859. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  860. package/fesm5/taiga-ui-kit-components-input-range.js +16 -16
  861. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  862. package/fesm5/taiga-ui-kit-components-input-slider.js +16 -14
  863. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  864. package/fesm5/taiga-ui-kit-components-input-tag.js +22 -22
  865. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  866. package/fesm5/taiga-ui-kit-components-input-time.js +8 -8
  867. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  868. package/fesm5/taiga-ui-kit-components-input.js +5 -5
  869. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  870. package/fesm5/taiga-ui-kit-components-island.js +18 -18
  871. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  872. package/fesm5/taiga-ui-kit-components-line-clamp.js +8 -8
  873. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  874. package/fesm5/taiga-ui-kit-components-marker-icon.js +6 -6
  875. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  876. package/fesm5/taiga-ui-kit-components-multi-select-option.js +5 -3
  877. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  878. package/fesm5/taiga-ui-kit-components-multi-select.js +14 -14
  879. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  880. package/fesm5/taiga-ui-kit-components-pagination.js +7 -7
  881. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  882. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +8 -8
  883. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  884. package/fesm5/taiga-ui-kit-components-progress.js +23 -23
  885. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  886. package/fesm5/taiga-ui-kit-components-push.js +14 -14
  887. package/fesm5/taiga-ui-kit-components-push.js.map +1 -1
  888. package/fesm5/taiga-ui-kit-components-radio-block.js +11 -10
  889. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  890. package/fesm5/taiga-ui-kit-components-radio-group.js +1 -1
  891. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  892. package/fesm5/taiga-ui-kit-components-radio-labeled.js +5 -5
  893. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-components-radio-list.js +5 -5
  895. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  896. package/fesm5/taiga-ui-kit-components-radio.js +6 -6
  897. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-components-range.js +33 -33
  899. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-components-rating.js +4 -4
  901. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-components-select-option.js +2 -2
  903. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-components-select.js +4 -4
  905. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  906. package/fesm5/taiga-ui-kit-components-slider.js +36 -36
  907. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  908. package/fesm5/taiga-ui-kit-components-stepper.js +26 -26
  909. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  910. package/fesm5/taiga-ui-kit-components-tabs.js +43 -41
  911. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  912. package/fesm5/taiga-ui-kit-components-tag.js +22 -22
  913. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  914. package/fesm5/taiga-ui-kit-components-text-area.js +17 -17
  915. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  916. package/fesm5/taiga-ui-kit-components-toggle.js +7 -7
  917. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-components-tree.js +17 -17
  919. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-constants.js +1 -1
  921. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +10 -10
  923. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +6 -6
  925. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +11 -11
  927. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-directives-highlight.js +10 -10
  929. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  930. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +11 -11
  931. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  932. package/fesm5/taiga-ui-kit-directives-present.js +5 -5
  933. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  934. package/fesm5/taiga-ui-kit-directives-project-class.js +2 -2
  935. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  937. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-directives-value-accessor.js +1 -1
  939. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  940. package/fesm5/taiga-ui-kit-enums.js.map +1 -1
  941. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  942. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  943. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
  944. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  945. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  947. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  948. package/fesm5/taiga-ui-kit-utils-format.js +1 -1
  949. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  950. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  951. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  952. package/package.json +4 -4
  953. package/pipes/field-error/field-error-pipe.d.ts +1 -1
  954. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -1
  955. package/pipes/stringify/stringify.pipe.d.ts +1 -1
  956. package/types/marker-icon-mode.d.ts +1 -1
  957. package/types/status.d.ts +1 -1
  958. package/types/time-format-parts.d.ts +1 -1
  959. package/utils/dom/set-range-offset.d.ts +1 -1
  960. package/utils/miscellaneous/is-flat.d.ts +1 -1
  961. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -1
@@ -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 tuiAssertIsHTMLElement,\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\nconst ONLY_HORIZONTAL_SCROLL: ScrollIntoViewOptions = {\n block: `nearest`,\n inline: `center`,\n};\n\nconst ONLY_VERTICAL_SCROLL: ScrollIntoViewOptions = {\n block: `center`,\n inline: `nearest`,\n};\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(`activeItemIndex`)\n set activeIndex(index: number) {\n this.activeItemIndex = index;\n this.scrollIntoView(index);\n }\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n activeItemIndex = 0;\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): void {\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): void {\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): void {\n if (this.activeItemIndex === index) {\n return;\n }\n\n this.activeItemIndex = index;\n this.activeItemIndexChange.emit(index);\n this.scrollIntoView(index);\n }\n\n @tuiPure\n private getNativeElements(\n queryList: QueryList<ElementRef<HTMLElement>>,\n ): HTMLElement[] {\n return queryList.map(({nativeElement}) => nativeElement);\n }\n\n private moveFocus(current: EventTarget, step: number): void {\n tuiAssertIsHTMLElement(current);\n\n const stepElements = this.getNativeElements(this.steps);\n\n moveFocus(stepElements.indexOf(current), stepElements, step);\n }\n\n private scrollIntoView(targetStepIndex: number): void {\n this.getNativeElements(this.steps)[targetStepIndex]?.scrollIntoView(\n this.orientation === `vertical`\n ? ONLY_VERTICAL_SCROLL\n : ONLY_HORIZONTAL_SCROLL,\n );\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n} from '@angular/core';\nimport {tuiDefaultProp, TuiDestroyService, TuiFocusVisibleService} from '@taiga-ui/cdk';\nimport {TuiRouterLinkActiveService} from '@taiga-ui/core';\nimport {identity, Observable} from 'rxjs';\nimport {filter} from 'rxjs/operators';\n\nimport {TuiStepperComponent} from '../stepper.component';\n\n@Component({\n selector: `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(): void {\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":";;;;;;;;AA4BA,IAAM,sBAAsB,GAA0B;IAClD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,QAAQ;CACnB,CAAC;AAEF,IAAM,oBAAoB,GAA0B;IAChD,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,SAAS;CACpB,CAAC;;IAQF;QAEqB,UAAK,GAAuC,WAAW,CAAC;QAKzE,gBAAW,GAAoB,YAAY,CAAC;QASnC,0BAAqB,GAAG,IAAI,YAAY,EAAU,CAAC;QAE5D,oBAAe,GAAG,CAAC,CAAC;KAyEvB;IAjFG,sBAAI,4CAAW;aAAf,UAAgB,KAAa;YACzB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;YAC7B,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;SAC9B;;;OAAA;IAQD,sBAAI,yCAAQ;aAAZ;;;YAGI,OAAO,wBAAwB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAA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,KAAK,EAAE;QACP,WAAW,CAAC,iBAAiB,CAAC;QAC9B,cAAc,EAAE;mDAC6B;IAI9C;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;kDACP;IAGV;QADC,WAAW,CAAC,sBAAsB,CAAC;0DACf;IAkBrB;QADC,WAAW,CAAC,eAAe,CAAC;oDAG5B;IAGD;QADC,WAAW,CAAC,iBAAiB,CAAC;sDAG9B;IAGD;QADC,WAAW,CAAC,UAAU,CAAC;oDAGvB;IAOD;QADC,YAAY,CAAC,OAAO,CAAC;oDAGrB;IAlDQ,gBAAgB;QAV5B,SAAS,CAAC;YACP,QAAQ,EAAE,yFAAyF;YACnG,wXAAmC;YAEnC,eAAe,EAAE,uBAAuB,CAAC,MAAM;YAC/C,SAAS,EAAE,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,sBAAsB,CAAC;YAClF,IAAI,EAAE;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;;;ICdA;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
+ {"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 tuiAssertIsHTMLElement,\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\nconst ONLY_HORIZONTAL_SCROLL: ScrollIntoViewOptions = {\n block: 'nearest',\n inline: 'center',\n};\n\nconst ONLY_VERTICAL_SCROLL: ScrollIntoViewOptions = {\n block: 'center',\n inline: 'nearest',\n};\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('activeItemIndex')\n set activeIndex(index: number) {\n this.activeItemIndex = index;\n this.scrollIntoView(index);\n }\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n activeItemIndex = 0;\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): void {\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): void {\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): void {\n if (this.activeItemIndex === index) {\n return;\n }\n\n this.activeItemIndex = index;\n this.activeItemIndexChange.emit(index);\n this.scrollIntoView(index);\n }\n\n @tuiPure\n private getNativeElements(\n queryList: QueryList<ElementRef<HTMLElement>>,\n ): HTMLElement[] {\n return queryList.map(({nativeElement}) => nativeElement);\n }\n\n private moveFocus(current: EventTarget, step: number): void {\n tuiAssertIsHTMLElement(current);\n\n const stepElements = this.getNativeElements(this.steps);\n\n moveFocus(stepElements.indexOf(current), stepElements, step);\n }\n\n private scrollIntoView(targetStepIndex: number): void {\n this.getNativeElements(this.steps)[targetStepIndex]?.scrollIntoView(\n this.orientation === 'vertical'\n ? ONLY_VERTICAL_SCROLL\n : ONLY_HORIZONTAL_SCROLL,\n );\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n} from '@angular/core';\nimport {tuiDefaultProp, TuiDestroyService, TuiFocusVisibleService} from '@taiga-ui/cdk';\nimport {TuiRouterLinkActiveService} from '@taiga-ui/core';\nimport {identity, 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: 'error' | 'normal' | 'pass' = '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(): void {\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":";;;;;;;;AA4BA,IAAM,sBAAsB,GAA0B;IAClD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,QAAQ;CACnB,CAAC;AAEF,IAAM,oBAAoB,GA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AC3B,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;OAjBd,gBAAgB,CAmD5B;IAAD,uBAAC;CAnDD;;;ICfA;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;;;;;;"}
@@ -21,7 +21,7 @@ var TuiTabDirective = /** @class */ (function () {
21
21
  ]; };
22
22
  TuiTabDirective = __decorate([
23
23
  Directive({
24
- selector: "ng-template[tuiTab]",
24
+ selector: 'ng-template[tuiTab]',
25
25
  }),
26
26
  __param(0, Inject(TemplateRef))
27
27
  ], TuiTabDirective);
@@ -97,27 +97,27 @@ var TuiTabComponent = /** @class */ (function () {
97
97
  { type: TuiFocusVisibleService, decorators: [{ type: Inject, args: [TuiFocusVisibleService,] }] }
98
98
  ]; };
99
99
  __decorate([
100
- HostBinding("class._ios")
100
+ HostBinding('class._ios')
101
101
  ], TuiTabComponent.prototype, "isIos", void 0);
102
102
  __decorate([
103
- HostBinding("class._android")
103
+ HostBinding('class._android')
104
104
  ], TuiTabComponent.prototype, "isAndroid", void 0);
105
105
  __decorate([
106
- HostBinding("class._focus-visible")
106
+ HostBinding('class._focus-visible')
107
107
  ], TuiTabComponent.prototype, "focusVisible", void 0);
108
108
  __decorate([
109
- HostBinding("class._active")
109
+ HostBinding('class._active')
110
110
  ], TuiTabComponent.prototype, "isActive", null);
111
111
  TuiTabComponent = __decorate([
112
112
  Component({
113
- selector: "a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]",
114
- template: "<ng-container *ngIf=\"event$ | async\"></ng-container>\n<span class=\"t-highlight\"><ng-content></ng-content></span>\n",
113
+ selector: 'a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]',
114
+ template: "<ng-container *ngIf=\"event$ | async\"></ng-container>\n<span class=\"t-highlight\">\n <ng-content></ng-content>\n</span>\n",
115
115
  changeDetection: ChangeDetectionStrategy.OnPush,
116
116
  providers: TUI_TAB_PROVIDERS,
117
117
  host: {
118
- '($.data-mode.attr)': "mode$",
119
- '[style.--tui-tab-margin.px]': "margin",
120
- type: "button",
118
+ '($.data-mode.attr)': 'mode$',
119
+ '[style.--tui-tab-margin.px]': 'margin',
120
+ type: 'button',
121
121
  },
122
122
  styles: [":host-context(._underline):hover{box-shadow:inset 0 -2px var(--tui-base-03)}:host-context([tuiTabs]>):first-child,:host-context([tuiTabs]>:first-child),:host-context(tui-tabs>):first-child,:host-context(tui-tabs>:first-child){margin-left:0}:host{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:0 0;font-size:inherit;line-height:inherit;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:0;text-decoration:none;color:inherit;transition-property:color,box-shadow,opacity;margin-left:var(--tui-tab-margin,1.5rem)}:host:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}:host:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}:host[data-mode=onDark]{color:rgba(255,255,255,.72)}:host[data-mode=onDark]._active,:host[data-mode=onDark]:hover{color:#fff}:host[data-mode=onDark]._focus-visible .t-highlight{background:var(--tui-clear-inverse);color:var(--tui-text-01)}:host[data-mode=onLight]{color:var(--tui-text-02)}:host[data-mode=onLight]._active,:host[data-mode=onLight]:hover{color:var(--tui-text-01)}:host[data-mode=onLight]._focus-visible .t-highlight{background:var(--tui-text-01);color:#fff}:host._focus-visible .t-highlight{background:var(--tui-selection)}:host._android{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',sans-serif}:host._android:hover{box-shadow:none}:host._android._active{opacity:1;color:var(--tui-base-09)}:host._android .t-highlight{width:auto}:host._ios{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',sans-serif}:host._ios:hover{box-shadow:none}:host._ios._active{font-size:.875rem;font-weight:600;color:var(--tui-link)}:host._ios .t-highlight{width:auto}@media (hover:hover){:host:hover{color:var(--tui-text-01)}}.t-highlight{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight ::ng-deep>*{flex-shrink:0}"]
123
123
  }),
@@ -139,6 +139,7 @@ var TUI_TABS_DEFAULT_OPTIONS = {
139
139
  underline: true,
140
140
  exposeActive: true,
141
141
  itemsLimit: Infinity,
142
+ minMoreWidth: 0,
142
143
  };
143
144
  var TUI_TABS_OPTIONS = new InjectionToken("Default parameters for tabs component", {
144
145
  factory: function () { return TUI_TABS_DEFAULT_OPTIONS; },
@@ -148,7 +149,7 @@ var tuiTabsOptionsProvider = function (options) { return ({
148
149
  useValue: __assign(__assign({}, TUI_TABS_DEFAULT_OPTIONS), options),
149
150
  }); };
150
151
 
151
- var TAB_ACTIVE_CLASS = "_active";
152
+ var TAB_ACTIVE_CLASS = '_active';
152
153
  // TODO: 3.0 remove in ivy compilation
153
154
  var OBSERVER_INIT = {
154
155
  childList: true,
@@ -180,7 +181,7 @@ var TuiTabsComponent = /** @class */ (function () {
180
181
  });
181
182
  Object.defineProperty(TuiTabsComponent.prototype, "tabs", {
182
183
  get: function () {
183
- return Array.from(this.elementRef.nativeElement.querySelectorAll("[tuiTab]"));
184
+ return Array.from(this.elementRef.nativeElement.querySelectorAll('[tuiTab]'));
184
185
  },
185
186
  enumerable: true,
186
187
  configurable: true
@@ -209,11 +210,11 @@ var TuiTabsComponent = /** @class */ (function () {
209
210
  var _a = this, tabs = _a.tabs, activeElement = _a.activeElement;
210
211
  tabs.forEach(function (nativeElement) {
211
212
  _this.renderer.removeClass(nativeElement, TAB_ACTIVE_CLASS);
212
- _this.renderer.setAttribute(nativeElement, "tabIndex", "-1");
213
+ _this.renderer.setAttribute(nativeElement, 'tabIndex', '-1');
213
214
  });
214
215
  if (activeElement) {
215
216
  this.renderer.addClass(activeElement, TAB_ACTIVE_CLASS);
216
- this.renderer.setAttribute(activeElement, "tabIndex", "0");
217
+ this.renderer.setAttribute(activeElement, 'tabIndex', '0');
217
218
  }
218
219
  };
219
220
  TuiTabsComponent.prototype.scrollTo = function (element) {
@@ -246,31 +247,31 @@ var TuiTabsComponent = /** @class */ (function () {
246
247
  ], TuiTabsComponent.prototype, "children", void 0);
247
248
  __decorate([
248
249
  Input(),
249
- HostBinding("class._underline"),
250
+ HostBinding('class._underline'),
250
251
  tuiDefaultProp()
251
252
  ], TuiTabsComponent.prototype, "underline", void 0);
252
253
  __decorate([
253
- Input("activeItemIndex")
254
+ Input('activeItemIndex')
254
255
  ], TuiTabsComponent.prototype, "activeItemIndexSetter", null);
255
256
  __decorate([
256
257
  Output()
257
258
  ], TuiTabsComponent.prototype, "activeItemIndexChange", void 0);
258
259
  __decorate([
259
- HostBinding("class._ios")
260
+ HostBinding('class._ios')
260
261
  ], TuiTabsComponent.prototype, "isIos", void 0);
261
262
  __decorate([
262
- HostBinding("class._android")
263
+ HostBinding('class._android')
263
264
  ], TuiTabsComponent.prototype, "isAndroid", void 0);
264
265
  __decorate([
265
- HostListener(TUI_TAB_ACTIVATE + ".stop", ["$event.target"])
266
+ HostListener(TUI_TAB_ACTIVATE + ".stop", ['$event.target'])
266
267
  ], TuiTabsComponent.prototype, "onActivate", null);
267
268
  __decorate([
268
- HostListener("keydown.arrowRight.prevent", ["$event.target", "1"]),
269
- HostListener("keydown.arrowLeft.prevent", ["$event.target", "-1"])
269
+ HostListener('keydown.arrowRight.prevent', ['$event.target', '1']),
270
+ HostListener('keydown.arrowLeft.prevent', ['$event.target', '-1'])
270
271
  ], TuiTabsComponent.prototype, "onKeyDownArrow", null);
271
272
  TuiTabsComponent = __decorate([
272
273
  Component({
273
- selector: "tui-tabs, nav[tuiTabs]",
274
+ selector: 'tui-tabs, nav[tuiTabs]',
274
275
  template: "<ng-container *ngIf=\"children.changes | async\"></ng-container>\n<ng-content></ng-content>\n<tui-underline\n *ngIf=\"underline\"\n class=\"t-underline\"\n [element]=\"activeElement\"\n></tui-underline>\n",
275
276
  changeDetection: ChangeDetectionStrategy.OnPush,
276
277
  providers: [
@@ -343,8 +344,8 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
343
344
  this.changeDetectorRef = changeDetectorRef;
344
345
  this.moreWord$ = moreWord$;
345
346
  this.maxIndex = Infinity;
346
- this.moreContent = "";
347
- this.dropdownContent = "";
347
+ this.moreContent = '';
348
+ this.dropdownContent = '';
348
349
  this.underline = this.options.underline;
349
350
  this.activeItemIndex = 0;
350
351
  this.itemsLimit = this.options.itemsLimit;
@@ -355,7 +356,7 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
355
356
  Object.defineProperty(TuiTabsWithMoreComponent.prototype, "tabs", {
356
357
  // TODO: Improve performance
357
358
  get: function () {
358
- return Array.from(this.elementRef.nativeElement.querySelectorAll("[tuiTab]"));
359
+ return Array.from(this.elementRef.nativeElement.querySelectorAll('[tuiTab]'));
359
360
  },
360
361
  enumerable: true,
361
362
  configurable: true
@@ -471,9 +472,10 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
471
472
  if (tabs.length < 2) {
472
473
  return 0;
473
474
  }
475
+ var _b = this.options, exposeActive = _b.exposeActive, minMoreWidth = _b.minMoreWidth;
474
476
  var clientWidth = this.elementRef.nativeElement.clientWidth;
475
477
  var activeWidth = tabs[activeItemIndex] ? tabs[activeItemIndex].scrollWidth : 0;
476
- var moreWidth = tabs[tabs.length - 1].scrollWidth;
478
+ var moreWidth = Math.max(tabs[tabs.length - 1].scrollWidth, minMoreWidth);
477
479
  var maxIndex = tabs.length - 2;
478
480
  var total = tabs.reduce(function (acc, _a) {
479
481
  var scrollWidth = _a.scrollWidth;
@@ -487,7 +489,7 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
487
489
  while (maxIndex) {
488
490
  total -= tabs[maxIndex].scrollWidth + margin;
489
491
  maxIndex--;
490
- var activeDisplaced = this.options.exposeActive && activeItemIndex > maxIndex;
492
+ var activeDisplaced = exposeActive && activeItemIndex > maxIndex;
491
493
  var activeOffset = activeDisplaced ? activeWidth + margin : 0;
492
494
  var currentWidth = total + activeOffset + moreWidth + margin;
493
495
  // Needed for different rounding of visible and hidden elements scrollWidth
@@ -527,7 +529,7 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
527
529
  ], TuiTabsWithMoreComponent.prototype, "dropdownContent", void 0);
528
530
  __decorate([
529
531
  Input(),
530
- HostBinding("class._underline"),
532
+ HostBinding('class._underline'),
531
533
  tuiDefaultProp()
532
534
  ], TuiTabsWithMoreComponent.prototype, "underline", void 0);
533
535
  __decorate([
@@ -546,7 +548,7 @@ var TuiTabsWithMoreComponent = /** @class */ (function () {
546
548
  ], TuiTabsWithMoreComponent.prototype, "items", void 0);
547
549
  TuiTabsWithMoreComponent = __decorate([
548
550
  Component({
549
- selector: "tui-tabs-with-more, nav[tuiTabsWithMore]",
551
+ selector: 'tui-tabs-with-more, nav[tuiTabsWithMore]',
550
552
  template: "<ng-container *ngIf=\"items.changes | async\"></ng-container>\n<div class=\"t-wrapper\">\n <tui-tabs\n class=\"t-tabs\"\n [underline]=\"false\"\n [activeItemIndex]=\"activeItemIndex\"\n (activeItemIndexChange)=\"onActiveItemIndexChange($event)\"\n (keydown.arrowRight)=\"onArrowRight($event)\"\n >\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"index <= lastVisibleIndex; else hidden\"\n [ngTemplateOutlet]=\"item\"\n ></ng-container>\n <ng-template #hidden>\n <div [class.t-overflown]=\"isOverflown(index)\">\n <ng-container [ngTemplateOutlet]=\"item\"></ng-container>\n </div>\n </ng-template>\n </ng-container>\n </tui-tabs>\n <tui-hosted-dropdown\n class=\"t-more_wrapper\"\n [class.t-overflown]=\"!isMoreVisible\"\n [content]=\"dropdownContent || dropdown\"\n [(open)]=\"open\"\n >\n <button\n tuiTab\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [tuiFocusable]=\"isMoreFocusable\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n >\n <span\n polymorpheus-outlet\n [content]=\"moreContent || more\"\n ></span>\n </button>\n <ng-template #more>\n {{ moreWord$ | async }}\n <tui-svg\n src=\"tuiIconChevronDown\"\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n ></tui-svg>\n </ng-template>\n </tui-hosted-dropdown>\n <ng-template #dropdown>\n <div\n #element\n class=\"t-dropdown\"\n (keydown.arrowUp.prevent)=\"onWrapperArrow($event, element, true)\"\n (keydown.arrowDown.prevent)=\"onWrapperArrow($event, element, false)\"\n >\n <div\n *ngFor=\"let item of items; let index = index\"\n (tui-tab-activate)=\"onClick(index)\"\n >\n <ng-container\n *ngIf=\"shouldShow(index)\"\n [ngTemplateOutlet]=\"item\"\n ></ng-container>\n </div>\n </div>\n </ng-template>\n <tui-underline\n *ngIf=\"underline\"\n [element]=\"activeElement\"\n ></tui-underline>\n</div>\n",
551
553
  changeDetection: ChangeDetectionStrategy.OnPush,
552
554
  providers: TABS_PROVIDERS,
@@ -580,14 +582,14 @@ var TuiUnderlineComponent = /** @class */ (function () {
580
582
  }), share());
581
583
  this.isIos = this.mobileAware && this.ios;
582
584
  this.isAndroid = this.mobileAware && this.android;
583
- this.transition$ = asCallable(this.element$.pipe(map(function (element) { return element && "all"; }), debounceTime(50)));
585
+ this.transition$ = asCallable(this.element$.pipe(map(function (element) { return element && 'all'; }), debounceTime(50)));
584
586
  this.transform$ = asCallable(this.refresh$.pipe(map(function (element) {
585
587
  return element ? "translate3d(" + px(element.offsetLeft) + ", 0, 0)" : null;
586
588
  })));
587
589
  this.width$ = asCallable(this.refresh$.pipe(map(function (element) { return (element === null || element === void 0 ? void 0 : element.clientWidth) || 0; })));
588
- nativeElement["$.style.transitionProperty"] = this.transition$;
589
- nativeElement["$.style.transform"] = this.transform$;
590
- nativeElement["$.style.width.px"] = this.width$;
590
+ nativeElement['$.style.transitionProperty'] = this.transition$;
591
+ nativeElement['$.style.transform'] = this.transform$;
592
+ nativeElement['$.style.width.px'] = this.width$;
591
593
  }
592
594
  Object.defineProperty(TuiUnderlineComponent.prototype, "element", {
593
595
  set: function (element) {
@@ -610,28 +612,28 @@ var TuiUnderlineComponent = /** @class */ (function () {
610
612
  tuiDefaultProp()
611
613
  ], TuiUnderlineComponent.prototype, "element", null);
612
614
  __decorate([
613
- HostBinding("class._ios")
615
+ HostBinding('class._ios')
614
616
  ], TuiUnderlineComponent.prototype, "isIos", void 0);
615
617
  __decorate([
616
- HostBinding("class._android")
618
+ HostBinding('class._android')
617
619
  ], TuiUnderlineComponent.prototype, "isAndroid", void 0);
618
620
  __decorate([
619
- HostListener("$.style.transitionProperty")
621
+ HostListener('$.style.transitionProperty')
620
622
  ], TuiUnderlineComponent.prototype, "transition$", void 0);
621
623
  __decorate([
622
- HostListener("$.style.transform")
624
+ HostListener('$.style.transform')
623
625
  ], TuiUnderlineComponent.prototype, "transform$", void 0);
624
626
  __decorate([
625
- HostListener("$.style.width.px")
627
+ HostListener('$.style.width.px')
626
628
  ], TuiUnderlineComponent.prototype, "width$", void 0);
627
629
  TuiUnderlineComponent = __decorate([
628
630
  Component({
629
- selector: "tui-underline",
630
- template: "",
631
+ selector: 'tui-underline',
632
+ template: '',
631
633
  changeDetection: ChangeDetectionStrategy.OnPush,
632
634
  providers: [MODE_PROVIDER],
633
635
  host: {
634
- '($.data-mode.attr)': "mode$",
636
+ '($.data-mode.attr)': 'mode$',
635
637
  },
636
638
  styles: [":host{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;transition-property:none;pointer-events:none}:host._ios{border-radius:.4375rem;background:var(--tui-base-01);box-shadow:0 .1875rem .0625rem rgba(0,0,0,.04),0 .1875rem .5rem rgba(0,0,0,.12)}:host._android{box-shadow:inset 0 -.1875rem var(--tui-link)}:host[data-mode=onDark]{color:var(--tui-text-01-night)}:host[data-mode=onLight]{color:var(--tui-text-02)}"]
637
639
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-tabs.js","sources":["ng://@taiga-ui/kit/components/tabs/tab.directive.ts","ng://@taiga-ui/kit/components/tabs/tab/tab.providers.ts","ng://@taiga-ui/kit/components/tabs/tab/tab.component.ts","ng://@taiga-ui/kit/components/tabs/tabs-options.ts","ng://@taiga-ui/kit/components/tabs/tabs/tabs.component.ts","ng://@taiga-ui/kit/components/tabs/tabs-with-more/tabs-with-more.providers.ts","ng://@taiga-ui/kit/components/tabs/tabs-with-more/tabs-with-more.component.ts","ng://@taiga-ui/kit/components/tabs/underline/underline.component.ts","ng://@taiga-ui/kit/components/tabs/tabs.module.ts","ng://@taiga-ui/kit/components/tabs/taiga-ui-kit-components-tabs.ts"],"sourcesContent":["import {Directive, Inject, TemplateRef} from '@angular/core';\n\n@Directive({\n selector: `ng-template[tuiTab]`,\n})\nexport class TuiTabDirective {\n constructor(\n @Inject(TemplateRef) readonly template: TemplateRef<Record<string, unknown>>,\n ) {}\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ElementRef, InjectionToken, Optional, Provider} from '@angular/core';\nimport {RouterLinkActive} from '@angular/router';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {\n tuiCustomEvent,\n TuiDestroyService,\n TuiFocusVisibleService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER, TuiRouterLinkActiveService} from '@taiga-ui/core';\nimport {EMPTY, identity, merge, Observable} from 'rxjs';\nimport {filter, map} from 'rxjs/operators';\n\nexport const TUI_TAB_ACTIVATE = `tui-tab-activate`;\nexport const TUI_TAB_EVENT = new InjectionToken<Observable<Event>>(\n `Stream of tab activation events`,\n);\nexport const TUI_TAB_PROVIDERS: Provider[] = [\n TuiDestroyService,\n TuiFocusVisibleService,\n TuiRouterLinkActiveService,\n {\n provide: TUI_TAB_EVENT,\n deps: [\n ElementRef,\n DOCUMENT,\n TuiRouterLinkActiveService,\n [new Optional(), MutationObserverService],\n [new Optional(), RouterLinkActive],\n ],\n useFactory: tabActiveFactory,\n },\n MODE_PROVIDER,\n];\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function tabActiveFactory(\n {nativeElement}: ElementRef<HTMLElement>,\n documentRef: Document,\n routerLinkActiveService: Observable<boolean>,\n mutationObserverService: MutationObserverService | null,\n routerLinkActive: RouterLinkActive | null,\n): Observable<unknown> {\n const mutationObserver =\n routerLinkActive && mutationObserverService\n ? mutationObserverService.pipe(filter(() => routerLinkActive.isActive))\n : EMPTY;\n\n return merge(\n mutationObserver,\n routerLinkActiveService.pipe(filter(identity)),\n nativeElement.matches(`button`) ? typedFromEvent(nativeElement, `click`) : EMPTY,\n ).pipe(\n map(() =>\n nativeElement.dispatchEvent(\n tuiCustomEvent(TUI_TAB_ACTIVATE, {bubbles: true}, documentRef),\n ),\n ),\n );\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n OnDestroy,\n Optional,\n} from '@angular/core';\nimport {RouterLinkActive} from '@angular/router';\nimport {\n isNativeFocused,\n setNativeFocused,\n TUI_IS_ANDROID,\n TUI_IS_IOS,\n TuiFocusVisibleService,\n} from '@taiga-ui/cdk';\nimport {TUI_MODE, TuiBrightness} from '@taiga-ui/core';\nimport {TUI_MOBILE_AWARE, TUI_TAB_MARGIN} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\nimport {TUI_TAB_EVENT, TUI_TAB_PROVIDERS} from './tab.providers';\n\n@Component({\n selector: `a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]`,\n templateUrl: `./tab.template.html`,\n styleUrls: [`./tab.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_TAB_PROVIDERS,\n host: {\n '($.data-mode.attr)': `mode$`,\n '[style.--tui-tab-margin.px]': `margin`,\n type: `button`,\n },\n})\nexport class TuiTabComponent implements OnDestroy {\n @HostBinding(`class._ios`)\n readonly isIos: boolean;\n\n @HostBinding(`class._android`)\n readonly isAndroid: boolean;\n\n @HostBinding(`class._focus-visible`)\n focusVisible = false;\n\n constructor(\n @Optional()\n @Inject(RouterLinkActive)\n private readonly routerLinkActive: RouterLinkActive | null,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TAB_EVENT) readonly event$: Observable<Event>,\n @Inject(TUI_TAB_MARGIN) readonly margin: number,\n @Inject(TUI_MOBILE_AWARE) mobileAware: boolean,\n @Inject(TUI_IS_IOS) isIos: boolean,\n @Inject(TUI_IS_ANDROID) isAndroid: boolean,\n @Inject(TuiFocusVisibleService) focusVisible$: TuiFocusVisibleService,\n ) {\n this.isIos = mobileAware && isIos;\n this.isAndroid = mobileAware && isAndroid;\n\n focusVisible$.subscribe(visible => {\n this.focusVisible = visible;\n });\n }\n\n @HostBinding(`class._active`)\n get isActive(): boolean {\n return !!this.routerLinkActive && this.routerLinkActive.isActive;\n }\n\n ngOnDestroy(): void {\n if (isNativeFocused(this.elementRef.nativeElement)) {\n setNativeFocused(this.elementRef.nativeElement, false);\n }\n }\n}\n","import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiTabsOptions {\n readonly underline: boolean;\n readonly exposeActive: boolean;\n readonly itemsLimit: number;\n}\n\nexport const TUI_TABS_DEFAULT_OPTIONS: TuiTabsOptions = {\n underline: true,\n exposeActive: true,\n itemsLimit: Infinity,\n};\n\nexport const TUI_TABS_OPTIONS = new InjectionToken<TuiTabsOptions>(\n `Default parameters for tabs component`,\n {\n factory: () => TUI_TABS_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiTabsOptionsProvider: (\n options: Partial<TuiTabsOptions>,\n) => ValueProvider = (options: Partial<TuiTabsOptions>) => ({\n provide: TUI_TABS_OPTIONS,\n useValue: {...TUI_TABS_DEFAULT_OPTIONS, ...options},\n});\n","import {\n AfterViewChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n QueryList,\n Renderer2,\n} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {\n EMPTY_QUERY,\n moveFocus,\n TUI_IS_ANDROID,\n TUI_IS_IOS,\n tuiDefaultProp,\n TuiDestroyService,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {TUI_MOBILE_AWARE} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {filter} from 'rxjs/operators';\n\nimport {TuiTabComponent} from '../tab/tab.component';\nimport {TUI_TAB_ACTIVATE} from '../tab/tab.providers';\nimport {TUI_TABS_OPTIONS, TuiTabsOptions} from '../tabs-options';\n\nconst TAB_ACTIVE_CLASS = `_active`;\n\n// TODO: 3.0 remove in ivy compilation\nexport const OBSERVER_INIT = {\n childList: true,\n};\n\n// @dynamic\n@Component({\n selector: `tui-tabs, nav[tuiTabs]`,\n templateUrl: `./tabs.template.html`,\n styleUrls: [`./tabs.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: OBSERVER_INIT,\n },\n ],\n})\nexport class TuiTabsComponent implements AfterViewChecked {\n @ContentChildren(forwardRef(() => TuiTabComponent))\n readonly children: QueryList<unknown> = EMPTY_QUERY;\n\n @Input()\n @HostBinding(`class._underline`)\n @tuiDefaultProp()\n underline = this.options.underline;\n\n @Input(`activeItemIndex`)\n set activeItemIndexSetter(index: number) {\n this.activeItemIndex = index;\n this.scrollTo(this.tabs[index]);\n }\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @HostBinding(`class._ios`)\n readonly isIos: boolean;\n\n @HostBinding(`class._android`)\n readonly isAndroid: boolean;\n\n activeItemIndex = 0;\n\n constructor(\n @Inject(TUI_TABS_OPTIONS) private readonly options: TuiTabsOptions,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiResizeService) resize$: Observable<void>,\n @Inject(TUI_IS_IOS) isIos: boolean,\n @Inject(TUI_IS_ANDROID) isAndroid: boolean,\n @Inject(TUI_MOBILE_AWARE) mobileAware: boolean,\n ) {\n this.isIos = mobileAware && isIos;\n this.isAndroid = mobileAware && isAndroid;\n\n resize$.pipe(filter(() => this.underline)).subscribe(() => {\n changeDetectorRef.detectChanges();\n });\n }\n\n get tabs(): readonly HTMLElement[] {\n return Array.from(\n this.elementRef.nativeElement.querySelectorAll<HTMLElement>(`[tuiTab]`),\n );\n }\n\n get activeElement(): HTMLElement | null {\n return this.tabs[this.activeItemIndex] || null;\n }\n\n @HostListener(`${TUI_TAB_ACTIVATE}.stop`, [`$event.target`])\n onActivate(element: HTMLElement): void {\n const index = this.tabs.findIndex(tab => tab === element);\n\n if (index === this.activeItemIndex) {\n return;\n }\n\n this.activeItemIndexSetter = index;\n this.activeItemIndexChange.emit(index);\n }\n\n @HostListener(`keydown.arrowRight.prevent`, [`$event.target`, `1`])\n @HostListener(`keydown.arrowLeft.prevent`, [`$event.target`, `-1`])\n onKeyDownArrow(current: HTMLElement, step: number): void {\n const {tabs} = this;\n\n moveFocus(tabs.indexOf(current), tabs, step);\n }\n\n ngAfterViewChecked(): void {\n const {tabs, activeElement} = this;\n\n tabs.forEach(nativeElement => {\n this.renderer.removeClass(nativeElement, TAB_ACTIVE_CLASS);\n this.renderer.setAttribute(nativeElement, `tabIndex`, `-1`);\n });\n\n if (activeElement) {\n this.renderer.addClass(activeElement, TAB_ACTIVE_CLASS);\n this.renderer.setAttribute(activeElement, `tabIndex`, `0`);\n }\n }\n\n private scrollTo(element?: HTMLElement): void {\n if (!element) {\n return;\n }\n\n const {offsetLeft, offsetWidth} = element;\n const {nativeElement} = this.elementRef;\n\n if (offsetLeft < nativeElement.scrollLeft) {\n nativeElement.scrollLeft = offsetLeft;\n }\n\n if (\n offsetLeft + offsetWidth >\n nativeElement.scrollLeft + nativeElement.offsetWidth\n ) {\n nativeElement.scrollLeft =\n offsetLeft + offsetWidth - nativeElement.offsetWidth;\n }\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ChangeDetectorRef, ElementRef, InjectionToken, Provider} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {debounceTime, filter, startWith, takeUntil, tap} from 'rxjs/operators';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function tabsRefreshFactory(\n resize$: Observable<unknown>,\n mutations$: Observable<unknown>,\n destroy$: Observable<unknown>,\n {body}: Document,\n {nativeElement}: ElementRef<Node>,\n changeDetectorRef: ChangeDetectorRef,\n): Observable<unknown> {\n return merge(\n resize$,\n mutations$.pipe(tap(() => changeDetectorRef.detectChanges())),\n ).pipe(\n // Ignoring cases when host is detached from DOM\n filter(() => body.contains(nativeElement)),\n debounceTime(0),\n startWith(null),\n takeUntil(destroy$),\n );\n}\n\n// TODO: 3.0 remove in ivy compilation\nexport const MUTATION_CONFIG = {\n childList: true,\n subtree: true,\n characterData: true,\n};\nexport const TABS_REFRESH = new InjectionToken<Observable<unknown>>(`Refresh stream`);\nexport const TABS_PROVIDERS: Provider[] = [\n TuiResizeService,\n TuiDestroyService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: MUTATION_CONFIG,\n },\n {\n provide: TABS_REFRESH,\n deps: [\n TuiResizeService,\n MutationObserverService,\n TuiDestroyService,\n DOCUMENT,\n ElementRef,\n ChangeDetectorRef,\n ],\n useFactory: tabsRefreshFactory,\n },\n];\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {\n EMPTY_QUERY,\n getClosestFocusable,\n isNativeFocused,\n setNativeFocused,\n toInt,\n TuiActiveZoneDirective,\n tuiAssertIsHTMLElement,\n tuiClamp,\n TuiContextWithImplicit,\n tuiDefaultProp,\n} from '@taiga-ui/cdk';\nimport {TUI_MORE_WORD, TUI_TAB_MARGIN} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\nimport {filter, map} from 'rxjs/operators';\n\nimport {TuiTabDirective} from '../tab.directive';\nimport {TuiTabComponent} from '../tab/tab.component';\nimport {TUI_TABS_OPTIONS, TuiTabsOptions} from '../tabs-options';\nimport {TABS_PROVIDERS, TABS_REFRESH} from './tabs-with-more.providers';\n\n// @dynamic\n@Component({\n selector: `tui-tabs-with-more, nav[tuiTabsWithMore]`,\n templateUrl: `./tabs-with-more.template.html`,\n styleUrls: [`./tabs-with-more.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TABS_PROVIDERS,\n})\nexport class TuiTabsWithMoreComponent implements AfterViewInit {\n @ViewChild(TuiTabComponent, {read: ElementRef})\n private readonly moreButton?: ElementRef<HTMLButtonElement>;\n\n private maxIndex = Infinity;\n\n @Input()\n @tuiDefaultProp()\n moreContent: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n dropdownContent: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = ``;\n\n @Input()\n @HostBinding(`class._underline`)\n @tuiDefaultProp()\n underline = this.options.underline;\n\n @Input()\n @tuiDefaultProp()\n activeItemIndex = 0;\n\n @Input()\n @tuiDefaultProp()\n itemsLimit = this.options.itemsLimit;\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @ContentChildren(TuiTabDirective, {read: TemplateRef})\n readonly items: QueryList<TemplateRef<Record<string, unknown>>> = EMPTY_QUERY;\n\n open = false;\n\n constructor(\n @Inject(TUI_TABS_OPTIONS) private readonly options: TuiTabsOptions,\n @Inject(TUI_TAB_MARGIN) private readonly margin: number,\n @Inject(TABS_REFRESH) private readonly refresh$: Observable<unknown>,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(ChangeDetectorRef) private readonly changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_MORE_WORD) readonly moreWord$: Observable<string>,\n ) {}\n\n // TODO: Improve performance\n get tabs(): readonly HTMLElement[] {\n return Array.from<HTMLElement>(\n this.elementRef.nativeElement.querySelectorAll(`[tuiTab]`),\n );\n }\n\n get activeElement(): HTMLElement | null {\n const {tabs} = this;\n const safeActiveIndex = tuiClamp(this.activeItemIndex || 0, 0, tabs.length - 2);\n\n return this.options.exposeActive || this.lastVisibleIndex >= safeActiveIndex\n ? tabs[safeActiveIndex] || null\n : this.moreButton?.nativeElement || null;\n }\n\n get isMoreVisible(): boolean {\n return this.lastVisibleIndex < this.items.length - 1;\n }\n\n get isMoreFocusable(): boolean {\n return !!this.moreButton && isNativeFocused(this.moreButton.nativeElement);\n }\n\n get isMoreActive(): boolean {\n return (\n this.open ||\n (!this.options.exposeActive && this.lastVisibleIndex < this.activeItemIndex)\n );\n }\n\n get isMoreAlone(): boolean {\n return this.lastVisibleIndex < 0 && !this.options.exposeActive;\n }\n\n get lastVisibleIndex(): number {\n if (this.itemsLimit + 1 >= this.items.length) {\n return this.maxIndex;\n }\n\n const offset =\n this.itemsLimit - 1 > this.activeItemIndex || !this.options.exposeActive\n ? 1\n : 2;\n\n return Math.min(this.itemsLimit - offset, this.maxIndex);\n }\n\n ngAfterViewInit(): void {\n this.refresh$\n .pipe(\n map(() => this.getMaxIndex()),\n filter(maxIndex => this.maxIndex !== maxIndex),\n )\n .subscribe(maxIndex => {\n this.maxIndex = maxIndex;\n this.changeDetectorRef.detectChanges();\n });\n }\n\n onActiveItemIndexChange(activeItemIndex: number): void {\n this.updateActiveItemIndex(activeItemIndex);\n }\n\n onClick(index: number): void {\n this.open = false;\n this.focusMore();\n this.updateActiveItemIndex(index);\n }\n\n onArrowRight(event: Event): void {\n tuiAssertIsHTMLElement(event.target);\n\n if (isNativeFocused(event.target)) {\n this.focusMore();\n }\n }\n\n onArrowLeft(): void {\n const {tabs} = this;\n let index = tabs.length - 2;\n\n while (index >= 0) {\n setNativeFocused(tabs[index]);\n\n if (isNativeFocused(tabs[index])) {\n return;\n }\n\n index--;\n }\n }\n\n onWrapperArrow(event: Event, wrapper: HTMLElement, prev: boolean): void {\n const button: HTMLButtonElement = event.target as HTMLButtonElement;\n const target = getClosestFocusable(button, prev, wrapper);\n\n if (target) {\n setNativeFocused(target);\n }\n }\n\n isOverflown(index: number): boolean {\n return index !== this.activeItemIndex || !this.options.exposeActive;\n }\n\n shouldShow(index: number): boolean {\n return index > this.lastVisibleIndex && this.isOverflown(index);\n }\n\n private focusMore(): void {\n if (this.moreButton) {\n setNativeFocused(this.moreButton.nativeElement);\n }\n }\n\n private getMaxIndex(): number {\n const {tabs, activeItemIndex, margin} = this;\n\n if (tabs.length < 2) {\n return 0;\n }\n\n const {clientWidth} = this.elementRef.nativeElement;\n const activeWidth = tabs[activeItemIndex] ? tabs[activeItemIndex].scrollWidth : 0;\n const moreWidth = tabs[tabs.length - 1].scrollWidth;\n let maxIndex = tabs.length - 2;\n let total =\n tabs.reduce((acc, {scrollWidth}) => acc + scrollWidth, 0) +\n maxIndex * margin -\n moreWidth;\n\n if (total <= clientWidth) {\n return Infinity;\n }\n\n while (maxIndex) {\n total -= tabs[maxIndex].scrollWidth + margin;\n maxIndex--;\n\n const activeDisplaced =\n this.options.exposeActive && activeItemIndex > maxIndex;\n const activeOffset = activeDisplaced ? activeWidth + margin : 0;\n const currentWidth = total + activeOffset + moreWidth + margin;\n // Needed for different rounding of visible and hidden elements scrollWidth\n const safetyOffset = toInt(this.maxIndex === maxIndex - 1);\n\n if (currentWidth + safetyOffset < clientWidth) {\n return maxIndex;\n }\n }\n\n return -1;\n }\n\n private updateActiveItemIndex(activeItemIndex: number): void {\n if (this.activeItemIndex === activeItemIndex) {\n return;\n }\n\n this.activeItemIndex = activeItemIndex;\n this.activeItemIndexChange.emit(activeItemIndex);\n this.maxIndex = this.getMaxIndex();\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n NgZone,\n} from '@angular/core';\nimport {ANIMATION_FRAME} from '@ng-web-apis/common';\nimport {px, TUI_IS_ANDROID, TUI_IS_IOS, tuiDefaultProp, tuiZonefree} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER, TUI_MODE, TuiBrightness} from '@taiga-ui/core';\nimport {TUI_MOBILE_AWARE} from '@taiga-ui/kit/tokens';\nimport {asCallable} from '@tinkoff/ng-event-plugins';\nimport {Observable, of, ReplaySubject} from 'rxjs';\nimport {debounceTime, map, mapTo, share, switchMap} from 'rxjs/operators';\n\n@Component({\n selector: `tui-underline`,\n template: ``,\n styleUrls: [`./underline.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': `mode$`,\n },\n})\nexport class TuiUnderlineComponent {\n private readonly element$ = new ReplaySubject<HTMLElement | null>(1);\n\n private readonly refresh$ = this.element$.pipe(\n switchMap(element =>\n element\n ? this.animationFrame$.pipe(mapTo(element), tuiZonefree(this.ngZone))\n : of(null),\n ),\n share(),\n );\n\n @Input()\n @tuiDefaultProp()\n set element(element: HTMLElement | null) {\n this.element$.next(element);\n }\n\n @HostBinding(`class._ios`)\n readonly isIos = this.mobileAware && this.ios;\n\n @HostBinding(`class._android`)\n readonly isAndroid = this.mobileAware && this.android;\n\n @HostListener(`$.style.transitionProperty`)\n readonly transition$ = asCallable(\n this.element$.pipe(\n map(element => element && `all`),\n debounceTime(50),\n ),\n );\n\n @HostListener(`$.style.transform`)\n readonly transform$ = asCallable(\n this.refresh$.pipe(\n map(element =>\n element ? `translate3d(${px(element.offsetLeft)}, 0, 0)` : null,\n ),\n ),\n );\n\n @HostListener(`$.style.width.px`)\n readonly width$ = asCallable(\n this.refresh$.pipe(map(element => element?.clientWidth || 0)),\n );\n\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(ANIMATION_FRAME) private readonly animationFrame$: Observable<number>,\n @Inject(TUI_MOBILE_AWARE) private readonly mobileAware: boolean,\n @Inject(TUI_IS_IOS) private readonly ios: boolean,\n @Inject(TUI_IS_ANDROID) private readonly android: boolean,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n ) {\n nativeElement[`$.style.transitionProperty`] = this.transition$;\n nativeElement[`$.style.transform`] = this.transform$;\n nativeElement[`$.style.width.px`] = this.width$;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiFocusableModule} from '@taiga-ui/cdk';\nimport {TuiHostedDropdownModule, TuiSvgModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTabDirective} from './tab.directive';\nimport {TuiTabComponent} from './tab/tab.component';\nimport {TuiTabsComponent} from './tabs/tabs.component';\nimport {TuiTabsWithMoreComponent} from './tabs-with-more/tabs-with-more.component';\nimport {TuiUnderlineComponent} from './underline/underline.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiHostedDropdownModule,\n TuiSvgModule,\n TuiFocusableModule,\n PolymorpheusModule,\n ],\n declarations: [\n TuiTabsWithMoreComponent,\n TuiTabsComponent,\n TuiTabComponent,\n TuiUnderlineComponent,\n TuiTabDirective,\n ],\n exports: [\n TuiTabsWithMoreComponent,\n TuiTabsComponent,\n TuiTabComponent,\n TuiTabDirective,\n ],\n})\nexport class TuiTabsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;IAMI,yBACkC,QAA8C;QAA9C,aAAQ,GAAR,QAAQ,CAAsC;KAC5E;;gBADwC,WAAW,uBAAlD,MAAM,SAAC,WAAW;;IAFd,eAAe;QAH3B,SAAS,CAAC;YACP,QAAQ,EAAE,qBAAqB;SAClC,CAAC;QAGO,WAAA,MAAM,CAAC,WAAW,CAAC,CAAA;OAFf,eAAe,CAI3B;IAAD,sBAAC;CAJD;;ICSa,gBAAgB,GAAG,mBAAmB;IACtC,aAAa,GAAG,IAAI,cAAc,CAC3C,iCAAiC,EACnC;IACW,iBAAiB,GAAe;IACzC,iBAAiB;IACjB,sBAAsB;IACtB,0BAA0B;IAC1B;QACI,OAAO,EAAE,aAAa;QACtB,IAAI,EAAE;YACF,UAAU;YACV,QAAQ;YACR,0BAA0B;YAC1B,CAAC,IAAI,QAAQ,EAAE,EAAE,uBAAuB,CAAC;YACzC,CAAC,IAAI,QAAQ,EAAE,EAAE,gBAAgB,CAAC;SACrC;QACD,UAAU,EAAE,gBAAgB;KAC/B;IACD,aAAa;EACf;AAEF;SACgB,gBAAgB,CAC5B,EAAwC,EACxC,WAAqB,EACrB,uBAA4C,EAC5C,uBAAuD,EACvD,gBAAyC;QAJxC,gCAAa;IA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;QACvB,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;QACxB,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;QACtB,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;OArDZ,qBAAqB,CA2DjC;IAAD,4BAAC;CA3DD;;;ICMA;KAA6B;IAAhB,aAAa;QAtBzB,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,uBAAuB;gBACvB,YAAY;gBACZ,kBAAkB;gBAClB,kBAAkB;aACrB;YACD,YAAY,EAAE;gBACV,wBAAwB;gBACxB,gBAAgB;gBAChB,eAAe;gBACf,qBAAqB;gBACrB,eAAe;aAClB;YACD,OAAO,EAAE;gBACL,wBAAwB;gBACxB,gBAAgB;gBAChB,eAAe;gBACf,eAAe;aAClB;SACJ,CAAC;OACW,aAAa,CAAG;IAAD,oBAAC;CAA7B;;AClCA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-tabs.js","sources":["ng://@taiga-ui/kit/components/tabs/tab.directive.ts","ng://@taiga-ui/kit/components/tabs/tab/tab.providers.ts","ng://@taiga-ui/kit/components/tabs/tab/tab.component.ts","ng://@taiga-ui/kit/components/tabs/tabs-options.ts","ng://@taiga-ui/kit/components/tabs/tabs/tabs.component.ts","ng://@taiga-ui/kit/components/tabs/tabs-with-more/tabs-with-more.providers.ts","ng://@taiga-ui/kit/components/tabs/tabs-with-more/tabs-with-more.component.ts","ng://@taiga-ui/kit/components/tabs/underline/underline.component.ts","ng://@taiga-ui/kit/components/tabs/tabs.module.ts","ng://@taiga-ui/kit/components/tabs/taiga-ui-kit-components-tabs.ts"],"sourcesContent":["import {Directive, Inject, TemplateRef} from '@angular/core';\n\n@Directive({\n selector: 'ng-template[tuiTab]',\n})\nexport class TuiTabDirective {\n constructor(\n @Inject(TemplateRef) readonly template: TemplateRef<Record<string, unknown>>,\n ) {}\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ElementRef, InjectionToken, Optional, Provider} from '@angular/core';\nimport {RouterLinkActive} from '@angular/router';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {\n tuiCustomEvent,\n TuiDestroyService,\n TuiFocusVisibleService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER, TuiRouterLinkActiveService} from '@taiga-ui/core';\nimport {EMPTY, identity, merge, Observable} from 'rxjs';\nimport {filter, map} from 'rxjs/operators';\n\nexport const TUI_TAB_ACTIVATE = `tui-tab-activate`;\nexport const TUI_TAB_EVENT = new InjectionToken<Observable<Event>>(\n `Stream of tab activation events`,\n);\nexport const TUI_TAB_PROVIDERS: Provider[] = [\n TuiDestroyService,\n TuiFocusVisibleService,\n TuiRouterLinkActiveService,\n {\n provide: TUI_TAB_EVENT,\n deps: [\n ElementRef,\n DOCUMENT,\n TuiRouterLinkActiveService,\n [new Optional(), MutationObserverService],\n [new Optional(), RouterLinkActive],\n ],\n useFactory: tabActiveFactory,\n },\n MODE_PROVIDER,\n];\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function tabActiveFactory(\n {nativeElement}: ElementRef<HTMLElement>,\n documentRef: Document,\n routerLinkActiveService: Observable<boolean>,\n mutationObserverService: MutationObserverService | null,\n routerLinkActive: RouterLinkActive | null,\n): Observable<unknown> {\n const mutationObserver =\n routerLinkActive && mutationObserverService\n ? mutationObserverService.pipe(filter(() => routerLinkActive.isActive))\n : EMPTY;\n\n return merge(\n mutationObserver,\n routerLinkActiveService.pipe(filter(identity)),\n nativeElement.matches(`button`) ? typedFromEvent(nativeElement, `click`) : EMPTY,\n ).pipe(\n map(() =>\n nativeElement.dispatchEvent(\n tuiCustomEvent(TUI_TAB_ACTIVATE, {bubbles: true}, documentRef),\n ),\n ),\n );\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n OnDestroy,\n Optional,\n} from '@angular/core';\nimport {RouterLinkActive} from '@angular/router';\nimport {\n isNativeFocused,\n setNativeFocused,\n TUI_IS_ANDROID,\n TUI_IS_IOS,\n TuiFocusVisibleService,\n} from '@taiga-ui/cdk';\nimport {TUI_MODE, TuiBrightness} from '@taiga-ui/core';\nimport {TUI_MOBILE_AWARE, TUI_TAB_MARGIN} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\nimport {TUI_TAB_EVENT, TUI_TAB_PROVIDERS} from './tab.providers';\n\n@Component({\n selector:\n 'a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]',\n templateUrl: './tab.template.html',\n styleUrls: ['./tab.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_TAB_PROVIDERS,\n host: {\n '($.data-mode.attr)': 'mode$',\n '[style.--tui-tab-margin.px]': 'margin',\n type: 'button',\n },\n})\nexport class TuiTabComponent implements OnDestroy {\n @HostBinding('class._ios')\n readonly isIos: boolean;\n\n @HostBinding('class._android')\n readonly isAndroid: boolean;\n\n @HostBinding('class._focus-visible')\n focusVisible = false;\n\n constructor(\n @Optional()\n @Inject(RouterLinkActive)\n private readonly routerLinkActive: RouterLinkActive | null,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TAB_EVENT) readonly event$: Observable<Event>,\n @Inject(TUI_TAB_MARGIN) readonly margin: number,\n @Inject(TUI_MOBILE_AWARE) mobileAware: boolean,\n @Inject(TUI_IS_IOS) isIos: boolean,\n @Inject(TUI_IS_ANDROID) isAndroid: boolean,\n @Inject(TuiFocusVisibleService) focusVisible$: TuiFocusVisibleService,\n ) {\n this.isIos = mobileAware && isIos;\n this.isAndroid = mobileAware && isAndroid;\n\n focusVisible$.subscribe(visible => {\n this.focusVisible = visible;\n });\n }\n\n @HostBinding('class._active')\n get isActive(): boolean {\n return !!this.routerLinkActive && this.routerLinkActive.isActive;\n }\n\n ngOnDestroy(): void {\n if (isNativeFocused(this.elementRef.nativeElement)) {\n setNativeFocused(this.elementRef.nativeElement, false);\n }\n }\n}\n","import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiTabsOptions {\n readonly underline: boolean;\n readonly exposeActive: boolean;\n readonly itemsLimit: number;\n readonly minMoreWidth: number;\n}\n\nexport const TUI_TABS_DEFAULT_OPTIONS: TuiTabsOptions = {\n underline: true,\n exposeActive: true,\n itemsLimit: Infinity,\n minMoreWidth: 0,\n};\n\nexport const TUI_TABS_OPTIONS = new InjectionToken<TuiTabsOptions>(\n `Default parameters for tabs component`,\n {\n factory: () => TUI_TABS_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiTabsOptionsProvider: (\n options: Partial<TuiTabsOptions>,\n) => ValueProvider = (options: Partial<TuiTabsOptions>) => ({\n provide: TUI_TABS_OPTIONS,\n useValue: {...TUI_TABS_DEFAULT_OPTIONS, ...options},\n});\n","import {\n AfterViewChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n QueryList,\n Renderer2,\n} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {\n EMPTY_QUERY,\n moveFocus,\n TUI_IS_ANDROID,\n TUI_IS_IOS,\n tuiDefaultProp,\n TuiDestroyService,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {TUI_MOBILE_AWARE} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {filter} from 'rxjs/operators';\n\nimport {TuiTabComponent} from '../tab/tab.component';\nimport {TUI_TAB_ACTIVATE} from '../tab/tab.providers';\nimport {TUI_TABS_OPTIONS, TuiTabsOptions} from '../tabs-options';\n\nconst TAB_ACTIVE_CLASS = '_active';\n\n// TODO: 3.0 remove in ivy compilation\nexport const OBSERVER_INIT = {\n childList: true,\n};\n\n// @dynamic\n@Component({\n selector: 'tui-tabs, nav[tuiTabs]',\n templateUrl: './tabs.template.html',\n styleUrls: ['./tabs.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: OBSERVER_INIT,\n },\n ],\n})\nexport class TuiTabsComponent implements AfterViewChecked {\n @ContentChildren(forwardRef(() => TuiTabComponent))\n readonly children: QueryList<unknown> = EMPTY_QUERY;\n\n @Input()\n @HostBinding('class._underline')\n @tuiDefaultProp()\n underline = this.options.underline;\n\n @Input('activeItemIndex')\n set activeItemIndexSetter(index: number) {\n this.activeItemIndex = index;\n this.scrollTo(this.tabs[index]);\n }\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @HostBinding('class._ios')\n readonly isIos: boolean;\n\n @HostBinding('class._android')\n readonly isAndroid: boolean;\n\n activeItemIndex = 0;\n\n constructor(\n @Inject(TUI_TABS_OPTIONS) private readonly options: TuiTabsOptions,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiResizeService) resize$: Observable<void>,\n @Inject(TUI_IS_IOS) isIos: boolean,\n @Inject(TUI_IS_ANDROID) isAndroid: boolean,\n @Inject(TUI_MOBILE_AWARE) mobileAware: boolean,\n ) {\n this.isIos = mobileAware && isIos;\n this.isAndroid = mobileAware && isAndroid;\n\n resize$.pipe(filter(() => this.underline)).subscribe(() => {\n changeDetectorRef.detectChanges();\n });\n }\n\n get tabs(): readonly HTMLElement[] {\n return Array.from(\n this.elementRef.nativeElement.querySelectorAll<HTMLElement>('[tuiTab]'),\n );\n }\n\n get activeElement(): HTMLElement | null {\n return this.tabs[this.activeItemIndex] || null;\n }\n\n @HostListener(`${TUI_TAB_ACTIVATE}.stop`, ['$event.target'])\n onActivate(element: HTMLElement): void {\n const index = this.tabs.findIndex(tab => tab === element);\n\n if (index === this.activeItemIndex) {\n return;\n }\n\n this.activeItemIndexSetter = index;\n this.activeItemIndexChange.emit(index);\n }\n\n @HostListener('keydown.arrowRight.prevent', ['$event.target', '1'])\n @HostListener('keydown.arrowLeft.prevent', ['$event.target', '-1'])\n onKeyDownArrow(current: HTMLElement, step: number): void {\n const {tabs} = this;\n\n moveFocus(tabs.indexOf(current), tabs, step);\n }\n\n ngAfterViewChecked(): void {\n const {tabs, activeElement} = this;\n\n tabs.forEach(nativeElement => {\n this.renderer.removeClass(nativeElement, TAB_ACTIVE_CLASS);\n this.renderer.setAttribute(nativeElement, 'tabIndex', '-1');\n });\n\n if (activeElement) {\n this.renderer.addClass(activeElement, TAB_ACTIVE_CLASS);\n this.renderer.setAttribute(activeElement, 'tabIndex', '0');\n }\n }\n\n private scrollTo(element?: HTMLElement): void {\n if (!element) {\n return;\n }\n\n const {offsetLeft, offsetWidth} = element;\n const {nativeElement} = this.elementRef;\n\n if (offsetLeft < nativeElement.scrollLeft) {\n nativeElement.scrollLeft = offsetLeft;\n }\n\n if (\n offsetLeft + offsetWidth >\n nativeElement.scrollLeft + nativeElement.offsetWidth\n ) {\n nativeElement.scrollLeft =\n offsetLeft + offsetWidth - nativeElement.offsetWidth;\n }\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ChangeDetectorRef, ElementRef, InjectionToken, Provider} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {debounceTime, filter, startWith, takeUntil, tap} from 'rxjs/operators';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function tabsRefreshFactory(\n resize$: Observable<unknown>,\n mutations$: Observable<unknown>,\n destroy$: Observable<unknown>,\n {body}: Document,\n {nativeElement}: ElementRef<Node>,\n changeDetectorRef: ChangeDetectorRef,\n): Observable<unknown> {\n return merge(\n resize$,\n mutations$.pipe(tap(() => changeDetectorRef.detectChanges())),\n ).pipe(\n // Ignoring cases when host is detached from DOM\n filter(() => body.contains(nativeElement)),\n debounceTime(0),\n startWith(null),\n takeUntil(destroy$),\n );\n}\n\n// TODO: 3.0 remove in ivy compilation\nexport const MUTATION_CONFIG = {\n childList: true,\n subtree: true,\n characterData: true,\n};\nexport const TABS_REFRESH = new InjectionToken<Observable<unknown>>(`Refresh stream`);\nexport const TABS_PROVIDERS: Provider[] = [\n TuiResizeService,\n TuiDestroyService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: MUTATION_CONFIG,\n },\n {\n provide: TABS_REFRESH,\n deps: [\n TuiResizeService,\n MutationObserverService,\n TuiDestroyService,\n DOCUMENT,\n ElementRef,\n ChangeDetectorRef,\n ],\n useFactory: tabsRefreshFactory,\n },\n];\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {\n EMPTY_QUERY,\n getClosestFocusable,\n isNativeFocused,\n setNativeFocused,\n toInt,\n TuiActiveZoneDirective,\n tuiAssertIsHTMLElement,\n tuiClamp,\n TuiContextWithImplicit,\n tuiDefaultProp,\n} from '@taiga-ui/cdk';\nimport {TUI_MORE_WORD, TUI_TAB_MARGIN} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\nimport {filter, map} from 'rxjs/operators';\n\nimport {TuiTabDirective} from '../tab.directive';\nimport {TuiTabComponent} from '../tab/tab.component';\nimport {TUI_TABS_OPTIONS, TuiTabsOptions} from '../tabs-options';\nimport {TABS_PROVIDERS, TABS_REFRESH} from './tabs-with-more.providers';\n\n// @dynamic\n@Component({\n selector: 'tui-tabs-with-more, nav[tuiTabsWithMore]',\n templateUrl: './tabs-with-more.template.html',\n styleUrls: ['./tabs-with-more.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TABS_PROVIDERS,\n})\nexport class TuiTabsWithMoreComponent implements AfterViewInit {\n @ViewChild(TuiTabComponent, {read: ElementRef})\n private readonly moreButton?: ElementRef<HTMLButtonElement>;\n\n private maxIndex = Infinity;\n\n @Input()\n @tuiDefaultProp()\n moreContent: PolymorpheusContent = '';\n\n @Input()\n @tuiDefaultProp()\n dropdownContent: PolymorpheusContent<TuiContextWithImplicit<TuiActiveZoneDirective>> =\n '';\n\n @Input()\n @HostBinding('class._underline')\n @tuiDefaultProp()\n underline = this.options.underline;\n\n @Input()\n @tuiDefaultProp()\n activeItemIndex = 0;\n\n @Input()\n @tuiDefaultProp()\n itemsLimit = this.options.itemsLimit;\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @ContentChildren(TuiTabDirective, {read: TemplateRef})\n readonly items: QueryList<TemplateRef<Record<string, unknown>>> = EMPTY_QUERY;\n\n open = false;\n\n constructor(\n @Inject(TUI_TABS_OPTIONS) private readonly options: TuiTabsOptions,\n @Inject(TUI_TAB_MARGIN) private readonly margin: number,\n @Inject(TABS_REFRESH) private readonly refresh$: Observable<unknown>,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(ChangeDetectorRef) private readonly changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_MORE_WORD) readonly moreWord$: Observable<string>,\n ) {}\n\n // TODO: Improve performance\n get tabs(): readonly HTMLElement[] {\n return Array.from<HTMLElement>(\n this.elementRef.nativeElement.querySelectorAll('[tuiTab]'),\n );\n }\n\n get activeElement(): HTMLElement | null {\n const {tabs} = this;\n const safeActiveIndex = tuiClamp(this.activeItemIndex || 0, 0, tabs.length - 2);\n\n return this.options.exposeActive || this.lastVisibleIndex >= safeActiveIndex\n ? tabs[safeActiveIndex] || null\n : this.moreButton?.nativeElement || null;\n }\n\n get isMoreVisible(): boolean {\n return this.lastVisibleIndex < this.items.length - 1;\n }\n\n get isMoreFocusable(): boolean {\n return !!this.moreButton && isNativeFocused(this.moreButton.nativeElement);\n }\n\n get isMoreActive(): boolean {\n return (\n this.open ||\n (!this.options.exposeActive && this.lastVisibleIndex < this.activeItemIndex)\n );\n }\n\n get isMoreAlone(): boolean {\n return this.lastVisibleIndex < 0 && !this.options.exposeActive;\n }\n\n get lastVisibleIndex(): number {\n if (this.itemsLimit + 1 >= this.items.length) {\n return this.maxIndex;\n }\n\n const offset =\n this.itemsLimit - 1 > this.activeItemIndex || !this.options.exposeActive\n ? 1\n : 2;\n\n return Math.min(this.itemsLimit - offset, this.maxIndex);\n }\n\n ngAfterViewInit(): void {\n this.refresh$\n .pipe(\n map(() => this.getMaxIndex()),\n filter(maxIndex => this.maxIndex !== maxIndex),\n )\n .subscribe(maxIndex => {\n this.maxIndex = maxIndex;\n this.changeDetectorRef.detectChanges();\n });\n }\n\n onActiveItemIndexChange(activeItemIndex: number): void {\n this.updateActiveItemIndex(activeItemIndex);\n }\n\n onClick(index: number): void {\n this.open = false;\n this.focusMore();\n this.updateActiveItemIndex(index);\n }\n\n onArrowRight(event: Event): void {\n tuiAssertIsHTMLElement(event.target);\n\n if (isNativeFocused(event.target)) {\n this.focusMore();\n }\n }\n\n onArrowLeft(): void {\n const {tabs} = this;\n let index = tabs.length - 2;\n\n while (index >= 0) {\n setNativeFocused(tabs[index]);\n\n if (isNativeFocused(tabs[index])) {\n return;\n }\n\n index--;\n }\n }\n\n onWrapperArrow(event: Event, wrapper: HTMLElement, prev: boolean): void {\n const button: HTMLButtonElement = event.target as HTMLButtonElement;\n const target = getClosestFocusable(button, prev, wrapper);\n\n if (target) {\n setNativeFocused(target);\n }\n }\n\n isOverflown(index: number): boolean {\n return index !== this.activeItemIndex || !this.options.exposeActive;\n }\n\n shouldShow(index: number): boolean {\n return index > this.lastVisibleIndex && this.isOverflown(index);\n }\n\n private focusMore(): void {\n if (this.moreButton) {\n setNativeFocused(this.moreButton.nativeElement);\n }\n }\n\n private getMaxIndex(): number {\n const {tabs, activeItemIndex, margin} = this;\n\n if (tabs.length < 2) {\n return 0;\n }\n\n const {exposeActive, minMoreWidth} = this.options;\n const {clientWidth} = this.elementRef.nativeElement;\n const activeWidth = tabs[activeItemIndex] ? tabs[activeItemIndex].scrollWidth : 0;\n const moreWidth = Math.max(tabs[tabs.length - 1].scrollWidth, minMoreWidth);\n let maxIndex = tabs.length - 2;\n let total =\n tabs.reduce((acc, {scrollWidth}) => acc + scrollWidth, 0) +\n maxIndex * margin -\n moreWidth;\n\n if (total <= clientWidth) {\n return Infinity;\n }\n\n while (maxIndex) {\n total -= tabs[maxIndex].scrollWidth + margin;\n maxIndex--;\n\n const activeDisplaced = exposeActive && activeItemIndex > maxIndex;\n const activeOffset = activeDisplaced ? activeWidth + margin : 0;\n const currentWidth = total + activeOffset + moreWidth + margin;\n // Needed for different rounding of visible and hidden elements scrollWidth\n const safetyOffset = toInt(this.maxIndex === maxIndex - 1);\n\n if (currentWidth + safetyOffset < clientWidth) {\n return maxIndex;\n }\n }\n\n return -1;\n }\n\n private updateActiveItemIndex(activeItemIndex: number): void {\n if (this.activeItemIndex === activeItemIndex) {\n return;\n }\n\n this.activeItemIndex = activeItemIndex;\n this.activeItemIndexChange.emit(activeItemIndex);\n this.maxIndex = this.getMaxIndex();\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n NgZone,\n} from '@angular/core';\nimport {ANIMATION_FRAME} from '@ng-web-apis/common';\nimport {px, TUI_IS_ANDROID, TUI_IS_IOS, tuiDefaultProp, tuiZonefree} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER, TUI_MODE, TuiBrightness} from '@taiga-ui/core';\nimport {TUI_MOBILE_AWARE} from '@taiga-ui/kit/tokens';\nimport {asCallable} from '@tinkoff/ng-event-plugins';\nimport {Observable, of, ReplaySubject} from 'rxjs';\nimport {debounceTime, map, mapTo, share, switchMap} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-underline',\n template: '',\n styleUrls: ['./underline.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': 'mode$',\n },\n})\nexport class TuiUnderlineComponent {\n private readonly element$ = new ReplaySubject<HTMLElement | null>(1);\n\n private readonly refresh$ = this.element$.pipe(\n switchMap(element =>\n element\n ? this.animationFrame$.pipe(mapTo(element), tuiZonefree(this.ngZone))\n : of(null),\n ),\n share(),\n );\n\n @Input()\n @tuiDefaultProp()\n set element(element: HTMLElement | null) {\n this.element$.next(element);\n }\n\n @HostBinding('class._ios')\n readonly isIos = this.mobileAware && this.ios;\n\n @HostBinding('class._android')\n readonly isAndroid = this.mobileAware && this.android;\n\n @HostListener('$.style.transitionProperty')\n readonly transition$ = asCallable(\n this.element$.pipe(\n map(element => element && 'all'),\n debounceTime(50),\n ),\n );\n\n @HostListener('$.style.transform')\n readonly transform$ = asCallable(\n this.refresh$.pipe(\n map(element =>\n element ? `translate3d(${px(element.offsetLeft)}, 0, 0)` : null,\n ),\n ),\n );\n\n @HostListener('$.style.width.px')\n readonly width$ = asCallable(\n this.refresh$.pipe(map(element => element?.clientWidth || 0)),\n );\n\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(ANIMATION_FRAME) private readonly animationFrame$: Observable<number>,\n @Inject(TUI_MOBILE_AWARE) private readonly mobileAware: boolean,\n @Inject(TUI_IS_IOS) private readonly ios: boolean,\n @Inject(TUI_IS_ANDROID) private readonly android: boolean,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n ) {\n nativeElement['$.style.transitionProperty'] = this.transition$;\n nativeElement['$.style.transform'] = this.transform$;\n nativeElement['$.style.width.px'] = this.width$;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiFocusableModule} from '@taiga-ui/cdk';\nimport {TuiHostedDropdownModule, TuiSvgModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTabDirective} from './tab.directive';\nimport {TuiTabComponent} from './tab/tab.component';\nimport {TuiTabsComponent} from './tabs/tabs.component';\nimport {TuiTabsWithMoreComponent} from './tabs-with-more/tabs-with-more.component';\nimport {TuiUnderlineComponent} from './underline/underline.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiHostedDropdownModule,\n TuiSvgModule,\n TuiFocusableModule,\n PolymorpheusModule,\n ],\n declarations: [\n TuiTabsWithMoreComponent,\n TuiTabsComponent,\n TuiTabComponent,\n TuiUnderlineComponent,\n TuiTabDirective,\n ],\n exports: [\n TuiTabsWithMoreComponent,\n TuiTabsComponent,\n TuiTabComponent,\n TuiTabDirective,\n ],\n})\nexport class TuiTabsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;IAMI,yBACkC,QAA8C;QAA9C,aAAQ,GAAR,QAAQ,CAAsC;KAC5E;;gBADwC,WAAW,uBAAlD,MAAM,SAAC,WAAW;;IAFd,eAAe;QAH3B,SAAS,CAAC;YACP,QAAQ,EAAE,qBAAqB;SAClC,CAAC;QAGO,WAAA,MAAM,CAAC,WAAW,CAAC,CAAA;OAFf,eAAe,CAI3B;IAAD,sBAAC;CAJD;;ICSa,gBAAgB,GAAG,mBAAmB;IACtC,aAAa,GAAG,IAAI,cAAc,CAC3C,iCAAiC,EACnC;IACW,iBAAiB,GAAe;IACzC,iBAAiB;IACjB,sBAAsB;IACtB,0BAA0B;IAC1B;QACI,OAAO,EAAE,aAAa;QACtB,IAAI,EAAE;YACF,UAAU;YACV,QAAQ;YACR,0BAA0B;YAC1B,CAAC,IAAI,QAAQ,EAAE,EAAE,uBAAuB,CAAC;YACzC,CAAC,IAAI,QAAQ,EAAE,EAAE,gBAAg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