@taiga-ui/kit 2.54.0 → 2.56.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 (1028) 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 +13 -13
  5. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-action.umd.js +8 -8
  8. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-arrow.umd.js +5 -5
  11. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-avatar.umd.js +13 -13
  14. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-badge.umd.js +14 -14
  17. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-badged-content.umd.js +21 -21
  20. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +7 -7
  23. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +2 -2
  26. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +3 -3
  29. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-carousel.umd.js +18 -18
  32. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +8 -8
  35. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +4 -4
  38. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox.umd.js +3 -3
  41. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-combo-box.umd.js +9 -9
  44. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +4 -4
  47. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-field-error.umd.js +5 -5
  50. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-files.umd.js +20 -20
  53. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-filter.umd.js +3 -3
  56. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-input-copy.umd.js +8 -8
  59. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-count.umd.js +19 -19
  62. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -14
  65. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +16 -16
  68. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-date.umd.js +10 -10
  71. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-file.umd.js +34 -34
  74. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-files.umd.js +26 -20
  77. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-inline.umd.js +4 -4
  81. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +8 -9
  84. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  86. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-input-month.umd.js +5 -5
  88. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-number.umd.js +22 -22
  91. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-input-password.umd.js +9 -9
  94. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +230 -229
  97. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-phone.umd.js +36 -36
  101. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-input-range.umd.js +16 -16
  104. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-slider.umd.js +37 -25
  107. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  109. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-tag.umd.js +24 -24
  111. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-input-time.umd.js +13 -13
  114. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input.umd.js +5 -5
  117. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-island.umd.js +18 -18
  120. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +9 -9
  123. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +6 -6
  126. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +2 -2
  129. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  131. package/bundles/taiga-ui-kit-components-multi-select.umd.js +17 -17
  132. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-pagination.umd.js +7 -7
  135. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  137. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +10 -10
  138. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-progress.umd.js +26 -26
  141. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-radio-block.umd.js +9 -9
  144. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-radio-group.umd.js +1 -1
  147. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +5 -5
  150. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-radio-list.umd.js +5 -5
  153. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  154. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-radio.umd.js +8 -8
  156. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-range.umd.js +33 -33
  159. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  161. package/bundles/taiga-ui-kit-components-rating.umd.js +7 -7
  162. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  163. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-select-option.umd.js +2 -2
  165. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  167. package/bundles/taiga-ui-kit-components-select.umd.js +6 -6
  168. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-slider.umd.js +158 -106
  171. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-stepper.umd.js +25 -25
  175. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-tabs.umd.js +45 -43
  178. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  180. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-tag.umd.js +24 -24
  182. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-text-area.umd.js +17 -17
  185. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-toggle.umd.js +11 -11
  188. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  189. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-tree.umd.js +24 -24
  191. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  192. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  193. package/bundles/taiga-ui-kit-constants.umd.js +18 -18
  194. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  195. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  196. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +10 -10
  197. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  198. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  199. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +6 -6
  200. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  201. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  202. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +12 -12
  203. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  204. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  205. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  206. package/bundles/taiga-ui-kit-directives-highlight.umd.js +10 -10
  207. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  208. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  209. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +11 -11
  210. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  212. package/bundles/taiga-ui-kit-directives-present.umd.js +5 -5
  213. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  214. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-project-class.umd.js +2 -2
  216. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  217. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  218. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +4 -4
  219. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  221. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +1 -1
  222. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  223. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  224. package/bundles/taiga-ui-kit-enums.umd.js.map +1 -1
  225. package/bundles/taiga-ui-kit-enums.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +1 -1
  227. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  228. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  229. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +8 -8
  230. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  231. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
  232. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +4 -4
  233. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  234. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  235. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +1 -1
  236. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  237. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  238. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +2 -2
  239. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  240. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  241. package/bundles/taiga-ui-kit-providers.umd.js +3 -3
  242. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  243. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  244. package/bundles/taiga-ui-kit-tokens.umd.js +38 -38
  245. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  246. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  247. package/bundles/taiga-ui-kit-utils-dom.umd.js +4 -4
  248. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  249. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  250. package/bundles/taiga-ui-kit-utils-files.umd.js +2 -2
  251. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  252. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +1 -1
  253. package/bundles/taiga-ui-kit-utils-format.umd.js +2 -2
  254. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  255. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  256. package/bundles/taiga-ui-kit-utils-mask.umd.js +12 -12
  257. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  258. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  259. package/bundles/taiga-ui-kit-utils-math.umd.js +2 -2
  260. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  261. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  262. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +7 -7
  263. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  264. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  265. package/bundles/taiga-ui-kit-validators.umd.js +1 -1
  266. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  267. package/bundles/taiga-ui-kit-validators.umd.min.js.map +1 -1
  268. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +1 -1
  269. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  270. package/components/input-slider/input-slider.component.d.ts +4 -1
  271. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  272. package/components/slider/{slider-key-steps.directive.d.ts → helpers/slider-key-steps.directive.d.ts} +1 -1
  273. package/components/slider/{slider-readonly.directive.d.ts → helpers/slider-readonly.directive.d.ts} +0 -0
  274. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +12 -0
  275. package/components/slider/index.d.ts +3 -2
  276. package/components/slider/slider.component.d.ts +1 -1
  277. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  278. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  279. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  280. package/esm2015/abstract/input-slider.js +12 -12
  281. package/esm2015/abstract/slider/slider.js +12 -12
  282. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  283. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  284. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +11 -11
  285. package/esm2015/components/accordion/accordion.component.js +2 -2
  286. package/esm2015/components/action/action.component.js +9 -9
  287. package/esm2015/components/arrow/arrow-options.js +5 -5
  288. package/esm2015/components/arrow/arrow.component.js +2 -2
  289. package/esm2015/components/avatar/avatar-options.js +3 -3
  290. package/esm2015/components/avatar/avatar.component.js +12 -12
  291. package/esm2015/components/badge/badge.component.js +15 -15
  292. package/esm2015/components/badged-content/badged-content.component.js +22 -22
  293. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  294. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +4 -4
  295. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  296. package/esm2015/components/calendar-range/calendar-range.component.js +4 -4
  297. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  298. package/esm2015/components/carousel/carousel-buttons.directive.js +4 -4
  299. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  300. package/esm2015/components/carousel/carousel.component.js +10 -10
  301. package/esm2015/components/carousel/carousel.directive.js +3 -3
  302. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  303. package/esm2015/components/checkbox-block/checkbox-block.component.js +9 -9
  304. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  305. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  306. package/esm2015/components/combo-box/combo-box.component.js +7 -7
  307. package/esm2015/components/combo-box/combo-box.directive.js +2 -2
  308. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  309. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  310. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +3 -3
  311. package/esm2015/components/field-error/field-error.component.js +6 -6
  312. package/esm2015/components/files/file/file.component.js +20 -20
  313. package/esm2015/components/files/files.component.js +2 -2
  314. package/esm2015/components/filter/filter.component.js +4 -4
  315. package/esm2015/components/input/input.component.js +5 -5
  316. package/esm2015/components/input/input.directive.js +2 -2
  317. package/esm2015/components/input-copy/input-copy.component.js +8 -8
  318. package/esm2015/components/input-copy/input-copy.directive.js +2 -2
  319. package/esm2015/components/input-count/input-count-options.js +6 -6
  320. package/esm2015/components/input-count/input-count.component.js +12 -12
  321. package/esm2015/components/input-count/input-count.directive.js +4 -4
  322. package/esm2015/components/input-date/input-date.component.js +9 -9
  323. package/esm2015/components/input-date/input-date.directive.js +3 -3
  324. package/esm2015/components/input-date-range/input-date-range.component.js +13 -13
  325. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  326. package/esm2015/components/input-date-time/input-date-time.component.js +15 -15
  327. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  328. package/esm2015/components/input-file/file/file.component.js +18 -18
  329. package/esm2015/components/input-file/input-file.component.js +18 -18
  330. package/esm2015/components/input-files/input-files.component.js +16 -16
  331. package/esm2015/components/input-files/input-files.module.js +10 -3
  332. package/esm2015/components/input-inline/input-inline.component.js +5 -5
  333. package/esm2015/components/input-month/input-month.component.js +4 -4
  334. package/esm2015/components/input-month/input-month.directive.js +3 -3
  335. package/esm2015/components/input-month-range/input-month-range.component.js +7 -8
  336. package/esm2015/components/input-month-range/input-month-range.directive.js +4 -4
  337. package/esm2015/components/input-number/input-number.component.js +21 -21
  338. package/esm2015/components/input-number/input-number.directive.js +3 -3
  339. package/esm2015/components/input-password/input-password-options.js +4 -4
  340. package/esm2015/components/input-password/input-password.component.js +5 -5
  341. package/esm2015/components/input-password/input-password.directive.js +3 -3
  342. package/esm2015/components/input-phone/input-phone.component.js +30 -30
  343. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  344. package/esm2015/components/input-phone/input-phone.options.js +4 -4
  345. package/esm2015/components/input-phone/input-phone.providers.js +3 -3
  346. package/esm2015/components/input-phone-international/const/countries.js +215 -214
  347. package/esm2015/components/input-phone-international/country-iso-code.js +1 -1
  348. package/esm2015/components/input-phone-international/input-phone-international.component.js +14 -14
  349. package/esm2015/components/input-phone-international/input-phone-international.options.js +2 -2
  350. package/esm2015/components/input-phone-international/tokens/countries-masks.js +2 -2
  351. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  352. package/esm2015/components/input-range/input-range.component.js +17 -17
  353. package/esm2015/components/input-slider/input-slider.component.js +31 -22
  354. package/esm2015/components/input-tag/input-tag-options.js +3 -3
  355. package/esm2015/components/input-tag/input-tag.component.js +23 -23
  356. package/esm2015/components/input-time/input-time-options.js +6 -6
  357. package/esm2015/components/input-time/input-time.component.js +9 -9
  358. package/esm2015/components/island/island.component.js +19 -19
  359. package/esm2015/components/line-clamp/line-clamp-options.js +2 -2
  360. package/esm2015/components/line-clamp/line-clamp.component.js +9 -9
  361. package/esm2015/components/marker-icon/marker-icon.component.js +7 -7
  362. package/esm2015/components/multi-select/hide-selected.pipe.js +2 -2
  363. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  364. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  365. package/esm2015/components/multi-select/multi-select-options.js +3 -3
  366. package/esm2015/components/multi-select/multi-select.component.js +10 -10
  367. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  368. package/esm2015/components/pagination/pagination.component.js +8 -8
  369. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -6
  370. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  371. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +3 -3
  372. package/esm2015/components/progress/progress-bar/progress-bar.component.js +6 -6
  373. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  374. package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -7
  375. package/esm2015/components/progress/progress-label/progress-label.component.js +2 -2
  376. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  377. package/esm2015/components/progress/utils/calculate-color-segments.js +2 -2
  378. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  379. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +2 -2
  380. package/esm2015/components/radio/radio-options.js +3 -3
  381. package/esm2015/components/radio/radio.component.js +7 -7
  382. package/esm2015/components/radio-block/radio-block.component.js +10 -10
  383. package/esm2015/components/radio-group/radio-group.component.js +2 -2
  384. package/esm2015/components/radio-labeled/radio-labeled.component.js +6 -6
  385. package/esm2015/components/radio-list/radio-list.component.js +6 -6
  386. package/esm2015/components/range/range-change.directive.js +10 -10
  387. package/esm2015/components/range/range.component.js +23 -23
  388. package/esm2015/components/rating/rating-options.js +4 -4
  389. package/esm2015/components/rating/rating.component.js +5 -5
  390. package/esm2015/components/select/select-options.js +3 -3
  391. package/esm2015/components/select/select.component.js +4 -4
  392. package/esm2015/components/select/select.directive.js +2 -2
  393. package/esm2015/components/select-option/select-option.component.js +3 -3
  394. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +103 -0
  395. package/esm2015/components/slider/helpers/slider-readonly.directive.js +79 -0
  396. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +40 -0
  397. package/esm2015/components/slider/index.js +4 -3
  398. package/esm2015/components/slider/slider-old.component.js +2 -2
  399. package/esm2015/components/slider/slider-options.js +4 -4
  400. package/esm2015/components/slider/slider.component.js +9 -9
  401. package/esm2015/components/slider/slider.module.js +6 -3
  402. package/esm2015/components/stepper/step/step.component.js +12 -12
  403. package/esm2015/components/stepper/stepper.component.js +15 -15
  404. package/esm2015/components/tabs/tab/tab.component.js +8 -8
  405. package/esm2015/components/tabs/tab/tab.providers.js +4 -4
  406. package/esm2015/components/tabs/tabs/tabs.component.js +13 -13
  407. package/esm2015/components/tabs/tabs-options.js +2 -2
  408. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +11 -9
  409. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  410. package/esm2015/components/tabs/underline/underline.component.js +13 -13
  411. package/esm2015/components/tag/tag-options.js +4 -4
  412. package/esm2015/components/tag/tag.component.js +22 -22
  413. package/esm2015/components/text-area/text-area.component.js +17 -17
  414. package/esm2015/components/text-area/text-area.directive.js +2 -2
  415. package/esm2015/components/toggle/toggle-options.js +5 -5
  416. package/esm2015/components/toggle/toggle.component.js +8 -8
  417. package/esm2015/components/tree/components/tree/tree.component.js +3 -3
  418. package/esm2015/components/tree/components/tree-item/tree-item.component.js +4 -4
  419. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  420. package/esm2015/components/tree/directives/tree-children.directive.js +2 -2
  421. package/esm2015/components/tree/directives/tree-controller.directive.js +4 -4
  422. package/esm2015/components/tree/directives/tree-item-controller.directive.js +4 -4
  423. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  424. package/esm2015/components/tree/misc/tree.tokens.js +9 -9
  425. package/esm2015/constants/date-time-separator.js +2 -2
  426. package/esm2015/constants/group-class-names.js +10 -10
  427. package/esm2015/constants/icon-blank.js +2 -2
  428. package/esm2015/constants/masks.js +7 -7
  429. package/esm2015/constants/router-link-options.js +2 -2
  430. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +11 -11
  431. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +5 -5
  432. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +13 -13
  433. package/esm2015/directives/highlight/highlight.directive.js +11 -11
  434. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +12 -12
  435. package/esm2015/directives/present/present.directive.js +6 -6
  436. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  437. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  438. package/esm2015/directives/value-accessor/value-accessor.directive.js +2 -2
  439. package/esm2015/enums/borders.js +1 -1
  440. package/esm2015/enums/dropdown-position.js +1 -1
  441. package/esm2015/enums/file-state.js +1 -1
  442. package/esm2015/enums/marker-icon-mode.js +1 -1
  443. package/esm2015/enums/status.js +1 -1
  444. package/esm2015/enums/step-state.js +1 -1
  445. package/esm2015/enums/text-align.js +1 -1
  446. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  447. package/esm2015/pipes/field-error/field-error-content-pipe.js +4 -4
  448. package/esm2015/pipes/field-error/field-error-pipe.js +6 -6
  449. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  450. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +3 -3
  451. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  452. package/esm2015/pipes/stringify/stringify.pipe.js +3 -3
  453. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +2 -2
  454. package/esm2015/providers/month-formatter.provider.js +2 -2
  455. package/esm2015/providers/specific-dropdown-controllers.js +3 -3
  456. package/esm2015/tokens/calendar-data-stream.js +2 -2
  457. package/esm2015/tokens/date-inputs-value-transformers.js +4 -4
  458. package/esm2015/tokens/i18n.js +28 -28
  459. package/esm2015/tokens/items-handlers.js +2 -2
  460. package/esm2015/tokens/mobile-aware.js +2 -2
  461. package/esm2015/tokens/mobile-calendar.js +2 -2
  462. package/esm2015/tokens/month-formatter.js +2 -2
  463. package/esm2015/tokens/tab-margin.js +2 -2
  464. package/esm2015/tokens/tag-status.js +2 -2
  465. package/esm2015/tokens/validation-errors.js +2 -2
  466. package/esm2015/utils/dom/get-word-range.js +5 -5
  467. package/esm2015/utils/files/format-size.js +2 -2
  468. package/esm2015/utils/files/get-accept-array.js +2 -2
  469. package/esm2015/utils/format/string-hash-to-hsl.js +3 -3
  470. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  471. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  472. package/esm2015/utils/mask/create-date-mask.js +5 -5
  473. package/esm2015/utils/mask/create-date-range-mask.js +2 -2
  474. package/esm2015/utils/mask/create-time-mask.js +4 -4
  475. package/esm2015/utils/math/horizontal-direction-to-number.js +3 -3
  476. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  477. package/esm2015/utils/miscellaneous/get-precision.js +2 -2
  478. package/esm2015/validators/unfinished.validator.js +2 -2
  479. package/esm5/abstract/input-slider.js +12 -12
  480. package/esm5/abstract/slider/slider.js +12 -12
  481. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  482. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  483. package/esm5/components/accordion/accordion-item/accordion-item.component.js +11 -11
  484. package/esm5/components/accordion/accordion.component.js +2 -2
  485. package/esm5/components/action/action.component.js +9 -9
  486. package/esm5/components/arrow/arrow-options.js +5 -5
  487. package/esm5/components/arrow/arrow.component.js +2 -2
  488. package/esm5/components/avatar/avatar-options.js +3 -3
  489. package/esm5/components/avatar/avatar.component.js +12 -12
  490. package/esm5/components/badge/badge.component.js +15 -15
  491. package/esm5/components/badged-content/badged-content.component.js +22 -22
  492. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  493. package/esm5/components/breadcrumbs/breadcrumbs.component.js +4 -4
  494. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  495. package/esm5/components/calendar-range/calendar-range.component.js +4 -4
  496. package/esm5/components/carousel/carousel-autoscroll.directive.js +3 -3
  497. package/esm5/components/carousel/carousel-buttons.directive.js +4 -4
  498. package/esm5/components/carousel/carousel-scroll.directive.js +3 -3
  499. package/esm5/components/carousel/carousel.component.js +10 -10
  500. package/esm5/components/carousel/carousel.directive.js +3 -3
  501. package/esm5/components/checkbox/checkbox.component.js +4 -4
  502. package/esm5/components/checkbox-block/checkbox-block.component.js +9 -9
  503. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  504. package/esm5/components/combo-box/combo-box-strict.directive.js +3 -3
  505. package/esm5/components/combo-box/combo-box.component.js +7 -7
  506. package/esm5/components/combo-box/combo-box.directive.js +2 -2
  507. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  508. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  509. package/esm5/components/data-list-wrapper/data-list-wrapper.js +3 -3
  510. package/esm5/components/field-error/field-error.component.js +6 -6
  511. package/esm5/components/files/file/file.component.js +20 -20
  512. package/esm5/components/files/files.component.js +2 -2
  513. package/esm5/components/filter/filter.component.js +4 -4
  514. package/esm5/components/input/input.component.js +5 -5
  515. package/esm5/components/input/input.directive.js +2 -2
  516. package/esm5/components/input-copy/input-copy.component.js +8 -8
  517. package/esm5/components/input-copy/input-copy.directive.js +2 -2
  518. package/esm5/components/input-count/input-count-options.js +6 -6
  519. package/esm5/components/input-count/input-count.component.js +12 -12
  520. package/esm5/components/input-count/input-count.directive.js +4 -4
  521. package/esm5/components/input-date/input-date.component.js +9 -9
  522. package/esm5/components/input-date/input-date.directive.js +3 -3
  523. package/esm5/components/input-date-range/input-date-range.component.js +13 -13
  524. package/esm5/components/input-date-range/input-date-range.directive.js +3 -3
  525. package/esm5/components/input-date-time/input-date-time.component.js +15 -15
  526. package/esm5/components/input-date-time/input-date-time.directive.js +3 -3
  527. package/esm5/components/input-file/file/file.component.js +18 -18
  528. package/esm5/components/input-file/input-file.component.js +18 -18
  529. package/esm5/components/input-files/input-files.component.js +16 -16
  530. package/esm5/components/input-files/input-files.module.js +10 -3
  531. package/esm5/components/input-inline/input-inline.component.js +5 -5
  532. package/esm5/components/input-month/input-month.component.js +4 -4
  533. package/esm5/components/input-month/input-month.directive.js +3 -3
  534. package/esm5/components/input-month-range/input-month-range.component.js +7 -8
  535. package/esm5/components/input-month-range/input-month-range.directive.js +4 -4
  536. package/esm5/components/input-number/input-number.component.js +21 -21
  537. package/esm5/components/input-number/input-number.directive.js +3 -3
  538. package/esm5/components/input-password/input-password-options.js +4 -4
  539. package/esm5/components/input-password/input-password.component.js +5 -5
  540. package/esm5/components/input-password/input-password.directive.js +3 -3
  541. package/esm5/components/input-phone/input-phone.component.js +30 -30
  542. package/esm5/components/input-phone/input-phone.directive.js +3 -3
  543. package/esm5/components/input-phone/input-phone.options.js +4 -4
  544. package/esm5/components/input-phone/input-phone.providers.js +3 -3
  545. package/esm5/components/input-phone-international/const/countries.js +215 -214
  546. package/esm5/components/input-phone-international/country-iso-code.js +1 -1
  547. package/esm5/components/input-phone-international/input-phone-international.component.js +14 -14
  548. package/esm5/components/input-phone-international/input-phone-international.options.js +2 -2
  549. package/esm5/components/input-phone-international/tokens/countries-masks.js +2 -2
  550. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  551. package/esm5/components/input-range/input-range.component.js +17 -17
  552. package/esm5/components/input-slider/input-slider.component.js +35 -22
  553. package/esm5/components/input-tag/input-tag-options.js +3 -3
  554. package/esm5/components/input-tag/input-tag.component.js +23 -23
  555. package/esm5/components/input-time/input-time-options.js +6 -6
  556. package/esm5/components/input-time/input-time.component.js +9 -9
  557. package/esm5/components/island/island.component.js +19 -19
  558. package/esm5/components/line-clamp/line-clamp-options.js +2 -2
  559. package/esm5/components/line-clamp/line-clamp.component.js +9 -9
  560. package/esm5/components/marker-icon/marker-icon.component.js +7 -7
  561. package/esm5/components/multi-select/hide-selected.pipe.js +2 -2
  562. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  563. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  564. package/esm5/components/multi-select/multi-select-options.js +3 -3
  565. package/esm5/components/multi-select/multi-select.component.js +10 -10
  566. package/esm5/components/multi-select-option/multi-select-option.component.js +3 -3
  567. package/esm5/components/pagination/pagination.component.js +8 -8
  568. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -6
  569. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  570. package/esm5/components/pdf-viewer/pdf-viewer.service.js +3 -3
  571. package/esm5/components/progress/progress-bar/progress-bar.component.js +6 -6
  572. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  573. package/esm5/components/progress/progress-circle/progress-circle.component.js +7 -7
  574. package/esm5/components/progress/progress-label/progress-label.component.js +2 -2
  575. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  576. package/esm5/components/progress/utils/calculate-color-segments.js +2 -2
  577. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  578. package/esm5/components/progress/utils/progress-color-segments.pipe.js +2 -2
  579. package/esm5/components/radio/radio-options.js +3 -3
  580. package/esm5/components/radio/radio.component.js +7 -7
  581. package/esm5/components/radio-block/radio-block.component.js +10 -10
  582. package/esm5/components/radio-group/radio-group.component.js +2 -2
  583. package/esm5/components/radio-labeled/radio-labeled.component.js +6 -6
  584. package/esm5/components/radio-list/radio-list.component.js +6 -6
  585. package/esm5/components/range/range-change.directive.js +12 -12
  586. package/esm5/components/range/range.component.js +23 -23
  587. package/esm5/components/rating/rating-options.js +4 -4
  588. package/esm5/components/rating/rating.component.js +5 -5
  589. package/esm5/components/select/select-options.js +3 -3
  590. package/esm5/components/select/select.component.js +4 -4
  591. package/esm5/components/select/select.directive.js +2 -2
  592. package/esm5/components/select-option/select-option.component.js +3 -3
  593. package/esm5/components/slider/helpers/slider-key-steps.directive.js +129 -0
  594. package/esm5/components/slider/helpers/slider-readonly.directive.js +87 -0
  595. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +55 -0
  596. package/esm5/components/slider/index.js +4 -3
  597. package/esm5/components/slider/slider-old.component.js +2 -2
  598. package/esm5/components/slider/slider-options.js +4 -4
  599. package/esm5/components/slider/slider.component.js +9 -9
  600. package/esm5/components/slider/slider.module.js +6 -3
  601. package/esm5/components/stepper/step/step.component.js +12 -12
  602. package/esm5/components/stepper/stepper.component.js +15 -15
  603. package/esm5/components/tabs/tab/tab.component.js +8 -8
  604. package/esm5/components/tabs/tab/tab.providers.js +4 -4
  605. package/esm5/components/tabs/tabs/tabs.component.js +13 -13
  606. package/esm5/components/tabs/tabs-options.js +2 -2
  607. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +11 -9
  608. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  609. package/esm5/components/tabs/underline/underline.component.js +13 -13
  610. package/esm5/components/tag/tag-options.js +4 -4
  611. package/esm5/components/tag/tag.component.js +22 -22
  612. package/esm5/components/text-area/text-area.component.js +17 -17
  613. package/esm5/components/text-area/text-area.directive.js +2 -2
  614. package/esm5/components/toggle/toggle-options.js +5 -5
  615. package/esm5/components/toggle/toggle.component.js +8 -8
  616. package/esm5/components/tree/components/tree/tree.component.js +3 -3
  617. package/esm5/components/tree/components/tree-item/tree-item.component.js +4 -4
  618. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  619. package/esm5/components/tree/directives/tree-children.directive.js +2 -2
  620. package/esm5/components/tree/directives/tree-controller.directive.js +4 -4
  621. package/esm5/components/tree/directives/tree-item-controller.directive.js +4 -4
  622. package/esm5/components/tree/directives/tree-node.directive.js +3 -3
  623. package/esm5/components/tree/misc/tree.tokens.js +9 -9
  624. package/esm5/constants/date-time-separator.js +2 -2
  625. package/esm5/constants/group-class-names.js +10 -10
  626. package/esm5/constants/icon-blank.js +2 -2
  627. package/esm5/constants/masks.js +7 -7
  628. package/esm5/constants/router-link-options.js +2 -2
  629. package/esm5/directives/dropdown-context/dropdown-context.directive.js +11 -11
  630. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +7 -7
  631. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +13 -13
  632. package/esm5/directives/highlight/highlight.directive.js +11 -11
  633. package/esm5/directives/lazy-loading/lazy-loading.directive.js +12 -12
  634. package/esm5/directives/present/present.directive.js +6 -6
  635. package/esm5/directives/project-class/project-class.directive.js +3 -3
  636. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  637. package/esm5/directives/value-accessor/value-accessor.directive.js +2 -2
  638. package/esm5/enums/borders.js +1 -1
  639. package/esm5/enums/dropdown-position.js +1 -1
  640. package/esm5/enums/file-state.js +1 -1
  641. package/esm5/enums/marker-icon-mode.js +1 -1
  642. package/esm5/enums/status.js +1 -1
  643. package/esm5/enums/step-state.js +1 -1
  644. package/esm5/enums/text-align.js +1 -1
  645. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  646. package/esm5/pipes/field-error/field-error-content-pipe.js +4 -4
  647. package/esm5/pipes/field-error/field-error-pipe.js +6 -6
  648. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  649. package/esm5/pipes/filter-by-input/filter-by-input.base.js +3 -3
  650. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  651. package/esm5/pipes/stringify/stringify.pipe.js +3 -3
  652. package/esm5/pipes/stringify-content/stringify-content.pipe.js +2 -2
  653. package/esm5/providers/month-formatter.provider.js +2 -2
  654. package/esm5/providers/specific-dropdown-controllers.js +3 -3
  655. package/esm5/tokens/calendar-data-stream.js +2 -2
  656. package/esm5/tokens/date-inputs-value-transformers.js +4 -4
  657. package/esm5/tokens/i18n.js +28 -28
  658. package/esm5/tokens/items-handlers.js +2 -2
  659. package/esm5/tokens/mobile-aware.js +2 -2
  660. package/esm5/tokens/mobile-calendar.js +2 -2
  661. package/esm5/tokens/month-formatter.js +2 -2
  662. package/esm5/tokens/tab-margin.js +2 -2
  663. package/esm5/tokens/tag-status.js +2 -2
  664. package/esm5/tokens/validation-errors.js +2 -2
  665. package/esm5/utils/dom/get-word-range.js +5 -5
  666. package/esm5/utils/files/format-size.js +2 -2
  667. package/esm5/utils/files/get-accept-array.js +2 -2
  668. package/esm5/utils/format/string-hash-to-hsl.js +3 -3
  669. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  670. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  671. package/esm5/utils/mask/create-date-mask.js +5 -5
  672. package/esm5/utils/mask/create-date-range-mask.js +2 -2
  673. package/esm5/utils/mask/create-time-mask.js +2 -2
  674. package/esm5/utils/math/horizontal-direction-to-number.js +3 -3
  675. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  676. package/esm5/utils/miscellaneous/get-precision.js +2 -2
  677. package/esm5/validators/unfinished.validator.js +2 -2
  678. package/fesm2015/taiga-ui-kit-abstract.js +22 -22
  679. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  680. package/fesm2015/taiga-ui-kit-components-accordion.js +13 -13
  681. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  682. package/fesm2015/taiga-ui-kit-components-action.js +8 -8
  683. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  684. package/fesm2015/taiga-ui-kit-components-arrow.js +5 -5
  685. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  686. package/fesm2015/taiga-ui-kit-components-avatar.js +13 -13
  687. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  688. package/fesm2015/taiga-ui-kit-components-badge.js +14 -14
  689. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  690. package/fesm2015/taiga-ui-kit-components-badged-content.js +21 -21
  691. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  692. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +7 -7
  693. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  694. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  695. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  696. package/fesm2015/taiga-ui-kit-components-calendar-range.js +3 -3
  697. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  698. package/fesm2015/taiga-ui-kit-components-carousel.js +18 -18
  699. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  700. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +8 -8
  701. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  702. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  703. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  704. package/fesm2015/taiga-ui-kit-components-checkbox.js +3 -3
  705. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  706. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -9
  707. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  708. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  709. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  710. package/fesm2015/taiga-ui-kit-components-field-error.js +5 -5
  711. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  712. package/fesm2015/taiga-ui-kit-components-files.js +20 -20
  713. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  714. package/fesm2015/taiga-ui-kit-components-filter.js +3 -3
  715. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  716. package/fesm2015/taiga-ui-kit-components-input-copy.js +8 -8
  717. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  718. package/fesm2015/taiga-ui-kit-components-input-count.js +19 -19
  719. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  720. package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -14
  721. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  722. package/fesm2015/taiga-ui-kit-components-input-date-time.js +16 -16
  723. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  724. package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
  725. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  726. package/fesm2015/taiga-ui-kit-components-input-file.js +34 -34
  727. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  728. package/fesm2015/taiga-ui-kit-components-input-files.js +24 -17
  729. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  730. package/fesm2015/taiga-ui-kit-components-input-inline.js +4 -4
  731. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  732. package/fesm2015/taiga-ui-kit-components-input-month-range.js +9 -10
  733. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  734. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -5
  735. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  736. package/fesm2015/taiga-ui-kit-components-input-number.js +22 -22
  737. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  738. package/fesm2015/taiga-ui-kit-components-input-password.js +9 -9
  739. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  740. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +230 -229
  741. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  742. package/fesm2015/taiga-ui-kit-components-input-phone.js +36 -36
  743. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  744. package/fesm2015/taiga-ui-kit-components-input-range.js +16 -16
  745. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  746. package/fesm2015/taiga-ui-kit-components-input-slider.js +30 -22
  747. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  748. package/fesm2015/taiga-ui-kit-components-input-tag.js +24 -24
  749. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  750. package/fesm2015/taiga-ui-kit-components-input-time.js +13 -13
  751. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  752. package/fesm2015/taiga-ui-kit-components-input.js +5 -5
  753. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  754. package/fesm2015/taiga-ui-kit-components-island.js +18 -18
  755. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  756. package/fesm2015/taiga-ui-kit-components-line-clamp.js +9 -9
  757. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  758. package/fesm2015/taiga-ui-kit-components-marker-icon.js +6 -6
  759. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  760. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +2 -2
  761. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  762. package/fesm2015/taiga-ui-kit-components-multi-select.js +17 -17
  763. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  764. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  765. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  766. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +10 -10
  767. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  768. package/fesm2015/taiga-ui-kit-components-progress.js +26 -26
  769. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  770. package/fesm2015/taiga-ui-kit-components-radio-block.js +9 -9
  771. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  772. package/fesm2015/taiga-ui-kit-components-radio-group.js +1 -1
  773. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  774. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +5 -5
  775. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  776. package/fesm2015/taiga-ui-kit-components-radio-list.js +5 -5
  777. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  778. package/fesm2015/taiga-ui-kit-components-radio.js +8 -8
  779. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  780. package/fesm2015/taiga-ui-kit-components-range.js +31 -31
  781. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  782. package/fesm2015/taiga-ui-kit-components-rating.js +7 -7
  783. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  784. package/fesm2015/taiga-ui-kit-components-select-option.js +2 -2
  785. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  786. package/fesm2015/taiga-ui-kit-components-select.js +6 -6
  787. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  788. package/fesm2015/taiga-ui-kit-components-slider.js +136 -100
  789. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  790. package/fesm2015/taiga-ui-kit-components-stepper.js +25 -25
  791. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  792. package/fesm2015/taiga-ui-kit-components-tabs.js +46 -44
  793. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  794. package/fesm2015/taiga-ui-kit-components-tag.js +24 -24
  795. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  796. package/fesm2015/taiga-ui-kit-components-text-area.js +17 -17
  797. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  798. package/fesm2015/taiga-ui-kit-components-toggle.js +11 -11
  799. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  800. package/fesm2015/taiga-ui-kit-components-tree.js +24 -24
  801. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  802. package/fesm2015/taiga-ui-kit-constants.js +18 -18
  803. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  804. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +10 -10
  805. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  806. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +4 -4
  807. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  808. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +12 -12
  809. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  810. package/fesm2015/taiga-ui-kit-directives-highlight.js +10 -10
  811. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  812. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +11 -11
  813. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  814. package/fesm2015/taiga-ui-kit-directives-present.js +5 -5
  815. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  816. package/fesm2015/taiga-ui-kit-directives-project-class.js +2 -2
  817. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  818. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  819. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  820. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +1 -1
  821. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  822. package/fesm2015/taiga-ui-kit-enums.js.map +1 -1
  823. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  824. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  825. package/fesm2015/taiga-ui-kit-pipes-field-error.js +8 -8
  826. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  827. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  828. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  829. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +1 -1
  830. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  831. package/fesm2015/taiga-ui-kit-pipes-stringify.js +2 -2
  832. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  833. package/fesm2015/taiga-ui-kit-providers.js +3 -3
  834. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  835. package/fesm2015/taiga-ui-kit-tokens.js +38 -38
  836. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  837. package/fesm2015/taiga-ui-kit-utils-dom.js +4 -4
  838. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  839. package/fesm2015/taiga-ui-kit-utils-files.js +2 -2
  840. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  841. package/fesm2015/taiga-ui-kit-utils-format.js +2 -2
  842. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  843. package/fesm2015/taiga-ui-kit-utils-mask.js +14 -14
  844. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  845. package/fesm2015/taiga-ui-kit-utils-math.js +2 -2
  846. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  847. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +7 -7
  848. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  849. package/fesm2015/taiga-ui-kit-validators.js +1 -1
  850. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  851. package/fesm5/taiga-ui-kit-abstract.js +22 -22
  852. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  853. package/fesm5/taiga-ui-kit-components-accordion.js +13 -13
  854. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  855. package/fesm5/taiga-ui-kit-components-action.js +8 -8
  856. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  857. package/fesm5/taiga-ui-kit-components-arrow.js +5 -5
  858. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  859. package/fesm5/taiga-ui-kit-components-avatar.js +13 -13
  860. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  861. package/fesm5/taiga-ui-kit-components-badge.js +14 -14
  862. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  863. package/fesm5/taiga-ui-kit-components-badged-content.js +21 -21
  864. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  865. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +7 -7
  866. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  867. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  868. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  869. package/fesm5/taiga-ui-kit-components-calendar-range.js +3 -3
  870. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  871. package/fesm5/taiga-ui-kit-components-carousel.js +18 -18
  872. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-checkbox-block.js +8 -8
  874. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  876. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  877. package/fesm5/taiga-ui-kit-components-checkbox.js +3 -3
  878. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  879. package/fesm5/taiga-ui-kit-components-combo-box.js +9 -9
  880. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  882. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  883. package/fesm5/taiga-ui-kit-components-field-error.js +5 -5
  884. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-components-files.js +20 -20
  886. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-components-filter.js +3 -3
  888. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  889. package/fesm5/taiga-ui-kit-components-input-copy.js +8 -8
  890. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  891. package/fesm5/taiga-ui-kit-components-input-count.js +19 -19
  892. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  893. package/fesm5/taiga-ui-kit-components-input-date-range.js +14 -14
  894. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  895. package/fesm5/taiga-ui-kit-components-input-date-time.js +16 -16
  896. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  897. package/fesm5/taiga-ui-kit-components-input-date.js +10 -10
  898. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  899. package/fesm5/taiga-ui-kit-components-input-file.js +34 -34
  900. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  901. package/fesm5/taiga-ui-kit-components-input-files.js +24 -17
  902. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  903. package/fesm5/taiga-ui-kit-components-input-inline.js +4 -4
  904. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  905. package/fesm5/taiga-ui-kit-components-input-month-range.js +9 -10
  906. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  907. package/fesm5/taiga-ui-kit-components-input-month.js +5 -5
  908. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  909. package/fesm5/taiga-ui-kit-components-input-number.js +22 -22
  910. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  911. package/fesm5/taiga-ui-kit-components-input-password.js +9 -9
  912. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  913. package/fesm5/taiga-ui-kit-components-input-phone-international.js +230 -229
  914. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  915. package/fesm5/taiga-ui-kit-components-input-phone.js +36 -36
  916. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  917. package/fesm5/taiga-ui-kit-components-input-range.js +16 -16
  918. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  919. package/fesm5/taiga-ui-kit-components-input-slider.js +34 -22
  920. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  921. package/fesm5/taiga-ui-kit-components-input-tag.js +24 -24
  922. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  923. package/fesm5/taiga-ui-kit-components-input-time.js +13 -13
  924. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  925. package/fesm5/taiga-ui-kit-components-input.js +5 -5
  926. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  927. package/fesm5/taiga-ui-kit-components-island.js +18 -18
  928. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  929. package/fesm5/taiga-ui-kit-components-line-clamp.js +9 -9
  930. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  931. package/fesm5/taiga-ui-kit-components-marker-icon.js +6 -6
  932. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  933. package/fesm5/taiga-ui-kit-components-multi-select-option.js +2 -2
  934. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  935. package/fesm5/taiga-ui-kit-components-multi-select.js +17 -17
  936. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  937. package/fesm5/taiga-ui-kit-components-pagination.js +7 -7
  938. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  939. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +10 -10
  940. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  941. package/fesm5/taiga-ui-kit-components-progress.js +26 -26
  942. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  943. package/fesm5/taiga-ui-kit-components-radio-block.js +9 -9
  944. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  945. package/fesm5/taiga-ui-kit-components-radio-group.js +1 -1
  946. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  947. package/fesm5/taiga-ui-kit-components-radio-labeled.js +5 -5
  948. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  949. package/fesm5/taiga-ui-kit-components-radio-list.js +5 -5
  950. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  951. package/fesm5/taiga-ui-kit-components-radio.js +8 -8
  952. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  953. package/fesm5/taiga-ui-kit-components-range.js +33 -33
  954. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  955. package/fesm5/taiga-ui-kit-components-rating.js +7 -7
  956. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  957. package/fesm5/taiga-ui-kit-components-select-option.js +2 -2
  958. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  959. package/fesm5/taiga-ui-kit-components-select.js +6 -6
  960. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  961. package/fesm5/taiga-ui-kit-components-slider.js +159 -108
  962. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  963. package/fesm5/taiga-ui-kit-components-stepper.js +25 -25
  964. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  965. package/fesm5/taiga-ui-kit-components-tabs.js +46 -44
  966. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  967. package/fesm5/taiga-ui-kit-components-tag.js +24 -24
  968. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  969. package/fesm5/taiga-ui-kit-components-text-area.js +17 -17
  970. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  971. package/fesm5/taiga-ui-kit-components-toggle.js +11 -11
  972. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  973. package/fesm5/taiga-ui-kit-components-tree.js +24 -24
  974. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  975. package/fesm5/taiga-ui-kit-constants.js +18 -18
  976. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  977. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +10 -10
  978. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  979. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +6 -6
  980. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  981. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +12 -12
  982. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  983. package/fesm5/taiga-ui-kit-directives-highlight.js +10 -10
  984. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  985. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +11 -11
  986. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  987. package/fesm5/taiga-ui-kit-directives-present.js +5 -5
  988. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  989. package/fesm5/taiga-ui-kit-directives-project-class.js +2 -2
  990. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  991. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  992. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  993. package/fesm5/taiga-ui-kit-directives-value-accessor.js +1 -1
  994. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  995. package/fesm5/taiga-ui-kit-enums.js.map +1 -1
  996. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  997. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  998. package/fesm5/taiga-ui-kit-pipes-field-error.js +8 -8
  999. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1000. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  1001. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1002. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +1 -1
  1003. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1004. package/fesm5/taiga-ui-kit-pipes-stringify.js +2 -2
  1005. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1006. package/fesm5/taiga-ui-kit-providers.js +3 -3
  1007. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  1008. package/fesm5/taiga-ui-kit-tokens.js +38 -38
  1009. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  1010. package/fesm5/taiga-ui-kit-utils-dom.js +4 -4
  1011. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  1012. package/fesm5/taiga-ui-kit-utils-files.js +2 -2
  1013. package/fesm5/taiga-ui-kit-utils-files.js.map +1 -1
  1014. package/fesm5/taiga-ui-kit-utils-format.js +2 -2
  1015. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  1016. package/fesm5/taiga-ui-kit-utils-mask.js +12 -12
  1017. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  1018. package/fesm5/taiga-ui-kit-utils-math.js +2 -2
  1019. package/fesm5/taiga-ui-kit-utils-math.js.map +1 -1
  1020. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +7 -7
  1021. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1022. package/fesm5/taiga-ui-kit-validators.js +1 -1
  1023. package/fesm5/taiga-ui-kit-validators.js.map +1 -1
  1024. package/package.json +4 -4
  1025. package/esm2015/components/slider/slider-key-steps.directive.js +0 -103
  1026. package/esm2015/components/slider/slider-readonly.directive.js +0 -79
  1027. package/esm5/components/slider/slider-key-steps.directive.js +0 -129
  1028. package/esm5/components/slider/slider-readonly.directive.js +0 -87
@@ -7,10 +7,10 @@ import { TuiSvgModule } from '@taiga-ui/core';
7
7
  const 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
- const TUI_RATING_OPTIONS = new InjectionToken('Default parameters for rating component', {
13
+ const TUI_RATING_OPTIONS = new InjectionToken(`Default parameters for rating component`, {
14
14
  factory: () => TUI_RATING_DEFAULT_OPTIONS,
15
15
  });
16
16
  const tuiRatingOptionsProvider = (options) => ({
@@ -61,7 +61,7 @@ TuiRatingComponent.ctorParameters = () => [
61
61
  { type: undefined, decorators: [{ type: Inject, args: [TUI_RATING_OPTIONS,] }] }
62
62
  ];
63
63
  __decorate([
64
- ViewChild('focusableElement')
64
+ ViewChild(`focusableElement`)
65
65
  ], TuiRatingComponent.prototype, "focusableElement", void 0);
66
66
  __decorate([
67
67
  Input(),
@@ -80,12 +80,12 @@ __decorate([
80
80
  tuiDefaultProp()
81
81
  ], TuiRatingComponent.prototype, "iconFilled", void 0);
82
82
  __decorate([
83
- HostListener('focusin', ['true']),
84
- HostListener('focusout', ['false'])
83
+ HostListener(`focusin`, [`true`]),
84
+ HostListener(`focusout`, [`false`])
85
85
  ], TuiRatingComponent.prototype, "onFocused", null);
86
86
  TuiRatingComponent = TuiRatingComponent_1 = __decorate([
87
87
  Component({
88
- selector: 'tui-rating',
88
+ selector: `tui-rating`,
89
89
  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",
90
90
  changeDetection: ChangeDetectionStrategy.OnPush,
91
91
  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":";;;;;;MASa,0BAA0B,GAAqB;IACxD,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,UAAU,EAAE,kBAAkB;IAC9B,UAAU,EAAE,wBA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ClB,oBAAoB;YACpB,WAAW;YACX,mBAAmB;SACtB;QACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;AClB/B;;;;;;"}
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":";;;;;;MASa,0BAA0B,GAAqB;IACxD,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,UAAU,EAAE,kBAAkB;IAC9B,UAAU,EAAE,wBAAwB;EACtC;MAEW,kBAAkB,GAAG,IAAI,cAAc,CAChD,yCAAyC,EACzC;IACI,OAAO,EAAE,MAAM,0BAA0B;CAC5C,EACH;MAEW,wBAAwB,GAEhB,CAAC,OAAkC,MAAM;IAC1D,OAAO,EAAE,kBAAkB;IAC3B,QAAQ,kCAAM,0BAA0B,GAAK,OAAO,CAAC;CACxD;;;ICQY,kBAAkB,0BAA/B,MAAa,kBACT,SAAQ,kBAA0B;IAsBlC,YAII,SAA2B,EAE3B,iBAAoC,EAEnB,OAAyB;QAE1C,KAAK,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAFnB,YAAO,GAAP,OAAO,CAAkB;QAtB9C,QAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;QAIvB,QAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;QAIvB,eAAU,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC;QAIrC,eAAU,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC;KAapC;IAED,IAAI,sBAAsB;QACtB,OAAO,IAAI,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,gBAAgB;cAChD,IAAI;cACJ,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC;KAC7C;IAED,IAAI,OAAO;QACP,OAAO,eAAe,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;KACvD;IAED,IAAI,WAAW;QACX,OAAO,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,C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IAAI,EAAE,CAAA;IACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;IAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;IAEzB,WAAA,MAAM,CAAC,kBAAkB,CAAC,CAAA;GA9BtB,kBAAkB,CAuE9B;;ICzFY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAX3B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,kBAAkB;YAClB,oBAAoB;YACpB,WAAW;YACX,mBAAmB;SACtB;QACD,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;AClB/B;;;;;;"}
@@ -16,7 +16,7 @@ let TuiSelectOptionComponent = class TuiSelectOptionComponent {
16
16
  this.elementRef = elementRef;
17
17
  this.option = option;
18
18
  this.control = control;
19
- this.selected$ = merge((_a = this.control.valueChanges) !== null && _a !== void 0 ? _a : EMPTY, typedFromEvent(this.elementRef.nativeElement, 'animationstart')).pipe(startWith(null), map(() => this.selected), distinctUntilChanged());
19
+ this.selected$ = merge((_a = this.control.valueChanges) !== null && _a !== void 0 ? _a : EMPTY, typedFromEvent(this.elementRef.nativeElement, `animationstart`)).pipe(startWith(null), map(() => this.selected), distinctUntilChanged());
20
20
  }
21
21
  get matcher() {
22
22
  return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;
@@ -50,7 +50,7 @@ TuiSelectOptionComponent.ctorParameters = () => [
50
50
  ];
51
51
  TuiSelectOptionComponent = __decorate([
52
52
  Component({
53
- selector: 'tui-select-option',
53
+ selector: `tui-select-option`,
54
54
  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",
55
55
  changeDetection: ChangeDetectionStrategy.OnPush,
56
56
  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}"]
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-select-option.js","sources":["ng://@taiga-ui/kit/components/select-option/select-option.component.ts","ng://@taiga-ui/kit/components/select-option/select-option.module.ts","ng://@taiga-ui/kit/components/select-option/taiga-ui-kit-components-select-option.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n OnInit,\n TemplateRef,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isPresent,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TuiContextWithImplicit,\n TuiIdentityMatcher,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TuiDataListHost, TuiOptionComponent} from '@taiga-ui/core';\nimport {POLYMORPHEUS_CONTEXT, PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\nimport {EMPTY, merge} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-select-option',\n templateUrl: './select-option.template.html',\n styleUrls: ['./select-option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSelectOptionComponent<T> implements OnInit {\n readonly selected$ = merge(\n this.control.valueChanges ?? EMPTY,\n typedFromEvent(this.elementRef.nativeElement, 'animationstart'),\n ).pipe(\n startWith(null),\n map(() => this.selected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>,\n @Inject(TUI_DATA_LIST_HOST)\n private readonly host: TuiDataListHost<T>,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiOptionComponent) protected readonly option: TuiOptionComponent<T>,\n @Inject(NgControl) protected readonly control: NgControl,\n ) {}\n\n get matcher(): TuiIdentityMatcher<T> {\n return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;\n }\n\n ngOnInit(): void {\n /**\n * This would cause changes inside already checked parent component (during the same change detection cycle),\n * and it might cause ExpressionChanged error due to potential HostBinding\n * (for example, inside {@link https://github.com/angular/angular/blob/main/packages/forms/src/directives/ng_control_status.ts#L99 NgControlStatus}).\n * Microtask keeps it in the same frame but allows change detection to run.\n */\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n Promise.resolve().then(() => {\n if (isPresent(this.option.value) && this.host.checkOption) {\n this.host.checkOption(this.option.value);\n }\n });\n }\n\n protected get selected(): boolean {\n return (\n isPresent(this.option.value) &&\n isPresent(this.control.value) &&\n this.matcher(this.control.value, this.option.value)\n );\n }\n}\n\nexport const TUI_SELECT_OPTION = new PolymorpheusComponent(TuiSelectOptionComponent);\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiScrollIntoViewModule, TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiSelectOptionComponent} from './select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule, TuiScrollIntoViewModule],\n declarations: [TuiSelectOptionComponent],\n exports: [TuiSelectOptionComponent],\n entryComponents: [TuiSelectOptionComponent],\n})\nexport class TuiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;IA2Ba,wBAAwB,GAArC,MAAa,wBAAwB;IAUjC,YAEa,OAAqE,EAE7D,IAAwB,EACJ,UAAmC,EACzB,MAA6B,EACtC,OAAkB;;QAL/C,YAAO,GAAP,OAAO,CAA8D;QAE7D,SAAI,GAAJ,IAAI,CAAoB;QACJ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AmB;QAC7B,+WAA4C;QAE5C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;KAClD,CAAC;IAYO,WAAA,MAAM,CAAC,oBAAoB,CAAC,CAAA;IAE5B,WAAA,MAAM,CAAC,kBAAkB,CAAC,CAAA;IAE1B,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;IAClB,WAAA,MAAM,CAAC,kBAAkB,CAAC,CAAA;IAC1B,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;GAjBb,wBAAwB,CA8CpC;MAEY,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,wBAAwB;;IC/DtE,qBAAqB,GAAlC,MAAa,qBAAqB;EAAG;AAAxB,qBAAqB;IANjC,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,uBAAuB,CAAC;QAC9D,YAAY,EAAE,CAAC,wBAAwB,CAAC;QACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;QACnC,eAAe,EAAE,CAAC,wBAAwB,CAAC;KAC9C,CAAC;GACW,qBAAqB,CAAG;;ACZrC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-select-option.js","sources":["ng://@taiga-ui/kit/components/select-option/select-option.component.ts","ng://@taiga-ui/kit/components/select-option/select-option.module.ts","ng://@taiga-ui/kit/components/select-option/taiga-ui-kit-components-select-option.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n OnInit,\n TemplateRef,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isPresent,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TuiContextWithImplicit,\n TuiIdentityMatcher,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TuiDataListHost, TuiOptionComponent} from '@taiga-ui/core';\nimport {POLYMORPHEUS_CONTEXT, PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\nimport {EMPTY, merge} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\n@Component({\n selector: `tui-select-option`,\n templateUrl: `./select-option.template.html`,\n styleUrls: [`./select-option.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSelectOptionComponent<T> implements OnInit {\n readonly selected$ = merge(\n this.control.valueChanges ?? EMPTY,\n typedFromEvent(this.elementRef.nativeElement, `animationstart`),\n ).pipe(\n startWith(null),\n map(() => this.selected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>,\n @Inject(TUI_DATA_LIST_HOST)\n private readonly host: TuiDataListHost<T>,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiOptionComponent) protected readonly option: TuiOptionComponent<T>,\n @Inject(NgControl) protected readonly control: NgControl,\n ) {}\n\n get matcher(): TuiIdentityMatcher<T> {\n return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;\n }\n\n ngOnInit(): void {\n /**\n * This would cause changes inside already checked parent component (during the same change detection cycle),\n * and it might cause ExpressionChanged error due to potential HostBinding\n * (for example, inside {@link https://github.com/angular/angular/blob/main/packages/forms/src/directives/ng_control_status.ts#L99 NgControlStatus}).\n * Microtask keeps it in the same frame but allows change detection to run.\n */\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n Promise.resolve().then(() => {\n if (isPresent(this.option.value) && this.host.checkOption) {\n this.host.checkOption(this.option.value);\n }\n });\n }\n\n protected get selected(): boolean {\n return (\n isPresent(this.option.value) &&\n isPresent(this.control.value) &&\n this.matcher(this.control.value, this.option.value)\n );\n }\n}\n\nexport const TUI_SELECT_OPTION = new PolymorpheusComponent(TuiSelectOptionComponent);\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiScrollIntoViewModule, TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiSelectOptionComponent} from './select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule, TuiScrollIntoViewModule],\n declarations: [TuiSelectOptionComponent],\n exports: [TuiSelectOptionComponent],\n entryComponents: [TuiSelectOptionComponent],\n})\nexport class TuiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;IA2Ba,wBAAwB,GAArC,MAAa,wBAAwB;IAUjC,YAEa,OAAqE,EAE7D,IAAwB,EACJ,UAAmC,EACzB,MAA6B,EACtC,OAAkB;;QAL/C,YAAO,GAAP,OAAO,CAA8D;QAE7D,SAAI,GAAJ,IAAI,CAAoB;QACJ,eAAU,GAAV,UAAU,CAAyB;QACzB,WAAM,GAAN,MAAM,CAAuB;QACtC,YAAO,GAAP,OAAO,CAAW;QAhBnD,cAAS,GAAG,KAAK,OACtB,IAAI,CAAC,OAAO,CAAC,YAAY,mCAAI,KAAK,EAClC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAClE,CAAC,IAAI,CACF,SAAS,CAAC,IAAI,CAAC,EACf,GAAG,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,EACxB,oBAAoB,EAAE,CACzB,CAAC;KAUE;IAEJ,IAAI,OAAO;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,eAAe,IAAI,4BAA4B,CAAC;KACpE;IAED,QAAQ;;;;;;;;QAQJ,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;YACnB,IAAI,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;gBACvD,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;aAC5C;SACJ,CAAC,CAAC;KACN;IAED,IAAc,QAAQ;QAClB,QACI,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;YAC5B,SAAS,CAAC,IAAI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ionToken('Default parameters for select component', {
38
+ const TUI_SELECT_OPTIONS = new InjectionToken(`Default parameters for select component`, {
39
39
  factory: () => TUI_SELECT_DEFAULT_OPTIONS,
40
40
  });
41
41
  const tuiSelectOptionsProvider = (options) => ({
@@ -53,7 +53,7 @@ let TuiSelectComponent = class TuiSelectComponent extends AbstractTuiNullableCon
53
53
  this.stringify = this.itemsHandlers.stringify;
54
54
  this.identityMatcher = this.itemsHandlers.identityMatcher;
55
55
  this.valueContent = this.options.valueContent;
56
- this.datalist = '';
56
+ this.datalist = ``;
57
57
  }
58
58
  get arrow() {
59
59
  return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;
@@ -66,7 +66,7 @@ let TuiSelectComponent = class TuiSelectComponent extends AbstractTuiNullableCon
66
66
  (!!this.hostedDropdown && this.hostedDropdown.focused));
67
67
  }
68
68
  get computedValue() {
69
- return this.value === null ? '' : this.stringify(this.value) || ' ';
69
+ return this.value === null ? `` : this.stringify(this.value) || ` `;
70
70
  }
71
71
  get computedContent() {
72
72
  return this.valueContent || this.computedValue;
@@ -130,7 +130,7 @@ __decorate([
130
130
  ], TuiSelectComponent.prototype, "datalist", void 0);
131
131
  TuiSelectComponent = __decorate([
132
132
  Component({
133
- selector: 'tui-select',
133
+ selector: `tui-select`,
134
134
  template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"interactive\"\n [content]=\"datalist || ''\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-select__textfield\"\n class=\"t-textfield\"\n [editable]=\"false\"\n [pseudoFocused]=\"computedFocused\"\n [pseudoHovered]=\"pseudoHovered\"\n [pseudoPressed]=\"pseudoPressed\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [iconContent]=\"arrow\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (keydown.delete.prevent)=\"onKeyDownDelete()\"\n (keydown.backspace.prevent)=\"onKeyDownDelete()\"\n >\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n <div\n *ngIf=\"value !== null\"\n polymorpheus-outlet\n automation-id=\"tui-select__value\"\n class=\"t-value\"\n [content]=\"computedContent\"\n [context]=\"{$implicit: value, active: computedFocused}\"\n >\n <ng-template let-primitiveValue>\n <div class=\"t-primitive-value\">{{ primitiveValue }}</div>\n </ng-template>\n </div>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n",
135
135
  changeDetection: ChangeDetectionStrategy.OnPush,
136
136
  providers: TUI_SELECT_PROVIDERS,
@@ -160,7 +160,7 @@ let TuiSelectDirective = TuiSelectDirective_1 = class TuiSelectDirective extends
160
160
  };
161
161
  TuiSelectDirective = TuiSelectDirective_1 = __decorate([
162
162
  Directive({
163
- selector: 'tui-select',
163
+ selector: `tui-select`,
164
164
  providers: [
165
165
  {
166
166
  provide: TUI_TEXTFIELD_HOST,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-select.js","sources":["ng://@taiga-ui/kit/components/select/select.providers.ts","ng://@taiga-ui/kit/components/select/select-options.ts","ng://@taiga-ui/kit/components/select/select.component.ts","ng://@taiga-ui/kit/components/select/select.directive.ts","ng://@taiga-ui/kit/components/select/select.module.ts","ng://@taiga-ui/kit/components/select/taiga-ui-kit-components-select.ts"],"sourcesContent":["import {forwardRef} from '@angular/core';\nimport {AbstractTuiControl, TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT} from '@taiga-ui/core';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/kit/components/select-option';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\n\nimport {TuiSelectComponent} from './select.component';\n\n// TODO: 3.0 remove in ivy compilation\nexport const SELECT_OPTION: unknown = TUI_SELECT_OPTION;\n\nexport const TUI_SELECT_PROVIDERS = [\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_OPTION_CONTENT,\n useValue: SELECT_OPTION,\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n];\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiValueContentContext} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiSelectOptions<T> {\n readonly valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n}\n\nexport const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown> = {\n valueContent: '',\n};\n\nexport const TUI_SELECT_OPTIONS = new InjectionToken<TuiSelectOptions<unknown>>(\n 'Default parameters for select component',\n {\n factory: () => TUI_SELECT_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiSelectOptionsProvider: <T>(\n options: Partial<TuiSelectOptions<T>>,\n) => ValueProvider = <T>(options: Partial<TuiSelectOptions<T>>) => ({\n provide: TUI_SELECT_OPTIONS,\n useValue: {...TUI_SELECT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n Inject,\n Input,\n Optional,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n setNativeFocused,\n TuiActiveZoneDirective,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\nimport {\n TUI_TEXTFIELD_CLEANER,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeM,\n TuiSizeS,\n TuiTextfieldCleanerDirective,\n TuiValueContentContext,\n} from '@taiga-ui/core';\nimport {TUI_ARROW_MODE, TuiArrowMode} from '@taiga-ui/kit/components/arrow';\nimport {TUI_ITEMS_HANDLERS, TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_SELECT_PROVIDERS} from './select.providers';\nimport {TUI_SELECT_OPTIONS, TuiSelectOptions} from './select-options';\n\n@Component({\n selector: 'tui-select',\n templateUrl: './select.template.html',\n styleUrls: ['./select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_SELECT_PROVIDERS,\n})\nexport class TuiSelectComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @Input()\n @tuiDefaultProp()\n stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n @tuiDefaultProp()\n valueContent: TuiSelectOptions<T>['valueContent'] = this.options.valueContent;\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = '';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_CLEANER)\n private readonly textfieldCleaner: TuiTextfieldCleanerDirective,\n @Inject(TUI_ARROW_MODE)\n private readonly arrowMode: TuiArrowMode,\n @Inject(TUI_ITEMS_HANDLERS)\n private readonly itemsHandlers: TuiItemsHandlers<T>,\n @Inject(TUI_SELECT_OPTIONS)\n private readonly options: TuiSelectOptions<T>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get arrow(): PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeS | TuiSizeM | TuiSizeL>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): string {\n return this.value === null ? '' : this.stringify(this.value) || ' ';\n }\n\n get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.computedValue;\n }\n\n onValueChange(value: string): void {\n if (!value) {\n this.updateValue(null);\n }\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onKeyDownDelete(): void {\n if (this.textfieldCleaner.cleaner) {\n this.updateValue(null);\n }\n }\n\n handleOption(option: T): void {\n this.focusInput();\n this.updateValue(option);\n this.hostedDropdown?.updateOpen(false);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {Directive, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiSelectComponent} from './select.component';\n\n@Directive({\n selector: 'tui-select',\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiSelectDirective),\n },\n ],\n})\nexport class TuiSelectDirective extends TuiAbstractTextfieldHost<\n TuiSelectComponent<unknown>\n> {\n get readOnly(): boolean {\n return true;\n }\n\n get value(): string {\n return this.host.computedValue;\n }\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiSelectOptionModule} from '@taiga-ui/kit/components/select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSelectComponent} from './select.component';\nimport {TuiSelectDirective} from './select.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiPrimitiveTextfieldModule,\n TuiHostedDropdownModule,\n TuiSelectOptionModule,\n TuiArrowModule,\n ],\n declarations: [TuiSelectComponent, TuiSelectDirective],\n exports: [TuiSelectComponent, TuiSelectDirective, TuiTextfieldComponent],\n})\nexport class TuiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAQA;MACa,aAAa,GAAY,kBAAkB;MAE3C,oBAAoB,GAAG;IAChC;QACI,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,kBAAkB;QAC3B,QAAQ,EAAE,aAAa;KAC1B;IACD,kCAAkC;;;MCpBzB,0BAA0B,GAA8B;IACjE,YAAY,EAAE,EAAE;EAClB;MAEW,kBAAkB,GAAG,IAAI,cAAc,CAChD,yCAAyC,EACz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QACN,OAAO,EAAE;YACL,YAAY;YACZ,kBAAkB;YAClB,mBAAmB;YACnB,2BAA2B;YAC3B,uBAAuB;YACvB,qBAAqB;YACrB,cAAc;SACjB;QACD,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;QACtD,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;KAC3E,CAAC;GACW,eAAe,CAAG;;AC5B/B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-select.js","sources":["ng://@taiga-ui/kit/components/select/select.providers.ts","ng://@taiga-ui/kit/components/select/select-options.ts","ng://@taiga-ui/kit/components/select/select.component.ts","ng://@taiga-ui/kit/components/select/select.directive.ts","ng://@taiga-ui/kit/components/select/select.module.ts","ng://@taiga-ui/kit/components/select/taiga-ui-kit-components-select.ts"],"sourcesContent":["import {forwardRef} from '@angular/core';\nimport {AbstractTuiControl, TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT} from '@taiga-ui/core';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/kit/components/select-option';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\n\nimport {TuiSelectComponent} from './select.component';\n\n// TODO: 3.0 remove in ivy compilation\nexport const SELECT_OPTION: unknown = TUI_SELECT_OPTION;\n\nexport const TUI_SELECT_PROVIDERS = [\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiSelectComponent),\n },\n {\n provide: TUI_OPTION_CONTENT,\n useValue: SELECT_OPTION,\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n];\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiValueContentContext} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiSelectOptions<T> {\n readonly valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n}\n\nexport const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown> = {\n valueContent: ``,\n};\n\nexport const TUI_SELECT_OPTIONS = new InjectionToken<TuiSelectOptions<unknown>>(\n `Default parameters for select component`,\n {\n factory: () => TUI_SELECT_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiSelectOptionsProvider: <T>(\n options: Partial<TuiSelectOptions<T>>,\n) => ValueProvider = <T>(options: Partial<TuiSelectOptions<T>>) => ({\n provide: TUI_SELECT_OPTIONS,\n useValue: {...TUI_SELECT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n Inject,\n Input,\n Optional,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n setNativeFocused,\n TuiActiveZoneDirective,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\nimport {\n TUI_TEXTFIELD_CLEANER,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeM,\n TuiSizeS,\n TuiTextfieldCleanerDirective,\n TuiValueContentContext,\n} from '@taiga-ui/core';\nimport {TUI_ARROW_MODE, TuiArrowMode} from '@taiga-ui/kit/components/arrow';\nimport {TUI_ITEMS_HANDLERS, TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_SELECT_PROVIDERS} from './select.providers';\nimport {TUI_SELECT_OPTIONS, TuiSelectOptions} from './select-options';\n\n@Component({\n selector: `tui-select`,\n templateUrl: `./select.template.html`,\n styleUrls: [`./select.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_SELECT_PROVIDERS,\n})\nexport class TuiSelectComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @Input()\n @tuiDefaultProp()\n stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n @tuiDefaultProp()\n valueContent: TuiSelectOptions<T>['valueContent'] = this.options.valueContent;\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = ``;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_CLEANER)\n private readonly textfieldCleaner: TuiTextfieldCleanerDirective,\n @Inject(TUI_ARROW_MODE)\n private readonly arrowMode: TuiArrowMode,\n @Inject(TUI_ITEMS_HANDLERS)\n private readonly itemsHandlers: TuiItemsHandlers<T>,\n @Inject(TUI_SELECT_OPTIONS)\n private readonly options: TuiSelectOptions<T>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get arrow(): PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeS | TuiSizeM | TuiSizeL>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): string {\n return this.value === null ? `` : this.stringify(this.value) || ` `;\n }\n\n get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.computedValue;\n }\n\n onValueChange(value: string): void {\n if (!value) {\n this.updateValue(null);\n }\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onKeyDownDelete(): void {\n if (this.textfieldCleaner.cleaner) {\n this.updateValue(null);\n }\n }\n\n handleOption(option: T): void {\n this.focusInput();\n this.updateValue(option);\n this.hostedDropdown?.updateOpen(false);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {Directive, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiSelectComponent} from './select.component';\n\n@Directive({\n selector: `tui-select`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiSelectDirective),\n },\n ],\n})\nexport class TuiSelectDirective extends TuiAbstractTextfieldHost<\n TuiSelectComponent<unknown>\n> {\n get readOnly(): boolean {\n return true;\n }\n\n get value(): string {\n return this.host.computedValue;\n }\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiSelectOptionModule} from '@taiga-ui/kit/components/select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSelectComponent} from './select.component';\nimport {TuiSelectDirective} from './select.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiPrimitiveTextfieldModule,\n TuiHostedDropdownModule,\n TuiSelectOptionModule,\n TuiArrowModule,\n ],\n declarations: [TuiSelectComponent, TuiSelectDirective],\n exports: [TuiSelectComponent, TuiSelectDirective, TuiTextfieldComponent],\n})\nexport class TuiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAQA;MACa,aAAa,GAAY,kBAAkB;MAE3C,oBAAoB,GAAG;IAChC;QACI,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,kBAAkB,CAAC;KACpD;IACD;QACI,OAAO,EAAE,kBAAkB;QAC3B,QAAQ,EAAE,aAAa;KAC1B;IACD,kCAAkC;;;MCpBzB,0BAA0B,GAA8B;IACjE,YAAY,EAAE,EAAE;EAClB;MAEW,kBAAkB,GAAG,IAAI,cAAc,CAChD,yCAAyC,EACzC;IACI,OAAO,EAAE,MAAM,0BAA0B;CAC5C,EACH;MAEW,wBAAwB,GAEhB,CAAI,OAAqC,MAAM;IAChE,OAAO,EAAE,kBAAkB;IAC3B,QAAQ,kCAAM,0BAA0B,GAAK,OAAO,CAAC;CACxD;;ICwBY,kBAAkB,GAA/B,MAAa,kBACT,SAAQ,0BAA6B;IA2BrC,YAII,OAAyB,EACE,iBAAoC,EAE9C,gBAA8C,EAE9C,SAAuB,EAEvB,aAAkC,EAElC,OAA4B;QAE7C,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QARjB,qBAAgB,GAAhB,gBAAgB,CA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A;IACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;IAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;IACzB,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;IAE7B,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;IAEtB,WAAA,MAAM,CAAC,kBAAkB,CAAC,CAAA;IAE1B,WAAA,MAAM,CAAC,kBAAkB,CAAC,CAAA;GAxCtB,kBAAkB,CAsG9B;;;ICxIY,kBAAkB,0BAA/B,MAAa,kBAAmB,SAAQ,wBAEvC;IACG,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC;KACf;IAED,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;KAClC;IAED,aAAa,CAAC,KAAa;QACvB,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KAClC;EACJ;AAdY,kBAAkB;IAT9B,SAAS,CAAC;QACP,QAAQ,EAAE,YAAY;QACtB,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,oBAAkB,CAAC;aACpD;SACJ;KACJ,CAAC;GACW,kBAAkB,CAc9B;;ICAY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAb3B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,kBAAkB;YAClB,mBAAmB;YACnB,2BAA2B;YAC3B,uBAAuB;YACvB,qBAAqB;YACrB,cAAc;SACjB;QACD,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;QACtD,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;KAC3E,CAAC;GACW,eAAe,CAAG;;AC5B/B;;;;;;"}
@@ -1,21 +1,21 @@
1
1
  import { __decorate, __param } from 'tslib';
2
- import { InjectionToken, Optional, Self, Inject, ChangeDetectorRef, ElementRef, Input, HostBinding, Component, ChangeDetectionStrategy, Output, HostListener, Directive, Pipe, forwardRef, NgModule } from '@angular/core';
2
+ import { InjectionToken, Optional, Self, Inject, ChangeDetectorRef, ElementRef, Input, HostBinding, Component, ChangeDetectionStrategy, Output, HostListener, Directive, Pipe, ContentChild, forwardRef, NgModule } from '@angular/core';
3
3
  import { NgModel, NgControl } from '@angular/forms';
4
- import { USER_AGENT } from '@ng-web-apis/common';
5
- import { watch, isEdgeOlderThan, CHROMIUM_EDGE_START_VERSION, tuiDefaultProp, AbstractTuiControl, typedFromEvent, isNativeFocused, clamp, tuiAssert, TUI_FOCUSABLE_ITEM_ACCESSOR, tuiCoerceBooleanProperty, TuiDestroyService, TuiRepeatTimesModule, TuiFocusableModule, TuiFocusVisibleModule, TuiActiveZoneModule } from '@taiga-ui/cdk';
4
+ import { watch, isEdgeOlderThan, CHROMIUM_EDGE_START_VERSION, tuiDefaultProp, AbstractTuiControl, typedFromEvent, isNativeFocused, clamp, tuiAssert, tuiCoerceBooleanProperty, TuiDestroyService, TUI_FOCUSABLE_ITEM_ACCESSOR, TuiRepeatTimesModule, TuiFocusableModule, TuiFocusVisibleModule, TuiActiveZoneModule } from '@taiga-ui/cdk';
5
+ import { tuiPercentageToKeyStepValue, tuiKeyStepValueToPercentage, tuiCheckKeyStepsHaveMinMaxPercents } from '@taiga-ui/kit/utils';
6
6
  import { take, map, tap, mapTo, filter, takeUntil } from 'rxjs/operators';
7
+ import { USER_AGENT } from '@ng-web-apis/common';
7
8
  import { DOCUMENT, CommonModule } from '@angular/common';
9
+ import { merge, combineLatest, Observable } from 'rxjs';
8
10
  import { TuiFormatNumberPipeModule } from '@taiga-ui/core';
9
- import { tuiPercentageToKeyStepValue, tuiKeyStepValueToPercentage, tuiCheckKeyStepsHaveMinMaxPercents } from '@taiga-ui/kit/utils';
10
11
  import { AbstractTuiSlider } from '@taiga-ui/kit/abstract';
11
12
  import { TUI_FROM_TO_TEXTS } from '@taiga-ui/kit/tokens';
12
- import { Observable, merge, combineLatest } from 'rxjs';
13
13
 
14
14
  const TUI_SLIDER_DEFAULT_OPTIONS = {
15
- size: 'm',
16
- trackColor: 'var(--tui-base-03)',
15
+ size: `m`,
16
+ trackColor: `var(--tui-base-03)`,
17
17
  };
18
- const TUI_SLIDER_OPTIONS = new InjectionToken('Default parameters for Slider component', { factory: () => TUI_SLIDER_DEFAULT_OPTIONS });
18
+ const TUI_SLIDER_OPTIONS = new InjectionToken(`Default parameters for Slider component`, { factory: () => TUI_SLIDER_DEFAULT_OPTIONS });
19
19
  function tuiSliderOptionsProvider(options) {
20
20
  return {
21
21
  provide: TUI_SLIDER_OPTIONS,
@@ -54,7 +54,7 @@ let TuiSliderComponent = class TuiSliderComponent {
54
54
  }
55
55
  get value() {
56
56
  const { elementRef, control } = this;
57
- const noKeySteps = !elementRef.nativeElement.hasAttribute('data-key-steps');
57
+ const noKeySteps = !elementRef.nativeElement.hasAttribute(`data-key-steps`);
58
58
  if (noKeySteps && control instanceof NgModel) {
59
59
  /**
60
60
  * If developer uses `[(ngModel)]` and programmatically change value,
@@ -86,7 +86,7 @@ TuiSliderComponent.ctorParameters = () => [
86
86
  ];
87
87
  __decorate([
88
88
  Input(),
89
- HostBinding('attr.data-size'),
89
+ HostBinding(`attr.data-size`),
90
90
  tuiDefaultProp()
91
91
  ], TuiSliderComponent.prototype, "size", void 0);
92
92
  __decorate([
@@ -94,13 +94,13 @@ __decorate([
94
94
  tuiDefaultProp()
95
95
  ], TuiSliderComponent.prototype, "segments", void 0);
96
96
  __decorate([
97
- HostBinding('style.--tui-slider-fill-percentage.%')
97
+ HostBinding(`style.--tui-slider-fill-percentage.%`)
98
98
  ], TuiSliderComponent.prototype, "valuePercentage", null);
99
99
  __decorate([
100
- HostBinding('style.--tui-slider-segment-width.%')
100
+ HostBinding(`style.--tui-slider-segment-width.%`)
101
101
  ], TuiSliderComponent.prototype, "segmentWidth", null);
102
102
  __decorate([
103
- HostBinding('class._old-edge')
103
+ HostBinding(`class._old-edge`)
104
104
  ], TuiSliderComponent.prototype, "isOldEdge", null);
105
105
  TuiSliderComponent = __decorate([
106
106
  Component({
@@ -110,7 +110,7 @@ TuiSliderComponent = __decorate([
110
110
  * {@link https://github.com/angular/angular/blob/master/packages/forms/src/directives/range_value_accessor.ts#L45 RangeValueAccessor}
111
111
  * cannot be matched by its CSS selector.
112
112
  */
113
- selector: 'input[type=range][tuiSlider]',
113
+ selector: `input[type=range][tuiSlider]`,
114
114
  template: ``,
115
115
  host: {
116
116
  /**
@@ -119,8 +119,8 @@ TuiSliderComponent = __decorate([
119
119
  * We draw filling of progress by `background: linear-gradient(...)` of the track.
120
120
  * This function triggers change detection (for {@link valuePercentage} function) when we drag thumb of the input.
121
121
  */
122
- '(input)': '0',
123
- '[style.--tui-slider-track-color]': 'options.trackColor',
122
+ '(input)': `0`,
123
+ '[style.--tui-slider-track-color]': `options.trackColor`,
124
124
  },
125
125
  changeDetection: ChangeDetectionStrategy.OnPush,
126
126
  styles: [":host{display:block;width:100%;color:var(--tui-primary);cursor:pointer}:host:active{cursor:ew-resize}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:auto}:host:not(._old-edge){-webkit-appearance:none;-moz-appearance:none;appearance:none;height:.125rem;padding:.4375rem 0;background-color:transparent;background-clip:content-box;outline:0;border-radius:var(--tui-radius-m)}:host:not(._old-edge)::-webkit-slider-container{border-radius:inherit}:host:not(._old-edge)[data-size='m']::-webkit-slider-runnable-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .625rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width)),linear-gradient(to right,currentColor var(--tui-slider-fill-percentage),transparent var(--tui-slider-fill-percentage));background-position-x:0,.375rem,0;background-size:calc(100% - 1rem),calc(100% - 1rem),auto}:host:not(._old-edge)[data-size='s']::-webkit-slider-runnable-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .375rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width)),linear-gradient(to right,currentColor var(--tui-slider-fill-percentage),transparent var(--tui-slider-fill-percentage));background-position-x:0,.125rem,0;background-size:calc(100% - .5rem),calc(100% - .5rem),auto}:host:not(._old-edge)[data-size='m']::-moz-range-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .625rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width));background-position-x:0,.375rem;background-size:calc(100% - 1rem)}:host:not(._old-edge)[data-size='s']::-moz-range-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .375rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width));background-position-x:0,.125rem;background-size:calc(100% - .5rem)}:host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:1rem;width:1rem;margin-top:-.4375rem}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:.5rem;width:.5rem;margin-top:-.1875rem}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='m']::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:1rem;width:1rem}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='m']::-moz-range-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='s']::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:.5rem;width:.5rem}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='s']::-moz-range-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)::-moz-range-progress{background:currentColor;border-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0}:host._old-edge::-ms-thumb{background:currentColor;border-radius:50%}:host._old-edge::-ms-fill-lower{background:currentColor}:host._old-edge::-ms-track{background:var(--tui-slider-track-color);border:none}"]
@@ -141,7 +141,7 @@ let TuiSliderKeyStepsDirective = class TuiSliderKeyStepsDirective extends Abstra
141
141
  this.elementRef = elementRef;
142
142
  this.slider = slider;
143
143
  this.keySteps = [];
144
- this.keyStepsInput = typedFromEvent(this.elementRef.nativeElement, 'input').pipe(map(() => this.controlValue));
144
+ this.keyStepsInput = typedFromEvent(this.elementRef.nativeElement, `input`).pipe(map(() => this.controlValue));
145
145
  }
146
146
  get nativeFocusableElement() {
147
147
  return this.computedDisabled ? null : this.elementRef.nativeElement;
@@ -168,7 +168,7 @@ let TuiSliderKeyStepsDirective = class TuiSliderKeyStepsDirective extends Abstra
168
168
  return;
169
169
  }
170
170
  const clampedControlValue = clamp(controlValue, this.min, this.max);
171
- tuiAssert.assert(controlValue === clampedControlValue, '\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max');
171
+ tuiAssert.assert(controlValue === clampedControlValue, `\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max`);
172
172
  this.slider.value = this.transformToNativeValue(clampedControlValue);
173
173
  }
174
174
  getFallbackValue() {
@@ -188,22 +188,22 @@ TuiSliderKeyStepsDirective.ctorParameters = () => [
188
188
  ];
189
189
  __decorate([
190
190
  Input(),
191
- tuiDefaultProp(tuiCheckKeyStepsHaveMinMaxPercents, 'Should contain min and max values')
191
+ tuiDefaultProp(tuiCheckKeyStepsHaveMinMaxPercents, `Should contain min and max values`)
192
192
  ], TuiSliderKeyStepsDirective.prototype, "keySteps", void 0);
193
193
  __decorate([
194
194
  Output()
195
195
  ], TuiSliderKeyStepsDirective.prototype, "keyStepsInput", void 0);
196
196
  __decorate([
197
- HostListener('change')
197
+ HostListener(`change`)
198
198
  ], TuiSliderKeyStepsDirective.prototype, "updateControlValue", null);
199
199
  TuiSliderKeyStepsDirective = __decorate([
200
200
  Directive({
201
- selector: 'input[tuiSlider][keySteps]',
201
+ selector: `input[tuiSlider][keySteps]`,
202
202
  host: {
203
- '[attr.data-key-steps]': 'true',
204
- '[attr.aria-valuenow]': 'controlValue',
205
- '[attr.aria-valuemin]': 'min',
206
- '[attr.aria-valuemax]': 'max',
203
+ '[attr.data-key-steps]': `true`,
204
+ '[attr.aria-valuenow]': `controlValue`,
205
+ '[attr.aria-valuemin]': `min`,
206
+ '[attr.aria-valuemax]': `max`,
207
207
  },
208
208
  }),
209
209
  __param(0, Optional()),
@@ -225,9 +225,115 @@ let TuiSliderTickLabelPipe = class TuiSliderTickLabelPipe {
225
225
  }
226
226
  };
227
227
  TuiSliderTickLabelPipe = __decorate([
228
- Pipe({ name: 'tuiSliderTickLabel' })
228
+ Pipe({ name: `tuiSliderTickLabel` })
229
229
  ], TuiSliderTickLabelPipe);
230
230
 
231
+ const SLIDER_INTERACTION_KEYS = new Set([
232
+ `ArrowLeft`,
233
+ `ArrowRight`,
234
+ `ArrowUp`,
235
+ `ArrowDown`,
236
+ `Home`,
237
+ `End`,
238
+ `PageUp`,
239
+ `PageDown`,
240
+ ]);
241
+ /**
242
+ * Native <input type='range' readonly> doesn't work.
243
+ * This directive imitates this native behaviour.
244
+ */
245
+ // @dynamic
246
+ let TuiSliderReadonlyDirective = class TuiSliderReadonlyDirective {
247
+ constructor(elementRef, documentRef, destroy$) {
248
+ this.readonly = true;
249
+ const touchStart$ = typedFromEvent(elementRef.nativeElement, `touchstart`, {
250
+ passive: false,
251
+ });
252
+ const touchMove$ = typedFromEvent(documentRef, `touchmove`, {
253
+ passive: false,
254
+ });
255
+ const touchEnd$ = typedFromEvent(documentRef, `touchend`, {
256
+ passive: true,
257
+ });
258
+ const shouldPreventMove$ = merge(touchStart$.pipe(tap(e => this.preventEvent(e)), mapTo(true)), touchEnd$.pipe(mapTo(false)));
259
+ /**
260
+ * @bad TODO think about another solution.
261
+ * Keep in mind that preventing touch event (on slider) inside `@HostListener('touchstart')` doesn't work for mobile chrome.
262
+ */
263
+ combineLatest([touchMove$, shouldPreventMove$])
264
+ .pipe(filter(([_, shouldPreventMove]) => shouldPreventMove), takeUntil(destroy$))
265
+ .subscribe(([moveEvent]) => this.preventEvent(moveEvent));
266
+ }
267
+ preventEvent(event) {
268
+ if (event.cancelable && tuiCoerceBooleanProperty(this.readonly)) {
269
+ event.preventDefault();
270
+ }
271
+ }
272
+ preventKeyboardInteraction(event) {
273
+ if (SLIDER_INTERACTION_KEYS.has(event.key)) {
274
+ this.preventEvent(event);
275
+ }
276
+ }
277
+ };
278
+ TuiSliderReadonlyDirective.ctorParameters = () => [
279
+ { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
280
+ { type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
281
+ { type: Observable, decorators: [{ type: Inject, args: [TuiDestroyService,] }] }
282
+ ];
283
+ __decorate([
284
+ Input(),
285
+ tuiDefaultProp()
286
+ ], TuiSliderReadonlyDirective.prototype, "readonly", void 0);
287
+ __decorate([
288
+ HostListener(`mousedown`, [`$event`])
289
+ ], TuiSliderReadonlyDirective.prototype, "preventEvent", null);
290
+ __decorate([
291
+ HostListener(`keydown`, [`$event`])
292
+ ], TuiSliderReadonlyDirective.prototype, "preventKeyboardInteraction", null);
293
+ TuiSliderReadonlyDirective = __decorate([
294
+ Directive({
295
+ selector: `input[tuiSlider][readonly]`,
296
+ providers: [TuiDestroyService],
297
+ }),
298
+ __param(0, Inject(ElementRef)),
299
+ __param(1, Inject(DOCUMENT)),
300
+ __param(2, Inject(TuiDestroyService))
301
+ ], TuiSliderReadonlyDirective);
302
+
303
+ let TuiSliderThumbLabelComponent = class TuiSliderThumbLabelComponent {
304
+ get size() {
305
+ var _a;
306
+ return ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.size) || `m`;
307
+ }
308
+ get ratio() {
309
+ var _a;
310
+ return (((_a = this.slider) === null || _a === void 0 ? void 0 : _a.valuePercentage) || 0) / 100;
311
+ }
312
+ get ghostLeft() {
313
+ var _a;
314
+ return this.ratio * (((_a = this.slider) === null || _a === void 0 ? void 0 : _a.elementRef.nativeElement.offsetWidth) || 0);
315
+ }
316
+ ngAfterContentInit() {
317
+ var _a;
318
+ tuiAssert.assert(Boolean((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges), `\n[tuiSliderThumbLabel] expected <input tuiSlider type="range" /> to use Angular Forms.\n` +
319
+ `Use [(ngModel)] or [formControl] or formControlName for correct work.`);
320
+ }
321
+ };
322
+ __decorate([
323
+ ContentChild(TuiSliderComponent)
324
+ ], TuiSliderThumbLabelComponent.prototype, "slider", void 0);
325
+ __decorate([
326
+ ContentChild(NgControl)
327
+ ], TuiSliderThumbLabelComponent.prototype, "control", void 0);
328
+ TuiSliderThumbLabelComponent = __decorate([
329
+ Component({
330
+ selector: `[tuiSliderThumbLabel]`,
331
+ template: "<ng-container *ngIf=\"control?.valueChanges | async\"></ng-container>\n\n<div\n class=\"t-ghost\"\n [attr.data-size]=\"size\"\n [style.left.px]=\"ghostLeft\"\n [style.--tui-slider-thumb-ratio]=\"ratio\"\n>\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"input[type=range]\"></ng-content>\n",
332
+ changeDetection: ChangeDetectionStrategy.OnPush,
333
+ styles: [":host{position:relative}.t-ghost{position:absolute;top:0;bottom:0;margin:auto;border-radius:50%;pointer-events:none}.t-ghost[data-size='s']{width:.5rem;height:.5rem;transform:translateX(calc(var(--tui-slider-thumb-ratio) * -.5rem))}.t-ghost[data-size='m']{width:1rem;height:1rem;transform:translateX(calc(var(--tui-slider-thumb-ratio) * -1rem))}"]
334
+ })
335
+ ], TuiSliderThumbLabelComponent);
336
+
231
337
  var TuiSliderOldComponent_1;
232
338
  /**
233
339
  * @deprecated use {@link TuiSliderComponent} instead
@@ -277,7 +383,7 @@ TuiSliderOldComponent.ctorParameters = () => [
277
383
  ];
278
384
  TuiSliderOldComponent = TuiSliderOldComponent_1 = __decorate([
279
385
  Component({
280
- selector: 'tui-slider',
386
+ selector: `tui-slider`,
281
387
  template: "<div\n class=\"event-catcher\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (touchstart)=\"onTouchStart($event)\"\n>\n <div class=\"wrapper\">\n <div\n *ngIf=\"segmented\"\n class=\"segments\"\n >\n <span\n *tuiRepeatTimes=\"let segmentIndex of segments + 1\"\n automation-id=\"tui-slider__segment\"\n class=\"segment\"\n >\n <span\n *ngIf=\"fromToTexts$ | async as fromToText\"\n class=\"number\"\n >\n {{ getSegmentPrefix(segmentIndex, fromToText) }}\n {{ getSegmentLabel(segmentIndex) | tuiFormatNumber }}\n <span *ngIf=\"pluralizeMap\">\n {{ getSegmentLabel(segmentIndex) | i18nPlural: pluralizeMap }}\n </span>\n </span>\n </span>\n </div>\n <div\n automation-id=\"tui-slider__bar\"\n class=\"bar\"\n [style.left.%]=\"left\"\n [style.right.%]=\"right\"\n >\n <div\n #dotLeft\n automation-id=\"tui-slider__left\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleLeft && computedFocused\"\n [tuiFocusable]=\"isLeftFocusable\"\n (tuiFocusVisibleChange)=\"onLeftFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement()\"\n (keydown.arrowDown.prevent)=\"decrement()\"\n (keydown.arrowRight.prevent)=\"increment()\"\n (keydown.arrowUp.prevent)=\"increment()\"\n ></div>\n <div\n #dotRight\n automation-id=\"tui-slider__right\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleRight && computedFocused\"\n [tuiFocusable]=\"isRightFocusable\"\n (tuiFocusVisibleChange)=\"onRightFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement()\"\n (keydown.arrowDown.prevent)=\"decrement()\"\n (keydown.arrowRight.prevent)=\"increment()\"\n (keydown.arrowUp.prevent)=\"increment()\"\n ></div>\n </div>\n </div>\n</div>\n",
282
388
  changeDetection: ChangeDetectionStrategy.OnPush,
283
389
  providers: [
@@ -296,78 +402,6 @@ TuiSliderOldComponent = TuiSliderOldComponent_1 = __decorate([
296
402
  __param(3, Inject(TUI_FROM_TO_TEXTS))
297
403
  ], TuiSliderOldComponent);
298
404
 
299
- const SLIDER_INTERACTION_KEYS = new Set([
300
- 'ArrowLeft',
301
- 'ArrowRight',
302
- 'ArrowUp',
303
- 'ArrowDown',
304
- 'Home',
305
- 'End',
306
- 'PageUp',
307
- 'PageDown',
308
- ]);
309
- /**
310
- * Native <input type='range' readonly> doesn't work.
311
- * This directive imitates this native behaviour.
312
- */
313
- // @dynamic
314
- let TuiSliderReadonlyDirective = class TuiSliderReadonlyDirective {
315
- constructor(elementRef, documentRef, destroy$) {
316
- this.readonly = true;
317
- const touchStart$ = typedFromEvent(elementRef.nativeElement, 'touchstart', {
318
- passive: false,
319
- });
320
- const touchMove$ = typedFromEvent(documentRef, 'touchmove', {
321
- passive: false,
322
- });
323
- const touchEnd$ = typedFromEvent(documentRef, 'touchend', {
324
- passive: true,
325
- });
326
- const shouldPreventMove$ = merge(touchStart$.pipe(tap(e => this.preventEvent(e)), mapTo(true)), touchEnd$.pipe(mapTo(false)));
327
- /**
328
- * @bad TODO think about another solution.
329
- * Keep in mind that preventing touch event (on slider) inside `@HostListener('touchstart')` doesn't work for mobile chrome.
330
- */
331
- combineLatest([touchMove$, shouldPreventMove$])
332
- .pipe(filter(([_, shouldPreventMove]) => shouldPreventMove), takeUntil(destroy$))
333
- .subscribe(([moveEvent]) => this.preventEvent(moveEvent));
334
- }
335
- preventEvent(event) {
336
- if (event.cancelable && tuiCoerceBooleanProperty(this.readonly)) {
337
- event.preventDefault();
338
- }
339
- }
340
- preventKeyboardInteraction(event) {
341
- if (SLIDER_INTERACTION_KEYS.has(event.key)) {
342
- this.preventEvent(event);
343
- }
344
- }
345
- };
346
- TuiSliderReadonlyDirective.ctorParameters = () => [
347
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
348
- { type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
349
- { type: Observable, decorators: [{ type: Inject, args: [TuiDestroyService,] }] }
350
- ];
351
- __decorate([
352
- Input(),
353
- tuiDefaultProp()
354
- ], TuiSliderReadonlyDirective.prototype, "readonly", void 0);
355
- __decorate([
356
- HostListener('mousedown', ['$event'])
357
- ], TuiSliderReadonlyDirective.prototype, "preventEvent", null);
358
- __decorate([
359
- HostListener('keydown', ['$event'])
360
- ], TuiSliderReadonlyDirective.prototype, "preventKeyboardInteraction", null);
361
- TuiSliderReadonlyDirective = __decorate([
362
- Directive({
363
- selector: 'input[tuiSlider][readonly]',
364
- providers: [TuiDestroyService],
365
- }),
366
- __param(0, Inject(ElementRef)),
367
- __param(1, Inject(DOCUMENT)),
368
- __param(2, Inject(TuiDestroyService))
369
- ], TuiSliderReadonlyDirective);
370
-
371
405
  let TuiSliderModule = class TuiSliderModule {
372
406
  };
373
407
  TuiSliderModule = __decorate([
@@ -382,6 +416,7 @@ TuiSliderModule = __decorate([
382
416
  ],
383
417
  declarations: [
384
418
  TuiSliderComponent,
419
+ TuiSliderThumbLabelComponent,
385
420
  TuiSliderKeyStepsDirective,
386
421
  TuiSliderReadonlyDirective,
387
422
  TuiSliderTickLabelPipe,
@@ -389,6 +424,7 @@ TuiSliderModule = __decorate([
389
424
  ],
390
425
  exports: [
391
426
  TuiSliderComponent,
427
+ TuiSliderThumbLabelComponent,
392
428
  TuiSliderKeyStepsDirective,
393
429
  TuiSliderReadonlyDirective,
394
430
  TuiSliderTickLabelPipe,
@@ -401,5 +437,5 @@ TuiSliderModule = __decorate([
401
437
  * Generated bundle index. Do not edit.
402
438
  */
403
439
 
404
- export { TUI_SLIDER_DEFAULT_OPTIONS, TUI_SLIDER_OPTIONS, TuiSliderComponent, TuiSliderKeyStepsDirective, TuiSliderModule, TuiSliderOldComponent, TuiSliderReadonlyDirective, TuiSliderTickLabelPipe, tuiSliderOptionsProvider };
440
+ export { TUI_SLIDER_DEFAULT_OPTIONS, TUI_SLIDER_OPTIONS, TuiSliderComponent, TuiSliderKeyStepsDirective, TuiSliderModule, TuiSliderOldComponent, TuiSliderReadonlyDirective, TuiSliderThumbLabelComponent, TuiSliderTickLabelPipe, tuiSliderOptionsProvider };
405
441
  //# sourceMappingURL=taiga-ui-kit-components-slider.js.map