@taiga-ui/kit 2.23.0 → 2.27.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 (1088) hide show
  1. package/README.md +7 -3
  2. package/abstract/input-slider.d.ts +5 -5
  3. package/abstract/slider/slider.d.ts +5 -5
  4. package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
  5. package/bundles/taiga-ui-kit-abstract.umd.js +9 -9
  6. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-abstract.umd.min.js +1 -1
  8. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-accordion.umd.js +24 -8
  10. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +2 -2
  12. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-action.umd.js +4 -4
  14. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  16. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-avatar.umd.js +1 -1
  20. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  22. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-badge.umd.js +1 -1
  24. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
  26. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
  28. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +1 -1
  30. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +6 -6
  32. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
  34. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +8 -8
  36. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  38. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +1 -1
  40. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  42. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-carousel.umd.js +527 -0
  44. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -0
  45. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +16 -0
  46. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -0
  47. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +3 -3
  48. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  50. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +3 -3
  52. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  54. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-checkbox.umd.js +3 -3
  56. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  58. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-combo-box.umd.js +19 -20
  60. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  62. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +9 -9
  64. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  66. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-filter.umd.js +9 -9
  70. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  72. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-copy.umd.js +5 -5
  74. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  76. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input-count.umd.js +4 -4
  78. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  80. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +17 -14
  82. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  84. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +21 -18
  86. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  88. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-input-date.umd.js +18 -15
  90. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  92. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-input-file.umd.js +191 -191
  94. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
  96. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-input-inline.umd.js +6 -5
  98. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  100. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +4 -3
  102. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  104. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-input-month.umd.js +4 -3
  106. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  108. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-input-number.umd.js +18 -32
  110. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +2 -2
  112. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-input-password.umd.js +4 -4
  114. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  116. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +23 -23
  118. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  120. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-input-phone.umd.js +7 -7
  122. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  124. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
  126. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +1 -1
  128. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  129. package/bundles/taiga-ui-kit-components-input-slider.umd.js +4 -4
  130. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  132. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  133. package/bundles/taiga-ui-kit-components-input-tag.umd.js +32 -32
  134. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  136. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  137. package/bundles/taiga-ui-kit-components-input-time.umd.js +17 -17
  138. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  140. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  141. package/bundles/taiga-ui-kit-components-input.umd.js +7 -7
  142. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  144. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  147. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +12 -12
  148. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +2 -2
  150. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +1 -1
  152. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  154. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +16 -12
  156. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +2 -2
  158. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  159. package/bundles/taiga-ui-kit-components-multi-select.umd.js +20 -20
  160. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +1 -1
  162. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  163. package/bundles/taiga-ui-kit-components-pagination.umd.js +5 -5
  164. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  166. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  167. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +330 -0
  168. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
  169. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
  170. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
  171. package/bundles/taiga-ui-kit-components-progress.umd.js +61 -25
  172. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  174. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  175. package/bundles/taiga-ui-kit-components-radio-block.umd.js +3 -3
  176. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  178. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +3 -3
  182. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  184. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  185. package/bundles/taiga-ui-kit-components-radio-list.umd.js +7 -7
  186. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  188. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  189. package/bundles/taiga-ui-kit-components-radio.umd.js +3 -3
  190. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  191. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  192. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  193. package/bundles/taiga-ui-kit-components-range.umd.js +1 -1
  194. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  195. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  196. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components-select-option.umd.js +23 -14
  198. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  199. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +2 -2
  200. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  201. package/bundles/taiga-ui-kit-components-select.umd.js +10 -13
  202. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  203. package/bundles/taiga-ui-kit-components-select.umd.min.js +1 -1
  204. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  205. package/bundles/taiga-ui-kit-components-slider.umd.js +1 -1
  206. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  207. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  208. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  209. package/bundles/taiga-ui-kit-components-stepper.umd.js +19 -19
  210. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  212. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  213. package/bundles/taiga-ui-kit-components-tabs.umd.js +23 -23
  214. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  215. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  216. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  217. package/bundles/taiga-ui-kit-components-tag.umd.js +1 -1
  218. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  219. package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
  220. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  221. package/bundles/taiga-ui-kit-components-text-area.umd.js +5 -5
  222. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  223. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  224. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  225. package/bundles/taiga-ui-kit-components-toggle.umd.js +4 -4
  226. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  227. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  228. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  229. package/bundles/taiga-ui-kit-components-tree.umd.js +148 -137
  230. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  231. package/bundles/taiga-ui-kit-components-tree.umd.min.js +2 -2
  232. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  233. package/bundles/taiga-ui-kit-components.umd.js +42 -26
  234. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  235. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  236. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +2 -4
  237. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  238. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +1 -1
  239. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  240. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  241. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  242. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +3 -2
  243. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  244. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  245. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  246. package/bundles/taiga-ui-kit-directives-highlight.umd.js +7 -2
  247. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  248. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +1 -1
  249. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  250. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +7 -1
  251. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  252. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +1 -1
  253. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  254. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  255. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  256. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  257. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  258. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  259. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  260. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  261. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  262. package/bundles/taiga-ui-kit-directives.umd.js +12 -12
  263. package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
  264. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +3 -3
  265. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  266. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  267. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  268. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
  269. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  270. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
  271. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  272. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  273. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  274. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  275. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  276. package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
  277. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  278. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  279. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  280. package/bundles/taiga-ui-kit-utils-format.umd.js +0 -2
  281. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  282. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  283. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +2 -0
  284. package/components/accordion/accordion-item/accordion-item.component.d.ts +4 -2
  285. package/components/accordion/index.d.ts +1 -0
  286. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  287. package/components/action/action.component.d.ts +1 -1
  288. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  289. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  290. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  291. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  292. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  293. package/components/breadcrumbs/index.d.ts +1 -1
  294. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  295. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  296. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  297. package/components/calendar-range/calendar-range.component.d.ts +1 -1
  298. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  299. package/components/carousel/carousel-autoscroll.directive.d.ts +5 -0
  300. package/components/carousel/carousel-buttons.directive.d.ts +4 -0
  301. package/components/carousel/carousel-scroll.directive.d.ts +6 -0
  302. package/components/carousel/carousel.component.d.ts +29 -0
  303. package/components/carousel/carousel.directive.d.ts +11 -0
  304. package/components/carousel/carousel.module.d.ts +2 -0
  305. package/components/carousel/index.d.ts +6 -0
  306. package/components/carousel/package.json +13 -0
  307. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +4 -0
  308. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -0
  309. package/components/checkbox/checkbox.component.d.ts +1 -1
  310. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  311. package/components/checkbox-block/checkbox-block.component.d.ts +1 -1
  312. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  313. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +1 -1
  314. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  315. package/components/combo-box/combo-box.component.d.ts +5 -5
  316. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  317. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +2 -2
  318. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  319. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  320. package/components/filter/filter.component.d.ts +2 -2
  321. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  322. package/components/index.d.ts +5 -3
  323. package/components/input/input.component.d.ts +3 -3
  324. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  325. package/components/input-copy/input-copy.component.d.ts +2 -2
  326. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  327. package/components/input-count/input-count.component.d.ts +2 -2
  328. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  329. package/components/input-date/input-date.component.d.ts +4 -4
  330. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  331. package/components/input-date-range/input-date-range.component.d.ts +3 -3
  332. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  333. package/components/input-date-time/input-date-time.component.d.ts +4 -4
  334. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  335. package/components/input-file/index.d.ts +1 -1
  336. package/components/input-file/input-file.component.d.ts +1 -1
  337. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  338. package/components/input-inline/input-inline.component.d.ts +1 -1
  339. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  340. package/components/input-month/input-month.component.d.ts +1 -1
  341. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  342. package/components/input-month-range/input-month-range.component.d.ts +1 -1
  343. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  344. package/components/input-number/input-number.component.d.ts +3 -4
  345. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  346. package/components/input-password/index.d.ts +1 -1
  347. package/components/input-password/input-password.component.d.ts +2 -2
  348. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  349. package/components/input-phone/input-phone.component.d.ts +3 -3
  350. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  351. package/components/input-phone-international/input-phone-international.component.d.ts +6 -6
  352. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  353. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  354. package/components/input-slider/input-slider.component.d.ts +1 -1
  355. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  356. package/components/input-tag/input-tag.component.d.ts +11 -11
  357. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  358. package/components/input-time/input-time.component.d.ts +4 -4
  359. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  360. package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
  361. package/components/line-clamp/index.d.ts +1 -1
  362. package/components/line-clamp/line-clamp.component.d.ts +4 -4
  363. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  364. package/components/marker-icon/marker-icon.component.d.ts +1 -1
  365. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  366. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  367. package/components/multi-select/multi-select.component.d.ts +7 -7
  368. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  369. package/components/multi-select-option/multi-select-option.component.d.ts +1 -1
  370. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  371. package/components/pagination/pagination.component.d.ts +1 -1
  372. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  373. package/components/pdf-viewer/index.d.ts +5 -0
  374. package/components/pdf-viewer/package.json +13 -0
  375. package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
  376. package/components/pdf-viewer/pdf-viewer.component.d.ts +17 -0
  377. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
  378. package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  379. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  380. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
  381. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
  382. package/components/progress/index.d.ts +4 -2
  383. package/components/progress/pipes/abstract-color-segments.d.ts +9 -0
  384. package/components/progress/pipes/progress-color-segments-async.pipe.d.ts +5 -0
  385. package/components/progress/pipes/progress-color-segments.pipe.d.ts +7 -6
  386. package/components/progress/progress-circle/progress-circle.component.d.ts +1 -1
  387. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  388. package/components/radio/radio.component.d.ts +1 -1
  389. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  390. package/components/radio-block/radio-block.component.d.ts +1 -1
  391. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  392. package/components/radio-group/radio-group.component.d.ts +1 -1
  393. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  394. package/components/radio-labeled/radio-labeled.component.d.ts +1 -1
  395. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  396. package/components/radio-list/radio-list.component.d.ts +3 -3
  397. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  398. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  399. package/components/select/select.component.d.ts +3 -3
  400. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  401. package/components/select-option/select-option.component.d.ts +4 -2
  402. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  403. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  404. package/components/stepper/stepper.component.d.ts +3 -3
  405. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  406. package/components/tabs/index.d.ts +2 -2
  407. package/components/tabs/tabs/tabs.component.d.ts +2 -2
  408. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +2 -2
  409. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  410. package/components/tabs/underline/underline.component.d.ts +2 -2
  411. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  412. package/components/taiga-ui-kit-components.metadata.json +1 -1
  413. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  414. package/components/text-area/text-area.component.d.ts +1 -1
  415. package/components/toggle/index.d.ts +1 -1
  416. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  417. package/components/toggle/toggle.component.d.ts +1 -1
  418. package/components/tree/components/tree/tree.component.d.ts +7 -2
  419. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  420. package/components/tree/directives/tree-item-controller.directive.d.ts +1 -1
  421. package/components/tree/index.d.ts +4 -4
  422. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  423. package/directives/dropdown-context/dropdown-context.directive.d.ts +1 -1
  424. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  425. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
  426. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +3 -3
  427. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  428. package/directives/highlight/highlight.directive.d.ts +2 -1
  429. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  430. package/directives/index.d.ts +1 -1
  431. package/directives/lazy-loading/lazy-loading.directive.d.ts +1 -1
  432. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  433. package/directives/present/present.directive.d.ts +1 -1
  434. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  435. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
  436. package/directives/taiga-ui-kit-directives.metadata.json +1 -1
  437. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
  438. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
  439. package/esm2015/abstract/input-slider.js +2 -2
  440. package/esm2015/abstract/slider/slider.js +9 -9
  441. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  442. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +11 -0
  443. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +10 -6
  444. package/esm2015/components/accordion/accordion.component.js +2 -2
  445. package/esm2015/components/accordion/accordion.module.js +6 -3
  446. package/esm2015/components/accordion/index.js +2 -1
  447. package/esm2015/components/action/action.component.js +5 -5
  448. package/esm2015/components/arrow/arrow.module.js +1 -1
  449. package/esm2015/components/avatar/avatar.component.js +2 -2
  450. package/esm2015/components/avatar/avatar.module.js +1 -1
  451. package/esm2015/components/badge/badge.component.js +2 -2
  452. package/esm2015/components/badge/badge.module.js +1 -1
  453. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  454. package/esm2015/components/badged-content/badged-content.module.js +1 -1
  455. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  456. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +2 -2
  457. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
  458. package/esm2015/components/breadcrumbs/index.js +2 -2
  459. package/esm2015/components/calendar-month/calendar-month.component.js +7 -7
  460. package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
  461. package/esm2015/components/calendar-range/calendar-range.component.js +2 -2
  462. package/esm2015/components/carousel/carousel-autoscroll.directive.js +21 -0
  463. package/esm2015/components/carousel/carousel-buttons.directive.js +24 -0
  464. package/esm2015/components/carousel/carousel-scroll.directive.js +26 -0
  465. package/esm2015/components/carousel/carousel.component.js +144 -0
  466. package/esm2015/components/carousel/carousel.directive.js +35 -0
  467. package/esm2015/components/carousel/carousel.module.js +38 -0
  468. package/esm2015/components/carousel/index.js +7 -0
  469. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  470. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  471. package/esm2015/components/checkbox/checkbox.module.js +1 -1
  472. package/esm2015/components/checkbox-block/checkbox-block.component.js +4 -4
  473. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  474. package/esm2015/components/combo-box/combo-box.component.js +20 -21
  475. package/esm2015/components/combo-box/combo-box.module.js +1 -1
  476. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  477. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +9 -9
  478. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  479. package/esm2015/components/field-error/field-error.module.js +1 -1
  480. package/esm2015/components/filter/filter.component.js +10 -10
  481. package/esm2015/components/filter/filter.module.js +1 -1
  482. package/esm2015/components/index.js +6 -4
  483. package/esm2015/components/input/input.component.js +8 -8
  484. package/esm2015/components/input/input.module.js +1 -1
  485. package/esm2015/components/input/input.providers.js +1 -1
  486. package/esm2015/components/input-copy/input-copy.component.js +6 -6
  487. package/esm2015/components/input-copy/input-copy.module.js +1 -1
  488. package/esm2015/components/input-count/input-count.component.js +5 -5
  489. package/esm2015/components/input-count/input-count.module.js +1 -1
  490. package/esm2015/components/input-date/input-date.component.js +19 -16
  491. package/esm2015/components/input-date/input-date.module.js +1 -1
  492. package/esm2015/components/input-date-range/input-date-range.component.js +18 -15
  493. package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
  494. package/esm2015/components/input-date-time/input-date-time.component.js +21 -18
  495. package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
  496. package/esm2015/components/input-file/file/file.component.js +2 -2
  497. package/esm2015/components/input-file/index.js +2 -2
  498. package/esm2015/components/input-file/input-file.component.js +3 -3
  499. package/esm2015/components/input-file/input-file.module.js +1 -1
  500. package/esm2015/components/input-inline/input-inline.component.js +7 -6
  501. package/esm2015/components/input-inline/input-inline.module.js +1 -1
  502. package/esm2015/components/input-month/input-month.component.js +5 -4
  503. package/esm2015/components/input-month-range/input-month-range.component.js +5 -4
  504. package/esm2015/components/input-number/input-number.component.js +18 -28
  505. package/esm2015/components/input-number/input-number.module.js +1 -1
  506. package/esm2015/components/input-password/index.js +2 -2
  507. package/esm2015/components/input-password/input-password.component.js +5 -5
  508. package/esm2015/components/input-password/input-password.module.js +1 -1
  509. package/esm2015/components/input-phone/input-phone.component.js +8 -8
  510. package/esm2015/components/input-phone/input-phone.module.js +1 -1
  511. package/esm2015/components/input-phone-international/const/countries.js +1 -1
  512. package/esm2015/components/input-phone-international/input-phone-international.component.js +21 -21
  513. package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
  514. package/esm2015/components/input-range/input-range.component.js +3 -3
  515. package/esm2015/components/input-slider/input-slider.component.js +5 -5
  516. package/esm2015/components/input-tag/input-tag.component.js +33 -33
  517. package/esm2015/components/input-tag/input-tag.module.js +1 -1
  518. package/esm2015/components/input-time/input-time.component.js +18 -18
  519. package/esm2015/components/input-time/input-time.module.js +1 -1
  520. package/esm2015/components/island/island.module.js +1 -1
  521. package/esm2015/components/line-clamp/index.js +2 -2
  522. package/esm2015/components/line-clamp/line-clamp.component.js +9 -9
  523. package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
  524. package/esm2015/components/marker-icon/marker-icon.component.js +2 -2
  525. package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
  526. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  527. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +6 -6
  528. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  529. package/esm2015/components/multi-select/multi-select.component.js +16 -16
  530. package/esm2015/components/multi-select/multi-select.module.js +2 -2
  531. package/esm2015/components/multi-select-option/multi-select-option.component.js +8 -10
  532. package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
  533. package/esm2015/components/pagination/pagination.component.js +6 -6
  534. package/esm2015/components/pagination/pagination.module.js +1 -1
  535. package/esm2015/components/pdf-viewer/index.js +5 -0
  536. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
  537. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +36 -0
  538. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
  539. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
  540. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +27 -0
  541. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  542. package/esm2015/components/progress/index.js +5 -3
  543. package/esm2015/components/progress/pipes/abstract-color-segments.js +32 -0
  544. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +15 -0
  545. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +12 -28
  546. package/esm2015/components/progress/progress-circle/progress-circle.component.js +5 -5
  547. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +1 -1
  548. package/esm2015/components/progress/progress.module.js +4 -1
  549. package/esm2015/components/radio/radio.component.js +4 -4
  550. package/esm2015/components/radio/radio.module.js +1 -1
  551. package/esm2015/components/radio-block/radio-block.component.js +4 -4
  552. package/esm2015/components/radio-group/radio-group.component.js +1 -1
  553. package/esm2015/components/radio-group/radio-group.module.js +1 -1
  554. package/esm2015/components/radio-labeled/radio-labeled.component.js +4 -4
  555. package/esm2015/components/radio-list/radio-list.component.js +8 -8
  556. package/esm2015/components/range/range.component.js +2 -2
  557. package/esm2015/components/range/range.module.js +1 -1
  558. package/esm2015/components/select/select.component.js +11 -14
  559. package/esm2015/components/select/select.module.js +1 -1
  560. package/esm2015/components/select-option/select-option.component.js +20 -12
  561. package/esm2015/components/select-option/select-option.module.js +1 -1
  562. package/esm2015/components/slider/slider.component.js +2 -2
  563. package/esm2015/components/slider/slider.module.js +1 -1
  564. package/esm2015/components/stepper/step/step.component.js +2 -2
  565. package/esm2015/components/stepper/stepper.component.js +18 -18
  566. package/esm2015/components/stepper/stepper.module.js +1 -1
  567. package/esm2015/components/tabs/index.js +3 -3
  568. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  569. package/esm2015/components/tabs/tabs/tabs.component.js +16 -16
  570. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +6 -6
  571. package/esm2015/components/tabs/tabs.module.js +2 -2
  572. package/esm2015/components/tabs/underline/underline.component.js +3 -3
  573. package/esm2015/components/tag/tag.component.js +2 -2
  574. package/esm2015/components/tag/tag.module.js +1 -1
  575. package/esm2015/components/text-area/text-area.component.js +6 -6
  576. package/esm2015/components/text-area/text-area.module.js +1 -1
  577. package/esm2015/components/text-area/text-area.providers.js +1 -1
  578. package/esm2015/components/toggle/index.js +2 -2
  579. package/esm2015/components/toggle/toggle.component.js +5 -5
  580. package/esm2015/components/toggle/toggle.module.js +1 -1
  581. package/esm2015/components/tree/components/tree/tree.component.js +16 -3
  582. package/esm2015/components/tree/components/tree-item/tree-item.component.js +10 -10
  583. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
  584. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  585. package/esm2015/components/tree/directives/tree-controller.directive.js +1 -1
  586. package/esm2015/components/tree/directives/tree-item-controller.directive.js +2 -2
  587. package/esm2015/components/tree/directives/tree-node.directive.js +1 -1
  588. package/esm2015/components/tree/index.js +4 -4
  589. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  590. package/esm2015/components/tree/misc/tree.interfaces.js +1 -1
  591. package/esm2015/components/tree/misc/tree.service.js +1 -1
  592. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  593. package/esm2015/components/tree/tree.module.js +3 -3
  594. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +3 -5
  595. package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
  596. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  597. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +4 -3
  598. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  599. package/esm2015/directives/highlight/highlight.directive.js +8 -3
  600. package/esm2015/directives/highlight/highlight.module.js +1 -1
  601. package/esm2015/directives/index.js +2 -2
  602. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +4 -2
  603. package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
  604. package/esm2015/directives/present/present.directive.js +1 -1
  605. package/esm2015/directives/present/present.module.js +1 -1
  606. package/esm2015/directives/project-class/project-class.module.js +1 -1
  607. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  608. package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
  609. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +3 -3
  610. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  611. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  612. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
  613. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  614. package/esm2015/pipes/stringify/stringify.module.js +1 -1
  615. package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
  616. package/esm2015/tokens/index.js +2 -2
  617. package/esm2015/utils/format/string-hash-to-hsl.js +1 -3
  618. package/esm2015/utils/mask/index.js +2 -2
  619. package/esm5/abstract/input-slider.js +2 -2
  620. package/esm5/abstract/slider/slider.js +9 -9
  621. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  622. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +14 -0
  623. package/esm5/components/accordion/accordion-item/accordion-item.component.js +10 -6
  624. package/esm5/components/accordion/accordion.component.js +2 -2
  625. package/esm5/components/accordion/accordion.module.js +6 -3
  626. package/esm5/components/accordion/index.js +2 -1
  627. package/esm5/components/action/action.component.js +5 -5
  628. package/esm5/components/arrow/arrow.module.js +1 -1
  629. package/esm5/components/avatar/avatar.component.js +2 -2
  630. package/esm5/components/avatar/avatar.module.js +1 -1
  631. package/esm5/components/badge/badge.component.js +2 -2
  632. package/esm5/components/badge/badge.module.js +1 -1
  633. package/esm5/components/badged-content/badged-content.component.js +1 -1
  634. package/esm5/components/badged-content/badged-content.module.js +1 -1
  635. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  636. package/esm5/components/breadcrumbs/breadcrumbs.component.js +2 -2
  637. package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
  638. package/esm5/components/breadcrumbs/index.js +2 -2
  639. package/esm5/components/calendar-month/calendar-month.component.js +9 -9
  640. package/esm5/components/calendar-month/calendar-month.module.js +1 -1
  641. package/esm5/components/calendar-range/calendar-range.component.js +2 -2
  642. package/esm5/components/carousel/carousel-autoscroll.directive.js +22 -0
  643. package/esm5/components/carousel/carousel-buttons.directive.js +27 -0
  644. package/esm5/components/carousel/carousel-scroll.directive.js +34 -0
  645. package/esm5/components/carousel/carousel.component.js +158 -0
  646. package/esm5/components/carousel/carousel.directive.js +45 -0
  647. package/esm5/components/carousel/carousel.module.js +41 -0
  648. package/esm5/components/carousel/index.js +7 -0
  649. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  650. package/esm5/components/checkbox/checkbox.component.js +4 -4
  651. package/esm5/components/checkbox/checkbox.module.js +1 -1
  652. package/esm5/components/checkbox-block/checkbox-block.component.js +4 -4
  653. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  654. package/esm5/components/combo-box/combo-box.component.js +20 -21
  655. package/esm5/components/combo-box/combo-box.module.js +1 -1
  656. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  657. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +9 -9
  658. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  659. package/esm5/components/field-error/field-error.module.js +1 -1
  660. package/esm5/components/filter/filter.component.js +10 -10
  661. package/esm5/components/filter/filter.module.js +1 -1
  662. package/esm5/components/index.js +6 -4
  663. package/esm5/components/input/input.component.js +8 -8
  664. package/esm5/components/input/input.module.js +1 -1
  665. package/esm5/components/input/input.providers.js +1 -1
  666. package/esm5/components/input-copy/input-copy.component.js +6 -6
  667. package/esm5/components/input-copy/input-copy.module.js +1 -1
  668. package/esm5/components/input-count/input-count.component.js +5 -5
  669. package/esm5/components/input-count/input-count.module.js +1 -1
  670. package/esm5/components/input-date/input-date.component.js +19 -16
  671. package/esm5/components/input-date/input-date.module.js +1 -1
  672. package/esm5/components/input-date-range/input-date-range.component.js +18 -15
  673. package/esm5/components/input-date-range/input-date-range.module.js +1 -1
  674. package/esm5/components/input-date-time/input-date-time.component.js +22 -19
  675. package/esm5/components/input-date-time/input-date-time.module.js +1 -1
  676. package/esm5/components/input-file/file/file.component.js +2 -2
  677. package/esm5/components/input-file/index.js +2 -2
  678. package/esm5/components/input-file/input-file.component.js +3 -3
  679. package/esm5/components/input-file/input-file.module.js +1 -1
  680. package/esm5/components/input-inline/input-inline.component.js +7 -6
  681. package/esm5/components/input-inline/input-inline.module.js +1 -1
  682. package/esm5/components/input-month/input-month.component.js +5 -4
  683. package/esm5/components/input-month-range/input-month-range.component.js +5 -4
  684. package/esm5/components/input-number/input-number.component.js +19 -33
  685. package/esm5/components/input-number/input-number.module.js +1 -1
  686. package/esm5/components/input-password/index.js +2 -2
  687. package/esm5/components/input-password/input-password.component.js +5 -5
  688. package/esm5/components/input-password/input-password.module.js +1 -1
  689. package/esm5/components/input-phone/input-phone.component.js +8 -8
  690. package/esm5/components/input-phone/input-phone.module.js +1 -1
  691. package/esm5/components/input-phone-international/const/countries.js +1 -1
  692. package/esm5/components/input-phone-international/input-phone-international.component.js +24 -24
  693. package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
  694. package/esm5/components/input-range/input-range.component.js +3 -3
  695. package/esm5/components/input-slider/input-slider.component.js +5 -5
  696. package/esm5/components/input-tag/input-tag.component.js +33 -33
  697. package/esm5/components/input-tag/input-tag.module.js +1 -1
  698. package/esm5/components/input-time/input-time.component.js +18 -18
  699. package/esm5/components/input-time/input-time.module.js +1 -1
  700. package/esm5/components/island/island.module.js +1 -1
  701. package/esm5/components/line-clamp/index.js +2 -2
  702. package/esm5/components/line-clamp/line-clamp.component.js +9 -9
  703. package/esm5/components/line-clamp/line-clamp.module.js +1 -1
  704. package/esm5/components/marker-icon/marker-icon.component.js +2 -2
  705. package/esm5/components/marker-icon/marker-icon.module.js +1 -1
  706. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  707. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +6 -6
  708. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  709. package/esm5/components/multi-select/multi-select.component.js +16 -16
  710. package/esm5/components/multi-select/multi-select.module.js +2 -2
  711. package/esm5/components/multi-select-option/multi-select-option.component.js +14 -11
  712. package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
  713. package/esm5/components/pagination/pagination.component.js +6 -6
  714. package/esm5/components/pagination/pagination.module.js +1 -1
  715. package/esm5/components/pdf-viewer/index.js +5 -0
  716. package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
  717. package/esm5/components/pdf-viewer/pdf-viewer.component.js +37 -0
  718. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
  719. package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
  720. package/esm5/components/pdf-viewer/pdf-viewer.service.js +31 -0
  721. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  722. package/esm5/components/progress/index.js +5 -3
  723. package/esm5/components/progress/pipes/abstract-color-segments.js +35 -0
  724. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +21 -0
  725. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +16 -30
  726. package/esm5/components/progress/progress-circle/progress-circle.component.js +5 -5
  727. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +1 -1
  728. package/esm5/components/progress/progress.module.js +4 -1
  729. package/esm5/components/radio/radio.component.js +4 -4
  730. package/esm5/components/radio/radio.module.js +1 -1
  731. package/esm5/components/radio-block/radio-block.component.js +4 -4
  732. package/esm5/components/radio-group/radio-group.component.js +1 -1
  733. package/esm5/components/radio-group/radio-group.module.js +1 -1
  734. package/esm5/components/radio-labeled/radio-labeled.component.js +4 -4
  735. package/esm5/components/radio-list/radio-list.component.js +8 -8
  736. package/esm5/components/range/range.component.js +2 -2
  737. package/esm5/components/range/range.module.js +1 -1
  738. package/esm5/components/select/select.component.js +11 -14
  739. package/esm5/components/select/select.module.js +1 -1
  740. package/esm5/components/select-option/select-option.component.js +24 -14
  741. package/esm5/components/select-option/select-option.module.js +1 -1
  742. package/esm5/components/slider/slider.component.js +2 -2
  743. package/esm5/components/slider/slider.module.js +1 -1
  744. package/esm5/components/stepper/step/step.component.js +2 -2
  745. package/esm5/components/stepper/stepper.component.js +19 -19
  746. package/esm5/components/stepper/stepper.module.js +1 -1
  747. package/esm5/components/tabs/index.js +3 -3
  748. package/esm5/components/tabs/tab/tab.component.js +1 -1
  749. package/esm5/components/tabs/tabs/tabs.component.js +17 -17
  750. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +6 -6
  751. package/esm5/components/tabs/tabs.module.js +2 -2
  752. package/esm5/components/tabs/underline/underline.component.js +3 -3
  753. package/esm5/components/tag/tag.component.js +2 -2
  754. package/esm5/components/tag/tag.module.js +1 -1
  755. package/esm5/components/text-area/text-area.component.js +6 -6
  756. package/esm5/components/text-area/text-area.module.js +1 -1
  757. package/esm5/components/text-area/text-area.providers.js +1 -1
  758. package/esm5/components/toggle/index.js +2 -2
  759. package/esm5/components/toggle/toggle.component.js +5 -5
  760. package/esm5/components/toggle/toggle.module.js +1 -1
  761. package/esm5/components/tree/components/tree/tree.component.js +16 -3
  762. package/esm5/components/tree/components/tree-item/tree-item.component.js +10 -10
  763. package/esm5/components/tree/components/tree-item/tree-item.providers.js +1 -1
  764. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  765. package/esm5/components/tree/directives/tree-controller.directive.js +1 -1
  766. package/esm5/components/tree/directives/tree-item-controller.directive.js +2 -2
  767. package/esm5/components/tree/directives/tree-node.directive.js +1 -1
  768. package/esm5/components/tree/index.js +4 -4
  769. package/esm5/components/tree/misc/tree.constants.js +1 -1
  770. package/esm5/components/tree/misc/tree.interfaces.js +1 -1
  771. package/esm5/components/tree/misc/tree.service.js +1 -1
  772. package/esm5/components/tree/misc/tree.tokens.js +1 -1
  773. package/esm5/components/tree/tree.module.js +3 -3
  774. package/esm5/directives/dropdown-context/dropdown-context.directive.js +3 -5
  775. package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
  776. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  777. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +4 -3
  778. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  779. package/esm5/directives/highlight/highlight.directive.js +8 -3
  780. package/esm5/directives/highlight/highlight.module.js +1 -1
  781. package/esm5/directives/index.js +2 -2
  782. package/esm5/directives/lazy-loading/lazy-loading.directive.js +8 -2
  783. package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
  784. package/esm5/directives/present/present.directive.js +1 -1
  785. package/esm5/directives/present/present.module.js +1 -1
  786. package/esm5/directives/project-class/project-class.module.js +1 -1
  787. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  788. package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
  789. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +4 -4
  790. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  791. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  792. package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
  793. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  794. package/esm5/pipes/stringify/stringify.module.js +1 -1
  795. package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
  796. package/esm5/tokens/index.js +2 -2
  797. package/esm5/utils/format/string-hash-to-hsl.js +1 -3
  798. package/esm5/utils/mask/index.js +2 -2
  799. package/fesm2015/taiga-ui-kit-abstract.js +9 -9
  800. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  801. package/fesm2015/taiga-ui-kit-components-accordion.js +22 -10
  802. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  803. package/fesm2015/taiga-ui-kit-components-action.js +5 -5
  804. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  805. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  806. package/fesm2015/taiga-ui-kit-components-avatar.js +1 -1
  807. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  808. package/fesm2015/taiga-ui-kit-components-badge.js +1 -1
  809. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  810. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
  811. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  812. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +4 -4
  813. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  814. package/fesm2015/taiga-ui-kit-components-calendar-month.js +6 -6
  815. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  816. package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -1
  817. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  818. package/fesm2015/taiga-ui-kit-components-carousel.js +267 -0
  819. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -0
  820. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +4 -4
  821. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  822. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  823. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  824. package/fesm2015/taiga-ui-kit-components-checkbox.js +4 -4
  825. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  826. package/fesm2015/taiga-ui-kit-components-combo-box.js +21 -22
  827. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  828. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +11 -11
  829. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  830. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  831. package/fesm2015/taiga-ui-kit-components-filter.js +10 -10
  832. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  833. package/fesm2015/taiga-ui-kit-components-input-copy.js +6 -6
  834. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  835. package/fesm2015/taiga-ui-kit-components-input-count.js +5 -5
  836. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  837. package/fesm2015/taiga-ui-kit-components-input-date-range.js +19 -16
  838. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  839. package/fesm2015/taiga-ui-kit-components-input-date-time.js +21 -18
  840. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  841. package/fesm2015/taiga-ui-kit-components-input-date.js +19 -16
  842. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  843. package/fesm2015/taiga-ui-kit-components-input-file.js +148 -148
  844. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  845. package/fesm2015/taiga-ui-kit-components-input-inline.js +7 -6
  846. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  847. package/fesm2015/taiga-ui-kit-components-input-month-range.js +5 -4
  848. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  849. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -4
  850. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  851. package/fesm2015/taiga-ui-kit-components-input-number.js +18 -28
  852. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  853. package/fesm2015/taiga-ui-kit-components-input-password.js +5 -5
  854. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  855. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +21 -21
  856. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  857. package/fesm2015/taiga-ui-kit-components-input-phone.js +9 -9
  858. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  859. package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
  860. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  861. package/fesm2015/taiga-ui-kit-components-input-slider.js +5 -5
  862. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  863. package/fesm2015/taiga-ui-kit-components-input-tag.js +35 -35
  864. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  865. package/fesm2015/taiga-ui-kit-components-input-time.js +18 -18
  866. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  867. package/fesm2015/taiga-ui-kit-components-input.js +9 -9
  868. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  869. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  870. package/fesm2015/taiga-ui-kit-components-line-clamp.js +10 -10
  871. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  872. package/fesm2015/taiga-ui-kit-components-marker-icon.js +1 -1
  873. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  874. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -9
  875. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  876. package/fesm2015/taiga-ui-kit-components-multi-select.js +22 -22
  877. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  878. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  879. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  880. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +98 -0
  881. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  882. package/fesm2015/taiga-ui-kit-components-progress.js +41 -16
  883. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  884. package/fesm2015/taiga-ui-kit-components-radio-block.js +4 -4
  885. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  886. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  887. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +4 -4
  888. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  889. package/fesm2015/taiga-ui-kit-components-radio-list.js +9 -9
  890. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  891. package/fesm2015/taiga-ui-kit-components-radio.js +4 -4
  892. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  893. package/fesm2015/taiga-ui-kit-components-range.js +1 -1
  894. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  895. package/fesm2015/taiga-ui-kit-components-select-option.js +19 -11
  896. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  897. package/fesm2015/taiga-ui-kit-components-select.js +12 -15
  898. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  899. package/fesm2015/taiga-ui-kit-components-slider.js +1 -1
  900. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  901. package/fesm2015/taiga-ui-kit-components-stepper.js +19 -19
  902. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  903. package/fesm2015/taiga-ui-kit-components-tabs.js +23 -23
  904. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  905. package/fesm2015/taiga-ui-kit-components-tag.js +1 -1
  906. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  907. package/fesm2015/taiga-ui-kit-components-text-area.js +6 -6
  908. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  909. package/fesm2015/taiga-ui-kit-components-toggle.js +5 -5
  910. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  911. package/fesm2015/taiga-ui-kit-components-tree.js +133 -122
  912. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  913. package/fesm2015/taiga-ui-kit-components.js +5 -3
  914. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  915. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +2 -4
  916. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  917. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  918. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +3 -2
  919. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  920. package/fesm2015/taiga-ui-kit-directives-highlight.js +7 -2
  921. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  922. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +3 -1
  923. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  924. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  925. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  926. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  927. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  928. package/fesm2015/taiga-ui-kit-directives.js +1 -1
  929. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +2 -2
  930. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  931. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
  932. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  933. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  934. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  935. package/fesm2015/taiga-ui-kit-tokens.js +14 -14
  936. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  937. package/fesm2015/taiga-ui-kit-utils-format.js +0 -2
  938. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  939. package/fesm5/taiga-ui-kit-abstract.js +9 -9
  940. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  941. package/fesm5/taiga-ui-kit-components-accordion.js +25 -10
  942. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  943. package/fesm5/taiga-ui-kit-components-action.js +5 -5
  944. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  945. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-components-avatar.js +1 -1
  947. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  948. package/fesm5/taiga-ui-kit-components-badge.js +1 -1
  949. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  950. package/fesm5/taiga-ui-kit-components-badged-content.js +1 -1
  951. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  952. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +4 -4
  953. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  954. package/fesm5/taiga-ui-kit-components-calendar-month.js +8 -8
  955. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  956. package/fesm5/taiga-ui-kit-components-calendar-range.js +1 -1
  957. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  958. package/fesm5/taiga-ui-kit-components-carousel.js +306 -0
  959. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -0
  960. package/fesm5/taiga-ui-kit-components-checkbox-block.js +4 -4
  961. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  962. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  963. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  964. package/fesm5/taiga-ui-kit-components-checkbox.js +4 -4
  965. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  966. package/fesm5/taiga-ui-kit-components-combo-box.js +21 -22
  967. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  968. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +11 -11
  969. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  970. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  971. package/fesm5/taiga-ui-kit-components-filter.js +10 -10
  972. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  973. package/fesm5/taiga-ui-kit-components-input-copy.js +6 -6
  974. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  975. package/fesm5/taiga-ui-kit-components-input-count.js +5 -5
  976. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  977. package/fesm5/taiga-ui-kit-components-input-date-range.js +19 -16
  978. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  979. package/fesm5/taiga-ui-kit-components-input-date-time.js +22 -19
  980. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  981. package/fesm5/taiga-ui-kit-components-input-date.js +19 -16
  982. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  983. package/fesm5/taiga-ui-kit-components-input-file.js +194 -194
  984. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  985. package/fesm5/taiga-ui-kit-components-input-inline.js +7 -6
  986. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  987. package/fesm5/taiga-ui-kit-components-input-month-range.js +5 -4
  988. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  989. package/fesm5/taiga-ui-kit-components-input-month.js +5 -4
  990. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  991. package/fesm5/taiga-ui-kit-components-input-number.js +19 -33
  992. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  993. package/fesm5/taiga-ui-kit-components-input-password.js +5 -5
  994. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  995. package/fesm5/taiga-ui-kit-components-input-phone-international.js +24 -24
  996. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  997. package/fesm5/taiga-ui-kit-components-input-phone.js +9 -9
  998. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  999. package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
  1000. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  1001. package/fesm5/taiga-ui-kit-components-input-slider.js +5 -5
  1002. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  1003. package/fesm5/taiga-ui-kit-components-input-tag.js +35 -35
  1004. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  1005. package/fesm5/taiga-ui-kit-components-input-time.js +18 -18
  1006. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  1007. package/fesm5/taiga-ui-kit-components-input.js +9 -9
  1008. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  1009. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  1010. package/fesm5/taiga-ui-kit-components-line-clamp.js +10 -10
  1011. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  1012. package/fesm5/taiga-ui-kit-components-marker-icon.js +1 -1
  1013. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1014. package/fesm5/taiga-ui-kit-components-multi-select-option.js +13 -10
  1015. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1016. package/fesm5/taiga-ui-kit-components-multi-select.js +22 -22
  1017. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  1018. package/fesm5/taiga-ui-kit-components-pagination.js +7 -7
  1019. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  1020. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +111 -0
  1021. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  1022. package/fesm5/taiga-ui-kit-components-progress.js +55 -19
  1023. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  1024. package/fesm5/taiga-ui-kit-components-radio-block.js +4 -4
  1025. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  1026. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  1027. package/fesm5/taiga-ui-kit-components-radio-labeled.js +4 -4
  1028. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1029. package/fesm5/taiga-ui-kit-components-radio-list.js +9 -9
  1030. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  1031. package/fesm5/taiga-ui-kit-components-radio.js +4 -4
  1032. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  1033. package/fesm5/taiga-ui-kit-components-range.js +1 -1
  1034. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  1035. package/fesm5/taiga-ui-kit-components-select-option.js +23 -13
  1036. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  1037. package/fesm5/taiga-ui-kit-components-select.js +12 -15
  1038. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  1039. package/fesm5/taiga-ui-kit-components-slider.js +1 -1
  1040. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  1041. package/fesm5/taiga-ui-kit-components-stepper.js +20 -20
  1042. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  1043. package/fesm5/taiga-ui-kit-components-tabs.js +24 -24
  1044. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  1045. package/fesm5/taiga-ui-kit-components-tag.js +1 -1
  1046. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  1047. package/fesm5/taiga-ui-kit-components-text-area.js +6 -6
  1048. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  1049. package/fesm5/taiga-ui-kit-components-toggle.js +5 -5
  1050. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  1051. package/fesm5/taiga-ui-kit-components-tree.js +148 -137
  1052. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  1053. package/fesm5/taiga-ui-kit-components.js +5 -3
  1054. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  1055. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +2 -4
  1056. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  1057. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  1058. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +3 -2
  1059. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  1060. package/fesm5/taiga-ui-kit-directives-highlight.js +7 -2
  1061. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  1062. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +7 -1
  1063. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1064. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  1065. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  1066. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1067. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1068. package/fesm5/taiga-ui-kit-directives.js +1 -1
  1069. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +3 -3
  1070. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1071. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
  1072. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1073. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1074. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1075. package/fesm5/taiga-ui-kit-tokens.js +14 -14
  1076. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  1077. package/fesm5/taiga-ui-kit-utils-format.js +0 -2
  1078. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  1079. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +1 -1
  1080. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  1081. package/package.json +7 -6
  1082. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
  1083. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
  1084. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
  1085. package/tokens/index.d.ts +1 -1
  1086. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  1087. package/utils/mask/index.d.ts +1 -1
  1088. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
@@ -1,3 +1,4 @@
1
+ export * from '@taiga-ui/kit/directives/dropdown-context';
1
2
  export * from '@taiga-ui/kit/directives/dropdown-hover';
2
3
  export * from '@taiga-ui/kit/directives/dropdown-selection';
3
4
  export * from '@taiga-ui/kit/directives/highlight';
@@ -6,7 +7,6 @@ export * from '@taiga-ui/kit/directives/present';
6
7
  export * from '@taiga-ui/kit/directives/project-class';
7
8
  export * from '@taiga-ui/kit/directives/unfinished-validator';
8
9
  export * from '@taiga-ui/kit/directives/value-accessor';
9
- export * from '@taiga-ui/kit/directives/dropdown-context';
10
10
 
11
11
  /**
12
12
  * Generated bundle index. Do not edit.
@@ -20,9 +20,9 @@ let TuiPrimitiveCalendarRangeComponent = class TuiPrimitiveCalendarRangeComponen
20
20
  this.value = null;
21
21
  this.dayClick = new EventEmitter();
22
22
  this.hoveredItem = null;
23
- this.monthOffset = (value, offset) => value.append({ month: offset });
24
23
  this.userViewedMonthFirst = this.defaultViewedMonthFirst;
25
24
  this.userViewedMonthSecond = this.defaultViewedMonthSecond;
25
+ this.monthOffset = (value, offset) => value.append({ month: offset });
26
26
  if (!valueChanges) {
27
27
  return;
28
28
  }
@@ -114,7 +114,7 @@ __decorate([
114
114
  TuiPrimitiveCalendarRangeComponent = __decorate([
115
115
  Component({
116
116
  selector: 'tui-primitive-calendar-range',
117
- template: "<tui-calendar\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthFirst\"\n [markerHandler]=\"markerHandler\"\n [maxViewedMonth]=\"cappedUserViewedMonthSecond | tuiMapper: monthOffset: -1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionFirstViewedMonth($event)\"\n></tui-calendar>\n<tui-calendar\n class=\"border\"\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthSecond\"\n [markerHandler]=\"markerHandler\"\n [minViewedMonth]=\"cappedUserViewedMonthFirst | tuiMapper: monthOffset: 1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionSecondViewedMonth($event)\"\n></tui-calendar>\n",
117
+ template: "<tui-calendar\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthFirst\"\n [markerHandler]=\"markerHandler\"\n [maxViewedMonth]=\"cappedUserViewedMonthSecond | tuiMapper: monthOffset:-1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionFirstViewedMonth($event)\"\n></tui-calendar>\n<tui-calendar\n class=\"border\"\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthSecond\"\n [markerHandler]=\"markerHandler\"\n [minViewedMonth]=\"cappedUserViewedMonthFirst | tuiMapper: monthOffset:1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionSecondViewedMonth($event)\"\n></tui-calendar>\n",
118
118
  changeDetection: ChangeDetectionStrategy.OnPush,
119
119
  providers: [TuiDestroyService],
120
120
  styles: [":host{display:flex}.border{border-left:1px solid var(--tui-base-03)}"]
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-internal-primitive-calendar-range.js","sources":["ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.component.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.module.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Inject,\n Input,\n OnInit,\n Optional,\n Output,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n tuiDefaultProp,\n TuiDestroyService,\n TuiMapper,\n TuiMonth,\n watch,\n} from '@taiga-ui/cdk';\nimport {TUI_DEFAULT_MARKER_HANDLER, TuiMarkerHandler} from '@taiga-ui/core';\nimport {TUI_CALENDAR_DATA_STREAM} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n/**\n * @internal\n */\n@Component({\n selector: 'tui-primitive-calendar-range',\n templateUrl: './primitive-calendar-range.template.html',\n styleUrls: ['./primitive-calendar-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiPrimitiveCalendarRangeComponent implements OnInit {\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiDay> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n markerHandler: TuiMarkerHandler = TUI_DEFAULT_MARKER_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthFirst = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthSecond = TuiMonth.currentLocal().append({month: 1});\n\n @Input()\n @tuiDefaultProp()\n min = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max = TUI_LAST_DAY;\n\n @Input()\n @tuiDefaultProp()\n value: TuiDayRange | null = null;\n\n @Output()\n readonly dayClick = new EventEmitter<TuiDay>();\n\n hoveredItem: TuiDay | null = null;\n\n monthOffset: TuiMapper<TuiMonth, TuiMonth> = (value, offset: number) =>\n value.append({month: offset});\n\n userViewedMonthFirst: TuiMonth = this.defaultViewedMonthFirst;\n userViewedMonthSecond: TuiMonth = this.defaultViewedMonthSecond;\n\n constructor(\n @Inject(TUI_CALENDAR_DATA_STREAM)\n @Optional()\n valueChanges: Observable<TuiDayRange | null> | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: TuiDestroyService,\n ) {\n if (!valueChanges) {\n return;\n }\n\n valueChanges\n .pipe(watch(changeDetectorRef), takeUntil(destroy$))\n .subscribe(value => {\n this.value = value;\n this.updateViewedMonths();\n });\n }\n\n get cappedUserViewedMonthSecond(): TuiMonth {\n return this.userViewedMonthSecond.monthBefore(this.max)\n ? this.userViewedMonthSecond\n : this.max;\n }\n\n get cappedUserViewedMonthFirst(): TuiMonth {\n return this.userViewedMonthFirst.monthSameOrBefore(this.userViewedMonthSecond)\n ? this.userViewedMonthFirst\n : this.userViewedMonthSecond;\n }\n\n ngOnInit() {\n this.updateViewedMonths();\n }\n\n onSectionFirstViewedMonth(month: TuiMonth) {\n this.userViewedMonthFirst = month;\n\n if (this.userViewedMonthSecond.year < this.userViewedMonthFirst.year) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({\n year: month.year - this.userViewedMonthSecond.year,\n });\n }\n }\n\n onSectionSecondViewedMonth(month: TuiMonth) {\n this.userViewedMonthSecond = month;\n\n if (this.userViewedMonthFirst.year > this.userViewedMonthSecond.year) {\n this.userViewedMonthFirst = this.userViewedMonthFirst.append({\n year: month.year - this.userViewedMonthFirst.year,\n });\n }\n }\n\n onDayClick(day: TuiDay) {\n this.dayClick.emit(day);\n }\n\n private updateViewedMonths() {\n this.userViewedMonthFirst =\n this.value === null ? this.defaultViewedMonthFirst : this.value.from;\n this.userViewedMonthSecond =\n this.value === null ? this.defaultViewedMonthSecond : this.value.to;\n\n if (this.userViewedMonthFirst.monthSame(this.userViewedMonthSecond)) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({month: 1});\n }\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {TuiCalendarModule, TuiScrollbarModule} from '@taiga-ui/core';\nimport {TuiPrimitiveCalendarRangeComponent} from './primitive-calendar-range.component';\n\n/**\n * @internal\n */\n@NgModule({\n imports: [TuiMapperPipeModule, TuiScrollbarModule, TuiCalendarModule],\n declarations: [TuiPrimitiveCalendarRangeComponent],\n exports: [TuiPrimitiveCalendarRangeComponent],\n})\nexport class TuiPrimitiveCalendarRangeModule {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AkB,EAAE,iBAAiB,CAAC;QACrE,YAAY,EAAE,CAAC,kCAAkC,CAAC;QAClD,OAAO,EAAE,CAAC,kCAAkC,CAAC;KAChD,CAAC;GACW,+BAA+B,CAAG;;ACb/C;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-internal-primitive-calendar-range.js","sources":["ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.component.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.module.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Inject,\n Input,\n OnInit,\n Optional,\n Output,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n tuiDefaultProp,\n TuiDestroyService,\n TuiMapper,\n TuiMonth,\n watch,\n} from '@taiga-ui/cdk';\nimport {TUI_DEFAULT_MARKER_HANDLER, TuiMarkerHandler} from '@taiga-ui/core';\nimport {TUI_CALENDAR_DATA_STREAM} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n/**\n * @internal\n */\n@Component({\n selector: 'tui-primitive-calendar-range',\n templateUrl: './primitive-calendar-range.template.html',\n styleUrls: ['./primitive-calendar-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiPrimitiveCalendarRangeComponent implements OnInit {\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiDay> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n markerHandler: TuiMarkerHandler = TUI_DEFAULT_MARKER_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthFirst = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthSecond = TuiMonth.currentLocal().append({month: 1});\n\n @Input()\n @tuiDefaultProp()\n min = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max = TUI_LAST_DAY;\n\n @Input()\n @tuiDefaultProp()\n value: TuiDayRange | null = null;\n\n @Output()\n readonly dayClick = new EventEmitter<TuiDay>();\n\n hoveredItem: TuiDay | null = null;\n\n userViewedMonthFirst: TuiMonth = this.defaultViewedMonthFirst;\n userViewedMonthSecond: TuiMonth = this.defaultViewedMonthSecond;\n\n constructor(\n @Inject(TUI_CALENDAR_DATA_STREAM)\n @Optional()\n valueChanges: Observable<TuiDayRange | null> | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: TuiDestroyService,\n ) {\n if (!valueChanges) {\n return;\n }\n\n valueChanges\n .pipe(watch(changeDetectorRef), takeUntil(destroy$))\n .subscribe(value => {\n this.value = value;\n this.updateViewedMonths();\n });\n }\n\n get cappedUserViewedMonthSecond(): TuiMonth {\n return this.userViewedMonthSecond.monthBefore(this.max)\n ? this.userViewedMonthSecond\n : this.max;\n }\n\n get cappedUserViewedMonthFirst(): TuiMonth {\n return this.userViewedMonthFirst.monthSameOrBefore(this.userViewedMonthSecond)\n ? this.userViewedMonthFirst\n : this.userViewedMonthSecond;\n }\n\n monthOffset: TuiMapper<TuiMonth, TuiMonth> = (value, offset: number) =>\n value.append({month: offset});\n\n ngOnInit() {\n this.updateViewedMonths();\n }\n\n onSectionFirstViewedMonth(month: TuiMonth) {\n this.userViewedMonthFirst = month;\n\n if (this.userViewedMonthSecond.year < this.userViewedMonthFirst.year) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({\n year: month.year - this.userViewedMonthSecond.year,\n });\n }\n }\n\n onSectionSecondViewedMonth(month: TuiMonth) {\n this.userViewedMonthSecond = month;\n\n if (this.userViewedMonthFirst.year > this.userViewedMonthSecond.year) {\n this.userViewedMonthFirst = this.userViewedMonthFirst.append({\n year: month.year - this.userViewedMonthFirst.year,\n });\n }\n }\n\n onDayClick(day: TuiDay) {\n this.dayClick.emit(day);\n }\n\n private updateViewedMonths() {\n this.userViewedMonthFirst =\n this.value === null ? this.defaultViewedMonthFirst : this.value.from;\n this.userViewedMonthSecond =\n this.value === null ? this.defaultViewedMonthSecond : this.value.to;\n\n if (this.userViewedMonthFirst.monthSame(this.userViewedMonthSecond)) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({month: 1});\n }\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {TuiCalendarModule, TuiScrollbarModule} from '@taiga-ui/core';\n\nimport {TuiPrimitiveCalendarRangeComponent} from './primitive-calendar-range.component';\n\n/**\n * @internal\n */\n@NgModule({\n imports: [TuiMapperPipeModule, TuiScrollbarModule, TuiCalendarModule],\n declarations: [TuiPrimitiveCalendarRangeComponent],\n exports: [TuiPrimitiveCalendarRangeComponent],\n})\nexport class TuiPrimitiveCalendarRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA6BA;;;IAUa,kCAAkC,GAA/C,MAAa,kCAAkC;IAqC3C,YAGI,YAAmD,EACxB,iBAAoC,EACpC,QAA2B;QAvC1D,wBAAmB,GAA8B,oBAAoB,CAAC;QAItE,kBAAa,GAAqB,0BAA0B,CAAC;QAI7D,4BAAuB,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC;QAIlD,6BAAwB,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,CAAC,EAAC,CAAC,CAAC;QAItE,QAAG,GAAG,aAAa,CAAC;QAIpB,QAAG,GAAG,YAAY,CAAC;QAInB,UAAK,GAAuB,IAAI,CAAC;QAGxB,aAAQ,GAAG,IAAI,YAAY,EAAU,CAAC;QAE/C,gBAAW,GAAkB,IAAI,CAAC;QA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E;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;+DACG;AAIpB;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;+DACE;AAInB;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;iEACgB;AAGjC;IADC,MAAM,EAAE;oEACsC;AA9BtC,kCAAkC;IAP9C,SAAS,CAAC;QACP,QAAQ,EAAE,8BAA8B;QACxC,w8BAAuD;QAEvD,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE,CAAC,iBAAiB,CAAC;;KACjC,CAAC;IAuCO,WAAA,MAAM,CAAC,wBAAwB,CAAC,CAAA;IAChC,WAAA,QAAQ,EAAE,CAAA;IAEV,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;IACzB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;GA1CrB,kCAAkC,CA6G9C;;AC9ID;;;IAQa,+BAA+B,GAA5C,MAAa,+BAA+B;EAAG;AAAlC,+BAA+B;IAL3C,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;QACrE,YAAY,EAAE,CAAC,kCAAkC,CAAC;QAClD,OAAO,EAAE,CAAC,kCAAkC,CAAC;KAChD,CAAC;GACW,+BAA+B,CAAG;;ACd/C;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'tslib';
2
- import { isPresent, tuiPure, TUI_DEFAULT_MATCHER, TUI_FOCUSABLE_ITEM_ACCESSOR, TUI_DEFAULT_STRINGIFY } from '@taiga-ui/cdk';
2
+ import { isPresent, tuiPure, TUI_DEFAULT_MATCHER, TUI_DEFAULT_STRINGIFY, TUI_FOCUSABLE_ITEM_ACCESSOR } from '@taiga-ui/cdk';
3
3
  import { isFlat } from '@taiga-ui/kit/utils';
4
4
  import { Inject, Pipe, NgModule } from '@angular/core';
5
5
 
@@ -37,45 +37,45 @@ __decorate([
37
37
  tuiPure
38
38
  ], TuiFilterByInputBase.prototype, "filter", null);
39
39
 
40
- let TuiFilterByInputWithPipe = class TuiFilterByInputWithPipe extends TuiFilterByInputBase {
40
+ let TuiFilterByInputPipe = class TuiFilterByInputPipe extends TuiFilterByInputBase {
41
41
  constructor(accessor) {
42
42
  super();
43
43
  this.accessor = accessor;
44
44
  }
45
- transform(items, stringify) {
46
- return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);
45
+ transform(items, matcher = TUI_DEFAULT_MATCHER) {
46
+ return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);
47
47
  }
48
48
  };
49
- TuiFilterByInputWithPipe.ctorParameters = () => [
49
+ TuiFilterByInputPipe.ctorParameters = () => [
50
50
  { type: undefined, decorators: [{ type: Inject, args: [TUI_FOCUSABLE_ITEM_ACCESSOR,] }] }
51
51
  ];
52
- TuiFilterByInputWithPipe = __decorate([
52
+ TuiFilterByInputPipe = __decorate([
53
53
  Pipe({
54
- name: 'tuiFilterByInputWith',
54
+ name: 'tuiFilterByInput',
55
55
  pure: false,
56
56
  }),
57
57
  __param(0, Inject(TUI_FOCUSABLE_ITEM_ACCESSOR))
58
- ], TuiFilterByInputWithPipe);
58
+ ], TuiFilterByInputPipe);
59
59
 
60
- let TuiFilterByInputPipe = class TuiFilterByInputPipe extends TuiFilterByInputBase {
60
+ let TuiFilterByInputWithPipe = class TuiFilterByInputWithPipe extends TuiFilterByInputBase {
61
61
  constructor(accessor) {
62
62
  super();
63
63
  this.accessor = accessor;
64
64
  }
65
- transform(items, matcher = TUI_DEFAULT_MATCHER) {
66
- return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);
65
+ transform(items, stringify) {
66
+ return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);
67
67
  }
68
68
  };
69
- TuiFilterByInputPipe.ctorParameters = () => [
69
+ TuiFilterByInputWithPipe.ctorParameters = () => [
70
70
  { type: undefined, decorators: [{ type: Inject, args: [TUI_FOCUSABLE_ITEM_ACCESSOR,] }] }
71
71
  ];
72
- TuiFilterByInputPipe = __decorate([
72
+ TuiFilterByInputWithPipe = __decorate([
73
73
  Pipe({
74
- name: 'tuiFilterByInput',
74
+ name: 'tuiFilterByInputWith',
75
75
  pure: false,
76
76
  }),
77
77
  __param(0, Inject(TUI_FOCUSABLE_ITEM_ACCESSOR))
78
- ], TuiFilterByInputPipe);
78
+ ], TuiFilterByInputWithPipe);
79
79
 
80
80
  let TuiFilterByInputPipeModule = class TuiFilterByInputPipeModule {
81
81
  };
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-filter-by-input.js","sources":["ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.base.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input-with.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.module.ts","ng://@taiga-ui/kit/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.ts"],"sourcesContent":["import {\n isPresent,\n TuiFocusableElementAccessor,\n tuiPure,\n TuiStringHandler,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\nimport {isFlat} from '@taiga-ui/kit/utils';\n\nexport type ArrayElement<A> = A extends readonly (infer T)[]\n ? A extends readonly (readonly (infer G)[])[]\n ? G\n : T\n : never;\n\nexport abstract class TuiFilterByInputBase {\n protected abstract readonly accessor: TuiFocusableElementAccessor;\n\n protected get query(): string {\n return this.accessor.nativeFocusableElement\n ? (this.accessor.nativeFocusableElement as any).value || ''\n : '';\n }\n\n @tuiPure\n protected filter<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n if (!items) {\n return null;\n }\n\n return isFlat(items)\n ? this.filterFlat(items, matcher, stringify, query)\n : this.filter2d(items, matcher, stringify, query);\n }\n\n private filterFlat<T>(\n items: readonly T[],\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] {\n const match = this.getMatch(items, stringify, query);\n\n return isPresent(match)\n ? items\n : items.filter(item => matcher(item, query, stringify));\n }\n\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> {\n const match = items.find(item =>\n isPresent(this.getMatch(item, stringify, query)),\n );\n\n return isPresent(match)\n ? items\n : items.map(inner => this.filterFlat(inner, matcher, stringify, query));\n }\n\n private getMatch<T>(\n items: readonly T[],\n stringify: TuiStringHandler<T>,\n query: string,\n ): T | undefined {\n return items.find(\n item => stringify(item).toLocaleLowerCase() === query.toLocaleLowerCase(),\n );\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInputWith',\n pure: false,\n})\nexport class TuiFilterByInputWithPipe\n extends TuiFilterByInputBase\n implements PipeTransform\n{\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringHandler<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n stringify: TuiStringHandler<T>,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInput',\n pure: false,\n})\nexport class TuiFilterByInputPipe extends TuiFilterByInputBase implements PipeTransform {\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringMatcher<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T> = TUI_DEFAULT_MATCHER,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiFilterByInputWithPipe} from './filter-by-input-with.pipe';\nimport {TuiFilterByInputPipe} from './filter-by-input.pipe';\n\n@NgModule({\n declarations: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n exports: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n})\nexport class TuiFilterByInputPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAesB,oBAAoB;IAGtC,IAAc,KAAK;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB;cACpC,IAAI,CAAC,QAAQ,CAAC,sBAA8B,CAAC,KAAK,IAAI,EAAE;cACzD,EAAE,CAAC;KACZ;IAGS,MAAM,CACZ,KAAwD,EACxD,OAA4B,EAC5B,SAA8B,EAC9B,KAAa;QAEb,IAAI,CAAC,KAAK,EAAE;YACR,OAAO,IAAI,CAAC;SACf;QAED,OAAO,MAAM,CAAC,KAAK,CAAC;cACd,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC;cACjD,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,K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AC,CAAC;KACzE;EACJ;;4CAbQ,MAAM,SAAC,2BAA2B;;AAL9B,wBAAwB;IAJpC,IAAI,CAAC;QACF,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,KAAK;KACd,CAAC;IAMO,WAAA,MAAM,CAAC,2BAA2B,CAAC,CAAA;GAL/B,wBAAwB,CAkBpC;;ICjBY,oBAAoB,GAAjC,MAAa,oBAAqB,SAAQ,oBAAoB;IAC1D,YAEuB,QAAqC;QAExD,KAAK,EAAE,CAAC;QAFW,aAAQ,GAAR,QAAQ,CAA6B;KAG3D;IAGD,SAAS,CACL,KAAwD,EACxD,UAA+B,mBAAmB;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,qBAAqB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;KACzE;EACJ;;4CAbQ,MAAM,SAAC,2BAA2B;;AAF9B,oBAAoB;IAJhC,IAAI,CAAC;QACF,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,KAAK;KACd,CAAC;IAGO,WAAA,MAAM,CAAC,2BAA2B,CAAC,CAAA;GAF/B,oBAAoB,CAehC;;ICrBY,0BAA0B,GAAvC,MAAa,0BAA0B;EAAG;AAA7B,0BAA0B;IAJtC,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,oBAAoB,EAAE,wBAAwB,CAAC;QAC9D,OAAO,EAAE,CAAC,oBAAoB,EAAE,wBAAwB,CAAC;KAC5D,CAAC;GACW,0BAA0B,CAAG;;ACR1C;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-filter-by-input.js","sources":["ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.base.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input-with.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.module.ts","ng://@taiga-ui/kit/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.ts"],"sourcesContent":["import {\n isPresent,\n TuiFocusableElementAccessor,\n tuiPure,\n TuiStringHandler,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\nimport {isFlat} from '@taiga-ui/kit/utils';\n\nexport type ArrayElement<A> = A extends readonly (infer T)[]\n ? A extends readonly (readonly (infer G)[])[]\n ? G\n : T\n : never;\n\nexport abstract class TuiFilterByInputBase {\n protected abstract readonly accessor: TuiFocusableElementAccessor;\n\n protected get query(): string {\n return this.accessor.nativeFocusableElement\n ? (this.accessor.nativeFocusableElement as any).value || ''\n : '';\n }\n\n @tuiPure\n protected filter<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n if (!items) {\n return null;\n }\n\n return isFlat(items)\n ? this.filterFlat(items, matcher, stringify, query)\n : this.filter2d(items, matcher, stringify, query);\n }\n\n private filterFlat<T>(\n items: readonly T[],\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] {\n const match = this.getMatch(items, stringify, query);\n\n return isPresent(match)\n ? items\n : items.filter(item => matcher(item, query, stringify));\n }\n\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> {\n const match = items.find(item =>\n isPresent(this.getMatch(item, stringify, query)),\n );\n\n return isPresent(match)\n ? items\n : items.map(inner => this.filterFlat(inner, matcher, stringify, query));\n }\n\n private getMatch<T>(\n items: readonly T[],\n stringify: TuiStringHandler<T>,\n query: string,\n ): T | undefined {\n return items.find(\n item => stringify(item).toLocaleLowerCase() === query.toLocaleLowerCase(),\n );\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\n\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInput',\n pure: false,\n})\nexport class TuiFilterByInputPipe extends TuiFilterByInputBase implements PipeTransform {\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringMatcher<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T> = TUI_DEFAULT_MATCHER,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInputWith',\n pure: false,\n})\nexport class TuiFilterByInputWithPipe\n extends TuiFilterByInputBase\n implements PipeTransform\n{\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringHandler<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n stringify: TuiStringHandler<T>,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFilterByInputPipe} from './filter-by-input.pipe';\nimport {TuiFilterByInputWithPipe} from './filter-by-input-with.pipe';\n\n@NgModule({\n declarations: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n exports: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n})\nexport class TuiFilterByInputPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAesB,oBAAoB;IAGtC,IAAc,KAAK;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB;cACpC,IAAI,CAAC,QAAQ,CAAC,sBAA8B,CAAC,KAAK,IAAI,EAAE;cACzD,EAAE,CAAC;KACZ;IAGS,MAAM,CACZ,KAAwD,EACxD,OAA4B,EAC5B,SAA8B,EAC9B,KAAa;QAEb,IAAI,CAAC,KAAK,EAAE;YACR,OAAO,IAAI,CAAC;SACf;QAED,OAAO,MAAM,CAAC,KAAK,CAAC;cACd,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC;cACjD,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;KACzD;IAEO,UAAU,CACd,KAAmB,EACnB,OAA4B,EAC5B,SAA8B,EAC9B,KAAa;QAEb,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;QAErD,OAAO,SAAS,CAAC,KAAK,CAAC;cACjB,KAAK;cACL,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;KAC/D;IAEO,QAAQ,CACZ,KAAkC,EAClC,OAA4B,EAC5B,SAA8B,EAC9B,KAAa;QAEb,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,IACzB,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CACnD,CAAC;QAEF,OAAO,SAAS,CAAC,KAAK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ACF,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,KAAK;KACd,CAAC;IAMO,WAAA,MAAM,CAAC,2BAA2B,CAAC,CAAA;GAL/B,wBAAwB,CAkBpC;;ICvBY,0BAA0B,GAAvC,MAAa,0BAA0B;EAAG;AAA7B,0BAA0B;IAJtC,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,oBAAoB,EAAE,wBAAwB,CAAC;QAC9D,OAAO,EAAE,CAAC,oBAAoB,EAAE,wBAAwB,CAAC;KAC5D,CAAC;GACW,0BAA0B,CAAG;;ACT1C;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.js","sources":["ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.pipe.ts","ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.module.ts","ng://@taiga-ui/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {TuiValueContentContext} from '@taiga-ui/core';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n transform<T>(\n stringify: TuiStringHandler<T>,\n ): TuiStringHandler<TuiValueContentContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiStringifyContentPipe} from './stringify-content.pipe';\n\n@NgModule({\n declarations: [TuiStringifyContentPipe],\n exports: [TuiStringifyContentPipe],\n})\nexport class TuiStringifyContentPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAOa,uBAAuB,GAApC,MAAa,uBAAuB;IAChC,SAAS,CACL,SAA8B;QAE9B,OAAO,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS,CAAC,SAAS,CAAC,CAAC;KAChD;EACJ;AANY,uBAAuB;IAHnC,IAAI,CAAC;QACF,IAAI,EAAE,qBAAqB;KAC9B,CAAC;GACW,uBAAuB,CAMnC;;ICNY,6BAA6B,GAA1C,MAAa,6BAA6B;EAAG;AAAhC,6BAA6B;IAJzC,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;QACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;KACrC,CAAC;GACW,6BAA6B,CAAG;;ACP7C;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.js","sources":["ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.pipe.ts","ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.module.ts","ng://@taiga-ui/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {TuiValueContentContext} from '@taiga-ui/core';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n transform<T>(\n stringify: TuiStringHandler<T>,\n ): TuiStringHandler<TuiValueContentContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiStringifyContentPipe} from './stringify-content.pipe';\n\n@NgModule({\n declarations: [TuiStringifyContentPipe],\n exports: [TuiStringifyContentPipe],\n})\nexport class TuiStringifyContentPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAOa,uBAAuB,GAApC,MAAa,uBAAuB;IAChC,SAAS,CACL,SAA8B;QAE9B,OAAO,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS,CAAC,SAAS,CAAC,CAAC;KAChD;EACJ;AANY,uBAAuB;IAHnC,IAAI,CAAC;QACF,IAAI,EAAE,qBAAqB;KAC9B,CAAC;GACW,uBAAuB,CAMnC;;ICLY,6BAA6B,GAA1C,MAAa,6BAA6B;EAAG;AAAhC,6BAA6B;IAJzC,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;QACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;KACrC,CAAC;GACW,6BAA6B,CAAG;;ACR7C;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify.js","sources":["ng://@taiga-ui/kit/pipes/stringify/stringify.pipe.ts","ng://@taiga-ui/kit/pipes/stringify/stringify.module.ts","ng://@taiga-ui/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\n\n@Pipe({\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<K, unknown> & Record<any, any>>> {\n return value => String(value[key] ?? '');\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiStringifyPipe} from './stringify.pipe';\n\n@NgModule({\n declarations: [TuiStringifyPipe],\n exports: [TuiStringifyPipe],\n})\nexport class TuiStringifyPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAMa,gBAAgB,GAA7B,MAAa,gBAAgB;IAClB,SAAS,CACZ,GAAM;QAEN,OAAO,KAAK,cAAI,OAAA,MAAM,OAAC,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC,CAAA,EAAA,CAAC;KAC5C;EACJ;AANY,gBAAgB;IAH5B,IAAI,CAAC;QACF,IAAI,EAAE,cAAc;KACvB,CAAC;GACW,gBAAgB,CAM5B;;ICLY,sBAAsB,GAAnC,MAAa,sBAAsB;EAAG;AAAzB,sBAAsB;IAJlC,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;QAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;GACW,sBAAsB,CAAG;;ACPtC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify.js","sources":["ng://@taiga-ui/kit/pipes/stringify/stringify.pipe.ts","ng://@taiga-ui/kit/pipes/stringify/stringify.module.ts","ng://@taiga-ui/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\n\n@Pipe({\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<K, unknown> & Record<any, any>>> {\n return value => String(value[key] ?? '');\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiStringifyPipe} from './stringify.pipe';\n\n@NgModule({\n declarations: [TuiStringifyPipe],\n exports: [TuiStringifyPipe],\n})\nexport class TuiStringifyPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAMa,gBAAgB,GAA7B,MAAa,gBAAgB;IAClB,SAAS,CACZ,GAAM;QAEN,OAAO,KAAK,cAAI,OAAA,MAAM,OAAC,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC,CAAA,EAAA,CAAC;KAC5C;EACJ;AANY,gBAAgB;IAH5B,IAAI,CAAC;QACF,IAAI,EAAE,cAAc;KACvB,CAAC;GACW,gBAAgB,CAM5B;;ICJY,sBAAsB,GAAnC,MAAa,sBAAsB;EAAG;AAAzB,sBAAsB;IAJlC,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;QAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;GACW,sBAAsB,CAAG;;ACRtC;;;;;;"}
@@ -3,20 +3,6 @@ import { extractI18n } from '@taiga-ui/i18n';
3
3
 
4
4
  const TUI_CALENDAR_DATA_STREAM = new InjectionToken('Stream that emits calendar data change');
5
5
 
6
- const TUI_MOBILE_AWARE = new InjectionToken('A flag enabling mobile-specific behavior for supporting components', {
7
- factory: () => false,
8
- });
9
-
10
- const TUI_MOBILE_CALENDAR = new InjectionToken('A component for mobile data picker');
11
-
12
- const TUI_TAG_STATUS = new InjectionToken('Status for tags inside InputTag component', {
13
- factory: () => "primary" /* Primary */,
14
- });
15
-
16
- const TUI_VALIDATION_ERRORS = new InjectionToken('Validation errors', {
17
- factory: () => ({}),
18
- });
19
-
20
6
  const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {
21
7
  factory: extractI18n('cancel'),
22
8
  });
@@ -69,6 +55,20 @@ const TUI_COUNTRIES = new InjectionToken('Localized countries names', {
69
55
  factory: extractI18n('countries'),
70
56
  });
71
57
 
58
+ const TUI_MOBILE_AWARE = new InjectionToken('A flag enabling mobile-specific behavior for supporting components', {
59
+ factory: () => false,
60
+ });
61
+
62
+ const TUI_MOBILE_CALENDAR = new InjectionToken('A component for mobile data picker');
63
+
64
+ const TUI_TAG_STATUS = new InjectionToken('Status for tags inside InputTag component', {
65
+ factory: () => "primary" /* Primary */,
66
+ });
67
+
68
+ const TUI_VALIDATION_ERRORS = new InjectionToken('Validation errors', {
69
+ factory: () => ({}),
70
+ });
71
+
72
72
  /**
73
73
  * Generated bundle index. Do not edit.
74
74
  */
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.js","sources":["ng://@taiga-ui/kit/tokens/calendar-data-stream.ts","ng://@taiga-ui/kit/tokens/mobile-aware.ts","ng://@taiga-ui/kit/tokens/mobile-calendar.ts","ng://@taiga-ui/kit/tokens/tag-status.ts","ng://@taiga-ui/kit/tokens/validation-errors.ts","ng://@taiga-ui/kit/tokens/i18n.ts","ng://@taiga-ui/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>('Stream that emits calendar data change');\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_MOBILE_AWARE = new InjectionToken<boolean>(\n 'A flag enabling mobile-specific behavior for supporting components',\n {\n factory: () => false,\n },\n);\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<any>>(\n 'A component for mobile data picker',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/enums';\n\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n 'Status for tags inside InputTag component',\n {\n factory: () => TuiStatus.Primary,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent>\n>('Validation errors', {\n factory: () => ({}),\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {extractI18n, TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: extractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: extractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: extractI18n('more'),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: extractI18n('otherDate'),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: extractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: extractI18n('range'),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: extractI18n('countTexts'),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: extractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n 'date format i18n texts',\n {\n factory: extractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: extractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {\n factory: extractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {\n factory: extractI18n('passwordTexts'),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {\n factory: extractI18n('shortCalendarMonths'),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {\n factory: extractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {\n factory: extractI18n('paginationTexts'),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {\n factory: extractI18n('inputFileTexts'),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken('Localized countries names', {\n factory: extractI18n('countries'),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAIa,wBAAwB,GAAG,IAAI,cAAc,CAExD,wCAAwC;;MCJ7B,gBAAgB,GAAG,IAAI,cAAc,CAC9C,oEAAoE,EACpE;IACI,OAAO,EAAE,MAAM,KAAK;CACvB;;MCJQ,mBAAmB,GAAG,IAAI,cAAc,CACjD,oCAAoC;;MCA3B,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;IACI,OAAO,EAAE;CACZ;;MCJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;IACnB,OAAO,EAAE,OAAO,EAAE,CAA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AE;IACxE,OAAO,EAAE,WAAW,CAAC,eAAe,CAAC;CACxC,EAAE;MAEU,mBAAmB,GAAG,IAAI,cAAc,CAAC,4BAA4B,EAAE;IAChF,OAAO,EAAE,WAAW,CAAC,qBAAqB,CAAC;CAC9C,EAAE;MAEU,cAAc,GAAG,IAAI,cAAc,CAAC,iBAAiB,EAAE;IAChE,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC;CACpC,EAAE;MAEU,oBAAoB,GAAG,IAAI,cAAc,CAAC,uBAAuB,EAAE;IAC5E,OAAO,EAAE,WAAW,CAAC,iBAAiB,CAAC;CAC1C,EAAE;MAEU,oBAAoB,GAAG,IAAI,cAAc,CAAC,2BAA2B,EAAE;IAChF,OAAO,EAAE,WAAW,CAAC,gBAAgB,CAAC;CACzC,EAAE;MAEU,aAAa,GAEtB,IAAI,cAAc,CAAC,2BAA2B,EAAE;IAChD,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC;CACpC;;AClFD;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-tokens.js","sources":["ng://@taiga-ui/kit/tokens/calendar-data-stream.ts","ng://@taiga-ui/kit/tokens/i18n.ts","ng://@taiga-ui/kit/tokens/mobile-aware.ts","ng://@taiga-ui/kit/tokens/mobile-calendar.ts","ng://@taiga-ui/kit/tokens/tag-status.ts","ng://@taiga-ui/kit/tokens/validation-errors.ts","ng://@taiga-ui/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>('Stream that emits calendar data change');\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {extractI18n, TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: extractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: extractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: extractI18n('more'),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: extractI18n('otherDate'),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: extractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: extractI18n('range'),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: extractI18n('countTexts'),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: extractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n 'date format i18n texts',\n {\n factory: extractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: extractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {\n factory: extractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {\n factory: extractI18n('passwordTexts'),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {\n factory: extractI18n('shortCalendarMonths'),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {\n factory: extractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {\n factory: extractI18n('paginationTexts'),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {\n factory: extractI18n('inputFileTexts'),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken('Localized countries names', {\n factory: extractI18n('countries'),\n});\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_MOBILE_AWARE = new InjectionToken<boolean>(\n 'A flag enabling mobile-specific behavior for supporting components',\n {\n factory: () => false,\n },\n);\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<any>>(\n 'A component for mobile data picker',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/enums';\n\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n 'Status for tags inside InputTag component',\n {\n factory: () => TuiStatus.Primary,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent>\n>('Validation errors', {\n factory: () => ({}),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAIa,wBAAwB,GAAG,IAAI,cAAc,CAExD,wCAAwC;;MCD7B,eAAe,GAAG,IAAI,cAAc,CAAC,oBAAoB,EAAE;IACpE,OAAO,EAAE,WAAW,CAAC,QAAQ,CAAC;CACjC,EAAE;MAEU,aAAa,GAAG,IAAI,cAAc,CAAC,kBAAkB,EAAE;IAChE,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC;CAC/B,EAAE;MAEU,aAAa,GAAG,IAAI,cAAc,CAAC,kBAAkB,EAAE;IAChE,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC;CAC/B,EAAE;MAEU,mBAAmB,GAAG,IAAI,cAAc,CAAC,wBAAwB,EAAE;IAC5E,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC;CACpC,EAAE;MAEU,6BAA6B,GAAG,IAAI,cAAc,CAC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AgB,CAAC;CACzC,EAAE;MAEU,aAAa,GAEtB,IAAI,cAAc,CAAC,2BAA2B,EAAE;IAChD,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC;CACpC;;MChFY,gBAAgB,GAAG,IAAI,cAAc,CAC9C,oEAAoE,EACpE;IACI,OAAO,EAAE,MAAM,KAAK;CACvB;;MCJQ,mBAAmB,GAAG,IAAI,cAAc,CACjD,oCAAoC;;MCA3B,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;IACI,OAAO,EAAE;CACZ;;MCJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;IACnB,OAAO,EAAE,OAAO,EAAE,CAAC;CACtB;;ACPD;;;;;;"}
@@ -10,10 +10,8 @@ function stringHashToHsl(value) {
10
10
  }
11
11
  let hash = 0;
12
12
  for (let i = 0; i < value.length; i++) {
13
- /* tslint:disable: no-bitwise */
14
13
  hash = value.charCodeAt(i) + ((hash << 5) - hash);
15
14
  hash = hash & hash;
16
- /* tslint:enable: no-bitwise */
17
15
  }
18
16
  const hue = hash % 360;
19
17
  const saturation = 60 + (hash % 5);
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-format.js","sources":["ng://@taiga-ui/kit/utils/format/string-hash-to-hsl.ts","ng://@taiga-ui/kit/utils/format/taiga-ui-kit-utils-format.ts"],"sourcesContent":["/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\n// @bad TODO: convert stringHashToHsl to stringHashToRgb\nexport function stringHashToHsl(value: string): string {\n if (value === '') {\n return '';\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n /* tslint:disable: no-bitwise */\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash = hash & hash;\n /* tslint:enable: no-bitwise */\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;;AAKA;SACgB,eAAe,CAAC,KAAa;IACzC,IAAI,KAAK,KAAK,EAAE,EAAE;QACd,OAAO,EAAE,CAAC;KACb;IAED,IAAI,IAAI,GAAG,CAAC,CAAC;IAEb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;;QAEnC,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC;QAClD,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;;KAEtB;IAED,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;IACvB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IACnC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IAElC,OAAO,OAAO,GAAG,IAAI,UAAU,KAAK,SAAS,IAAI,CAAC;AACtD;;ACzBA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-format.js","sources":["ng://@taiga-ui/kit/utils/format/string-hash-to-hsl.ts","ng://@taiga-ui/kit/utils/format/taiga-ui-kit-utils-format.ts"],"sourcesContent":["/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\n// @bad TODO: convert stringHashToHsl to stringHashToRgb\nexport function stringHashToHsl(value: string): string {\n if (value === '') {\n return '';\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash = hash & hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;;AAKA;SACgB,eAAe,CAAC,KAAa;IACzC,IAAI,KAAK,KAAK,EAAE,EAAE;QACd,OAAO,EAAE,CAAC;KACb;IAED,IAAI,IAAI,GAAG,CAAC,CAAC;IAEb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACnC,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC;QAClD,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;KACtB;IAED,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;IACvB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IACnC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IAElC,OAAO,OAAO,GAAG,IAAI,UAAU,KAAK,SAAS,IAAI,CAAC;AACtD;;ACvBA;;;;;;"}
@@ -28,6 +28,7 @@ var AbstractTuiInputSlider = /** @class */ (function (_super) {
28
28
  _this.quantum = 1;
29
29
  _this.keySteps = null;
30
30
  _this.size = 'l';
31
+ _this.pluralizeMap = null;
31
32
  _this.mask = function (quantum, min) { return ({
32
33
  mask: tuiCreateNumberMask({
33
34
  allowNegative: min < 0,
@@ -38,7 +39,6 @@ var AbstractTuiInputSlider = /** @class */ (function (_super) {
38
39
  pipe: tuiCreateAutoCorrectedNumberPipe(0, _this.numberFormat.decimalSeparator, _this.numberFormat.thousandSeparator),
39
40
  guide: false,
40
41
  }); };
41
- _this.pluralizeMap = null;
42
42
  return _this;
43
43
  }
44
44
  Object.defineProperty(AbstractTuiInputSlider.prototype, "pluralize", {
@@ -188,6 +188,8 @@ var AbstractTuiSlider = /** @class */ (function (_super) {
188
188
  var _this = _super.call(this, ngControl, changeDetectorRef) || this;
189
189
  _this.documentRef = documentRef;
190
190
  _this.fromToTexts$ = fromToTexts$;
191
+ // @bad TODO: handle pointer events instead of mouse and touch events
192
+ _this.pointerDown$ = new Subject();
191
193
  _this.min = 0;
192
194
  _this.max = Infinity;
193
195
  _this.segments = 0;
@@ -198,8 +200,6 @@ var AbstractTuiSlider = /** @class */ (function (_super) {
198
200
  _this.focusVisibleLeft = false;
199
201
  _this.focusVisibleRight = false;
200
202
  _this.pluralizeMap = null;
201
- // @bad TODO: handle pointer events instead of mouse and touch events
202
- _this.pointerDown$ = new Subject();
203
203
  return _this;
204
204
  }
205
205
  Object.defineProperty(AbstractTuiSlider.prototype, "pluralize", {
@@ -416,6 +416,12 @@ var AbstractTuiSlider = /** @class */ (function (_super) {
416
416
  { type: Document },
417
417
  { type: Observable, decorators: [{ type: Inject, args: [TUI_FROM_TO_TEXTS,] }] }
418
418
  ]; };
419
+ __decorate([
420
+ ViewChild('dotLeft')
421
+ ], AbstractTuiSlider.prototype, "dotLeft", void 0);
422
+ __decorate([
423
+ ViewChild('dotRight')
424
+ ], AbstractTuiSlider.prototype, "dotRight", void 0);
419
425
  __decorate([
420
426
  Input(),
421
427
  tuiDefaultProp()
@@ -449,12 +455,6 @@ var AbstractTuiSlider = /** @class */ (function (_super) {
449
455
  Input(),
450
456
  tuiDefaultProp()
451
457
  ], AbstractTuiSlider.prototype, "keySteps", void 0);
452
- __decorate([
453
- ViewChild('dotLeft')
454
- ], AbstractTuiSlider.prototype, "dotLeft", void 0);
455
- __decorate([
456
- ViewChild('dotRight')
457
- ], AbstractTuiSlider.prototype, "dotRight", void 0);
458
458
  __decorate([
459
459
  HostBinding('class._segmented')
460
460
  ], AbstractTuiSlider.prototype, "segmented", null);
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-abstract.js","sources":["ng://@taiga-ui/kit/abstract/input-slider.ts","ng://@taiga-ui/kit/abstract/slider/slider.ts","ng://@taiga-ui/kit/abstract/taiga-ui-kit-abstract.ts"],"sourcesContent":["import {Directive, HostBinding, Input} from '@angular/core';\nimport {\n AbstractTuiControl,\n clamp,\n round,\n tuiDefaultProp,\n TuiInputModeT,\n TuiMapper,\n} from '@taiga-ui/cdk';\nimport {\n maskedNumberStringToNumber,\n NumberFormatSettings,\n TuiBrightness,\n tuiCreateAutoCorrectedNumberPipe,\n tuiCreateNumberMask,\n TuiModeDirective,\n TuiPluralize,\n tuiPluralizeToICU,\n TuiSizeL,\n TuiTextMaskOptions,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\n\nexport function quantumAssertion(quantum: number): boolean {\n return quantum > 0;\n}\n\n/**\n * @internal\n */\n@Directive()\nexport abstract class AbstractTuiInputSlider<T>\n extends AbstractTuiControl<T>\n implements TuiWithOptionalMinMax<number>\n{\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp()\n minLabel = '';\n\n @Input()\n @tuiDefaultProp()\n maxLabel = '';\n\n // TODO: remove setter in v3.0:\n @Input()\n @tuiDefaultProp()\n set pluralize(pluralize: TuiPluralize | Record<string, string> | null) {\n this.pluralizeMap = Array.isArray(pluralize)\n ? tuiPluralizeToICU(pluralize)\n : pluralize;\n }\n\n @Input()\n @tuiDefaultProp()\n segmentsPluralize: TuiPluralize | null = null;\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n @Input()\n @tuiDefaultProp(quantumAssertion, 'Quantum must be positive')\n quantum = 1;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @Input()\n @HostBinding('attr.data-tui-host-size')\n size: TuiSizeL = 'l';\n\n mask: TuiMapper<number, TuiTextMaskOptions> = (quantum: number, min: number) => ({\n mask: tuiCreateNumberMask({\n allowNegative: min < 0,\n allowDecimal: !Number.isInteger(quantum),\n decimalSymbol: this.numberFormat.decimalSeparator,\n thousandSymbol: this.numberFormat.thousandSeparator,\n }),\n pipe: tuiCreateAutoCorrectedNumberPipe(\n 0,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n ),\n guide: false,\n });\n\n pluralizeMap: Record<string, string> | null = null;\n\n protected abstract readonly modeDirective: TuiModeDirective | null;\n\n protected abstract readonly numberFormat: NumberFormatSettings;\n\n @HostBinding('class._segmented')\n get segmented(): boolean {\n return this.segments > 0;\n }\n\n get hasPlaceholder(): boolean {\n return this.size === 'l';\n }\n\n get inputMode(): TuiInputModeT {\n return Number.isInteger(this.quantum) ? 'numeric' : 'decimal';\n }\n\n get length(): number {\n return this.max - this.min;\n }\n\n get computedSteps(): number {\n return this.steps || this.length / this.quantum;\n }\n\n get step(): number {\n return this.length / this.computedSteps;\n }\n\n @HostBinding('attr.data-mode')\n get hostMode(): TuiBrightness | null {\n return this.modeDirective && this.modeDirective.mode;\n }\n\n abstract get showMinLabel(): boolean;\n\n abstract get showMaxLabel(): boolean;\n\n onHovered(hovered: boolean) {\n this.updateHovered(hovered);\n }\n\n protected valueGuard(value: number): number {\n return this.quantum\n ? clamp(\n round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n ),\n this.min,\n this.max,\n )\n : clamp(value, this.min, this.max);\n }\n\n protected capInputValue(value: string, max: number = this.max): number | null {\n const capped = Math.min(\n maskedNumberStringToNumber(\n value,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n ),\n max,\n );\n\n if (this.min < 0 && capped < this.min) {\n return this.min;\n }\n\n return isNaN(capped) || capped < this.min ? null : capped;\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n clamp,\n nonNegativeFiniteAssertion,\n quantize,\n round,\n setNativeFocused,\n tuiDefaultProp,\n TuiEventWith,\n TuiNativeFocusableElement,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {\n TuiPluralize,\n tuiPluralizeToICU,\n TuiSizeS,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {Observable, race, Subject} from 'rxjs';\nimport {map, switchMap, takeUntil} from 'rxjs/operators';\n\nexport const SLIDER_KEYBOARD_STEP = 0.05;\nexport const DOT_WIDTH: {[key: string]: number} = {\n s: 8,\n m: 16,\n};\n\n/**\n * @awful TODO: refactor\n * @internal\n * @dynamic\n */\n@Directive()\nexport abstract class AbstractTuiSlider<T>\n extends AbstractTuiControl<T>\n implements TuiWithOptionalMinMax<number>\n{\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n @Input()\n @tuiDefaultProp(nonNegativeFiniteAssertion, 'Quantum must be a non-negative number')\n quantum = 0;\n\n // TODO: remove setter in v3.0:\n @Input()\n @tuiDefaultProp()\n set pluralize(pluralize: TuiPluralize | Record<string, string> | null) {\n this.pluralizeMap = Array.isArray(pluralize)\n ? tuiPluralizeToICU(pluralize)\n : pluralize;\n }\n\n @Input()\n @HostBinding('attr.data-tui-host-size')\n @tuiDefaultProp()\n size: TuiSizeS = 'm';\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n focusVisibleLeft = false;\n\n focusVisibleRight = false;\n\n pluralizeMap: Record<string, string> | null = null;\n\n @ViewChild('dotLeft')\n protected dotLeft?: ElementRef<TuiNativeFocusableElement>;\n\n @ViewChild('dotRight')\n protected dotRight?: ElementRef<TuiNativeFocusableElement>;\n\n // @bad TODO: handle pointer events instead of mouse and touch events\n private pointerDown$ = new Subject<\n TuiEventWith<MouseEvent | TouchEvent, HTMLElement>\n >();\n\n protected constructor(\n ngControl: NgControl | null,\n changeDetectorRef: ChangeDetectorRef,\n private readonly documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS)\n readonly fromToTexts$: Observable<[string, string]>,\n ) {\n super(ngControl, changeDetectorRef);\n }\n\n @HostBinding('class._segmented')\n get segmented(): boolean {\n return this.segments > 0;\n }\n\n get discrete(): boolean {\n return this.steps > 0;\n }\n\n get length(): number {\n return this.max - this.min;\n }\n\n get computedStep(): number {\n if (this.steps) {\n return 1 / this.steps;\n }\n\n return this.quantum ? this.quantum / this.length : SLIDER_KEYBOARD_STEP;\n }\n\n get isLeftFocusable(): boolean {\n return !this.disabled && this.focusable && this.right !== 100;\n }\n\n get isRightFocusable(): boolean {\n return !this.disabled && this.focusable && this.left !== 100;\n }\n\n abstract get left(): number;\n\n abstract get right(): number;\n\n ngOnInit() {\n super.ngOnInit();\n\n const mouseMoves$ = typedFromEvent(this.documentRef, 'mousemove');\n const mouseUps$ = typedFromEvent(this.documentRef, 'mouseup');\n const touchMoves$ = typedFromEvent(this.documentRef, 'touchmove');\n const touchEnds$ = typedFromEvent(this.documentRef, 'touchend');\n let isPointerDownRight: boolean;\n\n this.pointerDown$\n .pipe(\n map((event: MouseEvent | TouchEvent) => {\n const rect = (\n event.currentTarget as HTMLElement\n ).getBoundingClientRect();\n const clientX =\n event instanceof MouseEvent\n ? event.clientX\n : event.touches[0].clientX;\n const fraction = clamp(\n this.getFractionFromEvents(rect, clientX),\n 0,\n 1,\n );\n const deltaLeft = fraction * 100 - this.left;\n const deltaRight = fraction * 100 - 100 + this.right;\n\n isPointerDownRight =\n Math.abs(deltaLeft) > Math.abs(deltaRight) ||\n deltaRight > 0 ||\n (this.left === 0 && this.right === 100);\n\n const calibratedFraction = clamp(\n this.getCalibratedFractionFromEvents(\n rect,\n clientX,\n isPointerDownRight,\n ),\n 0,\n 1,\n );\n const value = this.getValueFromFraction(\n this.fractionGuard(calibratedFraction),\n );\n\n this.processValue(value, isPointerDownRight);\n this.processFocus(isPointerDownRight);\n\n return rect;\n }),\n switchMap(rect =>\n race([touchMoves$, mouseMoves$]).pipe(\n map((event: any) =>\n this.getCalibratedFractionFromEvents(\n rect,\n event instanceof MouseEvent\n ? event.clientX\n : event.touches[0].clientX,\n isPointerDownRight,\n ),\n ),\n takeUntil(race([mouseUps$, touchEnds$])),\n ),\n ),\n map(fraction => this.fractionGuard(fraction)),\n )\n .subscribe(fraction => {\n this.processValue(\n this.getValueFromFraction(fraction),\n isPointerDownRight,\n );\n });\n }\n\n ngOnDestroy() {\n super.ngOnDestroy();\n this.pointerDown$.complete();\n }\n\n onMouseDown(event: TuiEventWith<MouseEvent, HTMLElement>) {\n if (this.disabled) {\n return;\n }\n\n event.preventDefault();\n this.pointerDown$.next(event);\n }\n\n onTouchStart(event: TuiEventWith<TouchEvent, HTMLElement>) {\n if (this.disabled) {\n return;\n }\n\n event.preventDefault();\n this.pointerDown$.next(event);\n }\n\n decrement(right: boolean) {\n this.processStep(false, right);\n }\n\n increment(right: boolean) {\n this.processStep(true, right);\n }\n\n getSegmentLabel(segment: number): number {\n return round(this.getValueFromFraction(segment / this.segments), 2);\n }\n\n getSegmentPrefix(segment: number, texts: [string, string]): string {\n if (this.segments !== 1) {\n return '';\n }\n\n if (segment === 0) {\n return `${texts[0]} `;\n }\n\n return `${texts[1]} `;\n }\n\n onActiveZone(active: boolean) {\n this.updateFocused(active);\n }\n\n onLeftFocusVisible(focusVisible: boolean) {\n this.focusVisibleLeft = focusVisible;\n }\n\n onRightFocusVisible(focusVisible: boolean) {\n this.focusVisibleRight = focusVisible;\n }\n\n protected abstract processValue(value: number, right?: boolean): void;\n\n protected abstract processStep(increment: boolean, right?: boolean): void;\n\n protected getFractionFromValue(value: number): number {\n const fraction = (value - this.min) / this.length;\n\n return this.keySteps !== null\n ? this.fractionValueKeyStepConverter(value, false)\n : clamp(Number.isFinite(fraction) ? fraction : 1, 0, 1);\n }\n\n protected getValueFromFraction(fraction: number): number {\n return this.keySteps !== null\n ? this.fractionValueKeyStepConverter(fraction, true)\n : round(\n this.fractionGuard(fraction) * this.length + this.min,\n TUI_FLOATING_PRECISION,\n );\n }\n\n protected getCalibratedFractionFromEvents(\n rect: ClientRect,\n clientX: number,\n _: boolean,\n ): number {\n return this.getFractionFromEvents(rect, clientX);\n }\n\n protected valueGuard(value: number): number {\n return this.quantum\n ? clamp(\n round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n ),\n this.min,\n this.max,\n )\n : clamp(value, this.min, this.max);\n }\n\n private processFocus(right: boolean) {\n if (!this.focusable || !this.dotRight || !this.dotLeft) {\n return;\n }\n\n if (right) {\n setNativeFocused(this.dotRight.nativeElement);\n } else {\n setNativeFocused(this.dotLeft.nativeElement);\n }\n }\n\n /**\n * Function for converting the fullness of the slider to a value and vice versa\n * taking into account the steps of linear dependence.\n *\n * @param value passed value\n * @param isFraction translation is carried out from fullness to value\n */\n private fractionValueKeyStepConverter(value: number, isFraction: boolean): number {\n const steps = [[0, this.min]].concat(this.keySteps as TuiKeySteps, [\n [100, this.max],\n ]);\n\n let prevFraction = 0;\n let nextFraction = 100;\n let prevValue = this.min;\n let nextValue = this.max;\n\n for (let i = 1; i < steps.length; i++) {\n if (\n (isFraction && steps[i][0] / 100 > value) ||\n (!isFraction && steps[i][1] > value)\n ) {\n prevFraction = steps[i - 1][0] || 0;\n nextFraction = steps[i][0];\n prevValue = steps[i - 1][1];\n nextValue = steps[i][1];\n break;\n }\n }\n\n const deltaFraction = nextFraction - prevFraction;\n const deltaValue = nextValue - prevValue;\n\n return isFraction\n ? round(\n ((value * 100 - prevFraction) / deltaFraction) * deltaValue + prevValue,\n TUI_FLOATING_PRECISION,\n )\n : clamp(\n ((value - prevValue) / deltaValue) * deltaFraction + prevFraction,\n 0,\n 100,\n ) / 100;\n }\n\n private fractionGuard(fraction: number): number {\n return this.discrete\n ? clamp(quantize(fraction, 1 / this.steps), 0, 1)\n : clamp(fraction, 0, 1);\n }\n\n private getFractionFromEvents(rect: ClientRect, clientX: number): number {\n const value = clientX - rect.left - DOT_WIDTH[this.size] / 2;\n const total = rect.width - DOT_WIDTH[this.size];\n\n return round(value / total, TUI_FLOATING_PRECISION);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;SAyBgB,gBAAgB,CAAC,OAAe;IAC5C,OAAO,OAAO,GAAG,CAAC,CAAC;AACvB,CAAC;AAED;;;;IAKY,0CAAqB;IADjC;QAAA,qEA6IC;QAvIG,SAAG,GAAG,CAAC,CAAC;QAIR,SAAG,GAAG,QAAQ,CAAC;QAIf,cAAQ,GAAG,EAAE,CAAC;QAId,cAAQ,GAAG,EAAE,CAAC;QAad,uBAAiB,GAAwB,IAAI,CAAC;QAI9C,cAAQ,GAAG,CAAC,CAAC;QAIb,WAAK,GAAG,CAAC,CAAC;QAIV,aAAO,GAAG,CAAC,CAAC;QAIZ,cAAQ,GAAuB,IAAI,CAAC;QAIpC,UAAI,GAAa,GAAG,CAAC;QAErB,UAAI,GAA0C,UAAC,OAAe,EAAE,GAAW,IAAK,QAAC;YAC7E,IAAI,EAAE,mBAAmB,CAAC;gBACtB,aAAa,EAAE,GAAG,GAAG,CAAC;gBACtB,YAAY,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC;gBACxC,aAAa,EAAE,KAAI,CAAC,YAAY,CAAC,gBAAgB;gBACjD,cAAc,EAAE,KAAI,CAAC,YAAY,CAAC,iBAAiB;aACtD,CAAC;YACF,IAAI,EAAE,gCAAgC,CAClC,CAAC,EACD,KAAI,CAAC,YAAY,CAAC,gBAAgB,EAClC,KAAI,CAAC,YAAY,CAAC,iBAAiB,CACtC;YACD,KAAK,EAAE,KAAK;SACf,IAAC,CAAC;QAEH,kBAAY,GAAkC,IAAI,CAAC;;KAyEtD;IAtHG,sBAAI,6CAAS;;aAAb,UAAc,SAAuD;YAC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,GAAG,KAAK,EAAE,sBAAsB,CAAC,CAAC;KACvD;;gBA7Rc,SAAS;gBACD,iBAAiB;gBACN,QAAQ;gBAEf,UAAU,uBADhC,MAAM,SAAC,iBAAiB;;IAzD7B;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;kDACT;IAIR;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;kDACF;IAIf;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;uDACJ;IAIb;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;oDACP;IAIV;QAFC,KAAK,EAAE;QACP,cAAc,CAAC,0BAA0B,EAAE,uCAAuC,CAAC;sDACxE;IAKZ;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;sDAKhB;IAKD;QAHC,KAAK,EAAE;QACP,WAAW,CAAC,yBAAyB,CAAC;QACtC,cAAc,EAAE;mDACI;IAIrB;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;uDACmB;IASpC;QADC,SAAS,CAAC,SAAS,CAAC;sDACqC;IAG1D;QADC,SAAS,CAAC,UAAU,CAAC;uDACqC;IAkB3D;QADC,WAAW,CAAC,kBAAkB,CAAC;sDAG/B;IAxEiB,iBAAiB;QADtC,SAAS,EAAE;QAgEH,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;OA/DZ,iBAAiB,CA0VtC;IAAD,wBAAC;CAAA,CAzVW,kBAAkB;;AC/C9B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-abstract.js","sources":["ng://@taiga-ui/kit/abstract/input-slider.ts","ng://@taiga-ui/kit/abstract/slider/slider.ts","ng://@taiga-ui/kit/abstract/taiga-ui-kit-abstract.ts"],"sourcesContent":["import {Directive, HostBinding, Input} from '@angular/core';\nimport {\n AbstractTuiControl,\n clamp,\n round,\n tuiDefaultProp,\n TuiInputModeT,\n TuiMapper,\n} from '@taiga-ui/cdk';\nimport {\n maskedNumberStringToNumber,\n NumberFormatSettings,\n TuiBrightness,\n tuiCreateAutoCorrectedNumberPipe,\n tuiCreateNumberMask,\n TuiModeDirective,\n TuiPluralize,\n tuiPluralizeToICU,\n TuiSizeL,\n TuiTextMaskOptions,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\n\nexport function quantumAssertion(quantum: number): boolean {\n return quantum > 0;\n}\n\n/**\n * @internal\n */\n@Directive()\nexport abstract class AbstractTuiInputSlider<T>\n extends AbstractTuiControl<T>\n implements TuiWithOptionalMinMax<number>\n{\n protected abstract readonly modeDirective: TuiModeDirective | null;\n protected abstract readonly numberFormat: NumberFormatSettings;\n\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp()\n minLabel = '';\n\n @Input()\n @tuiDefaultProp()\n maxLabel = '';\n\n // TODO: remove setter in v3.0:\n @Input()\n @tuiDefaultProp()\n set pluralize(pluralize: TuiPluralize | Record<string, string> | null) {\n this.pluralizeMap = Array.isArray(pluralize)\n ? tuiPluralizeToICU(pluralize)\n : pluralize;\n }\n\n @Input()\n @tuiDefaultProp()\n segmentsPluralize: TuiPluralize | null = null;\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n @Input()\n @tuiDefaultProp(quantumAssertion, 'Quantum must be positive')\n quantum = 1;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @Input()\n @HostBinding('attr.data-tui-host-size')\n size: TuiSizeL = 'l';\n\n pluralizeMap: Record<string, string> | null = null;\n\n abstract get showMinLabel(): boolean;\n abstract get showMaxLabel(): boolean;\n\n mask: TuiMapper<number, TuiTextMaskOptions> = (quantum: number, min: number) => ({\n mask: tuiCreateNumberMask({\n allowNegative: min < 0,\n allowDecimal: !Number.isInteger(quantum),\n decimalSymbol: this.numberFormat.decimalSeparator,\n thousandSymbol: this.numberFormat.thousandSeparator,\n }),\n pipe: tuiCreateAutoCorrectedNumberPipe(\n 0,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n ),\n guide: false,\n });\n\n @HostBinding('class._segmented')\n get segmented(): boolean {\n return this.segments > 0;\n }\n\n get hasPlaceholder(): boolean {\n return this.size === 'l';\n }\n\n get inputMode(): TuiInputModeT {\n return Number.isInteger(this.quantum) ? 'numeric' : 'decimal';\n }\n\n get length(): number {\n return this.max - this.min;\n }\n\n get computedSteps(): number {\n return this.steps || this.length / this.quantum;\n }\n\n get step(): number {\n return this.length / this.computedSteps;\n }\n\n @HostBinding('attr.data-mode')\n get hostMode(): TuiBrightness | null {\n return this.modeDirective && this.modeDirective.mode;\n }\n\n onHovered(hovered: boolean) {\n this.updateHovered(hovered);\n }\n\n protected valueGuard(value: number): number {\n return this.quantum\n ? clamp(\n round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n ),\n this.min,\n this.max,\n )\n : clamp(value, this.min, this.max);\n }\n\n protected capInputValue(value: string, max: number = this.max): number | null {\n const capped = Math.min(\n maskedNumberStringToNumber(\n value,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n ),\n max,\n );\n\n if (this.min < 0 && capped < this.min) {\n return this.min;\n }\n\n return isNaN(capped) || capped < this.min ? null : capped;\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n clamp,\n nonNegativeFiniteAssertion,\n quantize,\n round,\n setNativeFocused,\n tuiDefaultProp,\n TuiEventWith,\n TuiNativeFocusableElement,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {\n TuiPluralize,\n tuiPluralizeToICU,\n TuiSizeS,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {Observable, race, Subject} from 'rxjs';\nimport {map, switchMap, takeUntil} from 'rxjs/operators';\n\nexport const SLIDER_KEYBOARD_STEP = 0.05;\nexport const DOT_WIDTH: {[key: string]: number} = {\n s: 8,\n m: 16,\n};\n\n/**\n * @awful TODO: refactor\n * @internal\n * @dynamic\n */\n@Directive()\nexport abstract class AbstractTuiSlider<T>\n extends AbstractTuiControl<T>\n implements TuiWithOptionalMinMax<number>\n{\n // @bad TODO: handle pointer events instead of mouse and touch events\n private pointerDown$ = new Subject<\n TuiEventWith<MouseEvent | TouchEvent, HTMLElement>\n >();\n\n @ViewChild('dotLeft')\n protected dotLeft?: ElementRef<TuiNativeFocusableElement>;\n\n @ViewChild('dotRight')\n protected dotRight?: ElementRef<TuiNativeFocusableElement>;\n\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n @Input()\n @tuiDefaultProp(nonNegativeFiniteAssertion, 'Quantum must be a non-negative number')\n quantum = 0;\n\n // TODO: remove setter in v3.0:\n @Input()\n @tuiDefaultProp()\n set pluralize(pluralize: TuiPluralize | Record<string, string> | null) {\n this.pluralizeMap = Array.isArray(pluralize)\n ? tuiPluralizeToICU(pluralize)\n : pluralize;\n }\n\n @Input()\n @HostBinding('attr.data-tui-host-size')\n @tuiDefaultProp()\n size: TuiSizeS = 'm';\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n focusVisibleLeft = false;\n\n focusVisibleRight = false;\n\n pluralizeMap: Record<string, string> | null = null;\n\n protected constructor(\n ngControl: NgControl | null,\n changeDetectorRef: ChangeDetectorRef,\n private readonly documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS)\n readonly fromToTexts$: Observable<[string, string]>,\n ) {\n super(ngControl, changeDetectorRef);\n }\n\n @HostBinding('class._segmented')\n get segmented(): boolean {\n return this.segments > 0;\n }\n\n get discrete(): boolean {\n return this.steps > 0;\n }\n\n get length(): number {\n return this.max - this.min;\n }\n\n get computedStep(): number {\n if (this.steps) {\n return 1 / this.steps;\n }\n\n return this.quantum ? this.quantum / this.length : SLIDER_KEYBOARD_STEP;\n }\n\n get isLeftFocusable(): boolean {\n return !this.disabled && this.focusable && this.right !== 100;\n }\n\n get isRightFocusable(): boolean {\n return !this.disabled && this.focusable && this.left !== 100;\n }\n\n abstract get left(): number;\n abstract get right(): number;\n protected abstract processValue(value: number, right?: boolean): void;\n protected abstract processStep(increment: boolean, right?: boolean): void;\n\n ngOnInit() {\n super.ngOnInit();\n\n const mouseMoves$ = typedFromEvent(this.documentRef, 'mousemove');\n const mouseUps$ = typedFromEvent(this.documentRef, 'mouseup');\n const touchMoves$ = typedFromEvent(this.documentRef, 'touchmove');\n const touchEnds$ = typedFromEvent(this.documentRef, 'touchend');\n let isPointerDownRight: boolean;\n\n this.pointerDown$\n .pipe(\n map((event: MouseEvent | TouchEvent) => {\n const rect = (\n event.currentTarget as HTMLElement\n ).getBoundingClientRect();\n const clientX =\n event instanceof MouseEvent\n ? event.clientX\n : event.touches[0].clientX;\n const fraction = clamp(\n this.getFractionFromEvents(rect, clientX),\n 0,\n 1,\n );\n const deltaLeft = fraction * 100 - this.left;\n const deltaRight = fraction * 100 - 100 + this.right;\n\n isPointerDownRight =\n Math.abs(deltaLeft) > Math.abs(deltaRight) ||\n deltaRight > 0 ||\n (this.left === 0 && this.right === 100);\n\n const calibratedFraction = clamp(\n this.getCalibratedFractionFromEvents(\n rect,\n clientX,\n isPointerDownRight,\n ),\n 0,\n 1,\n );\n const value = this.getValueFromFraction(\n this.fractionGuard(calibratedFraction),\n );\n\n this.processValue(value, isPointerDownRight);\n this.processFocus(isPointerDownRight);\n\n return rect;\n }),\n switchMap(rect =>\n race([touchMoves$, mouseMoves$]).pipe(\n map((event: any) =>\n this.getCalibratedFractionFromEvents(\n rect,\n event instanceof MouseEvent\n ? event.clientX\n : event.touches[0].clientX,\n isPointerDownRight,\n ),\n ),\n takeUntil(race([mouseUps$, touchEnds$])),\n ),\n ),\n map(fraction => this.fractionGuard(fraction)),\n )\n .subscribe(fraction => {\n this.processValue(\n this.getValueFromFraction(fraction),\n isPointerDownRight,\n );\n });\n }\n\n ngOnDestroy() {\n super.ngOnDestroy();\n this.pointerDown$.complete();\n }\n\n onMouseDown(event: TuiEventWith<MouseEvent, HTMLElement>) {\n if (this.disabled) {\n return;\n }\n\n event.preventDefault();\n this.pointerDown$.next(event);\n }\n\n onTouchStart(event: TuiEventWith<TouchEvent, HTMLElement>) {\n if (this.disabled) {\n return;\n }\n\n event.preventDefault();\n this.pointerDown$.next(event);\n }\n\n decrement(right: boolean) {\n this.processStep(false, right);\n }\n\n increment(right: boolean) {\n this.processStep(true, right);\n }\n\n getSegmentLabel(segment: number): number {\n return round(this.getValueFromFraction(segment / this.segments), 2);\n }\n\n getSegmentPrefix(segment: number, texts: [string, string]): string {\n if (this.segments !== 1) {\n return '';\n }\n\n if (segment === 0) {\n return `${texts[0]} `;\n }\n\n return `${texts[1]} `;\n }\n\n onActiveZone(active: boolean) {\n this.updateFocused(active);\n }\n\n onLeftFocusVisible(focusVisible: boolean) {\n this.focusVisibleLeft = focusVisible;\n }\n\n onRightFocusVisible(focusVisible: boolean) {\n this.focusVisibleRight = focusVisible;\n }\n\n protected getFractionFromValue(value: number): number {\n const fraction = (value - this.min) / this.length;\n\n return this.keySteps !== null\n ? this.fractionValueKeyStepConverter(value, false)\n : clamp(Number.isFinite(fraction) ? fraction : 1, 0, 1);\n }\n\n protected getValueFromFraction(fraction: number): number {\n return this.keySteps !== null\n ? this.fractionValueKeyStepConverter(fraction, true)\n : round(\n this.fractionGuard(fraction) * this.length + this.min,\n TUI_FLOATING_PRECISION,\n );\n }\n\n protected getCalibratedFractionFromEvents(\n rect: ClientRect,\n clientX: number,\n _: boolean,\n ): number {\n return this.getFractionFromEvents(rect, clientX);\n }\n\n protected valueGuard(value: number): number {\n return this.quantum\n ? clamp(\n round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n ),\n this.min,\n this.max,\n )\n : clamp(value, this.min, this.max);\n }\n\n private processFocus(right: boolean) {\n if (!this.focusable || !this.dotRight || !this.dotLeft) {\n return;\n }\n\n if (right) {\n setNativeFocused(this.dotRight.nativeElement);\n } else {\n setNativeFocused(this.dotLeft.nativeElement);\n }\n }\n\n /**\n * Function for converting the fullness of the slider to a value and vice versa\n * taking into account the steps of linear dependence.\n *\n * @param value passed value\n * @param isFraction translation is carried out from fullness to value\n */\n private fractionValueKeyStepConverter(value: number, isFraction: boolean): number {\n const steps = [[0, this.min]].concat(this.keySteps as TuiKeySteps, [\n [100, this.max],\n ]);\n\n let prevFraction = 0;\n let nextFraction = 100;\n let prevValue = this.min;\n let nextValue = this.max;\n\n for (let i = 1; i < steps.length; i++) {\n if (\n (isFraction && steps[i][0] / 100 > value) ||\n (!isFraction && steps[i][1] > value)\n ) {\n prevFraction = steps[i - 1][0] || 0;\n nextFraction = steps[i][0];\n prevValue = steps[i - 1][1];\n nextValue = steps[i][1];\n break;\n }\n }\n\n const deltaFraction = nextFraction - prevFraction;\n const deltaValue = nextValue - prevValue;\n\n return isFraction\n ? round(\n ((value * 100 - prevFraction) / deltaFraction) * deltaValue + prevValue,\n TUI_FLOATING_PRECISION,\n )\n : clamp(\n ((value - prevValue) / deltaValue) * deltaFraction + prevFraction,\n 0,\n 100,\n ) / 100;\n }\n\n private fractionGuard(fraction: number): number {\n return this.discrete\n ? clamp(quantize(fraction, 1 / this.steps), 0, 1)\n : clamp(fraction, 0, 1);\n }\n\n private getFractionFromEvents(rect: ClientRect, clientX: number): number {\n const value = clientX - rect.left - DOT_WIDTH[this.size] / 2;\n const total = rect.width - DOT_WIDTH[this.size];\n\n return round(value / total, TUI_FLOATING_PRECISION);\n }\n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