@taiga-ui/kit 2.52.0 → 2.53.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 (407) hide show
  1. package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
  2. package/bundles/taiga-ui-kit-abstract.umd.js +1 -0
  3. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-action.umd.js +1 -1
  6. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  8. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +1 -1
  10. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +1 -1
  12. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-files.umd.js +2 -2
  14. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-files.umd.min.js +1 -1
  16. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-input-file.umd.js +1 -1
  18. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +1 -1
  20. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-input-files.umd.js +1 -1
  22. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +1 -1
  24. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
  26. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  28. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
  30. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  32. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-number.umd.js +8 -2
  34. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  36. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +7 -0
  38. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  40. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-phone.umd.js +1 -0
  42. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-input-range.umd.js +1 -1
  45. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +1 -1
  47. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-input-slider.umd.js +1 -1
  49. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  51. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-input-tag.umd.js +1 -1
  53. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  55. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +1 -1
  57. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +1 -1
  59. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-multi-select.umd.js +1 -0
  61. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-pagination.umd.js +3 -2
  64. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  66. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +1 -1
  68. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +1 -1
  70. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-progress.umd.js +2 -0
  72. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-range.umd.js +1 -1
  75. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  77. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-select-option.umd.js +1 -1
  79. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +1 -1
  81. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-slider.umd.js +1 -1
  83. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  85. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-tabs.umd.js +7 -5
  87. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  89. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-text-area.umd.js +1 -1
  91. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
  93. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-tree.umd.js +2 -1
  95. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-tree.umd.min.js +1 -1
  97. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  98. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +2 -12
  99. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +1 -1
  101. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  102. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +1 -9
  103. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  104. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  105. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-providers.umd.js +6 -0
  107. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  109. package/bundles/taiga-ui-kit-utils-dom.umd.js +14 -0
  110. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-utils-dom.umd.min.js +1 -1
  112. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  113. package/bundles/taiga-ui-kit-utils-files.umd.js +12 -0
  114. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-utils-files.umd.min.js +1 -1
  116. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +1 -1
  117. package/bundles/taiga-ui-kit-utils-format.umd.js +4 -0
  118. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-utils-format.umd.min.js +1 -1
  120. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  121. package/bundles/taiga-ui-kit-utils-mask.umd.js +6 -0
  122. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +1 -1
  124. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  125. package/bundles/taiga-ui-kit-utils-math.umd.js +2 -2
  126. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-utils-math.umd.min.js +1 -1
  128. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  129. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +10 -0
  130. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +1 -1
  132. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  133. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  134. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  135. package/components/files/taiga-ui-kit-components-files.metadata.json +1 -1
  136. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  137. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +1 -1
  138. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  139. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  140. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  141. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  142. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  143. package/components/input-phone-international/utils/extract-value-from-event.d.ts +4 -0
  144. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  145. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  146. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  147. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  148. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  149. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  150. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -1
  151. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  152. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  153. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  154. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  155. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  156. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  157. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  158. package/directives/dropdown-context/dropdown-context.directive.d.ts +0 -1
  159. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  160. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  161. package/esm2015/abstract/input-slider.js +2 -1
  162. package/esm2015/components/action/action.component.js +2 -2
  163. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  164. package/esm2015/components/files/file/file.component.js +2 -2
  165. package/esm2015/components/files/files.component.js +2 -2
  166. package/esm2015/components/input-file/file/file.component.js +2 -2
  167. package/esm2015/components/input-files/input-files.component.js +2 -2
  168. package/esm2015/components/input-month/input-month.component.js +2 -2
  169. package/esm2015/components/input-month-range/input-month-range.component.js +2 -2
  170. package/esm2015/components/input-number/input-number.component.js +9 -3
  171. package/esm2015/components/input-phone/input-phone.providers.js +2 -1
  172. package/esm2015/components/input-phone-international/const/countries.js +2 -1
  173. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +6 -1
  174. package/esm2015/components/input-range/input-range.component.js +2 -2
  175. package/esm2015/components/input-slider/input-slider.component.js +2 -2
  176. package/esm2015/components/input-tag/input-tag.component.js +2 -2
  177. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -1
  178. package/esm2015/components/multi-select-option/multi-select-option.component.js +2 -2
  179. package/esm2015/components/pagination/pagination.component.js +5 -4
  180. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +2 -2
  181. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +3 -1
  182. package/esm2015/components/range/range.component.js +2 -2
  183. package/esm2015/components/select-option/select-option.component.js +2 -2
  184. package/esm2015/components/slider/slider-old.component.js +2 -2
  185. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  186. package/esm2015/components/tabs/tab/tab.providers.js +2 -1
  187. package/esm2015/components/tabs/tabs/tabs.component.js +3 -3
  188. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  189. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -1
  190. package/esm2015/components/text-area/text-area.component.js +2 -2
  191. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +2 -1
  192. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +2 -2
  193. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +4 -14
  194. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +3 -11
  195. package/esm2015/providers/month-formatter.provider.js +5 -1
  196. package/esm2015/providers/specific-dropdown-controllers.js +3 -1
  197. package/esm2015/utils/dom/get-word-range.js +4 -1
  198. package/esm2015/utils/dom/scroll-to-element.js +6 -1
  199. package/esm2015/utils/dom/set-range-offset.js +4 -1
  200. package/esm2015/utils/files/format-size.js +6 -1
  201. package/esm2015/utils/files/get-accept-array.js +6 -1
  202. package/esm2015/utils/format/string-hash-to-hsl.js +4 -1
  203. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +6 -1
  204. package/esm2015/utils/math/horizontal-direction-to-number.js +2 -2
  205. package/esm2015/utils/miscellaneous/get-precision.js +4 -1
  206. package/esm2015/utils/miscellaneous/is-flat.js +6 -1
  207. package/esm5/abstract/input-slider.js +2 -1
  208. package/esm5/components/action/action.component.js +2 -2
  209. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  210. package/esm5/components/files/file/file.component.js +2 -2
  211. package/esm5/components/files/files.component.js +2 -2
  212. package/esm5/components/input-file/file/file.component.js +2 -2
  213. package/esm5/components/input-files/input-files.component.js +2 -2
  214. package/esm5/components/input-month/input-month.component.js +2 -2
  215. package/esm5/components/input-month-range/input-month-range.component.js +2 -2
  216. package/esm5/components/input-number/input-number.component.js +9 -3
  217. package/esm5/components/input-phone/input-phone.providers.js +2 -1
  218. package/esm5/components/input-phone-international/const/countries.js +2 -1
  219. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +6 -1
  220. package/esm5/components/input-range/input-range.component.js +2 -2
  221. package/esm5/components/input-slider/input-slider.component.js +2 -2
  222. package/esm5/components/input-tag/input-tag.component.js +2 -2
  223. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -1
  224. package/esm5/components/multi-select-option/multi-select-option.component.js +2 -2
  225. package/esm5/components/pagination/pagination.component.js +5 -4
  226. package/esm5/components/pdf-viewer/pdf-viewer.component.js +2 -2
  227. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +3 -1
  228. package/esm5/components/range/range.component.js +2 -2
  229. package/esm5/components/select-option/select-option.component.js +2 -2
  230. package/esm5/components/slider/slider-old.component.js +2 -2
  231. package/esm5/components/tabs/tab/tab.component.js +1 -1
  232. package/esm5/components/tabs/tab/tab.providers.js +2 -1
  233. package/esm5/components/tabs/tabs/tabs.component.js +3 -3
  234. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  235. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -1
  236. package/esm5/components/text-area/text-area.component.js +2 -2
  237. package/esm5/components/tree/components/tree-item/tree-item.providers.js +2 -1
  238. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +2 -2
  239. package/esm5/directives/dropdown-context/dropdown-context.directive.js +4 -14
  240. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +3 -11
  241. package/esm5/providers/month-formatter.provider.js +5 -1
  242. package/esm5/providers/specific-dropdown-controllers.js +3 -1
  243. package/esm5/utils/dom/get-word-range.js +4 -1
  244. package/esm5/utils/dom/scroll-to-element.js +6 -1
  245. package/esm5/utils/dom/set-range-offset.js +4 -1
  246. package/esm5/utils/files/format-size.js +6 -1
  247. package/esm5/utils/files/get-accept-array.js +6 -1
  248. package/esm5/utils/format/string-hash-to-hsl.js +4 -1
  249. package/esm5/utils/mask/create-auto-corrected-date-pipe.js +6 -1
  250. package/esm5/utils/math/horizontal-direction-to-number.js +2 -2
  251. package/esm5/utils/miscellaneous/get-precision.js +4 -1
  252. package/esm5/utils/miscellaneous/is-flat.js +6 -1
  253. package/fesm2015/taiga-ui-kit-abstract.js +1 -0
  254. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  255. package/fesm2015/taiga-ui-kit-components-action.js +1 -1
  256. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  257. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +1 -1
  258. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  259. package/fesm2015/taiga-ui-kit-components-files.js +2 -2
  260. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  261. package/fesm2015/taiga-ui-kit-components-input-file.js +1 -1
  262. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  263. package/fesm2015/taiga-ui-kit-components-input-files.js +1 -1
  264. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  265. package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -1
  266. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  267. package/fesm2015/taiga-ui-kit-components-input-month.js +1 -1
  268. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  269. package/fesm2015/taiga-ui-kit-components-input-number.js +8 -2
  270. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  271. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +7 -1
  272. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  273. package/fesm2015/taiga-ui-kit-components-input-phone.js +1 -0
  274. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  275. package/fesm2015/taiga-ui-kit-components-input-range.js +1 -1
  276. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  277. package/fesm2015/taiga-ui-kit-components-input-slider.js +1 -1
  278. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  279. package/fesm2015/taiga-ui-kit-components-input-tag.js +1 -1
  280. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  281. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +1 -1
  282. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  283. package/fesm2015/taiga-ui-kit-components-multi-select.js +1 -0
  284. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  285. package/fesm2015/taiga-ui-kit-components-pagination.js +4 -3
  286. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  287. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +1 -1
  288. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  289. package/fesm2015/taiga-ui-kit-components-progress.js +2 -0
  290. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  291. package/fesm2015/taiga-ui-kit-components-range.js +1 -1
  292. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  293. package/fesm2015/taiga-ui-kit-components-select-option.js +1 -1
  294. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  295. package/fesm2015/taiga-ui-kit-components-slider.js +1 -1
  296. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  297. package/fesm2015/taiga-ui-kit-components-tabs.js +7 -5
  298. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  299. package/fesm2015/taiga-ui-kit-components-text-area.js +1 -1
  300. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  301. package/fesm2015/taiga-ui-kit-components-tree.js +2 -1
  302. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  303. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +3 -13
  304. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  305. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +2 -10
  306. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  307. package/fesm2015/taiga-ui-kit-providers.js +6 -0
  308. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  309. package/fesm2015/taiga-ui-kit-utils-dom.js +12 -1
  310. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  311. package/fesm2015/taiga-ui-kit-utils-files.js +11 -1
  312. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  313. package/fesm2015/taiga-ui-kit-utils-format.js +4 -1
  314. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  315. package/fesm2015/taiga-ui-kit-utils-mask.js +6 -1
  316. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  317. package/fesm2015/taiga-ui-kit-utils-math.js +2 -2
  318. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  319. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +9 -1
  320. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  321. package/fesm5/taiga-ui-kit-abstract.js +1 -0
  322. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  323. package/fesm5/taiga-ui-kit-components-action.js +1 -1
  324. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  325. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +1 -1
  326. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  327. package/fesm5/taiga-ui-kit-components-files.js +2 -2
  328. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  329. package/fesm5/taiga-ui-kit-components-input-file.js +1 -1
  330. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  331. package/fesm5/taiga-ui-kit-components-input-files.js +1 -1
  332. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  333. package/fesm5/taiga-ui-kit-components-input-month-range.js +1 -1
  334. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  335. package/fesm5/taiga-ui-kit-components-input-month.js +1 -1
  336. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  337. package/fesm5/taiga-ui-kit-components-input-number.js +8 -2
  338. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  339. package/fesm5/taiga-ui-kit-components-input-phone-international.js +7 -1
  340. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  341. package/fesm5/taiga-ui-kit-components-input-phone.js +1 -0
  342. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  343. package/fesm5/taiga-ui-kit-components-input-range.js +1 -1
  344. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  345. package/fesm5/taiga-ui-kit-components-input-slider.js +1 -1
  346. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  347. package/fesm5/taiga-ui-kit-components-input-tag.js +1 -1
  348. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  349. package/fesm5/taiga-ui-kit-components-multi-select-option.js +1 -1
  350. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  351. package/fesm5/taiga-ui-kit-components-multi-select.js +1 -0
  352. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  353. package/fesm5/taiga-ui-kit-components-pagination.js +4 -3
  354. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  355. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +1 -1
  356. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  357. package/fesm5/taiga-ui-kit-components-progress.js +2 -0
  358. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  359. package/fesm5/taiga-ui-kit-components-range.js +1 -1
  360. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  361. package/fesm5/taiga-ui-kit-components-select-option.js +1 -1
  362. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  363. package/fesm5/taiga-ui-kit-components-slider.js +1 -1
  364. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  365. package/fesm5/taiga-ui-kit-components-tabs.js +7 -5
  366. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  367. package/fesm5/taiga-ui-kit-components-text-area.js +1 -1
  368. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  369. package/fesm5/taiga-ui-kit-components-tree.js +2 -1
  370. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  371. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +3 -13
  372. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  373. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +2 -10
  374. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  375. package/fesm5/taiga-ui-kit-providers.js +6 -0
  376. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  377. package/fesm5/taiga-ui-kit-utils-dom.js +12 -1
  378. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  379. package/fesm5/taiga-ui-kit-utils-files.js +11 -1
  380. package/fesm5/taiga-ui-kit-utils-files.js.map +1 -1
  381. package/fesm5/taiga-ui-kit-utils-format.js +4 -1
  382. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  383. package/fesm5/taiga-ui-kit-utils-mask.js +6 -1
  384. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  385. package/fesm5/taiga-ui-kit-utils-math.js +2 -2
  386. package/fesm5/taiga-ui-kit-utils-math.js.map +1 -1
  387. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +9 -1
  388. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  389. package/package.json +4 -4
  390. package/providers/month-formatter.provider.d.ts +3 -0
  391. package/providers/taiga-ui-kit-providers.metadata.json +1 -1
  392. package/utils/dom/get-word-range.d.ts +2 -0
  393. package/utils/dom/scroll-to-element.d.ts +4 -0
  394. package/utils/dom/set-range-offset.d.ts +2 -0
  395. package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +1 -1
  396. package/utils/files/format-size.d.ts +4 -0
  397. package/utils/files/get-accept-array.d.ts +4 -0
  398. package/utils/files/taiga-ui-kit-utils-files.metadata.json +1 -1
  399. package/utils/format/string-hash-to-hsl.d.ts +2 -0
  400. package/utils/format/taiga-ui-kit-utils-format.metadata.json +1 -1
  401. package/utils/mask/create-auto-corrected-date-pipe.d.ts +4 -0
  402. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
  403. package/utils/math/horizontal-direction-to-number.d.ts +1 -1
  404. package/utils/math/taiga-ui-kit-utils-math.metadata.json +1 -1
  405. package/utils/miscellaneous/get-precision.d.ts +2 -0
  406. package/utils/miscellaneous/is-flat.d.ts +4 -0
  407. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/slider/slider-options.ts","ng://@taiga-ui/kit/components/slider/slider.component.ts","ng://@taiga-ui/kit/components/slider/slider-key-steps.directive.ts","ng://@taiga-ui/kit/components/slider/slider-old.component.ts","ng://@taiga-ui/kit/components/slider/slider-readonly.directive.ts","ng://@taiga-ui/kit/components/slider/slider.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","TUI_SLIDER_DEFAULT_OPTIONS","size","trackColor","TUI_SLIDER_OPTIONS","InjectionToken","factory","TuiSliderComponent","control","changeDetectorRef","options","elementRef","userAgent","segments","NgModel","_a","valueChanges","pipe","watch","take","subscribe","Number","nativeElement","min","max","step","newValue","Math","isEdgeOlderThan","CHROMIUM_EDGE_START_VERSION","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","ElementRef","USER_AGENT","Input","HostBinding","tuiDefaultProp","Component","selector","template","host","(input)","[style.--tui-slider-track-color]","changeDetection","ChangeDetectionStrategy","OnPush","TuiSliderKeyStepsDirective","slider","_this","_super","keySteps","keyStepsInput","typedFromEvent","map","controlValue","computedDisabled","isNativeFocused","nativeFocusableElement","tuiPercentageToKeyStepValue","valuePercentage","updateControlValue","updateValue","writeValue","clampedControlValue","clamp","tuiAssert","assert","transformToNativeValue","getFallbackValue","tuiKeyStepValueToPercentage","tuiCheckKeyStepsHaveMinMaxPercents","Output","HostListener","Directive","[attr.aria-valuenow]","[attr.aria-valuemin]","[attr.aria-valuemax]","AbstractTuiControl","TuiSliderTickLabelPipe","transform","tickIndex","totalSegments","percentage","Pipe","name","TuiSliderOldComponent","documentRef","fromToTexts$","dotRight","getFractionFromValue","processValue","valueGuard","decrement","processStep","increment","fraction","computedStep","getValueFromFraction","Document","DOCUMENT","Observable","TUI_FROM_TO_TEXTS","TuiSliderOldComponent_1","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiSlider","SLIDER_INTERACTION_KEYS","Set","TuiSliderReadonlyDirective","destroy$","readonly","touchStart$","passive","touchMove$","touchEnd$","shouldPreventMove$","merge","tap","preventEvent","mapTo","combineLatest","filter","_b","takeUntil","moveEvent","event","cancelable","tuiCoerceBooleanProperty","preventDefault","preventKeyboardInteraction","has","TuiDestroyService","TuiSliderModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","TuiFocusableModule","TuiFocusVisibleModule","TuiActiveZoneModule","TuiFormatNumberPipeModule","declarations","exports","useValue"],"mappings":"+iCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAGrB,SAASS,EAAUV,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIU,UAAU,uBAAyBC,OAAOX,GAAK,iCAE7D,SAASY,IAAOC,KAAKC,YAAcf,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOc,OAAOf,IAAMY,EAAGN,UAAYN,EAAEM,UAAW,IAAIM,GAG5E,IAAII,EAAW,WAQlB,OAPAA,EAAWf,OAAOgB,QAAU,SAAkBC,GAC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,CACV9I,EACA4C,EACAiE,EACAjC,EACAO,GAEJ4D,QAAS,CACL/I,EACA4C,EACAiE,EACAjC,EACAO,MAGKkD,8PLvBTlI,GAEA,MAAO,CACHmG,QAASzG,EACTmJ,SAAQzL,EAAAA,EAAA,GAAMmC,GAA+BS","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nexport interface TuiSliderOptions {\n readonly size: TuiSizeS;\n readonly trackColor: string;\n}\n\nexport const TUI_SLIDER_DEFAULT_OPTIONS: TuiSliderOptions = {\n size: 'm',\n trackColor: 'var(--tui-base-03)',\n};\n\nexport const TUI_SLIDER_OPTIONS = new InjectionToken<TuiSliderOptions>(\n 'Default parameters for Slider component',\n {factory: () => TUI_SLIDER_DEFAULT_OPTIONS},\n);\n\nexport function tuiSliderOptionsProvider(\n options: Partial<TuiSliderOptions>,\n): ValueProvider {\n return {\n provide: TUI_SLIDER_OPTIONS,\n useValue: {...TUI_SLIDER_DEFAULT_OPTIONS, ...options},\n };\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl, NgModel} from '@angular/forms';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {\n CHROMIUM_EDGE_START_VERSION,\n isEdgeOlderThan,\n tuiDefaultProp,\n watch,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\nimport {take} from 'rxjs/operators';\n\nimport {TUI_SLIDER_OPTIONS, TuiSliderOptions} from './slider-options';\n\n@Component({\n /**\n * We have to call our component as `<input tuiSlider type=\"range\" ... />`\n * because otherwise built-in angular\n * {@link https://github.com/angular/angular/blob/master/packages/forms/src/directives/range_value_accessor.ts#L45 RangeValueAccessor}\n * cannot be matched by its CSS selector.\n */\n selector: 'input[type=range][tuiSlider]',\n template: ``,\n styleUrls: ['./slider.style.less'],\n host: {\n /**\n * For change detection.\n * Webkit does not have built-in method for customization of filling progress (as Firefox).\n * We draw filling of progress by `background: linear-gradient(...)` of the track.\n * This function triggers change detection (for {@link valuePercentage} function) when we drag thumb of the input.\n */\n '(input)': '0',\n '[style.--tui-slider-track-color]': 'options.trackColor',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSliderComponent {\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeS = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n segments = 1;\n\n get min(): number {\n return Number(this.elementRef.nativeElement.min);\n }\n\n get max(): number {\n return Number(this.elementRef.nativeElement.max || 100);\n }\n\n get step(): number {\n return Number(this.elementRef.nativeElement.step) || 1;\n }\n\n get value(): number {\n return Number(this.elementRef.nativeElement.value) || 0;\n }\n\n set value(newValue: number) {\n this.elementRef.nativeElement.value = `${newValue}`;\n }\n\n @HostBinding('style.--tui-slider-fill-percentage.%')\n get valuePercentage(): number {\n return (100 * (this.value - this.min)) / (this.max - this.min) || 0;\n }\n\n @HostBinding('style.--tui-slider-segment-width.%')\n get segmentWidth(): number {\n return 100 / Math.max(1, this.segments);\n }\n\n @HostBinding('class._old-edge')\n get isOldEdge(): boolean {\n return isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent);\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_SLIDER_OPTIONS) readonly options: TuiSliderOptions,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(USER_AGENT) private readonly userAgent: string,\n ) {\n if (control instanceof NgModel) {\n /**\n * The ValueAccessor.writeValue method is called twice on any value accessor during component initialization,\n * when a control is bound using [(ngModel)], first time with a phantom null value.\n * With `changeDetection: ChangeDetectionStrategy.OnPush` the second call of writeValue with real value don't re-render the view.\n * ___\n * See this {@link https://github.com/angular/angular/issues/14988 issue}\n */\n control.valueChanges?.pipe(watch(changeDetectorRef), take(1)).subscribe();\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Output,\n Pipe,\n PipeTransform,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n clamp,\n isNativeFocused,\n tuiAssert,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {\n tuiCheckKeyStepsHaveMinMaxPercents,\n tuiKeyStepValueToPercentage,\n tuiPercentageToKeyStepValue,\n} from '@taiga-ui/kit/utils';\nimport {map} from 'rxjs/operators';\n\nimport {TuiSliderComponent} from './slider.component';\n\n// @dynamic\n@Directive({\n selector: 'input[tuiSlider][keySteps]',\n host: {\n '[attr.aria-valuenow]': 'controlValue',\n '[attr.aria-valuemin]': 'min',\n '[attr.aria-valuemax]': 'max',\n },\n})\nexport class TuiSliderKeyStepsDirective\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp(\n tuiCheckKeyStepsHaveMinMaxPercents,\n 'Should contain min and max values',\n )\n keySteps: TuiKeySteps = [];\n\n @Output()\n keyStepsInput = typedFromEvent(this.elementRef.nativeElement, 'input').pipe(\n map(() => this.controlValue),\n );\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled ? null : this.elementRef.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get min(): number {\n return this.keySteps[0]?.[1] || 0;\n }\n\n get max(): number {\n return this.keySteps[this.keySteps.length - 1]?.[1] || 100;\n }\n\n get controlValue(): number {\n return tuiPercentageToKeyStepValue(this.slider.valuePercentage, this.keySteps);\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(TuiSliderComponent) private readonly slider: TuiSliderComponent,\n ) {\n super(control, changeDetectorRef);\n }\n\n @HostListener('change')\n updateControlValue(): void {\n this.updateValue(this.controlValue);\n }\n\n writeValue(controlValue: number | null): void {\n if (controlValue === null) {\n return;\n }\n\n const clampedControlValue = clamp(controlValue, this.min, this.max);\n\n tuiAssert.assert(\n controlValue === clampedControlValue,\n '\\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max',\n );\n\n this.slider.value = this.transformToNativeValue(clampedControlValue);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n private transformToNativeValue(controlValue: number): number {\n const {min, max} = this.slider;\n const newValuePercentage = tuiKeyStepValueToPercentage(\n controlValue,\n this.keySteps,\n );\n\n return (newValuePercentage * (max - min)) / 100 + min;\n }\n}\n\n/**\n * @deprecated DONT USE IT! It is just temporary solution for internal purposes only. We will delete it in next major release.\n * TODO delete it in v3.0\n *\n */\n@Pipe({name: 'tuiSliderTickLabel'})\nexport class TuiSliderTickLabelPipe implements PipeTransform {\n transform(tickIndex: number, totalSegments: number, keySteps: TuiKeySteps): number {\n const percentage = (100 / totalSegments) * tickIndex;\n\n return tuiPercentageToKeyStepValue(percentage, keySteps);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider} from '@taiga-ui/kit/abstract';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n/**\n * @deprecated use {@link TuiSliderComponent} instead\n * TODO: 3.0 remove\n */\n// @dynamic\n@Component({\n selector: 'tui-slider',\n templateUrl: '../../abstract/slider/slider.common.template.html',\n styleUrls: [\n '../../abstract/slider/slider.common.style.less',\n './slider-old.style.less',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSliderOldComponent),\n },\n ],\n})\nexport class TuiSliderOldComponent\n extends AbstractTuiSlider<number>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.dotRight ? this.dotRight.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get left(): number {\n return 0;\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value);\n }\n\n processValue(value: number): void {\n this.updateValue(this.valueGuard(value));\n }\n\n decrement(): void {\n this.processStep(false);\n }\n\n increment(): void {\n this.processStep(true);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n protected processStep(increment: boolean): void {\n const fraction = this.getFractionFromValue(this.value);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, HostListener, Inject, Input} from '@angular/core';\nimport {\n tuiCoerceBooleanProperty,\n tuiDefaultProp,\n TuiDestroyService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {combineLatest, merge, Observable} from 'rxjs';\nimport {filter, mapTo, takeUntil, tap} from 'rxjs/operators';\n\nconst SLIDER_INTERACTION_KEYS = new Set([\n 'ArrowLeft',\n 'ArrowRight',\n 'ArrowUp',\n 'ArrowDown',\n 'Home',\n 'End',\n 'PageUp',\n 'PageDown',\n]);\n\n/**\n * Native <input type='range' readonly> doesn't work.\n * This directive imitates this native behaviour.\n */\n// @dynamic\n@Directive({\n selector: 'input[tuiSlider][readonly]',\n providers: [TuiDestroyService],\n})\nexport class TuiSliderReadonlyDirective {\n @Input()\n @tuiDefaultProp()\n readonly: string | boolean = true;\n\n constructor(\n @Inject(ElementRef) elementRef: ElementRef<HTMLInputElement>,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TuiDestroyService)\n destroy$: Observable<unknown>,\n ) {\n const touchStart$ = typedFromEvent(elementRef.nativeElement, 'touchstart', {\n passive: false,\n });\n const touchMove$ = typedFromEvent(documentRef, 'touchmove', {\n passive: false,\n });\n const touchEnd$ = typedFromEvent(documentRef, 'touchend', {\n passive: true,\n });\n\n const shouldPreventMove$ = merge(\n touchStart$.pipe(\n tap(e => this.preventEvent(e)),\n mapTo(true),\n ),\n touchEnd$.pipe(mapTo(false)),\n );\n\n /**\n * @bad TODO think about another solution.\n * Keep in mind that preventing touch event (on slider) inside `@HostListener('touchstart')` doesn't work for mobile chrome.\n */\n combineLatest([touchMove$, shouldPreventMove$])\n .pipe(\n filter(([_, shouldPreventMove]) => shouldPreventMove),\n takeUntil(destroy$),\n )\n .subscribe(([moveEvent]) => this.preventEvent(moveEvent));\n }\n\n @HostListener('mousedown', ['$event'])\n preventEvent(event: Event): void {\n if (event.cancelable && tuiCoerceBooleanProperty(this.readonly)) {\n event.preventDefault();\n }\n }\n\n @HostListener('keydown', ['$event'])\n preventKeyboardInteraction(event: KeyboardEvent): void {\n if (SLIDER_INTERACTION_KEYS.has(event.key)) {\n this.preventEvent(event);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\n\nimport {TuiSliderComponent} from './slider.component';\nimport {\n TuiSliderKeyStepsDirective,\n TuiSliderTickLabelPipe,\n} from './slider-key-steps.directive';\nimport {TuiSliderOldComponent} from './slider-old.component';\nimport {TuiSliderReadonlyDirective} from './slider-readonly.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiActiveZoneModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [\n TuiSliderComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n exports: [\n TuiSliderComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n})\nexport class TuiSliderModule {}\n"]}
1
+ {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/slider/slider-options.ts","ng://@taiga-ui/kit/components/slider/slider.component.ts","ng://@taiga-ui/kit/components/slider/slider-key-steps.directive.ts","ng://@taiga-ui/kit/components/slider/slider-old.component.ts","ng://@taiga-ui/kit/components/slider/slider-readonly.directive.ts","ng://@taiga-ui/kit/components/slider/slider.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","TUI_SLIDER_DEFAULT_OPTIONS","size","trackColor","TUI_SLIDER_OPTIONS","InjectionToken","factory","TuiSliderComponent","control","changeDetectorRef","options","elementRef","userAgent","segments","NgModel","_a","valueChanges","pipe","watch","take","subscribe","Number","nativeElement","min","max","step","newValue","Math","isEdgeOlderThan","CHROMIUM_EDGE_START_VERSION","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","ElementRef","USER_AGENT","Input","HostBinding","tuiDefaultProp","Component","selector","template","host","(input)","[style.--tui-slider-track-color]","changeDetection","ChangeDetectionStrategy","OnPush","TuiSliderKeyStepsDirective","slider","_this","_super","keySteps","keyStepsInput","typedFromEvent","map","controlValue","computedDisabled","isNativeFocused","nativeFocusableElement","tuiPercentageToKeyStepValue","valuePercentage","updateControlValue","updateValue","writeValue","clampedControlValue","clamp","tuiAssert","assert","transformToNativeValue","getFallbackValue","tuiKeyStepValueToPercentage","tuiCheckKeyStepsHaveMinMaxPercents","Output","HostListener","Directive","[attr.aria-valuenow]","[attr.aria-valuemin]","[attr.aria-valuemax]","AbstractTuiControl","TuiSliderTickLabelPipe","transform","tickIndex","totalSegments","percentage","Pipe","name","TuiSliderOldComponent","documentRef","fromToTexts$","dotRight","getFractionFromValue","processValue","valueGuard","decrement","processStep","increment","fraction","computedStep","getValueFromFraction","Document","DOCUMENT","Observable","TUI_FROM_TO_TEXTS","TuiSliderOldComponent_1","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiSlider","SLIDER_INTERACTION_KEYS","Set","TuiSliderReadonlyDirective","destroy$","readonly","touchStart$","passive","touchMove$","touchEnd$","shouldPreventMove$","merge","tap","preventEvent","mapTo","combineLatest","filter","_b","takeUntil","moveEvent","event","cancelable","tuiCoerceBooleanProperty","preventDefault","preventKeyboardInteraction","has","TuiDestroyService","TuiSliderModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","TuiFocusableModule","TuiFocusVisibleModule","TuiActiveZoneModule","TuiFormatNumberPipeModule","declarations","exports","useValue"],"mappings":"+iCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAGrB,SAASS,EAAUV,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIU,UAAU,uBAAyBC,OAAOX,GAAK,iCAE7D,SAASY,IAAOC,KAAKC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AA,qBARHvB,mBCWb,SAAAwB,KAA8B,OAAjBA,EAAerK,EAAA,CAxB3BsK,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,qBACAC,EAAAA,mBACAC,EAAAA,sBACAC,EAAAA,oBACAC,EAAAA,2BAEJC,aAAc,CACV9I,EACA4C,EACAiE,EACAjC,EACAO,GAEJ4D,QAAS,CACL/I,EACA4C,EACAiE,EACAjC,EACAO,MAGKkD,8PLvBTlI,GAEA,MAAO,CACHmG,QAASzG,EACTmJ,SAAQzL,EAAAA,EAAA,GAAMmC,GAA+BS","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nexport interface TuiSliderOptions {\n readonly size: TuiSizeS;\n readonly trackColor: string;\n}\n\nexport const TUI_SLIDER_DEFAULT_OPTIONS: TuiSliderOptions = {\n size: 'm',\n trackColor: 'var(--tui-base-03)',\n};\n\nexport const TUI_SLIDER_OPTIONS = new InjectionToken<TuiSliderOptions>(\n 'Default parameters for Slider component',\n {factory: () => TUI_SLIDER_DEFAULT_OPTIONS},\n);\n\nexport function tuiSliderOptionsProvider(\n options: Partial<TuiSliderOptions>,\n): ValueProvider {\n return {\n provide: TUI_SLIDER_OPTIONS,\n useValue: {...TUI_SLIDER_DEFAULT_OPTIONS, ...options},\n };\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl, NgModel} from '@angular/forms';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {\n CHROMIUM_EDGE_START_VERSION,\n isEdgeOlderThan,\n tuiDefaultProp,\n watch,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\nimport {take} from 'rxjs/operators';\n\nimport {TUI_SLIDER_OPTIONS, TuiSliderOptions} from './slider-options';\n\n@Component({\n /**\n * We have to call our component as `<input tuiSlider type=\"range\" ... />`\n * because otherwise built-in angular\n * {@link https://github.com/angular/angular/blob/master/packages/forms/src/directives/range_value_accessor.ts#L45 RangeValueAccessor}\n * cannot be matched by its CSS selector.\n */\n selector: 'input[type=range][tuiSlider]',\n template: ``,\n styleUrls: ['./slider.style.less'],\n host: {\n /**\n * For change detection.\n * Webkit does not have built-in method for customization of filling progress (as Firefox).\n * We draw filling of progress by `background: linear-gradient(...)` of the track.\n * This function triggers change detection (for {@link valuePercentage} function) when we drag thumb of the input.\n */\n '(input)': '0',\n '[style.--tui-slider-track-color]': 'options.trackColor',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSliderComponent {\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeS = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n segments = 1;\n\n get min(): number {\n return Number(this.elementRef.nativeElement.min);\n }\n\n get max(): number {\n return Number(this.elementRef.nativeElement.max || 100);\n }\n\n get step(): number {\n return Number(this.elementRef.nativeElement.step) || 1;\n }\n\n get value(): number {\n return Number(this.elementRef.nativeElement.value) || 0;\n }\n\n set value(newValue: number) {\n this.elementRef.nativeElement.value = `${newValue}`;\n }\n\n @HostBinding('style.--tui-slider-fill-percentage.%')\n get valuePercentage(): number {\n return (100 * (this.value - this.min)) / (this.max - this.min) || 0;\n }\n\n @HostBinding('style.--tui-slider-segment-width.%')\n get segmentWidth(): number {\n return 100 / Math.max(1, this.segments);\n }\n\n @HostBinding('class._old-edge')\n get isOldEdge(): boolean {\n return isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent);\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_SLIDER_OPTIONS) readonly options: TuiSliderOptions,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(USER_AGENT) private readonly userAgent: string,\n ) {\n if (control instanceof NgModel) {\n /**\n * The ValueAccessor.writeValue method is called twice on any value accessor during component initialization,\n * when a control is bound using [(ngModel)], first time with a phantom null value.\n * With `changeDetection: ChangeDetectionStrategy.OnPush` the second call of writeValue with real value don't re-render the view.\n * ___\n * See this {@link https://github.com/angular/angular/issues/14988 issue}\n */\n control.valueChanges?.pipe(watch(changeDetectorRef), take(1)).subscribe();\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Output,\n Pipe,\n PipeTransform,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n clamp,\n isNativeFocused,\n tuiAssert,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {\n tuiCheckKeyStepsHaveMinMaxPercents,\n tuiKeyStepValueToPercentage,\n tuiPercentageToKeyStepValue,\n} from '@taiga-ui/kit/utils';\nimport {map} from 'rxjs/operators';\n\nimport {TuiSliderComponent} from './slider.component';\n\n// @dynamic\n@Directive({\n selector: 'input[tuiSlider][keySteps]',\n host: {\n '[attr.aria-valuenow]': 'controlValue',\n '[attr.aria-valuemin]': 'min',\n '[attr.aria-valuemax]': 'max',\n },\n})\nexport class TuiSliderKeyStepsDirective\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp(\n tuiCheckKeyStepsHaveMinMaxPercents,\n 'Should contain min and max values',\n )\n keySteps: TuiKeySteps = [];\n\n @Output()\n keyStepsInput = typedFromEvent(this.elementRef.nativeElement, 'input').pipe(\n map(() => this.controlValue),\n );\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled ? null : this.elementRef.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get min(): number {\n return this.keySteps[0]?.[1] || 0;\n }\n\n get max(): number {\n return this.keySteps[this.keySteps.length - 1]?.[1] || 100;\n }\n\n get controlValue(): number {\n return tuiPercentageToKeyStepValue(this.slider.valuePercentage, this.keySteps);\n }\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(TuiSliderComponent) private readonly slider: TuiSliderComponent,\n ) {\n super(control, changeDetectorRef);\n }\n\n @HostListener('change')\n updateControlValue(): void {\n this.updateValue(this.controlValue);\n }\n\n writeValue(controlValue: number | null): void {\n if (controlValue === null) {\n return;\n }\n\n const clampedControlValue = clamp(controlValue, this.min, this.max);\n\n tuiAssert.assert(\n controlValue === clampedControlValue,\n '\\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max',\n );\n\n this.slider.value = this.transformToNativeValue(clampedControlValue);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n private transformToNativeValue(controlValue: number): number {\n const {min, max} = this.slider;\n const newValuePercentage = tuiKeyStepValueToPercentage(\n controlValue,\n this.keySteps,\n );\n\n return (newValuePercentage * (max - min)) / 100 + min;\n }\n}\n\n/**\n * @deprecated DONT USE IT! It is just temporary solution for internal purposes only. We will delete it in next major release.\n * TODO delete it in v3.0\n *\n */\n@Pipe({name: 'tuiSliderTickLabel'})\nexport class TuiSliderTickLabelPipe implements PipeTransform {\n transform(tickIndex: number, totalSegments: number, keySteps: TuiKeySteps): number {\n const percentage = (100 / totalSegments) * tickIndex;\n\n return tuiPercentageToKeyStepValue(percentage, keySteps);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {AbstractTuiSlider} from '@taiga-ui/kit/abstract';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n/**\n * @deprecated use {@link TuiSliderComponent} instead\n * TODO: 3.0 remove\n */\n// @dynamic\n@Component({\n selector: 'tui-slider',\n templateUrl: '../../abstract/slider/slider.common.template.html',\n styleUrls: [\n '../../abstract/slider/slider.common.style.less',\n './slider-old.style.less',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiSliderOldComponent),\n },\n ],\n})\nexport class TuiSliderOldComponent\n extends AbstractTuiSlider<number>\n implements TuiFocusableElementAccessor\n{\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TUI_FROM_TO_TEXTS) fromToTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef, documentRef, fromToTexts$);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.dotRight ? this.dotRight.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get left(): number {\n return 0;\n }\n\n get right(): number {\n return 100 - 100 * this.getFractionFromValue(this.value);\n }\n\n processValue(value: number): void {\n this.updateValue(this.valueGuard(value));\n }\n\n decrement(): void {\n this.processStep(false);\n }\n\n increment(): void {\n this.processStep(true);\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n protected processStep(increment: boolean): void {\n const fraction = this.getFractionFromValue(this.value);\n const step = this.computedStep;\n const value = this.getValueFromFraction(\n increment ? fraction + step : fraction - step,\n );\n\n this.processValue(value);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, HostListener, Inject, Input} from '@angular/core';\nimport {\n tuiCoerceBooleanProperty,\n tuiDefaultProp,\n TuiDestroyService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {combineLatest, merge, Observable} from 'rxjs';\nimport {filter, mapTo, takeUntil, tap} from 'rxjs/operators';\n\nconst SLIDER_INTERACTION_KEYS = new Set([\n 'ArrowLeft',\n 'ArrowRight',\n 'ArrowUp',\n 'ArrowDown',\n 'Home',\n 'End',\n 'PageUp',\n 'PageDown',\n]);\n\n/**\n * Native <input type='range' readonly> doesn't work.\n * This directive imitates this native behaviour.\n */\n// @dynamic\n@Directive({\n selector: 'input[tuiSlider][readonly]',\n providers: [TuiDestroyService],\n})\nexport class TuiSliderReadonlyDirective {\n @Input()\n @tuiDefaultProp()\n readonly: string | boolean = true;\n\n constructor(\n @Inject(ElementRef) elementRef: ElementRef<HTMLInputElement>,\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TuiDestroyService)\n destroy$: Observable<unknown>,\n ) {\n const touchStart$ = typedFromEvent(elementRef.nativeElement, 'touchstart', {\n passive: false,\n });\n const touchMove$ = typedFromEvent(documentRef, 'touchmove', {\n passive: false,\n });\n const touchEnd$ = typedFromEvent(documentRef, 'touchend', {\n passive: true,\n });\n\n const shouldPreventMove$ = merge(\n touchStart$.pipe(\n tap(e => this.preventEvent(e)),\n mapTo(true),\n ),\n touchEnd$.pipe(mapTo(false)),\n );\n\n /**\n * @bad TODO think about another solution.\n * Keep in mind that preventing touch event (on slider) inside `@HostListener('touchstart')` doesn't work for mobile chrome.\n */\n combineLatest([touchMove$, shouldPreventMove$])\n .pipe(\n filter(([_, shouldPreventMove]) => shouldPreventMove),\n takeUntil(destroy$),\n )\n .subscribe(([moveEvent]) => this.preventEvent(moveEvent));\n }\n\n @HostListener('mousedown', ['$event'])\n preventEvent(event: Event): void {\n if (event.cancelable && tuiCoerceBooleanProperty(this.readonly)) {\n event.preventDefault();\n }\n }\n\n @HostListener('keydown', ['$event'])\n preventKeyboardInteraction(event: KeyboardEvent): void {\n if (SLIDER_INTERACTION_KEYS.has(event.key)) {\n this.preventEvent(event);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule} from '@taiga-ui/core';\n\nimport {TuiSliderComponent} from './slider.component';\nimport {\n TuiSliderKeyStepsDirective,\n TuiSliderTickLabelPipe,\n} from './slider-key-steps.directive';\nimport {TuiSliderOldComponent} from './slider-old.component';\nimport {TuiSliderReadonlyDirective} from './slider-readonly.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiFocusableModule,\n TuiFocusVisibleModule,\n TuiActiveZoneModule,\n TuiFormatNumberPipeModule,\n ],\n declarations: [\n TuiSliderComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n exports: [\n TuiSliderComponent,\n TuiSliderKeyStepsDirective,\n TuiSliderReadonlyDirective,\n TuiSliderTickLabelPipe,\n TuiSliderOldComponent,\n ],\n})\nexport class TuiSliderModule {}\n"]}
@@ -288,6 +288,7 @@
288
288
  },
289
289
  core$1.MODE_PROVIDER,
290
290
  ];
291
+ // eslint-disable-next-line @typescript-eslint/naming-convention
291
292
  function tabActiveFactory(_a, documentRef, routerLinkActiveService, mutationObserverService, routerLinkActive) {
292
293
  var nativeElement = _a.nativeElement;
293
294
  var mutationObserver = routerLinkActive && mutationObserverService
@@ -359,7 +360,7 @@
359
360
  '[style.--tui-tab-margin.px]': 'margin',
360
361
  type: 'button',
361
362
  },
362
- styles: [":host-context(._underline):hover{box-shadow:inset 0 -2px var(--tui-base-03)}:host{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:0 0;font-size:inherit;line-height:inherit;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:0;text-decoration:none;color:inherit;transition-property:color,box-shadow,opacity;margin-right:var(--tui-tab-margin,1.5rem)}:host:hover{color:var(--tui-text-01)}:host:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}:host:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}:host[data-mode=onDark]{color:rgba(255,255,255,.72)}:host[data-mode=onDark]._active,:host[data-mode=onDark]:hover{color:#fff}:host[data-mode=onDark]._focus-visible .t-highlight{background:var(--tui-clear-inverse);color:var(--tui-text-01)}:host[data-mode=onLight]{color:var(--tui-text-02)}:host[data-mode=onLight]._active,:host[data-mode=onLight]:hover{color:var(--tui-text-01)}:host[data-mode=onLight]._focus-visible .t-highlight{background:var(--tui-text-01);color:#fff}:host._focus-visible .t-highlight{background:var(--tui-selection)}:host._android{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',sans-serif}:host._android:hover{box-shadow:none}:host._android._active{opacity:1;color:var(--tui-base-09)}:host._android .t-highlight{width:auto}:host._ios{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',sans-serif}:host._ios:hover{box-shadow:none}:host._ios._active{font-size:.875rem;font-weight:600;color:var(--tui-link)}:host._ios .t-highlight{width:auto}.t-highlight{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight ::ng-deep>*{flex-shrink:0}"]
363
+ styles: [":host-context(._underline):hover{box-shadow:inset 0 -2px var(--tui-base-03)}:host-context([tuiTabs]>):first-child,:host-context([tuiTabs]>:first-child),:host-context(tui-tabs>):first-child,:host-context(tui-tabs>:first-child){margin-left:0}:host{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:0 0;font-size:inherit;line-height:inherit;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:0;text-decoration:none;color:inherit;transition-property:color,box-shadow,opacity;margin-left:var(--tui-tab-margin,1.5rem)}:host:hover{color:var(--tui-text-01)}:host:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}:host:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}:host[data-mode=onDark]{color:rgba(255,255,255,.72)}:host[data-mode=onDark]._active,:host[data-mode=onDark]:hover{color:#fff}:host[data-mode=onDark]._focus-visible .t-highlight{background:var(--tui-clear-inverse);color:var(--tui-text-01)}:host[data-mode=onLight]{color:var(--tui-text-02)}:host[data-mode=onLight]._active,:host[data-mode=onLight]:hover{color:var(--tui-text-01)}:host[data-mode=onLight]._focus-visible .t-highlight{background:var(--tui-text-01);color:#fff}:host._focus-visible .t-highlight{background:var(--tui-selection)}:host._android{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',sans-serif}:host._android:hover{box-shadow:none}:host._android._active{opacity:1;color:var(--tui-base-09)}:host._android .t-highlight{width:auto}:host._ios{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',sans-serif}:host._ios:hover{box-shadow:none}:host._ios._active{font-size:.875rem;font-weight:600;color:var(--tui-link)}:host._ios .t-highlight{width:auto}.t-highlight{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight ::ng-deep>*{flex-shrink:0}"]
363
364
  }),
364
365
  __param(0, core.Optional()),
365
366
  __param(0, core.Inject(router.RouterLinkActive)),
@@ -511,7 +512,7 @@
511
512
  TuiTabsComponent = __decorate([
512
513
  core.Component({
513
514
  selector: 'tui-tabs, nav[tuiTabs]',
514
- template: "<ng-container *ngIf=\"children.changes | async\"></ng-container>\n<tui-underline\n *ngIf=\"underline\"\n [element]=\"activeElement\"\n></tui-underline>\n<ng-content></ng-content>\n",
515
+ template: "<ng-container *ngIf=\"children.changes | async\"></ng-container>\n<ng-content></ng-content>\n<tui-underline\n *ngIf=\"underline\"\n class=\"t-underline\"\n [element]=\"activeElement\"\n></tui-underline>\n",
515
516
  changeDetection: core.ChangeDetectionStrategy.OnPush,
516
517
  providers: [
517
518
  cdk.TuiDestroyService,
@@ -522,7 +523,7 @@
522
523
  useValue: OBSERVER_INIT,
523
524
  },
524
525
  ],
525
- styles: [":host{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}:host._android{height:auto}:host._ios{height:auto;border:2px solid transparent;border-radius:.5625rem;background:var(--tui-link);box-shadow:none}"]
526
+ styles: [":host{scrollbar-width:none;-ms-overflow-style:none;position:relative;z-index:0;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}:host._android{height:auto}:host._ios{height:auto;border:2px solid transparent;border-radius:.5625rem;background:var(--tui-link);box-shadow:none}.t-underline{z-index:-1}"]
526
527
  }),
527
528
  __param(0, core.Inject(TUI_TABS_OPTIONS)),
528
529
  __param(1, core.Inject(core.ElementRef)),
@@ -536,6 +537,7 @@
536
537
  return TuiTabsComponent;
537
538
  }());
538
539
 
540
+ // eslint-disable-next-line @typescript-eslint/naming-convention
539
541
  function tabsRefreshFactory(resize$, mutations$, destroy$, _a, _b, changeDetectorRef) {
540
542
  var body = _a.body;
541
543
  var nativeElement = _b.nativeElement;
@@ -777,10 +779,10 @@
777
779
  TuiTabsWithMoreComponent = __decorate([
778
780
  core.Component({
779
781
  selector: 'tui-tabs-with-more, nav[tuiTabsWithMore]',
780
- template: "<ng-container *ngIf=\"items.changes | async\"></ng-container>\n<div class=\"t-wrapper\">\n <tui-tabs\n class=\"t-tabs\"\n [underline]=\"false\"\n [activeItemIndex]=\"activeItemIndex\"\n (activeItemIndexChange)=\"onActiveItemIndexChange($event)\"\n (keydown.arrowRight)=\"onArrowRight($event)\"\n >\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"index <= lastVisibleIndex; else hidden\"\n [ngTemplateOutlet]=\"item\"\n ></ng-container>\n <ng-template #hidden>\n <div [class.t-overflown]=\"isOverflown(index)\">\n <ng-container *ngTemplateOutlet=\"item\"></ng-container>\n </div>\n </ng-template>\n </ng-container>\n </tui-tabs>\n <tui-hosted-dropdown\n class=\"t-more_wrapper\"\n [class.t-overflown]=\"!isMoreVisible\"\n [content]=\"dropdownContent || dropdown\"\n [(open)]=\"open\"\n >\n <button\n tuiTab\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [tuiFocusable]=\"isMoreFocusable\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n >\n <span\n polymorpheus-outlet\n [content]=\"moreContent || more\"\n ></span>\n </button>\n <ng-template #more>\n {{ moreWord$ | async }}\n <tui-svg\n src=\"tuiIconChevronDown\"\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n ></tui-svg>\n </ng-template>\n </tui-hosted-dropdown>\n <ng-template #dropdown>\n <div\n #element\n class=\"t-dropdown\"\n (keydown.arrowUp.prevent)=\"onWrapperArrow($event, element, true)\"\n (keydown.arrowDown.prevent)=\"onWrapperArrow($event, element, false)\"\n >\n <div\n *ngFor=\"let item of items; let index = index\"\n (tui-tab-activate)=\"onClick(index)\"\n >\n <ng-container\n *ngIf=\"shouldShow(index)\"\n [ngTemplateOutlet]=\"item\"\n ></ng-container>\n </div>\n </div>\n </ng-template>\n <tui-underline\n *ngIf=\"underline\"\n [element]=\"activeElement\"\n ></tui-underline>\n</div>\n",
782
+ template: "<ng-container *ngIf=\"items.changes | async\"></ng-container>\n<div class=\"t-wrapper\">\n <tui-tabs\n class=\"t-tabs\"\n [underline]=\"false\"\n [activeItemIndex]=\"activeItemIndex\"\n (activeItemIndexChange)=\"onActiveItemIndexChange($event)\"\n (keydown.arrowRight)=\"onArrowRight($event)\"\n >\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"index <= lastVisibleIndex; else hidden\"\n [ngTemplateOutlet]=\"item\"\n ></ng-container>\n <ng-template #hidden>\n <div [class.t-overflown]=\"isOverflown(index)\">\n <ng-container [ngTemplateOutlet]=\"item\"></ng-container>\n </div>\n </ng-template>\n </ng-container>\n </tui-tabs>\n <tui-hosted-dropdown\n class=\"t-more_wrapper\"\n [class.t-overflown]=\"!isMoreVisible\"\n [content]=\"dropdownContent || dropdown\"\n [(open)]=\"open\"\n >\n <button\n tuiTab\n [class._active]=\"isMoreActive\"\n [tuiFocusable]=\"isMoreFocusable\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n >\n <span\n polymorpheus-outlet\n [content]=\"moreContent || more\"\n ></span>\n </button>\n <ng-template #more>\n {{ moreWord$ | async }}\n <tui-svg\n src=\"tuiIconChevronDown\"\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n ></tui-svg>\n </ng-template>\n </tui-hosted-dropdown>\n <ng-template #dropdown>\n <div\n #element\n class=\"t-dropdown\"\n (keydown.arrowUp.prevent)=\"onWrapperArrow($event, element, true)\"\n (keydown.arrowDown.prevent)=\"onWrapperArrow($event, element, false)\"\n >\n <div\n *ngFor=\"let item of items; let index = index\"\n (tui-tab-activate)=\"onClick(index)\"\n >\n <ng-container\n *ngIf=\"shouldShow(index)\"\n [ngTemplateOutlet]=\"item\"\n ></ng-container>\n </div>\n </div>\n </ng-template>\n <tui-underline\n *ngIf=\"underline\"\n [element]=\"activeElement\"\n ></tui-underline>\n</div>\n",
781
783
  changeDetection: core.ChangeDetectionStrategy.OnPush,
782
784
  providers: TABS_PROVIDERS,
783
- styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);box-sizing:border-box;color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:hidden}.t-wrapper{position:relative;display:flex}.t-tabs{height:inherit;font-size:inherit;font-weight:inherit;overflow:visible;box-shadow:none;color:inherit}.t-overflown{display:flex;margin:0;width:0;max-width:0;overflow:hidden;visibility:hidden}.t-more_wrapper{height:100%}.t-more{margin:0}.t-icon{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;margin-right:-.25rem;vertical-align:bottom}.t-icon_rotated{transform:rotate(180deg)}.t-dropdown{padding:.5rem 0}.t-dropdown ::ng-deep [tuiTab]{width:100%;height:2.75rem;justify-content:flex-start;margin:0;padding:0 1rem;color:var(--tui-text-02)}.t-dropdown ::ng-deep [tuiTab]:before{display:none}.t-dropdown ::ng-deep [tuiTab]._active,.t-dropdown ::ng-deep [tuiTab]:focus,.t-dropdown ::ng-deep [tuiTab]:hover{box-shadow:none;color:var(--tui-base-08);background:var(--tui-base-02)}"]
785
+ styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);box-sizing:border-box;color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:hidden}.t-wrapper{position:relative;display:flex}.t-tabs{height:inherit;font-size:inherit;font-weight:inherit;overflow:visible;box-shadow:none;color:inherit}.t-overflown{display:flex;margin:0;width:0;max-width:0;overflow:hidden;visibility:hidden}.t-more_wrapper{height:100%}.t-icon{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;margin-right:-.25rem;vertical-align:bottom}.t-icon_rotated{transform:rotate(180deg)}.t-dropdown{padding:.5rem 0}.t-dropdown ::ng-deep [tuiTab]{width:100%;height:2.75rem;justify-content:flex-start;margin:0;padding:0 1rem;color:var(--tui-text-02)}.t-dropdown ::ng-deep [tuiTab]:before{display:none}.t-dropdown ::ng-deep [tuiTab]._active,.t-dropdown ::ng-deep [tuiTab]:focus,.t-dropdown ::ng-deep [tuiTab]:hover{box-shadow:none;color:var(--tui-base-08);background:var(--tui-base-02)}"]
784
786
  }),
785
787
  __param(0, core.Inject(TUI_TABS_OPTIONS)),
786
788
  __param(1, core.Inject(tokens.TUI_TAB_MARGIN)),