@taiga-ui/kit 2.74.0 → 2.76.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 (963) 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 +83 -30
  185. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  187. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-tabs.umd.js +89 -42
  189. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  191. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  192. package/bundles/taiga-ui-kit-components-tag.umd.js +68 -23
  193. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  194. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  195. package/bundles/taiga-ui-kit-components-text-area.umd.js +63 -18
  196. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  198. package/bundles/taiga-ui-kit-components-toggle.umd.js +53 -8
  199. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  201. package/bundles/taiga-ui-kit-components-tree.umd.js +63 -18
  202. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  203. package/bundles/taiga-ui-kit-components-tree.umd.min.js +1 -1
  204. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  205. package/bundles/taiga-ui-kit-constants.umd.js +47 -2
  206. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  207. package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
  208. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  209. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +56 -11
  210. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  212. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +52 -7
  213. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  214. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +57 -12
  216. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  217. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  218. package/bundles/taiga-ui-kit-directives-highlight.umd.js +56 -11
  219. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  221. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +57 -12
  222. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  223. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  224. package/bundles/taiga-ui-kit-directives-present.umd.js +51 -6
  225. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  226. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  227. package/bundles/taiga-ui-kit-directives-project-class.umd.js +48 -3
  228. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  229. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  230. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +50 -5
  231. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  232. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  233. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +47 -2
  234. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  235. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  236. package/bundles/taiga-ui-kit-enums.umd.js.map +1 -1
  237. package/bundles/taiga-ui-kit-enums.umd.min.js.map +1 -1
  238. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +47 -2
  239. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  240. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  241. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +46 -1
  242. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  243. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
  244. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +46 -1
  245. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  246. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  247. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +46 -1
  248. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  249. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  250. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +46 -1
  251. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  252. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  253. package/bundles/taiga-ui-kit-tokens.umd.js +46 -1
  254. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  255. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  256. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  257. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  258. package/bundles/taiga-ui-kit-utils-format.umd.js +1 -1
  259. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  260. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  261. package/bundles/taiga-ui-kit-utils-mask.umd.js +46 -1
  262. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  263. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  264. package/bundles/taiga-ui-kit-utils-math.umd.js +46 -1
  265. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  266. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  267. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +46 -1
  268. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  269. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  270. package/components/arrow/arrow-options.d.ts +2 -2
  271. package/components/avatar/avatar.component.d.ts +3 -3
  272. package/components/badge/badge.component.d.ts +1 -1
  273. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  274. package/components/badged-content/badged-content.component.d.ts +1 -1
  275. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  276. package/components/calendar-range/calendar-range.component.d.ts +2 -2
  277. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -1
  278. package/components/checkbox-block/checkbox-block.component.d.ts +1 -1
  279. package/components/combo-box/combo-box.component.d.ts +1 -1
  280. package/components/data-list-wrapper/data-list-wrapper.d.ts +1 -1
  281. package/components/field-error/field-error.component.d.ts +1 -1
  282. package/components/filter/filter.component.d.ts +1 -1
  283. package/components/input-date/input-date.component.d.ts +1 -1
  284. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  285. package/components/input-date-range/input-date-range.component.d.ts +2 -2
  286. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  287. package/components/input-file/file/file.component.d.ts +1 -1
  288. package/components/input-file/input-file.component.d.ts +5 -5
  289. package/components/input-files/input-files.component.d.ts +2 -2
  290. package/components/input-inline/input-inline.component.d.ts +1 -1
  291. package/components/input-password/input-password-options.d.ts +4 -4
  292. package/components/input-password/input-password.component.d.ts +3 -3
  293. package/components/input-phone-international/input-phone-international.component.d.ts +1 -1
  294. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -1
  295. package/components/input-range/input-range.component.d.ts +1 -1
  296. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  297. package/components/input-tag/input-tag-options.d.ts +1 -1
  298. package/components/input-tag/input-tag.component.d.ts +2 -2
  299. package/components/input-time/input-time-options.d.ts +3 -3
  300. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  301. package/components/island/island.component.d.ts +1 -1
  302. package/components/marker-icon/marker-icon.component.d.ts +1 -1
  303. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  304. package/components/multi-select/multi-select.component.d.ts +2 -2
  305. package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
  306. package/components/push/taiga-ui-kit-components-push.metadata.json +1 -1
  307. package/components/radio-block/radio-block.component.d.ts +1 -1
  308. package/components/range/range-change.directive.d.ts +1 -1
  309. package/components/range/range.component.d.ts +1 -1
  310. package/components/select/select.component.d.ts +1 -1
  311. package/components/slider/helpers/slider-readonly.directive.d.ts +1 -1
  312. package/components/stepper/step/step.component.d.ts +1 -1
  313. package/components/stepper/stepper.component.d.ts +2 -1
  314. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  315. package/components/tabs/tabs-options.d.ts +1 -0
  316. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  317. package/components/tag/tag-options.d.ts +1 -1
  318. package/components/tag/tag.component.d.ts +2 -2
  319. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  320. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +1 -1
  321. package/directives/lazy-loading/lazy-loading.directive.d.ts +2 -2
  322. package/directives/lazy-loading/lazy-loading.service.d.ts +2 -2
  323. package/enums/dropdown-position.d.ts +1 -1
  324. package/enums/file-state.d.ts +1 -1
  325. package/enums/step-state.d.ts +1 -1
  326. package/esm2015/abstract/input-slider.js +1 -1
  327. package/esm2015/abstract/slider/slider.js +1 -1
  328. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  329. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  330. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +11 -11
  331. package/esm2015/components/accordion/accordion.component.js +2 -2
  332. package/esm2015/components/action/action.component.js +9 -9
  333. package/esm2015/components/arrow/arrow-options.js +1 -1
  334. package/esm2015/components/arrow/arrow.component.js +2 -2
  335. package/esm2015/components/avatar/avatar.component.js +14 -14
  336. package/esm2015/components/badge/badge.component.js +17 -19
  337. package/esm2015/components/badged-content/badged-content.component.js +21 -21
  338. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +2 -2
  339. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  340. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +4 -4
  341. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  342. package/esm2015/components/calendar-range/calendar-range.component.js +5 -5
  343. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  344. package/esm2015/components/carousel/carousel-buttons.directive.js +4 -4
  345. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  346. package/esm2015/components/carousel/carousel.component.js +11 -21
  347. package/esm2015/components/carousel/carousel.directive.js +3 -3
  348. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  349. package/esm2015/components/checkbox-block/checkbox-block.component.js +11 -10
  350. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  351. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  352. package/esm2015/components/combo-box/combo-box.component.js +7 -7
  353. package/esm2015/components/combo-box/combo-box.directive.js +2 -2
  354. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  355. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  356. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +1 -1
  357. package/esm2015/components/field-error/field-error.component.js +6 -6
  358. package/esm2015/components/files/file/file.component.js +20 -20
  359. package/esm2015/components/files/files.component.js +2 -2
  360. package/esm2015/components/filter/filter.component.js +4 -4
  361. package/esm2015/components/input/input.component.js +5 -5
  362. package/esm2015/components/input/input.directive.js +2 -2
  363. package/esm2015/components/input-copy/input-copy.component.js +10 -9
  364. package/esm2015/components/input-copy/input-copy.directive.js +2 -2
  365. package/esm2015/components/input-count/input-count.component.js +14 -14
  366. package/esm2015/components/input-count/input-count.directive.js +4 -4
  367. package/esm2015/components/input-date/input-date.component.js +9 -9
  368. package/esm2015/components/input-date/input-date.directive.js +3 -3
  369. package/esm2015/components/input-date-range/input-date-range.component.js +13 -13
  370. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  371. package/esm2015/components/input-date-time/input-date-time.component.js +15 -15
  372. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  373. package/esm2015/components/input-file/file/file.component.js +18 -18
  374. package/esm2015/components/input-file/input-file.component.js +18 -18
  375. package/esm2015/components/input-files/input-files.component.js +16 -16
  376. package/esm2015/components/input-inline/input-inline.component.js +5 -5
  377. package/esm2015/components/input-month/input-month.component.js +4 -4
  378. package/esm2015/components/input-month/input-month.directive.js +3 -3
  379. package/esm2015/components/input-month-range/input-month-range.component.js +5 -5
  380. package/esm2015/components/input-month-range/input-month-range.directive.js +4 -4
  381. package/esm2015/components/input-number/input-number.component.js +25 -25
  382. package/esm2015/components/input-number/input-number.directive.js +3 -3
  383. package/esm2015/components/input-password/input-password-options.js +1 -1
  384. package/esm2015/components/input-password/input-password.component.js +5 -5
  385. package/esm2015/components/input-password/input-password.directive.js +3 -3
  386. package/esm2015/components/input-phone/input-phone.component.js +30 -30
  387. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  388. package/esm2015/components/input-phone-international/input-phone-international.component.js +14 -14
  389. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +1 -1
  390. package/esm2015/components/input-range/input-range.component.js +17 -17
  391. package/esm2015/components/input-slider/input-slider.component.js +17 -15
  392. package/esm2015/components/input-tag/input-tag-options.js +1 -1
  393. package/esm2015/components/input-tag/input-tag.component.js +23 -23
  394. package/esm2015/components/input-time/input-time-options.js +1 -1
  395. package/esm2015/components/input-time/input-time.component.js +9 -9
  396. package/esm2015/components/island/island.component.js +19 -19
  397. package/esm2015/components/line-clamp/line-clamp.component.js +9 -9
  398. package/esm2015/components/marker-icon/marker-icon.component.js +7 -7
  399. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  400. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  401. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  402. package/esm2015/components/multi-select/multi-select.component.js +10 -10
  403. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  404. package/esm2015/components/pagination/pagination.component.js +8 -8
  405. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -6
  406. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  407. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +1 -1
  408. package/esm2015/components/progress/progress-bar/progress-bar.component.js +6 -6
  409. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  410. package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -7
  411. package/esm2015/components/progress/progress-label/progress-label.component.js +2 -2
  412. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  413. package/esm2015/components/push/push-alert.component.js +7 -7
  414. package/esm2015/components/push/push-alert.directive.js +2 -2
  415. package/esm2015/components/push/push.component.js +5 -5
  416. package/esm2015/components/push/push.directive.js +4 -4
  417. package/esm2015/components/radio/radio.component.js +7 -7
  418. package/esm2015/components/radio-block/radio-block.component.js +12 -11
  419. package/esm2015/components/radio-group/radio-group.component.js +2 -2
  420. package/esm2015/components/radio-labeled/radio-labeled.component.js +6 -6
  421. package/esm2015/components/radio-list/radio-list.component.js +6 -6
  422. package/esm2015/components/range/range-change.directive.js +10 -10
  423. package/esm2015/components/range/range.component.js +23 -23
  424. package/esm2015/components/rating/rating.component.js +5 -5
  425. package/esm2015/components/select/select.component.js +4 -4
  426. package/esm2015/components/select/select.directive.js +2 -2
  427. package/esm2015/components/select-option/select-option.component.js +3 -3
  428. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +10 -10
  429. package/esm2015/components/slider/helpers/slider-readonly.directive.js +15 -15
  430. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +5 -5
  431. package/esm2015/components/slider/slider-old.component.js +2 -2
  432. package/esm2015/components/slider/slider.component.js +9 -9
  433. package/esm2015/components/stepper/step/step.component.js +12 -12
  434. package/esm2015/components/stepper/stepper.component.js +23 -19
  435. package/esm2015/components/tabs/tab/tab.component.js +10 -10
  436. package/esm2015/components/tabs/tab.directive.js +2 -2
  437. package/esm2015/components/tabs/tabs/tabs.component.js +13 -13
  438. package/esm2015/components/tabs/tabs-options.js +2 -1
  439. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +9 -8
  440. package/esm2015/components/tabs/underline/underline.component.js +13 -13
  441. package/esm2015/components/tag/tag-options.js +1 -1
  442. package/esm2015/components/tag/tag.component.js +23 -23
  443. package/esm2015/components/text-area/text-area.component.js +17 -17
  444. package/esm2015/components/text-area/text-area.directive.js +2 -2
  445. package/esm2015/components/toggle/toggle.component.js +8 -8
  446. package/esm2015/components/tree/components/tree/tree.component.js +3 -3
  447. package/esm2015/components/tree/components/tree-item/tree-item.component.js +5 -5
  448. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  449. package/esm2015/components/tree/directives/tree-children.directive.js +2 -2
  450. package/esm2015/components/tree/directives/tree-controller.directive.js +4 -4
  451. package/esm2015/components/tree/directives/tree-item-controller.directive.js +4 -4
  452. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  453. package/esm2015/constants/max-day-range-length-mapper.js +2 -2
  454. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +11 -11
  455. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +5 -5
  456. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +12 -12
  457. package/esm2015/directives/highlight/highlight.directive.js +11 -11
  458. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +12 -12
  459. package/esm2015/directives/lazy-loading/lazy-loading.service.js +1 -1
  460. package/esm2015/directives/present/present.directive.js +6 -6
  461. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  462. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  463. package/esm2015/directives/value-accessor/value-accessor.directive.js +2 -2
  464. package/esm2015/enums/dropdown-position.js +1 -1
  465. package/esm2015/enums/file-state.js +1 -1
  466. package/esm2015/enums/step-state.js +1 -1
  467. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  468. package/esm2015/pipes/field-error/field-error-pipe.js +1 -1
  469. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  470. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +1 -1
  471. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  472. package/esm2015/pipes/stringify/stringify.pipe.js +1 -1
  473. package/esm2015/tokens/validation-errors.js +1 -1
  474. package/esm2015/types/marker-icon-mode.js +1 -1
  475. package/esm2015/types/status.js +1 -1
  476. package/esm2015/types/time-format-parts.js +1 -1
  477. package/esm2015/utils/dom/set-range-offset.js +1 -1
  478. package/esm2015/utils/format/string-hash-to-hsl.js +2 -2
  479. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +1 -1
  480. package/esm2015/utils/mask/create-time-mask.js +1 -1
  481. package/esm2015/utils/miscellaneous/is-flat.js +1 -1
  482. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +1 -1
  483. package/esm5/abstract/input-slider.js +1 -1
  484. package/esm5/abstract/slider/slider.js +1 -1
  485. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  486. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  487. package/esm5/components/accordion/accordion-item/accordion-item.component.js +11 -11
  488. package/esm5/components/accordion/accordion.component.js +2 -2
  489. package/esm5/components/action/action.component.js +9 -9
  490. package/esm5/components/arrow/arrow-options.js +1 -1
  491. package/esm5/components/arrow/arrow.component.js +2 -2
  492. package/esm5/components/avatar/avatar.component.js +14 -14
  493. package/esm5/components/badge/badge.component.js +17 -19
  494. package/esm5/components/badged-content/badged-content.component.js +21 -21
  495. package/esm5/components/breadcrumbs/breadcrumb.directive.js +2 -2
  496. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  497. package/esm5/components/breadcrumbs/breadcrumbs.component.js +4 -4
  498. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  499. package/esm5/components/calendar-range/calendar-range.component.js +5 -5
  500. package/esm5/components/carousel/carousel-autoscroll.directive.js +3 -3
  501. package/esm5/components/carousel/carousel-buttons.directive.js +4 -4
  502. package/esm5/components/carousel/carousel-scroll.directive.js +3 -3
  503. package/esm5/components/carousel/carousel.component.js +11 -21
  504. package/esm5/components/carousel/carousel.directive.js +3 -3
  505. package/esm5/components/checkbox/checkbox.component.js +4 -4
  506. package/esm5/components/checkbox-block/checkbox-block.component.js +11 -10
  507. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  508. package/esm5/components/combo-box/combo-box-strict.directive.js +3 -3
  509. package/esm5/components/combo-box/combo-box.component.js +7 -7
  510. package/esm5/components/combo-box/combo-box.directive.js +2 -2
  511. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  512. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  513. package/esm5/components/data-list-wrapper/data-list-wrapper.js +1 -1
  514. package/esm5/components/field-error/field-error.component.js +6 -6
  515. package/esm5/components/files/file/file.component.js +20 -20
  516. package/esm5/components/files/files.component.js +2 -2
  517. package/esm5/components/filter/filter.component.js +4 -4
  518. package/esm5/components/input/input.component.js +5 -5
  519. package/esm5/components/input/input.directive.js +2 -2
  520. package/esm5/components/input-copy/input-copy.component.js +10 -9
  521. package/esm5/components/input-copy/input-copy.directive.js +2 -2
  522. package/esm5/components/input-count/input-count.component.js +14 -14
  523. package/esm5/components/input-count/input-count.directive.js +4 -4
  524. package/esm5/components/input-date/input-date.component.js +9 -9
  525. package/esm5/components/input-date/input-date.directive.js +3 -3
  526. package/esm5/components/input-date-range/input-date-range.component.js +13 -13
  527. package/esm5/components/input-date-range/input-date-range.directive.js +3 -3
  528. package/esm5/components/input-date-time/input-date-time.component.js +15 -15
  529. package/esm5/components/input-date-time/input-date-time.directive.js +3 -3
  530. package/esm5/components/input-file/file/file.component.js +18 -18
  531. package/esm5/components/input-file/input-file.component.js +18 -18
  532. package/esm5/components/input-files/input-files.component.js +16 -16
  533. package/esm5/components/input-inline/input-inline.component.js +5 -5
  534. package/esm5/components/input-month/input-month.component.js +4 -4
  535. package/esm5/components/input-month/input-month.directive.js +3 -3
  536. package/esm5/components/input-month-range/input-month-range.component.js +5 -5
  537. package/esm5/components/input-month-range/input-month-range.directive.js +4 -4
  538. package/esm5/components/input-number/input-number.component.js +25 -25
  539. package/esm5/components/input-number/input-number.directive.js +3 -3
  540. package/esm5/components/input-password/input-password-options.js +1 -1
  541. package/esm5/components/input-password/input-password.component.js +5 -5
  542. package/esm5/components/input-password/input-password.directive.js +3 -3
  543. package/esm5/components/input-phone/input-phone.component.js +30 -30
  544. package/esm5/components/input-phone/input-phone.directive.js +3 -3
  545. package/esm5/components/input-phone-international/input-phone-international.component.js +14 -14
  546. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +1 -1
  547. package/esm5/components/input-range/input-range.component.js +17 -17
  548. package/esm5/components/input-slider/input-slider.component.js +17 -15
  549. package/esm5/components/input-tag/input-tag-options.js +1 -1
  550. package/esm5/components/input-tag/input-tag.component.js +23 -23
  551. package/esm5/components/input-time/input-time-options.js +1 -1
  552. package/esm5/components/input-time/input-time.component.js +9 -9
  553. package/esm5/components/island/island.component.js +19 -19
  554. package/esm5/components/line-clamp/line-clamp.component.js +9 -9
  555. package/esm5/components/marker-icon/marker-icon.component.js +7 -7
  556. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  557. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  558. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  559. package/esm5/components/multi-select/multi-select.component.js +10 -10
  560. package/esm5/components/multi-select-option/multi-select-option.component.js +6 -4
  561. package/esm5/components/pagination/pagination.component.js +8 -8
  562. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -6
  563. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  564. package/esm5/components/pdf-viewer/pdf-viewer.service.js +1 -1
  565. package/esm5/components/progress/progress-bar/progress-bar.component.js +6 -6
  566. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  567. package/esm5/components/progress/progress-circle/progress-circle.component.js +7 -7
  568. package/esm5/components/progress/progress-label/progress-label.component.js +2 -2
  569. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  570. package/esm5/components/push/push-alert.component.js +7 -7
  571. package/esm5/components/push/push-alert.directive.js +2 -2
  572. package/esm5/components/push/push.component.js +5 -5
  573. package/esm5/components/push/push.directive.js +4 -4
  574. package/esm5/components/radio/radio.component.js +7 -7
  575. package/esm5/components/radio-block/radio-block.component.js +12 -11
  576. package/esm5/components/radio-group/radio-group.component.js +2 -2
  577. package/esm5/components/radio-labeled/radio-labeled.component.js +6 -6
  578. package/esm5/components/radio-list/radio-list.component.js +6 -6
  579. package/esm5/components/range/range-change.directive.js +12 -12
  580. package/esm5/components/range/range.component.js +23 -23
  581. package/esm5/components/rating/rating.component.js +5 -5
  582. package/esm5/components/select/select.component.js +4 -4
  583. package/esm5/components/select/select.directive.js +2 -2
  584. package/esm5/components/select-option/select-option.component.js +3 -3
  585. package/esm5/components/slider/helpers/slider-key-steps.directive.js +10 -10
  586. package/esm5/components/slider/helpers/slider-readonly.directive.js +15 -15
  587. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +5 -5
  588. package/esm5/components/slider/slider-old.component.js +2 -2
  589. package/esm5/components/slider/slider.component.js +9 -9
  590. package/esm5/components/stepper/step/step.component.js +12 -12
  591. package/esm5/components/stepper/stepper.component.js +27 -19
  592. package/esm5/components/tabs/tab/tab.component.js +10 -10
  593. package/esm5/components/tabs/tab.directive.js +2 -2
  594. package/esm5/components/tabs/tabs/tabs.component.js +13 -13
  595. package/esm5/components/tabs/tabs-options.js +2 -1
  596. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +9 -8
  597. package/esm5/components/tabs/underline/underline.component.js +13 -13
  598. package/esm5/components/tag/tag-options.js +1 -1
  599. package/esm5/components/tag/tag.component.js +23 -23
  600. package/esm5/components/text-area/text-area.component.js +17 -17
  601. package/esm5/components/text-area/text-area.directive.js +2 -2
  602. package/esm5/components/toggle/toggle.component.js +8 -8
  603. package/esm5/components/tree/components/tree/tree.component.js +3 -3
  604. package/esm5/components/tree/components/tree-item/tree-item.component.js +5 -5
  605. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  606. package/esm5/components/tree/directives/tree-children.directive.js +2 -2
  607. package/esm5/components/tree/directives/tree-controller.directive.js +4 -4
  608. package/esm5/components/tree/directives/tree-item-controller.directive.js +4 -4
  609. package/esm5/components/tree/directives/tree-node.directive.js +3 -3
  610. package/esm5/constants/max-day-range-length-mapper.js +2 -2
  611. package/esm5/directives/dropdown-context/dropdown-context.directive.js +11 -11
  612. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +7 -7
  613. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +12 -12
  614. package/esm5/directives/highlight/highlight.directive.js +11 -11
  615. package/esm5/directives/lazy-loading/lazy-loading.directive.js +12 -12
  616. package/esm5/directives/lazy-loading/lazy-loading.service.js +1 -1
  617. package/esm5/directives/present/present.directive.js +6 -6
  618. package/esm5/directives/project-class/project-class.directive.js +3 -3
  619. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  620. package/esm5/directives/value-accessor/value-accessor.directive.js +2 -2
  621. package/esm5/enums/dropdown-position.js +1 -1
  622. package/esm5/enums/file-state.js +1 -1
  623. package/esm5/enums/step-state.js +1 -1
  624. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  625. package/esm5/pipes/field-error/field-error-pipe.js +1 -1
  626. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  627. package/esm5/pipes/filter-by-input/filter-by-input.base.js +1 -1
  628. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  629. package/esm5/pipes/stringify/stringify.pipe.js +1 -1
  630. package/esm5/tokens/validation-errors.js +1 -1
  631. package/esm5/types/marker-icon-mode.js +1 -1
  632. package/esm5/types/status.js +1 -1
  633. package/esm5/types/time-format-parts.js +1 -1
  634. package/esm5/utils/dom/set-range-offset.js +1 -1
  635. package/esm5/utils/format/string-hash-to-hsl.js +2 -2
  636. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +1 -1
  637. package/esm5/utils/mask/create-time-mask.js +1 -1
  638. package/esm5/utils/miscellaneous/is-flat.js +1 -1
  639. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +1 -1
  640. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  641. package/fesm2015/taiga-ui-kit-components-accordion.js +13 -13
  642. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  643. package/fesm2015/taiga-ui-kit-components-action.js +8 -8
  644. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  645. package/fesm2015/taiga-ui-kit-components-arrow.js +1 -1
  646. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  647. package/fesm2015/taiga-ui-kit-components-avatar.js +13 -13
  648. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  649. package/fesm2015/taiga-ui-kit-components-badge.js +16 -18
  650. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  651. package/fesm2015/taiga-ui-kit-components-badged-content.js +20 -20
  652. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  653. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +8 -8
  654. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  655. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  656. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  657. package/fesm2015/taiga-ui-kit-components-calendar-range.js +4 -4
  658. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  659. package/fesm2015/taiga-ui-kit-components-carousel.js +20 -29
  660. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  661. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +10 -9
  662. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  663. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  664. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  665. package/fesm2015/taiga-ui-kit-components-checkbox.js +3 -3
  666. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  667. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -9
  668. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  669. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  670. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  671. package/fesm2015/taiga-ui-kit-components-field-error.js +5 -5
  672. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  673. package/fesm2015/taiga-ui-kit-components-files.js +20 -20
  674. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  675. package/fesm2015/taiga-ui-kit-components-filter.js +3 -3
  676. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  677. package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -9
  678. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  679. package/fesm2015/taiga-ui-kit-components-input-count.js +16 -16
  680. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  681. package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -14
  682. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  683. package/fesm2015/taiga-ui-kit-components-input-date-time.js +16 -16
  684. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  685. package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
  686. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  687. package/fesm2015/taiga-ui-kit-components-input-file.js +34 -34
  688. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  689. package/fesm2015/taiga-ui-kit-components-input-files.js +15 -15
  690. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  691. package/fesm2015/taiga-ui-kit-components-input-inline.js +4 -4
  692. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  693. package/fesm2015/taiga-ui-kit-components-input-month-range.js +7 -7
  694. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  695. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -5
  696. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  697. package/fesm2015/taiga-ui-kit-components-input-number.js +26 -26
  698. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  699. package/fesm2015/taiga-ui-kit-components-input-password.js +6 -6
  700. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  701. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +13 -13
  702. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  703. package/fesm2015/taiga-ui-kit-components-input-phone.js +31 -31
  704. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  705. package/fesm2015/taiga-ui-kit-components-input-range.js +16 -16
  706. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  707. package/fesm2015/taiga-ui-kit-components-input-slider.js +16 -14
  708. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  709. package/fesm2015/taiga-ui-kit-components-input-tag.js +22 -22
  710. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  711. package/fesm2015/taiga-ui-kit-components-input-time.js +8 -8
  712. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  713. package/fesm2015/taiga-ui-kit-components-input.js +5 -5
  714. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  715. package/fesm2015/taiga-ui-kit-components-island.js +18 -18
  716. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  717. package/fesm2015/taiga-ui-kit-components-line-clamp.js +8 -8
  718. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  719. package/fesm2015/taiga-ui-kit-components-marker-icon.js +6 -6
  720. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  721. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +2 -2
  722. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  723. package/fesm2015/taiga-ui-kit-components-multi-select.js +14 -14
  724. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  725. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  726. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  727. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +8 -8
  728. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  729. package/fesm2015/taiga-ui-kit-components-progress.js +23 -23
  730. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  731. package/fesm2015/taiga-ui-kit-components-push.js +14 -14
  732. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
  733. package/fesm2015/taiga-ui-kit-components-radio-block.js +11 -10
  734. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  735. package/fesm2015/taiga-ui-kit-components-radio-group.js +1 -1
  736. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  737. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +5 -5
  738. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  739. package/fesm2015/taiga-ui-kit-components-radio-list.js +5 -5
  740. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  741. package/fesm2015/taiga-ui-kit-components-radio.js +6 -6
  742. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-range.js +31 -31
  744. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-rating.js +4 -4
  746. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-select-option.js +2 -2
  748. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-select.js +4 -4
  750. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-slider.js +36 -36
  752. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-stepper.js +33 -29
  754. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-tabs.js +43 -41
  756. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-tag.js +22 -22
  758. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-components-text-area.js +17 -17
  760. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -7
  762. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-components-tree.js +17 -17
  764. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  765. package/fesm2015/taiga-ui-kit-constants.js +1 -1
  766. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +10 -10
  768. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +4 -4
  770. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +11 -11
  772. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-directives-highlight.js +10 -10
  774. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +11 -11
  776. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-directives-present.js +5 -5
  778. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-directives-project-class.js +2 -2
  780. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  782. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +1 -1
  784. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  785. package/fesm2015/taiga-ui-kit-enums.js.map +1 -1
  786. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  787. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  788. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  790. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  792. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-utils-format.js +1 -1
  794. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  795. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  796. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  797. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  798. package/fesm5/taiga-ui-kit-components-accordion.js +13 -13
  799. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  800. package/fesm5/taiga-ui-kit-components-action.js +8 -8
  801. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  802. package/fesm5/taiga-ui-kit-components-arrow.js +1 -1
  803. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  804. package/fesm5/taiga-ui-kit-components-avatar.js +13 -13
  805. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  806. package/fesm5/taiga-ui-kit-components-badge.js +16 -18
  807. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  808. package/fesm5/taiga-ui-kit-components-badged-content.js +20 -20
  809. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  810. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +8 -8
  811. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  812. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  813. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  814. package/fesm5/taiga-ui-kit-components-calendar-range.js +4 -4
  815. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  816. package/fesm5/taiga-ui-kit-components-carousel.js +20 -29
  817. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  818. package/fesm5/taiga-ui-kit-components-checkbox-block.js +10 -9
  819. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  820. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  821. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  822. package/fesm5/taiga-ui-kit-components-checkbox.js +3 -3
  823. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  824. package/fesm5/taiga-ui-kit-components-combo-box.js +9 -9
  825. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  826. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  827. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  828. package/fesm5/taiga-ui-kit-components-field-error.js +5 -5
  829. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  830. package/fesm5/taiga-ui-kit-components-files.js +20 -20
  831. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  832. package/fesm5/taiga-ui-kit-components-filter.js +3 -3
  833. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  834. package/fesm5/taiga-ui-kit-components-input-copy.js +10 -9
  835. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  836. package/fesm5/taiga-ui-kit-components-input-count.js +16 -16
  837. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  838. package/fesm5/taiga-ui-kit-components-input-date-range.js +14 -14
  839. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  840. package/fesm5/taiga-ui-kit-components-input-date-time.js +16 -16
  841. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  842. package/fesm5/taiga-ui-kit-components-input-date.js +10 -10
  843. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  844. package/fesm5/taiga-ui-kit-components-input-file.js +34 -34
  845. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  846. package/fesm5/taiga-ui-kit-components-input-files.js +15 -15
  847. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  848. package/fesm5/taiga-ui-kit-components-input-inline.js +4 -4
  849. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  850. package/fesm5/taiga-ui-kit-components-input-month-range.js +7 -7
  851. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  852. package/fesm5/taiga-ui-kit-components-input-month.js +5 -5
  853. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  854. package/fesm5/taiga-ui-kit-components-input-number.js +26 -26
  855. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  856. package/fesm5/taiga-ui-kit-components-input-password.js +6 -6
  857. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  858. package/fesm5/taiga-ui-kit-components-input-phone-international.js +13 -13
  859. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  860. package/fesm5/taiga-ui-kit-components-input-phone.js +31 -31
  861. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  862. package/fesm5/taiga-ui-kit-components-input-range.js +16 -16
  863. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  864. package/fesm5/taiga-ui-kit-components-input-slider.js +16 -14
  865. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  866. package/fesm5/taiga-ui-kit-components-input-tag.js +22 -22
  867. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  868. package/fesm5/taiga-ui-kit-components-input-time.js +8 -8
  869. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  870. package/fesm5/taiga-ui-kit-components-input.js +5 -5
  871. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  872. package/fesm5/taiga-ui-kit-components-island.js +18 -18
  873. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  874. package/fesm5/taiga-ui-kit-components-line-clamp.js +8 -8
  875. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  876. package/fesm5/taiga-ui-kit-components-marker-icon.js +6 -6
  877. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  878. package/fesm5/taiga-ui-kit-components-multi-select-option.js +5 -3
  879. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  880. package/fesm5/taiga-ui-kit-components-multi-select.js +14 -14
  881. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  882. package/fesm5/taiga-ui-kit-components-pagination.js +7 -7
  883. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  884. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +8 -8
  885. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  886. package/fesm5/taiga-ui-kit-components-progress.js +23 -23
  887. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  888. package/fesm5/taiga-ui-kit-components-push.js +14 -14
  889. package/fesm5/taiga-ui-kit-components-push.js.map +1 -1
  890. package/fesm5/taiga-ui-kit-components-radio-block.js +11 -10
  891. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  892. package/fesm5/taiga-ui-kit-components-radio-group.js +1 -1
  893. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-components-radio-labeled.js +5 -5
  895. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  896. package/fesm5/taiga-ui-kit-components-radio-list.js +5 -5
  897. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-components-radio.js +6 -6
  899. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-components-range.js +33 -33
  901. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-components-rating.js +4 -4
  903. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-components-select-option.js +2 -2
  905. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  906. package/fesm5/taiga-ui-kit-components-select.js +4 -4
  907. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  908. package/fesm5/taiga-ui-kit-components-slider.js +36 -36
  909. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  910. package/fesm5/taiga-ui-kit-components-stepper.js +37 -29
  911. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  912. package/fesm5/taiga-ui-kit-components-tabs.js +43 -41
  913. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  914. package/fesm5/taiga-ui-kit-components-tag.js +22 -22
  915. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  916. package/fesm5/taiga-ui-kit-components-text-area.js +17 -17
  917. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-components-toggle.js +7 -7
  919. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-components-tree.js +17 -17
  921. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-constants.js +1 -1
  923. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +10 -10
  925. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +6 -6
  927. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +11 -11
  929. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  930. package/fesm5/taiga-ui-kit-directives-highlight.js +10 -10
  931. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  932. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +11 -11
  933. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  934. package/fesm5/taiga-ui-kit-directives-present.js +5 -5
  935. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-directives-project-class.js +2 -2
  937. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  939. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  940. package/fesm5/taiga-ui-kit-directives-value-accessor.js +1 -1
  941. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  942. package/fesm5/taiga-ui-kit-enums.js.map +1 -1
  943. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  944. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  945. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  947. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  948. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  949. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  950. package/fesm5/taiga-ui-kit-utils-format.js +1 -1
  951. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  952. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  953. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  954. package/package.json +4 -4
  955. package/pipes/field-error/field-error-pipe.d.ts +1 -1
  956. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -1
  957. package/pipes/stringify/stringify.pipe.d.ts +1 -1
  958. package/types/marker-icon-mode.d.ts +1 -1
  959. package/types/status.d.ts +1 -1
  960. package/types/time-format-parts.d.ts +1 -1
  961. package/utils/dom/set-range-offset.d.ts +1 -1
  962. package/utils/miscellaneous/is-flat.d.ts +1 -1
  963. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -1
@@ -53,7 +53,7 @@ let TuiSelectComponent = class TuiSelectComponent extends AbstractTuiNullableCon
53
53
  this.stringify = this.itemsHandlers.stringify;
54
54
  this.identityMatcher = this.itemsHandlers.identityMatcher;
55
55
  this.valueContent = this.options.valueContent;
56
- this.datalist = ``;
56
+ this.datalist = '';
57
57
  }
58
58
  get arrow() {
59
59
  return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;
@@ -66,7 +66,7 @@ let TuiSelectComponent = class TuiSelectComponent extends AbstractTuiNullableCon
66
66
  (!!this.hostedDropdown && this.hostedDropdown.focused));
67
67
  }
68
68
  get computedValue() {
69
- return this.value === null ? `` : this.stringify(this.value) || ` `;
69
+ return this.value === null ? '' : this.stringify(this.value) || ' ';
70
70
  }
71
71
  get computedContent() {
72
72
  return this.valueContent || this.computedValue;
@@ -130,7 +130,7 @@ __decorate([
130
130
  ], TuiSelectComponent.prototype, "datalist", void 0);
131
131
  TuiSelectComponent = __decorate([
132
132
  Component({
133
- selector: `tui-select`,
133
+ selector: 'tui-select',
134
134
  template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"interactive\"\n [content]=\"datalist || ''\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-select__textfield\"\n class=\"t-textfield\"\n [editable]=\"false\"\n [pseudoFocused]=\"computedFocused\"\n [pseudoHovered]=\"pseudoHovered\"\n [pseudoPressed]=\"pseudoPressed\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [iconContent]=\"arrow\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (keydown.delete.prevent)=\"onKeyDownDelete()\"\n (keydown.backspace.prevent)=\"onKeyDownDelete()\"\n >\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n <div\n *ngIf=\"value !== null\"\n polymorpheus-outlet\n automation-id=\"tui-select__value\"\n class=\"t-value\"\n [content]=\"computedContent\"\n [context]=\"{$implicit: value, active: computedFocused}\"\n >\n <ng-template let-primitiveValue>\n <div class=\"t-primitive-value\">{{ primitiveValue }}</div>\n </ng-template>\n </div>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n",
135
135
  changeDetection: ChangeDetectionStrategy.OnPush,
136
136
  providers: TUI_SELECT_PROVIDERS,
@@ -160,7 +160,7 @@ let TuiSelectDirective = TuiSelectDirective_1 = class TuiSelectDirective extends
160
160
  };
161
161
  TuiSelectDirective = TuiSelectDirective_1 = __decorate([
162
162
  Directive({
163
- selector: `tui-select`,
163
+ selector: 'tui-select',
164
164
  providers: [
165
165
  {
166
166
  provide: TUI_TEXTFIELD_HOST,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-select.js","sources":["ng://@taiga-ui/kit/components/select/select.providers.ts","ng://@taiga-ui/kit/components/select/select-options.ts","ng://@taiga-ui/kit/components/select/select.component.ts","ng://@taiga-ui/kit/components/select/select.directive.ts","ng://@taiga-ui/kit/components/select/select.module.ts","ng://@taiga-ui/kit/components/select/taiga-ui-kit-components-select.ts"],"sourcesContent":["import {forwardRef} from '@angular/core';\nimport {AbstractTuiControl, TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT} from '@taiga-ui/core';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/kit/components/select-option';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\n\nimport {TuiSelectComponent} from './select.component';\n\n// TODO: 3.0 remove in ivy compilation\nexport const SELECT_OPTION: unknown = TUI_SELECT_OPTION;\n\nexport const TUI_SELECT_PROVIDERS = [\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_OPTION_CONTENT,\n useValue: SELECT_OPTION,\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n];\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiValueContentContext} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiSelectOptions<T> {\n readonly valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n}\n\nexport const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown> = {\n valueContent: ``,\n};\n\nexport const TUI_SELECT_OPTIONS = new InjectionToken<TuiSelectOptions<unknown>>(\n `Default parameters for select component`,\n {\n factory: () => TUI_SELECT_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiSelectOptionsProvider: <T>(\n options: Partial<TuiSelectOptions<T>>,\n) => ValueProvider = <T>(options: Partial<TuiSelectOptions<T>>) => ({\n provide: TUI_SELECT_OPTIONS,\n useValue: {...TUI_SELECT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n Inject,\n Input,\n Optional,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n setNativeFocused,\n TuiActiveZoneDirective,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\nimport {\n TUI_TEXTFIELD_CLEANER,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeM,\n TuiSizeS,\n TuiTextfieldCleanerDirective,\n TuiValueContentContext,\n} from '@taiga-ui/core';\nimport {TUI_ARROW_MODE, TuiArrowMode} from '@taiga-ui/kit/components/arrow';\nimport {TUI_ITEMS_HANDLERS, TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_SELECT_PROVIDERS} from './select.providers';\nimport {TUI_SELECT_OPTIONS, TuiSelectOptions} from './select-options';\n\n@Component({\n selector: `tui-select`,\n templateUrl: `./select.template.html`,\n styleUrls: [`./select.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_SELECT_PROVIDERS,\n})\nexport class TuiSelectComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @Input()\n @tuiDefaultProp()\n stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n @tuiDefaultProp()\n valueContent: TuiSelectOptions<T>['valueContent'] = this.options.valueContent;\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = ``;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_CLEANER)\n private readonly textfieldCleaner: TuiTextfieldCleanerDirective,\n @Inject(TUI_ARROW_MODE)\n private readonly arrowMode: TuiArrowMode,\n @Inject(TUI_ITEMS_HANDLERS)\n private readonly itemsHandlers: TuiItemsHandlers<T>,\n @Inject(TUI_SELECT_OPTIONS)\n private readonly options: TuiSelectOptions<T>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get arrow(): PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeS | TuiSizeM | TuiSizeL>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): string {\n return this.value === null ? `` : this.stringify(this.value) || ` `;\n }\n\n get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.computedValue;\n }\n\n onValueChange(value: string): void {\n if (!value) {\n this.updateValue(null);\n }\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onKeyDownDelete(): void {\n if (this.textfieldCleaner.cleaner) {\n this.updateValue(null);\n }\n }\n\n handleOption(option: T): void {\n this.focusInput();\n this.updateValue(option);\n this.hostedDropdown?.updateOpen(false);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {Directive, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiSelectComponent} from './select.component';\n\n@Directive({\n selector: `tui-select`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiSelectDirective),\n },\n ],\n})\nexport class TuiSelectDirective extends TuiAbstractTextfieldHost<\n TuiSelectComponent<unknown>\n> {\n get readOnly(): boolean {\n return true;\n }\n\n get value(): string {\n return this.host.computedValue;\n }\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiSelectOptionModule} from '@taiga-ui/kit/components/select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSelectComponent} from './select.component';\nimport {TuiSelectDirective} from './select.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiPrimitiveTextfieldModule,\n TuiHostedDropdownModule,\n TuiSelectOptionModule,\n TuiArrowModule,\n ],\n declarations: [TuiSelectComponent, TuiSelectDirective],\n exports: [TuiSelectComponent, TuiSelectDirective, TuiTextfieldComponent],\n})\nexport class TuiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAQA;MACa,aAAa,GAAY,kBAAkB;MAE3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OAAO,IAAI,CAAC;KACf;IAED,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;KAClC;IAED,aAAa,CAAC,KAAa;QACvB,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KAClC;EACJ;AAdY,kBAAkB;IAT9B,SAAS,CAAC;QACP,QAAQ,EAAE,YAAY;QACtB,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,oBAAkB,CAAC;aACpD;SACJ;KACJ,CAAC;GACW,kBAAkB,CAc9B;;ICAY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAb3B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,kBAAkB;YAClB,mBAAmB;YACnB,2BAA2B;YAC3B,uBAAuB;YACvB,qBAAqB;YACrB,cAAc;SACjB;QACD,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;QACtD,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;KAC3E,CAAC;GACW,eAAe,CAAG;;AC5B/B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-select.js","sources":["ng://@taiga-ui/kit/components/select/select.providers.ts","ng://@taiga-ui/kit/components/select/select-options.ts","ng://@taiga-ui/kit/components/select/select.component.ts","ng://@taiga-ui/kit/components/select/select.directive.ts","ng://@taiga-ui/kit/components/select/select.module.ts","ng://@taiga-ui/kit/components/select/taiga-ui-kit-components-select.ts"],"sourcesContent":["import {forwardRef} from '@angular/core';\nimport {AbstractTuiControl, TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT} from '@taiga-ui/core';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/kit/components/select-option';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\n\nimport {TuiSelectComponent} from './select.component';\n\n// TODO: 3.0 remove in ivy compilation\nexport const SELECT_OPTION: unknown = TUI_SELECT_OPTION;\n\nexport const TUI_SELECT_PROVIDERS = [\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_OPTION_CONTENT,\n useValue: SELECT_OPTION,\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n];\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiValueContentContext} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiSelectOptions<T> {\n readonly valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n}\n\nexport const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown> = {\n valueContent: ``,\n};\n\nexport const TUI_SELECT_OPTIONS = new InjectionToken<TuiSelectOptions<unknown>>(\n `Default parameters for select component`,\n {\n factory: () => TUI_SELECT_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiSelectOptionsProvider: <T>(\n options: Partial<TuiSelectOptions<T>>,\n) => ValueProvider = <T>(options: Partial<TuiSelectOptions<T>>) => ({\n provide: TUI_SELECT_OPTIONS,\n useValue: {...TUI_SELECT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n Inject,\n Input,\n Optional,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n setNativeFocused,\n TuiActiveZoneDirective,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\nimport {\n TUI_TEXTFIELD_CLEANER,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeM,\n TuiSizeS,\n TuiTextfieldCleanerDirective,\n TuiValueContentContext,\n} from '@taiga-ui/core';\nimport {TUI_ARROW_MODE, TuiArrowMode} from '@taiga-ui/kit/components/arrow';\nimport {TUI_ITEMS_HANDLERS, TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_SELECT_PROVIDERS} from './select.providers';\nimport {TUI_SELECT_OPTIONS, TuiSelectOptions} from './select-options';\n\n@Component({\n selector: 'tui-select',\n templateUrl: './select.template.html',\n styleUrls: ['./select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_SELECT_PROVIDERS,\n})\nexport class TuiSelectComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @Input()\n @tuiDefaultProp()\n stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n @tuiDefaultProp()\n valueContent: TuiSelectOptions<T>['valueContent'] = this.options.valueContent;\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = '';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_CLEANER)\n private readonly textfieldCleaner: TuiTextfieldCleanerDirective,\n @Inject(TUI_ARROW_MODE)\n private readonly arrowMode: TuiArrowMode,\n @Inject(TUI_ITEMS_HANDLERS)\n private readonly itemsHandlers: TuiItemsHandlers<T>,\n @Inject(TUI_SELECT_OPTIONS)\n private readonly options: TuiSelectOptions<T>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get arrow(): PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeL | TuiSizeM | TuiSizeS>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): string {\n return this.value === null ? '' : this.stringify(this.value) || ' ';\n }\n\n get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.computedValue;\n }\n\n onValueChange(value: string): void {\n if (!value) {\n this.updateValue(null);\n }\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onKeyDownDelete(): void {\n if (this.textfieldCleaner.cleaner) {\n this.updateValue(null);\n }\n }\n\n handleOption(option: T): void {\n this.focusInput();\n this.updateValue(option);\n this.hostedDropdown?.updateOpen(false);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {Directive, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiSelectComponent} from './select.component';\n\n@Directive({\n selector: 'tui-select',\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiSelectDirective),\n },\n ],\n})\nexport class TuiSelectDirective extends TuiAbstractTextfieldHost<\n TuiSelectComponent<unknown>\n> {\n get readOnly(): boolean {\n return true;\n }\n\n get value(): string {\n return this.host.computedValue;\n }\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiSelectOptionModule} from '@taiga-ui/kit/components/select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSelectComponent} from './select.component';\nimport {TuiSelectDirective} from './select.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiPrimitiveTextfieldModule,\n TuiHostedDropdownModule,\n TuiSelectOptionModule,\n TuiArrowModule,\n ],\n declarations: [TuiSelectComponent, TuiSelectDirective],\n exports: [TuiSelectComponent, TuiSelectDirective, TuiTextfieldComponent],\n})\nexport class TuiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAQA;MACa,aAAa,GAAY,kBAAkB;MAE3C,oBAAoB,GAAG;IAChC;QACI,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,kBAAkB;QAC3B,QAAQ,EAAE,aAAa;KAC1B;IACD,kCAAkC;;;MCpBzB,0BAA0B,GAA8B;IACjE,YAAY,EA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,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAb3B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,kBAAkB;YAClB,mBAAmB;YACnB,2BAA2B;YAC3B,uBAAuB;YACvB,qBAAqB;YACrB,cAAc;SACjB;QACD,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;QACtD,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;KAC3E,CAAC;GACW,eAAe,CAAG;;AC5B/B;;;;;;"}
@@ -90,7 +90,7 @@ TuiSliderComponent.ctorParameters = () => [
90
90
  ];
91
91
  __decorate([
92
92
  Input(),
93
- HostBinding(`attr.data-size`),
93
+ HostBinding('attr.data-size'),
94
94
  tuiDefaultProp()
95
95
  ], TuiSliderComponent.prototype, "size", void 0);
96
96
  __decorate([
@@ -98,13 +98,13 @@ __decorate([
98
98
  tuiDefaultProp()
99
99
  ], TuiSliderComponent.prototype, "segments", void 0);
100
100
  __decorate([
101
- HostBinding(`style.--tui-slider-fill-percentage.%`)
101
+ HostBinding('style.--tui-slider-fill-percentage.%')
102
102
  ], TuiSliderComponent.prototype, "valuePercentage", null);
103
103
  __decorate([
104
- HostBinding(`style.--tui-slider-segment-width.%`)
104
+ HostBinding('style.--tui-slider-segment-width.%')
105
105
  ], TuiSliderComponent.prototype, "segmentWidth", null);
106
106
  __decorate([
107
- HostBinding(`class._old-edge`)
107
+ HostBinding('class._old-edge')
108
108
  ], TuiSliderComponent.prototype, "isOldEdge", null);
109
109
  __decorate([
110
110
  tuiPure
@@ -117,8 +117,8 @@ TuiSliderComponent = __decorate([
117
117
  * {@link https://github.com/angular/angular/blob/master/packages/forms/src/directives/range_value_accessor.ts#L45 RangeValueAccessor}
118
118
  * cannot be matched by its CSS selector.
119
119
  */
120
- selector: `input[type=range][tuiSlider]`,
121
- template: ``,
120
+ selector: 'input[type=range][tuiSlider]',
121
+ template: '',
122
122
  host: {
123
123
  /**
124
124
  * For change detection.
@@ -126,8 +126,8 @@ TuiSliderComponent = __decorate([
126
126
  * We draw filling of progress by `background: linear-gradient(...)` of the track.
127
127
  * This function triggers change detection (for {@link valuePercentage} function) when we drag thumb of the input.
128
128
  */
129
- '(input)': `0`,
130
- '[style.--tui-slider-track-color]': `options.trackColor`,
129
+ '(input)': '0',
130
+ '[style.--tui-slider-track-color]': 'options.trackColor',
131
131
  },
132
132
  changeDetection: ChangeDetectionStrategy.OnPush,
133
133
  styles: [":host{display:block;width:100%;color:var(--tui-primary);cursor:pointer}:host:active{cursor:ew-resize}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:auto}:host:not(._old-edge){-webkit-appearance:none;-moz-appearance:none;appearance:none;height:.125rem;padding:.4375rem 0;background-color:transparent;background-clip:content-box;outline:0;border-radius:var(--tui-radius-m)}:host:not(._old-edge)::-webkit-slider-container{border-radius:inherit}:host:not(._old-edge)[data-size='m']::-webkit-slider-runnable-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .625rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width)),linear-gradient(to right,currentColor var(--tui-slider-fill-percentage),transparent var(--tui-slider-fill-percentage));background-position-x:0,.375rem,0;background-size:calc(100% - 1rem),calc(100% - 1rem),auto}:host:not(._old-edge)[data-size='s']::-webkit-slider-runnable-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .375rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width)),linear-gradient(to right,currentColor var(--tui-slider-fill-percentage),transparent var(--tui-slider-fill-percentage));background-position-x:0,.125rem,0;background-size:calc(100% - .5rem),calc(100% - .5rem),auto}:host:not(._old-edge)[data-size='m']::-moz-range-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .625rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width));background-position-x:0,.375rem;background-size:calc(100% - 1rem)}:host:not(._old-edge)[data-size='s']::-moz-range-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .375rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width));background-position-x:0,.125rem;background-size:calc(100% - .5rem)}:host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:1rem;width:1rem;margin-top:-.4375rem}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:.5rem;width:.5rem;margin-top:-.1875rem}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='m']::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:1rem;width:1rem}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='m']::-moz-range-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='s']::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:.5rem;width:.5rem}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='s']::-moz-range-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)::-moz-range-progress{background:currentColor;border-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0}:host._old-edge::-ms-thumb{background:currentColor;border-radius:50%}:host._old-edge::-ms-fill-lower{background:currentColor}:host._old-edge::-ms-track{background:var(--tui-slider-track-color);border:none}"]
@@ -149,7 +149,7 @@ let TuiSliderKeyStepsDirective = class TuiSliderKeyStepsDirective extends Abstra
149
149
  this.elementRef = elementRef;
150
150
  this.slider = slider;
151
151
  this.keySteps = [];
152
- this.keyStepsInput = typedFromEvent(this.elementRef.nativeElement, `input`).pipe(map(() => this.controlValue));
152
+ this.keyStepsInput = typedFromEvent(this.elementRef.nativeElement, 'input').pipe(map(() => this.controlValue));
153
153
  }
154
154
  get nativeFocusableElement() {
155
155
  return this.computedDisabled ? null : this.elementRef.nativeElement;
@@ -184,7 +184,7 @@ let TuiSliderKeyStepsDirective = class TuiSliderKeyStepsDirective extends Abstra
184
184
  return;
185
185
  }
186
186
  const clampedControlValue = clamp(controlValue, this.min, this.max);
187
- tuiAssert.assert(controlValue === clampedControlValue, `\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max`);
187
+ tuiAssert.assert(controlValue === clampedControlValue, '\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max');
188
188
  this.slider.value = this.transformToNativeValue(clampedControlValue);
189
189
  }
190
190
  getFallbackValue() {
@@ -204,21 +204,21 @@ TuiSliderKeyStepsDirective.ctorParameters = () => [
204
204
  ];
205
205
  __decorate([
206
206
  Input(),
207
- tuiDefaultProp(tuiCheckKeyStepsHaveMinMaxPercents, `Should contain min and max values`)
207
+ tuiDefaultProp(tuiCheckKeyStepsHaveMinMaxPercents, 'Should contain min and max values')
208
208
  ], TuiSliderKeyStepsDirective.prototype, "keySteps", void 0);
209
209
  __decorate([
210
210
  Output()
211
211
  ], TuiSliderKeyStepsDirective.prototype, "keyStepsInput", void 0);
212
212
  __decorate([
213
- HostListener(`change`)
213
+ HostListener('change')
214
214
  ], TuiSliderKeyStepsDirective.prototype, "updateControlValue", null);
215
215
  TuiSliderKeyStepsDirective = __decorate([
216
216
  Directive({
217
- selector: `input[tuiSlider][keySteps]`,
217
+ selector: 'input[tuiSlider][keySteps]',
218
218
  host: {
219
- '[attr.aria-valuenow]': `safeCurrentValue`,
220
- '[attr.aria-valuemin]': `min`,
221
- '[attr.aria-valuemax]': `max`,
219
+ '[attr.aria-valuenow]': 'safeCurrentValue',
220
+ '[attr.aria-valuemin]': 'min',
221
+ '[attr.aria-valuemax]': 'max',
222
222
  },
223
223
  }),
224
224
  __param(0, Optional()),
@@ -240,18 +240,18 @@ let TuiSliderTickLabelPipe = class TuiSliderTickLabelPipe {
240
240
  }
241
241
  };
242
242
  TuiSliderTickLabelPipe = __decorate([
243
- Pipe({ name: `tuiSliderTickLabel` })
243
+ Pipe({ name: 'tuiSliderTickLabel' })
244
244
  ], TuiSliderTickLabelPipe);
245
245
 
246
246
  const SLIDER_INTERACTION_KEYS = new Set([
247
- `ArrowLeft`,
248
- `ArrowRight`,
249
- `ArrowUp`,
250
- `ArrowDown`,
251
- `Home`,
252
- `End`,
253
- `PageUp`,
254
- `PageDown`,
247
+ 'ArrowLeft',
248
+ 'ArrowRight',
249
+ 'ArrowUp',
250
+ 'ArrowDown',
251
+ 'Home',
252
+ 'End',
253
+ 'PageUp',
254
+ 'PageDown',
255
255
  ]);
256
256
  /**
257
257
  * Native <input type='range' readonly> doesn't work.
@@ -261,13 +261,13 @@ const SLIDER_INTERACTION_KEYS = new Set([
261
261
  let TuiSliderReadonlyDirective = class TuiSliderReadonlyDirective {
262
262
  constructor(elementRef, documentRef, destroy$) {
263
263
  this.readonly = true;
264
- const touchStart$ = typedFromEvent(elementRef.nativeElement, `touchstart`, {
264
+ const touchStart$ = typedFromEvent(elementRef.nativeElement, 'touchstart', {
265
265
  passive: false,
266
266
  });
267
- const touchMove$ = typedFromEvent(documentRef, `touchmove`, {
267
+ const touchMove$ = typedFromEvent(documentRef, 'touchmove', {
268
268
  passive: false,
269
269
  });
270
- const touchEnd$ = typedFromEvent(documentRef, `touchend`, {
270
+ const touchEnd$ = typedFromEvent(documentRef, 'touchend', {
271
271
  passive: true,
272
272
  });
273
273
  const shouldPreventMove$ = merge(touchStart$.pipe(tap(e => this.preventEvent(e)), mapTo(true)), touchEnd$.pipe(mapTo(false)));
@@ -300,14 +300,14 @@ __decorate([
300
300
  tuiDefaultProp()
301
301
  ], TuiSliderReadonlyDirective.prototype, "readonly", void 0);
302
302
  __decorate([
303
- HostListener(`mousedown`, [`$event`])
303
+ HostListener('mousedown', ['$event'])
304
304
  ], TuiSliderReadonlyDirective.prototype, "preventEvent", null);
305
305
  __decorate([
306
- HostListener(`keydown`, [`$event`])
306
+ HostListener('keydown', ['$event'])
307
307
  ], TuiSliderReadonlyDirective.prototype, "preventKeyboardInteraction", null);
308
308
  TuiSliderReadonlyDirective = __decorate([
309
309
  Directive({
310
- selector: `input[tuiSlider][readonly]`,
310
+ selector: 'input[tuiSlider][readonly]',
311
311
  providers: [TuiDestroyService],
312
312
  }),
313
313
  __param(0, Inject(ElementRef)),
@@ -318,7 +318,7 @@ TuiSliderReadonlyDirective = __decorate([
318
318
  let TuiSliderThumbLabelComponent = class TuiSliderThumbLabelComponent {
319
319
  get size() {
320
320
  var _a;
321
- return ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.size) || `m`;
321
+ return ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.size) || 'm';
322
322
  }
323
323
  get ratio() {
324
324
  var _a;
@@ -330,8 +330,8 @@ let TuiSliderThumbLabelComponent = class TuiSliderThumbLabelComponent {
330
330
  }
331
331
  ngAfterContentInit() {
332
332
  var _a;
333
- tuiAssert.assert(Boolean((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges), `\n[tuiSliderThumbLabel] expected <input tuiSlider type="range" /> to use Angular Forms.\n` +
334
- `Use [(ngModel)] or [formControl] or formControlName for correct work.`);
333
+ tuiAssert.assert(Boolean((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges), '\n[tuiSliderThumbLabel] expected <input tuiSlider type="range" /> to use Angular Forms.\n' +
334
+ 'Use [(ngModel)] or [formControl] or formControlName for correct work.');
335
335
  }
336
336
  };
337
337
  __decorate([
@@ -342,7 +342,7 @@ __decorate([
342
342
  ], TuiSliderThumbLabelComponent.prototype, "control", void 0);
343
343
  TuiSliderThumbLabelComponent = __decorate([
344
344
  Component({
345
- selector: `[tuiSliderThumbLabel]`,
345
+ selector: '[tuiSliderThumbLabel]',
346
346
  template: "<ng-container *ngIf=\"control?.valueChanges | async\"></ng-container>\n\n<div\n class=\"t-ghost\"\n [attr.data-size]=\"size\"\n [style.left.px]=\"ghostLeft\"\n [style.--tui-slider-thumb-ratio]=\"ratio\"\n>\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"input[type=range]\"></ng-content>\n",
347
347
  changeDetection: ChangeDetectionStrategy.OnPush,
348
348
  styles: [":host{position:relative}.t-ghost{position:absolute;top:0;bottom:0;margin:auto;border-radius:50%;pointer-events:none}.t-ghost[data-size='s']{width:.5rem;height:.5rem;transform:translateX(calc(var(--tui-slider-thumb-ratio) * -.5rem))}.t-ghost[data-size='m']{width:1rem;height:1rem;transform:translateX(calc(var(--tui-slider-thumb-ratio) * -1rem))}"]
@@ -398,7 +398,7 @@ TuiSliderOldComponent.ctorParameters = () => [
398
398
  ];
399
399
  TuiSliderOldComponent = TuiSliderOldComponent_1 = __decorate([
400
400
  Component({
401
- selector: `tui-slider`,
401
+ selector: 'tui-slider',
402
402
  template: "<div\n class=\"event-catcher\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (touchstart)=\"onTouchStart($event)\"\n>\n <div class=\"wrapper\">\n <div\n *ngIf=\"segmented\"\n class=\"segments\"\n >\n <span\n *tuiRepeatTimes=\"let segmentIndex of segments + 1\"\n automation-id=\"tui-slider__segment\"\n class=\"segment\"\n >\n <span\n *ngIf=\"fromToTexts$ | async as fromToText\"\n class=\"number\"\n >\n {{ getSegmentPrefix(segmentIndex, fromToText) }}\n {{ getSegmentLabel(segmentIndex) | tuiFormatNumber }}\n <span *ngIf=\"pluralizeMap\">\n {{ getSegmentLabel(segmentIndex) | i18nPlural: pluralizeMap }}\n </span>\n </span>\n </span>\n </div>\n <div\n automation-id=\"tui-slider__bar\"\n class=\"bar\"\n [style.left.%]=\"left\"\n [style.right.%]=\"right\"\n >\n <div\n #dotLeft\n automation-id=\"tui-slider__left\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleLeft && computedFocused\"\n [tuiFocusable]=\"isLeftFocusable\"\n (tuiFocusVisibleChange)=\"onLeftFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement()\"\n (keydown.arrowDown.prevent)=\"decrement()\"\n (keydown.arrowRight.prevent)=\"increment()\"\n (keydown.arrowUp.prevent)=\"increment()\"\n ></div>\n <div\n #dotRight\n automation-id=\"tui-slider__right\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleRight && computedFocused\"\n [tuiFocusable]=\"isRightFocusable\"\n (tuiFocusVisibleChange)=\"onRightFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement()\"\n (keydown.arrowDown.prevent)=\"decrement()\"\n (keydown.arrowRight.prevent)=\"increment()\"\n (keydown.arrowUp.prevent)=\"increment()\"\n ></div>\n </div>\n </div>\n</div>\n",
403
403
  changeDetection: ChangeDetectionStrategy.OnPush,
404
404
  providers: [
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-slider.js","sources":["ng://@taiga-ui/kit/components/slider/slider-options.ts","ng://@taiga-ui/kit/components/slider/slider.component.ts","ng://@taiga-ui/kit/components/slider/helpers/slider-key-steps.directive.ts","ng://@taiga-ui/kit/components/slider/helpers/slider-readonly.directive.ts","ng://@taiga-ui/kit/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.ts","ng://@taiga-ui/kit/components/slider/slider-old.component.ts","ng://@taiga-ui/kit/components/slider/slider.module.ts","ng://@taiga-ui/kit/components/slider/taiga-ui-kit-components-slider.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nexport interface TuiSliderOptions {\n readonly size: TuiSizeS;\n readonly trackColor: string;\n}\n\nexport const TUI_SLIDER_DEFAULT_OPTIONS: TuiSliderOptions = {\n size: `m`,\n trackColor: `var(--tui-base-03)`,\n};\n\nexport const TUI_SLIDER_OPTIONS = new InjectionToken<TuiSliderOptions>(\n `Default parameters for Slider component`,\n {factory: () => TUI_SLIDER_DEFAULT_OPTIONS},\n);\n\nexport function tuiSliderOptionsProvider(\n options: Partial<TuiSliderOptions>,\n): ValueProvider {\n return {\n provide: TUI_SLIDER_OPTIONS,\n useValue: {...TUI_SLIDER_DEFAULT_OPTIONS, ...options},\n };\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Injector,\n Input,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl, NgModel} from '@angular/forms';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {\n CHROMIUM_EDGE_START_VERSION,\n isEdgeOlderThan,\n tuiDefaultProp,\n tuiPure,\n watch,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\nimport {take} from 'rxjs/operators';\n\nimport {TuiSliderKeyStepsDirective} from './helpers/slider-key-steps.directive';\nimport {TUI_SLIDER_OPTIONS, TuiSliderOptions} from './slider-options';\n\n@Component({\n /**\n * We have to call our component as `<input tuiSlider type=\"range\" ... />`\n * because otherwise built-in angular\n * {@link https://github.com/angular/angular/blob/master/packages/forms/src/directives/range_value_accessor.ts#L45 RangeValueAccessor}\n * cannot be matched by its CSS selector.\n */\n selector: `input[type=range][tuiSlider]`,\n template: ``,\n styleUrls: [`./slider.style.less`],\n host: {\n /**\n * For change detection.\n * Webkit does not have built-in method for customization of filling progress (as Firefox).\n * We draw filling of progress by `background: linear-gradient(...)` of the track.\n * This function triggers change detection (for {@link valuePercentage} function) when we drag thumb of the input.\n */\n '(input)': `0`,\n '[style.--tui-slider-track-color]': `options.trackColor`,\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSliderComponent {\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeS = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n segments = 1;\n\n get min(): number {\n return Number(this.elementRef.nativeElement.min);\n }\n\n get max(): number {\n return Number(this.elementRef.nativeElement.max || 100);\n }\n\n get step(): number {\n return Number(this.elementRef.nativeElement.step) || 1;\n }\n\n get value(): number {\n const {elementRef, control, hasKeySteps} = this;\n\n if (!hasKeySteps && control instanceof NgModel) {\n /**\n * If developer uses `[(ngModel)]` and programmatically change value,\n * the `elementRef.nativeElement.value` is equal to the previous value at this moment.\n */\n return control.viewModel;\n }\n\n return Number(elementRef.nativeElement.value) || 0;\n }\n\n set value(newValue: number) {\n this.elementRef.nativeElement.value = `${newValue}`;\n }\n\n @HostBinding(`style.--tui-slider-fill-percentage.%`)\n get valuePercentage(): number {\n return (100 * (this.value - this.min)) / (this.max - this.min) || 0;\n }\n\n @HostBinding(`style.--tui-slider-segment-width.%`)\n get segmentWidth(): number {\n return 100 / Math.max(1, this.segments);\n }\n\n @HostBinding(`class._old-edge`)\n get isOldEdge(): boolean {\n return isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent);\n }\n\n @tuiPure\n get hasKeySteps(): boolean {\n return Boolean(this.injector.get(TuiSliderKeyStepsDirective, null));\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n private readonly control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_SLIDER_OPTIONS) readonly options: TuiSliderOptions,\n @Inject(ElementRef) readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(USER_AGENT) private readonly userAgent: string,\n @Inject(Injector) private readonly injector: Injector,\n ) {\n if (control instanceof NgModel) {\n /**\n * The ValueAccessor.writeValue method is called twice on any value accessor during component initialization,\n * when a control is bound using [(ngModel)], first time with a phantom null value.\n * With `changeDetection: ChangeDetectionStrategy.OnPush` the second call of writeValue with real value don't re-render the view.\n * ___\n * See this {@link https://github.com/angular/angular/issues/14988 issue}\n */\n control.valueChanges?.pipe(watch(changeDetectorRef), take(1)).subscribe();\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Output,\n Pipe,\n PipeTransform,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n clamp,\n isNativeFocused,\n tuiAssert,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {\n tuiCheckKeyStepsHaveMinMaxPercents,\n tuiKeyStepValueToPercentage,\n tuiPercentageToKeyStepValue,\n} from '@taiga-ui/kit/utils';\nimport {map} from 'rxjs/operators';\n\nimport {TuiSliderComponent} from '../slider.component';\n\n// @dynamic\n@Directive({\n selector: `input[tuiSlider][keySteps]`,\n host: {\n '[attr.aria-valuenow]': `safeCurrentValue`,\n '[attr.aria-valuemin]': `min`,\n '[attr.aria-valuemax]': `max`,\n },\n})\nexport class TuiSliderKeyStepsDirective\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp(\n tuiCheckKeyStepsHaveMinMaxPercents,\n `Should contain min and max values`,\n )\n keySteps: TuiKeySteps = [];\n\n @Output()\n keyStepsInput = typedFromEvent(this.elementRef.nativeElement, `input`).pipe(\n map(() => this.controlValue),\n );\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled ? null : this.elementRef.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get min(): number {\n return this.keySteps[0]?.[1] || 0;\n }\n\n get max(): number {\n return this.keySteps[this.keySteps.length - 1]?.[1] || 100;\n }\n\n get controlValue(): number {\n return tuiPercentageToKeyStepValue(this.slider.valuePercentage, this.keySteps);\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(forwardRef(() => TuiSliderComponent))\n private readonly slider: TuiSliderComponent,\n ) {\n super(control, changeDetectorRef);\n }\n\n /**\n * TODO: 3.0\n * ___\n * Also add @HostListener(`input`): to be similar to\n * {@link https://github.com/angular/angular/blob/main/packages/forms/src/directives/range_value_accessor.ts#L47-L48 RangeValueAccessor}\n * ___\n * Remove {@link keyStepsInput}\n */\n @HostListener(`change`)\n updateControlValue(): void {\n this.updateValue(this.controlValue);\n }\n\n writeValue(controlValue: number | null): void {\n if (controlValue === null) {\n return;\n }\n\n const clampedControlValue = clamp(controlValue, this.min, this.max);\n\n tuiAssert.assert(\n controlValue === clampedControlValue,\n `\\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max`,\n );\n\n this.slider.value = this.transformToNativeValue(clampedControlValue);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n private transformToNativeValue(controlValue: number): number {\n const {min, max} = this.slider;\n const newValuePercentage = tuiKeyStepValueToPercentage(\n controlValue,\n this.keySteps,\n );\n\n return (newValuePercentage * (max - min)) / 100 + min;\n }\n}\n\n/**\n * @deprecated DONT USE IT! It is just temporary solution for internal purposes only. We will delete it in next major release.\n * TODO delete it in v3.0\n *\n */\n@Pipe({name: `tuiSliderTickLabel`})\nexport class TuiSliderTickLabelPipe implements PipeTransform {\n transform(tickIndex: number, totalSegments: number, keySteps: TuiKeySteps): number {\n const percentage = (100 / totalSegments) * tickIndex;\n\n return tuiPercentageToKeyStepValue(percentage, keySteps);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, HostListener, Inject, Input} from '@angular/core';\nimport {\n tuiCoerceBooleanProperty,\n tuiDefaultProp,\n TuiDestroyService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {combineLatest, merge, Observable} from 'rxjs';\nimport {filter, mapTo, takeUntil, tap} from 'rxjs/operators';\n\nconst SLIDER_INTERACTION_KEYS = new Set([\n `ArrowLeft`,\n `ArrowRight`,\n `ArrowUp`,\n `ArrowDown`,\n `Home`,\n `End`,\n `PageUp`,\n `PageDown`,\n]);\n\n/**\n * Native <input type='range' readonly> doesn't work.\n * This directive imitates this native behaviour.\n */\n// @dynamic\n@Directive({\n selector: `input[tuiSlider][readonly]`,\n providers: [TuiDestroyService],\n})\nexport class TuiSliderReadonlyDirective {\n @Input()\n @tuiDefaultProp()\n readonly: string | boolean = true;\n\n constructor(\n @Inject(ElementRef) elementRef: ElementRef<HTMLInputElement>,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TuiDestroyService)\n destroy$: Observable<unknown>,\n ) {\n const touchStart$ = typedFromEvent(elementRef.nativeElement, `touchstart`, {\n passive: false,\n });\n const touchMove$ = typedFromEvent(documentRef, `touchmove`, {\n passive: false,\n });\n const touchEnd$ = typedFromEvent(documentRef, `touchend`, {\n passive: true,\n });\n\n const shouldPreventMove$ = merge(\n touchStart$.pipe(\n tap(e => this.preventEvent(e)),\n mapTo(true),\n ),\n touchEnd$.pipe(mapTo(false)),\n );\n\n /**\n * @bad TODO think about another solution.\n * Keep in mind that preventing touch event (on slider) inside `@HostListener('touchstart')` doesn't work for mobile chrome.\n */\n combineLatest([touchMove$, shouldPreventMove$])\n .pipe(\n filter(([_, shouldPreventMove]) => shouldPreventMove),\n takeUntil(destroy$),\n )\n .subscribe(([moveEvent]) => this.preventEvent(moveEvent));\n }\n\n @HostListener(`mousedown`, [`$event`])\n preventEvent(event: Event): void {\n if (event.cancelable && tuiCoerceBooleanProperty(this.readonly)) {\n event.preventDefault();\n }\n }\n\n @HostListener(`keydown`, [`$event`])\n preventKeyboardInteraction(event: KeyboardEvent): void {\n if (SLIDER_INTERACTION_KEYS.has(event.key)) {\n this.preventEvent(event);\n }\n }\n}\n","import {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {tuiAssert} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nimport {TuiSliderComponent} from '../../slider.component';\n\n@Component({\n selector: `[tuiSliderThumbLabel]`,\n templateUrl: `./slider-thumb-label.template.html`,\n styleUrls: [`./slider-thumb-label.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSliderThumbLabelComponent implements AfterContentInit {\n @ContentChild(TuiSliderComponent)\n readonly slider?: TuiSliderComponent;\n\n @ContentChild(NgControl)\n readonly control?: NgControl;\n\n get size(): TuiSizeS {\n return this.slider?.size || `m`;\n }\n\n get ratio(): number {\n return (this.slider?.valuePercentage || 0) / 100;\n }\n\n get ghostLeft(): number {\n return this.ratio * (this.slider?.elementRef.nativeElement.offsetWidth || 0);\n }\n\n ngAfterContentInit(): void {\n tuiAssert.assert(\n Boolean(this.control?.valueChanges),\n `\\n[tuiSliderThumbLabel] expected <input tuiSlider type=\"range\" /> to use Angular Forms.\\n` +\n `Use [(ngModel)] or [formControl] or formControlName for correct work.`,\n );\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider} from '@taiga-ui/kit/abstract';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n/**\n * @deprecated use {@link TuiSliderComponent} instead\n * TODO: 3.0 remove\n */\n// @dynamic\n@Component({\n selector: `tui-slider`,\n templateUrl: `../../abstract/slider/slider.common.template.html`,\n styleUrls: [\n `../../abstract/slider/slider.common.style.less`,\n `./slider-old.style.less`,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSliderOldComponent),\n },\n ],\n})\nexport class TuiSliderOldComponent\n extends AbstractTuiSlider<number>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.dotRight ? this.dotRight.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get left(): number {\n return 0;\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value);\n }\n\n processValue(value: number): void {\n this.updateValue(this.valueGuard(value));\n }\n\n decrement(): void {\n this.processStep(false);\n }\n\n increment(): void {\n this.processStep(true);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n protected processStep(increment: boolean): void {\n const fraction = this.getFractionFromValue(this.value);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\n\nimport {\n TuiSliderKeyStepsDirective,\n TuiSliderTickLabelPipe,\n} from './helpers/slider-key-steps.directive';\nimport {TuiSliderReadonlyDirective} from './helpers/slider-readonly.directive';\nimport {TuiSliderThumbLabelComponent} from './helpers/slider-thumb-label/slider-thumb-label.component';\nimport {TuiSliderComponent} from './slider.component';\nimport {TuiSliderOldComponent} from './slider-old.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiActiveZoneModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [\n TuiSliderComponent,\n TuiSliderThumbLabelComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n exports: [\n TuiSliderComponent,\n TuiSliderThumbLabelComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n})\nexport class TuiSliderModule {}\n","/**\n * Generated bund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;YAClB,4BAA4B;YAC5B,0BAA0B;YAC1B,0BAA0B;YAC1B,sBAAsB;YACtB,qBAAqB;SACxB;QACD,OAAO,EAAE;YACL,kBAAkB;YAClB,4BAA4B;YAC5B,0BAA0B;YAC1B,0BAA0B;YAC1B,sBAAsB;YACtB,qBAAqB;SACxB;KACJ,CAAC;GACW,eAAe,CAAG;;AC7C/B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-slider.js","sources":["ng://@taiga-ui/kit/components/slider/slider-options.ts","ng://@taiga-ui/kit/components/slider/slider.component.ts","ng://@taiga-ui/kit/components/slider/helpers/slider-key-steps.directive.ts","ng://@taiga-ui/kit/components/slider/helpers/slider-readonly.directive.ts","ng://@taiga-ui/kit/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.ts","ng://@taiga-ui/kit/components/slider/slider-old.component.ts","ng://@taiga-ui/kit/components/slider/slider.module.ts","ng://@taiga-ui/kit/components/slider/taiga-ui-kit-components-slider.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nexport interface TuiSliderOptions {\n readonly size: TuiSizeS;\n readonly trackColor: string;\n}\n\nexport const TUI_SLIDER_DEFAULT_OPTIONS: TuiSliderOptions = {\n size: `m`,\n trackColor: `var(--tui-base-03)`,\n};\n\nexport const TUI_SLIDER_OPTIONS = new InjectionToken<TuiSliderOptions>(\n `Default parameters for Slider component`,\n {factory: () => TUI_SLIDER_DEFAULT_OPTIONS},\n);\n\nexport function tuiSliderOptionsProvider(\n options: Partial<TuiSliderOptions>,\n): ValueProvider {\n return {\n provide: TUI_SLIDER_OPTIONS,\n useValue: {...TUI_SLIDER_DEFAULT_OPTIONS, ...options},\n };\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Injector,\n Input,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl, NgModel} from '@angular/forms';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {\n CHROMIUM_EDGE_START_VERSION,\n isEdgeOlderThan,\n tuiDefaultProp,\n tuiPure,\n watch,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\nimport {take} from 'rxjs/operators';\n\nimport {TuiSliderKeyStepsDirective} from './helpers/slider-key-steps.directive';\nimport {TUI_SLIDER_OPTIONS, TuiSliderOptions} from './slider-options';\n\n@Component({\n /**\n * We have to call our component as `<input tuiSlider type=\"range\" ... />`\n * because otherwise built-in angular\n * {@link https://github.com/angular/angular/blob/master/packages/forms/src/directives/range_value_accessor.ts#L45 RangeValueAccessor}\n * cannot be matched by its CSS selector.\n */\n selector: 'input[type=range][tuiSlider]',\n template: '',\n styleUrls: ['./slider.style.less'],\n host: {\n /**\n * For change detection.\n * Webkit does not have built-in method for customization of filling progress (as Firefox).\n * We draw filling of progress by `background: linear-gradient(...)` of the track.\n * This function triggers change detection (for {@link valuePercentage} function) when we drag thumb of the input.\n */\n '(input)': '0',\n '[style.--tui-slider-track-color]': 'options.trackColor',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSliderComponent {\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeS = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n segments = 1;\n\n get min(): number {\n return Number(this.elementRef.nativeElement.min);\n }\n\n get max(): number {\n return Number(this.elementRef.nativeElement.max || 100);\n }\n\n get step(): number {\n return Number(this.elementRef.nativeElement.step) || 1;\n }\n\n get value(): number {\n const {elementRef, control, hasKeySteps} = this;\n\n if (!hasKeySteps && control instanceof NgModel) {\n /**\n * If developer uses `[(ngModel)]` and programmatically change value,\n * the `elementRef.nativeElement.value` is equal to the previous value at this moment.\n */\n return control.viewModel;\n }\n\n return Number(elementRef.nativeElement.value) || 0;\n }\n\n set value(newValue: number) {\n this.elementRef.nativeElement.value = `${newValue}`;\n }\n\n @HostBinding('style.--tui-slider-fill-percentage.%')\n get valuePercentage(): number {\n return (100 * (this.value - this.min)) / (this.max - this.min) || 0;\n }\n\n @HostBinding('style.--tui-slider-segment-width.%')\n get segmentWidth(): number {\n return 100 / Math.max(1, this.segments);\n }\n\n @HostBinding('class._old-edge')\n get isOldEdge(): boolean {\n return isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent);\n }\n\n @tuiPure\n get hasKeySteps(): boolean {\n return Boolean(this.injector.get(TuiSliderKeyStepsDirective, null));\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n private readonly control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_SLIDER_OPTIONS) readonly options: TuiSliderOptions,\n @Inject(ElementRef) readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(USER_AGENT) private readonly userAgent: string,\n @Inject(Injector) private readonly injector: Injector,\n ) {\n if (control instanceof NgModel) {\n /**\n * The ValueAccessor.writeValue method is called twice on any value accessor during component initialization,\n * when a control is bound using [(ngModel)], first time with a phantom null value.\n * With `changeDetection: ChangeDetectionStrategy.OnPush` the second call of writeValue with real value don't re-render the view.\n * ___\n * See this {@link https://github.com/angular/angular/issues/14988 issue}\n */\n control.valueChanges?.pipe(watch(changeDetectorRef), take(1)).subscribe();\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Output,\n Pipe,\n PipeTransform,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n clamp,\n isNativeFocused,\n tuiAssert,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {\n tuiCheckKeyStepsHaveMinMaxPercents,\n tuiKeyStepValueToPercentage,\n tuiPercentageToKeyStepValue,\n} from '@taiga-ui/kit/utils';\nimport {map} from 'rxjs/operators';\n\nimport {TuiSliderComponent} from '../slider.component';\n\n// @dynamic\n@Directive({\n selector: 'input[tuiSlider][keySteps]',\n host: {\n '[attr.aria-valuenow]': 'safeCurrentValue',\n '[attr.aria-valuemin]': 'min',\n '[attr.aria-valuemax]': 'max',\n },\n})\nexport class TuiSliderKeyStepsDirective\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp(\n tuiCheckKeyStepsHaveMinMaxPercents,\n 'Should contain min and max values',\n )\n keySteps: TuiKeySteps = [];\n\n @Output()\n keyStepsInput = typedFromEvent(this.elementRef.nativeElement, 'input').pipe(\n map(() => this.controlValue),\n );\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled ? null : this.elementRef.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get min(): number {\n return this.keySteps[0]?.[1] || 0;\n }\n\n get max(): number {\n return this.keySteps[this.keySteps.length - 1]?.[1] || 100;\n }\n\n get controlValue(): number {\n return tuiPercentageToKeyStepValue(this.slider.valuePercentage, this.keySteps);\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(forwardRef(() => TuiSliderComponent))\n private readonly slider: TuiSliderComponent,\n ) {\n super(control, changeDetectorRef);\n }\n\n /**\n * TODO: 3.0\n * ___\n * Also add @HostListener(`input`): to be similar to\n * {@link https://github.com/angular/angular/blob/main/packages/forms/src/directives/range_value_accessor.ts#L47-L48 RangeValueAccessor}\n * ___\n * Remove {@link keyStepsInput}\n */\n @HostListener('change')\n updateControlValue(): void {\n this.updateValue(this.controlValue);\n }\n\n writeValue(controlValue: number | null): void {\n if (controlValue === null) {\n return;\n }\n\n const clampedControlValue = clamp(controlValue, this.min, this.max);\n\n tuiAssert.assert(\n controlValue === clampedControlValue,\n '\\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max',\n );\n\n this.slider.value = this.transformToNativeValue(clampedControlValue);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n private transformToNativeValue(controlValue: number): number {\n const {min, max} = this.slider;\n const newValuePercentage = tuiKeyStepValueToPercentage(\n controlValue,\n this.keySteps,\n );\n\n return (newValuePercentage * (max - min)) / 100 + min;\n }\n}\n\n/**\n * @deprecated DONT USE IT! It is just temporary solution for internal purposes only. We will delete it in next major release.\n * TODO delete it in v3.0\n *\n */\n@Pipe({name: 'tuiSliderTickLabel'})\nexport class TuiSliderTickLabelPipe implements PipeTransform {\n transform(tickIndex: number, totalSegments: number, keySteps: TuiKeySteps): number {\n const percentage = (100 / totalSegments) * tickIndex;\n\n return tuiPercentageToKeyStepValue(percentage, keySteps);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, HostListener, Inject, Input} from '@angular/core';\nimport {\n tuiCoerceBooleanProperty,\n tuiDefaultProp,\n TuiDestroyService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {combineLatest, merge, Observable} from 'rxjs';\nimport {filter, mapTo, takeUntil, tap} from 'rxjs/operators';\n\nconst SLIDER_INTERACTION_KEYS = new Set([\n 'ArrowLeft',\n 'ArrowRight',\n 'ArrowUp',\n 'ArrowDown',\n 'Home',\n 'End',\n 'PageUp',\n 'PageDown',\n]);\n\n/**\n * Native <input type='range' readonly> doesn't work.\n * This directive imitates this native behaviour.\n */\n// @dynamic\n@Directive({\n selector: 'input[tuiSlider][readonly]',\n providers: [TuiDestroyService],\n})\nexport class TuiSliderReadonlyDirective {\n @Input()\n @tuiDefaultProp()\n readonly: boolean | string = true;\n\n constructor(\n @Inject(ElementRef) elementRef: ElementRef<HTMLInputElement>,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TuiDestroyService)\n destroy$: Observable<unknown>,\n ) {\n const touchStart$ = typedFromEvent(elementRef.nativeElement, 'touchstart', {\n passive: false,\n });\n const touchMove$ = typedFromEvent(documentRef, 'touchmove', {\n passive: false,\n });\n const touchEnd$ = typedFromEvent(documentRef, 'touchend', {\n passive: true,\n });\n\n const shouldPreventMove$ = merge(\n touchStart$.pipe(\n tap(e => this.preventEvent(e)),\n mapTo(true),\n ),\n touchEnd$.pipe(mapTo(false)),\n );\n\n /**\n * @bad TODO think about another solution.\n * Keep in mind that preventing touch event (on slider) inside `@HostListener('touchstart')` doesn't work for mobile chrome.\n */\n combineLatest([touchMove$, shouldPreventMove$])\n .pipe(\n filter(([_, shouldPreventMove]) => shouldPreventMove),\n takeUntil(destroy$),\n )\n .subscribe(([moveEvent]) => this.preventEvent(moveEvent));\n }\n\n @HostListener('mousedown', ['$event'])\n preventEvent(event: Event): void {\n if (event.cancelable && tuiCoerceBooleanProperty(this.readonly)) {\n event.preventDefault();\n }\n }\n\n @HostListener('keydown', ['$event'])\n preventKeyboardInteraction(event: KeyboardEvent): void {\n if (SLIDER_INTERACTION_KEYS.has(event.key)) {\n this.preventEvent(event);\n }\n }\n}\n","import {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {tuiAssert} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nimport {TuiSliderComponent} from '../../slider.component';\n\n@Component({\n selector: '[tuiSliderThumbLabel]',\n templateUrl: './slider-thumb-label.template.html',\n styleUrls: ['./slider-thumb-label.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSliderThumbLabelComponent implements AfterContentInit {\n @ContentChild(TuiSliderComponent)\n readonly slider?: TuiSliderComponent;\n\n @ContentChild(NgControl)\n readonly control?: NgControl;\n\n get size(): TuiSizeS {\n return this.slider?.size || 'm';\n }\n\n get ratio(): number {\n return (this.slider?.valuePercentage || 0) / 100;\n }\n\n get ghostLeft(): number {\n return this.ratio * (this.slider?.elementRef.nativeElement.offsetWidth || 0);\n }\n\n ngAfterContentInit(): void {\n tuiAssert.assert(\n Boolean(this.control?.valueChanges),\n '\\n[tuiSliderThumbLabel] expected <input tuiSlider type=\"range\" /> to use Angular Forms.\\n' +\n 'Use [(ngModel)] or [formControl] or formControlName for correct work.',\n );\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider} from '@taiga-ui/kit/abstract';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n/**\n * @deprecated use {@link TuiSliderComponent} instead\n * TODO: 3.0 remove\n */\n// @dynamic\n@Component({\n selector: 'tui-slider',\n templateUrl: '../../abstract/slider/slider.common.template.html',\n styleUrls: [\n '../../abstract/slider/slider.common.style.less',\n './slider-old.style.less',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSliderOldComponent),\n },\n ],\n})\nexport class TuiSliderOldComponent\n extends AbstractTuiSlider<number>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.dotRight ? this.dotRight.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get left(): number {\n return 0;\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value);\n }\n\n processValue(value: number): void {\n this.updateValue(this.valueGuard(value));\n }\n\n decrement(): void {\n this.processStep(false);\n }\n\n increment(): void {\n this.processStep(true);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n protected processStep(increment: boolean): void {\n const fraction = this.getFractionFromValue(this.value);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\n\nimport {\n TuiSliderKeyStepsDirective,\n TuiSliderTickLabelPipe,\n} from './helpers/slider-key-steps.directive';\nimport {TuiSliderReadonlyDirective} from './helpers/slider-readonly.directive';\nimport {TuiSliderThumbLabelComponent} from './helpers/slider-thumb-label/slider-thumb-label.component';\nimport {TuiSliderComponent} from './slider.component';\nimport {TuiSliderOldComponent} from './slider-old.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiActiveZoneModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [\n TuiSliderComponent,\n TuiSliderThumbLabelComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n exports: [\n TuiSliderComponent,\n TuiSliderThumbLabelComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n})\nexport class TuiSliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAQa,0BAA0B,GAAqB;IACxD,IAAI,E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AAE;YACL,kBAAkB;YAClB,4BAA4B;YAC5B,0BAA0B;YAC1B,0BAA0B;YAC1B,sBAAsB;YACtB,qBAAqB;SACxB;KACJ,CAAC;GACW,eAAe,CAAG;;AC7C/B;;;;;;"}
@@ -7,19 +7,23 @@ import { delay, filter } from 'rxjs/operators';
7
7
  import { CommonModule } from '@angular/common';
8
8
 
9
9
  const ONLY_HORIZONTAL_SCROLL = {
10
- block: `nearest`,
11
- inline: `center`,
10
+ block: 'nearest',
11
+ inline: 'center',
12
12
  };
13
13
  const ONLY_VERTICAL_SCROLL = {
14
- block: `center`,
15
- inline: `nearest`,
14
+ block: 'center',
15
+ inline: 'nearest',
16
16
  };
17
17
  let TuiStepperComponent = class TuiStepperComponent {
18
18
  constructor() {
19
19
  this.steps = EMPTY_QUERY;
20
- this.orientation = `horizontal`;
21
- this.activeItemIndex = 0;
20
+ this.orientation = 'horizontal';
22
21
  this.activeItemIndexChange = new EventEmitter();
22
+ this.activeItemIndex = 0;
23
+ }
24
+ set activeIndex(index) {
25
+ this.activeItemIndex = index;
26
+ this.scrollIntoView(index);
23
27
  }
24
28
  get changes$() {
25
29
  // Delay is required to trigger change detection after steps are rendered
@@ -27,14 +31,14 @@ let TuiStepperComponent = class TuiStepperComponent {
27
31
  return itemsQueryListObservable(this.steps).pipe(delay(0));
28
32
  }
29
33
  onHorizontal(event, step) {
30
- if (this.orientation !== `horizontal` || !event.target) {
34
+ if (this.orientation !== 'horizontal' || !event.target) {
31
35
  return;
32
36
  }
33
37
  event.preventDefault();
34
38
  this.moveFocus(event.target, step);
35
39
  }
36
40
  onVertical(event, step) {
37
- if (this.orientation !== `vertical` || !event.target) {
41
+ if (this.orientation !== 'vertical' || !event.target) {
38
42
  return;
39
43
  }
40
44
  event.preventDefault();
@@ -63,7 +67,8 @@ let TuiStepperComponent = class TuiStepperComponent {
63
67
  moveFocus(stepElements.indexOf(current), stepElements, step);
64
68
  }
65
69
  scrollIntoView(targetStepIndex) {
66
- this.getNativeElements(this.steps)[targetStepIndex].scrollIntoView(this.orientation === `vertical`
70
+ var _a;
71
+ (_a = this.getNativeElements(this.steps)[targetStepIndex]) === null || _a === void 0 ? void 0 : _a.scrollIntoView(this.orientation === 'vertical'
67
72
  ? ONLY_VERTICAL_SCROLL
68
73
  : ONLY_HORIZONTAL_SCROLL);
69
74
  }
@@ -73,13 +78,12 @@ __decorate([
73
78
  ], TuiStepperComponent.prototype, "steps", void 0);
74
79
  __decorate([
75
80
  Input(),
76
- HostBinding(`attr.data-orientation`),
81
+ HostBinding('attr.data-orientation'),
77
82
  tuiDefaultProp()
78
83
  ], TuiStepperComponent.prototype, "orientation", void 0);
79
84
  __decorate([
80
- Input(),
81
- tuiDefaultProp()
82
- ], TuiStepperComponent.prototype, "activeItemIndex", void 0);
85
+ Input('activeItemIndex')
86
+ ], TuiStepperComponent.prototype, "activeIndex", null);
83
87
  __decorate([
84
88
  Output()
85
89
  ], TuiStepperComponent.prototype, "activeItemIndexChange", void 0);
@@ -87,19 +91,19 @@ __decorate([
87
91
  tuiPure
88
92
  ], TuiStepperComponent.prototype, "changes$", null);
89
93
  __decorate([
90
- HostListener(`keydown.arrowRight`, [`$event`, `1`]),
91
- HostListener(`keydown.arrowLeft`, [`$event`, `-1`])
94
+ HostListener('keydown.arrowRight', ['$event', '1']),
95
+ HostListener('keydown.arrowLeft', ['$event', '-1'])
92
96
  ], TuiStepperComponent.prototype, "onHorizontal", null);
93
97
  __decorate([
94
- HostListener(`keydown.arrowDown`, [`$event`, `1`]),
95
- HostListener(`keydown.arrowUp`, [`$event`, `-1`])
98
+ HostListener('keydown.arrowDown', ['$event', '1']),
99
+ HostListener('keydown.arrowUp', ['$event', '-1'])
96
100
  ], TuiStepperComponent.prototype, "onVertical", null);
97
101
  __decorate([
98
102
  tuiPure
99
103
  ], TuiStepperComponent.prototype, "getNativeElements", null);
100
104
  TuiStepperComponent = __decorate([
101
105
  Component({
102
- selector: `tui-stepper, nav[tuiStepper]`,
106
+ selector: 'tui-stepper, nav[tuiStepper]',
103
107
  template: "<ng-container *ngIf=\"changes$ | async\"></ng-container>\n<ng-content></ng-content>\n",
104
108
  changeDetection: ChangeDetectionStrategy.OnPush,
105
109
  styles: [":host{scrollbar-width:none;-ms-overflow-style:none;display:flex;overflow:auto;counter-reset:steps;scroll-behavior:smooth}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}:host[data-orientation=vertical]{flex-direction:column}"]
@@ -110,8 +114,8 @@ let TuiStepComponent = class TuiStepComponent {
110
114
  constructor(focusVisible$, routerLinkActive$, stepper, elementRef) {
111
115
  this.stepper = stepper;
112
116
  this.elementRef = elementRef;
113
- this.state = `normal`;
114
- this.icon = ``;
117
+ this.state = 'normal';
118
+ this.icon = '';
115
119
  this.focusVisible = false;
116
120
  routerLinkActive$.pipe(filter(identity)).subscribe(() => {
117
121
  this.activate();
@@ -124,7 +128,7 @@ let TuiStepComponent = class TuiStepComponent {
124
128
  return this.stepper.isActive(this.index);
125
129
  }
126
130
  get isVertical() {
127
- return this.stepper.orientation === `vertical`;
131
+ return this.stepper.orientation === 'vertical';
128
132
  }
129
133
  get tabIndex() {
130
134
  return this.isActive ? 0 : -1;
@@ -144,7 +148,7 @@ TuiStepComponent.ctorParameters = () => [
144
148
  ];
145
149
  __decorate([
146
150
  Input(),
147
- HostBinding(`attr.data-state`),
151
+ HostBinding('attr.data-state'),
148
152
  tuiDefaultProp()
149
153
  ], TuiStepComponent.prototype, "state", void 0);
150
154
  __decorate([
@@ -152,28 +156,28 @@ __decorate([
152
156
  tuiDefaultProp()
153
157
  ], TuiStepComponent.prototype, "icon", void 0);
154
158
  __decorate([
155
- HostBinding(`class._focus-visible`)
159
+ HostBinding('class._focus-visible')
156
160
  ], TuiStepComponent.prototype, "focusVisible", void 0);
157
161
  __decorate([
158
- HostBinding(`class._active`)
162
+ HostBinding('class._active')
159
163
  ], TuiStepComponent.prototype, "isActive", null);
160
164
  __decorate([
161
- HostBinding(`class._vertical`)
165
+ HostBinding('class._vertical')
162
166
  ], TuiStepComponent.prototype, "isVertical", null);
163
167
  __decorate([
164
- HostBinding(`tabIndex`)
168
+ HostBinding('tabIndex')
165
169
  ], TuiStepComponent.prototype, "tabIndex", null);
166
170
  __decorate([
167
- HostListener(`click`)
171
+ HostListener('click')
168
172
  ], TuiStepComponent.prototype, "activate", null);
169
173
  TuiStepComponent = __decorate([
170
174
  Component({
171
- selector: `button[tuiStep], a[tuiStep]:not([routerLink]), a[tuiStep][routerLink][routerLinkActive]`,
175
+ selector: 'button[tuiStep], a[tuiStep]:not([routerLink]), a[tuiStep][routerLink][routerLinkActive]',
172
176
  template: "<tui-svg\n *ngIf=\"icon\"\n class=\"t-marker t-marker_custom\"\n [src]=\"icon\"\n></tui-svg>\n<tui-svg\n src=\"tuiIconWarningLarge\"\n class=\"t-marker t-marker_error\"\n></tui-svg>\n<tui-svg\n src=\"tuiIconCheckLarge\"\n class=\"t-marker t-marker_pass\"\n></tui-svg>\n<div class=\"t-marker t-marker_index\"></div>\n<ng-content></ng-content>\n",
173
177
  changeDetection: ChangeDetectionStrategy.OnPush,
174
178
  providers: [TuiDestroyService, TuiRouterLinkActiveService, TuiFocusVisibleService],
175
179
  host: {
176
- type: `button`,
180
+ type: 'button',
177
181
  },
178
182
  styles: [":host{-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;align-items:center;flex-shrink:0;color:var(--tui-link);margin-right:2rem;outline:0;cursor:pointer;text-decoration:none;counter-increment:steps}:host:disabled{pointer-events:none;color:var(--tui-base-07)}:host:hover{color:var(--tui-link-hover)}:host:not(:last-of-type)._vertical{margin-bottom:1.25rem}:host._active,:host._active:hover{color:var(--tui-text-01);cursor:default}:host._focus-visible:before{content:'';position:absolute;left:2.75rem;right:0;top:50%;height:1.5rem;margin-top:-.75rem;background:var(--tui-selection)}.t-marker{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:2rem;height:2rem;border-radius:100%;margin-right:.75rem;flex-shrink:0;align-items:center;justify-content:center;background:var(--tui-secondary);color:var(--tui-link)}:host:disabled .t-marker{background:var(--tui-base-03);color:var(--tui-base-07)}.t-marker_index:before{content:counter(steps)}:host:hover .t-marker_index{color:var(--tui-link-hover);background:var(--tui-secondary-hover)}:host._active .t-marker_index{color:var(--tui-primary-text);background:var(--tui-primary)}:host:not(._active) .t-marker_custom~.t-marker_index,:host:not([data-state=normal]):not(._active) .t-marker_index{display:none}.t-marker_error{background:var(--tui-error-bg);color:var(--tui-error-fill)}:host:hover .t-marker_error{background:var(--tui-error-bg-hover);color:var(--tui-error-fill)}:host._active .t-marker_error,:host:not([data-state=error]) .t-marker_error{display:none}:host._active .t-marker_pass,:host:not([data-state=pass]) .t-marker_pass{display:none}:host._active .t-marker_custom,:host:not([data-state=normal]) .t-marker_custom{display:none}:host:hover .t-marker_custom{color:var(--tui-link-hover);background:var(--tui-secondary-hover)}"]
179
183
  }),