@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
@@ -8,13 +8,13 @@ import { CommonModule } from '@angular/common';
8
8
 
9
9
  /** Default values for the checkbox options. */
10
10
  var TUI_RADIO_DEFAULT_OPTIONS = {
11
- size: 'm',
11
+ size: "m",
12
12
  appearances: {
13
13
  unchecked: "outline" /* Outline */,
14
14
  checked: "primary" /* Primary */,
15
15
  },
16
16
  };
17
- var TUI_RADIO_OPTIONS = new InjectionToken('Default parameters for radio component', {
17
+ var TUI_RADIO_OPTIONS = new InjectionToken("Default parameters for radio component", {
18
18
  factory: function () { return TUI_RADIO_DEFAULT_OPTIONS; },
19
19
  });
20
20
  var tuiRadioOptionsProvider = function (options) { return ({
@@ -34,7 +34,7 @@ var TuiRadioComponent = /** @class */ (function (_super) {
34
34
  _this.name = null;
35
35
  _this.size = _this.options.size;
36
36
  _this.pseudoDisabled = false;
37
- _this.animation = __assign({ value: '' }, _this.animationOptions);
37
+ _this.animation = __assign({ value: "" }, _this.animationOptions);
38
38
  return _this;
39
39
  }
40
40
  TuiRadioComponent_1 = TuiRadioComponent;
@@ -83,7 +83,7 @@ var TuiRadioComponent = /** @class */ (function (_super) {
83
83
  });
84
84
  Object.defineProperty(TuiRadioComponent.prototype, "computedName", {
85
85
  get: function () {
86
- return this.name || this.radioGroupName || this.controlName || '';
86
+ return this.name || this.radioGroupName || this.controlName || "";
87
87
  },
88
88
  enumerable: true,
89
89
  configurable: true
@@ -128,7 +128,7 @@ var TuiRadioComponent = /** @class */ (function (_super) {
128
128
  { type: TuiRadioGroupComponent, decorators: [{ type: Optional }, { type: Inject, args: [TuiRadioGroupComponent,] }] }
129
129
  ]; };
130
130
  __decorate([
131
- ViewChild('focusableElement')
131
+ ViewChild("focusableElement")
132
132
  ], TuiRadioComponent.prototype, "focusableElement", void 0);
133
133
  __decorate([
134
134
  Input()
@@ -143,7 +143,7 @@ var TuiRadioComponent = /** @class */ (function (_super) {
143
143
  ], TuiRadioComponent.prototype, "name", void 0);
144
144
  __decorate([
145
145
  Input(),
146
- HostBinding('attr.data-size'),
146
+ HostBinding("attr.data-size"),
147
147
  tuiDefaultProp()
148
148
  ], TuiRadioComponent.prototype, "size", void 0);
149
149
  __decorate([
@@ -151,12 +151,12 @@ var TuiRadioComponent = /** @class */ (function (_super) {
151
151
  tuiDefaultProp()
152
152
  ], TuiRadioComponent.prototype, "pseudoDisabled", void 0);
153
153
  __decorate([
154
- HostBinding('class._disabled')
154
+ HostBinding("class._disabled")
155
155
  ], TuiRadioComponent.prototype, "computedDisabled", null);
156
156
  TuiRadioComponent = TuiRadioComponent_1 = __decorate([
157
157
  Component({
158
- selector: 'tui-radio',
159
- template: "<tui-wrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focused]=\"computedFocusVisible\"\n [hovered]=\"computedHovered\"\n [pressed]=\"computedPressed\"\n [invalid]=\"computedInvalid\"\n>\n <div\n *ngIf=\"checked\"\n class=\"mark\"\n [@tuiScaleIn]=\"animation\"\n ></div>\n <input\n #focusableElement\n type=\"radio\"\n class=\"native\"\n [id]=\"id\"\n [attr.name]=\"computedName\"\n [disabled]=\"computedDisabled\"\n [tuiChecked]=\"checked\"\n [tuiFocusable]=\"isFocusable\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (tuiPressedChange)=\"onPressed($event)\"\n (tuiCheckedChange)=\"onChecked($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n />\n</tui-wrapper>\n",
158
+ selector: "tui-radio",
159
+ template: "<tui-wrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focused]=\"computedFocusVisible\"\n [hovered]=\"computedHovered\"\n [pressed]=\"computedPressed\"\n [invalid]=\"computedInvalid\"\n>\n <div\n *ngIf=\"checked\"\n class=\"t-mark\"\n [@tuiScaleIn]=\"animation\"\n ></div>\n <input\n #focusableElement\n type=\"radio\"\n class=\"t-native\"\n [id]=\"id\"\n [attr.name]=\"computedName\"\n [disabled]=\"computedDisabled\"\n [tuiChecked]=\"checked\"\n [tuiFocusable]=\"isFocusable\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (tuiPressedChange)=\"onPressed($event)\"\n (tuiCheckedChange)=\"onChecked($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n />\n</tui-wrapper>\n",
160
160
  changeDetection: ChangeDetectionStrategy.OnPush,
161
161
  providers: [
162
162
  {
@@ -165,7 +165,7 @@ var TuiRadioComponent = /** @class */ (function (_super) {
165
165
  },
166
166
  ],
167
167
  animations: [tuiScaleIn],
168
- styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}:host[data-size='m']{width:1rem;height:1rem}:host[data-size='l']{width:1.5rem;height:1.5rem}:host._readonly{pointer-events:none}.mark{position:absolute;background-color:currentColor;border-radius:100%}:host[data-size='m'] .mark{margin:.25rem;width:.5rem;height:.5rem}:host[data-size='l'] .mark{margin:.4375rem;width:.625rem;height:.625rem}.native{padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.native:-webkit-autofill,.native:-webkit-autofill:focus,.native:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host._disabled .native{cursor:default}"]
168
+ styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}:host[data-size='m']{width:1rem;height:1rem}:host[data-size='l']{width:1.5rem;height:1.5rem}:host._readonly{pointer-events:none}.t-mark{position:absolute;background-color:currentColor;border-radius:100%}:host[data-size='m'] .t-mark{margin:.25rem;width:.5rem;height:.5rem}:host[data-size='l'] .t-mark{margin:.4375rem;width:.625rem;height:.625rem}.t-native{padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native:-webkit-autofill,.t-native:-webkit-autofill:focus,.t-native:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:transparent!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host._disabled .t-native{cursor:default}"]
169
169
  }),
170
170
  __param(0, Optional()),
171
171
  __param(0, Self()),
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-radio.js","sources":["ng://@taiga-ui/kit/components/radio/radio-options.ts","ng://@taiga-ui/kit/components/radio/radio.component.ts","ng://@taiga-ui/kit/components/radio/radio.module.ts","ng://@taiga-ui/kit/components/radio/taiga-ui-kit-components-radio.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiAppearance} from '@taiga-ui/core/enums';\nimport {TuiSizeL} from '@taiga-ui/core/types';\n\nexport interface TuiRadioOptions {\n readonly size: TuiSizeL;\n readonly appearances: Readonly<{\n unchecked: string;\n checked: string;\n }>;\n}\n\n/**\n * @deprecated: use TuiRadioOptions instead\n * todo: remove in 3.0\n */\nexport type RadioOptions = TuiRadioOptions;\n\n/** Default values for the checkbox options. */\nexport const TUI_RADIO_DEFAULT_OPTIONS: TuiRadioOptions = {\n size: 'm',\n appearances: {\n unchecked: TuiAppearance.Outline,\n checked: TuiAppearance.Primary,\n },\n};\n\nexport const TUI_RADIO_OPTIONS = new InjectionToken<TuiRadioOptions>(\n 'Default parameters for radio component',\n {\n factory: () => TUI_RADIO_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiRadioOptionsProvider: (\n options: Partial<TuiRadioOptions>,\n) => ValueProvider = (options: Partial<TuiRadioOptions>) => ({\n provide: TUI_RADIO_OPTIONS,\n useValue: {...TUI_RADIO_DEFAULT_OPTIONS, ...options},\n});\n","import {AnimationOptions} from '@angular/animations';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiIdentityMatcher,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {TUI_ANIMATION_OPTIONS, tuiScaleIn, TuiSizeL} from '@taiga-ui/core';\nimport {TuiRadioGroupComponent} from '@taiga-ui/kit/components/radio-group';\n\nimport {TUI_RADIO_OPTIONS, TuiRadioOptions} from './radio-options';\n\n// @dynamic\n@Component({\n selector: 'tui-radio',\n templateUrl: './radio.template.html',\n styleUrls: ['./radio.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRadioComponent),\n },\n ],\n animations: [tuiScaleIn],\n})\nexport class TuiRadioComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor\n{\n @ViewChild('focusableElement')\n private readonly focusableElement?: ElementRef<TuiNativeFocusableElement>;\n\n @Input()\n item?: T | null;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiIdentityMatcher<T> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n @Input()\n @tuiDefaultProp()\n name: string | null = null;\n\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeL = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n pseudoDisabled = false;\n\n readonly animation = {value: '', ...this.animationOptions} as const;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_ANIMATION_OPTIONS)\n private readonly animationOptions: AnimationOptions,\n @Inject(TUI_RADIO_OPTIONS)\n private readonly options: TuiRadioOptions,\n @Optional()\n @Inject(TuiRadioGroupComponent)\n private readonly radioGroup: TuiRadioGroupComponent | null,\n ) {\n super(control, changeDetectorRef);\n }\n\n get appearance(): string {\n return this.checked\n ? this.options.appearances.checked\n : this.options.appearances.unchecked;\n }\n\n @HostBinding('class._disabled')\n get computedDisabled(): boolean {\n return this.disabled || this.pseudoDisabled;\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.focusableElement || this.computedDisabled\n ? null\n : this.focusableElement.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get checked(): boolean {\n return this.value === null\n ? this.item === null\n : this.item !== undefined &&\n this.item !== null &&\n this.identityMatcher(this.value, this.item);\n }\n\n get computedName(): string {\n return this.name || this.radioGroupName || this.controlName || '';\n }\n\n get isFocusable(): boolean {\n return !this.readOnly && this.computedFocusable;\n }\n\n onChecked(checked: boolean): void {\n if (checked) {\n this.updateValue(this.item !== undefined ? this.item : this.fallbackValue);\n }\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.updateFocusVisible(focusVisible);\n }\n\n private get radioGroupName(): string | null {\n return this.radioGroup === null ? null : this.radioGroup.name;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiCheckedModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiHoveredModule,\n TuiPressedModule,\n} from '@taiga-ui/cdk';\nimport {TuiWrapperModule} from '@taiga-ui/core';\n\nimport {TuiRadioComponent} from './radio.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiCheckedModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiFocusVisibleModule,\n TuiWrapperModule,\n ],\n declarations: [TuiRadioComponent],\n exports: [TuiRadioComponent],\n})\nexport class TuiRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAkBA;IACa,yBAAyB,GAAoB;IACtD,IAAI,EAAE,GAAG;IACT,WAAW,EAAE;QACT,SAAS;QACT,OAAO;KACV;EACH;IAEW,iBAAiB,GAAG,IAAI,cAAc,CAC/C,wCAAwC,EACxC;IACI,OAAO,EAAE,cAAM,OAAA,yBAAyB,GAAA;CAC3C,EACH;IAEW,uBAAuB,GAEf,UAAC,OAAiC,IAAK,QAAC;IACzD,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,wBAAM,yBAAyB,GAAK,OAAO,CAAC;CACvD;;ACTD;;IAeY,qCAA6B;IA4BrC,2BAII,OAAyB,EACE,iBAAoC,EAE9C,gBAAkC,EAElC,OAAwB,EAGxB,UAAyC;QAZ9D,YAcI,kBAAM,OAAO,EAAE,iBAAiB,CAAC,SACpC;QARoB,sBAAgB,GAAhB,gBAAgB,CAAkB;QAElC,aAAO,GAAP,OAAO,CAAiB;QAGxB,gBAAU,GAAV,UAAU,CAA+B;QA7B9D,qBAAe,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B;IAInC;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;6DACM;IA4BvB;QADC,WAAW,CAAC,iBAAiB,CAAC;6DAG9B;IAvDQ,iBAAiB;QAb7B,SAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,s4BAAoC;YAEpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;YAC/C,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,2BAA2B;oBACpC,WAAW,EAAE,UAAU,CAAC,cAAM,OAAA,mBAAiB,GAAA,CAAC;iBACnD;aACJ;YACD,UAAU,EAAE,CAAC,UAAU,CAAC;;SAC3B,CAAC;QA+BO,WAAA,QAAQ,EAAE,CAAA;QACV,WAAA,IAAI,EAAE,CAAA;QACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;QAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;QAE7B,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QAEzB,WAAA,QAAQ,EAAE,CAAA;QACV,WAAA,MAAM,CAAC,sBAAsB,CAAC,CAAA;OAxC1B,iBAAiB,CA4G7B;IAAD,wBAAC;CAAA,CA3GW,0BAA0B;;;ICjBtC;KAA8B;IAAjB,cAAc;QAd1B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,gBAAgB;gBAChB,kBAAkB;gBAClB,gBAAgB;gBAChB,gBAAgB;gBAChB,gBAAgB;gBAChB,qBAAqB;gBACrB,gBAAgB;aACnB;YACD,YAAY,EAAE,CAAC,iBAAiB,CAAC;YACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC/B,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;AC5BA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-radio.js","sources":["ng://@taiga-ui/kit/components/radio/radio-options.ts","ng://@taiga-ui/kit/components/radio/radio.component.ts","ng://@taiga-ui/kit/components/radio/radio.module.ts","ng://@taiga-ui/kit/components/radio/taiga-ui-kit-components-radio.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiAppearance} from '@taiga-ui/core/enums';\nimport {TuiSizeL} from '@taiga-ui/core/types';\n\nexport interface TuiRadioOptions {\n readonly size: TuiSizeL;\n readonly appearances: Readonly<{\n unchecked: string;\n checked: string;\n }>;\n}\n\n/**\n * @deprecated: use TuiRadioOptions instead\n * todo: remove in 3.0\n */\nexport type RadioOptions = TuiRadioOptions;\n\n/** Default values for the checkbox options. */\nexport const TUI_RADIO_DEFAULT_OPTIONS: TuiRadioOptions = {\n size: `m`,\n appearances: {\n unchecked: TuiAppearance.Outline,\n checked: TuiAppearance.Primary,\n },\n};\n\nexport const TUI_RADIO_OPTIONS = new InjectionToken<TuiRadioOptions>(\n `Default parameters for radio component`,\n {\n factory: () => TUI_RADIO_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiRadioOptionsProvider: (\n options: Partial<TuiRadioOptions>,\n) => ValueProvider = (options: Partial<TuiRadioOptions>) => ({\n provide: TUI_RADIO_OPTIONS,\n useValue: {...TUI_RADIO_DEFAULT_OPTIONS, ...options},\n});\n","import {AnimationOptions} from '@angular/animations';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiIdentityMatcher,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {TUI_ANIMATION_OPTIONS, tuiScaleIn, TuiSizeL} from '@taiga-ui/core';\nimport {TuiRadioGroupComponent} from '@taiga-ui/kit/components/radio-group';\n\nimport {TUI_RADIO_OPTIONS, TuiRadioOptions} from './radio-options';\n\n// @dynamic\n@Component({\n selector: `tui-radio`,\n templateUrl: `./radio.template.html`,\n styleUrls: [`./radio.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRadioComponent),\n },\n ],\n animations: [tuiScaleIn],\n})\nexport class TuiRadioComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(`focusableElement`)\n private readonly focusableElement?: ElementRef<TuiNativeFocusableElement>;\n\n @Input()\n item?: T | null;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiIdentityMatcher<T> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n @Input()\n @tuiDefaultProp()\n name: string | null = null;\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeL = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n pseudoDisabled = false;\n\n readonly animation = {value: ``, ...this.animationOptions} as const;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_ANIMATION_OPTIONS)\n private readonly animationOptions: AnimationOptions,\n @Inject(TUI_RADIO_OPTIONS)\n private readonly options: TuiRadioOptions,\n @Optional()\n @Inject(TuiRadioGroupComponent)\n private readonly radioGroup: TuiRadioGroupComponent | null,\n ) {\n super(control, changeDetectorRef);\n }\n\n get appearance(): string {\n return this.checked\n ? this.options.appearances.checked\n : this.options.appearances.unchecked;\n }\n\n @HostBinding(`class._disabled`)\n get computedDisabled(): boolean {\n return this.disabled || this.pseudoDisabled;\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.focusableElement || this.computedDisabled\n ? null\n : this.focusableElement.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get checked(): boolean {\n return this.value === null\n ? this.item === null\n : this.item !== undefined &&\n this.item !== null &&\n this.identityMatcher(this.value, this.item);\n }\n\n get computedName(): string {\n return this.name || this.radioGroupName || this.controlName || ``;\n }\n\n get isFocusable(): boolean {\n return !this.readOnly && this.computedFocusable;\n }\n\n onChecked(checked: boolean): void {\n if (checked) {\n this.updateValue(this.item !== undefined ? this.item : this.fallbackValue);\n }\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.updateFocusVisible(focusVisible);\n }\n\n private get radioGroupName(): string | null {\n return this.radioGroup === null ? null : this.radioGroup.name;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiCheckedModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiHoveredModule,\n TuiPressedModule,\n} from '@taiga-ui/cdk';\nimport {TuiWrapperModule} from '@taiga-ui/core';\n\nimport {TuiRadioComponent} from './radio.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiCheckedModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiFocusVisibleModule,\n TuiWrapperModule,\n ],\n declarations: [TuiRadioComponent],\n exports: [TuiRadioComponent],\n})\nexport class TuiRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAkBA;IACa,yBAAyB,GAAoB;IACtD,IAAI,EAAE,GAAG;IACT,WAAW,EAAE;QACT,SAAS;QACT,OAAO;KACV;EACH;IAEW,iBAAiB,GAAG,IAAI,cAAc,CAC/C,wCAAwC,EACxC;IACI,OAAO,EAAE,cAAM,OAAA,yBAAyB,GAAA;CAC3C,EACH;IAEW,uBAAuB,GAEf,UAAC,OAAiC,IA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BAAkB;gBAClB,gBAAgB;gBAChB,gBAAgB;gBAChB,gBAAgB;gBAChB,qBAAqB;gBACrB,gBAAgB;aACnB;YACD,YAAY,EAAE,CAAC,iBAAiB,CAAC;YACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC/B,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;AC5BA;;;;;;"}
@@ -22,7 +22,7 @@ var TuiNewRangeDirective = /** @class */ (function () {
22
22
  }
23
23
  TuiNewRangeDirective = __decorate([
24
24
  Directive({
25
- selector: 'tui-range[new], tui-input-range[new]',
25
+ selector: "tui-range[new], tui-input-range[new]",
26
26
  })
27
27
  ], TuiNewRangeDirective);
28
28
  return TuiNewRangeDirective;
@@ -49,11 +49,11 @@ var TuiRangeComponent = /** @class */ (function (_super) {
49
49
  * It can be done after removing backward compatibility code inside {@link computePureKeySteps} in v3.0
50
50
  * */
51
51
  _this.quantum = 0;
52
- _this.size = 'm';
52
+ _this.size = "m";
53
53
  _this.segments = 0;
54
54
  _this.keySteps = null;
55
55
  _this.slidersRefs = EMPTY_QUERY;
56
- _this.lastActiveThumb = 'right';
56
+ _this.lastActiveThumb = "right";
57
57
  return _this;
58
58
  }
59
59
  TuiRangeComponent_1 = TuiRangeComponent;
@@ -116,7 +116,7 @@ var TuiRangeComponent = /** @class */ (function (_super) {
116
116
  var leftThumbElement = sliderLeftRef.nativeElement;
117
117
  var rightThumbElement = sliderRightRef.nativeElement;
118
118
  var isRightThumb = target === this.elementRef.nativeElement
119
- ? this.lastActiveThumb === 'right'
119
+ ? this.lastActiveThumb === "right"
120
120
  : target === rightThumbElement;
121
121
  var activeThumbElement = isRightThumb ? rightThumbElement : leftThumbElement;
122
122
  var previousValue = isRightThumb ? this.value[1] : this.value[0];
@@ -136,7 +136,7 @@ var TuiRangeComponent = /** @class */ (function (_super) {
136
136
  else {
137
137
  this.updateStart(guardedValue);
138
138
  }
139
- this.lastActiveThumb = right ? 'right' : 'left';
139
+ this.lastActiveThumb = right ? "right" : "left";
140
140
  };
141
141
  TuiRangeComponent.prototype.fractionGuard = function (fraction) {
142
142
  return clamp(quantize(fraction, this.fractionStep), 0, 1);
@@ -161,10 +161,10 @@ var TuiRangeComponent = /** @class */ (function (_super) {
161
161
  return keySteps;
162
162
  }
163
163
  // TODO replace all function by `return keySteps || [[0, min], [100, max]]` in v3.0
164
- tuiAssert.assert(!keySteps, '\n' +
165
- 'Input property [keySteps] should contain min and max percents.\n' +
166
- 'We have taken [min] and [max] properties of your component for now (but it will not work in v3.0).\n' +
167
- 'See example how properly use [keySteps]: https://taiga-ui.dev/components/range#key-steps');
164
+ tuiAssert.assert(!keySteps, "\n" +
165
+ "Input property [keySteps] should contain min and max percents.\n" +
166
+ "We have taken [min] and [max] properties of your component for now (but it will not work in v3.0).\n" +
167
+ "See example how properly use [keySteps]: https://taiga-ui.dev/components/range#key-steps");
168
168
  return __spread([[0, min]], (keySteps || []), [[100, max]]);
169
169
  };
170
170
  TuiRangeComponent.prototype.updateStart = function (value) {
@@ -196,11 +196,11 @@ var TuiRangeComponent = /** @class */ (function (_super) {
196
196
  ], TuiRangeComponent.prototype, "steps", void 0);
197
197
  __decorate([
198
198
  Input(),
199
- tuiDefaultProp(nonNegativeFiniteAssertion, 'Quantum must be a non-negative number')
199
+ tuiDefaultProp(nonNegativeFiniteAssertion, "Quantum must be a non-negative number")
200
200
  ], TuiRangeComponent.prototype, "quantum", void 0);
201
201
  __decorate([
202
202
  Input(),
203
- HostBinding('attr.data-size'),
203
+ HostBinding("attr.data-size"),
204
204
  tuiDefaultProp()
205
205
  ], TuiRangeComponent.prototype, "size", void 0);
206
206
  __decorate([
@@ -215,32 +215,32 @@ var TuiRangeComponent = /** @class */ (function (_super) {
215
215
  ViewChildren(TuiSliderComponent, { read: ElementRef })
216
216
  ], TuiRangeComponent.prototype, "slidersRefs", void 0);
217
217
  __decorate([
218
- HostBinding('style.--left.%')
218
+ HostBinding("style.--left.%")
219
219
  ], TuiRangeComponent.prototype, "left", null);
220
220
  __decorate([
221
- HostBinding('style.--right.%')
221
+ HostBinding("style.--right.%")
222
222
  ], TuiRangeComponent.prototype, "right", null);
223
223
  __decorate([
224
- HostListener('focusin', ['true']),
225
- HostListener('focusout', ['false'])
224
+ HostListener("focusin", ["true"]),
225
+ HostListener("focusout", ["false"])
226
226
  ], TuiRangeComponent.prototype, "onFocused", null);
227
227
  __decorate([
228
- HostListener('keydown.arrowUp.prevent', ['1', '$event.target']),
229
- HostListener('keydown.arrowRight.prevent', ['1', '$event.target']),
230
- HostListener('keydown.arrowLeft.prevent', ['-1', '$event.target']),
231
- HostListener('keydown.arrowDown.prevent', ['-1', '$event.target'])
228
+ HostListener("keydown.arrowUp.prevent", ["1", "$event.target"]),
229
+ HostListener("keydown.arrowRight.prevent", ["1", "$event.target"]),
230
+ HostListener("keydown.arrowLeft.prevent", ["-1", "$event.target"]),
231
+ HostListener("keydown.arrowDown.prevent", ["-1", "$event.target"])
232
232
  ], TuiRangeComponent.prototype, "changeByStep", null);
233
233
  __decorate([
234
234
  tuiPure
235
235
  ], TuiRangeComponent.prototype, "computePureKeySteps", null);
236
236
  TuiRangeComponent = TuiRangeComponent_1 = __decorate([
237
237
  Component({
238
- selector: 'tui-range',
239
- template: "<div class=\"track\">\n <input\n tuiSlider\n readonly\n type=\"range\"\n step=\"any\"\n automation-id=\"tui-range__left\"\n class=\"thumb\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value[0]\"\n [size]=\"size\"\n [keySteps]=\"computedKeySteps\"\n [tuiFocusable]=\"focusable\"\n [attr.disabled]=\"computedDisabled || null\"\n />\n <input\n tuiSlider\n readonly\n type=\"range\"\n step=\"any\"\n automation-id=\"tui-range__right\"\n class=\"thumb\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value[1]\"\n [size]=\"size\"\n [keySteps]=\"computedKeySteps\"\n [tuiFocusable]=\"focusable\"\n [attr.disabled]=\"computedDisabled || null\"\n />\n</div>\n\n<!-- TODO backward compatibility only (remove in v3.0) -->\n<div\n *ngIf=\"segments > 0\"\n class=\"segments\"\n>\n <span\n *tuiRepeatTimes=\"let tickIndex of segments + 1\"\n automation-id=\"tui-slider__segment\"\n class=\"segment\"\n >\n <ng-container *ngIf=\"fromToTexts$ | async as fromToText\">\n <span\n *ngIf=\"!isNew\"\n class=\"number\"\n >\n {{ getSegmentPrefix(tickIndex, fromToText) }}\n {{ tickIndex | tuiSliderTickLabel: segments:computedKeySteps | tuiFormatNumber }}\n <span *ngIf=\"pluralizeMap\">\n {{ tickIndex | tuiSliderTickLabel: segments:computedKeySteps | i18nPlural: pluralizeMap }}\n </span>\n </span>\n </ng-container>\n </span>\n</div>\n",
238
+ selector: "tui-range",
239
+ template: "<div class=\"t-track\">\n <input\n tuiSlider\n readonly\n type=\"range\"\n step=\"any\"\n automation-id=\"tui-range__left\"\n class=\"t-thumb\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value[0]\"\n [size]=\"size\"\n [keySteps]=\"computedKeySteps\"\n [tuiFocusable]=\"focusable\"\n [attr.disabled]=\"computedDisabled || null\"\n />\n <input\n tuiSlider\n readonly\n type=\"range\"\n step=\"any\"\n automation-id=\"tui-range__right\"\n class=\"t-thumb\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value[1]\"\n [size]=\"size\"\n [keySteps]=\"computedKeySteps\"\n [tuiFocusable]=\"focusable\"\n [attr.disabled]=\"computedDisabled || null\"\n />\n</div>\n\n<!-- TODO backward compatibility only (remove in v3.0) -->\n<div\n *ngIf=\"segments > 0\"\n class=\"t-segments\"\n>\n <span\n *tuiRepeatTimes=\"let tickIndex of segments + 1\"\n automation-id=\"tui-slider__segment\"\n class=\"t-segment\"\n >\n <ng-container *ngIf=\"fromToTexts$ | async as fromToText\">\n <span\n *ngIf=\"!isNew\"\n class=\"t-number\"\n >\n {{ getSegmentPrefix(tickIndex, fromToText) }}\n {{ tickIndex | tuiSliderTickLabel: segments:computedKeySteps | tuiFormatNumber }}\n <span *ngIf=\"pluralizeMap\">\n {{ tickIndex | tuiSliderTickLabel: segments:computedKeySteps | i18nPlural: pluralizeMap }}\n </span>\n </span>\n </ng-container>\n </span>\n</div>\n",
240
240
  changeDetection: ChangeDetectionStrategy.OnPush,
241
241
  host: {
242
- '[attr.tabindex]': '-1',
243
- '[attr.aria-disabled]': 'computedDisabled',
242
+ '[attr.tabindex]': "-1",
243
+ '[attr.aria-disabled]': "computedDisabled",
244
244
  },
245
245
  providers: [
246
246
  {
@@ -248,7 +248,7 @@ var TuiRangeComponent = /** @class */ (function (_super) {
248
248
  useExisting: forwardRef(function () { return TuiRangeComponent_1; }),
249
249
  },
250
250
  ],
251
- styles: [":host{position:relative;display:block;height:.125rem;border-radius:var(--tui-radius-m);background:var(--tui-base-03);cursor:pointer;outline:0;margin:.4375rem 0;touch-action:pan-x}:host:active{cursor:ew-resize}:host:after{content:'';position:absolute;top:-.4375rem;bottom:-.4375rem;width:100%}:host._disabled{opacity:var(--tui-disabled-opacity);cursor:auto}:host[data-size='s'] .track{position:relative;margin:0 .25rem;height:100%}:host[data-size='s'] .track:after{content:'';position:absolute;top:0;left:var(--left);right:var(--right);height:100%;background:var(--tui-primary);margin:0 -.25rem}:host[data-size='m'] .track{position:relative;margin:0 .5rem;height:100%}:host[data-size='m'] .track:after{content:'';position:absolute;top:0;left:var(--left);right:var(--right);height:100%;background:var(--tui-primary);margin:0 -.5rem}.thumb{pointer-events:none;position:absolute;top:.0625rem;left:0;right:0;z-index:1;transform:translate(0,-50%)}.thumb::-webkit-slider-thumb{pointer-events:all}.thumb::-moz-range-thumb{pointer-events:all}input[type=range].thumb::-webkit-slider-runnable-track{background:0 0}input[type=range].thumb::-moz-range-track{background:0 0}input[type=range].thumb::-moz-range-progress{background:0 0}input[type=range].thumb::-ms-track{background:0 0}input[type=range].thumb::-ms-fill-lower{background:0 0}.thumb:last-of-type::-webkit-slider-thumb{transform:translate(50%,0)}.thumb:first-of-type::-webkit-slider-thumb{transform:translate(-50%,0)}.thumb:last-of-type::-moz-range-thumb{transform:translate(50%,0)}.thumb:first-of-type::-moz-range-thumb{transform:translate(-50%,0)}:host._disabled .thumb{opacity:1}.segments{position:absolute;top:0;left:0;bottom:0;right:0}:host[data-size='s'] .segments{display:flex;margin:0 .25rem;font:var(--tui-font-text-s);padding:0 .25rem}:host[data-size='s'] .segments>*{position:relative;flex:2;text-align:center}:host[data-size='s'] .segments>:first-child{left:-.25rem;flex:1;text-align:left}:host[data-size='s'] .segments>:last-child{right:-.25rem;flex:1;text-align:right}tui-input-slider+:host[data-size='s'] .segments{margin-left:calc(var(--tui-radius-m)/ 2 + .25rem)}tui-input-range+:host[data-size='s'] .segments,tui-range+:host[data-size='s'] .segments{margin-left:.5rem;margin-right:.5rem}tui-input-range+:host[data-size='s'] .segments>:first-child,tui-range+:host[data-size='s'] .segments>:first-child{left:-.5rem}tui-input-range+:host[data-size='s'] .segments>:last-child,tui-range+:host[data-size='s'] .segments>:last-child{right:-.5rem}:host[data-size='m'] .segments{display:flex;margin:0 .5rem;font:var(--tui-font-text-s);padding:0 .5rem}:host[data-size='m'] .segments>*{position:relative;flex:2;text-align:center}:host[data-size='m'] .segments>:first-child{left:-.5rem;flex:1;text-align:left}:host[data-size='m'] .segments>:last-child{right:-.5rem;flex:1;text-align:right}tui-input-slider+:host[data-size='m'] .segments{margin-left:calc(var(--tui-radius-m)/ 2 + .5rem)}tui-input-range+:host[data-size='m'] .segments,tui-range+:host[data-size='m'] .segments{margin-left:1rem;margin-right:1rem}tui-input-range+:host[data-size='m'] .segments>:first-child,tui-range+:host[data-size='m'] .segments>:first-child{left:-1rem}tui-input-range+:host[data-size='m'] .segments>:last-child,tui-range+:host[data-size='m'] .segments>:last-child{right:-1rem}.segment:not(:last-of-type):not(:first-of-type):before{content:'';position:absolute;left:0;right:0;margin:auto;background:var(--tui-base-07);width:.25rem;height:100%}.segment:last-of-type .number{margin-right:-.5rem}.segment:first-of-type .number{margin-left:-.5rem}.number{display:inline-block;margin-top:.5rem}"]
251
+ styles: [":host{position:relative;display:block;height:.125rem;border-radius:var(--tui-radius-m);background:var(--tui-base-03);cursor:pointer;outline:0;margin:.4375rem 0;touch-action:pan-x}:host:active{cursor:ew-resize}:host:after{content:'';position:absolute;top:-.4375rem;bottom:-.4375rem;width:100%}:host._disabled{opacity:var(--tui-disabled-opacity);cursor:auto}:host[data-size='s'] .t-track{position:relative;margin:0 .25rem;height:100%}:host[data-size='s'] .t-track:after{content:'';position:absolute;top:0;left:var(--left);right:var(--right);height:100%;background:var(--tui-primary);margin:0 -.25rem}:host[data-size='m'] .t-track{position:relative;margin:0 .5rem;height:100%}:host[data-size='m'] .t-track:after{content:'';position:absolute;top:0;left:var(--left);right:var(--right);height:100%;background:var(--tui-primary);margin:0 -.5rem}.t-thumb{pointer-events:none;position:absolute;top:.0625rem;left:0;right:0;z-index:1;transform:translate(0,-50%)}.t-thumb::-webkit-slider-thumb{pointer-events:all}.t-thumb::-moz-range-thumb{pointer-events:all}input[type=range].t-thumb::-webkit-slider-runnable-track{background:0 0}input[type=range].t-thumb::-moz-range-track{background:0 0}input[type=range].t-thumb::-moz-range-progress{background:0 0}input[type=range].t-thumb::-ms-track{background:0 0}input[type=range].t-thumb::-ms-fill-lower{background:0 0}.t-thumb:last-of-type::-webkit-slider-thumb{transform:translate(50%,0)}.t-thumb:first-of-type::-webkit-slider-thumb{transform:translate(-50%,0)}.t-thumb:last-of-type::-moz-range-thumb{transform:translate(50%,0)}.t-thumb:first-of-type::-moz-range-thumb{transform:translate(-50%,0)}:host._disabled .t-thumb{opacity:1}.t-segments{position:absolute;top:0;left:0;bottom:0;right:0}:host[data-size='s'] .t-segments{display:flex;margin:0 .25rem;font:var(--tui-font-text-s);padding:0 .25rem}:host[data-size='s'] .t-segments>*{position:relative;flex:2;text-align:center}:host[data-size='s'] .t-segments>:first-child{left:-.25rem;flex:1;text-align:left}:host[data-size='s'] .t-segments>:last-child{right:-.25rem;flex:1;text-align:right}tui-input-slider+:host[data-size='s'] .t-segments{margin-left:calc(var(--tui-radius-m)/ 2 + .25rem)}tui-input-range+:host[data-size='s'] .t-segments,tui-range+:host[data-size='s'] .t-segments{margin-left:.5rem;margin-right:.5rem}tui-input-range+:host[data-size='s'] .t-segments>:first-child,tui-range+:host[data-size='s'] .t-segments>:first-child{left:-.5rem}tui-input-range+:host[data-size='s'] .t-segments>:last-child,tui-range+:host[data-size='s'] .t-segments>:last-child{right:-.5rem}:host[data-size='m'] .t-segments{display:flex;margin:0 .5rem;font:var(--tui-font-text-s);padding:0 .5rem}:host[data-size='m'] .t-segments>*{position:relative;flex:2;text-align:center}:host[data-size='m'] .t-segments>:first-child{left:-.5rem;flex:1;text-align:left}:host[data-size='m'] .t-segments>:last-child{right:-.5rem;flex:1;text-align:right}tui-input-slider+:host[data-size='m'] .t-segments{margin-left:calc(var(--tui-radius-m)/ 2 + .5rem)}tui-input-range+:host[data-size='m'] .t-segments,tui-range+:host[data-size='m'] .t-segments{margin-left:1rem;margin-right:1rem}tui-input-range+:host[data-size='m'] .t-segments>:first-child,tui-range+:host[data-size='m'] .t-segments>:first-child{left:-1rem}tui-input-range+:host[data-size='m'] .t-segments>:last-child,tui-range+:host[data-size='m'] .t-segments>:last-child{right:-1rem}.t-segment:not(:last-of-type):not(:first-of-type):before{content:'';position:absolute;left:0;right:0;margin:auto;background:var(--tui-base-07);width:.25rem;height:100%}.t-segment:last-of-type .t-number{margin-right:-.5rem}.t-segment:first-of-type .t-number{margin-left:-.5rem}.t-number{display:inline-block;margin-top:.5rem}"]
252
252
  })
253
253
  /**
254
254
  * `AbstractTuiSlider` includes all legacy code (it can be deleted in v3.0)
@@ -279,21 +279,21 @@ var TuiRangeChangeDirective = /** @class */ (function () {
279
279
  * TODO replace with pointer events (when all supported browsers can handle them).
280
280
  * Dont forget to use setPointerCapture instead of listening all documentRef events
281
281
  */
282
- this.pointerDown$ = merge(typedFromEvent(this.elementRef.nativeElement, 'touchstart', { passive: true }).pipe(filter(function (_a) {
282
+ this.pointerDown$ = merge(typedFromEvent(this.elementRef.nativeElement, "touchstart", { passive: true }).pipe(filter(function (_a) {
283
283
  var touches = _a.touches;
284
284
  return touches.length === 1;
285
285
  }), map(function (_a) {
286
286
  var touches = _a.touches;
287
287
  return touches[0];
288
- })), typedFromEvent(this.elementRef.nativeElement, 'mousedown', { passive: true }));
289
- this.pointerMove$ = merge(typedFromEvent(this.documentRef, 'touchmove').pipe(filter(function (_a) {
288
+ })), typedFromEvent(this.elementRef.nativeElement, "mousedown", { passive: true }));
289
+ this.pointerMove$ = merge(typedFromEvent(this.documentRef, "touchmove").pipe(filter(function (_a) {
290
290
  var touches = _a.touches;
291
291
  return touches.length === 1;
292
292
  }), map(function (_a) {
293
293
  var touches = _a.touches;
294
294
  return touches[0];
295
- })), typedFromEvent(this.documentRef, 'mousemove'));
296
- this.pointerUp$ = merge(typedFromEvent(this.documentRef, 'touchend', { passive: true }), typedFromEvent(this.documentRef, 'mouseup', { passive: true }));
295
+ })), typedFromEvent(this.documentRef, "mousemove"));
296
+ this.pointerUp$ = merge(typedFromEvent(this.documentRef, "touchend", { passive: true }), typedFromEvent(this.documentRef, "mouseup", { passive: true }));
297
297
  this.activeThumbChange = new EventEmitter();
298
298
  var activeThumb;
299
299
  this.pointerDown$
@@ -310,7 +310,7 @@ var TuiRangeChangeDirective = /** @class */ (function () {
310
310
  }), takeUntil(this.pointerUp$), repeat(), takeUntil(destroy$))
311
311
  .subscribe(function (fraction) {
312
312
  var value = _this.range.getValueFromFraction(_this.range.fractionGuard(fraction));
313
- _this.range.processValue(value, activeThumb === 'right');
313
+ _this.range.processValue(value, activeThumb === "right");
314
314
  });
315
315
  }
316
316
  TuiRangeChangeDirective.prototype.getFractionFromEvents = function (clickClientX) {
@@ -323,9 +323,9 @@ var TuiRangeChangeDirective = /** @class */ (function () {
323
323
  var _a = __read(this.range.slidersRefs, 2), leftSliderRef = _a[0], rightSliderRef = _a[1];
324
324
  switch (target) {
325
325
  case leftSliderRef.nativeElement:
326
- return 'left';
326
+ return "left";
327
327
  case rightSliderRef.nativeElement:
328
- return 'right';
328
+ return "right";
329
329
  default:
330
330
  return this.findNearestActiveThumb(clientX);
331
331
  }
@@ -337,8 +337,8 @@ var TuiRangeChangeDirective = /** @class */ (function () {
337
337
  return Math.abs(deltaLeft) > Math.abs(deltaRight) ||
338
338
  deltaRight > 0 ||
339
339
  (this.range.left === 0 && this.range.right === 100)
340
- ? 'right'
341
- : 'left';
340
+ ? "right"
341
+ : "left";
342
342
  };
343
343
  TuiRangeChangeDirective.ctorParameters = function () { return [
344
344
  { type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
@@ -351,7 +351,7 @@ var TuiRangeChangeDirective = /** @class */ (function () {
351
351
  ], TuiRangeChangeDirective.prototype, "activeThumbChange", void 0);
352
352
  TuiRangeChangeDirective = __decorate([
353
353
  Directive({
354
- selector: 'tui-range',
354
+ selector: "tui-range",
355
355
  providers: [TuiDestroyService],
356
356
  }),
357
357
  __param(0, Inject(DOCUMENT)),
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-range.js","sources":["ng://@taiga-ui/kit/components/range/range.component.ts","ng://@taiga-ui/kit/components/range/range-change.directive.ts","ng://@taiga-ui/kit/components/range/range.module.ts","ng://@taiga-ui/kit/components/range/taiga-ui-kit-components-range.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Directive,\n ElementRef,\n forwardRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n QueryList,\n Self,\n ViewChildren,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n clamp,\n EMPTY_QUERY,\n isNativeFocusedIn,\n nonNegativeFiniteAssertion,\n quantize,\n round,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiAssert,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\nimport {AbstractTuiSlider, SLIDER_KEYBOARD_STEP} from '@taiga-ui/kit/abstract';\nimport {TuiSliderComponent} from '@taiga-ui/kit/components/slider';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {\n tuiCheckKeyStepsHaveMinMaxPercents,\n tuiKeyStepValueToPercentage,\n tuiPercentageToKeyStepValue,\n} from '@taiga-ui/kit/utils';\nimport {Observable} from 'rxjs';\n\n/**\n * Turn on new mode for `Range` and `InputRange`.\n * The new version of component will behave almost the same as the same component from the next major release.\n * @deprecated TODO remove me in v3.0 and make `Range` and `InputRange` always \"new\".\n */\n@Directive({\n selector: 'tui-range[new], tui-input-range[new]',\n})\nexport class TuiNewRangeDirective {}\n\n// @dynamic\n@Component({\n selector: 'tui-range',\n templateUrl: './range.template.html',\n styleUrls: ['./range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.tabindex]': '-1',\n '[attr.aria-disabled]': 'computedDisabled',\n },\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRangeComponent),\n },\n ],\n})\n/**\n * `AbstractTuiSlider` includes all legacy code (it can be deleted in v3.0)\n * TODO replace `extends AbstractTuiSlider<[number, number]>` by `extends AbstractTuiControl<[number, number]> implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor`\n */\nexport class TuiRangeComponent\n extends AbstractTuiSlider<[number, number]>\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n /**\n * TODO: make `100` as default value (to be like native sliders) in v3.0\n */\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n /**\n * TODO: think about replacing this props by `step` (to be like native slider).\n * It can be done after removing backward compatibility code inside {@link computePureKeySteps} in v3.0\n */\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n /**\n * TODO: think about replacing this props by `step` (to be like native slider).\n * It can be done after removing backward compatibility code inside {@link computePureKeySteps} in v3.0\n * */\n @Input()\n @tuiDefaultProp(nonNegativeFiniteAssertion, 'Quantum must be a non-negative number')\n quantum = 0;\n\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeS = 'm';\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @ViewChildren(TuiSliderComponent, {read: ElementRef})\n slidersRefs: QueryList<ElementRef<HTMLInputElement>> = EMPTY_QUERY;\n\n lastActiveThumb: 'right' | 'left' = 'right';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n @Optional()\n @Inject(TuiNewRangeDirective)\n readonly isNew: TuiNewRangeDirective | null,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n const [sliderLeftRef, sliderRightRef] = this.slidersRefs;\n\n if (this.computedDisabled || !sliderLeftRef || !sliderRightRef) {\n return null;\n }\n\n return this.isLeftFocusable\n ? sliderLeftRef.nativeElement\n : sliderRightRef.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n get fractionStep(): number {\n if (this.steps) {\n return 1 / this.steps;\n }\n\n return this.quantum ? this.quantum / (this.max - this.min) : SLIDER_KEYBOARD_STEP;\n }\n\n get computedKeySteps(): TuiKeySteps {\n return this.computePureKeySteps(this.keySteps, this.min, this.max);\n }\n\n @HostBinding('style.--left.%')\n get left(): number {\n return this.getPercentageFromValue(this.value[0]);\n }\n\n @HostBinding('style.--right.%')\n get right(): number {\n return 100 - this.getPercentageFromValue(this.value[1]);\n }\n\n @HostListener('focusin', ['true'])\n @HostListener('focusout', ['false'])\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n @HostListener('keydown.arrowUp.prevent', ['1', '$event.target'])\n @HostListener('keydown.arrowRight.prevent', ['1', '$event.target'])\n @HostListener('keydown.arrowLeft.prevent', ['-1', '$event.target'])\n @HostListener('keydown.arrowDown.prevent', ['-1', '$event.target'])\n changeByStep(coefficient: number, target: HTMLElement): void {\n const [sliderLeftRef, sliderRightRef] = this.slidersRefs;\n const leftThumbElement = sliderLeftRef.nativeElement;\n const rightThumbElement = sliderRightRef.nativeElement;\n\n const isRightThumb =\n target === this.elementRef.nativeElement\n ? this.lastActiveThumb === 'right'\n : target === rightThumbElement;\n const activeThumbElement = isRightThumb ? rightThumbElement : leftThumbElement;\n const previousValue = isRightThumb ? this.value[1] : this.value[0];\n /** @bad TODO think about a solution without twice conversion */\n const previousFraction = this.getPercentageFromValue(previousValue) / 100;\n const newFractionValue = previousFraction + coefficient * this.fractionStep;\n\n this.processValue(this.getValueFromFraction(newFractionValue), isRightThumb);\n\n if (activeThumbElement) {\n activeThumbElement.focus();\n }\n }\n\n processValue(value: number, right: boolean): void {\n const guardedValue = this.valueGuard(value);\n\n if (right) {\n this.updateEnd(guardedValue);\n } else {\n this.updateStart(guardedValue);\n }\n\n this.lastActiveThumb = right ? 'right' : 'left';\n }\n\n fractionGuard(fraction: number): number {\n return clamp(quantize(fraction, this.fractionStep), 0, 1);\n }\n\n getValueFromFraction(fraction: number): number {\n const percentage = this.fractionGuard(fraction) * 100;\n\n return tuiPercentageToKeyStepValue(percentage, this.computedKeySteps);\n }\n\n getPercentageFromValue(value: number): number {\n return tuiKeyStepValueToPercentage(value, this.computedKeySteps);\n }\n\n protected valueGuard(value: number): number {\n return clamp(\n this.quantum\n ? round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n )\n : value,\n this.min,\n this.max,\n );\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n @tuiPure\n private computePureKeySteps(\n keySteps: TuiKeySteps | null,\n min: number,\n max: number,\n ): TuiKeySteps {\n if (keySteps && tuiCheckKeyStepsHaveMinMaxPercents(keySteps)) {\n return keySteps;\n }\n\n // TODO replace all function by `return keySteps || [[0, min], [100, max]]` in v3.0\n tuiAssert.assert(\n !keySteps,\n '\\n' +\n 'Input property [keySteps] should contain min and max percents.\\n' +\n 'We have taken [min] and [max] properties of your component for now (but it will not work in v3.0).\\n' +\n 'See example how properly use [keySteps]: https://taiga-ui.dev/components/range#key-steps',\n );\n\n return [[0, min], ...(keySteps || []), [100, max]];\n }\n\n private updateStart(value: number): void {\n this.updateValue([Math.min(value, this.value[1]), this.value[1]]);\n }\n\n private updateEnd(value: number): void {\n this.updateValue([this.value[0], Math.max(value, this.value[0])]);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, EventEmitter, Inject, Output} from '@angular/core';\nimport {clamp, round, TuiDestroyService, typedFromEvent} from '@taiga-ui/cdk';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {merge, Observable} from 'rxjs';\nimport {filter, map, repeat, startWith, switchMap, takeUntil, tap} from 'rxjs/operators';\n\nimport {TuiRangeComponent} from './range.component';\n\n// @dynamic\n@Directive({\n selector: 'tui-range',\n providers: [TuiDestroyService],\n})\nexport class TuiRangeChangeDirective {\n /**\n * TODO replace with pointer events (when all supported browsers can handle them).\n * Dont forget to use setPointerCapture instead of listening all documentRef events\n */\n private readonly pointerDown$ = merge(\n typedFromEvent(this.elementRef.nativeElement, 'touchstart', {passive: true}).pipe(\n filter(({touches}) => touches.length === 1),\n map(({touches}) => touches[0]),\n ),\n typedFromEvent(this.elementRef.nativeElement, 'mousedown', {passive: true}),\n );\n\n private readonly pointerMove$ = merge(\n typedFromEvent(this.documentRef, 'touchmove').pipe(\n filter(({touches}) => touches.length === 1),\n map(({touches}) => touches[0]),\n ),\n typedFromEvent(this.documentRef, 'mousemove'),\n );\n\n private readonly pointerUp$ = merge(\n typedFromEvent(this.documentRef, 'touchend', {passive: true}),\n typedFromEvent(this.documentRef, 'mouseup', {passive: true}),\n );\n\n @Output()\n activeThumbChange = new EventEmitter<'left' | 'right'>();\n\n constructor(\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiRangeComponent) private readonly range: TuiRangeComponent,\n @Inject(TuiDestroyService) destroy$: Observable<unknown>,\n ) {\n let activeThumb: 'left' | 'right';\n\n this.pointerDown$\n .pipe(\n tap(({clientX, target}) => {\n activeThumb = this.detectActiveThumb(clientX, target);\n this.activeThumbChange.emit(activeThumb);\n\n if (this.range.focusable) {\n elementRef.nativeElement.focus();\n }\n }),\n switchMap(event => this.pointerMove$.pipe(startWith(event))),\n map(({clientX}) => clamp(this.getFractionFromEvents(clientX), 0, 1)),\n takeUntil(this.pointerUp$),\n repeat(),\n takeUntil(destroy$),\n )\n .subscribe(fraction => {\n const value = this.range.getValueFromFraction(\n this.range.fractionGuard(fraction),\n );\n\n this.range.processValue(value, activeThumb === 'right');\n });\n }\n\n private getFractionFromEvents(clickClientX: number): number {\n const hostRect = this.elementRef.nativeElement.getBoundingClientRect();\n const value = clickClientX - hostRect.left;\n const total = hostRect.width;\n\n return round(value / total, TUI_FLOATING_PRECISION);\n }\n\n private detectActiveThumb(\n clientX: number,\n target: EventTarget | null,\n ): 'left' | 'right' {\n const [leftSliderRef, rightSliderRef] = this.range.slidersRefs;\n\n switch (target) {\n case leftSliderRef.nativeElement:\n return 'left';\n case rightSliderRef.nativeElement:\n return 'right';\n default:\n return this.findNearestActiveThumb(clientX);\n }\n }\n\n private findNearestActiveThumb(clientX: number): 'left' | 'right' {\n const fraction = this.getFractionFromEvents(clientX);\n const deltaLeft = fraction * 100 - this.range.left;\n const deltaRight = fraction * 100 - 100 + this.range.right;\n\n return Math.abs(deltaLeft) > Math.abs(deltaRight) ||\n deltaRight > 0 ||\n (this.range.left === 0 && this.range.right === 100)\n ? 'right'\n : 'left';\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiFocusableModule, TuiRepeatTimesModule} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\nimport {TuiSliderModule} from '@taiga-ui/kit/components/slider';\n\nimport {TuiNewRangeDirective, TuiRangeComponent} from './range.component';\nimport {TuiRangeChangeDirective} from './range-change.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFormatNumberPipeModule,\n TuiSliderModule,\n FormsModule,\n ],\n declarations: [TuiRangeComponent, TuiRangeChangeDirective, TuiNewRangeDirective],\n exports: [TuiRangeComponent, TuiRangeChangeDirective, TuiNewRangeDirective],\n})\nexport class TuiRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA6CA;;;;;;IAQA;KAAoC;IAAvB,oBAAoB;QAHhC,SAAS,CAAC;YACP,QAAQ,EAAE,sCAAsC;SACnD,CAAC;OACW,oBAAoB,CAAG;IAAD,2BAAC;CAApC,IAAoC;AAEpC;;IAsBY,qCAAmC;IAgD3C,2BAII,OAAyB,EACE,iBAAoC,EAC7C,WAAqB,EACF,UAAmC,EAC7C,YAA0C,EAG5D,KAAkC;QAX/C,YAaI,kBAAM,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,SAC/D;QAPwC,gBAAU,GAAV,UAAU,CAAyB;QAI/D,WAAK,GAAL,KAAK,CAA6B;QAtD/C,SAAG,GAAG,CAAC,CAAC;;;;QAOR,SAAG,GAAG,QAAQ,CAAC;;;;;QAQf,WAAK,GAAG,CAAC,CAAC;;;;;QAQV,aAAO,GAAG,C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BhD,uBAAuB;QAJnC,SAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,SAAS,EAAE,CAAC,iBAAiB,CAAC;SACjC,CAAC;QA+BO,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;QAChB,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;OAjCrB,uBAAuB,CAiGnC;IAAD,8BAAC;CAjGD;;;ICQA;KAA8B;IAAjB,cAAc;QAZ1B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,oBAAoB;gBACpB,kBAAkB;gBAClB,yBAAyB;gBACzB,eAAe;gBACf,WAAW;aACd;YACD,YAAY,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,oBAAoB,CAAC;YAChF,OAAO,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,oBAAoB,CAAC;SAC9E,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;ACtBA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-range.js","sources":["ng://@taiga-ui/kit/components/range/range.component.ts","ng://@taiga-ui/kit/components/range/range-change.directive.ts","ng://@taiga-ui/kit/components/range/range.module.ts","ng://@taiga-ui/kit/components/range/taiga-ui-kit-components-range.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Directive,\n ElementRef,\n forwardRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n QueryList,\n Self,\n ViewChildren,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n clamp,\n EMPTY_QUERY,\n isNativeFocusedIn,\n nonNegativeFiniteAssertion,\n quantize,\n round,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiAssert,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\nimport {AbstractTuiSlider, SLIDER_KEYBOARD_STEP} from '@taiga-ui/kit/abstract';\nimport {TuiSliderComponent} from '@taiga-ui/kit/components/slider';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {\n tuiCheckKeyStepsHaveMinMaxPercents,\n tuiKeyStepValueToPercentage,\n tuiPercentageToKeyStepValue,\n} from '@taiga-ui/kit/utils';\nimport {Observable} from 'rxjs';\n\n/**\n * Turn on new mode for `Range` and `InputRange`.\n * The new version of component will behave almost the same as the same component from the next major release.\n * @deprecated TODO remove me in v3.0 and make `Range` and `InputRange` always \"new\".\n */\n@Directive({\n selector: `tui-range[new], tui-input-range[new]`,\n})\nexport class TuiNewRangeDirective {}\n\n// @dynamic\n@Component({\n selector: `tui-range`,\n templateUrl: `./range.template.html`,\n styleUrls: [`./range.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[attr.tabindex]': `-1`,\n '[attr.aria-disabled]': `computedDisabled`,\n },\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRangeComponent),\n },\n ],\n})\n/**\n * `AbstractTuiSlider` includes all legacy code (it can be deleted in v3.0)\n * TODO replace `extends AbstractTuiSlider<[number, number]>` by `extends AbstractTuiControl<[number, number]> implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor`\n */\nexport class TuiRangeComponent\n extends AbstractTuiSlider<[number, number]>\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n /**\n * TODO: make `100` as default value (to be like native sliders) in v3.0\n */\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n /**\n * TODO: think about replacing this props by `step` (to be like native slider).\n * It can be done after removing backward compatibility code inside {@link computePureKeySteps} in v3.0\n */\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n /**\n * TODO: think about replacing this props by `step` (to be like native slider).\n * It can be done after removing backward compatibility code inside {@link computePureKeySteps} in v3.0\n * */\n @Input()\n @tuiDefaultProp(nonNegativeFiniteAssertion, `Quantum must be a non-negative number`)\n quantum = 0;\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeS = `m`;\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @ViewChildren(TuiSliderComponent, {read: ElementRef})\n slidersRefs: QueryList<ElementRef<HTMLInputElement>> = EMPTY_QUERY;\n\n lastActiveThumb: 'right' | 'left' = `right`;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n @Optional()\n @Inject(TuiNewRangeDirective)\n readonly isNew: TuiNewRangeDirective | null,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n const [sliderLeftRef, sliderRightRef] = this.slidersRefs;\n\n if (this.computedDisabled || !sliderLeftRef || !sliderRightRef) {\n return null;\n }\n\n return this.isLeftFocusable\n ? sliderLeftRef.nativeElement\n : sliderRightRef.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n get fractionStep(): number {\n if (this.steps) {\n return 1 / this.steps;\n }\n\n return this.quantum ? this.quantum / (this.max - this.min) : SLIDER_KEYBOARD_STEP;\n }\n\n get computedKeySteps(): TuiKeySteps {\n return this.computePureKeySteps(this.keySteps, this.min, this.max);\n }\n\n @HostBinding(`style.--left.%`)\n get left(): number {\n return this.getPercentageFromValue(this.value[0]);\n }\n\n @HostBinding(`style.--right.%`)\n get right(): number {\n return 100 - this.getPercentageFromValue(this.value[1]);\n }\n\n @HostListener(`focusin`, [`true`])\n @HostListener(`focusout`, [`false`])\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n @HostListener(`keydown.arrowUp.prevent`, [`1`, `$event.target`])\n @HostListener(`keydown.arrowRight.prevent`, [`1`, `$event.target`])\n @HostListener(`keydown.arrowLeft.prevent`, [`-1`, `$event.target`])\n @HostListener(`keydown.arrowDown.prevent`, [`-1`, `$event.target`])\n changeByStep(coefficient: number, target: HTMLElement): void {\n const [sliderLeftRef, sliderRightRef] = this.slidersRefs;\n const leftThumbElement = sliderLeftRef.nativeElement;\n const rightThumbElement = sliderRightRef.nativeElement;\n\n const isRightThumb =\n target === this.elementRef.nativeElement\n ? this.lastActiveThumb === `right`\n : target === rightThumbElement;\n const activeThumbElement = isRightThumb ? rightThumbElement : leftThumbElement;\n const previousValue = isRightThumb ? this.value[1] : this.value[0];\n /** @bad TODO think about a solution without twice conversion */\n const previousFraction = this.getPercentageFromValue(previousValue) / 100;\n const newFractionValue = previousFraction + coefficient * this.fractionStep;\n\n this.processValue(this.getValueFromFraction(newFractionValue), isRightThumb);\n\n if (activeThumbElement) {\n activeThumbElement.focus();\n }\n }\n\n processValue(value: number, right: boolean): void {\n const guardedValue = this.valueGuard(value);\n\n if (right) {\n this.updateEnd(guardedValue);\n } else {\n this.updateStart(guardedValue);\n }\n\n this.lastActiveThumb = right ? `right` : `left`;\n }\n\n fractionGuard(fraction: number): number {\n return clamp(quantize(fraction, this.fractionStep), 0, 1);\n }\n\n getValueFromFraction(fraction: number): number {\n const percentage = this.fractionGuard(fraction) * 100;\n\n return tuiPercentageToKeyStepValue(percentage, this.computedKeySteps);\n }\n\n getPercentageFromValue(value: number): number {\n return tuiKeyStepValueToPercentage(value, this.computedKeySteps);\n }\n\n protected valueGuard(value: number): number {\n return clamp(\n this.quantum\n ? round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n )\n : value,\n this.min,\n this.max,\n );\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n @tuiPure\n private computePureKeySteps(\n keySteps: TuiKeySteps | null,\n min: number,\n max: number,\n ): TuiKeySteps {\n if (keySteps && tuiCheckKeyStepsHaveMinMaxPercents(keySteps)) {\n return keySteps;\n }\n\n // TODO replace all function by `return keySteps || [[0, min], [100, max]]` in v3.0\n tuiAssert.assert(\n !keySteps,\n `\\n` +\n `Input property [keySteps] should contain min and max percents.\\n` +\n `We have taken [min] and [max] properties of your component for now (but it will not work in v3.0).\\n` +\n `See example how properly use [keySteps]: https://taiga-ui.dev/components/range#key-steps`,\n );\n\n return [[0, min], ...(keySteps || []), [100, max]];\n }\n\n private updateStart(value: number): void {\n this.updateValue([Math.min(value, this.value[1]), this.value[1]]);\n }\n\n private updateEnd(value: number): void {\n this.updateValue([this.value[0], Math.max(value, this.value[0])]);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, EventEmitter, Inject, Output} from '@angular/core';\nimport {clamp, round, TuiDestroyService, typedFromEvent} from '@taiga-ui/cdk';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {merge, Observable} from 'rxjs';\nimport {filter, map, repeat, startWith, switchMap, takeUntil, tap} from 'rxjs/operators';\n\nimport {TuiRangeComponent} from './range.component';\n\n// @dynamic\n@Directive({\n selector: `tui-range`,\n providers: [TuiDestroyService],\n})\nexport class TuiRangeChangeDirective {\n /**\n * TODO replace with pointer events (when all supported browsers can handle them).\n * Dont forget to use setPointerCapture instead of listening all documentRef events\n */\n private readonly pointerDown$ = merge(\n typedFromEvent(this.elementRef.nativeElement, `touchstart`, {passive: true}).pipe(\n filter(({touches}) => touches.length === 1),\n map(({touches}) => touches[0]),\n ),\n typedFromEvent(this.elementRef.nativeElement, `mousedown`, {passive: true}),\n );\n\n private readonly pointerMove$ = merge(\n typedFromEvent(this.documentRef, `touchmove`).pipe(\n filter(({touches}) => touches.length === 1),\n map(({touches}) => touches[0]),\n ),\n typedFromEvent(this.documentRef, `mousemove`),\n );\n\n private readonly pointerUp$ = merge(\n typedFromEvent(this.documentRef, `touchend`, {passive: true}),\n typedFromEvent(this.documentRef, `mouseup`, {passive: true}),\n );\n\n @Output()\n activeThumbChange = new EventEmitter<'left' | 'right'>();\n\n constructor(\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiRangeComponent) private readonly range: TuiRangeComponent,\n @Inject(TuiDestroyService) destroy$: Observable<unknown>,\n ) {\n let activeThumb: 'left' | 'right';\n\n this.pointerDown$\n .pipe(\n tap(({clientX, target}) => {\n activeThumb = this.detectActiveThumb(clientX, target);\n this.activeThumbChange.emit(activeThumb);\n\n if (this.range.focusable) {\n elementRef.nativeElement.focus();\n }\n }),\n switchMap(event => this.pointerMove$.pipe(startWith(event))),\n map(({clientX}) => clamp(this.getFractionFromEvents(clientX), 0, 1)),\n takeUntil(this.pointerUp$),\n repeat(),\n takeUntil(destroy$),\n )\n .subscribe(fraction => {\n const value = this.range.getValueFromFraction(\n this.range.fractionGuard(fraction),\n );\n\n this.range.processValue(value, activeThumb === `right`);\n });\n }\n\n private getFractionFromEvents(clickClientX: number): number {\n const hostRect = this.elementRef.nativeElement.getBoundingClientRect();\n const value = clickClientX - hostRect.left;\n const total = hostRect.width;\n\n return round(value / total, TUI_FLOATING_PRECISION);\n }\n\n private detectActiveThumb(\n clientX: number,\n target: EventTarget | null,\n ): 'left' | 'right' {\n const [leftSliderRef, rightSliderRef] = this.range.slidersRefs;\n\n switch (target) {\n case leftSliderRef.nativeElement:\n return `left`;\n case rightSliderRef.nativeElement:\n return `right`;\n default:\n return this.findNearestActiveThumb(clientX);\n }\n }\n\n private findNearestActiveThumb(clientX: number): 'left' | 'right' {\n const fraction = this.getFractionFromEvents(clientX);\n const deltaLeft = fraction * 100 - this.range.left;\n const deltaRight = fraction * 100 - 100 + this.range.right;\n\n return Math.abs(deltaLeft) > Math.abs(deltaRight) ||\n deltaRight > 0 ||\n (this.range.left === 0 && this.range.right === 100)\n ? `right`\n : `left`;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiFocusableModule, TuiRepeatTimesModule} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\nimport {TuiSliderModule} from '@taiga-ui/kit/components/slider';\n\nimport {TuiNewRangeDirective, TuiRangeComponent} from './range.component';\nimport {TuiRangeChangeDirective} from './range-change.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFormatNumberPipeModule,\n TuiSliderModule,\n FormsModule,\n ],\n declarations: [TuiRangeComponent, TuiRangeChangeDirective, TuiNewRangeDirective],\n exports: [TuiRangeComponent, TuiRangeChangeDirective, TuiNewRangeDirective],\n})\nexport class TuiRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA6CA;;;;;;IAQA;KAAoC;IAAvB,oBAAoB;QAHhC,SAAS,CAAC;YACP,QAAQ,EAAE,sCAAsC;SACnD,CAAC;OACW,oBAAoB,CAAG;IAAD,2BAAC;CAApC,IAAoC;AAEpC;;IAsBY,qCAAmC;IAgD3C,2BAII,OAAyB,EACE,iBAAoC,EAC7C,WAAqB,EACF,UAAmC,EAC7C,YAA0C,EAG5D,KAAkC;QAX/C,YAaI,kBAAM,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,SAC/D;QAPwC,gBAAU,GAAV,UAAU,CAAyB;QAI/D,WAAK,GAAL,KAAK,CAA6B;QAtD/C,SAAG,GAAG,CAAC,CAAC;;;;QAOR,SAAG,GAAG,Q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,UAAU,uBAA9C,MAAM,SAAC,iBAAiB;;IAN7B;QADC,MAAM,EAAE;sEACgD;IA3BhD,uBAAuB;QAJnC,SAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,SAAS,EAAE,CAAC,iBAAiB,CAAC;SACjC,CAAC;QA+BO,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;QAChB,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;OAjCrB,uBAAuB,CAiGnC;IAAD,8BAAC;CAjGD;;;ICQA;KAA8B;IAAjB,cAAc;QAZ1B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,oBAAoB;gBACpB,kBAAkB;gBAClB,yBAAyB;gBACzB,eAAe;gBACf,WAAW;aACd;YACD,YAAY,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,oBAAoB,CAAC;YAChF,OAAO,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,oBAAoB,CAAC;SAC9E,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;ACtBA;;;;;;"}
@@ -7,10 +7,10 @@ import { TuiSvgModule } from '@taiga-ui/core';
7
7
  var TUI_RATING_DEFAULT_OPTIONS = {
8
8
  min: 0,
9
9
  max: 5,
10
- iconNormal: 'tuiIconStarLarge',
11
- iconFilled: 'tuiIconStarFilledLarge',
10
+ iconNormal: "tuiIconStarLarge",
11
+ iconFilled: "tuiIconStarFilledLarge",
12
12
  };
13
- var TUI_RATING_OPTIONS = new InjectionToken('Default parameters for rating component', {
13
+ var TUI_RATING_OPTIONS = new InjectionToken("Default parameters for rating component", {
14
14
  factory: function () { return TUI_RATING_DEFAULT_OPTIONS; },
15
15
  });
16
16
  var tuiRatingOptionsProvider = function (options) { return ({
@@ -79,7 +79,7 @@ var TuiRatingComponent = /** @class */ (function (_super) {
79
79
  { type: undefined, decorators: [{ type: Inject, args: [TUI_RATING_OPTIONS,] }] }
80
80
  ]; };
81
81
  __decorate([
82
- ViewChild('focusableElement')
82
+ ViewChild("focusableElement")
83
83
  ], TuiRatingComponent.prototype, "focusableElement", void 0);
84
84
  __decorate([
85
85
  Input(),
@@ -98,12 +98,12 @@ var TuiRatingComponent = /** @class */ (function (_super) {
98
98
  tuiDefaultProp()
99
99
  ], TuiRatingComponent.prototype, "iconFilled", void 0);
100
100
  __decorate([
101
- HostListener('focusin', ['true']),
102
- HostListener('focusout', ['false'])
101
+ HostListener("focusin", ["true"]),
102
+ HostListener("focusout", ["false"])
103
103
  ], TuiRatingComponent.prototype, "onFocused", null);
104
104
  TuiRatingComponent = TuiRatingComponent_1 = __decorate([
105
105
  Component({
106
- selector: 'tui-rating',
106
+ selector: "tui-rating",
107
107
  template: "<label>\n <ng-content></ng-content>\n\n <div class=\"t-host\">\n <div class=\"t-interactive\">\n <tui-svg\n *tuiRepeatTimes=\"let index of max\"\n class=\"t-icon-filled\"\n [src]=\"iconFilled\"\n (click)=\"setRateByReverseIndex(index)\"\n ></tui-svg>\n </div>\n\n <div\n class=\"t-wrapper\"\n [style.width.%]=\"percent\"\n >\n <tui-svg\n *tuiRepeatTimes=\"let index of max\"\n class=\"t-icon-filled\"\n [src]=\"iconFilled\"\n ></tui-svg>\n </div>\n\n <tui-svg\n *tuiRepeatTimes=\"let item of max\"\n [src]=\"iconNormal\"\n ></tui-svg>\n\n <input\n #focusableElement\n type=\"range\"\n step=\"1\"\n class=\"t-input\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value\"\n [tuiFocusable]=\"isFocusable\"\n (ngModelChange)=\"setRate($event)\"\n />\n </div>\n</label>\n",
108
108
  changeDetection: ChangeDetectionStrategy.OnPush,
109
109
  providers: [
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-rating.js","sources":["ng://@taiga-ui/kit/components/rating/rating-options.ts","ng://@taiga-ui/kit/components/rating/rating.component.ts","ng://@taiga-ui/kit/components/rating/rating.module.ts","ng://@taiga-ui/kit/components/rating/taiga-ui-kit-components-rating.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiRatingOptions {\n readonly min: number;\n readonly max: number;\n readonly iconNormal: string;\n readonly iconFilled: string;\n}\n\nexport const TUI_RATING_DEFAULT_OPTIONS: TuiRatingOptions = {\n min: 0,\n max: 5,\n iconNormal: 'tuiIconStarLarge',\n iconFilled: 'tuiIconStarFilledLarge',\n};\n\nexport const TUI_RATING_OPTIONS = new InjectionToken<TuiRatingOptions>(\n 'Default parameters for rating component',\n {\n factory: () => TUI_RATING_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiRatingOptionsProvider: (\n options: Partial<TuiRatingOptions>,\n) => ValueProvider = (options: Partial<TuiRatingOptions>) => ({\n provide: TUI_RATING_OPTIONS,\n useValue: {...TUI_RATING_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\n\nimport {TUI_RATING_OPTIONS, TuiRatingOptions} from './rating-options';\n\n@Component({\n selector: 'tui-rating',\n templateUrl: './rating.template.html',\n styleUrls: ['./rating.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRatingComponent),\n },\n ],\n})\nexport class TuiRatingComponent\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild('focusableElement')\n private readonly focusableElement?: ElementRef<HTMLInputElement>;\n\n @Input()\n @tuiDefaultProp()\n min = this.options.min;\n\n @Input()\n @tuiDefaultProp()\n max = this.options.max;\n\n @Input()\n @tuiDefaultProp()\n iconNormal = this.options.iconNormal;\n\n @Input()\n @tuiDefaultProp()\n iconFilled = this.options.iconFilled;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n ngControl: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_RATING_OPTIONS)\n private readonly options: TuiRatingOptions,\n ) {\n super(ngControl, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled || !this.focusableElement\n ? null\n : this.focusableElement.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get isFocusable(): boolean {\n return !(this.readOnly || this.disabled);\n }\n\n get percent(): number {\n return (100 * this.value) / this.max;\n }\n\n @HostListener('focusin', ['true'])\n @HostListener('focusout', ['false'])\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n setRateByReverseIndex(index: number): void {\n this.updateValue(this.max - index);\n }\n\n setRate(value: number): void {\n this.updateValue(value);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n}\n","import {NgModule} from '@angular/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {TuiFocusableModule, TuiRepeatTimesModule} from '@taiga-ui/cdk';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiRatingComponent} from './rating.component';\n\n@NgModule({\n imports: [\n TuiSvgModule,\n TuiFocusableModule,\n TuiRepeatTimesModule,\n FormsModule,\n ReactiveFormsModule,\n ],\n declarations: [TuiRatingComponent],\n exports: [TuiRatingComponent],\n})\nexport class TuiRatingModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;IASa,0BAA0B,GAAqB;IACxD,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,UAAU,EAAE,kBAAkB;IA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BtB,kBAAkB,CAuE9B;IAAD,yBAAC;CAAA,CAtEW,kBAAkB;;;ICnB9B;KAA+B;IAAlB,eAAe;QAX3B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,kBAAkB;gBAClB,oBAAoB;gBACpB,WAAW;gBACX,mBAAmB;aACtB;YACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;AClBA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-rating.js","sources":["ng://@taiga-ui/kit/components/rating/rating-options.ts","ng://@taiga-ui/kit/components/rating/rating.component.ts","ng://@taiga-ui/kit/components/rating/rating.module.ts","ng://@taiga-ui/kit/components/rating/taiga-ui-kit-components-rating.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiRatingOptions {\n readonly min: number;\n readonly max: number;\n readonly iconNormal: string;\n readonly iconFilled: string;\n}\n\nexport const TUI_RATING_DEFAULT_OPTIONS: TuiRatingOptions = {\n min: 0,\n max: 5,\n iconNormal: `tuiIconStarLarge`,\n iconFilled: `tuiIconStarFilledLarge`,\n};\n\nexport const TUI_RATING_OPTIONS = new InjectionToken<TuiRatingOptions>(\n `Default parameters for rating component`,\n {\n factory: () => TUI_RATING_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiRatingOptionsProvider: (\n options: Partial<TuiRatingOptions>,\n) => ValueProvider = (options: Partial<TuiRatingOptions>) => ({\n provide: TUI_RATING_OPTIONS,\n useValue: {...TUI_RATING_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\n\nimport {TUI_RATING_OPTIONS, TuiRatingOptions} from './rating-options';\n\n@Component({\n selector: `tui-rating`,\n templateUrl: `./rating.template.html`,\n styleUrls: [`./rating.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiRatingComponent),\n },\n ],\n})\nexport class TuiRatingComponent\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(`focusableElement`)\n private readonly focusableElement?: ElementRef<HTMLInputElement>;\n\n @Input()\n @tuiDefaultProp()\n min = this.options.min;\n\n @Input()\n @tuiDefaultProp()\n max = this.options.max;\n\n @Input()\n @tuiDefaultProp()\n iconNormal = this.options.iconNormal;\n\n @Input()\n @tuiDefaultProp()\n iconFilled = this.options.iconFilled;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n ngControl: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_RATING_OPTIONS)\n private readonly options: TuiRatingOptions,\n ) {\n super(ngControl, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled || !this.focusableElement\n ? null\n : this.focusableElement.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get isFocusable(): boolean {\n return !(this.readOnly || this.disabled);\n }\n\n get percent(): number {\n return (100 * this.value) / this.max;\n }\n\n @HostListener(`focusin`, [`true`])\n @HostListener(`focusout`, [`false`])\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n setRateByReverseIndex(index: number): void {\n this.updateValue(this.max - index);\n }\n\n setRate(value: number): void {\n this.updateValue(value);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n}\n","import {NgModule} from '@angular/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {TuiFocusableModule, TuiRepeatTimesModule} from '@taiga-ui/cdk';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiRatingComponent} from './rating.component';\n\n@NgModule({\n imports: [\n TuiSvgModule,\n TuiFocusableModule,\n TuiRepeatTimesModule,\n FormsModule,\n ReactiveFormsModule,\n ],\n declarations: [TuiRatingComponent],\n exports: [TuiRatingComponent],\n})\nexport class TuiRatingModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;IASa,0BAA0B,GAAqB;IACxD,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,UAAU,EAAE,kBAAkB;IAC9B,UAAU,EAAE,wBAAwB;EACtC;IAEW,kBAAkB,GAAG,IAAI,cAAc,CAChD,yCAAyC,EACzC;IACI,OAAO,EAAE,cAAM,OAAA,0BAA0B,GAAA;CAC5C,EACH;IAEW,wBAAwB,GAEhB,UAAC,OAAkC,IAAK,QAAC;IAC1D,OAAO,EAAE,kBAAkB;IAC3B,QAAQ,wBAAM,0BAA0B,GAAK,OAAO,CAAC;CACxD;;;ICSW,sCAA0B;IAsBlC,4BAII,SAA2B,EAE3B,iBAAoC,EAEnB,OAAyB;QAR9C,YAUI,kBAAM,SAAS,EAAE,iBAAiB,CAAC,SACtC;QAHoB,aAAO,GAAP,OAAO,CAAkB;QAtB9C,SAAG,GAAG,KAAI,CAAC,OAAO,CAAC,GAAG,CAAC;QAIvB,SAAG,GAAG,KAAI,CAAC,OAAO,CAAC,GAAG,CAAC;QAIvB,gBAAU,GAAG,KAAI,CAAC,OAAO,CAAC,UAAU,CAAC;QAIrC,gBAAU,GAAG,KAAI,CAAC,OAAO,CAAC,UAAU,CAAC;;KAapC;2BAlCQ,kBAAkB;IAoC3B,sBAAI,sDAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,gBAAgB;kBAChD,IAAI;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1DQ,kBAAkB;QAZ9B,SAAS,CAAC;YACP,QAAQ,EAAE,YAAY;YACtB,snCAAqC;YAErC,eAAe,EAAE,uBAAuB,CAAC,MAAM;YAC/C,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,2BAA2B;oBACpC,WAAW,EAAE,UAAU,CAAC,cAAM,OAAA,oBAAkB,GAAA,CAAC;iBACpD;aACJ;;SACJ,CAAC;QAyBO,WAAA,QAAQ,EAAE,CAAA;QACV,WAAA,IAAI,EAAE,CAAA;QACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;QAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QAEzB,WAAA,MAAM,CAAC,kBAAkB,CAAC,CAAA;OA9BtB,kBAAkB,CAuE9B;IAAD,yBAAC;CAAA,CAtEW,kBAAkB;;;ICnB9B;KAA+B;IAAlB,eAAe;QAX3B,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,kBAAkB;gBAClB,oBAAoB;gBACpB,WAAW;gBACX,mBAAmB;aACtB;YACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;AClBA;;;;;;"}
@@ -17,7 +17,7 @@ var TuiSelectOptionComponent = /** @class */ (function () {
17
17
  this.elementRef = elementRef;
18
18
  this.option = option;
19
19
  this.control = control;
20
- this.selected$ = merge((_a = this.control.valueChanges) !== null && _a !== void 0 ? _a : EMPTY, typedFromEvent(this.elementRef.nativeElement, 'animationstart')).pipe(startWith(null), map(function () { return _this.selected; }), distinctUntilChanged());
20
+ this.selected$ = merge((_a = this.control.valueChanges) !== null && _a !== void 0 ? _a : EMPTY, typedFromEvent(this.elementRef.nativeElement, "animationstart")).pipe(startWith(null), map(function () { return _this.selected; }), distinctUntilChanged());
21
21
  }
22
22
  Object.defineProperty(TuiSelectOptionComponent.prototype, "matcher", {
23
23
  get: function () {
@@ -59,10 +59,10 @@ var TuiSelectOptionComponent = /** @class */ (function () {
59
59
  ]; };
60
60
  TuiSelectOptionComponent = __decorate([
61
61
  Component({
62
- selector: 'tui-select-option',
63
- template: "<ng-container [ngTemplateOutlet]=\"context.$implicit\"></ng-container>\n<tui-svg\n *ngIf=\"selected$ | async; else dummy\"\n automation-id=\"tui-select-option__checkmark\"\n src=\"tuiIconCheckLarge\"\n class=\"checkmark\"\n [tuiScrollIntoView]=\"true\"\n></tui-svg>\n<ng-template #dummy>\n <span class=\"dummy\"></span>\n</ng-template>\n",
62
+ selector: "tui-select-option",
63
+ template: "<ng-container [ngTemplateOutlet]=\"context.$implicit\"></ng-container>\n<tui-svg\n *ngIf=\"selected$ | async; else dummy\"\n automation-id=\"tui-select-option__checkmark\"\n src=\"tuiIconCheckLarge\"\n class=\"t-checkmark\"\n [tuiScrollIntoView]=\"true\"\n></tui-svg>\n<ng-template #dummy>\n <span class=\"t-dummy\"></span>\n</ng-template>\n",
64
64
  changeDetection: ChangeDetectionStrategy.OnPush,
65
- styles: ["@-webkit-keyframes retrigger{from{left:1px}to{left:2px}}@keyframes retrigger{from{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;max-width:100%;-webkit-animation:1s retrigger;animation:1s retrigger}.checkmark{margin:0 -.375rem 0 auto;border-left:5px solid transparent}.dummy{width:1.5rem}"]
65
+ styles: ["@-webkit-keyframes retrigger{from{left:1px}to{left:2px}}@keyframes retrigger{from{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;max-width:100%;-webkit-animation:1s retrigger;animation:1s retrigger}.t-checkmark{margin:0 -.375rem 0 auto;border-left:5px solid transparent}.t-dummy{width:1.5rem}"]
66
66
  }),
67
67
  __param(0, Inject(POLYMORPHEUS_CONTEXT)),
68
68
  __param(1, Inject(TUI_DATA_LIST_HOST)),