@taiga-ui/kit 2.55.0 → 2.58.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 (1092) hide show
  1. package/bundles/taiga-ui-kit-abstract.umd.js +22 -22
  2. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  4. package/bundles/taiga-ui-kit-components-accordion.umd.js +15 -15
  5. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
  7. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-action.umd.js +10 -10
  9. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-action.umd.min.js +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 +5 -5
  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 +15 -15
  16. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  18. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-badge.umd.js +14 -14
  20. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-badged-content.umd.js +23 -23
  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 +1 -1
  25. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +11 -11
  27. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +1 -1
  29. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +2 -2
  31. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +5 -5
  34. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  36. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-carousel.umd.js +18 -18
  38. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +10 -10
  41. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  43. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +6 -6
  45. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  47. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-checkbox.umd.js +5 -5
  49. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  51. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-combo-box.umd.js +11 -11
  53. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  55. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +4 -4
  57. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-field-error.umd.js +5 -5
  60. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-files.umd.js +20 -20
  63. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-filter.umd.js +5 -5
  66. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  68. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-copy.umd.js +10 -10
  70. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  72. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-count.umd.js +21 -21
  74. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  76. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +16 -16
  78. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  80. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +18 -18
  82. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  84. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-input-date.umd.js +12 -12
  86. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  88. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-input-file.umd.js +38 -38
  90. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +1 -1
  92. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-input-files.umd.js +15 -15
  94. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-inline.umd.js +4 -4
  97. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +9 -9
  100. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  102. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-input-month.umd.js +7 -7
  104. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  106. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-input-number.umd.js +24 -24
  108. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  110. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-input-password.umd.js +11 -11
  112. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  114. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +232 -232
  116. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  118. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-input-phone.umd.js +38 -38
  120. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  122. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-input-range.umd.js +16 -16
  124. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-input-slider.umd.js +37 -25
  127. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  129. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-input-tag.umd.js +25 -25
  131. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  133. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-input-time.umd.js +15 -15
  135. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  137. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-input.umd.js +7 -7
  139. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  141. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-island.umd.js +18 -18
  143. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +18 -12
  146. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +1 -1
  148. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +8 -8
  150. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  152. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +2 -2
  154. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-multi-select.umd.js +19 -19
  157. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +1 -1
  159. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-pagination.umd.js +9 -9
  161. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  163. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +10 -10
  165. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  167. package/bundles/taiga-ui-kit-components-progress.umd.js +26 -26
  168. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-radio-block.umd.js +11 -11
  171. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-radio-group.umd.js +1 -1
  175. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +7 -7
  178. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  180. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-radio-list.umd.js +7 -7
  182. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  184. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  185. package/bundles/taiga-ui-kit-components-radio.umd.js +10 -10
  186. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  188. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  189. package/bundles/taiga-ui-kit-components-range.umd.js +35 -35
  190. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  191. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  192. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  193. package/bundles/taiga-ui-kit-components-rating.umd.js +7 -7
  194. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  195. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components-select-option.umd.js +4 -4
  197. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  198. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +1 -1
  199. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components-select.umd.js +6 -6
  201. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  202. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  203. package/bundles/taiga-ui-kit-components-slider.umd.js +65 -46
  204. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  205. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  206. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  207. package/bundles/taiga-ui-kit-components-stepper.umd.js +27 -27
  208. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  209. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  210. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  211. package/bundles/taiga-ui-kit-components-tabs.umd.js +41 -41
  212. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  213. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  214. package/bundles/taiga-ui-kit-components-tag.umd.js +25 -25
  215. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  216. package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
  217. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  218. package/bundles/taiga-ui-kit-components-text-area.umd.js +18 -18
  219. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
  221. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  222. package/bundles/taiga-ui-kit-components-toggle.umd.js +13 -13
  223. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  224. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  225. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-components-tree.umd.js +24 -24
  227. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  228. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  229. package/bundles/taiga-ui-kit-constants.umd.js +18 -18
  230. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  231. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  232. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +10 -10
  233. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  234. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  235. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +6 -6
  236. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  237. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  238. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +18 -14
  239. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  240. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  241. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  242. package/bundles/taiga-ui-kit-directives-highlight.umd.js +10 -10
  243. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  244. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  245. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +11 -11
  246. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  247. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  248. package/bundles/taiga-ui-kit-directives-present.umd.js +5 -5
  249. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  250. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  251. package/bundles/taiga-ui-kit-directives-project-class.umd.js +2 -2
  252. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  253. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  254. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +4 -4
  255. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  256. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  257. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +1 -1
  258. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  259. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  260. package/bundles/taiga-ui-kit-enums.umd.js.map +1 -1
  261. package/bundles/taiga-ui-kit-enums.umd.min.js.map +1 -1
  262. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +3 -3
  263. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  264. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  265. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  266. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +8 -8
  267. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  268. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
  269. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +4 -4
  270. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  271. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  272. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +1 -1
  273. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  274. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  275. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +2 -2
  276. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  277. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  278. package/bundles/taiga-ui-kit-providers.umd.js +3 -3
  279. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  280. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  281. package/bundles/taiga-ui-kit-tokens.umd.js +38 -38
  282. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  283. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  284. package/bundles/taiga-ui-kit-utils-dom.umd.js +4 -4
  285. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  286. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  287. package/bundles/taiga-ui-kit-utils-files.umd.js +2 -2
  288. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  289. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +1 -1
  290. package/bundles/taiga-ui-kit-utils-format.umd.js +2 -2
  291. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  292. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  293. package/bundles/taiga-ui-kit-utils-mask.umd.js +12 -12
  294. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  295. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  296. package/bundles/taiga-ui-kit-utils-math.umd.js +2 -2
  297. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  298. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  299. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +7 -7
  300. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  301. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  302. package/bundles/taiga-ui-kit-validators.umd.js +1 -1
  303. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  304. package/bundles/taiga-ui-kit-validators.umd.min.js.map +1 -1
  305. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  306. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  307. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  308. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  309. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  310. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  311. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  312. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  313. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  314. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  315. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  316. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  317. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  318. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  319. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  320. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  321. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  322. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  323. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  324. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  325. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  326. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  327. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  328. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  329. package/components/input-slider/input-slider.component.d.ts +4 -1
  330. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  331. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  332. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  333. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  334. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  335. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  336. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  337. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  338. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  339. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  340. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  341. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  342. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  343. package/components/slider/helpers/slider-key-steps.directive.d.ts +8 -0
  344. package/components/slider/slider.component.d.ts +4 -2
  345. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  346. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  347. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  348. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  349. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  350. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  351. package/esm2015/abstract/input-slider.js +12 -12
  352. package/esm2015/abstract/slider/slider.js +12 -12
  353. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  354. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  355. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +11 -11
  356. package/esm2015/components/accordion/accordion.component.js +4 -4
  357. package/esm2015/components/action/action.component.js +11 -11
  358. package/esm2015/components/arrow/arrow-options.js +5 -5
  359. package/esm2015/components/arrow/arrow.component.js +2 -2
  360. package/esm2015/components/avatar/avatar-options.js +3 -3
  361. package/esm2015/components/avatar/avatar.component.js +14 -14
  362. package/esm2015/components/badge/badge.component.js +15 -15
  363. package/esm2015/components/badged-content/badged-content.component.js +24 -24
  364. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +7 -7
  365. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +6 -6
  366. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  367. package/esm2015/components/calendar-range/calendar-range.component.js +6 -6
  368. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  369. package/esm2015/components/carousel/carousel-buttons.directive.js +4 -4
  370. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  371. package/esm2015/components/carousel/carousel.component.js +10 -10
  372. package/esm2015/components/carousel/carousel.directive.js +3 -3
  373. package/esm2015/components/checkbox/checkbox.component.js +6 -6
  374. package/esm2015/components/checkbox-block/checkbox-block.component.js +11 -11
  375. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +7 -7
  376. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  377. package/esm2015/components/combo-box/combo-box.component.js +9 -9
  378. package/esm2015/components/combo-box/combo-box.directive.js +2 -2
  379. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  380. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  381. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +3 -3
  382. package/esm2015/components/field-error/field-error.component.js +6 -6
  383. package/esm2015/components/files/file/file.component.js +20 -20
  384. package/esm2015/components/files/files.component.js +2 -2
  385. package/esm2015/components/filter/filter.component.js +6 -6
  386. package/esm2015/components/input/input.component.js +7 -7
  387. package/esm2015/components/input/input.directive.js +2 -2
  388. package/esm2015/components/input-copy/input-copy.component.js +10 -10
  389. package/esm2015/components/input-copy/input-copy.directive.js +2 -2
  390. package/esm2015/components/input-count/input-count-options.js +6 -6
  391. package/esm2015/components/input-count/input-count.component.js +14 -14
  392. package/esm2015/components/input-count/input-count.directive.js +4 -4
  393. package/esm2015/components/input-date/input-date.component.js +11 -11
  394. package/esm2015/components/input-date/input-date.directive.js +3 -3
  395. package/esm2015/components/input-date-range/input-date-range.component.js +15 -15
  396. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  397. package/esm2015/components/input-date-time/input-date-time.component.js +17 -17
  398. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  399. package/esm2015/components/input-file/file/file.component.js +20 -20
  400. package/esm2015/components/input-file/input-file.component.js +20 -20
  401. package/esm2015/components/input-files/input-files.component.js +16 -16
  402. package/esm2015/components/input-inline/input-inline.component.js +5 -5
  403. package/esm2015/components/input-month/input-month.component.js +6 -6
  404. package/esm2015/components/input-month/input-month.directive.js +3 -3
  405. package/esm2015/components/input-month-range/input-month-range.component.js +7 -7
  406. package/esm2015/components/input-month-range/input-month-range.directive.js +4 -4
  407. package/esm2015/components/input-number/input-number.component.js +23 -23
  408. package/esm2015/components/input-number/input-number.directive.js +3 -3
  409. package/esm2015/components/input-password/input-password-options.js +4 -4
  410. package/esm2015/components/input-password/input-password.component.js +7 -7
  411. package/esm2015/components/input-password/input-password.directive.js +3 -3
  412. package/esm2015/components/input-phone/input-phone.component.js +32 -32
  413. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  414. package/esm2015/components/input-phone/input-phone.options.js +4 -4
  415. package/esm2015/components/input-phone/input-phone.providers.js +3 -3
  416. package/esm2015/components/input-phone-international/const/countries.js +215 -215
  417. package/esm2015/components/input-phone-international/country-iso-code.js +1 -1
  418. package/esm2015/components/input-phone-international/input-phone-international.component.js +16 -16
  419. package/esm2015/components/input-phone-international/input-phone-international.options.js +2 -2
  420. package/esm2015/components/input-phone-international/tokens/countries-masks.js +2 -2
  421. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  422. package/esm2015/components/input-range/input-range.component.js +17 -17
  423. package/esm2015/components/input-slider/input-slider.component.js +31 -22
  424. package/esm2015/components/input-tag/input-tag-options.js +3 -3
  425. package/esm2015/components/input-tag/input-tag.component.js +24 -24
  426. package/esm2015/components/input-time/input-time-options.js +6 -6
  427. package/esm2015/components/input-time/input-time.component.js +11 -11
  428. package/esm2015/components/island/island.component.js +19 -19
  429. package/esm2015/components/line-clamp/line-clamp-options.js +2 -2
  430. package/esm2015/components/line-clamp/line-clamp.component.js +11 -11
  431. package/esm2015/components/line-clamp/line-clamp.module.js +9 -3
  432. package/esm2015/components/marker-icon/marker-icon.component.js +9 -9
  433. package/esm2015/components/multi-select/hide-selected.pipe.js +2 -2
  434. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  435. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  436. package/esm2015/components/multi-select/multi-select-options.js +3 -3
  437. package/esm2015/components/multi-select/multi-select.component.js +12 -12
  438. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  439. package/esm2015/components/pagination/pagination.component.js +10 -10
  440. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -6
  441. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  442. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +3 -3
  443. package/esm2015/components/progress/progress-bar/progress-bar.component.js +6 -6
  444. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  445. package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -7
  446. package/esm2015/components/progress/progress-label/progress-label.component.js +2 -2
  447. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  448. package/esm2015/components/progress/utils/calculate-color-segments.js +2 -2
  449. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  450. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +2 -2
  451. package/esm2015/components/radio/radio-options.js +3 -3
  452. package/esm2015/components/radio/radio.component.js +9 -9
  453. package/esm2015/components/radio-block/radio-block.component.js +12 -12
  454. package/esm2015/components/radio-group/radio-group.component.js +2 -2
  455. package/esm2015/components/radio-labeled/radio-labeled.component.js +8 -8
  456. package/esm2015/components/radio-list/radio-list.component.js +8 -8
  457. package/esm2015/components/range/range-change.directive.js +10 -10
  458. package/esm2015/components/range/range.component.js +25 -25
  459. package/esm2015/components/rating/rating-options.js +4 -4
  460. package/esm2015/components/rating/rating.component.js +5 -5
  461. package/esm2015/components/select/select-options.js +3 -3
  462. package/esm2015/components/select/select.component.js +4 -4
  463. package/esm2015/components/select/select.directive.js +2 -2
  464. package/esm2015/components/select-option/select-option.component.js +5 -5
  465. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +21 -14
  466. package/esm2015/components/slider/helpers/slider-readonly.directive.js +15 -15
  467. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +4 -4
  468. package/esm2015/components/slider/slider-old.component.js +2 -2
  469. package/esm2015/components/slider/slider-options.js +4 -4
  470. package/esm2015/components/slider/slider.component.js +25 -16
  471. package/esm2015/components/stepper/step/step.component.js +14 -14
  472. package/esm2015/components/stepper/stepper.component.js +15 -15
  473. package/esm2015/components/tabs/tab/tab.component.js +8 -8
  474. package/esm2015/components/tabs/tab/tab.providers.js +4 -4
  475. package/esm2015/components/tabs/tabs/tabs.component.js +13 -13
  476. package/esm2015/components/tabs/tabs-options.js +2 -2
  477. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +6 -6
  478. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  479. package/esm2015/components/tabs/underline/underline.component.js +13 -13
  480. package/esm2015/components/tag/tag-options.js +4 -4
  481. package/esm2015/components/tag/tag.component.js +23 -23
  482. package/esm2015/components/text-area/text-area.component.js +18 -18
  483. package/esm2015/components/text-area/text-area.directive.js +2 -2
  484. package/esm2015/components/toggle/toggle-options.js +5 -5
  485. package/esm2015/components/toggle/toggle.component.js +10 -10
  486. package/esm2015/components/tree/components/tree/tree.component.js +3 -3
  487. package/esm2015/components/tree/components/tree-item/tree-item.component.js +4 -4
  488. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  489. package/esm2015/components/tree/directives/tree-children.directive.js +2 -2
  490. package/esm2015/components/tree/directives/tree-controller.directive.js +4 -4
  491. package/esm2015/components/tree/directives/tree-item-controller.directive.js +4 -4
  492. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  493. package/esm2015/components/tree/misc/tree.tokens.js +9 -9
  494. package/esm2015/constants/date-time-separator.js +2 -2
  495. package/esm2015/constants/group-class-names.js +10 -10
  496. package/esm2015/constants/icon-blank.js +2 -2
  497. package/esm2015/constants/masks.js +7 -7
  498. package/esm2015/constants/router-link-options.js +2 -2
  499. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +11 -11
  500. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +5 -5
  501. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +20 -16
  502. package/esm2015/directives/highlight/highlight.directive.js +11 -11
  503. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +12 -12
  504. package/esm2015/directives/present/present.directive.js +6 -6
  505. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  506. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  507. package/esm2015/directives/value-accessor/value-accessor.directive.js +2 -2
  508. package/esm2015/enums/borders.js +1 -1
  509. package/esm2015/enums/dropdown-position.js +1 -1
  510. package/esm2015/enums/file-state.js +1 -1
  511. package/esm2015/enums/marker-icon-mode.js +1 -1
  512. package/esm2015/enums/status.js +1 -1
  513. package/esm2015/enums/step-state.js +1 -1
  514. package/esm2015/enums/text-align.js +1 -1
  515. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +4 -4
  516. package/esm2015/pipes/field-error/field-error-content-pipe.js +4 -4
  517. package/esm2015/pipes/field-error/field-error-pipe.js +6 -6
  518. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  519. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +3 -3
  520. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  521. package/esm2015/pipes/stringify/stringify.pipe.js +3 -3
  522. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +2 -2
  523. package/esm2015/providers/month-formatter.provider.js +2 -2
  524. package/esm2015/providers/specific-dropdown-controllers.js +3 -3
  525. package/esm2015/tokens/calendar-data-stream.js +2 -2
  526. package/esm2015/tokens/date-inputs-value-transformers.js +4 -4
  527. package/esm2015/tokens/i18n.js +28 -28
  528. package/esm2015/tokens/items-handlers.js +2 -2
  529. package/esm2015/tokens/mobile-aware.js +2 -2
  530. package/esm2015/tokens/mobile-calendar.js +2 -2
  531. package/esm2015/tokens/month-formatter.js +2 -2
  532. package/esm2015/tokens/tab-margin.js +2 -2
  533. package/esm2015/tokens/tag-status.js +2 -2
  534. package/esm2015/tokens/validation-errors.js +2 -2
  535. package/esm2015/utils/dom/get-word-range.js +5 -5
  536. package/esm2015/utils/files/format-size.js +2 -2
  537. package/esm2015/utils/files/get-accept-array.js +2 -2
  538. package/esm2015/utils/format/string-hash-to-hsl.js +3 -3
  539. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  540. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  541. package/esm2015/utils/mask/create-date-mask.js +5 -5
  542. package/esm2015/utils/mask/create-date-range-mask.js +2 -2
  543. package/esm2015/utils/mask/create-time-mask.js +4 -4
  544. package/esm2015/utils/math/horizontal-direction-to-number.js +3 -3
  545. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  546. package/esm2015/utils/miscellaneous/get-precision.js +2 -2
  547. package/esm2015/validators/unfinished.validator.js +2 -2
  548. package/esm5/abstract/input-slider.js +12 -12
  549. package/esm5/abstract/slider/slider.js +12 -12
  550. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  551. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  552. package/esm5/components/accordion/accordion-item/accordion-item.component.js +11 -11
  553. package/esm5/components/accordion/accordion.component.js +4 -4
  554. package/esm5/components/action/action.component.js +11 -11
  555. package/esm5/components/arrow/arrow-options.js +5 -5
  556. package/esm5/components/arrow/arrow.component.js +2 -2
  557. package/esm5/components/avatar/avatar-options.js +3 -3
  558. package/esm5/components/avatar/avatar.component.js +14 -14
  559. package/esm5/components/badge/badge.component.js +15 -15
  560. package/esm5/components/badged-content/badged-content.component.js +24 -24
  561. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +7 -7
  562. package/esm5/components/breadcrumbs/breadcrumbs.component.js +6 -6
  563. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  564. package/esm5/components/calendar-range/calendar-range.component.js +6 -6
  565. package/esm5/components/carousel/carousel-autoscroll.directive.js +3 -3
  566. package/esm5/components/carousel/carousel-buttons.directive.js +4 -4
  567. package/esm5/components/carousel/carousel-scroll.directive.js +3 -3
  568. package/esm5/components/carousel/carousel.component.js +10 -10
  569. package/esm5/components/carousel/carousel.directive.js +3 -3
  570. package/esm5/components/checkbox/checkbox.component.js +6 -6
  571. package/esm5/components/checkbox-block/checkbox-block.component.js +11 -11
  572. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +7 -7
  573. package/esm5/components/combo-box/combo-box-strict.directive.js +3 -3
  574. package/esm5/components/combo-box/combo-box.component.js +9 -9
  575. package/esm5/components/combo-box/combo-box.directive.js +2 -2
  576. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  577. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  578. package/esm5/components/data-list-wrapper/data-list-wrapper.js +3 -3
  579. package/esm5/components/field-error/field-error.component.js +6 -6
  580. package/esm5/components/files/file/file.component.js +20 -20
  581. package/esm5/components/files/files.component.js +2 -2
  582. package/esm5/components/filter/filter.component.js +6 -6
  583. package/esm5/components/input/input.component.js +7 -7
  584. package/esm5/components/input/input.directive.js +2 -2
  585. package/esm5/components/input-copy/input-copy.component.js +10 -10
  586. package/esm5/components/input-copy/input-copy.directive.js +2 -2
  587. package/esm5/components/input-count/input-count-options.js +6 -6
  588. package/esm5/components/input-count/input-count.component.js +14 -14
  589. package/esm5/components/input-count/input-count.directive.js +4 -4
  590. package/esm5/components/input-date/input-date.component.js +11 -11
  591. package/esm5/components/input-date/input-date.directive.js +3 -3
  592. package/esm5/components/input-date-range/input-date-range.component.js +15 -15
  593. package/esm5/components/input-date-range/input-date-range.directive.js +3 -3
  594. package/esm5/components/input-date-time/input-date-time.component.js +17 -17
  595. package/esm5/components/input-date-time/input-date-time.directive.js +3 -3
  596. package/esm5/components/input-file/file/file.component.js +20 -20
  597. package/esm5/components/input-file/input-file.component.js +20 -20
  598. package/esm5/components/input-files/input-files.component.js +16 -16
  599. package/esm5/components/input-inline/input-inline.component.js +5 -5
  600. package/esm5/components/input-month/input-month.component.js +6 -6
  601. package/esm5/components/input-month/input-month.directive.js +3 -3
  602. package/esm5/components/input-month-range/input-month-range.component.js +7 -7
  603. package/esm5/components/input-month-range/input-month-range.directive.js +4 -4
  604. package/esm5/components/input-number/input-number.component.js +23 -23
  605. package/esm5/components/input-number/input-number.directive.js +3 -3
  606. package/esm5/components/input-password/input-password-options.js +4 -4
  607. package/esm5/components/input-password/input-password.component.js +7 -7
  608. package/esm5/components/input-password/input-password.directive.js +3 -3
  609. package/esm5/components/input-phone/input-phone.component.js +32 -32
  610. package/esm5/components/input-phone/input-phone.directive.js +3 -3
  611. package/esm5/components/input-phone/input-phone.options.js +4 -4
  612. package/esm5/components/input-phone/input-phone.providers.js +3 -3
  613. package/esm5/components/input-phone-international/const/countries.js +215 -215
  614. package/esm5/components/input-phone-international/country-iso-code.js +1 -1
  615. package/esm5/components/input-phone-international/input-phone-international.component.js +16 -16
  616. package/esm5/components/input-phone-international/input-phone-international.options.js +2 -2
  617. package/esm5/components/input-phone-international/tokens/countries-masks.js +2 -2
  618. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  619. package/esm5/components/input-range/input-range.component.js +17 -17
  620. package/esm5/components/input-slider/input-slider.component.js +35 -22
  621. package/esm5/components/input-tag/input-tag-options.js +3 -3
  622. package/esm5/components/input-tag/input-tag.component.js +24 -24
  623. package/esm5/components/input-time/input-time-options.js +6 -6
  624. package/esm5/components/input-time/input-time.component.js +11 -11
  625. package/esm5/components/island/island.component.js +19 -19
  626. package/esm5/components/line-clamp/line-clamp-options.js +2 -2
  627. package/esm5/components/line-clamp/line-clamp.component.js +11 -11
  628. package/esm5/components/line-clamp/line-clamp.module.js +9 -3
  629. package/esm5/components/marker-icon/marker-icon.component.js +9 -9
  630. package/esm5/components/multi-select/hide-selected.pipe.js +2 -2
  631. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  632. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  633. package/esm5/components/multi-select/multi-select-options.js +3 -3
  634. package/esm5/components/multi-select/multi-select.component.js +12 -12
  635. package/esm5/components/multi-select-option/multi-select-option.component.js +3 -3
  636. package/esm5/components/pagination/pagination.component.js +10 -10
  637. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -6
  638. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  639. package/esm5/components/pdf-viewer/pdf-viewer.service.js +3 -3
  640. package/esm5/components/progress/progress-bar/progress-bar.component.js +6 -6
  641. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  642. package/esm5/components/progress/progress-circle/progress-circle.component.js +7 -7
  643. package/esm5/components/progress/progress-label/progress-label.component.js +2 -2
  644. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  645. package/esm5/components/progress/utils/calculate-color-segments.js +2 -2
  646. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  647. package/esm5/components/progress/utils/progress-color-segments.pipe.js +2 -2
  648. package/esm5/components/radio/radio-options.js +3 -3
  649. package/esm5/components/radio/radio.component.js +9 -9
  650. package/esm5/components/radio-block/radio-block.component.js +12 -12
  651. package/esm5/components/radio-group/radio-group.component.js +2 -2
  652. package/esm5/components/radio-labeled/radio-labeled.component.js +8 -8
  653. package/esm5/components/radio-list/radio-list.component.js +8 -8
  654. package/esm5/components/range/range-change.directive.js +12 -12
  655. package/esm5/components/range/range.component.js +25 -25
  656. package/esm5/components/rating/rating-options.js +4 -4
  657. package/esm5/components/rating/rating.component.js +5 -5
  658. package/esm5/components/select/select-options.js +3 -3
  659. package/esm5/components/select/select.component.js +4 -4
  660. package/esm5/components/select/select.directive.js +2 -2
  661. package/esm5/components/select-option/select-option.component.js +5 -5
  662. package/esm5/components/slider/helpers/slider-key-steps.directive.js +21 -14
  663. package/esm5/components/slider/helpers/slider-readonly.directive.js +15 -15
  664. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +4 -4
  665. package/esm5/components/slider/slider-old.component.js +2 -2
  666. package/esm5/components/slider/slider-options.js +4 -4
  667. package/esm5/components/slider/slider.component.js +29 -16
  668. package/esm5/components/stepper/step/step.component.js +14 -14
  669. package/esm5/components/stepper/stepper.component.js +15 -15
  670. package/esm5/components/tabs/tab/tab.component.js +8 -8
  671. package/esm5/components/tabs/tab/tab.providers.js +4 -4
  672. package/esm5/components/tabs/tabs/tabs.component.js +13 -13
  673. package/esm5/components/tabs/tabs-options.js +2 -2
  674. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +6 -6
  675. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  676. package/esm5/components/tabs/underline/underline.component.js +13 -13
  677. package/esm5/components/tag/tag-options.js +4 -4
  678. package/esm5/components/tag/tag.component.js +23 -23
  679. package/esm5/components/text-area/text-area.component.js +18 -18
  680. package/esm5/components/text-area/text-area.directive.js +2 -2
  681. package/esm5/components/toggle/toggle-options.js +5 -5
  682. package/esm5/components/toggle/toggle.component.js +10 -10
  683. package/esm5/components/tree/components/tree/tree.component.js +3 -3
  684. package/esm5/components/tree/components/tree-item/tree-item.component.js +4 -4
  685. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  686. package/esm5/components/tree/directives/tree-children.directive.js +2 -2
  687. package/esm5/components/tree/directives/tree-controller.directive.js +4 -4
  688. package/esm5/components/tree/directives/tree-item-controller.directive.js +4 -4
  689. package/esm5/components/tree/directives/tree-node.directive.js +3 -3
  690. package/esm5/components/tree/misc/tree.tokens.js +9 -9
  691. package/esm5/constants/date-time-separator.js +2 -2
  692. package/esm5/constants/group-class-names.js +10 -10
  693. package/esm5/constants/icon-blank.js +2 -2
  694. package/esm5/constants/masks.js +7 -7
  695. package/esm5/constants/router-link-options.js +2 -2
  696. package/esm5/directives/dropdown-context/dropdown-context.directive.js +11 -11
  697. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +7 -7
  698. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +20 -16
  699. package/esm5/directives/highlight/highlight.directive.js +11 -11
  700. package/esm5/directives/lazy-loading/lazy-loading.directive.js +12 -12
  701. package/esm5/directives/present/present.directive.js +6 -6
  702. package/esm5/directives/project-class/project-class.directive.js +3 -3
  703. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  704. package/esm5/directives/value-accessor/value-accessor.directive.js +2 -2
  705. package/esm5/enums/borders.js +1 -1
  706. package/esm5/enums/dropdown-position.js +1 -1
  707. package/esm5/enums/file-state.js +1 -1
  708. package/esm5/enums/marker-icon-mode.js +1 -1
  709. package/esm5/enums/status.js +1 -1
  710. package/esm5/enums/step-state.js +1 -1
  711. package/esm5/enums/text-align.js +1 -1
  712. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +4 -4
  713. package/esm5/pipes/field-error/field-error-content-pipe.js +4 -4
  714. package/esm5/pipes/field-error/field-error-pipe.js +6 -6
  715. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  716. package/esm5/pipes/filter-by-input/filter-by-input.base.js +3 -3
  717. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  718. package/esm5/pipes/stringify/stringify.pipe.js +3 -3
  719. package/esm5/pipes/stringify-content/stringify-content.pipe.js +2 -2
  720. package/esm5/providers/month-formatter.provider.js +2 -2
  721. package/esm5/providers/specific-dropdown-controllers.js +3 -3
  722. package/esm5/tokens/calendar-data-stream.js +2 -2
  723. package/esm5/tokens/date-inputs-value-transformers.js +4 -4
  724. package/esm5/tokens/i18n.js +28 -28
  725. package/esm5/tokens/items-handlers.js +2 -2
  726. package/esm5/tokens/mobile-aware.js +2 -2
  727. package/esm5/tokens/mobile-calendar.js +2 -2
  728. package/esm5/tokens/month-formatter.js +2 -2
  729. package/esm5/tokens/tab-margin.js +2 -2
  730. package/esm5/tokens/tag-status.js +2 -2
  731. package/esm5/tokens/validation-errors.js +2 -2
  732. package/esm5/utils/dom/get-word-range.js +5 -5
  733. package/esm5/utils/files/format-size.js +2 -2
  734. package/esm5/utils/files/get-accept-array.js +2 -2
  735. package/esm5/utils/format/string-hash-to-hsl.js +3 -3
  736. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  737. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  738. package/esm5/utils/mask/create-date-mask.js +5 -5
  739. package/esm5/utils/mask/create-date-range-mask.js +2 -2
  740. package/esm5/utils/mask/create-time-mask.js +2 -2
  741. package/esm5/utils/math/horizontal-direction-to-number.js +3 -3
  742. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  743. package/esm5/utils/miscellaneous/get-precision.js +2 -2
  744. package/esm5/validators/unfinished.validator.js +2 -2
  745. package/fesm2015/taiga-ui-kit-abstract.js +22 -22
  746. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-accordion.js +15 -15
  748. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-action.js +10 -10
  750. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-arrow.js +5 -5
  752. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-avatar.js +15 -15
  754. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-badge.js +14 -14
  756. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-badged-content.js +23 -23
  758. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +11 -11
  760. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  762. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-components-calendar-range.js +5 -5
  764. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  765. package/fesm2015/taiga-ui-kit-components-carousel.js +18 -18
  766. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +10 -10
  768. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +6 -6
  770. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-components-checkbox.js +5 -5
  772. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-components-combo-box.js +11 -11
  774. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  776. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-components-field-error.js +5 -5
  778. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-components-files.js +20 -20
  780. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-components-filter.js +5 -5
  782. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -10
  784. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  785. package/fesm2015/taiga-ui-kit-components-input-count.js +21 -21
  786. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  787. package/fesm2015/taiga-ui-kit-components-input-date-range.js +16 -16
  788. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-components-input-date-time.js +18 -18
  790. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-components-input-date.js +12 -12
  792. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-components-input-file.js +38 -38
  794. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  795. package/fesm2015/taiga-ui-kit-components-input-files.js +15 -15
  796. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  797. package/fesm2015/taiga-ui-kit-components-input-inline.js +4 -4
  798. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  799. package/fesm2015/taiga-ui-kit-components-input-month-range.js +9 -9
  800. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  801. package/fesm2015/taiga-ui-kit-components-input-month.js +7 -7
  802. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  803. package/fesm2015/taiga-ui-kit-components-input-number.js +24 -24
  804. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  805. package/fesm2015/taiga-ui-kit-components-input-password.js +11 -11
  806. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  807. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +232 -232
  808. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  809. package/fesm2015/taiga-ui-kit-components-input-phone.js +38 -38
  810. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  811. package/fesm2015/taiga-ui-kit-components-input-range.js +16 -16
  812. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  813. package/fesm2015/taiga-ui-kit-components-input-slider.js +30 -22
  814. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  815. package/fesm2015/taiga-ui-kit-components-input-tag.js +25 -25
  816. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  817. package/fesm2015/taiga-ui-kit-components-input-time.js +15 -15
  818. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  819. package/fesm2015/taiga-ui-kit-components-input.js +7 -7
  820. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  821. package/fesm2015/taiga-ui-kit-components-island.js +18 -18
  822. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  823. package/fesm2015/taiga-ui-kit-components-line-clamp.js +19 -13
  824. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  825. package/fesm2015/taiga-ui-kit-components-marker-icon.js +8 -8
  826. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  827. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +2 -2
  828. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  829. package/fesm2015/taiga-ui-kit-components-multi-select.js +19 -19
  830. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  831. package/fesm2015/taiga-ui-kit-components-pagination.js +9 -9
  832. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  833. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +10 -10
  834. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  835. package/fesm2015/taiga-ui-kit-components-progress.js +26 -26
  836. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  837. package/fesm2015/taiga-ui-kit-components-radio-block.js +11 -11
  838. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  839. package/fesm2015/taiga-ui-kit-components-radio-group.js +1 -1
  840. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  841. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +7 -7
  842. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  843. package/fesm2015/taiga-ui-kit-components-radio-list.js +7 -7
  844. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  845. package/fesm2015/taiga-ui-kit-components-radio.js +10 -10
  846. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  847. package/fesm2015/taiga-ui-kit-components-range.js +33 -33
  848. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  849. package/fesm2015/taiga-ui-kit-components-rating.js +7 -7
  850. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  851. package/fesm2015/taiga-ui-kit-components-select-option.js +4 -4
  852. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  853. package/fesm2015/taiga-ui-kit-components-select.js +6 -6
  854. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  855. package/fesm2015/taiga-ui-kit-components-slider.js +63 -48
  856. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  857. package/fesm2015/taiga-ui-kit-components-stepper.js +27 -27
  858. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  859. package/fesm2015/taiga-ui-kit-components-tabs.js +41 -41
  860. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  861. package/fesm2015/taiga-ui-kit-components-tag.js +25 -25
  862. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  863. package/fesm2015/taiga-ui-kit-components-text-area.js +18 -18
  864. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  865. package/fesm2015/taiga-ui-kit-components-toggle.js +13 -13
  866. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  867. package/fesm2015/taiga-ui-kit-components-tree.js +24 -24
  868. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  869. package/fesm2015/taiga-ui-kit-constants.js +18 -18
  870. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  871. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +10 -10
  872. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  873. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +4 -4
  874. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  875. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +19 -15
  876. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  877. package/fesm2015/taiga-ui-kit-directives-highlight.js +10 -10
  878. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  879. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +11 -11
  880. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  881. package/fesm2015/taiga-ui-kit-directives-present.js +5 -5
  882. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  883. package/fesm2015/taiga-ui-kit-directives-project-class.js +2 -2
  884. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  885. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  886. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  887. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +1 -1
  888. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  889. package/fesm2015/taiga-ui-kit-enums.js.map +1 -1
  890. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +3 -3
  891. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  892. package/fesm2015/taiga-ui-kit-pipes-field-error.js +8 -8
  893. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  894. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  895. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  896. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +1 -1
  897. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  898. package/fesm2015/taiga-ui-kit-pipes-stringify.js +2 -2
  899. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  900. package/fesm2015/taiga-ui-kit-providers.js +3 -3
  901. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  902. package/fesm2015/taiga-ui-kit-tokens.js +38 -38
  903. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  904. package/fesm2015/taiga-ui-kit-utils-dom.js +4 -4
  905. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  906. package/fesm2015/taiga-ui-kit-utils-files.js +2 -2
  907. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  908. package/fesm2015/taiga-ui-kit-utils-format.js +2 -2
  909. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  910. package/fesm2015/taiga-ui-kit-utils-mask.js +14 -14
  911. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  912. package/fesm2015/taiga-ui-kit-utils-math.js +2 -2
  913. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  914. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +7 -7
  915. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  916. package/fesm2015/taiga-ui-kit-validators.js +1 -1
  917. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-abstract.js +22 -22
  919. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-components-accordion.js +15 -15
  921. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-components-action.js +10 -10
  923. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-components-arrow.js +5 -5
  925. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-components-avatar.js +15 -15
  927. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-components-badge.js +14 -14
  929. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  930. package/fesm5/taiga-ui-kit-components-badged-content.js +23 -23
  931. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  932. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +11 -11
  933. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  934. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  935. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-components-calendar-range.js +5 -5
  937. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-components-carousel.js +18 -18
  939. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  940. package/fesm5/taiga-ui-kit-components-checkbox-block.js +10 -10
  941. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  942. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +6 -6
  943. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  944. package/fesm5/taiga-ui-kit-components-checkbox.js +5 -5
  945. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-components-combo-box.js +11 -11
  947. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  948. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  949. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  950. package/fesm5/taiga-ui-kit-components-field-error.js +5 -5
  951. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  952. package/fesm5/taiga-ui-kit-components-files.js +20 -20
  953. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  954. package/fesm5/taiga-ui-kit-components-filter.js +5 -5
  955. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  956. package/fesm5/taiga-ui-kit-components-input-copy.js +10 -10
  957. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  958. package/fesm5/taiga-ui-kit-components-input-count.js +21 -21
  959. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  960. package/fesm5/taiga-ui-kit-components-input-date-range.js +16 -16
  961. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  962. package/fesm5/taiga-ui-kit-components-input-date-time.js +18 -18
  963. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  964. package/fesm5/taiga-ui-kit-components-input-date.js +12 -12
  965. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  966. package/fesm5/taiga-ui-kit-components-input-file.js +38 -38
  967. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  968. package/fesm5/taiga-ui-kit-components-input-files.js +15 -15
  969. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  970. package/fesm5/taiga-ui-kit-components-input-inline.js +4 -4
  971. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  972. package/fesm5/taiga-ui-kit-components-input-month-range.js +9 -9
  973. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  974. package/fesm5/taiga-ui-kit-components-input-month.js +7 -7
  975. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  976. package/fesm5/taiga-ui-kit-components-input-number.js +24 -24
  977. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  978. package/fesm5/taiga-ui-kit-components-input-password.js +11 -11
  979. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  980. package/fesm5/taiga-ui-kit-components-input-phone-international.js +232 -232
  981. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  982. package/fesm5/taiga-ui-kit-components-input-phone.js +38 -38
  983. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  984. package/fesm5/taiga-ui-kit-components-input-range.js +16 -16
  985. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  986. package/fesm5/taiga-ui-kit-components-input-slider.js +34 -22
  987. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  988. package/fesm5/taiga-ui-kit-components-input-tag.js +25 -25
  989. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  990. package/fesm5/taiga-ui-kit-components-input-time.js +15 -15
  991. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  992. package/fesm5/taiga-ui-kit-components-input.js +7 -7
  993. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  994. package/fesm5/taiga-ui-kit-components-island.js +18 -18
  995. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  996. package/fesm5/taiga-ui-kit-components-line-clamp.js +19 -13
  997. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  998. package/fesm5/taiga-ui-kit-components-marker-icon.js +8 -8
  999. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1000. package/fesm5/taiga-ui-kit-components-multi-select-option.js +2 -2
  1001. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1002. package/fesm5/taiga-ui-kit-components-multi-select.js +19 -19
  1003. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  1004. package/fesm5/taiga-ui-kit-components-pagination.js +9 -9
  1005. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  1006. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +10 -10
  1007. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1008. package/fesm5/taiga-ui-kit-components-progress.js +26 -26
  1009. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  1010. package/fesm5/taiga-ui-kit-components-radio-block.js +11 -11
  1011. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  1012. package/fesm5/taiga-ui-kit-components-radio-group.js +1 -1
  1013. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  1014. package/fesm5/taiga-ui-kit-components-radio-labeled.js +7 -7
  1015. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1016. package/fesm5/taiga-ui-kit-components-radio-list.js +7 -7
  1017. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  1018. package/fesm5/taiga-ui-kit-components-radio.js +10 -10
  1019. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  1020. package/fesm5/taiga-ui-kit-components-range.js +35 -35
  1021. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  1022. package/fesm5/taiga-ui-kit-components-rating.js +7 -7
  1023. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  1024. package/fesm5/taiga-ui-kit-components-select-option.js +4 -4
  1025. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  1026. package/fesm5/taiga-ui-kit-components-select.js +6 -6
  1027. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  1028. package/fesm5/taiga-ui-kit-components-slider.js +67 -48
  1029. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  1030. package/fesm5/taiga-ui-kit-components-stepper.js +27 -27
  1031. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  1032. package/fesm5/taiga-ui-kit-components-tabs.js +41 -41
  1033. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  1034. package/fesm5/taiga-ui-kit-components-tag.js +25 -25
  1035. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  1036. package/fesm5/taiga-ui-kit-components-text-area.js +18 -18
  1037. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  1038. package/fesm5/taiga-ui-kit-components-toggle.js +13 -13
  1039. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  1040. package/fesm5/taiga-ui-kit-components-tree.js +24 -24
  1041. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  1042. package/fesm5/taiga-ui-kit-constants.js +18 -18
  1043. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  1044. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +10 -10
  1045. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  1046. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +6 -6
  1047. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  1048. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +19 -15
  1049. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  1050. package/fesm5/taiga-ui-kit-directives-highlight.js +10 -10
  1051. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  1052. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +11 -11
  1053. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1054. package/fesm5/taiga-ui-kit-directives-present.js +5 -5
  1055. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  1056. package/fesm5/taiga-ui-kit-directives-project-class.js +2 -2
  1057. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  1058. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  1059. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1060. package/fesm5/taiga-ui-kit-directives-value-accessor.js +1 -1
  1061. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1062. package/fesm5/taiga-ui-kit-enums.js.map +1 -1
  1063. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +3 -3
  1064. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1065. package/fesm5/taiga-ui-kit-pipes-field-error.js +8 -8
  1066. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1067. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  1068. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1069. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +1 -1
  1070. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1071. package/fesm5/taiga-ui-kit-pipes-stringify.js +2 -2
  1072. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1073. package/fesm5/taiga-ui-kit-providers.js +3 -3
  1074. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  1075. package/fesm5/taiga-ui-kit-tokens.js +38 -38
  1076. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  1077. package/fesm5/taiga-ui-kit-utils-dom.js +4 -4
  1078. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  1079. package/fesm5/taiga-ui-kit-utils-files.js +2 -2
  1080. package/fesm5/taiga-ui-kit-utils-files.js.map +1 -1
  1081. package/fesm5/taiga-ui-kit-utils-format.js +2 -2
  1082. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  1083. package/fesm5/taiga-ui-kit-utils-mask.js +12 -12
  1084. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  1085. package/fesm5/taiga-ui-kit-utils-math.js +2 -2
  1086. package/fesm5/taiga-ui-kit-utils-math.js.map +1 -1
  1087. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +7 -7
  1088. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1089. package/fesm5/taiga-ui-kit-validators.js +1 -1
  1090. package/fesm5/taiga-ui-kit-validators.js.map +1 -1
  1091. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  1092. package/package.json +4 -4
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/utils"),require("rxjs/operators"),require("@ng-web-apis/common"),require("@angular/common"),require("rxjs"),require("@taiga-ui/core"),require("@taiga-ui/kit/abstract"),require("@taiga-ui/kit/tokens")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/slider",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/kit/utils","rxjs/operators","@ng-web-apis/common","@angular/common","rxjs","@taiga-ui/core","@taiga-ui/kit/abstract","@taiga-ui/kit/tokens"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components.slider={}),e.ng.core,e.ng.forms,e.cdk,e["taiga-ui"].kit.utils,e.rxjs.operators,e.common,e.ng.common,e.rxjs,e.core$1,e["taiga-ui"].kit.abstract,e["taiga-ui"].kit.tokens)}(this,(function(e,t,r,n,o,i,a,s,u,l,c,d){"use strict";var p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m=function(){return(m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function h(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function b(e,t){return function(r,n){t(r,n,e)}}Object.create;function f(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}Object.create;var v={size:"m",trackColor:"var(--tui-base-03)"},y=new t.InjectionToken("Default parameters for Slider component",{factory:function(){return v}});var k=function(){function e(e,t,o,a,s){var u;this.control=e,this.options=o,this.elementRef=a,this.userAgent=s,this.size=this.options.size,this.segments=1,e instanceof r.NgModel&&(null===(u=e.valueChanges)||void 0===u||u.pipe(n.watch(t),i.take(1)).subscribe())}return Object.defineProperty(e.prototype,"min",{get:function(){return Number(this.elementRef.nativeElement.min)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return Number(this.elementRef.nativeElement.max||100)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return Number(this.elementRef.nativeElement.step)||1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var e=this.elementRef,t=this.control;return!e.nativeElement.hasAttribute("data-key-steps")&&t instanceof r.NgModel?t.viewModel:Number(e.nativeElement.value)||0},set:function(e){this.elementRef.nativeElement.value=""+e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valuePercentage",{get:function(){return 100*(this.value-this.min)/(this.max-this.min)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentWidth",{get:function(){return 100/Math.max(1,this.segments)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isOldEdge",{get:function(){return n.isEdgeOlderThan(n.CHROMIUM_EDGE_START_VERSION,this.userAgent)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:r.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[r.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:void 0,decorators:[{type:t.Inject,args:[y]}]},{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:String,decorators:[{type:t.Inject,args:[a.USER_AGENT]}]}]},h([t.Input(),t.HostBinding("attr.data-size"),n.tuiDefaultProp()],e.prototype,"size",void 0),h([t.Input(),n.tuiDefaultProp()],e.prototype,"segments",void 0),h([t.HostBinding("style.--tui-slider-fill-percentage.%")],e.prototype,"valuePercentage",null),h([t.HostBinding("style.--tui-slider-segment-width.%")],e.prototype,"segmentWidth",null),h([t.HostBinding("class._old-edge")],e.prototype,"isOldEdge",null),e=h([t.Component({selector:"input[type=range][tuiSlider]",template:"",host:{"(input)":"0","[style.--tui-slider-track-color]":"options.trackColor"},changeDetection:t.ChangeDetectionStrategy.OnPush,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}"]}),b(0,t.Optional()),b(0,t.Self()),b(0,t.Inject(r.NgControl)),b(1,t.Inject(t.ChangeDetectorRef)),b(2,t.Inject(y)),b(3,t.Inject(t.ElementRef)),b(4,t.Inject(a.USER_AGENT))],e)}(),w=function(e){function a(t,r,o,a){var s=e.call(this,t,r)||this;return s.elementRef=o,s.slider=a,s.keySteps=[],s.keyStepsInput=n.typedFromEvent(s.elementRef.nativeElement,"input").pipe(i.map((function(){return s.controlValue}))),s}return g(a,e),Object.defineProperty(a.prototype,"nativeFocusableElement",{get:function(){return this.computedDisabled?null:this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"min",{get:function(){var e;return(null===(e=this.keySteps[0])||void 0===e?void 0:e[1])||0},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"max",{get:function(){var e;return(null===(e=this.keySteps[this.keySteps.length-1])||void 0===e?void 0:e[1])||100},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"controlValue",{get:function(){return o.tuiPercentageToKeyStepValue(this.slider.valuePercentage,this.keySteps)},enumerable:!0,configurable:!0}),a.prototype.updateControlValue=function(){this.updateValue(this.controlValue)},a.prototype.writeValue=function(e){if(null!==e){var t=n.clamp(e,this.min,this.max);n.tuiAssert.assert(e===t,"\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max"),this.slider.value=this.transformToNativeValue(t)}},a.prototype.getFallbackValue=function(){return 0},a.prototype.transformToNativeValue=function(e){var t=this.slider,r=t.min,n=t.max;return o.tuiKeyStepValueToPercentage(e,this.keySteps)*(n-r)/100+r},a.ctorParameters=function(){return[{type:r.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[r.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:k,decorators:[{type:t.Inject,args:[k]}]}]},h([t.Input(),n.tuiDefaultProp(o.tuiCheckKeyStepsHaveMinMaxPercents,"Should contain min and max values")],a.prototype,"keySteps",void 0),h([t.Output()],a.prototype,"keyStepsInput",void 0),h([t.HostListener("change")],a.prototype,"updateControlValue",null),a=h([t.Directive({selector:"input[tuiSlider][keySteps]",host:{"[attr.data-key-steps]":"true","[attr.aria-valuenow]":"controlValue","[attr.aria-valuemin]":"min","[attr.aria-valuemax]":"max"}}),b(0,t.Optional()),b(0,t.Self()),b(0,t.Inject(r.NgControl)),b(1,t.Inject(t.ChangeDetectorRef)),b(2,t.Inject(t.ElementRef)),b(3,t.Inject(k))],a)}(n.AbstractTuiControl),_=function(){function e(){}return e.prototype.transform=function(e,t,r){var n=100/t*e;return o.tuiPercentageToKeyStepValue(n,r)},e=h([t.Pipe({name:"tuiSliderTickLabel"})],e)}(),S=new Set(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","PageUp","PageDown"]),C=function(){function e(e,t,r){var o=this;this.readonly=!0;var a=n.typedFromEvent(e.nativeElement,"touchstart",{passive:!1}),s=n.typedFromEvent(t,"touchmove",{passive:!1}),l=n.typedFromEvent(t,"touchend",{passive:!0}),c=u.merge(a.pipe(i.tap((function(e){return o.preventEvent(e)})),i.mapTo(!0)),l.pipe(i.mapTo(!1)));u.combineLatest([s,c]).pipe(i.filter((function(e){var t=f(e,2);t[0];return t[1]})),i.takeUntil(r)).subscribe((function(e){var t=f(e,1)[0];return o.preventEvent(t)}))}return e.prototype.preventEvent=function(e){e.cancelable&&n.tuiCoerceBooleanProperty(this.readonly)&&e.preventDefault()},e.prototype.preventKeyboardInteraction=function(e){S.has(e.key)&&this.preventEvent(e)},e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:Document,decorators:[{type:t.Inject,args:[s.DOCUMENT]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[n.TuiDestroyService]}]}]},h([t.Input(),n.tuiDefaultProp()],e.prototype,"readonly",void 0),h([t.HostListener("mousedown",["$event"])],e.prototype,"preventEvent",null),h([t.HostListener("keydown",["$event"])],e.prototype,"preventKeyboardInteraction",null),e=h([t.Directive({selector:"input[tuiSlider][readonly]",providers:[n.TuiDestroyService]}),b(0,t.Inject(t.ElementRef)),b(1,t.Inject(s.DOCUMENT)),b(2,t.Inject(n.TuiDestroyService))],e)}(),j=function(){function e(){}return Object.defineProperty(e.prototype,"size",{get:function(){var e;return(null===(e=this.slider)||void 0===e?void 0:e.size)||"m"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratio",{get:function(){var e;return((null===(e=this.slider)||void 0===e?void 0:e.valuePercentage)||0)/100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ghostLeft",{get:function(){var e;return this.ratio*((null===(e=this.slider)||void 0===e?void 0:e.elementRef.nativeElement.offsetWidth)||0)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e;n.tuiAssert.assert(Boolean(null===(e=this.control)||void 0===e?void 0:e.valueChanges),'\n[tuiSliderThumbLabel] expected <input tuiSlider type="range" /> to use Angular Forms.\nUse [(ngModel)] or [formControl] or formControlName for correct work.')},h([t.ContentChild(k)],e.prototype,"slider",void 0),h([t.ContentChild(r.NgControl)],e.prototype,"control",void 0),e=h([t.Component({selector:"[tuiSliderThumbLabel]",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',changeDetection:t.ChangeDetectionStrategy.OnPush,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))}"]})],e)}(),z=function(e){function o(t,r,n,o){return e.call(this,t,r,n,o)||this}var i;return g(o,e),i=o,Object.defineProperty(o.prototype,"nativeFocusableElement",{get:function(){return this.dotRight?this.dotRight.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"left",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"right",{get:function(){return 100-100*this.getFractionFromValue(this.value)},enumerable:!0,configurable:!0}),o.prototype.processValue=function(e){this.updateValue(this.valueGuard(e))},o.prototype.decrement=function(){this.processStep(!1)},o.prototype.increment=function(){this.processStep(!0)},o.prototype.getFallbackValue=function(){return 0},o.prototype.processStep=function(e){var t=this.getFractionFromValue(this.value),r=this.computedStep,n=this.getValueFromFraction(e?t+r:t-r);this.processValue(n)},o.ctorParameters=function(){return[{type:r.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[r.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:Document,decorators:[{type:t.Inject,args:[s.DOCUMENT]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[d.TUI_FROM_TO_TEXTS]}]}]},o=i=h([t.Component({selector:"tui-slider",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',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return i}))}],styles:[":host{display:block;border-radius:var(--tui-radius-m);color:var(--tui-base-03);min-height:.125rem;font-size:1rem}:host[data-size='s']{min-height:.125rem;font-size:.5rem}:host._segmented{padding-bottom:1.25rem}:host._disabled{cursor:default;pointer-events:none;opacity:var(--tui-disabled-opacity)}.event-catcher{min-height:inherit;border-radius:inherit;padding:.4375rem 0;cursor:pointer}.wrapper{position:relative;min-height:inherit;border-radius:inherit;background-color:currentColor;border:solid transparent;border-width:0 1em}.bar{position:absolute;top:0;bottom:0;margin:0 -1em;border-radius:inherit;background-color:var(--tui-primary)}:host-context(tui-input-slider) .bar{margin-left:calc(var(--tui-radius-m)/ 2);border-bottom-left-radius:calc(var(--tui-radius-m) * 5) calc(var(--tui-radius-m) * 1.5)}.dot{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:50%;z-index:1;width:1em;height:1em;transform:translate(0,-50%);border-radius:100%;background-color:var(--tui-primary);outline:0;cursor:ew-resize}.dot:last-child{right:0;transform:translate(0,-50%)}.dot:hover{background-color:var(--tui-primary-hover)}.dot:active{background-color:var(--tui-primary-active)}.dot_focus-visible{box-shadow:inset 0 0 0 2px var(--tui-focus)}.segments{position:relative;z-index:1;display:flex;justify-content:space-between;min-height:inherit;margin:0 -1em}.segments-spacer{height:1.625rem}.segment{position:relative;height:inherit;width:.25rem;background-color:rgba(0,0,0,.36);pointer-events:none}.segment:first-of-type,.segment:last-of-type{background-color:transparent}.number{position:absolute;left:50%;transform:translate(-50%,0);top:100%;font:var(--tui-font-text-s);margin-top:.5rem;color:var(--tui-text-02);white-space:nowrap}.segment:first-of-type .number{left:-.05em;transform:none}.segment:last-of-type .number{left:auto;right:-.05em;transform:none}:host._disabled .number{color:var(--tui-text-01)}",".dot:first-child{display:none}.wrapper{border-left:none}.bar,.segments{margin-left:0}"]}),b(0,t.Optional()),b(0,t.Self()),b(0,t.Inject(r.NgControl)),b(1,t.Inject(t.ChangeDetectorRef)),b(2,t.Inject(s.DOCUMENT)),b(3,t.Inject(d.TUI_FROM_TO_TEXTS))],o)}(c.AbstractTuiSlider),O=function(){function e(){}return e=h([t.NgModule({imports:[s.CommonModule,n.TuiRepeatTimesModule,n.TuiFocusableModule,n.TuiFocusVisibleModule,n.TuiActiveZoneModule,l.TuiFormatNumberPipeModule],declarations:[k,j,w,C,_,z],exports:[k,j,w,C,_,z]})],e)}();e.TUI_SLIDER_DEFAULT_OPTIONS=v,e.TUI_SLIDER_OPTIONS=y,e.TuiSliderComponent=k,e.TuiSliderKeyStepsDirective=w,e.TuiSliderModule=O,e.TuiSliderOldComponent=z,e.TuiSliderReadonlyDirective=C,e.TuiSliderThumbLabelComponent=j,e.TuiSliderTickLabelPipe=_,e.tuiSliderOptionsProvider=function(e){return{provide:y,useValue:m(m({},v),e)}},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/utils"),require("rxjs/operators"),require("@ng-web-apis/common"),require("@angular/common"),require("rxjs"),require("@taiga-ui/core"),require("@taiga-ui/kit/abstract"),require("@taiga-ui/kit/tokens")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/slider",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/kit/utils","rxjs/operators","@ng-web-apis/common","@angular/common","rxjs","@taiga-ui/core","@taiga-ui/kit/abstract","@taiga-ui/kit/tokens"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components.slider={}),e.ng.core,e.ng.forms,e.cdk,e["taiga-ui"].kit.utils,e.rxjs.operators,e.common,e.ng.common,e.rxjs,e.core$1,e["taiga-ui"].kit.abstract,e["taiga-ui"].kit.tokens)}(this,(function(e,t,r,n,o,i,a,s,u,l,c,d){"use strict";var p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m=function(){return(m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function h(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function b(e,t){return function(r,n){t(r,n,e)}}Object.create;function f(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}Object.create;var v={size:"m",trackColor:"var(--tui-base-03)"},y=new t.InjectionToken("Default parameters for Slider component",{factory:function(){return v}});var k=function(){function e(e,t,o,a,s,u){var l;this.control=e,this.options=o,this.elementRef=a,this.userAgent=s,this.injector=u,this.size=this.options.size,this.segments=1,e instanceof r.NgModel&&(null===(l=e.valueChanges)||void 0===l||l.pipe(n.watch(t),i.take(1)).subscribe())}return Object.defineProperty(e.prototype,"min",{get:function(){return Number(this.elementRef.nativeElement.min)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return Number(this.elementRef.nativeElement.max||100)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return Number(this.elementRef.nativeElement.step)||1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var e=this.elementRef,t=this.control;return!this.hasKeySteps&&t instanceof r.NgModel?t.viewModel:Number(e.nativeElement.value)||0},set:function(e){this.elementRef.nativeElement.value=""+e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valuePercentage",{get:function(){return 100*(this.value-this.min)/(this.max-this.min)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentWidth",{get:function(){return 100/Math.max(1,this.segments)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isOldEdge",{get:function(){return n.isEdgeOlderThan(n.CHROMIUM_EDGE_START_VERSION,this.userAgent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasKeySteps",{get:function(){return Boolean(this.injector.get(w,null))},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:r.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[r.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:void 0,decorators:[{type:t.Inject,args:[y]}]},{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:String,decorators:[{type:t.Inject,args:[a.USER_AGENT]}]},{type:t.Injector,decorators:[{type:t.Inject,args:[t.Injector]}]}]},h([t.Input(),t.HostBinding("attr.data-size"),n.tuiDefaultProp()],e.prototype,"size",void 0),h([t.Input(),n.tuiDefaultProp()],e.prototype,"segments",void 0),h([t.HostBinding("style.--tui-slider-fill-percentage.%")],e.prototype,"valuePercentage",null),h([t.HostBinding("style.--tui-slider-segment-width.%")],e.prototype,"segmentWidth",null),h([t.HostBinding("class._old-edge")],e.prototype,"isOldEdge",null),h([n.tuiPure],e.prototype,"hasKeySteps",null),e=h([t.Component({selector:"input[type=range][tuiSlider]",template:"",host:{"(input)":"0","[style.--tui-slider-track-color]":"options.trackColor"},changeDetection:t.ChangeDetectionStrategy.OnPush,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}"]}),b(0,t.Optional()),b(0,t.Self()),b(0,t.Inject(r.NgControl)),b(1,t.Inject(t.ChangeDetectorRef)),b(2,t.Inject(y)),b(3,t.Inject(t.ElementRef)),b(4,t.Inject(a.USER_AGENT)),b(5,t.Inject(t.Injector))],e)}(),w=function(e){function a(t,r,o,a){var s=e.call(this,t,r)||this;return s.elementRef=o,s.slider=a,s.keySteps=[],s.keyStepsInput=n.typedFromEvent(s.elementRef.nativeElement,"input").pipe(i.map((function(){return s.controlValue}))),s}return g(a,e),Object.defineProperty(a.prototype,"nativeFocusableElement",{get:function(){return this.computedDisabled?null:this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"min",{get:function(){var e;return(null===(e=this.keySteps[0])||void 0===e?void 0:e[1])||0},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"max",{get:function(){var e;return(null===(e=this.keySteps[this.keySteps.length-1])||void 0===e?void 0:e[1])||100},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"controlValue",{get:function(){return o.tuiPercentageToKeyStepValue(this.slider.valuePercentage,this.keySteps)},enumerable:!0,configurable:!0}),a.prototype.updateControlValue=function(){this.updateValue(this.controlValue)},a.prototype.writeValue=function(e){if(null!==e){var t=n.clamp(e,this.min,this.max);n.tuiAssert.assert(e===t,"\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max"),this.slider.value=this.transformToNativeValue(t)}},a.prototype.getFallbackValue=function(){return 0},a.prototype.transformToNativeValue=function(e){var t=this.slider,r=t.min,n=t.max;return o.tuiKeyStepValueToPercentage(e,this.keySteps)*(n-r)/100+r},a.ctorParameters=function(){return[{type:r.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[r.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:k,decorators:[{type:t.Inject,args:[t.forwardRef((function(){return k}))]}]}]},h([t.Input(),n.tuiDefaultProp(o.tuiCheckKeyStepsHaveMinMaxPercents,"Should contain min and max values")],a.prototype,"keySteps",void 0),h([t.Output()],a.prototype,"keyStepsInput",void 0),h([t.HostListener("change")],a.prototype,"updateControlValue",null),a=h([t.Directive({selector:"input[tuiSlider][keySteps]",host:{"[attr.aria-valuenow]":"safeCurrentValue","[attr.aria-valuemin]":"min","[attr.aria-valuemax]":"max"}}),b(0,t.Optional()),b(0,t.Self()),b(0,t.Inject(r.NgControl)),b(1,t.Inject(t.ChangeDetectorRef)),b(2,t.Inject(t.ElementRef)),b(3,t.Inject(t.forwardRef((function(){return k}))))],a)}(n.AbstractTuiControl),j=function(){function e(){}return e.prototype.transform=function(e,t,r){var n=100/t*e;return o.tuiPercentageToKeyStepValue(n,r)},e=h([t.Pipe({name:"tuiSliderTickLabel"})],e)}(),S=new Set(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","PageUp","PageDown"]),_=function(){function e(e,t,r){var o=this;this.readonly=!0;var a=n.typedFromEvent(e.nativeElement,"touchstart",{passive:!1}),s=n.typedFromEvent(t,"touchmove",{passive:!1}),l=n.typedFromEvent(t,"touchend",{passive:!0}),c=u.merge(a.pipe(i.tap((function(e){return o.preventEvent(e)})),i.mapTo(!0)),l.pipe(i.mapTo(!1)));u.combineLatest([s,c]).pipe(i.filter((function(e){var t=f(e,2);t[0];return t[1]})),i.takeUntil(r)).subscribe((function(e){var t=f(e,1)[0];return o.preventEvent(t)}))}return e.prototype.preventEvent=function(e){e.cancelable&&n.tuiCoerceBooleanProperty(this.readonly)&&e.preventDefault()},e.prototype.preventKeyboardInteraction=function(e){S.has(e.key)&&this.preventEvent(e)},e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:Document,decorators:[{type:t.Inject,args:[s.DOCUMENT]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[n.TuiDestroyService]}]}]},h([t.Input(),n.tuiDefaultProp()],e.prototype,"readonly",void 0),h([t.HostListener("mousedown",["$event"])],e.prototype,"preventEvent",null),h([t.HostListener("keydown",["$event"])],e.prototype,"preventKeyboardInteraction",null),e=h([t.Directive({selector:"input[tuiSlider][readonly]",providers:[n.TuiDestroyService]}),b(0,t.Inject(t.ElementRef)),b(1,t.Inject(s.DOCUMENT)),b(2,t.Inject(n.TuiDestroyService))],e)}(),C=function(){function e(){}return Object.defineProperty(e.prototype,"size",{get:function(){var e;return(null===(e=this.slider)||void 0===e?void 0:e.size)||"m"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratio",{get:function(){var e;return((null===(e=this.slider)||void 0===e?void 0:e.valuePercentage)||0)/100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ghostLeft",{get:function(){var e;return this.ratio*((null===(e=this.slider)||void 0===e?void 0:e.elementRef.nativeElement.offsetWidth)||0)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e;n.tuiAssert.assert(Boolean(null===(e=this.control)||void 0===e?void 0:e.valueChanges),'\n[tuiSliderThumbLabel] expected <input tuiSlider type="range" /> to use Angular Forms.\nUse [(ngModel)] or [formControl] or formControlName for correct work.')},h([t.ContentChild(k)],e.prototype,"slider",void 0),h([t.ContentChild(r.NgControl)],e.prototype,"control",void 0),e=h([t.Component({selector:"[tuiSliderThumbLabel]",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',changeDetection:t.ChangeDetectionStrategy.OnPush,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))}"]})],e)}(),z=function(e){function o(t,r,n,o){return e.call(this,t,r,n,o)||this}var i;return g(o,e),i=o,Object.defineProperty(o.prototype,"nativeFocusableElement",{get:function(){return this.dotRight?this.dotRight.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"left",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"right",{get:function(){return 100-100*this.getFractionFromValue(this.value)},enumerable:!0,configurable:!0}),o.prototype.processValue=function(e){this.updateValue(this.valueGuard(e))},o.prototype.decrement=function(){this.processStep(!1)},o.prototype.increment=function(){this.processStep(!0)},o.prototype.getFallbackValue=function(){return 0},o.prototype.processStep=function(e){var t=this.getFractionFromValue(this.value),r=this.computedStep,n=this.getValueFromFraction(e?t+r:t-r);this.processValue(n)},o.ctorParameters=function(){return[{type:r.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[r.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:Document,decorators:[{type:t.Inject,args:[s.DOCUMENT]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[d.TUI_FROM_TO_TEXTS]}]}]},o=i=h([t.Component({selector:"tui-slider",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',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return i}))}],styles:[":host{display:block;border-radius:var(--tui-radius-m);color:var(--tui-base-03);min-height:.125rem;font-size:1rem}:host[data-size='s']{min-height:.125rem;font-size:.5rem}:host._segmented{padding-bottom:1.25rem}:host._disabled{cursor:default;pointer-events:none;opacity:var(--tui-disabled-opacity)}.event-catcher{min-height:inherit;border-radius:inherit;padding:.4375rem 0;cursor:pointer}.wrapper{position:relative;min-height:inherit;border-radius:inherit;background-color:currentColor;border:solid transparent;border-width:0 1em}.bar{position:absolute;top:0;bottom:0;margin:0 -1em;border-radius:inherit;background-color:var(--tui-primary)}:host-context(tui-input-slider) .bar{margin-left:calc(var(--tui-radius-m)/ 2);border-bottom-left-radius:calc(var(--tui-radius-m) * 5) calc(var(--tui-radius-m) * 1.5)}.dot{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:50%;z-index:1;width:1em;height:1em;transform:translate(0,-50%);border-radius:100%;background-color:var(--tui-primary);outline:0;cursor:ew-resize}.dot:last-child{right:0;transform:translate(0,-50%)}.dot:hover{background-color:var(--tui-primary-hover)}.dot:active{background-color:var(--tui-primary-active)}.dot_focus-visible{box-shadow:inset 0 0 0 2px var(--tui-focus)}.segments{position:relative;z-index:1;display:flex;justify-content:space-between;min-height:inherit;margin:0 -1em}.segments-spacer{height:1.625rem}.segment{position:relative;height:inherit;width:.25rem;background-color:rgba(0,0,0,.36);pointer-events:none}.segment:first-of-type,.segment:last-of-type{background-color:transparent}.number{position:absolute;left:50%;transform:translate(-50%,0);top:100%;font:var(--tui-font-text-s);margin-top:.5rem;color:var(--tui-text-02);white-space:nowrap}.segment:first-of-type .number{left:-.05em;transform:none}.segment:last-of-type .number{left:auto;right:-.05em;transform:none}:host._disabled .number{color:var(--tui-text-01)}",".dot:first-child{display:none}.wrapper{border-left:none}.bar,.segments{margin-left:0}"]}),b(0,t.Optional()),b(0,t.Self()),b(0,t.Inject(r.NgControl)),b(1,t.Inject(t.ChangeDetectorRef)),b(2,t.Inject(s.DOCUMENT)),b(3,t.Inject(d.TUI_FROM_TO_TEXTS))],o)}(c.AbstractTuiSlider),I=function(){function e(){}return e=h([t.NgModule({imports:[s.CommonModule,n.TuiRepeatTimesModule,n.TuiFocusableModule,n.TuiFocusVisibleModule,n.TuiActiveZoneModule,l.TuiFormatNumberPipeModule],declarations:[k,C,w,_,j,z],exports:[k,C,w,_,j,z]})],e)}();e.TUI_SLIDER_DEFAULT_OPTIONS=v,e.TUI_SLIDER_OPTIONS=y,e.TuiSliderComponent=k,e.TuiSliderKeyStepsDirective=w,e.TuiSliderModule=I,e.TuiSliderOldComponent=z,e.TuiSliderReadonlyDirective=_,e.TuiSliderThumbLabelComponent=C,e.TuiSliderTickLabelPipe=j,e.tuiSliderOptionsProvider=function(e){return{provide:y,useValue:m(m({},v),e)}},Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=taiga-ui-kit-components-slider.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","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"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","TUI_SLIDER_DEFAULT_OPTIONS","size","trackColor","TUI_SLIDER_OPTIONS","InjectionToken","factory","TuiSliderComponent","control","changeDetectorRef","options","elementRef","userAgent","segments","NgModel","_a","valueChanges","pipe","watch","take","subscribe","Number","nativeElement","min","max","step","hasAttribute","viewModel","newValue","Math","isEdgeOlderThan","CHROMIUM_EDGE_START_VERSION","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","ElementRef","USER_AGENT","Input","HostBinding","tuiDefaultProp","Component","selector","template","host","(input)","[style.--tui-slider-track-color]","changeDetection","ChangeDetectionStrategy","OnPush","TuiSliderKeyStepsDirective","slider","_this","_super","keySteps","keyStepsInput","typedFromEvent","map","controlValue","computedDisabled","isNativeFocused","nativeFocusableElement","tuiPercentageToKeyStepValue","valuePercentage","updateControlValue","updateValue","writeValue","clampedControlValue","clamp","tuiAssert","assert","transformToNativeValue","getFallbackValue","tuiKeyStepValueToPercentage","tuiCheckKeyStepsHaveMinMaxPercents","Output","HostListener","Directive","[attr.data-key-steps]","[attr.aria-valuenow]","[attr.aria-valuemin]","[attr.aria-valuemax]","AbstractTuiControl","TuiSliderTickLabelPipe","transform","tickIndex","totalSegments","percentage","Pipe","name","SLIDER_INTERACTION_KEYS","Set","TuiSliderReadonlyDirective","documentRef","destroy$","readonly","touchStart$","passive","touchMove$","touchEnd$","shouldPreventMove$","merge","tap","preventEvent","mapTo","combineLatest","filter","_b","takeUntil","moveEvent","event","cancelable","tuiCoerceBooleanProperty","preventDefault","preventKeyboardInteraction","has","Document","DOCUMENT","Observable","TuiDestroyService","providers","TuiSliderThumbLabelComponent","ratio","offsetWidth","ngAfterContentInit","Boolean","ContentChild","TuiSliderOldComponent","fromToTexts$","dotRight","getFractionFromValue","processValue","valueGuard","decrement","processStep","increment","fraction","computedStep","getValueFromFraction","TUI_FROM_TO_TEXTS","TuiSliderOldComponent_1","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiSlider","TuiSliderModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","TuiFocusableModule","TuiFocusVisibleModule","TuiActiveZoneModule","TuiFormatNumberPipeModule","declarations","exports","useValue"],"mappings":"+iCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GA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gCCGZ,SAAAC,KAA8B,OAAjBA,EAAe9K,EAAA,CA1B3B+K,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,qBACAC,EAAAA,mBACAC,EAAAA,sBACAC,EAAAA,oBACAC,EAAAA,2BAEJC,aAAc,CACVvJ,EACAqH,EACAvE,EACA0C,EACAT,EACA4C,GAEJ6B,QAAS,CACLxJ,EACAqH,EACAvE,EACA0C,EACAT,EACA4C,MAGKmB,+RN1BT3I,GAEA,MAAO,CACHsI,QAAS5I,EACT4J,SAAQlM,EAAAA,EAAA,GAAMmC,GAA+BS","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","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 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 watch,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\nimport {take} from 'rxjs/operators';\n\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} = this;\n const noKeySteps = !elementRef.nativeElement.hasAttribute('data-key-steps');\n\n if (noKeySteps && 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 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 ) {\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 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.data-key-steps]': 'true',\n '[attr.aria-valuenow]': 'controlValue',\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(TuiSliderComponent) private readonly slider: TuiSliderComponent,\n ) {\n super(control, changeDetectorRef);\n }\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"]}
1
+ {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","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"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","TUI_SLIDER_DEFAULT_OPTIONS","size","trackColor","TUI_SLIDER_OPTIONS","InjectionToken","factory","TuiSliderComponent","control","changeDetectorRef","options","elementRef","userAgent","injector","segments","NgModel","_a","valueChanges","pipe","watch","take","subscribe","Number","nativeElement","min","max","step","hasKeySteps","viewModel","newValue","Math","isEdgeOlderThan","CHROMIUM_EDGE_START_VERSION","Boolean","get","TuiSliderKeyStepsDirective","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","ElementRef","USER_AGENT","Injector","Input","HostBinding","tuiDefaultProp","tuiPure","Component","selector","template","host","(input)","[style.--tui-slider-track-color]","changeDetection","ChangeDetectionStrategy","OnPush","slider","_this","_super","keySteps","keyStepsInput","typedFromEvent","map","controlValue","computedDisabled","isNativeFocused","nativeFocusableElement","tuiPercentageToKeyStepValue","valuePercentage","updateControlValue","updateValue","writeValue","clampedControlValue","clamp","tuiAssert","assert","transformToNativeValue","getFallbackValue","tuiKeyStepValueToPercentage","forwardRef","tuiCheckKeyStepsHaveMinMaxPercents","Output","HostListener","Directive","[attr.aria-valuenow]","[attr.aria-valuemin]","[attr.aria-valuemax]","AbstractTuiControl","TuiSliderTickLabelPipe","transform","tickIndex","totalSegments","percentage","Pipe","name","SLIDER_INTERACTION_KEYS","Set","TuiSliderReadonlyDirective","documentRef","destroy$","readonly","touchStart$","passive","touchMove$","touchEnd$","shouldPreventMove$","merge","tap","preventEvent","mapTo","combineLatest","filter","_b","takeUntil","moveEvent","event","cancelable","tuiCoerceBooleanProperty","preventDefault","preventKeyboardInteraction","has","Document","DOCUMENT","Observable","TuiDestroyService","providers","TuiSliderThumbLabelComponent","ratio","offsetWidth","ngAfterContentInit","ContentChild","TuiSliderOldComponent","fromToTexts$","dotRight","getFractionFromValue","processValue","valueGuard","decrement","processStep","increment","fraction","computedStep","getValueFromFraction","TUI_FROM_TO_TEXTS","TuiSliderOldComponent_1","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","AbstractTuiSlider","TuiSliderModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","TuiFocusableModule","TuiFocusVisibleModule","TuiActiveZoneModule","TuiFormatNumberPipeModule","declarations","exports","useValue"],"mappings":"+iCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAG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EAAA,EAAAoD,EAAAA,YACApD,EAAA,EAAAqD,EAAAA,QACArD,EAAA,EAAAsD,EAAAA,OAAOJ,EAAAA,YAEPlD,EAAA,EAAAsD,EAAAA,OAAOE,EAAAA,oBACPxD,EAAA,EAAAsD,EAAAA,OAAOqF,EAAAA,WACP3I,EAAA,EAAAsD,EAAAA,OAAO0G,EAAAA,qBAXHZ,IACDiB,EAAAA,gCCGZ,SAAAC,KAA8B,OAAjBA,EAAejL,EAAA,CA1B3BkL,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,qBACAC,EAAAA,mBACAC,EAAAA,sBACAC,EAAAA,oBACAC,EAAAA,2BAEJC,aAAc,CACV1J,EACA0H,EACA9F,EACAiE,EACAT,EACA2C,GAEJ4B,QAAS,CACL3J,EACA0H,EACA9F,EACAiE,EACAT,EACA2C,MAGKkB,+RN1BT9I,GAEA,MAAO,CACH0I,QAAShJ,EACT+J,SAAQrM,EAAAA,EAAA,GAAMmC,GAA+BS","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","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"]}
@@ -254,17 +254,17 @@
254
254
  }
255
255
 
256
256
  var ONLY_HORIZONTAL_SCROLL = {
257
- block: 'nearest',
258
- inline: 'center',
257
+ block: "nearest",
258
+ inline: "center",
259
259
  };
260
260
  var ONLY_VERTICAL_SCROLL = {
261
- block: 'center',
262
- inline: 'nearest',
261
+ block: "center",
262
+ inline: "nearest",
263
263
  };
264
264
  var TuiStepperComponent = /** @class */ (function () {
265
265
  function TuiStepperComponent() {
266
266
  this.steps = cdk.EMPTY_QUERY;
267
- this.orientation = 'horizontal';
267
+ this.orientation = "horizontal";
268
268
  this.activeItemIndex = 0;
269
269
  this.activeItemIndexChange = new core.EventEmitter();
270
270
  }
@@ -278,14 +278,14 @@
278
278
  configurable: true
279
279
  });
280
280
  TuiStepperComponent.prototype.onHorizontal = function (event, step) {
281
- if (this.orientation !== 'horizontal' || !event.target) {
281
+ if (this.orientation !== "horizontal" || !event.target) {
282
282
  return;
283
283
  }
284
284
  event.preventDefault();
285
285
  this.moveFocus(event.target, step);
286
286
  };
287
287
  TuiStepperComponent.prototype.onVertical = function (event, step) {
288
- if (this.orientation !== 'vertical' || !event.target) {
288
+ if (this.orientation !== "vertical" || !event.target) {
289
289
  return;
290
290
  }
291
291
  event.preventDefault();
@@ -320,7 +320,7 @@
320
320
  cdk.moveFocus(stepElements.indexOf(current), stepElements, step);
321
321
  };
322
322
  TuiStepperComponent.prototype.scrollIntoView = function (targetStepIndex) {
323
- this.getNativeElements(this.steps)[targetStepIndex].scrollIntoView(this.orientation === 'vertical'
323
+ this.getNativeElements(this.steps)[targetStepIndex].scrollIntoView(this.orientation === "vertical"
324
324
  ? ONLY_VERTICAL_SCROLL
325
325
  : ONLY_HORIZONTAL_SCROLL);
326
326
  };
@@ -329,7 +329,7 @@
329
329
  ], TuiStepperComponent.prototype, "steps", void 0);
330
330
  __decorate([
331
331
  core.Input(),
332
- core.HostBinding('attr.data-orientation'),
332
+ core.HostBinding("attr.data-orientation"),
333
333
  cdk.tuiDefaultProp()
334
334
  ], TuiStepperComponent.prototype, "orientation", void 0);
335
335
  __decorate([
@@ -343,19 +343,19 @@
343
343
  cdk.tuiPure
344
344
  ], TuiStepperComponent.prototype, "changes$", null);
345
345
  __decorate([
346
- core.HostListener('keydown.arrowRight', ['$event', '1']),
347
- core.HostListener('keydown.arrowLeft', ['$event', '-1'])
346
+ core.HostListener("keydown.arrowRight", ["$event", "1"]),
347
+ core.HostListener("keydown.arrowLeft", ["$event", "-1"])
348
348
  ], TuiStepperComponent.prototype, "onHorizontal", null);
349
349
  __decorate([
350
- core.HostListener('keydown.arrowDown', ['$event', '1']),
351
- core.HostListener('keydown.arrowUp', ['$event', '-1'])
350
+ core.HostListener("keydown.arrowDown", ["$event", "1"]),
351
+ core.HostListener("keydown.arrowUp", ["$event", "-1"])
352
352
  ], TuiStepperComponent.prototype, "onVertical", null);
353
353
  __decorate([
354
354
  cdk.tuiPure
355
355
  ], TuiStepperComponent.prototype, "getNativeElements", null);
356
356
  TuiStepperComponent = __decorate([
357
357
  core.Component({
358
- selector: 'tui-stepper, nav[tuiStepper]',
358
+ selector: "tui-stepper, nav[tuiStepper]",
359
359
  template: "<ng-container *ngIf=\"changes$ | async\"></ng-container>\n<ng-content></ng-content>\n",
360
360
  changeDetection: core.ChangeDetectionStrategy.OnPush,
361
361
  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}"]
@@ -369,8 +369,8 @@
369
369
  var _this = this;
370
370
  this.stepper = stepper;
371
371
  this.elementRef = elementRef;
372
- this.state = 'normal';
373
- this.icon = '';
372
+ this.state = "normal";
373
+ this.icon = "";
374
374
  this.focusVisible = false;
375
375
  routerLinkActive$.pipe(operators.filter(rxjs.identity)).subscribe(function () {
376
376
  _this.activate();
@@ -388,7 +388,7 @@
388
388
  });
389
389
  Object.defineProperty(TuiStepComponent.prototype, "isVertical", {
390
390
  get: function () {
391
- return this.stepper.orientation === 'vertical';
391
+ return this.stepper.orientation === "vertical";
392
392
  },
393
393
  enumerable: true,
394
394
  configurable: true
@@ -418,7 +418,7 @@
418
418
  ]; };
419
419
  __decorate([
420
420
  core.Input(),
421
- core.HostBinding('attr.data-state'),
421
+ core.HostBinding("attr.data-state"),
422
422
  cdk.tuiDefaultProp()
423
423
  ], TuiStepComponent.prototype, "state", void 0);
424
424
  __decorate([
@@ -426,30 +426,30 @@
426
426
  cdk.tuiDefaultProp()
427
427
  ], TuiStepComponent.prototype, "icon", void 0);
428
428
  __decorate([
429
- core.HostBinding('class._focus-visible')
429
+ core.HostBinding("class._focus-visible")
430
430
  ], TuiStepComponent.prototype, "focusVisible", void 0);
431
431
  __decorate([
432
- core.HostBinding('class._active')
432
+ core.HostBinding("class._active")
433
433
  ], TuiStepComponent.prototype, "isActive", null);
434
434
  __decorate([
435
- core.HostBinding('class._vertical')
435
+ core.HostBinding("class._vertical")
436
436
  ], TuiStepComponent.prototype, "isVertical", null);
437
437
  __decorate([
438
- core.HostBinding('tabIndex')
438
+ core.HostBinding("tabIndex")
439
439
  ], TuiStepComponent.prototype, "tabIndex", null);
440
440
  __decorate([
441
- core.HostListener('click')
441
+ core.HostListener("click")
442
442
  ], TuiStepComponent.prototype, "activate", null);
443
443
  TuiStepComponent = __decorate([
444
444
  core.Component({
445
- selector: 'button[tuiStep], a[tuiStep]:not([routerLink]), a[tuiStep][routerLink][routerLinkActive]',
446
- template: "<tui-svg\n *ngIf=\"icon\"\n class=\"marker marker_custom\"\n [src]=\"icon\"\n></tui-svg>\n<tui-svg\n src=\"tuiIconWarningLarge\"\n class=\"marker marker_error\"\n></tui-svg>\n<tui-svg\n src=\"tuiIconCheckLarge\"\n class=\"marker marker_pass\"\n></tui-svg>\n<div class=\"marker marker_index\"></div>\n<ng-content></ng-content>\n",
445
+ selector: "button[tuiStep], a[tuiStep]:not([routerLink]), a[tuiStep][routerLink][routerLinkActive]",
446
+ 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",
447
447
  changeDetection: core.ChangeDetectionStrategy.OnPush,
448
448
  providers: [cdk.TuiDestroyService, core$1.TuiRouterLinkActiveService, cdk.TuiFocusVisibleService],
449
449
  host: {
450
- type: 'button',
450
+ type: "button",
451
451
  },
452
- 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)}.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 .marker{background:var(--tui-base-03);color:var(--tui-base-07)}.marker_index:before{content:counter(steps)}:host:hover .marker_index{color:var(--tui-link-hover);background:var(--tui-secondary-hover)}:host._active .marker_index{color:var(--tui-primary-text);background:var(--tui-primary)}:host:not(._active) .marker_custom~.marker_index,:host:not([data-state=normal]):not(._active) .marker_index{display:none}.marker_error{background:var(--tui-error-bg);color:var(--tui-error-fill)}:host:hover .marker_error{background:var(--tui-error-bg-hover);color:var(--tui-error-fill)}:host._active .marker_error,:host:not([data-state=error]) .marker_error{display:none}:host._active .marker_pass,:host:not([data-state=pass]) .marker_pass{display:none}:host._active .marker_custom,:host:not([data-state=normal]) .marker_custom{display:none}:host:hover .marker_custom{color:var(--tui-link-hover);background:var(--tui-secondary-hover)}"]
452
+ 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)}"]
453
453
  }),
454
454
  __param(0, core.Inject(cdk.TuiFocusVisibleService)),
455
455
  __param(1, core.Inject(core$1.TuiRouterLinkActiveService)),