@taiga-ui/kit 3.18.0 → 3.19.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 (507) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js +20 -29
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-action.umd.js +11 -20
  4. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-arrow.umd.js +7 -7
  6. package/bundles/taiga-ui-kit-components-avatar.umd.js +11 -20
  7. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-badge.umd.js +11 -20
  9. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-badged-content.umd.js +11 -20
  11. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +11 -20
  13. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +11 -20
  15. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +11 -20
  17. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-carousel.umd.js +23 -32
  19. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +11 -20
  21. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +11 -20
  23. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-checkbox.umd.js +12 -21
  25. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-combo-box.umd.js +17 -26
  27. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +17 -26
  29. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-elastic-container.umd.js +10 -10
  31. package/bundles/taiga-ui-kit-components-files.umd.js +14 -23
  32. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-filter.umd.js +11 -20
  34. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-copy.umd.js +14 -23
  36. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-count.umd.js +22 -33
  38. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -23
  40. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +14 -23
  42. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-date.umd.js +14 -23
  44. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-files.umd.js +17 -26
  46. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-inline.umd.js +11 -20
  48. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +14 -23
  50. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-month.umd.js +14 -23
  52. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-number.umd.js +14 -23
  54. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-password.umd.js +14 -23
  56. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +37 -46
  58. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-phone.umd.js +14 -23
  60. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-range.umd.js +25 -61
  62. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-slider.umd.js +11 -20
  64. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-tag.umd.js +19 -25
  66. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-time.umd.js +11 -20
  68. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-year.umd.js +14 -23
  70. package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input.umd.js +14 -23
  72. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-island.umd.js +11 -20
  74. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-items-with-more.umd.js +20 -29
  76. package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +17 -26
  78. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +11 -20
  80. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +11 -20
  82. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-multi-select.umd.js +20 -29
  84. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-pagination.umd.js +11 -20
  86. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +17 -26
  88. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-progress.umd.js +23 -32
  90. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-prompt.umd.js +7 -7
  92. package/bundles/taiga-ui-kit-components-push.umd.js +23 -32
  93. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-radio-block.umd.js +11 -20
  95. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-radio-group.umd.js +11 -20
  97. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +11 -20
  99. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-radio-list.umd.js +11 -20
  101. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-radio.umd.js +11 -20
  103. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-range.umd.js +14 -23
  105. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-rating.umd.js +11 -20
  107. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +452 -0
  109. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -0
  110. package/bundles/taiga-ui-kit-components-select-option.umd.js +7 -7
  111. package/bundles/taiga-ui-kit-components-select.umd.js +23 -32
  112. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-slider.umd.js +20 -29
  114. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-stepper.umd.js +14 -23
  116. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-tabs.umd.js +27 -36
  118. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tag.umd.js +11 -20
  120. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-text-area.umd.js +22 -28
  122. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-tiles.umd.js +17 -26
  124. package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-toggle.umd.js +11 -20
  126. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-tree.umd.js +40 -43
  128. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-components.umd.js +10 -4
  130. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-constants.umd.js +4 -13
  132. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +11 -20
  134. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-highlight.umd.js +11 -20
  136. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +14 -23
  138. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives-mask.umd.js +7 -7
  140. package/bundles/taiga-ui-kit-directives-present.umd.js +7 -7
  141. package/bundles/taiga-ui-kit-directives-project-class.umd.js +11 -20
  142. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +7 -7
  144. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +7 -7
  145. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +11 -20
  146. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +14 -23
  148. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +14 -23
  150. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +11 -20
  152. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +7 -7
  154. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +7 -7
  155. package/bundles/taiga-ui-kit-pipes-to-year.umd.js +7 -7
  156. package/bundles/taiga-ui-kit-utils-mask.umd.js +4 -13
  157. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-utils-math.umd.js +4 -13
  159. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +4 -13
  161. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  162. package/components/index.d.ts +1 -0
  163. package/components/input-count/input-count.component.d.ts +4 -5
  164. package/components/input-phone-international/input-phone-international.component.d.ts +11 -3
  165. package/components/input-phone-international/input-phone-international.module.d.ts +1 -1
  166. package/components/input-range/input-range.component.d.ts +3 -7
  167. package/components/input-range/input-range.module.d.ts +1 -1
  168. package/components/input-tag/input-tag.component.d.ts +3 -3
  169. package/components/routable-dialog/generate-dialogable-route.d.ts +6 -0
  170. package/components/routable-dialog/index.d.ts +3 -0
  171. package/components/routable-dialog/package.json +10 -0
  172. package/components/routable-dialog/routable-dialog.component.d.ts +14 -0
  173. package/components/routable-dialog/routable-dialog.module.d.ts +7 -0
  174. package/components/routable-dialog/taiga-ui-kit-components-routable-dialog.d.ts +5 -0
  175. package/components/text-area/text-area.component.d.ts +3 -3
  176. package/components/tree/components/tree/tree.component.d.ts +1 -0
  177. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -0
  178. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +3 -3
  179. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +3 -3
  180. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +3 -3
  181. package/esm2015/components/accordion/accordion.component.js +3 -3
  182. package/esm2015/components/accordion/accordion.module.js +4 -4
  183. package/esm2015/components/action/action.component.js +3 -3
  184. package/esm2015/components/action/action.module.js +4 -4
  185. package/esm2015/components/arrow/arrow.component.js +3 -3
  186. package/esm2015/components/arrow/arrow.module.js +4 -4
  187. package/esm2015/components/avatar/avatar.component.js +3 -3
  188. package/esm2015/components/avatar/avatar.module.js +4 -4
  189. package/esm2015/components/badge/badge.component.js +3 -3
  190. package/esm2015/components/badge/badge.module.js +4 -4
  191. package/esm2015/components/badged-content/badged-content.component.js +3 -3
  192. package/esm2015/components/badged-content/badged-content.module.js +4 -4
  193. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +3 -3
  194. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +4 -4
  195. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  196. package/esm2015/components/calendar-month/calendar-month.module.js +4 -4
  197. package/esm2015/components/calendar-range/calendar-range.component.js +3 -3
  198. package/esm2015/components/calendar-range/calendar-range.module.js +4 -4
  199. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  200. package/esm2015/components/carousel/carousel-buttons.directive.js +3 -3
  201. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  202. package/esm2015/components/carousel/carousel.component.js +3 -3
  203. package/esm2015/components/carousel/carousel.directive.js +3 -3
  204. package/esm2015/components/carousel/carousel.module.js +4 -4
  205. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  206. package/esm2015/components/checkbox/checkbox.module.js +4 -4
  207. package/esm2015/components/checkbox-block/checkbox-block.component.js +3 -3
  208. package/esm2015/components/checkbox-block/checkbox-block.module.js +4 -4
  209. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  210. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +4 -4
  211. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  212. package/esm2015/components/combo-box/combo-box.component.js +3 -3
  213. package/esm2015/components/combo-box/combo-box.directive.js +3 -3
  214. package/esm2015/components/combo-box/combo-box.module.js +4 -4
  215. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +3 -3
  216. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +3 -3
  217. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +3 -3
  218. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +4 -4
  219. package/esm2015/components/elastic-container/elastic-container.component.js +3 -3
  220. package/esm2015/components/elastic-container/elastic-container.directive.js +3 -3
  221. package/esm2015/components/elastic-container/elastic-container.module.js +4 -4
  222. package/esm2015/components/files/file/file.component.js +3 -3
  223. package/esm2015/components/files/files.component.js +3 -3
  224. package/esm2015/components/files/files.module.js +4 -4
  225. package/esm2015/components/filter/filter.component.js +3 -3
  226. package/esm2015/components/filter/filter.module.js +4 -4
  227. package/esm2015/components/index.js +2 -1
  228. package/esm2015/components/input/input.component.js +3 -3
  229. package/esm2015/components/input/input.directive.js +3 -3
  230. package/esm2015/components/input/input.module.js +4 -4
  231. package/esm2015/components/input-copy/input-copy.component.js +3 -3
  232. package/esm2015/components/input-copy/input-copy.directive.js +3 -3
  233. package/esm2015/components/input-copy/input-copy.module.js +4 -4
  234. package/esm2015/components/input-count/input-count.component.js +13 -15
  235. package/esm2015/components/input-count/input-count.directive.js +3 -3
  236. package/esm2015/components/input-count/input-count.module.js +4 -4
  237. package/esm2015/components/input-date/input-date.component.js +3 -3
  238. package/esm2015/components/input-date/input-date.directive.js +3 -3
  239. package/esm2015/components/input-date/input-date.module.js +4 -4
  240. package/esm2015/components/input-date-range/input-date-range.component.js +3 -3
  241. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  242. package/esm2015/components/input-date-range/input-date-range.module.js +4 -4
  243. package/esm2015/components/input-date-time/input-date-time.component.js +3 -3
  244. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  245. package/esm2015/components/input-date-time/input-date-time.module.js +4 -4
  246. package/esm2015/components/input-files/input-files.component.js +3 -3
  247. package/esm2015/components/input-files/input-files.directive.js +3 -3
  248. package/esm2015/components/input-files/input-files.module.js +4 -4
  249. package/esm2015/components/input-files/max-size-rejection-error.pipe.js +3 -3
  250. package/esm2015/components/input-inline/input-inline.component.js +3 -3
  251. package/esm2015/components/input-inline/input-inline.module.js +4 -4
  252. package/esm2015/components/input-month/input-month.component.js +3 -3
  253. package/esm2015/components/input-month/input-month.directive.js +3 -3
  254. package/esm2015/components/input-month/input-month.module.js +4 -4
  255. package/esm2015/components/input-month-range/input-month-range.component.js +3 -3
  256. package/esm2015/components/input-month-range/input-month-range.directive.js +3 -3
  257. package/esm2015/components/input-month-range/input-month-range.module.js +4 -4
  258. package/esm2015/components/input-number/input-number.component.js +3 -3
  259. package/esm2015/components/input-number/input-number.directive.js +3 -3
  260. package/esm2015/components/input-number/input-number.module.js +4 -4
  261. package/esm2015/components/input-password/input-password.component.js +3 -3
  262. package/esm2015/components/input-password/input-password.directive.js +3 -3
  263. package/esm2015/components/input-password/input-password.module.js +4 -4
  264. package/esm2015/components/input-phone/input-phone.component.js +3 -3
  265. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  266. package/esm2015/components/input-phone/input-phone.module.js +4 -4
  267. package/esm2015/components/input-phone-international/input-phone-international.component.js +27 -29
  268. package/esm2015/components/input-phone-international/input-phone-international.module.js +10 -7
  269. package/esm2015/components/input-range/input-range.component.js +11 -35
  270. package/esm2015/components/input-range/input-range.module.js +12 -9
  271. package/esm2015/components/input-slider/input-slider.component.js +3 -3
  272. package/esm2015/components/input-slider/input-slider.module.js +4 -4
  273. package/esm2015/components/input-tag/input-tag.component.js +9 -10
  274. package/esm2015/components/input-tag/input-tag.module.js +4 -4
  275. package/esm2015/components/input-time/input-time.component.js +3 -3
  276. package/esm2015/components/input-time/input-time.module.js +4 -4
  277. package/esm2015/components/input-year/input-year.component.js +3 -3
  278. package/esm2015/components/input-year/input-year.directive.js +3 -3
  279. package/esm2015/components/input-year/input-year.module.js +4 -4
  280. package/esm2015/components/island/island.component.js +3 -3
  281. package/esm2015/components/island/island.module.js +4 -4
  282. package/esm2015/components/items-with-more/items-with-more.component.js +3 -3
  283. package/esm2015/components/items-with-more/items-with-more.directive.js +3 -3
  284. package/esm2015/components/items-with-more/items-with-more.module.js +4 -4
  285. package/esm2015/components/items-with-more/items-with-more.service.js +3 -3
  286. package/esm2015/components/items-with-more/more.directive.js +3 -3
  287. package/esm2015/components/line-clamp/line-clamp-box.component.js +3 -3
  288. package/esm2015/components/line-clamp/line-clamp-position.directive.js +3 -3
  289. package/esm2015/components/line-clamp/line-clamp.component.js +3 -3
  290. package/esm2015/components/line-clamp/line-clamp.module.js +4 -4
  291. package/esm2015/components/marker-icon/marker-icon.component.js +3 -3
  292. package/esm2015/components/marker-icon/marker-icon.module.js +4 -4
  293. package/esm2015/components/multi-select/hide-selected.pipe.js +3 -3
  294. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +3 -3
  295. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +3 -3
  296. package/esm2015/components/multi-select/multi-select.component.js +3 -3
  297. package/esm2015/components/multi-select/multi-select.module.js +4 -4
  298. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  299. package/esm2015/components/multi-select-option/multi-select-option.module.js +4 -4
  300. package/esm2015/components/pagination/pagination.component.js +3 -3
  301. package/esm2015/components/pagination/pagination.module.js +4 -4
  302. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +3 -3
  303. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +3 -3
  304. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +4 -4
  305. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +3 -3
  306. package/esm2015/components/progress/progress-bar/progress-bar.component.js +3 -3
  307. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +3 -3
  308. package/esm2015/components/progress/progress-circle/progress-circle.component.js +3 -3
  309. package/esm2015/components/progress/progress-label/progress-label.component.js +3 -3
  310. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +3 -3
  311. package/esm2015/components/progress/progress.module.js +4 -4
  312. package/esm2015/components/prompt/prompt.component.js +3 -3
  313. package/esm2015/components/prompt/prompt.module.js +4 -4
  314. package/esm2015/components/push/push-alert.component.js +3 -3
  315. package/esm2015/components/push/push-alert.directive.js +3 -3
  316. package/esm2015/components/push/push.component.js +3 -3
  317. package/esm2015/components/push/push.directive.js +3 -3
  318. package/esm2015/components/push/push.module.js +4 -4
  319. package/esm2015/components/push/push.service.js +3 -3
  320. package/esm2015/components/radio/radio.component.js +3 -3
  321. package/esm2015/components/radio/radio.module.js +4 -4
  322. package/esm2015/components/radio-block/radio-block.component.js +3 -3
  323. package/esm2015/components/radio-block/radio-block.module.js +4 -4
  324. package/esm2015/components/radio-group/radio-group.component.js +3 -3
  325. package/esm2015/components/radio-group/radio-group.module.js +4 -4
  326. package/esm2015/components/radio-labeled/radio-labeled.component.js +3 -3
  327. package/esm2015/components/radio-labeled/radio-labeled.module.js +4 -4
  328. package/esm2015/components/radio-list/radio-list.component.js +3 -3
  329. package/esm2015/components/radio-list/radio-list.module.js +4 -4
  330. package/esm2015/components/range/range-change.directive.js +3 -3
  331. package/esm2015/components/range/range.component.js +3 -3
  332. package/esm2015/components/range/range.module.js +4 -4
  333. package/esm2015/components/rating/rating.component.js +3 -3
  334. package/esm2015/components/rating/rating.module.js +4 -4
  335. package/esm2015/components/routable-dialog/generate-dialogable-route.js +19 -0
  336. package/esm2015/components/routable-dialog/index.js +4 -0
  337. package/esm2015/components/routable-dialog/routable-dialog.component.js +65 -0
  338. package/esm2015/components/routable-dialog/routable-dialog.module.js +16 -0
  339. package/esm2015/components/routable-dialog/taiga-ui-kit-components-routable-dialog.js +5 -0
  340. package/esm2015/components/select/native-select/native-select-group.component.js +3 -3
  341. package/esm2015/components/select/native-select/native-select.component.js +3 -3
  342. package/esm2015/components/select/native-select/native-select.js +3 -3
  343. package/esm2015/components/select/select.component.js +3 -3
  344. package/esm2015/components/select/select.directive.js +3 -3
  345. package/esm2015/components/select/select.module.js +4 -4
  346. package/esm2015/components/select-option/select-option.component.js +3 -3
  347. package/esm2015/components/select-option/select-option.module.js +4 -4
  348. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +3 -3
  349. package/esm2015/components/slider/helpers/slider-readonly.directive.js +3 -3
  350. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +3 -3
  351. package/esm2015/components/slider/slider.component.js +3 -3
  352. package/esm2015/components/slider/slider.module.js +4 -4
  353. package/esm2015/components/stepper/step/step.component.js +3 -3
  354. package/esm2015/components/stepper/stepper.component.js +3 -3
  355. package/esm2015/components/stepper/stepper.module.js +4 -4
  356. package/esm2015/components/tabs/tab/tab.component.js +3 -3
  357. package/esm2015/components/tabs/tabs/tabs.component.js +3 -3
  358. package/esm2015/components/tabs/tabs-vertical/tabs-vertical.component.js +3 -3
  359. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  360. package/esm2015/components/tabs/tabs.directive.js +3 -3
  361. package/esm2015/components/tabs/tabs.module.js +4 -4
  362. package/esm2015/components/tabs/underline/underline.component.js +3 -3
  363. package/esm2015/components/tag/tag.component.js +3 -3
  364. package/esm2015/components/tag/tag.module.js +4 -4
  365. package/esm2015/components/text-area/text-area.component.js +9 -10
  366. package/esm2015/components/text-area/text-area.directive.js +3 -3
  367. package/esm2015/components/text-area/text-area.module.js +4 -4
  368. package/esm2015/components/tiles/tile-handle.directive.js +3 -3
  369. package/esm2015/components/tiles/tile.component.js +3 -3
  370. package/esm2015/components/tiles/tiles.component.js +3 -3
  371. package/esm2015/components/tiles/tiles.module.js +4 -4
  372. package/esm2015/components/toggle/toggle.component.js +3 -3
  373. package/esm2015/components/toggle/toggle.module.js +4 -4
  374. package/esm2015/components/tree/components/tree/tree.component.js +9 -6
  375. package/esm2015/components/tree/components/tree-item/tree-item.component.js +7 -4
  376. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  377. package/esm2015/components/tree/directives/tree-children.directive.js +3 -3
  378. package/esm2015/components/tree/directives/tree-controller.directive.js +3 -3
  379. package/esm2015/components/tree/directives/tree-item-controller.directive.js +3 -3
  380. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  381. package/esm2015/components/tree/misc/tree.service.js +3 -3
  382. package/esm2015/components/tree/tree.module.js +4 -4
  383. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +3 -3
  384. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +4 -4
  385. package/esm2015/directives/highlight/highlight.directive.js +3 -3
  386. package/esm2015/directives/highlight/highlight.module.js +4 -4
  387. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +3 -3
  388. package/esm2015/directives/lazy-loading/lazy-loading.module.js +4 -4
  389. package/esm2015/directives/lazy-loading/lazy-loading.service.js +3 -3
  390. package/esm2015/directives/mask/legacy-mask.js +7 -7
  391. package/esm2015/directives/present/present.directive.js +3 -3
  392. package/esm2015/directives/present/present.module.js +4 -4
  393. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  394. package/esm2015/directives/project-class/project-class.module.js +4 -4
  395. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +3 -3
  396. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +4 -4
  397. package/esm2015/directives/value-accessor/value-accessor.directive.js +3 -3
  398. package/esm2015/directives/value-accessor/value-accessor.module.js +4 -4
  399. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +3 -3
  400. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +4 -4
  401. package/esm2015/pipes/field-error/field-error-content-pipe.js +3 -3
  402. package/esm2015/pipes/field-error/field-error-pipe.js +3 -3
  403. package/esm2015/pipes/field-error/field-error.module.js +4 -4
  404. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +3 -3
  405. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +4 -4
  406. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +3 -3
  407. package/esm2015/pipes/sort-countries/sort-countries.module.js +4 -4
  408. package/esm2015/pipes/sort-countries/sort-countries.pipe.js +3 -3
  409. package/esm2015/pipes/stringify/stringify.module.js +4 -4
  410. package/esm2015/pipes/stringify/stringify.pipe.js +3 -3
  411. package/esm2015/pipes/stringify-content/stringify-content.module.js +4 -4
  412. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +3 -3
  413. package/esm2015/pipes/to-year/to-year.module.js +4 -4
  414. package/esm2015/pipes/to-year/to-year.pipe.js +3 -3
  415. package/fesm2015/taiga-ui-kit-components-accordion.js +16 -16
  416. package/fesm2015/taiga-ui-kit-components-action.js +7 -7
  417. package/fesm2015/taiga-ui-kit-components-arrow.js +7 -7
  418. package/fesm2015/taiga-ui-kit-components-avatar.js +7 -7
  419. package/fesm2015/taiga-ui-kit-components-badge.js +7 -7
  420. package/fesm2015/taiga-ui-kit-components-badged-content.js +7 -7
  421. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +7 -7
  422. package/fesm2015/taiga-ui-kit-components-calendar-month.js +7 -7
  423. package/fesm2015/taiga-ui-kit-components-calendar-range.js +7 -7
  424. package/fesm2015/taiga-ui-kit-components-carousel.js +19 -19
  425. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +7 -7
  426. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +7 -7
  427. package/fesm2015/taiga-ui-kit-components-checkbox.js +8 -8
  428. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  429. package/fesm2015/taiga-ui-kit-components-combo-box.js +13 -13
  430. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +13 -13
  431. package/fesm2015/taiga-ui-kit-components-elastic-container.js +10 -10
  432. package/fesm2015/taiga-ui-kit-components-files.js +10 -10
  433. package/fesm2015/taiga-ui-kit-components-filter.js +7 -7
  434. package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -10
  435. package/fesm2015/taiga-ui-kit-components-input-count.js +19 -21
  436. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  437. package/fesm2015/taiga-ui-kit-components-input-date-range.js +10 -10
  438. package/fesm2015/taiga-ui-kit-components-input-date-time.js +10 -10
  439. package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
  440. package/fesm2015/taiga-ui-kit-components-input-files.js +13 -13
  441. package/fesm2015/taiga-ui-kit-components-input-inline.js +7 -7
  442. package/fesm2015/taiga-ui-kit-components-input-month-range.js +10 -10
  443. package/fesm2015/taiga-ui-kit-components-input-month.js +10 -10
  444. package/fesm2015/taiga-ui-kit-components-input-number.js +10 -10
  445. package/fesm2015/taiga-ui-kit-components-input-password.js +10 -10
  446. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +34 -33
  447. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  448. package/fesm2015/taiga-ui-kit-components-input-phone.js +10 -10
  449. package/fesm2015/taiga-ui-kit-components-input-range.js +20 -41
  450. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  451. package/fesm2015/taiga-ui-kit-components-input-slider.js +7 -7
  452. package/fesm2015/taiga-ui-kit-components-input-tag.js +12 -13
  453. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  454. package/fesm2015/taiga-ui-kit-components-input-time.js +7 -7
  455. package/fesm2015/taiga-ui-kit-components-input-year.js +10 -10
  456. package/fesm2015/taiga-ui-kit-components-input.js +10 -10
  457. package/fesm2015/taiga-ui-kit-components-island.js +7 -7
  458. package/fesm2015/taiga-ui-kit-components-items-with-more.js +16 -16
  459. package/fesm2015/taiga-ui-kit-components-line-clamp.js +13 -13
  460. package/fesm2015/taiga-ui-kit-components-marker-icon.js +7 -7
  461. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -7
  462. package/fesm2015/taiga-ui-kit-components-multi-select.js +16 -16
  463. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  464. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +13 -13
  465. package/fesm2015/taiga-ui-kit-components-progress.js +19 -19
  466. package/fesm2015/taiga-ui-kit-components-prompt.js +7 -7
  467. package/fesm2015/taiga-ui-kit-components-push.js +19 -19
  468. package/fesm2015/taiga-ui-kit-components-radio-block.js +7 -7
  469. package/fesm2015/taiga-ui-kit-components-radio-group.js +7 -7
  470. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +7 -7
  471. package/fesm2015/taiga-ui-kit-components-radio-list.js +7 -7
  472. package/fesm2015/taiga-ui-kit-components-radio.js +7 -7
  473. package/fesm2015/taiga-ui-kit-components-range.js +10 -10
  474. package/fesm2015/taiga-ui-kit-components-rating.js +7 -7
  475. package/fesm2015/taiga-ui-kit-components-routable-dialog.js +103 -0
  476. package/fesm2015/taiga-ui-kit-components-routable-dialog.js.map +1 -0
  477. package/fesm2015/taiga-ui-kit-components-select-option.js +7 -7
  478. package/fesm2015/taiga-ui-kit-components-select.js +19 -19
  479. package/fesm2015/taiga-ui-kit-components-slider.js +16 -16
  480. package/fesm2015/taiga-ui-kit-components-stepper.js +10 -10
  481. package/fesm2015/taiga-ui-kit-components-tabs.js +23 -23
  482. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  483. package/fesm2015/taiga-ui-kit-components-tag.js +7 -7
  484. package/fesm2015/taiga-ui-kit-components-text-area.js +15 -16
  485. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  486. package/fesm2015/taiga-ui-kit-components-tiles.js +13 -13
  487. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -7
  488. package/fesm2015/taiga-ui-kit-components-tree.js +36 -30
  489. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  490. package/fesm2015/taiga-ui-kit-components.js +1 -0
  491. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  492. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +7 -7
  493. package/fesm2015/taiga-ui-kit-directives-highlight.js +7 -7
  494. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +10 -10
  495. package/fesm2015/taiga-ui-kit-directives-mask.js +7 -7
  496. package/fesm2015/taiga-ui-kit-directives-present.js +7 -7
  497. package/fesm2015/taiga-ui-kit-directives-project-class.js +7 -7
  498. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +7 -7
  499. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +7 -7
  500. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +7 -7
  501. package/fesm2015/taiga-ui-kit-pipes-field-error.js +10 -10
  502. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +10 -10
  503. package/fesm2015/taiga-ui-kit-pipes-sort-countries.js +7 -7
  504. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +7 -7
  505. package/fesm2015/taiga-ui-kit-pipes-stringify.js +7 -7
  506. package/fesm2015/taiga-ui-kit-pipes-to-year.js +7 -7
  507. package/package.json +6 -6
@@ -1,12 +1,12 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { ChangeDetectorRef, ElementRef, Component, ChangeDetectionStrategy, Optional, Self, Inject, ViewChildren, ViewChild, Input, Directive, NgModule } from '@angular/core';
3
+ import { ChangeDetectorRef, ElementRef, Component, ChangeDetectionStrategy, Optional, Self, Inject, ViewChildren, ViewChild, Input, NgModule } from '@angular/core';
4
4
  import * as i5 from '@angular/forms';
5
5
  import { NgControl, FormsModule } from '@angular/forms';
6
6
  import * as i4 from '@taiga-ui/cdk';
7
7
  import { AbstractTuiControl, EMPTY_QUERY, tuiIsNativeFocusedIn, tuiIsNativeFocused, tuiRound, tuiClamp, TUI_IS_MOBILE, tuiAsFocusableItemAccessor, tuiAsControl, tuiDefaultProp, tuiPure, TuiActiveZoneModule, TuiPressedModule } from '@taiga-ui/cdk';
8
8
  import * as i3 from '@taiga-ui/core';
9
- import { tuiGetFractionPartPadded, TUI_TEXTFIELD_APPEARANCE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TEXTFIELD_CONTROLLER_PROVIDER, TuiWrapperModule } from '@taiga-ui/core';
9
+ import { tuiGetFractionPartPadded, TUI_TEXTFIELD_WATCHED_CONTROLLER, TEXTFIELD_CONTROLLER_PROVIDER, TuiWrapperModule, TuiTextfieldControllerModule } from '@taiga-ui/core';
10
10
  import * as i1 from '@taiga-ui/kit/components/input-number';
11
11
  import { TuiInputNumberComponent, TuiInputNumberModule } from '@taiga-ui/kit/components/input-number';
12
12
  import * as i2 from '@taiga-ui/kit/components/range';
@@ -18,10 +18,9 @@ import * as i7 from '@tinkoff/ng-polymorpheus';
18
18
  import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
19
19
 
20
20
  class TuiInputRangeComponent extends AbstractTuiControl {
21
- constructor(control, changeDetectorRef, isMobile, appearance, elementRef, controller) {
21
+ constructor(control, changeDetectorRef, isMobile, elementRef, controller) {
22
22
  super(control, changeDetectorRef);
23
23
  this.isMobile = isMobile;
24
- this.appearance = appearance;
25
24
  this.elementRef = elementRef;
26
25
  this.controller = controller;
27
26
  this.inputNumberRefs = EMPTY_QUERY;
@@ -53,6 +52,9 @@ class TuiInputRangeComponent extends AbstractTuiControl {
53
52
  get focused() {
54
53
  return tuiIsNativeFocusedIn(this.elementRef.nativeElement);
55
54
  }
55
+ get appearance() {
56
+ return this.controller.appearance;
57
+ }
56
58
  get showLeftValueContent() {
57
59
  var _a;
58
60
  return Boolean(this.leftValueContent &&
@@ -161,12 +163,12 @@ class TuiInputRangeComponent extends AbstractTuiControl {
161
163
  }
162
164
  }
163
165
  }
164
- TuiInputRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputRangeComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_IS_MOBILE }, { token: TUI_TEXTFIELD_APPEARANCE }, { token: ElementRef }, { token: TUI_TEXTFIELD_WATCHED_CONTROLLER }], target: i0.ɵɵFactoryTarget.Component });
165
- TuiInputRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputRangeComponent, selector: "tui-input-range", inputs: { min: "min", max: "max", quantum: "quantum", steps: "steps", segments: "segments", keySteps: "keySteps", leftValueContent: "leftValueContent", rightValueContent: "rightValueContent", pluralize: "pluralize" }, host: { properties: { "attr.data-size": "controller.size", "class._label-outside": "controller.labelOutside" } }, providers: [
166
+ TuiInputRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputRangeComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_IS_MOBILE }, { token: ElementRef }, { token: TUI_TEXTFIELD_WATCHED_CONTROLLER }], target: i0.ɵɵFactoryTarget.Component });
167
+ TuiInputRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputRangeComponent, selector: "tui-input-range", inputs: { min: "min", max: "max", quantum: "quantum", steps: "steps", segments: "segments", keySteps: "keySteps", leftValueContent: "leftValueContent", rightValueContent: "rightValueContent", pluralize: "pluralize" }, host: { properties: { "attr.data-size": "controller.size", "class._label-outside": "controller.labelOutside" } }, providers: [
166
168
  tuiAsFocusableItemAccessor(TuiInputRangeComponent),
167
169
  tuiAsControl(TuiInputRangeComponent),
168
170
  TEXTFIELD_CONTROLLER_PROVIDER,
169
- ], viewQueries: [{ propertyName: "rangeRef", first: true, predicate: TuiRangeComponent, descendants: true }, { propertyName: "inputNumberRefs", predicate: TuiInputNumberComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiWrapper\n class=\"t-wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__left-input\"\n class=\"t-left t-text-input\"\n [min]=\"min\"\n [max]=\"value[1]\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [postfix]=\"pluralize && !showLeftValueContent ? (value[0] | i18nPlural : pluralize) : ''\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[0]\"\n (ngModelChange)=\"onInputLeft($event)\"\n (focusedChange)=\"onTextInputFocused($event, false)\"\n (keydown.arrowUp)=\"changeByStep($event, [1, 0])\"\n (keydown.arrowDown)=\"changeByStep($event, [-1, 0])\"\n >\n <ng-content></ng-content>\n <div\n *ngIf=\"showLeftValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"leftValueContent as text; context: {$implicit: value[0]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <div class=\"t-right\">\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__right-input\"\n class=\"t-text-input\"\n [min]=\"value[0]\"\n [max]=\"max\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[1]\"\n (ngModelChange)=\"onInputRight($event)\"\n (focusedChange)=\"onTextInputFocused($event, true)\"\n (keydown.arrowUp)=\"changeByStep($event, [0, 1])\"\n (keydown.arrowDown)=\"changeByStep($event, [0, -1])\"\n >\n <div\n *ngIf=\"showRightValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"rightValueContent as text; context: {$implicit: value[1]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <!-- TODO replace by postfix of the right InputNumber (after fix https://github.com/Tinkoff/taiga-ui/issues/1193) -->\n <span\n *ngIf=\"!showRightValueContent && pluralize\"\n automation-id=\"tui-input-range__pluralize-right\"\n class=\"t-pluralize-right\"\n >\n &nbsp;{{ value[1] | i18nPlural : pluralize }}\n </span>\n </div>\n\n <tui-range\n class=\"t-range\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n [segments]=\"segments\"\n [keySteps]=\"computeKeySteps(keySteps, min, max)\"\n [focusable]=\"false\"\n [disabled]=\"readOnly || disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onRangeValue($event)\"\n (tuiPressedChange)=\"focusToTextInput()\"\n (activeThumbChange)=\"onActiveThumbChange($event)\"\n ></tui-range>\n</div>\n", styles: [".t-wrapper{position:relative}.t-left{width:100%}.t-right{position:absolute;right:0;top:0;display:flex;width:50%;height:100%;text-align:right}.t-right .t-text-input{flex:1}.t-text-input{text-align:inherit}.t-pluralize-right{display:flex;align-items:center;padding:1.125rem var(--tui-padding-m) 0 0;margin-left:-.75rem;font:var(--tui-font-text-s)}:host[data-size=l] .t-pluralize-right{font:var(--tui-font-text-m);padding-top:1.25rem;margin-left:-1rem;padding-right:var(--tui-padding-l)}:host._label-outside .t-pluralize-right{padding-top:0}:host._disabled .t-pluralize-right{color:var(--tui-text-03)}:host{display:block;border-radius:var(--tui-radius-m)}.t-range{position:absolute;top:100%;left:0;right:0;z-index:1;margin:-.125rem 0 0;background:transparent}\n"], components: [{ type: i0.forwardRef(function () { return i1.TuiInputNumberComponent; }), selector: "tui-input-number", inputs: ["min", "max", "decimal", "precision", "prefix", "postfix"] }, { type: i0.forwardRef(function () { return i2.TuiRangeComponent; }), selector: "tui-range", inputs: ["min", "max", "step", "size", "segments", "keySteps"] }], directives: [{ type: i0.forwardRef(function () { return i3.TuiWrapperDirective; }), selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i0.forwardRef(function () { return i4.TuiActiveZoneDirective; }), selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i0.forwardRef(function () { return i1.TuiInputNumberDirective; }), selector: "tui-input-number" }, { type: i0.forwardRef(function () { return TuiTextfieldAppearanceDirective; }), selector: "[tuiTextfieldAppearance]" }, { type: i0.forwardRef(function () { return i5.NgControlStatus; }), selector: "[formControlName],[ngModel],[formControl]" }, { type: i0.forwardRef(function () { return i5.NgModel; }), selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i0.forwardRef(function () { return i6.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i0.forwardRef(function () { return i7.PolymorpheusOutletDirective; }), selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i0.forwardRef(function () { return i2.TuiRangeChangeDirective; }), selector: "tui-range", outputs: ["activeThumbChange"] }, { type: i0.forwardRef(function () { return i4.TuiPressedDirective; }), selector: "[tuiPressedChange]", outputs: ["tuiPressedChange"] }], pipes: { "i18nPlural": i0.forwardRef(function () { return i6.I18nPluralPipe; }) }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
171
+ ], viewQueries: [{ propertyName: "rangeRef", first: true, predicate: TuiRangeComponent, descendants: true }, { propertyName: "inputNumberRefs", predicate: TuiInputNumberComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiWrapper\n class=\"t-wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__left-input\"\n class=\"t-left t-text-input\"\n [min]=\"min\"\n [max]=\"value[1]\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [postfix]=\"pluralize && !showLeftValueContent ? (value[0] | i18nPlural : pluralize) : ''\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[0]\"\n (ngModelChange)=\"onInputLeft($event)\"\n (focusedChange)=\"onTextInputFocused($event, false)\"\n (keydown.arrowUp)=\"changeByStep($event, [1, 0])\"\n (keydown.arrowDown)=\"changeByStep($event, [-1, 0])\"\n >\n <ng-content></ng-content>\n <div\n *ngIf=\"showLeftValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"leftValueContent as text; context: {$implicit: value[0]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <div class=\"t-right\">\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__right-input\"\n class=\"t-text-input\"\n [min]=\"value[0]\"\n [max]=\"max\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[1]\"\n (ngModelChange)=\"onInputRight($event)\"\n (focusedChange)=\"onTextInputFocused($event, true)\"\n (keydown.arrowUp)=\"changeByStep($event, [0, 1])\"\n (keydown.arrowDown)=\"changeByStep($event, [0, -1])\"\n >\n <div\n *ngIf=\"showRightValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"rightValueContent as text; context: {$implicit: value[1]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <!-- TODO replace by postfix of the right InputNumber (after fix https://github.com/Tinkoff/taiga-ui/issues/1193) -->\n <span\n *ngIf=\"!showRightValueContent && pluralize\"\n automation-id=\"tui-input-range__pluralize-right\"\n class=\"t-pluralize-right\"\n >\n &nbsp;{{ value[1] | i18nPlural : pluralize }}\n </span>\n </div>\n\n <tui-range\n class=\"t-range\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n [segments]=\"segments\"\n [keySteps]=\"computeKeySteps(keySteps, min, max)\"\n [focusable]=\"false\"\n [disabled]=\"readOnly || disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onRangeValue($event)\"\n (tuiPressedChange)=\"focusToTextInput()\"\n (activeThumbChange)=\"onActiveThumbChange($event)\"\n ></tui-range>\n</div>\n", styles: [".t-wrapper{position:relative}.t-left{width:100%}.t-right{position:absolute;right:0;top:0;display:flex;width:50%;height:100%;text-align:right}.t-right .t-text-input{flex:1}.t-text-input{text-align:inherit}.t-pluralize-right{display:flex;align-items:center;padding:1.125rem var(--tui-padding-m) 0 0;margin-left:-.75rem;font:var(--tui-font-text-s)}:host[data-size=l] .t-pluralize-right{font:var(--tui-font-text-m);padding-top:1.25rem;margin-left:-1rem;padding-right:var(--tui-padding-l)}:host._label-outside .t-pluralize-right{padding-top:0}:host._disabled .t-pluralize-right{color:var(--tui-text-03)}:host{display:block;border-radius:var(--tui-radius-m)}.t-range{position:absolute;top:100%;left:0;right:0;z-index:1;margin:-.125rem 0 0;background:transparent}\n"], components: [{ type: i1.TuiInputNumberComponent, selector: "tui-input-number", inputs: ["min", "max", "decimal", "precision", "prefix", "postfix"] }, { type: i2.TuiRangeComponent, selector: "tui-range", inputs: ["min", "max", "step", "size", "segments", "keySteps"] }], directives: [{ type: i3.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i4.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i1.TuiInputNumberDirective, selector: "tui-input-number" }, { type: i3.TuiTextfieldAppearanceDirective, selector: "[tuiTextfieldAppearance]", inputs: ["tuiTextfieldAppearance"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i2.TuiRangeChangeDirective, selector: "tui-range", outputs: ["activeThumbChange"] }, { type: i4.TuiPressedDirective, selector: "[tuiPressedChange]", outputs: ["tuiPressedChange"] }], pipes: { "i18nPlural": i6.I18nPluralPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
170
172
  __decorate([
171
173
  tuiDefaultProp()
172
174
  ], TuiInputRangeComponent.prototype, "min", void 0);
@@ -197,7 +199,7 @@ __decorate([
197
199
  __decorate([
198
200
  tuiPure
199
201
  ], TuiInputRangeComponent.prototype, "computeKeySteps", null);
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputRangeComponent, decorators: [{
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputRangeComponent, decorators: [{
201
203
  type: Component,
202
204
  args: [{
203
205
  selector: 'tui-input-range',
@@ -227,9 +229,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
227
229
  }] }, { type: undefined, decorators: [{
228
230
  type: Inject,
229
231
  args: [TUI_IS_MOBILE]
230
- }] }, { type: undefined, decorators: [{
231
- type: Inject,
232
- args: [TUI_TEXTFIELD_APPEARANCE]
233
232
  }] }, { type: i0.ElementRef, decorators: [{
234
233
  type: Inject,
235
234
  args: [ElementRef]
@@ -261,42 +260,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
261
260
  }], pluralize: [{
262
261
  type: Input
263
262
  }], computeKeySteps: [] } });
264
- class TuiTextfieldAppearanceDirective {
265
- }
266
- TuiTextfieldAppearanceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldAppearanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
267
- TuiTextfieldAppearanceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldAppearanceDirective, selector: "[tuiTextfieldAppearance]", providers: [
268
- {
269
- provide: TUI_TEXTFIELD_APPEARANCE,
270
- deps: [ElementRef],
271
- useFactory: ({ nativeElement }) => nativeElement.getAttribute('tuiTextfieldAppearance'),
272
- },
273
- ], ngImport: i0 });
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiTextfieldAppearanceDirective, decorators: [{
275
- type: Directive,
276
- args: [{
277
- selector: '[tuiTextfieldAppearance]',
278
- providers: [
279
- {
280
- provide: TUI_TEXTFIELD_APPEARANCE,
281
- deps: [ElementRef],
282
- useFactory: ({ nativeElement }) => nativeElement.getAttribute('tuiTextfieldAppearance'),
283
- },
284
- ],
285
- }]
286
- }] });
287
263
 
288
264
  class TuiInputRangeModule {
289
265
  }
290
- TuiInputRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
291
- TuiInputRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputRangeModule, declarations: [TuiInputRangeComponent, TuiTextfieldAppearanceDirective], imports: [CommonModule,
266
+ TuiInputRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
267
+ TuiInputRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputRangeModule, declarations: [TuiInputRangeComponent], imports: [CommonModule,
292
268
  FormsModule,
293
269
  PolymorpheusModule,
294
270
  TuiActiveZoneModule,
295
271
  TuiInputNumberModule,
296
272
  TuiPressedModule,
297
273
  TuiRangeModule,
298
- TuiWrapperModule], exports: [TuiInputRangeComponent] });
299
- TuiInputRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputRangeModule, imports: [[
274
+ TuiWrapperModule,
275
+ TuiTextfieldControllerModule], exports: [TuiInputRangeComponent] });
276
+ TuiInputRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputRangeModule, imports: [[
300
277
  CommonModule,
301
278
  FormsModule,
302
279
  PolymorpheusModule,
@@ -305,8 +282,9 @@ TuiInputRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
305
282
  TuiPressedModule,
306
283
  TuiRangeModule,
307
284
  TuiWrapperModule,
285
+ TuiTextfieldControllerModule,
308
286
  ]] });
309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputRangeModule, decorators: [{
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputRangeModule, decorators: [{
310
288
  type: NgModule,
311
289
  args: [{
312
290
  imports: [
@@ -318,8 +296,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
318
296
  TuiPressedModule,
319
297
  TuiRangeModule,
320
298
  TuiWrapperModule,
299
+ TuiTextfieldControllerModule,
321
300
  ],
322
- declarations: [TuiInputRangeComponent, TuiTextfieldAppearanceDirective],
301
+ declarations: [TuiInputRangeComponent],
323
302
  exports: [TuiInputRangeComponent],
324
303
  }]
325
304
  }] });
@@ -328,5 +307,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
328
307
  * Generated bundle index. Do not edit.
329
308
  */
330
309
 
331
- export { TuiInputRangeComponent, TuiInputRangeModule, TuiTextfieldAppearanceDirective };
310
+ export { TuiInputRangeComponent, TuiInputRangeModule };
332
311
  //# sourceMappingURL=taiga-ui-kit-components-input-range.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-range.js","sources":["../../../projects/kit/components/input-range/input-range.component.ts","../../../projects/kit/components/input-range/input-range.template.html","../../../projects/kit/components/input-range/input-range.module.ts","../../../projects/kit/components/input-range/taiga-ui-kit-components-input-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Directive,\n ElementRef,\n Inject,\n Input,\n Optional,\n QueryList,\n Self,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n EMPTY_QUERY,\n TUI_IS_MOBILE,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n tuiClamp,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiIsNativeFocused,\n tuiIsNativeFocusedIn,\n TuiNativeFocusableElement,\n tuiPure,\n tuiRound,\n} from '@taiga-ui/cdk';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiDecimal,\n tuiGetFractionPartPadded,\n TuiTextfieldController,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TuiInputNumberComponent} from '@taiga-ui/kit/components/input-number';\nimport {TuiRangeComponent} from '@taiga-ui/kit/components/range';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n selector: 'tui-input-range',\n templateUrl: './input-range.template.html',\n styleUrls: ['./input-range.style.less'],\n host: {\n '[attr.data-size]': 'controller.size',\n '[class._label-outside]': 'controller.labelOutside',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputRangeComponent),\n tuiAsControl(TuiInputRangeComponent),\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiInputRangeComponent\n extends AbstractTuiControl<[number, number]>\n implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor\n{\n @ViewChildren(TuiInputNumberComponent)\n private readonly inputNumberRefs: QueryList<TuiInputNumberComponent> = EMPTY_QUERY;\n\n @ViewChild(TuiRangeComponent)\n private readonly rangeRef: TuiRangeComponent | null = null;\n\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n @Input()\n @tuiDefaultProp()\n max = 100;\n\n @Input()\n @tuiDefaultProp(q => q > 0, '[quantum] must be positive')\n quantum = 1;\n\n @Input()\n @tuiDefaultProp(\n s => s >= 0 && Number.isInteger(s),\n '[steps] must be non-negative integer',\n )\n steps = 0;\n\n @Input()\n @tuiDefaultProp(\n s => s > 0 && Number.isInteger(s),\n '[segments] must be positive integer',\n )\n segments = 1;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @Input()\n @tuiDefaultProp()\n leftValueContent: PolymorpheusContent<TuiContextWithImplicit<number>> = '';\n\n @Input()\n @tuiDefaultProp()\n rightValueContent: PolymorpheusContent<TuiContextWithImplicit<number>> = '';\n\n @Input()\n @tuiDefaultProp()\n pluralize: Record<string, string> | null = null;\n\n lastActiveSide: 'left' | 'right' = 'left';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n private readonly isMobile: boolean,\n @Inject(TUI_TEXTFIELD_APPEARANCE)\n readonly appearance: string,\n @Inject(ElementRef) private readonly elementRef: ElementRef,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n ) {\n super(control, changeDetectorRef);\n }\n\n get leftFocusableElement(): HTMLInputElement | null {\n return this.inputNumberRefs.first?.nativeFocusableElement || null;\n }\n\n get rightFocusableElement(): HTMLInputElement | null {\n return this.inputNumberRefs.last?.nativeFocusableElement || null;\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.disabled\n ? null\n : this.leftFocusableElement || this.rightFocusableElement;\n }\n\n get focused(): boolean {\n return tuiIsNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n get showLeftValueContent(): boolean {\n return Boolean(\n this.leftValueContent &&\n !tuiIsNativeFocused(this.leftFocusableElement) &&\n !(this.rangeRef?.focused && this.lastActiveSide === 'left'),\n );\n }\n\n get showRightValueContent(): boolean {\n return Boolean(\n this.rightValueContent &&\n !tuiIsNativeFocused(this.rightFocusableElement) &&\n !(this.rangeRef?.focused && this.lastActiveSide === 'right'),\n );\n }\n\n get precision(): number {\n return tuiGetFractionPartPadded(this.quantum).length;\n }\n\n get decimal(): TuiDecimal {\n return this.precision ? 'not-zero' : 'never';\n }\n\n get computedSteps(): number {\n return this.steps || (this.max - this.min) / this.quantum;\n }\n\n get step(): number {\n return (this.max - this.min) / this.computedSteps;\n }\n\n @tuiPure\n computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps {\n return (\n keySteps || [\n [0, min],\n [100, max],\n ]\n );\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n onTextInputFocused(focused: boolean, right: boolean): void {\n if (focused) {\n return;\n }\n\n const [leftTextInputRef, rightTextInputRef] = this.inputNumberRefs;\n const inputRef = right ? rightTextInputRef : leftTextInputRef;\n const valueIndex = right ? 1 : 0;\n\n if (!inputRef.nativeValue || inputRef.value !== this.value[valueIndex]) {\n this.updateTextInputValue(this.safeCurrentValue[valueIndex], right);\n }\n }\n\n changeByStep(\n event: Event | KeyboardEvent,\n [leftCoefficient, rightCoefficient]: [number, number],\n ): void {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n\n const newValue = this.valueGuard([\n this.value[0] + leftCoefficient * this.step,\n this.value[1] + rightCoefficient * this.step,\n ]);\n const leftValueChanged = newValue[0] !== this.value[0];\n const rightValueChanged = newValue[1] !== this.value[1];\n\n if (leftValueChanged || rightValueChanged) {\n this.safelyUpdateValue(newValue);\n this.updateTextInputValue(\n newValue[rightValueChanged ? 1 : 0],\n rightValueChanged,\n );\n }\n }\n\n onInputLeft(value: number | null): void {\n this.safelyUpdateValue([value ?? this.safeCurrentValue[0], this.value[1]]);\n }\n\n onInputRight(value: number | null): void {\n this.safelyUpdateValue([this.value[0], value ?? this.safeCurrentValue[1]]);\n }\n\n onRangeValue(value: [number, number]): void {\n this.safelyUpdateValue(value);\n\n const rightValueChanged = this.lastActiveSide === 'right';\n\n this.updateTextInputValue(\n this.value[rightValueChanged ? 1 : 0],\n rightValueChanged,\n );\n }\n\n focusToTextInput(): void {\n const element =\n this.lastActiveSide === 'left'\n ? this.leftFocusableElement\n : this.rightFocusableElement;\n\n if (!this.isMobile && element) {\n element.focus();\n }\n }\n\n onActiveThumbChange(activeThumb: 'left' | 'right'): void {\n this.lastActiveSide = activeThumb;\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n private safelyUpdateValue(value: [number, number]): void {\n this.updateValue(this.valueGuard(value));\n }\n\n private valueGuard([leftValue, rightValue]: [number, number]): [number, number] {\n const leftCalibratedValue = this.calibrate(leftValue);\n const rightCalibratedValue = this.calibrate(rightValue);\n\n return [\n Math.min(leftCalibratedValue, this.value[1]),\n Math.max(rightCalibratedValue, this.value[0]),\n ];\n }\n\n private calibrate(value: number): number {\n const roundedValue = tuiRound(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n );\n\n return tuiClamp(roundedValue, this.min, this.max);\n }\n\n private updateTextInputValue(value: number, right: boolean): void {\n const [leftInputRef, rightInputRef] = this.inputNumberRefs;\n const textInputRef = right ? rightInputRef : leftInputRef;\n\n if (textInputRef) {\n textInputRef.nativeValue = textInputRef.getFormattedValue(value);\n }\n }\n}\n\n@Directive({\n selector: '[tuiTextfieldAppearance]',\n providers: [\n {\n provide: TUI_TEXTFIELD_APPEARANCE,\n deps: [ElementRef],\n useFactory: ({nativeElement}: ElementRef) =>\n nativeElement.getAttribute('tuiTextfieldAppearance'),\n },\n ],\n})\nexport class TuiTextfieldAppearanceDirective {}\n","<div\n tuiWrapper\n class=\"t-wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__left-input\"\n class=\"t-left t-text-input\"\n [min]=\"min\"\n [max]=\"value[1]\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [postfix]=\"pluralize && !showLeftValueContent ? (value[0] | i18nPlural : pluralize) : ''\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[0]\"\n (ngModelChange)=\"onInputLeft($event)\"\n (focusedChange)=\"onTextInputFocused($event, false)\"\n (keydown.arrowUp)=\"changeByStep($event, [1, 0])\"\n (keydown.arrowDown)=\"changeByStep($event, [-1, 0])\"\n >\n <ng-content></ng-content>\n <div\n *ngIf=\"showLeftValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"leftValueContent as text; context: {$implicit: value[0]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <div class=\"t-right\">\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__right-input\"\n class=\"t-text-input\"\n [min]=\"value[0]\"\n [max]=\"max\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[1]\"\n (ngModelChange)=\"onInputRight($event)\"\n (focusedChange)=\"onTextInputFocused($event, true)\"\n (keydown.arrowUp)=\"changeByStep($event, [0, 1])\"\n (keydown.arrowDown)=\"changeByStep($event, [0, -1])\"\n >\n <div\n *ngIf=\"showRightValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"rightValueContent as text; context: {$implicit: value[1]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <!-- TODO replace by postfix of the right InputNumber (after fix https://github.com/Tinkoff/taiga-ui/issues/1193) -->\n <span\n *ngIf=\"!showRightValueContent && pluralize\"\n automation-id=\"tui-input-range__pluralize-right\"\n class=\"t-pluralize-right\"\n >\n &nbsp;{{ value[1] | i18nPlural : pluralize }}\n </span>\n </div>\n\n <tui-range\n class=\"t-range\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n [segments]=\"segments\"\n [keySteps]=\"computeKeySteps(keySteps, min, max)\"\n [focusable]=\"false\"\n [disabled]=\"readOnly || disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onRangeValue($event)\"\n (tuiPressedChange)=\"focusToTextInput()\"\n (activeThumbChange)=\"onActiveThumbChange($event)\"\n ></tui-range>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiActiveZoneModule, TuiPressedModule} from '@taiga-ui/cdk';\nimport {TuiWrapperModule} from '@taiga-ui/core';\nimport {TuiInputNumberModule} from '@taiga-ui/kit/components/input-number';\nimport {TuiRangeModule} from '@taiga-ui/kit/components/range';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {\n TuiInputRangeComponent,\n TuiTextfieldAppearanceDirective,\n} from './input-range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiInputNumberModule,\n TuiPressedModule,\n TuiRangeModule,\n TuiWrapperModule,\n ],\n declarations: [TuiInputRangeComponent, TuiTextfieldAppearanceDirective],\n exports: [TuiInputRangeComponent],\n})\nexport class TuiInputRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA6DM,MAAO,sBACT,SAAQ,kBAAoC,CAAA;IAqD5C,WAII,CAAA,OAAyB,EACE,iBAAoC,EAE9C,QAAiB,EAEzB,UAAkB,EACU,UAAsB,EAElD,UAAkC,EAAA;AAE3C,QAAA,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QAPjB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAS;QAEzB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAQ;QACU,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;QAElD,IAAU,CAAA,UAAA,GAAV,UAAU,CAAwB;QA7D9B,IAAe,CAAA,eAAA,GAAuC,WAAW,CAAC;QAGlE,IAAQ,CAA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kBAAkB;wBAClB,mBAAmB;wBACnB,oBAAoB;wBACpB,gBAAgB;wBAChB,cAAc;wBACd,gBAAgB;AACnB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,+BAA+B,CAAC;oBACvE,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-range.js","sources":["../../../projects/kit/components/input-range/input-range.component.ts","../../../projects/kit/components/input-range/input-range.template.html","../../../projects/kit/components/input-range/input-range.module.ts","../../../projects/kit/components/input-range/taiga-ui-kit-components-input-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Inject,\n Input,\n Optional,\n QueryList,\n Self,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n EMPTY_QUERY,\n TUI_IS_MOBILE,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n tuiClamp,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiIsNativeFocused,\n tuiIsNativeFocusedIn,\n TuiNativeFocusableElement,\n tuiPure,\n tuiRound,\n} from '@taiga-ui/cdk';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiDecimal,\n tuiGetFractionPartPadded,\n TuiTextfieldController,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TuiInputNumberComponent} from '@taiga-ui/kit/components/input-number';\nimport {TuiRangeComponent} from '@taiga-ui/kit/components/range';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n selector: 'tui-input-range',\n templateUrl: './input-range.template.html',\n styleUrls: ['./input-range.style.less'],\n host: {\n '[attr.data-size]': 'controller.size',\n '[class._label-outside]': 'controller.labelOutside',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputRangeComponent),\n tuiAsControl(TuiInputRangeComponent),\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiInputRangeComponent\n extends AbstractTuiControl<[number, number]>\n implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor\n{\n @ViewChildren(TuiInputNumberComponent)\n private readonly inputNumberRefs: QueryList<TuiInputNumberComponent> = EMPTY_QUERY;\n\n @ViewChild(TuiRangeComponent)\n private readonly rangeRef: TuiRangeComponent | null = null;\n\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n @Input()\n @tuiDefaultProp()\n max = 100;\n\n @Input()\n @tuiDefaultProp(q => q > 0, '[quantum] must be positive')\n quantum = 1;\n\n @Input()\n @tuiDefaultProp(\n s => s >= 0 && Number.isInteger(s),\n '[steps] must be non-negative integer',\n )\n steps = 0;\n\n @Input()\n @tuiDefaultProp(\n s => s > 0 && Number.isInteger(s),\n '[segments] must be positive integer',\n )\n segments = 1;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @Input()\n @tuiDefaultProp()\n leftValueContent: PolymorpheusContent<TuiContextWithImplicit<number>> = '';\n\n @Input()\n @tuiDefaultProp()\n rightValueContent: PolymorpheusContent<TuiContextWithImplicit<number>> = '';\n\n @Input()\n @tuiDefaultProp()\n pluralize: Record<string, string> | null = null;\n\n lastActiveSide: 'left' | 'right' = 'left';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n private readonly isMobile: boolean,\n @Inject(ElementRef) private readonly elementRef: ElementRef,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n ) {\n super(control, changeDetectorRef);\n }\n\n get leftFocusableElement(): HTMLInputElement | null {\n return this.inputNumberRefs.first?.nativeFocusableElement || null;\n }\n\n get rightFocusableElement(): HTMLInputElement | null {\n return this.inputNumberRefs.last?.nativeFocusableElement || null;\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.disabled\n ? null\n : this.leftFocusableElement || this.rightFocusableElement;\n }\n\n get focused(): boolean {\n return tuiIsNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n get appearance(): string {\n return this.controller.appearance;\n }\n\n get showLeftValueContent(): boolean {\n return Boolean(\n this.leftValueContent &&\n !tuiIsNativeFocused(this.leftFocusableElement) &&\n !(this.rangeRef?.focused && this.lastActiveSide === 'left'),\n );\n }\n\n get showRightValueContent(): boolean {\n return Boolean(\n this.rightValueContent &&\n !tuiIsNativeFocused(this.rightFocusableElement) &&\n !(this.rangeRef?.focused && this.lastActiveSide === 'right'),\n );\n }\n\n get precision(): number {\n return tuiGetFractionPartPadded(this.quantum).length;\n }\n\n get decimal(): TuiDecimal {\n return this.precision ? 'not-zero' : 'never';\n }\n\n get computedSteps(): number {\n return this.steps || (this.max - this.min) / this.quantum;\n }\n\n get step(): number {\n return (this.max - this.min) / this.computedSteps;\n }\n\n @tuiPure\n computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps {\n return (\n keySteps || [\n [0, min],\n [100, max],\n ]\n );\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n onTextInputFocused(focused: boolean, right: boolean): void {\n if (focused) {\n return;\n }\n\n const [leftTextInputRef, rightTextInputRef] = this.inputNumberRefs;\n const inputRef = right ? rightTextInputRef : leftTextInputRef;\n const valueIndex = right ? 1 : 0;\n\n if (!inputRef.nativeValue || inputRef.value !== this.value[valueIndex]) {\n this.updateTextInputValue(this.safeCurrentValue[valueIndex], right);\n }\n }\n\n changeByStep(\n event: Event | KeyboardEvent,\n [leftCoefficient, rightCoefficient]: [number, number],\n ): void {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n\n const newValue = this.valueGuard([\n this.value[0] + leftCoefficient * this.step,\n this.value[1] + rightCoefficient * this.step,\n ]);\n const leftValueChanged = newValue[0] !== this.value[0];\n const rightValueChanged = newValue[1] !== this.value[1];\n\n if (leftValueChanged || rightValueChanged) {\n this.safelyUpdateValue(newValue);\n this.updateTextInputValue(\n newValue[rightValueChanged ? 1 : 0],\n rightValueChanged,\n );\n }\n }\n\n onInputLeft(value: number | null): void {\n this.safelyUpdateValue([value ?? this.safeCurrentValue[0], this.value[1]]);\n }\n\n onInputRight(value: number | null): void {\n this.safelyUpdateValue([this.value[0], value ?? this.safeCurrentValue[1]]);\n }\n\n onRangeValue(value: [number, number]): void {\n this.safelyUpdateValue(value);\n\n const rightValueChanged = this.lastActiveSide === 'right';\n\n this.updateTextInputValue(\n this.value[rightValueChanged ? 1 : 0],\n rightValueChanged,\n );\n }\n\n focusToTextInput(): void {\n const element =\n this.lastActiveSide === 'left'\n ? this.leftFocusableElement\n : this.rightFocusableElement;\n\n if (!this.isMobile && element) {\n element.focus();\n }\n }\n\n onActiveThumbChange(activeThumb: 'left' | 'right'): void {\n this.lastActiveSide = activeThumb;\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n private safelyUpdateValue(value: [number, number]): void {\n this.updateValue(this.valueGuard(value));\n }\n\n private valueGuard([leftValue, rightValue]: [number, number]): [number, number] {\n const leftCalibratedValue = this.calibrate(leftValue);\n const rightCalibratedValue = this.calibrate(rightValue);\n\n return [\n Math.min(leftCalibratedValue, this.value[1]),\n Math.max(rightCalibratedValue, this.value[0]),\n ];\n }\n\n private calibrate(value: number): number {\n const roundedValue = tuiRound(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n );\n\n return tuiClamp(roundedValue, this.min, this.max);\n }\n\n private updateTextInputValue(value: number, right: boolean): void {\n const [leftInputRef, rightInputRef] = this.inputNumberRefs;\n const textInputRef = right ? rightInputRef : leftInputRef;\n\n if (textInputRef) {\n textInputRef.nativeValue = textInputRef.getFormattedValue(value);\n }\n }\n}\n","<div\n tuiWrapper\n class=\"t-wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__left-input\"\n class=\"t-left t-text-input\"\n [min]=\"min\"\n [max]=\"value[1]\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [postfix]=\"pluralize && !showLeftValueContent ? (value[0] | i18nPlural : pluralize) : ''\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[0]\"\n (ngModelChange)=\"onInputLeft($event)\"\n (focusedChange)=\"onTextInputFocused($event, false)\"\n (keydown.arrowUp)=\"changeByStep($event, [1, 0])\"\n (keydown.arrowDown)=\"changeByStep($event, [-1, 0])\"\n >\n <ng-content></ng-content>\n <div\n *ngIf=\"showLeftValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"leftValueContent as text; context: {$implicit: value[0]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <div class=\"t-right\">\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__right-input\"\n class=\"t-text-input\"\n [min]=\"value[0]\"\n [max]=\"max\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [ngModel]=\"value[1]\"\n (ngModelChange)=\"onInputRight($event)\"\n (focusedChange)=\"onTextInputFocused($event, true)\"\n (keydown.arrowUp)=\"changeByStep($event, [0, 1])\"\n (keydown.arrowDown)=\"changeByStep($event, [0, -1])\"\n >\n <div\n *ngIf=\"showRightValueContent\"\n ngProjectAs=\"tuiContent\"\n >\n <ng-container *polymorpheusOutlet=\"rightValueContent as text; context: {$implicit: value[1]}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-input-number>\n\n <!-- TODO replace by postfix of the right InputNumber (after fix https://github.com/Tinkoff/taiga-ui/issues/1193) -->\n <span\n *ngIf=\"!showRightValueContent && pluralize\"\n automation-id=\"tui-input-range__pluralize-right\"\n class=\"t-pluralize-right\"\n >\n &nbsp;{{ value[1] | i18nPlural : pluralize }}\n </span>\n </div>\n\n <tui-range\n class=\"t-range\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n [segments]=\"segments\"\n [keySteps]=\"computeKeySteps(keySteps, min, max)\"\n [focusable]=\"false\"\n [disabled]=\"readOnly || disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onRangeValue($event)\"\n (tuiPressedChange)=\"focusToTextInput()\"\n (activeThumbChange)=\"onActiveThumbChange($event)\"\n ></tui-range>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiActiveZoneModule, TuiPressedModule} from '@taiga-ui/cdk';\nimport {TuiTextfieldControllerModule, TuiWrapperModule} from '@taiga-ui/core';\nimport {TuiInputNumberModule} from '@taiga-ui/kit/components/input-number';\nimport {TuiRangeModule} from '@taiga-ui/kit/components/range';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputRangeComponent} from './input-range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiInputNumberModule,\n TuiPressedModule,\n TuiRangeModule,\n TuiWrapperModule,\n TuiTextfieldControllerModule,\n ],\n declarations: [TuiInputRangeComponent],\n exports: [TuiInputRangeComponent],\n})\nexport class TuiInputRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA2DM,MAAO,sBACT,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C;AACpC,iBAAA,CAAA;;;ACzBD;;AAEG;;;;"}
@@ -120,8 +120,8 @@ class TuiInputSliderComponent extends AbstractTuiControl {
120
120
  }
121
121
  }
122
122
  }
123
- TuiInputSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputSliderComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_TEXTFIELD_WATCHED_CONTROLLER }], target: i0.ɵɵFactoryTarget.Component });
124
- TuiInputSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputSliderComponent, selector: "tui-input-slider", inputs: { min: "min", max: "max", quantum: "quantum", steps: "steps", segments: "segments", keySteps: "keySteps", valueContent: "valueContent", textfieldPrefix: ["prefix", "textfieldPrefix"], textfieldPostfix: ["postfix", "textfieldPostfix"] }, providers: [
123
+ TuiInputSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputSliderComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_TEXTFIELD_WATCHED_CONTROLLER }], target: i0.ɵɵFactoryTarget.Component });
124
+ TuiInputSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputSliderComponent, selector: "tui-input-slider", inputs: { min: "min", max: "max", quantum: "quantum", steps: "steps", segments: "segments", keySteps: "keySteps", valueContent: "valueContent", textfieldPrefix: ["prefix", "textfieldPrefix"], textfieldPostfix: ["postfix", "textfieldPostfix"] }, providers: [
125
125
  tuiAsFocusableItemAccessor(TuiInputSliderComponent),
126
126
  tuiAsControl(TuiInputSliderComponent),
127
127
  tuiSliderOptionsProvider({ trackColor: 'transparent' }),
@@ -157,7 +157,7 @@ __decorate([
157
157
  __decorate([
158
158
  tuiPure
159
159
  ], TuiInputSliderComponent.prototype, "computeKeySteps", null);
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputSliderComponent, decorators: [{
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputSliderComponent, decorators: [{
161
161
  type: Component,
162
162
  args: [{
163
163
  selector: 'tui-input-slider',
@@ -214,15 +214,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
214
214
 
215
215
  class TuiInputSliderModule {
216
216
  }
217
- TuiInputSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
218
- TuiInputSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputSliderModule, declarations: [TuiInputSliderComponent], imports: [CommonModule,
217
+ TuiInputSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
218
+ TuiInputSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputSliderModule, declarations: [TuiInputSliderComponent], imports: [CommonModule,
219
219
  FormsModule,
220
220
  PolymorpheusModule,
221
221
  TuiFocusableModule,
222
222
  TuiInputNumberModule,
223
223
  TuiSliderModule,
224
224
  TuiTextfieldControllerModule], exports: [TuiInputSliderComponent] });
225
- TuiInputSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputSliderModule, imports: [[
225
+ TuiInputSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputSliderModule, imports: [[
226
226
  CommonModule,
227
227
  FormsModule,
228
228
  PolymorpheusModule,
@@ -231,7 +231,7 @@ TuiInputSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
231
231
  TuiSliderModule,
232
232
  TuiTextfieldControllerModule,
233
233
  ]] });
234
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputSliderModule, decorators: [{
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputSliderModule, decorators: [{
235
235
  type: NgModule,
236
236
  args: [{
237
237
  imports: [
@@ -6,7 +6,7 @@ import { NgControl, FormsModule } from '@angular/forms';
6
6
  import * as i4 from '@taiga-ui/cdk';
7
7
  import { AbstractTuiMultipleControl, EMPTY_QUERY, ALWAYS_TRUE_HANDLER, ALWAYS_FALSE_HANDLER, tuiIsNativeFocusedIn, tuiGetActualTarget, tuiIsElement, tuiGetClipboardDataText, tuiTypedFromEvent, tuiPreventDefault, tuiArrayRemove, TuiScrollService, tuiAsFocusableItemAccessor, tuiAsControl, tuiDefaultProp, TuiFocusableModule, TuiHoveredModule, TuiActiveZoneModule } from '@taiga-ui/cdk';
8
8
  import * as i1 from '@taiga-ui/core';
9
- import { TUI_TEXTFIELD_APPEARANCE, TuiModeDirective, TUI_MODE, TuiHintOptionsDirective, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiHostedDropdownComponent, tuiAsDataListHost, TEXTFIELD_CONTROLLER_PROVIDER, MODE_PROVIDER, TuiDataListDirective, TuiScrollbarComponent, TuiSvgModule, TuiScrollbarModule, TuiTooltipModule, TuiHostedDropdownModule, TuiWrapperModule } from '@taiga-ui/core';
9
+ import { TuiModeDirective, TUI_MODE, TuiHintOptionsDirective, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiHostedDropdownComponent, tuiAsDataListHost, TEXTFIELD_CONTROLLER_PROVIDER, MODE_PROVIDER, TuiDataListDirective, TuiScrollbarComponent, TuiSvgModule, TuiScrollbarModule, TuiTooltipModule, TuiHostedDropdownModule, TuiWrapperModule } from '@taiga-ui/core';
10
10
  import { FIXED_DROPDOWN_CONTROLLER_PROVIDER } from '@taiga-ui/kit/providers';
11
11
  import * as i7 from 'rxjs';
12
12
  import { Subject, merge } from 'rxjs';
@@ -46,11 +46,10 @@ const LINE_HEIGHT_REM = {
46
46
  };
47
47
  const TAG_VERTICAL_SPACE_REM = 0.125;
48
48
  class TuiInputTagComponent extends AbstractTuiMultipleControl {
49
- constructor(control, changeDetectorRef, tuiScrollService, elementRef, appearance, modeDirective, mode$, hintOptions, controller, options, parentHostedDropdown) {
49
+ constructor(control, changeDetectorRef, tuiScrollService, elementRef, modeDirective, mode$, hintOptions, controller, options, parentHostedDropdown) {
50
50
  super(control, changeDetectorRef);
51
51
  this.tuiScrollService = tuiScrollService;
52
52
  this.elementRef = elementRef;
53
- this.appearance = appearance;
54
53
  this.modeDirective = modeDirective;
55
54
  this.mode$ = mode$;
56
55
  this.hintOptions = hintOptions;
@@ -95,6 +94,9 @@ class TuiInputTagComponent extends AbstractTuiMultipleControl {
95
94
  return (tuiIsNativeFocusedIn(this.elementRef.nativeElement) ||
96
95
  !!((_a = this.hostedDropdown) === null || _a === void 0 ? void 0 : _a.focused));
97
96
  }
97
+ get appearance() {
98
+ return this.controller.appearance;
99
+ }
98
100
  get size() {
99
101
  return this.controller.size;
100
102
  }
@@ -341,8 +343,8 @@ class TuiInputTagComponent extends AbstractTuiMultipleControl {
341
343
  : LINE_HEIGHT_REM[this.controller.size];
342
344
  }
343
345
  }
344
- TuiInputTagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputTagComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TuiScrollService }, { token: ElementRef }, { token: TUI_TEXTFIELD_APPEARANCE }, { token: TuiModeDirective, optional: true }, { token: TUI_MODE }, { token: TuiHintOptionsDirective, optional: true }, { token: TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: TUI_INPUT_TAG_OPTIONS }, { token: TuiHostedDropdownComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
345
- TuiInputTagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputTagComponent, selector: "tui-input-tag", inputs: { separator: "separator", search: "search", editable: "editable", tagValidator: "tagValidator", expandable: "expandable", rows: "rows", inputHidden: "inputHidden", uniqueTags: "uniqueTags", maxLength: "maxLength", placeholder: "placeholder", disabledItemHandler: "disabledItemHandler", pseudoFocusedSetter: ["pseudoFocused", "pseudoFocusedSetter"] }, outputs: { searchChange: "searchChange" }, host: { properties: { "class._expandable": "this.expandable", "attr.data-size": "this.size", "class._label-outside": "this.labelOutside" } }, providers: [
346
+ TuiInputTagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputTagComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TuiScrollService }, { token: ElementRef }, { token: TuiModeDirective, optional: true }, { token: TUI_MODE }, { token: TuiHintOptionsDirective, optional: true }, { token: TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: TUI_INPUT_TAG_OPTIONS }, { token: TuiHostedDropdownComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
347
+ TuiInputTagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputTagComponent, selector: "tui-input-tag", inputs: { separator: "separator", search: "search", editable: "editable", tagValidator: "tagValidator", expandable: "expandable", rows: "rows", inputHidden: "inputHidden", uniqueTags: "uniqueTags", maxLength: "maxLength", placeholder: "placeholder", disabledItemHandler: "disabledItemHandler", pseudoFocusedSetter: ["pseudoFocused", "pseudoFocusedSetter"] }, outputs: { searchChange: "searchChange" }, host: { properties: { "class._expandable": "this.expandable", "attr.data-size": "this.size", "class._label-outside": "this.labelOutside" } }, providers: [
346
348
  tuiAsFocusableItemAccessor(TuiInputTagComponent),
347
349
  tuiAsControl(TuiInputTagComponent),
348
350
  tuiAsDataListHost(TuiInputTagComponent),
@@ -379,7 +381,7 @@ __decorate([
379
381
  __decorate([
380
382
  tuiDefaultProp()
381
383
  ], TuiInputTagComponent.prototype, "disabledItemHandler", void 0);
382
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputTagComponent, decorators: [{
384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputTagComponent, decorators: [{
383
385
  type: Component,
384
386
  args: [{
385
387
  selector: 'tui-input-tag',
@@ -411,9 +413,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
411
413
  }] }, { type: i0.ElementRef, decorators: [{
412
414
  type: Inject,
413
415
  args: [ElementRef]
414
- }] }, { type: undefined, decorators: [{
415
- type: Inject,
416
- args: [TUI_TEXTFIELD_APPEARANCE]
417
416
  }] }, { type: i1.TuiModeDirective, decorators: [{
418
417
  type: Optional
419
418
  }, {
@@ -505,8 +504,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
505
504
 
506
505
  class TuiInputTagModule {
507
506
  }
508
- TuiInputTagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
509
- TuiInputTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputTagModule, declarations: [TuiInputTagComponent], imports: [CommonModule,
507
+ TuiInputTagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
508
+ TuiInputTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputTagModule, declarations: [TuiInputTagComponent], imports: [CommonModule,
510
509
  FormsModule,
511
510
  PolymorpheusModule,
512
511
  TuiFocusableModule,
@@ -518,7 +517,7 @@ TuiInputTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
518
517
  TuiHostedDropdownModule,
519
518
  TuiTagModule,
520
519
  TuiWrapperModule], exports: [TuiInputTagComponent] });
521
- TuiInputTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputTagModule, providers: [TuiScrollService], imports: [[
520
+ TuiInputTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputTagModule, providers: [TuiScrollService], imports: [[
522
521
  CommonModule,
523
522
  FormsModule,
524
523
  PolymorpheusModule,
@@ -532,7 +531,7 @@ TuiInputTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
532
531
  TuiTagModule,
533
532
  TuiWrapperModule,
534
533
  ]] });
535
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputTagModule, decorators: [{
534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputTagModule, decorators: [{
536
535
  type: NgModule,
537
536
  args: [{
538
537
  imports: [